@vindentech/api-client 0.3.0-next.57 → 0.3.0-next.59

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 (425) hide show
  1. package/dist/generated/_all.d.ts +2 -0
  2. package/dist/generated/_all.d.ts.map +1 -1
  3. package/dist/generated/_all.js +2 -0
  4. package/dist/generated/_all.js.map +1 -1
  5. package/dist/generated/_permissions.d.ts +21 -1
  6. package/dist/generated/_permissions.d.ts.map +1 -1
  7. package/dist/generated/_permissions.js +5 -0
  8. package/dist/generated/_permissions.js.map +1 -1
  9. package/dist/generated/account-credits/account-credits.d.ts +16 -15
  10. package/dist/generated/account-credits/account-credits.d.ts.map +1 -1
  11. package/dist/generated/account-credits/account-credits.js +28 -3
  12. package/dist/generated/account-credits/account-credits.js.map +1 -1
  13. package/dist/generated/addresses/addresses.d.ts +16 -15
  14. package/dist/generated/addresses/addresses.d.ts.map +1 -1
  15. package/dist/generated/addresses/addresses.js +41 -3
  16. package/dist/generated/addresses/addresses.js.map +1 -1
  17. package/dist/generated/articles/articles.d.ts +16 -15
  18. package/dist/generated/articles/articles.d.ts.map +1 -1
  19. package/dist/generated/articles/articles.js +37 -3
  20. package/dist/generated/articles/articles.js.map +1 -1
  21. package/dist/generated/billable-event-types/billable-event-types.d.ts +7 -6
  22. package/dist/generated/billable-event-types/billable-event-types.d.ts.map +1 -1
  23. package/dist/generated/billable-event-types/billable-event-types.js +4 -0
  24. package/dist/generated/billable-event-types/billable-event-types.js.map +1 -1
  25. package/dist/generated/billable-events/billable-events.d.ts +12 -11
  26. package/dist/generated/billable-events/billable-events.d.ts.map +1 -1
  27. package/dist/generated/billable-events/billable-events.js +23 -2
  28. package/dist/generated/billable-events/billable-events.js.map +1 -1
  29. package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts +7 -6
  30. package/dist/generated/billable-events-webhook/billable-events-webhook.d.ts.map +1 -1
  31. package/dist/generated/billable-events-webhook/billable-events-webhook.js +14 -1
  32. package/dist/generated/billable-events-webhook/billable-events-webhook.js.map +1 -1
  33. package/dist/generated/billing-accounts/billing-accounts.d.ts +16 -15
  34. package/dist/generated/billing-accounts/billing-accounts.d.ts.map +1 -1
  35. package/dist/generated/billing-accounts/billing-accounts.js +37 -3
  36. package/dist/generated/billing-accounts/billing-accounts.js.map +1 -1
  37. package/dist/generated/billing-frequencies/billing-frequencies.d.ts +7 -6
  38. package/dist/generated/billing-frequencies/billing-frequencies.d.ts.map +1 -1
  39. package/dist/generated/billing-frequencies/billing-frequencies.js +5 -1
  40. package/dist/generated/billing-frequencies/billing-frequencies.js.map +1 -1
  41. package/dist/generated/billing-model-templates/billing-model-templates.d.ts +7 -6
  42. package/dist/generated/billing-model-templates/billing-model-templates.d.ts.map +1 -1
  43. package/dist/generated/billing-model-templates/billing-model-templates.js +4 -0
  44. package/dist/generated/billing-model-templates/billing-model-templates.js.map +1 -1
  45. package/dist/generated/binding-plans/binding-plans.d.ts +19 -18
  46. package/dist/generated/binding-plans/binding-plans.d.ts.map +1 -1
  47. package/dist/generated/binding-plans/binding-plans.js +61 -5
  48. package/dist/generated/binding-plans/binding-plans.js.map +1 -1
  49. package/dist/generated/bookings/bookings.d.ts +12 -11
  50. package/dist/generated/bookings/bookings.d.ts.map +1 -1
  51. package/dist/generated/bookings/bookings.js +22 -1
  52. package/dist/generated/bookings/bookings.js.map +1 -1
  53. package/dist/generated/capacity/capacity.d.ts +26 -25
  54. package/dist/generated/capacity/capacity.d.ts.map +1 -1
  55. package/dist/generated/capacity/capacity.js +68 -5
  56. package/dist/generated/capacity/capacity.js.map +1 -1
  57. package/dist/generated/carrier-bookings/carrier-bookings.d.ts +7 -6
  58. package/dist/generated/carrier-bookings/carrier-bookings.d.ts.map +1 -1
  59. package/dist/generated/carrier-bookings/carrier-bookings.js +5 -1
  60. package/dist/generated/carrier-bookings/carrier-bookings.js.map +1 -1
  61. package/dist/generated/carrier-methods/carrier-methods.d.ts +9 -8
  62. package/dist/generated/carrier-methods/carrier-methods.d.ts.map +1 -1
  63. package/dist/generated/carrier-methods/carrier-methods.js +18 -1
  64. package/dist/generated/carrier-methods/carrier-methods.js.map +1 -1
  65. package/dist/generated/carriers/carriers.d.ts +31 -30
  66. package/dist/generated/carriers/carriers.d.ts.map +1 -1
  67. package/dist/generated/carriers/carriers.js +73 -6
  68. package/dist/generated/carriers/carriers.js.map +1 -1
  69. package/dist/generated/carts/carts.d.ts +30 -29
  70. package/dist/generated/carts/carts.d.ts.map +1 -1
  71. package/dist/generated/carts/carts.js +86 -5
  72. package/dist/generated/carts/carts.js.map +1 -1
  73. package/dist/generated/categories/categories.d.ts +7 -6
  74. package/dist/generated/categories/categories.d.ts.map +1 -1
  75. package/dist/generated/categories/categories.js +4 -0
  76. package/dist/generated/categories/categories.js.map +1 -1
  77. package/dist/generated/check-in/check-in.d.ts +15 -14
  78. package/dist/generated/check-in/check-in.d.ts.map +1 -1
  79. package/dist/generated/check-in/check-in.js +56 -4
  80. package/dist/generated/check-in/check-in.js.map +1 -1
  81. package/dist/generated/checkout/checkout.d.ts +9 -8
  82. package/dist/generated/checkout/checkout.d.ts.map +1 -1
  83. package/dist/generated/checkout/checkout.js +10 -2
  84. package/dist/generated/checkout/checkout.js.map +1 -1
  85. package/dist/generated/client-config/client-config.d.ts +7 -6
  86. package/dist/generated/client-config/client-config.d.ts.map +1 -1
  87. package/dist/generated/client-config/client-config.js +5 -1
  88. package/dist/generated/client-config/client-config.js.map +1 -1
  89. package/dist/generated/container-types/container-types.d.ts +7 -6
  90. package/dist/generated/container-types/container-types.d.ts.map +1 -1
  91. package/dist/generated/container-types/container-types.js +14 -1
  92. package/dist/generated/container-types/container-types.js.map +1 -1
  93. package/dist/generated/containers/containers.d.ts +20 -19
  94. package/dist/generated/containers/containers.d.ts.map +1 -1
  95. package/dist/generated/containers/containers.js +45 -3
  96. package/dist/generated/containers/containers.js.map +1 -1
  97. package/dist/generated/coupons/coupons.d.ts +33 -32
  98. package/dist/generated/coupons/coupons.d.ts.map +1 -1
  99. package/dist/generated/coupons/coupons.js +102 -8
  100. package/dist/generated/coupons/coupons.js.map +1 -1
  101. package/dist/generated/damage-reports/damage-reports.d.ts +20 -19
  102. package/dist/generated/damage-reports/damage-reports.d.ts.map +1 -1
  103. package/dist/generated/damage-reports/damage-reports.js +45 -3
  104. package/dist/generated/damage-reports/damage-reports.js.map +1 -1
  105. package/dist/generated/discount-rules/discount-rules.d.ts +10 -9
  106. package/dist/generated/discount-rules/discount-rules.d.ts.map +1 -1
  107. package/dist/generated/discount-rules/discount-rules.js +19 -2
  108. package/dist/generated/discount-rules/discount-rules.js.map +1 -1
  109. package/dist/generated/employee-assignments/employee-assignments.d.ts +20 -19
  110. package/dist/generated/employee-assignments/employee-assignments.d.ts.map +1 -1
  111. package/dist/generated/employee-assignments/employee-assignments.js +55 -4
  112. package/dist/generated/employee-assignments/employee-assignments.js.map +1 -1
  113. package/dist/generated/files/files.d.ts +7 -6
  114. package/dist/generated/files/files.d.ts.map +1 -1
  115. package/dist/generated/files/files.js +14 -1
  116. package/dist/generated/files/files.js.map +1 -1
  117. package/dist/generated/folders/folders.d.ts +20 -19
  118. package/dist/generated/folders/folders.d.ts.map +1 -1
  119. package/dist/generated/folders/folders.js +55 -4
  120. package/dist/generated/folders/folders.js.map +1 -1
  121. package/dist/generated/forklift/forklift.d.ts +20 -19
  122. package/dist/generated/forklift/forklift.d.ts.map +1 -1
  123. package/dist/generated/forklift/forklift.js +80 -7
  124. package/dist/generated/forklift/forklift.js.map +1 -1
  125. package/dist/generated/fortnox-o-auth/fortnox-o-auth.d.ts +7 -6
  126. package/dist/generated/fortnox-o-auth/fortnox-o-auth.d.ts.map +1 -1
  127. package/dist/generated/fortnox-o-auth/fortnox-o-auth.js +4 -0
  128. package/dist/generated/fortnox-o-auth/fortnox-o-auth.js.map +1 -1
  129. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.d.ts +7 -6
  130. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.d.ts.map +1 -1
  131. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.js +4 -0
  132. package/dist/generated/hasura-sales-order-webhook/hasura-sales-order-webhook.js.map +1 -1
  133. package/dist/generated/hasura-user-webhook/hasura-user-webhook.d.ts +7 -6
  134. package/dist/generated/hasura-user-webhook/hasura-user-webhook.d.ts.map +1 -1
  135. package/dist/generated/hasura-user-webhook/hasura-user-webhook.js +4 -0
  136. package/dist/generated/hasura-user-webhook/hasura-user-webhook.js.map +1 -1
  137. package/dist/generated/health/health.d.ts +7 -6
  138. package/dist/generated/health/health.d.ts.map +1 -1
  139. package/dist/generated/health/health.js +4 -0
  140. package/dist/generated/health/health.js.map +1 -1
  141. package/dist/generated/index.schemas.d.ts +1694 -1655
  142. package/dist/generated/index.schemas.d.ts.map +1 -1
  143. package/dist/generated/index.schemas.js +8 -269
  144. package/dist/generated/index.schemas.js.map +1 -1
  145. package/dist/generated/integrations/integrations.d.ts +29 -28
  146. package/dist/generated/integrations/integrations.d.ts.map +1 -1
  147. package/dist/generated/integrations/integrations.js +62 -3
  148. package/dist/generated/integrations/integrations.js.map +1 -1
  149. package/dist/generated/invoice-basis-rows/invoice-basis-rows.d.ts +24 -0
  150. package/dist/generated/invoice-basis-rows/invoice-basis-rows.d.ts.map +1 -0
  151. package/dist/generated/invoice-basis-rows/invoice-basis-rows.js +23 -0
  152. package/dist/generated/invoice-basis-rows/invoice-basis-rows.js.map +1 -0
  153. package/dist/generated/invoice-details/invoice-details.d.ts +10 -9
  154. package/dist/generated/invoice-details/invoice-details.d.ts.map +1 -1
  155. package/dist/generated/invoice-details/invoice-details.js +18 -1
  156. package/dist/generated/invoice-details/invoice-details.js.map +1 -1
  157. package/dist/generated/invoices/invoices.d.ts +28 -27
  158. package/dist/generated/invoices/invoices.d.ts.map +1 -1
  159. package/dist/generated/invoices/invoices.js +82 -6
  160. package/dist/generated/invoices/invoices.js.map +1 -1
  161. package/dist/generated/items/items.d.ts +12 -11
  162. package/dist/generated/items/items.d.ts.map +1 -1
  163. package/dist/generated/items/items.js +24 -3
  164. package/dist/generated/items/items.js.map +1 -1
  165. package/dist/generated/lookups/lookups.d.ts +7 -6
  166. package/dist/generated/lookups/lookups.d.ts.map +1 -1
  167. package/dist/generated/lookups/lookups.js +5 -1
  168. package/dist/generated/lookups/lookups.js.map +1 -1
  169. package/dist/generated/manual-billing-line/manual-billing-line.d.ts +7 -6
  170. package/dist/generated/manual-billing-line/manual-billing-line.d.ts.map +1 -1
  171. package/dist/generated/manual-billing-line/manual-billing-line.js +14 -1
  172. package/dist/generated/manual-billing-line/manual-billing-line.js.map +1 -1
  173. package/dist/generated/me/me.d.ts +17 -16
  174. package/dist/generated/me/me.d.ts.map +1 -1
  175. package/dist/generated/me/me.js +50 -3
  176. package/dist/generated/me/me.js.map +1 -1
  177. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts +10 -9
  178. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts.map +1 -1
  179. package/dist/generated/me-notification-preferences/me-notification-preferences.js +18 -1
  180. package/dist/generated/me-notification-preferences/me-notification-preferences.js.map +1 -1
  181. package/dist/generated/merchandise/merchandise.d.ts +28 -27
  182. package/dist/generated/merchandise/merchandise.d.ts.map +1 -1
  183. package/dist/generated/merchandise/merchandise.js +74 -6
  184. package/dist/generated/merchandise/merchandise.js.map +1 -1
  185. package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts +10 -9
  186. package/dist/generated/merchandise-checkout/merchandise-checkout.d.ts.map +1 -1
  187. package/dist/generated/merchandise-checkout/merchandise-checkout.js +19 -2
  188. package/dist/generated/merchandise-checkout/merchandise-checkout.js.map +1 -1
  189. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts +16 -15
  190. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.d.ts.map +1 -1
  191. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js +37 -3
  192. package/dist/generated/merchandise-estimate-rules/merchandise-estimate-rules.js.map +1 -1
  193. package/dist/generated/move-adjust/move-adjust.d.ts +10 -9
  194. package/dist/generated/move-adjust/move-adjust.d.ts.map +1 -1
  195. package/dist/generated/move-adjust/move-adjust.js +28 -2
  196. package/dist/generated/move-adjust/move-adjust.js.map +1 -1
  197. package/dist/generated/notification-debug/notification-debug.d.ts +7 -6
  198. package/dist/generated/notification-debug/notification-debug.d.ts.map +1 -1
  199. package/dist/generated/notification-debug/notification-debug.js +14 -1
  200. package/dist/generated/notification-debug/notification-debug.js.map +1 -1
  201. package/dist/generated/notification-dispatches/notification-dispatches.d.ts +16 -15
  202. package/dist/generated/notification-dispatches/notification-dispatches.d.ts.map +1 -1
  203. package/dist/generated/notification-dispatches/notification-dispatches.js +27 -2
  204. package/dist/generated/notification-dispatches/notification-dispatches.js.map +1 -1
  205. package/dist/generated/notification-events/notification-events.d.ts +10 -9
  206. package/dist/generated/notification-events/notification-events.d.ts.map +1 -1
  207. package/dist/generated/notification-events/notification-events.js +10 -2
  208. package/dist/generated/notification-events/notification-events.js.map +1 -1
  209. package/dist/generated/notification-health/notification-health.d.ts +7 -6
  210. package/dist/generated/notification-health/notification-health.d.ts.map +1 -1
  211. package/dist/generated/notification-health/notification-health.js +4 -0
  212. package/dist/generated/notification-health/notification-health.js.map +1 -1
  213. package/dist/generated/notification-preferences/notification-preferences.d.ts +10 -9
  214. package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -1
  215. package/dist/generated/notification-preferences/notification-preferences.js +19 -2
  216. package/dist/generated/notification-preferences/notification-preferences.js.map +1 -1
  217. package/dist/generated/notification-requests/notification-requests.d.ts +10 -9
  218. package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -1
  219. package/dist/generated/notification-requests/notification-requests.js +8 -0
  220. package/dist/generated/notification-requests/notification-requests.js.map +1 -1
  221. package/dist/generated/notification-rules/notification-rules.d.ts +28 -27
  222. package/dist/generated/notification-rules/notification-rules.d.ts.map +1 -1
  223. package/dist/generated/notification-rules/notification-rules.js +63 -4
  224. package/dist/generated/notification-rules/notification-rules.js.map +1 -1
  225. package/dist/generated/notification-settings/notification-settings.d.ts +16 -15
  226. package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -1
  227. package/dist/generated/notification-settings/notification-settings.js +46 -3
  228. package/dist/generated/notification-settings/notification-settings.js.map +1 -1
  229. package/dist/generated/notification-templates/notification-templates.d.ts +43 -42
  230. package/dist/generated/notification-templates/notification-templates.d.ts.map +1 -1
  231. package/dist/generated/notification-templates/notification-templates.js +113 -7
  232. package/dist/generated/notification-templates/notification-templates.js.map +1 -1
  233. package/dist/generated/order-groups/order-groups.d.ts +9 -8
  234. package/dist/generated/order-groups/order-groups.d.ts.map +1 -1
  235. package/dist/generated/order-groups/order-groups.js +9 -1
  236. package/dist/generated/order-groups/order-groups.js.map +1 -1
  237. package/dist/generated/orders/orders.d.ts +52 -51
  238. package/dist/generated/orders/orders.d.ts.map +1 -1
  239. package/dist/generated/orders/orders.js +216 -18
  240. package/dist/generated/orders/orders.js.map +1 -1
  241. package/dist/generated/org-contacts/org-contacts.d.ts +14 -13
  242. package/dist/generated/org-contacts/org-contacts.d.ts.map +1 -1
  243. package/dist/generated/org-contacts/org-contacts.js +37 -3
  244. package/dist/generated/org-contacts/org-contacts.js.map +1 -1
  245. package/dist/generated/organization-contracts/organization-contracts.d.ts +10 -9
  246. package/dist/generated/organization-contracts/organization-contracts.d.ts.map +1 -1
  247. package/dist/generated/organization-contracts/organization-contracts.js +18 -1
  248. package/dist/generated/organization-contracts/organization-contracts.js.map +1 -1
  249. package/dist/generated/organization-members/organization-members.d.ts +20 -19
  250. package/dist/generated/organization-members/organization-members.d.ts.map +1 -1
  251. package/dist/generated/organization-members/organization-members.js +54 -3
  252. package/dist/generated/organization-members/organization-members.js.map +1 -1
  253. package/dist/generated/organization-settings/organization-settings.d.ts +10 -9
  254. package/dist/generated/organization-settings/organization-settings.d.ts.map +1 -1
  255. package/dist/generated/organization-settings/organization-settings.js +18 -1
  256. package/dist/generated/organization-settings/organization-settings.js.map +1 -1
  257. package/dist/generated/organizations/organizations.d.ts +21 -20
  258. package/dist/generated/organizations/organizations.d.ts.map +1 -1
  259. package/dist/generated/organizations/organizations.js +47 -5
  260. package/dist/generated/organizations/organizations.js.map +1 -1
  261. package/dist/generated/outbound/outbound.d.ts +12 -11
  262. package/dist/generated/outbound/outbound.d.ts.map +1 -1
  263. package/dist/generated/outbound/outbound.js +42 -3
  264. package/dist/generated/outbound/outbound.js.map +1 -1
  265. package/dist/generated/payment-instruments/payment-instruments.d.ts +16 -15
  266. package/dist/generated/payment-instruments/payment-instruments.d.ts.map +1 -1
  267. package/dist/generated/payment-instruments/payment-instruments.js +16 -0
  268. package/dist/generated/payment-instruments/payment-instruments.js.map +1 -1
  269. package/dist/generated/payment-methods/payment-methods.d.ts +7 -6
  270. package/dist/generated/payment-methods/payment-methods.d.ts.map +1 -1
  271. package/dist/generated/payment-methods/payment-methods.js +5 -1
  272. package/dist/generated/payment-methods/payment-methods.js.map +1 -1
  273. package/dist/generated/payment-terms/payment-terms.d.ts +7 -6
  274. package/dist/generated/payment-terms/payment-terms.d.ts.map +1 -1
  275. package/dist/generated/payment-terms/payment-terms.js +5 -1
  276. package/dist/generated/payment-terms/payment-terms.js.map +1 -1
  277. package/dist/generated/pickup-label/pickup-label.d.ts +7 -6
  278. package/dist/generated/pickup-label/pickup-label.d.ts.map +1 -1
  279. package/dist/generated/pickup-label/pickup-label.js +4 -0
  280. package/dist/generated/pickup-label/pickup-label.js.map +1 -1
  281. package/dist/generated/pods/pods.d.ts +24 -23
  282. package/dist/generated/pods/pods.d.ts.map +1 -1
  283. package/dist/generated/pods/pods.js +74 -6
  284. package/dist/generated/pods/pods.js.map +1 -1
  285. package/dist/generated/positions/positions.d.ts +25 -24
  286. package/dist/generated/positions/positions.d.ts.map +1 -1
  287. package/dist/generated/positions/positions.js +53 -3
  288. package/dist/generated/positions/positions.js.map +1 -1
  289. package/dist/generated/price-lists/price-lists.d.ts +28 -27
  290. package/dist/generated/price-lists/price-lists.d.ts.map +1 -1
  291. package/dist/generated/price-lists/price-lists.js +84 -7
  292. package/dist/generated/price-lists/price-lists.js.map +1 -1
  293. package/dist/generated/price-suggestion/price-suggestion.d.ts +7 -6
  294. package/dist/generated/price-suggestion/price-suggestion.d.ts.map +1 -1
  295. package/dist/generated/price-suggestion/price-suggestion.js +5 -1
  296. package/dist/generated/price-suggestion/price-suggestion.js.map +1 -1
  297. package/dist/generated/pricing-rules/pricing-rules.d.ts +22 -21
  298. package/dist/generated/pricing-rules/pricing-rules.d.ts.map +1 -1
  299. package/dist/generated/pricing-rules/pricing-rules.js +65 -5
  300. package/dist/generated/pricing-rules/pricing-rules.js.map +1 -1
  301. package/dist/generated/products/products.d.ts +26 -25
  302. package/dist/generated/products/products.d.ts.map +1 -1
  303. package/dist/generated/products/products.js +74 -6
  304. package/dist/generated/products/products.js.map +1 -1
  305. package/dist/generated/provider-switch/provider-switch.d.ts +9 -8
  306. package/dist/generated/provider-switch/provider-switch.d.ts.map +1 -1
  307. package/dist/generated/provider-switch/provider-switch.js +28 -2
  308. package/dist/generated/provider-switch/provider-switch.js.map +1 -1
  309. package/dist/generated/receive/receive.d.ts +15 -14
  310. package/dist/generated/receive/receive.d.ts.map +1 -1
  311. package/dist/generated/receive/receive.js +56 -4
  312. package/dist/generated/receive/receive.js.map +1 -1
  313. package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts +66 -0
  314. package/dist/generated/recurring-fee-configs/recurring-fee-configs.d.ts.map +1 -0
  315. package/dist/generated/recurring-fee-configs/recurring-fee-configs.js +87 -0
  316. package/dist/generated/recurring-fee-configs/recurring-fee-configs.js.map +1 -0
  317. package/dist/generated/route-stops/route-stops.d.ts +13 -12
  318. package/dist/generated/route-stops/route-stops.d.ts.map +1 -1
  319. package/dist/generated/route-stops/route-stops.js +56 -4
  320. package/dist/generated/route-stops/route-stops.js.map +1 -1
  321. package/dist/generated/routes/routes.d.ts +42 -41
  322. package/dist/generated/routes/routes.d.ts.map +1 -1
  323. package/dist/generated/routes/routes.js +171 -12
  324. package/dist/generated/routes/routes.js.map +1 -1
  325. package/dist/generated/sales-orders/sales-orders.d.ts +10 -9
  326. package/dist/generated/sales-orders/sales-orders.d.ts.map +1 -1
  327. package/dist/generated/sales-orders/sales-orders.js +9 -1
  328. package/dist/generated/sales-orders/sales-orders.js.map +1 -1
  329. package/dist/generated/sender-identities/sender-identities.d.ts +22 -21
  330. package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -1
  331. package/dist/generated/sender-identities/sender-identities.js +45 -3
  332. package/dist/generated/sender-identities/sender-identities.js.map +1 -1
  333. package/dist/generated/service-catalog/service-catalog.d.ts +7 -6
  334. package/dist/generated/service-catalog/service-catalog.d.ts.map +1 -1
  335. package/dist/generated/service-catalog/service-catalog.js +4 -0
  336. package/dist/generated/service-catalog/service-catalog.js.map +1 -1
  337. package/dist/generated/service-points/service-points.d.ts +7 -6
  338. package/dist/generated/service-points/service-points.d.ts.map +1 -1
  339. package/dist/generated/service-points/service-points.js +5 -1
  340. package/dist/generated/service-points/service-points.js.map +1 -1
  341. package/dist/generated/service-zones/service-zones.d.ts +21 -20
  342. package/dist/generated/service-zones/service-zones.d.ts.map +1 -1
  343. package/dist/generated/service-zones/service-zones.js +46 -4
  344. package/dist/generated/service-zones/service-zones.js.map +1 -1
  345. package/dist/generated/sessions/sessions.d.ts +7 -6
  346. package/dist/generated/sessions/sessions.d.ts.map +1 -1
  347. package/dist/generated/sessions/sessions.js +4 -0
  348. package/dist/generated/sessions/sessions.js.map +1 -1
  349. package/dist/generated/shipments/shipments.d.ts +7 -6
  350. package/dist/generated/shipments/shipments.d.ts.map +1 -1
  351. package/dist/generated/shipments/shipments.js +4 -0
  352. package/dist/generated/shipments/shipments.js.map +1 -1
  353. package/dist/generated/slot-configs/slot-configs.d.ts +16 -15
  354. package/dist/generated/slot-configs/slot-configs.d.ts.map +1 -1
  355. package/dist/generated/slot-configs/slot-configs.js +51 -4
  356. package/dist/generated/slot-configs/slot-configs.js.map +1 -1
  357. package/dist/generated/stripe-webhook/stripe-webhook.d.ts +7 -6
  358. package/dist/generated/stripe-webhook/stripe-webhook.d.ts.map +1 -1
  359. package/dist/generated/stripe-webhook/stripe-webhook.js +4 -0
  360. package/dist/generated/stripe-webhook/stripe-webhook.js.map +1 -1
  361. package/dist/generated/subscription-configs/subscription-configs.d.ts +12 -11
  362. package/dist/generated/subscription-configs/subscription-configs.d.ts.map +1 -1
  363. package/dist/generated/subscription-configs/subscription-configs.js +32 -2
  364. package/dist/generated/subscription-configs/subscription-configs.js.map +1 -1
  365. package/dist/generated/suppressions/suppressions.d.ts +16 -15
  366. package/dist/generated/suppressions/suppressions.d.ts.map +1 -1
  367. package/dist/generated/suppressions/suppressions.js +38 -4
  368. package/dist/generated/suppressions/suppressions.js.map +1 -1
  369. package/dist/generated/sync-dimensions/sync-dimensions.d.ts +7 -6
  370. package/dist/generated/sync-dimensions/sync-dimensions.d.ts.map +1 -1
  371. package/dist/generated/sync-dimensions/sync-dimensions.js +14 -1
  372. package/dist/generated/sync-dimensions/sync-dimensions.js.map +1 -1
  373. package/dist/generated/tenant-config/tenant-config.d.ts +12 -11
  374. package/dist/generated/tenant-config/tenant-config.d.ts.map +1 -1
  375. package/dist/generated/tenant-config/tenant-config.js +32 -2
  376. package/dist/generated/tenant-config/tenant-config.js.map +1 -1
  377. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts +10 -9
  378. package/dist/generated/tenant-maintenance/tenant-maintenance.d.ts.map +1 -1
  379. package/dist/generated/tenant-maintenance/tenant-maintenance.js +18 -1
  380. package/dist/generated/tenant-maintenance/tenant-maintenance.js.map +1 -1
  381. package/dist/generated/tenant-modules/tenant-modules.d.ts +10 -9
  382. package/dist/generated/tenant-modules/tenant-modules.d.ts.map +1 -1
  383. package/dist/generated/tenant-modules/tenant-modules.js +18 -1
  384. package/dist/generated/tenant-modules/tenant-modules.js.map +1 -1
  385. package/dist/generated/tenant-services/tenant-services.d.ts +14 -13
  386. package/dist/generated/tenant-services/tenant-services.d.ts.map +1 -1
  387. package/dist/generated/tenant-services/tenant-services.js +36 -2
  388. package/dist/generated/tenant-services/tenant-services.js.map +1 -1
  389. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts +10 -9
  390. package/dist/generated/transport-leg-booking/transport-leg-booking.d.ts.map +1 -1
  391. package/dist/generated/transport-leg-booking/transport-leg-booking.js +18 -1
  392. package/dist/generated/transport-leg-booking/transport-leg-booking.js.map +1 -1
  393. package/dist/generated/transport-legs/transport-legs.d.ts +34 -33
  394. package/dist/generated/transport-legs/transport-legs.d.ts.map +1 -1
  395. package/dist/generated/transport-legs/transport-legs.js +149 -11
  396. package/dist/generated/transport-legs/transport-legs.js.map +1 -1
  397. package/dist/generated/transport-options/transport-options.d.ts +14 -13
  398. package/dist/generated/transport-options/transport-options.d.ts.map +1 -1
  399. package/dist/generated/transport-options/transport-options.js +37 -3
  400. package/dist/generated/transport-options/transport-options.js.map +1 -1
  401. package/dist/generated/transport-services/transport-services.d.ts +25 -24
  402. package/dist/generated/transport-services/transport-services.d.ts.map +1 -1
  403. package/dist/generated/transport-services/transport-services.js +54 -4
  404. package/dist/generated/transport-services/transport-services.js.map +1 -1
  405. package/dist/generated/units-of-measure/units-of-measure.d.ts +9 -8
  406. package/dist/generated/units-of-measure/units-of-measure.d.ts.map +1 -1
  407. package/dist/generated/units-of-measure/units-of-measure.js +9 -1
  408. package/dist/generated/units-of-measure/units-of-measure.js.map +1 -1
  409. package/dist/generated/unsubscribe/unsubscribe.d.ts +10 -9
  410. package/dist/generated/unsubscribe/unsubscribe.d.ts.map +1 -1
  411. package/dist/generated/unsubscribe/unsubscribe.js +18 -1
  412. package/dist/generated/unsubscribe/unsubscribe.js.map +1 -1
  413. package/dist/generated/users/users.d.ts +16 -15
  414. package/dist/generated/users/users.d.ts.map +1 -1
  415. package/dist/generated/users/users.js +47 -4
  416. package/dist/generated/users/users.js.map +1 -1
  417. package/dist/generated/warehouse-orders/warehouse-orders.d.ts +32 -31
  418. package/dist/generated/warehouse-orders/warehouse-orders.d.ts.map +1 -1
  419. package/dist/generated/warehouse-orders/warehouse-orders.js +125 -9
  420. package/dist/generated/warehouse-orders/warehouse-orders.js.map +1 -1
  421. package/dist/generated/warehouses/warehouses.d.ts +29 -28
  422. package/dist/generated/warehouses/warehouses.d.ts.map +1 -1
  423. package/dist/generated/warehouses/warehouses.js +78 -6
  424. package/dist/generated/warehouses/warehouses.js.map +1 -1
  425. package/package.json +2 -2
@@ -4,12 +4,16 @@ export const getLookupsControllerListV1Url = (params) => {
4
4
  const normalizedParams = new URLSearchParams();
5
5
  Object.entries(params || {}).forEach(([key, value]) => {
6
6
  if (value !== undefined) {
7
- normalizedParams.append(key, value === null ? 'null' : value.toString());
7
+ normalizedParams.append(key, value === null ? 'null' : String(value));
8
8
  }
9
9
  });
10
10
  const stringifiedParams = normalizedParams.toString();
11
11
  return stringifiedParams.length > 0 ? `/v1/lookups?${stringifiedParams}` : `/v1/lookups`;
12
12
  };
13
+ /**
14
+ * 🔒 Requires permission: product:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
15
+ * @summary Read a reference/enum vocabulary for a dropdown (by kind)
16
+ */
13
17
  export const lookupsControllerListV1 = async (params, options) => {
14
18
  return customFetch(getLookupsControllerListV1Url(params), {
15
19
  ...options,
@@ -1 +1 @@
1
- {"version":3,"file":"lookups.js","sourceRoot":"","sources":["../../../src/generated/lookups/lookups.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,MAAqC,EAAG,EAAE;IACtF,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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GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,eAAe,iBAAiB,EAAE,CAAC,CAAC,CAAC,aAAa,CAAA;AAC1F,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,KAAK,EAAE,MAAqC,EAAE,OAA2C,EAA4C,EAAE;IAE5K,OAAO,WAAW,CAAkC,6BAA6B,CAAC,MAAM,CAAC,EACzF;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -1,15 +1,12 @@
1
1
  /**
2
- * Generated by orval v7.21.0 🍺
2
+ * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Vinden Core API
5
5
  * Core API for the Vinden Platform
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
8
  import type { CreateManualBillingLineDto, ManualBillingLineDto } from '../index.schemas.js';
9
- /**
10
- * Writes a billing.billable_event of type manual_billing_line, priced later by the normal pricing-rule pipeline. Requires an active pricing rule for manual_billing_line (apply the 'Manual line — pass-through' template first) — 409 otherwise. 🔒 Requires permission: manualbillingline:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
- * @summary Create an ad-hoc manual billing line for a sales order
12
- */
9
+ import { customFetch } from '../../mutator.js';
13
10
  export type manualBillingLineControllerCreateV1Response201 = {
14
11
  data: ManualBillingLineDto;
15
12
  status: 201;
@@ -19,5 +16,9 @@ export type manualBillingLineControllerCreateV1ResponseSuccess = (manualBillingL
19
16
  };
20
17
  export type manualBillingLineControllerCreateV1Response = (manualBillingLineControllerCreateV1ResponseSuccess);
21
18
  export declare const getManualBillingLineControllerCreateV1Url: () => string;
22
- export declare const manualBillingLineControllerCreateV1: (createManualBillingLineDto: CreateManualBillingLineDto, options?: RequestInit) => Promise<manualBillingLineControllerCreateV1Response>;
19
+ /**
20
+ * Writes a billing.billable_event of type manual_billing_line, priced later by the normal pricing-rule pipeline. Requires an active pricing rule for manual_billing_line (apply the 'Manual line — pass-through' template first) — 409 otherwise. 🔒 Requires permission: manualbillingline:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
21
+ * @summary Create an ad-hoc manual billing line for a sales order
22
+ */
23
+ export declare const manualBillingLineControllerCreateV1: (createManualBillingLineDto: CreateManualBillingLineDto, options?: Parameters<typeof customFetch>[1]) => Promise<manualBillingLineControllerCreateV1Response>;
23
24
  //# sourceMappingURL=manual-billing-line.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"manual-billing-line.d.ts","sourceRoot":"","sources":["../../../src/generated/manual-billing-line/manual-billing-line.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kDAAkD,GAAG,CAAC,8CAA8C,CAAC,GAAG;IAClH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,2CAA2C,GAAG,CAAC,kDAAkD,CAAC,CAAA;AAE9G,eAAO,MAAM,yCAAyC,cAMrD,CAAA;AAED,eAAO,MAAM,mCAAmC,GAAU,4BAA4B,0BAA0B,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,2CAA2C,CAU1L,CAAA"}
1
+ {"version":3,"file":"manual-billing-line.d.ts","sourceRoot":"","sources":["../../../src/generated/manual-billing-line/manual-billing-line.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kDAAkD,GAAG,CAAC,8CAA8C,CAAC,GAAG;IAClH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,2CAA2C,GAAG,CAAC,kDAAkD,CAAC,CAAA;AAE9G,eAAO,MAAM,yCAAyC,cAMrD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mCAAmC,GAAU,4BAA4B,0BAA0B,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,2CAA2C,CAehN,CAAA"}
@@ -3,11 +3,24 @@ import { customFetch } from '../../mutator.js';
3
3
  export const getManualBillingLineControllerCreateV1Url = () => {
4
4
  return `/v1/billing/manual-billing-lines`;
5
5
  };
6
+ /**
7
+ * Writes a billing.billable_event of type manual_billing_line, priced later by the normal pricing-rule pipeline. Requires an active pricing rule for manual_billing_line (apply the 'Manual line — pass-through' template first) — 409 otherwise. 🔒 Requires permission: manualbillingline:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
8
+ * @summary Create an ad-hoc manual billing line for a sales order
9
+ */
6
10
  export const manualBillingLineControllerCreateV1 = async (createManualBillingLineDto, options) => {
11
+ const getHeaders = (h) => {
12
+ if (!h)
13
+ return {};
14
+ if (h instanceof Headers)
15
+ return Object.fromEntries(h.entries());
16
+ if (Array.isArray(h))
17
+ return Object.fromEntries(h);
18
+ return h;
19
+ };
7
20
  return customFetch(getManualBillingLineControllerCreateV1Url(), {
8
21
  ...options,
9
22
  method: 'POST',
10
- headers: { 'Content-Type': 'application/json', ...options?.headers },
23
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
11
24
  body: JSON.stringify(createManualBillingLineDto)
12
25
  });
13
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"manual-billing-line.js","sourceRoot":"","sources":["../../../src/generated/manual-billing-line/manual-billing-line.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,yCAAyC,GAAG,GAAG,EAAE;IAK5D,OAAO,kCAAkC,CAAA;AAC3C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,mCAAmC,GAAG,KAAK,EAAE,0BAAsD,EAAE,OAAqB,EAAwD,EAAE;IAE/L,OAAO,WAAW,CAA8C,yCAAyC,EAAE,EAC3G;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,0BAA0B,CAAE;KAC/B,CACF,CAAC;AAAA,CAAC,CAAA"}
1
+ {"version":3,"file":"manual-billing-line.js","sourceRoot":"","sources":["../../../src/generated/manual-billing-line/manual-billing-line.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,yCAAyC,GAAG,GAAG,EAAE;IAK5D,OAAO,kCAAkC,CAAA;AAC3C,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,KAAK,EAAE,0BAAsD,EAAE,OAA2C,EAAwD,EAAE;IAEnN,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAA8C,yCAAyC,EAAE,EACzG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,0BAA0B,CAAC;KACjD,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -1,15 +1,12 @@
1
1
  /**
2
- * Generated by orval v7.21.0 🍺
2
+ * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Vinden Core API
5
5
  * Core API for the Vinden Platform
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
8
  import type { MeResponseDto, OnboardMeDto, OnboardingStatusDto, UpdateIdentityNumberDto, UpdateMeDto } from '../index.schemas.js';
9
- /**
10
- * 🔒 Requires: authenticated session
11
- * @summary Get current user — bootstraps user_profile + organization_member on first call
12
- */
9
+ import { customFetch } from '../../mutator.js';
13
10
  export type meControllerGetMeV1Response200 = {
14
11
  data: MeResponseDto;
15
12
  status: 200;
@@ -19,11 +16,11 @@ export type meControllerGetMeV1ResponseSuccess = (meControllerGetMeV1Response200
19
16
  };
20
17
  export type meControllerGetMeV1Response = (meControllerGetMeV1ResponseSuccess);
21
18
  export declare const getMeControllerGetMeV1Url: () => string;
22
- export declare const meControllerGetMeV1: (options?: RequestInit) => Promise<meControllerGetMeV1Response>;
23
19
  /**
24
20
  * 🔒 Requires: authenticated session
25
- * @summary Update own non-sensitive profile (display name). Keycloak-owned identity is not editable.
21
+ * @summary Get current user — bootstraps user_profile + organization_member on first call
26
22
  */
23
+ export declare const meControllerGetMeV1: (options?: Parameters<typeof customFetch>[1]) => Promise<meControllerGetMeV1Response>;
27
24
  export type meControllerUpdateMeV1Response200 = {
28
25
  data: MeResponseDto;
29
26
  status: 200;
@@ -33,11 +30,11 @@ export type meControllerUpdateMeV1ResponseSuccess = (meControllerUpdateMeV1Respo
33
30
  };
34
31
  export type meControllerUpdateMeV1Response = (meControllerUpdateMeV1ResponseSuccess);
35
32
  export declare const getMeControllerUpdateMeV1Url: () => string;
36
- export declare const meControllerUpdateMeV1: (updateMeDto: UpdateMeDto, options?: RequestInit) => Promise<meControllerUpdateMeV1Response>;
37
33
  /**
38
34
  * 🔒 Requires: authenticated session
39
- * @summary Consumer onboarding / authorization-sync status for the current token
35
+ * @summary Update own non-sensitive profile (display name). Keycloak-owned identity is not editable.
40
36
  */
37
+ export declare const meControllerUpdateMeV1: (updateMeDto: UpdateMeDto, options?: Parameters<typeof customFetch>[1]) => Promise<meControllerUpdateMeV1Response>;
41
38
  export type meControllerGetOnboardingV1Response200 = {
42
39
  data: OnboardingStatusDto;
43
40
  status: 200;
@@ -47,11 +44,11 @@ export type meControllerGetOnboardingV1ResponseSuccess = (meControllerGetOnboard
47
44
  };
48
45
  export type meControllerGetOnboardingV1Response = (meControllerGetOnboardingV1ResponseSuccess);
49
46
  export declare const getMeControllerGetOnboardingV1Url: () => string;
50
- export declare const meControllerGetOnboardingV1: (options?: RequestInit) => Promise<meControllerGetOnboardingV1Response>;
51
47
  /**
52
- * Identity is (issuer, subject) only. Same email + different external subject creates a distinct account and does not inherit the first user's organization or roles. Returns sync_pending until Keycloak authorization is applied and the client refreshes its token. 🔒 Requires: authenticated session
53
- * @summary Provision a personal organization for a first-time federated consumer
48
+ * 🔒 Requires: authenticated session
49
+ * @summary Consumer onboarding / authorization-sync status for the current token
54
50
  */
51
+ export declare const meControllerGetOnboardingV1: (options?: Parameters<typeof customFetch>[1]) => Promise<meControllerGetOnboardingV1Response>;
55
52
  export type meControllerOnboardV1Response200 = {
56
53
  data: OnboardingStatusDto;
57
54
  status: 200;
@@ -72,11 +69,11 @@ export type meControllerOnboardV1ResponseError = (meControllerOnboardV1Response4
72
69
  };
73
70
  export type meControllerOnboardV1Response = (meControllerOnboardV1ResponseSuccess | meControllerOnboardV1ResponseError);
74
71
  export declare const getMeControllerOnboardV1Url: () => string;
75
- export declare const meControllerOnboardV1: (onboardMeDto: OnboardMeDto, options?: RequestInit) => Promise<meControllerOnboardV1Response>;
76
72
  /**
77
- * Writes the caller's OWN personnummer to the protected `user_profile.personal_identity_number` column. The write runs on the elevated `role_core_api_sensitive` connection and records one `audit_logs.admin_action` row; the value is never returned by this or any other endpoint, and `GET /v1/me` omits it. Self-only — the target is the caller's own `sub`, never a parameter. 🔒 Requires: authenticated session
78
- * @summary Set own personal identity number (sensitive; audited, never echoed)
73
+ * Identity is (issuer, subject) only. Same email + different external subject creates a distinct account and does not inherit the first user's organization or roles. Returns sync_pending until Keycloak authorization is applied and the client refreshes its token. 🔒 Requires: authenticated session
74
+ * @summary Provision a personal organization for a first-time federated consumer
79
75
  */
76
+ export declare const meControllerOnboardV1: (onboardMeDto: OnboardMeDto, options?: Parameters<typeof customFetch>[1]) => Promise<meControllerOnboardV1Response>;
80
77
  export type meControllerUpdateIdentityNumberV1Response204 = {
81
78
  data: void;
82
79
  status: 204;
@@ -101,5 +98,9 @@ export type meControllerUpdateIdentityNumberV1ResponseError = (meControllerUpdat
101
98
  };
102
99
  export type meControllerUpdateIdentityNumberV1Response = (meControllerUpdateIdentityNumberV1ResponseSuccess | meControllerUpdateIdentityNumberV1ResponseError);
103
100
  export declare const getMeControllerUpdateIdentityNumberV1Url: () => string;
104
- export declare const meControllerUpdateIdentityNumberV1: (updateIdentityNumberDto: UpdateIdentityNumberDto, options?: RequestInit) => Promise<meControllerUpdateIdentityNumberV1Response>;
101
+ /**
102
+ * Writes the caller's OWN personnummer to the protected `user_profile.personal_identity_number` column. The write runs on the elevated `role_core_api_sensitive` connection and records one `audit_logs.admin_action` row; the value is never returned by this or any other endpoint, and `GET /v1/me` omits it. Self-only — the target is the caller's own `sub`, never a parameter. 🔒 Requires: authenticated session
103
+ * @summary Set own personal identity number (sensitive; audited, never echoed)
104
+ */
105
+ export declare const meControllerUpdateIdentityNumberV1: (updateIdentityNumberDto: UpdateIdentityNumberDto, options?: Parameters<typeof customFetch>[1]) => Promise<meControllerUpdateIdentityNumberV1Response>;
105
106
  //# sourceMappingURL=me.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"me.d.ts","sourceRoot":"","sources":["../../../src/generated/me/me.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,mBAAmB,EACnB,uBAAuB,EACvB,WAAW,EACZ,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,CAAC,8BAA8B,CAAC,GAAG;IAClF,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,2BAA2B,GAAG,CAAC,kCAAkC,CAAC,CAAA;AAE9E,eAAO,MAAM,yBAAyB,cAMrC,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAW,UAAU,WAAW,KAAG,OAAO,CAAC,2BAA2B,CASnG,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,qCAAqC,GAAG,CAAC,iCAAiC,CAAC,GAAG;IACxF,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,8BAA8B,GAAG,CAAC,qCAAqC,CAAC,CAAA;AAEpF,eAAO,MAAM,4BAA4B,cAMxC,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAU,aAAa,WAAW,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,8BAA8B,CAUlI,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,EAAE,mBAAmB,CAAA;IACzB,MAAM,EAAE,GAAG,CAAA;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AAG;IAC9M,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,0CAA0C,GAAG,CAAC,iDAAiD,GAAG,+CAA+C,CAAC,CAAA;AAE9J,eAAO,MAAM,wCAAwC,cAMpD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kCAAkC,GAAU,yBAAyB,uBAAuB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,0CAA0C,CAexM,CAAA"}
@@ -3,6 +3,10 @@ import { customFetch } from '../../mutator.js';
3
3
  export const getMeControllerGetMeV1Url = () => {
4
4
  return `/v1/me`;
5
5
  };
6
+ /**
7
+ * 🔒 Requires: authenticated session
8
+ * @summary Get current user — bootstraps user_profile + organization_member on first call
9
+ */
6
10
  export const meControllerGetMeV1 = async (options) => {
7
11
  return customFetch(getMeControllerGetMeV1Url(), {
8
12
  ...options,
@@ -13,11 +17,24 @@ export const meControllerGetMeV1 = async (options) => {
13
17
  export const getMeControllerUpdateMeV1Url = () => {
14
18
  return `/v1/me`;
15
19
  };
20
+ /**
21
+ * 🔒 Requires: authenticated session
22
+ * @summary Update own non-sensitive profile (display name). Keycloak-owned identity is not editable.
23
+ */
16
24
  export const meControllerUpdateMeV1 = async (updateMeDto, options) => {
25
+ const getHeaders = (h) => {
26
+ if (!h)
27
+ return {};
28
+ if (h instanceof Headers)
29
+ return Object.fromEntries(h.entries());
30
+ if (Array.isArray(h))
31
+ return Object.fromEntries(h);
32
+ return h;
33
+ };
17
34
  return customFetch(getMeControllerUpdateMeV1Url(), {
18
35
  ...options,
19
36
  method: 'PATCH',
20
- headers: { 'Content-Type': 'application/json', ...options?.headers },
37
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
21
38
  body: JSON.stringify(updateMeDto)
22
39
  });
23
40
  };
@@ -25,6 +42,10 @@ export const meControllerUpdateMeV1 = async (updateMeDto, options) => {
25
42
  export const getMeControllerGetOnboardingV1Url = () => {
26
43
  return `/v1/me/onboarding`;
27
44
  };
45
+ /**
46
+ * 🔒 Requires: authenticated session
47
+ * @summary Consumer onboarding / authorization-sync status for the current token
48
+ */
28
49
  export const meControllerGetOnboardingV1 = async (options) => {
29
50
  return customFetch(getMeControllerGetOnboardingV1Url(), {
30
51
  ...options,
@@ -34,22 +55,48 @@ export const meControllerGetOnboardingV1 = async (options) => {
34
55
  export const getMeControllerOnboardV1Url = () => {
35
56
  return `/v1/me/onboard`;
36
57
  };
58
+ /**
59
+ * Identity is (issuer, subject) only. Same email + different external subject creates a distinct account and does not inherit the first user's organization or roles. Returns sync_pending until Keycloak authorization is applied and the client refreshes its token. 🔒 Requires: authenticated session
60
+ * @summary Provision a personal organization for a first-time federated consumer
61
+ */
37
62
  export const meControllerOnboardV1 = async (onboardMeDto, options) => {
63
+ const getHeaders = (h) => {
64
+ if (!h)
65
+ return {};
66
+ if (h instanceof Headers)
67
+ return Object.fromEntries(h.entries());
68
+ if (Array.isArray(h))
69
+ return Object.fromEntries(h);
70
+ return h;
71
+ };
38
72
  return customFetch(getMeControllerOnboardV1Url(), {
39
73
  ...options,
40
74
  method: 'POST',
41
- headers: { 'Content-Type': 'application/json', ...options?.headers },
75
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
42
76
  body: JSON.stringify(onboardMeDto)
43
77
  });
44
78
  };
45
79
  export const getMeControllerUpdateIdentityNumberV1Url = () => {
46
80
  return `/v1/me/identity-number`;
47
81
  };
82
+ /**
83
+ * Writes the caller's OWN personnummer to the protected `user_profile.personal_identity_number` column. The write runs on the elevated `role_core_api_sensitive` connection and records one `audit_logs.admin_action` row; the value is never returned by this or any other endpoint, and `GET /v1/me` omits it. Self-only — the target is the caller's own `sub`, never a parameter. 🔒 Requires: authenticated session
84
+ * @summary Set own personal identity number (sensitive; audited, never echoed)
85
+ */
48
86
  export const meControllerUpdateIdentityNumberV1 = async (updateIdentityNumberDto, options) => {
87
+ const getHeaders = (h) => {
88
+ if (!h)
89
+ return {};
90
+ if (h instanceof Headers)
91
+ return Object.fromEntries(h.entries());
92
+ if (Array.isArray(h))
93
+ return Object.fromEntries(h);
94
+ return h;
95
+ };
49
96
  return customFetch(getMeControllerUpdateIdentityNumberV1Url(), {
50
97
  ...options,
51
98
  method: 'PATCH',
52
- headers: { 'Content-Type': 'application/json', ...options?.headers },
99
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
53
100
  body: JSON.stringify(updateIdentityNumberDto)
54
101
  });
55
102
  };
@@ -1 +1 @@
1
- {"version":3,"file":"me.js","sourceRoot":"","sources":["../../../src/generated/me/me.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAK5C,OAAO,QAAQ,CAAA;AACjB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EAAG,OAAqB,EAAwC,EAAE;IAExG,OAAO,WAAW,CAA8B,yBAAyB,EAAE,EAC3E;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAeH,CAAC;AAID,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,EAAE;IAK/C,OAAO,QAAQ,CAAA;AACjB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,EAAE,WAAwB,EAAE,OAAqB,EAA2C,EAAE;IAEvI,OAAO,WAAW,CAAiC,4BAA4B,EAAE,EACjF;QACE,GAAG,OAAO;QACV,MAAM,EAAE,OAAO;QACf,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;AAeH,CAAC;AAID,MAAM,CAAC,MAAM,iCA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,OAA2C,EAAuD,EAAE;IAE3M,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAA6C,wCAAwC,EAAE,EACvG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC;KAC9C,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -1,15 +1,12 @@
1
1
  /**
2
- * Generated by orval v7.21.0 🍺
2
+ * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Vinden Core API
5
5
  * Core API for the Vinden Platform
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
8
  import type { PreferenceDto, UpsertPreferenceDto } from '../index.schemas.js';
9
- /**
10
- * The subject is the caller's JWT `sub`, never a parameter. Default is opt-IN: an empty array means the caller has opted out of nothing. 🔒 Requires: authenticated session
11
- * @summary Get the caller's own notification preferences
12
- */
9
+ import { customFetch } from '../../mutator.js';
13
10
  export type meNotificationPreferencesControllerListOwnV1Response200 = {
14
11
  data: PreferenceDto[];
15
12
  status: 200;
@@ -19,11 +16,11 @@ export type meNotificationPreferencesControllerListOwnV1ResponseSuccess = (meNot
19
16
  };
20
17
  export type meNotificationPreferencesControllerListOwnV1Response = (meNotificationPreferencesControllerListOwnV1ResponseSuccess);
21
18
  export declare const getMeNotificationPreferencesControllerListOwnV1Url: () => string;
22
- export declare const meNotificationPreferencesControllerListOwnV1: (options?: RequestInit) => Promise<meNotificationPreferencesControllerListOwnV1Response>;
23
19
  /**
24
- * The subject is the caller's JWT `sub`, never the body — a `subject` field is rejected with `subject_not_settable`. The server forces `source='user_settings'`. An opt-out the send path would ignore (`security`/`system`, or category-level `billing`) is rejected on this surface too, so a user is never shown a switch that does nothing. Returns the caller's full effective set. 🔒 Requires: authenticated session
25
- * @summary Set one of the caller's own notification preferences
20
+ * The subject is the caller's JWT `sub`, never a parameter. Default is opt-IN: an empty array means the caller has opted out of nothing. 🔒 Requires: authenticated session
21
+ * @summary Get the caller's own notification preferences
26
22
  */
23
+ export declare const meNotificationPreferencesControllerListOwnV1: (options?: Parameters<typeof customFetch>[1]) => Promise<meNotificationPreferencesControllerListOwnV1Response>;
27
24
  export type meNotificationPreferencesControllerUpsertOwnV1Response200 = {
28
25
  data: PreferenceDto[];
29
26
  status: 200;
@@ -40,5 +37,9 @@ export type meNotificationPreferencesControllerUpsertOwnV1ResponseError = (meNot
40
37
  };
41
38
  export type meNotificationPreferencesControllerUpsertOwnV1Response = (meNotificationPreferencesControllerUpsertOwnV1ResponseSuccess | meNotificationPreferencesControllerUpsertOwnV1ResponseError);
42
39
  export declare const getMeNotificationPreferencesControllerUpsertOwnV1Url: () => string;
43
- export declare const meNotificationPreferencesControllerUpsertOwnV1: (upsertPreferenceDto: UpsertPreferenceDto, options?: RequestInit) => Promise<meNotificationPreferencesControllerUpsertOwnV1Response>;
40
+ /**
41
+ * The subject is the caller's JWT `sub`, never the body — a `subject` field is rejected with `subject_not_settable`. The server forces `source='user_settings'`. An opt-out the send path would ignore (`security`/`system`, or category-level `billing`) is rejected on this surface too, so a user is never shown a switch that does nothing. Returns the caller's full effective set. 🔒 Requires: authenticated session
42
+ * @summary Set one of the caller's own notification preferences
43
+ */
44
+ export declare const meNotificationPreferencesControllerUpsertOwnV1: (upsertPreferenceDto: UpsertPreferenceDto, options?: Parameters<typeof customFetch>[1]) => Promise<meNotificationPreferencesControllerUpsertOwnV1Response>;
44
45
  //# sourceMappingURL=me-notification-preferences.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"me-notification-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/me-notification-preferences/me-notification-preferences.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,2DAA2D,GAAG,CAAC,uDAAuD,CAAC,GAAG;IACpI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,oDAAoD,GAAG,CAAC,2DAA2D,CAAC,CAAA;AAEhI,eAAO,MAAM,kDAAkD,cAM9D,CAAA;AAED,eAAO,MAAM,4CAA4C,GAAW,UAAU,WAAW,KAAG,OAAO,CAAC,oDAAoD,CASrJ,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,6DAA6D,GAAG,CAAC,yDAAyD,CAAC,GAAG;IACxI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,2DAA2D,GAAG,CAAC,yDAAyD,CAAC,GAAG;IACtI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sDAAsD,GAAG,CAAC,6DAA6D,GAAG,2DAA2D,CAAC,CAAA;AAElM,eAAO,MAAM,oDAAoD,cAMhE,CAAA;AAED,eAAO,MAAM,8CAA8C,GAAU,qBAAqB,mBAAmB,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,sDAAsD,CAUlM,CAAA"}
1
+ {"version":3,"file":"me-notification-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/me-notification-preferences/me-notification-preferences.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,2DAA2D,GAAG,CAAC,uDAAuD,CAAC,GAAG;IACpI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,oDAAoD,GAAG,CAAC,2DAA2D,CAAC,CAAA;AAEhI,eAAO,MAAM,kDAAkD,cAM9D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,4CAA4C,GAAW,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,oDAAoD,CAS3K,CAAA;AAGH,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,6DAA6D,GAAG,CAAC,yDAAyD,CAAC,GAAG;IACxI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,2DAA2D,GAAG,CAAC,yDAAyD,CAAC,GAAG;IACtI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sDAAsD,GAAG,CAAC,6DAA6D,GAAG,2DAA2D,CAAC,CAAA;AAElM,eAAO,MAAM,oDAAoD,cAMhE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,8CAA8C,GAAU,qBAAqB,mBAAmB,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,sDAAsD,CAexN,CAAA"}
@@ -3,6 +3,10 @@ import { customFetch } from '../../mutator.js';
3
3
  export const getMeNotificationPreferencesControllerListOwnV1Url = () => {
4
4
  return `/v1/me/notification-preferences`;
5
5
  };
6
+ /**
7
+ * The subject is the caller's JWT `sub`, never a parameter. Default is opt-IN: an empty array means the caller has opted out of nothing. 🔒 Requires: authenticated session
8
+ * @summary Get the caller's own notification preferences
9
+ */
6
10
  export const meNotificationPreferencesControllerListOwnV1 = async (options) => {
7
11
  return customFetch(getMeNotificationPreferencesControllerListOwnV1Url(), {
8
12
  ...options,
@@ -12,11 +16,24 @@ export const meNotificationPreferencesControllerListOwnV1 = async (options) => {
12
16
  export const getMeNotificationPreferencesControllerUpsertOwnV1Url = () => {
13
17
  return `/v1/me/notification-preferences`;
14
18
  };
19
+ /**
20
+ * The subject is the caller's JWT `sub`, never the body — a `subject` field is rejected with `subject_not_settable`. The server forces `source='user_settings'`. An opt-out the send path would ignore (`security`/`system`, or category-level `billing`) is rejected on this surface too, so a user is never shown a switch that does nothing. Returns the caller's full effective set. 🔒 Requires: authenticated session
21
+ * @summary Set one of the caller's own notification preferences
22
+ */
15
23
  export const meNotificationPreferencesControllerUpsertOwnV1 = async (upsertPreferenceDto, options) => {
24
+ const getHeaders = (h) => {
25
+ if (!h)
26
+ return {};
27
+ if (h instanceof Headers)
28
+ return Object.fromEntries(h.entries());
29
+ if (Array.isArray(h))
30
+ return Object.fromEntries(h);
31
+ return h;
32
+ };
16
33
  return customFetch(getMeNotificationPreferencesControllerUpsertOwnV1Url(), {
17
34
  ...options,
18
35
  method: 'PUT',
19
- headers: { 'Content-Type': 'application/json', ...options?.headers },
36
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
20
37
  body: JSON.stringify(upsertPreferenceDto)
21
38
  });
22
39
  };
@@ -1 +1 @@
1
- {"version":3,"file":"me-notification-preferences.js","sourceRoot":"","sources":["../../../src/generated/me-notification-preferences/me-notification-preferences.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,kDAAkD,GAAG,GAAG,EAAE;IAKrE,OAAO,iCAAiC,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,4CAA4C,GAAG,KAAK,EAAG,OAAqB,EAAiE,EAAE;IAE1J,OAAO,WAAW,CAAuD,kDAAkD,EAAE,EAC7H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA0BH,MAAM,CAAC,MAAM,oDAAoD,GAAG,GAAG,EAAE;IAKvE,OAAO,iCAAiC,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,8CAA8C,GAAG,KAAK,EAAE,mBAAwC,EAAE,OAAqB,EAAmE,EAAE;IAEvM,OAAO,WAAW,CAAyD,oDAAoD,EAAE,EACjI;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB,mBAAmB,CAAE;KACxB,CACF,CAAC;AAAA,CAAC,CAAA"}
1
+ {"version":3,"file":"me-notification-preferences.js","sourceRoot":"","sources":["../../../src/generated/me-notification-preferences/me-notification-preferences.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,kDAAkD,GAA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PI spec version: 0.1.0
7
7
  */
8
8
  import type { AdjustStockDto, CreateTenantGoodsDto, MerchandiseControllerListStockMovementsV1Params, MerchandiseControllerListTenantGoodsV1Params, PaginatedStockMovementsDto, ReceiveStockDto, StockLevelDto, StockMovementResultDto, TenantGoodsDto, UpdateTenantGoodsDto } from '../index.schemas.js';
9
- /**
10
- * 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
- * @summary List merchandise SKUs (admin — includes deactivated)
12
- */
9
+ import { customFetch } from '../../mutator.js';
13
10
  export type merchandiseControllerListTenantGoodsV1Response200 = {
14
11
  data: TenantGoodsDto[];
15
12
  status: 200;
@@ -19,11 +16,11 @@ export type merchandiseControllerListTenantGoodsV1ResponseSuccess = (merchandise
19
16
  };
20
17
  export type merchandiseControllerListTenantGoodsV1Response = (merchandiseControllerListTenantGoodsV1ResponseSuccess);
21
18
  export declare const getMerchandiseControllerListTenantGoodsV1Url: (params?: MerchandiseControllerListTenantGoodsV1Params) => string;
22
- export declare const merchandiseControllerListTenantGoodsV1: (params?: MerchandiseControllerListTenantGoodsV1Params, options?: RequestInit) => Promise<merchandiseControllerListTenantGoodsV1Response>;
23
19
  /**
24
- * Writes billing.article, public.tenant_goods and billing.pricing_rule in one transaction so the display price and the charged price cannot drift. Creating a code whose SKU was soft-deleted restores that SKU rather than failing on the tombstone. 🔒 Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
25
- * @summary Create a merchandise SKU with its article and opening price
20
+ * 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
21
+ * @summary List merchandise SKUs (admin — includes deactivated)
26
22
  */
23
+ export declare const merchandiseControllerListTenantGoodsV1: (params?: MerchandiseControllerListTenantGoodsV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerListTenantGoodsV1Response>;
27
24
  export type merchandiseControllerCreateTenantGoodsV1Response201 = {
28
25
  data: TenantGoodsDto;
29
26
  status: 201;
@@ -40,11 +37,11 @@ export type merchandiseControllerCreateTenantGoodsV1ResponseError = (merchandise
40
37
  };
41
38
  export type merchandiseControllerCreateTenantGoodsV1Response = (merchandiseControllerCreateTenantGoodsV1ResponseSuccess | merchandiseControllerCreateTenantGoodsV1ResponseError);
42
39
  export declare const getMerchandiseControllerCreateTenantGoodsV1Url: () => string;
43
- export declare const merchandiseControllerCreateTenantGoodsV1: (createTenantGoodsDto: CreateTenantGoodsDto, options?: RequestInit) => Promise<merchandiseControllerCreateTenantGoodsV1Response>;
44
40
  /**
45
- * 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
46
- * @summary Get one merchandise SKU by id
41
+ * Writes billing.article, public.tenant_goods and billing.pricing_rule in one transaction so the display price and the charged price cannot drift. Creating a code whose SKU was soft-deleted restores that SKU rather than failing on the tombstone. 🔒 Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
42
+ * @summary Create a merchandise SKU with its article and opening price
47
43
  */
44
+ export declare const merchandiseControllerCreateTenantGoodsV1: (createTenantGoodsDto: CreateTenantGoodsDto, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerCreateTenantGoodsV1Response>;
48
45
  export type merchandiseControllerGetTenantGoodsByIdV1Response200 = {
49
46
  data: TenantGoodsDto;
50
47
  status: 200;
@@ -54,11 +51,11 @@ export type merchandiseControllerGetTenantGoodsByIdV1ResponseSuccess = (merchand
54
51
  };
55
52
  export type merchandiseControllerGetTenantGoodsByIdV1Response = (merchandiseControllerGetTenantGoodsByIdV1ResponseSuccess);
56
53
  export declare const getMerchandiseControllerGetTenantGoodsByIdV1Url: (id: string) => string;
57
- export declare const merchandiseControllerGetTenantGoodsByIdV1: (id: string, options?: RequestInit) => Promise<merchandiseControllerGetTenantGoodsByIdV1Response>;
58
54
  /**
59
- * A new unitPriceExVatMinor closes the live pricing rule's window at effectiveFrom and opens a new one there, in one transaction. The old rule is kept rather than archived so an event that arrives late still resolves the price in force on its own basis date. effectiveFrom must be strictly after the live rule's effective_from. 🔒 Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
60
- * @summary Update a merchandise SKU, repricing it if the price changed
55
+ * 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
56
+ * @summary Get one merchandise SKU by id
61
57
  */
58
+ export declare const merchandiseControllerGetTenantGoodsByIdV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerGetTenantGoodsByIdV1Response>;
62
59
  export type merchandiseControllerUpdateTenantGoodsV1Response200 = {
63
60
  data: TenantGoodsDto;
64
61
  status: 200;
@@ -75,11 +72,11 @@ export type merchandiseControllerUpdateTenantGoodsV1ResponseError = (merchandise
75
72
  };
76
73
  export type merchandiseControllerUpdateTenantGoodsV1Response = (merchandiseControllerUpdateTenantGoodsV1ResponseSuccess | merchandiseControllerUpdateTenantGoodsV1ResponseError);
77
74
  export declare const getMerchandiseControllerUpdateTenantGoodsV1Url: (id: string) => string;
78
- export declare const merchandiseControllerUpdateTenantGoodsV1: (id: string, updateTenantGoodsDto: UpdateTenantGoodsDto, options?: RequestInit) => Promise<merchandiseControllerUpdateTenantGoodsV1Response>;
79
75
  /**
80
- * Appends to the movement ledger and rolls the delta into the per-warehouse level in one transaction. The quantity is unsigned — a receive can only add. Warehouse staff may only receive into a warehouse they are assigned to; the database enforces that, not the application. 🔒 Requires permission: merchandise:receive. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
81
- * @summary Record stock arriving at a warehouse (RECEIVE movement)
76
+ * A new unitPriceExVatMinor closes the live pricing rule's window at effectiveFrom and opens a new one there, in one transaction. The old rule is kept rather than archived so an event that arrives late still resolves the price in force on its own basis date. effectiveFrom must be strictly after the live rule's effective_from. 🔒 Requires permission: merchandise:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
77
+ * @summary Update a merchandise SKU, repricing it if the price changed
82
78
  */
79
+ export declare const merchandiseControllerUpdateTenantGoodsV1: (id: string, updateTenantGoodsDto: UpdateTenantGoodsDto, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerUpdateTenantGoodsV1Response>;
83
80
  export type merchandiseControllerReceiveStockV1Response200 = {
84
81
  data: StockMovementResultDto;
85
82
  status: 200;
@@ -100,11 +97,11 @@ export type merchandiseControllerReceiveStockV1ResponseError = (merchandiseContr
100
97
  };
101
98
  export type merchandiseControllerReceiveStockV1Response = (merchandiseControllerReceiveStockV1ResponseSuccess | merchandiseControllerReceiveStockV1ResponseError);
102
99
  export declare const getMerchandiseControllerReceiveStockV1Url: (id: string) => string;
103
- export declare const merchandiseControllerReceiveStockV1: (id: string, receiveStockDto: ReceiveStockDto, options?: RequestInit) => Promise<merchandiseControllerReceiveStockV1Response>;
104
100
  /**
105
- * For a recount or a writedown, with a mandatory reason. The delta may be negative AND may take the level below zero: merchandise stock is bookkeeping that never gates checkout, so a negative level is a real state ops resolve with a further adjustment rather than an error. Held by warehouse-admin and tenant-wide staff only — a warehouse-operator receives stock but never rewrites its level. 🔒 Requires permission: merchandise:adjust. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
106
- * @summary Correct a warehouse's recorded stock level with a signed delta (ADJUST movement)
101
+ * Appends to the movement ledger and rolls the delta into the per-warehouse level in one transaction. The quantity is unsigned — a receive can only add. Warehouse staff may only receive into a warehouse they are assigned to; the database enforces that, not the application. 🔒 Requires permission: merchandise:receive. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
102
+ * @summary Record stock arriving at a warehouse (RECEIVE movement)
107
103
  */
104
+ export declare const merchandiseControllerReceiveStockV1: (id: string, receiveStockDto: ReceiveStockDto, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerReceiveStockV1Response>;
108
105
  export type merchandiseControllerAdjustStockV1Response200 = {
109
106
  data: StockMovementResultDto;
110
107
  status: 200;
@@ -125,11 +122,11 @@ export type merchandiseControllerAdjustStockV1ResponseError = (merchandiseContro
125
122
  };
126
123
  export type merchandiseControllerAdjustStockV1Response = (merchandiseControllerAdjustStockV1ResponseSuccess | merchandiseControllerAdjustStockV1ResponseError);
127
124
  export declare const getMerchandiseControllerAdjustStockV1Url: (id: string) => string;
128
- export declare const merchandiseControllerAdjustStockV1: (id: string, adjustStockDto: AdjustStockDto, options?: RequestInit) => Promise<merchandiseControllerAdjustStockV1Response>;
129
125
  /**
130
- * Each level is the sum of the SKU's ledger movements in that warehouse. Returns EVERY warehouse in the tenant, including for warehouse staff: the read policy is auth.can_read_tenant_scoped, which admits any staff family tenant-wide. Only WRITES are warehouse-scoped (migration 0121) — do not build a per-warehouse view on the assumption this response is filtered. 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
131
- * @summary Stock levels per warehouse for a SKU
126
+ * For a recount or a writedown, with a mandatory reason. The delta may be negative AND may take the level below zero: merchandise stock is bookkeeping that never gates checkout, so a negative level is a real state ops resolve with a further adjustment rather than an error. Held by warehouse-admin and tenant-wide staff only — a warehouse-operator receives stock but never rewrites its level. 🔒 Requires permission: merchandise:adjust. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
127
+ * @summary Correct a warehouse's recorded stock level with a signed delta (ADJUST movement)
132
128
  */
129
+ export declare const merchandiseControllerAdjustStockV1: (id: string, adjustStockDto: AdjustStockDto, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerAdjustStockV1Response>;
133
130
  export type merchandiseControllerListStockV1Response200 = {
134
131
  data: StockLevelDto[];
135
132
  status: 200;
@@ -139,11 +136,11 @@ export type merchandiseControllerListStockV1ResponseSuccess = (merchandiseContro
139
136
  };
140
137
  export type merchandiseControllerListStockV1Response = (merchandiseControllerListStockV1ResponseSuccess);
141
138
  export declare const getMerchandiseControllerListStockV1Url: (id: string) => string;
142
- export declare const merchandiseControllerListStockV1: (id: string, options?: RequestInit) => Promise<merchandiseControllerListStockV1Response>;
143
139
  /**
144
- * The append-only ledger `GET :id/stock` sums, newest first, so a level can be explained rather than only observed. Filters compose with AND; from/to bound `occurredAt` inclusively. Same tenant-wide read reach as the levels endpoint — pass `warehouseId` to narrow it. `quantityAfter` is NOT on a row: it is not stored, and a value re-derived per row would be wrong as soon as a filter or page boundary hid a movement that contributed to it. Accumulate the signed `quantityDelta` over a full, unfiltered range for a running total. 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
145
- * @summary The movement log behind a SKU's stock levels
140
+ * Each level is the sum of the SKU's ledger movements in that warehouse. Returns EVERY warehouse in the tenant, including for warehouse staff: the read policy is auth.can_read_tenant_scoped, which admits any staff family tenant-wide. Only WRITES are warehouse-scoped (migration 0121) — do not build a per-warehouse view on the assumption this response is filtered. 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
141
+ * @summary Stock levels per warehouse for a SKU
146
142
  */
143
+ export declare const merchandiseControllerListStockV1: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerListStockV1Response>;
147
144
  export type merchandiseControllerListStockMovementsV1Response200 = {
148
145
  data: PaginatedStockMovementsDto;
149
146
  status: 200;
@@ -153,5 +150,9 @@ export type merchandiseControllerListStockMovementsV1ResponseSuccess = (merchand
153
150
  };
154
151
  export type merchandiseControllerListStockMovementsV1Response = (merchandiseControllerListStockMovementsV1ResponseSuccess);
155
152
  export declare const getMerchandiseControllerListStockMovementsV1Url: (id: string, params?: MerchandiseControllerListStockMovementsV1Params) => string;
156
- export declare const merchandiseControllerListStockMovementsV1: (id: string, params?: MerchandiseControllerListStockMovementsV1Params, options?: RequestInit) => Promise<merchandiseControllerListStockMovementsV1Response>;
153
+ /**
154
+ * The append-only ledger `GET :id/stock` sums, newest first, so a level can be explained rather than only observed. Filters compose with AND; from/to bound `occurredAt` inclusively. Same tenant-wide read reach as the levels endpoint — pass `warehouseId` to narrow it. `quantityAfter` is NOT on a row: it is not stored, and a value re-derived per row would be wrong as soon as a filter or page boundary hid a movement that contributed to it. Accumulate the signed `quantityDelta` over a full, unfiltered range for a running total. 🔒 Requires permission: merchandise:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
155
+ * @summary The movement log behind a SKU's stock levels
156
+ */
157
+ export declare const merchandiseControllerListStockMovementsV1: (id: string, params?: MerchandiseControllerListStockMovementsV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<merchandiseControllerListStockMovementsV1Response>;
157
158
  //# sourceMappingURL=merchandise.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"merchandise.d.ts","sourceRoot":"","sources":["../../../src/generated/merchandise/merchandise.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,EACpB,+CAA+C,EAC/C,4CAA4C,EAC5C,0BAA0B,EAC1B,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,cAAc,EACd,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,8CAA8C,GAAG,CAAC,qDAAqD,CAAC,CAAA;AAEpH,eAAO,MAAM,4CAA4C,GAAI,SAAS,4CAA4C,WAajH,CAAA;AAED,eAAO,MAAM,sCAAsC,GAAU,SAAS,4CAA4C,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,8CAA8C,CAS/L,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,cAAc,CAAA;IACpB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,uDAAuD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