@vindentech/api-client 0.3.0-next.5 → 0.3.0-next.50

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 (390) hide show
  1. package/dist/client.d.ts +2 -1
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +2 -2
  4. package/dist/client.js.map +1 -1
  5. package/dist/generated/_all.d.ts +82 -0
  6. package/dist/generated/_all.d.ts.map +1 -1
  7. package/dist/generated/_all.js +82 -0
  8. package/dist/generated/_all.js.map +1 -1
  9. package/dist/generated/_permissions.d.ts +1422 -31
  10. package/dist/generated/_permissions.d.ts.map +1 -1
  11. package/dist/generated/_permissions.js +351 -1
  12. package/dist/generated/_permissions.js.map +1 -1
  13. package/dist/generated/account-credits/account-credits.d.ts +2 -2
  14. package/dist/generated/account-credits/account-credits.d.ts.map +1 -1
  15. package/dist/generated/account-credits/account-credits.js.map +1 -1
  16. package/dist/generated/addresses/addresses.d.ts +86 -0
  17. package/dist/generated/addresses/addresses.d.ts.map +1 -0
  18. package/dist/generated/addresses/addresses.js +62 -0
  19. package/dist/generated/addresses/addresses.js.map +1 -0
  20. package/dist/generated/billable-event-types/billable-event-types.d.ts +23 -0
  21. package/dist/generated/billable-event-types/billable-event-types.d.ts.map +1 -0
  22. package/dist/generated/billable-event-types/billable-event-types.js +12 -0
  23. package/dist/generated/billable-event-types/billable-event-types.js.map +1 -0
  24. package/dist/generated/billable-events/billable-events.d.ts +58 -0
  25. package/dist/generated/billable-events/billable-events.d.ts.map +1 -0
  26. package/dist/generated/billable-events/billable-events.js +40 -0
  27. package/dist/generated/billable-events/billable-events.js.map +1 -0
  28. package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts +23 -0
  29. package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts.map +1 -0
  30. package/dist/generated/billable-events-webhook/billable-events-webhook.js +14 -0
  31. package/dist/generated/billable-events-webhook/billable-events-webhook.js.map +1 -0
  32. package/dist/generated/billing-accounts/billing-accounts.d.ts +10 -3
  33. package/dist/generated/billing-accounts/billing-accounts.d.ts.map +1 -1
  34. package/dist/generated/billing-accounts/billing-accounts.js +0 -1
  35. package/dist/generated/billing-accounts/billing-accounts.js.map +1 -1
  36. package/dist/generated/billing-frequencies/billing-frequencies.d.ts +23 -0
  37. package/dist/generated/billing-frequencies/billing-frequencies.d.ts.map +1 -0
  38. package/dist/generated/billing-frequencies/billing-frequencies.js +19 -0
  39. package/dist/generated/billing-frequencies/billing-frequencies.js.map +1 -0
  40. package/dist/generated/billing-model-templates/billing-model-templates.d.ts +23 -0
  41. package/dist/generated/billing-model-templates/billing-model-templates.d.ts.map +1 -0
  42. package/dist/generated/billing-model-templates/billing-model-templates.js +12 -0
  43. package/dist/generated/billing-model-templates/billing-model-templates.js.map +1 -0
  44. package/dist/generated/binding-plans/binding-plans.d.ts +64 -1
  45. package/dist/generated/binding-plans/binding-plans.d.ts.map +1 -1
  46. package/dist/generated/binding-plans/binding-plans.js +33 -0
  47. package/dist/generated/binding-plans/binding-plans.js.map +1 -1
  48. package/dist/generated/bookings/bookings.d.ts +51 -0
  49. package/dist/generated/bookings/bookings.d.ts.map +1 -0
  50. package/dist/generated/bookings/bookings.js +34 -0
  51. package/dist/generated/bookings/bookings.js.map +1 -0
  52. package/dist/generated/capacity/capacity.d.ts +135 -0
  53. package/dist/generated/capacity/capacity.d.ts.map +1 -0
  54. package/dist/generated/capacity/capacity.js +112 -0
  55. package/dist/generated/capacity/capacity.js.map +1 -0
  56. package/dist/generated/carrier-bookings/carrier-bookings.d.ts +23 -0
  57. package/dist/generated/carrier-bookings/carrier-bookings.d.ts.map +1 -0
  58. package/dist/generated/carrier-bookings/carrier-bookings.js +19 -0
  59. package/dist/generated/carrier-bookings/carrier-bookings.js.map +1 -0
  60. package/dist/generated/carrier-methods/carrier-methods.d.ts +37 -0
  61. package/dist/generated/carrier-methods/carrier-methods.d.ts.map +1 -0
  62. package/dist/generated/carrier-methods/carrier-methods.js +24 -0
  63. package/dist/generated/carrier-methods/carrier-methods.js.map +1 -0
  64. package/dist/generated/carriers/carriers.d.ts +149 -0
  65. package/dist/generated/carriers/carriers.d.ts.map +1 -0
  66. package/dist/generated/carriers/carriers.js +129 -0
  67. package/dist/generated/carriers/carriers.js.map +1 -0
  68. package/dist/generated/carts/carts.d.ts +135 -0
  69. package/dist/generated/carts/carts.d.ts.map +1 -0
  70. package/dist/generated/carts/carts.js +102 -0
  71. package/dist/generated/carts/carts.js.map +1 -0
  72. package/dist/generated/categories/categories.d.ts +23 -0
  73. package/dist/generated/categories/categories.d.ts.map +1 -0
  74. package/dist/generated/categories/categories.js +12 -0
  75. package/dist/generated/categories/categories.js.map +1 -0
  76. package/dist/generated/check-in/check-in.d.ts +65 -0
  77. package/dist/generated/check-in/check-in.d.ts.map +1 -0
  78. package/dist/generated/check-in/check-in.js +50 -0
  79. package/dist/generated/check-in/check-in.js.map +1 -0
  80. package/dist/generated/checkout/checkout.d.ts +37 -0
  81. package/dist/generated/checkout/checkout.d.ts.map +1 -0
  82. package/dist/generated/checkout/checkout.js +36 -0
  83. package/dist/generated/checkout/checkout.js.map +1 -0
  84. package/dist/generated/client-config/client-config.d.ts +30 -0
  85. package/dist/generated/client-config/client-config.d.ts.map +1 -0
  86. package/dist/generated/client-config/client-config.js +18 -0
  87. package/dist/generated/client-config/client-config.js.map +1 -0
  88. package/dist/generated/container-types/container-types.d.ts +30 -0
  89. package/dist/generated/container-types/container-types.d.ts.map +1 -0
  90. package/dist/generated/container-types/container-types.js +13 -0
  91. package/dist/generated/container-types/container-types.js.map +1 -0
  92. package/dist/generated/containers/containers.d.ts +100 -0
  93. package/dist/generated/containers/containers.d.ts.map +1 -0
  94. package/dist/generated/containers/containers.js +72 -0
  95. package/dist/generated/containers/containers.js.map +1 -0
  96. package/dist/generated/coupons/coupons.d.ts +79 -2
  97. package/dist/generated/coupons/coupons.d.ts.map +1 -1
  98. package/dist/generated/coupons/coupons.js +43 -0
  99. package/dist/generated/coupons/coupons.js.map +1 -1
  100. package/dist/generated/damage-reports/damage-reports.d.ts +93 -0
  101. package/dist/generated/damage-reports/damage-reports.d.ts.map +1 -0
  102. package/dist/generated/damage-reports/damage-reports.js +73 -0
  103. package/dist/generated/damage-reports/damage-reports.js.map +1 -0
  104. package/dist/generated/employee-assignments/employee-assignments.d.ts +152 -0
  105. package/dist/generated/employee-assignments/employee-assignments.d.ts.map +1 -0
  106. package/dist/generated/employee-assignments/employee-assignments.js +70 -0
  107. package/dist/generated/employee-assignments/employee-assignments.js.map +1 -0
  108. package/dist/generated/files/files.d.ts +23 -0
  109. package/dist/generated/files/files.d.ts.map +1 -0
  110. package/dist/generated/files/files.js +14 -0
  111. package/dist/generated/files/files.js.map +1 -0
  112. package/dist/generated/folders/folders.d.ts +100 -0
  113. package/dist/generated/folders/folders.d.ts.map +1 -0
  114. package/dist/generated/folders/folders.js +74 -0
  115. package/dist/generated/folders/folders.js.map +1 -0
  116. package/dist/generated/forklift/forklift.d.ts +212 -0
  117. package/dist/generated/forklift/forklift.d.ts.map +1 -0
  118. package/dist/generated/forklift/forklift.js +89 -0
  119. package/dist/generated/forklift/forklift.js.map +1 -0
  120. package/dist/generated/index.schemas.d.ts +12731 -967
  121. package/dist/generated/index.schemas.d.ts.map +1 -1
  122. package/dist/generated/index.schemas.js +1731 -0
  123. package/dist/generated/index.schemas.js.map +1 -1
  124. package/dist/generated/integrations/integrations.d.ts +43 -1
  125. package/dist/generated/integrations/integrations.d.ts.map +1 -1
  126. package/dist/generated/integrations/integrations.js +32 -0
  127. package/dist/generated/integrations/integrations.js.map +1 -1
  128. package/dist/generated/invoice-details/invoice-details.d.ts +34 -0
  129. package/dist/generated/invoice-details/invoice-details.d.ts.map +1 -0
  130. package/dist/generated/invoice-details/invoice-details.js +11 -0
  131. package/dist/generated/invoice-details/invoice-details.js.map +1 -0
  132. package/dist/generated/invoices/invoices.d.ts +23 -2
  133. package/dist/generated/invoices/invoices.d.ts.map +1 -1
  134. package/dist/generated/invoices/invoices.js +11 -0
  135. package/dist/generated/invoices/invoices.js.map +1 -1
  136. package/dist/generated/items/items.d.ts +58 -0
  137. package/dist/generated/items/items.d.ts.map +1 -0
  138. package/dist/generated/items/items.js +47 -0
  139. package/dist/generated/items/items.js.map +1 -0
  140. package/dist/generated/lookups/lookups.d.ts +23 -0
  141. package/dist/generated/lookups/lookups.d.ts.map +1 -0
  142. package/dist/generated/lookups/lookups.js +19 -0
  143. package/dist/generated/lookups/lookups.js.map +1 -0
  144. package/dist/generated/manual-billing-line/manual-billing-line.d.ts +23 -0
  145. package/dist/generated/manual-billing-line/manual-billing-line.d.ts.map +1 -0
  146. package/dist/generated/manual-billing-line/manual-billing-line.js +14 -0
  147. package/dist/generated/manual-billing-line/manual-billing-line.js.map +1 -0
  148. package/dist/generated/me/me.d.ts +44 -1
  149. package/dist/generated/me/me.d.ts.map +1 -1
  150. package/dist/generated/me/me.js +23 -0
  151. package/dist/generated/me/me.js.map +1 -1
  152. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts +44 -0
  153. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts.map +1 -0
  154. package/dist/generated/me-notification-preferences/me-notification-preferences.js +23 -0
  155. package/dist/generated/me-notification-preferences/me-notification-preferences.js.map +1 -0
  156. package/dist/generated/merchandise/merchandise.d.ts +143 -0
  157. package/dist/generated/merchandise/merchandise.d.ts.map +1 -0
  158. package/dist/generated/merchandise/merchandise.js +83 -0
  159. package/dist/generated/merchandise/merchandise.js.map +1 -0
  160. package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts +37 -0
  161. package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts.map +1 -0
  162. package/dist/generated/merchandise-checkout/merchandise-checkout.js +31 -0
  163. package/dist/generated/merchandise-checkout/merchandise-checkout.js.map +1 -0
  164. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts +83 -0
  165. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts.map +1 -0
  166. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js +51 -0
  167. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js.map +1 -0
  168. package/dist/generated/move-adjust/move-adjust.d.ts +37 -0
  169. package/dist/generated/move-adjust/move-adjust.d.ts.map +1 -0
  170. package/dist/generated/move-adjust/move-adjust.js +26 -0
  171. package/dist/generated/move-adjust/move-adjust.js.map +1 -0
  172. package/dist/generated/notification-debug/notification-debug.d.ts +34 -0
  173. package/dist/generated/notification-debug/notification-debug.d.ts.map +1 -0
  174. package/dist/generated/notification-debug/notification-debug.js +13 -0
  175. package/dist/generated/notification-debug/notification-debug.js.map +1 -0
  176. package/dist/generated/notification-dispatches/notification-dispatches.d.ts +101 -0
  177. package/dist/generated/notification-dispatches/notification-dispatches.d.ts.map +1 -0
  178. package/dist/generated/notification-dispatches/notification-dispatches.js +47 -0
  179. package/dist/generated/notification-dispatches/notification-dispatches.js.map +1 -0
  180. package/dist/generated/notification-events/notification-events.d.ts +44 -0
  181. package/dist/generated/notification-events/notification-events.d.ts.map +1 -0
  182. package/dist/generated/notification-events/notification-events.js +35 -0
  183. package/dist/generated/notification-events/notification-events.js.map +1 -0
  184. package/dist/generated/notification-health/notification-health.d.ts +23 -0
  185. package/dist/generated/notification-health/notification-health.d.ts.map +1 -0
  186. package/dist/generated/notification-health/notification-health.js +12 -0
  187. package/dist/generated/notification-health/notification-health.js.map +1 -0
  188. package/dist/generated/notification-preferences/notification-preferences.d.ts +55 -0
  189. package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -0
  190. package/dist/generated/notification-preferences/notification-preferences.js +29 -0
  191. package/dist/generated/notification-preferences/notification-preferences.js.map +1 -0
  192. package/dist/generated/notification-requests/notification-requests.d.ts +51 -0
  193. package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -0
  194. package/dist/generated/notification-requests/notification-requests.js +20 -0
  195. package/dist/generated/notification-requests/notification-requests.js.map +1 -0
  196. package/dist/generated/notification-rules/notification-rules.d.ts +186 -0
  197. package/dist/generated/notification-rules/notification-rules.d.ts.map +1 -0
  198. package/dist/generated/notification-rules/notification-rules.js +88 -0
  199. package/dist/generated/notification-rules/notification-rules.js.map +1 -0
  200. package/dist/generated/notification-settings/notification-settings.d.ts +72 -0
  201. package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -0
  202. package/dist/generated/notification-settings/notification-settings.js +47 -0
  203. package/dist/generated/notification-settings/notification-settings.js.map +1 -0
  204. package/dist/generated/notification-templates/notification-templates.d.ts +351 -0
  205. package/dist/generated/notification-templates/notification-templates.d.ts.map +1 -0
  206. package/dist/generated/notification-templates/notification-templates.js +139 -0
  207. package/dist/generated/notification-templates/notification-templates.js.map +1 -0
  208. package/dist/generated/order-groups/order-groups.d.ts +37 -0
  209. package/dist/generated/order-groups/order-groups.d.ts.map +1 -0
  210. package/dist/generated/order-groups/order-groups.js +29 -0
  211. package/dist/generated/order-groups/order-groups.js.map +1 -0
  212. package/dist/generated/orders/orders.d.ts +218 -8
  213. package/dist/generated/orders/orders.d.ts.map +1 -1
  214. package/dist/generated/orders/orders.js +206 -4
  215. package/dist/generated/orders/orders.js.map +1 -1
  216. package/dist/generated/org-contacts/org-contacts.d.ts +65 -0
  217. package/dist/generated/org-contacts/org-contacts.d.ts.map +1 -0
  218. package/dist/generated/org-contacts/org-contacts.js +53 -0
  219. package/dist/generated/org-contacts/org-contacts.js.map +1 -0
  220. package/dist/generated/organization-contracts/organization-contracts.d.ts +59 -0
  221. package/dist/generated/organization-contracts/organization-contracts.d.ts.map +1 -0
  222. package/dist/generated/organization-contracts/organization-contracts.js +22 -0
  223. package/dist/generated/organization-contracts/organization-contracts.js.map +1 -0
  224. package/dist/generated/organization-members/organization-members.d.ts +163 -0
  225. package/dist/generated/organization-members/organization-members.d.ts.map +1 -0
  226. package/dist/generated/organization-members/organization-members.js +62 -0
  227. package/dist/generated/organization-members/organization-members.js.map +1 -0
  228. package/dist/generated/organization-settings/organization-settings.d.ts +37 -0
  229. package/dist/generated/organization-settings/organization-settings.d.ts.map +1 -0
  230. package/dist/generated/organization-settings/organization-settings.js +24 -0
  231. package/dist/generated/organization-settings/organization-settings.js.map +1 -0
  232. package/dist/generated/organizations/organizations.d.ts +93 -0
  233. package/dist/generated/organizations/organizations.d.ts.map +1 -0
  234. package/dist/generated/organizations/organizations.js +87 -0
  235. package/dist/generated/organizations/organizations.js.map +1 -0
  236. package/dist/generated/outbound/outbound.d.ts +51 -0
  237. package/dist/generated/outbound/outbound.d.ts.map +1 -0
  238. package/dist/generated/outbound/outbound.js +38 -0
  239. package/dist/generated/outbound/outbound.js.map +1 -0
  240. package/dist/generated/payment-instruments/payment-instruments.d.ts +76 -0
  241. package/dist/generated/payment-instruments/payment-instruments.d.ts.map +1 -0
  242. package/dist/generated/payment-instruments/payment-instruments.js +41 -0
  243. package/dist/generated/payment-instruments/payment-instruments.js.map +1 -0
  244. package/dist/generated/payment-methods/payment-methods.d.ts +23 -0
  245. package/dist/generated/payment-methods/payment-methods.d.ts.map +1 -0
  246. package/dist/generated/payment-methods/payment-methods.js +19 -0
  247. package/dist/generated/payment-methods/payment-methods.js.map +1 -0
  248. package/dist/generated/payment-terms/payment-terms.d.ts +23 -0
  249. package/dist/generated/payment-terms/payment-terms.d.ts.map +1 -0
  250. package/dist/generated/payment-terms/payment-terms.js +19 -0
  251. package/dist/generated/payment-terms/payment-terms.js.map +1 -0
  252. package/dist/generated/pickup-label/pickup-label.d.ts +23 -0
  253. package/dist/generated/pickup-label/pickup-label.d.ts.map +1 -0
  254. package/dist/generated/pickup-label/pickup-label.js +12 -0
  255. package/dist/generated/pickup-label/pickup-label.js.map +1 -0
  256. package/dist/generated/pods/pods.d.ts +93 -0
  257. package/dist/generated/pods/pods.d.ts.map +1 -0
  258. package/dist/generated/pods/pods.js +80 -0
  259. package/dist/generated/pods/pods.js.map +1 -0
  260. package/dist/generated/positions/positions.d.ts +135 -0
  261. package/dist/generated/positions/positions.d.ts.map +1 -0
  262. package/dist/generated/positions/positions.js +91 -0
  263. package/dist/generated/positions/positions.js.map +1 -0
  264. package/dist/generated/price-lists/price-lists.d.ts +53 -4
  265. package/dist/generated/price-lists/price-lists.d.ts.map +1 -1
  266. package/dist/generated/price-lists/price-lists.js +22 -1
  267. package/dist/generated/price-lists/price-lists.js.map +1 -1
  268. package/dist/generated/price-suggestion/price-suggestion.d.ts +23 -0
  269. package/dist/generated/price-suggestion/price-suggestion.d.ts.map +1 -0
  270. package/dist/generated/price-suggestion/price-suggestion.js +19 -0
  271. package/dist/generated/price-suggestion/price-suggestion.js.map +1 -0
  272. package/dist/generated/pricing-rules/pricing-rules.d.ts +107 -0
  273. package/dist/generated/pricing-rules/pricing-rules.d.ts.map +1 -0
  274. package/dist/generated/pricing-rules/pricing-rules.js +75 -0
  275. package/dist/generated/pricing-rules/pricing-rules.js.map +1 -0
  276. package/dist/generated/products/products.d.ts +143 -0
  277. package/dist/generated/products/products.d.ts.map +1 -0
  278. package/dist/generated/products/products.js +102 -0
  279. package/dist/generated/products/products.js.map +1 -0
  280. package/dist/generated/receive/receive.d.ts +65 -0
  281. package/dist/generated/receive/receive.d.ts.map +1 -0
  282. package/dist/generated/receive/receive.js +50 -0
  283. package/dist/generated/receive/receive.js.map +1 -0
  284. package/dist/generated/route-stops/route-stops.d.ts +65 -0
  285. package/dist/generated/route-stops/route-stops.d.ts.map +1 -0
  286. package/dist/generated/route-stops/route-stops.js +50 -0
  287. package/dist/generated/route-stops/route-stops.js.map +1 -0
  288. package/dist/generated/routes/routes.d.ts +205 -0
  289. package/dist/generated/routes/routes.d.ts.map +1 -0
  290. package/dist/generated/routes/routes.js +169 -0
  291. package/dist/generated/routes/routes.js.map +1 -0
  292. package/dist/generated/sales-orders/sales-orders.d.ts +37 -0
  293. package/dist/generated/sales-orders/sales-orders.d.ts.map +1 -0
  294. package/dist/generated/sales-orders/sales-orders.js +29 -0
  295. package/dist/generated/sales-orders/sales-orders.js.map +1 -0
  296. package/dist/generated/sender-identities/sender-identities.d.ts +136 -0
  297. package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -0
  298. package/dist/generated/sender-identities/sender-identities.js +68 -0
  299. package/dist/generated/sender-identities/sender-identities.js.map +1 -0
  300. package/dist/generated/service-catalog/service-catalog.d.ts +23 -0
  301. package/dist/generated/service-catalog/service-catalog.d.ts.map +1 -0
  302. package/dist/generated/service-catalog/service-catalog.js +12 -0
  303. package/dist/generated/service-catalog/service-catalog.js.map +1 -0
  304. package/dist/generated/service-points/service-points.d.ts +34 -0
  305. package/dist/generated/service-points/service-points.d.ts.map +1 -0
  306. package/dist/generated/service-points/service-points.js +18 -0
  307. package/dist/generated/service-points/service-points.js.map +1 -0
  308. package/dist/generated/service-zones/service-zones.d.ts +93 -0
  309. package/dist/generated/service-zones/service-zones.d.ts.map +1 -0
  310. package/dist/generated/service-zones/service-zones.js +80 -0
  311. package/dist/generated/service-zones/service-zones.js.map +1 -0
  312. package/dist/generated/sessions/sessions.d.ts +23 -0
  313. package/dist/generated/sessions/sessions.d.ts.map +1 -0
  314. package/dist/generated/sessions/sessions.js +12 -0
  315. package/dist/generated/sessions/sessions.js.map +1 -0
  316. package/dist/generated/shipments/shipments.d.ts +23 -0
  317. package/dist/generated/shipments/shipments.d.ts.map +1 -0
  318. package/dist/generated/shipments/shipments.js +12 -0
  319. package/dist/generated/shipments/shipments.js.map +1 -0
  320. package/dist/generated/slot-configs/slot-configs.d.ts +79 -0
  321. package/dist/generated/slot-configs/slot-configs.d.ts.map +1 -0
  322. package/dist/generated/slot-configs/slot-configs.js +65 -0
  323. package/dist/generated/slot-configs/slot-configs.js.map +1 -0
  324. package/dist/generated/suppressions/suppressions.d.ts +91 -0
  325. package/dist/generated/suppressions/suppressions.d.ts.map +1 -0
  326. package/dist/generated/suppressions/suppressions.js +58 -0
  327. package/dist/generated/suppressions/suppressions.js.map +1 -0
  328. package/dist/generated/sync-dimensions/sync-dimensions.d.ts +23 -0
  329. package/dist/generated/sync-dimensions/sync-dimensions.d.ts.map +1 -0
  330. package/dist/generated/sync-dimensions/sync-dimensions.js +14 -0
  331. package/dist/generated/sync-dimensions/sync-dimensions.js.map +1 -0
  332. package/dist/generated/tenant-config/tenant-config.d.ts +15 -1
  333. package/dist/generated/tenant-config/tenant-config.d.ts.map +1 -1
  334. package/dist/generated/tenant-config/tenant-config.js +12 -0
  335. package/dist/generated/tenant-config/tenant-config.js.map +1 -1
  336. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts +37 -0
  337. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts.map +1 -0
  338. package/dist/generated/tenant-maintenance/tenant-maintenance.js +24 -0
  339. package/dist/generated/tenant-maintenance/tenant-maintenance.js.map +1 -0
  340. package/dist/generated/tenant-modules/tenant-modules.d.ts +37 -0
  341. package/dist/generated/tenant-modules/tenant-modules.d.ts.map +1 -0
  342. package/dist/generated/tenant-modules/tenant-modules.js +24 -0
  343. package/dist/generated/tenant-modules/tenant-modules.js.map +1 -0
  344. package/dist/generated/tenant-services/tenant-services.d.ts +65 -0
  345. package/dist/generated/tenant-services/tenant-services.d.ts.map +1 -0
  346. package/dist/generated/tenant-services/tenant-services.js +46 -0
  347. package/dist/generated/tenant-services/tenant-services.js.map +1 -0
  348. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts +37 -0
  349. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts.map +1 -0
  350. package/dist/generated/transport-leg-booking/transport-leg-booking.js +24 -0
  351. package/dist/generated/transport-leg-booking/transport-leg-booking.js.map +1 -0
  352. package/dist/generated/transport-legs/transport-legs.d.ts +163 -0
  353. package/dist/generated/transport-legs/transport-legs.d.ts.map +1 -0
  354. package/dist/generated/transport-legs/transport-legs.js +137 -0
  355. package/dist/generated/transport-legs/transport-legs.js.map +1 -0
  356. package/dist/generated/transport-options/transport-options.d.ts +72 -0
  357. package/dist/generated/transport-options/transport-options.d.ts.map +1 -0
  358. package/dist/generated/transport-options/transport-options.js +52 -0
  359. package/dist/generated/transport-options/transport-options.js.map +1 -0
  360. package/dist/generated/transport-services/transport-services.d.ts +121 -0
  361. package/dist/generated/transport-services/transport-services.d.ts.map +1 -0
  362. package/dist/generated/transport-services/transport-services.js +100 -0
  363. package/dist/generated/transport-services/transport-services.js.map +1 -0
  364. package/dist/generated/units-of-measure/units-of-measure.d.ts +37 -0
  365. package/dist/generated/units-of-measure/units-of-measure.d.ts.map +1 -0
  366. package/dist/generated/units-of-measure/units-of-measure.js +29 -0
  367. package/dist/generated/units-of-measure/units-of-measure.js.map +1 -0
  368. package/dist/generated/unsubscribe/unsubscribe.d.ts +55 -0
  369. package/dist/generated/unsubscribe/unsubscribe.d.ts.map +1 -0
  370. package/dist/generated/unsubscribe/unsubscribe.js +22 -0
  371. package/dist/generated/unsubscribe/unsubscribe.js.map +1 -0
  372. package/dist/generated/users/users.d.ts +94 -0
  373. package/dist/generated/users/users.d.ts.map +1 -0
  374. package/dist/generated/users/users.js +52 -0
  375. package/dist/generated/users/users.js.map +1 -0
  376. package/dist/generated/warehouse-orders/warehouse-orders.d.ts +163 -0
  377. package/dist/generated/warehouse-orders/warehouse-orders.d.ts.map +1 -0
  378. package/dist/generated/warehouse-orders/warehouse-orders.js +135 -0
  379. package/dist/generated/warehouse-orders/warehouse-orders.js.map +1 -0
  380. package/dist/generated/warehouses/warehouses.d.ts +163 -0
  381. package/dist/generated/warehouses/warehouses.d.ts.map +1 -0
  382. package/dist/generated/warehouses/warehouses.js +114 -0
  383. package/dist/generated/warehouses/warehouses.js.map +1 -0
  384. package/dist/index.d.ts +1 -1
  385. package/dist/index.d.ts.map +1 -1
  386. package/dist/permissions.d.ts +10 -3
  387. package/dist/permissions.d.ts.map +1 -1
  388. package/dist/permissions.js +11 -4
  389. package/dist/permissions.js.map +1 -1
  390. package/package.json +1 -1
@@ -0,0 +1,51 @@
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' : value.toString());
8
+ }
9
+ });
10
+ const stringifiedParams = normalizedParams.toString();
11
+ return stringifiedParams.length > 0 ? `/v1/merchandise-estimate-rules?${stringifiedParams}` : `/v1/merchandise-estimate-rules`;
12
+ };
13
+ export const merchandiseEstimateRulesControllerListV1 = async (params, options) => {
14
+ return customFetch(getMerchandiseEstimateRulesControllerListV1Url(params), {
15
+ ...options,
16
+ method: 'GET'
17
+ });
18
+ };
19
+ export const getMerchandiseEstimateRulesControllerCreateV1Url = () => {
20
+ return `/v1/merchandise-estimate-rules`;
21
+ };
22
+ export const merchandiseEstimateRulesControllerCreateV1 = async (createMerchandiseEstimateRuleDto, options) => {
23
+ return customFetch(getMerchandiseEstimateRulesControllerCreateV1Url(), {
24
+ ...options,
25
+ method: 'POST',
26
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
27
+ body: JSON.stringify(createMerchandiseEstimateRuleDto)
28
+ });
29
+ };
30
+ export const getMerchandiseEstimateRulesControllerUpdateV1Url = (id) => {
31
+ return `/v1/merchandise-estimate-rules/${id}`;
32
+ };
33
+ export const merchandiseEstimateRulesControllerUpdateV1 = async (id, updateMerchandiseEstimateRuleDto, options) => {
34
+ return customFetch(getMerchandiseEstimateRulesControllerUpdateV1Url(id), {
35
+ ...options,
36
+ method: 'PATCH',
37
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
38
+ body: JSON.stringify(updateMerchandiseEstimateRuleDto)
39
+ });
40
+ };
41
+ ;
42
+ export const getMerchandiseEstimateRulesControllerRemoveV1Url = (id) => {
43
+ return `/v1/merchandise-estimate-rules/${id}`;
44
+ };
45
+ export const merchandiseEstimateRulesControllerRemoveV1 = async (id, options) => {
46
+ return customFetch(getMerchandiseEstimateRulesControllerRemoveV1Url(id), {
47
+ ...options,
48
+ method: 'DELETE'
49
+ });
50
+ };
51
+ //# 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;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,MAAuD,EAAG,EAAE;IACzH,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,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1E,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kCAAkC,iBAAiB,EAAE,CAAC,CAAC,CAAC,gCAAgC,CAAA;AAChI,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,wCAAwC,GAAG,KAAK,EAAE,MAAuD,EAAE,OAAqB,EAA6D,EAAE;IAE1M,OAAO,WAAW,CAAmD,8CAA8C,CAAC,MAAM,CAAC,EAC3H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA+BH,MAAM,CAAC,MAAM,gDAAgD,GAAG,GAAG,EAAE;IAKnE,OAAO,gCAAgC,CAAA;AACzC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,0CAA0C,GAAG,KAAK,EAAE,gCAAkE,EAAE,OAAqB,EAA+D,EAAE;IAEzN,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 */
8
+ import type { AdjustCommandDto, AdjustResultDto, MoveCommandDto, MoveResultDto } from '../index.schemas.js';
9
+ /**
10
+ * 🔒 Requires permission: inventory:move. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary Relocate a pod to another container, split a quantity into a new pod, or merge it into another pod (MOVE movement)
12
+ */
13
+ export type moveAdjustControllerMoveV1Response200 = {
14
+ data: MoveResultDto;
15
+ status: 200;
16
+ };
17
+ export type moveAdjustControllerMoveV1ResponseSuccess = (moveAdjustControllerMoveV1Response200) & {
18
+ headers: Headers;
19
+ };
20
+ export type moveAdjustControllerMoveV1Response = (moveAdjustControllerMoveV1ResponseSuccess);
21
+ export declare const getMoveAdjustControllerMoveV1Url: () => string;
22
+ export declare const moveAdjustControllerMoveV1: (moveCommandDto: MoveCommandDto, options?: RequestInit) => Promise<moveAdjustControllerMoveV1Response>;
23
+ /**
24
+ * 🔒 Requires permission: inventory:adjust. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
25
+ * @summary Signed recount of a pod's on-hand quantity with a mandatory reason (ADJUST movement; result must stay > 0)
26
+ */
27
+ export type moveAdjustControllerAdjustV1Response200 = {
28
+ data: AdjustResultDto;
29
+ status: 200;
30
+ };
31
+ export type moveAdjustControllerAdjustV1ResponseSuccess = (moveAdjustControllerAdjustV1Response200) & {
32
+ headers: Headers;
33
+ };
34
+ export type moveAdjustControllerAdjustV1Response = (moveAdjustControllerAdjustV1ResponseSuccess);
35
+ export declare const getMoveAdjustControllerAdjustV1Url: () => string;
36
+ export declare const moveAdjustControllerAdjustV1: (adjustCommandDto: AdjustCommandDto, options?: RequestInit) => Promise<moveAdjustControllerAdjustV1Response>;
37
+ //# 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;AAI7B;;;GAGG;AACH,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,eAAO,MAAM,0BAA0B,GAAU,gBAAgB,cAAc,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,kCAAkC,CAUhJ,CAAA;AAGH;;;GAGG;AACH,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,eAAO,MAAM,4BAA4B,GAAU,kBAAkB,gBAAgB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,oCAAoC,CAUxJ,CAAA"}
@@ -0,0 +1,26 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getMoveAdjustControllerMoveV1Url = () => {
4
+ return `/v1/inventory/move`;
5
+ };
6
+ export const moveAdjustControllerMoveV1 = async (moveCommandDto, options) => {
7
+ return customFetch(getMoveAdjustControllerMoveV1Url(), {
8
+ ...options,
9
+ method: 'POST',
10
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
11
+ body: JSON.stringify(moveCommandDto)
12
+ });
13
+ };
14
+ ;
15
+ export const getMoveAdjustControllerAdjustV1Url = () => {
16
+ return `/v1/inventory/adjust`;
17
+ };
18
+ export const moveAdjustControllerAdjustV1 = async (adjustCommandDto, options) => {
19
+ return customFetch(getMoveAdjustControllerAdjustV1Url(), {
20
+ ...options,
21
+ method: 'POST',
22
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
23
+ body: JSON.stringify(adjustCommandDto)
24
+ });
25
+ };
26
+ //# 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;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,EAAE;IAKnD,OAAO,oBAAoB,CAAA;AAC7B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAG,KAAK,EAAE,cAA8B,EAAE,OAAqB,EAA+C,EAAE;IAErJ,OAAO,WAAW,CAAqC,gCAAgC,EAAE,EACzF;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,cAAc,CAAE;KACnB,CACF,CAAC;AAAA,CAAC,CAAA;AAeH,CAAC;AAID,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAAG,EAAE;IAKrD,OAAO,sBAAsB,CAAA;AAC/B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,4BAA4B,GAAG,KAAK,EAAE,gBAAkC,EAAE,OAAqB,EAAiD,EAAE;IAE7J,OAAO,WAAW,CAAuC,kCAAkC,EAAE,EAC7F;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,gBAAgB,CAAE;KACrB,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Generated by orval v7.21.0 🍺
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
+ /**
10
+ * 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.
11
+ * @summary Dry-run the fan-out pipeline for an event payload
12
+ */
13
+ export type notificationDebugControllerSimulateV1Response200 = {
14
+ data: SimulationResultDto;
15
+ status: 200;
16
+ };
17
+ export type notificationDebugControllerSimulateV1Response403 = {
18
+ data: void;
19
+ status: 403;
20
+ };
21
+ export type notificationDebugControllerSimulateV1Response404 = {
22
+ data: void;
23
+ status: 404;
24
+ };
25
+ export type notificationDebugControllerSimulateV1ResponseSuccess = (notificationDebugControllerSimulateV1Response200) & {
26
+ headers: Headers;
27
+ };
28
+ export type notificationDebugControllerSimulateV1ResponseError = (notificationDebugControllerSimulateV1Response403 | notificationDebugControllerSimulateV1Response404) & {
29
+ headers: Headers;
30
+ };
31
+ export type notificationDebugControllerSimulateV1Response = (notificationDebugControllerSimulateV1ResponseSuccess | notificationDebugControllerSimulateV1ResponseError);
32
+ export declare const getNotificationDebugControllerSimulateV1Url: () => string;
33
+ export declare const notificationDebugControllerSimulateV1: (simulateDto: SimulateDto, options?: RequestInit) => Promise<notificationDebugControllerSimulateV1Response>;
34
+ //# 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;AAI7B;;;GAGG;AACH,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,eAAO,MAAM,qCAAqC,GAAU,aAAa,WAAW,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,6CAA6C,CAUhK,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationDebugControllerSimulateV1Url = () => {
3
+ return `/v1/notification-debug/simulate`;
4
+ };
5
+ export const notificationDebugControllerSimulateV1 = async (simulateDto, options) => {
6
+ return customFetch(getNotificationDebugControllerSimulateV1Url(), {
7
+ ...options,
8
+ method: 'POST',
9
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
10
+ body: JSON.stringify(simulateDto)
11
+ });
12
+ };
13
+ //# 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;AA8B/C,MAAM,CAAC,MAAM,2CAA2C,GAAG,GAAG,EAAE;IAK9D,OAAO,iCAAiC,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,qCAAqC,GAAG,KAAK,EAAE,WAAwB,EAAE,OAAqB,EAA0D,EAAE;IAErK,OAAO,WAAW,CAAgD,2CAA2C,EAAE,EAC/G;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,WAAW,CAAE;KAChB,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Generated by orval v7.21.0 🍺
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
+ /**
10
+ * 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.
11
+ * @summary List message dispatches
12
+ */
13
+ export type notificationDispatchesControllerListV1Response200 = {
14
+ data: PaginatedNotificationDispatchesDto;
15
+ status: 200;
16
+ };
17
+ export type notificationDispatchesControllerListV1Response400 = {
18
+ data: void;
19
+ status: 400;
20
+ };
21
+ export type notificationDispatchesControllerListV1ResponseSuccess = (notificationDispatchesControllerListV1Response200) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationDispatchesControllerListV1ResponseError = (notificationDispatchesControllerListV1Response400) & {
25
+ headers: Headers;
26
+ };
27
+ export type notificationDispatchesControllerListV1Response = (notificationDispatchesControllerListV1ResponseSuccess | notificationDispatchesControllerListV1ResponseError);
28
+ export declare const getNotificationDispatchesControllerListV1Url: (params?: NotificationDispatchesControllerListV1Params) => string;
29
+ export declare const notificationDispatchesControllerListV1: (params?: NotificationDispatchesControllerListV1Params, options?: RequestInit) => Promise<notificationDispatchesControllerListV1Response>;
30
+ /**
31
+ * 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.
32
+ * @summary Get one dispatch with its delivery timeline
33
+ */
34
+ export type notificationDispatchesControllerGetByIdV1Response200 = {
35
+ data: NotificationDispatchDetailDto;
36
+ status: 200;
37
+ };
38
+ export type notificationDispatchesControllerGetByIdV1Response404 = {
39
+ data: void;
40
+ status: 404;
41
+ };
42
+ export type notificationDispatchesControllerGetByIdV1ResponseSuccess = (notificationDispatchesControllerGetByIdV1Response200) & {
43
+ headers: Headers;
44
+ };
45
+ export type notificationDispatchesControllerGetByIdV1ResponseError = (notificationDispatchesControllerGetByIdV1Response404) & {
46
+ headers: Headers;
47
+ };
48
+ export type notificationDispatchesControllerGetByIdV1Response = (notificationDispatchesControllerGetByIdV1ResponseSuccess | notificationDispatchesControllerGetByIdV1ResponseError);
49
+ export declare const getNotificationDispatchesControllerGetByIdV1Url: (id: string) => string;
50
+ export declare const notificationDispatchesControllerGetByIdV1: (id: string, options?: RequestInit) => Promise<notificationDispatchesControllerGetByIdV1Response>;
51
+ /**
52
+ * 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.
53
+ * @summary Resend a batch of transient failures
54
+ */
55
+ export type notificationDispatchesControllerResendBatchV1Response202 = {
56
+ data: ResendBatchResultDto;
57
+ status: 202;
58
+ };
59
+ export type notificationDispatchesControllerResendBatchV1Response400 = {
60
+ data: void;
61
+ status: 400;
62
+ };
63
+ export type notificationDispatchesControllerResendBatchV1Response409 = {
64
+ data: void;
65
+ status: 409;
66
+ };
67
+ export type notificationDispatchesControllerResendBatchV1ResponseSuccess = (notificationDispatchesControllerResendBatchV1Response202) & {
68
+ headers: Headers;
69
+ };
70
+ export type notificationDispatchesControllerResendBatchV1ResponseError = (notificationDispatchesControllerResendBatchV1Response400 | notificationDispatchesControllerResendBatchV1Response409) & {
71
+ headers: Headers;
72
+ };
73
+ export type notificationDispatchesControllerResendBatchV1Response = (notificationDispatchesControllerResendBatchV1ResponseSuccess | notificationDispatchesControllerResendBatchV1ResponseError);
74
+ export declare const getNotificationDispatchesControllerResendBatchV1Url: () => string;
75
+ export declare const notificationDispatchesControllerResendBatchV1: (resendBatchDto: ResendBatchDto, options?: RequestInit) => Promise<notificationDispatchesControllerResendBatchV1Response>;
76
+ /**
77
+ * 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.
78
+ * @summary Resend one dispatch
79
+ */
80
+ export type notificationDispatchesControllerResendV1Response202 = {
81
+ data: ResendResultDto;
82
+ status: 202;
83
+ };
84
+ export type notificationDispatchesControllerResendV1Response404 = {
85
+ data: void;
86
+ status: 404;
87
+ };
88
+ export type notificationDispatchesControllerResendV1Response409 = {
89
+ data: void;
90
+ status: 409;
91
+ };
92
+ export type notificationDispatchesControllerResendV1ResponseSuccess = (notificationDispatchesControllerResendV1Response202) & {
93
+ headers: Headers;
94
+ };
95
+ export type notificationDispatchesControllerResendV1ResponseError = (notificationDispatchesControllerResendV1Response404 | notificationDispatchesControllerResendV1Response409) & {
96
+ headers: Headers;
97
+ };
98
+ export type notificationDispatchesControllerResendV1Response = (notificationDispatchesControllerResendV1ResponseSuccess | notificationDispatchesControllerResendV1ResponseError);
99
+ export declare const getNotificationDispatchesControllerResendV1Url: (id: string) => string;
100
+ export declare const notificationDispatchesControllerResendV1: (id: string, options?: RequestInit) => Promise<notificationDispatchesControllerResendV1Response>;
101
+ //# 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;AAI7B;;;GAGG;AACH,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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url = (params) => {
3
+ const normalizedParams = new URLSearchParams();
4
+ Object.entries(params || {}).forEach(([key, value]) => {
5
+ if (value !== undefined) {
6
+ normalizedParams.append(key, value === null ? 'null' : value.toString());
7
+ }
8
+ });
9
+ const stringifiedParams = normalizedParams.toString();
10
+ return stringifiedParams.length > 0 ? `/v1/notification-dispatches?${stringifiedParams}` : `/v1/notification-dispatches`;
11
+ };
12
+ export const notificationDispatchesControllerListV1 = async (params, options) => {
13
+ return customFetch(getNotificationDispatchesControllerListV1Url(params), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ export const getNotificationDispatchesControllerGetByIdV1Url = (id) => {
19
+ return `/v1/notification-dispatches/${id}`;
20
+ };
21
+ export const notificationDispatchesControllerGetByIdV1 = async (id, options) => {
22
+ return customFetch(getNotificationDispatchesControllerGetByIdV1Url(id), {
23
+ ...options,
24
+ method: 'GET'
25
+ });
26
+ };
27
+ export const getNotificationDispatchesControllerResendBatchV1Url = () => {
28
+ return `/v1/notification-dispatches/resend-batch`;
29
+ };
30
+ export const notificationDispatchesControllerResendBatchV1 = async (resendBatchDto, options) => {
31
+ return customFetch(getNotificationDispatchesControllerResendBatchV1Url(), {
32
+ ...options,
33
+ method: 'POST',
34
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
35
+ body: JSON.stringify(resendBatchDto)
36
+ });
37
+ };
38
+ export const getNotificationDispatchesControllerResendV1Url = (id) => {
39
+ return `/v1/notification-dispatches/${id}/resend`;
40
+ };
41
+ export const notificationDispatchesControllerResendV1 = async (id, options) => {
42
+ return customFetch(getNotificationDispatchesControllerResendV1Url(id), {
43
+ ...options,
44
+ method: 'POST'
45
+ });
46
+ };
47
+ //# 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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,MAAM,mDAAmD,GAAG,GAAG,EAAE;IAKtE,OAAO,0CAA0C,CAAA;AACnD,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,6CAA6C,GAAG,KAAK,EAAE,cAA8B,EAAE,OAAqB,EAAkE,EAAE;IAE3L,OAAO,WAAW,CAAwD,mDAAmD,EAAE,EAC/H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,cAAc,CAAE;KACnB,CACF,CAAC;AAAA,CAAC,CAAA;AA+BH,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK5E,OAAO,+BAA+B,EAAE,SAAS,CAAA;AACnD,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,wCAAwC,GAAG,KAAK,EAAE,EAAU,EAAE,OAAqB,EAA6D,EAAE;IAE7J,OAAO,WAAW,CAAmD,8CAA8C,CAAC,EAAE,CAAC,EACvH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;KAGf,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Generated by orval v7.21.0 🍺
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
+ /**
10
+ * 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.
11
+ * @summary List the platform event catalog
12
+ */
13
+ export type notificationEventsControllerListV1Response200 = {
14
+ data: NotificationEventSummaryDto[];
15
+ status: 200;
16
+ };
17
+ export type notificationEventsControllerListV1ResponseSuccess = (notificationEventsControllerListV1Response200) & {
18
+ headers: Headers;
19
+ };
20
+ export type notificationEventsControllerListV1Response = (notificationEventsControllerListV1ResponseSuccess);
21
+ export declare const getNotificationEventsControllerListV1Url: (params?: NotificationEventsControllerListV1Params) => string;
22
+ export declare const notificationEventsControllerListV1: (params?: NotificationEventsControllerListV1Params, options?: RequestInit) => Promise<notificationEventsControllerListV1Response>;
23
+ /**
24
+ * 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.
25
+ * @summary Get one event with its contract
26
+ */
27
+ export type notificationEventsControllerGetByKeyV1Response200 = {
28
+ data: NotificationEventDto;
29
+ status: 200;
30
+ };
31
+ export type notificationEventsControllerGetByKeyV1Response404 = {
32
+ data: void;
33
+ status: 404;
34
+ };
35
+ export type notificationEventsControllerGetByKeyV1ResponseSuccess = (notificationEventsControllerGetByKeyV1Response200) & {
36
+ headers: Headers;
37
+ };
38
+ export type notificationEventsControllerGetByKeyV1ResponseError = (notificationEventsControllerGetByKeyV1Response404) & {
39
+ headers: Headers;
40
+ };
41
+ export type notificationEventsControllerGetByKeyV1Response = (notificationEventsControllerGetByKeyV1ResponseSuccess | notificationEventsControllerGetByKeyV1ResponseError);
42
+ export declare const getNotificationEventsControllerGetByKeyV1Url: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params) => string;
43
+ export declare const notificationEventsControllerGetByKeyV1: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params, options?: RequestInit) => Promise<notificationEventsControllerGetByKeyV1Response>;
44
+ //# 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,2B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@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getNotificationEventsControllerListV1Url = (params) => {
4
+ const normalizedParams = new URLSearchParams();
5
+ Object.entries(params || {}).forEach(([key, value]) => {
6
+ if (value !== undefined) {
7
+ normalizedParams.append(key, value === null ? 'null' : value.toString());
8
+ }
9
+ });
10
+ const stringifiedParams = normalizedParams.toString();
11
+ return stringifiedParams.length > 0 ? `/v1/notification-events?${stringifiedParams}` : `/v1/notification-events`;
12
+ };
13
+ export const notificationEventsControllerListV1 = async (params, options) => {
14
+ return customFetch(getNotificationEventsControllerListV1Url(params), {
15
+ ...options,
16
+ method: 'GET'
17
+ });
18
+ };
19
+ export const getNotificationEventsControllerGetByKeyV1Url = (eventKey, params) => {
20
+ const normalizedParams = new URLSearchParams();
21
+ Object.entries(params || {}).forEach(([key, value]) => {
22
+ if (value !== undefined) {
23
+ normalizedParams.append(key, value === null ? 'null' : value.toString());
24
+ }
25
+ });
26
+ const stringifiedParams = normalizedParams.toString();
27
+ return stringifiedParams.length > 0 ? `/v1/notification-events/${eventKey}?${stringifiedParams}` : `/v1/notification-events/${eventKey}`;
28
+ };
29
+ export const notificationEventsControllerGetByKeyV1 = async (eventKey, params, options) => {
30
+ return customFetch(getNotificationEventsControllerGetByKeyV1Url(eventKey, params), {
31
+ ...options,
32
+ method: 'GET'
33
+ });
34
+ };
35
+ //# sourceMappingURL=notification-events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-events.js","sourceRoot":"","sources":["../../../src/generated/notification-events/notification-events.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,MAAiD,EAAG,EAAE;IAC7G,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC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,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,2BAA2B,QAAQ,IAAI,iBAAiB,EAAE,CAAC,CAAC,CAAC,2BAA2B,QAAQ,EAAE,CAAA;AAC1I,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,EAAE,QAAgB,EACzE,MAAqD,EAAE,OAAqB,EAA2D,EAAE;IAE3I,OAAO,WAAW,CAAiD,4CAA4C,CAAC,QAAQ,EAAC,MAAM,CAAC,EAChI;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Generated by orval v7.21.0 🍺
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 { NotificationHealthDto } from '../index.schemas.js';
9
+ /**
10
+ * Rolling bounce / complaint / render-failure rates and suppression growth over 7- and 30-day windows, computed from the existing dispatch and suppression tables. A rate is null (not zero) when its window had no qualifying sends. Test-sends are excluded throughout. 🔒 Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary Per-tenant notification health
12
+ */
13
+ export type notificationHealthControllerGetV1Response200 = {
14
+ data: NotificationHealthDto;
15
+ status: 200;
16
+ };
17
+ export type notificationHealthControllerGetV1ResponseSuccess = (notificationHealthControllerGetV1Response200) & {
18
+ headers: Headers;
19
+ };
20
+ export type notificationHealthControllerGetV1Response = (notificationHealthControllerGetV1ResponseSuccess);
21
+ export declare const getNotificationHealthControllerGetV1Url: () => string;
22
+ export declare const notificationHealthControllerGetV1: (options?: RequestInit) => Promise<notificationHealthControllerGetV1Response>;
23
+ //# sourceMappingURL=notification-health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-health.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-health/notification-health.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,qBAAqB,CAAA;IAC3B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG,CAAC,4CAA4C,CAAC,GAAG;IAC9G,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,yCAAyC,GAAG,CAAC,gDAAgD,CAAC,CAAA;AAE1G,eAAO,MAAM,uCAAuC,cAMnD,CAAA;AAED,eAAO,MAAM,iCAAiC,GAAW,UAAU,WAAW,KAAG,OAAO,CAAC,yCAAyC,CAS/H,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getNotificationHealthControllerGetV1Url = () => {
4
+ return `/v1/notification-health`;
5
+ };
6
+ export const notificationHealthControllerGetV1 = async (options) => {
7
+ return customFetch(getNotificationHealthControllerGetV1Url(), {
8
+ ...options,
9
+ method: 'GET'
10
+ });
11
+ };
12
+ //# sourceMappingURL=notification-health.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-health.js","sourceRoot":"","sources":["../../../src/generated/notification-health/notification-health.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,EAAE;IAK1D,OAAO,yBAAyB,CAAA;AAClC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iCAAiC,GAAG,KAAK,EAAG,OAAqB,EAAsD,EAAE;IAEpI,OAAO,WAAW,CAA4C,uCAAuC,EAAE,EACvG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Generated by orval v7.21.0 🍺
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 { NotificationPreferencesControllerSearchV1Params, PreferenceDto, UpsertPreferenceDto } from '../index.schemas.js';
9
+ /**
10
+ * Exactly one of `userSub` or `address` is required. Default is opt-IN, so an empty array means the subject receives everything — not that the subject is unknown. 🔒 Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary Search a subject's notification preferences
12
+ */
13
+ export type notificationPreferencesControllerSearchV1Response200 = {
14
+ data: PreferenceDto[];
15
+ status: 200;
16
+ };
17
+ export type notificationPreferencesControllerSearchV1Response400 = {
18
+ data: void;
19
+ status: 400;
20
+ };
21
+ export type notificationPreferencesControllerSearchV1ResponseSuccess = (notificationPreferencesControllerSearchV1Response200) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationPreferencesControllerSearchV1ResponseError = (notificationPreferencesControllerSearchV1Response400) & {
25
+ headers: Headers;
26
+ };
27
+ export type notificationPreferencesControllerSearchV1Response = (notificationPreferencesControllerSearchV1ResponseSuccess | notificationPreferencesControllerSearchV1ResponseError);
28
+ export declare const getNotificationPreferencesControllerSearchV1Url: (params?: NotificationPreferencesControllerSearchV1Params) => string;
29
+ export declare const notificationPreferencesControllerSearchV1: (params?: NotificationPreferencesControllerSearchV1Params, options?: RequestInit) => Promise<notificationPreferencesControllerSearchV1Response>;
30
+ /**
31
+ * Staff surface: the server forces `source='admin'`, so the trail records that a staff member made this choice rather than the recipient. Upsert on (subject, category, channel) — a second write of the same choice updates rather than duplicating. An opt-out the send path would ignore (`security`/`system`, or category-level `billing`) is rejected rather than stored. Audited as an admin action. Returns the subject's full effective set. 🔒 Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
32
+ * @summary Upsert a subject's notification preference on their behalf
33
+ */
34
+ export type notificationPreferencesControllerUpsertV1Response200 = {
35
+ data: PreferenceDto[];
36
+ status: 200;
37
+ };
38
+ export type notificationPreferencesControllerUpsertV1Response400 = {
39
+ data: void;
40
+ status: 400;
41
+ };
42
+ export type notificationPreferencesControllerUpsertV1Response404 = {
43
+ data: void;
44
+ status: 404;
45
+ };
46
+ export type notificationPreferencesControllerUpsertV1ResponseSuccess = (notificationPreferencesControllerUpsertV1Response200) & {
47
+ headers: Headers;
48
+ };
49
+ export type notificationPreferencesControllerUpsertV1ResponseError = (notificationPreferencesControllerUpsertV1Response400 | notificationPreferencesControllerUpsertV1Response404) & {
50
+ headers: Headers;
51
+ };
52
+ export type notificationPreferencesControllerUpsertV1Response = (notificationPreferencesControllerUpsertV1ResponseSuccess | notificationPreferencesControllerUpsertV1ResponseError);
53
+ export declare const getNotificationPreferencesControllerUpsertV1Url: () => string;
54
+ export declare const notificationPreferencesControllerUpsertV1: (upsertPreferenceDto: UpsertPreferenceDto, options?: RequestInit) => Promise<notificationPreferencesControllerUpsertV1Response>;
55
+ //# sourceMappingURL=notification-preferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-preferences/notification-preferences.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,+CAA+C,EAC/C,aAAa,EACb,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sDAAsD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,wDAAwD,GAAG,sDAAsD,CAAC,CAAA;AAEnL,eAAO,MAAM,+CAA+C,GAAI,SAAS,+CAA+C,WAavH,CAAA;AAED,eAAO,MAAM,yCAAyC,GAAU,SAAS,+CAA+C,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,iDAAiD,CASxM,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sDAAsD,GAAG,CAAC,oDAAoD,GAAG,oDAAoD,CAAC,GAAG;IACnL,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,wDAAwD,GAAG,sDAAsD,CAAC,CAAA;AAEnL,eAAO,MAAM,+CAA+C,cAM3D,CAAA;AAED,eAAO,MAAM,yCAAyC,GAAU,qBAAqB,mBAAmB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,iDAAiD,CAUxL,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationPreferencesControllerSearchV1Url = (params) => {
3
+ const normalizedParams = new URLSearchParams();
4
+ Object.entries(params || {}).forEach(([key, value]) => {
5
+ if (value !== undefined) {
6
+ normalizedParams.append(key, value === null ? 'null' : value.toString());
7
+ }
8
+ });
9
+ const stringifiedParams = normalizedParams.toString();
10
+ return stringifiedParams.length > 0 ? `/v1/notification-preferences?${stringifiedParams}` : `/v1/notification-preferences`;
11
+ };
12
+ export const notificationPreferencesControllerSearchV1 = async (params, options) => {
13
+ return customFetch(getNotificationPreferencesControllerSearchV1Url(params), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ export const getNotificationPreferencesControllerUpsertV1Url = () => {
19
+ return `/v1/notification-preferences`;
20
+ };
21
+ export const notificationPreferencesControllerUpsertV1 = async (upsertPreferenceDto, options) => {
22
+ return customFetch(getNotificationPreferencesControllerUpsertV1Url(), {
23
+ ...options,
24
+ method: 'PUT',
25
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
26
+ body: JSON.stringify(upsertPreferenceDto)
27
+ });
28
+ };
29
+ //# sourceMappingURL=notification-preferences.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-preferences.js","sourceRoot":"","sources":["../../../src/generated/notification-preferences/notification-preferences.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAyB/C,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,MAAwD,EAAG,EAAE;IAC3H,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,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1E,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAA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