{"openapi":"3.1.0","info":{"title":"BI Enterprise System","description":"Enterprise Data Platform","version":"0.5.0"},"paths":{"/v1/auth/login":{"post":{"tags":["Authentication"],"summary":"Login","description":"Login endpoint - forwards request to external DMS API\n\nThis endpoint forwards the login request directly to the external DMS API\nand returns the response in standard format: {data, message, status}","operationId":"login_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/me":{"get":{"tags":["Authentication"],"summary":"Get Current User","description":"Get current authenticated user profile - forwards request to external DMS API\n\nThis endpoint forwards the request to external DMS API with Bearer token\nand returns the user profile in standard format: {data, message, status}","operationId":"get_current_user_v1_auth_me_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-brand":{"post":{"tags":["BiMaster - Ingest Brands"],"summary":"Trigger Ingest Brands Task","description":"Trigger the background task to INGEST Brands from DMS to Staging.\nThe task is pushed to the 'etl' queue.","operationId":"trigger_ingest_brands_v1_dms_ingestion_ingest_brand_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-brand/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Brands"],"summary":"Get Ingest Brand Task Status","description":"Get the status of an Ingest Brands background job.","operationId":"get_ingest_brand_status_v1_dms_ingestion_ingest_brand__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-asset-allocations":{"post":{"tags":["BiMaster - Ingest Asset Allocations"],"summary":"Trigger Ingest Asset Allocations Task","description":"Trigger the background task to INGEST Asset Allocations from DMS to Staging.","operationId":"trigger_ingest_asset_allocations_v1_dms_ingestion_ingest_asset_allocations_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetAllocationTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-asset-allocations/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Asset Allocations"],"summary":"Get Ingest Asset Allocations Task Status","operationId":"get_ingest_asset_allocations_status_v1_dms_ingestion_ingest_asset_allocations__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetAllocationTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-asset-brands":{"post":{"tags":["BiMaster - Ingest Asset Brands"],"summary":"Trigger Ingest Asset Brands Task","operationId":"trigger_ingest_asset_brands_v1_dms_ingestion_ingest_asset_brands_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetBrandTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-asset-brands/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Asset Brands"],"summary":"Get Ingest Asset Brands Task Status","operationId":"get_ingest_asset_brands_status_v1_dms_ingestion_ingest_asset_brands__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetBrandTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-assets":{"post":{"tags":["BiMaster - Ingest Assets"],"summary":"Trigger Ingest Assets Task","operationId":"trigger_ingest_assets_v1_dms_ingestion_ingest_assets_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-assets/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Assets"],"summary":"Get Ingest Assets Task Status","operationId":"get_ingest_assets_status_v1_dms_ingestion_ingest_assets__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-asset-suppliers":{"post":{"tags":["BiMaster - Ingest Asset Suppliers"],"summary":"Trigger Ingest Asset Suppliers Task","operationId":"trigger_ingest_asset_suppliers_v1_dms_ingestion_ingest_asset_suppliers_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetSupplierTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-asset-suppliers/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Asset Suppliers"],"summary":"Get Ingest Asset Suppliers Task Status","operationId":"get_ingest_asset_suppliers_status_v1_dms_ingestion_ingest_asset_suppliers__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetSupplierTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-asset-capacities":{"post":{"tags":["BiMaster - Ingest Asset Capacities"],"summary":"Trigger Ingest Asset Capacities Task","description":"Trigger the background task to INGEST Asset Capacities from DMS to Staging.","operationId":"trigger_ingest_asset_capacities_v1_dms_ingestion_ingest_asset_capacities_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetCapacityTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-asset-capacities/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Asset Capacities"],"summary":"Get Ingest Asset Capacities Task Status","operationId":"get_ingest_asset_capacities_status_v1_dms_ingestion_ingest_asset_capacities__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetCapacityTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-asset-models":{"post":{"tags":["BiMaster - Ingest AssetModels"],"summary":"Trigger Ingest Asset Models Task","description":"Trigger async ingestion of asset_models from DMS to Staging.\n\nReturns job ID to track progress.","operationId":"trigger_ingest_asset_models_v1_dms_ingestion_ingest_asset_models_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetModelTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-asset-models/{job_id}/status":{"get":{"tags":["BiMaster - Ingest AssetModels"],"summary":"Get Ingest Asset Models Task Status","description":"Get status of asset_models ingestion job","operationId":"get_ingest_asset_models_status_v1_dms_ingestion_ingest_asset_models__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAssetModelTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-calendar":{"post":{"tags":["BiMaster - Ingest Calendar"],"summary":"Trigger Ingest Calendar Task","operationId":"trigger_ingest_calendar_v1_dms_ingestion_ingest_calendar_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestCalendarTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-calendar/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Calendar"],"summary":"Get Ingest Calendar Task Status","operationId":"get_ingest_calendar_status_v1_dms_ingestion_ingest_calendar__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestCalendarTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-category":{"post":{"tags":["BiMaster - Ingest Categories"],"summary":"Trigger Ingest Categories Task","description":"Trigger the background task to INGEST Categories from DMS to Staging.\nThe task is pushed to the 'etl' queue.","operationId":"trigger_ingest_categories_v1_dms_ingestion_ingest_category_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestCategoryTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-category/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Categories"],"summary":"Get Ingest Category Task Status","description":"Get the status of an Ingest Categories background job.","operationId":"get_ingest_category_status_v1_dms_ingestion_ingest_category__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestCategoryTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-chain":{"post":{"tags":["BiMaster - Ingest Chains"],"summary":"Trigger Ingest Chains Task","description":"Trigger the background task to INGEST Chains from DMS to Staging.\nThe task is pushed to the 'etl' queue.","operationId":"trigger_ingest_chains_v1_dms_ingestion_ingest_chain_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestChainTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-chain/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Chains"],"summary":"Get Ingest Chain Task Status","description":"Get the status of an Ingest Chains background job.","operationId":"get_ingest_chain_status_v1_dms_ingestion_ingest_chain__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestChainTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-channel":{"post":{"tags":["BiMaster - Ingest Channels"],"summary":"Trigger Ingest Channels Task","description":"Trigger the background task to INGEST Channels from DMS to Staging.\nThe task is pushed to the 'etl' queue.","operationId":"trigger_ingest_channels_v1_dms_ingestion_ingest_channel_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestChannelTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-channel/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Channels"],"summary":"Get Ingest Channel Task Status","description":"Get the status of an Ingest Channels background job.","operationId":"get_ingest_channel_status_v1_dms_ingestion_ingest_channel__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestChannelTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-users":{"post":{"tags":["BiMaster - Ingest Users"],"summary":"Trigger Ingest Users Task","operationId":"trigger_ingest_users_v1_dms_ingestion_ingest_users_post","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","title":"Code"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestUserTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-users/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Users"],"summary":"Get Ingest Users Task Status","operationId":"get_ingest_users_status_v1_dms_ingestion_ingest_users__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestUserTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-warehouses":{"post":{"tags":["BiMaster - Ingest Warehouses"],"summary":"Trigger Ingest Warehouses Task","operationId":"trigger_ingest_warehouses_v1_dms_ingestion_ingest_warehouses_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestWarehousesTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-warehouses/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Warehouses"],"summary":"Get Ingest Warehouses Task Status","operationId":"get_ingest_warehouses_status_v1_dms_ingestion_ingest_warehouses__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestWarehousesTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-prices":{"post":{"tags":["BiMaster - Ingest Prices"],"summary":"Trigger Ingest Prices Task","operationId":"trigger_ingest_prices_v1_dms_ingestion_ingest_prices_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestPricesTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-prices/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Prices"],"summary":"Get Ingest Prices Task Status","operationId":"get_ingest_prices_status_v1_dms_ingestion_ingest_prices__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestPricesTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-price-details":{"post":{"tags":["BiMaster - Ingest PriceDetails"],"summary":"Trigger Ingest PriceDetails Task","operationId":"trigger_ingest_price_details_v1_dms_ingestion_ingest_price_details_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestPriceDetailsTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-price-details/{job_id}/status":{"get":{"tags":["BiMaster - Ingest PriceDetails"],"summary":"Get Ingest PriceDetails Task Status","operationId":"get_ingest_price_details_status_v1_dms_ingestion_ingest_price_details__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestPriceDetailsTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-delivery-notes":{"post":{"tags":["BiMaster - Ingest Delivery Notes"],"summary":"Đồng bộ phiếu giao hàng (Delivery Notes) từ DMS","description":"Kích hoạt đồng bộ bảng `delivery_notes` từ DMS Database về Staging.","operationId":"ingest_dms_delivery_notes_v1_dms_ingestion_ingest_delivery_notes_post","parameters":[{"name":"batch_size","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Batch Size"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDeliveryNoteTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-delivery-notes/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Delivery Notes"],"summary":"Get Ingest Delivery Notes Task Status","operationId":"get_ingest_delivery_notes_status_v1_dms_ingestion_ingest_delivery_notes__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDeliveryNoteTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-delivery-note-details":{"post":{"tags":["BiMaster - Ingest Delivery Note Details"],"summary":"Đồng bộ chi tiết phiếu giao hàng (Delivery Note Details) từ DMS","description":"Kích hoạt đồng bộ bảng `delivery_note_details` từ DMS Database về Staging.","operationId":"ingest_dms_delivery_note_details_v1_dms_ingestion_ingest_delivery_note_details_post","parameters":[{"name":"batch_size","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Batch Size"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDeliveryNoteDetailTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-delivery-note-details/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Delivery Note Details"],"summary":"Get Ingest Delivery Note Details Task Status","operationId":"get_ingest_delivery_note_details_status_v1_dms_ingestion_ingest_delivery_note_details__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDeliveryNoteDetailTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-distributor-of-shops":{"post":{"tags":["BiMaster - Ingest Distributor Of Shops"],"summary":"Trigger Ingest Distributor Of Shops Task","operationId":"trigger_ingest_distributor_of_shops_v1_dms_ingestion_ingest_distributor_of_shops_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDistributorOfShopsTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-distributor-of-shops/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Distributor Of Shops"],"summary":"Get Ingest Distributor Of Shops Task Status","operationId":"get_ingest_distributor_of_shops_status_v1_dms_ingestion_ingest_distributor_of_shops__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDistributorOfShopsTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-products":{"post":{"tags":["BiMaster - Ingest Products"],"summary":"Trigger Ingest Products Task","operationId":"trigger_ingest_products_v1_dms_ingestion_ingest_products_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestProductTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-products/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Products"],"summary":"Get Ingest Products Task Status","operationId":"get_ingest_products_status_v1_dms_ingestion_ingest_products__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestProductTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-region":{"post":{"tags":["BiMaster - Ingest Regions"],"summary":"Trigger Ingest Regions Task","description":"Trigger the background task to INGEST Regions from DMS to Staging.\nThe task is pushed to the 'etl' queue.","operationId":"trigger_ingest_regions_v1_dms_ingestion_ingest_region_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestRegionTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-region/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Regions"],"summary":"Get Ingest Region Task Status","description":"Get the status of an Ingest Regions background job.","operationId":"get_ingest_region_status_v1_dms_ingestion_ingest_region__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestRegionTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-plans":{"post":{"tags":["BiMaster - Ingest Plans"],"summary":"Trigger Ingest Plans Task","operationId":"trigger_ingest_plans_v1_dms_ingestion_ingest_plans_post","parameters":[{"name":"saleman_code","in":"query","required":false,"schema":{"type":"string","title":"Saleman Code"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestPlanTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-plans/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Plans"],"summary":"Get Ingest Plans Task Status","operationId":"get_ingest_plans_status_v1_dms_ingestion_ingest_plans__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestPlanTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest/weather-forecast":{"post":{"tags":["DMS Ingestion - Ingest Weather Forecast"],"summary":"Trigger Ingest Weather Forecast Task","description":"Trigger the background task to INGEST Weather Forecast from Open-Meteo to Staging.\nThe task is pushed to the 'ingest' queue. Returns existing job if already queued.","operationId":"trigger_ingest_weather_forecast_v1_dms_ingestion_ingest_weather_forecast_post","parameters":[{"name":"past_days","in":"query","required":false,"schema":{"type":"integer","default":14,"title":"Past Days"}},{"name":"forecast_days","in":"query","required":false,"schema":{"type":"integer","default":16,"title":"Forecast Days"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestWeatherForecastTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest/weather-forecast/{job_id}/status":{"get":{"tags":["DMS Ingestion - Ingest Weather Forecast"],"summary":"Get Ingest Weather Forecast Task Status","description":"Get the status of an Ingest Weather Forecast background job.","operationId":"get_ingest_weather_forecast_status_v1_dms_ingestion_ingest_weather_forecast__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestWeatherForecastTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-email-reports":{"post":{"tags":["BiMaster - Ingest Email Reports"],"summary":"Trigger Ingest Email Reports Task","description":"Kích hoạt tiến trình lấy báo cáo Excel từ Email (Chạy ngầm qua Procrastinate).\n\nQuery param `latest` (mặc định `true`): với mỗi loại báo cáo, lấy email\nmới nhất khớp subject + sender trong 30 ngày qua bất kể đã đọc — dùng\nđể re-ingest sau khi deploy fix lỗi mà không cần nhờ vận hành gửi lại.\n`latest=false` để giữ hành vi cũ (chỉ ingest email UNSEEN).","operationId":"trigger_ingest_email_reports_v1_dms_ingestion_ingest_email_reports_post","parameters":[{"name":"latest","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Latest"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestEmailReportsTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-email-reports/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Email Reports"],"summary":"Get Ingest Email Reports Task Status","operationId":"get_ingest_email_reports_status_v1_dms_ingestion_ingest_email_reports__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestEmailReportsTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-erp-ora-sales-orders":{"post":{"tags":["BiMaster - Ingest ERP Oracle Sales Orders"],"summary":"Trigger Ingest ERP Oracle Sales Orders Task","description":"Trigger the background task to INGEST ERP Oracle Sales Orders from DMS to Staging.","operationId":"trigger_ingest_erp_ora_sales_orders_v1_dms_ingestion_ingest_erp_ora_sales_orders_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestErpOraSalesOrdersTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-erp-ora-sales-orders/{job_id}/status":{"get":{"tags":["BiMaster - Ingest ERP Oracle Sales Orders"],"summary":"Get Ingest ERP Oracle Sales Orders Task Status","operationId":"get_ingest_erp_ora_sales_orders_status_v1_dms_ingestion_ingest_erp_ora_sales_orders__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestErpOraSalesOrdersTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/all":{"post":{"tags":["BiMaster - Ingest Management"],"summary":"Trigger All Ingest Tasks","description":"Trigger ALL Ingest tasks from DMS to Staging.\nSkips tasks that are already in 'todo' or 'doing' status.","operationId":"trigger_ingest_all_v1_dms_ingestion_all_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestAllResponse_"}}}}}}},"/v1/dms-ingestion/debug-limit":{"post":{"tags":["BiMaster - Ingest Management"],"summary":"[DEBUG] Manually set staging checkpoint","description":"[DEBUG ONLY] Manually insert success logs into staging_batch_logs with data_to = input date.\nPurpose: To skip fetching data before this date (Optimization for UAT/Demo).\nRef: staging_batch_logs (data_from, data_to, status='SUCCESS', row_count=0)","operationId":"trigger_debug_limit_v1_dms_ingestion_debug_limit_post","parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string","title":"Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-inventories":{"post":{"tags":["BiMaster - Ingest Inventories"],"summary":"Trigger Ingest Inventories Task","operationId":"trigger_ingest_inventories_v1_dms_ingestion_ingest_inventories_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestInventoriesTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-inventories/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Inventories"],"summary":"Get Ingest Inventories Task Status","operationId":"get_ingest_inventories_status_v1_dms_ingestion_ingest_inventories__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestInventoriesTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-inventory-details":{"post":{"tags":["BiMaster - Ingest InventoryDetails"],"summary":"Trigger Ingest InventoryDetails Task","operationId":"trigger_ingest_inventory_details_v1_dms_ingestion_ingest_inventory_details_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestInventoryDetailsTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-inventory-details/{job_id}/status":{"get":{"tags":["BiMaster - Ingest InventoryDetails"],"summary":"Get Ingest InventoryDetails Task Status","operationId":"get_ingest_inventory_details_status_v1_dms_ingestion_ingest_inventory_details__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestInventoryDetailsTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-inventory-of-assets":{"post":{"tags":["BiMaster - Ingest InventoryOfAssets"],"summary":"Trigger Ingest Inventory Of Assets Task","description":"Trigger async ingestion of inventory_of_assets from DMS to Staging.\n\nReturns job ID to track progress.","operationId":"trigger_ingest_inventory_of_assets_v1_dms_ingestion_ingest_inventory_of_assets_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_dict_"}}}}}}},"/v1/dms-ingestion/ingest-inventory-of-assets/{job_id}/status":{"get":{"tags":["BiMaster - Ingest InventoryOfAssets"],"summary":"Get Ingest Inventory Of Assets Task Status","description":"Get status of inventory_of_assets ingestion job","operationId":"get_ingest_inventory_of_assets_status_v1_dms_ingestion_ingest_inventory_of_assets__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-warehouse-details":{"post":{"tags":["BiMaster - Ingest WarehouseDetails"],"summary":"Trigger Ingest WarehouseDetails Task","operationId":"trigger_ingest_warehouse_details_v1_dms_ingestion_ingest_warehouse_details_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestWarehouseDetailsTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-warehouse-details/{job_id}/status":{"get":{"tags":["BiMaster - Ingest WarehouseDetails"],"summary":"Get Ingest WarehouseDetails Task Status","operationId":"get_ingest_warehouse_details_status_v1_dms_ingestion_ingest_warehouse_details__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestWarehouseDetailsTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-sub-inventories":{"post":{"tags":["BiMaster - Ingest SubInventories"],"summary":"Trigger Ingest SubInventories Task","operationId":"trigger_ingest_sub_inventories_v1_dms_ingestion_ingest_sub_inventories_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestSubInventoriesTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-sub-inventories/{job_id}/status":{"get":{"tags":["BiMaster - Ingest SubInventories"],"summary":"Get Ingest SubInventories Task Status","operationId":"get_ingest_sub_inventories_status_v1_dms_ingestion_ingest_sub_inventories__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestSubInventoriesTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ds-report-order-details":{"post":{"tags":["Ingest DS"],"summary":"Trigger Ingest DS Report Order Details Task","operationId":"trigger_ingest_ds_report_order_details_v1_dms_ingestion_ds_report_order_details_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDsReportOrderDetailTaskResponse_"}}}}}}},"/v1/dms-ingestion/ds-report-order-details/{job_id}/status":{"get":{"tags":["Ingest DS"],"summary":"Get Ingest DS Report Order Details Task Status","operationId":"get_ingest_ds_report_order_details_status_v1_dms_ingestion_ds_report_order_details__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestDsReportOrderDetailTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dms-ingestion/ingest-manufacturer-numbers":{"post":{"tags":["BiMaster - Ingest Manufacturer Numbers"],"summary":"Trigger Ingest Manufacturer Numbers Task","operationId":"trigger_ingest_manufacturer_numbers_v1_dms_ingestion_ingest_manufacturer_numbers_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestManufacturerNumberTaskResponse_"}}}}}}},"/v1/dms-ingestion/ingest-manufacturer-numbers/{job_id}/status":{"get":{"tags":["BiMaster - Ingest Manufacturer Numbers"],"summary":"Get Ingest Manufacturer Numbers Task Status","operationId":"get_ingest_manufacturer_numbers_status_v1_dms_ingestion_ingest_manufacturer_numbers__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_IngestManufacturerNumberTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-employees":{"post":{"tags":["DataWarehouse - Dim Employees"],"summary":"Trigger Transform Dim Employees","description":"Trigger the transformation of DimEmployees (SCD Type 2).\nThis runs as a background task via Procrastinate.","operationId":"trigger_transform_dim_employees_v1_dwh_transform_dim_employees_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}}}}},"/v1/dwh/transform-dim-employees/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Employees"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_dim_employees__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-product-brands":{"post":{"tags":["DataWarehouse - Dim Product Brands"],"summary":"Trigger Transform Dim Brands","description":"Trigger the transformation for DimProductBrands.\nProcessing Steps:\n1. Extract Staging (Adjacency List)\n2. Build Path recursively `/root/child/...`\n3. Pass 1: Upsert DimProductBrand\n4. Pass 2: Relink parent_brand_id","operationId":"trigger_transform_dim_brands_v1_dwh_transform_dim_product_brands_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimBrandTaskResponse_"}}}}}}},"/v1/dwh/transform-dim-product-brands/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Product Brands"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_dim_product_brands__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimBrandTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-dates":{"post":{"tags":["DataWarehouse - Dim Dates"],"summary":"Trigger Dim Dates","operationId":"trigger_dim_dates_v1_dwh_transform_dim_dates_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_DateTaskResponse_"}}}}}}},"/v1/dwh/transform-dim-dates/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Dates"],"summary":"Get Status Dim Dates","operationId":"get_status_dim_dates_v1_dwh_transform_dim_dates__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_DateTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-stores":{"post":{"tags":["DataWarehouse - Dim Stores"],"summary":"Trigger Dim Stores","operationId":"trigger_dim_stores_v1_dwh_transform_dim_stores_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}}}}},"/v1/dwh/transform-dim-stores/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Stores"],"summary":"Get Status Dim Stores","operationId":"get_status_dim_stores_v1_dwh_transform_dim_stores__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-suppliers":{"post":{"tags":["DataWarehouse - Dim Suppliers"],"summary":"Trigger Transform Dim Suppliers","description":"Trigger the transformation of DimSuppliers tables.","operationId":"trigger_transform_dim_suppliers_v1_dwh_transform_dim_suppliers_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}}}}},"/v1/dwh/transform-dim-suppliers/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Suppliers"],"summary":"Get Transform Dim Suppliers Status","description":"Check status of the transformation task.","operationId":"get_transform_dim_suppliers_status_v1_dwh_transform_dim_suppliers__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-products":{"post":{"tags":["DataWarehouse - Dim Products"],"summary":"Trigger Transform Dim Products","description":"Trigger the transformation for DimProducts.\nProcessing Steps:\n1. Extract Staging (SCD2)\n2. Upsert DimProduct\n3. Relink Foreign Keys (Brand)","operationId":"trigger_transform_dim_products_v1_dwh_transform_dim_products_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimProductTaskResponse_"}}}}}}},"/v1/dwh/transform-dim-products/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Products"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_dim_products__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimProductTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-order-fulfillment":{"post":{"tags":["DataWarehouse - Fact Order Fulfillment"],"summary":"Trigger Transform","operationId":"trigger_transform_v1_dwh_transform_fact_order_fulfillment_post","parameters":[{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-order-fulfillment/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Order Fulfillment"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_order_fulfillment__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-delivery-details":{"post":{"tags":["DataWarehouse - Fact Delivery Details"],"summary":"Trigger Transform Delivery Details","description":"Triggers background task to transform staging details -> dwh.fact_delivery_details.\nPre-syncs dim_shipper and dim_delivery_status via UPSERT.","operationId":"trigger_transform_delivery_details_v1_dwh_transform_fact_delivery_details_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}}}}},"/v1/dwh/transform-fact-delivery-details/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Delivery Details"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_delivery_details__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-order-lines":{"post":{"tags":["DataWarehouse - Fact Order Lines"],"summary":"Trigger Transform","operationId":"trigger_transform_v1_dwh_transform_fact_order_lines_post","parameters":[{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-order-lines/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Order Lines"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_order_lines__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform/all":{"post":{"tags":["BiMaster - Transform Management"],"summary":"Trigger All Transform Tasks","description":"Trigger ALL Transform tasks from Staging to DWH.\nSkips tasks that are already in 'todo' or 'doing' status.\nCreates a new DwhBatchLog for this run.","operationId":"trigger_transform_all_v1_dwh_transform_all_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformAllResponse_"}}}}}}},"/v1/dwh/transform-dim-distributors":{"post":{"tags":["DataWarehouse - Dim Distributors"],"summary":"Trigger Dim Distributors","operationId":"trigger_dim_distributors_v1_dwh_transform_dim_distributors_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}}}}},"/v1/dwh/transform-dim-distributors/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Distributors"],"summary":"Get Distributor Status","operationId":"get_distributor_status_v1_dwh_transform_dim_distributors__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-shipper":{"post":{"tags":["DataWarehouse - Dim Shippers"],"summary":"Trigger Dim Shippers","operationId":"trigger_dim_shippers_v1_dwh_transform_dim_shipper_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}}}}},"/v1/dwh/transform-dim-shipper/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Shippers"],"summary":"Get Status Dim Shippers","operationId":"get_status_dim_shippers_v1_dwh_transform_dim_shipper__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-delivery-status":{"post":{"tags":["DataWarehouse - Dim Delivery Status"],"summary":"Trigger Dim Delivery Status","operationId":"trigger_dim_delivery_status_v1_dwh_transform_dim_delivery_status_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}}}}},"/v1/dwh/transform-dim-delivery-status/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Delivery Status"],"summary":"Get Status Dim Delivery Status","operationId":"get_status_dim_delivery_status_v1_dwh_transform_dim_delivery_status__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TaskStatus_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform/dim-sub-inventories":{"post":{"summary":"Transform Dim Sub Inventories (SCD Type 2)","description":"Trigger tiến trình transform dữ liệu từ Staging (dms_sub_inventories) sang DWH (dim_sub_inventories).","operationId":"trigger_transform_dim_sub_inventories_v1_dwh_transform_dim_sub_inventories_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Trigger Transform Dim Sub Inventories V1 Dwh Transform Dim Sub Inventories Post"}}}}}}},"/v1/dwh/transform-fact-asset-activities":{"post":{"tags":["DataWarehouse - Fact Asset Activities"],"summary":"Trigger Fact Asset Activities","operationId":"trigger_fact_asset_activities_v1_dwh_transform_fact_asset_activities_post","parameters":[{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-asset-activities/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Asset Activities"],"summary":"Get Status Fact Asset Activities","operationId":"get_status_fact_asset_activities_v1_dwh_transform_fact_asset_activities__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-sales-targets":{"post":{"tags":["DataWarehouse - Fact Sales Targets"],"summary":"Trigger Fact Sales Targets","operationId":"trigger_fact_sales_targets_v1_dwh_transform_fact_sales_targets_post","parameters":[{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-sales-targets/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Sales Targets"],"summary":"Get Status Fact Sales Targets","operationId":"get_status_fact_sales_targets_v1_dwh_transform_fact_sales_targets__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-visits":{"post":{"tags":["DataWarehouse - Fact Visits"],"summary":"Trigger Fact Visits","operationId":"trigger_fact_visits_v1_dwh_transform_fact_visits_post","parameters":[{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-visits/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Visits"],"summary":"Get Status Fact Visits","operationId":"get_status_fact_visits_v1_dwh_transform_fact_visits__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TriggerResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-chains":{"post":{"tags":["DataWarehouse - Dim Chains"],"summary":"Trigger Transform Dim Chains","description":"Trigger the transformation for DimChains (DMS Chains → DWH).\nUses a singleton lock to prevent duplicate runs.","operationId":"trigger_transform_dim_chains_v1_dwh_transform_dim_chains_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimChainTaskResponse_"}}}}}}},"/v1/dwh/transform-dim-chains/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Chains"],"summary":"Get Transform Dim Chains Status","description":"Get the status of a Transform Dim Chains background job.","operationId":"get_transform_dim_chains_status_v1_dwh_transform_dim_chains__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimChainTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-warehouses":{"post":{"tags":["DataWarehouse - Dim Warehouses"],"summary":"Trigger Transform Dim Warehouses","description":"Trigger the transformation for DimWarehouses.","operationId":"trigger_transform_dim_warehouses_v1_dwh_transform_dim_warehouses_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimWarehouseTaskResponse_"}}}}}}},"/v1/dwh/transform-dim-warehouses/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Warehouses"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_dim_warehouses__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimWarehouseTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-assets":{"post":{"tags":["DataWarehouse - Dim Assets"],"summary":"Trigger Transform Dim Assets","description":"Trigger the transformation for DimAssets.","operationId":"trigger_transform_dim_assets_v1_dwh_transform_dim_assets_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimAssetTaskResponse_"}}}}}}},"/v1/dwh/transform-dim-assets/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Assets"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_dim_assets__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimAssetTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-price-lists":{"post":{"tags":["DataWarehouse - Dim Price Lists"],"summary":"Trigger Transform Dim Price Lists","description":"Trigger the transformation for DimPriceLists.","operationId":"trigger_transform_dim_price_lists_v1_dwh_transform_dim_price_lists_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimPriceListTaskResponse_"}}}}}}},"/v1/dwh/transform-dim-price-lists/{job_id}/status":{"get":{"tags":["DataWarehouse - Dim Price Lists"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_dim_price_lists__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimPriceListTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-inventory-transactions":{"post":{"tags":["DataWarehouse - Fact Inventory Transactions"],"summary":"Trigger Transform Fact Inventory Transactions","description":"Trigger the transformation for FactInventoryTransactions.","operationId":"trigger_transform_fact_inventory_transactions_v1_dwh_transform_fact_inventory_transactions_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactInventoryTransactionTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-inventory-transactions/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Inventory Transactions"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_inventory_transactions__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactInventoryTransactionTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-inventory-daily-balance":{"post":{"tags":["DataWarehouse - Fact Inventory Daily Balance"],"summary":"Trigger Transform Fact Inventory Daily Balance","description":"Trigger the transformation for FactInventoryDailyBalance.","operationId":"trigger_transform_fact_inventory_daily_balance_v1_dwh_transform_fact_inventory_daily_balance_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactInventoryDailyBalanceTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-inventory-daily-balance/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Inventory Daily Balance"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_inventory_daily_balance__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactInventoryDailyBalanceTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-inventory-lot-snapshot":{"post":{"tags":["DataWarehouse - Fact Inventory Lot Snapshot"],"summary":"Trigger Transform Fact Inventory Lot Snapshot","description":"Trigger the transformation for FactInventoryLotSnapshot.","operationId":"trigger_transform_fact_inventory_lot_snapshot_v1_dwh_transform_fact_inventory_lot_snapshot_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactInventoryLotSnapshotTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-inventory-lot-snapshot/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Inventory Lot Snapshot"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_inventory_lot_snapshot__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactInventoryLotSnapshotTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/seed-inventory-policy":{"post":{"tags":["DataWarehouse - Inventory Policy Seeding"],"summary":"Seed Inventory Policy","description":"Upload CSV cấu hình target_weeks + min_stock cho cặp (warehouse, brand).\n\nHeader CSV bắt buộc: warehouse_code, brand_code, target_weeks, min_stock_qty,\neffective_from, effective_to, notes. Dùng '__ALL__' làm wildcard.\n\nUpsert theo (warehouse_code, brand_code) — chạy lại an toàn, ghi đè giá trị cũ.","operationId":"seed_inventory_policy_v1_dwh_seed_inventory_policy_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_seed_inventory_policy_v1_dwh_seed_inventory_policy_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_SeedInventoryPolicyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-warehouse-capacity":{"post":{"tags":["DataWarehouse - Dim Warehouse Capacity"],"summary":"Trigger Transform Dim Warehouse Capacity","description":"Đọc CSV đã upload qua Superset tại `user_uploads.warehouse_capacity` rồi\nupsert vào `dwh.dim_warehouse_capacity` (unique key:\nwarehouse_code + sub_inventory_code + effective_from).\n\nWorkflow: User upload CSV tại Superset → table `user_uploads.warehouse_capacity`\n→ gọi endpoint này → view `mart.v_inventory_obt` JOIN ngay.","operationId":"trigger_transform_dim_warehouse_capacity_v1_dwh_transform_dim_warehouse_capacity_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformWarehouseCapacityResponse_"}}}}}}},"/v1/dwh/transform-dim-warehouse-target":{"post":{"tags":["DataWarehouse - Dim Warehouse Target"],"summary":"Trigger Transform Dim Warehouse Target","description":"Đọc CSV đã upload qua Superset tại `user_uploads.warehouse_target` rồi\nupsert vào `dwh.dim_warehouse_target` (unique key: distributor+warehouse+\nsub_inv+period_year+period_month).","operationId":"trigger_transform_dim_warehouse_target_v1_dwh_transform_dim_warehouse_target_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformWarehouseTargetResponse_"}}}}}}},"/v1/dwh/transform-fact-sales-journal-detail":{"post":{"tags":["DataWarehouse - Fact Sales Journal Detail"],"summary":"Trigger Transform Fact Sales Journal Detail","description":"Trigger transform fact_sales_journal_detail (OM_01.2 Nhật ký bán hàng).","operationId":"trigger_transform_fact_sales_journal_detail_v1_dwh_transform_fact_sales_journal_detail_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactSalesJournalDetailTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-sales-journal-detail/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Sales Journal Detail"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_sales_journal_detail__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactSalesJournalDetailTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-revenue-detail":{"post":{"tags":["DataWarehouse - Fact Revenue Detail"],"summary":"Trigger Transform Fact Revenue Detail","description":"Trigger transform fact_revenue_detail (OM_03 Báo cáo doanh thu chi tiết).","operationId":"trigger_transform_fact_revenue_detail_v1_dwh_transform_fact_revenue_detail_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactRevenueDetailTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-revenue-detail/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Revenue Detail"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_revenue_detail__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactRevenueDetailTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-promo-budget-available":{"post":{"tags":["DataWarehouse - Fact Promo Budget Available"],"summary":"Trigger Transform Fact Promo Budget Available","description":"Trigger transform fact_promo_budget_available (GL_25 Ngân sách KM).","operationId":"trigger_transform_fact_promo_budget_available_v1_dwh_transform_fact_promo_budget_available_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactPromoBudgetAvailableTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-promo-budget-available/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Promo Budget Available"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_promo_budget_available__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactPromoBudgetAvailableTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-asset-placement":{"post":{"tags":["DataWarehouse - Fact Asset Placement"],"summary":"Trigger Transform Fact Asset Placement","description":"Trigger the transformation for FactAssetPlacement.","operationId":"trigger_transform_fact_asset_placement_v1_dwh_transform_fact_asset_placement_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactAssetPlacementTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-asset-placement/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Asset Placement"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_asset_placement__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactAssetPlacementTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-fact-asset-audit":{"post":{"tags":["DataWarehouse - Fact Asset Audit"],"summary":"Trigger Transform Fact Asset Audit","description":"Trigger the transformation for FactAssetAudit.","operationId":"trigger_transform_fact_asset_audit_v1_dwh_transform_fact_asset_audit_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactAssetAuditTaskResponse_"}}}}}}},"/v1/dwh/transform-fact-asset-audit/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Asset Audit"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_fact_asset_audit__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactAssetAuditTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform/fact-weather-forecast":{"post":{"tags":["DataWarehouse - Fact Weather Forecast"],"summary":"Trigger Transform Fact Weather Forecast Task","description":"Trigger the background task to TRANSFORM staging weather data into fact_weather_forecast.\nThe task is pushed to the 'transform' queue. Returns existing job if already queued.","operationId":"trigger_transform_fact_weather_forecast_v1_dwh_transform_fact_weather_forecast_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactWeatherForecastTaskResponse_"}}}}}}},"/v1/dwh/transform/fact-weather-forecast/{job_id}/status":{"get":{"tags":["DataWarehouse - Fact Weather Forecast"],"summary":"Get Transform Fact Weather Forecast Task Status","description":"Get the status of a Transform Fact Weather Forecast background job.","operationId":"get_transform_fact_weather_forecast_status_v1_dwh_transform_fact_weather_forecast__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformFactWeatherForecastTaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dwh/transform-dim-static-data":{"post":{"tags":["DWH - Dim Static Data"],"summary":"Trigger Transform Static Data","description":"Trigger static data transformation for all static dimensions.","operationId":"trigger_transform_static_data_v1_dwh_transform_dim_static_data_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimStaticDataResponse_"}}}}}}},"/v1/dwh/transform-dim-static-data/{job_id}/status":{"get":{"tags":["DWH - Dim Static Data"],"summary":"Get Transform Status","operationId":"get_transform_status_v1_dwh_transform_dim_static_data__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TransformDimStaticDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"APIResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{},{"type":"null"}],"title":"Data","description":"Main data"}},"type":"object","title":"APIResponse","description":"Standard format for all API responses"},"APIResponse_DateTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/DateTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[DateTaskResponse]"},"APIResponse_IngestAllResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestAllResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestAllResponse]"},"APIResponse_IngestAssetAllocationTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestAssetAllocationTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestAssetAllocationTaskResponse]"},"APIResponse_IngestAssetBrandTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestAssetBrandTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestAssetBrandTaskResponse]"},"APIResponse_IngestAssetCapacityTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestAssetCapacityTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestAssetCapacityTaskResponse]"},"APIResponse_IngestAssetModelTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestAssetModelTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestAssetModelTaskResponse]"},"APIResponse_IngestAssetSupplierTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestAssetSupplierTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestAssetSupplierTaskResponse]"},"APIResponse_IngestAssetTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestAssetTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestAssetTaskResponse]"},"APIResponse_IngestCalendarTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestCalendarTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestCalendarTaskResponse]"},"APIResponse_IngestCategoryTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestCategoryTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestCategoryTaskResponse]"},"APIResponse_IngestChainTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestChainTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestChainTaskResponse]"},"APIResponse_IngestChannelTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestChannelTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestChannelTaskResponse]"},"APIResponse_IngestDeliveryNoteDetailTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestDeliveryNoteDetailTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestDeliveryNoteDetailTaskResponse]"},"APIResponse_IngestDeliveryNoteTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestDeliveryNoteTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestDeliveryNoteTaskResponse]"},"APIResponse_IngestDistributorOfShopsTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestDistributorOfShopsTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestDistributorOfShopsTaskResponse]"},"APIResponse_IngestDsReportOrderDetailTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestDsReportOrderDetailTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestDsReportOrderDetailTaskResponse]"},"APIResponse_IngestEmailReportsTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestEmailReportsTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestEmailReportsTaskResponse]"},"APIResponse_IngestErpOraSalesOrdersTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestErpOraSalesOrdersTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestErpOraSalesOrdersTaskResponse]"},"APIResponse_IngestInventoriesTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestInventoriesTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestInventoriesTaskResponse]"},"APIResponse_IngestInventoryDetailsTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestInventoryDetailsTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestInventoryDetailsTaskResponse]"},"APIResponse_IngestManufacturerNumberTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestManufacturerNumberTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestManufacturerNumberTaskResponse]"},"APIResponse_IngestPlanTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestPlanTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestPlanTaskResponse]"},"APIResponse_IngestPriceDetailsTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestPriceDetailsTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestPriceDetailsTaskResponse]"},"APIResponse_IngestPricesTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestPricesTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestPricesTaskResponse]"},"APIResponse_IngestProductTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestProductTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestProductTaskResponse]"},"APIResponse_IngestRegionTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestRegionTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestRegionTaskResponse]"},"APIResponse_IngestSubInventoriesTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestSubInventoriesTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestSubInventoriesTaskResponse]"},"APIResponse_IngestTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestTaskResponse]"},"APIResponse_IngestUserTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestUserTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestUserTaskResponse]"},"APIResponse_IngestWarehouseDetailsTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestWarehouseDetailsTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestWarehouseDetailsTaskResponse]"},"APIResponse_IngestWarehousesTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestWarehousesTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestWarehousesTaskResponse]"},"APIResponse_IngestWeatherForecastTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/IngestWeatherForecastTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[IngestWeatherForecastTaskResponse]"},"APIResponse_SeedInventoryPolicyResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/SeedInventoryPolicyResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[SeedInventoryPolicyResponse]"},"APIResponse_TaskStatus_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TaskStatus"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TaskStatus]"},"APIResponse_TransformAllResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformAllResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformAllResponse]"},"APIResponse_TransformDimAssetTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformDimAssetTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformDimAssetTaskResponse]"},"APIResponse_TransformDimBrandTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformDimBrandTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformDimBrandTaskResponse]"},"APIResponse_TransformDimChainTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformDimChainTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformDimChainTaskResponse]"},"APIResponse_TransformDimPriceListTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformDimPriceListTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformDimPriceListTaskResponse]"},"APIResponse_TransformDimProductTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformDimProductTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformDimProductTaskResponse]"},"APIResponse_TransformDimStaticDataResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformDimStaticDataResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformDimStaticDataResponse]"},"APIResponse_TransformDimWarehouseTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformDimWarehouseTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformDimWarehouseTaskResponse]"},"APIResponse_TransformFactAssetAuditTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactAssetAuditTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactAssetAuditTaskResponse]"},"APIResponse_TransformFactAssetPlacementTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactAssetPlacementTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactAssetPlacementTaskResponse]"},"APIResponse_TransformFactInventoryDailyBalanceTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactInventoryDailyBalanceTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactInventoryDailyBalanceTaskResponse]"},"APIResponse_TransformFactInventoryLotSnapshotTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactInventoryLotSnapshotTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactInventoryLotSnapshotTaskResponse]"},"APIResponse_TransformFactInventoryTransactionTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactInventoryTransactionTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactInventoryTransactionTaskResponse]"},"APIResponse_TransformFactPromoBudgetAvailableTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactPromoBudgetAvailableTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactPromoBudgetAvailableTaskResponse]"},"APIResponse_TransformFactRevenueDetailTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactRevenueDetailTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactRevenueDetailTaskResponse]"},"APIResponse_TransformFactSalesJournalDetailTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactSalesJournalDetailTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactSalesJournalDetailTaskResponse]"},"APIResponse_TransformFactWeatherForecastTaskResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformFactWeatherForecastTaskResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformFactWeatherForecastTaskResponse]"},"APIResponse_TransformWarehouseCapacityResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformWarehouseCapacityResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformWarehouseCapacityResponse]"},"APIResponse_TransformWarehouseTargetResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TransformWarehouseTargetResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TransformWarehouseTargetResponse]"},"APIResponse_TriggerResponse_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/TriggerResponse"},{"type":"null"}],"description":"Main data"}},"type":"object","title":"APIResponse[TriggerResponse]"},"APIResponse_dict_":{"properties":{"status":{"type":"string","title":"Status","description":"Response status (success/error)","default":"success"},"message":{"type":"string","title":"Message","description":"Message from server","default":"Success"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Main data"}},"type":"object","title":"APIResponse[dict]"},"Body_seed_inventory_policy_v1_dwh_seed_inventory_policy_post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"CSV theo template inventory_policy_template.csv"}},"type":"object","required":["file"],"title":"Body_seed_inventory_policy_v1_dwh_seed_inventory_policy_post"},"DateTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"DateTaskResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IngestAllResponse":{"properties":{"triggered_count":{"type":"integer","title":"Triggered Count"},"skipped_count":{"type":"integer","title":"Skipped Count"},"triggered":{"items":{"$ref":"#/components/schemas/TriggeredTask"},"type":"array","title":"Triggered"},"skipped":{"items":{"$ref":"#/components/schemas/SkippedTask"},"type":"array","title":"Skipped"}},"type":"object","required":["triggered_count","skipped_count","triggered","skipped"],"title":"IngestAllResponse"},"IngestAssetAllocationTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestAssetAllocationTaskResponse"},"IngestAssetBrandTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestAssetBrandTaskResponse"},"IngestAssetCapacityTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestAssetCapacityTaskResponse"},"IngestAssetModelTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestAssetModelTaskResponse"},"IngestAssetSupplierTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestAssetSupplierTaskResponse"},"IngestAssetTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestAssetTaskResponse"},"IngestCalendarTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestCalendarTaskResponse"},"IngestCategoryTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestCategoryTaskResponse"},"IngestChainTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestChainTaskResponse"},"IngestChannelTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestChannelTaskResponse"},"IngestDeliveryNoteDetailTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestDeliveryNoteDetailTaskResponse"},"IngestDeliveryNoteTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestDeliveryNoteTaskResponse"},"IngestDistributorOfShopsTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestDistributorOfShopsTaskResponse"},"IngestDsReportOrderDetailTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestDsReportOrderDetailTaskResponse"},"IngestEmailReportsTaskResponse":{"properties":{"job_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"IngestEmailReportsTaskResponse"},"IngestErpOraSalesOrdersTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestErpOraSalesOrdersTaskResponse"},"IngestInventoriesTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestInventoriesTaskResponse"},"IngestInventoryDetailsTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestInventoryDetailsTaskResponse"},"IngestManufacturerNumberTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestManufacturerNumberTaskResponse"},"IngestPlanTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestPlanTaskResponse"},"IngestPriceDetailsTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestPriceDetailsTaskResponse"},"IngestPricesTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestPricesTaskResponse"},"IngestProductTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestProductTaskResponse"},"IngestRegionTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestRegionTaskResponse"},"IngestSubInventoriesTaskResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestSubInventoriesTaskResponse"},"IngestTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestTaskResponse"},"IngestUserTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestUserTaskResponse"},"IngestWarehouseDetailsTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestWarehouseDetailsTaskResponse"},"IngestWarehousesTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestWarehousesTaskResponse"},"IngestWeatherForecastTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"IngestWeatherForecastTaskResponse"},"LoginRequest":{"properties":{"code":{"type":"string","title":"Code"},"password":{"type":"string","title":"Password"},"recaptcha":{"type":"string","title":"Recaptcha","default":""},"device_type":{"type":"string","title":"Device Type","default":""}},"type":"object","required":["code","password"],"title":"LoginRequest","description":"Login request schema for external DMS API"},"SeedInventoryPolicyResponse":{"properties":{"inserted":{"type":"integer","title":"Inserted"},"updated":{"type":"integer","title":"Updated"},"skipped":{"type":"integer","title":"Skipped"},"total_rows":{"type":"integer","title":"Total Rows"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors"}},"type":"object","required":["inserted","updated","skipped","total_rows","errors"],"title":"SeedInventoryPolicyResponse"},"SkippedTask":{"properties":{"task":{"type":"string","title":"Task"},"reason":{"type":"string","title":"Reason"},"job_id":{"type":"integer","title":"Job Id"}},"type":"object","required":["task","reason","job_id"],"title":"SkippedTask"},"TaskStatus":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TaskStatus"},"TransformAllResponse":{"properties":{"triggered_count":{"type":"integer","title":"Triggered Count"},"skipped_count":{"type":"integer","title":"Skipped Count"},"triggered":{"items":{"$ref":"#/components/schemas/src__Domains__DataWarehouse__Features__TransformManagement__management_schema__TriggeredTask"},"type":"array","title":"Triggered"},"skipped":{"items":{"$ref":"#/components/schemas/src__Domains__DataWarehouse__Features__TransformManagement__management_schema__SkippedTask"},"type":"array","title":"Skipped"}},"type":"object","required":["triggered_count","skipped_count","triggered","skipped"],"title":"TransformAllResponse"},"TransformDimAssetTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformDimAssetTaskResponse"},"TransformDimBrandTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformDimBrandTaskResponse"},"TransformDimChainTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformDimChainTaskResponse"},"TransformDimPriceListTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformDimPriceListTaskResponse"},"TransformDimProductTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformDimProductTaskResponse"},"TransformDimStaticDataResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformDimStaticDataResponse"},"TransformDimWarehouseTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformDimWarehouseTaskResponse"},"TransformFactAssetAuditTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformFactAssetAuditTaskResponse"},"TransformFactAssetPlacementTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformFactAssetPlacementTaskResponse"},"TransformFactInventoryDailyBalanceTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformFactInventoryDailyBalanceTaskResponse"},"TransformFactInventoryLotSnapshotTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformFactInventoryLotSnapshotTaskResponse"},"TransformFactInventoryTransactionTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["job_id","status"],"title":"TransformFactInventoryTransactionTaskResponse"},"TransformFactPromoBudgetAvailableTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformFactPromoBudgetAvailableTaskResponse"},"TransformFactRevenueDetailTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformFactRevenueDetailTaskResponse"},"TransformFactSalesJournalDetailTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformFactSalesJournalDetailTaskResponse"},"TransformFactWeatherForecastTaskResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TransformFactWeatherForecastTaskResponse"},"TransformWarehouseCapacityResponse":{"properties":{"upserted":{"type":"integer","title":"Upserted"},"skipped":{"type":"integer","title":"Skipped"},"total_source_rows":{"type":"integer","title":"Total Source Rows"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors"}},"type":"object","required":["upserted","skipped","total_source_rows","errors"],"title":"TransformWarehouseCapacityResponse"},"TransformWarehouseTargetResponse":{"properties":{"upserted":{"type":"integer","title":"Upserted"},"skipped":{"type":"integer","title":"Skipped"},"total_source_rows":{"type":"integer","title":"Total Source Rows"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors"}},"type":"object","required":["upserted","skipped","total_source_rows","errors"],"title":"TransformWarehouseTargetResponse"},"TriggerResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"status":{"type":"string","title":"Status"}},"type":"object","required":["job_id","status"],"title":"TriggerResponse"},"TriggeredTask":{"properties":{"task":{"type":"string","title":"Task"},"job_id":{"type":"integer","title":"Job Id"}},"type":"object","required":["task","job_id"],"title":"TriggeredTask"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"src__Domains__DataWarehouse__Features__TransformManagement__management_schema__SkippedTask":{"properties":{"task":{"type":"string","title":"Task"},"reason":{"type":"string","title":"Reason"},"job_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Id"}},"type":"object","required":["task","reason"],"title":"SkippedTask"},"src__Domains__DataWarehouse__Features__TransformManagement__management_schema__TriggeredTask":{"properties":{"task":{"type":"string","title":"Task"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"}},"type":"object","required":["task"],"title":"TriggeredTask"}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"security":[{"BearerAuth":[]}]}