@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,723 @@
|
|
|
1
|
+
import { Type, Static } from '@sinclair/typebox'
|
|
2
|
+
import { ContextSchema } from '../../context'
|
|
3
|
+
import { FleetStatsSchema } from '../fleet'
|
|
4
|
+
import { SPAvailabilitySchema } from '../../context'
|
|
5
|
+
import { DurationSchema, ActionRecordSchema } from '../../time'
|
|
6
|
+
import { WeightSchema, VolumeSchema, ServiceLevelSchema, MoneySchema, AreaSchema, PerTimeSchema, DistanceSchema, PerAreaSchema } from '../../measure'
|
|
7
|
+
|
|
8
|
+
// Fleet capacity and utilization
|
|
9
|
+
export const CarrierFleetCapacitySchema = Type.Object({
|
|
10
|
+
type: Type.Literal('FLEET'),
|
|
11
|
+
serviceId: Type.String(),
|
|
12
|
+
context: ContextSchema,
|
|
13
|
+
|
|
14
|
+
vehicleCapacity: FleetStatsSchema,
|
|
15
|
+
|
|
16
|
+
loadCapacity: Type.Object({
|
|
17
|
+
totalWeight: WeightSchema,
|
|
18
|
+
totalVolume: VolumeSchema,
|
|
19
|
+
availableWeight: WeightSchema,
|
|
20
|
+
availableVolume: VolumeSchema,
|
|
21
|
+
utilizationByWeight: Type.Number({ minimum: 0, maximum: 100 }),
|
|
22
|
+
utilizationByVolume: Type.Number({ minimum: 0, maximum: 100 }),
|
|
23
|
+
|
|
24
|
+
specialized: Type.Record(Type.String(), Type.Object({
|
|
25
|
+
weightCapacity: WeightSchema,
|
|
26
|
+
volumeCapacity: VolumeSchema,
|
|
27
|
+
vehicleCount: Type.Number({ minimum: 0 }),
|
|
28
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
29
|
+
specialFeatures: Type.Array(Type.String())
|
|
30
|
+
}))
|
|
31
|
+
}),
|
|
32
|
+
|
|
33
|
+
agentCapacity: Type.Object({
|
|
34
|
+
total: Type.Number({ minimum: 0 }),
|
|
35
|
+
available: Type.Number({ minimum: 0 }),
|
|
36
|
+
active: Type.Number({ minimum: 0 }),
|
|
37
|
+
partTime: Type.Number({ minimum: 0 }),
|
|
38
|
+
contract: Type.Number({ minimum: 0 }),
|
|
39
|
+
ownerOperators: Type.Number({ minimum: 0 }),
|
|
40
|
+
agentUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
41
|
+
|
|
42
|
+
qualifications: Type.Object({
|
|
43
|
+
cdlDrivers: Type.Number({ minimum: 0 }),
|
|
44
|
+
hazmatCertified: Type.Number({ minimum: 0 }),
|
|
45
|
+
endorsements: Type.Record(Type.String(), Type.Number({ minimum: 0 })),
|
|
46
|
+
experienceLevel: Type.Object({
|
|
47
|
+
newDrivers: Type.Number({ minimum: 0 }),
|
|
48
|
+
experiencedDrivers: Type.Number({ minimum: 0 }),
|
|
49
|
+
seniorDrivers: Type.Number({ minimum: 0 })
|
|
50
|
+
}),
|
|
51
|
+
safetyRecord: Type.Object({
|
|
52
|
+
accidentFreeDrivers: Type.Number({ minimum: 0 }),
|
|
53
|
+
cleanRecord: Type.Number({ minimum: 0 }),
|
|
54
|
+
violations: Type.Number({ minimum: 0 })
|
|
55
|
+
})
|
|
56
|
+
}),
|
|
57
|
+
|
|
58
|
+
availability: Type.Object({
|
|
59
|
+
hoursPerWeek: Type.Number({ minimum: 0, maximum: 168 }),
|
|
60
|
+
shiftCapacity: Type.Object({
|
|
61
|
+
dayShift: Type.Number({ minimum: 0 }),
|
|
62
|
+
nightShift: Type.Number({ minimum: 0 }),
|
|
63
|
+
weekendShift: Type.Number({ minimum: 0 }),
|
|
64
|
+
holidayShift: Type.Number({ minimum: 0 })
|
|
65
|
+
}),
|
|
66
|
+
maxDrivingHours: Type.Number({ minimum: 0, maximum: 11 }),
|
|
67
|
+
maxOnDutyHours: Type.Number({ minimum: 0, maximum: 14 }),
|
|
68
|
+
requiredRest: DurationSchema,
|
|
69
|
+
overtimeCapacity: Type.Number({ minimum: 0, description: 'additional hours available' })
|
|
70
|
+
})
|
|
71
|
+
}),
|
|
72
|
+
|
|
73
|
+
created: ActionRecordSchema,
|
|
74
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
// Service delivery capacity
|
|
78
|
+
export const CarrierServiceCapacitySchema = Type.Object({
|
|
79
|
+
type: Type.Literal('SERVICE'),
|
|
80
|
+
serviceId: Type.String(),
|
|
81
|
+
context: ContextSchema,
|
|
82
|
+
|
|
83
|
+
throughputCapacity: Type.Object({
|
|
84
|
+
dailyPackage: Type.Number({ minimum: 0 }),
|
|
85
|
+
dailyShipment: Type.Number({ minimum: 0 }),
|
|
86
|
+
dailyWeight: WeightSchema,
|
|
87
|
+
dailyVolume: VolumeSchema,
|
|
88
|
+
currentLoad: Type.Number({ minimum: 0 }),
|
|
89
|
+
hourly: Type.Number({ minimum: 0 }),
|
|
90
|
+
peakHour: Type.Number({ minimum: 0 }),
|
|
91
|
+
|
|
92
|
+
byService: Type.Record(ServiceLevelSchema, Type.Object({
|
|
93
|
+
dailyCapacity: Type.Number({ minimum: 0 }),
|
|
94
|
+
currentLoad: Type.Number({ minimum: 0 }),
|
|
95
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
96
|
+
processingTime: DurationSchema,
|
|
97
|
+
cutoffTime: Type.String({ description: 'HH:MM' })
|
|
98
|
+
}))
|
|
99
|
+
}),
|
|
100
|
+
|
|
101
|
+
routeCapacity: Type.Object({
|
|
102
|
+
totalRoutes: Type.Number({ minimum: 0 }),
|
|
103
|
+
activeRoutes: Type.Number({ minimum: 0 }),
|
|
104
|
+
maxStopsPerRoute: Type.Number({ minimum: 0 }),
|
|
105
|
+
averageStopsPerRoute: Type.Number({ minimum: 0 }),
|
|
106
|
+
routeOptimizationCapacity: Type.Boolean(),
|
|
107
|
+
dynamicRoutingCapacity: Type.Boolean(),
|
|
108
|
+
|
|
109
|
+
routesByType: Type.Record(Type.String(), Type.Object({
|
|
110
|
+
routeCount: Type.Number({ minimum: 0 }),
|
|
111
|
+
capacity: Type.Number({ minimum: 0 }),
|
|
112
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
113
|
+
frequency: PerTimeSchema,
|
|
114
|
+
averageDistance: DistanceSchema,
|
|
115
|
+
averageTime: DurationSchema
|
|
116
|
+
}))
|
|
117
|
+
}),
|
|
118
|
+
|
|
119
|
+
pickupCapacity: Type.Object({
|
|
120
|
+
dailyPickupCapacity: Type.Number({ minimum: 0 }),
|
|
121
|
+
scheduledPickups: Type.Number({ minimum: 0 }),
|
|
122
|
+
onDemandPickups: Type.Number({ minimum: 0 }),
|
|
123
|
+
pickupTimeWindows: Type.Array(Type.Object({
|
|
124
|
+
startTime: Type.String({ description: 'HH:MM' }),
|
|
125
|
+
endTime: Type.String({ description: 'HH:MM' }),
|
|
126
|
+
capacity: Type.Number({ minimum: 0 }),
|
|
127
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 })
|
|
128
|
+
})),
|
|
129
|
+
averagePickupTime: DurationSchema,
|
|
130
|
+
pickupAccuracy: Type.Number({ minimum: 0, maximum: 100 })
|
|
131
|
+
}),
|
|
132
|
+
|
|
133
|
+
deliveryCapacity: Type.Object({
|
|
134
|
+
dailyDeliveryCapacity: Type.Number({ minimum: 0 }),
|
|
135
|
+
deliveryTimeWindows: Type.Array(Type.Object({
|
|
136
|
+
startTime: Type.String({ description: 'HH:MM' }),
|
|
137
|
+
endTime: Type.String({ description: 'HH:MM' }),
|
|
138
|
+
capacity: Type.Number({ minimum: 0 }),
|
|
139
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 })
|
|
140
|
+
})),
|
|
141
|
+
averageDeliveryTime: DurationSchema,
|
|
142
|
+
firstAttemptSuccess: Type.Number({ minimum: 0, maximum: 100 }),
|
|
143
|
+
deliveryAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
144
|
+
specialDeliveryCapacity: Type.Record(Type.String(), Type.Number({ minimum: 0 }))
|
|
145
|
+
}),
|
|
146
|
+
|
|
147
|
+
created: ActionRecordSchema,
|
|
148
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
// Geographic and network capacity
|
|
152
|
+
export const CarrierNetworkCapacitySchema = Type.Object({
|
|
153
|
+
type: Type.Literal('NETWORK'),
|
|
154
|
+
serviceId: Type.String(),
|
|
155
|
+
context: ContextSchema,
|
|
156
|
+
|
|
157
|
+
coverageCapacity: Type.Object({
|
|
158
|
+
totalServiceAreas: Type.Number({ minimum: 0 }),
|
|
159
|
+
activeServiceAreas: Type.Number({ minimum: 0 }),
|
|
160
|
+
zipCodesServed: Type.Number({ minimum: 0 }),
|
|
161
|
+
countriesServed: Type.Number({ minimum: 0 }),
|
|
162
|
+
statesServed: Type.Number({ minimum: 0 }),
|
|
163
|
+
citiesServed: Type.Number({ minimum: 0 }),
|
|
164
|
+
|
|
165
|
+
byRegion: Type.Record(Type.String(), Type.Object({
|
|
166
|
+
coverage: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
167
|
+
capacity: Type.Number({ minimum: 0 }),
|
|
168
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
169
|
+
serviceLevel: ServiceLevelSchema,
|
|
170
|
+
transitTime: DurationSchema
|
|
171
|
+
})),
|
|
172
|
+
|
|
173
|
+
expansionCapacity: Type.Object({
|
|
174
|
+
newAreasPerYear: Type.Number({ minimum: 0 }),
|
|
175
|
+
expansionCost: MoneySchema,
|
|
176
|
+
expansionTimeframe: DurationSchema,
|
|
177
|
+
marketPenetration: Type.Number({ minimum: 0, maximum: 100 })
|
|
178
|
+
})
|
|
179
|
+
}),
|
|
180
|
+
|
|
181
|
+
hubConnectivity: Type.Object({
|
|
182
|
+
connectedHubs: Type.Number({ minimum: 0 }),
|
|
183
|
+
hubRoutes: Type.Number({ minimum: 0 }),
|
|
184
|
+
interHubCapacity: Type.Number({ minimum: 0 }),
|
|
185
|
+
hubUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
186
|
+
averageHubDistance: DistanceSchema,
|
|
187
|
+
averageHubTransitTime: DurationSchema
|
|
188
|
+
}),
|
|
189
|
+
|
|
190
|
+
partnerNetwork: Type.Object({
|
|
191
|
+
carrierPartners: Type.Number({ minimum: 0 }),
|
|
192
|
+
agentNetwork: Type.Number({ minimum: 0 }),
|
|
193
|
+
franchiseNetwork: Type.Number({ minimum: 0 }),
|
|
194
|
+
contractorNetwork: Type.Number({ minimum: 0 }),
|
|
195
|
+
lastMilePartners: Type.Number({ minimum: 0 }),
|
|
196
|
+
internationalPartners: Type.Number({ minimum: 0 }),
|
|
197
|
+
|
|
198
|
+
partnerCapacity: Type.Record(Type.String(), Type.Object({
|
|
199
|
+
capacity: Type.Number({ minimum: 0 }),
|
|
200
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
201
|
+
serviceLevel: ServiceLevelSchema,
|
|
202
|
+
cost: MoneySchema,
|
|
203
|
+
reliability: Type.Number({ minimum: 0, maximum: 100 })
|
|
204
|
+
}))
|
|
205
|
+
}),
|
|
206
|
+
|
|
207
|
+
facilityCapacity: Type.Object({
|
|
208
|
+
terminalCount: Type.Number({ minimum: 0 }),
|
|
209
|
+
sortingFacilities: Type.Number({ minimum: 0 }),
|
|
210
|
+
crossDockFacilities: Type.Number({ minimum: 0 }),
|
|
211
|
+
warehouseFacilities: Type.Number({ minimum: 0 }),
|
|
212
|
+
maintenanceFacilities: Type.Number({ minimum: 0 }),
|
|
213
|
+
customerServiceCenters: Type.Number({ minimum: 0 }),
|
|
214
|
+
|
|
215
|
+
facilityUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
216
|
+
totalFacilityArea: AreaSchema,
|
|
217
|
+
operationalArea: AreaSchema,
|
|
218
|
+
expansionPotential: AreaSchema
|
|
219
|
+
}),
|
|
220
|
+
|
|
221
|
+
created: ActionRecordSchema,
|
|
222
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
223
|
+
})
|
|
224
|
+
|
|
225
|
+
// Operational capacity and performance
|
|
226
|
+
export const CarrierOperationalCapacitySchema = Type.Object({
|
|
227
|
+
type: Type.Literal('OPERATIONAL'),
|
|
228
|
+
serviceId: Type.String(),
|
|
229
|
+
context: ContextSchema,
|
|
230
|
+
|
|
231
|
+
processingCapacity: Type.Object({
|
|
232
|
+
sorting: PerTimeSchema,
|
|
233
|
+
scanning: PerTimeSchema,
|
|
234
|
+
loading: PerTimeSchema,
|
|
235
|
+
unloading: PerTimeSchema,
|
|
236
|
+
documentProcessing: PerTimeSchema,
|
|
237
|
+
customsProcessing: PerTimeSchema,
|
|
238
|
+
|
|
239
|
+
processingTime: Type.Object({
|
|
240
|
+
averageProcessingTime: DurationSchema,
|
|
241
|
+
maxProcessingTime: DurationSchema,
|
|
242
|
+
minProcessingTime: DurationSchema,
|
|
243
|
+
processingAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
244
|
+
processingVariance: DurationSchema
|
|
245
|
+
})
|
|
246
|
+
}),
|
|
247
|
+
|
|
248
|
+
transitCapacity: Type.Object({
|
|
249
|
+
totalMiles: DistanceSchema,
|
|
250
|
+
deliveredMiles: DistanceSchema,
|
|
251
|
+
emptyMiles: DistanceSchema,
|
|
252
|
+
utilizationByMiles: Type.Number({ minimum: 0, maximum: 100 }),
|
|
253
|
+
|
|
254
|
+
transitTimes: Type.Record(ServiceLevelSchema, Type.Object({
|
|
255
|
+
averageTransitTime: DurationSchema,
|
|
256
|
+
minTransitTime: DurationSchema,
|
|
257
|
+
maxTransitTime: DurationSchema,
|
|
258
|
+
onTimePerformance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
259
|
+
transitVariance: DurationSchema
|
|
260
|
+
})),
|
|
261
|
+
|
|
262
|
+
lineHaul: Type.Object({
|
|
263
|
+
routes: Type.Number({ minimum: 0 }),
|
|
264
|
+
capacity: WeightSchema,
|
|
265
|
+
utilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
266
|
+
frequency: PerTimeSchema,
|
|
267
|
+
reliability: Type.Number({ minimum: 0, maximum: 100 })
|
|
268
|
+
}),
|
|
269
|
+
|
|
270
|
+
lastMile: Type.Object({
|
|
271
|
+
deliveryRoutes: Type.Number({ minimum: 0 }),
|
|
272
|
+
stopsPerRoute: Type.Number({ minimum: 0 }),
|
|
273
|
+
deliveriesPerDay: Type.Number({ minimum: 0 }),
|
|
274
|
+
deliveryDensity: PerAreaSchema,
|
|
275
|
+
serviceRadius: DistanceSchema
|
|
276
|
+
})
|
|
277
|
+
}),
|
|
278
|
+
|
|
279
|
+
seasonalCapacity: Type.Object({
|
|
280
|
+
baseline: Type.Number({ minimum: 0, maximum: 100 }),
|
|
281
|
+
peak: Type.Number({ minimum: 0, maximum: 300, description: 'percentage of baseline' }),
|
|
282
|
+
peakSeasonDuration: DurationSchema,
|
|
283
|
+
capacityFlexibility: Type.Number({ minimum: 0, maximum: 100 }),
|
|
284
|
+
|
|
285
|
+
seasonalAdjustments: Type.Array(Type.Object({
|
|
286
|
+
season: Type.String(),
|
|
287
|
+
capacityMultiplier: Type.Number({ minimum: 0 }),
|
|
288
|
+
durationWeeks: Type.Number({ minimum: 0 }),
|
|
289
|
+
additionalResources: Type.Object({
|
|
290
|
+
vehicles: Type.Number({ minimum: 0 }),
|
|
291
|
+
agents: Type.Number({ minimum: 0 }),
|
|
292
|
+
facilities: Type.Number({ minimum: 0 }),
|
|
293
|
+
cost: MoneySchema
|
|
294
|
+
})
|
|
295
|
+
}))
|
|
296
|
+
}),
|
|
297
|
+
|
|
298
|
+
emergencyCapacity: Type.Object({
|
|
299
|
+
emergencyResponse: Type.Boolean(),
|
|
300
|
+
disasterRecovery: Type.Boolean(),
|
|
301
|
+
backupCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
302
|
+
redundantRoutes: Type.Boolean(),
|
|
303
|
+
alternativeFacilities: Type.Boolean(),
|
|
304
|
+
emergencyEquipment: Type.Boolean(),
|
|
305
|
+
responseTime: DurationSchema,
|
|
306
|
+
recoveryTime: DurationSchema
|
|
307
|
+
}),
|
|
308
|
+
|
|
309
|
+
created: ActionRecordSchema,
|
|
310
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
311
|
+
})
|
|
312
|
+
|
|
313
|
+
// Time-based availability and scheduling capacity
|
|
314
|
+
export const CarrierAvailabilitySchema = Type.Object({
|
|
315
|
+
type: Type.Literal('AVAILABILITY'),
|
|
316
|
+
serviceId: Type.String(),
|
|
317
|
+
context: ContextSchema,
|
|
318
|
+
|
|
319
|
+
operational: SPAvailabilitySchema,
|
|
320
|
+
|
|
321
|
+
operatingSchedule: Type.Object({
|
|
322
|
+
operationalHoursPerDay: Type.Number({ minimum: 0, maximum: 24 }),
|
|
323
|
+
operationalDaysPerWeek: Type.Number({ minimum: 0, maximum: 7 }),
|
|
324
|
+
operationalDaysPerYear: Type.Number({ minimum: 0, maximum: 366 }),
|
|
325
|
+
holidayOperations: Type.Boolean(),
|
|
326
|
+
seasonalOperations: Type.Boolean(),
|
|
327
|
+
extendedHoursCapacity: Type.Number({ minimum: 0, description: 'additional hours available' }),
|
|
328
|
+
flexibleScheduling: Type.Boolean()
|
|
329
|
+
}),
|
|
330
|
+
|
|
331
|
+
maintenance: Type.Object({
|
|
332
|
+
plannedDowntimeHours: PerTimeSchema,
|
|
333
|
+
unplannedDowntimeHours: PerTimeSchema,
|
|
334
|
+
systemAvailability: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
335
|
+
equipmentUptime: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
336
|
+
maintenanceWindows: Type.Array(Type.String()),
|
|
337
|
+
maintenanceCapacity: Type.Number({ minimum: 0, description: 'equipment units maintainable simultaneously' }),
|
|
338
|
+
meanTimeBetweenFailures: DurationSchema,
|
|
339
|
+
meanTimeToRepair: DurationSchema
|
|
340
|
+
}),
|
|
341
|
+
|
|
342
|
+
booking: Type.Object({
|
|
343
|
+
totalBookableCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
344
|
+
currentBookingLevel: Type.Number({ minimum: 0, maximum: 100 }),
|
|
345
|
+
availableCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
346
|
+
reservedCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
347
|
+
contractedCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
348
|
+
spotCapacity: Type.Number({ minimum: 0, maximum: 100 }),
|
|
349
|
+
overbookingAllowed: Type.Boolean(),
|
|
350
|
+
maxOverbookingPercent: Type.Optional(Type.Number({ minimum: 0, maximum: 50 })),
|
|
351
|
+
advanceBookingRequired: DurationSchema,
|
|
352
|
+
cancellationNotice: DurationSchema
|
|
353
|
+
}),
|
|
354
|
+
|
|
355
|
+
created: ActionRecordSchema,
|
|
356
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
357
|
+
})
|
|
358
|
+
|
|
359
|
+
// Technology and systems capacity
|
|
360
|
+
export const CarrierTechnologyCapacitySchema = Type.Object({
|
|
361
|
+
type: Type.Literal('TECHNOLOGY'),
|
|
362
|
+
serviceId: Type.String(),
|
|
363
|
+
context: ContextSchema,
|
|
364
|
+
|
|
365
|
+
systemCapacity: Type.Object({
|
|
366
|
+
maxConcurrentUsers: Type.Number({ minimum: 0 }),
|
|
367
|
+
maxTransactionsPerHour: Type.Number({ minimum: 0 }),
|
|
368
|
+
maxPackagesTracked: Type.Number({ minimum: 0 }),
|
|
369
|
+
databaseCapacity: Type.Number({ minimum: 0, description: 'GB' }),
|
|
370
|
+
apiCallsPerHour: Type.Number({ minimum: 0 }),
|
|
371
|
+
webhookCapacity: Type.Number({ minimum: 0 }),
|
|
372
|
+
|
|
373
|
+
systemPerformance: Type.Object({
|
|
374
|
+
uptime: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
375
|
+
responseTime: Type.Number({ minimum: 0, description: 'milliseconds' }),
|
|
376
|
+
throughput: PerTimeSchema,
|
|
377
|
+
reliability: Type.Number({ minimum: 0, maximum: 100 }),
|
|
378
|
+
scalability: Type.Union([
|
|
379
|
+
Type.Literal('LIMITED'),
|
|
380
|
+
Type.Literal('MODERATE'),
|
|
381
|
+
Type.Literal('HIGH'),
|
|
382
|
+
Type.Literal('ELASTIC')
|
|
383
|
+
])
|
|
384
|
+
})
|
|
385
|
+
}),
|
|
386
|
+
|
|
387
|
+
trackingCapacity: Type.Object({
|
|
388
|
+
devicesTracked: Type.Number({ minimum: 0 }),
|
|
389
|
+
trackingPoints: Type.Number({ minimum: 0 }),
|
|
390
|
+
updateFrequency: PerTimeSchema,
|
|
391
|
+
dataRetention: DurationSchema,
|
|
392
|
+
trackingAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
393
|
+
batteryLife: DurationSchema,
|
|
394
|
+
coverageArea: AreaSchema,
|
|
395
|
+
signalReliability: Type.Number({ minimum: 0, maximum: 100 })
|
|
396
|
+
}),
|
|
397
|
+
|
|
398
|
+
communicationCapacity: Type.Object({
|
|
399
|
+
mobileDevices: Type.Number({ minimum: 0 }),
|
|
400
|
+
vehicleDevices: Type.Number({ minimum: 0 }),
|
|
401
|
+
dataPlans: Type.Number({ minimum: 0 }),
|
|
402
|
+
bandwidth: Type.Number({ minimum: 0, description: 'Mbps' }),
|
|
403
|
+
coverage: Type.Number({ minimum: 0, maximum: 100, description: 'percentage' }),
|
|
404
|
+
reliability: Type.Number({ minimum: 0, maximum: 100 }),
|
|
405
|
+
|
|
406
|
+
notification: Type.Object({
|
|
407
|
+
smsPerDay: Type.Number({ minimum: 0 }),
|
|
408
|
+
emailsPerDay: Type.Number({ minimum: 0 }),
|
|
409
|
+
pushNotifications: Type.Number({ minimum: 0 }),
|
|
410
|
+
callsPerDay: Type.Number({ minimum: 0 }),
|
|
411
|
+
deliveryRate: Type.Number({ minimum: 0, maximum: 100 })
|
|
412
|
+
})
|
|
413
|
+
}),
|
|
414
|
+
|
|
415
|
+
integrationCapacity: Type.Object({
|
|
416
|
+
activeIntegrations: Type.Number({ minimum: 0 }),
|
|
417
|
+
maxIntegrations: Type.Number({ minimum: 0 }),
|
|
418
|
+
apiConnections: Type.Number({ minimum: 0 }),
|
|
419
|
+
ediConnections: Type.Number({ minimum: 0 }),
|
|
420
|
+
webhookEndpoints: Type.Number({ minimum: 0 }),
|
|
421
|
+
dataProcessing: PerTimeSchema,
|
|
422
|
+
|
|
423
|
+
cloud: Type.Object({
|
|
424
|
+
computeCapacity: Type.Number({ minimum: 0, description: 'vCPUs' }),
|
|
425
|
+
storageCapacity: Type.Number({ minimum: 0, description: 'GB' }),
|
|
426
|
+
networkBandwidth: Type.Number({ minimum: 0, description: 'Mbps' }),
|
|
427
|
+
scalingCapacity: Type.Union([
|
|
428
|
+
Type.Literal('MANUAL'),
|
|
429
|
+
Type.Literal('AUTOMATIC'),
|
|
430
|
+
Type.Literal('ELASTIC'),
|
|
431
|
+
Type.Literal('UNLIMITED')
|
|
432
|
+
])
|
|
433
|
+
})
|
|
434
|
+
}),
|
|
435
|
+
|
|
436
|
+
created: ActionRecordSchema,
|
|
437
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
438
|
+
})
|
|
439
|
+
|
|
440
|
+
// Financial capacity and constraints
|
|
441
|
+
export const CarrierFinancialCapacitySchema = Type.Object({
|
|
442
|
+
type: Type.Literal('FINANCIAL'),
|
|
443
|
+
serviceId: Type.String(),
|
|
444
|
+
context: ContextSchema,
|
|
445
|
+
|
|
446
|
+
operatingCosts: Type.Object({
|
|
447
|
+
fixedCostsPerMonth: MoneySchema,
|
|
448
|
+
variableCostPerMile: MoneySchema,
|
|
449
|
+
variableCostPerPackage: MoneySchema,
|
|
450
|
+
fuelCostPerMile: MoneySchema,
|
|
451
|
+
laborCostPerHour: MoneySchema,
|
|
452
|
+
vehicleCostPerMile: MoneySchema,
|
|
453
|
+
facilityCostPerSqFt: MoneySchema,
|
|
454
|
+
technologyCostPerMonth: MoneySchema,
|
|
455
|
+
insuranceCostPerMonth: MoneySchema,
|
|
456
|
+
maintenanceCostPerVehicle: MoneySchema
|
|
457
|
+
}),
|
|
458
|
+
|
|
459
|
+
pricingCapacity: Type.Object({
|
|
460
|
+
basePricing: Type.Record(ServiceLevelSchema, MoneySchema),
|
|
461
|
+
distancePricing: Type.Record(Type.String(), MoneySchema),
|
|
462
|
+
weightPricing: Type.Record(Type.String(), MoneySchema),
|
|
463
|
+
volumePricing: Type.Record(Type.String(), MoneySchema),
|
|
464
|
+
specialServicePricing: Type.Record(Type.String(), MoneySchema),
|
|
465
|
+
|
|
466
|
+
volumeDiscounts: Type.Array(Type.Object({
|
|
467
|
+
minimumVolume: Type.Number({ minimum: 0 }),
|
|
468
|
+
discountPercentage: Type.Number({ minimum: 0, maximum: 100 }),
|
|
469
|
+
applicableServices: Type.Array(ServiceLevelSchema)
|
|
470
|
+
})),
|
|
471
|
+
|
|
472
|
+
contractPricing: Type.Object({
|
|
473
|
+
minimumCommitment: MoneySchema,
|
|
474
|
+
discountStructure: Type.Record(Type.String(), Type.Number()),
|
|
475
|
+
paymentTerms: Type.Array(Type.String()),
|
|
476
|
+
pricingFlexibility: Type.Union([
|
|
477
|
+
Type.Literal('FIXED'),
|
|
478
|
+
Type.Literal('INDEXED'),
|
|
479
|
+
Type.Literal('NEGOTIABLE'),
|
|
480
|
+
Type.Literal('DYNAMIC')
|
|
481
|
+
])
|
|
482
|
+
}),
|
|
483
|
+
|
|
484
|
+
surcharges: Type.Record(Type.String(), MoneySchema),
|
|
485
|
+
fuelSurcharge: Type.Object({
|
|
486
|
+
applicable: Type.Boolean(),
|
|
487
|
+
calculationMethod: Type.String(),
|
|
488
|
+
basePrice: MoneySchema,
|
|
489
|
+
adjustmentFrequency: PerTimeSchema
|
|
490
|
+
})
|
|
491
|
+
}),
|
|
492
|
+
|
|
493
|
+
revenueCapacity: Type.Object({
|
|
494
|
+
maxRevenueCapacity: MoneySchema,
|
|
495
|
+
currentRevenue: MoneySchema,
|
|
496
|
+
revenuePerMile: MoneySchema,
|
|
497
|
+
revenuePerPackage: MoneySchema,
|
|
498
|
+
profitMargin: Type.Number({ minimum: 0, maximum: 100 }),
|
|
499
|
+
breakEvenVolume: Type.Number({ minimum: 0 }),
|
|
500
|
+
|
|
501
|
+
revenueStreams: Type.Record(Type.String(), Type.Object({
|
|
502
|
+
revenue: MoneySchema,
|
|
503
|
+
volume: Type.Number({ minimum: 0 }),
|
|
504
|
+
growth: Type.Number({ description: 'percentage' }),
|
|
505
|
+
profitability: Type.Number({ minimum: 0, maximum: 100 })
|
|
506
|
+
}))
|
|
507
|
+
}),
|
|
508
|
+
|
|
509
|
+
capitalCapacity: Type.Object({
|
|
510
|
+
availableCapital: MoneySchema,
|
|
511
|
+
creditLimit: MoneySchema,
|
|
512
|
+
investmentCapacity: MoneySchema,
|
|
513
|
+
cashFlow: MoneySchema,
|
|
514
|
+
workingCapital: MoneySchema,
|
|
515
|
+
|
|
516
|
+
capitalExpenditure: Type.Object({
|
|
517
|
+
vehicleInvestment: MoneySchema,
|
|
518
|
+
technologyInvestment: MoneySchema,
|
|
519
|
+
facilityInvestment: MoneySchema,
|
|
520
|
+
equipmentInvestment: MoneySchema,
|
|
521
|
+
totalBudget: MoneySchema,
|
|
522
|
+
utilizationRate: Type.Number({ minimum: 0, maximum: 100 })
|
|
523
|
+
}),
|
|
524
|
+
|
|
525
|
+
financing: Type.Object({
|
|
526
|
+
debtCapacity: MoneySchema,
|
|
527
|
+
equityCapacity: MoneySchema,
|
|
528
|
+
leasingCapacity: MoneySchema,
|
|
529
|
+
creditRating: Type.Optional(Type.String()),
|
|
530
|
+
interestRate: Type.Number({ minimum: 0 }),
|
|
531
|
+
paymentTerms: Type.String()
|
|
532
|
+
})
|
|
533
|
+
}),
|
|
534
|
+
|
|
535
|
+
insurance: Type.Object({
|
|
536
|
+
totalCoverage: MoneySchema,
|
|
537
|
+
remainingCoverage: MoneySchema,
|
|
538
|
+
claimsHistory: Type.Array(Type.Object({
|
|
539
|
+
claimType: Type.String(),
|
|
540
|
+
claimAmount: MoneySchema,
|
|
541
|
+
date: Type.Number(),
|
|
542
|
+
status: Type.String()
|
|
543
|
+
})),
|
|
544
|
+
premiumCosts: Type.Record(Type.String(), MoneySchema),
|
|
545
|
+
deductibles: Type.Record(Type.String(), MoneySchema),
|
|
546
|
+
riskProfile: Type.Union([
|
|
547
|
+
Type.Literal('LOW'),
|
|
548
|
+
Type.Literal('MODERATE'),
|
|
549
|
+
Type.Literal('HIGH'),
|
|
550
|
+
Type.Literal('CRITICAL')
|
|
551
|
+
])
|
|
552
|
+
}),
|
|
553
|
+
|
|
554
|
+
created: ActionRecordSchema,
|
|
555
|
+
updated: Type.Optional(ActionRecordSchema)
|
|
556
|
+
})
|
|
557
|
+
|
|
558
|
+
// Combined carrier capacity schema
|
|
559
|
+
export const CarrierCapacitySchema = Type.Object({
|
|
560
|
+
fleet: CarrierFleetCapacitySchema,
|
|
561
|
+
service: CarrierServiceCapacitySchema,
|
|
562
|
+
network: CarrierNetworkCapacitySchema,
|
|
563
|
+
availability: CarrierAvailabilitySchema,
|
|
564
|
+
operational: CarrierOperationalCapacitySchema,
|
|
565
|
+
technology: CarrierTechnologyCapacitySchema,
|
|
566
|
+
financial: CarrierFinancialCapacitySchema
|
|
567
|
+
})
|
|
568
|
+
|
|
569
|
+
// Carrier Capacities Types
|
|
570
|
+
export type CarrierFleetCapacity = Static<typeof CarrierFleetCapacitySchema>
|
|
571
|
+
export type CarrierServiceCapacity = Static<typeof CarrierServiceCapacitySchema>
|
|
572
|
+
export type CarrierNetworkCapacity = Static<typeof CarrierNetworkCapacitySchema>
|
|
573
|
+
export type CarrierOperationalCapacity = Static<typeof CarrierOperationalCapacitySchema>
|
|
574
|
+
export type CarrierAvailability = Static<typeof CarrierAvailabilitySchema>
|
|
575
|
+
export type CarrierTechnologyCapacity = Static<typeof CarrierTechnologyCapacitySchema>
|
|
576
|
+
export type CarrierFinancialCapacity = Static<typeof CarrierFinancialCapacitySchema>
|
|
577
|
+
export type CarrierCapacity = Static<typeof CarrierCapacitySchema>
|
|
578
|
+
// ─── Request Validation Schemas ───────────────────────────────────────────────
|
|
579
|
+
|
|
580
|
+
import {
|
|
581
|
+
APIErrorSchema,
|
|
582
|
+
APIHeadersSchema,
|
|
583
|
+
APIResponseBaseSchema,
|
|
584
|
+
APIResponseDataSchemaFactory
|
|
585
|
+
} from '../../api'
|
|
586
|
+
|
|
587
|
+
export const CarrierCapacityTypeSchema = Type.Union([
|
|
588
|
+
Type.Literal('fleet'),
|
|
589
|
+
Type.Literal('service'),
|
|
590
|
+
Type.Literal('network'),
|
|
591
|
+
Type.Literal('operational'),
|
|
592
|
+
Type.Literal('technology'),
|
|
593
|
+
Type.Literal('financial')
|
|
594
|
+
])
|
|
595
|
+
|
|
596
|
+
export const CarrierBulkCapacitiesUpdateSchema = Type.Object({
|
|
597
|
+
capacities: Type.Optional(Type.Record(CarrierCapacityTypeSchema, Type.Any())),
|
|
598
|
+
syncWithFleet: Type.Optional(Type.Boolean()),
|
|
599
|
+
reason: Type.Optional(Type.String({ maxLength: 500 }))
|
|
600
|
+
})
|
|
601
|
+
|
|
602
|
+
const CapacitySetResponse = APIResponseDataSchemaFactory({ capacity: Type.Any() })
|
|
603
|
+
|
|
604
|
+
export const LSPCarrierGetFleetCapacityRVS = {
|
|
605
|
+
headers: APIHeadersSchema,
|
|
606
|
+
params: Type.Object({ id: Type.String() }),
|
|
607
|
+
response: APIResponseDataSchemaFactory({
|
|
608
|
+
capacity: CarrierFleetCapacitySchema,
|
|
609
|
+
utilization: Type.Object({ current: Type.Number({ minimum: 0, maximum: 100 }), peak: Type.Number({ minimum: 0, maximum: 100 }), trend: Type.Union([Type.Literal('INCREASING'), Type.Literal('STABLE'), Type.Literal('DECREASING')]) }),
|
|
610
|
+
completeness: Type.Number({ minimum: 0, maximum: 100 }),
|
|
611
|
+
lastUpdated: Type.Number()
|
|
612
|
+
})
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export const LSPCarrierSetFleetCapacityRVS = {
|
|
616
|
+
headers: APIHeadersSchema,
|
|
617
|
+
params: Type.Object({ id: Type.String() }),
|
|
618
|
+
body: Type.Any(),
|
|
619
|
+
response: CapacitySetResponse
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export const LSPCarrierGetServiceCapacityRVS = {
|
|
623
|
+
headers: APIHeadersSchema,
|
|
624
|
+
params: Type.Object({ id: Type.String() }),
|
|
625
|
+
response: APIResponseDataSchemaFactory({
|
|
626
|
+
capacity: CarrierServiceCapacitySchema,
|
|
627
|
+
utilization: Type.Object({ overall: Type.Number({ minimum: 0, maximum: 100 }), byServiceLevel: Type.Record(Type.String(), Type.Number({ minimum: 0, maximum: 100 })) }),
|
|
628
|
+
completeness: Type.Number({ minimum: 0, maximum: 100 }),
|
|
629
|
+
lastUpdated: Type.Number()
|
|
630
|
+
})
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export const LSPCarrierSetServiceCapacityRVS = {
|
|
634
|
+
headers: APIHeadersSchema,
|
|
635
|
+
params: Type.Object({ id: Type.String() }),
|
|
636
|
+
body: Type.Any(),
|
|
637
|
+
response: CapacitySetResponse
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export const LSPCarrierGetOperationalCapacityRVS = {
|
|
641
|
+
headers: APIHeadersSchema,
|
|
642
|
+
params: Type.Object({ id: Type.String() }),
|
|
643
|
+
response: APIResponseDataSchemaFactory({ capacity: CarrierOperationalCapacitySchema, completeness: Type.Number({ minimum: 0, maximum: 100 }), lastUpdated: Type.Number() })
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export const LSPCarrierSetOperationalCapacityRVS = {
|
|
647
|
+
headers: APIHeadersSchema,
|
|
648
|
+
params: Type.Object({ id: Type.String() }),
|
|
649
|
+
body: Type.Any(),
|
|
650
|
+
response: CapacitySetResponse
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export const LSPCarrierGetNetworkCapacityRVS = {
|
|
654
|
+
headers: APIHeadersSchema,
|
|
655
|
+
params: Type.Object({ id: Type.String() }),
|
|
656
|
+
response: APIResponseDataSchemaFactory({ capacity: CarrierNetworkCapacitySchema, completeness: Type.Number({ minimum: 0, maximum: 100 }), lastUpdated: Type.Number() })
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export const LSPCarrierSetNetworkCapacityRVS = {
|
|
660
|
+
headers: APIHeadersSchema,
|
|
661
|
+
params: Type.Object({ id: Type.String() }),
|
|
662
|
+
body: Type.Any(),
|
|
663
|
+
response: CapacitySetResponse
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export const LSPCarrierGetTechnologyCapacityRVS = {
|
|
667
|
+
headers: APIHeadersSchema,
|
|
668
|
+
params: Type.Object({ id: Type.String() }),
|
|
669
|
+
response: APIResponseDataSchemaFactory({ capacity: CarrierTechnologyCapacitySchema, completeness: Type.Number({ minimum: 0, maximum: 100 }), lastUpdated: Type.Number() })
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export const LSPCarrierSetTechnologyCapacityRVS = {
|
|
673
|
+
headers: APIHeadersSchema,
|
|
674
|
+
params: Type.Object({ id: Type.String() }),
|
|
675
|
+
body: Type.Any(),
|
|
676
|
+
response: CapacitySetResponse
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export const LSPCarrierGetFinancialCapacityRVS = {
|
|
680
|
+
headers: APIHeadersSchema,
|
|
681
|
+
params: Type.Object({ id: Type.String() }),
|
|
682
|
+
response: APIResponseDataSchemaFactory({ capacity: CarrierFinancialCapacitySchema, completeness: Type.Number({ minimum: 0, maximum: 100 }), lastUpdated: Type.Number() })
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export const LSPCarrierSetFinancialCapacityRVS = {
|
|
686
|
+
headers: APIHeadersSchema,
|
|
687
|
+
params: Type.Object({ id: Type.String() }),
|
|
688
|
+
body: Type.Any(),
|
|
689
|
+
response: CapacitySetResponse
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export const LSPCarrierGetAllCapacitiesRVS = {
|
|
693
|
+
headers: APIHeadersSchema,
|
|
694
|
+
params: Type.Object({ id: Type.String() }),
|
|
695
|
+
response: APIResponseDataSchemaFactory({
|
|
696
|
+
capacities: Type.Object({
|
|
697
|
+
fleet: Type.Optional(CarrierFleetCapacitySchema),
|
|
698
|
+
service: Type.Optional(CarrierServiceCapacitySchema),
|
|
699
|
+
operational: Type.Optional(CarrierOperationalCapacitySchema),
|
|
700
|
+
network: Type.Optional(CarrierNetworkCapacitySchema),
|
|
701
|
+
technology: Type.Optional(CarrierTechnologyCapacitySchema),
|
|
702
|
+
financial: Type.Optional(CarrierFinancialCapacitySchema)
|
|
703
|
+
}),
|
|
704
|
+
missingTypes: Type.Array(CarrierCapacityTypeSchema),
|
|
705
|
+
completeness: Type.Number({ minimum: 0, maximum: 100 }),
|
|
706
|
+
summary: Type.Object({ overallUtilization: Type.Number({ minimum: 0, maximum: 100 }), capacityScore: Type.Number({ minimum: 0, maximum: 100 }), bottlenecks: Type.Array(Type.String()) }),
|
|
707
|
+
lastUpdated: Type.Number()
|
|
708
|
+
})
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export type LSPCarrierGetFleetCapacityValidation = { headers: Static<typeof LSPCarrierGetFleetCapacityRVS.headers>, params: Static<typeof LSPCarrierGetFleetCapacityRVS.params>, response: Static<typeof LSPCarrierGetFleetCapacityRVS.response> }
|
|
712
|
+
export type LSPCarrierSetFleetCapacityValidation = { headers: Static<typeof LSPCarrierSetFleetCapacityRVS.headers>, params: Static<typeof LSPCarrierSetFleetCapacityRVS.params>, body: Static<typeof LSPCarrierSetFleetCapacityRVS.body>, response: Static<typeof LSPCarrierSetFleetCapacityRVS.response> }
|
|
713
|
+
export type LSPCarrierGetServiceCapacityValidation = { headers: Static<typeof LSPCarrierGetServiceCapacityRVS.headers>, params: Static<typeof LSPCarrierGetServiceCapacityRVS.params>, response: Static<typeof LSPCarrierGetServiceCapacityRVS.response> }
|
|
714
|
+
export type LSPCarrierSetServiceCapacityValidation = { headers: Static<typeof LSPCarrierSetServiceCapacityRVS.headers>, params: Static<typeof LSPCarrierSetServiceCapacityRVS.params>, body: Static<typeof LSPCarrierSetServiceCapacityRVS.body>, response: Static<typeof LSPCarrierSetServiceCapacityRVS.response> }
|
|
715
|
+
export type LSPCarrierGetOperationalCapacityValidation = { headers: Static<typeof LSPCarrierGetOperationalCapacityRVS.headers>, params: Static<typeof LSPCarrierGetOperationalCapacityRVS.params>, response: Static<typeof LSPCarrierGetOperationalCapacityRVS.response> }
|
|
716
|
+
export type LSPCarrierSetOperationalCapacityValidation = { headers: Static<typeof LSPCarrierSetOperationalCapacityRVS.headers>, params: Static<typeof LSPCarrierSetOperationalCapacityRVS.params>, body: Static<typeof LSPCarrierSetOperationalCapacityRVS.body>, response: Static<typeof LSPCarrierSetOperationalCapacityRVS.response> }
|
|
717
|
+
export type LSPCarrierGetNetworkCapacityValidation = { headers: Static<typeof LSPCarrierGetNetworkCapacityRVS.headers>, params: Static<typeof LSPCarrierGetNetworkCapacityRVS.params>, response: Static<typeof LSPCarrierGetNetworkCapacityRVS.response> }
|
|
718
|
+
export type LSPCarrierSetNetworkCapacityValidation = { headers: Static<typeof LSPCarrierSetNetworkCapacityRVS.headers>, params: Static<typeof LSPCarrierSetNetworkCapacityRVS.params>, body: Static<typeof LSPCarrierSetNetworkCapacityRVS.body>, response: Static<typeof LSPCarrierSetNetworkCapacityRVS.response> }
|
|
719
|
+
export type LSPCarrierGetTechnologyCapacityValidation = { headers: Static<typeof LSPCarrierGetTechnologyCapacityRVS.headers>, params: Static<typeof LSPCarrierGetTechnologyCapacityRVS.params>, response: Static<typeof LSPCarrierGetTechnologyCapacityRVS.response> }
|
|
720
|
+
export type LSPCarrierSetTechnologyCapacityValidation = { headers: Static<typeof LSPCarrierSetTechnologyCapacityRVS.headers>, params: Static<typeof LSPCarrierSetTechnologyCapacityRVS.params>, body: Static<typeof LSPCarrierSetTechnologyCapacityRVS.body>, response: Static<typeof LSPCarrierSetTechnologyCapacityRVS.response> }
|
|
721
|
+
export type LSPCarrierGetFinancialCapacityValidation = { headers: Static<typeof LSPCarrierGetFinancialCapacityRVS.headers>, params: Static<typeof LSPCarrierGetFinancialCapacityRVS.params>, response: Static<typeof LSPCarrierGetFinancialCapacityRVS.response> }
|
|
722
|
+
export type LSPCarrierSetFinancialCapacityValidation = { headers: Static<typeof LSPCarrierSetFinancialCapacityRVS.headers>, params: Static<typeof LSPCarrierSetFinancialCapacityRVS.params>, body: Static<typeof LSPCarrierSetFinancialCapacityRVS.body>, response: Static<typeof LSPCarrierSetFinancialCapacityRVS.response> }
|
|
723
|
+
export type LSPCarrierGetAllCapacitiesValidation = { headers: Static<typeof LSPCarrierGetAllCapacitiesRVS.headers>, params: Static<typeof LSPCarrierGetAllCapacitiesRVS.params>, response: Static<typeof LSPCarrierGetAllCapacitiesRVS.response> }
|