@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,74 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
IoTDeviceAddValidation,
|
|
3
|
+
IoTDeviceFindValidation,
|
|
4
|
+
IoTDeviceListValidation,
|
|
5
|
+
IoTDeviceRemoveValidation,
|
|
6
|
+
IoTDeviceRetrieveValidation,
|
|
7
|
+
IoTDeviceStatusValidation,
|
|
8
|
+
IoTDeviceUpdateValidation
|
|
9
|
+
} from '@de./types/iotsp/device'
|
|
10
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
11
|
+
|
|
12
|
+
// ── Devices ───────────────────────────────────────────────────────────────
|
|
13
|
+
|
|
14
|
+
export default class IoTDevices {
|
|
15
|
+
constructor( private http: Http ){}
|
|
16
|
+
|
|
17
|
+
async add( body: IoTDeviceAddValidation['body'] ): Promise<IoTDeviceAddValidation['response']> {
|
|
18
|
+
return await this.http.request<IoTDeviceAddValidation['response']>({
|
|
19
|
+
url: `/iotsp/devices/add`,
|
|
20
|
+
method: 'POST',
|
|
21
|
+
body
|
|
22
|
+
})
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
async update( id: string, body: IoTDeviceUpdateValidation['body'] ): Promise<IoTDeviceUpdateValidation['response']> {
|
|
26
|
+
return await this.http.request<IoTDeviceUpdateValidation['response']>({
|
|
27
|
+
url: `/iotsp/devices/${id}`,
|
|
28
|
+
method: 'PATCH',
|
|
29
|
+
body
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
async list( querystring?: IoTDeviceListValidation['querystring'] ): Promise<IoTDeviceListValidation['response']> {
|
|
34
|
+
return await this.http.request<IoTDeviceListValidation['response']>({
|
|
35
|
+
url: `/iotsp/devices${qs( querystring )}`,
|
|
36
|
+
method: 'GET'
|
|
37
|
+
})
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
async find( querystring: IoTDeviceFindValidation['querystring'] ): Promise<IoTDeviceFindValidation['response']> {
|
|
41
|
+
return await this.http.request<IoTDeviceFindValidation['response']>({
|
|
42
|
+
url: `/iotsp/devices/find${qs( querystring )}`,
|
|
43
|
+
method: 'GET'
|
|
44
|
+
})
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
async get( id: string ): Promise<IoTDeviceRetrieveValidation['response']> {
|
|
48
|
+
return await this.http.request<IoTDeviceRetrieveValidation['response']>({
|
|
49
|
+
url: `/iotsp/devices/${id}`,
|
|
50
|
+
method: 'GET'
|
|
51
|
+
})
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
async enable( id: string ): Promise<IoTDeviceStatusValidation['response']> {
|
|
55
|
+
return await this.http.request<IoTDeviceStatusValidation['response']>({
|
|
56
|
+
url: `/iotsp/devices/${id}/enable`,
|
|
57
|
+
method: 'PATCH'
|
|
58
|
+
})
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async disable( id: string ): Promise<IoTDeviceStatusValidation['response']> {
|
|
62
|
+
return await this.http.request<IoTDeviceStatusValidation['response']>({
|
|
63
|
+
url: `/iotsp/devices/${id}/disable`,
|
|
64
|
+
method: 'PATCH'
|
|
65
|
+
})
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
async delete( id: string ): Promise<IoTDeviceRemoveValidation['response']> {
|
|
69
|
+
return await this.http.request<IoTDeviceRemoveValidation['response']>({
|
|
70
|
+
url: `/iotsp/devices/${id}`,
|
|
71
|
+
method: 'DELETE'
|
|
72
|
+
})
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { AccessOptions } from '../../types/access'
|
|
2
|
+
import SharedContextClient from '../Shared/context'
|
|
3
|
+
import SharedOperators from '../Shared/operators'
|
|
4
|
+
import IoTBackend, { type IoTBackendConfig, Records } from './backend'
|
|
5
|
+
import IoTDevices from './devices'
|
|
6
|
+
import IoTTopics from './topics'
|
|
7
|
+
import IoTRules from './rules'
|
|
8
|
+
|
|
9
|
+
export { Records }
|
|
10
|
+
|
|
11
|
+
export type IoTSPConfig = {
|
|
12
|
+
context: string
|
|
13
|
+
accessToken: string
|
|
14
|
+
env?: 'dev' | 'staging' | 'prod'
|
|
15
|
+
platform?: 'web' | 'mobile' | 'server' | 'proxy'
|
|
16
|
+
remoteOrigin?: string
|
|
17
|
+
/** Per-request deadline in ms. See `AccessOptions.timeout`. */
|
|
18
|
+
timeout?: number
|
|
19
|
+
/** Explicit service origin, overriding the env table. See `AccessOptions.baseUrl`. */
|
|
20
|
+
baseUrl?: string
|
|
21
|
+
backend?: IoTBackendConfig
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
25
|
+
//
|
|
26
|
+
// IoTSP: IoT Service Provider API — de.arch /iotsp routes.
|
|
27
|
+
// Covers device management, topics, rules, plus shared faqs/users/account/
|
|
28
|
+
// invitation (SharedContextClient) and operators.
|
|
29
|
+
//
|
|
30
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
31
|
+
|
|
32
|
+
export default class IoTSP extends SharedContextClient<'IoTSP'> {
|
|
33
|
+
private readonly BackendInstance?: IoTBackend
|
|
34
|
+
readonly operators: SharedOperators<'IoTSP'>
|
|
35
|
+
readonly devices: IoTDevices
|
|
36
|
+
readonly topics: IoTTopics
|
|
37
|
+
readonly rules: IoTRules
|
|
38
|
+
|
|
39
|
+
constructor( config: IoTSPConfig ){
|
|
40
|
+
if( !config.context ) throw new Error('Undefined context. See https://doc.dedot.io/sdk/iotsp')
|
|
41
|
+
if( !config.accessToken ) throw new Error('Undefined accessToken. See https://doc.dedot.io/sdk/auth')
|
|
42
|
+
|
|
43
|
+
const access: AccessOptions = {
|
|
44
|
+
context: config.context,
|
|
45
|
+
accessToken: config.accessToken,
|
|
46
|
+
env: config.env || 'dev',
|
|
47
|
+
platform: config.platform || 'proxy',
|
|
48
|
+
remoteOrigin: config.remoteOrigin,
|
|
49
|
+
timeout: config.timeout,
|
|
50
|
+
baseUrl: config.baseUrl
|
|
51
|
+
}
|
|
52
|
+
super( access, 'IoTSP' )
|
|
53
|
+
|
|
54
|
+
if( config.backend )
|
|
55
|
+
this.BackendInstance = new IoTBackend( config.backend )
|
|
56
|
+
|
|
57
|
+
this.operators = new SharedOperators( this, 'IoTSP' )
|
|
58
|
+
this.devices = new IoTDevices( this )
|
|
59
|
+
this.topics = new IoTTopics( this )
|
|
60
|
+
this.rules = new IoTRules( this )
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
get backend(){
|
|
64
|
+
if( !this.BackendInstance )
|
|
65
|
+
throw new Error('No backend instance available. Expect <backend> config')
|
|
66
|
+
|
|
67
|
+
return this.BackendInstance
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
IoTRuleAddValidation,
|
|
3
|
+
IoTRuleFindValidation,
|
|
4
|
+
IoTRuleListValidation,
|
|
5
|
+
IoTRuleRemoveValidation,
|
|
6
|
+
IoTRuleRetrieveValidation,
|
|
7
|
+
IoTRuleStatusValidation,
|
|
8
|
+
IoTRuleUpdateValidation,
|
|
9
|
+
IoTRuleConnectorsValidation,
|
|
10
|
+
IoTRuleXssignConnectorValidation
|
|
11
|
+
} from '@de./types/iotsp/rule'
|
|
12
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
13
|
+
|
|
14
|
+
// ── Rules ─────────────────────────────────────────────────────────────────
|
|
15
|
+
|
|
16
|
+
export default class IoTRules {
|
|
17
|
+
constructor( private http: Http ) {}
|
|
18
|
+
|
|
19
|
+
async add( body: IoTRuleAddValidation['body'] ): Promise<IoTRuleAddValidation['response']> {
|
|
20
|
+
return await this.http.request<IoTRuleAddValidation['response']>({
|
|
21
|
+
url: '/iotsp/rules/add',
|
|
22
|
+
method: 'POST',
|
|
23
|
+
body
|
|
24
|
+
})
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
async update( reference: string, body: IoTRuleUpdateValidation['body'] ): Promise<IoTRuleUpdateValidation['response']> {
|
|
28
|
+
return await this.http.request<IoTRuleUpdateValidation['response']>({
|
|
29
|
+
url: `/iotsp/rules/${reference}`,
|
|
30
|
+
method: 'PATCH',
|
|
31
|
+
body
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
async list( querystring?: IoTRuleListValidation['querystring'] ): Promise<IoTRuleListValidation['response']> {
|
|
36
|
+
return await this.http.request<IoTRuleListValidation['response']>({
|
|
37
|
+
url: `/iotsp/rules${qs( querystring )}`,
|
|
38
|
+
method: 'GET'
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
async find( querystring: IoTRuleFindValidation['querystring'] ): Promise<IoTRuleFindValidation['response']> {
|
|
43
|
+
return await this.http.request<IoTRuleFindValidation['response']>({
|
|
44
|
+
url: `/iotsp/rules/find${qs( querystring )}`,
|
|
45
|
+
method: 'GET'
|
|
46
|
+
})
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async get( reference: string ): Promise<IoTRuleRetrieveValidation['response']> {
|
|
50
|
+
return await this.http.request<IoTRuleRetrieveValidation['response']>({
|
|
51
|
+
url: `/iotsp/rules/${reference}`,
|
|
52
|
+
method: 'GET'
|
|
53
|
+
})
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
async enable( reference: string ): Promise<IoTRuleStatusValidation['response']> {
|
|
57
|
+
return await this.http.request<IoTRuleStatusValidation['response']>({
|
|
58
|
+
url: `/iotsp/rules/${reference}/enable`,
|
|
59
|
+
method: 'PATCH'
|
|
60
|
+
})
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
async disable( reference: string ): Promise<IoTRuleStatusValidation['response']> {
|
|
64
|
+
return await this.http.request<IoTRuleStatusValidation['response']>({
|
|
65
|
+
url: `/iotsp/rules/${reference}/disable`,
|
|
66
|
+
method: 'PATCH'
|
|
67
|
+
})
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
async delete( reference: string ): Promise<IoTRuleRemoveValidation['response']> {
|
|
71
|
+
return await this.http.request<IoTRuleRemoveValidation['response']>({
|
|
72
|
+
url: `/iotsp/rules/${reference}`,
|
|
73
|
+
method: 'DELETE'
|
|
74
|
+
})
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
async getConnectors( reference: string ): Promise<IoTRuleConnectorsValidation['response']> {
|
|
78
|
+
return await this.http.request<IoTRuleConnectorsValidation['response']>({
|
|
79
|
+
url: `/iotsp/rules/${reference}/connectors`,
|
|
80
|
+
method: 'GET'
|
|
81
|
+
})
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
async assignConnector( reference: string, body: IoTRuleXssignConnectorValidation['body'] ): Promise<IoTRuleXssignConnectorValidation['response']> {
|
|
85
|
+
return await this.http.request<IoTRuleXssignConnectorValidation['response']>({
|
|
86
|
+
url: `/iotsp/rules/${reference}/connector/assign`,
|
|
87
|
+
method: 'PUT',
|
|
88
|
+
body
|
|
89
|
+
})
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
async unassignConnector( reference: string, body: IoTRuleXssignConnectorValidation['body'] ): Promise<IoTRuleXssignConnectorValidation['response']> {
|
|
93
|
+
return await this.http.request<IoTRuleXssignConnectorValidation['response']>({
|
|
94
|
+
url: `/iotsp/rules/${reference}/connector/unassign`,
|
|
95
|
+
method: 'PATCH',
|
|
96
|
+
body
|
|
97
|
+
})
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
IoTTopicRegisterValidation,
|
|
3
|
+
IoTTopicFindValidation,
|
|
4
|
+
IoTTopicListValidation,
|
|
5
|
+
IoTTopicUnregisterValidation,
|
|
6
|
+
IoTTopicRetrieveValidation,
|
|
7
|
+
IoTTopicStatusValidation,
|
|
8
|
+
IoTTopicUpdateValidation,
|
|
9
|
+
IoTTopicConnectorsValidation,
|
|
10
|
+
IoTTopicXssignConnectorValidation
|
|
11
|
+
} from '@de./types/iotsp/topic'
|
|
12
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
13
|
+
|
|
14
|
+
// ── Topics ───────────────────────────────────────────────────────────────
|
|
15
|
+
|
|
16
|
+
export default class IoTTopics {
|
|
17
|
+
constructor( private http: Http ){}
|
|
18
|
+
|
|
19
|
+
async add( body: IoTTopicRegisterValidation['body'] ): Promise<IoTTopicRegisterValidation['response']> {
|
|
20
|
+
return await this.http.request<IoTTopicRegisterValidation['response']>({
|
|
21
|
+
url: `/iotsp/topics/register`,
|
|
22
|
+
method: 'POST',
|
|
23
|
+
body
|
|
24
|
+
})
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
async update( reference: string, body: IoTTopicUpdateValidation['body'] ): Promise<IoTTopicUpdateValidation['response']> {
|
|
28
|
+
return await this.http.request<IoTTopicUpdateValidation['response']>({
|
|
29
|
+
url: `/iotsp/topics/${reference}`,
|
|
30
|
+
method: 'PATCH',
|
|
31
|
+
body
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
async list( querystring?: IoTTopicListValidation['querystring'] ): Promise<IoTTopicListValidation['response']> {
|
|
36
|
+
return await this.http.request<IoTTopicListValidation['response']>({
|
|
37
|
+
url: `/iotsp/topics${qs( querystring )}`,
|
|
38
|
+
method: 'GET'
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
async find( querystring: IoTTopicFindValidation['querystring'] ): Promise<IoTTopicFindValidation['response']> {
|
|
43
|
+
return await this.http.request<IoTTopicFindValidation['response']>({
|
|
44
|
+
url: `/iotsp/topics/find${qs( querystring )}`,
|
|
45
|
+
method: 'GET'
|
|
46
|
+
})
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async get( reference: string ): Promise<IoTTopicRetrieveValidation['response']> {
|
|
50
|
+
return await this.http.request<IoTTopicRetrieveValidation['response']>({
|
|
51
|
+
url: `/iotsp/topics/${reference}`,
|
|
52
|
+
method: 'GET'
|
|
53
|
+
})
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
async enable( reference: string ): Promise<IoTTopicStatusValidation['response']> {
|
|
57
|
+
return await this.http.request<IoTTopicStatusValidation['response']>({
|
|
58
|
+
url: `/iotsp/topics/${reference}/enable`,
|
|
59
|
+
method: 'PATCH'
|
|
60
|
+
})
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
async disable( reference: string ): Promise<IoTTopicStatusValidation['response']> {
|
|
64
|
+
return await this.http.request<IoTTopicStatusValidation['response']>({
|
|
65
|
+
url: `/iotsp/topics/${reference}/disable`,
|
|
66
|
+
method: 'PATCH'
|
|
67
|
+
})
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
async delete( reference: string ): Promise<IoTTopicUnregisterValidation['response']> {
|
|
71
|
+
return await this.http.request<IoTTopicUnregisterValidation['response']>({
|
|
72
|
+
url: `/iotsp/topics/${reference}`,
|
|
73
|
+
method: 'DELETE'
|
|
74
|
+
})
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
async getConnectors( reference: string ): Promise<IoTTopicConnectorsValidation['response']> {
|
|
78
|
+
return await this.http.request<IoTTopicConnectorsValidation['response']>({
|
|
79
|
+
url: `/iotsp/topics/${reference}/connectors`,
|
|
80
|
+
method: 'GET'
|
|
81
|
+
})
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
async assignConnector( reference: string, body: IoTTopicXssignConnectorValidation['body'] ): Promise<IoTTopicXssignConnectorValidation['response']> {
|
|
85
|
+
return await this.http.request<IoTTopicXssignConnectorValidation['response']>({
|
|
86
|
+
url: `/iotsp/topics/${reference}/connector/assign`,
|
|
87
|
+
method: 'PUT',
|
|
88
|
+
body
|
|
89
|
+
})
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
async unassignConnector( reference: string, body: IoTTopicXssignConnectorValidation['body'] ): Promise<IoTTopicXssignConnectorValidation['response']> {
|
|
93
|
+
return await this.http.request<IoTTopicXssignConnectorValidation['response']>({
|
|
94
|
+
url: `/iotsp/topics/${reference}/connector/unassign`,
|
|
95
|
+
method: 'PATCH',
|
|
96
|
+
body
|
|
97
|
+
})
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { APIResponseBase } from '@de./types'
|
|
2
|
+
import type {
|
|
3
|
+
LSPAgentRetrieveValidation,
|
|
4
|
+
LSPAgentListValidation,
|
|
5
|
+
LSPAgentUpdateValidation,
|
|
6
|
+
LSPAgentAssignVehicleValidation,
|
|
7
|
+
LSPAgentUnassignVehicleValidation,
|
|
8
|
+
LSPAgentRemoveValidation
|
|
9
|
+
} from '@de./types/aux/agents'
|
|
10
|
+
import type {
|
|
11
|
+
LSPConsolidationScheduleValidation,
|
|
12
|
+
LSPConsolidationFetchValidation,
|
|
13
|
+
LSPConsolidationGetValidation,
|
|
14
|
+
LSPConsolidationUpdateStateValidation,
|
|
15
|
+
LSPConsolidationCreatePointValidation,
|
|
16
|
+
LSPConsolidationFetchPointsValidation
|
|
17
|
+
} from '@de./types/lsp/consolidation'
|
|
18
|
+
import { qs, type Http, type Res, type Data } from '../../utils'
|
|
19
|
+
|
|
20
|
+
// ── LSP Agents ────────────────────────────────────────────────────────────────
|
|
21
|
+
|
|
22
|
+
export default class LSPAgents {
|
|
23
|
+
constructor( private http: Http ){}
|
|
24
|
+
|
|
25
|
+
async list( querystring?: LSPAgentListValidation['querystring'] ): Promise<LSPAgentListValidation['response']> {
|
|
26
|
+
return await this.http.request<LSPAgentListValidation['response']>({
|
|
27
|
+
url: `/lsp/agents${qs( querystring )}`,
|
|
28
|
+
method: 'GET'
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
async retrieve( id: string, querystring?: LSPAgentRetrieveValidation['querystring'] ): Promise<LSPAgentRetrieveValidation['response']> {
|
|
33
|
+
return await this.http.request<LSPAgentRetrieveValidation['response']>({
|
|
34
|
+
url: `/lsp/agents/${id}${qs( querystring )}`,
|
|
35
|
+
method: 'GET'
|
|
36
|
+
})
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
async update( id: string, body: LSPAgentUpdateValidation['body'] ): Promise<LSPAgentUpdateValidation['response']> {
|
|
40
|
+
return await this.http.request<LSPAgentUpdateValidation['response']>({
|
|
41
|
+
url: `/lsp/agents/${id}`,
|
|
42
|
+
method: 'PATCH',
|
|
43
|
+
body
|
|
44
|
+
})
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
async assignVehicle( id: string, body: LSPAgentAssignVehicleValidation['body'] ): Promise<LSPAgentAssignVehicleValidation['response']> {
|
|
48
|
+
return await this.http.request<LSPAgentAssignVehicleValidation['response']>({
|
|
49
|
+
url: `/lsp/agents/${id}/vehicle/assign`,
|
|
50
|
+
method: 'PUT',
|
|
51
|
+
body
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
async unassignVehicle( id: string ): Promise<LSPAgentUnassignVehicleValidation['response']> {
|
|
56
|
+
return await this.http.request<LSPAgentUnassignVehicleValidation['response']>({
|
|
57
|
+
url: `/lsp/agents/${id}/vehicle/unassign`,
|
|
58
|
+
method: 'PATCH'
|
|
59
|
+
})
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
async remove( id: string ): Promise<APIResponseBase> {
|
|
63
|
+
return await this.http.request<APIResponseBase>({
|
|
64
|
+
url: `/lsp/agents/${id}`,
|
|
65
|
+
method: 'DELETE'
|
|
66
|
+
})
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// ── Consolidation ──────────────────────────────────────────────────────────
|
|
70
|
+
|
|
71
|
+
async scheduleConsolidation( body: LSPConsolidationScheduleValidation['body'] ): Promise<LSPConsolidationScheduleValidation['response']> {
|
|
72
|
+
return await this.http.request<LSPConsolidationScheduleValidation['response']>({
|
|
73
|
+
url: '/lsp/agents/consolidation/schedule',
|
|
74
|
+
method: 'POST',
|
|
75
|
+
body
|
|
76
|
+
})
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
async listConsolidations( querystring?: LSPConsolidationFetchValidation['querystring'] ): Promise<LSPConsolidationFetchValidation['response']> {
|
|
80
|
+
return await this.http.request<LSPConsolidationFetchValidation['response']>({
|
|
81
|
+
url: `/lsp/agents/consolidation${qs( querystring )}`,
|
|
82
|
+
method: 'GET'
|
|
83
|
+
})
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
async getConsolidation( consolidationId: string ): Promise<LSPConsolidationGetValidation['response']> {
|
|
87
|
+
return await this.http.request<LSPConsolidationGetValidation['response']>({
|
|
88
|
+
url: `/lsp/agents/consolidation/${consolidationId}`,
|
|
89
|
+
method: 'GET'
|
|
90
|
+
})
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
async updateConsolidationState( consolidationId: string, body: LSPConsolidationUpdateStateValidation['body'] ): Promise<LSPConsolidationUpdateStateValidation['response']> {
|
|
94
|
+
return await this.http.request<LSPConsolidationUpdateStateValidation['response']>({
|
|
95
|
+
url: `/lsp/agents/consolidation/${consolidationId}/state`,
|
|
96
|
+
method: 'PUT',
|
|
97
|
+
body
|
|
98
|
+
})
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
async createConsolidationPoint( body: LSPConsolidationCreatePointValidation['body'] ): Promise<LSPConsolidationCreatePointValidation['response']> {
|
|
102
|
+
return await this.http.request<LSPConsolidationCreatePointValidation['response']>({
|
|
103
|
+
url: '/lsp/agents/consolidation/points',
|
|
104
|
+
method: 'POST',
|
|
105
|
+
body
|
|
106
|
+
})
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
async listConsolidationPoints( querystring?: LSPConsolidationFetchPointsValidation['querystring'] ): Promise<LSPConsolidationFetchPointsValidation['response']> {
|
|
110
|
+
return await this.http.request<LSPConsolidationFetchPointsValidation['response']>({
|
|
111
|
+
url: `/lsp/agents/consolidation/points${qs( querystring )}`,
|
|
112
|
+
method: 'GET'
|
|
113
|
+
})
|
|
114
|
+
}
|
|
115
|
+
}
|