@voyant-travel/inventory-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 (564) hide show
  1. package/LICENSE +201 -0
  2. package/dist/admin/index.d.ts +91 -0
  3. package/dist/admin/index.d.ts.map +1 -0
  4. package/dist/admin/index.js +132 -0
  5. package/dist/admin/pages/product-detail-page.d.ts +18 -0
  6. package/dist/admin/pages/product-detail-page.d.ts.map +1 -0
  7. package/dist/admin/pages/product-detail-page.js +63 -0
  8. package/dist/admin/product-categories-host.d.ts +7 -0
  9. package/dist/admin/product-categories-host.d.ts.map +1 -0
  10. package/dist/admin/product-categories-host.js +11 -0
  11. package/dist/admin/product-detail-api.d.ts +22 -0
  12. package/dist/admin/product-detail-api.d.ts.map +1 -0
  13. package/dist/admin/product-detail-api.js +58 -0
  14. package/dist/admin/products-host.d.ts +11 -0
  15. package/dist/admin/products-host.d.ts.map +1 -0
  16. package/dist/admin/products-host.js +17 -0
  17. package/dist/admin/products-list-skeleton.d.ts +10 -0
  18. package/dist/admin/products-list-skeleton.d.ts.map +1 -0
  19. package/dist/admin/products-list-skeleton.js +23 -0
  20. package/dist/client.d.ts +16 -0
  21. package/dist/client.d.ts.map +1 -0
  22. package/dist/client.js +79 -0
  23. package/dist/components/option-unit-dialog.d.ts +11 -0
  24. package/dist/components/option-unit-dialog.d.ts.map +1 -0
  25. package/dist/components/option-unit-dialog.js +17 -0
  26. package/dist/components/option-unit-form.d.ts +17 -0
  27. package/dist/components/option-unit-form.d.ts.map +1 -0
  28. package/dist/components/option-unit-form.js +123 -0
  29. package/dist/components/product-action-ledger-card.d.ts +17 -0
  30. package/dist/components/product-action-ledger-card.d.ts.map +1 -0
  31. package/dist/components/product-action-ledger-card.js +73 -0
  32. package/dist/components/product-catalog-card.d.ts +14 -0
  33. package/dist/components/product-catalog-card.d.ts.map +1 -0
  34. package/dist/components/product-catalog-card.js +44 -0
  35. package/dist/components/product-categories-page.d.ts +7 -0
  36. package/dist/components/product-categories-page.d.ts.map +1 -0
  37. package/dist/components/product-categories-page.js +9 -0
  38. package/dist/components/product-category-combobox.d.ts +10 -0
  39. package/dist/components/product-category-combobox.d.ts.map +1 -0
  40. package/dist/components/product-category-combobox.js +47 -0
  41. package/dist/components/product-category-dialog.d.ts +9 -0
  42. package/dist/components/product-category-dialog.d.ts.map +1 -0
  43. package/dist/components/product-category-dialog.js +17 -0
  44. package/dist/components/product-category-form.d.ts +15 -0
  45. package/dist/components/product-category-form.d.ts.map +1 -0
  46. package/dist/components/product-category-form.js +82 -0
  47. package/dist/components/product-category-list.d.ts +5 -0
  48. package/dist/components/product-category-list.d.ts.map +1 -0
  49. package/dist/components/product-category-list.js +48 -0
  50. package/dist/components/product-combobox.d.ts +13 -0
  51. package/dist/components/product-combobox.d.ts.map +1 -0
  52. package/dist/components/product-combobox.js +23 -0
  53. package/dist/components/product-contract-template-combobox.d.ts +9 -0
  54. package/dist/components/product-contract-template-combobox.d.ts.map +1 -0
  55. package/dist/components/product-contract-template-combobox.js +97 -0
  56. package/dist/components/product-day-dialog.d.ts +20 -0
  57. package/dist/components/product-day-dialog.d.ts.map +1 -0
  58. package/dist/components/product-day-dialog.js +20 -0
  59. package/dist/components/product-day-form.d.ts +19 -0
  60. package/dist/components/product-day-form.d.ts.map +1 -0
  61. package/dist/components/product-day-form.js +77 -0
  62. package/dist/components/product-day-media-tray.d.ts +11 -0
  63. package/dist/components/product-day-media-tray.d.ts.map +1 -0
  64. package/dist/components/product-day-media-tray.js +74 -0
  65. package/dist/components/product-day-service-dialog.d.ts +14 -0
  66. package/dist/components/product-day-service-dialog.d.ts.map +1 -0
  67. package/dist/components/product-day-service-dialog.js +19 -0
  68. package/dist/components/product-day-service-form.d.ts +44 -0
  69. package/dist/components/product-day-service-form.d.ts.map +1 -0
  70. package/dist/components/product-day-service-form.js +152 -0
  71. package/dist/components/product-detail/commerce-client.d.ts +314 -0
  72. package/dist/components/product-detail/commerce-client.d.ts.map +1 -0
  73. package/dist/components/product-detail/commerce-client.js +261 -0
  74. package/dist/components/product-detail/host.d.ts +54 -0
  75. package/dist/components/product-detail/host.d.ts.map +1 -0
  76. package/dist/components/product-detail/host.js +27 -0
  77. package/dist/components/product-detail/index.d.ts +6 -0
  78. package/dist/components/product-detail/index.d.ts.map +1 -0
  79. package/dist/components/product-detail/index.js +5 -0
  80. package/dist/components/product-detail/product-activity-section.d.ts +4 -0
  81. package/dist/components/product-detail/product-activity-section.d.ts.map +1 -0
  82. package/dist/components/product-detail/product-activity-section.js +37 -0
  83. package/dist/components/product-detail/product-day-sheet.d.ts +14 -0
  84. package/dist/components/product-detail/product-day-sheet.d.ts.map +1 -0
  85. package/dist/components/product-detail/product-day-sheet.js +75 -0
  86. package/dist/components/product-detail/product-day-translation.d.ts +41 -0
  87. package/dist/components/product-detail/product-day-translation.d.ts.map +1 -0
  88. package/dist/components/product-detail/product-day-translation.js +111 -0
  89. package/dist/components/product-detail/product-departure-dialog.d.ts +11 -0
  90. package/dist/components/product-detail/product-departure-dialog.d.ts.map +1 -0
  91. package/dist/components/product-detail/product-departure-dialog.js +10 -0
  92. package/dist/components/product-detail/product-departure-form.d.ts +25 -0
  93. package/dist/components/product-detail/product-departure-form.d.ts.map +1 -0
  94. package/dist/components/product-detail/product-departure-form.js +241 -0
  95. package/dist/components/product-detail/product-departure-pricing-override-dialog.d.ts +8 -0
  96. package/dist/components/product-detail/product-departure-pricing-override-dialog.d.ts.map +1 -0
  97. package/dist/components/product-detail/product-departure-pricing-override-dialog.js +126 -0
  98. package/dist/components/product-detail/product-detail-availability-sections.d.ts +19 -0
  99. package/dist/components/product-detail/product-detail-availability-sections.d.ts.map +1 -0
  100. package/dist/components/product-detail/product-detail-availability-sections.js +29 -0
  101. package/dist/components/product-detail/product-detail-channel-section.d.ts +8 -0
  102. package/dist/components/product-detail/product-detail-channel-section.d.ts.map +1 -0
  103. package/dist/components/product-detail/product-detail-channel-section.js +16 -0
  104. package/dist/components/product-detail/product-detail-day-row.d.ts +14 -0
  105. package/dist/components/product-detail/product-detail-day-row.d.ts.map +1 -0
  106. package/dist/components/product-detail/product-detail-day-row.js +43 -0
  107. package/dist/components/product-detail/product-detail-dialog.d.ts +10 -0
  108. package/dist/components/product-detail/product-detail-dialog.d.ts.map +1 -0
  109. package/dist/components/product-detail/product-detail-dialog.js +10 -0
  110. package/dist/components/product-detail/product-detail-form.d.ts +22 -0
  111. package/dist/components/product-detail/product-detail-form.d.ts.map +1 -0
  112. package/dist/components/product-detail/product-detail-form.js +205 -0
  113. package/dist/components/product-detail/product-detail-header.d.ts +12 -0
  114. package/dist/components/product-detail/product-detail-header.d.ts.map +1 -0
  115. package/dist/components/product-detail/product-detail-header.js +19 -0
  116. package/dist/components/product-detail/product-detail-itinerary-section.d.ts +4 -0
  117. package/dist/components/product-detail/product-detail-itinerary-section.d.ts.map +1 -0
  118. package/dist/components/product-detail/product-detail-itinerary-section.js +201 -0
  119. package/dist/components/product-detail/product-detail-media-sections.d.ts +15 -0
  120. package/dist/components/product-detail/product-detail-media-sections.d.ts.map +1 -0
  121. package/dist/components/product-detail/product-detail-media-sections.js +19 -0
  122. package/dist/components/product-detail/product-detail-organize-section.d.ts +6 -0
  123. package/dist/components/product-detail/product-detail-organize-section.d.ts.map +1 -0
  124. package/dist/components/product-detail/product-detail-organize-section.js +18 -0
  125. package/dist/components/product-detail/product-detail-page.d.ts +4 -0
  126. package/dist/components/product-detail/product-detail-page.d.ts.map +1 -0
  127. package/dist/components/product-detail/product-detail-page.js +95 -0
  128. package/dist/components/product-detail/product-detail-section-shell.d.ts +19 -0
  129. package/dist/components/product-detail/product-detail-section-shell.d.ts.map +1 -0
  130. package/dist/components/product-detail/product-detail-section-shell.js +23 -0
  131. package/dist/components/product-detail/product-detail-sections.d.ts +7 -0
  132. package/dist/components/product-detail/product-detail-sections.d.ts.map +1 -0
  133. package/dist/components/product-detail/product-detail-sections.js +6 -0
  134. package/dist/components/product-detail/product-detail-shared.d.ts +264 -0
  135. package/dist/components/product-detail/product-detail-shared.d.ts.map +1 -0
  136. package/dist/components/product-detail/product-detail-shared.js +157 -0
  137. package/dist/components/product-detail/product-detail-skeleton.d.ts +9 -0
  138. package/dist/components/product-detail/product-detail-skeleton.d.ts.map +1 -0
  139. package/dist/components/product-detail/product-detail-skeleton.js +53 -0
  140. package/dist/components/product-detail/product-detail-summary-section.d.ts +6 -0
  141. package/dist/components/product-detail/product-detail-summary-section.d.ts.map +1 -0
  142. package/dist/components/product-detail/product-detail-summary-section.js +66 -0
  143. package/dist/components/product-detail/product-extra-dialog.d.ts +21 -0
  144. package/dist/components/product-detail/product-extra-dialog.d.ts.map +1 -0
  145. package/dist/components/product-detail/product-extra-dialog.js +131 -0
  146. package/dist/components/product-detail/product-itinerary-form.d.ts +16 -0
  147. package/dist/components/product-detail/product-itinerary-form.d.ts.map +1 -0
  148. package/dist/components/product-detail/product-itinerary-form.js +38 -0
  149. package/dist/components/product-detail/product-market-rules-section.d.ts +6 -0
  150. package/dist/components/product-detail/product-market-rules-section.d.ts.map +1 -0
  151. package/dist/components/product-detail/product-market-rules-section.js +81 -0
  152. package/dist/components/product-detail/product-media-gallery.d.ts +19 -0
  153. package/dist/components/product-detail/product-media-gallery.d.ts.map +1 -0
  154. package/dist/components/product-detail/product-media-gallery.js +114 -0
  155. package/dist/components/product-detail/product-option-price-rule-dialog.d.ts +12 -0
  156. package/dist/components/product-detail/product-option-price-rule-dialog.d.ts.map +1 -0
  157. package/dist/components/product-detail/product-option-price-rule-dialog.js +10 -0
  158. package/dist/components/product-detail/product-option-price-rule-form.d.ts +29 -0
  159. package/dist/components/product-detail/product-option-price-rule-form.d.ts.map +1 -0
  160. package/dist/components/product-detail/product-option-price-rule-form.js +122 -0
  161. package/dist/components/product-detail/product-option-pricing-grid.d.ts +16 -0
  162. package/dist/components/product-detail/product-option-pricing-grid.d.ts.map +1 -0
  163. package/dist/components/product-detail/product-option-pricing-grid.js +236 -0
  164. package/dist/components/product-detail/product-options-extra-price-rules.d.ts +8 -0
  165. package/dist/components/product-detail/product-options-extra-price-rules.d.ts.map +1 -0
  166. package/dist/components/product-detail/product-options-extra-price-rules.js +123 -0
  167. package/dist/components/product-detail/product-options-pricing-helpers.d.ts +14 -0
  168. package/dist/components/product-detail/product-options-pricing-helpers.d.ts.map +1 -0
  169. package/dist/components/product-detail/product-options-pricing-helpers.js +49 -0
  170. package/dist/components/product-detail/product-options-pricing-panel.d.ts +17 -0
  171. package/dist/components/product-detail/product-options-pricing-panel.d.ts.map +1 -0
  172. package/dist/components/product-detail/product-options-pricing-panel.js +88 -0
  173. package/dist/components/product-detail/product-options-pricing.d.ts +5 -0
  174. package/dist/components/product-detail/product-options-pricing.d.ts.map +1 -0
  175. package/dist/components/product-detail/product-options-pricing.js +4 -0
  176. package/dist/components/product-detail/product-options-shared.d.ts +236 -0
  177. package/dist/components/product-detail/product-options-shared.d.ts.map +1 -0
  178. package/dist/components/product-detail/product-options-shared.js +57 -0
  179. package/dist/components/product-detail/product-options-traveler-category-dialog.d.ts +12 -0
  180. package/dist/components/product-detail/product-options-traveler-category-dialog.d.ts.map +1 -0
  181. package/dist/components/product-detail/product-options-traveler-category-dialog.js +132 -0
  182. package/dist/components/product-detail/product-options-unit-price-matrix.d.ts +10 -0
  183. package/dist/components/product-detail/product-options-unit-price-matrix.d.ts.map +1 -0
  184. package/dist/components/product-detail/product-options-unit-price-matrix.js +103 -0
  185. package/dist/components/product-detail/product-payment-policy-section.d.ts +17 -0
  186. package/dist/components/product-detail/product-payment-policy-section.d.ts.map +1 -0
  187. package/dist/components/product-detail/product-payment-policy-section.js +58 -0
  188. package/dist/components/product-detail/product-schedule-dialog.d.ts +11 -0
  189. package/dist/components/product-detail/product-schedule-dialog.d.ts.map +1 -0
  190. package/dist/components/product-detail/product-schedule-dialog.js +10 -0
  191. package/dist/components/product-detail/product-schedule-form.d.ts +17 -0
  192. package/dist/components/product-detail/product-schedule-form.d.ts.map +1 -0
  193. package/dist/components/product-detail/product-schedule-form.js +223 -0
  194. package/dist/components/product-detail/product-service-dialog.d.ts +12 -0
  195. package/dist/components/product-detail/product-service-dialog.d.ts.map +1 -0
  196. package/dist/components/product-detail/product-service-dialog.js +10 -0
  197. package/dist/components/product-detail/product-service-form.d.ts +22 -0
  198. package/dist/components/product-detail/product-service-form.d.ts.map +1 -0
  199. package/dist/components/product-detail/product-service-form.js +154 -0
  200. package/dist/components/product-detail/product-translation-popover.d.ts +94 -0
  201. package/dist/components/product-detail/product-translation-popover.d.ts.map +1 -0
  202. package/dist/components/product-detail/product-translation-popover.js +238 -0
  203. package/dist/components/product-detail/product-unit-dialog.d.ts +14 -0
  204. package/dist/components/product-detail/product-unit-dialog.d.ts.map +1 -0
  205. package/dist/components/product-detail/product-unit-dialog.js +10 -0
  206. package/dist/components/product-detail/product-unit-form.d.ts +34 -0
  207. package/dist/components/product-detail/product-unit-form.d.ts.map +1 -0
  208. package/dist/components/product-detail/product-unit-form.js +139 -0
  209. package/dist/components/product-detail/product-unit-price-rule-dialog.d.ts +17 -0
  210. package/dist/components/product-detail/product-unit-price-rule-dialog.d.ts.map +1 -0
  211. package/dist/components/product-detail/product-unit-price-rule-dialog.js +10 -0
  212. package/dist/components/product-detail/product-unit-price-rule-form.d.ts +29 -0
  213. package/dist/components/product-detail/product-unit-price-rule-form.d.ts.map +1 -0
  214. package/dist/components/product-detail/product-unit-price-rule-form.js +144 -0
  215. package/dist/components/product-detail/rrule-labels.d.ts +2 -0
  216. package/dist/components/product-detail/rrule-labels.d.ts.map +1 -0
  217. package/dist/components/product-detail/rrule-labels.js +65 -0
  218. package/dist/components/product-detail/timezone-options.d.ts +9 -0
  219. package/dist/components/product-detail/timezone-options.d.ts.map +1 -0
  220. package/dist/components/product-detail/timezone-options.js +28 -0
  221. package/dist/components/product-detail/use-product-detail-data.d.ts +41 -0
  222. package/dist/components/product-detail/use-product-detail-data.d.ts.map +1 -0
  223. package/dist/components/product-detail/use-product-detail-data.js +143 -0
  224. package/dist/components/product-detail/use-product-detail-dialogs.d.ts +24 -0
  225. package/dist/components/product-detail/use-product-detail-dialogs.d.ts.map +1 -0
  226. package/dist/components/product-detail/use-product-detail-dialogs.js +40 -0
  227. package/dist/components/product-detail/zod-resolver.d.ts +4 -0
  228. package/dist/components/product-detail/zod-resolver.d.ts.map +1 -0
  229. package/dist/components/product-detail/zod-resolver.js +39 -0
  230. package/dist/components/product-detail-page.d.ts +57 -0
  231. package/dist/components/product-detail-page.d.ts.map +1 -0
  232. package/dist/components/product-detail-page.js +118 -0
  233. package/dist/components/product-detail.d.ts +2 -0
  234. package/dist/components/product-detail.d.ts.map +1 -0
  235. package/dist/components/product-detail.js +1 -0
  236. package/dist/components/product-dialog.d.ts +9 -0
  237. package/dist/components/product-dialog.d.ts.map +1 -0
  238. package/dist/components/product-dialog.js +13 -0
  239. package/dist/components/product-facility-combobox.d.ts +9 -0
  240. package/dist/components/product-facility-combobox.d.ts.map +1 -0
  241. package/dist/components/product-facility-combobox.js +94 -0
  242. package/dist/components/product-form.d.ts +14 -0
  243. package/dist/components/product-form.d.ts.map +1 -0
  244. package/dist/components/product-form.js +191 -0
  245. package/dist/components/product-itinerary-day-row.d.ts +22 -0
  246. package/dist/components/product-itinerary-day-row.d.ts.map +1 -0
  247. package/dist/components/product-itinerary-day-row.js +17 -0
  248. package/dist/components/product-itinerary-dialog.d.ts +16 -0
  249. package/dist/components/product-itinerary-dialog.d.ts.map +1 -0
  250. package/dist/components/product-itinerary-dialog.js +85 -0
  251. package/dist/components/product-itinerary-section.d.ts +16 -0
  252. package/dist/components/product-itinerary-section.d.ts.map +1 -0
  253. package/dist/components/product-itinerary-section.js +105 -0
  254. package/dist/components/product-list.d.ts +7 -0
  255. package/dist/components/product-list.d.ts.map +1 -0
  256. package/dist/components/product-list.js +155 -0
  257. package/dist/components/product-media-dialog.d.ts +11 -0
  258. package/dist/components/product-media-dialog.d.ts.map +1 -0
  259. package/dist/components/product-media-dialog.js +17 -0
  260. package/dist/components/product-media-form.d.ts +17 -0
  261. package/dist/components/product-media-form.d.ts.map +1 -0
  262. package/dist/components/product-media-form.js +101 -0
  263. package/dist/components/product-media-lightbox.d.ts +7 -0
  264. package/dist/components/product-media-lightbox.d.ts.map +1 -0
  265. package/dist/components/product-media-lightbox.js +31 -0
  266. package/dist/components/product-media-section.d.ts +27 -0
  267. package/dist/components/product-media-section.d.ts.map +1 -0
  268. package/dist/components/product-media-section.js +130 -0
  269. package/dist/components/product-media-tile.d.ts +17 -0
  270. package/dist/components/product-media-tile.d.ts.map +1 -0
  271. package/dist/components/product-media-tile.js +16 -0
  272. package/dist/components/product-option-dialog.d.ts +11 -0
  273. package/dist/components/product-option-dialog.d.ts.map +1 -0
  274. package/dist/components/product-option-dialog.js +17 -0
  275. package/dist/components/product-option-form.d.ts +17 -0
  276. package/dist/components/product-option-form.d.ts.map +1 -0
  277. package/dist/components/product-option-form.js +91 -0
  278. package/dist/components/product-options-section.d.ts +13 -0
  279. package/dist/components/product-options-section.d.ts.map +1 -0
  280. package/dist/components/product-options-section.js +200 -0
  281. package/dist/components/product-quick-view-sheet.d.ts +23 -0
  282. package/dist/components/product-quick-view-sheet.d.ts.map +1 -0
  283. package/dist/components/product-quick-view-sheet.js +65 -0
  284. package/dist/components/product-tag-dialog.d.ts +9 -0
  285. package/dist/components/product-tag-dialog.d.ts.map +1 -0
  286. package/dist/components/product-tag-dialog.js +17 -0
  287. package/dist/components/product-tag-form.d.ts +15 -0
  288. package/dist/components/product-tag-form.d.ts.map +1 -0
  289. package/dist/components/product-tag-form.js +48 -0
  290. package/dist/components/product-tag-list.d.ts +5 -0
  291. package/dist/components/product-tag-list.d.ts.map +1 -0
  292. package/dist/components/product-tag-list.js +44 -0
  293. package/dist/components/product-tags-page.d.ts +7 -0
  294. package/dist/components/product-tags-page.d.ts.map +1 -0
  295. package/dist/components/product-tags-page.js +9 -0
  296. package/dist/components/product-tax-class-combobox.d.ts +9 -0
  297. package/dist/components/product-tax-class-combobox.d.ts.map +1 -0
  298. package/dist/components/product-tax-class-combobox.js +100 -0
  299. package/dist/components/product-translations-card.d.ts +7 -0
  300. package/dist/components/product-translations-card.d.ts.map +1 -0
  301. package/dist/components/product-translations-card.js +188 -0
  302. package/dist/components/product-type-combobox.d.ts +9 -0
  303. package/dist/components/product-type-combobox.d.ts.map +1 -0
  304. package/dist/components/product-type-combobox.js +48 -0
  305. package/dist/components/product-types-page.d.ts +6 -0
  306. package/dist/components/product-types-page.d.ts.map +1 -0
  307. package/dist/components/product-types-page.js +103 -0
  308. package/dist/components/product-version-dialog.d.ts +8 -0
  309. package/dist/components/product-version-dialog.d.ts.map +1 -0
  310. package/dist/components/product-version-dialog.js +39 -0
  311. package/dist/components/product-versions-section.d.ts +7 -0
  312. package/dist/components/product-versions-section.d.ts.map +1 -0
  313. package/dist/components/product-versions-section.js +19 -0
  314. package/dist/components/products-page.d.ts +8 -0
  315. package/dist/components/products-page.d.ts.map +1 -0
  316. package/dist/components/products-page.js +8 -0
  317. package/dist/extras/client.d.ts +14 -0
  318. package/dist/extras/client.d.ts.map +1 -0
  319. package/dist/extras/client.js +58 -0
  320. package/dist/extras/components/extra-catalog-card.d.ts +13 -0
  321. package/dist/extras/components/extra-catalog-card.d.ts.map +1 -0
  322. package/dist/extras/components/extra-catalog-card.js +52 -0
  323. package/dist/extras/components/product-combobox.d.ts +9 -0
  324. package/dist/extras/components/product-combobox.d.ts.map +1 -0
  325. package/dist/extras/components/product-combobox.js +46 -0
  326. package/dist/extras/hooks/index.d.ts +4 -0
  327. package/dist/extras/hooks/index.d.ts.map +1 -0
  328. package/dist/extras/hooks/index.js +3 -0
  329. package/dist/extras/hooks/use-product-extra-mutation.d.ts +70 -0
  330. package/dist/extras/hooks/use-product-extra-mutation.d.ts.map +1 -0
  331. package/dist/extras/hooks/use-product-extra-mutation.js +38 -0
  332. package/dist/extras/hooks/use-product-extra.d.ts +24 -0
  333. package/dist/extras/hooks/use-product-extra.d.ts.map +1 -0
  334. package/dist/extras/hooks/use-product-extra.js +12 -0
  335. package/dist/extras/hooks/use-product-extras.d.ts +30 -0
  336. package/dist/extras/hooks/use-product-extras.d.ts.map +1 -0
  337. package/dist/extras/hooks/use-product-extras.js +12 -0
  338. package/dist/extras/i18n/en.d.ts +52 -0
  339. package/dist/extras/i18n/en.d.ts.map +1 -0
  340. package/dist/extras/i18n/en.js +51 -0
  341. package/dist/extras/i18n/index.d.ts +5 -0
  342. package/dist/extras/i18n/index.d.ts.map +1 -0
  343. package/dist/extras/i18n/index.js +3 -0
  344. package/dist/extras/i18n/messages.d.ts +37 -0
  345. package/dist/extras/i18n/messages.d.ts.map +1 -0
  346. package/dist/extras/i18n/messages.js +1 -0
  347. package/dist/extras/i18n/provider.d.ts +126 -0
  348. package/dist/extras/i18n/provider.d.ts.map +1 -0
  349. package/dist/extras/i18n/provider.js +44 -0
  350. package/dist/extras/i18n/ro.d.ts +52 -0
  351. package/dist/extras/i18n/ro.d.ts.map +1 -0
  352. package/dist/extras/i18n/ro.js +51 -0
  353. package/dist/extras/index.d.ts +7 -0
  354. package/dist/extras/index.d.ts.map +1 -0
  355. package/dist/extras/index.js +6 -0
  356. package/dist/extras/provider.d.ts +2 -0
  357. package/dist/extras/provider.d.ts.map +1 -0
  358. package/dist/extras/provider.js +1 -0
  359. package/dist/extras/query-keys.d.ts +16 -0
  360. package/dist/extras/query-keys.d.ts.map +1 -0
  361. package/dist/extras/query-keys.js +8 -0
  362. package/dist/extras/query-options.d.ts +455 -0
  363. package/dist/extras/query-options.d.ts.map +1 -0
  364. package/dist/extras/query-options.js +44 -0
  365. package/dist/extras/schemas.d.ts +416 -0
  366. package/dist/extras/schemas.d.ts.map +1 -0
  367. package/dist/extras/schemas.js +89 -0
  368. package/dist/extras/ui.d.ts +3 -0
  369. package/dist/extras/ui.d.ts.map +1 -0
  370. package/dist/extras/ui.js +2 -0
  371. package/dist/extras-compat.d.ts +3 -0
  372. package/dist/extras-compat.d.ts.map +1 -0
  373. package/dist/extras-compat.js +1 -0
  374. package/dist/extras.d.ts +10 -0
  375. package/dist/extras.d.ts.map +1 -0
  376. package/dist/extras.js +9 -0
  377. package/dist/hooks/index.d.ts +36 -0
  378. package/dist/hooks/index.d.ts.map +1 -0
  379. package/dist/hooks/index.js +35 -0
  380. package/dist/hooks/use-duplicate-product-option-mutation.d.ts +19 -0
  381. package/dist/hooks/use-duplicate-product-option-mutation.d.ts.map +1 -0
  382. package/dist/hooks/use-duplicate-product-option-mutation.js +65 -0
  383. package/dist/hooks/use-option-unit-mutation.d.ts +60 -0
  384. package/dist/hooks/use-option-unit-mutation.d.ts.map +1 -0
  385. package/dist/hooks/use-option-unit-mutation.js +41 -0
  386. package/dist/hooks/use-option-unit.d.ts +21 -0
  387. package/dist/hooks/use-option-unit.d.ts.map +1 -0
  388. package/dist/hooks/use-option-unit.js +12 -0
  389. package/dist/hooks/use-option-units.d.ts +27 -0
  390. package/dist/hooks/use-option-units.d.ts.map +1 -0
  391. package/dist/hooks/use-option-units.js +12 -0
  392. package/dist/hooks/use-product-action-ledger.d.ts +48 -0
  393. package/dist/hooks/use-product-action-ledger.d.ts.map +1 -0
  394. package/dist/hooks/use-product-action-ledger.js +12 -0
  395. package/dist/hooks/use-product-categories.d.ts +32 -0
  396. package/dist/hooks/use-product-categories.d.ts.map +1 -0
  397. package/dist/hooks/use-product-categories.js +29 -0
  398. package/dist/hooks/use-product-category-mutation.d.ts +65 -0
  399. package/dist/hooks/use-product-category-mutation.d.ts.map +1 -0
  400. package/dist/hooks/use-product-category-mutation.js +39 -0
  401. package/dist/hooks/use-product-category.d.ts +26 -0
  402. package/dist/hooks/use-product-category.d.ts.map +1 -0
  403. package/dist/hooks/use-product-category.js +18 -0
  404. package/dist/hooks/use-product-day-mutation.d.ts +43 -0
  405. package/dist/hooks/use-product-day-mutation.d.ts.map +1 -0
  406. package/dist/hooks/use-product-day-mutation.js +54 -0
  407. package/dist/hooks/use-product-day-service-mutation.d.ts +66 -0
  408. package/dist/hooks/use-product-day-service-mutation.d.ts.map +1 -0
  409. package/dist/hooks/use-product-day-service-mutation.js +41 -0
  410. package/dist/hooks/use-product-day-services.d.ts +21 -0
  411. package/dist/hooks/use-product-day-services.d.ts.map +1 -0
  412. package/dist/hooks/use-product-day-services.js +12 -0
  413. package/dist/hooks/use-product-day-translation-mutation.d.ts +49 -0
  414. package/dist/hooks/use-product-day-translation-mutation.d.ts.map +1 -0
  415. package/dist/hooks/use-product-day-translation-mutation.js +38 -0
  416. package/dist/hooks/use-product-day-translations.d.ts +19 -0
  417. package/dist/hooks/use-product-day-translations.d.ts.map +1 -0
  418. package/dist/hooks/use-product-day-translations.js +20 -0
  419. package/dist/hooks/use-product-days.d.ts +16 -0
  420. package/dist/hooks/use-product-days.d.ts.map +1 -0
  421. package/dist/hooks/use-product-days.js +12 -0
  422. package/dist/hooks/use-product-itineraries.d.ts +15 -0
  423. package/dist/hooks/use-product-itineraries.d.ts.map +1 -0
  424. package/dist/hooks/use-product-itineraries.js +12 -0
  425. package/dist/hooks/use-product-itinerary-days.d.ts +16 -0
  426. package/dist/hooks/use-product-itinerary-days.d.ts.map +1 -0
  427. package/dist/hooks/use-product-itinerary-days.js +12 -0
  428. package/dist/hooks/use-product-itinerary-mutation.d.ts +54 -0
  429. package/dist/hooks/use-product-itinerary-mutation.d.ts.map +1 -0
  430. package/dist/hooks/use-product-itinerary-mutation.js +63 -0
  431. package/dist/hooks/use-product-media-mutation.d.ts +101 -0
  432. package/dist/hooks/use-product-media-mutation.d.ts.map +1 -0
  433. package/dist/hooks/use-product-media-mutation.js +69 -0
  434. package/dist/hooks/use-product-media.d.ts +26 -0
  435. package/dist/hooks/use-product-media.d.ts.map +1 -0
  436. package/dist/hooks/use-product-media.js +12 -0
  437. package/dist/hooks/use-product-mutation.d.ts +121 -0
  438. package/dist/hooks/use-product-mutation.d.ts.map +1 -0
  439. package/dist/hooks/use-product-mutation.js +44 -0
  440. package/dist/hooks/use-product-option-mutation.d.ts +49 -0
  441. package/dist/hooks/use-product-option-mutation.d.ts.map +1 -0
  442. package/dist/hooks/use-product-option-mutation.js +39 -0
  443. package/dist/hooks/use-product-option.d.ts +18 -0
  444. package/dist/hooks/use-product-option.d.ts.map +1 -0
  445. package/dist/hooks/use-product-option.js +12 -0
  446. package/dist/hooks/use-product-options.d.ts +24 -0
  447. package/dist/hooks/use-product-options.d.ts.map +1 -0
  448. package/dist/hooks/use-product-options.js +12 -0
  449. package/dist/hooks/use-product-tag-mutation.d.ts +25 -0
  450. package/dist/hooks/use-product-tag-mutation.d.ts.map +1 -0
  451. package/dist/hooks/use-product-tag-mutation.js +39 -0
  452. package/dist/hooks/use-product-tag.d.ts +10 -0
  453. package/dist/hooks/use-product-tag.d.ts.map +1 -0
  454. package/dist/hooks/use-product-tag.js +18 -0
  455. package/dist/hooks/use-product-tags.d.ts +16 -0
  456. package/dist/hooks/use-product-tags.d.ts.map +1 -0
  457. package/dist/hooks/use-product-tags.js +25 -0
  458. package/dist/hooks/use-product-translation-mutation.d.ts +52 -0
  459. package/dist/hooks/use-product-translation-mutation.d.ts.map +1 -0
  460. package/dist/hooks/use-product-translation-mutation.js +47 -0
  461. package/dist/hooks/use-product-translations.d.ts +28 -0
  462. package/dist/hooks/use-product-translations.d.ts.map +1 -0
  463. package/dist/hooks/use-product-translations.js +24 -0
  464. package/dist/hooks/use-product-type-mutation.d.ts +50 -0
  465. package/dist/hooks/use-product-type-mutation.d.ts.map +1 -0
  466. package/dist/hooks/use-product-type-mutation.js +47 -0
  467. package/dist/hooks/use-product-type.d.ts +15 -0
  468. package/dist/hooks/use-product-type.d.ts.map +1 -0
  469. package/dist/hooks/use-product-type.js +12 -0
  470. package/dist/hooks/use-product-types.d.ts +21 -0
  471. package/dist/hooks/use-product-types.d.ts.map +1 -0
  472. package/dist/hooks/use-product-types.js +9 -0
  473. package/dist/hooks/use-product-version-mutation.d.ts +16 -0
  474. package/dist/hooks/use-product-version-mutation.d.ts.map +1 -0
  475. package/dist/hooks/use-product-version-mutation.js +22 -0
  476. package/dist/hooks/use-product-versions.d.ts +15 -0
  477. package/dist/hooks/use-product-versions.d.ts.map +1 -0
  478. package/dist/hooks/use-product-versions.js +12 -0
  479. package/dist/hooks/use-product.d.ts +45 -0
  480. package/dist/hooks/use-product.d.ts.map +1 -0
  481. package/dist/hooks/use-product.js +23 -0
  482. package/dist/hooks/use-products.d.ts +51 -0
  483. package/dist/hooks/use-products.d.ts.map +1 -0
  484. package/dist/hooks/use-products.js +38 -0
  485. package/dist/i18n/en-catalog.d.ts +199 -0
  486. package/dist/i18n/en-catalog.d.ts.map +1 -0
  487. package/dist/i18n/en-catalog.js +198 -0
  488. package/dist/i18n/en-core.d.ts +323 -0
  489. package/dist/i18n/en-core.d.ts.map +1 -0
  490. package/dist/i18n/en-core.js +322 -0
  491. package/dist/i18n/en-operations.d.ts +287 -0
  492. package/dist/i18n/en-operations.d.ts.map +1 -0
  493. package/dist/i18n/en-operations.js +286 -0
  494. package/dist/i18n/en.d.ts +803 -0
  495. package/dist/i18n/en.d.ts.map +1 -0
  496. package/dist/i18n/en.js +8 -0
  497. package/dist/i18n/index.d.ts +5 -0
  498. package/dist/i18n/index.d.ts.map +1 -0
  499. package/dist/i18n/index.js +3 -0
  500. package/dist/i18n/message-shared.d.ts +6 -0
  501. package/dist/i18n/message-shared.d.ts.map +1 -0
  502. package/dist/i18n/message-shared.js +1 -0
  503. package/dist/i18n/messages-catalog.d.ts +199 -0
  504. package/dist/i18n/messages-catalog.d.ts.map +1 -0
  505. package/dist/i18n/messages-catalog.js +1 -0
  506. package/dist/i18n/messages-core.d.ts +304 -0
  507. package/dist/i18n/messages-core.d.ts.map +1 -0
  508. package/dist/i18n/messages-core.js +1 -0
  509. package/dist/i18n/messages-operations.d.ts +287 -0
  510. package/dist/i18n/messages-operations.d.ts.map +1 -0
  511. package/dist/i18n/messages-operations.js +1 -0
  512. package/dist/i18n/messages.d.ts +6 -0
  513. package/dist/i18n/messages.d.ts.map +1 -0
  514. package/dist/i18n/messages.js +1 -0
  515. package/dist/i18n/provider.d.ts +1628 -0
  516. package/dist/i18n/provider.d.ts.map +1 -0
  517. package/dist/i18n/provider.js +44 -0
  518. package/dist/i18n/ro-catalog.d.ts +199 -0
  519. package/dist/i18n/ro-catalog.d.ts.map +1 -0
  520. package/dist/i18n/ro-catalog.js +198 -0
  521. package/dist/i18n/ro-core.d.ts +323 -0
  522. package/dist/i18n/ro-core.d.ts.map +1 -0
  523. package/dist/i18n/ro-core.js +322 -0
  524. package/dist/i18n/ro-operations.d.ts +287 -0
  525. package/dist/i18n/ro-operations.d.ts.map +1 -0
  526. package/dist/i18n/ro-operations.js +286 -0
  527. package/dist/i18n/ro.d.ts +803 -0
  528. package/dist/i18n/ro.d.ts.map +1 -0
  529. package/dist/i18n/ro.js +8 -0
  530. package/dist/i18n-en.d.ts +2 -0
  531. package/dist/i18n-en.d.ts.map +1 -0
  532. package/dist/i18n-en.js +1 -0
  533. package/dist/i18n-ro.d.ts +2 -0
  534. package/dist/i18n-ro.d.ts.map +1 -0
  535. package/dist/i18n-ro.js +1 -0
  536. package/dist/i18n.d.ts +2 -0
  537. package/dist/i18n.d.ts.map +1 -0
  538. package/dist/i18n.js +1 -0
  539. package/dist/index.d.ts +9 -0
  540. package/dist/index.d.ts.map +1 -0
  541. package/dist/index.js +8 -0
  542. package/dist/operations.d.ts +53 -0
  543. package/dist/operations.d.ts.map +1 -0
  544. package/dist/operations.js +13 -0
  545. package/dist/provider.d.ts +2 -0
  546. package/dist/provider.d.ts.map +1 -0
  547. package/dist/provider.js +1 -0
  548. package/dist/query-keys.d.ts +114 -0
  549. package/dist/query-keys.d.ts.map +1 -0
  550. package/dist/query-keys.js +34 -0
  551. package/dist/query-options-action-ledger.d.ts +194 -0
  552. package/dist/query-options-action-ledger.d.ts.map +1 -0
  553. package/dist/query-options-action-ledger.js +20 -0
  554. package/dist/query-options.d.ts +1313 -0
  555. package/dist/query-options.d.ts.map +1 -0
  556. package/dist/query-options.js +281 -0
  557. package/dist/schemas.d.ts +1098 -0
  558. package/dist/schemas.d.ts.map +1 -0
  559. package/dist/schemas.js +320 -0
  560. package/dist/ui.d.ts +44 -0
  561. package/dist/ui.d.ts.map +1 -0
  562. package/dist/ui.js +42 -0
  563. package/package.json +159 -0
  564. package/src/styles.css +12 -0
@@ -0,0 +1,1313 @@
1
+ import { type FetchWithValidationOptions } from "./client.js";
2
+ import type { UseOptionUnitOptions } from "./hooks/use-option-unit.js";
3
+ import type { UseOptionUnitsOptions } from "./hooks/use-option-units.js";
4
+ import type { UseProductOptions } from "./hooks/use-product.js";
5
+ import type { UseProductCategoriesOptions } from "./hooks/use-product-categories.js";
6
+ import type { UseProductDayServicesOptions } from "./hooks/use-product-day-services.js";
7
+ import type { UseProductDaysOptions } from "./hooks/use-product-days.js";
8
+ import type { UseProductItinerariesOptions } from "./hooks/use-product-itineraries.js";
9
+ import type { UseProductItineraryDaysOptions } from "./hooks/use-product-itinerary-days.js";
10
+ import type { UseProductMediaOptions } from "./hooks/use-product-media.js";
11
+ import type { UseProductOptionOptions } from "./hooks/use-product-option.js";
12
+ import type { UseProductOptionsListOptions } from "./hooks/use-product-options.js";
13
+ import type { UseProductTagsOptions } from "./hooks/use-product-tags.js";
14
+ import type { UseProductTypesOptions } from "./hooks/use-product-types.js";
15
+ import type { UseProductVersionsOptions } from "./hooks/use-product-versions.js";
16
+ import type { UseProductsOptions } from "./hooks/use-products.js";
17
+ export declare function getProductsQueryOptions(client: FetchWithValidationOptions, options?: UseProductsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
18
+ data: {
19
+ id: string;
20
+ name: string;
21
+ status: "draft" | "active" | "archived";
22
+ description: string | null;
23
+ inclusionsHtml: string | null;
24
+ exclusionsHtml: string | null;
25
+ termsHtml: string | null;
26
+ termsShowOnContract: boolean;
27
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
28
+ capacityMode: "free_sale" | "limited" | "on_request";
29
+ timezone: string | null;
30
+ visibility: "public" | "private" | "hidden";
31
+ activated: boolean;
32
+ reservationTimeoutMinutes: number | null;
33
+ sellCurrency: string;
34
+ sellAmountCents: number | null;
35
+ costAmountCents: number | null;
36
+ marginPercent: number | null;
37
+ facilityId: string | null;
38
+ startDate: string | null;
39
+ endDate: string | null;
40
+ pax: number | null;
41
+ productTypeId: string | null;
42
+ taxClassId: string | null;
43
+ tags: string[];
44
+ createdAt: string;
45
+ updatedAt: string;
46
+ defaultLanguageTag?: string | null | undefined;
47
+ contractTemplateId?: string | null | undefined;
48
+ customerPaymentPolicy?: {
49
+ deposit: {
50
+ kind: "none" | "percent" | "fixed_cents";
51
+ percent?: number | undefined;
52
+ amountCents?: number | undefined;
53
+ };
54
+ minDaysBeforeDepartureForDeposit: number;
55
+ balanceDueDaysBeforeDeparture: number;
56
+ balanceDueMinDaysFromNow: number;
57
+ } | null | undefined;
58
+ }[];
59
+ total: number;
60
+ limit: number;
61
+ offset: number;
62
+ }, Error, {
63
+ data: {
64
+ id: string;
65
+ name: string;
66
+ status: "draft" | "active" | "archived";
67
+ description: string | null;
68
+ inclusionsHtml: string | null;
69
+ exclusionsHtml: string | null;
70
+ termsHtml: string | null;
71
+ termsShowOnContract: boolean;
72
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
73
+ capacityMode: "free_sale" | "limited" | "on_request";
74
+ timezone: string | null;
75
+ visibility: "public" | "private" | "hidden";
76
+ activated: boolean;
77
+ reservationTimeoutMinutes: number | null;
78
+ sellCurrency: string;
79
+ sellAmountCents: number | null;
80
+ costAmountCents: number | null;
81
+ marginPercent: number | null;
82
+ facilityId: string | null;
83
+ startDate: string | null;
84
+ endDate: string | null;
85
+ pax: number | null;
86
+ productTypeId: string | null;
87
+ taxClassId: string | null;
88
+ tags: string[];
89
+ createdAt: string;
90
+ updatedAt: string;
91
+ defaultLanguageTag?: string | null | undefined;
92
+ contractTemplateId?: string | null | undefined;
93
+ customerPaymentPolicy?: {
94
+ deposit: {
95
+ kind: "none" | "percent" | "fixed_cents";
96
+ percent?: number | undefined;
97
+ amountCents?: number | undefined;
98
+ };
99
+ minDaysBeforeDepartureForDeposit: number;
100
+ balanceDueDaysBeforeDeparture: number;
101
+ balanceDueMinDaysFromNow: number;
102
+ } | null | undefined;
103
+ }[];
104
+ total: number;
105
+ limit: number;
106
+ offset: number;
107
+ }, readonly ["voyant", "products", "products", "list", import("./query-keys.js").ProductsListFilters]>, "queryFn"> & {
108
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
109
+ data: {
110
+ id: string;
111
+ name: string;
112
+ status: "draft" | "active" | "archived";
113
+ description: string | null;
114
+ inclusionsHtml: string | null;
115
+ exclusionsHtml: string | null;
116
+ termsHtml: string | null;
117
+ termsShowOnContract: boolean;
118
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
119
+ capacityMode: "free_sale" | "limited" | "on_request";
120
+ timezone: string | null;
121
+ visibility: "public" | "private" | "hidden";
122
+ activated: boolean;
123
+ reservationTimeoutMinutes: number | null;
124
+ sellCurrency: string;
125
+ sellAmountCents: number | null;
126
+ costAmountCents: number | null;
127
+ marginPercent: number | null;
128
+ facilityId: string | null;
129
+ startDate: string | null;
130
+ endDate: string | null;
131
+ pax: number | null;
132
+ productTypeId: string | null;
133
+ taxClassId: string | null;
134
+ tags: string[];
135
+ createdAt: string;
136
+ updatedAt: string;
137
+ defaultLanguageTag?: string | null | undefined;
138
+ contractTemplateId?: string | null | undefined;
139
+ customerPaymentPolicy?: {
140
+ deposit: {
141
+ kind: "none" | "percent" | "fixed_cents";
142
+ percent?: number | undefined;
143
+ amountCents?: number | undefined;
144
+ };
145
+ minDaysBeforeDepartureForDeposit: number;
146
+ balanceDueDaysBeforeDeparture: number;
147
+ balanceDueMinDaysFromNow: number;
148
+ } | null | undefined;
149
+ }[];
150
+ total: number;
151
+ limit: number;
152
+ offset: number;
153
+ }, readonly ["voyant", "products", "products", "list", import("./query-keys.js").ProductsListFilters], never> | undefined;
154
+ } & {
155
+ queryKey: readonly ["voyant", "products", "products", "list", import("./query-keys.js").ProductsListFilters] & {
156
+ [dataTagSymbol]: {
157
+ data: {
158
+ id: string;
159
+ name: string;
160
+ status: "draft" | "active" | "archived";
161
+ description: string | null;
162
+ inclusionsHtml: string | null;
163
+ exclusionsHtml: string | null;
164
+ termsHtml: string | null;
165
+ termsShowOnContract: boolean;
166
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
167
+ capacityMode: "free_sale" | "limited" | "on_request";
168
+ timezone: string | null;
169
+ visibility: "public" | "private" | "hidden";
170
+ activated: boolean;
171
+ reservationTimeoutMinutes: number | null;
172
+ sellCurrency: string;
173
+ sellAmountCents: number | null;
174
+ costAmountCents: number | null;
175
+ marginPercent: number | null;
176
+ facilityId: string | null;
177
+ startDate: string | null;
178
+ endDate: string | null;
179
+ pax: number | null;
180
+ productTypeId: string | null;
181
+ taxClassId: string | null;
182
+ tags: string[];
183
+ createdAt: string;
184
+ updatedAt: string;
185
+ defaultLanguageTag?: string | null | undefined;
186
+ contractTemplateId?: string | null | undefined;
187
+ customerPaymentPolicy?: {
188
+ deposit: {
189
+ kind: "none" | "percent" | "fixed_cents";
190
+ percent?: number | undefined;
191
+ amountCents?: number | undefined;
192
+ };
193
+ minDaysBeforeDepartureForDeposit: number;
194
+ balanceDueDaysBeforeDeparture: number;
195
+ balanceDueMinDaysFromNow: number;
196
+ } | null | undefined;
197
+ }[];
198
+ total: number;
199
+ limit: number;
200
+ offset: number;
201
+ };
202
+ [dataTagErrorSymbol]: Error;
203
+ };
204
+ };
205
+ export declare function getProductQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined, options?: UseProductOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
206
+ id: string;
207
+ name: string;
208
+ status: "draft" | "active" | "archived";
209
+ description: string | null;
210
+ inclusionsHtml: string | null;
211
+ exclusionsHtml: string | null;
212
+ termsHtml: string | null;
213
+ termsShowOnContract: boolean;
214
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
215
+ capacityMode: "free_sale" | "limited" | "on_request";
216
+ timezone: string | null;
217
+ visibility: "public" | "private" | "hidden";
218
+ activated: boolean;
219
+ reservationTimeoutMinutes: number | null;
220
+ sellCurrency: string;
221
+ sellAmountCents: number | null;
222
+ costAmountCents: number | null;
223
+ marginPercent: number | null;
224
+ facilityId: string | null;
225
+ startDate: string | null;
226
+ endDate: string | null;
227
+ pax: number | null;
228
+ productTypeId: string | null;
229
+ taxClassId: string | null;
230
+ tags: string[];
231
+ createdAt: string;
232
+ updatedAt: string;
233
+ defaultLanguageTag?: string | null | undefined;
234
+ contractTemplateId?: string | null | undefined;
235
+ customerPaymentPolicy?: {
236
+ deposit: {
237
+ kind: "none" | "percent" | "fixed_cents";
238
+ percent?: number | undefined;
239
+ amountCents?: number | undefined;
240
+ };
241
+ minDaysBeforeDepartureForDeposit: number;
242
+ balanceDueDaysBeforeDeparture: number;
243
+ balanceDueMinDaysFromNow: number;
244
+ } | null | undefined;
245
+ }, Error, {
246
+ id: string;
247
+ name: string;
248
+ status: "draft" | "active" | "archived";
249
+ description: string | null;
250
+ inclusionsHtml: string | null;
251
+ exclusionsHtml: string | null;
252
+ termsHtml: string | null;
253
+ termsShowOnContract: boolean;
254
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
255
+ capacityMode: "free_sale" | "limited" | "on_request";
256
+ timezone: string | null;
257
+ visibility: "public" | "private" | "hidden";
258
+ activated: boolean;
259
+ reservationTimeoutMinutes: number | null;
260
+ sellCurrency: string;
261
+ sellAmountCents: number | null;
262
+ costAmountCents: number | null;
263
+ marginPercent: number | null;
264
+ facilityId: string | null;
265
+ startDate: string | null;
266
+ endDate: string | null;
267
+ pax: number | null;
268
+ productTypeId: string | null;
269
+ taxClassId: string | null;
270
+ tags: string[];
271
+ createdAt: string;
272
+ updatedAt: string;
273
+ defaultLanguageTag?: string | null | undefined;
274
+ contractTemplateId?: string | null | undefined;
275
+ customerPaymentPolicy?: {
276
+ deposit: {
277
+ kind: "none" | "percent" | "fixed_cents";
278
+ percent?: number | undefined;
279
+ amountCents?: number | undefined;
280
+ };
281
+ minDaysBeforeDepartureForDeposit: number;
282
+ balanceDueDaysBeforeDeparture: number;
283
+ balanceDueMinDaysFromNow: number;
284
+ } | null | undefined;
285
+ }, readonly ["voyant", "products", "products", "detail", string]>, "queryFn"> & {
286
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
287
+ id: string;
288
+ name: string;
289
+ status: "draft" | "active" | "archived";
290
+ description: string | null;
291
+ inclusionsHtml: string | null;
292
+ exclusionsHtml: string | null;
293
+ termsHtml: string | null;
294
+ termsShowOnContract: boolean;
295
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
296
+ capacityMode: "free_sale" | "limited" | "on_request";
297
+ timezone: string | null;
298
+ visibility: "public" | "private" | "hidden";
299
+ activated: boolean;
300
+ reservationTimeoutMinutes: number | null;
301
+ sellCurrency: string;
302
+ sellAmountCents: number | null;
303
+ costAmountCents: number | null;
304
+ marginPercent: number | null;
305
+ facilityId: string | null;
306
+ startDate: string | null;
307
+ endDate: string | null;
308
+ pax: number | null;
309
+ productTypeId: string | null;
310
+ taxClassId: string | null;
311
+ tags: string[];
312
+ createdAt: string;
313
+ updatedAt: string;
314
+ defaultLanguageTag?: string | null | undefined;
315
+ contractTemplateId?: string | null | undefined;
316
+ customerPaymentPolicy?: {
317
+ deposit: {
318
+ kind: "none" | "percent" | "fixed_cents";
319
+ percent?: number | undefined;
320
+ amountCents?: number | undefined;
321
+ };
322
+ minDaysBeforeDepartureForDeposit: number;
323
+ balanceDueDaysBeforeDeparture: number;
324
+ balanceDueMinDaysFromNow: number;
325
+ } | null | undefined;
326
+ }, readonly ["voyant", "products", "products", "detail", string], never> | undefined;
327
+ } & {
328
+ queryKey: readonly ["voyant", "products", "products", "detail", string] & {
329
+ [dataTagSymbol]: {
330
+ id: string;
331
+ name: string;
332
+ status: "draft" | "active" | "archived";
333
+ description: string | null;
334
+ inclusionsHtml: string | null;
335
+ exclusionsHtml: string | null;
336
+ termsHtml: string | null;
337
+ termsShowOnContract: boolean;
338
+ bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
339
+ capacityMode: "free_sale" | "limited" | "on_request";
340
+ timezone: string | null;
341
+ visibility: "public" | "private" | "hidden";
342
+ activated: boolean;
343
+ reservationTimeoutMinutes: number | null;
344
+ sellCurrency: string;
345
+ sellAmountCents: number | null;
346
+ costAmountCents: number | null;
347
+ marginPercent: number | null;
348
+ facilityId: string | null;
349
+ startDate: string | null;
350
+ endDate: string | null;
351
+ pax: number | null;
352
+ productTypeId: string | null;
353
+ taxClassId: string | null;
354
+ tags: string[];
355
+ createdAt: string;
356
+ updatedAt: string;
357
+ defaultLanguageTag?: string | null | undefined;
358
+ contractTemplateId?: string | null | undefined;
359
+ customerPaymentPolicy?: {
360
+ deposit: {
361
+ kind: "none" | "percent" | "fixed_cents";
362
+ percent?: number | undefined;
363
+ amountCents?: number | undefined;
364
+ };
365
+ minDaysBeforeDepartureForDeposit: number;
366
+ balanceDueDaysBeforeDeparture: number;
367
+ balanceDueMinDaysFromNow: number;
368
+ } | null | undefined;
369
+ };
370
+ [dataTagErrorSymbol]: Error;
371
+ };
372
+ };
373
+ export declare function getProductTypesQueryOptions(client: FetchWithValidationOptions, options?: UseProductTypesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
374
+ data: {
375
+ id: string;
376
+ name: string;
377
+ code: string;
378
+ description: string | null;
379
+ sortOrder: number;
380
+ active: boolean;
381
+ createdAt: string;
382
+ updatedAt: string;
383
+ metadata?: Record<string, unknown> | null | undefined;
384
+ }[];
385
+ total: number;
386
+ limit: number;
387
+ offset: number;
388
+ }, Error, {
389
+ data: {
390
+ id: string;
391
+ name: string;
392
+ code: string;
393
+ description: string | null;
394
+ sortOrder: number;
395
+ active: boolean;
396
+ createdAt: string;
397
+ updatedAt: string;
398
+ metadata?: Record<string, unknown> | null | undefined;
399
+ }[];
400
+ total: number;
401
+ limit: number;
402
+ offset: number;
403
+ }, readonly ["voyant", "products", "product-types", "list", import("./query-keys.js").ProductTypesListFilters]>, "queryFn"> & {
404
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
405
+ data: {
406
+ id: string;
407
+ name: string;
408
+ code: string;
409
+ description: string | null;
410
+ sortOrder: number;
411
+ active: boolean;
412
+ createdAt: string;
413
+ updatedAt: string;
414
+ metadata?: Record<string, unknown> | null | undefined;
415
+ }[];
416
+ total: number;
417
+ limit: number;
418
+ offset: number;
419
+ }, readonly ["voyant", "products", "product-types", "list", import("./query-keys.js").ProductTypesListFilters], never> | undefined;
420
+ } & {
421
+ queryKey: readonly ["voyant", "products", "product-types", "list", import("./query-keys.js").ProductTypesListFilters] & {
422
+ [dataTagSymbol]: {
423
+ data: {
424
+ id: string;
425
+ name: string;
426
+ code: string;
427
+ description: string | null;
428
+ sortOrder: number;
429
+ active: boolean;
430
+ createdAt: string;
431
+ updatedAt: string;
432
+ metadata?: Record<string, unknown> | null | undefined;
433
+ }[];
434
+ total: number;
435
+ limit: number;
436
+ offset: number;
437
+ };
438
+ [dataTagErrorSymbol]: Error;
439
+ };
440
+ };
441
+ export declare function getProductTypeQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
442
+ id: string;
443
+ name: string;
444
+ code: string;
445
+ description: string | null;
446
+ sortOrder: number;
447
+ active: boolean;
448
+ createdAt: string;
449
+ updatedAt: string;
450
+ metadata?: Record<string, unknown> | null | undefined;
451
+ }, Error, {
452
+ id: string;
453
+ name: string;
454
+ code: string;
455
+ description: string | null;
456
+ sortOrder: number;
457
+ active: boolean;
458
+ createdAt: string;
459
+ updatedAt: string;
460
+ metadata?: Record<string, unknown> | null | undefined;
461
+ }, readonly ["voyant", "products", "product-types", "detail", string]>, "queryFn"> & {
462
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
463
+ id: string;
464
+ name: string;
465
+ code: string;
466
+ description: string | null;
467
+ sortOrder: number;
468
+ active: boolean;
469
+ createdAt: string;
470
+ updatedAt: string;
471
+ metadata?: Record<string, unknown> | null | undefined;
472
+ }, readonly ["voyant", "products", "product-types", "detail", string], never> | undefined;
473
+ } & {
474
+ queryKey: readonly ["voyant", "products", "product-types", "detail", string] & {
475
+ [dataTagSymbol]: {
476
+ id: string;
477
+ name: string;
478
+ code: string;
479
+ description: string | null;
480
+ sortOrder: number;
481
+ active: boolean;
482
+ createdAt: string;
483
+ updatedAt: string;
484
+ metadata?: Record<string, unknown> | null | undefined;
485
+ };
486
+ [dataTagErrorSymbol]: Error;
487
+ };
488
+ };
489
+ export declare function getProductTagsQueryOptions(client: FetchWithValidationOptions, options?: UseProductTagsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
490
+ data: {
491
+ id: string;
492
+ name: string;
493
+ createdAt: string;
494
+ updatedAt: string;
495
+ }[];
496
+ total: number;
497
+ limit: number;
498
+ offset: number;
499
+ }, Error, {
500
+ data: {
501
+ id: string;
502
+ name: string;
503
+ createdAt: string;
504
+ updatedAt: string;
505
+ }[];
506
+ total: number;
507
+ limit: number;
508
+ offset: number;
509
+ }, readonly ["voyant", "products", "product-tags", "list", import("./query-keys.js").ProductTagsListFilters]>, "queryFn"> & {
510
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
511
+ data: {
512
+ id: string;
513
+ name: string;
514
+ createdAt: string;
515
+ updatedAt: string;
516
+ }[];
517
+ total: number;
518
+ limit: number;
519
+ offset: number;
520
+ }, readonly ["voyant", "products", "product-tags", "list", import("./query-keys.js").ProductTagsListFilters], never> | undefined;
521
+ } & {
522
+ queryKey: readonly ["voyant", "products", "product-tags", "list", import("./query-keys.js").ProductTagsListFilters] & {
523
+ [dataTagSymbol]: {
524
+ data: {
525
+ id: string;
526
+ name: string;
527
+ createdAt: string;
528
+ updatedAt: string;
529
+ }[];
530
+ total: number;
531
+ limit: number;
532
+ offset: number;
533
+ };
534
+ [dataTagErrorSymbol]: Error;
535
+ };
536
+ };
537
+ export declare function getProductCategoriesQueryOptions(client: FetchWithValidationOptions, options?: UseProductCategoriesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
538
+ data: {
539
+ id: string;
540
+ parentId: string | null;
541
+ name: string;
542
+ slug: string;
543
+ description: string | null;
544
+ sortOrder: number;
545
+ active: boolean;
546
+ createdAt: string;
547
+ updatedAt: string;
548
+ customerPaymentPolicy?: {
549
+ deposit: {
550
+ kind: "none" | "percent" | "fixed_cents";
551
+ percent?: number | undefined;
552
+ amountCents?: number | undefined;
553
+ };
554
+ minDaysBeforeDepartureForDeposit: number;
555
+ balanceDueDaysBeforeDeparture: number;
556
+ balanceDueMinDaysFromNow: number;
557
+ } | null | undefined;
558
+ metadata?: Record<string, unknown> | null | undefined;
559
+ }[];
560
+ total: number;
561
+ limit: number;
562
+ offset: number;
563
+ }, Error, {
564
+ data: {
565
+ id: string;
566
+ parentId: string | null;
567
+ name: string;
568
+ slug: string;
569
+ description: string | null;
570
+ sortOrder: number;
571
+ active: boolean;
572
+ createdAt: string;
573
+ updatedAt: string;
574
+ customerPaymentPolicy?: {
575
+ deposit: {
576
+ kind: "none" | "percent" | "fixed_cents";
577
+ percent?: number | undefined;
578
+ amountCents?: number | undefined;
579
+ };
580
+ minDaysBeforeDepartureForDeposit: number;
581
+ balanceDueDaysBeforeDeparture: number;
582
+ balanceDueMinDaysFromNow: number;
583
+ } | null | undefined;
584
+ metadata?: Record<string, unknown> | null | undefined;
585
+ }[];
586
+ total: number;
587
+ limit: number;
588
+ offset: number;
589
+ }, readonly ["voyant", "products", "product-categories", "list", import("./query-keys.js").ProductCategoriesListFilters]>, "queryFn"> & {
590
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
591
+ data: {
592
+ id: string;
593
+ parentId: string | null;
594
+ name: string;
595
+ slug: string;
596
+ description: string | null;
597
+ sortOrder: number;
598
+ active: boolean;
599
+ createdAt: string;
600
+ updatedAt: string;
601
+ customerPaymentPolicy?: {
602
+ deposit: {
603
+ kind: "none" | "percent" | "fixed_cents";
604
+ percent?: number | undefined;
605
+ amountCents?: number | undefined;
606
+ };
607
+ minDaysBeforeDepartureForDeposit: number;
608
+ balanceDueDaysBeforeDeparture: number;
609
+ balanceDueMinDaysFromNow: number;
610
+ } | null | undefined;
611
+ metadata?: Record<string, unknown> | null | undefined;
612
+ }[];
613
+ total: number;
614
+ limit: number;
615
+ offset: number;
616
+ }, readonly ["voyant", "products", "product-categories", "list", import("./query-keys.js").ProductCategoriesListFilters], never> | undefined;
617
+ } & {
618
+ queryKey: readonly ["voyant", "products", "product-categories", "list", import("./query-keys.js").ProductCategoriesListFilters] & {
619
+ [dataTagSymbol]: {
620
+ data: {
621
+ id: string;
622
+ parentId: string | null;
623
+ name: string;
624
+ slug: string;
625
+ description: string | null;
626
+ sortOrder: number;
627
+ active: boolean;
628
+ createdAt: string;
629
+ updatedAt: string;
630
+ customerPaymentPolicy?: {
631
+ deposit: {
632
+ kind: "none" | "percent" | "fixed_cents";
633
+ percent?: number | undefined;
634
+ amountCents?: number | undefined;
635
+ };
636
+ minDaysBeforeDepartureForDeposit: number;
637
+ balanceDueDaysBeforeDeparture: number;
638
+ balanceDueMinDaysFromNow: number;
639
+ } | null | undefined;
640
+ metadata?: Record<string, unknown> | null | undefined;
641
+ }[];
642
+ total: number;
643
+ limit: number;
644
+ offset: number;
645
+ };
646
+ [dataTagErrorSymbol]: Error;
647
+ };
648
+ };
649
+ export declare function getProductOptionsQueryOptions(client: FetchWithValidationOptions, options?: UseProductOptionsListOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
650
+ data: {
651
+ id: string;
652
+ productId: string;
653
+ name: string;
654
+ code: string | null;
655
+ description: string | null;
656
+ status: "draft" | "active" | "archived";
657
+ isDefault: boolean;
658
+ sortOrder: number;
659
+ availableFrom: string | null;
660
+ availableTo: string | null;
661
+ createdAt: string;
662
+ updatedAt: string;
663
+ }[];
664
+ total: number;
665
+ limit: number;
666
+ offset: number;
667
+ }, Error, {
668
+ data: {
669
+ id: string;
670
+ productId: string;
671
+ name: string;
672
+ code: string | null;
673
+ description: string | null;
674
+ status: "draft" | "active" | "archived";
675
+ isDefault: boolean;
676
+ sortOrder: number;
677
+ availableFrom: string | null;
678
+ availableTo: string | null;
679
+ createdAt: string;
680
+ updatedAt: string;
681
+ }[];
682
+ total: number;
683
+ limit: number;
684
+ offset: number;
685
+ }, readonly ["voyant", "products", "product-options", "list", import("./query-keys.js").ProductOptionsListFilters]>, "queryFn"> & {
686
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
687
+ data: {
688
+ id: string;
689
+ productId: string;
690
+ name: string;
691
+ code: string | null;
692
+ description: string | null;
693
+ status: "draft" | "active" | "archived";
694
+ isDefault: boolean;
695
+ sortOrder: number;
696
+ availableFrom: string | null;
697
+ availableTo: string | null;
698
+ createdAt: string;
699
+ updatedAt: string;
700
+ }[];
701
+ total: number;
702
+ limit: number;
703
+ offset: number;
704
+ }, readonly ["voyant", "products", "product-options", "list", import("./query-keys.js").ProductOptionsListFilters], never> | undefined;
705
+ } & {
706
+ queryKey: readonly ["voyant", "products", "product-options", "list", import("./query-keys.js").ProductOptionsListFilters] & {
707
+ [dataTagSymbol]: {
708
+ data: {
709
+ id: string;
710
+ productId: string;
711
+ name: string;
712
+ code: string | null;
713
+ description: string | null;
714
+ status: "draft" | "active" | "archived";
715
+ isDefault: boolean;
716
+ sortOrder: number;
717
+ availableFrom: string | null;
718
+ availableTo: string | null;
719
+ createdAt: string;
720
+ updatedAt: string;
721
+ }[];
722
+ total: number;
723
+ limit: number;
724
+ offset: number;
725
+ };
726
+ [dataTagErrorSymbol]: Error;
727
+ };
728
+ };
729
+ export declare function getProductOptionQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined, options?: UseProductOptionOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
730
+ id: string;
731
+ productId: string;
732
+ name: string;
733
+ code: string | null;
734
+ description: string | null;
735
+ status: "draft" | "active" | "archived";
736
+ isDefault: boolean;
737
+ sortOrder: number;
738
+ availableFrom: string | null;
739
+ availableTo: string | null;
740
+ createdAt: string;
741
+ updatedAt: string;
742
+ }, Error, {
743
+ id: string;
744
+ productId: string;
745
+ name: string;
746
+ code: string | null;
747
+ description: string | null;
748
+ status: "draft" | "active" | "archived";
749
+ isDefault: boolean;
750
+ sortOrder: number;
751
+ availableFrom: string | null;
752
+ availableTo: string | null;
753
+ createdAt: string;
754
+ updatedAt: string;
755
+ }, readonly ["voyant", "products", "product-options", "detail", string]>, "queryFn"> & {
756
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
757
+ id: string;
758
+ productId: string;
759
+ name: string;
760
+ code: string | null;
761
+ description: string | null;
762
+ status: "draft" | "active" | "archived";
763
+ isDefault: boolean;
764
+ sortOrder: number;
765
+ availableFrom: string | null;
766
+ availableTo: string | null;
767
+ createdAt: string;
768
+ updatedAt: string;
769
+ }, readonly ["voyant", "products", "product-options", "detail", string], never> | undefined;
770
+ } & {
771
+ queryKey: readonly ["voyant", "products", "product-options", "detail", string] & {
772
+ [dataTagSymbol]: {
773
+ id: string;
774
+ productId: string;
775
+ name: string;
776
+ code: string | null;
777
+ description: string | null;
778
+ status: "draft" | "active" | "archived";
779
+ isDefault: boolean;
780
+ sortOrder: number;
781
+ availableFrom: string | null;
782
+ availableTo: string | null;
783
+ createdAt: string;
784
+ updatedAt: string;
785
+ };
786
+ [dataTagErrorSymbol]: Error;
787
+ };
788
+ };
789
+ export declare function getOptionUnitsQueryOptions(client: FetchWithValidationOptions, options?: UseOptionUnitsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
790
+ data: {
791
+ id: string;
792
+ optionId: string;
793
+ name: string;
794
+ code: string | null;
795
+ description: string | null;
796
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
797
+ minQuantity: number | null;
798
+ maxQuantity: number | null;
799
+ minAge: number | null;
800
+ maxAge: number | null;
801
+ occupancyMin: number | null;
802
+ occupancyMax: number | null;
803
+ isRequired: boolean;
804
+ isHidden: boolean;
805
+ sortOrder: number;
806
+ }[];
807
+ total: number;
808
+ limit: number;
809
+ offset: number;
810
+ }, Error, {
811
+ data: {
812
+ id: string;
813
+ optionId: string;
814
+ name: string;
815
+ code: string | null;
816
+ description: string | null;
817
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
818
+ minQuantity: number | null;
819
+ maxQuantity: number | null;
820
+ minAge: number | null;
821
+ maxAge: number | null;
822
+ occupancyMin: number | null;
823
+ occupancyMax: number | null;
824
+ isRequired: boolean;
825
+ isHidden: boolean;
826
+ sortOrder: number;
827
+ }[];
828
+ total: number;
829
+ limit: number;
830
+ offset: number;
831
+ }, readonly ["voyant", "products", "option-units", "list", import("./query-keys.js").OptionUnitsListFilters]>, "queryFn"> & {
832
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
833
+ data: {
834
+ id: string;
835
+ optionId: string;
836
+ name: string;
837
+ code: string | null;
838
+ description: string | null;
839
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
840
+ minQuantity: number | null;
841
+ maxQuantity: number | null;
842
+ minAge: number | null;
843
+ maxAge: number | null;
844
+ occupancyMin: number | null;
845
+ occupancyMax: number | null;
846
+ isRequired: boolean;
847
+ isHidden: boolean;
848
+ sortOrder: number;
849
+ }[];
850
+ total: number;
851
+ limit: number;
852
+ offset: number;
853
+ }, readonly ["voyant", "products", "option-units", "list", import("./query-keys.js").OptionUnitsListFilters], never> | undefined;
854
+ } & {
855
+ queryKey: readonly ["voyant", "products", "option-units", "list", import("./query-keys.js").OptionUnitsListFilters] & {
856
+ [dataTagSymbol]: {
857
+ data: {
858
+ id: string;
859
+ optionId: string;
860
+ name: string;
861
+ code: string | null;
862
+ description: string | null;
863
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
864
+ minQuantity: number | null;
865
+ maxQuantity: number | null;
866
+ minAge: number | null;
867
+ maxAge: number | null;
868
+ occupancyMin: number | null;
869
+ occupancyMax: number | null;
870
+ isRequired: boolean;
871
+ isHidden: boolean;
872
+ sortOrder: number;
873
+ }[];
874
+ total: number;
875
+ limit: number;
876
+ offset: number;
877
+ };
878
+ [dataTagErrorSymbol]: Error;
879
+ };
880
+ };
881
+ export declare function getOptionUnitQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined, options?: UseOptionUnitOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
882
+ id: string;
883
+ optionId: string;
884
+ name: string;
885
+ code: string | null;
886
+ description: string | null;
887
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
888
+ minQuantity: number | null;
889
+ maxQuantity: number | null;
890
+ minAge: number | null;
891
+ maxAge: number | null;
892
+ occupancyMin: number | null;
893
+ occupancyMax: number | null;
894
+ isRequired: boolean;
895
+ isHidden: boolean;
896
+ sortOrder: number;
897
+ }, Error, {
898
+ id: string;
899
+ optionId: string;
900
+ name: string;
901
+ code: string | null;
902
+ description: string | null;
903
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
904
+ minQuantity: number | null;
905
+ maxQuantity: number | null;
906
+ minAge: number | null;
907
+ maxAge: number | null;
908
+ occupancyMin: number | null;
909
+ occupancyMax: number | null;
910
+ isRequired: boolean;
911
+ isHidden: boolean;
912
+ sortOrder: number;
913
+ }, readonly ["voyant", "products", "option-units", "detail", string]>, "queryFn"> & {
914
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
915
+ id: string;
916
+ optionId: string;
917
+ name: string;
918
+ code: string | null;
919
+ description: string | null;
920
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
921
+ minQuantity: number | null;
922
+ maxQuantity: number | null;
923
+ minAge: number | null;
924
+ maxAge: number | null;
925
+ occupancyMin: number | null;
926
+ occupancyMax: number | null;
927
+ isRequired: boolean;
928
+ isHidden: boolean;
929
+ sortOrder: number;
930
+ }, readonly ["voyant", "products", "option-units", "detail", string], never> | undefined;
931
+ } & {
932
+ queryKey: readonly ["voyant", "products", "option-units", "detail", string] & {
933
+ [dataTagSymbol]: {
934
+ id: string;
935
+ optionId: string;
936
+ name: string;
937
+ code: string | null;
938
+ description: string | null;
939
+ unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
940
+ minQuantity: number | null;
941
+ maxQuantity: number | null;
942
+ minAge: number | null;
943
+ maxAge: number | null;
944
+ occupancyMin: number | null;
945
+ occupancyMax: number | null;
946
+ isRequired: boolean;
947
+ isHidden: boolean;
948
+ sortOrder: number;
949
+ };
950
+ [dataTagErrorSymbol]: Error;
951
+ };
952
+ };
953
+ export declare function getProductDaysQueryOptions(client: FetchWithValidationOptions, productId: string | null | undefined, options?: UseProductDaysOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
954
+ data: {
955
+ id: string;
956
+ itineraryId: string;
957
+ dayNumber: number;
958
+ title: string | null;
959
+ description: string | null;
960
+ location: string | null;
961
+ createdAt: string;
962
+ updatedAt: string;
963
+ }[];
964
+ }, Error, {
965
+ data: {
966
+ id: string;
967
+ itineraryId: string;
968
+ dayNumber: number;
969
+ title: string | null;
970
+ description: string | null;
971
+ location: string | null;
972
+ createdAt: string;
973
+ updatedAt: string;
974
+ }[];
975
+ }, readonly ["voyant", "products", "products", "detail", string, "days"]>, "queryFn"> & {
976
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
977
+ data: {
978
+ id: string;
979
+ itineraryId: string;
980
+ dayNumber: number;
981
+ title: string | null;
982
+ description: string | null;
983
+ location: string | null;
984
+ createdAt: string;
985
+ updatedAt: string;
986
+ }[];
987
+ }, readonly ["voyant", "products", "products", "detail", string, "days"], never> | undefined;
988
+ } & {
989
+ queryKey: readonly ["voyant", "products", "products", "detail", string, "days"] & {
990
+ [dataTagSymbol]: {
991
+ data: {
992
+ id: string;
993
+ itineraryId: string;
994
+ dayNumber: number;
995
+ title: string | null;
996
+ description: string | null;
997
+ location: string | null;
998
+ createdAt: string;
999
+ updatedAt: string;
1000
+ }[];
1001
+ };
1002
+ [dataTagErrorSymbol]: Error;
1003
+ };
1004
+ };
1005
+ export declare function getProductItinerariesQueryOptions(client: FetchWithValidationOptions, productId: string | null | undefined, options?: UseProductItinerariesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1006
+ data: {
1007
+ id: string;
1008
+ productId: string;
1009
+ name: string;
1010
+ isDefault: boolean;
1011
+ sortOrder: number;
1012
+ createdAt: string;
1013
+ updatedAt: string;
1014
+ }[];
1015
+ }, Error, {
1016
+ data: {
1017
+ id: string;
1018
+ productId: string;
1019
+ name: string;
1020
+ isDefault: boolean;
1021
+ sortOrder: number;
1022
+ createdAt: string;
1023
+ updatedAt: string;
1024
+ }[];
1025
+ }, readonly ["voyant", "products", "products", "detail", string, "itineraries"]>, "queryFn"> & {
1026
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1027
+ data: {
1028
+ id: string;
1029
+ productId: string;
1030
+ name: string;
1031
+ isDefault: boolean;
1032
+ sortOrder: number;
1033
+ createdAt: string;
1034
+ updatedAt: string;
1035
+ }[];
1036
+ }, readonly ["voyant", "products", "products", "detail", string, "itineraries"], never> | undefined;
1037
+ } & {
1038
+ queryKey: readonly ["voyant", "products", "products", "detail", string, "itineraries"] & {
1039
+ [dataTagSymbol]: {
1040
+ data: {
1041
+ id: string;
1042
+ productId: string;
1043
+ name: string;
1044
+ isDefault: boolean;
1045
+ sortOrder: number;
1046
+ createdAt: string;
1047
+ updatedAt: string;
1048
+ }[];
1049
+ };
1050
+ [dataTagErrorSymbol]: Error;
1051
+ };
1052
+ };
1053
+ export declare function getProductItineraryDaysQueryOptions(client: FetchWithValidationOptions, productId: string | null | undefined, itineraryId: string | null | undefined, options?: UseProductItineraryDaysOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1054
+ data: {
1055
+ id: string;
1056
+ itineraryId: string;
1057
+ dayNumber: number;
1058
+ title: string | null;
1059
+ description: string | null;
1060
+ location: string | null;
1061
+ createdAt: string;
1062
+ updatedAt: string;
1063
+ }[];
1064
+ }, Error, {
1065
+ data: {
1066
+ id: string;
1067
+ itineraryId: string;
1068
+ dayNumber: number;
1069
+ title: string | null;
1070
+ description: string | null;
1071
+ location: string | null;
1072
+ createdAt: string;
1073
+ updatedAt: string;
1074
+ }[];
1075
+ }, readonly ["voyant", "products", "products", "detail", string, "itineraries", string, "days"]>, "queryFn"> & {
1076
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1077
+ data: {
1078
+ id: string;
1079
+ itineraryId: string;
1080
+ dayNumber: number;
1081
+ title: string | null;
1082
+ description: string | null;
1083
+ location: string | null;
1084
+ createdAt: string;
1085
+ updatedAt: string;
1086
+ }[];
1087
+ }, readonly ["voyant", "products", "products", "detail", string, "itineraries", string, "days"], never> | undefined;
1088
+ } & {
1089
+ queryKey: readonly ["voyant", "products", "products", "detail", string, "itineraries", string, "days"] & {
1090
+ [dataTagSymbol]: {
1091
+ data: {
1092
+ id: string;
1093
+ itineraryId: string;
1094
+ dayNumber: number;
1095
+ title: string | null;
1096
+ description: string | null;
1097
+ location: string | null;
1098
+ createdAt: string;
1099
+ updatedAt: string;
1100
+ }[];
1101
+ };
1102
+ [dataTagErrorSymbol]: Error;
1103
+ };
1104
+ };
1105
+ export declare function getProductDayServicesQueryOptions(client: FetchWithValidationOptions, productId: string | null | undefined, dayId: string | null | undefined, options?: UseProductDayServicesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1106
+ data: {
1107
+ id: string;
1108
+ dayId: string;
1109
+ supplierServiceId: string | null;
1110
+ serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1111
+ name: string;
1112
+ description: string | null;
1113
+ countryCode: string | null;
1114
+ costCurrency: string;
1115
+ costAmountCents: number;
1116
+ quantity: number;
1117
+ sortOrder: number | null;
1118
+ notes: string | null;
1119
+ createdAt: string;
1120
+ }[];
1121
+ }, Error, {
1122
+ data: {
1123
+ id: string;
1124
+ dayId: string;
1125
+ supplierServiceId: string | null;
1126
+ serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1127
+ name: string;
1128
+ description: string | null;
1129
+ countryCode: string | null;
1130
+ costCurrency: string;
1131
+ costAmountCents: number;
1132
+ quantity: number;
1133
+ sortOrder: number | null;
1134
+ notes: string | null;
1135
+ createdAt: string;
1136
+ }[];
1137
+ }, readonly ["voyant", "products", "products", "detail", string, "days", string, "services"]>, "queryFn"> & {
1138
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1139
+ data: {
1140
+ id: string;
1141
+ dayId: string;
1142
+ supplierServiceId: string | null;
1143
+ serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1144
+ name: string;
1145
+ description: string | null;
1146
+ countryCode: string | null;
1147
+ costCurrency: string;
1148
+ costAmountCents: number;
1149
+ quantity: number;
1150
+ sortOrder: number | null;
1151
+ notes: string | null;
1152
+ createdAt: string;
1153
+ }[];
1154
+ }, readonly ["voyant", "products", "products", "detail", string, "days", string, "services"], never> | undefined;
1155
+ } & {
1156
+ queryKey: readonly ["voyant", "products", "products", "detail", string, "days", string, "services"] & {
1157
+ [dataTagSymbol]: {
1158
+ data: {
1159
+ id: string;
1160
+ dayId: string;
1161
+ supplierServiceId: string | null;
1162
+ serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1163
+ name: string;
1164
+ description: string | null;
1165
+ countryCode: string | null;
1166
+ costCurrency: string;
1167
+ costAmountCents: number;
1168
+ quantity: number;
1169
+ sortOrder: number | null;
1170
+ notes: string | null;
1171
+ createdAt: string;
1172
+ }[];
1173
+ };
1174
+ [dataTagErrorSymbol]: Error;
1175
+ };
1176
+ };
1177
+ export declare function getProductVersionsQueryOptions(client: FetchWithValidationOptions, productId: string | null | undefined, options?: UseProductVersionsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1178
+ data: {
1179
+ id: string;
1180
+ productId: string;
1181
+ versionNumber: number;
1182
+ snapshot: unknown;
1183
+ authorId: string;
1184
+ notes: string | null;
1185
+ createdAt: string;
1186
+ }[];
1187
+ }, Error, {
1188
+ data: {
1189
+ id: string;
1190
+ productId: string;
1191
+ versionNumber: number;
1192
+ snapshot: unknown;
1193
+ authorId: string;
1194
+ notes: string | null;
1195
+ createdAt: string;
1196
+ }[];
1197
+ }, readonly ["voyant", "products", "products", "detail", string, "versions"]>, "queryFn"> & {
1198
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1199
+ data: {
1200
+ id: string;
1201
+ productId: string;
1202
+ versionNumber: number;
1203
+ snapshot: unknown;
1204
+ authorId: string;
1205
+ notes: string | null;
1206
+ createdAt: string;
1207
+ }[];
1208
+ }, readonly ["voyant", "products", "products", "detail", string, "versions"], never> | undefined;
1209
+ } & {
1210
+ queryKey: readonly ["voyant", "products", "products", "detail", string, "versions"] & {
1211
+ [dataTagSymbol]: {
1212
+ data: {
1213
+ id: string;
1214
+ productId: string;
1215
+ versionNumber: number;
1216
+ snapshot: unknown;
1217
+ authorId: string;
1218
+ notes: string | null;
1219
+ createdAt: string;
1220
+ }[];
1221
+ };
1222
+ [dataTagErrorSymbol]: Error;
1223
+ };
1224
+ };
1225
+ export declare function getProductMediaQueryOptions(client: FetchWithValidationOptions, productId: string | null | undefined, options?: UseProductMediaOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1226
+ data: {
1227
+ id: string;
1228
+ productId: string;
1229
+ dayId: string | null;
1230
+ mediaType: "image" | "video" | "document";
1231
+ name: string;
1232
+ url: string;
1233
+ storageKey: string | null;
1234
+ mimeType: string | null;
1235
+ fileSize: number | null;
1236
+ altText: string | null;
1237
+ sortOrder: number;
1238
+ isCover: boolean;
1239
+ createdAt: string;
1240
+ updatedAt: string;
1241
+ }[];
1242
+ total: number;
1243
+ limit: number;
1244
+ offset: number;
1245
+ }, Error, {
1246
+ data: {
1247
+ id: string;
1248
+ productId: string;
1249
+ dayId: string | null;
1250
+ mediaType: "image" | "video" | "document";
1251
+ name: string;
1252
+ url: string;
1253
+ storageKey: string | null;
1254
+ mimeType: string | null;
1255
+ fileSize: number | null;
1256
+ altText: string | null;
1257
+ sortOrder: number;
1258
+ isCover: boolean;
1259
+ createdAt: string;
1260
+ updatedAt: string;
1261
+ }[];
1262
+ total: number;
1263
+ limit: number;
1264
+ offset: number;
1265
+ }, readonly ["voyant", "products", "products", "detail", string, "media", "list", import("./query-keys.js").ProductMediaListFilters]>, "queryFn"> & {
1266
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1267
+ data: {
1268
+ id: string;
1269
+ productId: string;
1270
+ dayId: string | null;
1271
+ mediaType: "image" | "video" | "document";
1272
+ name: string;
1273
+ url: string;
1274
+ storageKey: string | null;
1275
+ mimeType: string | null;
1276
+ fileSize: number | null;
1277
+ altText: string | null;
1278
+ sortOrder: number;
1279
+ isCover: boolean;
1280
+ createdAt: string;
1281
+ updatedAt: string;
1282
+ }[];
1283
+ total: number;
1284
+ limit: number;
1285
+ offset: number;
1286
+ }, readonly ["voyant", "products", "products", "detail", string, "media", "list", import("./query-keys.js").ProductMediaListFilters], never> | undefined;
1287
+ } & {
1288
+ queryKey: readonly ["voyant", "products", "products", "detail", string, "media", "list", import("./query-keys.js").ProductMediaListFilters] & {
1289
+ [dataTagSymbol]: {
1290
+ data: {
1291
+ id: string;
1292
+ productId: string;
1293
+ dayId: string | null;
1294
+ mediaType: "image" | "video" | "document";
1295
+ name: string;
1296
+ url: string;
1297
+ storageKey: string | null;
1298
+ mimeType: string | null;
1299
+ fileSize: number | null;
1300
+ altText: string | null;
1301
+ sortOrder: number;
1302
+ isCover: boolean;
1303
+ createdAt: string;
1304
+ updatedAt: string;
1305
+ }[];
1306
+ total: number;
1307
+ limit: number;
1308
+ offset: number;
1309
+ };
1310
+ [dataTagErrorSymbol]: Error;
1311
+ };
1312
+ };
1313
+ //# sourceMappingURL=query-options.d.ts.map