@de./sdk 1.0.4 → 2.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/allend/Access.d.ts +39 -3
- package/dist/allend/Access.js +147 -114
- package/dist/allend/Access.js.map +1 -1
- package/dist/allend/Agent/consolidation.d.ts +16 -0
- package/dist/allend/Agent/consolidation.js +38 -0
- package/dist/allend/Agent/consolidation.js.map +1 -0
- package/dist/allend/Agent/delivery.d.ts +11 -0
- package/dist/allend/Agent/delivery.js +43 -0
- package/dist/allend/Agent/delivery.js.map +1 -0
- package/dist/allend/Agent/dispatch.d.ts +8 -0
- package/dist/allend/Agent/dispatch.js +24 -0
- package/dist/allend/Agent/dispatch.js.map +1 -0
- package/dist/allend/Agent/index.d.ts +49 -0
- package/dist/allend/Agent/index.js +74 -0
- package/dist/allend/Agent/index.js.map +1 -0
- package/dist/allend/Agent/navigation.d.ts +8 -0
- package/dist/allend/Agent/navigation.js +25 -0
- package/dist/allend/Agent/navigation.js.map +1 -0
- package/dist/allend/Agent/origin.d.ts +9 -0
- package/dist/allend/Agent/origin.js +31 -0
- package/dist/allend/Agent/origin.js.map +1 -0
- package/dist/allend/Agent/reallocation.d.ts +7 -0
- package/dist/allend/Agent/reallocation.js +17 -0
- package/dist/allend/Agent/reallocation.js.map +1 -0
- package/dist/allend/Agent/realtime.d.ts +36 -0
- package/dist/allend/Agent/realtime.js +111 -0
- package/dist/allend/Agent/realtime.js.map +1 -0
- package/dist/allend/Agent/rides.d.ts +12 -0
- package/dist/allend/Agent/rides.js +51 -0
- package/dist/allend/Agent/rides.js.map +1 -0
- package/dist/allend/Agent/shipping.d.ts +11 -0
- package/dist/allend/Agent/shipping.js +43 -0
- package/dist/allend/Agent/shipping.js.map +1 -0
- package/dist/allend/CSP/analytics.d.ts +12 -0
- package/dist/allend/CSP/analytics.js +51 -0
- package/dist/allend/CSP/analytics.js.map +1 -0
- package/dist/allend/CSP/index.d.ts +25 -0
- package/dist/allend/CSP/index.js +43 -0
- package/dist/allend/CSP/index.js.map +1 -0
- package/dist/allend/CSP/inventory.d.ts +16 -0
- package/dist/allend/CSP/inventory.js +78 -0
- package/dist/allend/CSP/inventory.js.map +1 -0
- package/dist/allend/CSP/orders.d.ts +19 -0
- package/dist/allend/CSP/orders.js +97 -0
- package/dist/allend/CSP/orders.js.map +1 -0
- package/dist/allend/CSP/webhooks.d.ts +13 -0
- package/dist/allend/CSP/webhooks.js +56 -0
- package/dist/allend/CSP/webhooks.js.map +1 -0
- package/dist/allend/Customer/index.d.ts +27 -0
- package/dist/allend/Customer/index.js +39 -0
- package/dist/allend/Customer/index.js.map +1 -0
- package/dist/allend/Customer/intents.d.ts +12 -0
- package/dist/allend/Customer/intents.js +55 -0
- package/dist/allend/Customer/intents.js.map +1 -0
- package/dist/allend/Customer/orders.d.ts +11 -0
- package/dist/allend/Customer/orders.js +43 -0
- package/dist/allend/Customer/orders.js.map +1 -0
- package/dist/allend/Customer/rides.d.ts +12 -0
- package/dist/allend/Customer/rides.js +50 -0
- package/dist/allend/Customer/rides.js.map +1 -0
- package/dist/allend/DEV/developers.d.ts +11 -0
- package/dist/allend/DEV/developers.js +35 -0
- package/dist/allend/DEV/developers.js.map +1 -0
- package/dist/allend/DEV/index.d.ts +19 -0
- package/dist/allend/DEV/index.js +37 -0
- package/dist/allend/DEV/index.js.map +1 -0
- package/dist/allend/IoTClient.js +29 -35
- package/dist/allend/IoTClient.js.map +1 -1
- package/dist/allend/IoTSP/backend.d.ts +29 -0
- package/dist/allend/IoTSP/backend.js +75 -0
- package/dist/allend/IoTSP/backend.js.map +1 -0
- package/dist/allend/IoTSP/devices.d.ts +14 -0
- package/dist/allend/IoTSP/devices.js +61 -0
- package/dist/allend/IoTSP/devices.js.map +1 -0
- package/dist/allend/IoTSP/index.d.ts +28 -0
- package/dist/allend/IoTSP/index.js +84 -0
- package/dist/allend/IoTSP/index.js.map +1 -0
- package/dist/allend/IoTSP/rules.d.ts +17 -0
- package/dist/allend/IoTSP/rules.js +81 -0
- package/dist/allend/IoTSP/rules.js.map +1 -0
- package/dist/allend/IoTSP/topics.d.ts +17 -0
- package/dist/allend/IoTSP/topics.js +81 -0
- package/dist/allend/IoTSP/topics.js.map +1 -0
- package/dist/allend/LSP/agents.d.ts +20 -0
- package/dist/allend/LSP/agents.js +89 -0
- package/dist/allend/LSP/agents.js.map +1 -0
- package/dist/allend/LSP/carriers.d.ts +54 -0
- package/dist/allend/LSP/carriers.js +315 -0
- package/dist/allend/LSP/carriers.js.map +1 -0
- package/dist/allend/LSP/coverage.d.ts +44 -0
- package/dist/allend/LSP/coverage.js +135 -0
- package/dist/allend/LSP/coverage.js.map +1 -0
- package/dist/allend/LSP/fleets.d.ts +66 -0
- package/dist/allend/LSP/fleets.js +381 -0
- package/dist/allend/LSP/fleets.js.map +1 -0
- package/dist/allend/LSP/hubs.d.ts +39 -0
- package/dist/allend/LSP/hubs.js +186 -0
- package/dist/allend/LSP/hubs.js.map +1 -0
- package/dist/allend/LSP/index.d.ts +37 -0
- package/dist/allend/LSP/index.js +55 -0
- package/dist/allend/LSP/index.js.map +1 -0
- package/dist/allend/LSP/inventory.d.ts +13 -0
- package/dist/allend/LSP/inventory.js +56 -0
- package/dist/allend/LSP/inventory.js.map +1 -0
- package/dist/allend/LSP/operations.d.ts +47 -0
- package/dist/allend/LSP/operations.js +156 -0
- package/dist/allend/LSP/operations.js.map +1 -0
- package/dist/allend/LSP/orders.d.ts +69 -0
- package/dist/allend/LSP/orders.js +303 -0
- package/dist/allend/LSP/orders.js.map +1 -0
- package/dist/allend/LSP/pods.d.ts +26 -0
- package/dist/allend/LSP/pods.js +137 -0
- package/dist/allend/LSP/pods.js.map +1 -0
- package/dist/allend/LSP/pricing.d.ts +35 -0
- package/dist/allend/LSP/pricing.js +151 -0
- package/dist/allend/LSP/pricing.js.map +1 -0
- package/dist/allend/LSP/psl.d.ts +15 -0
- package/dist/allend/LSP/psl.js +68 -0
- package/dist/allend/LSP/psl.js.map +1 -0
- package/dist/allend/LSP/warehouses.d.ts +23 -0
- package/dist/allend/LSP/warehouses.js +94 -0
- package/dist/allend/LSP/warehouses.js.map +1 -0
- package/dist/allend/MSI/Controls.d.ts +9 -5
- package/dist/allend/MSI/Controls.js +269 -297
- package/dist/allend/MSI/Controls.js.map +1 -1
- package/dist/allend/MSI/Handles.d.ts +5 -4
- package/dist/allend/MSI/Handles.js +136 -233
- package/dist/allend/MSI/Handles.js.map +1 -1
- package/dist/allend/MSI/Plugins.d.ts +2 -2
- package/dist/allend/MSI/Plugins.js +12 -15
- package/dist/allend/MSI/Plugins.js.map +1 -1
- package/dist/allend/MSI/index.d.ts +4 -3
- package/dist/allend/MSI/index.js +123 -87
- package/dist/allend/MSI/index.js.map +1 -1
- package/dist/allend/MSI/native.d.ts +32 -0
- package/dist/allend/MSI/native.js +246 -0
- package/dist/allend/MSI/native.js.map +1 -0
- package/dist/allend/MSI/token.d.ts +12 -0
- package/dist/allend/MSI/token.js +21 -0
- package/dist/allend/MSI/token.js.map +1 -0
- package/dist/allend/OTPAuth/index.d.ts +77 -0
- package/dist/allend/OTPAuth/index.js +69 -0
- package/dist/allend/OTPAuth/index.js.map +1 -0
- package/dist/allend/Pipelines/analytics.d.ts +8 -0
- package/dist/allend/Pipelines/analytics.js +24 -0
- package/dist/allend/Pipelines/analytics.js.map +1 -0
- package/dist/allend/Pipelines/escalations.d.ts +8 -0
- package/dist/allend/Pipelines/escalations.js +25 -0
- package/dist/allend/Pipelines/escalations.js.map +1 -0
- package/dist/allend/Pipelines/executions.d.ts +11 -0
- package/dist/allend/Pipelines/executions.js +44 -0
- package/dist/allend/Pipelines/executions.js.map +1 -0
- package/dist/allend/Pipelines/index.d.ts +42 -0
- package/dist/allend/Pipelines/index.js +88 -0
- package/dist/allend/Pipelines/index.js.map +1 -0
- package/dist/allend/Pipelines/interventions.d.ts +8 -0
- package/dist/allend/Pipelines/interventions.js +25 -0
- package/dist/allend/Pipelines/interventions.js.map +1 -0
- package/dist/allend/Pipelines/monitor.d.ts +9 -0
- package/dist/allend/Pipelines/monitor.js +30 -0
- package/dist/allend/Pipelines/monitor.js.map +1 -0
- package/dist/allend/Pipelines/queries.d.ts +8 -0
- package/dist/allend/Pipelines/queries.js +25 -0
- package/dist/allend/Pipelines/queries.js.map +1 -0
- package/dist/allend/Pipelines/templates.d.ts +11 -0
- package/dist/allend/Pipelines/templates.js +46 -0
- package/dist/allend/Pipelines/templates.js.map +1 -0
- package/dist/allend/Pipelines/utils.d.ts +0 -0
- package/dist/allend/Pipelines/utils.js +2 -0
- package/dist/allend/Pipelines/utils.js.map +1 -0
- package/dist/allend/Pipelines/webhooks.d.ts +9 -0
- package/dist/allend/Pipelines/webhooks.js +35 -0
- package/dist/allend/Pipelines/webhooks.js.map +1 -0
- package/dist/allend/Pipelines/workers.d.ts +11 -0
- package/dist/allend/Pipelines/workers.js +45 -0
- package/dist/allend/Pipelines/workers.js.map +1 -0
- package/dist/allend/Queries/capacity.d.ts +11 -0
- package/dist/allend/Queries/capacity.js +44 -0
- package/dist/allend/Queries/capacity.js.map +1 -0
- package/dist/allend/Queries/discovery.d.ts +11 -0
- package/dist/allend/Queries/discovery.js +45 -0
- package/dist/allend/Queries/discovery.js.map +1 -0
- package/dist/allend/Queries/index.d.ts +27 -0
- package/dist/allend/Queries/index.js +40 -0
- package/dist/allend/Queries/index.js.map +1 -0
- package/dist/allend/Queries/matching.d.ts +7 -0
- package/dist/allend/Queries/matching.js +18 -0
- package/dist/allend/Queries/matching.js.map +1 -0
- package/dist/allend/Queries/performance.d.ts +9 -0
- package/dist/allend/Queries/performance.js +31 -0
- package/dist/allend/Queries/performance.js.map +1 -0
- package/dist/allend/Queries/pricing.d.ts +11 -0
- package/dist/allend/Queries/pricing.js +43 -0
- package/dist/allend/Queries/pricing.js.map +1 -0
- package/dist/allend/{DClient/Event.d.ts → Realtime/index.d.ts} +2 -6
- package/dist/allend/Realtime/index.js +62 -0
- package/dist/allend/Realtime/index.js.map +1 -0
- package/dist/allend/Shared/account.d.ts +10 -0
- package/dist/allend/Shared/account.js +22 -0
- package/dist/allend/Shared/account.js.map +1 -0
- package/dist/allend/Shared/buckets.d.ts +21 -0
- package/dist/allend/Shared/buckets.js +95 -0
- package/dist/allend/Shared/buckets.js.map +1 -0
- package/dist/allend/Shared/context.d.ts +14 -0
- package/dist/allend/Shared/context.js +33 -0
- package/dist/allend/Shared/context.js.map +1 -0
- package/dist/allend/Shared/faqs.d.ts +20 -0
- package/dist/allend/Shared/faqs.js +87 -0
- package/dist/allend/Shared/faqs.js.map +1 -0
- package/dist/allend/Shared/invitation.d.ts +42 -0
- package/dist/allend/Shared/invitation.js +40 -0
- package/dist/allend/Shared/invitation.js.map +1 -0
- package/dist/allend/Shared/operators.d.ts +39 -0
- package/dist/allend/Shared/operators.js +37 -0
- package/dist/allend/Shared/operators.js.map +1 -0
- package/dist/allend/Shared/users.d.ts +11 -0
- package/dist/allend/Shared/users.js +29 -0
- package/dist/allend/Shared/users.js.map +1 -0
- package/dist/allend/Tracking/index.d.ts +17 -0
- package/dist/allend/Tracking/index.js +39 -0
- package/dist/allend/Tracking/index.js.map +1 -0
- package/dist/allend/Utilities/common.d.ts +12 -0
- package/dist/allend/Utilities/common.js +53 -0
- package/dist/allend/Utilities/common.js.map +1 -0
- package/dist/allend/Utilities/fares.d.ts +10 -0
- package/dist/allend/Utilities/fares.js +39 -0
- package/dist/allend/Utilities/fares.js.map +1 -0
- package/dist/allend/Utilities/index.d.ts +23 -0
- package/dist/allend/Utilities/index.js +36 -0
- package/dist/allend/Utilities/index.js.map +1 -0
- package/dist/allend/Utilities/nearby.d.ts +9 -0
- package/dist/allend/Utilities/nearby.js +32 -0
- package/dist/allend/Utilities/nearby.js.map +1 -0
- package/dist/allend/Workflows/Client.d.ts +17 -0
- package/dist/allend/Workflows/Client.js +50 -0
- package/dist/allend/Workflows/Client.js.map +1 -0
- package/dist/allend/Workflows/Delivery.d.ts +36 -0
- package/dist/allend/Workflows/Delivery.js +16 -0
- package/dist/allend/Workflows/Delivery.js.map +1 -0
- package/dist/allend/Workflows/index.d.ts +11 -0
- package/dist/allend/Workflows/index.js +25 -0
- package/dist/allend/Workflows/index.js.map +1 -0
- package/dist/allend/Workspace/index.d.ts +162 -0
- package/dist/allend/Workspace/index.js +220 -0
- package/dist/allend/Workspace/index.js.map +1 -0
- package/dist/allend/index.d.ts +8 -5
- package/dist/allend/index.js +15 -8
- package/dist/allend/index.js.map +1 -1
- package/dist/backend/Auth.d.ts +28 -4
- package/dist/backend/Auth.js +125 -245
- package/dist/backend/Auth.js.map +1 -1
- package/dist/baseUrl.d.ts +56 -0
- package/dist/baseUrl.js +72 -4
- package/dist/baseUrl.js.map +1 -1
- package/dist/core.d.ts +88 -0
- package/dist/core.js +121 -0
- package/dist/core.js.map +1 -0
- package/dist/error.d.ts +17 -0
- package/dist/error.js +26 -0
- package/dist/error.js.map +1 -0
- package/dist/index.d.ts +30 -12
- package/dist/index.js +38 -14
- package/dist/index.js.map +1 -1
- package/dist/react-native.d.ts +30 -0
- package/dist/react-native.js +55 -0
- package/dist/react-native.js.map +1 -0
- package/dist/types/access.d.ts +64 -7
- package/dist/types/auth.d.ts +17 -17
- package/dist/types/channel.d.ts +45 -0
- package/dist/types/index.d.ts +379 -237
- package/dist/utils/index.d.ts +25 -0
- package/dist/utils/index.js +11 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/stream.js +25 -26
- package/dist/utils/stream.js.map +1 -1
- package/package.json +38 -18
- package/src/allend/Access.ts +143 -13
- package/src/allend/Agent/consolidation.ts +43 -0
- package/src/allend/Agent/delivery.ts +51 -0
- package/src/allend/Agent/dispatch.ts +27 -0
- package/src/allend/Agent/index.ts +113 -0
- package/src/allend/Agent/navigation.ts +27 -0
- package/src/allend/Agent/origin.ts +36 -0
- package/src/allend/Agent/reallocation.ts +16 -0
- package/src/allend/Agent/realtime.ts +140 -0
- package/src/allend/Agent/rides.ts +61 -0
- package/src/allend/Agent/shipping.ts +51 -0
- package/src/allend/CSP/analytics.ts +61 -0
- package/src/allend/CSP/index.ts +57 -0
- package/src/allend/CSP/inventory.ts +96 -0
- package/src/allend/CSP/orders.ts +121 -0
- package/src/allend/CSP/webhooks.ts +68 -0
- package/src/allend/Customer/index.ts +56 -0
- package/src/allend/Customer/intents.ts +66 -0
- package/src/allend/Customer/orders.ts +51 -0
- package/src/allend/Customer/rides.ts +60 -0
- package/src/allend/DEV/developers.ts +42 -0
- package/src/allend/DEV/index.ts +48 -0
- package/src/allend/IoTSP/backend.ts +103 -0
- package/src/allend/IoTSP/devices.ts +74 -0
- package/src/allend/IoTSP/index.ts +69 -0
- package/src/allend/IoTSP/rules.ts +99 -0
- package/src/allend/IoTSP/topics.ts +99 -0
- package/src/allend/LSP/agents.ts +115 -0
- package/src/allend/LSP/carriers.ts +408 -0
- package/src/allend/LSP/coverage.ts +212 -0
- package/src/allend/LSP/fleets.ts +505 -0
- package/src/allend/LSP/hubs.ts +245 -0
- package/src/allend/LSP/index.ts +75 -0
- package/src/allend/LSP/inventory.ts +65 -0
- package/src/allend/LSP/operations.ts +202 -0
- package/src/allend/LSP/orders.ts +397 -0
- package/src/allend/LSP/pods.ts +176 -0
- package/src/allend/LSP/pricing.ts +192 -0
- package/src/allend/LSP/psl.ts +81 -0
- package/src/allend/LSP/warehouses.ts +118 -0
- package/src/allend/MSI/Controls.ts +109 -90
- package/src/allend/MSI/Handles.ts +24 -15
- package/src/allend/MSI/Plugins.ts +3 -3
- package/src/allend/MSI/index.ts +85 -16
- package/src/allend/MSI/native.tsx +314 -0
- package/src/allend/MSI/token.ts +20 -0
- package/src/allend/OTPAuth/index.ts +130 -0
- package/src/allend/Pipelines/analytics.ts +25 -0
- package/src/allend/Pipelines/escalations.ts +26 -0
- package/src/allend/Pipelines/executions.ts +51 -0
- package/src/allend/Pipelines/index.ts +125 -0
- package/src/allend/Pipelines/interventions.ts +27 -0
- package/src/allend/Pipelines/monitor.ts +33 -0
- package/src/allend/Pipelines/queries.ts +27 -0
- package/src/allend/Pipelines/templates.ts +51 -0
- package/src/allend/Pipelines/utils.ts +0 -0
- package/src/allend/Pipelines/webhooks.ts +36 -0
- package/src/allend/Pipelines/workers.ts +49 -0
- package/src/allend/Queries/capacity.ts +51 -0
- package/src/allend/Queries/discovery.ts +53 -0
- package/src/allend/Queries/index.ts +58 -0
- package/src/allend/Queries/matching.ts +16 -0
- package/src/allend/Queries/performance.ts +35 -0
- package/src/allend/Queries/pricing.ts +51 -0
- package/src/allend/{DClient/Event.ts → Realtime/index.ts} +23 -22
- package/src/allend/Shared/account.ts +24 -0
- package/src/allend/Shared/buckets.ts +117 -0
- package/src/allend/Shared/context.ts +36 -0
- package/src/allend/Shared/faqs.ts +106 -0
- package/src/allend/Shared/invitation.ts +77 -0
- package/src/allend/Shared/operators.ts +84 -0
- package/src/allend/Shared/users.ts +32 -0
- package/src/allend/Tracking/index.ts +48 -0
- package/src/allend/Utilities/common.ts +63 -0
- package/src/allend/Utilities/fares.ts +45 -0
- package/src/allend/Utilities/index.ts +52 -0
- package/src/allend/Utilities/nearby.ts +36 -0
- package/src/allend/{DClient → Workflows}/Client.ts +12 -22
- package/src/allend/Workflows/Delivery.ts +94 -0
- package/src/allend/Workflows/index.ts +31 -0
- package/src/allend/Workspace/index.ts +302 -0
- package/src/allend/index.ts +23 -10
- package/src/backend/Auth.ts +68 -35
- package/src/baseUrl.ts +81 -7
- package/src/core.ts +145 -0
- package/src/error.ts +27 -0
- package/src/index.ts +25 -17
- package/src/react-native.ts +43 -0
- package/src/types/access.d.ts +64 -7
- package/src/types/auth.d.ts +17 -17
- package/src/types/channel.d.ts +45 -0
- package/src/types/index.d.ts +379 -237
- package/src/utils/index.ts +33 -1
- package/dist/allend/DAuth/index.d.ts +0 -20
- package/dist/allend/DAuth/index.js +0 -92
- package/dist/allend/DAuth/index.js.map +0 -1
- package/dist/allend/DClient/Client.d.ts +0 -10
- package/dist/allend/DClient/Client.js +0 -144
- package/dist/allend/DClient/Client.js.map +0 -1
- package/dist/allend/DClient/Event.js +0 -100
- package/dist/allend/DClient/Event.js.map +0 -1
- package/dist/allend/DClient/Order.d.ts +0 -49
- package/dist/allend/DClient/Order.js +0 -601
- package/dist/allend/DClient/Order.js.map +0 -1
- package/dist/bundle.js +0 -1
- package/src/allend/DAuth/index.ts +0 -39
- package/src/allend/DClient/Order.ts +0 -452
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { DEVSharedOperatorRetrieveValidation, DEVSharedOperatorFetchValidation, DEVSharedOperatorUpdateValidation, DEVSharedOperatorRemoveValidation, CSPSharedOperatorRetrieveValidation, CSPSharedOperatorFetchValidation, CSPSharedOperatorUpdateValidation, CSPSharedOperatorRemoveValidation, LSPSharedOperatorRetrieveValidation, LSPSharedOperatorFetchValidation, LSPSharedOperatorUpdateValidation, LSPSharedOperatorRemoveValidation, IoTSPSharedOperatorRetrieveValidation, IoTSPSharedOperatorFetchValidation, IoTSPSharedOperatorUpdateValidation, IoTSPSharedOperatorRemoveValidation } from '@de./types/shared/operator';
|
|
2
|
+
import { type Http } from '../../utils';
|
|
3
|
+
import type { OperatorContextType } from '@de./types';
|
|
4
|
+
type OperatorV<C extends OperatorContextType> = {
|
|
5
|
+
DEV: {
|
|
6
|
+
retrieve: DEVSharedOperatorRetrieveValidation;
|
|
7
|
+
fetch: DEVSharedOperatorFetchValidation;
|
|
8
|
+
update: DEVSharedOperatorUpdateValidation;
|
|
9
|
+
remove: DEVSharedOperatorRemoveValidation;
|
|
10
|
+
};
|
|
11
|
+
CSP: {
|
|
12
|
+
retrieve: CSPSharedOperatorRetrieveValidation;
|
|
13
|
+
fetch: CSPSharedOperatorFetchValidation;
|
|
14
|
+
update: CSPSharedOperatorUpdateValidation;
|
|
15
|
+
remove: CSPSharedOperatorRemoveValidation;
|
|
16
|
+
};
|
|
17
|
+
LSP: {
|
|
18
|
+
retrieve: LSPSharedOperatorRetrieveValidation;
|
|
19
|
+
fetch: LSPSharedOperatorFetchValidation;
|
|
20
|
+
update: LSPSharedOperatorUpdateValidation;
|
|
21
|
+
remove: LSPSharedOperatorRemoveValidation;
|
|
22
|
+
};
|
|
23
|
+
IoTSP: {
|
|
24
|
+
retrieve: IoTSPSharedOperatorRetrieveValidation;
|
|
25
|
+
fetch: IoTSPSharedOperatorFetchValidation;
|
|
26
|
+
update: IoTSPSharedOperatorUpdateValidation;
|
|
27
|
+
remove: IoTSPSharedOperatorRemoveValidation;
|
|
28
|
+
};
|
|
29
|
+
}[C];
|
|
30
|
+
export default class SharedOperators<C extends OperatorContextType> {
|
|
31
|
+
private http;
|
|
32
|
+
private ctype;
|
|
33
|
+
constructor(http: Http, ctype: OperatorContextType);
|
|
34
|
+
list(querystring?: OperatorV<C>['fetch']['querystring']): Promise<OperatorV<C>['fetch']['response']>;
|
|
35
|
+
retrieve(id: string): Promise<OperatorV<C>['retrieve']['response']>;
|
|
36
|
+
update(id: string, body: OperatorV<C>['update']['body']): Promise<OperatorV<C>['update']['response']>;
|
|
37
|
+
remove(id: string): Promise<OperatorV<C>['remove']['response']>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const utils_1 = require("../../utils");
|
|
4
|
+
// ─── Class ────────────────────────────────────────────────────────────────────
|
|
5
|
+
class SharedOperators {
|
|
6
|
+
constructor(http, ctype) {
|
|
7
|
+
this.http = http;
|
|
8
|
+
this.ctype = ctype;
|
|
9
|
+
}
|
|
10
|
+
async list(querystring) {
|
|
11
|
+
return await this.http.request({
|
|
12
|
+
url: `/${this.ctype.toLowerCase()}/operators${(0, utils_1.qs)(querystring)}`,
|
|
13
|
+
method: 'GET'
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async retrieve(id) {
|
|
17
|
+
return await this.http.request({
|
|
18
|
+
url: `/${this.ctype.toLowerCase()}/operators/${id}`,
|
|
19
|
+
method: 'GET'
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
async update(id, body) {
|
|
23
|
+
return await this.http.request({
|
|
24
|
+
url: `/${this.ctype.toLowerCase()}/operators/${id}`,
|
|
25
|
+
method: 'PATCH',
|
|
26
|
+
body
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
async remove(id) {
|
|
30
|
+
return await this.http.request({
|
|
31
|
+
url: `/${this.ctype.toLowerCase()}/operators/${id}`,
|
|
32
|
+
method: 'DELETE'
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.default = SharedOperators;
|
|
37
|
+
//# sourceMappingURL=operators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operators.js","sourceRoot":"","sources":["../../../src/allend/Shared/operators.ts"],"names":[],"mappings":";;AAkBA,uCAAgE;AAgChE,iFAAiF;AAEjF,MAAqB,eAAe;IACnC,YAAqB,IAAU,EAAU,KAA0B;QAA9C,SAAI,GAAJ,IAAI,CAAM;QAAU,UAAK,GAAL,KAAK,CAAqB;IAAG,CAAC;IAEvE,KAAK,CAAC,IAAI,CAAE,WAAkD;QAC7D,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAoC;YACjE,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,aAAa,IAAA,UAAE,EAAE,WAAW,CAAE,EAAE;YACjE,MAAM,EAAE,KAAK;SACb,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAE,EAAU;QACzB,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAuC;YACpE,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,cAAc,EAAE,EAAE;YACnD,MAAM,EAAE,KAAK;SACb,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAE,EAAU,EAAE,IAAoC;QAC7D,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAqC;YAClE,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,cAAc,EAAE,EAAE;YACnD,MAAM,EAAE,OAAO;YACf,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAE,EAAU;QACvB,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAqC;YAClE,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,cAAc,EAAE,EAAE;YACnD,MAAM,EAAE,QAAQ;SAChB,CAAC,CAAA;IACH,CAAC;CACD;AA/BD,kCA+BC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SharedUserRetrieveValidation, SharedUserFetchValidation, SharedUserRemoveValidation } from '@de./types/shared/user';
|
|
2
|
+
import type { ContextType } from '@de./types';
|
|
3
|
+
import { type Http } from '../../utils';
|
|
4
|
+
export default class SharedUsers {
|
|
5
|
+
private http;
|
|
6
|
+
private ctype;
|
|
7
|
+
constructor(http: Http, ctype: ContextType);
|
|
8
|
+
list(querystring?: SharedUserFetchValidation['querystring']): Promise<SharedUserFetchValidation['response']>;
|
|
9
|
+
retrieve(uid: string): Promise<SharedUserRetrieveValidation['response']>;
|
|
10
|
+
remove(uid: string): Promise<SharedUserRemoveValidation['response']>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const utils_1 = require("../../utils");
|
|
4
|
+
class SharedUsers {
|
|
5
|
+
constructor(http, ctype) {
|
|
6
|
+
this.http = http;
|
|
7
|
+
this.ctype = ctype;
|
|
8
|
+
}
|
|
9
|
+
async list(querystring) {
|
|
10
|
+
return await this.http.request({
|
|
11
|
+
url: `/${this.ctype.toLowerCase()}/users${(0, utils_1.qs)(querystring)}`,
|
|
12
|
+
method: 'GET'
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
async retrieve(uid) {
|
|
16
|
+
return await this.http.request({
|
|
17
|
+
url: `/${this.ctype.toLowerCase()}/users/${uid}`,
|
|
18
|
+
method: 'GET'
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
async remove(uid) {
|
|
22
|
+
return await this.http.request({
|
|
23
|
+
url: `/${this.ctype.toLowerCase()}/users/${uid}`,
|
|
24
|
+
method: 'DELETE'
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.default = SharedUsers;
|
|
29
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../src/allend/Shared/users.ts"],"names":[],"mappings":";;AAMA,uCAAgE;AAEhE,MAAqB,WAAW;IAC/B,YAAqB,IAAU,EAAU,KAAkB;QAAtC,SAAI,GAAJ,IAAI,CAAM;QAAU,UAAK,GAAL,KAAK,CAAa;IAAG,CAAC;IAE/D,KAAK,CAAC,IAAI,CAAE,WAAsD;QACjE,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAwC;YACrE,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,SAAS,IAAA,UAAE,EAAE,WAAW,CAAE,EAAE;YAC7D,MAAM,EAAE,KAAK;SACb,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAE,GAAW;QAC1B,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAA2C;YACxE,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,UAAU,GAAG,EAAE;YAChD,MAAM,EAAE,KAAK;SACb,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,MAAM,CAAE,GAAW;QACxB,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAyC;YACtE,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,UAAU,GAAG,EAAE;YAChD,MAAM,EAAE,QAAQ;SAChB,CAAC,CAAA;IACH,CAAC;CACD;AAvBD,8BAuBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SharedTrackingSessionValidation } from '@de./types/shared/tracking';
|
|
2
|
+
import AccessManager from '../Access';
|
|
3
|
+
export type TrackingConfig = {
|
|
4
|
+
accessToken: string;
|
|
5
|
+
context: string;
|
|
6
|
+
env?: 'dev' | 'staging' | 'prod';
|
|
7
|
+
platform?: 'web' | 'mobile' | 'server' | 'proxy';
|
|
8
|
+
remoteOrigin?: string;
|
|
9
|
+
/** Per-request deadline in ms. See `AccessOptions.timeout`. */
|
|
10
|
+
timeout?: number;
|
|
11
|
+
/** Explicit service origin, overriding the env table. See `AccessOptions.baseUrl`. */
|
|
12
|
+
baseUrl?: string;
|
|
13
|
+
};
|
|
14
|
+
export default class Tracking extends AccessManager {
|
|
15
|
+
constructor(config: TrackingConfig);
|
|
16
|
+
getSession(reference: string, role: SharedTrackingSessionValidation['querystring']['role']): Promise<SharedTrackingSessionValidation['response']>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const Access_1 = __importDefault(require("../Access"));
|
|
7
|
+
const utils_1 = require("../../utils");
|
|
8
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
9
|
+
//
|
|
10
|
+
// Tracking: shared tracking API — de.arch /tracking routes.
|
|
11
|
+
// Issues join-room tokens for Socket.IO real-time order tracking.
|
|
12
|
+
//
|
|
13
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
14
|
+
class Tracking extends Access_1.default {
|
|
15
|
+
constructor(config) {
|
|
16
|
+
if (!config.accessToken)
|
|
17
|
+
throw new Error('Undefined accessToken. See https://doc.dedot.io/sdk/auth');
|
|
18
|
+
if (!config.context)
|
|
19
|
+
throw new Error('Undefined context. See https://doc.dedot.io/sdk/tracking');
|
|
20
|
+
const access = {
|
|
21
|
+
context: config.context,
|
|
22
|
+
accessToken: config.accessToken,
|
|
23
|
+
env: config.env || 'dev',
|
|
24
|
+
platform: config.platform || 'proxy',
|
|
25
|
+
remoteOrigin: config.remoteOrigin,
|
|
26
|
+
timeout: config.timeout,
|
|
27
|
+
baseUrl: config.baseUrl
|
|
28
|
+
};
|
|
29
|
+
super(access, 'API');
|
|
30
|
+
}
|
|
31
|
+
async getSession(reference, role) {
|
|
32
|
+
return await this.request({
|
|
33
|
+
url: `/tracking/${reference}${(0, utils_1.qs)({ role })}`,
|
|
34
|
+
method: 'GET'
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.default = Tracking;
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/allend/Tracking/index.ts"],"names":[],"mappings":";;;;;AAEA,uDAAqC;AACrC,uCAAqD;AAcrD,gFAAgF;AAChF,EAAE;AACF,4DAA4D;AAC5D,kEAAkE;AAClE,EAAE;AACF,gFAAgF;AAEhF,MAAqB,QAAS,SAAQ,gBAAa;IAClD,YAAa,MAAsB;QAClC,IAAI,CAAC,MAAM,CAAC,WAAW;YAAG,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;QACrG,IAAI,CAAC,MAAM,CAAC,OAAO;YAAO,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;QAErG,MAAM,MAAM,GAAkB;YAC7B,OAAO,EAAO,MAAM,CAAC,OAAO;YAC5B,WAAW,EAAG,MAAM,CAAC,WAAW;YAChC,GAAG,EAAW,MAAM,CAAC,GAAG,IAAS,KAAK;YACtC,QAAQ,EAAM,MAAM,CAAC,QAAQ,IAAI,OAAO;YACxC,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,OAAO,EAAO,MAAM,CAAC,OAAO;YAC5B,OAAO,EAAO,MAAM,CAAC,OAAO;SAC5B,CAAA;QACD,KAAK,CAAE,MAAM,EAAE,KAAK,CAAE,CAAA;IACvB,CAAC;IAED,KAAK,CAAC,UAAU,CAAE,SAAiB,EAAE,IAA4D;QAChG,OAAO,MAAM,IAAI,CAAC,OAAO,CAA8C;YACtE,GAAG,EAAE,aAAa,SAAS,GAAG,IAAA,UAAE,EAAC,EAAE,IAAI,EAAE,CAAC,EAAE;YAC5C,MAAM,EAAE,KAAK;SACb,CAAC,CAAA;IACH,CAAC;CACD;AAvBD,2BAuBC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { UtilDistanceValidation, UtilBatchDistanceMatrixValidation, UtilSavingsMatrixValidation, UtilAssignZoneValidation, UtilETAValidation, UtilBatchGeocodeValidation } from '@de./types';
|
|
2
|
+
import { type Http } from '../../utils';
|
|
3
|
+
export declare class UtilitiesCommon {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: Http);
|
|
6
|
+
distance(body: UtilDistanceValidation['body']): Promise<UtilDistanceValidation['response']>;
|
|
7
|
+
distanceMatrix(body: UtilBatchDistanceMatrixValidation['body']): Promise<UtilBatchDistanceMatrixValidation['response']>;
|
|
8
|
+
savingsMatrix(body: UtilSavingsMatrixValidation['body']): Promise<UtilSavingsMatrixValidation['response']>;
|
|
9
|
+
assignZone(body: UtilAssignZoneValidation['body']): Promise<UtilAssignZoneValidation['response']>;
|
|
10
|
+
eta(body: UtilETAValidation['body']): Promise<UtilETAValidation['response']>;
|
|
11
|
+
batchGeocode(body: UtilBatchGeocodeValidation['body']): Promise<UtilBatchGeocodeValidation['response']>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UtilitiesCommon = void 0;
|
|
4
|
+
// ─── Common Utilities ─────────────────────────────────────────────────────────
|
|
5
|
+
class UtilitiesCommon {
|
|
6
|
+
constructor(http) {
|
|
7
|
+
this.http = http;
|
|
8
|
+
}
|
|
9
|
+
async distance(body) {
|
|
10
|
+
return await this.http.request({
|
|
11
|
+
url: '/utilities/distance',
|
|
12
|
+
method: 'POST',
|
|
13
|
+
body
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async distanceMatrix(body) {
|
|
17
|
+
return await this.http.request({
|
|
18
|
+
url: '/utilities/distance/matrix',
|
|
19
|
+
method: 'POST',
|
|
20
|
+
body
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
async savingsMatrix(body) {
|
|
24
|
+
return await this.http.request({
|
|
25
|
+
url: '/utilities/distance/savings',
|
|
26
|
+
method: 'POST',
|
|
27
|
+
body
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async assignZone(body) {
|
|
31
|
+
return await this.http.request({
|
|
32
|
+
url: '/utilities/zone',
|
|
33
|
+
method: 'POST',
|
|
34
|
+
body
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async eta(body) {
|
|
38
|
+
return await this.http.request({
|
|
39
|
+
url: '/utilities/eta',
|
|
40
|
+
method: 'POST',
|
|
41
|
+
body
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async batchGeocode(body) {
|
|
45
|
+
return await this.http.request({
|
|
46
|
+
url: '/utilities/geocode/batch',
|
|
47
|
+
method: 'POST',
|
|
48
|
+
body
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.UtilitiesCommon = UtilitiesCommon;
|
|
53
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/allend/Utilities/common.ts"],"names":[],"mappings":";;;AAUA,iFAAiF;AAEjF,MAAa,eAAe;IAC3B,YAAqB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;IAAG,CAAC;IAEnC,KAAK,CAAC,QAAQ,CAAE,IAAoC;QACnD,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAqC;YAClE,GAAG,EAAE,qBAAqB;YAC1B,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,cAAc,CAAE,IAA+C;QACpE,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAgD;YAC7E,GAAG,EAAE,4BAA4B;YACjC,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,aAAa,CAAE,IAAyC;QAC7D,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAA0C;YACvE,GAAG,EAAE,6BAA6B;YAClC,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,UAAU,CAAE,IAAsC;QACvD,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAuC;YACpE,GAAG,EAAE,iBAAiB;YACtB,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,GAAG,CAAE,IAA+B;QACzC,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAgC;YAC7D,GAAG,EAAE,gBAAgB;YACrB,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,YAAY,CAAE,IAAwC;QAC3D,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAyC;YACtE,GAAG,EAAE,0BAA0B;YAC/B,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;CACD;AAlDD,0CAkDC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { UtilDeliveryFeesValidation, UtilTransportFareValidation, UtilRideFareValidation, UtilCrossBorderFareValidation } from '@de./types';
|
|
2
|
+
import { type Http } from '../../utils';
|
|
3
|
+
export declare class UtilitiesFares {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: Http);
|
|
6
|
+
deliveryFees(body: UtilDeliveryFeesValidation['body']): Promise<UtilDeliveryFeesValidation['response']>;
|
|
7
|
+
transportFare(body: UtilTransportFareValidation['body']): Promise<UtilTransportFareValidation['response']>;
|
|
8
|
+
rideFare(body: UtilRideFareValidation['body']): Promise<UtilRideFareValidation['response']>;
|
|
9
|
+
crossBorderFare(body: UtilCrossBorderFareValidation['body']): Promise<UtilCrossBorderFareValidation['response']>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UtilitiesFares = void 0;
|
|
4
|
+
// ─── Fares ────────────────────────────────────────────────────────────────────
|
|
5
|
+
class UtilitiesFares {
|
|
6
|
+
constructor(http) {
|
|
7
|
+
this.http = http;
|
|
8
|
+
}
|
|
9
|
+
async deliveryFees(body) {
|
|
10
|
+
return await this.http.request({
|
|
11
|
+
url: '/utilities/fares/delivery',
|
|
12
|
+
method: 'POST',
|
|
13
|
+
body
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async transportFare(body) {
|
|
17
|
+
return await this.http.request({
|
|
18
|
+
url: '/utilities/fares/transport',
|
|
19
|
+
method: 'POST',
|
|
20
|
+
body
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
async rideFare(body) {
|
|
24
|
+
return await this.http.request({
|
|
25
|
+
url: '/utilities/fares/ride',
|
|
26
|
+
method: 'POST',
|
|
27
|
+
body
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
async crossBorderFare(body) {
|
|
31
|
+
return await this.http.request({
|
|
32
|
+
url: '/utilities/fares/crossborder',
|
|
33
|
+
method: 'POST',
|
|
34
|
+
body
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.UtilitiesFares = UtilitiesFares;
|
|
39
|
+
//# sourceMappingURL=fares.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fares.js","sourceRoot":"","sources":["../../../src/allend/Utilities/fares.ts"],"names":[],"mappings":";;;AAQA,iFAAiF;AAEjF,MAAa,cAAc;IAC1B,YAAqB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;IAAG,CAAC;IAEnC,KAAK,CAAC,YAAY,CAAE,IAAwC;QAC3D,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAyC;YACtE,GAAG,EAAE,2BAA2B;YAChC,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,aAAa,CAAE,IAAyC;QAC7D,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAA0C;YACvE,GAAG,EAAE,4BAA4B;YACjC,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAE,IAAoC;QACnD,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAqC;YAClE,GAAG,EAAE,uBAAuB;YAC5B,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,eAAe,CAAE,IAA2C;QACjE,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAA4C;YACzE,GAAG,EAAE,8BAA8B;YACnC,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;CACD;AAlCD,wCAkCC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Env, Platform } from '../../types';
|
|
2
|
+
import AccessManager from '../Access';
|
|
3
|
+
import { UtilitiesCommon } from './common';
|
|
4
|
+
import { UtilitiesFares } from './fares';
|
|
5
|
+
import { UtilitiesNearby } from './nearby';
|
|
6
|
+
export type UtilitiesConfig = {
|
|
7
|
+
context: string;
|
|
8
|
+
accessToken: string;
|
|
9
|
+
env?: Env;
|
|
10
|
+
platform?: Platform;
|
|
11
|
+
remoteOrigin?: string;
|
|
12
|
+
/** Per-request deadline in ms. See `AccessOptions.timeout`. */
|
|
13
|
+
timeout?: number;
|
|
14
|
+
/** Explicit service origin, overriding the env table. See `AccessOptions.baseUrl`. */
|
|
15
|
+
baseUrl?: string;
|
|
16
|
+
version?: number;
|
|
17
|
+
};
|
|
18
|
+
export default class Utilities extends AccessManager {
|
|
19
|
+
readonly common: UtilitiesCommon;
|
|
20
|
+
readonly fares: UtilitiesFares;
|
|
21
|
+
readonly nearby: UtilitiesNearby;
|
|
22
|
+
constructor(config: UtilitiesConfig);
|
|
23
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const Access_1 = __importDefault(require("../Access"));
|
|
7
|
+
const common_1 = require("./common");
|
|
8
|
+
const fares_1 = require("./fares");
|
|
9
|
+
const nearby_1 = require("./nearby");
|
|
10
|
+
// ─── Utilities ────────────────────────────────────────────────────────────────
|
|
11
|
+
class Utilities extends Access_1.default {
|
|
12
|
+
constructor(config) {
|
|
13
|
+
if (!config)
|
|
14
|
+
throw new Error('Undefined config');
|
|
15
|
+
if (!config.context)
|
|
16
|
+
throw new Error('Undefined context');
|
|
17
|
+
if (!config.accessToken)
|
|
18
|
+
throw new Error('Undefined accessToken');
|
|
19
|
+
const access = {
|
|
20
|
+
context: config.context,
|
|
21
|
+
accessToken: config.accessToken,
|
|
22
|
+
env: config.env || 'dev',
|
|
23
|
+
platform: config.platform || 'proxy',
|
|
24
|
+
remoteOrigin: config.remoteOrigin,
|
|
25
|
+
timeout: config.timeout,
|
|
26
|
+
baseUrl: config.baseUrl,
|
|
27
|
+
version: config.version
|
|
28
|
+
};
|
|
29
|
+
super(access, 'API');
|
|
30
|
+
this.common = new common_1.UtilitiesCommon(this);
|
|
31
|
+
this.fares = new fares_1.UtilitiesFares(this);
|
|
32
|
+
this.nearby = new nearby_1.UtilitiesNearby(this);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.default = Utilities;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/allend/Utilities/index.ts"],"names":[],"mappings":";;;;;AAEA,uDAAqC;AACrC,qCAA0C;AAC1C,mCAAwC;AACxC,qCAA0C;AAiB1C,iFAAiF;AAEjF,MAAqB,SAAU,SAAQ,gBAAa;IAKnD,YAAa,MAAuB;QACnC,IAAI,CAAC,MAAM;YAAe,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;QAC7D,IAAI,CAAC,MAAM,CAAC,OAAO;YAAO,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAA;QAC9D,IAAI,CAAC,MAAM,CAAC,WAAW;YAAG,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAA;QAElE,MAAM,MAAM,GAAkB;YAC7B,OAAO,EAAO,MAAM,CAAC,OAAO;YAC5B,WAAW,EAAG,MAAM,CAAC,WAAW;YAChC,GAAG,EAAW,MAAM,CAAC,GAAG,IAAS,KAAK;YACtC,QAAQ,EAAM,MAAM,CAAC,QAAQ,IAAI,OAAO;YACxC,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,OAAO,EAAO,MAAM,CAAC,OAAO;YAC5B,OAAO,EAAO,MAAM,CAAC,OAAO;YAC5B,OAAO,EAAO,MAAM,CAAC,OAAO;SAC5B,CAAA;QAED,KAAK,CAAE,MAAM,EAAE,KAAK,CAAE,CAAA;QAEtB,IAAI,CAAC,MAAM,GAAG,IAAI,wBAAe,CAAE,IAAI,CAAE,CAAA;QACzC,IAAI,CAAC,KAAK,GAAI,IAAI,sBAAc,CAAE,IAAI,CAAE,CAAA;QACxC,IAAI,CAAC,MAAM,GAAG,IAAI,wBAAe,CAAE,IAAI,CAAE,CAAA;IAC1C,CAAC;CACD;AA3BD,4BA2BC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { UtilSearchNearbyValidation, UtilSearchInBoundsValidation, UtilFindNearestValidation } from '@de./types';
|
|
2
|
+
import { type Http } from '../../utils';
|
|
3
|
+
export declare class UtilitiesNearby {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: Http);
|
|
6
|
+
search(body: UtilSearchNearbyValidation['body']): Promise<UtilSearchNearbyValidation['response']>;
|
|
7
|
+
searchInBounds(body: UtilSearchInBoundsValidation['body']): Promise<UtilSearchInBoundsValidation['response']>;
|
|
8
|
+
findNearest(body: UtilFindNearestValidation['body']): Promise<UtilFindNearestValidation['response']>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UtilitiesNearby = void 0;
|
|
4
|
+
// ─── Nearby ───────────────────────────────────────────────────────────────────
|
|
5
|
+
class UtilitiesNearby {
|
|
6
|
+
constructor(http) {
|
|
7
|
+
this.http = http;
|
|
8
|
+
}
|
|
9
|
+
async search(body) {
|
|
10
|
+
return await this.http.request({
|
|
11
|
+
url: '/utilities/nearby/search',
|
|
12
|
+
method: 'POST',
|
|
13
|
+
body
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async searchInBounds(body) {
|
|
17
|
+
return await this.http.request({
|
|
18
|
+
url: '/utilities/nearby/bounds',
|
|
19
|
+
method: 'POST',
|
|
20
|
+
body
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
async findNearest(body) {
|
|
24
|
+
return await this.http.request({
|
|
25
|
+
url: '/utilities/nearby/nearest',
|
|
26
|
+
method: 'POST',
|
|
27
|
+
body
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.UtilitiesNearby = UtilitiesNearby;
|
|
32
|
+
//# sourceMappingURL=nearby.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nearby.js","sourceRoot":"","sources":["../../../src/allend/Utilities/nearby.ts"],"names":[],"mappings":";;;AAOA,iFAAiF;AAEjF,MAAa,eAAe;IAC3B,YAAqB,IAAU;QAAV,SAAI,GAAJ,IAAI,CAAM;IAAG,CAAC;IAEnC,KAAK,CAAC,MAAM,CAAE,IAAwC;QACrD,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAyC;YACtE,GAAG,EAAE,0BAA0B;YAC/B,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,cAAc,CAAE,IAA0C;QAC/D,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAA2C;YACxE,GAAG,EAAE,0BAA0B;YAC/B,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;IAED,KAAK,CAAC,WAAW,CAAE,IAAuC;QACzD,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAwC;YACrE,GAAG,EAAE,2BAA2B;YAChC,MAAM,EAAE,MAAM;YACd,IAAI;SACJ,CAAC,CAAA;IACH,CAAC;CACD;AA1BD,0CA0BC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AccessOptions } from '../../types/access';
|
|
2
|
+
import type { RTLocation, MSIEntity, HTTPResponse } from '../../types';
|
|
3
|
+
import AccessManager from '../Access';
|
|
4
|
+
type OrderServiceResponse = HTTPResponse<{
|
|
5
|
+
orders: any[];
|
|
6
|
+
}>;
|
|
7
|
+
type NearbyResponse = HTTPResponse<{
|
|
8
|
+
nearby: MSIEntity[];
|
|
9
|
+
}>;
|
|
10
|
+
export default class Client extends AccessManager {
|
|
11
|
+
private clientId;
|
|
12
|
+
constructor(clientId: string, access: AccessOptions);
|
|
13
|
+
fetchActiveOrders(): Promise<OrderServiceResponse>;
|
|
14
|
+
fetchOrderHistory(): Promise<OrderServiceResponse>;
|
|
15
|
+
nearby(location: RTLocation): Promise<NearbyResponse>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const Access_1 = __importDefault(require("../Access"));
|
|
7
|
+
class Client extends Access_1.default {
|
|
8
|
+
constructor(clientId, access) {
|
|
9
|
+
if (!clientId)
|
|
10
|
+
throw new Error('Undefined <clientId>');
|
|
11
|
+
// Instanciate access
|
|
12
|
+
super(access, 'API');
|
|
13
|
+
// ID/reference of the client on this session
|
|
14
|
+
this.clientId = clientId;
|
|
15
|
+
}
|
|
16
|
+
async fetchActiveOrders() {
|
|
17
|
+
if (!this.accessToken)
|
|
18
|
+
throw new Error('Authentication required');
|
|
19
|
+
const options = {
|
|
20
|
+
url: `/client/${this.clientId}/orders/actives`,
|
|
21
|
+
method: 'GET'
|
|
22
|
+
};
|
|
23
|
+
return await this.request(options);
|
|
24
|
+
}
|
|
25
|
+
async fetchOrderHistory() {
|
|
26
|
+
if (!this.accessToken)
|
|
27
|
+
throw new Error('Authentication required');
|
|
28
|
+
const options = {
|
|
29
|
+
url: `/client/${this.clientId}/orders/history`,
|
|
30
|
+
method: 'GET'
|
|
31
|
+
};
|
|
32
|
+
return await this.request(options);
|
|
33
|
+
}
|
|
34
|
+
async nearby(location) {
|
|
35
|
+
if (!this.accessToken)
|
|
36
|
+
throw new Error('Authentication required');
|
|
37
|
+
if (!location)
|
|
38
|
+
throw new Error('Undefined epicenter location');
|
|
39
|
+
if (!location.lng || !location.lat)
|
|
40
|
+
throw new Error('Invalid location coordinates');
|
|
41
|
+
const options = {
|
|
42
|
+
url: `/client/${this.clientId}/nearby`,
|
|
43
|
+
method: 'POST',
|
|
44
|
+
body: location
|
|
45
|
+
};
|
|
46
|
+
return await this.request(options);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.default = Client;
|
|
50
|
+
//# sourceMappingURL=Client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../src/allend/Workflows/Client.ts"],"names":[],"mappings":";;;;;AAEA,uDAAqC;AAKrC,MAAqB,MAAO,SAAQ,gBAAa;IAG/C,YAAa,QAAgB,EAAE,MAAqB;QAClD,IAAI,CAAC,QAAQ;YACX,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;QAEzC,qBAAqB;QACrB,KAAK,CAAE,MAAM,EAAE,KAAK,CAAE,CAAA;QACtB,6CAA6C;QAC7C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,KAAK,CAAC,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,WAAW;YACnB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAA;QAE5C,MACA,OAAO,GAAuB;YAC5B,GAAG,EAAE,WAAW,IAAI,CAAC,QAAQ,iBAAiB;YAC9C,MAAM,EAAE,KAAK;SACd,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,OAAO,CAAwB,OAAO,CAAE,CAAA;IAC5D,CAAC;IAED,KAAK,CAAC,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,WAAW;YACnB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAA;QAE5C,MACA,OAAO,GAAuB;YAC5B,GAAG,EAAE,WAAW,IAAI,CAAC,QAAQ,iBAAiB;YAC9C,MAAM,EAAE,KAAK;SACd,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,OAAO,CAAwB,OAAO,CAAE,CAAA;IAC5D,CAAC;IAED,KAAK,CAAC,MAAM,CAAE,QAAoB;QAChC,IAAI,CAAC,IAAI,CAAC,WAAW;YACnB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAA;QAE5C,IAAI,CAAC,QAAQ;YACX,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;QAEjD,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG;YAChC,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;QAEjD,MACA,OAAO,GAAuB;YAC5B,GAAG,EAAE,WAAW,IAAI,CAAC,QAAQ,SAAS;YACtC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,QAAQ;SACf,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,OAAO,CAAkB,OAAO,CAAE,CAAA;IACtD,CAAC;CACF;AA1DD,yBA0DC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type LSP from '../LSP';
|
|
2
|
+
import type { Coordinates } from '../../types';
|
|
3
|
+
export type DeliveryContact = {
|
|
4
|
+
type?: string;
|
|
5
|
+
reference: string;
|
|
6
|
+
phone?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
};
|
|
9
|
+
export type DeliveryLocation = {
|
|
10
|
+
address: string;
|
|
11
|
+
coordinates: Coordinates;
|
|
12
|
+
contact?: DeliveryContact;
|
|
13
|
+
description?: string;
|
|
14
|
+
};
|
|
15
|
+
export type DeliveryPackage = {
|
|
16
|
+
waypointNo?: number;
|
|
17
|
+
careLevel?: number;
|
|
18
|
+
category?: string;
|
|
19
|
+
weight?: number;
|
|
20
|
+
note?: string;
|
|
21
|
+
};
|
|
22
|
+
export type DeliveryPickupInput = {
|
|
23
|
+
clientId: string;
|
|
24
|
+
from: DeliveryLocation;
|
|
25
|
+
to: DeliveryLocation;
|
|
26
|
+
packages?: DeliveryPackage[];
|
|
27
|
+
service?: Record<string, any>;
|
|
28
|
+
};
|
|
29
|
+
export type DeliveryResult = {
|
|
30
|
+
intentToken: string;
|
|
31
|
+
jrtoken: string;
|
|
32
|
+
};
|
|
33
|
+
export default class Delivery {
|
|
34
|
+
private lsp;
|
|
35
|
+
constructor(lsp: LSP);
|
|
36
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
+
//
|
|
5
|
+
// LAYER 2 — Delivery workflow.
|
|
6
|
+
// Composes Lsp.orders calls into a single "get this from A to B" operation:
|
|
7
|
+
// intent → addWaypoint → addPackage? → initiate
|
|
8
|
+
//
|
|
9
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
10
|
+
class Delivery {
|
|
11
|
+
constructor(lsp) {
|
|
12
|
+
this.lsp = lsp;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = Delivery;
|
|
16
|
+
//# sourceMappingURL=Delivery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Delivery.js","sourceRoot":"","sources":["../../../src/allend/Workflows/Delivery.ts"],"names":[],"mappings":";;AAwCA,gFAAgF;AAChF,EAAE;AACF,+BAA+B;AAC/B,4EAA4E;AAC5E,kDAAkD;AAClD,EAAE;AACF,gFAAgF;AAEhF,MAAqB,QAAQ;IAC5B,YAAqB,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;IAAG,CAAC;CA4CjC;AA7CD,2BA6CC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type LSP from '../LSP';
|
|
2
|
+
import type MSI from '../MSI';
|
|
3
|
+
import Delivery from './Delivery';
|
|
4
|
+
export type WorkflowsConfig = {
|
|
5
|
+
lsp: LSP;
|
|
6
|
+
msi?: MSI;
|
|
7
|
+
};
|
|
8
|
+
export default class Workflows {
|
|
9
|
+
readonly delivery: Delivery;
|
|
10
|
+
constructor({ lsp }: WorkflowsConfig);
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const Delivery_1 = __importDefault(require("./Delivery"));
|
|
7
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
8
|
+
//
|
|
9
|
+
// LAYER 2 — Workflows: use-case composition, many API calls in one.
|
|
10
|
+
// Sits explicitly on top of Core — the consumer passes core to it,
|
|
11
|
+
// making the dependency chain visible and testable.
|
|
12
|
+
//
|
|
13
|
+
// const wf = new Workflows({ core })
|
|
14
|
+
// const { jrtoken } = await wf.delivery.pickup({ clientId, from, to, packages })
|
|
15
|
+
//
|
|
16
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
17
|
+
class Workflows {
|
|
18
|
+
constructor({ lsp }) {
|
|
19
|
+
if (!lsp)
|
|
20
|
+
throw new Error('<core> instance required. Pass a Core instance to Workflows.');
|
|
21
|
+
this.delivery = new Delivery_1.default(lsp);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.default = Workflows;
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/allend/Workflows/index.ts"],"names":[],"mappings":";;;;;AAEA,0DAAiC;AASjC,gFAAgF;AAChF,EAAE;AACF,oEAAoE;AACpE,mEAAmE;AACnE,oDAAoD;AACpD,EAAE;AACF,uCAAuC;AACvC,mFAAmF;AACnF,EAAE;AACF,gFAAgF;AAEhF,MAAqB,SAAS;IAG7B,YAAY,EAAE,GAAG,EAAmB;QACnC,IAAI,CAAC,GAAG;YAAG,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAA;QAE1F,IAAI,CAAC,QAAQ,GAAG,IAAI,kBAAQ,CAAE,GAAG,CAAE,CAAA;IACpC,CAAC;CACD;AARD,4BAQC"}
|