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