@vindentech/api-client 0.3.0-next.8 โ†’ 0.3.0-next.80

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 (448) hide show
  1. package/README.md +1 -1
  2. package/dist/client.d.ts +2 -1
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -2
  5. package/dist/client.js.map +1 -1
  6. package/dist/generated/_all.d.ts +81 -1
  7. package/dist/generated/_all.d.ts.map +1 -1
  8. package/dist/generated/_all.js +81 -1
  9. package/dist/generated/_all.js.map +1 -1
  10. package/dist/generated/_permissions.d.ts +1492 -37
  11. package/dist/generated/_permissions.d.ts.map +1 -1
  12. package/dist/generated/_permissions.js +373 -7
  13. package/dist/generated/_permissions.js.map +1 -1
  14. package/dist/generated/account-credits/account-credits.d.ts +18 -17
  15. package/dist/generated/account-credits/account-credits.d.ts.map +1 -1
  16. package/dist/generated/account-credits/account-credits.js +28 -3
  17. package/dist/generated/account-credits/account-credits.js.map +1 -1
  18. package/dist/generated/addresses/addresses.d.ts +87 -0
  19. package/dist/generated/addresses/addresses.d.ts.map +1 -0
  20. package/dist/generated/addresses/addresses.js +100 -0
  21. package/dist/generated/addresses/addresses.js.map +1 -0
  22. package/dist/generated/articles/articles.d.ts +16 -15
  23. package/dist/generated/articles/articles.d.ts.map +1 -1
  24. package/dist/generated/articles/articles.js +37 -3
  25. package/dist/generated/articles/articles.js.map +1 -1
  26. package/dist/generated/billable-event-types/billable-event-types.d.ts +7 -6
  27. package/dist/generated/billable-event-types/billable-event-types.d.ts.map +1 -1
  28. package/dist/generated/billable-event-types/billable-event-types.js +4 -0
  29. package/dist/generated/billable-event-types/billable-event-types.js.map +1 -1
  30. package/dist/generated/billable-events/billable-events.d.ts +59 -0
  31. package/dist/generated/billable-events/billable-events.d.ts.map +1 -0
  32. package/dist/generated/billable-events/billable-events.js +61 -0
  33. package/dist/generated/billable-events/billable-events.js.map +1 -0
  34. package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts +7 -6
  35. package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts.map +1 -1
  36. package/dist/generated/billable-events-webhook/billable-events-webhook.js +14 -1
  37. package/dist/generated/billable-events-webhook/billable-events-webhook.js.map +1 -1
  38. package/dist/generated/billing-accounts/billing-accounts.d.ts +16 -15
  39. package/dist/generated/billing-accounts/billing-accounts.d.ts.map +1 -1
  40. package/dist/generated/billing-accounts/billing-accounts.js +37 -3
  41. package/dist/generated/billing-accounts/billing-accounts.js.map +1 -1
  42. package/dist/generated/billing-frequencies/billing-frequencies.d.ts +24 -0
  43. package/dist/generated/billing-frequencies/billing-frequencies.d.ts.map +1 -0
  44. package/dist/generated/billing-frequencies/billing-frequencies.js +23 -0
  45. package/dist/generated/billing-frequencies/billing-frequencies.js.map +1 -0
  46. package/dist/generated/billing-model-templates/billing-model-templates.d.ts +7 -6
  47. package/dist/generated/billing-model-templates/billing-model-templates.d.ts.map +1 -1
  48. package/dist/generated/billing-model-templates/billing-model-templates.js +4 -0
  49. package/dist/generated/billing-model-templates/billing-model-templates.js.map +1 -1
  50. package/dist/generated/binding-plans/binding-plans.d.ts +74 -10
  51. package/dist/generated/binding-plans/binding-plans.d.ts.map +1 -1
  52. package/dist/generated/binding-plans/binding-plans.js +91 -2
  53. package/dist/generated/binding-plans/binding-plans.js.map +1 -1
  54. package/dist/generated/bookings/bookings.d.ts +52 -0
  55. package/dist/generated/bookings/bookings.d.ts.map +1 -0
  56. package/dist/generated/bookings/bookings.js +55 -0
  57. package/dist/generated/bookings/bookings.js.map +1 -0
  58. package/dist/generated/capacity/capacity.d.ts +136 -0
  59. package/dist/generated/capacity/capacity.d.ts.map +1 -0
  60. package/dist/generated/capacity/capacity.js +175 -0
  61. package/dist/generated/capacity/capacity.js.map +1 -0
  62. package/dist/generated/carrier-bookings/carrier-bookings.d.ts +24 -0
  63. package/dist/generated/carrier-bookings/carrier-bookings.d.ts.map +1 -0
  64. package/dist/generated/carrier-bookings/carrier-bookings.js +23 -0
  65. package/dist/generated/carrier-bookings/carrier-bookings.js.map +1 -0
  66. package/dist/generated/carrier-methods/carrier-methods.d.ts +38 -0
  67. package/dist/generated/carrier-methods/carrier-methods.d.ts.map +1 -0
  68. package/dist/generated/carrier-methods/carrier-methods.js +41 -0
  69. package/dist/generated/carrier-methods/carrier-methods.js.map +1 -0
  70. package/dist/generated/carriers/carriers.d.ts +150 -0
  71. package/dist/generated/carriers/carriers.d.ts.map +1 -0
  72. package/dist/generated/carriers/carriers.js +196 -0
  73. package/dist/generated/carriers/carriers.js.map +1 -0
  74. package/dist/generated/carts/carts.d.ts +136 -0
  75. package/dist/generated/carts/carts.d.ts.map +1 -0
  76. package/dist/generated/carts/carts.js +183 -0
  77. package/dist/generated/carts/carts.js.map +1 -0
  78. package/dist/generated/categories/categories.d.ts +24 -0
  79. package/dist/generated/categories/categories.d.ts.map +1 -0
  80. package/dist/generated/categories/categories.js +16 -0
  81. package/dist/generated/categories/categories.js.map +1 -0
  82. package/dist/generated/check-in/check-in.d.ts +66 -0
  83. package/dist/generated/check-in/check-in.d.ts.map +1 -0
  84. package/dist/generated/check-in/check-in.js +102 -0
  85. package/dist/generated/check-in/check-in.js.map +1 -0
  86. package/dist/generated/checkout/checkout.d.ts +45 -0
  87. package/dist/generated/checkout/checkout.d.ts.map +1 -0
  88. package/dist/generated/checkout/checkout.js +43 -0
  89. package/dist/generated/checkout/checkout.js.map +1 -0
  90. package/dist/generated/client-config/client-config.d.ts +31 -0
  91. package/dist/generated/client-config/client-config.d.ts.map +1 -0
  92. package/dist/generated/client-config/client-config.js +22 -0
  93. package/dist/generated/client-config/client-config.js.map +1 -0
  94. package/dist/generated/container-types/container-types.d.ts +31 -0
  95. package/dist/generated/container-types/container-types.d.ts.map +1 -0
  96. package/dist/generated/container-types/container-types.js +26 -0
  97. package/dist/generated/container-types/container-types.js.map +1 -0
  98. package/dist/generated/containers/containers.d.ts +101 -0
  99. package/dist/generated/containers/containers.d.ts.map +1 -0
  100. package/dist/generated/containers/containers.js +114 -0
  101. package/dist/generated/containers/containers.js.map +1 -0
  102. package/dist/generated/coupons/coupons.d.ts +154 -22
  103. package/dist/generated/coupons/coupons.d.ts.map +1 -1
  104. package/dist/generated/coupons/coupons.js +179 -5
  105. package/dist/generated/coupons/coupons.js.map +1 -1
  106. package/dist/generated/damage-reports/damage-reports.d.ts +94 -0
  107. package/dist/generated/damage-reports/damage-reports.d.ts.map +1 -0
  108. package/dist/generated/damage-reports/damage-reports.js +115 -0
  109. package/dist/generated/damage-reports/damage-reports.js.map +1 -0
  110. package/dist/generated/discount-rules/discount-rules.d.ts +10 -9
  111. package/dist/generated/discount-rules/discount-rules.d.ts.map +1 -1
  112. package/dist/generated/discount-rules/discount-rules.js +19 -2
  113. package/dist/generated/discount-rules/discount-rules.js.map +1 -1
  114. package/dist/generated/employee-assignments/employee-assignments.d.ts +153 -0
  115. package/dist/generated/employee-assignments/employee-assignments.d.ts.map +1 -0
  116. package/dist/generated/employee-assignments/employee-assignments.js +121 -0
  117. package/dist/generated/employee-assignments/employee-assignments.js.map +1 -0
  118. package/dist/generated/files/files.d.ts +24 -0
  119. package/dist/generated/files/files.d.ts.map +1 -0
  120. package/dist/generated/files/files.js +27 -0
  121. package/dist/generated/files/files.js.map +1 -0
  122. package/dist/generated/folders/folders.d.ts +101 -0
  123. package/dist/generated/folders/folders.d.ts.map +1 -0
  124. package/dist/generated/folders/folders.js +125 -0
  125. package/dist/generated/folders/folders.js.map +1 -0
  126. package/dist/generated/forklift/forklift.d.ts +213 -0
  127. package/dist/generated/forklift/forklift.d.ts.map +1 -0
  128. package/dist/generated/forklift/forklift.js +162 -0
  129. package/dist/generated/forklift/forklift.js.map +1 -0
  130. package/dist/generated/fortnox-o-auth/fortnox-o-auth.d.ts +7 -6
  131. package/dist/generated/fortnox-o-auth/fortnox-o-auth.d.ts.map +1 -1
  132. package/dist/generated/fortnox-o-auth/fortnox-o-auth.js +4 -0
  133. package/dist/generated/fortnox-o-auth/fortnox-o-auth.js.map +1 -1
  134. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.d.ts +7 -6
  135. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.d.ts.map +1 -1
  136. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.js +4 -0
  137. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.js.map +1 -1
  138. package/dist/generated/hasura-user-webhook/hasura-user-webhook.d.ts +7 -6
  139. package/dist/generated/hasura-user-webhook/hasura-user-webhook.d.ts.map +1 -1
  140. package/dist/generated/hasura-user-webhook/hasura-user-webhook.js +4 -0
  141. package/dist/generated/hasura-user-webhook/hasura-user-webhook.js.map +1 -1
  142. package/dist/generated/health/health.d.ts +7 -6
  143. package/dist/generated/health/health.d.ts.map +1 -1
  144. package/dist/generated/health/health.js +4 -0
  145. package/dist/generated/health/health.js.map +1 -1
  146. package/dist/generated/index.schemas.d.ts +13894 -1132
  147. package/dist/generated/index.schemas.d.ts.map +1 -1
  148. package/dist/generated/index.schemas.js +1747 -19
  149. package/dist/generated/index.schemas.js.map +1 -1
  150. package/dist/generated/integration-requests/integration-requests.d.ts +24 -0
  151. package/dist/generated/integration-requests/integration-requests.d.ts.map +1 -0
  152. package/dist/generated/integration-requests/integration-requests.js +23 -0
  153. package/dist/generated/integration-requests/integration-requests.js.map +1 -0
  154. package/dist/generated/integrations/integrations.d.ts +62 -19
  155. package/dist/generated/integrations/integrations.d.ts.map +1 -1
  156. package/dist/generated/integrations/integrations.js +93 -2
  157. package/dist/generated/integrations/integrations.js.map +1 -1
  158. package/dist/generated/invoice-basis-rows/invoice-basis-rows.d.ts +24 -0
  159. package/dist/generated/invoice-basis-rows/invoice-basis-rows.d.ts.map +1 -0
  160. package/dist/generated/invoice-basis-rows/invoice-basis-rows.js +23 -0
  161. package/dist/generated/invoice-basis-rows/invoice-basis-rows.js.map +1 -0
  162. package/dist/generated/invoice-details/invoice-details.d.ts +60 -0
  163. package/dist/generated/invoice-details/invoice-details.d.ts.map +1 -0
  164. package/dist/generated/invoice-details/invoice-details.js +39 -0
  165. package/dist/generated/invoice-details/invoice-details.js.map +1 -0
  166. package/dist/generated/invoices/invoices.d.ts +49 -27
  167. package/dist/generated/invoices/invoices.d.ts.map +1 -1
  168. package/dist/generated/invoices/invoices.js +92 -5
  169. package/dist/generated/invoices/invoices.js.map +1 -1
  170. package/dist/generated/items/items.d.ts +59 -0
  171. package/dist/generated/items/items.d.ts.map +1 -0
  172. package/dist/generated/items/items.js +68 -0
  173. package/dist/generated/items/items.js.map +1 -0
  174. package/dist/generated/lookups/lookups.d.ts +24 -0
  175. package/dist/generated/lookups/lookups.d.ts.map +1 -0
  176. package/dist/generated/lookups/lookups.js +23 -0
  177. package/dist/generated/lookups/lookups.js.map +1 -0
  178. package/dist/generated/manual-billing-line/manual-billing-line.d.ts +24 -0
  179. package/dist/generated/manual-billing-line/manual-billing-line.d.ts.map +1 -0
  180. package/dist/generated/manual-billing-line/manual-billing-line.js +27 -0
  181. package/dist/generated/manual-billing-line/manual-billing-line.js.map +1 -0
  182. package/dist/generated/me/me.d.ts +104 -7
  183. package/dist/generated/me/me.d.ts.map +1 -1
  184. package/dist/generated/me/me.js +105 -0
  185. package/dist/generated/me/me.js.map +1 -1
  186. package/dist/generated/me-campaign/me-campaign.d.ts +31 -0
  187. package/dist/generated/me-campaign/me-campaign.d.ts.map +1 -0
  188. package/dist/generated/me-campaign/me-campaign.js +22 -0
  189. package/dist/generated/me-campaign/me-campaign.js.map +1 -0
  190. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts +45 -0
  191. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts.map +1 -0
  192. package/dist/generated/me-notification-preferences/me-notification-preferences.js +40 -0
  193. package/dist/generated/me-notification-preferences/me-notification-preferences.js.map +1 -0
  194. package/dist/generated/merchandise/merchandise.d.ts +211 -0
  195. package/dist/generated/merchandise/merchandise.d.ts.map +1 -0
  196. package/dist/generated/merchandise/merchandise.js +220 -0
  197. package/dist/generated/merchandise/merchandise.js.map +1 -0
  198. package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts +38 -0
  199. package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts.map +1 -0
  200. package/dist/generated/merchandise-checkout/merchandise-checkout.js +48 -0
  201. package/dist/generated/merchandise-checkout/merchandise-checkout.js.map +1 -0
  202. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts +84 -0
  203. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts.map +1 -0
  204. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js +85 -0
  205. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js.map +1 -0
  206. package/dist/generated/move-adjust/move-adjust.d.ts +38 -0
  207. package/dist/generated/move-adjust/move-adjust.d.ts.map +1 -0
  208. package/dist/generated/move-adjust/move-adjust.js +52 -0
  209. package/dist/generated/move-adjust/move-adjust.js.map +1 -0
  210. package/dist/generated/notification-debug/notification-debug.d.ts +35 -0
  211. package/dist/generated/notification-debug/notification-debug.d.ts.map +1 -0
  212. package/dist/generated/notification-debug/notification-debug.js +26 -0
  213. package/dist/generated/notification-debug/notification-debug.js.map +1 -0
  214. package/dist/generated/notification-dispatches/notification-dispatches.d.ts +102 -0
  215. package/dist/generated/notification-dispatches/notification-dispatches.d.ts.map +1 -0
  216. package/dist/generated/notification-dispatches/notification-dispatches.js +72 -0
  217. package/dist/generated/notification-dispatches/notification-dispatches.js.map +1 -0
  218. package/dist/generated/notification-events/notification-events.d.ts +45 -0
  219. package/dist/generated/notification-events/notification-events.d.ts.map +1 -0
  220. package/dist/generated/notification-events/notification-events.js +43 -0
  221. package/dist/generated/notification-events/notification-events.js.map +1 -0
  222. package/dist/generated/notification-health/notification-health.d.ts +24 -0
  223. package/dist/generated/notification-health/notification-health.d.ts.map +1 -0
  224. package/dist/generated/notification-health/notification-health.js +16 -0
  225. package/dist/generated/notification-health/notification-health.js.map +1 -0
  226. package/dist/generated/notification-preferences/notification-preferences.d.ts +56 -0
  227. package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -0
  228. package/dist/generated/notification-preferences/notification-preferences.js +46 -0
  229. package/dist/generated/notification-preferences/notification-preferences.js.map +1 -0
  230. package/dist/generated/notification-requests/notification-requests.d.ts +52 -0
  231. package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -0
  232. package/dist/generated/notification-requests/notification-requests.js +28 -0
  233. package/dist/generated/notification-requests/notification-requests.js.map +1 -0
  234. package/dist/generated/notification-rules/notification-rules.d.ts +187 -0
  235. package/dist/generated/notification-rules/notification-rules.d.ts.map +1 -0
  236. package/dist/generated/notification-rules/notification-rules.js +147 -0
  237. package/dist/generated/notification-rules/notification-rules.js.map +1 -0
  238. package/dist/generated/notification-settings/notification-settings.d.ts +73 -0
  239. package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -0
  240. package/dist/generated/notification-settings/notification-settings.js +90 -0
  241. package/dist/generated/notification-settings/notification-settings.js.map +1 -0
  242. package/dist/generated/notification-templates/notification-templates.d.ts +352 -0
  243. package/dist/generated/notification-templates/notification-templates.d.ts.map +1 -0
  244. package/dist/generated/notification-templates/notification-templates.js +245 -0
  245. package/dist/generated/notification-templates/notification-templates.js.map +1 -0
  246. package/dist/generated/order-groups/order-groups.d.ts +38 -0
  247. package/dist/generated/order-groups/order-groups.d.ts.map +1 -0
  248. package/dist/generated/order-groups/order-groups.js +37 -0
  249. package/dist/generated/order-groups/order-groups.js.map +1 -0
  250. package/dist/generated/orders/orders.d.ts +248 -9
  251. package/dist/generated/orders/orders.d.ts.map +1 -1
  252. package/dist/generated/orders/orders.js +428 -4
  253. package/dist/generated/orders/orders.js.map +1 -1
  254. package/dist/generated/org-contacts/org-contacts.d.ts +66 -0
  255. package/dist/generated/org-contacts/org-contacts.d.ts.map +1 -0
  256. package/dist/generated/org-contacts/org-contacts.js +87 -0
  257. package/dist/generated/org-contacts/org-contacts.js.map +1 -0
  258. package/dist/generated/organization-contracts/organization-contracts.d.ts +60 -0
  259. package/dist/generated/organization-contracts/organization-contracts.d.ts.map +1 -0
  260. package/dist/generated/organization-contracts/organization-contracts.js +39 -0
  261. package/dist/generated/organization-contracts/organization-contracts.js.map +1 -0
  262. package/dist/generated/organization-members/organization-members.d.ts +164 -0
  263. package/dist/generated/organization-members/organization-members.d.ts.map +1 -0
  264. package/dist/generated/organization-members/organization-members.js +113 -0
  265. package/dist/generated/organization-members/organization-members.js.map +1 -0
  266. package/dist/generated/organization-settings/organization-settings.d.ts +38 -0
  267. package/dist/generated/organization-settings/organization-settings.d.ts.map +1 -0
  268. package/dist/generated/organization-settings/organization-settings.js +41 -0
  269. package/dist/generated/organization-settings/organization-settings.js.map +1 -0
  270. package/dist/generated/organizations/organizations.d.ts +94 -0
  271. package/dist/generated/organizations/organizations.d.ts.map +1 -0
  272. package/dist/generated/organizations/organizations.js +129 -0
  273. package/dist/generated/organizations/organizations.js.map +1 -0
  274. package/dist/generated/outbound/outbound.d.ts +52 -0
  275. package/dist/generated/outbound/outbound.d.ts.map +1 -0
  276. package/dist/generated/outbound/outbound.js +77 -0
  277. package/dist/generated/outbound/outbound.js.map +1 -0
  278. package/dist/generated/payment-instruments/payment-instruments.d.ts +59 -5
  279. package/dist/generated/payment-instruments/payment-instruments.d.ts.map +1 -1
  280. package/dist/generated/payment-instruments/payment-instruments.js +45 -0
  281. package/dist/generated/payment-instruments/payment-instruments.js.map +1 -1
  282. package/dist/generated/payment-methods/payment-methods.d.ts +24 -0
  283. package/dist/generated/payment-methods/payment-methods.d.ts.map +1 -0
  284. package/dist/generated/payment-methods/payment-methods.js +23 -0
  285. package/dist/generated/payment-methods/payment-methods.js.map +1 -0
  286. package/dist/generated/payment-terms/payment-terms.d.ts +24 -0
  287. package/dist/generated/payment-terms/payment-terms.d.ts.map +1 -0
  288. package/dist/generated/payment-terms/payment-terms.js +23 -0
  289. package/dist/generated/payment-terms/payment-terms.js.map +1 -0
  290. package/dist/generated/pickup-label/pickup-label.d.ts +24 -0
  291. package/dist/generated/pickup-label/pickup-label.d.ts.map +1 -0
  292. package/dist/generated/pickup-label/pickup-label.js +16 -0
  293. package/dist/generated/pickup-label/pickup-label.js.map +1 -0
  294. package/dist/generated/pods/pods.d.ts +122 -0
  295. package/dist/generated/pods/pods.d.ts.map +1 -0
  296. package/dist/generated/pods/pods.js +172 -0
  297. package/dist/generated/pods/pods.js.map +1 -0
  298. package/dist/generated/positions/positions.d.ts +136 -0
  299. package/dist/generated/positions/positions.d.ts.map +1 -0
  300. package/dist/generated/positions/positions.js +141 -0
  301. package/dist/generated/positions/positions.js.map +1 -0
  302. package/dist/generated/posti-integration-mode/posti-integration-mode.d.ts +45 -0
  303. package/dist/generated/posti-integration-mode/posti-integration-mode.d.ts.map +1 -0
  304. package/dist/generated/posti-integration-mode/posti-integration-mode.js +40 -0
  305. package/dist/generated/posti-integration-mode/posti-integration-mode.js.map +1 -0
  306. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.d.ts +74 -0
  307. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.d.ts.map +1 -0
  308. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.js +64 -0
  309. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.js.map +1 -0
  310. package/dist/generated/posti-wms-ops/posti-wms-ops.d.ts +24 -0
  311. package/dist/generated/posti-wms-ops/posti-wms-ops.d.ts.map +1 -0
  312. package/dist/generated/posti-wms-ops/posti-wms-ops.js +16 -0
  313. package/dist/generated/posti-wms-ops/posti-wms-ops.js.map +1 -0
  314. package/dist/generated/price-book/price-book.d.ts +165 -0
  315. package/dist/generated/price-book/price-book.d.ts.map +1 -0
  316. package/dist/generated/price-book/price-book.js +136 -0
  317. package/dist/generated/price-book/price-book.js.map +1 -0
  318. package/dist/generated/pricing-rules/pricing-rules.d.ts +121 -11
  319. package/dist/generated/pricing-rules/pricing-rules.d.ts.map +1 -1
  320. package/dist/generated/pricing-rules/pricing-rules.js +129 -3
  321. package/dist/generated/pricing-rules/pricing-rules.js.map +1 -1
  322. package/dist/generated/products/products.d.ts +158 -0
  323. package/dist/generated/products/products.d.ts.map +1 -0
  324. package/dist/generated/products/products.js +198 -0
  325. package/dist/generated/products/products.js.map +1 -0
  326. package/dist/generated/provider-switch/provider-switch.d.ts +9 -8
  327. package/dist/generated/provider-switch/provider-switch.d.ts.map +1 -1
  328. package/dist/generated/provider-switch/provider-switch.js +28 -2
  329. package/dist/generated/provider-switch/provider-switch.js.map +1 -1
  330. package/dist/generated/receive/receive.d.ts +66 -0
  331. package/dist/generated/receive/receive.d.ts.map +1 -0
  332. package/dist/generated/receive/receive.js +102 -0
  333. package/dist/generated/receive/receive.js.map +1 -0
  334. package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts +66 -0
  335. package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts.map +1 -0
  336. package/dist/generated/recurring-fee-configs/recurring-fee-configs.js +87 -0
  337. package/dist/generated/recurring-fee-configs/recurring-fee-configs.js.map +1 -0
  338. package/dist/generated/route-stops/route-stops.d.ts +66 -0
  339. package/dist/generated/route-stops/route-stops.d.ts.map +1 -0
  340. package/dist/generated/route-stops/route-stops.js +102 -0
  341. package/dist/generated/route-stops/route-stops.js.map +1 -0
  342. package/dist/generated/routes/routes.d.ts +220 -0
  343. package/dist/generated/routes/routes.d.ts.map +1 -0
  344. package/dist/generated/routes/routes.js +340 -0
  345. package/dist/generated/routes/routes.js.map +1 -0
  346. package/dist/generated/sales-orders/sales-orders.d.ts +38 -0
  347. package/dist/generated/sales-orders/sales-orders.d.ts.map +1 -0
  348. package/dist/generated/sales-orders/sales-orders.js +37 -0
  349. package/dist/generated/sales-orders/sales-orders.js.map +1 -0
  350. package/dist/generated/sender-identities/sender-identities.d.ts +137 -0
  351. package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -0
  352. package/dist/generated/sender-identities/sender-identities.js +110 -0
  353. package/dist/generated/sender-identities/sender-identities.js.map +1 -0
  354. package/dist/generated/service-points/service-points.d.ts +35 -0
  355. package/dist/generated/service-points/service-points.d.ts.map +1 -0
  356. package/dist/generated/service-points/service-points.js +22 -0
  357. package/dist/generated/service-points/service-points.js.map +1 -0
  358. package/dist/generated/service-zones/service-zones.d.ts +94 -0
  359. package/dist/generated/service-zones/service-zones.d.ts.map +1 -0
  360. package/dist/generated/service-zones/service-zones.js +122 -0
  361. package/dist/generated/service-zones/service-zones.js.map +1 -0
  362. package/dist/generated/sessions/sessions.d.ts +24 -0
  363. package/dist/generated/sessions/sessions.d.ts.map +1 -0
  364. package/dist/generated/sessions/sessions.js +16 -0
  365. package/dist/generated/sessions/sessions.js.map +1 -0
  366. package/dist/generated/shipments/shipments.d.ts +24 -0
  367. package/dist/generated/shipments/shipments.d.ts.map +1 -0
  368. package/dist/generated/shipments/shipments.js +16 -0
  369. package/dist/generated/shipments/shipments.js.map +1 -0
  370. package/dist/generated/slot-configs/slot-configs.d.ts +80 -0
  371. package/dist/generated/slot-configs/slot-configs.d.ts.map +1 -0
  372. package/dist/generated/slot-configs/slot-configs.js +112 -0
  373. package/dist/generated/slot-configs/slot-configs.js.map +1 -0
  374. package/dist/generated/stripe-webhook/stripe-webhook.d.ts +7 -6
  375. package/dist/generated/stripe-webhook/stripe-webhook.d.ts.map +1 -1
  376. package/dist/generated/stripe-webhook/stripe-webhook.js +4 -0
  377. package/dist/generated/stripe-webhook/stripe-webhook.js.map +1 -1
  378. package/dist/generated/subscription-configs/subscription-configs.d.ts +12 -11
  379. package/dist/generated/subscription-configs/subscription-configs.d.ts.map +1 -1
  380. package/dist/generated/subscription-configs/subscription-configs.js +32 -2
  381. package/dist/generated/subscription-configs/subscription-configs.js.map +1 -1
  382. package/dist/generated/suppressions/suppressions.d.ts +92 -0
  383. package/dist/generated/suppressions/suppressions.d.ts.map +1 -0
  384. package/dist/generated/suppressions/suppressions.js +92 -0
  385. package/dist/generated/suppressions/suppressions.js.map +1 -0
  386. package/dist/generated/sync-dimensions/sync-dimensions.d.ts +24 -0
  387. package/dist/generated/sync-dimensions/sync-dimensions.d.ts.map +1 -0
  388. package/dist/generated/sync-dimensions/sync-dimensions.js +27 -0
  389. package/dist/generated/sync-dimensions/sync-dimensions.js.map +1 -0
  390. package/dist/generated/tenant-config/tenant-config.d.ts +25 -10
  391. package/dist/generated/tenant-config/tenant-config.d.ts.map +1 -1
  392. package/dist/generated/tenant-config/tenant-config.js +43 -1
  393. package/dist/generated/tenant-config/tenant-config.js.map +1 -1
  394. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts +38 -0
  395. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts.map +1 -0
  396. package/dist/generated/tenant-maintenance/tenant-maintenance.js +41 -0
  397. package/dist/generated/tenant-maintenance/tenant-maintenance.js.map +1 -0
  398. package/dist/generated/tenant-modules/tenant-modules.d.ts +38 -0
  399. package/dist/generated/tenant-modules/tenant-modules.d.ts.map +1 -0
  400. package/dist/generated/tenant-modules/tenant-modules.js +41 -0
  401. package/dist/generated/tenant-modules/tenant-modules.js.map +1 -0
  402. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts +38 -0
  403. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts.map +1 -0
  404. package/dist/generated/transport-leg-booking/transport-leg-booking.js +41 -0
  405. package/dist/generated/transport-leg-booking/transport-leg-booking.js.map +1 -0
  406. package/dist/generated/transport-legs/transport-legs.d.ts +178 -0
  407. package/dist/generated/transport-legs/transport-legs.d.ts.map +1 -0
  408. package/dist/generated/transport-legs/transport-legs.js +287 -0
  409. package/dist/generated/transport-legs/transport-legs.js.map +1 -0
  410. package/dist/generated/transport-options/transport-options.d.ts +73 -0
  411. package/dist/generated/transport-options/transport-options.d.ts.map +1 -0
  412. package/dist/generated/transport-options/transport-options.js +86 -0
  413. package/dist/generated/transport-options/transport-options.js.map +1 -0
  414. package/dist/generated/transport-services/transport-services.d.ts +122 -0
  415. package/dist/generated/transport-services/transport-services.d.ts.map +1 -0
  416. package/dist/generated/transport-services/transport-services.js +127 -0
  417. package/dist/generated/transport-services/transport-services.js.map +1 -0
  418. package/dist/generated/units-of-measure/units-of-measure.d.ts +9 -8
  419. package/dist/generated/units-of-measure/units-of-measure.d.ts.map +1 -1
  420. package/dist/generated/units-of-measure/units-of-measure.js +9 -1
  421. package/dist/generated/units-of-measure/units-of-measure.js.map +1 -1
  422. package/dist/generated/unsubscribe/unsubscribe.d.ts +56 -0
  423. package/dist/generated/unsubscribe/unsubscribe.d.ts.map +1 -0
  424. package/dist/generated/unsubscribe/unsubscribe.js +39 -0
  425. package/dist/generated/unsubscribe/unsubscribe.js.map +1 -0
  426. package/dist/generated/users/users.d.ts +99 -0
  427. package/dist/generated/users/users.d.ts.map +1 -0
  428. package/dist/generated/users/users.js +95 -0
  429. package/dist/generated/users/users.js.map +1 -0
  430. package/dist/generated/warehouse-orders/warehouse-orders.d.ts +150 -0
  431. package/dist/generated/warehouse-orders/warehouse-orders.d.ts.map +1 -0
  432. package/dist/generated/warehouse-orders/warehouse-orders.js +237 -0
  433. package/dist/generated/warehouse-orders/warehouse-orders.js.map +1 -0
  434. package/dist/generated/warehouses/warehouses.d.ts +217 -0
  435. package/dist/generated/warehouses/warehouses.d.ts.map +1 -0
  436. package/dist/generated/warehouses/warehouses.js +238 -0
  437. package/dist/generated/warehouses/warehouses.js.map +1 -0
  438. package/dist/index.d.ts +1 -1
  439. package/dist/index.d.ts.map +1 -1
  440. package/dist/permissions.d.ts +10 -3
  441. package/dist/permissions.d.ts.map +1 -1
  442. package/dist/permissions.js +11 -4
  443. package/dist/permissions.js.map +1 -1
  444. package/package.json +3 -3
  445. package/dist/generated/price-lists/price-lists.d.ts +0 -93
  446. package/dist/generated/price-lists/price-lists.d.ts.map +0 -1
  447. package/dist/generated/price-lists/price-lists.js +0 -82
  448. package/dist/generated/price-lists/price-lists.js.map +0 -1
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Generated by orval ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Vinden Core API
5
+ * Core API for the Vinden Platform
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { CreateMerchandiseEstimateRuleDto, MerchandiseEstimateRuleDto, MerchandiseEstimateRulesControllerListV1Params, UpdateMerchandiseEstimateRuleDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type merchandiseEstimateRulesControllerListV1Response200 = {
11
+ data: MerchandiseEstimateRuleDto[];
12
+ status: 200;
13
+ };
14
+ export type merchandiseEstimateRulesControllerListV1ResponseSuccess = (merchandiseEstimateRulesControllerListV1Response200) & {
15
+ headers: Headers;
16
+ };
17
+ export type merchandiseEstimateRulesControllerListV1Response = (merchandiseEstimateRulesControllerListV1ResponseSuccess);
18
+ export declare const getMerchandiseEstimateRulesControllerListV1Url: (params?: MerchandiseEstimateRulesControllerListV1Params) => string;
19
+ /**
20
+ * Ordered by (sourceCategoryId, tenantGoodsId) โ€” the matrix's own key โ€” so paging through it is stable. Soft-deleted rules are excluded. ๐Ÿ”’ Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
21
+ * @summary List the tenant's estimate rules
22
+ */
23
+ export declare const merchandiseEstimateRulesControllerListV1: (params?: MerchandiseEstimateRulesControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseEstimateRulesControllerListV1Response>;
24
+ export type merchandiseEstimateRulesControllerCreateV1Response201 = {
25
+ data: MerchandiseEstimateRuleDto;
26
+ status: 201;
27
+ };
28
+ export type merchandiseEstimateRulesControllerCreateV1Response400 = {
29
+ data: void;
30
+ status: 400;
31
+ };
32
+ export type merchandiseEstimateRulesControllerCreateV1Response409 = {
33
+ data: void;
34
+ status: 409;
35
+ };
36
+ export type merchandiseEstimateRulesControllerCreateV1ResponseSuccess = (merchandiseEstimateRulesControllerCreateV1Response201) & {
37
+ headers: Headers;
38
+ };
39
+ export type merchandiseEstimateRulesControllerCreateV1ResponseError = (merchandiseEstimateRulesControllerCreateV1Response400 | merchandiseEstimateRulesControllerCreateV1Response409) & {
40
+ headers: Headers;
41
+ };
42
+ export type merchandiseEstimateRulesControllerCreateV1Response = (merchandiseEstimateRulesControllerCreateV1ResponseSuccess | merchandiseEstimateRulesControllerCreateV1ResponseError);
43
+ export declare const getMerchandiseEstimateRulesControllerCreateV1Url: () => string;
44
+ /**
45
+ * One live rule per (sourceCategoryId, tenantGoodsId) per tenant. A rule that was deleted can be created again โ€” the uniqueness key is partial on deleted_at, so a tombstone does not occupy the pair. ๐Ÿ”’ Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
46
+ * @summary Create an estimate rule
47
+ */
48
+ export declare const merchandiseEstimateRulesControllerCreateV1: (createMerchandiseEstimateRuleDto: CreateMerchandiseEstimateRuleDto, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseEstimateRulesControllerCreateV1Response>;
49
+ export type merchandiseEstimateRulesControllerUpdateV1Response200 = {
50
+ data: MerchandiseEstimateRuleDto;
51
+ status: 200;
52
+ };
53
+ export type merchandiseEstimateRulesControllerUpdateV1Response409 = {
54
+ data: void;
55
+ status: 409;
56
+ };
57
+ export type merchandiseEstimateRulesControllerUpdateV1ResponseSuccess = (merchandiseEstimateRulesControllerUpdateV1Response200) & {
58
+ headers: Headers;
59
+ };
60
+ export type merchandiseEstimateRulesControllerUpdateV1ResponseError = (merchandiseEstimateRulesControllerUpdateV1Response409) & {
61
+ headers: Headers;
62
+ };
63
+ export type merchandiseEstimateRulesControllerUpdateV1Response = (merchandiseEstimateRulesControllerUpdateV1ResponseSuccess | merchandiseEstimateRulesControllerUpdateV1ResponseError);
64
+ export declare const getMerchandiseEstimateRulesControllerUpdateV1Url: (id: string) => string;
65
+ /**
66
+ * An omitted field is left alone; an explicit null on minQuantity / maxQuantity removes that bound. Repointing the pair onto an existing live rule is a 409. ๐Ÿ”’ Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
67
+ * @summary Update an estimate rule (partial)
68
+ */
69
+ export declare const merchandiseEstimateRulesControllerUpdateV1: (id: string, updateMerchandiseEstimateRuleDto: UpdateMerchandiseEstimateRuleDto, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseEstimateRulesControllerUpdateV1Response>;
70
+ export type merchandiseEstimateRulesControllerRemoveV1Response204 = {
71
+ data: void;
72
+ status: 204;
73
+ };
74
+ export type merchandiseEstimateRulesControllerRemoveV1ResponseSuccess = (merchandiseEstimateRulesControllerRemoveV1Response204) & {
75
+ headers: Headers;
76
+ };
77
+ export type merchandiseEstimateRulesControllerRemoveV1Response = (merchandiseEstimateRulesControllerRemoveV1ResponseSuccess);
78
+ export declare const getMerchandiseEstimateRulesControllerRemoveV1Url: (id: string) => string;
79
+ /**
80
+ * The rule stops contributing to suggestions immediately and the same category โ†’ SKU mapping can be created again afterwards. ๐Ÿ”’ Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
81
+ * @summary Delete an estimate rule (soft delete)
82
+ */
83
+ export declare const merchandiseEstimateRulesControllerRemoveV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseEstimateRulesControllerRemoveV1Response>;
84
+ //# sourceMappingURL=merchandise-estimate-rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchandise-estimate-rules.d.ts","sourceRoot":"","sources":["../../../src/generated/merchandise-estimate-rules/merchandise-estimate-rules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,gCAAgC,EAChC,0BAA0B,EAC1B,8CAA8C,EAC9C,gCAAgC,EACjC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,0BAA0B,EAAE,CAAA;IAClC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,CAAC,mDAAmD,CAAC,GAAG;IAC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AM,MAAM,qDAAqD,GAAG;IAClE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,yDAAyD,GAAG,CAAC,qDAAqD,CAAC,GAAG;IAChI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,uDAAuD,GAAG,CAAC,qDAAqD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kDAAkD,GAAG,CAAC,yDAAyD,GAAG,uDAAuD,CAAC,CAAA;AAEtL,eAAO,MAAM,gDAAgD,GAAI,IAAI,MAAM,WAM1E,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,0CAA0C,GAAU,IAAI,MAAM,EACvE,kCAAkC,gCAAgC,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,kDAAkD,CAe7K,CAAA;AAGH,MAAM,MAAM,qDAAqD,GAAG;IAClE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,yDAAyD,GAAG,CAAC,qDAAqD,CAAC,GAAG;IAChI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,kDAAkD,GAAG,CAAC,yDAAyD,CAAC,CAAA;AAE5H,eAAO,MAAM,gDAAgD,GAAI,IAAI,MAAM,WAM1E,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,0CAA0C,GAAU,IAAI,MAAM,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,kDAAkD,CASlL,CAAA"}
@@ -0,0 +1,85 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getMerchandiseEstimateRulesControllerListV1Url = (params) => {
4
+ const normalizedParams = new URLSearchParams();
5
+ Object.entries(params || {}).forEach(([key, value]) => {
6
+ if (value !== undefined) {
7
+ normalizedParams.append(key, value === null ? 'null' : String(value));
8
+ }
9
+ });
10
+ const stringifiedParams = normalizedParams.toString();
11
+ return stringifiedParams.length > 0 ? `/v1/merchandise-estimate-rules?${stringifiedParams}` : `/v1/merchandise-estimate-rules`;
12
+ };
13
+ /**
14
+ * Ordered by (sourceCategoryId, tenantGoodsId) โ€” the matrix's own key โ€” so paging through it is stable. Soft-deleted rules are excluded. ๐Ÿ”’ Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
15
+ * @summary List the tenant's estimate rules
16
+ */
17
+ export const merchandiseEstimateRulesControllerListV1 = async (params, options) => {
18
+ return customFetch(getMerchandiseEstimateRulesControllerListV1Url(params), {
19
+ ...options,
20
+ method: 'GET'
21
+ });
22
+ };
23
+ export const getMerchandiseEstimateRulesControllerCreateV1Url = () => {
24
+ return `/v1/merchandise-estimate-rules`;
25
+ };
26
+ /**
27
+ * One live rule per (sourceCategoryId, tenantGoodsId) per tenant. A rule that was deleted can be created again โ€” the uniqueness key is partial on deleted_at, so a tombstone does not occupy the pair. ๐Ÿ”’ Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
28
+ * @summary Create an estimate rule
29
+ */
30
+ export const merchandiseEstimateRulesControllerCreateV1 = async (createMerchandiseEstimateRuleDto, options) => {
31
+ const getHeaders = (h) => {
32
+ if (!h)
33
+ return {};
34
+ if (h instanceof Headers)
35
+ return Object.fromEntries(h.entries());
36
+ if (Array.isArray(h))
37
+ return Object.fromEntries(h);
38
+ return h;
39
+ };
40
+ return customFetch(getMerchandiseEstimateRulesControllerCreateV1Url(), {
41
+ ...options,
42
+ method: 'POST',
43
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
44
+ body: JSON.stringify(createMerchandiseEstimateRuleDto)
45
+ });
46
+ };
47
+ export const getMerchandiseEstimateRulesControllerUpdateV1Url = (id) => {
48
+ return `/v1/merchandise-estimate-rules/${id}`;
49
+ };
50
+ /**
51
+ * An omitted field is left alone; an explicit null on minQuantity / maxQuantity removes that bound. Repointing the pair onto an existing live rule is a 409. ๐Ÿ”’ Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
52
+ * @summary Update an estimate rule (partial)
53
+ */
54
+ export const merchandiseEstimateRulesControllerUpdateV1 = async (id, updateMerchandiseEstimateRuleDto, options) => {
55
+ const getHeaders = (h) => {
56
+ if (!h)
57
+ return {};
58
+ if (h instanceof Headers)
59
+ return Object.fromEntries(h.entries());
60
+ if (Array.isArray(h))
61
+ return Object.fromEntries(h);
62
+ return h;
63
+ };
64
+ return customFetch(getMerchandiseEstimateRulesControllerUpdateV1Url(id), {
65
+ ...options,
66
+ method: 'PATCH',
67
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
68
+ body: JSON.stringify(updateMerchandiseEstimateRuleDto)
69
+ });
70
+ };
71
+ ;
72
+ export const getMerchandiseEstimateRulesControllerRemoveV1Url = (id) => {
73
+ return `/v1/merchandise-estimate-rules/${id}`;
74
+ };
75
+ /**
76
+ * The rule stops contributing to suggestions immediately and the same category โ†’ SKU mapping can be created again afterwards. ๐Ÿ”’ Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
77
+ * @summary Delete an estimate rule (soft delete)
78
+ */
79
+ export const merchandiseEstimateRulesControllerRemoveV1 = async (id, options) => {
80
+ return customFetch(getMerchandiseEstimateRulesControllerRemoveV1Url(id), {
81
+ ...options,
82
+ method: 'DELETE'
83
+ });
84
+ };
85
+ //# sourceMappingURL=merchandise-estimate-rules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merchandise-estimate-rules.js","sourceRoot":"","sources":["../../../src/generated/merchandise-estimate-rules/merchandise-estimate-rules.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC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,CAAC,gCAAgC,CAAC;KACvD,CACF,CAAC;AAAA,CAAC,CAAA;AAWH,CAAC;AAID,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAAC,EAAU,EAAG,EAAE;IAK9E,OAAO,kCAAkC,EAAE,EAAE,CAAA;AAC/C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA+D,EAAE;IAEvL,OAAO,WAAW,CAAqD,gDAAgD,CAAC,EAAE,CAAC,EAC3H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,QAAQ;KAGjB,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Generated by orval ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Vinden Core API
5
+ * Core API for the Vinden Platform
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { AdjustCommandDto, AdjustResultDto, MoveCommandDto, MoveResultDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type moveAdjustControllerMoveV1Response200 = {
11
+ data: MoveResultDto;
12
+ status: 200;
13
+ };
14
+ export type moveAdjustControllerMoveV1ResponseSuccess = (moveAdjustControllerMoveV1Response200) & {
15
+ headers: Headers;
16
+ };
17
+ export type moveAdjustControllerMoveV1Response = (moveAdjustControllerMoveV1ResponseSuccess);
18
+ export declare const getMoveAdjustControllerMoveV1Url: () => string;
19
+ /**
20
+ * ๐Ÿ”’ Requires permission: inventory:move. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
21
+ * @summary Relocate a pod to another container, split a quantity into a new pod, or merge it into another pod (MOVE movement)
22
+ */
23
+ export declare const moveAdjustControllerMoveV1: (moveCommandDto: MoveCommandDto, options?: Parameters<typeof customFetch>[1]) => Promise<moveAdjustControllerMoveV1Response>;
24
+ export type moveAdjustControllerAdjustV1Response200 = {
25
+ data: AdjustResultDto;
26
+ status: 200;
27
+ };
28
+ export type moveAdjustControllerAdjustV1ResponseSuccess = (moveAdjustControllerAdjustV1Response200) & {
29
+ headers: Headers;
30
+ };
31
+ export type moveAdjustControllerAdjustV1Response = (moveAdjustControllerAdjustV1ResponseSuccess);
32
+ export declare const getMoveAdjustControllerAdjustV1Url: () => string;
33
+ /**
34
+ * ๐Ÿ”’ Requires permission: inventory:adjust. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
35
+ * @summary Signed recount of a pod's on-hand quantity with a mandatory reason (ADJUST movement; result must stay > 0)
36
+ */
37
+ export declare const moveAdjustControllerAdjustV1: (adjustCommandDto: AdjustCommandDto, options?: Parameters<typeof customFetch>[1]) => Promise<moveAdjustControllerAdjustV1Response>;
38
+ //# sourceMappingURL=move-adjust.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"move-adjust.d.ts","sourceRoot":"","sources":["../../../src/generated/move-adjust/move-adjust.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,aAAa,EACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,qCAAqC,GAAG;IAClD,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,yCAAyC,GAAG,CAAC,qCAAqC,CAAC,GAAG;IAChG,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,kCAAkC,GAAG,CAAC,yCAAyC,CAAC,CAAA;AAE5F,eAAO,MAAM,gCAAgC,cAM5C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GAAU,gBAAgB,cAAc,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,kCAAkC,CAetK,CAAA;AAGH,MAAM,MAAM,uCAAuC,GAAG;IACpD,IAAI,EAAE,eAAe,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,2CAA2C,GAAG,CAAC,uCAAuC,CAAC,GAAG;IACpG,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,oCAAoC,GAAG,CAAC,2CAA2C,CAAC,CAAA;AAEhG,eAAO,MAAM,kCAAkC,cAM9C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAU,kBAAkB,gBAAgB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,oCAAoC,CAe9K,CAAA"}
@@ -0,0 +1,52 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getMoveAdjustControllerMoveV1Url = () => {
4
+ return `/v1/inventory/move`;
5
+ };
6
+ /**
7
+ * ๐Ÿ”’ Requires permission: inventory:move. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
8
+ * @summary Relocate a pod to another container, split a quantity into a new pod, or merge it into another pod (MOVE movement)
9
+ */
10
+ export const moveAdjustControllerMoveV1 = async (moveCommandDto, options) => {
11
+ const getHeaders = (h) => {
12
+ if (!h)
13
+ return {};
14
+ if (h instanceof Headers)
15
+ return Object.fromEntries(h.entries());
16
+ if (Array.isArray(h))
17
+ return Object.fromEntries(h);
18
+ return h;
19
+ };
20
+ return customFetch(getMoveAdjustControllerMoveV1Url(), {
21
+ ...options,
22
+ method: 'POST',
23
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
24
+ body: JSON.stringify(moveCommandDto)
25
+ });
26
+ };
27
+ ;
28
+ export const getMoveAdjustControllerAdjustV1Url = () => {
29
+ return `/v1/inventory/adjust`;
30
+ };
31
+ /**
32
+ * ๐Ÿ”’ Requires permission: inventory:adjust. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
33
+ * @summary Signed recount of a pod's on-hand quantity with a mandatory reason (ADJUST movement; result must stay > 0)
34
+ */
35
+ export const moveAdjustControllerAdjustV1 = async (adjustCommandDto, options) => {
36
+ const getHeaders = (h) => {
37
+ if (!h)
38
+ return {};
39
+ if (h instanceof Headers)
40
+ return Object.fromEntries(h.entries());
41
+ if (Array.isArray(h))
42
+ return Object.fromEntries(h);
43
+ return h;
44
+ };
45
+ return customFetch(getMoveAdjustControllerAdjustV1Url(), {
46
+ ...options,
47
+ method: 'POST',
48
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
49
+ body: JSON.stringify(adjustCommandDto)
50
+ });
51
+ };
52
+ //# sourceMappingURL=move-adjust.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"move-adjust.js","sourceRoot":"","sources":["../../../src/generated/move-adjust/move-adjust.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,EAAE;IAKnD,OAAO,oBAAoB,CAAA;AAC7B,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,KAAK,EAAE,cAA8B,EAAE,OAA2C,EAA+C,EAAE;IAEzK,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAqC,gCAAgC,EAAE,EACvF;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC;KACrC,CACF,CAAC;AAAA,CAAC,CAAA;AAWH,CAAC;AAID,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IAKrD,OAAO,sBAAsB,CAAA;AAC/B,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,KAAK,EAAE,gBAAkC,EAAE,OAA2C,EAAiD,EAAE;IAEjL,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAuC,kCAAkC,EAAE,EAC3F;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC;KACvC,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Generated by orval ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Vinden Core API
5
+ * Core API for the Vinden Platform
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { SimulateDto, SimulationResultDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type notificationDebugControllerSimulateV1Response200 = {
11
+ data: SimulationResultDto;
12
+ status: 200;
13
+ };
14
+ export type notificationDebugControllerSimulateV1Response403 = {
15
+ data: void;
16
+ status: 403;
17
+ };
18
+ export type notificationDebugControllerSimulateV1Response404 = {
19
+ data: void;
20
+ status: 404;
21
+ };
22
+ export type notificationDebugControllerSimulateV1ResponseSuccess = (notificationDebugControllerSimulateV1Response200) & {
23
+ headers: Headers;
24
+ };
25
+ export type notificationDebugControllerSimulateV1ResponseError = (notificationDebugControllerSimulateV1Response403 | notificationDebugControllerSimulateV1Response404) & {
26
+ headers: Headers;
27
+ };
28
+ export type notificationDebugControllerSimulateV1Response = (notificationDebugControllerSimulateV1ResponseSuccess | notificationDebugControllerSimulateV1ResponseError);
29
+ export declare const getNotificationDebugControllerSimulateV1Url: () => string;
30
+ /**
31
+ * Replays every Phase-A stage โ€” contract validation, rule matching, recipient resolution, dedup, the opt-out matrix, template and locale precedence, rendering โ€” and reports the exact `notification_dispatch.status` each recipient would receive. Every stage runs the SAME code the send path runs, so the answer here and the outcome there cannot diverge. Disabled rules are reported too (`fired: false`), because "the rule is switched off" is the most common answer to "why did nobody get this?". Side-effect-free. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
32
+ * @summary Dry-run the fan-out pipeline for an event payload
33
+ */
34
+ export declare const notificationDebugControllerSimulateV1: (simulateDto: SimulateDto, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDebugControllerSimulateV1Response>;
35
+ //# sourceMappingURL=notification-debug.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-debug.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-debug/notification-debug.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,mBAAmB,CAAA;IACzB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG,CAAC,gDAAgD,CAAC,GAAG;IACtH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,kDAAkD,GAAG,CAAC,gDAAgD,GAAG,gDAAgD,CAAC,GAAG;IACvK,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,6CAA6C,GAAG,CAAC,oDAAoD,GAAG,kDAAkD,CAAC,CAAA;AAEvK,eAAO,MAAM,2CAA2C,cAMvD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qCAAqC,GAAU,aAAa,WAAW,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,6CAA6C,CAetL,CAAA"}
@@ -0,0 +1,26 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationDebugControllerSimulateV1Url = () => {
3
+ return `/v1/notification-debug/simulate`;
4
+ };
5
+ /**
6
+ * Replays every Phase-A stage โ€” contract validation, rule matching, recipient resolution, dedup, the opt-out matrix, template and locale precedence, rendering โ€” and reports the exact `notification_dispatch.status` each recipient would receive. Every stage runs the SAME code the send path runs, so the answer here and the outcome there cannot diverge. Disabled rules are reported too (`fired: false`), because "the rule is switched off" is the most common answer to "why did nobody get this?". Side-effect-free. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
7
+ * @summary Dry-run the fan-out pipeline for an event payload
8
+ */
9
+ export const notificationDebugControllerSimulateV1 = async (simulateDto, options) => {
10
+ const getHeaders = (h) => {
11
+ if (!h)
12
+ return {};
13
+ if (h instanceof Headers)
14
+ return Object.fromEntries(h.entries());
15
+ if (Array.isArray(h))
16
+ return Object.fromEntries(h);
17
+ return h;
18
+ };
19
+ return customFetch(getNotificationDebugControllerSimulateV1Url(), {
20
+ ...options,
21
+ method: 'POST',
22
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
23
+ body: JSON.stringify(simulateDto)
24
+ });
25
+ };
26
+ //# sourceMappingURL=notification-debug.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-debug.js","sourceRoot":"","sources":["../../../src/generated/notification-debug/notification-debug.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA0B/C,MAAM,CAAC,MAAM,2CAA2C,GAAG,GAAG,EAAE;IAK9D,OAAO,iCAAiC,CAAA;AAC1C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,KAAK,EAAE,WAAwB,EAAE,OAA2C,EAA0D,EAAE;IAEzL,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAgD,2CAA2C,EAAE,EAC7G;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;KAClC,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,102 @@
1
+ /**
2
+ * Generated by orval ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Vinden Core API
5
+ * Core API for the Vinden Platform
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { NotificationDispatchDetailDto, NotificationDispatchesControllerListV1Params, PaginatedNotificationDispatchesDto, ResendBatchDto, ResendBatchResultDto, ResendResultDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type notificationDispatchesControllerListV1Response200 = {
11
+ data: PaginatedNotificationDispatchesDto;
12
+ status: 200;
13
+ };
14
+ export type notificationDispatchesControllerListV1Response400 = {
15
+ data: void;
16
+ status: 400;
17
+ };
18
+ export type notificationDispatchesControllerListV1ResponseSuccess = (notificationDispatchesControllerListV1Response200) & {
19
+ headers: Headers;
20
+ };
21
+ export type notificationDispatchesControllerListV1ResponseError = (notificationDispatchesControllerListV1Response400) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationDispatchesControllerListV1Response = (notificationDispatchesControllerListV1ResponseSuccess | notificationDispatchesControllerListV1ResponseError);
25
+ export declare const getNotificationDispatchesControllerListV1Url: (params?: NotificationDispatchesControllerListV1Params) => string;
26
+ /**
27
+ * Over the monthly-partitioned dispatch table, so the createdFrom/createdTo range is always bounded โ€” it defaults to the last 30 days and an invalid or inverted range is `400 date_range_required`. Test-sends are hidden unless `isTest=true`. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
28
+ * @summary List message dispatches
29
+ */
30
+ export declare const notificationDispatchesControllerListV1: (params?: NotificationDispatchesControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerListV1Response>;
31
+ export type notificationDispatchesControllerGetByIdV1Response200 = {
32
+ data: NotificationDispatchDetailDto;
33
+ status: 200;
34
+ };
35
+ export type notificationDispatchesControllerGetByIdV1Response404 = {
36
+ data: void;
37
+ status: 404;
38
+ };
39
+ export type notificationDispatchesControllerGetByIdV1ResponseSuccess = (notificationDispatchesControllerGetByIdV1Response200) & {
40
+ headers: Headers;
41
+ };
42
+ export type notificationDispatchesControllerGetByIdV1ResponseError = (notificationDispatchesControllerGetByIdV1Response404) & {
43
+ headers: Headers;
44
+ };
45
+ export type notificationDispatchesControllerGetByIdV1Response = (notificationDispatchesControllerGetByIdV1ResponseSuccess | notificationDispatchesControllerGetByIdV1ResponseError);
46
+ export declare const getNotificationDispatchesControllerGetByIdV1Url: (id: string) => string;
47
+ /**
48
+ * Adds `resolutionReason` (why this address was chosen) and the provider `deliveryEvents` timeline. `renderedBody` is returned only when the tenant enabled body storage and the row is inside the 90-day scrub window โ€” otherwise `bodyRetained` is false and the body is null. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
49
+ * @summary Get one dispatch with its delivery timeline
50
+ */
51
+ export declare const notificationDispatchesControllerGetByIdV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerGetByIdV1Response>;
52
+ export type notificationDispatchesControllerResendBatchV1Response202 = {
53
+ data: ResendBatchResultDto;
54
+ status: 202;
55
+ };
56
+ export type notificationDispatchesControllerResendBatchV1Response400 = {
57
+ data: void;
58
+ status: 400;
59
+ };
60
+ export type notificationDispatchesControllerResendBatchV1Response409 = {
61
+ data: void;
62
+ status: 409;
63
+ };
64
+ export type notificationDispatchesControllerResendBatchV1ResponseSuccess = (notificationDispatchesControllerResendBatchV1Response202) & {
65
+ headers: Headers;
66
+ };
67
+ export type notificationDispatchesControllerResendBatchV1ResponseError = (notificationDispatchesControllerResendBatchV1Response400 | notificationDispatchesControllerResendBatchV1Response409) & {
68
+ headers: Headers;
69
+ };
70
+ export type notificationDispatchesControllerResendBatchV1Response = (notificationDispatchesControllerResendBatchV1ResponseSuccess | notificationDispatchesControllerResendBatchV1ResponseError);
71
+ export declare const getNotificationDispatchesControllerResendBatchV1Url: () => string;
72
+ /**
73
+ * Transient `failed` rows only โ€” `render_failed`, bounced and suppressed rows need their cause fixed first (04 ยง11). Capped, and re-counted server-side: if the filter no longer matches the number the operator confirmed, the batch is refused with the fresh count rather than sent. Each row is cloned through the same gate a single resend runs, so a now-suppressed address lands terminal instead of being mailed. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
74
+ * @summary Resend a batch of transient failures
75
+ */
76
+ export declare const notificationDispatchesControllerResendBatchV1: (resendBatchDto: ResendBatchDto, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerResendBatchV1Response>;
77
+ export type notificationDispatchesControllerResendV1Response202 = {
78
+ data: ResendResultDto;
79
+ status: 202;
80
+ };
81
+ export type notificationDispatchesControllerResendV1Response404 = {
82
+ data: void;
83
+ status: 404;
84
+ };
85
+ export type notificationDispatchesControllerResendV1Response409 = {
86
+ data: void;
87
+ status: 409;
88
+ };
89
+ export type notificationDispatchesControllerResendV1ResponseSuccess = (notificationDispatchesControllerResendV1Response202) & {
90
+ headers: Headers;
91
+ };
92
+ export type notificationDispatchesControllerResendV1ResponseError = (notificationDispatchesControllerResendV1Response404 | notificationDispatchesControllerResendV1Response409) & {
93
+ headers: Headers;
94
+ };
95
+ export type notificationDispatchesControllerResendV1Response = (notificationDispatchesControllerResendV1ResponseSuccess | notificationDispatchesControllerResendV1ResponseError);
96
+ export declare const getNotificationDispatchesControllerResendV1Url: (id: string) => string;
97
+ /**
98
+ * Clones a TERMINAL dispatch into a new row โ€” the original is never mutated (02 ยง7.2) โ€” re-rendering from the currently published template version and re-running the send-time gate. A resend to an address that has since been suppressed or opted out is created as a terminal row and reported as such: this endpoint cannot punch through a hard block. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
99
+ * @summary Resend one dispatch
100
+ */
101
+ export declare const notificationDispatchesControllerResendV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationDispatchesControllerResendV1Response>;
102
+ //# sourceMappingURL=notification-dispatches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-dispatches.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-dispatches/notification-dispatches.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,6BAA6B,EAC7B,4CAA4C,EAC5C,kCAAkC,EAClC,cAAc,EACd,oBAAoB,EACpB,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,kCAAkC,CAAA;IACxC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,mDAAmD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACtH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8CAA8C,GAAG,CAAC,qDAAqD,GAAG,mDAAmD,CAAC,CAAA;AAE1K,eAAO,MAAM,4CAA4C,GAAI,SAAS,4CAA4C,WAajH,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,sCAAsC,GAAU,SAAS,4CAA4C,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,8CAA8C,CASrN,CAAA;AAGH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,6BAA6B,CAAA;IACnC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV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E,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,qDAAqD,CAe5M,CAAA;AAGH,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,eAAe,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,CAAC,mDAAmD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,qDAAqD,GAAG,CAAC,mDAAmD,GAAG,mDAAmD,CAAC,GAAG;IAChL,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gDAAgD,GAAG,CAAC,uDAAuD,GAAG,qDAAqD,CAAC,CAAA;AAEhL,eAAO,MAAM,8CAA8C,GAAI,IAAI,MAAM,WAMxE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,wCAAwC,GAAU,IAAI,MAAM,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,gDAAgD,CAS9K,CAAA"}
@@ -0,0 +1,72 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationDispatchesControllerListV1Url = (params) => {
3
+ const normalizedParams = new URLSearchParams();
4
+ Object.entries(params || {}).forEach(([key, value]) => {
5
+ if (value !== undefined) {
6
+ normalizedParams.append(key, value === null ? 'null' : String(value));
7
+ }
8
+ });
9
+ const stringifiedParams = normalizedParams.toString();
10
+ return stringifiedParams.length > 0 ? `/v1/notification-dispatches?${stringifiedParams}` : `/v1/notification-dispatches`;
11
+ };
12
+ /**
13
+ * Over the monthly-partitioned dispatch table, so the createdFrom/createdTo range is always bounded โ€” it defaults to the last 30 days and an invalid or inverted range is `400 date_range_required`. Test-sends are hidden unless `isTest=true`. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
14
+ * @summary List message dispatches
15
+ */
16
+ export const notificationDispatchesControllerListV1 = async (params, options) => {
17
+ return customFetch(getNotificationDispatchesControllerListV1Url(params), {
18
+ ...options,
19
+ method: 'GET'
20
+ });
21
+ };
22
+ export const getNotificationDispatchesControllerGetByIdV1Url = (id) => {
23
+ return `/v1/notification-dispatches/${id}`;
24
+ };
25
+ /**
26
+ * Adds `resolutionReason` (why this address was chosen) and the provider `deliveryEvents` timeline. `renderedBody` is returned only when the tenant enabled body storage and the row is inside the 90-day scrub window โ€” otherwise `bodyRetained` is false and the body is null. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
27
+ * @summary Get one dispatch with its delivery timeline
28
+ */
29
+ export const notificationDispatchesControllerGetByIdV1 = async (id, options) => {
30
+ return customFetch(getNotificationDispatchesControllerGetByIdV1Url(id), {
31
+ ...options,
32
+ method: 'GET'
33
+ });
34
+ };
35
+ export const getNotificationDispatchesControllerResendBatchV1Url = () => {
36
+ return `/v1/notification-dispatches/resend-batch`;
37
+ };
38
+ /**
39
+ * Transient `failed` rows only โ€” `render_failed`, bounced and suppressed rows need their cause fixed first (04 ยง11). Capped, and re-counted server-side: if the filter no longer matches the number the operator confirmed, the batch is refused with the fresh count rather than sent. Each row is cloned through the same gate a single resend runs, so a now-suppressed address lands terminal instead of being mailed. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
40
+ * @summary Resend a batch of transient failures
41
+ */
42
+ export const notificationDispatchesControllerResendBatchV1 = async (resendBatchDto, options) => {
43
+ const getHeaders = (h) => {
44
+ if (!h)
45
+ return {};
46
+ if (h instanceof Headers)
47
+ return Object.fromEntries(h.entries());
48
+ if (Array.isArray(h))
49
+ return Object.fromEntries(h);
50
+ return h;
51
+ };
52
+ return customFetch(getNotificationDispatchesControllerResendBatchV1Url(), {
53
+ ...options,
54
+ method: 'POST',
55
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
56
+ body: JSON.stringify(resendBatchDto)
57
+ });
58
+ };
59
+ export const getNotificationDispatchesControllerResendV1Url = (id) => {
60
+ return `/v1/notification-dispatches/${id}/resend`;
61
+ };
62
+ /**
63
+ * Clones a TERMINAL dispatch into a new row โ€” the original is never mutated (02 ยง7.2) โ€” re-rendering from the currently published template version and re-running the send-time gate. A resend to an address that has since been suppressed or opted out is created as a terminal row and reported as such: this endpoint cannot punch through a hard block. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
64
+ * @summary Resend one dispatch
65
+ */
66
+ export const notificationDispatchesControllerResendV1 = async (id, options) => {
67
+ return customFetch(getNotificationDispatchesControllerResendV1Url(id), {
68
+ ...options,
69
+ method: 'POST'
70
+ });
71
+ };
72
+ //# sourceMappingURL=notification-dispatches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-dispatches.js","sourceRoot":"","sources":["../../../src/generated/notification-dispatches/notification-dispatches.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAqB/C,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,MAAqD,EAAG,EAAE;IACrH,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,C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,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAwD,mDAAmD,EAAE,EAC7H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC;KACrC,CACF,CAAC;AAAA,CAAC,CAAA;AA2BH,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK5E,OAAO,+BAA+B,EAAE,SAAS,CAAA;AACnD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA6D,EAAE;IAEnL,OAAO,WAAW,CAAmD,8CAA8C,CAAC,EAAE,CAAC,EACvH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;KAGf,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Generated by orval ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Vinden Core API
5
+ * Core API for the Vinden Platform
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { NotificationEventDto, NotificationEventSummaryDto, NotificationEventsControllerGetByKeyV1Params, NotificationEventsControllerListV1Params } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type notificationEventsControllerListV1Response200 = {
11
+ data: NotificationEventSummaryDto[];
12
+ status: 200;
13
+ };
14
+ export type notificationEventsControllerListV1ResponseSuccess = (notificationEventsControllerListV1Response200) & {
15
+ headers: Headers;
16
+ };
17
+ export type notificationEventsControllerListV1Response = (notificationEventsControllerListV1ResponseSuccess);
18
+ export declare const getNotificationEventsControllerListV1Url: (params?: NotificationEventsControllerListV1Params) => string;
19
+ /**
20
+ * One row per (eventKey, version) so a deprecated version and its successor are both visible. Bounded platform reference data โ€” a raw array, not a pagination envelope. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
21
+ * @summary List the platform event catalog
22
+ */
23
+ export declare const notificationEventsControllerListV1: (params?: NotificationEventsControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationEventsControllerListV1Response>;
24
+ export type notificationEventsControllerGetByKeyV1Response200 = {
25
+ data: NotificationEventDto;
26
+ status: 200;
27
+ };
28
+ export type notificationEventsControllerGetByKeyV1Response404 = {
29
+ data: void;
30
+ status: 404;
31
+ };
32
+ export type notificationEventsControllerGetByKeyV1ResponseSuccess = (notificationEventsControllerGetByKeyV1Response200) & {
33
+ headers: Headers;
34
+ };
35
+ export type notificationEventsControllerGetByKeyV1ResponseError = (notificationEventsControllerGetByKeyV1Response404) & {
36
+ headers: Headers;
37
+ };
38
+ export type notificationEventsControllerGetByKeyV1Response = (notificationEventsControllerGetByKeyV1ResponseSuccess | notificationEventsControllerGetByKeyV1ResponseError);
39
+ export declare const getNotificationEventsControllerGetByKeyV1Url: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params) => string;
40
+ /**
41
+ * Returns the ACTIVE version by default โ€” the one a new rule or template would pin. `?version=N` addresses any version, including a retired one, so a rule still bound to it stays inspectable. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
42
+ * @summary Get one event with its contract
43
+ */
44
+ export declare const notificationEventsControllerGetByKeyV1: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationEventsControllerGetByKeyV1Response>;
45
+ //# sourceMappingURL=notification-events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-events.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-events/notification-events.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,4CAA4C,EAC5C,wCAAwC,EACzC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,6CAA6C,GAAG;IAC1D,IAAI,EAAE,2BAA2B,EAAE,CAAA;IACnC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG,CAAC,6CAA6C,CAAC,GAAG;IAChH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,0CAA0C,GAAG,CAAC,iDAAiD,CAAC,CAAA;AAE5G,eAAO,MAAM,wCAAwC,GAAI,SAAS,wCAAwC,WAazG,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kCAAkC,GAAU,SAAS,wCAAwC,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,0CAA0C,CASzM,CAAA;AAGH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,mDAAmD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACtH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8CAA8C,GAAG,CAAC,qDAAqD,GAAG,mDAAmD,CAAC,CAAA;AAE1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