@de./sdk 1.0.5 → 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 +51 -0
- package/dist/allend/Access.js +197 -0
- package/dist/allend/Access.js.map +1 -0
- 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.js +43 -0
- package/dist/allend/Agent/delivery.js.map +1 -0
- package/dist/allend/Agent/dispatch.js +24 -0
- package/dist/allend/Agent/dispatch.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Agent/index.d.ts +18 -0
- package/dist/allend/Agent/index.js +74 -0
- package/dist/allend/Agent/index.js.map +1 -0
- package/dist/allend/Agent/navigation.js +25 -0
- package/dist/allend/Agent/navigation.js.map +1 -0
- package/dist/allend/Agent/origin.js +31 -0
- package/dist/allend/Agent/origin.js.map +1 -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.js +51 -0
- package/dist/allend/Agent/rides.js.map +1 -0
- package/dist/allend/Agent/shipping.js +43 -0
- package/dist/allend/Agent/shipping.js.map +1 -0
- package/dist/allend/CSP/analytics.js +51 -0
- package/dist/allend/CSP/analytics.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/CSP/index.d.ts +4 -0
- package/dist/allend/CSP/index.js +43 -0
- package/dist/allend/CSP/index.js.map +1 -0
- package/dist/allend/CSP/inventory.js +78 -0
- package/dist/allend/CSP/inventory.js.map +1 -0
- package/dist/allend/CSP/orders.js +97 -0
- package/dist/allend/CSP/orders.js.map +1 -0
- package/dist/allend/CSP/webhooks.js +56 -0
- package/dist/allend/CSP/webhooks.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Customer/index.d.ts +10 -0
- package/dist/allend/Customer/index.js +39 -0
- package/dist/allend/Customer/index.js.map +1 -0
- package/dist/allend/Customer/intents.js +55 -0
- package/dist/allend/Customer/intents.js.map +1 -0
- package/dist/allend/Customer/orders.js +43 -0
- package/dist/allend/Customer/orders.js.map +1 -0
- package/dist/allend/Customer/rides.js +50 -0
- package/dist/allend/Customer/rides.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/DEV/developers.d.ts +2 -1
- package/dist/allend/DEV/developers.js +35 -0
- package/dist/allend/DEV/developers.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/DEV/index.d.ts +4 -0
- package/dist/allend/DEV/index.js +37 -0
- package/dist/allend/DEV/index.js.map +1 -0
- package/dist/allend/IoTClient.js +53 -0
- package/dist/allend/IoTClient.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/IoTSP/backend.d.ts +2 -0
- package/dist/allend/IoTSP/backend.js +75 -0
- package/dist/allend/IoTSP/backend.js.map +1 -0
- package/dist/allend/IoTSP/devices.js +61 -0
- package/dist/allend/IoTSP/devices.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/IoTSP/index.d.ts +4 -0
- package/dist/{de.sdk/src/allend → allend}/IoTSP/index.js +24 -45
- package/dist/allend/IoTSP/index.js.map +1 -0
- package/dist/allend/IoTSP/rules.js +81 -0
- package/dist/allend/IoTSP/rules.js.map +1 -0
- package/dist/allend/IoTSP/topics.js +81 -0
- package/dist/allend/IoTSP/topics.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/agents.d.ts +2 -1
- package/dist/allend/LSP/agents.js +89 -0
- package/dist/allend/LSP/agents.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/carriers.d.ts +2 -1
- package/dist/allend/LSP/carriers.js +315 -0
- package/dist/allend/LSP/carriers.js.map +1 -0
- package/dist/allend/LSP/coverage.js +135 -0
- package/dist/allend/LSP/coverage.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/fleets.d.ts +7 -7
- package/dist/allend/LSP/fleets.js +381 -0
- package/dist/allend/LSP/fleets.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/hubs.d.ts +4 -3
- package/dist/allend/LSP/hubs.js +186 -0
- package/dist/allend/LSP/hubs.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/index.d.ts +4 -0
- package/dist/allend/LSP/index.js +55 -0
- package/dist/allend/LSP/index.js.map +1 -0
- package/dist/allend/LSP/inventory.js +56 -0
- package/dist/allend/LSP/inventory.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/operations.d.ts +24 -2
- package/dist/allend/LSP/operations.js +156 -0
- package/dist/allend/LSP/operations.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/orders.d.ts +20 -1
- package/dist/allend/LSP/orders.js +303 -0
- package/dist/allend/LSP/orders.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/pods.d.ts +2 -1
- package/dist/allend/LSP/pods.js +137 -0
- package/dist/allend/LSP/pods.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/pricing.d.ts +15 -4
- package/dist/allend/LSP/pricing.js +151 -0
- package/dist/allend/LSP/pricing.js.map +1 -0
- package/dist/allend/LSP/psl.js +68 -0
- package/dist/allend/LSP/psl.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/LSP/warehouses.d.ts +2 -1
- package/dist/allend/LSP/warehouses.js +94 -0
- package/dist/allend/LSP/warehouses.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/MSI/Controls.d.ts +7 -4
- package/dist/allend/MSI/Controls.js +773 -0
- package/dist/allend/MSI/Controls.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/MSI/Handles.d.ts +5 -4
- package/dist/allend/MSI/Handles.js +378 -0
- package/dist/allend/MSI/Handles.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/MSI/Plugins.d.ts +2 -2
- package/dist/{de.sdk/src/allend → allend}/MSI/Plugins.js +12 -15
- package/dist/allend/MSI/Plugins.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/MSI/index.d.ts +4 -3
- package/dist/allend/MSI/index.js +191 -0
- package/dist/allend/MSI/index.js.map +1 -0
- 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.js +24 -0
- package/dist/allend/Pipelines/analytics.js.map +1 -0
- package/dist/allend/Pipelines/escalations.js +25 -0
- package/dist/allend/Pipelines/escalations.js.map +1 -0
- package/dist/allend/Pipelines/executions.js +44 -0
- package/dist/allend/Pipelines/executions.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Pipelines/index.d.ts +4 -0
- package/dist/allend/Pipelines/index.js +88 -0
- package/dist/allend/Pipelines/index.js.map +1 -0
- package/dist/allend/Pipelines/interventions.js +25 -0
- package/dist/allend/Pipelines/interventions.js.map +1 -0
- package/dist/allend/Pipelines/monitor.js +30 -0
- package/dist/allend/Pipelines/monitor.js.map +1 -0
- package/dist/allend/Pipelines/queries.js +25 -0
- package/dist/allend/Pipelines/queries.js.map +1 -0
- package/dist/allend/Pipelines/templates.js +46 -0
- package/dist/allend/Pipelines/templates.js.map +1 -0
- package/dist/allend/Pipelines/utils.js.map +1 -0
- package/dist/allend/Pipelines/webhooks.js +35 -0
- package/dist/allend/Pipelines/webhooks.js.map +1 -0
- package/dist/allend/Pipelines/workers.js +45 -0
- package/dist/allend/Pipelines/workers.js.map +1 -0
- package/dist/allend/Queries/capacity.js +44 -0
- package/dist/allend/Queries/capacity.js.map +1 -0
- package/dist/allend/Queries/discovery.js +45 -0
- package/dist/allend/Queries/discovery.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Queries/index.d.ts +4 -0
- package/dist/allend/Queries/index.js +40 -0
- package/dist/allend/Queries/index.js.map +1 -0
- package/dist/allend/Queries/matching.js +18 -0
- package/dist/allend/Queries/matching.js.map +1 -0
- package/dist/allend/Queries/performance.js +31 -0
- package/dist/allend/Queries/performance.js.map +1 -0
- package/dist/allend/Queries/pricing.js +43 -0
- package/dist/allend/Queries/pricing.js.map +1 -0
- package/dist/allend/Realtime/index.js +62 -0
- package/dist/allend/Realtime/index.js.map +1 -0
- package/dist/allend/Shared/account.js +22 -0
- package/dist/allend/Shared/account.js.map +1 -0
- package/dist/allend/Shared/buckets.js +95 -0
- package/dist/allend/Shared/buckets.js.map +1 -0
- package/dist/allend/Shared/context.js +33 -0
- package/dist/allend/Shared/context.js.map +1 -0
- package/dist/allend/Shared/faqs.js +87 -0
- package/dist/allend/Shared/faqs.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Shared/invitation.d.ts +10 -2
- package/dist/allend/Shared/invitation.js +40 -0
- package/dist/allend/Shared/invitation.js.map +1 -0
- package/dist/allend/Shared/operators.js +37 -0
- package/dist/allend/Shared/operators.js.map +1 -0
- package/dist/allend/Shared/users.js +29 -0
- package/dist/allend/Shared/users.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Tracking/index.d.ts +4 -0
- package/dist/allend/Tracking/index.js +39 -0
- package/dist/allend/Tracking/index.js.map +1 -0
- package/dist/allend/Utilities/common.js +53 -0
- package/dist/allend/Utilities/common.js.map +1 -0
- package/dist/allend/Utilities/fares.js +39 -0
- package/dist/allend/Utilities/fares.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Utilities/index.d.ts +4 -0
- package/dist/allend/Utilities/index.js +36 -0
- package/dist/allend/Utilities/index.js.map +1 -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/{de.sdk/src/allend → allend}/Workflows/Delivery.js +3 -4
- package/dist/allend/Workflows/Delivery.js.map +1 -0
- package/dist/{de.sdk/src/allend → allend}/Workflows/index.js +4 -6
- 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/{de.sdk/src/allend → allend}/index.d.ts +2 -1
- package/dist/{de.sdk/src/allend → allend}/index.js +10 -10
- package/dist/allend/index.js.map +1 -0
- package/dist/{de.sdk/src/backend → backend}/Auth.d.ts +12 -0
- package/dist/backend/Auth.js +166 -0
- package/dist/backend/Auth.js.map +1 -0
- package/dist/baseUrl.d.ts +68 -0
- package/dist/baseUrl.js +84 -0
- package/dist/baseUrl.js.map +1 -0
- package/dist/{de.sdk/src/index.d.ts → core.d.ts} +30 -9
- package/dist/{de.sdk/src/index.js → core.js} +59 -43
- 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 +31 -0
- package/dist/index.js +44 -1
- package/dist/index.js.map +1 -0
- 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 +57 -0
- package/dist/types/channel.d.ts +45 -0
- package/dist/types/index.d.ts +45 -2
- package/dist/utils/index.d.ts +30 -0
- package/dist/utils/index.js +18 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/{de.sdk/src/utils → utils}/stream.js +25 -26
- package/dist/utils/stream.js.map +1 -0
- package/package.json +39 -20
- package/src/allend/Access.ts +143 -13
- package/src/allend/Agent/consolidation.ts +20 -8
- package/src/allend/Agent/delivery.ts +6 -16
- package/src/allend/Agent/dispatch.ts +3 -7
- package/src/allend/Agent/index.ts +30 -13
- package/src/allend/Agent/navigation.ts +3 -7
- package/src/allend/Agent/origin.ts +4 -10
- package/src/allend/Agent/reallocation.ts +2 -4
- package/src/allend/Agent/realtime.ts +140 -0
- package/src/allend/Agent/rides.ts +7 -19
- package/src/allend/Agent/shipping.ts +6 -16
- package/src/allend/CSP/analytics.ts +7 -19
- package/src/allend/CSP/index.ts +7 -1
- package/src/allend/CSP/inventory.ts +11 -31
- package/src/allend/CSP/orders.ts +14 -40
- package/src/allend/CSP/webhooks.ts +8 -22
- package/src/allend/Customer/index.ts +14 -2
- package/src/allend/Customer/intents.ts +7 -19
- package/src/allend/Customer/orders.ts +6 -16
- package/src/allend/Customer/rides.ts +7 -19
- package/src/allend/DEV/developers.ts +7 -13
- package/src/allend/DEV/index.ts +7 -1
- package/src/allend/IoTSP/backend.ts +5 -3
- package/src/allend/IoTSP/devices.ts +9 -25
- package/src/allend/IoTSP/index.ts +7 -1
- package/src/allend/IoTSP/rules.ts +12 -34
- package/src/allend/IoTSP/topics.ts +12 -34
- package/src/allend/LSP/agents.ts +15 -37
- package/src/allend/LSP/carriers.ts +49 -139
- package/src/allend/LSP/coverage.ts +39 -115
- package/src/allend/LSP/fleets.ts +62 -176
- package/src/allend/LSP/hubs.ts +29 -77
- package/src/allend/LSP/index.ts +7 -1
- package/src/allend/LSP/inventory.ts +7 -19
- package/src/allend/LSP/operations.ts +71 -47
- package/src/allend/LSP/orders.ts +85 -116
- package/src/allend/LSP/pods.ts +22 -58
- package/src/allend/LSP/pricing.ts +42 -56
- package/src/allend/LSP/psl.ts +9 -25
- package/src/allend/LSP/warehouses.ts +14 -34
- package/src/allend/MSI/Controls.ts +104 -88
- package/src/allend/MSI/Handles.ts +23 -14
- 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 +125 -32
- package/src/allend/Pipelines/analytics.ts +3 -7
- package/src/allend/Pipelines/escalations.ts +3 -7
- package/src/allend/Pipelines/executions.ts +6 -16
- package/src/allend/Pipelines/index.ts +13 -19
- package/src/allend/Pipelines/interventions.ts +3 -7
- package/src/allend/Pipelines/monitor.ts +4 -10
- package/src/allend/Pipelines/queries.ts +3 -7
- package/src/allend/Pipelines/templates.ts +5 -13
- package/src/allend/Pipelines/webhooks.ts +2 -4
- package/src/allend/Pipelines/workers.ts +4 -10
- package/src/allend/Queries/capacity.ts +6 -16
- package/src/allend/Queries/discovery.ts +6 -16
- package/src/allend/Queries/index.ts +6 -0
- package/src/allend/Queries/matching.ts +2 -4
- package/src/allend/Queries/performance.ts +4 -10
- package/src/allend/Queries/pricing.ts +6 -16
- package/src/allend/Realtime/index.ts +4 -2
- package/src/allend/Shared/account.ts +3 -7
- package/src/allend/Shared/buckets.ts +14 -40
- package/src/allend/Shared/faqs.ts +13 -37
- package/src/allend/Shared/invitation.ts +14 -11
- package/src/allend/Shared/operators.ts +5 -13
- package/src/allend/Shared/users.ts +4 -10
- package/src/allend/Tracking/index.ts +9 -5
- package/src/allend/Utilities/common.ts +7 -19
- package/src/allend/Utilities/fares.ts +5 -13
- package/src/allend/Utilities/index.ts +6 -0
- package/src/allend/Utilities/nearby.ts +4 -10
- package/src/allend/Workflows/Client.ts +9 -15
- package/src/allend/Workspace/index.ts +256 -67
- package/src/allend/index.ts +2 -0
- package/src/backend/Auth.ts +16 -3
- package/src/baseUrl.ts +70 -4
- package/src/core.ts +145 -0
- package/src/error.ts +27 -0
- package/src/index.ts +14 -103
- package/src/react-native.ts +43 -0
- package/src/types/access.d.ts +57 -0
- package/src/types/channel.d.ts +45 -0
- package/src/types/index.d.ts +45 -2
- package/src/utils/index.ts +15 -0
- package/dist/de.sdk/src/allend/Access.d.ts +0 -15
- package/dist/de.sdk/src/allend/Access.js +0 -164
- package/dist/de.sdk/src/allend/Access.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/consolidation.d.ts +0 -8
- package/dist/de.sdk/src/allend/Agent/consolidation.js +0 -85
- package/dist/de.sdk/src/allend/Agent/consolidation.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/delivery.js +0 -140
- package/dist/de.sdk/src/allend/Agent/delivery.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/dispatch.js +0 -85
- package/dist/de.sdk/src/allend/Agent/dispatch.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/index.js +0 -158
- package/dist/de.sdk/src/allend/Agent/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/navigation.js +0 -86
- package/dist/de.sdk/src/allend/Agent/navigation.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/origin.js +0 -104
- package/dist/de.sdk/src/allend/Agent/origin.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/reallocation.js +0 -66
- package/dist/de.sdk/src/allend/Agent/reallocation.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/rides.js +0 -160
- package/dist/de.sdk/src/allend/Agent/rides.js.map +0 -1
- package/dist/de.sdk/src/allend/Agent/shipping.js +0 -140
- package/dist/de.sdk/src/allend/Agent/shipping.js.map +0 -1
- package/dist/de.sdk/src/allend/CSP/analytics.js +0 -160
- package/dist/de.sdk/src/allend/CSP/analytics.js.map +0 -1
- package/dist/de.sdk/src/allend/CSP/index.js +0 -60
- package/dist/de.sdk/src/allend/CSP/index.js.map +0 -1
- package/dist/de.sdk/src/allend/CSP/inventory.js +0 -235
- package/dist/de.sdk/src/allend/CSP/inventory.js.map +0 -1
- package/dist/de.sdk/src/allend/CSP/orders.js +0 -290
- package/dist/de.sdk/src/allend/CSP/orders.js.map +0 -1
- package/dist/de.sdk/src/allend/CSP/webhooks.js +0 -177
- package/dist/de.sdk/src/allend/CSP/webhooks.js.map +0 -1
- package/dist/de.sdk/src/allend/Customer/index.js +0 -55
- package/dist/de.sdk/src/allend/Customer/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Customer/intents.js +0 -164
- package/dist/de.sdk/src/allend/Customer/intents.js.map +0 -1
- package/dist/de.sdk/src/allend/Customer/orders.js +0 -140
- package/dist/de.sdk/src/allend/Customer/orders.js.map +0 -1
- package/dist/de.sdk/src/allend/Customer/rides.js +0 -159
- package/dist/de.sdk/src/allend/Customer/rides.js.map +0 -1
- package/dist/de.sdk/src/allend/DEV/developers.js +0 -120
- package/dist/de.sdk/src/allend/DEV/developers.js.map +0 -1
- package/dist/de.sdk/src/allend/DEV/index.js +0 -54
- package/dist/de.sdk/src/allend/DEV/index.js.map +0 -1
- package/dist/de.sdk/src/allend/IoTClient.js +0 -59
- package/dist/de.sdk/src/allend/IoTClient.js.map +0 -1
- package/dist/de.sdk/src/allend/IoTSP/backend.js +0 -90
- package/dist/de.sdk/src/allend/IoTSP/backend.js.map +0 -1
- package/dist/de.sdk/src/allend/IoTSP/devices.js +0 -194
- package/dist/de.sdk/src/allend/IoTSP/devices.js.map +0 -1
- package/dist/de.sdk/src/allend/IoTSP/index.js.map +0 -1
- package/dist/de.sdk/src/allend/IoTSP/rules.js +0 -250
- package/dist/de.sdk/src/allend/IoTSP/rules.js.map +0 -1
- package/dist/de.sdk/src/allend/IoTSP/topics.js +0 -250
- package/dist/de.sdk/src/allend/IoTSP/topics.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/agents.js +0 -270
- package/dist/de.sdk/src/allend/LSP/agents.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/carriers.js +0 -904
- package/dist/de.sdk/src/allend/LSP/carriers.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/coverage.js +0 -628
- package/dist/de.sdk/src/allend/LSP/coverage.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/fleets.js +0 -1102
- package/dist/de.sdk/src/allend/LSP/fleets.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/hubs.js +0 -523
- package/dist/de.sdk/src/allend/LSP/hubs.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/index.js +0 -72
- package/dist/de.sdk/src/allend/LSP/index.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/inventory.js +0 -165
- package/dist/de.sdk/src/allend/LSP/inventory.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/operations.js +0 -330
- package/dist/de.sdk/src/allend/LSP/operations.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/orders.js +0 -760
- package/dist/de.sdk/src/allend/LSP/orders.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/pods.js +0 -402
- package/dist/de.sdk/src/allend/LSP/pods.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/pricing.js +0 -388
- package/dist/de.sdk/src/allend/LSP/pricing.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/psl.js +0 -201
- package/dist/de.sdk/src/allend/LSP/psl.js.map +0 -1
- package/dist/de.sdk/src/allend/LSP/warehouses.js +0 -263
- package/dist/de.sdk/src/allend/LSP/warehouses.js.map +0 -1
- package/dist/de.sdk/src/allend/MSI/Controls.js +0 -801
- package/dist/de.sdk/src/allend/MSI/Controls.js.map +0 -1
- package/dist/de.sdk/src/allend/MSI/Handles.js +0 -475
- package/dist/de.sdk/src/allend/MSI/Handles.js.map +0 -1
- package/dist/de.sdk/src/allend/MSI/Plugins.js.map +0 -1
- package/dist/de.sdk/src/allend/MSI/index.js +0 -155
- package/dist/de.sdk/src/allend/MSI/index.js.map +0 -1
- package/dist/de.sdk/src/allend/OTPAuth/index.d.ts +0 -20
- package/dist/de.sdk/src/allend/OTPAuth/index.js +0 -92
- package/dist/de.sdk/src/allend/OTPAuth/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/analytics.js +0 -85
- package/dist/de.sdk/src/allend/Pipelines/analytics.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/escalations.js +0 -86
- package/dist/de.sdk/src/allend/Pipelines/escalations.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/executions.js +0 -141
- package/dist/de.sdk/src/allend/Pipelines/executions.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/index.js +0 -213
- package/dist/de.sdk/src/allend/Pipelines/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/interventions.js +0 -86
- package/dist/de.sdk/src/allend/Pipelines/interventions.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/monitor.js +0 -103
- package/dist/de.sdk/src/allend/Pipelines/monitor.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/queries.js +0 -86
- package/dist/de.sdk/src/allend/Pipelines/queries.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/templates.js +0 -141
- package/dist/de.sdk/src/allend/Pipelines/templates.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/utils.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/webhooks.js +0 -104
- package/dist/de.sdk/src/allend/Pipelines/webhooks.js.map +0 -1
- package/dist/de.sdk/src/allend/Pipelines/workers.js +0 -138
- package/dist/de.sdk/src/allend/Pipelines/workers.js.map +0 -1
- package/dist/de.sdk/src/allend/Queries/capacity.js +0 -141
- package/dist/de.sdk/src/allend/Queries/capacity.js.map +0 -1
- package/dist/de.sdk/src/allend/Queries/discovery.js +0 -142
- package/dist/de.sdk/src/allend/Queries/discovery.js.map +0 -1
- package/dist/de.sdk/src/allend/Queries/index.js +0 -57
- package/dist/de.sdk/src/allend/Queries/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Queries/matching.js +0 -67
- package/dist/de.sdk/src/allend/Queries/matching.js.map +0 -1
- package/dist/de.sdk/src/allend/Queries/performance.js +0 -104
- package/dist/de.sdk/src/allend/Queries/performance.js.map +0 -1
- package/dist/de.sdk/src/allend/Queries/pricing.js +0 -140
- package/dist/de.sdk/src/allend/Queries/pricing.js.map +0 -1
- package/dist/de.sdk/src/allend/Realtime/index.js +0 -79
- package/dist/de.sdk/src/allend/Realtime/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Shared/account.js +0 -83
- package/dist/de.sdk/src/allend/Shared/account.js.map +0 -1
- package/dist/de.sdk/src/allend/Shared/buckets.js +0 -288
- package/dist/de.sdk/src/allend/Shared/buckets.js.map +0 -1
- package/dist/de.sdk/src/allend/Shared/context.js +0 -51
- package/dist/de.sdk/src/allend/Shared/context.js.map +0 -1
- package/dist/de.sdk/src/allend/Shared/faqs.js +0 -268
- package/dist/de.sdk/src/allend/Shared/faqs.js.map +0 -1
- package/dist/de.sdk/src/allend/Shared/invitation.js +0 -105
- package/dist/de.sdk/src/allend/Shared/invitation.js.map +0 -1
- package/dist/de.sdk/src/allend/Shared/operators.js +0 -122
- package/dist/de.sdk/src/allend/Shared/operators.js.map +0 -1
- package/dist/de.sdk/src/allend/Shared/users.js +0 -102
- package/dist/de.sdk/src/allend/Shared/users.js.map +0 -1
- package/dist/de.sdk/src/allend/Tracking/index.js +0 -102
- package/dist/de.sdk/src/allend/Tracking/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Utilities/common.js +0 -162
- package/dist/de.sdk/src/allend/Utilities/common.js.map +0 -1
- package/dist/de.sdk/src/allend/Utilities/fares.js +0 -124
- package/dist/de.sdk/src/allend/Utilities/fares.js.map +0 -1
- package/dist/de.sdk/src/allend/Utilities/index.js +0 -53
- package/dist/de.sdk/src/allend/Utilities/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Utilities/nearby.js +0 -105
- package/dist/de.sdk/src/allend/Utilities/nearby.js.map +0 -1
- package/dist/de.sdk/src/allend/Workflows/Client.d.ts +0 -10
- package/dist/de.sdk/src/allend/Workflows/Client.js +0 -144
- package/dist/de.sdk/src/allend/Workflows/Client.js.map +0 -1
- package/dist/de.sdk/src/allend/Workflows/Delivery.js.map +0 -1
- package/dist/de.sdk/src/allend/Workflows/index.js.map +0 -1
- package/dist/de.sdk/src/allend/Workspace/index.d.ts +0 -18
- package/dist/de.sdk/src/allend/Workspace/index.js +0 -225
- package/dist/de.sdk/src/allend/Workspace/index.js.map +0 -1
- package/dist/de.sdk/src/allend/index.js.map +0 -1
- package/dist/de.sdk/src/backend/Auth.js +0 -281
- package/dist/de.sdk/src/backend/Auth.js.map +0 -1
- package/dist/de.sdk/src/baseUrl.d.ts +0 -20
- package/dist/de.sdk/src/baseUrl.js +0 -25
- package/dist/de.sdk/src/baseUrl.js.map +0 -1
- package/dist/de.sdk/src/index.js.map +0 -1
- package/dist/de.sdk/src/utils/index.d.ts +0 -16
- package/dist/de.sdk/src/utils/index.js +0 -24
- package/dist/de.sdk/src/utils/index.js.map +0 -1
- package/dist/de.sdk/src/utils/stream.js.map +0 -1
- package/dist/de.types/src/api.d.ts +0 -112
- package/dist/de.types/src/api.js +0 -92
- package/dist/de.types/src/api.js.map +0 -1
- package/dist/de.types/src/auth.d.ts +0 -108
- package/dist/de.types/src/auth.js +0 -80
- package/dist/de.types/src/auth.js.map +0 -1
- package/dist/de.types/src/aux/agent-rvs.d.ts +0 -1204
- package/dist/de.types/src/aux/agent-rvs.js +0 -444
- package/dist/de.types/src/aux/agent-rvs.js.map +0 -1
- package/dist/de.types/src/aux/agents.d.ts +0 -1572
- package/dist/de.types/src/aux/agents.js +0 -487
- package/dist/de.types/src/aux/agents.js.map +0 -1
- package/dist/de.types/src/aux/customer-rvs.d.ts +0 -710
- package/dist/de.types/src/aux/customer-rvs.js +0 -321
- package/dist/de.types/src/aux/customer-rvs.js.map +0 -1
- package/dist/de.types/src/aux/customers.d.ts +0 -378
- package/dist/de.types/src/aux/customers.js +0 -67
- package/dist/de.types/src/aux/customers.js.map +0 -1
- package/dist/de.types/src/aux/index.d.ts +0 -4
- package/dist/de.types/src/aux/index.js +0 -21
- package/dist/de.types/src/aux/index.js.map +0 -1
- package/dist/de.types/src/billing.d.ts +0 -366
- package/dist/de.types/src/billing.js +0 -308
- package/dist/de.types/src/billing.js.map +0 -1
- package/dist/de.types/src/bucket.d.ts +0 -96
- package/dist/de.types/src/bucket.js +0 -52
- package/dist/de.types/src/bucket.js.map +0 -1
- package/dist/de.types/src/context.d.ts +0 -147
- package/dist/de.types/src/context.js +0 -148
- package/dist/de.types/src/context.js.map +0 -1
- package/dist/de.types/src/csp/analytics.d.ts +0 -269
- package/dist/de.types/src/csp/analytics.js +0 -185
- package/dist/de.types/src/csp/analytics.js.map +0 -1
- package/dist/de.types/src/csp/base.d.ts +0 -10
- package/dist/de.types/src/csp/base.js +0 -17
- package/dist/de.types/src/csp/base.js.map +0 -1
- package/dist/de.types/src/csp/index.d.ts +0 -106
- package/dist/de.types/src/csp/index.js +0 -48
- package/dist/de.types/src/csp/index.js.map +0 -1
- package/dist/de.types/src/csp/inventory.d.ts +0 -360
- package/dist/de.types/src/csp/inventory.js +0 -267
- package/dist/de.types/src/csp/inventory.js.map +0 -1
- package/dist/de.types/src/csp/order.d.ts +0 -1456
- package/dist/de.types/src/csp/order.js +0 -375
- package/dist/de.types/src/csp/order.js.map +0 -1
- package/dist/de.types/src/csp/webhook.d.ts +0 -380
- package/dist/de.types/src/csp/webhook.js +0 -207
- package/dist/de.types/src/csp/webhook.js.map +0 -1
- package/dist/de.types/src/de.profile.d.ts +0 -410
- package/dist/de.types/src/de.profile.js +0 -98
- package/dist/de.types/src/de.profile.js.map +0 -1
- package/dist/de.types/src/dev/developer.d.ts +0 -210
- package/dist/de.types/src/dev/developer.js +0 -55
- package/dist/de.types/src/dev/developer.js.map +0 -1
- package/dist/de.types/src/dev/index.d.ts +0 -132
- package/dist/de.types/src/dev/index.js +0 -79
- package/dist/de.types/src/dev/index.js.map +0 -1
- package/dist/de.types/src/entity.d.ts +0 -158
- package/dist/de.types/src/entity.js +0 -127
- package/dist/de.types/src/entity.js.map +0 -1
- package/dist/de.types/src/events.d.ts +0 -1843
- package/dist/de.types/src/events.js +0 -303
- package/dist/de.types/src/events.js.map +0 -1
- package/dist/de.types/src/faq.d.ts +0 -59
- package/dist/de.types/src/faq.js +0 -31
- package/dist/de.types/src/faq.js.map +0 -1
- package/dist/de.types/src/geo.d.ts +0 -122
- package/dist/de.types/src/geo.js +0 -87
- package/dist/de.types/src/geo.js.map +0 -1
- package/dist/de.types/src/index.d.ts +0 -27
- package/dist/de.types/src/index.js +0 -59
- package/dist/de.types/src/index.js.map +0 -1
- package/dist/de.types/src/inventory.d.ts +0 -1346
- package/dist/de.types/src/inventory.js +0 -356
- package/dist/de.types/src/inventory.js.map +0 -1
- package/dist/de.types/src/iotsp/device.d.ts +0 -580
- package/dist/de.types/src/iotsp/device.js +0 -277
- package/dist/de.types/src/iotsp/device.js.map +0 -1
- package/dist/de.types/src/iotsp/index.d.ts +0 -110
- package/dist/de.types/src/iotsp/index.js +0 -76
- package/dist/de.types/src/iotsp/index.js.map +0 -1
- package/dist/de.types/src/iotsp/rule.d.ts +0 -339
- package/dist/de.types/src/iotsp/rule.js +0 -172
- package/dist/de.types/src/iotsp/rule.js.map +0 -1
- package/dist/de.types/src/iotsp/topic.d.ts +0 -248
- package/dist/de.types/src/iotsp/topic.js +0 -139
- package/dist/de.types/src/iotsp/topic.js.map +0 -1
- package/dist/de.types/src/lsp/carrier/analytics.d.ts +0 -1190
- package/dist/de.types/src/lsp/carrier/analytics.js +0 -354
- package/dist/de.types/src/lsp/carrier/analytics.js.map +0 -1
- package/dist/de.types/src/lsp/carrier/capabilities.d.ts +0 -3602
- package/dist/de.types/src/lsp/carrier/capabilities.js +0 -880
- package/dist/de.types/src/lsp/carrier/capabilities.js.map +0 -1
- package/dist/de.types/src/lsp/carrier/capacities.d.ts +0 -4435
- package/dist/de.types/src/lsp/carrier/capacities.js +0 -615
- package/dist/de.types/src/lsp/carrier/capacities.js.map +0 -1
- package/dist/de.types/src/lsp/carrier/index.d.ts +0 -733
- package/dist/de.types/src/lsp/carrier/index.js +0 -150
- package/dist/de.types/src/lsp/carrier/index.js.map +0 -1
- package/dist/de.types/src/lsp/carrier/performance.d.ts +0 -566
- package/dist/de.types/src/lsp/carrier/performance.js +0 -127
- package/dist/de.types/src/lsp/carrier/performance.js.map +0 -1
- package/dist/de.types/src/lsp/carrier/utilities.d.ts +0 -6670
- package/dist/de.types/src/lsp/carrier/utilities.js +0 -597
- package/dist/de.types/src/lsp/carrier/utilities.js.map +0 -1
- package/dist/de.types/src/lsp/consolidation.d.ts +0 -792
- package/dist/de.types/src/lsp/consolidation.js +0 -343
- package/dist/de.types/src/lsp/consolidation.js.map +0 -1
- package/dist/de.types/src/lsp/coverage.d.ts +0 -7448
- package/dist/de.types/src/lsp/coverage.js +0 -706
- package/dist/de.types/src/lsp/coverage.js.map +0 -1
- package/dist/de.types/src/lsp/fleet/index.d.ts +0 -1127
- package/dist/de.types/src/lsp/fleet/index.js +0 -269
- package/dist/de.types/src/lsp/fleet/index.js.map +0 -1
- package/dist/de.types/src/lsp/fleet/maintenance.d.ts +0 -2021
- package/dist/de.types/src/lsp/fleet/maintenance.js +0 -386
- package/dist/de.types/src/lsp/fleet/maintenance.js.map +0 -1
- package/dist/de.types/src/lsp/fleet/parking.d.ts +0 -2042
- package/dist/de.types/src/lsp/fleet/parking.js +0 -458
- package/dist/de.types/src/lsp/fleet/parking.js.map +0 -1
- package/dist/de.types/src/lsp/fleet/vehicle.d.ts +0 -782
- package/dist/de.types/src/lsp/fleet/vehicle.js +0 -314
- package/dist/de.types/src/lsp/fleet/vehicle.js.map +0 -1
- package/dist/de.types/src/lsp/graph.d.ts +0 -211
- package/dist/de.types/src/lsp/graph.js +0 -92
- package/dist/de.types/src/lsp/graph.js.map +0 -1
- package/dist/de.types/src/lsp/hub/analytics.d.ts +0 -4293
- package/dist/de.types/src/lsp/hub/analytics.js +0 -219
- package/dist/de.types/src/lsp/hub/analytics.js.map +0 -1
- package/dist/de.types/src/lsp/hub/capabilities.d.ts +0 -1466
- package/dist/de.types/src/lsp/hub/capabilities.js +0 -464
- package/dist/de.types/src/lsp/hub/capabilities.js.map +0 -1
- package/dist/de.types/src/lsp/hub/capacities.d.ts +0 -4277
- package/dist/de.types/src/lsp/hub/capacities.js +0 -495
- package/dist/de.types/src/lsp/hub/capacities.js.map +0 -1
- package/dist/de.types/src/lsp/hub/index.d.ts +0 -2783
- package/dist/de.types/src/lsp/hub/index.js +0 -268
- package/dist/de.types/src/lsp/hub/index.js.map +0 -1
- package/dist/de.types/src/lsp/hub/performance.d.ts +0 -390
- package/dist/de.types/src/lsp/hub/performance.js +0 -78
- package/dist/de.types/src/lsp/hub/performance.js.map +0 -1
- package/dist/de.types/src/lsp/hub/utilities.d.ts +0 -2995
- package/dist/de.types/src/lsp/hub/utilities.js +0 -521
- package/dist/de.types/src/lsp/hub/utilities.js.map +0 -1
- package/dist/de.types/src/lsp/index.d.ts +0 -156
- package/dist/de.types/src/lsp/index.js +0 -124
- package/dist/de.types/src/lsp/index.js.map +0 -1
- package/dist/de.types/src/lsp/operations.d.ts +0 -562
- package/dist/de.types/src/lsp/operations.js +0 -265
- package/dist/de.types/src/lsp/operations.js.map +0 -1
- package/dist/de.types/src/lsp/order/delivery.d.ts +0 -1118
- package/dist/de.types/src/lsp/order/delivery.js +0 -177
- package/dist/de.types/src/lsp/order/delivery.js.map +0 -1
- package/dist/de.types/src/lsp/order/flow/processes.d.ts +0 -7
- package/dist/de.types/src/lsp/order/flow/processes.js +0 -67
- package/dist/de.types/src/lsp/order/flow/processes.js.map +0 -1
- package/dist/de.types/src/lsp/order/flow/stages.d.ts +0 -7
- package/dist/de.types/src/lsp/order/flow/stages.js +0 -111
- package/dist/de.types/src/lsp/order/flow/stages.js.map +0 -1
- package/dist/de.types/src/lsp/order/inbound.d.ts +0 -1164
- package/dist/de.types/src/lsp/order/inbound.js +0 -193
- package/dist/de.types/src/lsp/order/inbound.js.map +0 -1
- package/dist/de.types/src/lsp/order/internal.d.ts +0 -1403
- package/dist/de.types/src/lsp/order/internal.js +0 -263
- package/dist/de.types/src/lsp/order/internal.js.map +0 -1
- package/dist/de.types/src/lsp/order/management.d.ts +0 -540
- package/dist/de.types/src/lsp/order/management.js +0 -326
- package/dist/de.types/src/lsp/order/management.js.map +0 -1
- package/dist/de.types/src/lsp/order/passthrough.d.ts +0 -1815
- package/dist/de.types/src/lsp/order/passthrough.js +0 -368
- package/dist/de.types/src/lsp/order/passthrough.js.map +0 -1
- package/dist/de.types/src/lsp/order/ride.d.ts +0 -1055
- package/dist/de.types/src/lsp/order/ride.js +0 -174
- package/dist/de.types/src/lsp/order/ride.js.map +0 -1
- package/dist/de.types/src/lsp/order/shipping.d.ts +0 -1523
- package/dist/de.types/src/lsp/order/shipping.js +0 -231
- package/dist/de.types/src/lsp/order/shipping.js.map +0 -1
- package/dist/de.types/src/lsp/pod/index.d.ts +0 -804
- package/dist/de.types/src/lsp/pod/index.js +0 -250
- package/dist/de.types/src/lsp/pod/index.js.map +0 -1
- package/dist/de.types/src/lsp/pricing.d.ts +0 -1810
- package/dist/de.types/src/lsp/pricing.js +0 -972
- package/dist/de.types/src/lsp/pricing.js.map +0 -1
- package/dist/de.types/src/lsp/psl.d.ts +0 -784
- package/dist/de.types/src/lsp/psl.js +0 -333
- package/dist/de.types/src/lsp/psl.js.map +0 -1
- package/dist/de.types/src/lsp/terminal/analytics.d.ts +0 -277
- package/dist/de.types/src/lsp/terminal/analytics.js +0 -310
- package/dist/de.types/src/lsp/terminal/analytics.js.map +0 -1
- package/dist/de.types/src/lsp/terminal/capabilities.d.ts +0 -796
- package/dist/de.types/src/lsp/terminal/capabilities.js +0 -506
- package/dist/de.types/src/lsp/terminal/capabilities.js.map +0 -1
- package/dist/de.types/src/lsp/terminal/capacities.d.ts +0 -3151
- package/dist/de.types/src/lsp/terminal/capacities.js +0 -504
- package/dist/de.types/src/lsp/terminal/capacities.js.map +0 -1
- package/dist/de.types/src/lsp/terminal/index.d.ts +0 -1055
- package/dist/de.types/src/lsp/terminal/index.js +0 -394
- package/dist/de.types/src/lsp/terminal/index.js.map +0 -1
- package/dist/de.types/src/lsp/terminal/performance.d.ts +0 -954
- package/dist/de.types/src/lsp/terminal/performance.js +0 -159
- package/dist/de.types/src/lsp/terminal/performance.js.map +0 -1
- package/dist/de.types/src/lsp/terminal/utilities.d.ts +0 -2373
- package/dist/de.types/src/lsp/terminal/utilities.js +0 -161
- package/dist/de.types/src/lsp/terminal/utilities.js.map +0 -1
- package/dist/de.types/src/lsp/warehouse/analytics.d.ts +0 -3087
- package/dist/de.types/src/lsp/warehouse/analytics.js +0 -229
- package/dist/de.types/src/lsp/warehouse/analytics.js.map +0 -1
- package/dist/de.types/src/lsp/warehouse/capabilities.d.ts +0 -1383
- package/dist/de.types/src/lsp/warehouse/capabilities.js +0 -567
- package/dist/de.types/src/lsp/warehouse/capabilities.js.map +0 -1
- package/dist/de.types/src/lsp/warehouse/capacities.d.ts +0 -2920
- package/dist/de.types/src/lsp/warehouse/capacities.js +0 -450
- package/dist/de.types/src/lsp/warehouse/capacities.js.map +0 -1
- package/dist/de.types/src/lsp/warehouse/index.d.ts +0 -2565
- package/dist/de.types/src/lsp/warehouse/index.js +0 -264
- package/dist/de.types/src/lsp/warehouse/index.js.map +0 -1
- package/dist/de.types/src/lsp/warehouse/performance.d.ts +0 -286
- package/dist/de.types/src/lsp/warehouse/performance.js +0 -72
- package/dist/de.types/src/lsp/warehouse/performance.js.map +0 -1
- package/dist/de.types/src/lsp/warehouse/utilities.d.ts +0 -5173
- package/dist/de.types/src/lsp/warehouse/utilities.js +0 -588
- package/dist/de.types/src/lsp/warehouse/utilities.js.map +0 -1
- package/dist/de.types/src/lsp/zones.d.ts +0 -304
- package/dist/de.types/src/lsp/zones.js +0 -118
- package/dist/de.types/src/lsp/zones.js.map +0 -1
- package/dist/de.types/src/measure.d.ts +0 -138
- package/dist/de.types/src/measure.js +0 -190
- package/dist/de.types/src/measure.js.map +0 -1
- package/dist/de.types/src/operator.d.ts +0 -102
- package/dist/de.types/src/operator.js +0 -38
- package/dist/de.types/src/operator.js.map +0 -1
- package/dist/de.types/src/order.d.ts +0 -2738
- package/dist/de.types/src/order.js +0 -1078
- package/dist/de.types/src/order.js.map +0 -1
- package/dist/de.types/src/realm/index.d.ts +0 -3
- package/dist/de.types/src/realm/index.js +0 -20
- package/dist/de.types/src/realm/index.js.map +0 -1
- package/dist/de.types/src/realm/pipelines.d.ts +0 -32566
- package/dist/de.types/src/realm/pipelines.js +0 -1273
- package/dist/de.types/src/realm/pipelines.js.map +0 -1
- package/dist/de.types/src/realm/queries.d.ts +0 -1326
- package/dist/de.types/src/realm/queries.js +0 -456
- package/dist/de.types/src/realm/queries.js.map +0 -1
- package/dist/de.types/src/realm/utilities.d.ts +0 -1793
- package/dist/de.types/src/realm/utilities.js +0 -594
- package/dist/de.types/src/realm/utilities.js.map +0 -1
- package/dist/de.types/src/routing.d.ts +0 -427
- package/dist/de.types/src/routing.js +0 -60
- package/dist/de.types/src/routing.js.map +0 -1
- package/dist/de.types/src/service.d.ts +0 -263
- package/dist/de.types/src/service.js +0 -60
- package/dist/de.types/src/service.js.map +0 -1
- package/dist/de.types/src/shared/access.d.ts +0 -101
- package/dist/de.types/src/shared/access.js +0 -30
- package/dist/de.types/src/shared/access.js.map +0 -1
- package/dist/de.types/src/shared/account.d.ts +0 -43
- package/dist/de.types/src/shared/account.js +0 -15
- package/dist/de.types/src/shared/account.js.map +0 -1
- package/dist/de.types/src/shared/auth.d.ts +0 -44
- package/dist/de.types/src/shared/auth.js +0 -19
- package/dist/de.types/src/shared/auth.js.map +0 -1
- package/dist/de.types/src/shared/bucket.d.ts +0 -293
- package/dist/de.types/src/shared/bucket.js +0 -79
- package/dist/de.types/src/shared/bucket.js.map +0 -1
- package/dist/de.types/src/shared/faq.d.ts +0 -279
- package/dist/de.types/src/shared/faq.js +0 -73
- package/dist/de.types/src/shared/faq.js.map +0 -1
- package/dist/de.types/src/shared/index.d.ts +0 -9
- package/dist/de.types/src/shared/index.js +0 -26
- package/dist/de.types/src/shared/index.js.map +0 -1
- package/dist/de.types/src/shared/invitation.d.ts +0 -1524
- package/dist/de.types/src/shared/invitation.js +0 -60
- package/dist/de.types/src/shared/invitation.js.map +0 -1
- package/dist/de.types/src/shared/operator.d.ts +0 -955
- package/dist/de.types/src/shared/operator.js +0 -48
- package/dist/de.types/src/shared/operator.js.map +0 -1
- package/dist/de.types/src/shared/tracking.d.ts +0 -30
- package/dist/de.types/src/shared/tracking.js +0 -23
- package/dist/de.types/src/shared/tracking.js.map +0 -1
- package/dist/de.types/src/shared/user.d.ts +0 -76
- package/dist/de.types/src/shared/user.js +0 -22
- package/dist/de.types/src/shared/user.js.map +0 -1
- package/dist/de.types/src/sync.d.ts +0 -538
- package/dist/de.types/src/sync.js +0 -329
- package/dist/de.types/src/sync.js.map +0 -1
- package/dist/de.types/src/time.d.ts +0 -138
- package/dist/de.types/src/time.js +0 -93
- package/dist/de.types/src/time.js.map +0 -1
- package/dist/de.types/src/user.d.ts +0 -393
- package/dist/de.types/src/user.js +0 -205
- package/dist/de.types/src/user.js.map +0 -1
- package/dist/de.types/src/workspace/admin.d.ts +0 -90
- package/dist/de.types/src/workspace/admin.js +0 -33
- package/dist/de.types/src/workspace/admin.js.map +0 -1
- package/dist/de.types/src/workspace/connector.d.ts +0 -594
- package/dist/de.types/src/workspace/connector.js +0 -229
- package/dist/de.types/src/workspace/connector.js.map +0 -1
- package/dist/de.types/src/workspace/index.d.ts +0 -35
- package/dist/de.types/src/workspace/index.js +0 -21
- package/dist/de.types/src/workspace/index.js.map +0 -1
- /package/dist/{de.sdk/src/allend → allend}/Agent/delivery.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Agent/dispatch.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Agent/navigation.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Agent/origin.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Agent/reallocation.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Agent/rides.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Agent/shipping.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/CSP/analytics.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/CSP/inventory.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/CSP/orders.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/CSP/webhooks.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Customer/intents.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Customer/orders.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Customer/rides.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/IoTClient.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/IoTSP/devices.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/IoTSP/rules.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/IoTSP/topics.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/LSP/coverage.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/LSP/inventory.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/LSP/psl.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/analytics.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/escalations.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/executions.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/interventions.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/monitor.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/queries.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/templates.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/utils.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/utils.js +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/webhooks.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Pipelines/workers.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Queries/capacity.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Queries/discovery.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Queries/matching.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Queries/performance.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Queries/pricing.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Realtime/index.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Shared/account.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Shared/buckets.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Shared/context.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Shared/faqs.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Shared/operators.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Shared/users.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Utilities/common.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Utilities/fares.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Utilities/nearby.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Workflows/Delivery.d.ts +0 -0
- /package/dist/{de.sdk/src/allend → allend}/Workflows/index.d.ts +0 -0
- /package/dist/{de.sdk/src/utils → utils}/stream.d.ts +0 -0
|
@@ -1,37 +1,130 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { AccessOptions } from '../../types/access'
|
|
1
|
+
import type { AccessOptions, UserSession } from '../../types/access'
|
|
3
2
|
import AccessManager from '../Access'
|
|
3
|
+
import { qs, type Res } from '../../utils'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
6
|
+
//
|
|
7
|
+
// OTPAuth: sign a person in — de.auth routes.
|
|
8
|
+
//
|
|
9
|
+
// The whole flow is phone-and-OTP, in three steps:
|
|
10
|
+
//
|
|
11
|
+
// signin( phone, device ) → sends the code, replies `{ next }`
|
|
12
|
+
// verify( phone, pvc ) → replies the session: ctoken + deviceId
|
|
13
|
+
// setAccount( … ) → only when `next` says the person is new
|
|
14
|
+
//
|
|
15
|
+
// This client used to POST `/v1/auth/otp`, which de.auth does not serve — the
|
|
16
|
+
// single method it had could never succeed. Route shapes are taken from
|
|
17
|
+
// de.auth/src/routes/{auth,user}/index.ts.
|
|
18
|
+
//
|
|
19
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
20
|
+
|
|
21
|
+
export type SigninBody = {
|
|
22
|
+
phone: string
|
|
23
|
+
/** Device fingerprint — an object or its JSON string. */
|
|
24
|
+
device: string | Record<string, any>
|
|
25
|
+
/** ISO 3166-1 alpha-2. */
|
|
26
|
+
country?: string
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type SigninResult = {
|
|
30
|
+
/** What the caller must do next — verification, or account creation first. */
|
|
31
|
+
next: string
|
|
32
|
+
/**
|
|
33
|
+
* The OTP itself, returned only when de.auth runs with
|
|
34
|
+
* NODE_ENV=development. In every other environment the code arrives by SMS
|
|
35
|
+
* and this is absent, which is what makes unattended sign-in a dev-only
|
|
36
|
+
* capability rather than a hole.
|
|
37
|
+
*/
|
|
38
|
+
testVCode?: number
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type CreateAccountBody = {
|
|
42
|
+
phone: string
|
|
43
|
+
agreeTerms: boolean | string
|
|
44
|
+
firstName?: string
|
|
45
|
+
lastName?: string
|
|
46
|
+
photo?: string
|
|
47
|
+
type?: string
|
|
48
|
+
country?: string
|
|
49
|
+
newsletters?: boolean | string
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type VerifyResult = {
|
|
53
|
+
ctoken?: string
|
|
54
|
+
deviceId?: string
|
|
55
|
+
[ key: string ]: any
|
|
10
56
|
}
|
|
11
|
-
type SigninResponse = HTTPResponse<{ token: string }>
|
|
12
57
|
|
|
13
58
|
export default class OTPAuth extends AccessManager {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
59
|
+
constructor( access: AccessOptions ){
|
|
60
|
+
super( access, 'ASI' )
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// ── Sign-in ───────────────────────────────────────────────────────────────
|
|
64
|
+
|
|
65
|
+
/** Step 1 — sends the code. */
|
|
66
|
+
async signin( body: SigninBody ): Promise<Res<SigninResult>> {
|
|
67
|
+
if( !body.phone ) throw new Error('<phone> argument required')
|
|
68
|
+
|
|
69
|
+
return this.request<Res<SigninResult>>({ url: '/signin', method: 'POST', body })
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** Step 2 — exchanges the code for a session. */
|
|
73
|
+
async verify( body: { phone: string, pvc: number, new_phone?: string }): Promise<Res<VerifyResult>> {
|
|
74
|
+
return this.request<Res<VerifyResult>>({ url: '/verification', method: 'POST', body })
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** Step 1a — for a phone de.auth has never seen. */
|
|
78
|
+
async setAccount( body: CreateAccountBody ): Promise<Res<{ next: string }>> {
|
|
79
|
+
return this.request<Res<{ next: string }>>({ url: '/set-account', method: 'POST', body })
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
async resendSms( body: { phone: string }): Promise<Res<void>> {
|
|
83
|
+
return this.request<Res<void>>({ url: '/resend/sms', method: 'POST', body })
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** GET, with the scope in the querystring — not a POST. */
|
|
87
|
+
async signout( querystring?: { allDevices?: boolean | string }): Promise<Res<void>> {
|
|
88
|
+
return this.request<Res<void>>({ url: `/signout${qs( querystring )}`, method: 'GET' })
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// ── The signed-in person ──────────────────────────────────────────────────
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Resolve the session to a user, and to a uid.
|
|
95
|
+
*
|
|
96
|
+
* `scope` is not optional in practice: without it de.auth falls back to the
|
|
97
|
+
* calling service's configured scope and then fails its own response
|
|
98
|
+
* validation. This is the same scope de.arch asks for.
|
|
99
|
+
*/
|
|
100
|
+
async active( session: UserSession, scope = 'name:photo:email:phone:timezone' ): Promise<Res<{ uid: string }>> {
|
|
101
|
+
return this.request<Res<{ uid: string }>>({
|
|
102
|
+
url: `/user/active${qs({ scope })}`,
|
|
103
|
+
method: 'GET',
|
|
104
|
+
headers: {
|
|
105
|
+
'de-auth-token': session.token,
|
|
106
|
+
'de-auth-device': session.device
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
async retrieve( querystring?: { type?: string }): Promise<Res<{ user: any }>> {
|
|
112
|
+
return this.request<Res<{ user: any }>>({ url: `/user${qs( querystring )}`, method: 'GET' })
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
async search( querystring: Record<string, any> ): Promise<Res<any>> {
|
|
116
|
+
return this.request<Res<any>>({ url: `/user/search${qs( querystring )}`, method: 'GET' })
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
async updateProfile( body: Record<string, any> ): Promise<Res<any>> {
|
|
120
|
+
return this.request<Res<any>>({ url: '/user/profile', method: 'PATCH', body })
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
async updateSettings( body: Record<string, any> ): Promise<Res<any>> {
|
|
124
|
+
return this.request<Res<any>>({ url: '/user/settings', method: 'PATCH', body })
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
async remove( body: Record<string, any> ): Promise<Res<void>> {
|
|
128
|
+
return this.request<Res<void>>({ url: '/user', method: 'DELETE', body })
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
PipelineAnalyticsOverviewValidation,
|
|
3
3
|
PipelineAnalyticsPipelineValidation
|
|
4
4
|
} from '@de./types'
|
|
5
|
-
import { qs, type Http, type Res } from '../../utils'
|
|
5
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
6
6
|
|
|
7
7
|
// ─── Analytics ────────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
@@ -10,20 +10,16 @@ export class PipelinesAnalytics {
|
|
|
10
10
|
constructor( private http: Http ){}
|
|
11
11
|
|
|
12
12
|
async overview( querystring?: PipelineAnalyticsOverviewValidation['querystring'] ): Promise<PipelineAnalyticsOverviewValidation['response']> {
|
|
13
|
-
|
|
13
|
+
return await this.http.request<PipelineAnalyticsOverviewValidation['response']>({
|
|
14
14
|
url: `/pipelines/analytics/overview${qs( querystring )}`,
|
|
15
15
|
method: 'GET'
|
|
16
16
|
})
|
|
17
|
-
if( error ) throw new Error( message )
|
|
18
|
-
return data
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
async pipeline( pid: string, querystring?: PipelineAnalyticsPipelineValidation['querystring'] ): Promise<PipelineAnalyticsPipelineValidation['response']> {
|
|
22
|
-
|
|
20
|
+
return await this.http.request<PipelineAnalyticsPipelineValidation['response']>({
|
|
23
21
|
url: `/pipelines/analytics/pipeline/${pid}${qs( querystring )}`,
|
|
24
22
|
method: 'GET'
|
|
25
23
|
})
|
|
26
|
-
if( error ) throw new Error( message )
|
|
27
|
-
return data
|
|
28
24
|
}
|
|
29
25
|
}
|
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
PipelineEscalationListValidation,
|
|
3
3
|
PipelineEscalationResolveValidation
|
|
4
4
|
} from '@de./types'
|
|
5
|
-
import { qs, type Http, type Res } from '../../utils'
|
|
5
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
6
6
|
|
|
7
7
|
// ─── Escalations ──────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
@@ -10,21 +10,17 @@ export class PipelinesEscalations {
|
|
|
10
10
|
constructor( private http: Http ){}
|
|
11
11
|
|
|
12
12
|
async list( querystring?: PipelineEscalationListValidation['querystring'] ): Promise<PipelineEscalationListValidation['response']> {
|
|
13
|
-
|
|
13
|
+
return await this.http.request<PipelineEscalationListValidation['response']>({
|
|
14
14
|
url: `/pipelines/escalations${qs( querystring )}`,
|
|
15
15
|
method: 'GET'
|
|
16
16
|
})
|
|
17
|
-
if( error ) throw new Error( message )
|
|
18
|
-
return data
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
async resolve( id: string, body?: PipelineEscalationResolveValidation['body'] ): Promise<PipelineEscalationResolveValidation['response']> {
|
|
22
|
-
|
|
20
|
+
return await this.http.request<PipelineEscalationResolveValidation['response']>({
|
|
23
21
|
url: `/pipelines/escalations/${id}/resolve`,
|
|
24
22
|
method: 'POST',
|
|
25
23
|
body
|
|
26
24
|
})
|
|
27
|
-
if( error ) throw new Error( message )
|
|
28
|
-
return data
|
|
29
25
|
}
|
|
30
26
|
}
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
PipelineExecutionActionValidation,
|
|
6
6
|
PipelineExecutionCancelValidation
|
|
7
7
|
} from '@de./types'
|
|
8
|
-
import { qs, type Http, type Res } from '../../utils'
|
|
8
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
9
9
|
|
|
10
10
|
// ─── Executions ───────────────────────────────────────────────────────────────
|
|
11
11
|
|
|
@@ -13,49 +13,39 @@ export class PipelinesExecutions {
|
|
|
13
13
|
constructor( private http: Http ){}
|
|
14
14
|
|
|
15
15
|
async create( body: PipelineExecutionCreateValidation['body'] ): Promise<PipelineExecutionCreateValidation['response']> {
|
|
16
|
-
|
|
16
|
+
return await this.http.request<PipelineExecutionCreateValidation['response']>({
|
|
17
17
|
url: '/pipelines/executions',
|
|
18
18
|
method: 'POST',
|
|
19
19
|
body
|
|
20
20
|
})
|
|
21
|
-
if( error ) throw new Error( message )
|
|
22
|
-
return data
|
|
23
21
|
}
|
|
24
22
|
|
|
25
23
|
async list( querystring?: PipelineExecutionListValidation['querystring'] ): Promise<PipelineExecutionListValidation['response']> {
|
|
26
|
-
|
|
24
|
+
return await this.http.request<PipelineExecutionListValidation['response']>({
|
|
27
25
|
url: `/pipelines/executions${qs( querystring )}`,
|
|
28
26
|
method: 'GET'
|
|
29
27
|
})
|
|
30
|
-
if( error ) throw new Error( message )
|
|
31
|
-
return data
|
|
32
28
|
}
|
|
33
29
|
|
|
34
30
|
async get( id: string ): Promise<PipelineExecutionGetValidation['response']> {
|
|
35
|
-
|
|
31
|
+
return await this.http.request<PipelineExecutionGetValidation['response']>({
|
|
36
32
|
url: `/pipelines/executions/${id}`,
|
|
37
33
|
method: 'GET'
|
|
38
34
|
})
|
|
39
|
-
if( error ) throw new Error( message )
|
|
40
|
-
return data
|
|
41
35
|
}
|
|
42
36
|
|
|
43
37
|
async start( id: string ): Promise<PipelineExecutionActionValidation['response']> {
|
|
44
|
-
|
|
38
|
+
return await this.http.request<PipelineExecutionActionValidation['response']>({
|
|
45
39
|
url: `/pipelines/executions/${id}/start`,
|
|
46
40
|
method: 'POST'
|
|
47
41
|
})
|
|
48
|
-
if( error ) throw new Error( message )
|
|
49
|
-
return data
|
|
50
42
|
}
|
|
51
43
|
|
|
52
44
|
async cancel( id: string, body: PipelineExecutionCancelValidation['body'] ): Promise<PipelineExecutionCancelValidation['response']> {
|
|
53
|
-
|
|
45
|
+
return await this.http.request<PipelineExecutionCancelValidation['response']>({
|
|
54
46
|
url: `/pipelines/executions/${id}/cancel`,
|
|
55
47
|
method: 'POST',
|
|
56
48
|
body
|
|
57
49
|
})
|
|
58
|
-
if( error ) throw new Error( message )
|
|
59
|
-
return data
|
|
60
50
|
}
|
|
61
51
|
}
|
|
@@ -9,7 +9,7 @@ import type {
|
|
|
9
9
|
PipelineSetStatusValidation
|
|
10
10
|
} from '@de./types'
|
|
11
11
|
import AccessManager from '../Access'
|
|
12
|
-
import { qs, type Res } from '../../utils'
|
|
12
|
+
import { qs, type Res, type Data } from '../../utils'
|
|
13
13
|
import { PipelinesWorkers } from './workers'
|
|
14
14
|
import { PipelinesMonitor } from './monitor'
|
|
15
15
|
import { PipelinesQueries } from './queries'
|
|
@@ -28,6 +28,10 @@ export type PipelinesConfig = {
|
|
|
28
28
|
env?: Env
|
|
29
29
|
platform?: Platform
|
|
30
30
|
remoteOrigin?: string
|
|
31
|
+
/** Per-request deadline in ms. See `AccessOptions.timeout`. */
|
|
32
|
+
timeout?: number
|
|
33
|
+
/** Explicit service origin, overriding the env table. See `AccessOptions.baseUrl`. */
|
|
34
|
+
baseUrl?: string
|
|
31
35
|
version?: number
|
|
32
36
|
}
|
|
33
37
|
|
|
@@ -55,6 +59,8 @@ export default class Pipelines extends AccessManager {
|
|
|
55
59
|
env: config.env || 'dev',
|
|
56
60
|
platform: config.platform || 'proxy',
|
|
57
61
|
remoteOrigin: config.remoteOrigin,
|
|
62
|
+
timeout: config.timeout,
|
|
63
|
+
baseUrl: config.baseUrl,
|
|
58
64
|
version: config.version
|
|
59
65
|
}
|
|
60
66
|
|
|
@@ -74,58 +80,46 @@ export default class Pipelines extends AccessManager {
|
|
|
74
80
|
// ── Pipeline definitions ──────────────────────────────────────────────────
|
|
75
81
|
|
|
76
82
|
async list( querystring?: PipelineListValidation['querystring'] ): Promise<PipelineListValidation['response']> {
|
|
77
|
-
|
|
83
|
+
return await this.request<PipelineListValidation['response']>({
|
|
78
84
|
url: `/pipelines${qs( querystring )}`,
|
|
79
85
|
method: 'GET'
|
|
80
86
|
})
|
|
81
|
-
if( error ) throw new Error( message )
|
|
82
|
-
return data
|
|
83
87
|
}
|
|
84
88
|
|
|
85
89
|
async get( id: string ): Promise<PipelineRetrieveValidation['response']> {
|
|
86
|
-
|
|
90
|
+
return await this.request<PipelineRetrieveValidation['response']>({
|
|
87
91
|
url: `/pipelines/${id}`,
|
|
88
92
|
method: 'GET'
|
|
89
93
|
})
|
|
90
|
-
if( error ) throw new Error( message )
|
|
91
|
-
return data
|
|
92
94
|
}
|
|
93
95
|
|
|
94
96
|
async deploy( id: string, body?: PipelineDeployValidation['body'] ): Promise<PipelineDeployValidation['response']> {
|
|
95
|
-
|
|
97
|
+
return await this.request<PipelineDeployValidation['response']>({
|
|
96
98
|
url: `/pipelines/${id}/deploy`,
|
|
97
99
|
method: 'POST',
|
|
98
100
|
body
|
|
99
101
|
})
|
|
100
|
-
if( error ) throw new Error( message )
|
|
101
|
-
return data
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
async validate( id: string ): Promise<PipelineValidateValidation['response']> {
|
|
105
|
-
|
|
105
|
+
return await this.request<PipelineValidateValidation['response']>({
|
|
106
106
|
url: `/pipelines/${id}/validate`,
|
|
107
107
|
method: 'POST'
|
|
108
108
|
})
|
|
109
|
-
if( error ) throw new Error( message )
|
|
110
|
-
return data
|
|
111
109
|
}
|
|
112
110
|
|
|
113
111
|
async simulate( id: string, body?: PipelineSimulateValidation['body'] ): Promise<PipelineSimulateValidation['response']> {
|
|
114
|
-
|
|
112
|
+
return await this.request<PipelineSimulateValidation['response']>({
|
|
115
113
|
url: `/pipelines/${id}/simulate`,
|
|
116
114
|
method: 'POST',
|
|
117
115
|
body
|
|
118
116
|
})
|
|
119
|
-
if( error ) throw new Error( message )
|
|
120
|
-
return data
|
|
121
117
|
}
|
|
122
118
|
|
|
123
119
|
async setStatus( id: string, status: string ): Promise<PipelineSetStatusValidation['response']> {
|
|
124
|
-
|
|
120
|
+
return await this.request<PipelineSetStatusValidation['response']>({
|
|
125
121
|
url: `/pipelines/${id}/status/${status}`,
|
|
126
122
|
method: 'PATCH'
|
|
127
123
|
})
|
|
128
|
-
if( error ) throw new Error( message )
|
|
129
|
-
return data
|
|
130
124
|
}
|
|
131
125
|
}
|
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
PipelineInterventionStageValidation,
|
|
3
3
|
PipelineInterventionExecutionValidation
|
|
4
4
|
} from '@de./types'
|
|
5
|
-
import { type Http, type Res } from '../../utils'
|
|
5
|
+
import { type Http, type Res, type Data } from '../../utils'
|
|
6
6
|
|
|
7
7
|
// ─── Interventions ────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
@@ -10,22 +10,18 @@ export class PipelinesInterventions {
|
|
|
10
10
|
constructor( private http: Http ){}
|
|
11
11
|
|
|
12
12
|
async stage( executionId: string, stageId: string, body?: PipelineInterventionStageValidation['body'] ): Promise<PipelineInterventionStageValidation['response']> {
|
|
13
|
-
|
|
13
|
+
return await this.http.request<PipelineInterventionStageValidation['response']>({
|
|
14
14
|
url: `/pipelines/interventions/stage/${executionId}/${stageId}`,
|
|
15
15
|
method: 'POST',
|
|
16
16
|
body
|
|
17
17
|
})
|
|
18
|
-
if( error ) throw new Error( message )
|
|
19
|
-
return data
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
async execution( executionId: string, body?: PipelineInterventionExecutionValidation['body'] ): Promise<PipelineInterventionExecutionValidation['response']> {
|
|
23
|
-
|
|
21
|
+
return await this.http.request<PipelineInterventionExecutionValidation['response']>({
|
|
24
22
|
url: `/pipelines/interventions/execution/${executionId}`,
|
|
25
23
|
method: 'POST',
|
|
26
24
|
body
|
|
27
25
|
})
|
|
28
|
-
if( error ) throw new Error( message )
|
|
29
|
-
return data
|
|
30
26
|
}
|
|
31
27
|
}
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
PipelineMonitorGetValidation,
|
|
4
4
|
PipelineMonitorOverviewValidation
|
|
5
5
|
} from '@de./types'
|
|
6
|
-
import { qs, type Http, type Res } from '../../utils'
|
|
6
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
7
7
|
|
|
8
8
|
// ─── Monitor ──────────────────────────────────────────────────────────────────
|
|
9
9
|
|
|
@@ -11,29 +11,23 @@ export class PipelinesMonitor {
|
|
|
11
11
|
constructor( private http: Http ){}
|
|
12
12
|
|
|
13
13
|
async list( querystring?: PipelineMonitorListValidation['querystring'] ): Promise<PipelineMonitorListValidation['response']> {
|
|
14
|
-
|
|
14
|
+
return await this.http.request<PipelineMonitorListValidation['response']>({
|
|
15
15
|
url: `/pipelines/monitor${qs( querystring )}`,
|
|
16
16
|
method: 'GET'
|
|
17
17
|
})
|
|
18
|
-
if( error ) throw new Error( message )
|
|
19
|
-
return data
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
async get( executionId: string ): Promise<PipelineMonitorGetValidation['response']> {
|
|
23
|
-
|
|
21
|
+
return await this.http.request<PipelineMonitorGetValidation['response']>({
|
|
24
22
|
url: `/pipelines/monitor/${executionId}`,
|
|
25
23
|
method: 'GET'
|
|
26
24
|
})
|
|
27
|
-
if( error ) throw new Error( message )
|
|
28
|
-
return data
|
|
29
25
|
}
|
|
30
26
|
|
|
31
27
|
async overview(): Promise<PipelineMonitorOverviewValidation['response']> {
|
|
32
|
-
|
|
28
|
+
return await this.http.request<PipelineMonitorOverviewValidation['response']>({
|
|
33
29
|
url: '/pipelines/monitor/overview',
|
|
34
30
|
method: 'GET'
|
|
35
31
|
})
|
|
36
|
-
if( error ) throw new Error( message )
|
|
37
|
-
return data
|
|
38
32
|
}
|
|
39
33
|
}
|
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
PipelineQueriesSearchValidation,
|
|
3
3
|
PipelineQueriesRecommendValidation
|
|
4
4
|
} from '@de./types'
|
|
5
|
-
import { type Http, type Res } from '../../utils'
|
|
5
|
+
import { type Http, type Res, type Data } from '../../utils'
|
|
6
6
|
|
|
7
7
|
// ─── Queries ──────────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
@@ -10,22 +10,18 @@ export class PipelinesQueries {
|
|
|
10
10
|
constructor( private http: Http ){}
|
|
11
11
|
|
|
12
12
|
async search( body: PipelineQueriesSearchValidation['body'] ): Promise<PipelineQueriesSearchValidation['response']> {
|
|
13
|
-
|
|
13
|
+
return await this.http.request<PipelineQueriesSearchValidation['response']>({
|
|
14
14
|
url: '/pipelines/queries/search',
|
|
15
15
|
method: 'POST',
|
|
16
16
|
body
|
|
17
17
|
})
|
|
18
|
-
if( error ) throw new Error( message )
|
|
19
|
-
return data
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
async recommend( body: PipelineQueriesRecommendValidation['body'] ): Promise<PipelineQueriesRecommendValidation['response']> {
|
|
23
|
-
|
|
21
|
+
return await this.http.request<PipelineQueriesRecommendValidation['response']>({
|
|
24
22
|
url: '/pipelines/queries/recommend',
|
|
25
23
|
method: 'POST',
|
|
26
24
|
body
|
|
27
25
|
})
|
|
28
|
-
if( error ) throw new Error( message )
|
|
29
|
-
return data
|
|
30
26
|
}
|
|
31
27
|
}
|
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
PipelineTemplateListValidation,
|
|
5
5
|
PipelineTemplateUpdateValidation
|
|
6
6
|
} from '@de./types'
|
|
7
|
-
import { qs, type Http, type Res } from '../../utils'
|
|
7
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
8
8
|
|
|
9
9
|
// ─── Templates ────────────────────────────────────────────────────────────────
|
|
10
10
|
|
|
@@ -12,41 +12,33 @@ export class PipelinesTemplates {
|
|
|
12
12
|
constructor( private http: Http ){}
|
|
13
13
|
|
|
14
14
|
async create( body: PipelineTemplateCreateValidation['body'] ): Promise<PipelineTemplateCreateValidation['response']> {
|
|
15
|
-
|
|
15
|
+
return await this.http.request<PipelineTemplateCreateValidation['response']>({
|
|
16
16
|
url: '/pipelines/templates',
|
|
17
17
|
method: 'POST',
|
|
18
18
|
body
|
|
19
19
|
})
|
|
20
|
-
if( error ) throw new Error( message )
|
|
21
|
-
return data
|
|
22
20
|
}
|
|
23
21
|
|
|
24
22
|
async list( querystring?: PipelineTemplateListValidation['querystring'] ): Promise<PipelineTemplateListValidation['response']> {
|
|
25
|
-
|
|
23
|
+
return await this.http.request<PipelineTemplateListValidation['response']>({
|
|
26
24
|
url: `/pipelines/templates${qs( querystring )}`,
|
|
27
25
|
method: 'GET'
|
|
28
26
|
})
|
|
29
|
-
if( error ) throw new Error( message )
|
|
30
|
-
return data
|
|
31
27
|
}
|
|
32
28
|
|
|
33
29
|
async get( id: string ): Promise<PipelineTemplateGetValidation['response']> {
|
|
34
|
-
|
|
30
|
+
return await this.http.request<PipelineTemplateGetValidation['response']>({
|
|
35
31
|
url: `/pipelines/templates/${id}`,
|
|
36
32
|
method: 'GET'
|
|
37
33
|
})
|
|
38
|
-
if( error ) throw new Error( message )
|
|
39
|
-
return data
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
async update( id: string, body: PipelineTemplateUpdateValidation['body'] ): Promise<PipelineTemplateUpdateValidation['response']> {
|
|
43
|
-
|
|
37
|
+
return await this.http.request<PipelineTemplateUpdateValidation['response']>({
|
|
44
38
|
url: `/pipelines/templates/${id}`,
|
|
45
39
|
method: 'PATCH',
|
|
46
40
|
body
|
|
47
41
|
})
|
|
48
|
-
if( error ) throw new Error( message )
|
|
49
|
-
return data
|
|
50
42
|
}
|
|
51
43
|
|
|
52
44
|
async delete( id: string ): Promise<void> {
|
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
PipelineWebhookProcessValidation,
|
|
3
3
|
PipelineWebhookRegisterValidation
|
|
4
4
|
} from '@de./types'
|
|
5
|
-
import { type Http, type Res } from '../../utils'
|
|
5
|
+
import { type Http, type Res, type Data } from '../../utils'
|
|
6
6
|
|
|
7
7
|
// ─── Webhooks ─────────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
@@ -10,13 +10,11 @@ export class PipelinesWebhooks {
|
|
|
10
10
|
constructor( private http: Http ){}
|
|
11
11
|
|
|
12
12
|
async process( body: PipelineWebhookProcessValidation['body'] ): Promise<PipelineWebhookProcessValidation['response']> {
|
|
13
|
-
|
|
13
|
+
return await this.http.request<PipelineWebhookProcessValidation['response']>({
|
|
14
14
|
url: '/pipelines/webhooks',
|
|
15
15
|
method: 'POST',
|
|
16
16
|
body
|
|
17
17
|
})
|
|
18
|
-
if( error ) throw new Error( message )
|
|
19
|
-
return data
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
async attach( id: string, body: PipelineWebhookRegisterValidation['body'] ): Promise<void> {
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
PipelineWorkerStatsValidation,
|
|
4
4
|
PipelineWorkerStatsByNameValidation
|
|
5
5
|
} from '@de./types'
|
|
6
|
-
import { type Http, type Res } from '../../utils'
|
|
6
|
+
import { type Http, type Res, type Data } from '../../utils'
|
|
7
7
|
|
|
8
8
|
// ─── Workers ──────────────────────────────────────────────────────────────────
|
|
9
9
|
|
|
@@ -11,12 +11,10 @@ export class PipelinesWorkers {
|
|
|
11
11
|
constructor( private http: Http ){}
|
|
12
12
|
|
|
13
13
|
async initialize(): Promise<PipelineWorkerInitializeValidation['response']> {
|
|
14
|
-
|
|
14
|
+
return await this.http.request<PipelineWorkerInitializeValidation['response']>({
|
|
15
15
|
url: '/pipelines/workers/initialize',
|
|
16
16
|
method: 'POST'
|
|
17
17
|
})
|
|
18
|
-
if( error ) throw new Error( message )
|
|
19
|
-
return data
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
async start(): Promise<void> {
|
|
@@ -36,20 +34,16 @@ export class PipelinesWorkers {
|
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
async stats(): Promise<PipelineWorkerStatsValidation['response']> {
|
|
39
|
-
|
|
37
|
+
return await this.http.request<PipelineWorkerStatsValidation['response']>({
|
|
40
38
|
url: '/pipelines/workers/stats',
|
|
41
39
|
method: 'GET'
|
|
42
40
|
})
|
|
43
|
-
if( error ) throw new Error( message )
|
|
44
|
-
return data
|
|
45
41
|
}
|
|
46
42
|
|
|
47
43
|
async statsByName( name: string ): Promise<PipelineWorkerStatsByNameValidation['response']> {
|
|
48
|
-
|
|
44
|
+
return await this.http.request<PipelineWorkerStatsByNameValidation['response']>({
|
|
49
45
|
url: `/pipelines/workers/stats/${name}`,
|
|
50
46
|
method: 'GET'
|
|
51
47
|
})
|
|
52
|
-
if( error ) throw new Error( message )
|
|
53
|
-
return data
|
|
54
48
|
}
|
|
55
49
|
}
|