@vindentech/api-client 0.3.0-next.9 โ†’ 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (460) 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 +84 -1
  7. package/dist/generated/_all.d.ts.map +1 -1
  8. package/dist/generated/_all.js +84 -1
  9. package/dist/generated/_all.js.map +1 -1
  10. package/dist/generated/_permissions.d.ts +1535 -32
  11. package/dist/generated/_permissions.d.ts.map +1 -1
  12. package/dist/generated/_permissions.js +385 -7
  13. package/dist/generated/_permissions.js.map +1 -1
  14. package/dist/generated/account-credits/account-credits.d.ts +19 -18
  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 +17 -16
  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 +8 -7
  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 +8 -7
  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 +47 -17
  39. package/dist/generated/billing-accounts/billing-accounts.d.ts.map +1 -1
  40. package/dist/generated/billing-accounts/billing-accounts.js +61 -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 +8 -7
  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 +75 -11
  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 +143 -0
  75. package/dist/generated/carts/carts.d.ts.map +1 -0
  76. package/dist/generated/carts/carts.js +182 -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 +35 -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 +155 -23
  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 +11 -10
  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 +31 -0
  119. package/dist/generated/files/files.d.ts.map +1 -0
  120. package/dist/generated/files/files.js +26 -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 +8 -7
  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 +8 -7
  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 +8 -7
  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 +8 -7
  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 +14585 -1147
  147. package/dist/generated/index.schemas.d.ts.map +1 -1
  148. package/dist/generated/index.schemas.js +1830 -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 +44 -29
  155. package/dist/generated/integrations/integrations.d.ts.map +1 -1
  156. package/dist/generated/integrations/integrations.js +87 -3
  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 +108 -28
  167. package/dist/generated/invoices/invoices.d.ts.map +1 -1
  168. package/dist/generated/invoices/invoices.js +140 -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 +159 -8
  183. package/dist/generated/me/me.d.ts.map +1 -1
  184. package/dist/generated/me/me.js +142 -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-failures/notification-failures.d.ts +77 -0
  223. package/dist/generated/notification-failures/notification-failures.d.ts.map +1 -0
  224. package/dist/generated/notification-failures/notification-failures.js +48 -0
  225. package/dist/generated/notification-failures/notification-failures.js.map +1 -0
  226. package/dist/generated/notification-health/notification-health.d.ts +24 -0
  227. package/dist/generated/notification-health/notification-health.d.ts.map +1 -0
  228. package/dist/generated/notification-health/notification-health.js +16 -0
  229. package/dist/generated/notification-health/notification-health.js.map +1 -0
  230. package/dist/generated/notification-preferences/notification-preferences.d.ts +56 -0
  231. package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -0
  232. package/dist/generated/notification-preferences/notification-preferences.js +46 -0
  233. package/dist/generated/notification-preferences/notification-preferences.js.map +1 -0
  234. package/dist/generated/notification-requests/notification-requests.d.ts +52 -0
  235. package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -0
  236. package/dist/generated/notification-requests/notification-requests.js +28 -0
  237. package/dist/generated/notification-requests/notification-requests.js.map +1 -0
  238. package/dist/generated/notification-rules/notification-rules.d.ts +187 -0
  239. package/dist/generated/notification-rules/notification-rules.d.ts.map +1 -0
  240. package/dist/generated/notification-rules/notification-rules.js +147 -0
  241. package/dist/generated/notification-rules/notification-rules.js.map +1 -0
  242. package/dist/generated/notification-settings/notification-settings.d.ts +73 -0
  243. package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -0
  244. package/dist/generated/notification-settings/notification-settings.js +90 -0
  245. package/dist/generated/notification-settings/notification-settings.js.map +1 -0
  246. package/dist/generated/notification-templates/notification-templates.d.ts +352 -0
  247. package/dist/generated/notification-templates/notification-templates.d.ts.map +1 -0
  248. package/dist/generated/notification-templates/notification-templates.js +245 -0
  249. package/dist/generated/notification-templates/notification-templates.js.map +1 -0
  250. package/dist/generated/order-audit/order-audit.d.ts +24 -0
  251. package/dist/generated/order-audit/order-audit.d.ts.map +1 -0
  252. package/dist/generated/order-audit/order-audit.js +23 -0
  253. package/dist/generated/order-audit/order-audit.js.map +1 -0
  254. package/dist/generated/order-groups/order-groups.d.ts +38 -0
  255. package/dist/generated/order-groups/order-groups.d.ts.map +1 -0
  256. package/dist/generated/order-groups/order-groups.js +37 -0
  257. package/dist/generated/order-groups/order-groups.js.map +1 -0
  258. package/dist/generated/orders/orders.d.ts +249 -10
  259. package/dist/generated/orders/orders.d.ts.map +1 -1
  260. package/dist/generated/orders/orders.js +428 -4
  261. package/dist/generated/orders/orders.js.map +1 -1
  262. package/dist/generated/org-contacts/org-contacts.d.ts +66 -0
  263. package/dist/generated/org-contacts/org-contacts.d.ts.map +1 -0
  264. package/dist/generated/org-contacts/org-contacts.js +87 -0
  265. package/dist/generated/org-contacts/org-contacts.js.map +1 -0
  266. package/dist/generated/organization-contracts/organization-contracts.d.ts +60 -0
  267. package/dist/generated/organization-contracts/organization-contracts.d.ts.map +1 -0
  268. package/dist/generated/organization-contracts/organization-contracts.js +39 -0
  269. package/dist/generated/organization-contracts/organization-contracts.js.map +1 -0
  270. package/dist/generated/organization-members/organization-members.d.ts +164 -0
  271. package/dist/generated/organization-members/organization-members.d.ts.map +1 -0
  272. package/dist/generated/organization-members/organization-members.js +113 -0
  273. package/dist/generated/organization-members/organization-members.js.map +1 -0
  274. package/dist/generated/organization-settings/organization-settings.d.ts +38 -0
  275. package/dist/generated/organization-settings/organization-settings.d.ts.map +1 -0
  276. package/dist/generated/organization-settings/organization-settings.js +41 -0
  277. package/dist/generated/organization-settings/organization-settings.js.map +1 -0
  278. package/dist/generated/organizations/organizations.d.ts +101 -0
  279. package/dist/generated/organizations/organizations.d.ts.map +1 -0
  280. package/dist/generated/organizations/organizations.js +128 -0
  281. package/dist/generated/organizations/organizations.js.map +1 -0
  282. package/dist/generated/outbound/outbound.d.ts +52 -0
  283. package/dist/generated/outbound/outbound.d.ts.map +1 -0
  284. package/dist/generated/outbound/outbound.js +77 -0
  285. package/dist/generated/outbound/outbound.js.map +1 -0
  286. package/dist/generated/payment-instruments/payment-instruments.d.ts +60 -6
  287. package/dist/generated/payment-instruments/payment-instruments.d.ts.map +1 -1
  288. package/dist/generated/payment-instruments/payment-instruments.js +45 -0
  289. package/dist/generated/payment-instruments/payment-instruments.js.map +1 -1
  290. package/dist/generated/payment-methods/payment-methods.d.ts +24 -0
  291. package/dist/generated/payment-methods/payment-methods.d.ts.map +1 -0
  292. package/dist/generated/payment-methods/payment-methods.js +23 -0
  293. package/dist/generated/payment-methods/payment-methods.js.map +1 -0
  294. package/dist/generated/payment-terms/payment-terms.d.ts +24 -0
  295. package/dist/generated/payment-terms/payment-terms.d.ts.map +1 -0
  296. package/dist/generated/payment-terms/payment-terms.js +23 -0
  297. package/dist/generated/payment-terms/payment-terms.js.map +1 -0
  298. package/dist/generated/pickup-label/pickup-label.d.ts +24 -0
  299. package/dist/generated/pickup-label/pickup-label.d.ts.map +1 -0
  300. package/dist/generated/pickup-label/pickup-label.js +16 -0
  301. package/dist/generated/pickup-label/pickup-label.js.map +1 -0
  302. package/dist/generated/pods/pods.d.ts +122 -0
  303. package/dist/generated/pods/pods.d.ts.map +1 -0
  304. package/dist/generated/pods/pods.js +172 -0
  305. package/dist/generated/pods/pods.js.map +1 -0
  306. package/dist/generated/positions/positions.d.ts +136 -0
  307. package/dist/generated/positions/positions.d.ts.map +1 -0
  308. package/dist/generated/positions/positions.js +141 -0
  309. package/dist/generated/positions/positions.js.map +1 -0
  310. package/dist/generated/posti-integration-mode/posti-integration-mode.d.ts +45 -0
  311. package/dist/generated/posti-integration-mode/posti-integration-mode.d.ts.map +1 -0
  312. package/dist/generated/posti-integration-mode/posti-integration-mode.js +40 -0
  313. package/dist/generated/posti-integration-mode/posti-integration-mode.js.map +1 -0
  314. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.d.ts +99 -0
  315. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.d.ts.map +1 -0
  316. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.js +88 -0
  317. package/dist/generated/posti-oma-posti-pro-ops/posti-oma-posti-pro-ops.js.map +1 -0
  318. package/dist/generated/posti-wms-ops/posti-wms-ops.d.ts +24 -0
  319. package/dist/generated/posti-wms-ops/posti-wms-ops.d.ts.map +1 -0
  320. package/dist/generated/posti-wms-ops/posti-wms-ops.js +16 -0
  321. package/dist/generated/posti-wms-ops/posti-wms-ops.js.map +1 -0
  322. package/dist/generated/price-book/price-book.d.ts +165 -0
  323. package/dist/generated/price-book/price-book.d.ts.map +1 -0
  324. package/dist/generated/price-book/price-book.js +136 -0
  325. package/dist/generated/price-book/price-book.js.map +1 -0
  326. package/dist/generated/pricing-rules/pricing-rules.d.ts +122 -12
  327. package/dist/generated/pricing-rules/pricing-rules.d.ts.map +1 -1
  328. package/dist/generated/pricing-rules/pricing-rules.js +129 -3
  329. package/dist/generated/pricing-rules/pricing-rules.js.map +1 -1
  330. package/dist/generated/products/products.d.ts +179 -0
  331. package/dist/generated/products/products.d.ts.map +1 -0
  332. package/dist/generated/products/products.js +195 -0
  333. package/dist/generated/products/products.js.map +1 -0
  334. package/dist/generated/provider-switch/provider-switch.d.ts +10 -9
  335. package/dist/generated/provider-switch/provider-switch.d.ts.map +1 -1
  336. package/dist/generated/provider-switch/provider-switch.js +28 -2
  337. package/dist/generated/provider-switch/provider-switch.js.map +1 -1
  338. package/dist/generated/receive/receive.d.ts +66 -0
  339. package/dist/generated/receive/receive.d.ts.map +1 -0
  340. package/dist/generated/receive/receive.js +102 -0
  341. package/dist/generated/receive/receive.js.map +1 -0
  342. package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts +66 -0
  343. package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts.map +1 -0
  344. package/dist/generated/recurring-fee-configs/recurring-fee-configs.js +87 -0
  345. package/dist/generated/recurring-fee-configs/recurring-fee-configs.js.map +1 -0
  346. package/dist/generated/route-stops/route-stops.d.ts +66 -0
  347. package/dist/generated/route-stops/route-stops.d.ts.map +1 -0
  348. package/dist/generated/route-stops/route-stops.js +102 -0
  349. package/dist/generated/route-stops/route-stops.js.map +1 -0
  350. package/dist/generated/routes/routes.d.ts +220 -0
  351. package/dist/generated/routes/routes.d.ts.map +1 -0
  352. package/dist/generated/routes/routes.js +340 -0
  353. package/dist/generated/routes/routes.js.map +1 -0
  354. package/dist/generated/sales-orders/sales-orders.d.ts +38 -0
  355. package/dist/generated/sales-orders/sales-orders.d.ts.map +1 -0
  356. package/dist/generated/sales-orders/sales-orders.js +37 -0
  357. package/dist/generated/sales-orders/sales-orders.js.map +1 -0
  358. package/dist/generated/sender-identities/sender-identities.d.ts +141 -0
  359. package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -0
  360. package/dist/generated/sender-identities/sender-identities.js +110 -0
  361. package/dist/generated/sender-identities/sender-identities.js.map +1 -0
  362. package/dist/generated/service-points/service-points.d.ts +35 -0
  363. package/dist/generated/service-points/service-points.d.ts.map +1 -0
  364. package/dist/generated/service-points/service-points.js +22 -0
  365. package/dist/generated/service-points/service-points.js.map +1 -0
  366. package/dist/generated/service-zones/service-zones.d.ts +94 -0
  367. package/dist/generated/service-zones/service-zones.d.ts.map +1 -0
  368. package/dist/generated/service-zones/service-zones.js +122 -0
  369. package/dist/generated/service-zones/service-zones.js.map +1 -0
  370. package/dist/generated/sessions/sessions.d.ts +24 -0
  371. package/dist/generated/sessions/sessions.d.ts.map +1 -0
  372. package/dist/generated/sessions/sessions.js +16 -0
  373. package/dist/generated/sessions/sessions.js.map +1 -0
  374. package/dist/generated/shipments/shipments.d.ts +24 -0
  375. package/dist/generated/shipments/shipments.d.ts.map +1 -0
  376. package/dist/generated/shipments/shipments.js +16 -0
  377. package/dist/generated/shipments/shipments.js.map +1 -0
  378. package/dist/generated/slot-configs/slot-configs.d.ts +80 -0
  379. package/dist/generated/slot-configs/slot-configs.d.ts.map +1 -0
  380. package/dist/generated/slot-configs/slot-configs.js +112 -0
  381. package/dist/generated/slot-configs/slot-configs.js.map +1 -0
  382. package/dist/generated/stripe-webhook/stripe-webhook.d.ts +8 -7
  383. package/dist/generated/stripe-webhook/stripe-webhook.d.ts.map +1 -1
  384. package/dist/generated/stripe-webhook/stripe-webhook.js +4 -0
  385. package/dist/generated/stripe-webhook/stripe-webhook.js.map +1 -1
  386. package/dist/generated/subscription-configs/subscription-configs.d.ts +13 -12
  387. package/dist/generated/subscription-configs/subscription-configs.d.ts.map +1 -1
  388. package/dist/generated/subscription-configs/subscription-configs.js +32 -2
  389. package/dist/generated/subscription-configs/subscription-configs.js.map +1 -1
  390. package/dist/generated/suppressions/suppressions.d.ts +92 -0
  391. package/dist/generated/suppressions/suppressions.d.ts.map +1 -0
  392. package/dist/generated/suppressions/suppressions.js +92 -0
  393. package/dist/generated/suppressions/suppressions.js.map +1 -0
  394. package/dist/generated/sync-dimensions/sync-dimensions.d.ts +24 -0
  395. package/dist/generated/sync-dimensions/sync-dimensions.d.ts.map +1 -0
  396. package/dist/generated/sync-dimensions/sync-dimensions.js +27 -0
  397. package/dist/generated/sync-dimensions/sync-dimensions.js.map +1 -0
  398. package/dist/generated/tenant-client-version/tenant-client-version.d.ts +45 -0
  399. package/dist/generated/tenant-client-version/tenant-client-version.d.ts.map +1 -0
  400. package/dist/generated/tenant-client-version/tenant-client-version.js +40 -0
  401. package/dist/generated/tenant-client-version/tenant-client-version.js.map +1 -0
  402. package/dist/generated/tenant-config/tenant-config.d.ts +26 -11
  403. package/dist/generated/tenant-config/tenant-config.d.ts.map +1 -1
  404. package/dist/generated/tenant-config/tenant-config.js +43 -1
  405. package/dist/generated/tenant-config/tenant-config.js.map +1 -1
  406. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts +38 -0
  407. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts.map +1 -0
  408. package/dist/generated/tenant-maintenance/tenant-maintenance.js +41 -0
  409. package/dist/generated/tenant-maintenance/tenant-maintenance.js.map +1 -0
  410. package/dist/generated/tenant-modules/tenant-modules.d.ts +38 -0
  411. package/dist/generated/tenant-modules/tenant-modules.d.ts.map +1 -0
  412. package/dist/generated/tenant-modules/tenant-modules.js +41 -0
  413. package/dist/generated/tenant-modules/tenant-modules.js.map +1 -0
  414. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts +38 -0
  415. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts.map +1 -0
  416. package/dist/generated/transport-leg-booking/transport-leg-booking.js +41 -0
  417. package/dist/generated/transport-leg-booking/transport-leg-booking.js.map +1 -0
  418. package/dist/generated/transport-legs/transport-legs.d.ts +178 -0
  419. package/dist/generated/transport-legs/transport-legs.d.ts.map +1 -0
  420. package/dist/generated/transport-legs/transport-legs.js +287 -0
  421. package/dist/generated/transport-legs/transport-legs.js.map +1 -0
  422. package/dist/generated/transport-options/transport-options.d.ts +73 -0
  423. package/dist/generated/transport-options/transport-options.d.ts.map +1 -0
  424. package/dist/generated/transport-options/transport-options.js +86 -0
  425. package/dist/generated/transport-options/transport-options.js.map +1 -0
  426. package/dist/generated/transport-services/transport-services.d.ts +122 -0
  427. package/dist/generated/transport-services/transport-services.d.ts.map +1 -0
  428. package/dist/generated/transport-services/transport-services.js +127 -0
  429. package/dist/generated/transport-services/transport-services.js.map +1 -0
  430. package/dist/generated/units-of-measure/units-of-measure.d.ts +10 -9
  431. package/dist/generated/units-of-measure/units-of-measure.d.ts.map +1 -1
  432. package/dist/generated/units-of-measure/units-of-measure.js +9 -1
  433. package/dist/generated/units-of-measure/units-of-measure.js.map +1 -1
  434. package/dist/generated/unsubscribe/unsubscribe.d.ts +56 -0
  435. package/dist/generated/unsubscribe/unsubscribe.d.ts.map +1 -0
  436. package/dist/generated/unsubscribe/unsubscribe.js +39 -0
  437. package/dist/generated/unsubscribe/unsubscribe.js.map +1 -0
  438. package/dist/generated/users/users.d.ts +99 -0
  439. package/dist/generated/users/users.d.ts.map +1 -0
  440. package/dist/generated/users/users.js +95 -0
  441. package/dist/generated/users/users.js.map +1 -0
  442. package/dist/generated/warehouse-orders/warehouse-orders.d.ts +178 -0
  443. package/dist/generated/warehouse-orders/warehouse-orders.d.ts.map +1 -0
  444. package/dist/generated/warehouse-orders/warehouse-orders.js +276 -0
  445. package/dist/generated/warehouse-orders/warehouse-orders.js.map +1 -0
  446. package/dist/generated/warehouses/warehouses.d.ts +217 -0
  447. package/dist/generated/warehouses/warehouses.d.ts.map +1 -0
  448. package/dist/generated/warehouses/warehouses.js +238 -0
  449. package/dist/generated/warehouses/warehouses.js.map +1 -0
  450. package/dist/index.d.ts +1 -1
  451. package/dist/index.d.ts.map +1 -1
  452. package/dist/permissions.d.ts +10 -3
  453. package/dist/permissions.d.ts.map +1 -1
  454. package/dist/permissions.js +11 -4
  455. package/dist/permissions.js.map +1 -1
  456. package/package.json +3 -3
  457. package/dist/generated/price-lists/price-lists.d.ts +0 -93
  458. package/dist/generated/price-lists/price-lists.d.ts.map +0 -1
  459. package/dist/generated/price-lists/price-lists.js +0 -82
  460. package/dist/generated/price-lists/price-lists.js.map +0 -1
@@ -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,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,+BAA+B,iBAAiB,EAAE,CAAC,CAAC,CAAC,6BAA6B,CAAA;AAC1H,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,EAAE,MAAqD,EAAE,OAA2C,EAA2D,EAAE;IAE1N,OAAO,WAAW,CAAiD,4CAA4C,CAAC,MAAM,CAAC,EACvH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;K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AAG,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: 1.0.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;AAE1K,eAAO,MAAM,4CAA4C,GAAI,UAAU,MAAM,EACzE,SAAS,4CAA4C,WAaxD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,sCAAsC,GAAU,UAAU,MAAM,EACzE,SAAS,4CAA4C,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,8CAA8C,CAS5J,CAAA"}
@@ -0,0 +1,43 @@
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' : String(value));
8
+ }
9
+ });
10
+ const stringifiedParams = normalizedParams.toString();
11
+ return stringifiedParams.length > 0 ? `/v1/notification-events?${stringifiedParams}` : `/v1/notification-events`;
12
+ };
13
+ /**
14
+ * 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.
15
+ * @summary List the platform event catalog
16
+ */
17
+ export const notificationEventsControllerListV1 = async (params, options) => {
18
+ return customFetch(getNotificationEventsControllerListV1Url(params), {
19
+ ...options,
20
+ method: 'GET'
21
+ });
22
+ };
23
+ export const getNotificationEventsControllerGetByKeyV1Url = (eventKey, params) => {
24
+ const normalizedParams = new URLSearchParams();
25
+ Object.entries(params || {}).forEach(([key, value]) => {
26
+ if (value !== undefined) {
27
+ normalizedParams.append(key, value === null ? 'null' : String(value));
28
+ }
29
+ });
30
+ const stringifiedParams = normalizedParams.toString();
31
+ return stringifiedParams.length > 0 ? `/v1/notification-events/${eventKey}?${stringifiedParams}` : `/v1/notification-events/${eventKey}`;
32
+ };
33
+ /**
34
+ * 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.
35
+ * @summary Get one event with its contract
36
+ */
37
+ export const notificationEventsControllerGetByKeyV1 = async (eventKey, params, options) => {
38
+ return customFetch(getNotificationEventsControllerGetByKeyV1Url(eventKey, params), {
39
+ ...options,
40
+ method: 'GET'
41
+ });
42
+ };
43
+ //# 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;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,MAAiD,EAAG,EAAE;IAC7G,MAAM,gBAAgB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AA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,2BAA2B,QAAQ,IAAI,iBAAiB,EAAE,CAAC,CAAC,CAAC,2BAA2B,QAAQ,EAAE,CAAA;AAC1I,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,EAAE,QAAgB,EACzE,MAAqD,EAAE,OAA2C,EAA2D,EAAE;IAEjK,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,77 @@
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: 1.0.0
7
+ */
8
+ import type { NotificationFailureDetailDto, NotificationFailuresControllerListV1Params, PaginatedNotificationFailuresDto, ReprocessResultDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type notificationFailuresControllerListV1Response200 = {
11
+ data: PaginatedNotificationFailuresDto;
12
+ status: 200;
13
+ };
14
+ export type notificationFailuresControllerListV1Response400 = {
15
+ data: void;
16
+ status: 400;
17
+ };
18
+ export type notificationFailuresControllerListV1ResponseSuccess = (notificationFailuresControllerListV1Response200) & {
19
+ headers: Headers;
20
+ };
21
+ export type notificationFailuresControllerListV1ResponseError = (notificationFailuresControllerListV1Response400) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationFailuresControllerListV1Response = (notificationFailuresControllerListV1ResponseSuccess | notificationFailuresControllerListV1ResponseError);
25
+ export declare const getNotificationFailuresControllerListV1Url: (params?: NotificationFailuresControllerListV1Params) => string;
26
+ /**
27
+ * Notifications the pipeline gave up on, newest first. `event_rejected`: fan-out refused the event before any dispatch existed, so nothing for it is in the message log. `dispatch_failed`: one dispatch failed to render or exhausted its retries, and `notificationDispatchId` names it in the message log. Over a monthly-partitioned table, so the createdFrom/createdTo range is always bounded โ€” it defaults to the last 30 days and spans at most 92. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
28
+ * @summary List notification failures
29
+ */
30
+ export declare const notificationFailuresControllerListV1: (params?: NotificationFailuresControllerListV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationFailuresControllerListV1Response>;
31
+ export type notificationFailuresControllerGetByIdV1Response200 = {
32
+ data: NotificationFailureDetailDto;
33
+ status: 200;
34
+ };
35
+ export type notificationFailuresControllerGetByIdV1Response404 = {
36
+ data: void;
37
+ status: 404;
38
+ };
39
+ export type notificationFailuresControllerGetByIdV1ResponseSuccess = (notificationFailuresControllerGetByIdV1Response200) & {
40
+ headers: Headers;
41
+ };
42
+ export type notificationFailuresControllerGetByIdV1ResponseError = (notificationFailuresControllerGetByIdV1Response404) & {
43
+ headers: Headers;
44
+ };
45
+ export type notificationFailuresControllerGetByIdV1Response = (notificationFailuresControllerGetByIdV1ResponseSuccess | notificationFailuresControllerGetByIdV1ResponseError);
46
+ export declare const getNotificationFailuresControllerGetByIdV1Url: (id: number) => string;
47
+ /**
48
+ * Adds `eventPayload`: the event fan-out rejected on an `event_rejected` row, or the dispatch id and failure context on a `dispatch_failed` one. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
49
+ * @summary Get one notification failure with its payload
50
+ */
51
+ export declare const notificationFailuresControllerGetByIdV1: (id: number, options?: Parameters<typeof customFetch>[1]) => Promise<notificationFailuresControllerGetByIdV1Response>;
52
+ export type notificationFailuresControllerReprocessV1Response202 = {
53
+ data: ReprocessResultDto;
54
+ status: 202;
55
+ };
56
+ export type notificationFailuresControllerReprocessV1Response404 = {
57
+ data: void;
58
+ status: 404;
59
+ };
60
+ export type notificationFailuresControllerReprocessV1Response409 = {
61
+ data: void;
62
+ status: 409;
63
+ };
64
+ export type notificationFailuresControllerReprocessV1ResponseSuccess = (notificationFailuresControllerReprocessV1Response202) & {
65
+ headers: Headers;
66
+ };
67
+ export type notificationFailuresControllerReprocessV1ResponseError = (notificationFailuresControllerReprocessV1Response404 | notificationFailuresControllerReprocessV1Response409) & {
68
+ headers: Headers;
69
+ };
70
+ export type notificationFailuresControllerReprocessV1Response = (notificationFailuresControllerReprocessV1ResponseSuccess | notificationFailuresControllerReprocessV1ResponseError);
71
+ export declare const getNotificationFailuresControllerReprocessV1Url: (id: number) => string;
72
+ /**
73
+ * For an `event_rejected` failure: puts the event fan-out rejected back on the pipeline under a fresh outbox key, exactly as the request reprocess does, so it fans out again once its cause is fixed. If the cause is not fixed it is rejected again and a new failure is recorded. The failure record is never mutated. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
74
+ * @summary Re-emit a rejected event after a fix
75
+ */
76
+ export declare const notificationFailuresControllerReprocessV1: (id: number, options?: Parameters<typeof customFetch>[1]) => Promise<notificationFailuresControllerReprocessV1Response>;
77
+ //# sourceMappingURL=notification-failures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-failures.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-failures/notification-failures.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,4BAA4B,EAC5B,0CAA0C,EAC1C,gCAAgC,EAChC,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,+CAA+C,GAAG;IAC5D,IAAI,EAAE,gCAAgC,CAAA;IACtC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG;IAC5D,IAAI,EAAE,IAAI,CAAA;IACV,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AGH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,kBAAkB,CAAA;IACxB,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,GAAI,IAAI,MAAM,WAMzE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,yCAAyC,GAAU,IAAI,MAAM,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,iDAAiD,CAShL,CAAA"}
@@ -0,0 +1,48 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationFailuresControllerListV1Url = (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-failures?${stringifiedParams}` : `/v1/notification-failures`;
11
+ };
12
+ /**
13
+ * Notifications the pipeline gave up on, newest first. `event_rejected`: fan-out refused the event before any dispatch existed, so nothing for it is in the message log. `dispatch_failed`: one dispatch failed to render or exhausted its retries, and `notificationDispatchId` names it in the message log. Over a monthly-partitioned table, so the createdFrom/createdTo range is always bounded โ€” it defaults to the last 30 days and spans at most 92. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
14
+ * @summary List notification failures
15
+ */
16
+ export const notificationFailuresControllerListV1 = async (params, options) => {
17
+ return customFetch(getNotificationFailuresControllerListV1Url(params), {
18
+ ...options,
19
+ method: 'GET'
20
+ });
21
+ };
22
+ export const getNotificationFailuresControllerGetByIdV1Url = (id) => {
23
+ return `/v1/notification-failures/${id}`;
24
+ };
25
+ /**
26
+ * Adds `eventPayload`: the event fan-out rejected on an `event_rejected` row, or the dispatch id and failure context on a `dispatch_failed` one. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
27
+ * @summary Get one notification failure with its payload
28
+ */
29
+ export const notificationFailuresControllerGetByIdV1 = async (id, options) => {
30
+ return customFetch(getNotificationFailuresControllerGetByIdV1Url(id), {
31
+ ...options,
32
+ method: 'GET'
33
+ });
34
+ };
35
+ export const getNotificationFailuresControllerReprocessV1Url = (id) => {
36
+ return `/v1/notification-failures/${id}/reprocess`;
37
+ };
38
+ /**
39
+ * For an `event_rejected` failure: puts the event fan-out rejected back on the pipeline under a fresh outbox key, exactly as the request reprocess does, so it fans out again once its cause is fixed. If the cause is not fixed it is rejected again and a new failure is recorded. The failure record is never mutated. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
40
+ * @summary Re-emit a rejected event after a fix
41
+ */
42
+ export const notificationFailuresControllerReprocessV1 = async (id, options) => {
43
+ return customFetch(getNotificationFailuresControllerReprocessV1Url(id), {
44
+ ...options,
45
+ method: 'POST'
46
+ });
47
+ };
48
+ //# sourceMappingURL=notification-failures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-failures.js","sourceRoot":"","sources":["../../../src/generated/notification-failures/notification-failures.ts"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AAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA2BH,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK7E,OAAO,6BAA6B,EAAE,YAAY,CAAA;AACpD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA8D,EAAE;IAErL,OAAO,WAAW,CAAoD,+CAA+C,CAAC,EAAE,CAAC,EACzH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;KAGf,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,24 @@
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: 1.0.0
7
+ */
8
+ import type { NotificationHealthDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type notificationHealthControllerGetV1Response200 = {
11
+ data: NotificationHealthDto;
12
+ status: 200;
13
+ };
14
+ export type notificationHealthControllerGetV1ResponseSuccess = (notificationHealthControllerGetV1Response200) & {
15
+ headers: Headers;
16
+ };
17
+ export type notificationHealthControllerGetV1Response = (notificationHealthControllerGetV1ResponseSuccess);
18
+ export declare const getNotificationHealthControllerGetV1Url: () => string;
19
+ /**
20
+ * 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.
21
+ * @summary Per-tenant notification health
22
+ */
23
+ export declare const notificationHealthControllerGetV1: (options?: Parameters<typeof customFetch>[1]) => Promise<notificationHealthControllerGetV1Response>;
24
+ //# 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;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,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;;;GAGG;AACH,eAAO,MAAM,iCAAiC,GAAW,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,yCAAyC,CASrJ,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getNotificationHealthControllerGetV1Url = () => {
4
+ return `/v1/notification-health`;
5
+ };
6
+ /**
7
+ * 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.
8
+ * @summary Per-tenant notification health
9
+ */
10
+ export const notificationHealthControllerGetV1 = async (options) => {
11
+ return customFetch(getNotificationHealthControllerGetV1Url(), {
12
+ ...options,
13
+ method: 'GET'
14
+ });
15
+ };
16
+ //# 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;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,EAAE;IAK1D,OAAO,yBAAyB,CAAA;AAClC,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,KAAK,EAAG,OAA2C,EAAsD,EAAE;IAE1J,OAAO,WAAW,CAA4C,uCAAuC,EAAE,EACvG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,56 @@
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: 1.0.0
7
+ */
8
+ import type { NotificationPreferencesControllerSearchV1Params, PreferenceDto, UpsertPreferenceDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type notificationPreferencesControllerSearchV1Response200 = {
11
+ data: PreferenceDto[];
12
+ status: 200;
13
+ };
14
+ export type notificationPreferencesControllerSearchV1Response400 = {
15
+ data: void;
16
+ status: 400;
17
+ };
18
+ export type notificationPreferencesControllerSearchV1ResponseSuccess = (notificationPreferencesControllerSearchV1Response200) & {
19
+ headers: Headers;
20
+ };
21
+ export type notificationPreferencesControllerSearchV1ResponseError = (notificationPreferencesControllerSearchV1Response400) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationPreferencesControllerSearchV1Response = (notificationPreferencesControllerSearchV1ResponseSuccess | notificationPreferencesControllerSearchV1ResponseError);
25
+ export declare const getNotificationPreferencesControllerSearchV1Url: (params?: NotificationPreferencesControllerSearchV1Params) => string;
26
+ /**
27
+ * 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.
28
+ * @summary Search a subject's notification preferences
29
+ */
30
+ export declare const notificationPreferencesControllerSearchV1: (params?: NotificationPreferencesControllerSearchV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<notificationPreferencesControllerSearchV1Response>;
31
+ export type notificationPreferencesControllerUpsertV1Response200 = {
32
+ data: PreferenceDto[];
33
+ status: 200;
34
+ };
35
+ export type notificationPreferencesControllerUpsertV1Response400 = {
36
+ data: void;
37
+ status: 400;
38
+ };
39
+ export type notificationPreferencesControllerUpsertV1Response404 = {
40
+ data: void;
41
+ status: 404;
42
+ };
43
+ export type notificationPreferencesControllerUpsertV1ResponseSuccess = (notificationPreferencesControllerUpsertV1Response200) & {
44
+ headers: Headers;
45
+ };
46
+ export type notificationPreferencesControllerUpsertV1ResponseError = (notificationPreferencesControllerUpsertV1Response400 | notificationPreferencesControllerUpsertV1Response404) & {
47
+ headers: Headers;
48
+ };
49
+ export type notificationPreferencesControllerUpsertV1Response = (notificationPreferencesControllerUpsertV1ResponseSuccess | notificationPreferencesControllerUpsertV1ResponseError);
50
+ export declare const getNotificationPreferencesControllerUpsertV1Url: () => string;
51
+ /**
52
+ * 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.
53
+ * @summary Upsert a subject's notification preference on their behalf
54
+ */
55
+ export declare const notificationPreferencesControllerUpsertV1: (upsertPreferenceDto: UpsertPreferenceDto, options?: Parameters<typeof customFetch>[1]) => Promise<notificationPreferencesControllerUpsertV1Response>;
56
+ //# 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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M,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;;;GAGG;AACH,eAAO,MAAM,yCAAyC,GAAU,qBAAqB,mBAAmB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,iDAAiD,CAe9M,CAAA"}
@@ -0,0 +1,46 @@
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' : String(value));
7
+ }
8
+ });
9
+ const stringifiedParams = normalizedParams.toString();
10
+ return stringifiedParams.length > 0 ? `/v1/notification-preferences?${stringifiedParams}` : `/v1/notification-preferences`;
11
+ };
12
+ /**
13
+ * 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.
14
+ * @summary Search a subject's notification preferences
15
+ */
16
+ export const notificationPreferencesControllerSearchV1 = async (params, options) => {
17
+ return customFetch(getNotificationPreferencesControllerSearchV1Url(params), {
18
+ ...options,
19
+ method: 'GET'
20
+ });
21
+ };
22
+ export const getNotificationPreferencesControllerUpsertV1Url = () => {
23
+ return `/v1/notification-preferences`;
24
+ };
25
+ /**
26
+ * 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.
27
+ * @summary Upsert a subject's notification preference on their behalf
28
+ */
29
+ export const notificationPreferencesControllerUpsertV1 = async (upsertPreferenceDto, options) => {
30
+ const getHeaders = (h) => {
31
+ if (!h)
32
+ return {};
33
+ if (h instanceof Headers)
34
+ return Object.fromEntries(h.entries());
35
+ if (Array.isArray(h))
36
+ return Object.fromEntries(h);
37
+ return h;
38
+ };
39
+ return customFetch(getNotificationPreferencesControllerUpsertV1Url(), {
40
+ ...options,
41
+ method: 'PUT',
42
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
43
+ body: JSON.stringify(upsertPreferenceDto)
44
+ });
45
+ };
46
+ //# 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;AAqB/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,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CA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platform
6
+ * OpenAPI spec version: 1.0.0
7
+ */
8
+ import type { NotificationRequestDto, ReprocessResultDto } from '../index.schemas.js';
9
+ import { customFetch } from '../../mutator.js';
10
+ export type notificationRequestsControllerGetByIdV1Response200 = {
11
+ data: NotificationRequestDto;
12
+ status: 200;
13
+ };
14
+ export type notificationRequestsControllerGetByIdV1Response404 = {
15
+ data: void;
16
+ status: 404;
17
+ };
18
+ export type notificationRequestsControllerGetByIdV1ResponseSuccess = (notificationRequestsControllerGetByIdV1Response200) & {
19
+ headers: Headers;
20
+ };
21
+ export type notificationRequestsControllerGetByIdV1ResponseError = (notificationRequestsControllerGetByIdV1Response404) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationRequestsControllerGetByIdV1Response = (notificationRequestsControllerGetByIdV1ResponseSuccess | notificationRequestsControllerGetByIdV1ResponseError);
25
+ export declare const getNotificationRequestsControllerGetByIdV1Url: (id: string) => string;
26
+ /**
27
+ * Request success is not dispatch success: a `fanned_out` request whose dispatches all bounced is a complete success at its own level, which is what `dispatchStatusCounts` shows. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
28
+ * @summary Get one notification request with its dispatch rollup
29
+ */
30
+ export declare const notificationRequestsControllerGetByIdV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationRequestsControllerGetByIdV1Response>;
31
+ export type notificationRequestsControllerReprocessV1Response202 = {
32
+ data: ReprocessResultDto;
33
+ status: 202;
34
+ };
35
+ export type notificationRequestsControllerReprocessV1Response404 = {
36
+ data: void;
37
+ status: 404;
38
+ };
39
+ export type notificationRequestsControllerReprocessV1ResponseSuccess = (notificationRequestsControllerReprocessV1Response202) & {
40
+ headers: Headers;
41
+ };
42
+ export type notificationRequestsControllerReprocessV1ResponseError = (notificationRequestsControllerReprocessV1Response404) & {
43
+ headers: Headers;
44
+ };
45
+ export type notificationRequestsControllerReprocessV1Response = (notificationRequestsControllerReprocessV1ResponseSuccess | notificationRequestsControllerReprocessV1ResponseError);
46
+ export declare const getNotificationRequestsControllerReprocessV1Url: (id: string) => string;
47
+ /**
48
+ * Creates a NEW request for the same event whose idempotency key is the original's plus a reprocess nonce โ€” which is what makes it fan out again instead of being deduped away by the consumer's UNIQUE (03 ยง6). The original request is never mutated. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
49
+ * @summary Re-fan an event after a fix
50
+ */
51
+ export declare const notificationRequestsControllerReprocessV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<notificationRequestsControllerReprocessV1Response>;
52
+ //# sourceMappingURL=notification-requests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-requests.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-requests/notification-requests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,sBAAsB,CAAA;IAC5B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IAC1H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,oDAAoD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,+CAA+C,GAAG,CAAC,sDAAsD,GAAG,oDAAoD,CAAC,CAAA;AAE7K,eAAO,MAAM,6CAA6C,GAAI,IAAI,MAAM,WAMvE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uCAAuC,GAAU,IAAI,MAAM,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,+CAA+C,CAS5K,CAAA;AAGH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,kBAAkB,CAAA;IACxB,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,IAAI,MAAM,WAMzE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,yCAAyC,GAAU,IAAI,MAAM,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,iDAAiD,CAShL,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationRequestsControllerGetByIdV1Url = (id) => {
3
+ return `/v1/notification-requests/${id}`;
4
+ };
5
+ /**
6
+ * Request success is not dispatch success: a `fanned_out` request whose dispatches all bounced is a complete success at its own level, which is what `dispatchStatusCounts` shows. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
7
+ * @summary Get one notification request with its dispatch rollup
8
+ */
9
+ export const notificationRequestsControllerGetByIdV1 = async (id, options) => {
10
+ return customFetch(getNotificationRequestsControllerGetByIdV1Url(id), {
11
+ ...options,
12
+ method: 'GET'
13
+ });
14
+ };
15
+ export const getNotificationRequestsControllerReprocessV1Url = (id) => {
16
+ return `/v1/notification-requests/${id}/reprocess`;
17
+ };
18
+ /**
19
+ * Creates a NEW request for the same event whose idempotency key is the original's plus a reprocess nonce โ€” which is what makes it fan out again instead of being deduped away by the consumer's UNIQUE (03 ยง6). The original request is never mutated. Audited as an admin action. ๐Ÿ”’ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
20
+ * @summary Re-fan an event after a fix
21
+ */
22
+ export const notificationRequestsControllerReprocessV1 = async (id, options) => {
23
+ return customFetch(getNotificationRequestsControllerReprocessV1Url(id), {
24
+ ...options,
25
+ method: 'POST'
26
+ });
27
+ };
28
+ //# sourceMappingURL=notification-requests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-requests.js","sourceRoot":"","sources":["../../../src/generated/notification-requests/notification-requests.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAqB/C,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK3E,OAAO,6BAA6B,EAAE,EAAE,CAAA;AAC1C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA4D,EAAE;IAEjL,OAAO,WAAW,CAAkD,6CAA6C,CAAC,EAAE,CAAC,EACrH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAsBH,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK7E,OAAO,6BAA6B,EAAE,YAAY,CAAA;AACpD,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA8D,EAAE;IAErL,OAAO,WAAW,CAAoD,+CAA+C,CAAC,EAAE,CAAC,EACzH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;KAGf,CACF,CAAC;AAAA,CAAC,CAAA"}