@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,442 @@
|
|
|
1
|
+
import { Type, Static } from '@sinclair/typebox'
|
|
2
|
+
import { MoneySchema, LengthSchema, WeightSchema, AreaSchema } from '../../measure'
|
|
3
|
+
import {
|
|
4
|
+
BaseServiceDefinitionSchema,
|
|
5
|
+
BaseServiceDefinitionUpdateSchema
|
|
6
|
+
} from '../../service'
|
|
7
|
+
import { PSLAccessibleSchema } from '../psl'
|
|
8
|
+
import { PricingRuleSchema } from '../pricing'
|
|
9
|
+
import { TerminalPerformanceSchema } from './performance'
|
|
10
|
+
import { PassthroughOrderProcessSchema } from '../order/flow/processes'
|
|
11
|
+
|
|
12
|
+
// Terminal Partition Schemas - Terminal-specific spatial organization
|
|
13
|
+
|
|
14
|
+
// Terminal Zone Schema - Major operational areas within a terminal
|
|
15
|
+
export const TerminalZoneSchema = Type.Object({
|
|
16
|
+
type: Type.Literal('ZONE'),
|
|
17
|
+
zoneType: Type.Union([
|
|
18
|
+
Type.Literal('CONTAINER_YARD'),
|
|
19
|
+
Type.Literal('WAREHOUSE'),
|
|
20
|
+
Type.Literal('BERTH_AREA'),
|
|
21
|
+
Type.Literal('GATE_AREA'),
|
|
22
|
+
Type.Literal('RAIL_YARD'),
|
|
23
|
+
Type.Literal('TRUCK_STAGING'),
|
|
24
|
+
Type.Literal('STORAGE_AREA'),
|
|
25
|
+
Type.Literal('MAINTENANCE_AREA'),
|
|
26
|
+
Type.Literal('ADMINISTRATIVE_AREA'),
|
|
27
|
+
Type.Literal('CUSTOMS_AREA'),
|
|
28
|
+
Type.Literal('QUARANTINE_AREA'),
|
|
29
|
+
Type.Literal('HAZMAT_AREA'),
|
|
30
|
+
Type.Literal('REFRIGERATED_AREA'),
|
|
31
|
+
Type.Literal('EMPTY_CONTAINER_DEPOT')
|
|
32
|
+
]),
|
|
33
|
+
parentId: Type.String({ description: 'Must belong to a terminal' }),
|
|
34
|
+
name: Type.String({ minLength: 1, maxLength: 100 }),
|
|
35
|
+
|
|
36
|
+
// Terminal zone specific properties
|
|
37
|
+
securityLevel: Type.Union([
|
|
38
|
+
Type.Literal('PUBLIC'),
|
|
39
|
+
Type.Literal('RESTRICTED'),
|
|
40
|
+
Type.Literal('SECURE'),
|
|
41
|
+
Type.Literal('STERILE')
|
|
42
|
+
]),
|
|
43
|
+
accessControl: Type.Boolean(),
|
|
44
|
+
customsBonded: Type.Boolean(),
|
|
45
|
+
climateControlled: Type.Boolean(),
|
|
46
|
+
|
|
47
|
+
// Operational properties
|
|
48
|
+
operatingHours: Type.Object({
|
|
49
|
+
start: Type.String({ description: 'HH:MM format' }),
|
|
50
|
+
end: Type.String({ description: 'HH:MM format' }),
|
|
51
|
+
twentyFourSeven: Type.Boolean()
|
|
52
|
+
}),
|
|
53
|
+
|
|
54
|
+
// Handling methods for this zone
|
|
55
|
+
handlingMethod: Type.Optional(Type.Union([
|
|
56
|
+
Type.Literal('AUTOMATED'),
|
|
57
|
+
Type.Literal('SEMI_AUTOMATED'),
|
|
58
|
+
Type.Literal('MANUAL'),
|
|
59
|
+
Type.Literal('MIXED')
|
|
60
|
+
])),
|
|
61
|
+
|
|
62
|
+
// Storage method for storage zones
|
|
63
|
+
storageMethod: Type.Optional(Type.Union([
|
|
64
|
+
Type.Literal('STACKING'),
|
|
65
|
+
Type.Literal('RACKING'),
|
|
66
|
+
Type.Literal('GROUND_STORAGE'),
|
|
67
|
+
Type.Literal('BULK_STORAGE'),
|
|
68
|
+
Type.Literal('SPECIALIZED')
|
|
69
|
+
]))
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
// Terminal Block Schema - Sub-divisions within zones (e.g., container yard blocks)
|
|
73
|
+
export const TerminalBlockSchema = Type.Object({
|
|
74
|
+
type: Type.Literal('BLOCK'),
|
|
75
|
+
parentId: Type.String({ description: 'Must belong to a zone' }),
|
|
76
|
+
blockNumber: Type.String({ description: 'Block identifier (e.g., A1, B2)' }),
|
|
77
|
+
|
|
78
|
+
// Physical properties
|
|
79
|
+
dimensions: Type.Object({
|
|
80
|
+
length: LengthSchema,
|
|
81
|
+
width: LengthSchema,
|
|
82
|
+
area: AreaSchema
|
|
83
|
+
}),
|
|
84
|
+
|
|
85
|
+
// Access and equipment
|
|
86
|
+
craneAccess: Type.Boolean(),
|
|
87
|
+
truckAccess: Type.Boolean(),
|
|
88
|
+
railAccess: Type.Boolean(),
|
|
89
|
+
equipmentAccess: Type.Array(PSLAccessibleSchema),
|
|
90
|
+
|
|
91
|
+
// Container yard specific properties
|
|
92
|
+
stackingHeight: Type.Optional(Type.Number({
|
|
93
|
+
minimum: 1,
|
|
94
|
+
maximum: 8,
|
|
95
|
+
description: 'Maximum container stacking height'
|
|
96
|
+
})),
|
|
97
|
+
|
|
98
|
+
// Cargo type restrictions
|
|
99
|
+
cargoTypes: Type.Array(Type.Union([
|
|
100
|
+
Type.Literal('DRY_CONTAINER'),
|
|
101
|
+
Type.Literal('REFRIGERATED_CONTAINER'),
|
|
102
|
+
Type.Literal('TANK_CONTAINER'),
|
|
103
|
+
Type.Literal('FLAT_RACK'),
|
|
104
|
+
Type.Literal('OPEN_TOP'),
|
|
105
|
+
Type.Literal('BREAK_BULK'),
|
|
106
|
+
Type.Literal('BULK_CARGO'),
|
|
107
|
+
Type.Literal('PROJECT_CARGO'),
|
|
108
|
+
Type.Literal('HAZMAT'),
|
|
109
|
+
Type.Literal('EMPTY_CONTAINERS')
|
|
110
|
+
])),
|
|
111
|
+
|
|
112
|
+
// Operational properties
|
|
113
|
+
trafficDirection: Type.Union([
|
|
114
|
+
Type.Literal('ONE_WAY'),
|
|
115
|
+
Type.Literal('TWO_WAY'),
|
|
116
|
+
Type.Literal('CIRCULAR')
|
|
117
|
+
]),
|
|
118
|
+
|
|
119
|
+
priorityLevel: Type.Union([
|
|
120
|
+
Type.Literal('HIGH'),
|
|
121
|
+
Type.Literal('MEDIUM'),
|
|
122
|
+
Type.Literal('LOW')
|
|
123
|
+
]),
|
|
124
|
+
|
|
125
|
+
maxDwellTime: Type.Optional(Type.Number({
|
|
126
|
+
minimum: 0,
|
|
127
|
+
description: 'Maximum allowed dwell time in hours'
|
|
128
|
+
}))
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
// Terminal Row Schema - Rows within blocks for systematic organization
|
|
132
|
+
export const TerminalRowSchema = Type.Object({
|
|
133
|
+
type: Type.Literal('ROW'),
|
|
134
|
+
parentId: Type.String({ description: 'Must belong to a block' }),
|
|
135
|
+
rowNumber: Type.Number({ minimum: 1 }),
|
|
136
|
+
|
|
137
|
+
// Physical properties
|
|
138
|
+
length: LengthSchema,
|
|
139
|
+
width: LengthSchema,
|
|
140
|
+
surfaceType: Type.Union([
|
|
141
|
+
Type.Literal('CONCRETE'),
|
|
142
|
+
Type.Literal('ASPHALT'),
|
|
143
|
+
Type.Literal('GRAVEL'),
|
|
144
|
+
Type.Literal('DIRT'),
|
|
145
|
+
Type.Literal('STEEL_PLATFORM')
|
|
146
|
+
]),
|
|
147
|
+
|
|
148
|
+
// Equipment and access
|
|
149
|
+
craneRail: Type.Boolean(),
|
|
150
|
+
lighting: Type.Boolean(),
|
|
151
|
+
powerAvailable: Type.Boolean(),
|
|
152
|
+
drainageSystem: Type.Boolean(),
|
|
153
|
+
|
|
154
|
+
// Operational configuration
|
|
155
|
+
stackingPattern: Type.Union([
|
|
156
|
+
Type.Literal('SINGLE_DEEP'),
|
|
157
|
+
Type.Literal('DOUBLE_DEEP'),
|
|
158
|
+
Type.Literal('MULTIPLE_DEEP')
|
|
159
|
+
]),
|
|
160
|
+
|
|
161
|
+
operationalStatus: Type.Union([
|
|
162
|
+
Type.Literal('ACTIVE'),
|
|
163
|
+
Type.Literal('MAINTENANCE'),
|
|
164
|
+
Type.Literal('RESERVED'),
|
|
165
|
+
Type.Literal('OUT_OF_SERVICE')
|
|
166
|
+
])
|
|
167
|
+
})
|
|
168
|
+
|
|
169
|
+
// Terminal Position Schema - Individual storage/handling positions
|
|
170
|
+
export const TerminalPositionSchema = Type.Object({
|
|
171
|
+
type: Type.Literal('POSITION'),
|
|
172
|
+
parentId: Type.String({ description: 'Must belong to a row' }),
|
|
173
|
+
positionNumber: Type.Number({ minimum: 1 }),
|
|
174
|
+
|
|
175
|
+
// Physical specifications
|
|
176
|
+
maxWeight: WeightSchema,
|
|
177
|
+
maxHeight: LengthSchema,
|
|
178
|
+
groundBearing: WeightSchema,
|
|
179
|
+
|
|
180
|
+
// Current status
|
|
181
|
+
occupied: Type.Boolean(),
|
|
182
|
+
reserved: Type.Boolean(),
|
|
183
|
+
damaged: Type.Boolean(),
|
|
184
|
+
|
|
185
|
+
// Current cargo information
|
|
186
|
+
currentCargo: Type.Optional(Type.Object({
|
|
187
|
+
cargoId: Type.String(),
|
|
188
|
+
cargoType: Type.String(),
|
|
189
|
+
weight: WeightSchema,
|
|
190
|
+
arrivalTime: Type.Number(),
|
|
191
|
+
plannedDeparture: Type.Optional(Type.Number()),
|
|
192
|
+
vesselId: Type.Optional(Type.String()),
|
|
193
|
+
bookingReference: Type.Optional(Type.String())
|
|
194
|
+
})),
|
|
195
|
+
|
|
196
|
+
// Special features
|
|
197
|
+
powerConnection: Type.Boolean(),
|
|
198
|
+
dataConnection: Type.Boolean(),
|
|
199
|
+
monitoringEquipment: Type.Boolean(),
|
|
200
|
+
|
|
201
|
+
// Maintenance and inspection
|
|
202
|
+
lastInspection: Type.Optional(Type.Number()),
|
|
203
|
+
nextMaintenanceDue: Type.Optional(Type.Number()),
|
|
204
|
+
conditionRating: Type.Number({
|
|
205
|
+
minimum: 0,
|
|
206
|
+
maximum: 10,
|
|
207
|
+
description: 'Position condition rating'
|
|
208
|
+
})
|
|
209
|
+
})
|
|
210
|
+
|
|
211
|
+
// Terminal Berth Schema - Vessel berthing positions
|
|
212
|
+
export const TerminalBerthSchema = Type.Object({
|
|
213
|
+
type: Type.Literal('BERTH'),
|
|
214
|
+
parentId: Type.String({ description: 'Must belong to a berth zone' }),
|
|
215
|
+
berthNumber: Type.String(),
|
|
216
|
+
|
|
217
|
+
// Physical specifications
|
|
218
|
+
length: LengthSchema,
|
|
219
|
+
depth: LengthSchema,
|
|
220
|
+
maxVesselLength: LengthSchema,
|
|
221
|
+
maxVesselBeam: LengthSchema,
|
|
222
|
+
maxDraft: LengthSchema,
|
|
223
|
+
maxDeadweight: WeightSchema,
|
|
224
|
+
maxTEU: Type.Number({ minimum: 0 }),
|
|
225
|
+
|
|
226
|
+
// Infrastructure
|
|
227
|
+
cranes: Type.Array(Type.Object({
|
|
228
|
+
craneId: Type.String(),
|
|
229
|
+
craneType: Type.Union([
|
|
230
|
+
Type.Literal('SHIP_TO_SHORE'),
|
|
231
|
+
Type.Literal('MOBILE_HARBOR'),
|
|
232
|
+
Type.Literal('GANTRY'),
|
|
233
|
+
Type.Literal('BULK_HANDLER')
|
|
234
|
+
]),
|
|
235
|
+
maxReach: LengthSchema,
|
|
236
|
+
maxLift: WeightSchema,
|
|
237
|
+
available: Type.Boolean()
|
|
238
|
+
})),
|
|
239
|
+
|
|
240
|
+
// Services available
|
|
241
|
+
services: Type.Object({
|
|
242
|
+
freshWater: Type.Boolean(),
|
|
243
|
+
fuelBunkering: Type.Boolean(),
|
|
244
|
+
shorePower: Type.Boolean(),
|
|
245
|
+
wasteReception: Type.Boolean(),
|
|
246
|
+
provisions: Type.Boolean(),
|
|
247
|
+
pilotage: Type.Boolean(),
|
|
248
|
+
tugAssistance: Type.Boolean(),
|
|
249
|
+
linesmen: Type.Boolean()
|
|
250
|
+
}),
|
|
251
|
+
|
|
252
|
+
// Current occupation
|
|
253
|
+
currentVessel: Type.Optional(Type.Object({
|
|
254
|
+
vesselId: Type.String(),
|
|
255
|
+
vesselName: Type.String(),
|
|
256
|
+
arrivalTime: Type.Number(),
|
|
257
|
+
plannedDeparture: Type.Number(),
|
|
258
|
+
operationType: Type.Union([
|
|
259
|
+
Type.Literal('LOADING'),
|
|
260
|
+
Type.Literal('DISCHARGING'),
|
|
261
|
+
Type.Literal('BOTH'),
|
|
262
|
+
Type.Literal('MAINTENANCE'),
|
|
263
|
+
Type.Literal('WAITING')
|
|
264
|
+
])
|
|
265
|
+
})),
|
|
266
|
+
|
|
267
|
+
// Operational status
|
|
268
|
+
operationalStatus: Type.Union([
|
|
269
|
+
Type.Literal('AVAILABLE'),
|
|
270
|
+
Type.Literal('OCCUPIED'),
|
|
271
|
+
Type.Literal('RESERVED'),
|
|
272
|
+
Type.Literal('MAINTENANCE'),
|
|
273
|
+
Type.Literal('OUT_OF_SERVICE')
|
|
274
|
+
]),
|
|
275
|
+
|
|
276
|
+
// Environmental conditions
|
|
277
|
+
tidalRange: LengthSchema,
|
|
278
|
+
currentVelocity: Type.Number({ minimum: 0, description: 'knots' }),
|
|
279
|
+
windExposure: Type.Union([
|
|
280
|
+
Type.Literal('SHELTERED'),
|
|
281
|
+
Type.Literal('MODERATE'),
|
|
282
|
+
Type.Literal('EXPOSED')
|
|
283
|
+
])
|
|
284
|
+
})
|
|
285
|
+
|
|
286
|
+
// Terminal Pricing Rule Schema
|
|
287
|
+
export const TerminalPricingRuleSchema = Type.Composite([
|
|
288
|
+
PricingRuleSchema,
|
|
289
|
+
Type.Object({
|
|
290
|
+
process: PassthroughOrderProcessSchema,
|
|
291
|
+
|
|
292
|
+
// Terminal-specific pricing factors
|
|
293
|
+
vesselSize: Type.Optional(Type.Object({
|
|
294
|
+
minTEU: Type.Number({ minimum: 0 }),
|
|
295
|
+
maxTEU: Type.Number({ minimum: 0 }),
|
|
296
|
+
priceMultiplier: Type.Number({ minimum: 0 })
|
|
297
|
+
})),
|
|
298
|
+
|
|
299
|
+
cargoType: Type.Optional(Type.Union([
|
|
300
|
+
Type.Literal('CONTAINER'),
|
|
301
|
+
Type.Literal('BULK'),
|
|
302
|
+
Type.Literal('BREAK_BULK'),
|
|
303
|
+
Type.Literal('RO_RO'),
|
|
304
|
+
Type.Literal('PROJECT_CARGO'),
|
|
305
|
+
Type.Literal('HAZMAT')
|
|
306
|
+
])),
|
|
307
|
+
|
|
308
|
+
serviceType: Type.Optional(Type.Union([
|
|
309
|
+
Type.Literal('LOADING'),
|
|
310
|
+
Type.Literal('DISCHARGING'),
|
|
311
|
+
Type.Literal('STORAGE'),
|
|
312
|
+
Type.Literal('TRANSSHIPMENT'),
|
|
313
|
+
Type.Literal('CUSTOMS_CLEARANCE'),
|
|
314
|
+
Type.Literal('INSPECTION')
|
|
315
|
+
])),
|
|
316
|
+
|
|
317
|
+
dwellTime: Type.Optional(Type.Object({
|
|
318
|
+
freeTime: Type.Number({ minimum: 0, description: 'hours' }),
|
|
319
|
+
demurrageRate: MoneySchema,
|
|
320
|
+
storageRate: MoneySchema
|
|
321
|
+
}))
|
|
322
|
+
})
|
|
323
|
+
])
|
|
324
|
+
|
|
325
|
+
// Terminal Type Schema - Different categories of marine terminals
|
|
326
|
+
export const TerminalTypeSchema = Type.Union([
|
|
327
|
+
Type.Literal('CONTAINER'), // Container terminal
|
|
328
|
+
Type.Literal('BULK_DRY'), // Dry bulk terminal (coal, grain, ore)
|
|
329
|
+
Type.Literal('BULK_LIQUID'), // Liquid bulk terminal (oil, chemicals)
|
|
330
|
+
Type.Literal('GENERAL_CARGO'), // General/break-bulk cargo terminal
|
|
331
|
+
Type.Literal('MULTIPURPOSE'), // Multi-purpose terminal
|
|
332
|
+
Type.Literal('RO_RO'), // Roll-on/Roll-off terminal
|
|
333
|
+
Type.Literal('CRUISE'), // Passenger/cruise terminal
|
|
334
|
+
Type.Literal('FERRY'), // Ferry terminal
|
|
335
|
+
Type.Literal('FISHING'), // Fishing port terminal
|
|
336
|
+
Type.Literal('NAVAL'), // Naval/military terminal
|
|
337
|
+
Type.Literal('INDUSTRIAL'), // Industrial port terminal
|
|
338
|
+
Type.Literal('INTERMODAL'), // Intermodal freight terminal
|
|
339
|
+
Type.Literal('OFFSHORE') // Offshore support terminal
|
|
340
|
+
])
|
|
341
|
+
|
|
342
|
+
// Main Terminal Schema
|
|
343
|
+
export const TerminalSchema = Type.Composite([
|
|
344
|
+
BaseServiceDefinitionSchema,
|
|
345
|
+
Type.Object({
|
|
346
|
+
type: TerminalTypeSchema,
|
|
347
|
+
|
|
348
|
+
// Terminal capability, Capacity, Operation coverage
|
|
349
|
+
capabilities: Type.Array(Type.String()), // Capability Composite IDs
|
|
350
|
+
capacities: Type.Array(Type.String()), // Capacity Composite IDs
|
|
351
|
+
coverage: Type.Array(Type.String()), // Coverage segment IDs
|
|
352
|
+
pricing: Type.Array(Type.String()), // Pricing rules IDs
|
|
353
|
+
|
|
354
|
+
// Terminal-specific properties
|
|
355
|
+
portCode: Type.String({ description: 'UN/LOCODE port identifier' }),
|
|
356
|
+
terminalCode: Type.String({ description: 'Terminal identifier within port' }),
|
|
357
|
+
|
|
358
|
+
// Physical characteristics
|
|
359
|
+
waterDepth: LengthSchema,
|
|
360
|
+
totalArea: AreaSchema,
|
|
361
|
+
numberOfBerths: Type.Number({ minimum: 0 }),
|
|
362
|
+
maxVesselSize: Type.Object({
|
|
363
|
+
length: LengthSchema,
|
|
364
|
+
beam: LengthSchema,
|
|
365
|
+
draft: LengthSchema,
|
|
366
|
+
deadweight: WeightSchema
|
|
367
|
+
}),
|
|
368
|
+
|
|
369
|
+
// Operational characteristics
|
|
370
|
+
operatingHours: Type.Object({
|
|
371
|
+
vesselOperations: Type.String({ description: '24/7 or specific hours' }),
|
|
372
|
+
gateOperations: Type.String({ description: 'Gate operating hours' }),
|
|
373
|
+
customsOperations: Type.String({ description: 'Customs operating hours' })
|
|
374
|
+
}),
|
|
375
|
+
|
|
376
|
+
// Services offered
|
|
377
|
+
services: Type.Array(Type.Union([
|
|
378
|
+
Type.Literal('VESSEL_BERTHING'),
|
|
379
|
+
Type.Literal('CARGO_HANDLING'),
|
|
380
|
+
Type.Literal('STORAGE'),
|
|
381
|
+
Type.Literal('CUSTOMS_CLEARANCE'),
|
|
382
|
+
Type.Literal('INSPECTION'),
|
|
383
|
+
Type.Literal('QUARANTINE'),
|
|
384
|
+
Type.Literal('PILOTAGE'),
|
|
385
|
+
Type.Literal('TUGBOAT'),
|
|
386
|
+
Type.Literal('BUNKERING'),
|
|
387
|
+
Type.Literal('FRESH_WATER'),
|
|
388
|
+
Type.Literal('WASTE_DISPOSAL'),
|
|
389
|
+
Type.Literal('SHIP_REPAIR'),
|
|
390
|
+
Type.Literal('CREW_CHANGE'),
|
|
391
|
+
Type.Literal('PROVISIONS')
|
|
392
|
+
])),
|
|
393
|
+
|
|
394
|
+
// Certifications and compliance
|
|
395
|
+
certifications: Type.Array(Type.Union([
|
|
396
|
+
Type.Literal('ISPS_COMPLIANT'),
|
|
397
|
+
Type.Literal('ISO_9001'),
|
|
398
|
+
Type.Literal('ISO_14001'),
|
|
399
|
+
Type.Literal('C_TPAT'),
|
|
400
|
+
Type.Literal('AEO'),
|
|
401
|
+
Type.Literal('CUSTOMS_BONDED'),
|
|
402
|
+
Type.Literal('FREE_ZONE'),
|
|
403
|
+
Type.Literal('HAZMAT_CERTIFIED')
|
|
404
|
+
])),
|
|
405
|
+
|
|
406
|
+
// Performance metrics
|
|
407
|
+
performance: Type.Optional(TerminalPerformanceSchema)
|
|
408
|
+
})
|
|
409
|
+
])
|
|
410
|
+
|
|
411
|
+
export const TerminalUpdateSchema = Type.Composite([
|
|
412
|
+
BaseServiceDefinitionUpdateSchema,
|
|
413
|
+
Type.Object({
|
|
414
|
+
type: Type.Optional(TerminalTypeSchema)
|
|
415
|
+
})
|
|
416
|
+
])
|
|
417
|
+
|
|
418
|
+
// TypeScript type exports
|
|
419
|
+
export type TerminalZone = Static<typeof TerminalZoneSchema>
|
|
420
|
+
export type TerminalBlock = Static<typeof TerminalBlockSchema>
|
|
421
|
+
export type TerminalRow = Static<typeof TerminalRowSchema>
|
|
422
|
+
export type TerminalPosition = Static<typeof TerminalPositionSchema>
|
|
423
|
+
export type TerminalBerth = Static<typeof TerminalBerthSchema>
|
|
424
|
+
export type TerminalPricingRule = Static<typeof TerminalPricingRuleSchema>
|
|
425
|
+
export type TerminalType = Static<typeof TerminalTypeSchema>
|
|
426
|
+
export type Terminal = Static<typeof TerminalSchema>
|
|
427
|
+
export type TerminalUpdate = Static<typeof TerminalUpdateSchema>
|
|
428
|
+
|
|
429
|
+
// Re-export all terminal capability schemas and types
|
|
430
|
+
export * from './capabilities'
|
|
431
|
+
|
|
432
|
+
// Re-export all terminal capacity schemas and types
|
|
433
|
+
export * from './capacities'
|
|
434
|
+
|
|
435
|
+
// Re-export all terminal performance schemas and types
|
|
436
|
+
export * from './performance'
|
|
437
|
+
|
|
438
|
+
// Re-export all terminal analytics schemas and types
|
|
439
|
+
export * from './analytics'
|
|
440
|
+
|
|
441
|
+
// Re-export all terminal utilities schemas and types
|
|
442
|
+
export * from './utilities'
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { Type, Static } from '@sinclair/typebox'
|
|
2
|
+
import { DurationSchema } from '../../time'
|
|
3
|
+
import { MoneySchema } from '../../measure'
|
|
4
|
+
import { SPPerformanceSummarySchema } from '../../context'
|
|
5
|
+
|
|
6
|
+
// Current performance metrics for terminals
|
|
7
|
+
export const TerminalCurrentPerformanceSchema = Type.Object({
|
|
8
|
+
vesselPerformance: Type.Object({
|
|
9
|
+
vesselTurnaroundTime: DurationSchema,
|
|
10
|
+
berthProductivity: Type.Number({ minimum: 0, description: 'moves per hour' }),
|
|
11
|
+
berthOccupancy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
12
|
+
vesselWaitingTime: DurationSchema,
|
|
13
|
+
onTimeVesselDeparture: Type.Number({ minimum: 0, maximum: 100 })
|
|
14
|
+
}),
|
|
15
|
+
cargoPerformance: Type.Object({
|
|
16
|
+
dailyThroughput: Type.Number({ minimum: 0 }),
|
|
17
|
+
hourlyThroughput: Type.Number({ minimum: 0 }),
|
|
18
|
+
craneProductivity: Type.Number({ minimum: 0, description: 'moves per hour' }),
|
|
19
|
+
yardProductivity: Type.Number({ minimum: 0, description: 'moves per hour' }),
|
|
20
|
+
overallUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
21
|
+
dwellTime: DurationSchema
|
|
22
|
+
}),
|
|
23
|
+
gatePerformance: Type.Object({
|
|
24
|
+
truckTurnaroundTime: DurationSchema,
|
|
25
|
+
gateProductivity: Type.Number({ minimum: 0, description: 'trucks per hour' }),
|
|
26
|
+
appointmentCompliance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
27
|
+
gateUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
28
|
+
averageWaitTime: DurationSchema
|
|
29
|
+
}),
|
|
30
|
+
systemPerformance: Type.Object({
|
|
31
|
+
systemUptime: Type.Number({ minimum: 0, maximum: 100 }),
|
|
32
|
+
equipmentAvailability: Type.Number({ minimum: 0, maximum: 100 }),
|
|
33
|
+
automationLevel: Type.Number({ minimum: 0, maximum: 100 }),
|
|
34
|
+
digitalIntegration: Type.Number({ minimum: 0, maximum: 100 }),
|
|
35
|
+
dataAccuracy: Type.Number({ minimum: 0, maximum: 100 })
|
|
36
|
+
})
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
// Peak performance metrics for terminals
|
|
40
|
+
export const TerminalPeakPerformanceSchema = Type.Object({
|
|
41
|
+
peakThroughput: Type.Object({
|
|
42
|
+
peakDailyThroughput: Type.Number({ minimum: 0 }),
|
|
43
|
+
peakHourlyThroughput: Type.Number({ minimum: 0 }),
|
|
44
|
+
peakVesselHandling: Type.Number({ minimum: 0, description: 'vessels per day' }),
|
|
45
|
+
peakCranePerformance: Type.Number({ minimum: 0, description: 'moves per hour' }),
|
|
46
|
+
peakGatePerformance: Type.Number({ minimum: 0, description: 'trucks per hour' })
|
|
47
|
+
}),
|
|
48
|
+
peakUtilization: Type.Object({
|
|
49
|
+
peakBerthUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
50
|
+
peakYardUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
51
|
+
peakEquipmentUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
52
|
+
peakStorageUtilization: Type.Number({ minimum: 0, maximum: 100 }),
|
|
53
|
+
peakStaffUtilization: Type.Number({ minimum: 0, maximum: 100 })
|
|
54
|
+
}),
|
|
55
|
+
peakCapacity: Type.Object({
|
|
56
|
+
peakCapacityMultiplier: Type.Number({ minimum: 1 }),
|
|
57
|
+
sustainablePeakDuration: DurationSchema,
|
|
58
|
+
peakSeasonCapacity: Type.Number({ minimum: 0, maximum: 200 }),
|
|
59
|
+
lastPeakDate: Type.Optional(Type.Number()),
|
|
60
|
+
peakTriggerThreshold: Type.Number({ minimum: 0, maximum: 100 })
|
|
61
|
+
})
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
// Quality and accuracy metrics for terminals
|
|
65
|
+
export const TerminalQualityPerformanceSchema = Type.Object({
|
|
66
|
+
cargoAccuracy: Type.Object({
|
|
67
|
+
overallAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
68
|
+
loadingAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
69
|
+
dischargingAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
70
|
+
documentationAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
71
|
+
inventoryAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
72
|
+
damageRate: Type.Number({ minimum: 0, maximum: 100 }),
|
|
73
|
+
lossRate: Type.Number({ minimum: 0, maximum: 100 })
|
|
74
|
+
}),
|
|
75
|
+
operationalQuality: Type.Object({
|
|
76
|
+
vesselHandlingAccuracy: Type.Number({ minimum: 0, maximum: 100 }),
|
|
77
|
+
equipmentReliability: Type.Number({ minimum: 0, maximum: 100 }),
|
|
78
|
+
systemReliability: Type.Number({ minimum: 0, maximum: 100 }),
|
|
79
|
+
safetyPerformance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
80
|
+
environmentalCompliance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
81
|
+
customerSatisfaction: Type.Number({ minimum: 0, maximum: 100 })
|
|
82
|
+
}),
|
|
83
|
+
serviceQuality: Type.Object({
|
|
84
|
+
serviceReliability: Type.Number({ minimum: 0, maximum: 100 }),
|
|
85
|
+
responseTime: DurationSchema,
|
|
86
|
+
issueResolutionTime: DurationSchema,
|
|
87
|
+
communicationEffectiveness: Type.Number({ minimum: 0, maximum: 100 }),
|
|
88
|
+
proactiveServiceLevel: Type.Number({ minimum: 0, maximum: 100 })
|
|
89
|
+
})
|
|
90
|
+
})
|
|
91
|
+
|
|
92
|
+
// Time-based performance for terminals
|
|
93
|
+
export const TerminalTimingPerformanceSchema = Type.Object({
|
|
94
|
+
vesselTiming: Type.Object({
|
|
95
|
+
averageVesselTurnaroundTime: DurationSchema,
|
|
96
|
+
minVesselTurnaroundTime: DurationSchema,
|
|
97
|
+
maxVesselTurnaroundTime: DurationSchema,
|
|
98
|
+
vesselPunctuality: Type.Number({ minimum: 0, maximum: 100 }),
|
|
99
|
+
berthAllocationTime: DurationSchema,
|
|
100
|
+
pilotageWaitTime: DurationSchema
|
|
101
|
+
}),
|
|
102
|
+
cargoTiming: Type.Object({
|
|
103
|
+
averageCargoHandlingTime: DurationSchema,
|
|
104
|
+
containerDwellTime: DurationSchema,
|
|
105
|
+
customsClearanceTime: DurationSchema,
|
|
106
|
+
documentProcessingTime: DurationSchema,
|
|
107
|
+
cargoReleaseTime: DurationSchema,
|
|
108
|
+
storageProcessingTime: DurationSchema
|
|
109
|
+
}),
|
|
110
|
+
gateTiming: Type.Object({
|
|
111
|
+
averageTruckTurnaroundTime: DurationSchema,
|
|
112
|
+
gateProcessingTime: DurationSchema,
|
|
113
|
+
appointmentPunctuality: Type.Number({ minimum: 0, maximum: 100 }),
|
|
114
|
+
peakHourPerformance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
115
|
+
offPeakPerformance: Type.Number({ minimum: 0, maximum: 100 })
|
|
116
|
+
}),
|
|
117
|
+
slaCompliance: Type.Object({
|
|
118
|
+
overallSlaCompliance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
119
|
+
vesselSlaCompliance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
120
|
+
cargoSlaCompliance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
121
|
+
customsSlaCompliance: Type.Number({ minimum: 0, maximum: 100 }),
|
|
122
|
+
documentSlaCompliance: Type.Number({ minimum: 0, maximum: 100 })
|
|
123
|
+
})
|
|
124
|
+
})
|
|
125
|
+
|
|
126
|
+
// Cost performance for terminals
|
|
127
|
+
export const TerminalCostPerformanceSchema = Type.Object({
|
|
128
|
+
handlingCosts: Type.Object({
|
|
129
|
+
costPerTEU: MoneySchema,
|
|
130
|
+
costPerTon: MoneySchema,
|
|
131
|
+
costPerVessel: MoneySchema,
|
|
132
|
+
costPerMove: MoneySchema,
|
|
133
|
+
costPerSquareMeter: MoneySchema
|
|
134
|
+
}),
|
|
135
|
+
operationalCosts: Type.Object({
|
|
136
|
+
laborCostPerHour: MoneySchema,
|
|
137
|
+
equipmentCostPerHour: MoneySchema,
|
|
138
|
+
energyCostPerTEU: MoneySchema,
|
|
139
|
+
maintenanceCostPerTEU: MoneySchema,
|
|
140
|
+
totalOperatingCost: MoneySchema
|
|
141
|
+
}),
|
|
142
|
+
efficiency: Type.Object({
|
|
143
|
+
costEfficiency: Type.Number({ minimum: 0, maximum: 100 }),
|
|
144
|
+
productivityPerDollar: Type.Number({ minimum: 0 }),
|
|
145
|
+
revenuePerSquareMeter: MoneySchema,
|
|
146
|
+
profitMargin: Type.Number({ minimum: 0, maximum: 100 }),
|
|
147
|
+
returnOnAssets: Type.Number({ minimum: 0, maximum: 100 })
|
|
148
|
+
})
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
// Combined terminal performance schema
|
|
152
|
+
export const TerminalPerformanceSchema = Type.Object({
|
|
153
|
+
summary: SPPerformanceSummarySchema,
|
|
154
|
+
metrics: Type.Object({
|
|
155
|
+
current: TerminalCurrentPerformanceSchema,
|
|
156
|
+
peak: TerminalPeakPerformanceSchema,
|
|
157
|
+
quality: TerminalQualityPerformanceSchema,
|
|
158
|
+
timing: TerminalTimingPerformanceSchema,
|
|
159
|
+
costs: Type.Optional(TerminalCostPerformanceSchema)
|
|
160
|
+
})
|
|
161
|
+
})
|
|
162
|
+
|
|
163
|
+
export type TerminalCurrentPerformance = Static<typeof TerminalCurrentPerformanceSchema>
|
|
164
|
+
export type TerminalPeakPerformance = Static<typeof TerminalPeakPerformanceSchema>
|
|
165
|
+
export type TerminalQualityPerformance = Static<typeof TerminalQualityPerformanceSchema>
|
|
166
|
+
export type TerminalTimingPerformance = Static<typeof TerminalTimingPerformanceSchema>
|
|
167
|
+
export type TerminalCostPerformance = Static<typeof TerminalCostPerformanceSchema>
|
|
168
|
+
export type TerminalPerformance = Static<typeof TerminalPerformanceSchema>
|