@voyant-travel/commerce-react 0.1.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 (618) hide show
  1. package/LICENSE +201 -0
  2. package/dist/admin.d.ts +16 -0
  3. package/dist/admin.d.ts.map +1 -0
  4. package/dist/admin.js +32 -0
  5. package/dist/admin.js.map +1 -0
  6. package/dist/i18n.d.ts +22 -0
  7. package/dist/i18n.d.ts.map +1 -0
  8. package/dist/i18n.js +13 -0
  9. package/dist/i18n.js.map +1 -0
  10. package/dist/index.d.ts +6 -0
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +6 -0
  13. package/dist/index.js.map +1 -0
  14. package/dist/markets/client.d.ts +14 -0
  15. package/dist/markets/client.d.ts.map +1 -0
  16. package/dist/markets/client.js +59 -0
  17. package/dist/markets/client.js.map +1 -0
  18. package/dist/markets/components/market-currency-dialog.d.ts +10 -0
  19. package/dist/markets/components/market-currency-dialog.d.ts.map +1 -0
  20. package/dist/markets/components/market-currency-dialog.js +86 -0
  21. package/dist/markets/components/market-currency-dialog.js.map +1 -0
  22. package/dist/markets/components/market-dialog.d.ts +9 -0
  23. package/dist/markets/components/market-dialog.d.ts.map +1 -0
  24. package/dist/markets/components/market-dialog.js +102 -0
  25. package/dist/markets/components/market-dialog.js.map +1 -0
  26. package/dist/markets/components/market-locale-dialog.d.ts +10 -0
  27. package/dist/markets/components/market-locale-dialog.d.ts.map +1 -0
  28. package/dist/markets/components/market-locale-dialog.js +73 -0
  29. package/dist/markets/components/market-locale-dialog.js.map +1 -0
  30. package/dist/markets/hooks/index.d.ts +10 -0
  31. package/dist/markets/hooks/index.d.ts.map +1 -0
  32. package/dist/markets/hooks/index.js +10 -0
  33. package/dist/markets/hooks/index.js.map +1 -0
  34. package/dist/markets/hooks/use-market-currencies.d.ts +20 -0
  35. package/dist/markets/hooks/use-market-currencies.d.ts.map +1 -0
  36. package/dist/markets/hooks/use-market-currencies.js +13 -0
  37. package/dist/markets/hooks/use-market-currencies.js.map +1 -0
  38. package/dist/markets/hooks/use-market-currency-mutation.d.ts +36 -0
  39. package/dist/markets/hooks/use-market-currency-mutation.d.ts.map +1 -0
  40. package/dist/markets/hooks/use-market-currency-mutation.js +41 -0
  41. package/dist/markets/hooks/use-market-currency-mutation.js.map +1 -0
  42. package/dist/markets/hooks/use-market-locale-mutation.d.ts +32 -0
  43. package/dist/markets/hooks/use-market-locale-mutation.d.ts.map +1 -0
  44. package/dist/markets/hooks/use-market-locale-mutation.js +41 -0
  45. package/dist/markets/hooks/use-market-locale-mutation.js.map +1 -0
  46. package/dist/markets/hooks/use-market-locales.d.ts +18 -0
  47. package/dist/markets/hooks/use-market-locales.d.ts.map +1 -0
  48. package/dist/markets/hooks/use-market-locales.js +13 -0
  49. package/dist/markets/hooks/use-market-locales.js.map +1 -0
  50. package/dist/markets/hooks/use-market-mutation.d.ts +50 -0
  51. package/dist/markets/hooks/use-market-mutation.d.ts.map +1 -0
  52. package/dist/markets/hooks/use-market-mutation.js +43 -0
  53. package/dist/markets/hooks/use-market-mutation.js.map +1 -0
  54. package/dist/markets/hooks/use-market-product-rule-mutation.d.ts +53 -0
  55. package/dist/markets/hooks/use-market-product-rule-mutation.d.ts.map +1 -0
  56. package/dist/markets/hooks/use-market-product-rule-mutation.js +39 -0
  57. package/dist/markets/hooks/use-market-product-rule-mutation.js.map +1 -0
  58. package/dist/markets/hooks/use-market-product-rules.d.ts +24 -0
  59. package/dist/markets/hooks/use-market-product-rules.d.ts.map +1 -0
  60. package/dist/markets/hooks/use-market-product-rules.js +13 -0
  61. package/dist/markets/hooks/use-market-product-rules.js.map +1 -0
  62. package/dist/markets/hooks/use-market.d.ts +17 -0
  63. package/dist/markets/hooks/use-market.d.ts.map +1 -0
  64. package/dist/markets/hooks/use-market.js +13 -0
  65. package/dist/markets/hooks/use-market.js.map +1 -0
  66. package/dist/markets/hooks/use-markets.d.ts +23 -0
  67. package/dist/markets/hooks/use-markets.d.ts.map +1 -0
  68. package/dist/markets/hooks/use-markets.js +13 -0
  69. package/dist/markets/hooks/use-markets.js.map +1 -0
  70. package/dist/markets/i18n/en.d.ts +88 -0
  71. package/dist/markets/i18n/en.d.ts.map +1 -0
  72. package/dist/markets/i18n/en.js +88 -0
  73. package/dist/markets/i18n/en.js.map +1 -0
  74. package/dist/markets/i18n/index.d.ts +5 -0
  75. package/dist/markets/i18n/index.d.ts.map +1 -0
  76. package/dist/markets/i18n/index.js +4 -0
  77. package/dist/markets/i18n/index.js.map +1 -0
  78. package/dist/markets/i18n/messages.d.ts +90 -0
  79. package/dist/markets/i18n/messages.d.ts.map +1 -0
  80. package/dist/markets/i18n/messages.js +2 -0
  81. package/dist/markets/i18n/messages.js.map +1 -0
  82. package/dist/markets/i18n/provider.d.ts +198 -0
  83. package/dist/markets/i18n/provider.d.ts.map +1 -0
  84. package/dist/markets/i18n/provider.js +45 -0
  85. package/dist/markets/i18n/provider.js.map +1 -0
  86. package/dist/markets/i18n/ro.d.ts +88 -0
  87. package/dist/markets/i18n/ro.d.ts.map +1 -0
  88. package/dist/markets/i18n/ro.js +88 -0
  89. package/dist/markets/i18n/ro.js.map +1 -0
  90. package/dist/markets/index.d.ts +7 -0
  91. package/dist/markets/index.d.ts.map +1 -0
  92. package/dist/markets/index.js +7 -0
  93. package/dist/markets/index.js.map +1 -0
  94. package/dist/markets/provider.d.ts +2 -0
  95. package/dist/markets/provider.d.ts.map +1 -0
  96. package/dist/markets/provider.js +2 -0
  97. package/dist/markets/provider.js.map +1 -0
  98. package/dist/markets/query-keys.d.ts +46 -0
  99. package/dist/markets/query-keys.d.ts.map +1 -0
  100. package/dist/markets/query-keys.js +16 -0
  101. package/dist/markets/query-keys.js.map +1 -0
  102. package/dist/markets/query-options.d.ts +478 -0
  103. package/dist/markets/query-options.d.ts.map +1 -0
  104. package/dist/markets/query-options.js +88 -0
  105. package/dist/markets/query-options.js.map +1 -0
  106. package/dist/markets/schemas.d.ts +232 -0
  107. package/dist/markets/schemas.d.ts.map +1 -0
  108. package/dist/markets/schemas.js +45 -0
  109. package/dist/markets/schemas.js.map +1 -0
  110. package/dist/markets/ui.d.ts +5 -0
  111. package/dist/markets/ui.d.ts.map +1 -0
  112. package/dist/markets/ui.js +5 -0
  113. package/dist/markets/ui.js.map +1 -0
  114. package/dist/markets.d.ts +2 -0
  115. package/dist/markets.d.ts.map +1 -0
  116. package/dist/markets.js +2 -0
  117. package/dist/markets.js.map +1 -0
  118. package/dist/pricing/client.d.ts +14 -0
  119. package/dist/pricing/client.d.ts.map +1 -0
  120. package/dist/pricing/client.js +60 -0
  121. package/dist/pricing/client.js.map +1 -0
  122. package/dist/pricing/components/cancellation-policy-combobox.d.ts +9 -0
  123. package/dist/pricing/components/cancellation-policy-combobox.d.ts.map +1 -0
  124. package/dist/pricing/components/cancellation-policy-combobox.js +52 -0
  125. package/dist/pricing/components/cancellation-policy-combobox.js.map +1 -0
  126. package/dist/pricing/components/cancellation-policy-rule-dialog.d.ts +11 -0
  127. package/dist/pricing/components/cancellation-policy-rule-dialog.d.ts.map +1 -0
  128. package/dist/pricing/components/cancellation-policy-rule-dialog.js +96 -0
  129. package/dist/pricing/components/cancellation-policy-rule-dialog.js.map +1 -0
  130. package/dist/pricing/components/dropoff-price-rule-dialog.d.ts +10 -0
  131. package/dist/pricing/components/dropoff-price-rule-dialog.d.ts.map +1 -0
  132. package/dist/pricing/components/dropoff-price-rule-dialog.js +118 -0
  133. package/dist/pricing/components/dropoff-price-rule-dialog.js.map +1 -0
  134. package/dist/pricing/components/extra-price-rule-dialog.d.ts +10 -0
  135. package/dist/pricing/components/extra-price-rule-dialog.d.ts.map +1 -0
  136. package/dist/pricing/components/extra-price-rule-dialog.js +111 -0
  137. package/dist/pricing/components/extra-price-rule-dialog.js.map +1 -0
  138. package/dist/pricing/components/option-price-rule-combobox.d.ts +9 -0
  139. package/dist/pricing/components/option-price-rule-combobox.d.ts.map +1 -0
  140. package/dist/pricing/components/option-price-rule-combobox.js +48 -0
  141. package/dist/pricing/components/option-price-rule-combobox.js.map +1 -0
  142. package/dist/pricing/components/option-price-rule-dialog.d.ts +9 -0
  143. package/dist/pricing/components/option-price-rule-dialog.d.ts.map +1 -0
  144. package/dist/pricing/components/option-price-rule-dialog.js +145 -0
  145. package/dist/pricing/components/option-price-rule-dialog.js.map +1 -0
  146. package/dist/pricing/components/option-start-time-rule-dialog.d.ts +10 -0
  147. package/dist/pricing/components/option-start-time-rule-dialog.d.ts.map +1 -0
  148. package/dist/pricing/components/option-start-time-rule-dialog.js +114 -0
  149. package/dist/pricing/components/option-start-time-rule-dialog.js.map +1 -0
  150. package/dist/pricing/components/option-unit-combobox.d.ts +11 -0
  151. package/dist/pricing/components/option-unit-combobox.d.ts.map +1 -0
  152. package/dist/pricing/components/option-unit-combobox.js +54 -0
  153. package/dist/pricing/components/option-unit-combobox.js.map +1 -0
  154. package/dist/pricing/components/option-unit-price-rule-combobox.d.ts +9 -0
  155. package/dist/pricing/components/option-unit-price-rule-combobox.d.ts.map +1 -0
  156. package/dist/pricing/components/option-unit-price-rule-combobox.js +57 -0
  157. package/dist/pricing/components/option-unit-price-rule-combobox.js.map +1 -0
  158. package/dist/pricing/components/option-unit-price-rule-dialog.d.ts +10 -0
  159. package/dist/pricing/components/option-unit-price-rule-dialog.d.ts.map +1 -0
  160. package/dist/pricing/components/option-unit-price-rule-dialog.js +130 -0
  161. package/dist/pricing/components/option-unit-price-rule-dialog.js.map +1 -0
  162. package/dist/pricing/components/option-unit-tier-dialog.d.ts +10 -0
  163. package/dist/pricing/components/option-unit-tier-dialog.d.ts.map +1 -0
  164. package/dist/pricing/components/option-unit-tier-dialog.js +97 -0
  165. package/dist/pricing/components/option-unit-tier-dialog.js.map +1 -0
  166. package/dist/pricing/components/pickup-price-rule-dialog.d.ts +10 -0
  167. package/dist/pricing/components/pickup-price-rule-dialog.d.ts.map +1 -0
  168. package/dist/pricing/components/pickup-price-rule-dialog.js +109 -0
  169. package/dist/pricing/components/pickup-price-rule-dialog.js.map +1 -0
  170. package/dist/pricing/components/price-catalog-combobox.d.ts +9 -0
  171. package/dist/pricing/components/price-catalog-combobox.d.ts.map +1 -0
  172. package/dist/pricing/components/price-catalog-combobox.js +50 -0
  173. package/dist/pricing/components/price-catalog-combobox.js.map +1 -0
  174. package/dist/pricing/components/price-catalogs-page.d.ts +6 -0
  175. package/dist/pricing/components/price-catalogs-page.d.ts.map +1 -0
  176. package/dist/pricing/components/price-catalogs-page.js +130 -0
  177. package/dist/pricing/components/price-catalogs-page.js.map +1 -0
  178. package/dist/pricing/components/price-schedule-combobox.d.ts +10 -0
  179. package/dist/pricing/components/price-schedule-combobox.d.ts.map +1 -0
  180. package/dist/pricing/components/price-schedule-combobox.js +51 -0
  181. package/dist/pricing/components/price-schedule-combobox.js.map +1 -0
  182. package/dist/pricing/components/price-schedule-dialog.d.ts +9 -0
  183. package/dist/pricing/components/price-schedule-dialog.d.ts.map +1 -0
  184. package/dist/pricing/components/price-schedule-dialog.js +99 -0
  185. package/dist/pricing/components/price-schedule-dialog.js.map +1 -0
  186. package/dist/pricing/components/pricing-categories-page.d.ts +7 -0
  187. package/dist/pricing/components/pricing-categories-page.d.ts.map +1 -0
  188. package/dist/pricing/components/pricing-categories-page.js +10 -0
  189. package/dist/pricing/components/pricing-categories-page.js.map +1 -0
  190. package/dist/pricing/components/pricing-category-combobox.d.ts +9 -0
  191. package/dist/pricing/components/pricing-category-combobox.d.ts.map +1 -0
  192. package/dist/pricing/components/pricing-category-combobox.js +57 -0
  193. package/dist/pricing/components/pricing-category-combobox.js.map +1 -0
  194. package/dist/pricing/components/pricing-category-dependency-dialog.d.ts +9 -0
  195. package/dist/pricing/components/pricing-category-dependency-dialog.d.ts.map +1 -0
  196. package/dist/pricing/components/pricing-category-dependency-dialog.js +16 -0
  197. package/dist/pricing/components/pricing-category-dependency-dialog.js.map +1 -0
  198. package/dist/pricing/components/pricing-category-dependency-form.d.ts +15 -0
  199. package/dist/pricing/components/pricing-category-dependency-form.d.ts.map +1 -0
  200. package/dist/pricing/components/pricing-category-dependency-form.js +100 -0
  201. package/dist/pricing/components/pricing-category-dependency-form.js.map +1 -0
  202. package/dist/pricing/components/pricing-category-dialog.d.ts +9 -0
  203. package/dist/pricing/components/pricing-category-dialog.d.ts.map +1 -0
  204. package/dist/pricing/components/pricing-category-dialog.js +18 -0
  205. package/dist/pricing/components/pricing-category-dialog.js.map +1 -0
  206. package/dist/pricing/components/pricing-category-form.d.ts +15 -0
  207. package/dist/pricing/components/pricing-category-form.d.ts.map +1 -0
  208. package/dist/pricing/components/pricing-category-form.js +107 -0
  209. package/dist/pricing/components/pricing-category-form.js.map +1 -0
  210. package/dist/pricing/components/pricing-category-list.d.ts +5 -0
  211. package/dist/pricing/components/pricing-category-list.d.ts.map +1 -0
  212. package/dist/pricing/components/pricing-category-list.js +49 -0
  213. package/dist/pricing/components/pricing-category-list.js.map +1 -0
  214. package/dist/pricing/components/pricing-shared-labels.d.ts +22 -0
  215. package/dist/pricing/components/pricing-shared-labels.d.ts.map +1 -0
  216. package/dist/pricing/components/pricing-shared-labels.js +33 -0
  217. package/dist/pricing/components/pricing-shared-labels.js.map +1 -0
  218. package/dist/pricing/components/product-combobox.d.ts +9 -0
  219. package/dist/pricing/components/product-combobox.d.ts.map +1 -0
  220. package/dist/pricing/components/product-combobox.js +46 -0
  221. package/dist/pricing/components/product-combobox.js.map +1 -0
  222. package/dist/pricing/components/product-option-combobox.d.ts +11 -0
  223. package/dist/pricing/components/product-option-combobox.d.ts.map +1 -0
  224. package/dist/pricing/components/product-option-combobox.js +54 -0
  225. package/dist/pricing/components/product-option-combobox.js.map +1 -0
  226. package/dist/pricing/hooks/index.d.ts +44 -0
  227. package/dist/pricing/hooks/index.d.ts.map +1 -0
  228. package/dist/pricing/hooks/index.js +44 -0
  229. package/dist/pricing/hooks/index.js.map +1 -0
  230. package/dist/pricing/hooks/use-cancellation-policies.d.ts +20 -0
  231. package/dist/pricing/hooks/use-cancellation-policies.d.ts.map +1 -0
  232. package/dist/pricing/hooks/use-cancellation-policies.js +13 -0
  233. package/dist/pricing/hooks/use-cancellation-policies.js.map +1 -0
  234. package/dist/pricing/hooks/use-cancellation-policy-mutation.d.ts +57 -0
  235. package/dist/pricing/hooks/use-cancellation-policy-mutation.d.ts.map +1 -0
  236. package/dist/pricing/hooks/use-cancellation-policy-mutation.js +50 -0
  237. package/dist/pricing/hooks/use-cancellation-policy-mutation.js.map +1 -0
  238. package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.d.ts +58 -0
  239. package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.d.ts.map +1 -0
  240. package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.js +50 -0
  241. package/dist/pricing/hooks/use-cancellation-policy-rule-mutation.js.map +1 -0
  242. package/dist/pricing/hooks/use-cancellation-policy-rule.d.ts +15 -0
  243. package/dist/pricing/hooks/use-cancellation-policy-rule.d.ts.map +1 -0
  244. package/dist/pricing/hooks/use-cancellation-policy-rule.js +13 -0
  245. package/dist/pricing/hooks/use-cancellation-policy-rule.js.map +1 -0
  246. package/dist/pricing/hooks/use-cancellation-policy-rules.d.ts +21 -0
  247. package/dist/pricing/hooks/use-cancellation-policy-rules.d.ts.map +1 -0
  248. package/dist/pricing/hooks/use-cancellation-policy-rules.js +13 -0
  249. package/dist/pricing/hooks/use-cancellation-policy-rules.js.map +1 -0
  250. package/dist/pricing/hooks/use-cancellation-policy.d.ts +14 -0
  251. package/dist/pricing/hooks/use-cancellation-policy.d.ts.map +1 -0
  252. package/dist/pricing/hooks/use-cancellation-policy.js +13 -0
  253. package/dist/pricing/hooks/use-cancellation-policy.js.map +1 -0
  254. package/dist/pricing/hooks/use-departure-price-override-mutation.d.ts +58 -0
  255. package/dist/pricing/hooks/use-departure-price-override-mutation.d.ts.map +1 -0
  256. package/dist/pricing/hooks/use-departure-price-override-mutation.js +57 -0
  257. package/dist/pricing/hooks/use-departure-price-override-mutation.js.map +1 -0
  258. package/dist/pricing/hooks/use-departure-price-override.d.ts +15 -0
  259. package/dist/pricing/hooks/use-departure-price-override.d.ts.map +1 -0
  260. package/dist/pricing/hooks/use-departure-price-override.js +13 -0
  261. package/dist/pricing/hooks/use-departure-price-override.js.map +1 -0
  262. package/dist/pricing/hooks/use-departure-price-overrides.d.ts +22 -0
  263. package/dist/pricing/hooks/use-departure-price-overrides.d.ts.map +1 -0
  264. package/dist/pricing/hooks/use-departure-price-overrides.js +13 -0
  265. package/dist/pricing/hooks/use-departure-price-overrides.js.map +1 -0
  266. package/dist/pricing/hooks/use-dropoff-price-rule-mutation.d.ts +72 -0
  267. package/dist/pricing/hooks/use-dropoff-price-rule-mutation.d.ts.map +1 -0
  268. package/dist/pricing/hooks/use-dropoff-price-rule-mutation.js +53 -0
  269. package/dist/pricing/hooks/use-dropoff-price-rule-mutation.js.map +1 -0
  270. package/dist/pricing/hooks/use-dropoff-price-rule.d.ts +18 -0
  271. package/dist/pricing/hooks/use-dropoff-price-rule.d.ts.map +1 -0
  272. package/dist/pricing/hooks/use-dropoff-price-rule.js +13 -0
  273. package/dist/pricing/hooks/use-dropoff-price-rule.js.map +1 -0
  274. package/dist/pricing/hooks/use-dropoff-price-rules.d.ts +24 -0
  275. package/dist/pricing/hooks/use-dropoff-price-rules.d.ts.map +1 -0
  276. package/dist/pricing/hooks/use-dropoff-price-rules.js +13 -0
  277. package/dist/pricing/hooks/use-dropoff-price-rules.js.map +1 -0
  278. package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.d.ts +8 -0
  279. package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.d.ts.map +1 -0
  280. package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.js +65 -0
  281. package/dist/pricing/hooks/use-duplicate-option-pricing-mutation.js.map +1 -0
  282. package/dist/pricing/hooks/use-extra-price-rule-mutation.d.ts +72 -0
  283. package/dist/pricing/hooks/use-extra-price-rule-mutation.d.ts.map +1 -0
  284. package/dist/pricing/hooks/use-extra-price-rule-mutation.js +53 -0
  285. package/dist/pricing/hooks/use-extra-price-rule-mutation.js.map +1 -0
  286. package/dist/pricing/hooks/use-extra-price-rule.d.ts +18 -0
  287. package/dist/pricing/hooks/use-extra-price-rule.d.ts.map +1 -0
  288. package/dist/pricing/hooks/use-extra-price-rule.js +13 -0
  289. package/dist/pricing/hooks/use-extra-price-rule.js.map +1 -0
  290. package/dist/pricing/hooks/use-extra-price-rules.d.ts +24 -0
  291. package/dist/pricing/hooks/use-extra-price-rules.d.ts.map +1 -0
  292. package/dist/pricing/hooks/use-extra-price-rules.js +13 -0
  293. package/dist/pricing/hooks/use-extra-price-rules.js.map +1 -0
  294. package/dist/pricing/hooks/use-option-price-rule-mutation.d.ts +98 -0
  295. package/dist/pricing/hooks/use-option-price-rule-mutation.d.ts.map +1 -0
  296. package/dist/pricing/hooks/use-option-price-rule-mutation.js +67 -0
  297. package/dist/pricing/hooks/use-option-price-rule-mutation.js.map +1 -0
  298. package/dist/pricing/hooks/use-option-price-rule.d.ts +24 -0
  299. package/dist/pricing/hooks/use-option-price-rule.d.ts.map +1 -0
  300. package/dist/pricing/hooks/use-option-price-rule.js +13 -0
  301. package/dist/pricing/hooks/use-option-price-rule.js.map +1 -0
  302. package/dist/pricing/hooks/use-option-price-rules.d.ts +30 -0
  303. package/dist/pricing/hooks/use-option-price-rules.d.ts.map +1 -0
  304. package/dist/pricing/hooks/use-option-price-rules.js +13 -0
  305. package/dist/pricing/hooks/use-option-price-rules.js.map +1 -0
  306. package/dist/pricing/hooks/use-option-start-time-rule-mutation.d.ts +70 -0
  307. package/dist/pricing/hooks/use-option-start-time-rule-mutation.d.ts.map +1 -0
  308. package/dist/pricing/hooks/use-option-start-time-rule-mutation.js +52 -0
  309. package/dist/pricing/hooks/use-option-start-time-rule-mutation.js.map +1 -0
  310. package/dist/pricing/hooks/use-option-start-time-rule.d.ts +17 -0
  311. package/dist/pricing/hooks/use-option-start-time-rule.d.ts.map +1 -0
  312. package/dist/pricing/hooks/use-option-start-time-rule.js +13 -0
  313. package/dist/pricing/hooks/use-option-start-time-rule.js.map +1 -0
  314. package/dist/pricing/hooks/use-option-start-time-rules.d.ts +23 -0
  315. package/dist/pricing/hooks/use-option-start-time-rules.d.ts.map +1 -0
  316. package/dist/pricing/hooks/use-option-start-time-rules.js +13 -0
  317. package/dist/pricing/hooks/use-option-start-time-rules.js.map +1 -0
  318. package/dist/pricing/hooks/use-option-unit-price-rule-mutation.d.ts +79 -0
  319. package/dist/pricing/hooks/use-option-unit-price-rule-mutation.d.ts.map +1 -0
  320. package/dist/pricing/hooks/use-option-unit-price-rule-mutation.js +55 -0
  321. package/dist/pricing/hooks/use-option-unit-price-rule-mutation.js.map +1 -0
  322. package/dist/pricing/hooks/use-option-unit-price-rule.d.ts +19 -0
  323. package/dist/pricing/hooks/use-option-unit-price-rule.d.ts.map +1 -0
  324. package/dist/pricing/hooks/use-option-unit-price-rule.js +13 -0
  325. package/dist/pricing/hooks/use-option-unit-price-rule.js.map +1 -0
  326. package/dist/pricing/hooks/use-option-unit-price-rules.d.ts +25 -0
  327. package/dist/pricing/hooks/use-option-unit-price-rules.d.ts.map +1 -0
  328. package/dist/pricing/hooks/use-option-unit-price-rules.js +13 -0
  329. package/dist/pricing/hooks/use-option-unit-price-rules.js.map +1 -0
  330. package/dist/pricing/hooks/use-option-unit-tier-mutation.d.ts +50 -0
  331. package/dist/pricing/hooks/use-option-unit-tier-mutation.d.ts.map +1 -0
  332. package/dist/pricing/hooks/use-option-unit-tier-mutation.js +49 -0
  333. package/dist/pricing/hooks/use-option-unit-tier-mutation.js.map +1 -0
  334. package/dist/pricing/hooks/use-option-unit-tier.d.ts +14 -0
  335. package/dist/pricing/hooks/use-option-unit-tier.d.ts.map +1 -0
  336. package/dist/pricing/hooks/use-option-unit-tier.js +13 -0
  337. package/dist/pricing/hooks/use-option-unit-tier.js.map +1 -0
  338. package/dist/pricing/hooks/use-option-unit-tiers.d.ts +20 -0
  339. package/dist/pricing/hooks/use-option-unit-tiers.d.ts.map +1 -0
  340. package/dist/pricing/hooks/use-option-unit-tiers.js +13 -0
  341. package/dist/pricing/hooks/use-option-unit-tiers.js.map +1 -0
  342. package/dist/pricing/hooks/use-pickup-price-rule-mutation.d.ts +64 -0
  343. package/dist/pricing/hooks/use-pickup-price-rule-mutation.d.ts.map +1 -0
  344. package/dist/pricing/hooks/use-pickup-price-rule-mutation.js +51 -0
  345. package/dist/pricing/hooks/use-pickup-price-rule-mutation.js.map +1 -0
  346. package/dist/pricing/hooks/use-pickup-price-rule.d.ts +16 -0
  347. package/dist/pricing/hooks/use-pickup-price-rule.d.ts.map +1 -0
  348. package/dist/pricing/hooks/use-pickup-price-rule.js +13 -0
  349. package/dist/pricing/hooks/use-pickup-price-rule.js.map +1 -0
  350. package/dist/pricing/hooks/use-pickup-price-rules.d.ts +22 -0
  351. package/dist/pricing/hooks/use-pickup-price-rules.d.ts.map +1 -0
  352. package/dist/pricing/hooks/use-pickup-price-rules.js +13 -0
  353. package/dist/pricing/hooks/use-pickup-price-rules.js.map +1 -0
  354. package/dist/pricing/hooks/use-price-catalog-mutation.d.ts +60 -0
  355. package/dist/pricing/hooks/use-price-catalog-mutation.d.ts.map +1 -0
  356. package/dist/pricing/hooks/use-price-catalog-mutation.js +52 -0
  357. package/dist/pricing/hooks/use-price-catalog-mutation.js.map +1 -0
  358. package/dist/pricing/hooks/use-price-catalog.d.ts +14 -0
  359. package/dist/pricing/hooks/use-price-catalog.d.ts.map +1 -0
  360. package/dist/pricing/hooks/use-price-catalog.js +13 -0
  361. package/dist/pricing/hooks/use-price-catalog.js.map +1 -0
  362. package/dist/pricing/hooks/use-price-catalogs.d.ts +20 -0
  363. package/dist/pricing/hooks/use-price-catalogs.d.ts.map +1 -0
  364. package/dist/pricing/hooks/use-price-catalogs.js +13 -0
  365. package/dist/pricing/hooks/use-price-catalogs.js.map +1 -0
  366. package/dist/pricing/hooks/use-price-schedule-mutation.d.ts +76 -0
  367. package/dist/pricing/hooks/use-price-schedule-mutation.d.ts.map +1 -0
  368. package/dist/pricing/hooks/use-price-schedule-mutation.js +65 -0
  369. package/dist/pricing/hooks/use-price-schedule-mutation.js.map +1 -0
  370. package/dist/pricing/hooks/use-price-schedule.d.ts +18 -0
  371. package/dist/pricing/hooks/use-price-schedule.d.ts.map +1 -0
  372. package/dist/pricing/hooks/use-price-schedule.js +13 -0
  373. package/dist/pricing/hooks/use-price-schedule.js.map +1 -0
  374. package/dist/pricing/hooks/use-price-schedules.d.ts +28 -0
  375. package/dist/pricing/hooks/use-price-schedules.d.ts.map +1 -0
  376. package/dist/pricing/hooks/use-price-schedules.js +12 -0
  377. package/dist/pricing/hooks/use-price-schedules.js.map +1 -0
  378. package/dist/pricing/hooks/use-pricing-categories.d.ts +30 -0
  379. package/dist/pricing/hooks/use-pricing-categories.d.ts.map +1 -0
  380. package/dist/pricing/hooks/use-pricing-categories.js +36 -0
  381. package/dist/pricing/hooks/use-pricing-categories.js.map +1 -0
  382. package/dist/pricing/hooks/use-pricing-category-dependencies.d.ts +22 -0
  383. package/dist/pricing/hooks/use-pricing-category-dependencies.d.ts.map +1 -0
  384. package/dist/pricing/hooks/use-pricing-category-dependencies.js +33 -0
  385. package/dist/pricing/hooks/use-pricing-category-dependencies.js.map +1 -0
  386. package/dist/pricing/hooks/use-pricing-category-dependency-mutation.d.ts +43 -0
  387. package/dist/pricing/hooks/use-pricing-category-dependency-mutation.d.ts.map +1 -0
  388. package/dist/pricing/hooks/use-pricing-category-dependency-mutation.js +44 -0
  389. package/dist/pricing/hooks/use-pricing-category-dependency-mutation.js.map +1 -0
  390. package/dist/pricing/hooks/use-pricing-category-dependency.d.ts +16 -0
  391. package/dist/pricing/hooks/use-pricing-category-dependency.d.ts.map +1 -0
  392. package/dist/pricing/hooks/use-pricing-category-dependency.js +19 -0
  393. package/dist/pricing/hooks/use-pricing-category-dependency.js.map +1 -0
  394. package/dist/pricing/hooks/use-pricing-category-mutation.d.ts +67 -0
  395. package/dist/pricing/hooks/use-pricing-category-mutation.d.ts.map +1 -0
  396. package/dist/pricing/hooks/use-pricing-category-mutation.js +38 -0
  397. package/dist/pricing/hooks/use-pricing-category-mutation.js.map +1 -0
  398. package/dist/pricing/hooks/use-pricing-category.d.ts +24 -0
  399. package/dist/pricing/hooks/use-pricing-category.d.ts.map +1 -0
  400. package/dist/pricing/hooks/use-pricing-category.js +13 -0
  401. package/dist/pricing/hooks/use-pricing-category.js.map +1 -0
  402. package/dist/pricing/i18n/en.d.ts +479 -0
  403. package/dist/pricing/i18n/en.d.ts.map +1 -0
  404. package/dist/pricing/i18n/en.js +479 -0
  405. package/dist/pricing/i18n/en.js.map +1 -0
  406. package/dist/pricing/i18n/index.d.ts +5 -0
  407. package/dist/pricing/i18n/index.d.ts.map +1 -0
  408. package/dist/pricing/i18n/index.js +4 -0
  409. package/dist/pricing/i18n/index.js.map +1 -0
  410. package/dist/pricing/i18n/messages.d.ts +437 -0
  411. package/dist/pricing/i18n/messages.d.ts.map +1 -0
  412. package/dist/pricing/i18n/messages.js +18 -0
  413. package/dist/pricing/i18n/messages.js.map +1 -0
  414. package/dist/pricing/i18n/provider.d.ts +980 -0
  415. package/dist/pricing/i18n/provider.d.ts.map +1 -0
  416. package/dist/pricing/i18n/provider.js +45 -0
  417. package/dist/pricing/i18n/provider.js.map +1 -0
  418. package/dist/pricing/i18n/ro.d.ts +479 -0
  419. package/dist/pricing/i18n/ro.d.ts.map +1 -0
  420. package/dist/pricing/i18n/ro.js +479 -0
  421. package/dist/pricing/i18n/ro.js.map +1 -0
  422. package/dist/pricing/index.d.ts +7 -0
  423. package/dist/pricing/index.d.ts.map +1 -0
  424. package/dist/pricing/index.js +7 -0
  425. package/dist/pricing/index.js.map +1 -0
  426. package/dist/pricing/provider.d.ts +2 -0
  427. package/dist/pricing/provider.d.ts.map +1 -0
  428. package/dist/pricing/provider.js +2 -0
  429. package/dist/pricing/provider.js.map +1 -0
  430. package/dist/pricing/query-keys.d.ts +155 -0
  431. package/dist/pricing/query-keys.d.ts.map +1 -0
  432. package/dist/pricing/query-keys.js +46 -0
  433. package/dist/pricing/query-keys.js.map +1 -0
  434. package/dist/pricing/query-options/cancellation.d.ts +228 -0
  435. package/dist/pricing/query-options/cancellation.d.ts.map +1 -0
  436. package/dist/pricing/query-options/cancellation.js +61 -0
  437. package/dist/pricing/query-options/cancellation.js.map +1 -0
  438. package/dist/pricing/query-options/categories.d.ts +373 -0
  439. package/dist/pricing/query-options/categories.d.ts.map +1 -0
  440. package/dist/pricing/query-options/categories.js +92 -0
  441. package/dist/pricing/query-options/categories.js.map +1 -0
  442. package/dist/pricing/query-options/departure-overrides.d.ts +127 -0
  443. package/dist/pricing/query-options/departure-overrides.d.ts.map +1 -0
  444. package/dist/pricing/query-options/departure-overrides.js +40 -0
  445. package/dist/pricing/query-options/departure-overrides.js.map +1 -0
  446. package/dist/pricing/query-options/logistics.d.ts +542 -0
  447. package/dist/pricing/query-options/logistics.d.ts.map +1 -0
  448. package/dist/pricing/query-options/logistics.js +137 -0
  449. package/dist/pricing/query-options/logistics.js.map +1 -0
  450. package/dist/pricing/query-options/option-rules.d.ts +449 -0
  451. package/dist/pricing/query-options/option-rules.d.ts.map +1 -0
  452. package/dist/pricing/query-options/option-rules.js +108 -0
  453. package/dist/pricing/query-options/option-rules.js.map +1 -0
  454. package/dist/pricing/query-options/schedules.d.ts +143 -0
  455. package/dist/pricing/query-options/schedules.d.ts.map +1 -0
  456. package/dist/pricing/query-options/schedules.js +36 -0
  457. package/dist/pricing/query-options/schedules.js.map +1 -0
  458. package/dist/pricing/query-options.d.ts +7 -0
  459. package/dist/pricing/query-options.d.ts.map +1 -0
  460. package/dist/pricing/query-options.js +7 -0
  461. package/dist/pricing/query-options.js.map +1 -0
  462. package/dist/pricing/schemas.d.ts +900 -0
  463. package/dist/pricing/schemas.d.ts.map +1 -0
  464. package/dist/pricing/schemas.js +235 -0
  465. package/dist/pricing/schemas.js.map +1 -0
  466. package/dist/pricing/ui.d.ts +27 -0
  467. package/dist/pricing/ui.d.ts.map +1 -0
  468. package/dist/pricing/ui.js +26 -0
  469. package/dist/pricing/ui.js.map +1 -0
  470. package/dist/pricing.d.ts +2 -0
  471. package/dist/pricing.d.ts.map +1 -0
  472. package/dist/pricing.js +2 -0
  473. package/dist/pricing.js.map +1 -0
  474. package/dist/promotions/admin/index.d.ts +25 -0
  475. package/dist/promotions/admin/index.d.ts.map +1 -0
  476. package/dist/promotions/admin/index.js +45 -0
  477. package/dist/promotions/admin/index.js.map +1 -0
  478. package/dist/promotions/i18n/en.d.ts +3 -0
  479. package/dist/promotions/i18n/en.d.ts.map +1 -0
  480. package/dist/promotions/i18n/en.js +152 -0
  481. package/dist/promotions/i18n/en.js.map +1 -0
  482. package/dist/promotions/i18n/index.d.ts +5 -0
  483. package/dist/promotions/i18n/index.d.ts.map +1 -0
  484. package/dist/promotions/i18n/index.js +4 -0
  485. package/dist/promotions/i18n/index.js.map +1 -0
  486. package/dist/promotions/i18n/messages.d.ts +137 -0
  487. package/dist/promotions/i18n/messages.d.ts.map +1 -0
  488. package/dist/promotions/i18n/messages.js +2 -0
  489. package/dist/promotions/i18n/messages.js.map +1 -0
  490. package/dist/promotions/i18n/provider.d.ts +26 -0
  491. package/dist/promotions/i18n/provider.d.ts.map +1 -0
  492. package/dist/promotions/i18n/provider.js +45 -0
  493. package/dist/promotions/i18n/provider.js.map +1 -0
  494. package/dist/promotions/i18n/ro.d.ts +3 -0
  495. package/dist/promotions/i18n/ro.d.ts.map +1 -0
  496. package/dist/promotions/i18n/ro.js +152 -0
  497. package/dist/promotions/i18n/ro.js.map +1 -0
  498. package/dist/promotions/index.d.ts +736 -0
  499. package/dist/promotions/index.d.ts.map +1 -0
  500. package/dist/promotions/index.js +175 -0
  501. package/dist/promotions/index.js.map +1 -0
  502. package/dist/promotions/promotion-dialog.d.ts +9 -0
  503. package/dist/promotions/promotion-dialog.d.ts.map +1 -0
  504. package/dist/promotions/promotion-dialog.js +255 -0
  505. package/dist/promotions/promotion-dialog.js.map +1 -0
  506. package/dist/promotions/promotions-page-utils.d.ts +14 -0
  507. package/dist/promotions/promotions-page-utils.d.ts.map +1 -0
  508. package/dist/promotions/promotions-page-utils.js +117 -0
  509. package/dist/promotions/promotions-page-utils.js.map +1 -0
  510. package/dist/promotions/promotions-page.d.ts +77 -0
  511. package/dist/promotions/promotions-page.d.ts.map +1 -0
  512. package/dist/promotions/promotions-page.js +121 -0
  513. package/dist/promotions/promotions-page.js.map +1 -0
  514. package/dist/promotions/ui.d.ts +5 -0
  515. package/dist/promotions/ui.d.ts.map +1 -0
  516. package/dist/promotions/ui.js +4 -0
  517. package/dist/promotions/ui.js.map +1 -0
  518. package/dist/promotions-admin.d.ts +2 -0
  519. package/dist/promotions-admin.d.ts.map +1 -0
  520. package/dist/promotions-admin.js +2 -0
  521. package/dist/promotions-admin.js.map +1 -0
  522. package/dist/promotions.d.ts +2 -0
  523. package/dist/promotions.d.ts.map +1 -0
  524. package/dist/promotions.js +2 -0
  525. package/dist/promotions.js.map +1 -0
  526. package/dist/sellability/client.d.ts +14 -0
  527. package/dist/sellability/client.d.ts.map +1 -0
  528. package/dist/sellability/client.js +59 -0
  529. package/dist/sellability/client.js.map +1 -0
  530. package/dist/sellability/components/channel-combobox.d.ts +9 -0
  531. package/dist/sellability/components/channel-combobox.d.ts.map +1 -0
  532. package/dist/sellability/components/channel-combobox.js +54 -0
  533. package/dist/sellability/components/channel-combobox.js.map +1 -0
  534. package/dist/sellability/components/market-combobox.d.ts +9 -0
  535. package/dist/sellability/components/market-combobox.d.ts.map +1 -0
  536. package/dist/sellability/components/market-combobox.js +46 -0
  537. package/dist/sellability/components/market-combobox.js.map +1 -0
  538. package/dist/sellability/components/policy-dialog.d.ts +10 -0
  539. package/dist/sellability/components/policy-dialog.d.ts.map +1 -0
  540. package/dist/sellability/components/policy-dialog.js +149 -0
  541. package/dist/sellability/components/policy-dialog.js.map +1 -0
  542. package/dist/sellability/components/product-combobox.d.ts +9 -0
  543. package/dist/sellability/components/product-combobox.d.ts.map +1 -0
  544. package/dist/sellability/components/product-combobox.js +46 -0
  545. package/dist/sellability/components/product-combobox.js.map +1 -0
  546. package/dist/sellability/components/product-option-combobox.d.ts +10 -0
  547. package/dist/sellability/components/product-option-combobox.d.ts.map +1 -0
  548. package/dist/sellability/components/product-option-combobox.js +54 -0
  549. package/dist/sellability/components/product-option-combobox.js.map +1 -0
  550. package/dist/sellability/hooks/index.d.ts +4 -0
  551. package/dist/sellability/hooks/index.d.ts.map +1 -0
  552. package/dist/sellability/hooks/index.js +4 -0
  553. package/dist/sellability/hooks/index.js.map +1 -0
  554. package/dist/sellability/hooks/use-sellability-policies.d.ts +28 -0
  555. package/dist/sellability/hooks/use-sellability-policies.d.ts.map +1 -0
  556. package/dist/sellability/hooks/use-sellability-policies.js +13 -0
  557. package/dist/sellability/hooks/use-sellability-policies.js.map +1 -0
  558. package/dist/sellability/hooks/use-sellability-policy-mutation.d.ts +63 -0
  559. package/dist/sellability/hooks/use-sellability-policy-mutation.d.ts.map +1 -0
  560. package/dist/sellability/hooks/use-sellability-policy-mutation.js +41 -0
  561. package/dist/sellability/hooks/use-sellability-policy-mutation.js.map +1 -0
  562. package/dist/sellability/hooks/use-sellability-policy.d.ts +22 -0
  563. package/dist/sellability/hooks/use-sellability-policy.d.ts.map +1 -0
  564. package/dist/sellability/hooks/use-sellability-policy.js +13 -0
  565. package/dist/sellability/hooks/use-sellability-policy.js.map +1 -0
  566. package/dist/sellability/i18n/en.d.ts +102 -0
  567. package/dist/sellability/i18n/en.d.ts.map +1 -0
  568. package/dist/sellability/i18n/en.js +102 -0
  569. package/dist/sellability/i18n/en.js.map +1 -0
  570. package/dist/sellability/i18n/index.d.ts +5 -0
  571. package/dist/sellability/i18n/index.d.ts.map +1 -0
  572. package/dist/sellability/i18n/index.js +4 -0
  573. package/dist/sellability/i18n/index.js.map +1 -0
  574. package/dist/sellability/i18n/messages.d.ts +71 -0
  575. package/dist/sellability/i18n/messages.d.ts.map +1 -0
  576. package/dist/sellability/i18n/messages.js +2 -0
  577. package/dist/sellability/i18n/messages.js.map +1 -0
  578. package/dist/sellability/i18n/provider.d.ts +226 -0
  579. package/dist/sellability/i18n/provider.d.ts.map +1 -0
  580. package/dist/sellability/i18n/provider.js +45 -0
  581. package/dist/sellability/i18n/provider.js.map +1 -0
  582. package/dist/sellability/i18n/ro.d.ts +102 -0
  583. package/dist/sellability/i18n/ro.d.ts.map +1 -0
  584. package/dist/sellability/i18n/ro.js +102 -0
  585. package/dist/sellability/i18n/ro.js.map +1 -0
  586. package/dist/sellability/index.d.ts +7 -0
  587. package/dist/sellability/index.d.ts.map +1 -0
  588. package/dist/sellability/index.js +7 -0
  589. package/dist/sellability/index.js.map +1 -0
  590. package/dist/sellability/provider.d.ts +2 -0
  591. package/dist/sellability/provider.d.ts.map +1 -0
  592. package/dist/sellability/provider.js +2 -0
  593. package/dist/sellability/provider.js.map +1 -0
  594. package/dist/sellability/query-keys.d.ts +20 -0
  595. package/dist/sellability/query-keys.d.ts.map +1 -0
  596. package/dist/sellability/query-keys.js +7 -0
  597. package/dist/sellability/query-keys.js.map +1 -0
  598. package/dist/sellability/query-options.d.ts +175 -0
  599. package/dist/sellability/query-options.d.ts.map +1 -0
  600. package/dist/sellability/query-options.js +32 -0
  601. package/dist/sellability/query-options.js.map +1 -0
  602. package/dist/sellability/schemas.d.ts +121 -0
  603. package/dist/sellability/schemas.d.ts.map +1 -0
  604. package/dist/sellability/schemas.js +27 -0
  605. package/dist/sellability/schemas.js.map +1 -0
  606. package/dist/sellability/ui.d.ts +7 -0
  607. package/dist/sellability/ui.d.ts.map +1 -0
  608. package/dist/sellability/ui.js +7 -0
  609. package/dist/sellability/ui.js.map +1 -0
  610. package/dist/sellability.d.ts +2 -0
  611. package/dist/sellability.d.ts.map +1 -0
  612. package/dist/sellability.js +2 -0
  613. package/dist/sellability.js.map +1 -0
  614. package/package.json +306 -0
  615. package/src/markets/styles.css +12 -0
  616. package/src/pricing/styles.css +12 -0
  617. package/src/sellability/styles.css +12 -0
  618. package/src/styles.css +9 -0
@@ -0,0 +1,736 @@
1
+ import { type PromotionalOfferApplicationMode, type PromotionalOfferConditions, type PromotionalOfferListStatus, type PromotionalOfferScope, type PromotionalOfferScopeKind } from "@voyant-travel/commerce";
2
+ import { defaultFetcher, useVoyantReactContext, type VoyantFetcher, type VoyantReactContextValue, VoyantReactProvider, type VoyantReactProviderProps } from "@voyant-travel/react";
3
+ import { z } from "zod";
4
+ export { defaultFetcher, useVoyantReactContext as useVoyantPromotionsContext, type VoyantFetcher, type VoyantReactContextValue as VoyantPromotionsContextValue, VoyantReactProvider as VoyantPromotionsProvider, type VoyantReactProviderProps as VoyantPromotionsProviderProps, };
5
+ export { type PromotionalOfferApplicationMode, type PromotionalOfferConditions, type PromotionalOfferListStatus, type PromotionalOfferScope, type PromotionalOfferScopeKind, promotionalOfferConditionsSchema, promotionalOfferScopeSchema, } from "@voyant-travel/commerce";
6
+ declare const promotionalOfferRecordSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodString;
9
+ slug: z.ZodString;
10
+ description: z.ZodNullable<z.ZodString>;
11
+ discountType: z.ZodEnum<{
12
+ percentage: "percentage";
13
+ fixed_amount: "fixed_amount";
14
+ }>;
15
+ discountPercent: z.ZodNullable<z.ZodString>;
16
+ discountAmountCents: z.ZodNullable<z.ZodNumber>;
17
+ currency: z.ZodNullable<z.ZodString>;
18
+ scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
19
+ kind: z.ZodLiteral<"global">;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ kind: z.ZodLiteral<"products">;
22
+ productIds: z.ZodArray<z.ZodString>;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ kind: z.ZodLiteral<"categories">;
25
+ categoryIds: z.ZodArray<z.ZodString>;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ kind: z.ZodLiteral<"destinations">;
28
+ destinationIds: z.ZodArray<z.ZodString>;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ kind: z.ZodLiteral<"markets">;
31
+ marketIds: z.ZodArray<z.ZodString>;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ kind: z.ZodLiteral<"audiences">;
34
+ audiences: z.ZodArray<z.ZodEnum<{
35
+ staff: "staff";
36
+ customer: "customer";
37
+ partner: "partner";
38
+ supplier: "supplier";
39
+ }>>;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ kind: z.ZodLiteral<"fare_codes">;
42
+ fareCodes: z.ZodArray<z.ZodString>;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ kind: z.ZodLiteral<"cabin_grades">;
45
+ cabinGradeCodes: z.ZodArray<z.ZodString>;
46
+ }, z.core.$strip>], "kind">;
47
+ conditions: z.ZodObject<{
48
+ minPax: z.ZodOptional<z.ZodNumber>;
49
+ pastGuestOnly: z.ZodOptional<z.ZodBoolean>;
50
+ soloTravelerOnly: z.ZodOptional<z.ZodBoolean>;
51
+ childTravelerOnly: z.ZodOptional<z.ZodBoolean>;
52
+ familyOnly: z.ZodOptional<z.ZodBoolean>;
53
+ }, z.core.$strip>;
54
+ validFrom: z.ZodNullable<z.ZodString>;
55
+ validUntil: z.ZodNullable<z.ZodString>;
56
+ code: z.ZodNullable<z.ZodString>;
57
+ stackable: z.ZodBoolean;
58
+ active: z.ZodBoolean;
59
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
60
+ createdAt: z.ZodString;
61
+ updatedAt: z.ZodString;
62
+ }, z.core.$strip>;
63
+ export type PromotionalOfferRecord = z.infer<typeof promotionalOfferRecordSchema>;
64
+ export interface PromotionsListQuery {
65
+ active?: boolean;
66
+ code?: string;
67
+ search?: string;
68
+ applicationMode?: PromotionalOfferApplicationMode;
69
+ status?: PromotionalOfferListStatus;
70
+ scopeKind?: PromotionalOfferScopeKind;
71
+ validFrom?: string;
72
+ validUntil?: string;
73
+ limit?: number;
74
+ offset?: number;
75
+ }
76
+ export interface PromotionsClientOptions {
77
+ baseUrl: string;
78
+ fetcher: VoyantFetcher;
79
+ }
80
+ export declare function fetchPromotionsJson<T>(path: string, init: RequestInit, schema: z.ZodType<T>, client: PromotionsClientOptions): Promise<T>;
81
+ export declare function createPromotionsClientOptions(client?: Partial<PromotionsClientOptions>): PromotionsClientOptions;
82
+ export declare class PromotionsApiError extends Error {
83
+ readonly status: number;
84
+ readonly body: unknown;
85
+ constructor(message: string, status: number, body: unknown);
86
+ }
87
+ export declare const promotionsKeys: {
88
+ all: readonly ["promotions"];
89
+ list: (query: PromotionsListQuery) => readonly ["promotions", "list", PromotionsListQuery];
90
+ detail: (id: string) => readonly ["promotions", "detail", string];
91
+ };
92
+ export declare function getPromotionsListQueryOptions(query?: PromotionsListQuery, client?: PromotionsClientOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
93
+ data: {
94
+ id: string;
95
+ name: string;
96
+ slug: string;
97
+ description: string | null;
98
+ discountType: "percentage" | "fixed_amount";
99
+ discountPercent: string | null;
100
+ discountAmountCents: number | null;
101
+ currency: string | null;
102
+ scope: {
103
+ kind: "global";
104
+ } | {
105
+ kind: "products";
106
+ productIds: string[];
107
+ } | {
108
+ kind: "categories";
109
+ categoryIds: string[];
110
+ } | {
111
+ kind: "destinations";
112
+ destinationIds: string[];
113
+ } | {
114
+ kind: "markets";
115
+ marketIds: string[];
116
+ } | {
117
+ kind: "audiences";
118
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
119
+ } | {
120
+ kind: "fare_codes";
121
+ fareCodes: string[];
122
+ } | {
123
+ kind: "cabin_grades";
124
+ cabinGradeCodes: string[];
125
+ };
126
+ conditions: {
127
+ minPax?: number | undefined;
128
+ pastGuestOnly?: boolean | undefined;
129
+ soloTravelerOnly?: boolean | undefined;
130
+ childTravelerOnly?: boolean | undefined;
131
+ familyOnly?: boolean | undefined;
132
+ };
133
+ validFrom: string | null;
134
+ validUntil: string | null;
135
+ code: string | null;
136
+ stackable: boolean;
137
+ active: boolean;
138
+ metadata: Record<string, unknown> | null;
139
+ createdAt: string;
140
+ updatedAt: string;
141
+ }[];
142
+ total: number;
143
+ limit: number;
144
+ offset: number;
145
+ }, Error, {
146
+ data: {
147
+ id: string;
148
+ name: string;
149
+ slug: string;
150
+ description: string | null;
151
+ discountType: "percentage" | "fixed_amount";
152
+ discountPercent: string | null;
153
+ discountAmountCents: number | null;
154
+ currency: string | null;
155
+ scope: {
156
+ kind: "global";
157
+ } | {
158
+ kind: "products";
159
+ productIds: string[];
160
+ } | {
161
+ kind: "categories";
162
+ categoryIds: string[];
163
+ } | {
164
+ kind: "destinations";
165
+ destinationIds: string[];
166
+ } | {
167
+ kind: "markets";
168
+ marketIds: string[];
169
+ } | {
170
+ kind: "audiences";
171
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
172
+ } | {
173
+ kind: "fare_codes";
174
+ fareCodes: string[];
175
+ } | {
176
+ kind: "cabin_grades";
177
+ cabinGradeCodes: string[];
178
+ };
179
+ conditions: {
180
+ minPax?: number | undefined;
181
+ pastGuestOnly?: boolean | undefined;
182
+ soloTravelerOnly?: boolean | undefined;
183
+ childTravelerOnly?: boolean | undefined;
184
+ familyOnly?: boolean | undefined;
185
+ };
186
+ validFrom: string | null;
187
+ validUntil: string | null;
188
+ code: string | null;
189
+ stackable: boolean;
190
+ active: boolean;
191
+ metadata: Record<string, unknown> | null;
192
+ createdAt: string;
193
+ updatedAt: string;
194
+ }[];
195
+ total: number;
196
+ limit: number;
197
+ offset: number;
198
+ }, readonly ["promotions", "list", PromotionsListQuery]>, "queryFn"> & {
199
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
200
+ data: {
201
+ id: string;
202
+ name: string;
203
+ slug: string;
204
+ description: string | null;
205
+ discountType: "percentage" | "fixed_amount";
206
+ discountPercent: string | null;
207
+ discountAmountCents: number | null;
208
+ currency: string | null;
209
+ scope: {
210
+ kind: "global";
211
+ } | {
212
+ kind: "products";
213
+ productIds: string[];
214
+ } | {
215
+ kind: "categories";
216
+ categoryIds: string[];
217
+ } | {
218
+ kind: "destinations";
219
+ destinationIds: string[];
220
+ } | {
221
+ kind: "markets";
222
+ marketIds: string[];
223
+ } | {
224
+ kind: "audiences";
225
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
226
+ } | {
227
+ kind: "fare_codes";
228
+ fareCodes: string[];
229
+ } | {
230
+ kind: "cabin_grades";
231
+ cabinGradeCodes: string[];
232
+ };
233
+ conditions: {
234
+ minPax?: number | undefined;
235
+ pastGuestOnly?: boolean | undefined;
236
+ soloTravelerOnly?: boolean | undefined;
237
+ childTravelerOnly?: boolean | undefined;
238
+ familyOnly?: boolean | undefined;
239
+ };
240
+ validFrom: string | null;
241
+ validUntil: string | null;
242
+ code: string | null;
243
+ stackable: boolean;
244
+ active: boolean;
245
+ metadata: Record<string, unknown> | null;
246
+ createdAt: string;
247
+ updatedAt: string;
248
+ }[];
249
+ total: number;
250
+ limit: number;
251
+ offset: number;
252
+ }, readonly ["promotions", "list", PromotionsListQuery], never> | undefined;
253
+ } & {
254
+ queryKey: readonly ["promotions", "list", PromotionsListQuery] & {
255
+ [dataTagSymbol]: {
256
+ data: {
257
+ id: string;
258
+ name: string;
259
+ slug: string;
260
+ description: string | null;
261
+ discountType: "percentage" | "fixed_amount";
262
+ discountPercent: string | null;
263
+ discountAmountCents: number | null;
264
+ currency: string | null;
265
+ scope: {
266
+ kind: "global";
267
+ } | {
268
+ kind: "products";
269
+ productIds: string[];
270
+ } | {
271
+ kind: "categories";
272
+ categoryIds: string[];
273
+ } | {
274
+ kind: "destinations";
275
+ destinationIds: string[];
276
+ } | {
277
+ kind: "markets";
278
+ marketIds: string[];
279
+ } | {
280
+ kind: "audiences";
281
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
282
+ } | {
283
+ kind: "fare_codes";
284
+ fareCodes: string[];
285
+ } | {
286
+ kind: "cabin_grades";
287
+ cabinGradeCodes: string[];
288
+ };
289
+ conditions: {
290
+ minPax?: number | undefined;
291
+ pastGuestOnly?: boolean | undefined;
292
+ soloTravelerOnly?: boolean | undefined;
293
+ childTravelerOnly?: boolean | undefined;
294
+ familyOnly?: boolean | undefined;
295
+ };
296
+ validFrom: string | null;
297
+ validUntil: string | null;
298
+ code: string | null;
299
+ stackable: boolean;
300
+ active: boolean;
301
+ metadata: Record<string, unknown> | null;
302
+ createdAt: string;
303
+ updatedAt: string;
304
+ }[];
305
+ total: number;
306
+ limit: number;
307
+ offset: number;
308
+ };
309
+ [dataTagErrorSymbol]: Error;
310
+ };
311
+ };
312
+ export declare function getPromotionByIdQueryOptions(id: string, client?: PromotionsClientOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
313
+ id: string;
314
+ name: string;
315
+ slug: string;
316
+ description: string | null;
317
+ discountType: "percentage" | "fixed_amount";
318
+ discountPercent: string | null;
319
+ discountAmountCents: number | null;
320
+ currency: string | null;
321
+ scope: {
322
+ kind: "global";
323
+ } | {
324
+ kind: "products";
325
+ productIds: string[];
326
+ } | {
327
+ kind: "categories";
328
+ categoryIds: string[];
329
+ } | {
330
+ kind: "destinations";
331
+ destinationIds: string[];
332
+ } | {
333
+ kind: "markets";
334
+ marketIds: string[];
335
+ } | {
336
+ kind: "audiences";
337
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
338
+ } | {
339
+ kind: "fare_codes";
340
+ fareCodes: string[];
341
+ } | {
342
+ kind: "cabin_grades";
343
+ cabinGradeCodes: string[];
344
+ };
345
+ conditions: {
346
+ minPax?: number | undefined;
347
+ pastGuestOnly?: boolean | undefined;
348
+ soloTravelerOnly?: boolean | undefined;
349
+ childTravelerOnly?: boolean | undefined;
350
+ familyOnly?: boolean | undefined;
351
+ };
352
+ validFrom: string | null;
353
+ validUntil: string | null;
354
+ code: string | null;
355
+ stackable: boolean;
356
+ active: boolean;
357
+ metadata: Record<string, unknown> | null;
358
+ createdAt: string;
359
+ updatedAt: string;
360
+ }, Error, {
361
+ id: string;
362
+ name: string;
363
+ slug: string;
364
+ description: string | null;
365
+ discountType: "percentage" | "fixed_amount";
366
+ discountPercent: string | null;
367
+ discountAmountCents: number | null;
368
+ currency: string | null;
369
+ scope: {
370
+ kind: "global";
371
+ } | {
372
+ kind: "products";
373
+ productIds: string[];
374
+ } | {
375
+ kind: "categories";
376
+ categoryIds: string[];
377
+ } | {
378
+ kind: "destinations";
379
+ destinationIds: string[];
380
+ } | {
381
+ kind: "markets";
382
+ marketIds: string[];
383
+ } | {
384
+ kind: "audiences";
385
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
386
+ } | {
387
+ kind: "fare_codes";
388
+ fareCodes: string[];
389
+ } | {
390
+ kind: "cabin_grades";
391
+ cabinGradeCodes: string[];
392
+ };
393
+ conditions: {
394
+ minPax?: number | undefined;
395
+ pastGuestOnly?: boolean | undefined;
396
+ soloTravelerOnly?: boolean | undefined;
397
+ childTravelerOnly?: boolean | undefined;
398
+ familyOnly?: boolean | undefined;
399
+ };
400
+ validFrom: string | null;
401
+ validUntil: string | null;
402
+ code: string | null;
403
+ stackable: boolean;
404
+ active: boolean;
405
+ metadata: Record<string, unknown> | null;
406
+ createdAt: string;
407
+ updatedAt: string;
408
+ }, readonly ["promotions", "detail", string]>, "queryFn"> & {
409
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
410
+ id: string;
411
+ name: string;
412
+ slug: string;
413
+ description: string | null;
414
+ discountType: "percentage" | "fixed_amount";
415
+ discountPercent: string | null;
416
+ discountAmountCents: number | null;
417
+ currency: string | null;
418
+ scope: {
419
+ kind: "global";
420
+ } | {
421
+ kind: "products";
422
+ productIds: string[];
423
+ } | {
424
+ kind: "categories";
425
+ categoryIds: string[];
426
+ } | {
427
+ kind: "destinations";
428
+ destinationIds: string[];
429
+ } | {
430
+ kind: "markets";
431
+ marketIds: string[];
432
+ } | {
433
+ kind: "audiences";
434
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
435
+ } | {
436
+ kind: "fare_codes";
437
+ fareCodes: string[];
438
+ } | {
439
+ kind: "cabin_grades";
440
+ cabinGradeCodes: string[];
441
+ };
442
+ conditions: {
443
+ minPax?: number | undefined;
444
+ pastGuestOnly?: boolean | undefined;
445
+ soloTravelerOnly?: boolean | undefined;
446
+ childTravelerOnly?: boolean | undefined;
447
+ familyOnly?: boolean | undefined;
448
+ };
449
+ validFrom: string | null;
450
+ validUntil: string | null;
451
+ code: string | null;
452
+ stackable: boolean;
453
+ active: boolean;
454
+ metadata: Record<string, unknown> | null;
455
+ createdAt: string;
456
+ updatedAt: string;
457
+ }, readonly ["promotions", "detail", string], never> | undefined;
458
+ } & {
459
+ queryKey: readonly ["promotions", "detail", string] & {
460
+ [dataTagSymbol]: {
461
+ id: string;
462
+ name: string;
463
+ slug: string;
464
+ description: string | null;
465
+ discountType: "percentage" | "fixed_amount";
466
+ discountPercent: string | null;
467
+ discountAmountCents: number | null;
468
+ currency: string | null;
469
+ scope: {
470
+ kind: "global";
471
+ } | {
472
+ kind: "products";
473
+ productIds: string[];
474
+ } | {
475
+ kind: "categories";
476
+ categoryIds: string[];
477
+ } | {
478
+ kind: "destinations";
479
+ destinationIds: string[];
480
+ } | {
481
+ kind: "markets";
482
+ marketIds: string[];
483
+ } | {
484
+ kind: "audiences";
485
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
486
+ } | {
487
+ kind: "fare_codes";
488
+ fareCodes: string[];
489
+ } | {
490
+ kind: "cabin_grades";
491
+ cabinGradeCodes: string[];
492
+ };
493
+ conditions: {
494
+ minPax?: number | undefined;
495
+ pastGuestOnly?: boolean | undefined;
496
+ soloTravelerOnly?: boolean | undefined;
497
+ childTravelerOnly?: boolean | undefined;
498
+ familyOnly?: boolean | undefined;
499
+ };
500
+ validFrom: string | null;
501
+ validUntil: string | null;
502
+ code: string | null;
503
+ stackable: boolean;
504
+ active: boolean;
505
+ metadata: Record<string, unknown> | null;
506
+ createdAt: string;
507
+ updatedAt: string;
508
+ };
509
+ [dataTagErrorSymbol]: Error;
510
+ };
511
+ };
512
+ export declare function usePromotionsList(query?: PromotionsListQuery): import("@tanstack/react-query").UseQueryResult<{
513
+ data: {
514
+ id: string;
515
+ name: string;
516
+ slug: string;
517
+ description: string | null;
518
+ discountType: "percentage" | "fixed_amount";
519
+ discountPercent: string | null;
520
+ discountAmountCents: number | null;
521
+ currency: string | null;
522
+ scope: {
523
+ kind: "global";
524
+ } | {
525
+ kind: "products";
526
+ productIds: string[];
527
+ } | {
528
+ kind: "categories";
529
+ categoryIds: string[];
530
+ } | {
531
+ kind: "destinations";
532
+ destinationIds: string[];
533
+ } | {
534
+ kind: "markets";
535
+ marketIds: string[];
536
+ } | {
537
+ kind: "audiences";
538
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
539
+ } | {
540
+ kind: "fare_codes";
541
+ fareCodes: string[];
542
+ } | {
543
+ kind: "cabin_grades";
544
+ cabinGradeCodes: string[];
545
+ };
546
+ conditions: {
547
+ minPax?: number | undefined;
548
+ pastGuestOnly?: boolean | undefined;
549
+ soloTravelerOnly?: boolean | undefined;
550
+ childTravelerOnly?: boolean | undefined;
551
+ familyOnly?: boolean | undefined;
552
+ };
553
+ validFrom: string | null;
554
+ validUntil: string | null;
555
+ code: string | null;
556
+ stackable: boolean;
557
+ active: boolean;
558
+ metadata: Record<string, unknown> | null;
559
+ createdAt: string;
560
+ updatedAt: string;
561
+ }[];
562
+ total: number;
563
+ limit: number;
564
+ offset: number;
565
+ }, Error>;
566
+ export interface PromotionInsertInput {
567
+ name: string;
568
+ slug: string;
569
+ description?: string | null;
570
+ discountType: "percentage" | "fixed_amount";
571
+ discountPercent?: number | null;
572
+ discountAmountCents?: number | null;
573
+ currency?: string | null;
574
+ scope: PromotionalOfferScope;
575
+ conditions?: PromotionalOfferConditions;
576
+ validFrom?: string | null;
577
+ validUntil?: string | null;
578
+ code?: string | null;
579
+ stackable?: boolean;
580
+ active?: boolean;
581
+ }
582
+ export type PromotionUpdateInput = Partial<PromotionInsertInput>;
583
+ export declare function useCreatePromotion(): import("@tanstack/react-query").UseMutationResult<{
584
+ id: string;
585
+ name: string;
586
+ slug: string;
587
+ description: string | null;
588
+ discountType: "percentage" | "fixed_amount";
589
+ discountPercent: string | null;
590
+ discountAmountCents: number | null;
591
+ currency: string | null;
592
+ scope: {
593
+ kind: "global";
594
+ } | {
595
+ kind: "products";
596
+ productIds: string[];
597
+ } | {
598
+ kind: "categories";
599
+ categoryIds: string[];
600
+ } | {
601
+ kind: "destinations";
602
+ destinationIds: string[];
603
+ } | {
604
+ kind: "markets";
605
+ marketIds: string[];
606
+ } | {
607
+ kind: "audiences";
608
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
609
+ } | {
610
+ kind: "fare_codes";
611
+ fareCodes: string[];
612
+ } | {
613
+ kind: "cabin_grades";
614
+ cabinGradeCodes: string[];
615
+ };
616
+ conditions: {
617
+ minPax?: number | undefined;
618
+ pastGuestOnly?: boolean | undefined;
619
+ soloTravelerOnly?: boolean | undefined;
620
+ childTravelerOnly?: boolean | undefined;
621
+ familyOnly?: boolean | undefined;
622
+ };
623
+ validFrom: string | null;
624
+ validUntil: string | null;
625
+ code: string | null;
626
+ stackable: boolean;
627
+ active: boolean;
628
+ metadata: Record<string, unknown> | null;
629
+ createdAt: string;
630
+ updatedAt: string;
631
+ }, Error, PromotionInsertInput, unknown>;
632
+ export declare function useUpdatePromotion(): import("@tanstack/react-query").UseMutationResult<{
633
+ id: string;
634
+ name: string;
635
+ slug: string;
636
+ description: string | null;
637
+ discountType: "percentage" | "fixed_amount";
638
+ discountPercent: string | null;
639
+ discountAmountCents: number | null;
640
+ currency: string | null;
641
+ scope: {
642
+ kind: "global";
643
+ } | {
644
+ kind: "products";
645
+ productIds: string[];
646
+ } | {
647
+ kind: "categories";
648
+ categoryIds: string[];
649
+ } | {
650
+ kind: "destinations";
651
+ destinationIds: string[];
652
+ } | {
653
+ kind: "markets";
654
+ marketIds: string[];
655
+ } | {
656
+ kind: "audiences";
657
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
658
+ } | {
659
+ kind: "fare_codes";
660
+ fareCodes: string[];
661
+ } | {
662
+ kind: "cabin_grades";
663
+ cabinGradeCodes: string[];
664
+ };
665
+ conditions: {
666
+ minPax?: number | undefined;
667
+ pastGuestOnly?: boolean | undefined;
668
+ soloTravelerOnly?: boolean | undefined;
669
+ childTravelerOnly?: boolean | undefined;
670
+ familyOnly?: boolean | undefined;
671
+ };
672
+ validFrom: string | null;
673
+ validUntil: string | null;
674
+ code: string | null;
675
+ stackable: boolean;
676
+ active: boolean;
677
+ metadata: Record<string, unknown> | null;
678
+ createdAt: string;
679
+ updatedAt: string;
680
+ }, Error, {
681
+ id: string;
682
+ patch: PromotionUpdateInput;
683
+ }, unknown>;
684
+ export declare function useArchivePromotion(): import("@tanstack/react-query").UseMutationResult<{
685
+ id: string;
686
+ name: string;
687
+ slug: string;
688
+ description: string | null;
689
+ discountType: "percentage" | "fixed_amount";
690
+ discountPercent: string | null;
691
+ discountAmountCents: number | null;
692
+ currency: string | null;
693
+ scope: {
694
+ kind: "global";
695
+ } | {
696
+ kind: "products";
697
+ productIds: string[];
698
+ } | {
699
+ kind: "categories";
700
+ categoryIds: string[];
701
+ } | {
702
+ kind: "destinations";
703
+ destinationIds: string[];
704
+ } | {
705
+ kind: "markets";
706
+ marketIds: string[];
707
+ } | {
708
+ kind: "audiences";
709
+ audiences: ("staff" | "customer" | "partner" | "supplier")[];
710
+ } | {
711
+ kind: "fare_codes";
712
+ fareCodes: string[];
713
+ } | {
714
+ kind: "cabin_grades";
715
+ cabinGradeCodes: string[];
716
+ };
717
+ conditions: {
718
+ minPax?: number | undefined;
719
+ pastGuestOnly?: boolean | undefined;
720
+ soloTravelerOnly?: boolean | undefined;
721
+ childTravelerOnly?: boolean | undefined;
722
+ familyOnly?: boolean | undefined;
723
+ };
724
+ validFrom: string | null;
725
+ validUntil: string | null;
726
+ code: string | null;
727
+ stackable: boolean;
728
+ active: boolean;
729
+ metadata: Record<string, unknown> | null;
730
+ createdAt: string;
731
+ updatedAt: string;
732
+ }, Error, string, unknown>;
733
+ export declare function useDeletePromotion(): import("@tanstack/react-query").UseMutationResult<{
734
+ id: string;
735
+ }, Error, string, unknown>;
736
+ //# sourceMappingURL=index.d.ts.map