@de./sdk 1.0.4 → 1.0.5

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.
Files changed (668) hide show
  1. package/dist/de.sdk/src/allend/Access.js.map +1 -0
  2. package/dist/de.sdk/src/allend/Agent/consolidation.d.ts +8 -0
  3. package/dist/de.sdk/src/allend/Agent/consolidation.js +85 -0
  4. package/dist/de.sdk/src/allend/Agent/consolidation.js.map +1 -0
  5. package/dist/de.sdk/src/allend/Agent/delivery.d.ts +11 -0
  6. package/dist/de.sdk/src/allend/Agent/delivery.js +140 -0
  7. package/dist/de.sdk/src/allend/Agent/delivery.js.map +1 -0
  8. package/dist/de.sdk/src/allend/Agent/dispatch.d.ts +8 -0
  9. package/dist/de.sdk/src/allend/Agent/dispatch.js +85 -0
  10. package/dist/de.sdk/src/allend/Agent/dispatch.js.map +1 -0
  11. package/dist/de.sdk/src/allend/Agent/index.d.ts +31 -0
  12. package/dist/de.sdk/src/allend/Agent/index.js +158 -0
  13. package/dist/de.sdk/src/allend/Agent/index.js.map +1 -0
  14. package/dist/de.sdk/src/allend/Agent/navigation.d.ts +8 -0
  15. package/dist/de.sdk/src/allend/Agent/navigation.js +86 -0
  16. package/dist/de.sdk/src/allend/Agent/navigation.js.map +1 -0
  17. package/dist/de.sdk/src/allend/Agent/origin.d.ts +9 -0
  18. package/dist/de.sdk/src/allend/Agent/origin.js +104 -0
  19. package/dist/de.sdk/src/allend/Agent/origin.js.map +1 -0
  20. package/dist/de.sdk/src/allend/Agent/reallocation.d.ts +7 -0
  21. package/dist/de.sdk/src/allend/Agent/reallocation.js +66 -0
  22. package/dist/de.sdk/src/allend/Agent/reallocation.js.map +1 -0
  23. package/dist/de.sdk/src/allend/Agent/rides.d.ts +12 -0
  24. package/dist/de.sdk/src/allend/Agent/rides.js +160 -0
  25. package/dist/de.sdk/src/allend/Agent/rides.js.map +1 -0
  26. package/dist/de.sdk/src/allend/Agent/shipping.d.ts +11 -0
  27. package/dist/de.sdk/src/allend/Agent/shipping.js +140 -0
  28. package/dist/de.sdk/src/allend/Agent/shipping.js.map +1 -0
  29. package/dist/de.sdk/src/allend/CSP/analytics.d.ts +12 -0
  30. package/dist/de.sdk/src/allend/CSP/analytics.js +160 -0
  31. package/dist/de.sdk/src/allend/CSP/analytics.js.map +1 -0
  32. package/dist/de.sdk/src/allend/CSP/index.d.ts +21 -0
  33. package/dist/de.sdk/src/allend/CSP/index.js +60 -0
  34. package/dist/de.sdk/src/allend/CSP/index.js.map +1 -0
  35. package/dist/de.sdk/src/allend/CSP/inventory.d.ts +16 -0
  36. package/dist/de.sdk/src/allend/CSP/inventory.js +235 -0
  37. package/dist/de.sdk/src/allend/CSP/inventory.js.map +1 -0
  38. package/dist/de.sdk/src/allend/CSP/orders.d.ts +19 -0
  39. package/dist/de.sdk/src/allend/CSP/orders.js +290 -0
  40. package/dist/de.sdk/src/allend/CSP/orders.js.map +1 -0
  41. package/dist/de.sdk/src/allend/CSP/webhooks.d.ts +13 -0
  42. package/dist/de.sdk/src/allend/CSP/webhooks.js +177 -0
  43. package/dist/de.sdk/src/allend/CSP/webhooks.js.map +1 -0
  44. package/dist/de.sdk/src/allend/Customer/index.d.ts +17 -0
  45. package/dist/de.sdk/src/allend/Customer/index.js +55 -0
  46. package/dist/de.sdk/src/allend/Customer/index.js.map +1 -0
  47. package/dist/de.sdk/src/allend/Customer/intents.d.ts +12 -0
  48. package/dist/de.sdk/src/allend/Customer/intents.js +164 -0
  49. package/dist/de.sdk/src/allend/Customer/intents.js.map +1 -0
  50. package/dist/de.sdk/src/allend/Customer/orders.d.ts +11 -0
  51. package/dist/de.sdk/src/allend/Customer/orders.js +140 -0
  52. package/dist/de.sdk/src/allend/Customer/orders.js.map +1 -0
  53. package/dist/de.sdk/src/allend/Customer/rides.d.ts +12 -0
  54. package/dist/de.sdk/src/allend/Customer/rides.js +159 -0
  55. package/dist/de.sdk/src/allend/Customer/rides.js.map +1 -0
  56. package/dist/de.sdk/src/allend/DEV/developers.d.ts +10 -0
  57. package/dist/de.sdk/src/allend/DEV/developers.js +120 -0
  58. package/dist/de.sdk/src/allend/DEV/developers.js.map +1 -0
  59. package/dist/de.sdk/src/allend/DEV/index.d.ts +15 -0
  60. package/dist/de.sdk/src/allend/DEV/index.js +54 -0
  61. package/dist/de.sdk/src/allend/DEV/index.js.map +1 -0
  62. package/dist/de.sdk/src/allend/IoTClient.js.map +1 -0
  63. package/dist/de.sdk/src/allend/IoTSP/backend.d.ts +27 -0
  64. package/dist/de.sdk/src/allend/IoTSP/backend.js +90 -0
  65. package/dist/de.sdk/src/allend/IoTSP/backend.js.map +1 -0
  66. package/dist/de.sdk/src/allend/IoTSP/devices.d.ts +14 -0
  67. package/dist/de.sdk/src/allend/IoTSP/devices.js +194 -0
  68. package/dist/de.sdk/src/allend/IoTSP/devices.js.map +1 -0
  69. package/dist/de.sdk/src/allend/IoTSP/index.d.ts +24 -0
  70. package/dist/de.sdk/src/allend/IoTSP/index.js +105 -0
  71. package/dist/de.sdk/src/allend/IoTSP/index.js.map +1 -0
  72. package/dist/de.sdk/src/allend/IoTSP/rules.d.ts +17 -0
  73. package/dist/de.sdk/src/allend/IoTSP/rules.js +250 -0
  74. package/dist/de.sdk/src/allend/IoTSP/rules.js.map +1 -0
  75. package/dist/de.sdk/src/allend/IoTSP/topics.d.ts +17 -0
  76. package/dist/de.sdk/src/allend/IoTSP/topics.js +250 -0
  77. package/dist/de.sdk/src/allend/IoTSP/topics.js.map +1 -0
  78. package/dist/de.sdk/src/allend/LSP/agents.d.ts +19 -0
  79. package/dist/de.sdk/src/allend/LSP/agents.js +270 -0
  80. package/dist/de.sdk/src/allend/LSP/agents.js.map +1 -0
  81. package/dist/de.sdk/src/allend/LSP/carriers.d.ts +53 -0
  82. package/dist/de.sdk/src/allend/LSP/carriers.js +904 -0
  83. package/dist/de.sdk/src/allend/LSP/carriers.js.map +1 -0
  84. package/dist/de.sdk/src/allend/LSP/coverage.d.ts +44 -0
  85. package/dist/de.sdk/src/allend/LSP/coverage.js +628 -0
  86. package/dist/de.sdk/src/allend/LSP/coverage.js.map +1 -0
  87. package/dist/de.sdk/src/allend/LSP/fleets.d.ts +66 -0
  88. package/dist/de.sdk/src/allend/LSP/fleets.js +1102 -0
  89. package/dist/de.sdk/src/allend/LSP/fleets.js.map +1 -0
  90. package/dist/de.sdk/src/allend/LSP/hubs.d.ts +38 -0
  91. package/dist/de.sdk/src/allend/LSP/hubs.js +523 -0
  92. package/dist/de.sdk/src/allend/LSP/hubs.js.map +1 -0
  93. package/dist/de.sdk/src/allend/LSP/index.d.ts +33 -0
  94. package/dist/de.sdk/src/allend/LSP/index.js +72 -0
  95. package/dist/de.sdk/src/allend/LSP/index.js.map +1 -0
  96. package/dist/de.sdk/src/allend/LSP/inventory.d.ts +13 -0
  97. package/dist/de.sdk/src/allend/LSP/inventory.js +165 -0
  98. package/dist/de.sdk/src/allend/LSP/inventory.js.map +1 -0
  99. package/dist/de.sdk/src/allend/LSP/operations.d.ts +25 -0
  100. package/dist/de.sdk/src/allend/LSP/operations.js +330 -0
  101. package/dist/de.sdk/src/allend/LSP/operations.js.map +1 -0
  102. package/dist/de.sdk/src/allend/LSP/orders.d.ts +50 -0
  103. package/dist/de.sdk/src/allend/LSP/orders.js +760 -0
  104. package/dist/de.sdk/src/allend/LSP/orders.js.map +1 -0
  105. package/dist/de.sdk/src/allend/LSP/pods.d.ts +25 -0
  106. package/dist/de.sdk/src/allend/LSP/pods.js +402 -0
  107. package/dist/de.sdk/src/allend/LSP/pods.js.map +1 -0
  108. package/dist/de.sdk/src/allend/LSP/pricing.d.ts +24 -0
  109. package/dist/de.sdk/src/allend/LSP/pricing.js +388 -0
  110. package/dist/de.sdk/src/allend/LSP/pricing.js.map +1 -0
  111. package/dist/de.sdk/src/allend/LSP/psl.d.ts +15 -0
  112. package/dist/de.sdk/src/allend/LSP/psl.js +201 -0
  113. package/dist/de.sdk/src/allend/LSP/psl.js.map +1 -0
  114. package/dist/de.sdk/src/allend/LSP/warehouses.d.ts +22 -0
  115. package/dist/de.sdk/src/allend/LSP/warehouses.js +263 -0
  116. package/dist/de.sdk/src/allend/LSP/warehouses.js.map +1 -0
  117. package/dist/{allend → de.sdk/src/allend}/MSI/Controls.d.ts +2 -1
  118. package/dist/de.sdk/src/allend/MSI/Controls.js.map +1 -0
  119. package/dist/{allend → de.sdk/src/allend}/MSI/Handles.d.ts +1 -1
  120. package/dist/de.sdk/src/allend/MSI/Handles.js.map +1 -0
  121. package/dist/de.sdk/src/allend/MSI/Plugins.js.map +1 -0
  122. package/dist/de.sdk/src/allend/MSI/index.js.map +1 -0
  123. package/dist/{allend/DAuth → de.sdk/src/allend/OTPAuth}/index.d.ts +5 -5
  124. package/dist/{allend/DAuth → de.sdk/src/allend/OTPAuth}/index.js +8 -8
  125. package/dist/de.sdk/src/allend/OTPAuth/index.js.map +1 -0
  126. package/dist/de.sdk/src/allend/Pipelines/analytics.d.ts +8 -0
  127. package/dist/de.sdk/src/allend/Pipelines/analytics.js +85 -0
  128. package/dist/de.sdk/src/allend/Pipelines/analytics.js.map +1 -0
  129. package/dist/de.sdk/src/allend/Pipelines/escalations.d.ts +8 -0
  130. package/dist/de.sdk/src/allend/Pipelines/escalations.js +86 -0
  131. package/dist/de.sdk/src/allend/Pipelines/escalations.js.map +1 -0
  132. package/dist/de.sdk/src/allend/Pipelines/executions.d.ts +11 -0
  133. package/dist/de.sdk/src/allend/Pipelines/executions.js +141 -0
  134. package/dist/de.sdk/src/allend/Pipelines/executions.js.map +1 -0
  135. package/dist/de.sdk/src/allend/Pipelines/index.d.ts +38 -0
  136. package/dist/de.sdk/src/allend/Pipelines/index.js +213 -0
  137. package/dist/de.sdk/src/allend/Pipelines/index.js.map +1 -0
  138. package/dist/de.sdk/src/allend/Pipelines/interventions.d.ts +8 -0
  139. package/dist/de.sdk/src/allend/Pipelines/interventions.js +86 -0
  140. package/dist/de.sdk/src/allend/Pipelines/interventions.js.map +1 -0
  141. package/dist/de.sdk/src/allend/Pipelines/monitor.d.ts +9 -0
  142. package/dist/de.sdk/src/allend/Pipelines/monitor.js +103 -0
  143. package/dist/de.sdk/src/allend/Pipelines/monitor.js.map +1 -0
  144. package/dist/de.sdk/src/allend/Pipelines/queries.d.ts +8 -0
  145. package/dist/de.sdk/src/allend/Pipelines/queries.js +86 -0
  146. package/dist/de.sdk/src/allend/Pipelines/queries.js.map +1 -0
  147. package/dist/de.sdk/src/allend/Pipelines/templates.d.ts +11 -0
  148. package/dist/de.sdk/src/allend/Pipelines/templates.js +141 -0
  149. package/dist/de.sdk/src/allend/Pipelines/templates.js.map +1 -0
  150. package/dist/de.sdk/src/allend/Pipelines/utils.d.ts +0 -0
  151. package/dist/de.sdk/src/allend/Pipelines/utils.js +2 -0
  152. package/dist/de.sdk/src/allend/Pipelines/utils.js.map +1 -0
  153. package/dist/de.sdk/src/allend/Pipelines/webhooks.d.ts +9 -0
  154. package/dist/de.sdk/src/allend/Pipelines/webhooks.js +104 -0
  155. package/dist/de.sdk/src/allend/Pipelines/webhooks.js.map +1 -0
  156. package/dist/de.sdk/src/allend/Pipelines/workers.d.ts +11 -0
  157. package/dist/de.sdk/src/allend/Pipelines/workers.js +138 -0
  158. package/dist/de.sdk/src/allend/Pipelines/workers.js.map +1 -0
  159. package/dist/de.sdk/src/allend/Queries/capacity.d.ts +11 -0
  160. package/dist/de.sdk/src/allend/Queries/capacity.js +141 -0
  161. package/dist/de.sdk/src/allend/Queries/capacity.js.map +1 -0
  162. package/dist/de.sdk/src/allend/Queries/discovery.d.ts +11 -0
  163. package/dist/de.sdk/src/allend/Queries/discovery.js +142 -0
  164. package/dist/de.sdk/src/allend/Queries/discovery.js.map +1 -0
  165. package/dist/de.sdk/src/allend/Queries/index.d.ts +23 -0
  166. package/dist/de.sdk/src/allend/Queries/index.js +57 -0
  167. package/dist/de.sdk/src/allend/Queries/index.js.map +1 -0
  168. package/dist/de.sdk/src/allend/Queries/matching.d.ts +7 -0
  169. package/dist/de.sdk/src/allend/Queries/matching.js +67 -0
  170. package/dist/de.sdk/src/allend/Queries/matching.js.map +1 -0
  171. package/dist/de.sdk/src/allend/Queries/performance.d.ts +9 -0
  172. package/dist/de.sdk/src/allend/Queries/performance.js +104 -0
  173. package/dist/de.sdk/src/allend/Queries/performance.js.map +1 -0
  174. package/dist/de.sdk/src/allend/Queries/pricing.d.ts +11 -0
  175. package/dist/de.sdk/src/allend/Queries/pricing.js +140 -0
  176. package/dist/de.sdk/src/allend/Queries/pricing.js.map +1 -0
  177. package/dist/{allend/DClient/Event.d.ts → de.sdk/src/allend/Realtime/index.d.ts} +2 -6
  178. package/dist/{allend/DClient/Event.js → de.sdk/src/allend/Realtime/index.js} +14 -35
  179. package/dist/de.sdk/src/allend/Realtime/index.js.map +1 -0
  180. package/dist/de.sdk/src/allend/Shared/account.d.ts +10 -0
  181. package/dist/de.sdk/src/allend/Shared/account.js +83 -0
  182. package/dist/de.sdk/src/allend/Shared/account.js.map +1 -0
  183. package/dist/de.sdk/src/allend/Shared/buckets.d.ts +21 -0
  184. package/dist/de.sdk/src/allend/Shared/buckets.js +288 -0
  185. package/dist/de.sdk/src/allend/Shared/buckets.js.map +1 -0
  186. package/dist/de.sdk/src/allend/Shared/context.d.ts +14 -0
  187. package/dist/de.sdk/src/allend/Shared/context.js +51 -0
  188. package/dist/de.sdk/src/allend/Shared/context.js.map +1 -0
  189. package/dist/de.sdk/src/allend/Shared/faqs.d.ts +20 -0
  190. package/dist/de.sdk/src/allend/Shared/faqs.js +268 -0
  191. package/dist/de.sdk/src/allend/Shared/faqs.js.map +1 -0
  192. package/dist/de.sdk/src/allend/Shared/invitation.d.ts +34 -0
  193. package/dist/de.sdk/src/allend/Shared/invitation.js +105 -0
  194. package/dist/de.sdk/src/allend/Shared/invitation.js.map +1 -0
  195. package/dist/de.sdk/src/allend/Shared/operators.d.ts +39 -0
  196. package/dist/de.sdk/src/allend/Shared/operators.js +122 -0
  197. package/dist/de.sdk/src/allend/Shared/operators.js.map +1 -0
  198. package/dist/de.sdk/src/allend/Shared/users.d.ts +11 -0
  199. package/dist/de.sdk/src/allend/Shared/users.js +102 -0
  200. package/dist/de.sdk/src/allend/Shared/users.js.map +1 -0
  201. package/dist/de.sdk/src/allend/Tracking/index.d.ts +13 -0
  202. package/dist/de.sdk/src/allend/Tracking/index.js +102 -0
  203. package/dist/de.sdk/src/allend/Tracking/index.js.map +1 -0
  204. package/dist/de.sdk/src/allend/Utilities/common.d.ts +12 -0
  205. package/dist/de.sdk/src/allend/Utilities/common.js +162 -0
  206. package/dist/de.sdk/src/allend/Utilities/common.js.map +1 -0
  207. package/dist/de.sdk/src/allend/Utilities/fares.d.ts +10 -0
  208. package/dist/de.sdk/src/allend/Utilities/fares.js +124 -0
  209. package/dist/de.sdk/src/allend/Utilities/fares.js.map +1 -0
  210. package/dist/de.sdk/src/allend/Utilities/index.d.ts +19 -0
  211. package/dist/de.sdk/src/allend/Utilities/index.js +53 -0
  212. package/dist/de.sdk/src/allend/Utilities/index.js.map +1 -0
  213. package/dist/de.sdk/src/allend/Utilities/nearby.d.ts +9 -0
  214. package/dist/de.sdk/src/allend/Utilities/nearby.js +105 -0
  215. package/dist/de.sdk/src/allend/Utilities/nearby.js.map +1 -0
  216. package/dist/{allend/DClient → de.sdk/src/allend/Workflows}/Client.d.ts +4 -4
  217. package/dist/{allend/DClient → de.sdk/src/allend/Workflows}/Client.js +9 -9
  218. package/dist/de.sdk/src/allend/Workflows/Client.js.map +1 -0
  219. package/dist/de.sdk/src/allend/Workflows/Delivery.d.ts +36 -0
  220. package/dist/de.sdk/src/allend/Workflows/Delivery.js +17 -0
  221. package/dist/de.sdk/src/allend/Workflows/Delivery.js.map +1 -0
  222. package/dist/de.sdk/src/allend/Workflows/index.d.ts +11 -0
  223. package/dist/de.sdk/src/allend/Workflows/index.js +27 -0
  224. package/dist/de.sdk/src/allend/Workflows/index.js.map +1 -0
  225. package/dist/de.sdk/src/allend/Workspace/index.d.ts +18 -0
  226. package/dist/de.sdk/src/allend/Workspace/index.js +225 -0
  227. package/dist/de.sdk/src/allend/Workspace/index.js.map +1 -0
  228. package/dist/de.sdk/src/allend/index.d.ts +14 -0
  229. package/dist/de.sdk/src/allend/index.js +25 -0
  230. package/dist/de.sdk/src/allend/index.js.map +1 -0
  231. package/dist/{backend → de.sdk/src/backend}/Auth.d.ts +16 -4
  232. package/dist/{backend → de.sdk/src/backend}/Auth.js +31 -36
  233. package/dist/de.sdk/src/backend/Auth.js.map +1 -0
  234. package/dist/{baseUrl.d.ts → de.sdk/src/baseUrl.d.ts} +8 -0
  235. package/dist/{baseUrl.js → de.sdk/src/baseUrl.js} +10 -1
  236. package/dist/de.sdk/src/baseUrl.js.map +1 -0
  237. package/dist/de.sdk/src/index.d.ts +67 -0
  238. package/dist/de.sdk/src/index.js +105 -0
  239. package/dist/de.sdk/src/index.js.map +1 -0
  240. package/dist/de.sdk/src/utils/index.d.ts +16 -0
  241. package/dist/de.sdk/src/utils/index.js +24 -0
  242. package/dist/de.sdk/src/utils/index.js.map +1 -0
  243. package/dist/de.sdk/src/utils/stream.js.map +1 -0
  244. package/dist/de.types/src/api.d.ts +112 -0
  245. package/dist/de.types/src/api.js +92 -0
  246. package/dist/de.types/src/api.js.map +1 -0
  247. package/dist/de.types/src/auth.d.ts +108 -0
  248. package/dist/de.types/src/auth.js +80 -0
  249. package/dist/de.types/src/auth.js.map +1 -0
  250. package/dist/de.types/src/aux/agent-rvs.d.ts +1204 -0
  251. package/dist/de.types/src/aux/agent-rvs.js +444 -0
  252. package/dist/de.types/src/aux/agent-rvs.js.map +1 -0
  253. package/dist/de.types/src/aux/agents.d.ts +1572 -0
  254. package/dist/de.types/src/aux/agents.js +487 -0
  255. package/dist/de.types/src/aux/agents.js.map +1 -0
  256. package/dist/de.types/src/aux/customer-rvs.d.ts +710 -0
  257. package/dist/de.types/src/aux/customer-rvs.js +321 -0
  258. package/dist/de.types/src/aux/customer-rvs.js.map +1 -0
  259. package/dist/de.types/src/aux/customers.d.ts +378 -0
  260. package/dist/de.types/src/aux/customers.js +67 -0
  261. package/dist/de.types/src/aux/customers.js.map +1 -0
  262. package/dist/de.types/src/aux/index.d.ts +4 -0
  263. package/dist/de.types/src/aux/index.js +21 -0
  264. package/dist/de.types/src/aux/index.js.map +1 -0
  265. package/dist/de.types/src/billing.d.ts +366 -0
  266. package/dist/de.types/src/billing.js +308 -0
  267. package/dist/de.types/src/billing.js.map +1 -0
  268. package/dist/de.types/src/bucket.d.ts +96 -0
  269. package/dist/de.types/src/bucket.js +52 -0
  270. package/dist/de.types/src/bucket.js.map +1 -0
  271. package/dist/de.types/src/context.d.ts +147 -0
  272. package/dist/de.types/src/context.js +148 -0
  273. package/dist/de.types/src/context.js.map +1 -0
  274. package/dist/de.types/src/csp/analytics.d.ts +269 -0
  275. package/dist/de.types/src/csp/analytics.js +185 -0
  276. package/dist/de.types/src/csp/analytics.js.map +1 -0
  277. package/dist/de.types/src/csp/base.d.ts +10 -0
  278. package/dist/de.types/src/csp/base.js +17 -0
  279. package/dist/de.types/src/csp/base.js.map +1 -0
  280. package/dist/de.types/src/csp/index.d.ts +106 -0
  281. package/dist/de.types/src/csp/index.js +48 -0
  282. package/dist/de.types/src/csp/index.js.map +1 -0
  283. package/dist/de.types/src/csp/inventory.d.ts +360 -0
  284. package/dist/de.types/src/csp/inventory.js +267 -0
  285. package/dist/de.types/src/csp/inventory.js.map +1 -0
  286. package/dist/de.types/src/csp/order.d.ts +1456 -0
  287. package/dist/de.types/src/csp/order.js +375 -0
  288. package/dist/de.types/src/csp/order.js.map +1 -0
  289. package/dist/de.types/src/csp/webhook.d.ts +380 -0
  290. package/dist/de.types/src/csp/webhook.js +207 -0
  291. package/dist/de.types/src/csp/webhook.js.map +1 -0
  292. package/dist/de.types/src/de.profile.d.ts +410 -0
  293. package/dist/de.types/src/de.profile.js +98 -0
  294. package/dist/de.types/src/de.profile.js.map +1 -0
  295. package/dist/de.types/src/dev/developer.d.ts +210 -0
  296. package/dist/de.types/src/dev/developer.js +55 -0
  297. package/dist/de.types/src/dev/developer.js.map +1 -0
  298. package/dist/de.types/src/dev/index.d.ts +132 -0
  299. package/dist/de.types/src/dev/index.js +79 -0
  300. package/dist/de.types/src/dev/index.js.map +1 -0
  301. package/dist/de.types/src/entity.d.ts +158 -0
  302. package/dist/de.types/src/entity.js +127 -0
  303. package/dist/de.types/src/entity.js.map +1 -0
  304. package/dist/de.types/src/events.d.ts +1843 -0
  305. package/dist/de.types/src/events.js +303 -0
  306. package/dist/de.types/src/events.js.map +1 -0
  307. package/dist/de.types/src/faq.d.ts +59 -0
  308. package/dist/de.types/src/faq.js +31 -0
  309. package/dist/de.types/src/faq.js.map +1 -0
  310. package/dist/de.types/src/geo.d.ts +122 -0
  311. package/dist/de.types/src/geo.js +87 -0
  312. package/dist/de.types/src/geo.js.map +1 -0
  313. package/dist/de.types/src/index.d.ts +27 -0
  314. package/dist/de.types/src/index.js +59 -0
  315. package/dist/de.types/src/index.js.map +1 -0
  316. package/dist/de.types/src/inventory.d.ts +1346 -0
  317. package/dist/de.types/src/inventory.js +356 -0
  318. package/dist/de.types/src/inventory.js.map +1 -0
  319. package/dist/de.types/src/iotsp/device.d.ts +580 -0
  320. package/dist/de.types/src/iotsp/device.js +277 -0
  321. package/dist/de.types/src/iotsp/device.js.map +1 -0
  322. package/dist/de.types/src/iotsp/index.d.ts +110 -0
  323. package/dist/de.types/src/iotsp/index.js +76 -0
  324. package/dist/de.types/src/iotsp/index.js.map +1 -0
  325. package/dist/de.types/src/iotsp/rule.d.ts +339 -0
  326. package/dist/de.types/src/iotsp/rule.js +172 -0
  327. package/dist/de.types/src/iotsp/rule.js.map +1 -0
  328. package/dist/de.types/src/iotsp/topic.d.ts +248 -0
  329. package/dist/de.types/src/iotsp/topic.js +139 -0
  330. package/dist/de.types/src/iotsp/topic.js.map +1 -0
  331. package/dist/de.types/src/lsp/carrier/analytics.d.ts +1190 -0
  332. package/dist/de.types/src/lsp/carrier/analytics.js +354 -0
  333. package/dist/de.types/src/lsp/carrier/analytics.js.map +1 -0
  334. package/dist/de.types/src/lsp/carrier/capabilities.d.ts +3602 -0
  335. package/dist/de.types/src/lsp/carrier/capabilities.js +880 -0
  336. package/dist/de.types/src/lsp/carrier/capabilities.js.map +1 -0
  337. package/dist/de.types/src/lsp/carrier/capacities.d.ts +4435 -0
  338. package/dist/de.types/src/lsp/carrier/capacities.js +615 -0
  339. package/dist/de.types/src/lsp/carrier/capacities.js.map +1 -0
  340. package/dist/de.types/src/lsp/carrier/index.d.ts +733 -0
  341. package/dist/de.types/src/lsp/carrier/index.js +150 -0
  342. package/dist/de.types/src/lsp/carrier/index.js.map +1 -0
  343. package/dist/de.types/src/lsp/carrier/performance.d.ts +566 -0
  344. package/dist/de.types/src/lsp/carrier/performance.js +127 -0
  345. package/dist/de.types/src/lsp/carrier/performance.js.map +1 -0
  346. package/dist/de.types/src/lsp/carrier/utilities.d.ts +6670 -0
  347. package/dist/de.types/src/lsp/carrier/utilities.js +597 -0
  348. package/dist/de.types/src/lsp/carrier/utilities.js.map +1 -0
  349. package/dist/de.types/src/lsp/consolidation.d.ts +792 -0
  350. package/dist/de.types/src/lsp/consolidation.js +343 -0
  351. package/dist/de.types/src/lsp/consolidation.js.map +1 -0
  352. package/dist/de.types/src/lsp/coverage.d.ts +7448 -0
  353. package/dist/de.types/src/lsp/coverage.js +706 -0
  354. package/dist/de.types/src/lsp/coverage.js.map +1 -0
  355. package/dist/de.types/src/lsp/fleet/index.d.ts +1127 -0
  356. package/dist/de.types/src/lsp/fleet/index.js +269 -0
  357. package/dist/de.types/src/lsp/fleet/index.js.map +1 -0
  358. package/dist/de.types/src/lsp/fleet/maintenance.d.ts +2021 -0
  359. package/dist/de.types/src/lsp/fleet/maintenance.js +386 -0
  360. package/dist/de.types/src/lsp/fleet/maintenance.js.map +1 -0
  361. package/dist/de.types/src/lsp/fleet/parking.d.ts +2042 -0
  362. package/dist/de.types/src/lsp/fleet/parking.js +458 -0
  363. package/dist/de.types/src/lsp/fleet/parking.js.map +1 -0
  364. package/dist/de.types/src/lsp/fleet/vehicle.d.ts +782 -0
  365. package/dist/de.types/src/lsp/fleet/vehicle.js +314 -0
  366. package/dist/de.types/src/lsp/fleet/vehicle.js.map +1 -0
  367. package/dist/de.types/src/lsp/graph.d.ts +211 -0
  368. package/dist/de.types/src/lsp/graph.js +92 -0
  369. package/dist/de.types/src/lsp/graph.js.map +1 -0
  370. package/dist/de.types/src/lsp/hub/analytics.d.ts +4293 -0
  371. package/dist/de.types/src/lsp/hub/analytics.js +219 -0
  372. package/dist/de.types/src/lsp/hub/analytics.js.map +1 -0
  373. package/dist/de.types/src/lsp/hub/capabilities.d.ts +1466 -0
  374. package/dist/de.types/src/lsp/hub/capabilities.js +464 -0
  375. package/dist/de.types/src/lsp/hub/capabilities.js.map +1 -0
  376. package/dist/de.types/src/lsp/hub/capacities.d.ts +4277 -0
  377. package/dist/de.types/src/lsp/hub/capacities.js +495 -0
  378. package/dist/de.types/src/lsp/hub/capacities.js.map +1 -0
  379. package/dist/de.types/src/lsp/hub/index.d.ts +2783 -0
  380. package/dist/de.types/src/lsp/hub/index.js +268 -0
  381. package/dist/de.types/src/lsp/hub/index.js.map +1 -0
  382. package/dist/de.types/src/lsp/hub/performance.d.ts +390 -0
  383. package/dist/de.types/src/lsp/hub/performance.js +78 -0
  384. package/dist/de.types/src/lsp/hub/performance.js.map +1 -0
  385. package/dist/de.types/src/lsp/hub/utilities.d.ts +2995 -0
  386. package/dist/de.types/src/lsp/hub/utilities.js +521 -0
  387. package/dist/de.types/src/lsp/hub/utilities.js.map +1 -0
  388. package/dist/de.types/src/lsp/index.d.ts +156 -0
  389. package/dist/de.types/src/lsp/index.js +124 -0
  390. package/dist/de.types/src/lsp/index.js.map +1 -0
  391. package/dist/de.types/src/lsp/operations.d.ts +562 -0
  392. package/dist/de.types/src/lsp/operations.js +265 -0
  393. package/dist/de.types/src/lsp/operations.js.map +1 -0
  394. package/dist/de.types/src/lsp/order/delivery.d.ts +1118 -0
  395. package/dist/de.types/src/lsp/order/delivery.js +177 -0
  396. package/dist/de.types/src/lsp/order/delivery.js.map +1 -0
  397. package/dist/de.types/src/lsp/order/flow/processes.d.ts +7 -0
  398. package/dist/de.types/src/lsp/order/flow/processes.js +67 -0
  399. package/dist/de.types/src/lsp/order/flow/processes.js.map +1 -0
  400. package/dist/de.types/src/lsp/order/flow/stages.d.ts +7 -0
  401. package/dist/de.types/src/lsp/order/flow/stages.js +111 -0
  402. package/dist/de.types/src/lsp/order/flow/stages.js.map +1 -0
  403. package/dist/de.types/src/lsp/order/inbound.d.ts +1164 -0
  404. package/dist/de.types/src/lsp/order/inbound.js +193 -0
  405. package/dist/de.types/src/lsp/order/inbound.js.map +1 -0
  406. package/dist/de.types/src/lsp/order/internal.d.ts +1403 -0
  407. package/dist/de.types/src/lsp/order/internal.js +263 -0
  408. package/dist/de.types/src/lsp/order/internal.js.map +1 -0
  409. package/dist/de.types/src/lsp/order/management.d.ts +540 -0
  410. package/dist/de.types/src/lsp/order/management.js +326 -0
  411. package/dist/de.types/src/lsp/order/management.js.map +1 -0
  412. package/dist/de.types/src/lsp/order/passthrough.d.ts +1815 -0
  413. package/dist/de.types/src/lsp/order/passthrough.js +368 -0
  414. package/dist/de.types/src/lsp/order/passthrough.js.map +1 -0
  415. package/dist/de.types/src/lsp/order/ride.d.ts +1055 -0
  416. package/dist/de.types/src/lsp/order/ride.js +174 -0
  417. package/dist/de.types/src/lsp/order/ride.js.map +1 -0
  418. package/dist/de.types/src/lsp/order/shipping.d.ts +1523 -0
  419. package/dist/de.types/src/lsp/order/shipping.js +231 -0
  420. package/dist/de.types/src/lsp/order/shipping.js.map +1 -0
  421. package/dist/de.types/src/lsp/pod/index.d.ts +804 -0
  422. package/dist/de.types/src/lsp/pod/index.js +250 -0
  423. package/dist/de.types/src/lsp/pod/index.js.map +1 -0
  424. package/dist/de.types/src/lsp/pricing.d.ts +1810 -0
  425. package/dist/de.types/src/lsp/pricing.js +972 -0
  426. package/dist/de.types/src/lsp/pricing.js.map +1 -0
  427. package/dist/de.types/src/lsp/psl.d.ts +784 -0
  428. package/dist/de.types/src/lsp/psl.js +333 -0
  429. package/dist/de.types/src/lsp/psl.js.map +1 -0
  430. package/dist/de.types/src/lsp/terminal/analytics.d.ts +277 -0
  431. package/dist/de.types/src/lsp/terminal/analytics.js +310 -0
  432. package/dist/de.types/src/lsp/terminal/analytics.js.map +1 -0
  433. package/dist/de.types/src/lsp/terminal/capabilities.d.ts +796 -0
  434. package/dist/de.types/src/lsp/terminal/capabilities.js +506 -0
  435. package/dist/de.types/src/lsp/terminal/capabilities.js.map +1 -0
  436. package/dist/de.types/src/lsp/terminal/capacities.d.ts +3151 -0
  437. package/dist/de.types/src/lsp/terminal/capacities.js +504 -0
  438. package/dist/de.types/src/lsp/terminal/capacities.js.map +1 -0
  439. package/dist/de.types/src/lsp/terminal/index.d.ts +1055 -0
  440. package/dist/de.types/src/lsp/terminal/index.js +394 -0
  441. package/dist/de.types/src/lsp/terminal/index.js.map +1 -0
  442. package/dist/de.types/src/lsp/terminal/performance.d.ts +954 -0
  443. package/dist/de.types/src/lsp/terminal/performance.js +159 -0
  444. package/dist/de.types/src/lsp/terminal/performance.js.map +1 -0
  445. package/dist/de.types/src/lsp/terminal/utilities.d.ts +2373 -0
  446. package/dist/de.types/src/lsp/terminal/utilities.js +161 -0
  447. package/dist/de.types/src/lsp/terminal/utilities.js.map +1 -0
  448. package/dist/de.types/src/lsp/warehouse/analytics.d.ts +3087 -0
  449. package/dist/de.types/src/lsp/warehouse/analytics.js +229 -0
  450. package/dist/de.types/src/lsp/warehouse/analytics.js.map +1 -0
  451. package/dist/de.types/src/lsp/warehouse/capabilities.d.ts +1383 -0
  452. package/dist/de.types/src/lsp/warehouse/capabilities.js +567 -0
  453. package/dist/de.types/src/lsp/warehouse/capabilities.js.map +1 -0
  454. package/dist/de.types/src/lsp/warehouse/capacities.d.ts +2920 -0
  455. package/dist/de.types/src/lsp/warehouse/capacities.js +450 -0
  456. package/dist/de.types/src/lsp/warehouse/capacities.js.map +1 -0
  457. package/dist/de.types/src/lsp/warehouse/index.d.ts +2565 -0
  458. package/dist/de.types/src/lsp/warehouse/index.js +264 -0
  459. package/dist/de.types/src/lsp/warehouse/index.js.map +1 -0
  460. package/dist/de.types/src/lsp/warehouse/performance.d.ts +286 -0
  461. package/dist/de.types/src/lsp/warehouse/performance.js +72 -0
  462. package/dist/de.types/src/lsp/warehouse/performance.js.map +1 -0
  463. package/dist/de.types/src/lsp/warehouse/utilities.d.ts +5173 -0
  464. package/dist/de.types/src/lsp/warehouse/utilities.js +588 -0
  465. package/dist/de.types/src/lsp/warehouse/utilities.js.map +1 -0
  466. package/dist/de.types/src/lsp/zones.d.ts +304 -0
  467. package/dist/de.types/src/lsp/zones.js +118 -0
  468. package/dist/de.types/src/lsp/zones.js.map +1 -0
  469. package/dist/de.types/src/measure.d.ts +138 -0
  470. package/dist/de.types/src/measure.js +190 -0
  471. package/dist/de.types/src/measure.js.map +1 -0
  472. package/dist/de.types/src/operator.d.ts +102 -0
  473. package/dist/de.types/src/operator.js +38 -0
  474. package/dist/de.types/src/operator.js.map +1 -0
  475. package/dist/de.types/src/order.d.ts +2738 -0
  476. package/dist/de.types/src/order.js +1078 -0
  477. package/dist/de.types/src/order.js.map +1 -0
  478. package/dist/de.types/src/realm/index.d.ts +3 -0
  479. package/dist/de.types/src/realm/index.js +20 -0
  480. package/dist/de.types/src/realm/index.js.map +1 -0
  481. package/dist/de.types/src/realm/pipelines.d.ts +32566 -0
  482. package/dist/de.types/src/realm/pipelines.js +1273 -0
  483. package/dist/de.types/src/realm/pipelines.js.map +1 -0
  484. package/dist/de.types/src/realm/queries.d.ts +1326 -0
  485. package/dist/de.types/src/realm/queries.js +456 -0
  486. package/dist/de.types/src/realm/queries.js.map +1 -0
  487. package/dist/de.types/src/realm/utilities.d.ts +1793 -0
  488. package/dist/de.types/src/realm/utilities.js +594 -0
  489. package/dist/de.types/src/realm/utilities.js.map +1 -0
  490. package/dist/de.types/src/routing.d.ts +427 -0
  491. package/dist/de.types/src/routing.js +60 -0
  492. package/dist/de.types/src/routing.js.map +1 -0
  493. package/dist/de.types/src/service.d.ts +263 -0
  494. package/dist/de.types/src/service.js +60 -0
  495. package/dist/de.types/src/service.js.map +1 -0
  496. package/dist/de.types/src/shared/access.d.ts +101 -0
  497. package/dist/de.types/src/shared/access.js +30 -0
  498. package/dist/de.types/src/shared/access.js.map +1 -0
  499. package/dist/de.types/src/shared/account.d.ts +43 -0
  500. package/dist/de.types/src/shared/account.js +15 -0
  501. package/dist/de.types/src/shared/account.js.map +1 -0
  502. package/dist/de.types/src/shared/auth.d.ts +44 -0
  503. package/dist/de.types/src/shared/auth.js +19 -0
  504. package/dist/de.types/src/shared/auth.js.map +1 -0
  505. package/dist/de.types/src/shared/bucket.d.ts +293 -0
  506. package/dist/de.types/src/shared/bucket.js +79 -0
  507. package/dist/de.types/src/shared/bucket.js.map +1 -0
  508. package/dist/de.types/src/shared/faq.d.ts +279 -0
  509. package/dist/de.types/src/shared/faq.js +73 -0
  510. package/dist/de.types/src/shared/faq.js.map +1 -0
  511. package/dist/de.types/src/shared/index.d.ts +9 -0
  512. package/dist/de.types/src/shared/index.js +26 -0
  513. package/dist/de.types/src/shared/index.js.map +1 -0
  514. package/dist/de.types/src/shared/invitation.d.ts +1524 -0
  515. package/dist/de.types/src/shared/invitation.js +60 -0
  516. package/dist/de.types/src/shared/invitation.js.map +1 -0
  517. package/dist/de.types/src/shared/operator.d.ts +955 -0
  518. package/dist/de.types/src/shared/operator.js +48 -0
  519. package/dist/de.types/src/shared/operator.js.map +1 -0
  520. package/dist/de.types/src/shared/tracking.d.ts +30 -0
  521. package/dist/de.types/src/shared/tracking.js +23 -0
  522. package/dist/de.types/src/shared/tracking.js.map +1 -0
  523. package/dist/de.types/src/shared/user.d.ts +76 -0
  524. package/dist/de.types/src/shared/user.js +22 -0
  525. package/dist/de.types/src/shared/user.js.map +1 -0
  526. package/dist/de.types/src/sync.d.ts +538 -0
  527. package/dist/de.types/src/sync.js +329 -0
  528. package/dist/de.types/src/sync.js.map +1 -0
  529. package/dist/de.types/src/time.d.ts +138 -0
  530. package/dist/de.types/src/time.js +93 -0
  531. package/dist/de.types/src/time.js.map +1 -0
  532. package/dist/de.types/src/user.d.ts +393 -0
  533. package/dist/de.types/src/user.js +205 -0
  534. package/dist/de.types/src/user.js.map +1 -0
  535. package/dist/de.types/src/workspace/admin.d.ts +90 -0
  536. package/dist/de.types/src/workspace/admin.js +33 -0
  537. package/dist/de.types/src/workspace/admin.js.map +1 -0
  538. package/dist/de.types/src/workspace/connector.d.ts +594 -0
  539. package/dist/de.types/src/workspace/connector.js +229 -0
  540. package/dist/de.types/src/workspace/connector.js.map +1 -0
  541. package/dist/de.types/src/workspace/index.d.ts +35 -0
  542. package/dist/de.types/src/workspace/index.js +21 -0
  543. package/dist/de.types/src/workspace/index.js.map +1 -0
  544. package/dist/index.js +1 -20
  545. package/dist/types/access.d.ts +7 -7
  546. package/dist/types/auth.d.ts +17 -17
  547. package/dist/types/index.d.ts +336 -237
  548. package/package.json +4 -3
  549. package/src/allend/Agent/consolidation.ts +31 -0
  550. package/src/allend/Agent/delivery.ts +61 -0
  551. package/src/allend/Agent/dispatch.ts +31 -0
  552. package/src/allend/Agent/index.ts +96 -0
  553. package/src/allend/Agent/navigation.ts +31 -0
  554. package/src/allend/Agent/origin.ts +42 -0
  555. package/src/allend/Agent/reallocation.ts +18 -0
  556. package/src/allend/Agent/rides.ts +73 -0
  557. package/src/allend/Agent/shipping.ts +61 -0
  558. package/src/allend/CSP/analytics.ts +73 -0
  559. package/src/allend/CSP/index.ts +51 -0
  560. package/src/allend/CSP/inventory.ts +116 -0
  561. package/src/allend/CSP/orders.ts +147 -0
  562. package/src/allend/CSP/webhooks.ts +82 -0
  563. package/src/allend/Customer/index.ts +44 -0
  564. package/src/allend/Customer/intents.ts +78 -0
  565. package/src/allend/Customer/orders.ts +61 -0
  566. package/src/allend/Customer/rides.ts +72 -0
  567. package/src/allend/DEV/developers.ts +48 -0
  568. package/src/allend/DEV/index.ts +42 -0
  569. package/src/allend/IoTSP/backend.ts +101 -0
  570. package/src/allend/IoTSP/devices.ts +90 -0
  571. package/src/allend/IoTSP/index.ts +63 -0
  572. package/src/allend/IoTSP/rules.ts +121 -0
  573. package/src/allend/IoTSP/topics.ts +121 -0
  574. package/src/allend/LSP/agents.ts +137 -0
  575. package/src/allend/LSP/carriers.ts +498 -0
  576. package/src/allend/LSP/coverage.ts +288 -0
  577. package/src/allend/LSP/fleets.ts +619 -0
  578. package/src/allend/LSP/hubs.ts +293 -0
  579. package/src/allend/LSP/index.ts +69 -0
  580. package/src/allend/LSP/inventory.ts +77 -0
  581. package/src/allend/LSP/operations.ts +178 -0
  582. package/src/allend/LSP/orders.ts +428 -0
  583. package/src/allend/LSP/pods.ts +212 -0
  584. package/src/allend/LSP/pricing.ts +206 -0
  585. package/src/allend/LSP/psl.ts +97 -0
  586. package/src/allend/LSP/warehouses.ts +138 -0
  587. package/src/allend/MSI/Controls.ts +5 -2
  588. package/src/allend/MSI/Handles.ts +1 -1
  589. package/src/allend/{DAuth → OTPAuth}/index.ts +5 -7
  590. package/src/allend/Pipelines/analytics.ts +29 -0
  591. package/src/allend/Pipelines/escalations.ts +30 -0
  592. package/src/allend/Pipelines/executions.ts +61 -0
  593. package/src/allend/Pipelines/index.ts +131 -0
  594. package/src/allend/Pipelines/interventions.ts +31 -0
  595. package/src/allend/Pipelines/monitor.ts +39 -0
  596. package/src/allend/Pipelines/queries.ts +31 -0
  597. package/src/allend/Pipelines/templates.ts +59 -0
  598. package/src/allend/Pipelines/utils.ts +0 -0
  599. package/src/allend/Pipelines/webhooks.ts +38 -0
  600. package/src/allend/Pipelines/workers.ts +55 -0
  601. package/src/allend/Queries/capacity.ts +61 -0
  602. package/src/allend/Queries/discovery.ts +63 -0
  603. package/src/allend/Queries/index.ts +52 -0
  604. package/src/allend/Queries/matching.ts +18 -0
  605. package/src/allend/Queries/performance.ts +41 -0
  606. package/src/allend/Queries/pricing.ts +61 -0
  607. package/src/allend/{DClient/Event.ts → Realtime/index.ts} +21 -22
  608. package/src/allend/Shared/account.ts +28 -0
  609. package/src/allend/Shared/buckets.ts +143 -0
  610. package/src/allend/Shared/context.ts +36 -0
  611. package/src/allend/Shared/faqs.ts +130 -0
  612. package/src/allend/Shared/invitation.ts +74 -0
  613. package/src/allend/Shared/operators.ts +92 -0
  614. package/src/allend/Shared/users.ts +38 -0
  615. package/src/allend/Tracking/index.ts +44 -0
  616. package/src/allend/Utilities/common.ts +75 -0
  617. package/src/allend/Utilities/fares.ts +53 -0
  618. package/src/allend/Utilities/index.ts +46 -0
  619. package/src/allend/Utilities/nearby.ts +42 -0
  620. package/src/allend/{DClient → Workflows}/Client.ts +9 -13
  621. package/src/allend/Workflows/Delivery.ts +94 -0
  622. package/src/allend/Workflows/index.ts +31 -0
  623. package/src/allend/Workspace/index.ts +113 -0
  624. package/src/allend/index.ts +21 -10
  625. package/src/backend/Auth.ts +54 -34
  626. package/src/baseUrl.ts +16 -8
  627. package/src/index.ts +116 -19
  628. package/src/types/access.d.ts +7 -7
  629. package/src/types/auth.d.ts +17 -17
  630. package/src/types/index.d.ts +336 -237
  631. package/src/utils/index.ts +18 -1
  632. package/dist/allend/Access.js.map +0 -1
  633. package/dist/allend/DAuth/index.js.map +0 -1
  634. package/dist/allend/DClient/Client.js.map +0 -1
  635. package/dist/allend/DClient/Event.js.map +0 -1
  636. package/dist/allend/DClient/Order.d.ts +0 -49
  637. package/dist/allend/DClient/Order.js +0 -601
  638. package/dist/allend/DClient/Order.js.map +0 -1
  639. package/dist/allend/IoTClient.js.map +0 -1
  640. package/dist/allend/MSI/Controls.js.map +0 -1
  641. package/dist/allend/MSI/Handles.js.map +0 -1
  642. package/dist/allend/MSI/Plugins.js.map +0 -1
  643. package/dist/allend/MSI/index.js.map +0 -1
  644. package/dist/allend/index.d.ts +0 -12
  645. package/dist/allend/index.js +0 -18
  646. package/dist/allend/index.js.map +0 -1
  647. package/dist/backend/Auth.js.map +0 -1
  648. package/dist/baseUrl.js.map +0 -1
  649. package/dist/bundle.js +0 -1
  650. package/dist/index.d.ts +0 -13
  651. package/dist/index.js.map +0 -1
  652. package/dist/utils/index.d.ts +0 -5
  653. package/dist/utils/index.js +0 -8
  654. package/dist/utils/index.js.map +0 -1
  655. package/dist/utils/stream.js.map +0 -1
  656. package/src/allend/DClient/Order.ts +0 -452
  657. /package/dist/{allend → de.sdk/src/allend}/Access.d.ts +0 -0
  658. /package/dist/{allend → de.sdk/src/allend}/Access.js +0 -0
  659. /package/dist/{allend → de.sdk/src/allend}/IoTClient.d.ts +0 -0
  660. /package/dist/{allend → de.sdk/src/allend}/IoTClient.js +0 -0
  661. /package/dist/{allend → de.sdk/src/allend}/MSI/Controls.js +0 -0
  662. /package/dist/{allend → de.sdk/src/allend}/MSI/Handles.js +0 -0
  663. /package/dist/{allend → de.sdk/src/allend}/MSI/Plugins.d.ts +0 -0
  664. /package/dist/{allend → de.sdk/src/allend}/MSI/Plugins.js +0 -0
  665. /package/dist/{allend → de.sdk/src/allend}/MSI/index.d.ts +0 -0
  666. /package/dist/{allend → de.sdk/src/allend}/MSI/index.js +0 -0
  667. /package/dist/{utils → de.sdk/src/utils}/stream.d.ts +0 -0
  668. /package/dist/{utils → de.sdk/src/utils}/stream.js +0 -0
@@ -0,0 +1,206 @@
1
+ import type {
2
+ LSPPricingAddValidation,
3
+ LSPPricingRetrieveValidation,
4
+ LSPPricingFetchValidation,
5
+ LSPPricingUpdateValidation,
6
+ LSPPricingRemoveValidation,
7
+ LSPPricingAddTierValidation,
8
+ LSPPricingUpdateTierValidation,
9
+ LSPPricingRemoveTierValidation,
10
+ LSPPricingAddSeasonalAdjustmentValidation,
11
+ LSPPricingRemoveSeasonalAdjustmentValidation,
12
+ LSPPricingUpdateFuelSurchargeValidation,
13
+ LSPPricingBulkUpdateByCategoryValidation,
14
+ LSPPricingAddContractTermsValidation,
15
+ LSPPricingUpdateContractTermsValidation,
16
+ LSPPricingValidateValidation,
17
+ LSPPricingGetTemplatesValidation,
18
+ LSPPricingCreateFromTemplateValidation,
19
+ LSPPricingBindToValidation
20
+ } from '@de./types/lsp/pricing'
21
+ import { qs, type Http, type Res } from '../../utils'
22
+
23
+ // ── LSP Pricing ───────────────────────────────────────────────────────────────
24
+
25
+ export default class LSPPricing {
26
+ constructor( private http: Http ){}
27
+
28
+ async add( body: LSPPricingAddValidation['body'] ): Promise<LSPPricingAddValidation['response']> {
29
+ const { error, message, data } = await this.http.request<Res<LSPPricingAddValidation['response']>>({
30
+ url: '/lsp/pricing/rules',
31
+ method: 'POST',
32
+ body
33
+ })
34
+ if( error ) throw new Error( message )
35
+ return data
36
+ }
37
+
38
+ async list( querystring?: LSPPricingFetchValidation['querystring'] ): Promise<LSPPricingFetchValidation['response']> {
39
+ const { error, message, data } = await this.http.request<Res<LSPPricingFetchValidation['response']>>({
40
+ url: `/lsp/pricing/rules${qs( querystring )}`,
41
+ method: 'GET'
42
+ })
43
+ if( error ) throw new Error( message )
44
+ return data
45
+ }
46
+
47
+ async retrieve( id: string ): Promise<LSPPricingRetrieveValidation['response']> {
48
+ const { error, message, data } = await this.http.request<Res<LSPPricingRetrieveValidation['response']>>({
49
+ url: `/lsp/pricing/rules/${id}`,
50
+ method: 'GET'
51
+ })
52
+ if( error ) throw new Error( message )
53
+ return data
54
+ }
55
+
56
+ async update( id: string, body: LSPPricingUpdateValidation['body'] ): Promise<LSPPricingUpdateValidation['response']> {
57
+ const { error, message, data } = await this.http.request<Res<LSPPricingUpdateValidation['response']>>({
58
+ url: `/lsp/pricing/rules/${id}`,
59
+ method: 'PATCH',
60
+ body
61
+ })
62
+ if( error ) throw new Error( message )
63
+ return data
64
+ }
65
+
66
+ async remove( id: string ): Promise<void> {
67
+ const { error, message } = await this.http.request<Res<unknown>>({
68
+ url: `/lsp/pricing/rules/${id}`,
69
+ method: 'DELETE'
70
+ })
71
+ if( error ) throw new Error( message )
72
+ }
73
+
74
+ async bindTo( id: string, action: 'add' | 'remove', body: LSPPricingBindToValidation['body'] ): Promise<LSPPricingBindToValidation['response']> {
75
+ const { error, message, data } = await this.http.request<Res<LSPPricingBindToValidation['response']>>({
76
+ url: `/lsp/pricing/rules/${id}/bind/${action}`,
77
+ method: 'PUT',
78
+ body
79
+ })
80
+ if( error ) throw new Error( message )
81
+ return data
82
+ }
83
+
84
+ // ── Tiers ─────────────────────────────────────────────────────────────────
85
+
86
+ async addTier( id: string, body: LSPPricingAddTierValidation['body'] ): Promise<LSPPricingAddTierValidation['response']> {
87
+ const { error, message, data } = await this.http.request<Res<LSPPricingAddTierValidation['response']>>({
88
+ url: `/lsp/pricing/rules/${id}/tiers`,
89
+ method: 'POST',
90
+ body
91
+ })
92
+ if( error ) throw new Error( message )
93
+ return data
94
+ }
95
+
96
+ async updateTier( id: string, index: number, body: LSPPricingUpdateTierValidation['body'] ): Promise<LSPPricingUpdateTierValidation['response']> {
97
+ const { error, message, data } = await this.http.request<Res<LSPPricingUpdateTierValidation['response']>>({
98
+ url: `/lsp/pricing/rules/${id}/tiers/${index}`,
99
+ method: 'PATCH',
100
+ body
101
+ })
102
+ if( error ) throw new Error( message )
103
+ return data
104
+ }
105
+
106
+ async removeTier( id: string, index: number ): Promise<void> {
107
+ const { error, message } = await this.http.request<Res<unknown>>({
108
+ url: `/lsp/pricing/rules/${id}/tiers/${index}`,
109
+ method: 'DELETE'
110
+ })
111
+ if( error ) throw new Error( message )
112
+ }
113
+
114
+ // ── Contract ──────────────────────────────────────────────────────────────
115
+
116
+ async addContractTerms( id: string, body: LSPPricingAddContractTermsValidation['body'] ): Promise<LSPPricingAddContractTermsValidation['response']> {
117
+ const { error, message, data } = await this.http.request<Res<LSPPricingAddContractTermsValidation['response']>>({
118
+ url: `/lsp/pricing/rules/${id}/contract`,
119
+ method: 'POST',
120
+ body
121
+ })
122
+ if( error ) throw new Error( message )
123
+ return data
124
+ }
125
+
126
+ async updateContractTerms( id: string, body: LSPPricingUpdateContractTermsValidation['body'] ): Promise<LSPPricingUpdateContractTermsValidation['response']> {
127
+ const { error, message, data } = await this.http.request<Res<LSPPricingUpdateContractTermsValidation['response']>>({
128
+ url: `/lsp/pricing/rules/${id}/contract`,
129
+ method: 'PATCH',
130
+ body
131
+ })
132
+ if( error ) throw new Error( message )
133
+ return data
134
+ }
135
+
136
+ // ── Adjustments ───────────────────────────────────────────────────────────
137
+
138
+ async addSeasonalAdjustment( id: string, body: LSPPricingAddSeasonalAdjustmentValidation['body'] ): Promise<LSPPricingAddSeasonalAdjustmentValidation['response']> {
139
+ const { error, message, data } = await this.http.request<Res<LSPPricingAddSeasonalAdjustmentValidation['response']>>({
140
+ url: `/lsp/pricing/rules/${id}/adjustments`,
141
+ method: 'POST',
142
+ body
143
+ })
144
+ if( error ) throw new Error( message )
145
+ return data
146
+ }
147
+
148
+ async removeSeasonalAdjustment( id: string, index: number ): Promise<void> {
149
+ const { error, message } = await this.http.request<Res<unknown>>({
150
+ url: `/lsp/pricing/rules/${id}/adjustments/${index}`,
151
+ method: 'DELETE'
152
+ })
153
+ if( error ) throw new Error( message )
154
+ }
155
+
156
+ async updateFuelSurcharge( id: string, body: LSPPricingUpdateFuelSurchargeValidation['body'] ): Promise<LSPPricingUpdateFuelSurchargeValidation['response']> {
157
+ const { error, message, data } = await this.http.request<Res<LSPPricingUpdateFuelSurchargeValidation['response']>>({
158
+ url: `/lsp/pricing/utils/rules/${id}/fuel-surcharge`,
159
+ method: 'PATCH',
160
+ body
161
+ })
162
+ if( error ) throw new Error( message )
163
+ return data
164
+ }
165
+
166
+ async bulkUpdateByCategory( body: LSPPricingBulkUpdateByCategoryValidation['body'] ): Promise<LSPPricingBulkUpdateByCategoryValidation['response']> {
167
+ const { error, message, data } = await this.http.request<Res<LSPPricingBulkUpdateByCategoryValidation['response']>>({
168
+ url: '/lsp/pricing/utils/bulk/update',
169
+ method: 'PATCH',
170
+ body
171
+ })
172
+ if( error ) throw new Error( message )
173
+ return data
174
+ }
175
+
176
+ // ── Templates ─────────────────────────────────────────────────────────────
177
+
178
+ async getTemplates( querystring?: LSPPricingGetTemplatesValidation['querystring'] ): Promise<LSPPricingGetTemplatesValidation['response']> {
179
+ const { error, message, data } = await this.http.request<Res<LSPPricingGetTemplatesValidation['response']>>({
180
+ url: `/lsp/pricing/templates${qs( querystring )}`,
181
+ method: 'GET'
182
+ })
183
+ if( error ) throw new Error( message )
184
+ return data
185
+ }
186
+
187
+ async createFromTemplate( body: LSPPricingCreateFromTemplateValidation['body'] ): Promise<LSPPricingCreateFromTemplateValidation['response']> {
188
+ const { error, message, data } = await this.http.request<Res<LSPPricingCreateFromTemplateValidation['response']>>({
189
+ url: '/lsp/pricing/templates/create',
190
+ method: 'POST',
191
+ body
192
+ })
193
+ if( error ) throw new Error( message )
194
+ return data
195
+ }
196
+
197
+ async validate( body: LSPPricingValidateValidation['body'] ): Promise<LSPPricingValidateValidation['response']> {
198
+ const { error, message, data } = await this.http.request<Res<LSPPricingValidateValidation['response']>>({
199
+ url: '/lsp/pricing/utils/validate',
200
+ method: 'POST',
201
+ body
202
+ })
203
+ if( error ) throw new Error( message )
204
+ return data
205
+ }
206
+ }
@@ -0,0 +1,97 @@
1
+ import type {
2
+ LSPPSLCreateValidation,
3
+ LSPPSLFetchValidation,
4
+ LSPPSLRetrieveValidation,
5
+ LSPPSLUpdateValidation,
6
+ LSPPSLUpdateStatusValidation,
7
+ LSPPSLHierarchyValidation,
8
+ LSPPSLAvailableValidation,
9
+ LSPPSLRemoveValidation
10
+ } from '@de./types/lsp/psl'
11
+ import { qs, type Http, type Res } from '../../utils'
12
+
13
+ // ── LSP Facility PSL (Pick/Sort/Locations) ──────────────────────────────────────
14
+ //
15
+ // Dual-mounted under hubs and warehouses: /lsp/{hubs|warehouses}/:id/psl
16
+ // Instantiated per facility segment; each method takes the facility id.
17
+ //
18
+ // ─────────────────────────────────────────────────────────────────────────────
19
+
20
+ export default class LSPFacilityPSL {
21
+ constructor( private http: Http, private segment: 'hubs' | 'warehouses' ){}
22
+
23
+ async create( facilityId: string, body: LSPPSLCreateValidation['body'] ): Promise<LSPPSLCreateValidation['response']> {
24
+ const { error, message, data } = await this.http.request<Res<LSPPSLCreateValidation['response']>>({
25
+ url: `/lsp/${this.segment}/${facilityId}/psl/create`,
26
+ method: 'POST',
27
+ body
28
+ })
29
+ if( error ) throw new Error( message )
30
+ return data
31
+ }
32
+
33
+ async list( facilityId: string, querystring?: LSPPSLFetchValidation['querystring'] ): Promise<LSPPSLFetchValidation['response']> {
34
+ const { error, message, data } = await this.http.request<Res<LSPPSLFetchValidation['response']>>({
35
+ url: `/lsp/${this.segment}/${facilityId}/psl${qs( querystring )}`,
36
+ method: 'GET'
37
+ })
38
+ if( error ) throw new Error( message )
39
+ return data
40
+ }
41
+
42
+ async retrieve( facilityId: string, locationId: string ): Promise<LSPPSLRetrieveValidation['response']> {
43
+ const { error, message, data } = await this.http.request<Res<LSPPSLRetrieveValidation['response']>>({
44
+ url: `/lsp/${this.segment}/${facilityId}/psl/${locationId}`,
45
+ method: 'GET'
46
+ })
47
+ if( error ) throw new Error( message )
48
+ return data
49
+ }
50
+
51
+ async update( facilityId: string, locationId: string, body: LSPPSLUpdateValidation['body'] ): Promise<LSPPSLUpdateValidation['response']> {
52
+ const { error, message, data } = await this.http.request<Res<LSPPSLUpdateValidation['response']>>({
53
+ url: `/lsp/${this.segment}/${facilityId}/psl/${locationId}`,
54
+ method: 'PATCH',
55
+ body
56
+ })
57
+ if( error ) throw new Error( message )
58
+ return data
59
+ }
60
+
61
+ async updateStatus( facilityId: string, locationId: string, body: LSPPSLUpdateStatusValidation['body'] ): Promise<LSPPSLUpdateStatusValidation['response']> {
62
+ const { error, message, data } = await this.http.request<Res<LSPPSLUpdateStatusValidation['response']>>({
63
+ url: `/lsp/${this.segment}/${facilityId}/psl/${locationId}/status`,
64
+ method: 'PATCH',
65
+ body
66
+ })
67
+ if( error ) throw new Error( message )
68
+ return data
69
+ }
70
+
71
+ async hierarchy( facilityId: string, locationId: string ): Promise<LSPPSLHierarchyValidation['response']> {
72
+ const { error, message, data } = await this.http.request<Res<LSPPSLHierarchyValidation['response']>>({
73
+ url: `/lsp/${this.segment}/${facilityId}/psl/${locationId}/hierarchy`,
74
+ method: 'GET'
75
+ })
76
+ if( error ) throw new Error( message )
77
+ return data
78
+ }
79
+
80
+ async available( facilityId: string, querystring?: LSPPSLAvailableValidation['querystring'] ): Promise<LSPPSLAvailableValidation['response']> {
81
+ const { error, message, data } = await this.http.request<Res<LSPPSLAvailableValidation['response']>>({
82
+ url: `/lsp/${this.segment}/${facilityId}/psl/query/available${qs( querystring )}`,
83
+ method: 'GET'
84
+ })
85
+ if( error ) throw new Error( message )
86
+ return data
87
+ }
88
+
89
+ async remove( facilityId: string, locationId: string ): Promise<LSPPSLRemoveValidation['response']> {
90
+ const { error, message, data } = await this.http.request<Res<LSPPSLRemoveValidation['response']>>({
91
+ url: `/lsp/${this.segment}/${facilityId}/psl/${locationId}`,
92
+ method: 'DELETE'
93
+ })
94
+ if( error ) throw new Error( message )
95
+ return data
96
+ }
97
+ }
@@ -0,0 +1,138 @@
1
+ import type {
2
+ LSPWarehouseCreateValidation,
3
+ LSPWarehouseRetrieveValidation,
4
+ LSPWarehouseListValidation,
5
+ LSPWarehouseUpdateValidation,
6
+ LSPWarehouseUpdateStatusValidation,
7
+ LSPWarehouseRemoveValidation,
8
+ LSPWarehouseGetStorageCapabilityValidation,
9
+ LSPWarehouseSetStorageCapabilityValidation,
10
+ LSPWarehouseGetPhysicalCapacityValidation,
11
+ LSPWarehouseSetPhysicalCapacityValidation
12
+ } from '@de./types/lsp/warehouse'
13
+ import type { LSPPricingBindToValidation } from '@de./types/lsp/pricing'
14
+ import { qs, type Http, type Res } from '../../utils'
15
+ import LSPFacilityPSL from './psl'
16
+ import LSPFacilityInventory from './inventory'
17
+
18
+ // ── LSP Warehouses ────────────────────────────────────────────────────────────
19
+
20
+ export default class LSPWarehouses {
21
+ psl: LSPFacilityPSL
22
+ inventory: LSPFacilityInventory
23
+
24
+ constructor( private http: Http ){
25
+ this.psl = new LSPFacilityPSL( this.http, 'warehouses' )
26
+ this.inventory = new LSPFacilityInventory( this.http, 'warehouses' )
27
+ }
28
+
29
+ async create( body: LSPWarehouseCreateValidation['body'] ): Promise<LSPWarehouseCreateValidation['response']> {
30
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseCreateValidation['response']>>({
31
+ url: '/lsp/warehouses/create',
32
+ method: 'POST',
33
+ body
34
+ })
35
+ if( error ) throw new Error( message )
36
+ return data
37
+ }
38
+
39
+ async list( querystring?: LSPWarehouseListValidation['querystring'] ): Promise<LSPWarehouseListValidation['response']> {
40
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseListValidation['response']>>({
41
+ url: `/lsp/warehouses${qs( querystring )}`,
42
+ method: 'GET'
43
+ })
44
+ if( error ) throw new Error( message )
45
+ return data
46
+ }
47
+
48
+ async retrieve( id: string ): Promise<LSPWarehouseRetrieveValidation['response']> {
49
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseRetrieveValidation['response']>>({
50
+ url: `/lsp/warehouses/${id}`,
51
+ method: 'GET'
52
+ })
53
+ if( error ) throw new Error( message )
54
+ return data
55
+ }
56
+
57
+ async update( id: string, body: LSPWarehouseUpdateValidation['body'] ): Promise<LSPWarehouseUpdateValidation['response']> {
58
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseUpdateValidation['response']>>({
59
+ url: `/lsp/warehouses/${id}`,
60
+ method: 'PATCH',
61
+ body
62
+ })
63
+ if( error ) throw new Error( message )
64
+ return data
65
+ }
66
+
67
+ async updateStatus( id: string, body: LSPWarehouseUpdateStatusValidation['body'] ): Promise<LSPWarehouseUpdateStatusValidation['response']> {
68
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseUpdateStatusValidation['response']>>({
69
+ url: `/lsp/warehouses/${id}/status`,
70
+ method: 'PATCH',
71
+ body
72
+ })
73
+ if( error ) throw new Error( message )
74
+ return data
75
+ }
76
+
77
+ async remove( id: string ): Promise<void> {
78
+ const { error, message } = await this.http.request<Res<unknown>>({
79
+ url: `/lsp/warehouses/${id}`,
80
+ method: 'DELETE'
81
+ })
82
+ if( error ) throw new Error( message )
83
+ }
84
+
85
+ async bindPricing( id: string, action: LSPPricingBindToValidation['params']['action'], body: LSPPricingBindToValidation['body'] ): Promise<LSPPricingBindToValidation['response']> {
86
+ const { error, message, data } = await this.http.request<Res<LSPPricingBindToValidation['response']>>({
87
+ url: `/lsp/warehouses/${id}/pricing/${action}`,
88
+ method: 'PUT',
89
+ body
90
+ })
91
+ if( error ) throw new Error( message )
92
+ return data
93
+ }
94
+
95
+ // ── Capabilities ──────────────────────────────────────────────────────────
96
+ // Generic accessors — representative Validation (Storage) used for typing.
97
+
98
+ async getCapability( id: string, type: string ): Promise<LSPWarehouseGetStorageCapabilityValidation['response']> {
99
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseGetStorageCapabilityValidation['response']>>({
100
+ url: `/lsp/warehouses/${id}/capabilities/${type}`,
101
+ method: 'GET'
102
+ })
103
+ if( error ) throw new Error( message )
104
+ return data
105
+ }
106
+
107
+ async setCapability( id: string, type: string, body: LSPWarehouseSetStorageCapabilityValidation['body'] ): Promise<LSPWarehouseSetStorageCapabilityValidation['response']> {
108
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseSetStorageCapabilityValidation['response']>>({
109
+ url: `/lsp/warehouses/${id}/capabilities/${type}`,
110
+ method: 'PUT',
111
+ body
112
+ })
113
+ if( error ) throw new Error( message )
114
+ return data
115
+ }
116
+
117
+ // ── Capacities ────────────────────────────────────────────────────────────
118
+ // Generic accessors — representative Validation (Physical) used for typing.
119
+
120
+ async getCapacity( id: string, type: string ): Promise<LSPWarehouseGetPhysicalCapacityValidation['response']> {
121
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseGetPhysicalCapacityValidation['response']>>({
122
+ url: `/lsp/warehouses/${id}/capacities/${type}`,
123
+ method: 'GET'
124
+ })
125
+ if( error ) throw new Error( message )
126
+ return data
127
+ }
128
+
129
+ async setCapacity( id: string, type: string, body: LSPWarehouseSetPhysicalCapacityValidation['body'] ): Promise<LSPWarehouseSetPhysicalCapacityValidation['response']> {
130
+ const { error, message, data } = await this.http.request<Res<LSPWarehouseSetPhysicalCapacityValidation['response']>>({
131
+ url: `/lsp/warehouses/${id}/capacities/${type}`,
132
+ method: 'PUT',
133
+ body
134
+ })
135
+ if( error ) throw new Error( message )
136
+ return data
137
+ }
138
+ }
@@ -1,12 +1,11 @@
1
1
  import type {
2
- RTLocation,
3
2
  Coordinates,
4
3
  MapLayerStyle,
5
4
  Caption,
6
5
  MapOptions,
7
6
  SearchPlace,
8
7
  SearchPlaceSuggestion,
9
- Entity,
8
+ MSIEntity as Entity,
10
9
  ActivePosition,
11
10
  UserLocationOptions,
12
11
  DragPickContentType,
@@ -17,6 +16,10 @@ import type {
17
16
  RoutesFitBoundsOptions,
18
17
  LngLat
19
18
  } from '../../types'
19
+ import type {
20
+ RTLocation
21
+ } from '@de./types'
22
+
20
23
  import IOF, { Listener } from 'iframe.io'
21
24
 
22
25
  const
@@ -1,7 +1,7 @@
1
1
  import type {
2
2
  Coordinates,
3
3
  RTLocation,
4
- Entity,
4
+ MSIEntity as Entity,
5
5
  MapOptions,
6
6
  Caption,
7
7
  Journey,
@@ -8,25 +8,23 @@ type SigninBody = {
8
8
  device?: string, // JSON string
9
9
  country?: string // ISO 3166-1 alpha-2
10
10
  }
11
- type SigninResponse = HTTPResponse & {
12
- token: string
13
- }
11
+ type SigninResponse = HTTPResponse<{ token: string }>
14
12
 
15
- export default class DAuth extends AccessManager {
13
+ export default class OTPAuth extends AccessManager {
16
14
  constructor( access: AccessOptions ){
17
15
  super( access, 'ASI' )
18
16
  }
19
17
 
20
18
  /**
21
- * Signin
19
+ * Request OTP
22
20
  */
23
- async signin( body: SigninBody ): Promise<SigninResponse> {
21
+ async getOTP( body: SigninBody ): Promise<SigninResponse> {
24
22
  if( !body.phone )
25
23
  throw new Error('<phone> argument required')
26
24
 
27
25
  const
28
26
  options: HTTPRequestOptions = {
29
- url: '/auth/signin',
27
+ url: '/auth/otp',
30
28
  method: 'POST',
31
29
  body
32
30
  },
@@ -0,0 +1,29 @@
1
+ import type {
2
+ PipelineAnalyticsOverviewValidation,
3
+ PipelineAnalyticsPipelineValidation
4
+ } from '@de./types'
5
+ import { qs, type Http, type Res } from '../../utils'
6
+
7
+ // ─── Analytics ────────────────────────────────────────────────────────────────
8
+
9
+ export class PipelinesAnalytics {
10
+ constructor( private http: Http ){}
11
+
12
+ async overview( querystring?: PipelineAnalyticsOverviewValidation['querystring'] ): Promise<PipelineAnalyticsOverviewValidation['response']> {
13
+ const { error, message, data } = await this.http.request<Res<PipelineAnalyticsOverviewValidation['response']>>({
14
+ url: `/pipelines/analytics/overview${qs( querystring )}`,
15
+ method: 'GET'
16
+ })
17
+ if( error ) throw new Error( message )
18
+ return data
19
+ }
20
+
21
+ async pipeline( pid: string, querystring?: PipelineAnalyticsPipelineValidation['querystring'] ): Promise<PipelineAnalyticsPipelineValidation['response']> {
22
+ const { error, message, data } = await this.http.request<Res<PipelineAnalyticsPipelineValidation['response']>>({
23
+ url: `/pipelines/analytics/pipeline/${pid}${qs( querystring )}`,
24
+ method: 'GET'
25
+ })
26
+ if( error ) throw new Error( message )
27
+ return data
28
+ }
29
+ }
@@ -0,0 +1,30 @@
1
+ import type {
2
+ PipelineEscalationListValidation,
3
+ PipelineEscalationResolveValidation
4
+ } from '@de./types'
5
+ import { qs, type Http, type Res } from '../../utils'
6
+
7
+ // ─── Escalations ──────────────────────────────────────────────────────────────
8
+
9
+ export class PipelinesEscalations {
10
+ constructor( private http: Http ){}
11
+
12
+ async list( querystring?: PipelineEscalationListValidation['querystring'] ): Promise<PipelineEscalationListValidation['response']> {
13
+ const { error, message, data } = await this.http.request<Res<PipelineEscalationListValidation['response']>>({
14
+ url: `/pipelines/escalations${qs( querystring )}`,
15
+ method: 'GET'
16
+ })
17
+ if( error ) throw new Error( message )
18
+ return data
19
+ }
20
+
21
+ async resolve( id: string, body?: PipelineEscalationResolveValidation['body'] ): Promise<PipelineEscalationResolveValidation['response']> {
22
+ const { error, message, data } = await this.http.request<Res<PipelineEscalationResolveValidation['response']>>({
23
+ url: `/pipelines/escalations/${id}/resolve`,
24
+ method: 'POST',
25
+ body
26
+ })
27
+ if( error ) throw new Error( message )
28
+ return data
29
+ }
30
+ }
@@ -0,0 +1,61 @@
1
+ import type {
2
+ PipelineExecutionCreateValidation,
3
+ PipelineExecutionGetValidation,
4
+ PipelineExecutionListValidation,
5
+ PipelineExecutionActionValidation,
6
+ PipelineExecutionCancelValidation
7
+ } from '@de./types'
8
+ import { qs, type Http, type Res } from '../../utils'
9
+
10
+ // ─── Executions ───────────────────────────────────────────────────────────────
11
+
12
+ export class PipelinesExecutions {
13
+ constructor( private http: Http ){}
14
+
15
+ async create( body: PipelineExecutionCreateValidation['body'] ): Promise<PipelineExecutionCreateValidation['response']> {
16
+ const { error, message, data } = await this.http.request<Res<PipelineExecutionCreateValidation['response']>>({
17
+ url: '/pipelines/executions',
18
+ method: 'POST',
19
+ body
20
+ })
21
+ if( error ) throw new Error( message )
22
+ return data
23
+ }
24
+
25
+ async list( querystring?: PipelineExecutionListValidation['querystring'] ): Promise<PipelineExecutionListValidation['response']> {
26
+ const { error, message, data } = await this.http.request<Res<PipelineExecutionListValidation['response']>>({
27
+ url: `/pipelines/executions${qs( querystring )}`,
28
+ method: 'GET'
29
+ })
30
+ if( error ) throw new Error( message )
31
+ return data
32
+ }
33
+
34
+ async get( id: string ): Promise<PipelineExecutionGetValidation['response']> {
35
+ const { error, message, data } = await this.http.request<Res<PipelineExecutionGetValidation['response']>>({
36
+ url: `/pipelines/executions/${id}`,
37
+ method: 'GET'
38
+ })
39
+ if( error ) throw new Error( message )
40
+ return data
41
+ }
42
+
43
+ async start( id: string ): Promise<PipelineExecutionActionValidation['response']> {
44
+ const { error, message, data } = await this.http.request<Res<PipelineExecutionActionValidation['response']>>({
45
+ url: `/pipelines/executions/${id}/start`,
46
+ method: 'POST'
47
+ })
48
+ if( error ) throw new Error( message )
49
+ return data
50
+ }
51
+
52
+ async cancel( id: string, body: PipelineExecutionCancelValidation['body'] ): Promise<PipelineExecutionCancelValidation['response']> {
53
+ const { error, message, data } = await this.http.request<Res<PipelineExecutionCancelValidation['response']>>({
54
+ url: `/pipelines/executions/${id}/cancel`,
55
+ method: 'POST',
56
+ body
57
+ })
58
+ if( error ) throw new Error( message )
59
+ return data
60
+ }
61
+ }