@de./sdk 1.0.5 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (834) hide show
  1. package/dist/allend/Access.d.ts +51 -0
  2. package/dist/allend/Access.js +197 -0
  3. package/dist/allend/Access.js.map +1 -0
  4. package/dist/allend/Agent/consolidation.d.ts +16 -0
  5. package/dist/allend/Agent/consolidation.js +38 -0
  6. package/dist/allend/Agent/consolidation.js.map +1 -0
  7. package/dist/allend/Agent/delivery.js +43 -0
  8. package/dist/allend/Agent/delivery.js.map +1 -0
  9. package/dist/allend/Agent/dispatch.js +24 -0
  10. package/dist/allend/Agent/dispatch.js.map +1 -0
  11. package/dist/{de.sdk/src/allend → allend}/Agent/index.d.ts +18 -0
  12. package/dist/allend/Agent/index.js +74 -0
  13. package/dist/allend/Agent/index.js.map +1 -0
  14. package/dist/allend/Agent/navigation.js +25 -0
  15. package/dist/allend/Agent/navigation.js.map +1 -0
  16. package/dist/allend/Agent/origin.js +31 -0
  17. package/dist/allend/Agent/origin.js.map +1 -0
  18. package/dist/allend/Agent/reallocation.js +17 -0
  19. package/dist/allend/Agent/reallocation.js.map +1 -0
  20. package/dist/allend/Agent/realtime.d.ts +36 -0
  21. package/dist/allend/Agent/realtime.js +111 -0
  22. package/dist/allend/Agent/realtime.js.map +1 -0
  23. package/dist/allend/Agent/rides.js +51 -0
  24. package/dist/allend/Agent/rides.js.map +1 -0
  25. package/dist/allend/Agent/shipping.js +43 -0
  26. package/dist/allend/Agent/shipping.js.map +1 -0
  27. package/dist/allend/CSP/analytics.js +51 -0
  28. package/dist/allend/CSP/analytics.js.map +1 -0
  29. package/dist/{de.sdk/src/allend → allend}/CSP/index.d.ts +4 -0
  30. package/dist/allend/CSP/index.js +43 -0
  31. package/dist/allend/CSP/index.js.map +1 -0
  32. package/dist/allend/CSP/inventory.js +78 -0
  33. package/dist/allend/CSP/inventory.js.map +1 -0
  34. package/dist/allend/CSP/orders.js +97 -0
  35. package/dist/allend/CSP/orders.js.map +1 -0
  36. package/dist/allend/CSP/webhooks.js +56 -0
  37. package/dist/allend/CSP/webhooks.js.map +1 -0
  38. package/dist/{de.sdk/src/allend → allend}/Customer/index.d.ts +10 -0
  39. package/dist/allend/Customer/index.js +39 -0
  40. package/dist/allend/Customer/index.js.map +1 -0
  41. package/dist/allend/Customer/intents.js +55 -0
  42. package/dist/allend/Customer/intents.js.map +1 -0
  43. package/dist/allend/Customer/orders.js +43 -0
  44. package/dist/allend/Customer/orders.js.map +1 -0
  45. package/dist/allend/Customer/rides.js +50 -0
  46. package/dist/allend/Customer/rides.js.map +1 -0
  47. package/dist/{de.sdk/src/allend → allend}/DEV/developers.d.ts +2 -1
  48. package/dist/allend/DEV/developers.js +35 -0
  49. package/dist/allend/DEV/developers.js.map +1 -0
  50. package/dist/{de.sdk/src/allend → allend}/DEV/index.d.ts +4 -0
  51. package/dist/allend/DEV/index.js +37 -0
  52. package/dist/allend/DEV/index.js.map +1 -0
  53. package/dist/allend/IoTClient.js +53 -0
  54. package/dist/allend/IoTClient.js.map +1 -0
  55. package/dist/{de.sdk/src/allend → allend}/IoTSP/backend.d.ts +2 -0
  56. package/dist/allend/IoTSP/backend.js +75 -0
  57. package/dist/allend/IoTSP/backend.js.map +1 -0
  58. package/dist/allend/IoTSP/devices.js +61 -0
  59. package/dist/allend/IoTSP/devices.js.map +1 -0
  60. package/dist/{de.sdk/src/allend → allend}/IoTSP/index.d.ts +4 -0
  61. package/dist/{de.sdk/src/allend → allend}/IoTSP/index.js +24 -45
  62. package/dist/allend/IoTSP/index.js.map +1 -0
  63. package/dist/allend/IoTSP/rules.js +81 -0
  64. package/dist/allend/IoTSP/rules.js.map +1 -0
  65. package/dist/allend/IoTSP/topics.js +81 -0
  66. package/dist/allend/IoTSP/topics.js.map +1 -0
  67. package/dist/{de.sdk/src/allend → allend}/LSP/agents.d.ts +2 -1
  68. package/dist/allend/LSP/agents.js +89 -0
  69. package/dist/allend/LSP/agents.js.map +1 -0
  70. package/dist/{de.sdk/src/allend → allend}/LSP/carriers.d.ts +2 -1
  71. package/dist/allend/LSP/carriers.js +315 -0
  72. package/dist/allend/LSP/carriers.js.map +1 -0
  73. package/dist/allend/LSP/coverage.js +135 -0
  74. package/dist/allend/LSP/coverage.js.map +1 -0
  75. package/dist/{de.sdk/src/allend → allend}/LSP/fleets.d.ts +7 -7
  76. package/dist/allend/LSP/fleets.js +381 -0
  77. package/dist/allend/LSP/fleets.js.map +1 -0
  78. package/dist/{de.sdk/src/allend → allend}/LSP/hubs.d.ts +4 -3
  79. package/dist/allend/LSP/hubs.js +186 -0
  80. package/dist/allend/LSP/hubs.js.map +1 -0
  81. package/dist/{de.sdk/src/allend → allend}/LSP/index.d.ts +4 -0
  82. package/dist/allend/LSP/index.js +55 -0
  83. package/dist/allend/LSP/index.js.map +1 -0
  84. package/dist/allend/LSP/inventory.js +56 -0
  85. package/dist/allend/LSP/inventory.js.map +1 -0
  86. package/dist/{de.sdk/src/allend → allend}/LSP/operations.d.ts +24 -2
  87. package/dist/allend/LSP/operations.js +156 -0
  88. package/dist/allend/LSP/operations.js.map +1 -0
  89. package/dist/{de.sdk/src/allend → allend}/LSP/orders.d.ts +20 -1
  90. package/dist/allend/LSP/orders.js +303 -0
  91. package/dist/allend/LSP/orders.js.map +1 -0
  92. package/dist/{de.sdk/src/allend → allend}/LSP/pods.d.ts +2 -1
  93. package/dist/allend/LSP/pods.js +137 -0
  94. package/dist/allend/LSP/pods.js.map +1 -0
  95. package/dist/{de.sdk/src/allend → allend}/LSP/pricing.d.ts +15 -4
  96. package/dist/allend/LSP/pricing.js +151 -0
  97. package/dist/allend/LSP/pricing.js.map +1 -0
  98. package/dist/allend/LSP/psl.js +68 -0
  99. package/dist/allend/LSP/psl.js.map +1 -0
  100. package/dist/{de.sdk/src/allend → allend}/LSP/warehouses.d.ts +2 -1
  101. package/dist/allend/LSP/warehouses.js +94 -0
  102. package/dist/allend/LSP/warehouses.js.map +1 -0
  103. package/dist/{de.sdk/src/allend → allend}/MSI/Controls.d.ts +7 -4
  104. package/dist/allend/MSI/Controls.js +773 -0
  105. package/dist/allend/MSI/Controls.js.map +1 -0
  106. package/dist/{de.sdk/src/allend → allend}/MSI/Handles.d.ts +5 -4
  107. package/dist/allend/MSI/Handles.js +378 -0
  108. package/dist/allend/MSI/Handles.js.map +1 -0
  109. package/dist/{de.sdk/src/allend → allend}/MSI/Plugins.d.ts +2 -2
  110. package/dist/{de.sdk/src/allend → allend}/MSI/Plugins.js +12 -15
  111. package/dist/allend/MSI/Plugins.js.map +1 -0
  112. package/dist/{de.sdk/src/allend → allend}/MSI/index.d.ts +4 -3
  113. package/dist/allend/MSI/index.js +191 -0
  114. package/dist/allend/MSI/index.js.map +1 -0
  115. package/dist/allend/MSI/native.d.ts +32 -0
  116. package/dist/allend/MSI/native.js +246 -0
  117. package/dist/allend/MSI/native.js.map +1 -0
  118. package/dist/allend/MSI/token.d.ts +12 -0
  119. package/dist/allend/MSI/token.js +21 -0
  120. package/dist/allend/MSI/token.js.map +1 -0
  121. package/dist/allend/OTPAuth/index.d.ts +77 -0
  122. package/dist/allend/OTPAuth/index.js +69 -0
  123. package/dist/allend/OTPAuth/index.js.map +1 -0
  124. package/dist/allend/Pipelines/analytics.js +24 -0
  125. package/dist/allend/Pipelines/analytics.js.map +1 -0
  126. package/dist/allend/Pipelines/escalations.js +25 -0
  127. package/dist/allend/Pipelines/escalations.js.map +1 -0
  128. package/dist/allend/Pipelines/executions.js +44 -0
  129. package/dist/allend/Pipelines/executions.js.map +1 -0
  130. package/dist/{de.sdk/src/allend → allend}/Pipelines/index.d.ts +4 -0
  131. package/dist/allend/Pipelines/index.js +88 -0
  132. package/dist/allend/Pipelines/index.js.map +1 -0
  133. package/dist/allend/Pipelines/interventions.js +25 -0
  134. package/dist/allend/Pipelines/interventions.js.map +1 -0
  135. package/dist/allend/Pipelines/monitor.js +30 -0
  136. package/dist/allend/Pipelines/monitor.js.map +1 -0
  137. package/dist/allend/Pipelines/queries.js +25 -0
  138. package/dist/allend/Pipelines/queries.js.map +1 -0
  139. package/dist/allend/Pipelines/templates.js +46 -0
  140. package/dist/allend/Pipelines/templates.js.map +1 -0
  141. package/dist/allend/Pipelines/utils.js.map +1 -0
  142. package/dist/allend/Pipelines/webhooks.js +35 -0
  143. package/dist/allend/Pipelines/webhooks.js.map +1 -0
  144. package/dist/allend/Pipelines/workers.js +45 -0
  145. package/dist/allend/Pipelines/workers.js.map +1 -0
  146. package/dist/allend/Queries/capacity.js +44 -0
  147. package/dist/allend/Queries/capacity.js.map +1 -0
  148. package/dist/allend/Queries/discovery.js +45 -0
  149. package/dist/allend/Queries/discovery.js.map +1 -0
  150. package/dist/{de.sdk/src/allend → allend}/Queries/index.d.ts +4 -0
  151. package/dist/allend/Queries/index.js +40 -0
  152. package/dist/allend/Queries/index.js.map +1 -0
  153. package/dist/allend/Queries/matching.js +18 -0
  154. package/dist/allend/Queries/matching.js.map +1 -0
  155. package/dist/allend/Queries/performance.js +31 -0
  156. package/dist/allend/Queries/performance.js.map +1 -0
  157. package/dist/allend/Queries/pricing.js +43 -0
  158. package/dist/allend/Queries/pricing.js.map +1 -0
  159. package/dist/allend/Realtime/index.js +62 -0
  160. package/dist/allend/Realtime/index.js.map +1 -0
  161. package/dist/allend/Shared/account.js +22 -0
  162. package/dist/allend/Shared/account.js.map +1 -0
  163. package/dist/allend/Shared/buckets.js +95 -0
  164. package/dist/allend/Shared/buckets.js.map +1 -0
  165. package/dist/allend/Shared/context.js +33 -0
  166. package/dist/allend/Shared/context.js.map +1 -0
  167. package/dist/allend/Shared/faqs.js +87 -0
  168. package/dist/allend/Shared/faqs.js.map +1 -0
  169. package/dist/{de.sdk/src/allend → allend}/Shared/invitation.d.ts +10 -2
  170. package/dist/allend/Shared/invitation.js +40 -0
  171. package/dist/allend/Shared/invitation.js.map +1 -0
  172. package/dist/allend/Shared/operators.js +37 -0
  173. package/dist/allend/Shared/operators.js.map +1 -0
  174. package/dist/allend/Shared/users.js +29 -0
  175. package/dist/allend/Shared/users.js.map +1 -0
  176. package/dist/{de.sdk/src/allend → allend}/Tracking/index.d.ts +4 -0
  177. package/dist/allend/Tracking/index.js +39 -0
  178. package/dist/allend/Tracking/index.js.map +1 -0
  179. package/dist/allend/Utilities/common.js +53 -0
  180. package/dist/allend/Utilities/common.js.map +1 -0
  181. package/dist/allend/Utilities/fares.js +39 -0
  182. package/dist/allend/Utilities/fares.js.map +1 -0
  183. package/dist/{de.sdk/src/allend → allend}/Utilities/index.d.ts +4 -0
  184. package/dist/allend/Utilities/index.js +36 -0
  185. package/dist/allend/Utilities/index.js.map +1 -0
  186. package/dist/allend/Utilities/nearby.js +32 -0
  187. package/dist/allend/Utilities/nearby.js.map +1 -0
  188. package/dist/allend/Workflows/Client.d.ts +17 -0
  189. package/dist/allend/Workflows/Client.js +50 -0
  190. package/dist/allend/Workflows/Client.js.map +1 -0
  191. package/dist/{de.sdk/src/allend → allend}/Workflows/Delivery.js +3 -4
  192. package/dist/allend/Workflows/Delivery.js.map +1 -0
  193. package/dist/{de.sdk/src/allend → allend}/Workflows/index.js +4 -6
  194. package/dist/allend/Workflows/index.js.map +1 -0
  195. package/dist/allend/Workspace/index.d.ts +162 -0
  196. package/dist/allend/Workspace/index.js +220 -0
  197. package/dist/allend/Workspace/index.js.map +1 -0
  198. package/dist/{de.sdk/src/allend → allend}/index.d.ts +2 -1
  199. package/dist/{de.sdk/src/allend → allend}/index.js +10 -10
  200. package/dist/allend/index.js.map +1 -0
  201. package/dist/{de.sdk/src/backend → backend}/Auth.d.ts +12 -0
  202. package/dist/backend/Auth.js +166 -0
  203. package/dist/backend/Auth.js.map +1 -0
  204. package/dist/baseUrl.d.ts +68 -0
  205. package/dist/baseUrl.js +84 -0
  206. package/dist/baseUrl.js.map +1 -0
  207. package/dist/{de.sdk/src/index.d.ts → core.d.ts} +30 -9
  208. package/dist/{de.sdk/src/index.js → core.js} +59 -43
  209. package/dist/core.js.map +1 -0
  210. package/dist/error.d.ts +17 -0
  211. package/dist/error.js +26 -0
  212. package/dist/error.js.map +1 -0
  213. package/dist/index.d.ts +31 -0
  214. package/dist/index.js +44 -1
  215. package/dist/index.js.map +1 -0
  216. package/dist/react-native.d.ts +30 -0
  217. package/dist/react-native.js +55 -0
  218. package/dist/react-native.js.map +1 -0
  219. package/dist/types/access.d.ts +57 -0
  220. package/dist/types/channel.d.ts +45 -0
  221. package/dist/types/index.d.ts +45 -2
  222. package/dist/utils/index.d.ts +30 -0
  223. package/dist/utils/index.js +18 -0
  224. package/dist/utils/index.js.map +1 -0
  225. package/dist/{de.sdk/src/utils → utils}/stream.js +25 -26
  226. package/dist/utils/stream.js.map +1 -0
  227. package/package.json +39 -20
  228. package/src/allend/Access.ts +143 -13
  229. package/src/allend/Agent/consolidation.ts +20 -8
  230. package/src/allend/Agent/delivery.ts +6 -16
  231. package/src/allend/Agent/dispatch.ts +3 -7
  232. package/src/allend/Agent/index.ts +30 -13
  233. package/src/allend/Agent/navigation.ts +3 -7
  234. package/src/allend/Agent/origin.ts +4 -10
  235. package/src/allend/Agent/reallocation.ts +2 -4
  236. package/src/allend/Agent/realtime.ts +140 -0
  237. package/src/allend/Agent/rides.ts +7 -19
  238. package/src/allend/Agent/shipping.ts +6 -16
  239. package/src/allend/CSP/analytics.ts +7 -19
  240. package/src/allend/CSP/index.ts +7 -1
  241. package/src/allend/CSP/inventory.ts +11 -31
  242. package/src/allend/CSP/orders.ts +14 -40
  243. package/src/allend/CSP/webhooks.ts +8 -22
  244. package/src/allend/Customer/index.ts +14 -2
  245. package/src/allend/Customer/intents.ts +7 -19
  246. package/src/allend/Customer/orders.ts +6 -16
  247. package/src/allend/Customer/rides.ts +7 -19
  248. package/src/allend/DEV/developers.ts +7 -13
  249. package/src/allend/DEV/index.ts +7 -1
  250. package/src/allend/IoTSP/backend.ts +5 -3
  251. package/src/allend/IoTSP/devices.ts +9 -25
  252. package/src/allend/IoTSP/index.ts +7 -1
  253. package/src/allend/IoTSP/rules.ts +12 -34
  254. package/src/allend/IoTSP/topics.ts +12 -34
  255. package/src/allend/LSP/agents.ts +15 -37
  256. package/src/allend/LSP/carriers.ts +49 -139
  257. package/src/allend/LSP/coverage.ts +39 -115
  258. package/src/allend/LSP/fleets.ts +62 -176
  259. package/src/allend/LSP/hubs.ts +29 -77
  260. package/src/allend/LSP/index.ts +7 -1
  261. package/src/allend/LSP/inventory.ts +7 -19
  262. package/src/allend/LSP/operations.ts +71 -47
  263. package/src/allend/LSP/orders.ts +85 -116
  264. package/src/allend/LSP/pods.ts +22 -58
  265. package/src/allend/LSP/pricing.ts +42 -56
  266. package/src/allend/LSP/psl.ts +9 -25
  267. package/src/allend/LSP/warehouses.ts +14 -34
  268. package/src/allend/MSI/Controls.ts +104 -88
  269. package/src/allend/MSI/Handles.ts +23 -14
  270. package/src/allend/MSI/Plugins.ts +3 -3
  271. package/src/allend/MSI/index.ts +85 -16
  272. package/src/allend/MSI/native.tsx +314 -0
  273. package/src/allend/MSI/token.ts +20 -0
  274. package/src/allend/OTPAuth/index.ts +125 -32
  275. package/src/allend/Pipelines/analytics.ts +3 -7
  276. package/src/allend/Pipelines/escalations.ts +3 -7
  277. package/src/allend/Pipelines/executions.ts +6 -16
  278. package/src/allend/Pipelines/index.ts +13 -19
  279. package/src/allend/Pipelines/interventions.ts +3 -7
  280. package/src/allend/Pipelines/monitor.ts +4 -10
  281. package/src/allend/Pipelines/queries.ts +3 -7
  282. package/src/allend/Pipelines/templates.ts +5 -13
  283. package/src/allend/Pipelines/webhooks.ts +2 -4
  284. package/src/allend/Pipelines/workers.ts +4 -10
  285. package/src/allend/Queries/capacity.ts +6 -16
  286. package/src/allend/Queries/discovery.ts +6 -16
  287. package/src/allend/Queries/index.ts +6 -0
  288. package/src/allend/Queries/matching.ts +2 -4
  289. package/src/allend/Queries/performance.ts +4 -10
  290. package/src/allend/Queries/pricing.ts +6 -16
  291. package/src/allend/Realtime/index.ts +4 -2
  292. package/src/allend/Shared/account.ts +3 -7
  293. package/src/allend/Shared/buckets.ts +14 -40
  294. package/src/allend/Shared/faqs.ts +13 -37
  295. package/src/allend/Shared/invitation.ts +14 -11
  296. package/src/allend/Shared/operators.ts +5 -13
  297. package/src/allend/Shared/users.ts +4 -10
  298. package/src/allend/Tracking/index.ts +9 -5
  299. package/src/allend/Utilities/common.ts +7 -19
  300. package/src/allend/Utilities/fares.ts +5 -13
  301. package/src/allend/Utilities/index.ts +6 -0
  302. package/src/allend/Utilities/nearby.ts +4 -10
  303. package/src/allend/Workflows/Client.ts +9 -15
  304. package/src/allend/Workspace/index.ts +256 -67
  305. package/src/allend/index.ts +2 -0
  306. package/src/backend/Auth.ts +16 -3
  307. package/src/baseUrl.ts +70 -4
  308. package/src/core.ts +145 -0
  309. package/src/error.ts +27 -0
  310. package/src/index.ts +14 -103
  311. package/src/react-native.ts +43 -0
  312. package/src/types/access.d.ts +57 -0
  313. package/src/types/channel.d.ts +45 -0
  314. package/src/types/index.d.ts +45 -2
  315. package/src/utils/index.ts +15 -0
  316. package/dist/de.sdk/src/allend/Access.d.ts +0 -15
  317. package/dist/de.sdk/src/allend/Access.js +0 -164
  318. package/dist/de.sdk/src/allend/Access.js.map +0 -1
  319. package/dist/de.sdk/src/allend/Agent/consolidation.d.ts +0 -8
  320. package/dist/de.sdk/src/allend/Agent/consolidation.js +0 -85
  321. package/dist/de.sdk/src/allend/Agent/consolidation.js.map +0 -1
  322. package/dist/de.sdk/src/allend/Agent/delivery.js +0 -140
  323. package/dist/de.sdk/src/allend/Agent/delivery.js.map +0 -1
  324. package/dist/de.sdk/src/allend/Agent/dispatch.js +0 -85
  325. package/dist/de.sdk/src/allend/Agent/dispatch.js.map +0 -1
  326. package/dist/de.sdk/src/allend/Agent/index.js +0 -158
  327. package/dist/de.sdk/src/allend/Agent/index.js.map +0 -1
  328. package/dist/de.sdk/src/allend/Agent/navigation.js +0 -86
  329. package/dist/de.sdk/src/allend/Agent/navigation.js.map +0 -1
  330. package/dist/de.sdk/src/allend/Agent/origin.js +0 -104
  331. package/dist/de.sdk/src/allend/Agent/origin.js.map +0 -1
  332. package/dist/de.sdk/src/allend/Agent/reallocation.js +0 -66
  333. package/dist/de.sdk/src/allend/Agent/reallocation.js.map +0 -1
  334. package/dist/de.sdk/src/allend/Agent/rides.js +0 -160
  335. package/dist/de.sdk/src/allend/Agent/rides.js.map +0 -1
  336. package/dist/de.sdk/src/allend/Agent/shipping.js +0 -140
  337. package/dist/de.sdk/src/allend/Agent/shipping.js.map +0 -1
  338. package/dist/de.sdk/src/allend/CSP/analytics.js +0 -160
  339. package/dist/de.sdk/src/allend/CSP/analytics.js.map +0 -1
  340. package/dist/de.sdk/src/allend/CSP/index.js +0 -60
  341. package/dist/de.sdk/src/allend/CSP/index.js.map +0 -1
  342. package/dist/de.sdk/src/allend/CSP/inventory.js +0 -235
  343. package/dist/de.sdk/src/allend/CSP/inventory.js.map +0 -1
  344. package/dist/de.sdk/src/allend/CSP/orders.js +0 -290
  345. package/dist/de.sdk/src/allend/CSP/orders.js.map +0 -1
  346. package/dist/de.sdk/src/allend/CSP/webhooks.js +0 -177
  347. package/dist/de.sdk/src/allend/CSP/webhooks.js.map +0 -1
  348. package/dist/de.sdk/src/allend/Customer/index.js +0 -55
  349. package/dist/de.sdk/src/allend/Customer/index.js.map +0 -1
  350. package/dist/de.sdk/src/allend/Customer/intents.js +0 -164
  351. package/dist/de.sdk/src/allend/Customer/intents.js.map +0 -1
  352. package/dist/de.sdk/src/allend/Customer/orders.js +0 -140
  353. package/dist/de.sdk/src/allend/Customer/orders.js.map +0 -1
  354. package/dist/de.sdk/src/allend/Customer/rides.js +0 -159
  355. package/dist/de.sdk/src/allend/Customer/rides.js.map +0 -1
  356. package/dist/de.sdk/src/allend/DEV/developers.js +0 -120
  357. package/dist/de.sdk/src/allend/DEV/developers.js.map +0 -1
  358. package/dist/de.sdk/src/allend/DEV/index.js +0 -54
  359. package/dist/de.sdk/src/allend/DEV/index.js.map +0 -1
  360. package/dist/de.sdk/src/allend/IoTClient.js +0 -59
  361. package/dist/de.sdk/src/allend/IoTClient.js.map +0 -1
  362. package/dist/de.sdk/src/allend/IoTSP/backend.js +0 -90
  363. package/dist/de.sdk/src/allend/IoTSP/backend.js.map +0 -1
  364. package/dist/de.sdk/src/allend/IoTSP/devices.js +0 -194
  365. package/dist/de.sdk/src/allend/IoTSP/devices.js.map +0 -1
  366. package/dist/de.sdk/src/allend/IoTSP/index.js.map +0 -1
  367. package/dist/de.sdk/src/allend/IoTSP/rules.js +0 -250
  368. package/dist/de.sdk/src/allend/IoTSP/rules.js.map +0 -1
  369. package/dist/de.sdk/src/allend/IoTSP/topics.js +0 -250
  370. package/dist/de.sdk/src/allend/IoTSP/topics.js.map +0 -1
  371. package/dist/de.sdk/src/allend/LSP/agents.js +0 -270
  372. package/dist/de.sdk/src/allend/LSP/agents.js.map +0 -1
  373. package/dist/de.sdk/src/allend/LSP/carriers.js +0 -904
  374. package/dist/de.sdk/src/allend/LSP/carriers.js.map +0 -1
  375. package/dist/de.sdk/src/allend/LSP/coverage.js +0 -628
  376. package/dist/de.sdk/src/allend/LSP/coverage.js.map +0 -1
  377. package/dist/de.sdk/src/allend/LSP/fleets.js +0 -1102
  378. package/dist/de.sdk/src/allend/LSP/fleets.js.map +0 -1
  379. package/dist/de.sdk/src/allend/LSP/hubs.js +0 -523
  380. package/dist/de.sdk/src/allend/LSP/hubs.js.map +0 -1
  381. package/dist/de.sdk/src/allend/LSP/index.js +0 -72
  382. package/dist/de.sdk/src/allend/LSP/index.js.map +0 -1
  383. package/dist/de.sdk/src/allend/LSP/inventory.js +0 -165
  384. package/dist/de.sdk/src/allend/LSP/inventory.js.map +0 -1
  385. package/dist/de.sdk/src/allend/LSP/operations.js +0 -330
  386. package/dist/de.sdk/src/allend/LSP/operations.js.map +0 -1
  387. package/dist/de.sdk/src/allend/LSP/orders.js +0 -760
  388. package/dist/de.sdk/src/allend/LSP/orders.js.map +0 -1
  389. package/dist/de.sdk/src/allend/LSP/pods.js +0 -402
  390. package/dist/de.sdk/src/allend/LSP/pods.js.map +0 -1
  391. package/dist/de.sdk/src/allend/LSP/pricing.js +0 -388
  392. package/dist/de.sdk/src/allend/LSP/pricing.js.map +0 -1
  393. package/dist/de.sdk/src/allend/LSP/psl.js +0 -201
  394. package/dist/de.sdk/src/allend/LSP/psl.js.map +0 -1
  395. package/dist/de.sdk/src/allend/LSP/warehouses.js +0 -263
  396. package/dist/de.sdk/src/allend/LSP/warehouses.js.map +0 -1
  397. package/dist/de.sdk/src/allend/MSI/Controls.js +0 -801
  398. package/dist/de.sdk/src/allend/MSI/Controls.js.map +0 -1
  399. package/dist/de.sdk/src/allend/MSI/Handles.js +0 -475
  400. package/dist/de.sdk/src/allend/MSI/Handles.js.map +0 -1
  401. package/dist/de.sdk/src/allend/MSI/Plugins.js.map +0 -1
  402. package/dist/de.sdk/src/allend/MSI/index.js +0 -155
  403. package/dist/de.sdk/src/allend/MSI/index.js.map +0 -1
  404. package/dist/de.sdk/src/allend/OTPAuth/index.d.ts +0 -20
  405. package/dist/de.sdk/src/allend/OTPAuth/index.js +0 -92
  406. package/dist/de.sdk/src/allend/OTPAuth/index.js.map +0 -1
  407. package/dist/de.sdk/src/allend/Pipelines/analytics.js +0 -85
  408. package/dist/de.sdk/src/allend/Pipelines/analytics.js.map +0 -1
  409. package/dist/de.sdk/src/allend/Pipelines/escalations.js +0 -86
  410. package/dist/de.sdk/src/allend/Pipelines/escalations.js.map +0 -1
  411. package/dist/de.sdk/src/allend/Pipelines/executions.js +0 -141
  412. package/dist/de.sdk/src/allend/Pipelines/executions.js.map +0 -1
  413. package/dist/de.sdk/src/allend/Pipelines/index.js +0 -213
  414. package/dist/de.sdk/src/allend/Pipelines/index.js.map +0 -1
  415. package/dist/de.sdk/src/allend/Pipelines/interventions.js +0 -86
  416. package/dist/de.sdk/src/allend/Pipelines/interventions.js.map +0 -1
  417. package/dist/de.sdk/src/allend/Pipelines/monitor.js +0 -103
  418. package/dist/de.sdk/src/allend/Pipelines/monitor.js.map +0 -1
  419. package/dist/de.sdk/src/allend/Pipelines/queries.js +0 -86
  420. package/dist/de.sdk/src/allend/Pipelines/queries.js.map +0 -1
  421. package/dist/de.sdk/src/allend/Pipelines/templates.js +0 -141
  422. package/dist/de.sdk/src/allend/Pipelines/templates.js.map +0 -1
  423. package/dist/de.sdk/src/allend/Pipelines/utils.js.map +0 -1
  424. package/dist/de.sdk/src/allend/Pipelines/webhooks.js +0 -104
  425. package/dist/de.sdk/src/allend/Pipelines/webhooks.js.map +0 -1
  426. package/dist/de.sdk/src/allend/Pipelines/workers.js +0 -138
  427. package/dist/de.sdk/src/allend/Pipelines/workers.js.map +0 -1
  428. package/dist/de.sdk/src/allend/Queries/capacity.js +0 -141
  429. package/dist/de.sdk/src/allend/Queries/capacity.js.map +0 -1
  430. package/dist/de.sdk/src/allend/Queries/discovery.js +0 -142
  431. package/dist/de.sdk/src/allend/Queries/discovery.js.map +0 -1
  432. package/dist/de.sdk/src/allend/Queries/index.js +0 -57
  433. package/dist/de.sdk/src/allend/Queries/index.js.map +0 -1
  434. package/dist/de.sdk/src/allend/Queries/matching.js +0 -67
  435. package/dist/de.sdk/src/allend/Queries/matching.js.map +0 -1
  436. package/dist/de.sdk/src/allend/Queries/performance.js +0 -104
  437. package/dist/de.sdk/src/allend/Queries/performance.js.map +0 -1
  438. package/dist/de.sdk/src/allend/Queries/pricing.js +0 -140
  439. package/dist/de.sdk/src/allend/Queries/pricing.js.map +0 -1
  440. package/dist/de.sdk/src/allend/Realtime/index.js +0 -79
  441. package/dist/de.sdk/src/allend/Realtime/index.js.map +0 -1
  442. package/dist/de.sdk/src/allend/Shared/account.js +0 -83
  443. package/dist/de.sdk/src/allend/Shared/account.js.map +0 -1
  444. package/dist/de.sdk/src/allend/Shared/buckets.js +0 -288
  445. package/dist/de.sdk/src/allend/Shared/buckets.js.map +0 -1
  446. package/dist/de.sdk/src/allend/Shared/context.js +0 -51
  447. package/dist/de.sdk/src/allend/Shared/context.js.map +0 -1
  448. package/dist/de.sdk/src/allend/Shared/faqs.js +0 -268
  449. package/dist/de.sdk/src/allend/Shared/faqs.js.map +0 -1
  450. package/dist/de.sdk/src/allend/Shared/invitation.js +0 -105
  451. package/dist/de.sdk/src/allend/Shared/invitation.js.map +0 -1
  452. package/dist/de.sdk/src/allend/Shared/operators.js +0 -122
  453. package/dist/de.sdk/src/allend/Shared/operators.js.map +0 -1
  454. package/dist/de.sdk/src/allend/Shared/users.js +0 -102
  455. package/dist/de.sdk/src/allend/Shared/users.js.map +0 -1
  456. package/dist/de.sdk/src/allend/Tracking/index.js +0 -102
  457. package/dist/de.sdk/src/allend/Tracking/index.js.map +0 -1
  458. package/dist/de.sdk/src/allend/Utilities/common.js +0 -162
  459. package/dist/de.sdk/src/allend/Utilities/common.js.map +0 -1
  460. package/dist/de.sdk/src/allend/Utilities/fares.js +0 -124
  461. package/dist/de.sdk/src/allend/Utilities/fares.js.map +0 -1
  462. package/dist/de.sdk/src/allend/Utilities/index.js +0 -53
  463. package/dist/de.sdk/src/allend/Utilities/index.js.map +0 -1
  464. package/dist/de.sdk/src/allend/Utilities/nearby.js +0 -105
  465. package/dist/de.sdk/src/allend/Utilities/nearby.js.map +0 -1
  466. package/dist/de.sdk/src/allend/Workflows/Client.d.ts +0 -10
  467. package/dist/de.sdk/src/allend/Workflows/Client.js +0 -144
  468. package/dist/de.sdk/src/allend/Workflows/Client.js.map +0 -1
  469. package/dist/de.sdk/src/allend/Workflows/Delivery.js.map +0 -1
  470. package/dist/de.sdk/src/allend/Workflows/index.js.map +0 -1
  471. package/dist/de.sdk/src/allend/Workspace/index.d.ts +0 -18
  472. package/dist/de.sdk/src/allend/Workspace/index.js +0 -225
  473. package/dist/de.sdk/src/allend/Workspace/index.js.map +0 -1
  474. package/dist/de.sdk/src/allend/index.js.map +0 -1
  475. package/dist/de.sdk/src/backend/Auth.js +0 -281
  476. package/dist/de.sdk/src/backend/Auth.js.map +0 -1
  477. package/dist/de.sdk/src/baseUrl.d.ts +0 -20
  478. package/dist/de.sdk/src/baseUrl.js +0 -25
  479. package/dist/de.sdk/src/baseUrl.js.map +0 -1
  480. package/dist/de.sdk/src/index.js.map +0 -1
  481. package/dist/de.sdk/src/utils/index.d.ts +0 -16
  482. package/dist/de.sdk/src/utils/index.js +0 -24
  483. package/dist/de.sdk/src/utils/index.js.map +0 -1
  484. package/dist/de.sdk/src/utils/stream.js.map +0 -1
  485. package/dist/de.types/src/api.d.ts +0 -112
  486. package/dist/de.types/src/api.js +0 -92
  487. package/dist/de.types/src/api.js.map +0 -1
  488. package/dist/de.types/src/auth.d.ts +0 -108
  489. package/dist/de.types/src/auth.js +0 -80
  490. package/dist/de.types/src/auth.js.map +0 -1
  491. package/dist/de.types/src/aux/agent-rvs.d.ts +0 -1204
  492. package/dist/de.types/src/aux/agent-rvs.js +0 -444
  493. package/dist/de.types/src/aux/agent-rvs.js.map +0 -1
  494. package/dist/de.types/src/aux/agents.d.ts +0 -1572
  495. package/dist/de.types/src/aux/agents.js +0 -487
  496. package/dist/de.types/src/aux/agents.js.map +0 -1
  497. package/dist/de.types/src/aux/customer-rvs.d.ts +0 -710
  498. package/dist/de.types/src/aux/customer-rvs.js +0 -321
  499. package/dist/de.types/src/aux/customer-rvs.js.map +0 -1
  500. package/dist/de.types/src/aux/customers.d.ts +0 -378
  501. package/dist/de.types/src/aux/customers.js +0 -67
  502. package/dist/de.types/src/aux/customers.js.map +0 -1
  503. package/dist/de.types/src/aux/index.d.ts +0 -4
  504. package/dist/de.types/src/aux/index.js +0 -21
  505. package/dist/de.types/src/aux/index.js.map +0 -1
  506. package/dist/de.types/src/billing.d.ts +0 -366
  507. package/dist/de.types/src/billing.js +0 -308
  508. package/dist/de.types/src/billing.js.map +0 -1
  509. package/dist/de.types/src/bucket.d.ts +0 -96
  510. package/dist/de.types/src/bucket.js +0 -52
  511. package/dist/de.types/src/bucket.js.map +0 -1
  512. package/dist/de.types/src/context.d.ts +0 -147
  513. package/dist/de.types/src/context.js +0 -148
  514. package/dist/de.types/src/context.js.map +0 -1
  515. package/dist/de.types/src/csp/analytics.d.ts +0 -269
  516. package/dist/de.types/src/csp/analytics.js +0 -185
  517. package/dist/de.types/src/csp/analytics.js.map +0 -1
  518. package/dist/de.types/src/csp/base.d.ts +0 -10
  519. package/dist/de.types/src/csp/base.js +0 -17
  520. package/dist/de.types/src/csp/base.js.map +0 -1
  521. package/dist/de.types/src/csp/index.d.ts +0 -106
  522. package/dist/de.types/src/csp/index.js +0 -48
  523. package/dist/de.types/src/csp/index.js.map +0 -1
  524. package/dist/de.types/src/csp/inventory.d.ts +0 -360
  525. package/dist/de.types/src/csp/inventory.js +0 -267
  526. package/dist/de.types/src/csp/inventory.js.map +0 -1
  527. package/dist/de.types/src/csp/order.d.ts +0 -1456
  528. package/dist/de.types/src/csp/order.js +0 -375
  529. package/dist/de.types/src/csp/order.js.map +0 -1
  530. package/dist/de.types/src/csp/webhook.d.ts +0 -380
  531. package/dist/de.types/src/csp/webhook.js +0 -207
  532. package/dist/de.types/src/csp/webhook.js.map +0 -1
  533. package/dist/de.types/src/de.profile.d.ts +0 -410
  534. package/dist/de.types/src/de.profile.js +0 -98
  535. package/dist/de.types/src/de.profile.js.map +0 -1
  536. package/dist/de.types/src/dev/developer.d.ts +0 -210
  537. package/dist/de.types/src/dev/developer.js +0 -55
  538. package/dist/de.types/src/dev/developer.js.map +0 -1
  539. package/dist/de.types/src/dev/index.d.ts +0 -132
  540. package/dist/de.types/src/dev/index.js +0 -79
  541. package/dist/de.types/src/dev/index.js.map +0 -1
  542. package/dist/de.types/src/entity.d.ts +0 -158
  543. package/dist/de.types/src/entity.js +0 -127
  544. package/dist/de.types/src/entity.js.map +0 -1
  545. package/dist/de.types/src/events.d.ts +0 -1843
  546. package/dist/de.types/src/events.js +0 -303
  547. package/dist/de.types/src/events.js.map +0 -1
  548. package/dist/de.types/src/faq.d.ts +0 -59
  549. package/dist/de.types/src/faq.js +0 -31
  550. package/dist/de.types/src/faq.js.map +0 -1
  551. package/dist/de.types/src/geo.d.ts +0 -122
  552. package/dist/de.types/src/geo.js +0 -87
  553. package/dist/de.types/src/geo.js.map +0 -1
  554. package/dist/de.types/src/index.d.ts +0 -27
  555. package/dist/de.types/src/index.js +0 -59
  556. package/dist/de.types/src/index.js.map +0 -1
  557. package/dist/de.types/src/inventory.d.ts +0 -1346
  558. package/dist/de.types/src/inventory.js +0 -356
  559. package/dist/de.types/src/inventory.js.map +0 -1
  560. package/dist/de.types/src/iotsp/device.d.ts +0 -580
  561. package/dist/de.types/src/iotsp/device.js +0 -277
  562. package/dist/de.types/src/iotsp/device.js.map +0 -1
  563. package/dist/de.types/src/iotsp/index.d.ts +0 -110
  564. package/dist/de.types/src/iotsp/index.js +0 -76
  565. package/dist/de.types/src/iotsp/index.js.map +0 -1
  566. package/dist/de.types/src/iotsp/rule.d.ts +0 -339
  567. package/dist/de.types/src/iotsp/rule.js +0 -172
  568. package/dist/de.types/src/iotsp/rule.js.map +0 -1
  569. package/dist/de.types/src/iotsp/topic.d.ts +0 -248
  570. package/dist/de.types/src/iotsp/topic.js +0 -139
  571. package/dist/de.types/src/iotsp/topic.js.map +0 -1
  572. package/dist/de.types/src/lsp/carrier/analytics.d.ts +0 -1190
  573. package/dist/de.types/src/lsp/carrier/analytics.js +0 -354
  574. package/dist/de.types/src/lsp/carrier/analytics.js.map +0 -1
  575. package/dist/de.types/src/lsp/carrier/capabilities.d.ts +0 -3602
  576. package/dist/de.types/src/lsp/carrier/capabilities.js +0 -880
  577. package/dist/de.types/src/lsp/carrier/capabilities.js.map +0 -1
  578. package/dist/de.types/src/lsp/carrier/capacities.d.ts +0 -4435
  579. package/dist/de.types/src/lsp/carrier/capacities.js +0 -615
  580. package/dist/de.types/src/lsp/carrier/capacities.js.map +0 -1
  581. package/dist/de.types/src/lsp/carrier/index.d.ts +0 -733
  582. package/dist/de.types/src/lsp/carrier/index.js +0 -150
  583. package/dist/de.types/src/lsp/carrier/index.js.map +0 -1
  584. package/dist/de.types/src/lsp/carrier/performance.d.ts +0 -566
  585. package/dist/de.types/src/lsp/carrier/performance.js +0 -127
  586. package/dist/de.types/src/lsp/carrier/performance.js.map +0 -1
  587. package/dist/de.types/src/lsp/carrier/utilities.d.ts +0 -6670
  588. package/dist/de.types/src/lsp/carrier/utilities.js +0 -597
  589. package/dist/de.types/src/lsp/carrier/utilities.js.map +0 -1
  590. package/dist/de.types/src/lsp/consolidation.d.ts +0 -792
  591. package/dist/de.types/src/lsp/consolidation.js +0 -343
  592. package/dist/de.types/src/lsp/consolidation.js.map +0 -1
  593. package/dist/de.types/src/lsp/coverage.d.ts +0 -7448
  594. package/dist/de.types/src/lsp/coverage.js +0 -706
  595. package/dist/de.types/src/lsp/coverage.js.map +0 -1
  596. package/dist/de.types/src/lsp/fleet/index.d.ts +0 -1127
  597. package/dist/de.types/src/lsp/fleet/index.js +0 -269
  598. package/dist/de.types/src/lsp/fleet/index.js.map +0 -1
  599. package/dist/de.types/src/lsp/fleet/maintenance.d.ts +0 -2021
  600. package/dist/de.types/src/lsp/fleet/maintenance.js +0 -386
  601. package/dist/de.types/src/lsp/fleet/maintenance.js.map +0 -1
  602. package/dist/de.types/src/lsp/fleet/parking.d.ts +0 -2042
  603. package/dist/de.types/src/lsp/fleet/parking.js +0 -458
  604. package/dist/de.types/src/lsp/fleet/parking.js.map +0 -1
  605. package/dist/de.types/src/lsp/fleet/vehicle.d.ts +0 -782
  606. package/dist/de.types/src/lsp/fleet/vehicle.js +0 -314
  607. package/dist/de.types/src/lsp/fleet/vehicle.js.map +0 -1
  608. package/dist/de.types/src/lsp/graph.d.ts +0 -211
  609. package/dist/de.types/src/lsp/graph.js +0 -92
  610. package/dist/de.types/src/lsp/graph.js.map +0 -1
  611. package/dist/de.types/src/lsp/hub/analytics.d.ts +0 -4293
  612. package/dist/de.types/src/lsp/hub/analytics.js +0 -219
  613. package/dist/de.types/src/lsp/hub/analytics.js.map +0 -1
  614. package/dist/de.types/src/lsp/hub/capabilities.d.ts +0 -1466
  615. package/dist/de.types/src/lsp/hub/capabilities.js +0 -464
  616. package/dist/de.types/src/lsp/hub/capabilities.js.map +0 -1
  617. package/dist/de.types/src/lsp/hub/capacities.d.ts +0 -4277
  618. package/dist/de.types/src/lsp/hub/capacities.js +0 -495
  619. package/dist/de.types/src/lsp/hub/capacities.js.map +0 -1
  620. package/dist/de.types/src/lsp/hub/index.d.ts +0 -2783
  621. package/dist/de.types/src/lsp/hub/index.js +0 -268
  622. package/dist/de.types/src/lsp/hub/index.js.map +0 -1
  623. package/dist/de.types/src/lsp/hub/performance.d.ts +0 -390
  624. package/dist/de.types/src/lsp/hub/performance.js +0 -78
  625. package/dist/de.types/src/lsp/hub/performance.js.map +0 -1
  626. package/dist/de.types/src/lsp/hub/utilities.d.ts +0 -2995
  627. package/dist/de.types/src/lsp/hub/utilities.js +0 -521
  628. package/dist/de.types/src/lsp/hub/utilities.js.map +0 -1
  629. package/dist/de.types/src/lsp/index.d.ts +0 -156
  630. package/dist/de.types/src/lsp/index.js +0 -124
  631. package/dist/de.types/src/lsp/index.js.map +0 -1
  632. package/dist/de.types/src/lsp/operations.d.ts +0 -562
  633. package/dist/de.types/src/lsp/operations.js +0 -265
  634. package/dist/de.types/src/lsp/operations.js.map +0 -1
  635. package/dist/de.types/src/lsp/order/delivery.d.ts +0 -1118
  636. package/dist/de.types/src/lsp/order/delivery.js +0 -177
  637. package/dist/de.types/src/lsp/order/delivery.js.map +0 -1
  638. package/dist/de.types/src/lsp/order/flow/processes.d.ts +0 -7
  639. package/dist/de.types/src/lsp/order/flow/processes.js +0 -67
  640. package/dist/de.types/src/lsp/order/flow/processes.js.map +0 -1
  641. package/dist/de.types/src/lsp/order/flow/stages.d.ts +0 -7
  642. package/dist/de.types/src/lsp/order/flow/stages.js +0 -111
  643. package/dist/de.types/src/lsp/order/flow/stages.js.map +0 -1
  644. package/dist/de.types/src/lsp/order/inbound.d.ts +0 -1164
  645. package/dist/de.types/src/lsp/order/inbound.js +0 -193
  646. package/dist/de.types/src/lsp/order/inbound.js.map +0 -1
  647. package/dist/de.types/src/lsp/order/internal.d.ts +0 -1403
  648. package/dist/de.types/src/lsp/order/internal.js +0 -263
  649. package/dist/de.types/src/lsp/order/internal.js.map +0 -1
  650. package/dist/de.types/src/lsp/order/management.d.ts +0 -540
  651. package/dist/de.types/src/lsp/order/management.js +0 -326
  652. package/dist/de.types/src/lsp/order/management.js.map +0 -1
  653. package/dist/de.types/src/lsp/order/passthrough.d.ts +0 -1815
  654. package/dist/de.types/src/lsp/order/passthrough.js +0 -368
  655. package/dist/de.types/src/lsp/order/passthrough.js.map +0 -1
  656. package/dist/de.types/src/lsp/order/ride.d.ts +0 -1055
  657. package/dist/de.types/src/lsp/order/ride.js +0 -174
  658. package/dist/de.types/src/lsp/order/ride.js.map +0 -1
  659. package/dist/de.types/src/lsp/order/shipping.d.ts +0 -1523
  660. package/dist/de.types/src/lsp/order/shipping.js +0 -231
  661. package/dist/de.types/src/lsp/order/shipping.js.map +0 -1
  662. package/dist/de.types/src/lsp/pod/index.d.ts +0 -804
  663. package/dist/de.types/src/lsp/pod/index.js +0 -250
  664. package/dist/de.types/src/lsp/pod/index.js.map +0 -1
  665. package/dist/de.types/src/lsp/pricing.d.ts +0 -1810
  666. package/dist/de.types/src/lsp/pricing.js +0 -972
  667. package/dist/de.types/src/lsp/pricing.js.map +0 -1
  668. package/dist/de.types/src/lsp/psl.d.ts +0 -784
  669. package/dist/de.types/src/lsp/psl.js +0 -333
  670. package/dist/de.types/src/lsp/psl.js.map +0 -1
  671. package/dist/de.types/src/lsp/terminal/analytics.d.ts +0 -277
  672. package/dist/de.types/src/lsp/terminal/analytics.js +0 -310
  673. package/dist/de.types/src/lsp/terminal/analytics.js.map +0 -1
  674. package/dist/de.types/src/lsp/terminal/capabilities.d.ts +0 -796
  675. package/dist/de.types/src/lsp/terminal/capabilities.js +0 -506
  676. package/dist/de.types/src/lsp/terminal/capabilities.js.map +0 -1
  677. package/dist/de.types/src/lsp/terminal/capacities.d.ts +0 -3151
  678. package/dist/de.types/src/lsp/terminal/capacities.js +0 -504
  679. package/dist/de.types/src/lsp/terminal/capacities.js.map +0 -1
  680. package/dist/de.types/src/lsp/terminal/index.d.ts +0 -1055
  681. package/dist/de.types/src/lsp/terminal/index.js +0 -394
  682. package/dist/de.types/src/lsp/terminal/index.js.map +0 -1
  683. package/dist/de.types/src/lsp/terminal/performance.d.ts +0 -954
  684. package/dist/de.types/src/lsp/terminal/performance.js +0 -159
  685. package/dist/de.types/src/lsp/terminal/performance.js.map +0 -1
  686. package/dist/de.types/src/lsp/terminal/utilities.d.ts +0 -2373
  687. package/dist/de.types/src/lsp/terminal/utilities.js +0 -161
  688. package/dist/de.types/src/lsp/terminal/utilities.js.map +0 -1
  689. package/dist/de.types/src/lsp/warehouse/analytics.d.ts +0 -3087
  690. package/dist/de.types/src/lsp/warehouse/analytics.js +0 -229
  691. package/dist/de.types/src/lsp/warehouse/analytics.js.map +0 -1
  692. package/dist/de.types/src/lsp/warehouse/capabilities.d.ts +0 -1383
  693. package/dist/de.types/src/lsp/warehouse/capabilities.js +0 -567
  694. package/dist/de.types/src/lsp/warehouse/capabilities.js.map +0 -1
  695. package/dist/de.types/src/lsp/warehouse/capacities.d.ts +0 -2920
  696. package/dist/de.types/src/lsp/warehouse/capacities.js +0 -450
  697. package/dist/de.types/src/lsp/warehouse/capacities.js.map +0 -1
  698. package/dist/de.types/src/lsp/warehouse/index.d.ts +0 -2565
  699. package/dist/de.types/src/lsp/warehouse/index.js +0 -264
  700. package/dist/de.types/src/lsp/warehouse/index.js.map +0 -1
  701. package/dist/de.types/src/lsp/warehouse/performance.d.ts +0 -286
  702. package/dist/de.types/src/lsp/warehouse/performance.js +0 -72
  703. package/dist/de.types/src/lsp/warehouse/performance.js.map +0 -1
  704. package/dist/de.types/src/lsp/warehouse/utilities.d.ts +0 -5173
  705. package/dist/de.types/src/lsp/warehouse/utilities.js +0 -588
  706. package/dist/de.types/src/lsp/warehouse/utilities.js.map +0 -1
  707. package/dist/de.types/src/lsp/zones.d.ts +0 -304
  708. package/dist/de.types/src/lsp/zones.js +0 -118
  709. package/dist/de.types/src/lsp/zones.js.map +0 -1
  710. package/dist/de.types/src/measure.d.ts +0 -138
  711. package/dist/de.types/src/measure.js +0 -190
  712. package/dist/de.types/src/measure.js.map +0 -1
  713. package/dist/de.types/src/operator.d.ts +0 -102
  714. package/dist/de.types/src/operator.js +0 -38
  715. package/dist/de.types/src/operator.js.map +0 -1
  716. package/dist/de.types/src/order.d.ts +0 -2738
  717. package/dist/de.types/src/order.js +0 -1078
  718. package/dist/de.types/src/order.js.map +0 -1
  719. package/dist/de.types/src/realm/index.d.ts +0 -3
  720. package/dist/de.types/src/realm/index.js +0 -20
  721. package/dist/de.types/src/realm/index.js.map +0 -1
  722. package/dist/de.types/src/realm/pipelines.d.ts +0 -32566
  723. package/dist/de.types/src/realm/pipelines.js +0 -1273
  724. package/dist/de.types/src/realm/pipelines.js.map +0 -1
  725. package/dist/de.types/src/realm/queries.d.ts +0 -1326
  726. package/dist/de.types/src/realm/queries.js +0 -456
  727. package/dist/de.types/src/realm/queries.js.map +0 -1
  728. package/dist/de.types/src/realm/utilities.d.ts +0 -1793
  729. package/dist/de.types/src/realm/utilities.js +0 -594
  730. package/dist/de.types/src/realm/utilities.js.map +0 -1
  731. package/dist/de.types/src/routing.d.ts +0 -427
  732. package/dist/de.types/src/routing.js +0 -60
  733. package/dist/de.types/src/routing.js.map +0 -1
  734. package/dist/de.types/src/service.d.ts +0 -263
  735. package/dist/de.types/src/service.js +0 -60
  736. package/dist/de.types/src/service.js.map +0 -1
  737. package/dist/de.types/src/shared/access.d.ts +0 -101
  738. package/dist/de.types/src/shared/access.js +0 -30
  739. package/dist/de.types/src/shared/access.js.map +0 -1
  740. package/dist/de.types/src/shared/account.d.ts +0 -43
  741. package/dist/de.types/src/shared/account.js +0 -15
  742. package/dist/de.types/src/shared/account.js.map +0 -1
  743. package/dist/de.types/src/shared/auth.d.ts +0 -44
  744. package/dist/de.types/src/shared/auth.js +0 -19
  745. package/dist/de.types/src/shared/auth.js.map +0 -1
  746. package/dist/de.types/src/shared/bucket.d.ts +0 -293
  747. package/dist/de.types/src/shared/bucket.js +0 -79
  748. package/dist/de.types/src/shared/bucket.js.map +0 -1
  749. package/dist/de.types/src/shared/faq.d.ts +0 -279
  750. package/dist/de.types/src/shared/faq.js +0 -73
  751. package/dist/de.types/src/shared/faq.js.map +0 -1
  752. package/dist/de.types/src/shared/index.d.ts +0 -9
  753. package/dist/de.types/src/shared/index.js +0 -26
  754. package/dist/de.types/src/shared/index.js.map +0 -1
  755. package/dist/de.types/src/shared/invitation.d.ts +0 -1524
  756. package/dist/de.types/src/shared/invitation.js +0 -60
  757. package/dist/de.types/src/shared/invitation.js.map +0 -1
  758. package/dist/de.types/src/shared/operator.d.ts +0 -955
  759. package/dist/de.types/src/shared/operator.js +0 -48
  760. package/dist/de.types/src/shared/operator.js.map +0 -1
  761. package/dist/de.types/src/shared/tracking.d.ts +0 -30
  762. package/dist/de.types/src/shared/tracking.js +0 -23
  763. package/dist/de.types/src/shared/tracking.js.map +0 -1
  764. package/dist/de.types/src/shared/user.d.ts +0 -76
  765. package/dist/de.types/src/shared/user.js +0 -22
  766. package/dist/de.types/src/shared/user.js.map +0 -1
  767. package/dist/de.types/src/sync.d.ts +0 -538
  768. package/dist/de.types/src/sync.js +0 -329
  769. package/dist/de.types/src/sync.js.map +0 -1
  770. package/dist/de.types/src/time.d.ts +0 -138
  771. package/dist/de.types/src/time.js +0 -93
  772. package/dist/de.types/src/time.js.map +0 -1
  773. package/dist/de.types/src/user.d.ts +0 -393
  774. package/dist/de.types/src/user.js +0 -205
  775. package/dist/de.types/src/user.js.map +0 -1
  776. package/dist/de.types/src/workspace/admin.d.ts +0 -90
  777. package/dist/de.types/src/workspace/admin.js +0 -33
  778. package/dist/de.types/src/workspace/admin.js.map +0 -1
  779. package/dist/de.types/src/workspace/connector.d.ts +0 -594
  780. package/dist/de.types/src/workspace/connector.js +0 -229
  781. package/dist/de.types/src/workspace/connector.js.map +0 -1
  782. package/dist/de.types/src/workspace/index.d.ts +0 -35
  783. package/dist/de.types/src/workspace/index.js +0 -21
  784. package/dist/de.types/src/workspace/index.js.map +0 -1
  785. /package/dist/{de.sdk/src/allend → allend}/Agent/delivery.d.ts +0 -0
  786. /package/dist/{de.sdk/src/allend → allend}/Agent/dispatch.d.ts +0 -0
  787. /package/dist/{de.sdk/src/allend → allend}/Agent/navigation.d.ts +0 -0
  788. /package/dist/{de.sdk/src/allend → allend}/Agent/origin.d.ts +0 -0
  789. /package/dist/{de.sdk/src/allend → allend}/Agent/reallocation.d.ts +0 -0
  790. /package/dist/{de.sdk/src/allend → allend}/Agent/rides.d.ts +0 -0
  791. /package/dist/{de.sdk/src/allend → allend}/Agent/shipping.d.ts +0 -0
  792. /package/dist/{de.sdk/src/allend → allend}/CSP/analytics.d.ts +0 -0
  793. /package/dist/{de.sdk/src/allend → allend}/CSP/inventory.d.ts +0 -0
  794. /package/dist/{de.sdk/src/allend → allend}/CSP/orders.d.ts +0 -0
  795. /package/dist/{de.sdk/src/allend → allend}/CSP/webhooks.d.ts +0 -0
  796. /package/dist/{de.sdk/src/allend → allend}/Customer/intents.d.ts +0 -0
  797. /package/dist/{de.sdk/src/allend → allend}/Customer/orders.d.ts +0 -0
  798. /package/dist/{de.sdk/src/allend → allend}/Customer/rides.d.ts +0 -0
  799. /package/dist/{de.sdk/src/allend → allend}/IoTClient.d.ts +0 -0
  800. /package/dist/{de.sdk/src/allend → allend}/IoTSP/devices.d.ts +0 -0
  801. /package/dist/{de.sdk/src/allend → allend}/IoTSP/rules.d.ts +0 -0
  802. /package/dist/{de.sdk/src/allend → allend}/IoTSP/topics.d.ts +0 -0
  803. /package/dist/{de.sdk/src/allend → allend}/LSP/coverage.d.ts +0 -0
  804. /package/dist/{de.sdk/src/allend → allend}/LSP/inventory.d.ts +0 -0
  805. /package/dist/{de.sdk/src/allend → allend}/LSP/psl.d.ts +0 -0
  806. /package/dist/{de.sdk/src/allend → allend}/Pipelines/analytics.d.ts +0 -0
  807. /package/dist/{de.sdk/src/allend → allend}/Pipelines/escalations.d.ts +0 -0
  808. /package/dist/{de.sdk/src/allend → allend}/Pipelines/executions.d.ts +0 -0
  809. /package/dist/{de.sdk/src/allend → allend}/Pipelines/interventions.d.ts +0 -0
  810. /package/dist/{de.sdk/src/allend → allend}/Pipelines/monitor.d.ts +0 -0
  811. /package/dist/{de.sdk/src/allend → allend}/Pipelines/queries.d.ts +0 -0
  812. /package/dist/{de.sdk/src/allend → allend}/Pipelines/templates.d.ts +0 -0
  813. /package/dist/{de.sdk/src/allend → allend}/Pipelines/utils.d.ts +0 -0
  814. /package/dist/{de.sdk/src/allend → allend}/Pipelines/utils.js +0 -0
  815. /package/dist/{de.sdk/src/allend → allend}/Pipelines/webhooks.d.ts +0 -0
  816. /package/dist/{de.sdk/src/allend → allend}/Pipelines/workers.d.ts +0 -0
  817. /package/dist/{de.sdk/src/allend → allend}/Queries/capacity.d.ts +0 -0
  818. /package/dist/{de.sdk/src/allend → allend}/Queries/discovery.d.ts +0 -0
  819. /package/dist/{de.sdk/src/allend → allend}/Queries/matching.d.ts +0 -0
  820. /package/dist/{de.sdk/src/allend → allend}/Queries/performance.d.ts +0 -0
  821. /package/dist/{de.sdk/src/allend → allend}/Queries/pricing.d.ts +0 -0
  822. /package/dist/{de.sdk/src/allend → allend}/Realtime/index.d.ts +0 -0
  823. /package/dist/{de.sdk/src/allend → allend}/Shared/account.d.ts +0 -0
  824. /package/dist/{de.sdk/src/allend → allend}/Shared/buckets.d.ts +0 -0
  825. /package/dist/{de.sdk/src/allend → allend}/Shared/context.d.ts +0 -0
  826. /package/dist/{de.sdk/src/allend → allend}/Shared/faqs.d.ts +0 -0
  827. /package/dist/{de.sdk/src/allend → allend}/Shared/operators.d.ts +0 -0
  828. /package/dist/{de.sdk/src/allend → allend}/Shared/users.d.ts +0 -0
  829. /package/dist/{de.sdk/src/allend → allend}/Utilities/common.d.ts +0 -0
  830. /package/dist/{de.sdk/src/allend → allend}/Utilities/fares.d.ts +0 -0
  831. /package/dist/{de.sdk/src/allend → allend}/Utilities/nearby.d.ts +0 -0
  832. /package/dist/{de.sdk/src/allend → allend}/Workflows/Delivery.d.ts +0 -0
  833. /package/dist/{de.sdk/src/allend → allend}/Workflows/index.d.ts +0 -0
  834. /package/dist/{de.sdk/src/utils → utils}/stream.d.ts +0 -0
@@ -1,3 +1,4 @@
1
+ import type { APIResponseBase } from '@de./types'
1
2
  import type {
2
3
  LSPCarrierCreateValidation,
3
4
  LSPCarrierRetrieveValidation,
@@ -46,7 +47,7 @@ import type {
46
47
  LSPCarrierGetAllCapacitiesValidation
47
48
  } from '@de./types/lsp/carrier'
48
49
  import type { LSPPricingBindToValidation } from '@de./types/lsp/pricing'
49
- import { qs, type Http, type Res } from '../../utils'
50
+ import { qs, type Http, type Res, type Data } from '../../utils'
50
51
 
51
52
  // ── LSP Carriers ──────────────────────────────────────────────────────────────
52
53
 
@@ -54,445 +55,354 @@ export default class LSPCarriers {
54
55
  constructor( private http: Http ){}
55
56
 
56
57
  async create( body: LSPCarrierCreateValidation['body'] ): Promise<LSPCarrierCreateValidation['response']> {
57
- const { error, message, data } = await this.http.request<Res<LSPCarrierCreateValidation['response']>>({
58
+ return await this.http.request<LSPCarrierCreateValidation['response']>({
58
59
  url: '/lsp/carriers/create',
59
60
  method: 'POST',
60
61
  body
61
62
  })
62
- if( error ) throw new Error( message )
63
- return data
64
63
  }
65
64
 
66
65
  async list( querystring?: LSPCarrierListValidation['querystring'] ): Promise<LSPCarrierListValidation['response']> {
67
- const { error, message, data } = await this.http.request<Res<LSPCarrierListValidation['response']>>({
66
+ return await this.http.request<LSPCarrierListValidation['response']>({
68
67
  url: `/lsp/carriers${qs( querystring )}`,
69
68
  method: 'GET'
70
69
  })
71
- if( error ) throw new Error( message )
72
- return data
73
70
  }
74
71
 
75
72
  async retrieve( id: string ): Promise<LSPCarrierRetrieveValidation['response']> {
76
- const { error, message, data } = await this.http.request<Res<LSPCarrierRetrieveValidation['response']>>({
73
+ return await this.http.request<LSPCarrierRetrieveValidation['response']>({
77
74
  url: `/lsp/carriers/${id}`,
78
75
  method: 'GET'
79
76
  })
80
- if( error ) throw new Error( message )
81
- return data
82
77
  }
83
78
 
84
79
  async update( id: string, body: LSPCarrierUpdateValidation['body'] ): Promise<LSPCarrierUpdateValidation['response']> {
85
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateValidation['response']>>({
80
+ return await this.http.request<LSPCarrierUpdateValidation['response']>({
86
81
  url: `/lsp/carriers/${id}`,
87
82
  method: 'PATCH',
88
83
  body
89
84
  })
90
- if( error ) throw new Error( message )
91
- return data
92
85
  }
93
86
 
94
87
  async updateStatus( id: string, body: LSPCarrierUpdateStatusValidation['body'] ): Promise<LSPCarrierUpdateStatusValidation['response']> {
95
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateStatusValidation['response']>>({
88
+ return await this.http.request<LSPCarrierUpdateStatusValidation['response']>({
96
89
  url: `/lsp/carriers/${id}/status`,
97
90
  method: 'PATCH',
98
91
  body
99
92
  })
100
- if( error ) throw new Error( message )
101
- return data
102
93
  }
103
94
 
104
- async remove( id: string ): Promise<void> {
105
- const { error, message } = await this.http.request<Res<unknown>>({
95
+ async remove( id: string ): Promise<APIResponseBase> {
96
+ return await this.http.request<APIResponseBase>({
106
97
  url: `/lsp/carriers/${id}`,
107
98
  method: 'DELETE'
108
99
  })
109
- if( error ) throw new Error( message )
110
100
  }
111
101
 
112
102
  async bindPricing( id: string, action: LSPPricingBindToValidation['params']['action'], body: LSPPricingBindToValidation['body'] ): Promise<LSPPricingBindToValidation['response']> {
113
- const { error, message, data } = await this.http.request<Res<LSPPricingBindToValidation['response']>>({
103
+ return await this.http.request<LSPPricingBindToValidation['response']>({
114
104
  url: `/lsp/carriers/${id}/pricing/${action}`,
115
105
  method: 'PUT',
116
106
  body
117
107
  })
118
- if( error ) throw new Error( message )
119
- return data
120
108
  }
121
109
 
122
110
  // ── Capabilities ──────────────────────────────────────────────────────────────
123
111
 
124
112
  async getAllCapabilities( id: string ): Promise<LSPCarrierGetAllCapabilitiesValidation['response']> {
125
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetAllCapabilitiesValidation['response']>>({
113
+ return await this.http.request<LSPCarrierGetAllCapabilitiesValidation['response']>({
126
114
  url: `/lsp/carriers/${id}/capabilities`,
127
115
  method: 'GET'
128
116
  })
129
- if( error ) throw new Error( message )
130
- return data
131
117
  }
132
118
 
133
119
  async getTransportCapability( id: string ): Promise<LSPCarrierGetTransportCapabilityValidation['response']> {
134
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetTransportCapabilityValidation['response']>>({
120
+ return await this.http.request<LSPCarrierGetTransportCapabilityValidation['response']>({
135
121
  url: `/lsp/carriers/${id}/capabilities/transport`,
136
122
  method: 'GET'
137
123
  })
138
- if( error ) throw new Error( message )
139
- return data
140
124
  }
141
125
 
142
126
  async setTransportCapability( id: string, body: LSPCarrierSetTransportCapabilityValidation['body'] ): Promise<LSPCarrierSetTransportCapabilityValidation['response']> {
143
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetTransportCapabilityValidation['response']>>({
127
+ return await this.http.request<LSPCarrierSetTransportCapabilityValidation['response']>({
144
128
  url: `/lsp/carriers/${id}/capabilities/transport`,
145
129
  method: 'PUT',
146
130
  body
147
131
  })
148
- if( error ) throw new Error( message )
149
- return data
150
132
  }
151
133
 
152
134
  async updateTransportCapability( id: string, body: LSPCarrierUpdateTransportCapabilityValidation['body'] ): Promise<LSPCarrierUpdateTransportCapabilityValidation['response']> {
153
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateTransportCapabilityValidation['response']>>({
135
+ return await this.http.request<LSPCarrierUpdateTransportCapabilityValidation['response']>({
154
136
  url: `/lsp/carriers/${id}/capabilities/transport`,
155
137
  method: 'PATCH',
156
138
  body
157
139
  })
158
- if( error ) throw new Error( message )
159
- return data
160
140
  }
161
141
 
162
142
  async deleteTransportCapability( id: string ): Promise<LSPCarrierDeleteTransportCapabilityValidation['response']> {
163
- const { error, message, data } = await this.http.request<Res<LSPCarrierDeleteTransportCapabilityValidation['response']>>({
143
+ return await this.http.request<LSPCarrierDeleteTransportCapabilityValidation['response']>({
164
144
  url: `/lsp/carriers/${id}/capabilities/transport`,
165
145
  method: 'DELETE'
166
146
  })
167
- if( error ) throw new Error( message )
168
- return data
169
147
  }
170
148
 
171
149
  async getFleetCapability( id: string ): Promise<LSPCarrierGetFleetCapabilityValidation['response']> {
172
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetFleetCapabilityValidation['response']>>({
150
+ return await this.http.request<LSPCarrierGetFleetCapabilityValidation['response']>({
173
151
  url: `/lsp/carriers/${id}/capabilities/fleet`,
174
152
  method: 'GET'
175
153
  })
176
- if( error ) throw new Error( message )
177
- return data
178
154
  }
179
155
 
180
156
  async setFleetCapability( id: string, body: LSPCarrierSetFleetCapabilityValidation['body'] ): Promise<LSPCarrierSetFleetCapabilityValidation['response']> {
181
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetFleetCapabilityValidation['response']>>({
157
+ return await this.http.request<LSPCarrierSetFleetCapabilityValidation['response']>({
182
158
  url: `/lsp/carriers/${id}/capabilities/fleet`,
183
159
  method: 'PUT',
184
160
  body
185
161
  })
186
- if( error ) throw new Error( message )
187
- return data
188
162
  }
189
163
 
190
164
  async updateFleetCapability( id: string, body: LSPCarrierUpdateFleetCapabilityValidation['body'] ): Promise<LSPCarrierUpdateFleetCapabilityValidation['response']> {
191
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateFleetCapabilityValidation['response']>>({
165
+ return await this.http.request<LSPCarrierUpdateFleetCapabilityValidation['response']>({
192
166
  url: `/lsp/carriers/${id}/capabilities/fleet`,
193
167
  method: 'PATCH',
194
168
  body
195
169
  })
196
- if( error ) throw new Error( message )
197
- return data
198
170
  }
199
171
 
200
172
  async getHandlingCapability( id: string ): Promise<LSPCarrierGetHandlingCapabilityValidation['response']> {
201
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetHandlingCapabilityValidation['response']>>({
173
+ return await this.http.request<LSPCarrierGetHandlingCapabilityValidation['response']>({
202
174
  url: `/lsp/carriers/${id}/capabilities/handling`,
203
175
  method: 'GET'
204
176
  })
205
- if( error ) throw new Error( message )
206
- return data
207
177
  }
208
178
 
209
179
  async setHandlingCapability( id: string, body: LSPCarrierSetHandlingCapabilityValidation['body'] ): Promise<LSPCarrierSetHandlingCapabilityValidation['response']> {
210
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetHandlingCapabilityValidation['response']>>({
180
+ return await this.http.request<LSPCarrierSetHandlingCapabilityValidation['response']>({
211
181
  url: `/lsp/carriers/${id}/capabilities/handling`,
212
182
  method: 'PUT',
213
183
  body
214
184
  })
215
- if( error ) throw new Error( message )
216
- return data
217
185
  }
218
186
 
219
187
  async updateHandlingCapability( id: string, body: LSPCarrierUpdateHandlingCapabilityValidation['body'] ): Promise<LSPCarrierUpdateHandlingCapabilityValidation['response']> {
220
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateHandlingCapabilityValidation['response']>>({
188
+ return await this.http.request<LSPCarrierUpdateHandlingCapabilityValidation['response']>({
221
189
  url: `/lsp/carriers/${id}/capabilities/handling`,
222
190
  method: 'PATCH',
223
191
  body
224
192
  })
225
- if( error ) throw new Error( message )
226
- return data
227
193
  }
228
194
 
229
195
  async getCoverageCapability( id: string ): Promise<LSPCarrierGetCoverageCapabilityValidation['response']> {
230
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetCoverageCapabilityValidation['response']>>({
196
+ return await this.http.request<LSPCarrierGetCoverageCapabilityValidation['response']>({
231
197
  url: `/lsp/carriers/${id}/capabilities/coverage`,
232
198
  method: 'GET'
233
199
  })
234
- if( error ) throw new Error( message )
235
- return data
236
200
  }
237
201
 
238
202
  async setCoverageCapability( id: string, body: LSPCarrierSetCoverageCapabilityValidation['body'] ): Promise<LSPCarrierSetCoverageCapabilityValidation['response']> {
239
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetCoverageCapabilityValidation['response']>>({
203
+ return await this.http.request<LSPCarrierSetCoverageCapabilityValidation['response']>({
240
204
  url: `/lsp/carriers/${id}/capabilities/coverage`,
241
205
  method: 'PUT',
242
206
  body
243
207
  })
244
- if( error ) throw new Error( message )
245
- return data
246
208
  }
247
209
 
248
210
  async updateCoverageCapability( id: string, body: LSPCarrierUpdateCoverageCapabilityValidation['body'] ): Promise<LSPCarrierUpdateCoverageCapabilityValidation['response']> {
249
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateCoverageCapabilityValidation['response']>>({
211
+ return await this.http.request<LSPCarrierUpdateCoverageCapabilityValidation['response']>({
250
212
  url: `/lsp/carriers/${id}/capabilities/coverage`,
251
213
  method: 'PATCH',
252
214
  body
253
215
  })
254
- if( error ) throw new Error( message )
255
- return data
256
216
  }
257
217
 
258
218
  async getTechnologyCapability( id: string ): Promise<LSPCarrierGetTechnologyCapabilityValidation['response']> {
259
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetTechnologyCapabilityValidation['response']>>({
219
+ return await this.http.request<LSPCarrierGetTechnologyCapabilityValidation['response']>({
260
220
  url: `/lsp/carriers/${id}/capabilities/technology`,
261
221
  method: 'GET'
262
222
  })
263
- if( error ) throw new Error( message )
264
- return data
265
223
  }
266
224
 
267
225
  async setTechnologyCapability( id: string, body: LSPCarrierSetTechnologyCapabilityValidation['body'] ): Promise<LSPCarrierSetTechnologyCapabilityValidation['response']> {
268
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetTechnologyCapabilityValidation['response']>>({
226
+ return await this.http.request<LSPCarrierSetTechnologyCapabilityValidation['response']>({
269
227
  url: `/lsp/carriers/${id}/capabilities/technology`,
270
228
  method: 'PUT',
271
229
  body
272
230
  })
273
- if( error ) throw new Error( message )
274
- return data
275
231
  }
276
232
 
277
233
  async updateTechnologyCapability( id: string, body: LSPCarrierUpdateTechnologyCapabilityValidation['body'] ): Promise<LSPCarrierUpdateTechnologyCapabilityValidation['response']> {
278
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateTechnologyCapabilityValidation['response']>>({
234
+ return await this.http.request<LSPCarrierUpdateTechnologyCapabilityValidation['response']>({
279
235
  url: `/lsp/carriers/${id}/capabilities/technology`,
280
236
  method: 'PATCH',
281
237
  body
282
238
  })
283
- if( error ) throw new Error( message )
284
- return data
285
239
  }
286
240
 
287
241
  async getServiceCapability( id: string ): Promise<LSPCarrierGetServiceCapabilityValidation['response']> {
288
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetServiceCapabilityValidation['response']>>({
242
+ return await this.http.request<LSPCarrierGetServiceCapabilityValidation['response']>({
289
243
  url: `/lsp/carriers/${id}/capabilities/service`,
290
244
  method: 'GET'
291
245
  })
292
- if( error ) throw new Error( message )
293
- return data
294
246
  }
295
247
 
296
248
  async setServiceCapability( id: string, body: LSPCarrierSetServiceCapabilityValidation['body'] ): Promise<LSPCarrierSetServiceCapabilityValidation['response']> {
297
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetServiceCapabilityValidation['response']>>({
249
+ return await this.http.request<LSPCarrierSetServiceCapabilityValidation['response']>({
298
250
  url: `/lsp/carriers/${id}/capabilities/service`,
299
251
  method: 'PUT',
300
252
  body
301
253
  })
302
- if( error ) throw new Error( message )
303
- return data
304
254
  }
305
255
 
306
256
  async updateServiceCapability( id: string, body: LSPCarrierUpdateServiceCapabilityValidation['body'] ): Promise<LSPCarrierUpdateServiceCapabilityValidation['response']> {
307
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateServiceCapabilityValidation['response']>>({
257
+ return await this.http.request<LSPCarrierUpdateServiceCapabilityValidation['response']>({
308
258
  url: `/lsp/carriers/${id}/capabilities/service`,
309
259
  method: 'PATCH',
310
260
  body
311
261
  })
312
- if( error ) throw new Error( message )
313
- return data
314
262
  }
315
263
 
316
264
  async getComplianceCapability( id: string ): Promise<LSPCarrierGetComplianceCapabilityValidation['response']> {
317
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetComplianceCapabilityValidation['response']>>({
265
+ return await this.http.request<LSPCarrierGetComplianceCapabilityValidation['response']>({
318
266
  url: `/lsp/carriers/${id}/capabilities/compliance`,
319
267
  method: 'GET'
320
268
  })
321
- if( error ) throw new Error( message )
322
- return data
323
269
  }
324
270
 
325
271
  async setComplianceCapability( id: string, body: LSPCarrierSetComplianceCapabilityValidation['body'] ): Promise<LSPCarrierSetComplianceCapabilityValidation['response']> {
326
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetComplianceCapabilityValidation['response']>>({
272
+ return await this.http.request<LSPCarrierSetComplianceCapabilityValidation['response']>({
327
273
  url: `/lsp/carriers/${id}/capabilities/compliance`,
328
274
  method: 'PUT',
329
275
  body
330
276
  })
331
- if( error ) throw new Error( message )
332
- return data
333
277
  }
334
278
 
335
279
  async updateComplianceCapability( id: string, body: LSPCarrierUpdateComplianceCapabilityValidation['body'] ): Promise<LSPCarrierUpdateComplianceCapabilityValidation['response']> {
336
- const { error, message, data } = await this.http.request<Res<LSPCarrierUpdateComplianceCapabilityValidation['response']>>({
280
+ return await this.http.request<LSPCarrierUpdateComplianceCapabilityValidation['response']>({
337
281
  url: `/lsp/carriers/${id}/capabilities/compliance`,
338
282
  method: 'PATCH',
339
283
  body
340
284
  })
341
- if( error ) throw new Error( message )
342
- return data
343
285
  }
344
286
 
345
287
  async bulkUpdateCapabilities( id: string, body: LSPCarrierBulkCapabilitiesUpdateValidation['body'] ): Promise<LSPCarrierBulkCapabilitiesUpdateValidation['response']> {
346
- const { error, message, data } = await this.http.request<Res<LSPCarrierBulkCapabilitiesUpdateValidation['response']>>({
288
+ return await this.http.request<LSPCarrierBulkCapabilitiesUpdateValidation['response']>({
347
289
  url: `/lsp/carriers/${id}/capabilities/bulk`,
348
290
  method: 'PATCH',
349
291
  body
350
292
  })
351
- if( error ) throw new Error( message )
352
- return data
353
293
  }
354
294
 
355
295
  async getCapabilityInsights( id: string, querystring?: LSPCarrierGetCapabilityInsightsValidation['querystring'] ): Promise<LSPCarrierGetCapabilityInsightsValidation['response']> {
356
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetCapabilityInsightsValidation['response']>>({
296
+ return await this.http.request<LSPCarrierGetCapabilityInsightsValidation['response']>({
357
297
  url: `/lsp/carriers/${id}/capabilities/insights${qs( querystring )}`,
358
298
  method: 'GET'
359
299
  })
360
- if( error ) throw new Error( message )
361
- return data
362
300
  }
363
301
 
364
302
  async validateCapability( id: string, type: string, body: LSPCarrierValidateCapabilityValidation['body'] ): Promise<LSPCarrierValidateCapabilityValidation['response']> {
365
- const { error, message, data } = await this.http.request<Res<LSPCarrierValidateCapabilityValidation['response']>>({
303
+ return await this.http.request<LSPCarrierValidateCapabilityValidation['response']>({
366
304
  url: `/lsp/carriers/${id}/capabilities/validate/${type}`,
367
305
  method: 'POST',
368
306
  body
369
307
  })
370
- if( error ) throw new Error( message )
371
- return data
372
308
  }
373
309
 
374
310
  // ── Capacities ────────────────────────────────────────────────────────────
375
311
 
376
312
  async getAllCapacities( id: string ): Promise<LSPCarrierGetAllCapacitiesValidation['response']> {
377
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetAllCapacitiesValidation['response']>>({
313
+ return await this.http.request<LSPCarrierGetAllCapacitiesValidation['response']>({
378
314
  url: `/lsp/carriers/${id}/capacities`,
379
315
  method: 'GET'
380
316
  })
381
- if( error ) throw new Error( message )
382
- return data
383
317
  }
384
318
 
385
319
  async getFleetCapacity( id: string ): Promise<LSPCarrierGetFleetCapacityValidation['response']> {
386
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetFleetCapacityValidation['response']>>({
320
+ return await this.http.request<LSPCarrierGetFleetCapacityValidation['response']>({
387
321
  url: `/lsp/carriers/${id}/capacities/fleet`,
388
322
  method: 'GET'
389
323
  })
390
- if( error ) throw new Error( message )
391
- return data
392
324
  }
393
325
 
394
326
  async setFleetCapacity( id: string, body: LSPCarrierSetFleetCapacityValidation['body'] ): Promise<LSPCarrierSetFleetCapacityValidation['response']> {
395
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetFleetCapacityValidation['response']>>({
327
+ return await this.http.request<LSPCarrierSetFleetCapacityValidation['response']>({
396
328
  url: `/lsp/carriers/${id}/capacities/fleet`,
397
329
  method: 'PUT',
398
330
  body
399
331
  })
400
- if( error ) throw new Error( message )
401
- return data
402
332
  }
403
333
 
404
334
  async getServiceCapacity( id: string ): Promise<LSPCarrierGetServiceCapacityValidation['response']> {
405
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetServiceCapacityValidation['response']>>({
335
+ return await this.http.request<LSPCarrierGetServiceCapacityValidation['response']>({
406
336
  url: `/lsp/carriers/${id}/capacities/service`,
407
337
  method: 'GET'
408
338
  })
409
- if( error ) throw new Error( message )
410
- return data
411
339
  }
412
340
 
413
341
  async setServiceCapacity( id: string, body: LSPCarrierSetServiceCapacityValidation['body'] ): Promise<LSPCarrierSetServiceCapacityValidation['response']> {
414
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetServiceCapacityValidation['response']>>({
342
+ return await this.http.request<LSPCarrierSetServiceCapacityValidation['response']>({
415
343
  url: `/lsp/carriers/${id}/capacities/service`,
416
344
  method: 'PUT',
417
345
  body
418
346
  })
419
- if( error ) throw new Error( message )
420
- return data
421
347
  }
422
348
 
423
349
  async getOperationalCapacity( id: string ): Promise<LSPCarrierGetOperationalCapacityValidation['response']> {
424
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetOperationalCapacityValidation['response']>>({
350
+ return await this.http.request<LSPCarrierGetOperationalCapacityValidation['response']>({
425
351
  url: `/lsp/carriers/${id}/capacities/operational`,
426
352
  method: 'GET'
427
353
  })
428
- if( error ) throw new Error( message )
429
- return data
430
354
  }
431
355
 
432
356
  async setOperationalCapacity( id: string, body: LSPCarrierSetOperationalCapacityValidation['body'] ): Promise<LSPCarrierSetOperationalCapacityValidation['response']> {
433
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetOperationalCapacityValidation['response']>>({
357
+ return await this.http.request<LSPCarrierSetOperationalCapacityValidation['response']>({
434
358
  url: `/lsp/carriers/${id}/capacities/operational`,
435
359
  method: 'PUT',
436
360
  body
437
361
  })
438
- if( error ) throw new Error( message )
439
- return data
440
362
  }
441
363
 
442
364
  async getNetworkCapacity( id: string ): Promise<LSPCarrierGetNetworkCapacityValidation['response']> {
443
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetNetworkCapacityValidation['response']>>({
365
+ return await this.http.request<LSPCarrierGetNetworkCapacityValidation['response']>({
444
366
  url: `/lsp/carriers/${id}/capacities/network`,
445
367
  method: 'GET'
446
368
  })
447
- if( error ) throw new Error( message )
448
- return data
449
369
  }
450
370
 
451
371
  async setNetworkCapacity( id: string, body: LSPCarrierSetNetworkCapacityValidation['body'] ): Promise<LSPCarrierSetNetworkCapacityValidation['response']> {
452
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetNetworkCapacityValidation['response']>>({
372
+ return await this.http.request<LSPCarrierSetNetworkCapacityValidation['response']>({
453
373
  url: `/lsp/carriers/${id}/capacities/network`,
454
374
  method: 'PUT',
455
375
  body
456
376
  })
457
- if( error ) throw new Error( message )
458
- return data
459
377
  }
460
378
 
461
379
  async getTechnologyCapacity( id: string ): Promise<LSPCarrierGetTechnologyCapacityValidation['response']> {
462
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetTechnologyCapacityValidation['response']>>({
380
+ return await this.http.request<LSPCarrierGetTechnologyCapacityValidation['response']>({
463
381
  url: `/lsp/carriers/${id}/capacities/technology`,
464
382
  method: 'GET'
465
383
  })
466
- if( error ) throw new Error( message )
467
- return data
468
384
  }
469
385
 
470
386
  async setTechnologyCapacity( id: string, body: LSPCarrierSetTechnologyCapacityValidation['body'] ): Promise<LSPCarrierSetTechnologyCapacityValidation['response']> {
471
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetTechnologyCapacityValidation['response']>>({
387
+ return await this.http.request<LSPCarrierSetTechnologyCapacityValidation['response']>({
472
388
  url: `/lsp/carriers/${id}/capacities/technology`,
473
389
  method: 'PUT',
474
390
  body
475
391
  })
476
- if( error ) throw new Error( message )
477
- return data
478
392
  }
479
393
 
480
394
  async getFinancialCapacity( id: string ): Promise<LSPCarrierGetFinancialCapacityValidation['response']> {
481
- const { error, message, data } = await this.http.request<Res<LSPCarrierGetFinancialCapacityValidation['response']>>({
395
+ return await this.http.request<LSPCarrierGetFinancialCapacityValidation['response']>({
482
396
  url: `/lsp/carriers/${id}/capacities/financial`,
483
397
  method: 'GET'
484
398
  })
485
- if( error ) throw new Error( message )
486
- return data
487
399
  }
488
400
 
489
401
  async setFinancialCapacity( id: string, body: LSPCarrierSetFinancialCapacityValidation['body'] ): Promise<LSPCarrierSetFinancialCapacityValidation['response']> {
490
- const { error, message, data } = await this.http.request<Res<LSPCarrierSetFinancialCapacityValidation['response']>>({
402
+ return await this.http.request<LSPCarrierSetFinancialCapacityValidation['response']>({
491
403
  url: `/lsp/carriers/${id}/capacities/financial`,
492
404
  method: 'PUT',
493
405
  body
494
406
  })
495
- if( error ) throw new Error( message )
496
- return data
497
407
  }
498
408
  }