@de./types 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +113 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +92 -0
- package/dist/api.js.map +1 -0
- package/dist/auth.d.ts +109 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +80 -0
- package/dist/auth.js.map +1 -0
- package/dist/aux/agent-rvs.d.ts +1205 -0
- package/dist/aux/agent-rvs.d.ts.map +1 -0
- package/dist/aux/agent-rvs.js +444 -0
- package/dist/aux/agent-rvs.js.map +1 -0
- package/dist/aux/agents.d.ts +1573 -0
- package/dist/aux/agents.d.ts.map +1 -0
- package/dist/aux/agents.js +487 -0
- package/dist/aux/agents.js.map +1 -0
- package/dist/aux/customer-rvs.d.ts +711 -0
- package/dist/aux/customer-rvs.d.ts.map +1 -0
- package/dist/aux/customer-rvs.js +321 -0
- package/dist/aux/customer-rvs.js.map +1 -0
- package/dist/aux/customers.d.ts +379 -0
- package/dist/aux/customers.d.ts.map +1 -0
- package/dist/aux/customers.js +67 -0
- package/dist/aux/customers.js.map +1 -0
- package/dist/aux/index.d.ts +5 -0
- package/dist/aux/index.d.ts.map +1 -0
- package/dist/aux/index.js +21 -0
- package/dist/aux/index.js.map +1 -0
- package/dist/billing.d.ts +367 -0
- package/dist/billing.d.ts.map +1 -0
- package/dist/billing.js +308 -0
- package/dist/billing.js.map +1 -0
- package/dist/bucket.d.ts +97 -0
- package/dist/bucket.d.ts.map +1 -0
- package/dist/bucket.js +52 -0
- package/dist/bucket.js.map +1 -0
- package/dist/context.d.ts +148 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +148 -0
- package/dist/context.js.map +1 -0
- package/dist/csp/analytics.d.ts +270 -0
- package/dist/csp/analytics.d.ts.map +1 -0
- package/dist/csp/analytics.js +185 -0
- package/dist/csp/analytics.js.map +1 -0
- package/dist/csp/base.d.ts +11 -0
- package/dist/csp/base.d.ts.map +1 -0
- package/dist/csp/base.js +17 -0
- package/dist/csp/base.js.map +1 -0
- package/dist/csp/index.d.ts +107 -0
- package/dist/csp/index.d.ts.map +1 -0
- package/dist/csp/index.js +48 -0
- package/dist/csp/index.js.map +1 -0
- package/dist/csp/inventory.d.ts +361 -0
- package/dist/csp/inventory.d.ts.map +1 -0
- package/dist/csp/inventory.js +267 -0
- package/dist/csp/inventory.js.map +1 -0
- package/dist/csp/order.d.ts +1457 -0
- package/dist/csp/order.d.ts.map +1 -0
- package/dist/csp/order.js +367 -0
- package/dist/csp/order.js.map +1 -0
- package/dist/csp/webhook.d.ts +381 -0
- package/dist/csp/webhook.d.ts.map +1 -0
- package/dist/csp/webhook.js +207 -0
- package/dist/csp/webhook.js.map +1 -0
- package/dist/de.profile.d.ts +411 -0
- package/dist/de.profile.d.ts.map +1 -0
- package/dist/de.profile.js +98 -0
- package/dist/de.profile.js.map +1 -0
- package/dist/dev/developer.d.ts +211 -0
- package/dist/dev/developer.d.ts.map +1 -0
- package/dist/dev/developer.js +55 -0
- package/dist/dev/developer.js.map +1 -0
- package/dist/dev/index.d.ts +133 -0
- package/dist/dev/index.d.ts.map +1 -0
- package/dist/dev/index.js +79 -0
- package/dist/dev/index.js.map +1 -0
- package/dist/entity.d.ts +159 -0
- package/dist/entity.d.ts.map +1 -0
- package/dist/entity.js +127 -0
- package/dist/entity.js.map +1 -0
- package/dist/events.d.ts +1844 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +303 -0
- package/dist/events.js.map +1 -0
- package/dist/faq.d.ts +60 -0
- package/dist/faq.d.ts.map +1 -0
- package/dist/faq.js +31 -0
- package/dist/faq.js.map +1 -0
- package/dist/geo.d.ts +123 -0
- package/dist/geo.d.ts.map +1 -0
- package/dist/geo.js +87 -0
- package/dist/geo.js.map +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +59 -0
- package/dist/index.js.map +1 -0
- package/dist/inventory.d.ts +1347 -0
- package/dist/inventory.d.ts.map +1 -0
- package/dist/inventory.js +356 -0
- package/dist/inventory.js.map +1 -0
- package/dist/invoice.d.ts +46 -0
- package/dist/invoice.d.ts.map +1 -0
- package/dist/invoice.js +33 -0
- package/dist/invoice.js.map +1 -0
- package/dist/iotsp/device.d.ts +581 -0
- package/dist/iotsp/device.d.ts.map +1 -0
- package/dist/iotsp/device.js +277 -0
- package/dist/iotsp/device.js.map +1 -0
- package/dist/iotsp/index.d.ts +111 -0
- package/dist/iotsp/index.d.ts.map +1 -0
- package/dist/iotsp/index.js +76 -0
- package/dist/iotsp/index.js.map +1 -0
- package/dist/iotsp/rule.d.ts +340 -0
- package/dist/iotsp/rule.d.ts.map +1 -0
- package/dist/iotsp/rule.js +172 -0
- package/dist/iotsp/rule.js.map +1 -0
- package/dist/iotsp/topic.d.ts +249 -0
- package/dist/iotsp/topic.d.ts.map +1 -0
- package/dist/iotsp/topic.js +139 -0
- package/dist/iotsp/topic.js.map +1 -0
- package/dist/lsp/carrier/analytics.d.ts +1191 -0
- package/dist/lsp/carrier/analytics.d.ts.map +1 -0
- package/dist/lsp/carrier/analytics.js +354 -0
- package/dist/lsp/carrier/analytics.js.map +1 -0
- package/dist/lsp/carrier/capabilities.d.ts +3603 -0
- package/dist/lsp/carrier/capabilities.d.ts.map +1 -0
- package/dist/lsp/carrier/capabilities.js +880 -0
- package/dist/lsp/carrier/capabilities.js.map +1 -0
- package/dist/lsp/carrier/capacities.d.ts +4436 -0
- package/dist/lsp/carrier/capacities.d.ts.map +1 -0
- package/dist/lsp/carrier/capacities.js +615 -0
- package/dist/lsp/carrier/capacities.js.map +1 -0
- package/dist/lsp/carrier/index.d.ts +734 -0
- package/dist/lsp/carrier/index.d.ts.map +1 -0
- package/dist/lsp/carrier/index.js +150 -0
- package/dist/lsp/carrier/index.js.map +1 -0
- package/dist/lsp/carrier/performance.d.ts +567 -0
- package/dist/lsp/carrier/performance.d.ts.map +1 -0
- package/dist/lsp/carrier/performance.js +127 -0
- package/dist/lsp/carrier/performance.js.map +1 -0
- package/dist/lsp/carrier/utilities.d.ts +6671 -0
- package/dist/lsp/carrier/utilities.d.ts.map +1 -0
- package/dist/lsp/carrier/utilities.js +597 -0
- package/dist/lsp/carrier/utilities.js.map +1 -0
- package/dist/lsp/consolidation.d.ts +793 -0
- package/dist/lsp/consolidation.d.ts.map +1 -0
- package/dist/lsp/consolidation.js +343 -0
- package/dist/lsp/consolidation.js.map +1 -0
- package/dist/lsp/coverage.d.ts +7449 -0
- package/dist/lsp/coverage.d.ts.map +1 -0
- package/dist/lsp/coverage.js +706 -0
- package/dist/lsp/coverage.js.map +1 -0
- package/dist/lsp/fleet/index.d.ts +1128 -0
- package/dist/lsp/fleet/index.d.ts.map +1 -0
- package/dist/lsp/fleet/index.js +269 -0
- package/dist/lsp/fleet/index.js.map +1 -0
- package/dist/lsp/fleet/maintenance.d.ts +2022 -0
- package/dist/lsp/fleet/maintenance.d.ts.map +1 -0
- package/dist/lsp/fleet/maintenance.js +386 -0
- package/dist/lsp/fleet/maintenance.js.map +1 -0
- package/dist/lsp/fleet/parking.d.ts +2043 -0
- package/dist/lsp/fleet/parking.d.ts.map +1 -0
- package/dist/lsp/fleet/parking.js +458 -0
- package/dist/lsp/fleet/parking.js.map +1 -0
- package/dist/lsp/fleet/vehicle.d.ts +783 -0
- package/dist/lsp/fleet/vehicle.d.ts.map +1 -0
- package/dist/lsp/fleet/vehicle.js +314 -0
- package/dist/lsp/fleet/vehicle.js.map +1 -0
- package/dist/lsp/graph.d.ts +212 -0
- package/dist/lsp/graph.d.ts.map +1 -0
- package/dist/lsp/graph.js +92 -0
- package/dist/lsp/graph.js.map +1 -0
- package/dist/lsp/hub/analytics.d.ts +4294 -0
- package/dist/lsp/hub/analytics.d.ts.map +1 -0
- package/dist/lsp/hub/analytics.js +219 -0
- package/dist/lsp/hub/analytics.js.map +1 -0
- package/dist/lsp/hub/capabilities.d.ts +1467 -0
- package/dist/lsp/hub/capabilities.d.ts.map +1 -0
- package/dist/lsp/hub/capabilities.js +464 -0
- package/dist/lsp/hub/capabilities.js.map +1 -0
- package/dist/lsp/hub/capacities.d.ts +4278 -0
- package/dist/lsp/hub/capacities.d.ts.map +1 -0
- package/dist/lsp/hub/capacities.js +495 -0
- package/dist/lsp/hub/capacities.js.map +1 -0
- package/dist/lsp/hub/index.d.ts +2784 -0
- package/dist/lsp/hub/index.d.ts.map +1 -0
- package/dist/lsp/hub/index.js +268 -0
- package/dist/lsp/hub/index.js.map +1 -0
- package/dist/lsp/hub/performance.d.ts +391 -0
- package/dist/lsp/hub/performance.d.ts.map +1 -0
- package/dist/lsp/hub/performance.js +78 -0
- package/dist/lsp/hub/performance.js.map +1 -0
- package/dist/lsp/hub/utilities.d.ts +2996 -0
- package/dist/lsp/hub/utilities.d.ts.map +1 -0
- package/dist/lsp/hub/utilities.js +521 -0
- package/dist/lsp/hub/utilities.js.map +1 -0
- package/dist/lsp/index.d.ts +157 -0
- package/dist/lsp/index.d.ts.map +1 -0
- package/dist/lsp/index.js +121 -0
- package/dist/lsp/index.js.map +1 -0
- package/dist/lsp/operations.d.ts +563 -0
- package/dist/lsp/operations.d.ts.map +1 -0
- package/dist/lsp/operations.js +265 -0
- package/dist/lsp/operations.js.map +1 -0
- package/dist/lsp/order/delivery.d.ts +1119 -0
- package/dist/lsp/order/delivery.d.ts.map +1 -0
- package/dist/lsp/order/delivery.js +169 -0
- package/dist/lsp/order/delivery.js.map +1 -0
- package/dist/lsp/order/flow/processes.d.ts +8 -0
- package/dist/lsp/order/flow/processes.d.ts.map +1 -0
- package/dist/lsp/order/flow/processes.js +67 -0
- package/dist/lsp/order/flow/processes.js.map +1 -0
- package/dist/lsp/order/flow/stages.d.ts +8 -0
- package/dist/lsp/order/flow/stages.d.ts.map +1 -0
- package/dist/lsp/order/flow/stages.js +111 -0
- package/dist/lsp/order/flow/stages.js.map +1 -0
- package/dist/lsp/order/inbound.d.ts +1165 -0
- package/dist/lsp/order/inbound.d.ts.map +1 -0
- package/dist/lsp/order/inbound.js +185 -0
- package/dist/lsp/order/inbound.js.map +1 -0
- package/dist/lsp/order/internal.d.ts +1404 -0
- package/dist/lsp/order/internal.d.ts.map +1 -0
- package/dist/lsp/order/internal.js +255 -0
- package/dist/lsp/order/internal.js.map +1 -0
- package/dist/lsp/order/management.d.ts +541 -0
- package/dist/lsp/order/management.d.ts.map +1 -0
- package/dist/lsp/order/management.js +326 -0
- package/dist/lsp/order/management.js.map +1 -0
- package/dist/lsp/order/outbound.d.ts +909 -0
- package/dist/lsp/order/outbound.d.ts.map +1 -0
- package/dist/lsp/order/outbound.js +105 -0
- package/dist/lsp/order/outbound.js.map +1 -0
- package/dist/lsp/order/passthrough.d.ts +1816 -0
- package/dist/lsp/order/passthrough.d.ts.map +1 -0
- package/dist/lsp/order/passthrough.js +360 -0
- package/dist/lsp/order/passthrough.js.map +1 -0
- package/dist/lsp/order/ride.d.ts +1056 -0
- package/dist/lsp/order/ride.d.ts.map +1 -0
- package/dist/lsp/order/ride.js +166 -0
- package/dist/lsp/order/ride.js.map +1 -0
- package/dist/lsp/order/shipping.d.ts +1524 -0
- package/dist/lsp/order/shipping.d.ts.map +1 -0
- package/dist/lsp/order/shipping.js +223 -0
- package/dist/lsp/order/shipping.js.map +1 -0
- package/dist/lsp/performance.d.ts +2 -0
- package/dist/lsp/performance.d.ts.map +1 -0
- package/dist/lsp/performance.js +3 -0
- package/dist/lsp/performance.js.map +1 -0
- package/dist/lsp/pod/index.d.ts +805 -0
- package/dist/lsp/pod/index.d.ts.map +1 -0
- package/dist/lsp/pod/index.js +250 -0
- package/dist/lsp/pod/index.js.map +1 -0
- package/dist/lsp/pricing.d.ts +1811 -0
- package/dist/lsp/pricing.d.ts.map +1 -0
- package/dist/lsp/pricing.js +972 -0
- package/dist/lsp/pricing.js.map +1 -0
- package/dist/lsp/processing.d.ts +893 -0
- package/dist/lsp/processing.d.ts.map +1 -0
- package/dist/lsp/processing.js +202 -0
- package/dist/lsp/processing.js.map +1 -0
- package/dist/lsp/product.d.ts +76 -0
- package/dist/lsp/product.d.ts.map +1 -0
- package/dist/lsp/product.js +3 -0
- package/dist/lsp/product.js.map +1 -0
- package/dist/lsp/psl.d.ts +785 -0
- package/dist/lsp/psl.d.ts.map +1 -0
- package/dist/lsp/psl.js +333 -0
- package/dist/lsp/psl.js.map +1 -0
- package/dist/lsp/terminal/analytics.d.ts +278 -0
- package/dist/lsp/terminal/analytics.d.ts.map +1 -0
- package/dist/lsp/terminal/analytics.js +310 -0
- package/dist/lsp/terminal/analytics.js.map +1 -0
- package/dist/lsp/terminal/capabilities.d.ts +797 -0
- package/dist/lsp/terminal/capabilities.d.ts.map +1 -0
- package/dist/lsp/terminal/capabilities.js +506 -0
- package/dist/lsp/terminal/capabilities.js.map +1 -0
- package/dist/lsp/terminal/capacities.d.ts +3152 -0
- package/dist/lsp/terminal/capacities.d.ts.map +1 -0
- package/dist/lsp/terminal/capacities.js +504 -0
- package/dist/lsp/terminal/capacities.js.map +1 -0
- package/dist/lsp/terminal/index.d.ts +1056 -0
- package/dist/lsp/terminal/index.d.ts.map +1 -0
- package/dist/lsp/terminal/index.js +394 -0
- package/dist/lsp/terminal/index.js.map +1 -0
- package/dist/lsp/terminal/performance.d.ts +955 -0
- package/dist/lsp/terminal/performance.d.ts.map +1 -0
- package/dist/lsp/terminal/performance.js +159 -0
- package/dist/lsp/terminal/performance.js.map +1 -0
- package/dist/lsp/terminal/utilities.d.ts +2374 -0
- package/dist/lsp/terminal/utilities.d.ts.map +1 -0
- package/dist/lsp/terminal/utilities.js +161 -0
- package/dist/lsp/terminal/utilities.js.map +1 -0
- package/dist/lsp/warehouse/analytics.d.ts +3088 -0
- package/dist/lsp/warehouse/analytics.d.ts.map +1 -0
- package/dist/lsp/warehouse/analytics.js +229 -0
- package/dist/lsp/warehouse/analytics.js.map +1 -0
- package/dist/lsp/warehouse/capabilities.d.ts +1384 -0
- package/dist/lsp/warehouse/capabilities.d.ts.map +1 -0
- package/dist/lsp/warehouse/capabilities.js +567 -0
- package/dist/lsp/warehouse/capabilities.js.map +1 -0
- package/dist/lsp/warehouse/capacities.d.ts +2921 -0
- package/dist/lsp/warehouse/capacities.d.ts.map +1 -0
- package/dist/lsp/warehouse/capacities.js +450 -0
- package/dist/lsp/warehouse/capacities.js.map +1 -0
- package/dist/lsp/warehouse/index.d.ts +2566 -0
- package/dist/lsp/warehouse/index.d.ts.map +1 -0
- package/dist/lsp/warehouse/index.js +264 -0
- package/dist/lsp/warehouse/index.js.map +1 -0
- package/dist/lsp/warehouse/performance.d.ts +287 -0
- package/dist/lsp/warehouse/performance.d.ts.map +1 -0
- package/dist/lsp/warehouse/performance.js +72 -0
- package/dist/lsp/warehouse/performance.js.map +1 -0
- package/dist/lsp/warehouse/utilities.d.ts +5174 -0
- package/dist/lsp/warehouse/utilities.d.ts.map +1 -0
- package/dist/lsp/warehouse/utilities.js +588 -0
- package/dist/lsp/warehouse/utilities.js.map +1 -0
- package/dist/lsp/zones.d.ts +305 -0
- package/dist/lsp/zones.d.ts.map +1 -0
- package/dist/lsp/zones.js +118 -0
- package/dist/lsp/zones.js.map +1 -0
- package/dist/measure.d.ts +139 -0
- package/dist/measure.d.ts.map +1 -0
- package/dist/measure.js +190 -0
- package/dist/measure.js.map +1 -0
- package/dist/operator.d.ts +103 -0
- package/dist/operator.d.ts.map +1 -0
- package/dist/operator.js +38 -0
- package/dist/operator.js.map +1 -0
- package/dist/order.d.ts +2739 -0
- package/dist/order.d.ts.map +1 -0
- package/dist/order.js +1078 -0
- package/dist/order.js.map +1 -0
- package/dist/realm/index.d.ts +4 -0
- package/dist/realm/index.d.ts.map +1 -0
- package/dist/realm/index.js +20 -0
- package/dist/realm/index.js.map +1 -0
- package/dist/realm/pipelines.d.ts +32567 -0
- package/dist/realm/pipelines.d.ts.map +1 -0
- package/dist/realm/pipelines.js +1273 -0
- package/dist/realm/pipelines.js.map +1 -0
- package/dist/realm/queries.d.ts +1327 -0
- package/dist/realm/queries.d.ts.map +1 -0
- package/dist/realm/queries.js +456 -0
- package/dist/realm/queries.js.map +1 -0
- package/dist/realm/utilities.d.ts +1794 -0
- package/dist/realm/utilities.d.ts.map +1 -0
- package/dist/realm/utilities.js +594 -0
- package/dist/realm/utilities.js.map +1 -0
- package/dist/routing.d.ts +428 -0
- package/dist/routing.d.ts.map +1 -0
- package/dist/routing.js +60 -0
- package/dist/routing.js.map +1 -0
- package/dist/service.d.ts +264 -0
- package/dist/service.d.ts.map +1 -0
- package/dist/service.js +60 -0
- package/dist/service.js.map +1 -0
- package/dist/shared/access.d.ts +102 -0
- package/dist/shared/access.d.ts.map +1 -0
- package/dist/shared/access.js +30 -0
- package/dist/shared/access.js.map +1 -0
- package/dist/shared/account.d.ts +44 -0
- package/dist/shared/account.d.ts.map +1 -0
- package/dist/shared/account.js +15 -0
- package/dist/shared/account.js.map +1 -0
- package/dist/shared/auth.d.ts +45 -0
- package/dist/shared/auth.d.ts.map +1 -0
- package/dist/shared/auth.js +19 -0
- package/dist/shared/auth.js.map +1 -0
- package/dist/shared/bucket.d.ts +294 -0
- package/dist/shared/bucket.d.ts.map +1 -0
- package/dist/shared/bucket.js +79 -0
- package/dist/shared/bucket.js.map +1 -0
- package/dist/shared/faq.d.ts +280 -0
- package/dist/shared/faq.d.ts.map +1 -0
- package/dist/shared/faq.js +73 -0
- package/dist/shared/faq.js.map +1 -0
- package/dist/shared/index.d.ts +10 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +26 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/invitation.d.ts +1525 -0
- package/dist/shared/invitation.d.ts.map +1 -0
- package/dist/shared/invitation.js +60 -0
- package/dist/shared/invitation.js.map +1 -0
- package/dist/shared/operator.d.ts +956 -0
- package/dist/shared/operator.d.ts.map +1 -0
- package/dist/shared/operator.js +48 -0
- package/dist/shared/operator.js.map +1 -0
- package/dist/shared/tracking.d.ts +31 -0
- package/dist/shared/tracking.d.ts.map +1 -0
- package/dist/shared/tracking.js +23 -0
- package/dist/shared/tracking.js.map +1 -0
- package/dist/shared/user.d.ts +77 -0
- package/dist/shared/user.d.ts.map +1 -0
- package/dist/shared/user.js +22 -0
- package/dist/shared/user.js.map +1 -0
- package/dist/sync.d.ts +539 -0
- package/dist/sync.d.ts.map +1 -0
- package/dist/sync.js +329 -0
- package/dist/sync.js.map +1 -0
- package/dist/time.d.ts +139 -0
- package/dist/time.d.ts.map +1 -0
- package/dist/time.js +93 -0
- package/dist/time.js.map +1 -0
- package/dist/user.d.ts +394 -0
- package/dist/user.d.ts.map +1 -0
- package/dist/user.js +205 -0
- package/dist/user.js.map +1 -0
- package/dist/workspace/admin.d.ts +91 -0
- package/dist/workspace/admin.d.ts.map +1 -0
- package/dist/workspace/admin.js +33 -0
- package/dist/workspace/admin.js.map +1 -0
- package/dist/workspace/billing.d.ts +2 -0
- package/dist/workspace/billing.d.ts.map +1 -0
- package/dist/workspace/billing.js +18 -0
- package/dist/workspace/billing.js.map +1 -0
- package/dist/workspace/connector.d.ts +595 -0
- package/dist/workspace/connector.d.ts.map +1 -0
- package/dist/workspace/connector.js +229 -0
- package/dist/workspace/connector.js.map +1 -0
- package/dist/workspace/index.d.ts +36 -0
- package/dist/workspace/index.d.ts.map +1 -0
- package/dist/workspace/index.js +21 -0
- package/dist/workspace/index.js.map +1 -0
- package/package.json +70 -0
- package/src/api.ts +147 -0
- package/src/auth.ts +103 -0
- package/src/aux/agent-rvs.ts +596 -0
- package/src/aux/agents.ts +542 -0
- package/src/aux/customer-rvs.ts +421 -0
- package/src/aux/customers.ts +80 -0
- package/src/aux/index.ts +4 -0
- package/src/billing.ts +330 -0
- package/src/bucket.ts +58 -0
- package/src/context.ts +167 -0
- package/src/csp/analytics.ts +238 -0
- package/src/csp/base.ts +18 -0
- package/src/csp/index.ts +41 -0
- package/src/csp/inventory.ts +325 -0
- package/src/csp/order.ts +485 -0
- package/src/csp/webhook.ts +269 -0
- package/src/de.profile.ts +123 -0
- package/src/dev/developer.ts +90 -0
- package/src/dev/index.ts +81 -0
- package/src/entity.ts +154 -0
- package/src/events.ts +349 -0
- package/src/faq.ts +39 -0
- package/src/geo.ts +111 -0
- package/src/index.ts +48 -0
- package/src/inventory.ts +405 -0
- package/src/invoice.ts +37 -0
- package/src/iotsp/device.ts +334 -0
- package/src/iotsp/index.ts +91 -0
- package/src/iotsp/rule.ts +227 -0
- package/src/iotsp/topic.ts +191 -0
- package/src/lsp/carrier/analytics.ts +393 -0
- package/src/lsp/carrier/capabilities.ts +1009 -0
- package/src/lsp/carrier/capacities.ts +723 -0
- package/src/lsp/carrier/index.ts +175 -0
- package/src/lsp/carrier/performance.ts +145 -0
- package/src/lsp/carrier/utilities.ts +654 -0
- package/src/lsp/consolidation.ts +420 -0
- package/src/lsp/coverage.ts +869 -0
- package/src/lsp/fleet/index.ts +327 -0
- package/src/lsp/fleet/maintenance.ts +478 -0
- package/src/lsp/fleet/parking.ts +582 -0
- package/src/lsp/fleet/vehicle.ts +381 -0
- package/src/lsp/graph.ts +113 -0
- package/src/lsp/hub/analytics.ts +236 -0
- package/src/lsp/hub/capabilities.ts +549 -0
- package/src/lsp/hub/capacities.ts +590 -0
- package/src/lsp/hub/index.ts +298 -0
- package/src/lsp/hub/performance.ts +89 -0
- package/src/lsp/hub/utilities.ts +560 -0
- package/src/lsp/index.ts +125 -0
- package/src/lsp/operations.ts +304 -0
- package/src/lsp/order/delivery.ts +212 -0
- package/src/lsp/order/flow/processes.ts +70 -0
- package/src/lsp/order/flow/stages.ts +119 -0
- package/src/lsp/order/inbound.ts +231 -0
- package/src/lsp/order/internal.ts +305 -0
- package/src/lsp/order/management.ts +367 -0
- package/src/lsp/order/outbound.ts +128 -0
- package/src/lsp/order/passthrough.ts +434 -0
- package/src/lsp/order/ride.ts +190 -0
- package/src/lsp/order/shipping.ts +263 -0
- package/src/lsp/performance.ts +2 -0
- package/src/lsp/pod/index.ts +323 -0
- package/src/lsp/pricing.ts +1097 -0
- package/src/lsp/processing.ts +243 -0
- package/src/lsp/product.ts +104 -0
- package/src/lsp/psl.ts +399 -0
- package/src/lsp/terminal/analytics.ts +334 -0
- package/src/lsp/terminal/capabilities.ts +541 -0
- package/src/lsp/terminal/capacities.ts +556 -0
- package/src/lsp/terminal/index.ts +442 -0
- package/src/lsp/terminal/performance.ts +168 -0
- package/src/lsp/terminal/utilities.ts +173 -0
- package/src/lsp/warehouse/analytics.ts +248 -0
- package/src/lsp/warehouse/capabilities.ts +673 -0
- package/src/lsp/warehouse/capacities.ts +538 -0
- package/src/lsp/warehouse/index.ts +298 -0
- package/src/lsp/warehouse/performance.ts +83 -0
- package/src/lsp/warehouse/utilities.ts +634 -0
- package/src/lsp/zones.ts +148 -0
- package/src/measure.ts +240 -0
- package/src/operator.ts +39 -0
- package/src/order.ts +1207 -0
- package/src/realm/index.ts +3 -0
- package/src/realm/pipelines.ts +1607 -0
- package/src/realm/queries.ts +608 -0
- package/src/realm/utilities.ts +730 -0
- package/src/routing.ts +69 -0
- package/src/service.ts +66 -0
- package/src/shared/access.ts +58 -0
- package/src/shared/account.ts +25 -0
- package/src/shared/auth.ts +30 -0
- package/src/shared/bucket.ts +153 -0
- package/src/shared/faq.ts +139 -0
- package/src/shared/index.ts +9 -0
- package/src/shared/invitation.ts +124 -0
- package/src/shared/operator.ts +159 -0
- package/src/shared/tracking.ts +30 -0
- package/src/shared/user.ts +42 -0
- package/src/sync.ts +364 -0
- package/src/time.ts +113 -0
- package/src/user.ts +243 -0
- package/src/workspace/admin.ts +38 -0
- package/src/workspace/billing.ts +1 -0
- package/src/workspace/connector.ts +270 -0
- package/src/workspace/index.ts +22 -0
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
import { Type, Static } from '@sinclair/typebox'
|
|
2
|
+
import { ContextSchema } from '../../context'
|
|
3
|
+
import { ActionRecordSchema } from '../../time'
|
|
4
|
+
import { SPAvailabilitySchema } from '../../context'
|
|
5
|
+
import { DurationSchema } from '../../time'
|
|
6
|
+
import { DimensionsSchema, WeightSchema, VolumeSchema, TemperatureSchema, MoneySchema, AreaSchema, CapacityRecordSchema, LengthSchema, PerTimeSchema, MemorySchema, PowerSchema, PerAreaSchema, BandwidthSchema } from '../../measure';
|
|
7
|
+
import {
|
|
8
|
+
PSLZoneTypeSchema,
|
|
9
|
+
PSLVelocitySchema
|
|
10
|
+
} from '../psl'
|
|
11
|
+
|
|
12
|
+
// Physical space capacity
|
|
13
|
+
export const WarehousePhysicalCapacitySchema = Type.Object({
|
|
14
|
+
type: Type.Literal('PHYSICAL'),
|
|
15
|
+
serviceId: Type.String(),
|
|
16
|
+
context: ContextSchema,
|
|
17
|
+
|
|
18
|
+
totalSpace: Type.Object({
|
|
19
|
+
totalArea: AreaSchema,
|
|
20
|
+
storageArea: AreaSchema,
|
|
21
|
+
operationalArea: AreaSchema,
|
|
22
|
+
officeArea: AreaSchema,
|
|
23
|
+
dockArea: AreaSchema,
|
|
24
|
+
ceilingHeight: LengthSchema,
|
|
25
|
+
maxStorageHeight: LengthSchema,
|
|
26
|
+
expandableArea: Type.Optional(AreaSchema)
|
|
27
|
+
}),
|
|
28
|
+
|
|
29
|
+
storageCapacity: Type.Object({
|
|
30
|
+
volume: CapacityRecordSchema(VolumeSchema),
|
|
31
|
+
weight: CapacityRecordSchema(WeightSchema),
|
|
32
|
+
area: CapacityRecordSchema(AreaSchema),
|
|
33
|
+
palletPositions: CapacityRecordSchema(Type.Number()),
|
|
34
|
+
rackLevels: Type.Number({ minimum: 1, maximum: 50 }),
|
|
35
|
+
zones: Type.Number({ minimum: 0 }),
|
|
36
|
+
aisles: Type.Number({ minimum: 0 }),
|
|
37
|
+
bays: Type.Number({ minimum: 0 }),
|
|
38
|
+
slots: Type.Number({ minimum: 0 })
|
|
39
|
+
}),
|
|
40
|
+
|
|
41
|
+
limits: Type.Object({
|
|
42
|
+
maxItemDimensions: DimensionsSchema,
|
|
43
|
+
maxItemWeight: WeightSchema,
|
|
44
|
+
maxPalletHeight: LengthSchema,
|
|
45
|
+
maxPalletWeight: WeightSchema,
|
|
46
|
+
maxContainerSize: Type.Optional(DimensionsSchema),
|
|
47
|
+
doorSizes: Type.Array(DimensionsSchema)
|
|
48
|
+
}),
|
|
49
|
+
|
|
50
|
+
utilization: Type.Object({
|
|
51
|
+
utilizationPercentage: Type.Number({ minimum: 0, maximum: 100 }),
|
|
52
|
+
occupiedSlots: Type.Number({ minimum: 0 }),
|
|
53
|
+
reservedSlots: Type.Number({ minimum: 0 }),
|
|
54
|
+
availableSlots: Type.Number({ minimum: 0 }),
|
|
55
|
+
blockedSlots: Type.Number({ minimum: 0 }),
|
|
56
|
+
utilizationByZone: Type.Record(Type.String(), Type.Object({
|
|
57
|
+
zoneType: PSLZoneTypeSchema,
|
|
58
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
59
|
+
capacity: Type.Number({ minimum: 0 }),
|
|
60
|
+
used: Type.Number({ minimum: 0 }),
|
|
61
|
+
reserved: Type.Number({ minimum: 0 })
|
|
62
|
+
}))
|
|
63
|
+
}),
|
|
64
|
+
|
|
65
|
+
created: ActionRecordSchema,
|
|
66
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
// Operational throughput capacity
|
|
70
|
+
export const WarehouseOperationalCapacitySchema = Type.Object({
|
|
71
|
+
type: Type.Literal('OPERATIONAL'),
|
|
72
|
+
serviceId: Type.String(),
|
|
73
|
+
context: ContextSchema,
|
|
74
|
+
|
|
75
|
+
receiving: Type.Object({
|
|
76
|
+
maxDailyReceipts: Type.Number({ minimum: 0 }),
|
|
77
|
+
maxReceivingRate: PerTimeSchema,
|
|
78
|
+
maxPalletRate: PerTimeSchema,
|
|
79
|
+
receivingDoors: Type.Number({ minimum: 0 }),
|
|
80
|
+
maxTrucksPerDay: Type.Number({ minimum: 0 }),
|
|
81
|
+
maxContainersPerDay: Type.Number({ minimum: 0 }),
|
|
82
|
+
averageUnloadTime: DurationSchema
|
|
83
|
+
}),
|
|
84
|
+
|
|
85
|
+
putaway: Type.Object({
|
|
86
|
+
maxPutawayRate: PerTimeSchema,
|
|
87
|
+
maxPalletPutawayRate: PerTimeSchema,
|
|
88
|
+
averagePutawayTime: DurationSchema,
|
|
89
|
+
putawayAccuracy: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' })
|
|
90
|
+
}),
|
|
91
|
+
|
|
92
|
+
picking: Type.Object({
|
|
93
|
+
maxOrdersPerDay: Type.Number({ minimum: 0 }),
|
|
94
|
+
maxOrdersPerHour: Type.Number({ minimum: 0 }),
|
|
95
|
+
maxPicksPerHour: Type.Number({ minimum: 0 }),
|
|
96
|
+
maxLinesPerOrder: Type.Number({ minimum: 0 }),
|
|
97
|
+
maxLinesPerHour: Type.Number({ minimum: 0 }),
|
|
98
|
+
pickingStations: Type.Number({ minimum: 0 }),
|
|
99
|
+
averagePickTime: Type.Number({ minimum: 0, description: 'seconds per pick' }),
|
|
100
|
+
pickingAccuracy: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
101
|
+
pickingVelocity: Type.Record(PSLVelocitySchema, Type.Number())
|
|
102
|
+
}),
|
|
103
|
+
|
|
104
|
+
packing: Type.Object({
|
|
105
|
+
maxPackagesPerDay: Type.Number({ minimum: 0 }),
|
|
106
|
+
maxPackagesPerHour: Type.Number({ minimum: 0 }),
|
|
107
|
+
packingStations: Type.Number({ minimum: 0 }),
|
|
108
|
+
packingLines: Type.Number({ minimum: 0 }),
|
|
109
|
+
averagePackTime: Type.Number({ minimum: 0, description: 'minutes per package' }),
|
|
110
|
+
packingAccuracy: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
111
|
+
customPackagingCapacity: Type.Number({ minimum: 0 })
|
|
112
|
+
}),
|
|
113
|
+
|
|
114
|
+
shipping: Type.Object({
|
|
115
|
+
maxShipmentsPerDay: Type.Number({ minimum: 0 }),
|
|
116
|
+
maxShipmentsPerHour: Type.Number({ minimum: 0 }),
|
|
117
|
+
shippingDoors: Type.Number({ minimum: 0 }),
|
|
118
|
+
maxTrucksPerDay: Type.Number({ minimum: 0 }),
|
|
119
|
+
maxContainersPerDay: Type.Number({ minimum: 0 }),
|
|
120
|
+
averageLoadTime: DurationSchema,
|
|
121
|
+
onTimeShipment: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' })
|
|
122
|
+
}),
|
|
123
|
+
|
|
124
|
+
orderProcessing: Type.Object({
|
|
125
|
+
maxConcurrentOrders: Type.Number({ minimum: 0 }),
|
|
126
|
+
orderCycleTime: DurationSchema,
|
|
127
|
+
maxOrdersPerHour: Type.Number({ minimum: 0 }),
|
|
128
|
+
maxOrderLines: Type.Number({ minimum: 0 }),
|
|
129
|
+
batchSizes: Type.Object({
|
|
130
|
+
maxBatchSize: Type.Number({ minimum: 0 }),
|
|
131
|
+
averageBatchSize: Type.Number({ minimum: 0 }),
|
|
132
|
+
optimalBatchSize: Type.Number({ minimum: 0 })
|
|
133
|
+
})
|
|
134
|
+
}),
|
|
135
|
+
|
|
136
|
+
created: ActionRecordSchema,
|
|
137
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
138
|
+
})
|
|
139
|
+
|
|
140
|
+
// Service level capacity
|
|
141
|
+
export const WarehouseServiceLevelsCapacitySchema = Type.Object({
|
|
142
|
+
type: Type.Literal('SERVICE_LEVELS'),
|
|
143
|
+
serviceId: Type.String(),
|
|
144
|
+
context: ContextSchema,
|
|
145
|
+
|
|
146
|
+
serviceCapacity: Type.Record(Type.Union([
|
|
147
|
+
Type.Literal('SAME_DAY'),
|
|
148
|
+
Type.Literal('NEXT_DAY'),
|
|
149
|
+
Type.Literal('STANDARD'),
|
|
150
|
+
Type.Literal('ECONOMY'),
|
|
151
|
+
Type.Literal('EXPRESS'),
|
|
152
|
+
Type.Literal('EXPEDITED')
|
|
153
|
+
]), Type.Object({
|
|
154
|
+
maxDailyVolume: Type.Number({ minimum: 0 }),
|
|
155
|
+
maxHourlyVolume: Type.Number({ minimum: 0 }),
|
|
156
|
+
processingTime: DurationSchema,
|
|
157
|
+
cutoffTime: Type.String({ description: 'HH:MM' }),
|
|
158
|
+
slaCompliance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
159
|
+
priorityLevel: Type.Number({ minimum: 1, maximum: 10 }),
|
|
160
|
+
resourceAllocation: Type.Number({ minimum: 0, maximum: 100, description: 'percentage of capacity' })
|
|
161
|
+
})),
|
|
162
|
+
|
|
163
|
+
processingTimes: Type.Record(Type.Union([
|
|
164
|
+
Type.Literal('SAME_DAY'),
|
|
165
|
+
Type.Literal('NEXT_DAY'),
|
|
166
|
+
Type.Literal('STANDARD'),
|
|
167
|
+
Type.Literal('ECONOMY')
|
|
168
|
+
]), Type.Object({
|
|
169
|
+
minProcessingTime: DurationSchema,
|
|
170
|
+
maxProcessingTime: DurationSchema,
|
|
171
|
+
averageProcessingTime: DurationSchema,
|
|
172
|
+
onTimePerformance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
173
|
+
processingTimeVariance: DurationSchema
|
|
174
|
+
})),
|
|
175
|
+
|
|
176
|
+
capacityAllocation: Type.Object({
|
|
177
|
+
totalCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
178
|
+
allocatedCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
179
|
+
reservedCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
180
|
+
availableCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
181
|
+
peakCapacityReserve: Type.Number({ minimum: 0, maximum: 100 })
|
|
182
|
+
}),
|
|
183
|
+
|
|
184
|
+
created: ActionRecordSchema,
|
|
185
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
186
|
+
})
|
|
187
|
+
|
|
188
|
+
// Resource capacity
|
|
189
|
+
export const WarehouseResourcesCapacitySchema = Type.Object({
|
|
190
|
+
type: Type.Literal('RESOURCES'),
|
|
191
|
+
serviceId: Type.String(),
|
|
192
|
+
context: ContextSchema,
|
|
193
|
+
|
|
194
|
+
equipment: Type.Object({
|
|
195
|
+
forklifts: Type.Object({
|
|
196
|
+
total: Type.Number({ minimum: 0 }),
|
|
197
|
+
available: Type.Number({ minimum: 0 }),
|
|
198
|
+
inUse: Type.Number({ minimum: 0 }),
|
|
199
|
+
maintenance: Type.Number({ minimum: 0 }),
|
|
200
|
+
maxLiftHeight: LengthSchema,
|
|
201
|
+
maxCapacity: WeightSchema,
|
|
202
|
+
utilizationRate: Type.Number({ minimum: 0, maximum: 100 })
|
|
203
|
+
}),
|
|
204
|
+
|
|
205
|
+
conveyors: Type.Object({
|
|
206
|
+
totalLength: LengthSchema,
|
|
207
|
+
maxThroughput: PerTimeSchema,
|
|
208
|
+
currentThroughput: PerTimeSchema,
|
|
209
|
+
utilizationRate: Type.Number({ minimum: 0, maximum: 100 })
|
|
210
|
+
}),
|
|
211
|
+
|
|
212
|
+
robotics: Type.Optional(Type.Object({
|
|
213
|
+
agvs: Type.Number({ minimum: 0 }),
|
|
214
|
+
pickingRobots: Type.Number({ minimum: 0 }),
|
|
215
|
+
sortingRobots: Type.Number({ minimum: 0 }),
|
|
216
|
+
robotUtilization: Type.Number({ minimum: 0, maximum: 100 })
|
|
217
|
+
})),
|
|
218
|
+
|
|
219
|
+
docks: Type.Object({
|
|
220
|
+
receivingDocks: Type.Number({ minimum: 0 }),
|
|
221
|
+
shippingDocks: Type.Number({ minimum: 0 }),
|
|
222
|
+
crossDockPositions: Type.Number({ minimum: 0 }),
|
|
223
|
+
dockUtilization: Type.Number({ minimum: 0, maximum: 100 })
|
|
224
|
+
}),
|
|
225
|
+
|
|
226
|
+
advancedEquipment: Type.Optional(Type.Object({
|
|
227
|
+
scanningEquipment: Type.Object({
|
|
228
|
+
scanners: Type.Number({ minimum: 0 }),
|
|
229
|
+
scanningRate: PerTimeSchema,
|
|
230
|
+
scanningAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
231
|
+
dimensioningStations: Type.Number({ minimum: 0 }),
|
|
232
|
+
weighingStations: Type.Number({ minimum: 0 })
|
|
233
|
+
}),
|
|
234
|
+
|
|
235
|
+
packagingEquipment: Type.Object({
|
|
236
|
+
packagingMachines: Type.Number({ minimum: 0 }),
|
|
237
|
+
labelPrinters: Type.Number({ minimum: 0 }),
|
|
238
|
+
sealingMachines: Type.Number({ minimum: 0 }),
|
|
239
|
+
shrinkWrapMachines: Type.Number({ minimum: 0 })
|
|
240
|
+
}),
|
|
241
|
+
|
|
242
|
+
qualityControlEquipment: Type.Object({
|
|
243
|
+
inspectionStations: Type.Number({ minimum: 0 }),
|
|
244
|
+
testingEquipment: Type.Number({ minimum: 0 }),
|
|
245
|
+
photographyStations: Type.Number({ minimum: 0 }),
|
|
246
|
+
measurementDevices: Type.Number({ minimum: 0 })
|
|
247
|
+
})
|
|
248
|
+
}))
|
|
249
|
+
}),
|
|
250
|
+
|
|
251
|
+
staffing: Type.Object({
|
|
252
|
+
maxStaffCapacity: Type.Number({ minimum: 0 }),
|
|
253
|
+
currentStaffing: Type.Number({ minimum: 0 }),
|
|
254
|
+
availableStaff: Type.Number({ minimum: 0 }),
|
|
255
|
+
staffUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
256
|
+
|
|
257
|
+
shiftCapacity: Type.Object({
|
|
258
|
+
firstShift: Type.Number({ minimum: 0 }),
|
|
259
|
+
secondShift: Type.Number({ minimum: 0 }),
|
|
260
|
+
thirdShift: Type.Number({ minimum: 0 }),
|
|
261
|
+
weekendShift: Type.Number({ minimum: 0 }),
|
|
262
|
+
holidayShift: Type.Number({ minimum: 0 })
|
|
263
|
+
}),
|
|
264
|
+
|
|
265
|
+
skillCapacity: Type.Object({
|
|
266
|
+
generalLabor: Type.Number({ minimum: 0 }),
|
|
267
|
+
forkliftOperators: Type.Number({ minimum: 0 }),
|
|
268
|
+
qualityInspectors: Type.Number({ minimum: 0 }),
|
|
269
|
+
supervisors: Type.Number({ minimum: 0 }),
|
|
270
|
+
technicians: Type.Number({ minimum: 0 })
|
|
271
|
+
}),
|
|
272
|
+
|
|
273
|
+
productivity: Type.Object({
|
|
274
|
+
itemsPerWorkerHour: Type.Number({ minimum: 0 }),
|
|
275
|
+
ordersPerWorkerHour: Type.Number({ minimum: 0 }),
|
|
276
|
+
picksPerWorkerHour: Type.Number({ minimum: 0 }),
|
|
277
|
+
packsPerWorkerHour: Type.Number({ minimum: 0 }),
|
|
278
|
+
accuracyPerWorker: Type.Number({ minimum: 0, maximum: 100 })
|
|
279
|
+
})
|
|
280
|
+
}),
|
|
281
|
+
|
|
282
|
+
systems: Type.Object({
|
|
283
|
+
wmsCapacity: Type.Object({
|
|
284
|
+
maxConcurrentUsers: Type.Number({ minimum: 0 }),
|
|
285
|
+
maxTransactionsPerHour: Type.Number({ minimum: 0 }),
|
|
286
|
+
databaseCapacity: MemorySchema,
|
|
287
|
+
apiCallsPerHour: Type.Number({ minimum: 0 }),
|
|
288
|
+
systemUptime: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' })
|
|
289
|
+
}),
|
|
290
|
+
|
|
291
|
+
networkCapacity: Type.Object({
|
|
292
|
+
bandwidth: BandwidthSchema,
|
|
293
|
+
maxConnectedDevices: Type.Number({ minimum: 0 }),
|
|
294
|
+
networkUptime: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' })
|
|
295
|
+
}),
|
|
296
|
+
|
|
297
|
+
powerCapacity: Type.Object({
|
|
298
|
+
totalPowerCapacity: PowerSchema,
|
|
299
|
+
currentPowerUsage: PowerSchema,
|
|
300
|
+
backupPowerCapacity: DurationSchema,
|
|
301
|
+
uninterruptiblePowerSupply: Type.Boolean()
|
|
302
|
+
}),
|
|
303
|
+
|
|
304
|
+
technologyCapacity: Type.Object({
|
|
305
|
+
dataProcessingCapacity: PerTimeSchema,
|
|
306
|
+
integrationCapacity: Type.Number({ minimum: 0, description: 'max concurrent integrations' }),
|
|
307
|
+
apiRateLimit: PerTimeSchema,
|
|
308
|
+
webhookCapacity: PerTimeSchema,
|
|
309
|
+
analyticsProcessing: PerTimeSchema
|
|
310
|
+
})
|
|
311
|
+
}),
|
|
312
|
+
|
|
313
|
+
created: ActionRecordSchema,
|
|
314
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
315
|
+
})
|
|
316
|
+
|
|
317
|
+
// Environmental capacity and conditions
|
|
318
|
+
export const WarehouseEnvironmentalCapacitySchema = Type.Object({
|
|
319
|
+
type: Type.Literal('ENVIRONMENTAL'),
|
|
320
|
+
serviceId: Type.String(),
|
|
321
|
+
context: ContextSchema,
|
|
322
|
+
|
|
323
|
+
temperatureZones: Type.Optional(Type.Array(Type.Object({
|
|
324
|
+
zoneId: Type.String(),
|
|
325
|
+
zoneType: PSLZoneTypeSchema,
|
|
326
|
+
minTemperature: TemperatureSchema,
|
|
327
|
+
maxTemperature: TemperatureSchema,
|
|
328
|
+
currentTemperature: TemperatureSchema,
|
|
329
|
+
tolerance: Type.Number({ description: 'degrees' }),
|
|
330
|
+
capacity: VolumeSchema,
|
|
331
|
+
currentLoad: VolumeSchema,
|
|
332
|
+
utilizationRate: Type.Number({ minimum: 0, maximum: 100 })
|
|
333
|
+
}))),
|
|
334
|
+
|
|
335
|
+
humidityControl: Type.Optional(Type.Object({
|
|
336
|
+
minHumidity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
337
|
+
maxHumidity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
338
|
+
currentHumidity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
339
|
+
tolerance: Type.Number({ description: 'percentage points' }),
|
|
340
|
+
controlledZones: Type.Number({ minimum: 0 })
|
|
341
|
+
})),
|
|
342
|
+
|
|
343
|
+
cleanRoomCapacity: Type.Optional(Type.Object({
|
|
344
|
+
totalCleanRoomArea: AreaSchema,
|
|
345
|
+
availableCleanRoomArea: AreaSchema,
|
|
346
|
+
maxParticleCount: Type.Number({ minimum: 0 }),
|
|
347
|
+
airChangesPerHour: Type.Number({ minimum: 0 }),
|
|
348
|
+
maxOccupancy: Type.Number({ minimum: 0 })
|
|
349
|
+
})),
|
|
350
|
+
|
|
351
|
+
sustainabilityMetrics: Type.Optional(Type.Object({
|
|
352
|
+
carbonFootprint: Type.Number({ minimum: 0, description: 'tons CO2 equivalent per year' }),
|
|
353
|
+
energyConsumption: Type.Number({ minimum: 0, description: 'kWh per year' }),
|
|
354
|
+
waterUsage: Type.Number({ minimum: 0, description: 'liters per year' }),
|
|
355
|
+
wasteGeneration: Type.Number({ minimum: 0, description: 'kg per year' }),
|
|
356
|
+
recyclingRate: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
357
|
+
renewableEnergyUsage: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' })
|
|
358
|
+
})),
|
|
359
|
+
|
|
360
|
+
created: ActionRecordSchema,
|
|
361
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
362
|
+
})
|
|
363
|
+
|
|
364
|
+
// Time-based availability and scheduling capacity
|
|
365
|
+
export const WarehouseAvailabilitySchema = Type.Object({
|
|
366
|
+
type: Type.Literal('AVAILABILITY'),
|
|
367
|
+
serviceId: Type.String(),
|
|
368
|
+
context: ContextSchema,
|
|
369
|
+
|
|
370
|
+
operational: SPAvailabilitySchema,
|
|
371
|
+
|
|
372
|
+
operatingSchedule: Type.Object({
|
|
373
|
+
hoursPerDay: Type.Number({ minimum: 0, maximum: 24 }),
|
|
374
|
+
daysPerWeek: Type.Number({ minimum: 0, maximum: 7 }),
|
|
375
|
+
operatingDaysPerYear: Type.Number({ minimum: 0, maximum: 366 }),
|
|
376
|
+
holidayOperations: Type.Boolean(),
|
|
377
|
+
seasonalAdjustments: Type.Boolean(),
|
|
378
|
+
extendedHoursCapacity: Type.Number({ minimum: 0, description: 'additional hours available' })
|
|
379
|
+
}),
|
|
380
|
+
|
|
381
|
+
maintenance: Type.Object({
|
|
382
|
+
plannedDowntimeHours: PerTimeSchema,
|
|
383
|
+
unplannedDowntimeHours: PerTimeSchema,
|
|
384
|
+
systemAvailability: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
385
|
+
maintenanceWindows: Type.Array(Type.String()),
|
|
386
|
+
preventiveMaintenanceSchedule: Type.Boolean()
|
|
387
|
+
}),
|
|
388
|
+
|
|
389
|
+
booking: Type.Object({
|
|
390
|
+
totalBookableCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
391
|
+
currentBookingLevel: Type.Number({ minimum: 0, maximum: 100 }),
|
|
392
|
+
availableCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
393
|
+
reservedCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
394
|
+
overbookingAllowed: Type.Boolean(),
|
|
395
|
+
maxOverbookingPercent: Type.Optional(Type.Number({ minimum: 0, maximum: 50 })),
|
|
396
|
+
advanceBookingRequired: DurationSchema,
|
|
397
|
+
cancellationPolicy: Type.Number({ minimum: 0, description: 'hours notice required' })
|
|
398
|
+
})
|
|
399
|
+
})
|
|
400
|
+
|
|
401
|
+
// Scalability and expansion capacity
|
|
402
|
+
export const WarehouseScalabilitySchema = Type.Object({
|
|
403
|
+
type: Type.Literal('AVAILABILITY'),
|
|
404
|
+
serviceId: Type.String(),
|
|
405
|
+
context: ContextSchema,
|
|
406
|
+
|
|
407
|
+
physicalExpansion: Type.Object({
|
|
408
|
+
expandable: Type.Boolean(),
|
|
409
|
+
maxExpansionArea: Type.Optional(AreaSchema),
|
|
410
|
+
maxExpansionVolume: Type.Optional(VolumeSchema),
|
|
411
|
+
expansionTimeframe: Type.Optional(DurationSchema),
|
|
412
|
+
expandableDirections: Type.Array(Type.Union([
|
|
413
|
+
Type.Literal('HORIZONTAL'),
|
|
414
|
+
Type.Literal('VERTICAL'),
|
|
415
|
+
Type.Literal('MEZZANINE'),
|
|
416
|
+
Type.Literal('ADJACENT_BUILDING')
|
|
417
|
+
]))
|
|
418
|
+
}),
|
|
419
|
+
|
|
420
|
+
operationalScaling: Type.Object({
|
|
421
|
+
peakCapacityMultiplier: Type.Number({ minimum: 1 }),
|
|
422
|
+
seasonalCapacityIncrease: Type.Number({ minimum: 0, maximum: 200 }),
|
|
423
|
+
temporaryStaffingCapacity: Type.Number({ minimum: 0 }),
|
|
424
|
+
equipmentScalingCapacity: Type.Number({ minimum: 0, maximum: 200 }),
|
|
425
|
+
outsourcingCapacity: Type.Number({ minimum: 0, description: 'percentage of operations' }),
|
|
426
|
+
thirdPartyLogisticsIntegration: Type.Boolean()
|
|
427
|
+
}),
|
|
428
|
+
|
|
429
|
+
technologyScaling: Type.Object({
|
|
430
|
+
cloudScalability: Type.Boolean(),
|
|
431
|
+
autoScaling: Type.Boolean(),
|
|
432
|
+
loadBalancingCapacity: Type.Boolean(),
|
|
433
|
+
dataProcessingCapacity: PerTimeSchema,
|
|
434
|
+
integrationCapacity: Type.Number({ minimum: 0, description: 'max concurrent integrations' }),
|
|
435
|
+
apiRateLimit: PerTimeSchema
|
|
436
|
+
})
|
|
437
|
+
})
|
|
438
|
+
|
|
439
|
+
// Financial capacity and constraints
|
|
440
|
+
export const WarehouseFinancialCapacitySchema = Type.Object({
|
|
441
|
+
type: Type.Literal('FINANCIAL'),
|
|
442
|
+
serviceId: Type.String(),
|
|
443
|
+
context: ContextSchema,
|
|
444
|
+
|
|
445
|
+
operatingCosts: Type.Object({
|
|
446
|
+
fixedCostsPerMonth: MoneySchema,
|
|
447
|
+
variableCostPerUnit: MoneySchema,
|
|
448
|
+
laborCostPerHour: MoneySchema,
|
|
449
|
+
utilityCostPerSqFt: MoneySchema,
|
|
450
|
+
equipmentCostPerHour: MoneySchema
|
|
451
|
+
}),
|
|
452
|
+
|
|
453
|
+
capitalInvestment: Type.Object({
|
|
454
|
+
availableCapitalBudget: MoneySchema,
|
|
455
|
+
maxInvestmentPerProject: MoneySchema,
|
|
456
|
+
roiRequirement: Type.Number({ minimum: 0, description: 'percentage' }),
|
|
457
|
+
paybackPeriod: DurationSchema
|
|
458
|
+
}),
|
|
459
|
+
|
|
460
|
+
insurance: Type.Object({
|
|
461
|
+
generalLiabilityLimit: MoneySchema,
|
|
462
|
+
cargoInsuranceLimit: MoneySchema,
|
|
463
|
+
propertyInsuranceLimit: MoneySchema,
|
|
464
|
+
maxClaimPerIncident: MoneySchema,
|
|
465
|
+
deductibleAmount: MoneySchema
|
|
466
|
+
}),
|
|
467
|
+
|
|
468
|
+
revenueCapacity: Type.Object({
|
|
469
|
+
maxRevenueCapacity: MoneySchema,
|
|
470
|
+
currentRevenue: MoneySchema,
|
|
471
|
+
revenuePerOrder: MoneySchema,
|
|
472
|
+
profitMargin: Type.Number({ minimum: 0, maximum: 100 }),
|
|
473
|
+
breakEvenVolume: Type.Number({ minimum: 0 }),
|
|
474
|
+
maxProfitableVolume: Type.Number({ minimum: 0 })
|
|
475
|
+
}),
|
|
476
|
+
|
|
477
|
+
created: ActionRecordSchema,
|
|
478
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
479
|
+
})
|
|
480
|
+
|
|
481
|
+
// Combined warehouse capacity schema
|
|
482
|
+
export const WarehouseCapacitySchema = Type.Object({
|
|
483
|
+
physical: WarehousePhysicalCapacitySchema,
|
|
484
|
+
operational: WarehouseOperationalCapacitySchema,
|
|
485
|
+
serviceLevels: WarehouseServiceLevelsCapacitySchema,
|
|
486
|
+
resources: WarehouseResourcesCapacitySchema,
|
|
487
|
+
environmental: WarehouseEnvironmentalCapacitySchema,
|
|
488
|
+
availability: WarehouseAvailabilitySchema,
|
|
489
|
+
scalability: WarehouseScalabilitySchema,
|
|
490
|
+
financial: Type.Optional(WarehouseFinancialCapacitySchema)
|
|
491
|
+
})
|
|
492
|
+
|
|
493
|
+
// TypeScript type exports
|
|
494
|
+
export type WarehousePhysicalCapacity = Static<typeof WarehousePhysicalCapacitySchema>
|
|
495
|
+
export type WarehouseOperationalCapacity = Static<typeof WarehouseOperationalCapacitySchema>
|
|
496
|
+
export type WarehouseServiceLevelsCapacity = Static<typeof WarehouseServiceLevelsCapacitySchema>
|
|
497
|
+
export type WarehouseResourcesCapacity = Static<typeof WarehouseResourcesCapacitySchema>
|
|
498
|
+
export type WarehouseEnvironmentalCapacity = Static<typeof WarehouseEnvironmentalCapacitySchema>
|
|
499
|
+
export type WarehouseAvailability = Static<typeof WarehouseAvailabilitySchema>
|
|
500
|
+
export type WarehouseScalability = Static<typeof WarehouseScalabilitySchema>
|
|
501
|
+
export type WarehouseFinancialCapacity = Static<typeof WarehouseFinancialCapacitySchema>
|
|
502
|
+
export type WarehouseCapacity = Static<typeof WarehouseCapacitySchema>
|
|
503
|
+
|
|
504
|
+
// ─── Request Validation Schemas ───────────────────────────────────────────────
|
|
505
|
+
|
|
506
|
+
import {
|
|
507
|
+
APIHeadersSchema,
|
|
508
|
+
APIResponseDataSchemaFactory
|
|
509
|
+
} from '../../api'
|
|
510
|
+
|
|
511
|
+
const GetCapacityResponse = APIResponseDataSchemaFactory({ capacity: Type.Any() })
|
|
512
|
+
const SetCapacityResponse = APIResponseDataSchemaFactory({ capacity: Type.Any() })
|
|
513
|
+
|
|
514
|
+
export const LSPWarehouseGetPhysicalCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), response: GetCapacityResponse }
|
|
515
|
+
export const LSPWarehouseSetPhysicalCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), body: Type.Any(), response: SetCapacityResponse }
|
|
516
|
+
export const LSPWarehouseGetOperationalCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), response: GetCapacityResponse }
|
|
517
|
+
export const LSPWarehouseSetOperationalCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), body: Type.Any(), response: SetCapacityResponse }
|
|
518
|
+
export const LSPWarehouseGetServiceLevelsCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), response: GetCapacityResponse }
|
|
519
|
+
export const LSPWarehouseSetServiceLevelsCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), body: Type.Any(), response: SetCapacityResponse }
|
|
520
|
+
export const LSPWarehouseGetResourcesCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), response: GetCapacityResponse }
|
|
521
|
+
export const LSPWarehouseSetResourcesCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), body: Type.Any(), response: SetCapacityResponse }
|
|
522
|
+
export const LSPWarehouseGetEnvironmentalCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), response: GetCapacityResponse }
|
|
523
|
+
export const LSPWarehouseSetEnvironmentalCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), body: Type.Any(), response: SetCapacityResponse }
|
|
524
|
+
export const LSPWarehouseGetFinancialCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), response: GetCapacityResponse }
|
|
525
|
+
export const LSPWarehouseSetFinancialCapacityRVS = { headers: APIHeadersSchema, params: Type.Object({ id: Type.String() }), body: Type.Any(), response: SetCapacityResponse }
|
|
526
|
+
|
|
527
|
+
export type LSPWarehouseGetPhysicalCapacityValidation = { headers: Static<typeof LSPWarehouseGetPhysicalCapacityRVS.headers>, params: Static<typeof LSPWarehouseGetPhysicalCapacityRVS.params>, response: Static<typeof LSPWarehouseGetPhysicalCapacityRVS.response> }
|
|
528
|
+
export type LSPWarehouseSetPhysicalCapacityValidation = { headers: Static<typeof LSPWarehouseSetPhysicalCapacityRVS.headers>, params: Static<typeof LSPWarehouseSetPhysicalCapacityRVS.params>, body: Static<typeof LSPWarehouseSetPhysicalCapacityRVS.body>, response: Static<typeof LSPWarehouseSetPhysicalCapacityRVS.response> }
|
|
529
|
+
export type LSPWarehouseGetOperationalCapacityValidation = { headers: Static<typeof LSPWarehouseGetOperationalCapacityRVS.headers>, params: Static<typeof LSPWarehouseGetOperationalCapacityRVS.params>, response: Static<typeof LSPWarehouseGetOperationalCapacityRVS.response> }
|
|
530
|
+
export type LSPWarehouseSetOperationalCapacityValidation = { headers: Static<typeof LSPWarehouseSetOperationalCapacityRVS.headers>, params: Static<typeof LSPWarehouseSetOperationalCapacityRVS.params>, body: Static<typeof LSPWarehouseSetOperationalCapacityRVS.body>, response: Static<typeof LSPWarehouseSetOperationalCapacityRVS.response> }
|
|
531
|
+
export type LSPWarehouseGetServiceLevelsCapacityValidation = { headers: Static<typeof LSPWarehouseGetServiceLevelsCapacityRVS.headers>, params: Static<typeof LSPWarehouseGetServiceLevelsCapacityRVS.params>, response: Static<typeof LSPWarehouseGetServiceLevelsCapacityRVS.response> }
|
|
532
|
+
export type LSPWarehouseSetServiceLevelsCapacityValidation = { headers: Static<typeof LSPWarehouseSetServiceLevelsCapacityRVS.headers>, params: Static<typeof LSPWarehouseSetServiceLevelsCapacityRVS.params>, body: Static<typeof LSPWarehouseSetServiceLevelsCapacityRVS.body>, response: Static<typeof LSPWarehouseSetServiceLevelsCapacityRVS.response> }
|
|
533
|
+
export type LSPWarehouseGetResourcesCapacityValidation = { headers: Static<typeof LSPWarehouseGetResourcesCapacityRVS.headers>, params: Static<typeof LSPWarehouseGetResourcesCapacityRVS.params>, response: Static<typeof LSPWarehouseGetResourcesCapacityRVS.response> }
|
|
534
|
+
export type LSPWarehouseSetResourcesCapacityValidation = { headers: Static<typeof LSPWarehouseSetResourcesCapacityRVS.headers>, params: Static<typeof LSPWarehouseSetResourcesCapacityRVS.params>, body: Static<typeof LSPWarehouseSetResourcesCapacityRVS.body>, response: Static<typeof LSPWarehouseSetResourcesCapacityRVS.response> }
|
|
535
|
+
export type LSPWarehouseGetEnvironmentalCapacityValidation = { headers: Static<typeof LSPWarehouseGetEnvironmentalCapacityRVS.headers>, params: Static<typeof LSPWarehouseGetEnvironmentalCapacityRVS.params>, response: Static<typeof LSPWarehouseGetEnvironmentalCapacityRVS.response> }
|
|
536
|
+
export type LSPWarehouseSetEnvironmentalCapacityValidation = { headers: Static<typeof LSPWarehouseSetEnvironmentalCapacityRVS.headers>, params: Static<typeof LSPWarehouseSetEnvironmentalCapacityRVS.params>, body: Static<typeof LSPWarehouseSetEnvironmentalCapacityRVS.body>, response: Static<typeof LSPWarehouseSetEnvironmentalCapacityRVS.response> }
|
|
537
|
+
export type LSPWarehouseGetFinancialCapacityValidation = { headers: Static<typeof LSPWarehouseGetFinancialCapacityRVS.headers>, params: Static<typeof LSPWarehouseGetFinancialCapacityRVS.params>, response: Static<typeof LSPWarehouseGetFinancialCapacityRVS.response> }
|
|
538
|
+
export type LSPWarehouseSetFinancialCapacityValidation = { headers: Static<typeof LSPWarehouseSetFinancialCapacityRVS.headers>, params: Static<typeof LSPWarehouseSetFinancialCapacityRVS.params>, body: Static<typeof LSPWarehouseSetFinancialCapacityRVS.body>, response: Static<typeof LSPWarehouseSetFinancialCapacityRVS.response> }
|