@voyant-travel/inventory-react 0.19.0 → 0.19.1

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 (75) hide show
  1. package/dist/admin/pages/product-detail-page.d.ts +1 -1
  2. package/dist/admin/pages/product-detail-page.js +1 -1
  3. package/dist/components/product-detail/commerce-client.d.ts.map +1 -1
  4. package/dist/components/product-detail/commerce-client.js +21 -24
  5. package/dist/components/product-detail/product-departure-form.js +2 -2
  6. package/dist/components/product-detail/product-detail-form.d.ts.map +1 -1
  7. package/dist/components/product-detail/product-detail-form.js +3 -3
  8. package/dist/components/product-detail/product-detail-itinerary-section.d.ts.map +1 -1
  9. package/dist/components/product-detail/product-detail-itinerary-section.js +2 -2
  10. package/dist/components/product-detail/product-detail-shared.d.ts.map +1 -1
  11. package/dist/components/product-detail/product-detail-shared.js +8 -8
  12. package/dist/components/product-detail/product-detail-summary-section.js +2 -2
  13. package/dist/components/product-detail/product-media-gallery.js +1 -1
  14. package/dist/components/product-detail/product-options-shared.d.ts +4 -4
  15. package/dist/components/product-detail/product-schedule-form.js +2 -2
  16. package/dist/components/product-detail/product-service-form.d.ts.map +1 -1
  17. package/dist/components/product-detail/product-service-form.js +4 -4
  18. package/dist/components/product-detail/use-product-detail-data.d.ts.map +1 -1
  19. package/dist/components/product-detail/use-product-detail-data.js +9 -9
  20. package/dist/components/product-facility-combobox.d.ts.map +1 -1
  21. package/dist/components/product-facility-combobox.js +2 -2
  22. package/dist/components/product-tax-class-combobox.js +2 -2
  23. package/dist/extras/hooks/use-product-extra-mutation.d.ts +6 -6
  24. package/dist/extras/hooks/use-product-extra-mutation.js +3 -3
  25. package/dist/extras/hooks/use-product-extra.d.ts +2 -2
  26. package/dist/extras/hooks/use-product-extras.d.ts +2 -2
  27. package/dist/extras/query-options.d.ts +28 -28
  28. package/dist/extras/query-options.js +3 -3
  29. package/dist/extras/schemas.d.ts +13 -13
  30. package/dist/hooks/use-day-service-translation-mutation.js +3 -3
  31. package/dist/hooks/use-day-service-translations.js +1 -1
  32. package/dist/hooks/use-duplicate-product-option-mutation.d.ts.map +1 -1
  33. package/dist/hooks/use-duplicate-product-option-mutation.js +2 -2
  34. package/dist/hooks/use-option-unit-mutation.d.ts +2 -2
  35. package/dist/hooks/use-option-unit-mutation.js +3 -3
  36. package/dist/hooks/use-option-unit.d.ts +1 -1
  37. package/dist/hooks/use-option-units.d.ts +1 -1
  38. package/dist/hooks/use-product-action-ledger.d.ts +1 -1
  39. package/dist/hooks/use-product-categories.js +1 -1
  40. package/dist/hooks/use-product-category-mutation.js +3 -3
  41. package/dist/hooks/use-product-category.js +1 -1
  42. package/dist/hooks/use-product-day-mutation.js +4 -4
  43. package/dist/hooks/use-product-day-service-mutation.d.ts +3 -3
  44. package/dist/hooks/use-product-day-service-mutation.js +3 -3
  45. package/dist/hooks/use-product-day-services.d.ts +1 -1
  46. package/dist/hooks/use-product-day-translation-mutation.js +3 -3
  47. package/dist/hooks/use-product-day-translations.js +1 -1
  48. package/dist/hooks/use-product-itinerary-mutation.js +4 -4
  49. package/dist/hooks/use-product-itinerary-translation-mutation.js +3 -3
  50. package/dist/hooks/use-product-itinerary-translations.js +1 -1
  51. package/dist/hooks/use-product-media-mutation.js +6 -6
  52. package/dist/hooks/use-product-mutation.d.ts +2 -2
  53. package/dist/hooks/use-product-mutation.js +3 -3
  54. package/dist/hooks/use-product-option-mutation.js +3 -3
  55. package/dist/hooks/use-product-tag-mutation.js +3 -3
  56. package/dist/hooks/use-product-tag.js +1 -1
  57. package/dist/hooks/use-product-tags.js +1 -1
  58. package/dist/hooks/use-product-translation-mutation.js +3 -3
  59. package/dist/hooks/use-product-translations.js +1 -1
  60. package/dist/hooks/use-product-type-mutation.js +3 -3
  61. package/dist/hooks/use-product-version-mutation.js +1 -1
  62. package/dist/hooks/use-product.d.ts +1 -1
  63. package/dist/hooks/use-product.d.ts.map +1 -1
  64. package/dist/hooks/use-product.js +1 -1
  65. package/dist/hooks/use-products.d.ts +1 -1
  66. package/dist/hooks/use-products.js +1 -1
  67. package/dist/operations.d.ts +1 -1
  68. package/dist/operations.d.ts.map +1 -1
  69. package/dist/operations.js +1 -1
  70. package/dist/query-options-action-ledger.d.ts +4 -4
  71. package/dist/query-options.d.ts +20 -20
  72. package/dist/query-options.d.ts.map +1 -1
  73. package/dist/query-options.js +17 -17
  74. package/dist/schemas.d.ts +15 -15
  75. package/package.json +12 -12
@@ -24,7 +24,7 @@ export declare function getProductsQueryOptions(client: FetchWithValidationOptio
24
24
  exclusionsHtml: string | null;
25
25
  termsHtml: string | null;
26
26
  termsShowOnContract: boolean;
27
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
27
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
28
28
  capacityMode: "free_sale" | "limited" | "on_request";
29
29
  timezone: string | null;
30
30
  visibility: "public" | "private" | "hidden";
@@ -69,7 +69,7 @@ export declare function getProductsQueryOptions(client: FetchWithValidationOptio
69
69
  exclusionsHtml: string | null;
70
70
  termsHtml: string | null;
71
71
  termsShowOnContract: boolean;
72
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
72
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
73
73
  capacityMode: "free_sale" | "limited" | "on_request";
74
74
  timezone: string | null;
75
75
  visibility: "public" | "private" | "hidden";
@@ -115,7 +115,7 @@ export declare function getProductsQueryOptions(client: FetchWithValidationOptio
115
115
  exclusionsHtml: string | null;
116
116
  termsHtml: string | null;
117
117
  termsShowOnContract: boolean;
118
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
118
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
119
119
  capacityMode: "free_sale" | "limited" | "on_request";
120
120
  timezone: string | null;
121
121
  visibility: "public" | "private" | "hidden";
@@ -163,7 +163,7 @@ export declare function getProductsQueryOptions(client: FetchWithValidationOptio
163
163
  exclusionsHtml: string | null;
164
164
  termsHtml: string | null;
165
165
  termsShowOnContract: boolean;
166
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
166
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
167
167
  capacityMode: "free_sale" | "limited" | "on_request";
168
168
  timezone: string | null;
169
169
  visibility: "public" | "private" | "hidden";
@@ -211,7 +211,7 @@ export declare function getProductQueryOptions(client: FetchWithValidationOption
211
211
  exclusionsHtml: string | null;
212
212
  termsHtml: string | null;
213
213
  termsShowOnContract: boolean;
214
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
214
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
215
215
  capacityMode: "free_sale" | "limited" | "on_request";
216
216
  timezone: string | null;
217
217
  visibility: "public" | "private" | "hidden";
@@ -251,7 +251,7 @@ export declare function getProductQueryOptions(client: FetchWithValidationOption
251
251
  exclusionsHtml: string | null;
252
252
  termsHtml: string | null;
253
253
  termsShowOnContract: boolean;
254
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
254
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
255
255
  capacityMode: "free_sale" | "limited" | "on_request";
256
256
  timezone: string | null;
257
257
  visibility: "public" | "private" | "hidden";
@@ -292,7 +292,7 @@ export declare function getProductQueryOptions(client: FetchWithValidationOption
292
292
  exclusionsHtml: string | null;
293
293
  termsHtml: string | null;
294
294
  termsShowOnContract: boolean;
295
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
295
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
296
296
  capacityMode: "free_sale" | "limited" | "on_request";
297
297
  timezone: string | null;
298
298
  visibility: "public" | "private" | "hidden";
@@ -335,7 +335,7 @@ export declare function getProductQueryOptions(client: FetchWithValidationOption
335
335
  exclusionsHtml: string | null;
336
336
  termsHtml: string | null;
337
337
  termsShowOnContract: boolean;
338
- bookingMode: "other" | "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
338
+ bookingMode: "date" | "date_time" | "open" | "stay" | "transfer" | "itinerary" | "other";
339
339
  capacityMode: "free_sale" | "limited" | "on_request";
340
340
  timezone: string | null;
341
341
  visibility: "public" | "private" | "hidden";
@@ -793,7 +793,7 @@ export declare function getOptionUnitsQueryOptions(client: FetchWithValidationOp
793
793
  name: string;
794
794
  code: string | null;
795
795
  description: string | null;
796
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
796
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
797
797
  minQuantity: number | null;
798
798
  maxQuantity: number | null;
799
799
  minAge: number | null;
@@ -814,7 +814,7 @@ export declare function getOptionUnitsQueryOptions(client: FetchWithValidationOp
814
814
  name: string;
815
815
  code: string | null;
816
816
  description: string | null;
817
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
817
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
818
818
  minQuantity: number | null;
819
819
  maxQuantity: number | null;
820
820
  minAge: number | null;
@@ -836,7 +836,7 @@ export declare function getOptionUnitsQueryOptions(client: FetchWithValidationOp
836
836
  name: string;
837
837
  code: string | null;
838
838
  description: string | null;
839
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
839
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
840
840
  minQuantity: number | null;
841
841
  maxQuantity: number | null;
842
842
  minAge: number | null;
@@ -860,7 +860,7 @@ export declare function getOptionUnitsQueryOptions(client: FetchWithValidationOp
860
860
  name: string;
861
861
  code: string | null;
862
862
  description: string | null;
863
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
863
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
864
864
  minQuantity: number | null;
865
865
  maxQuantity: number | null;
866
866
  minAge: number | null;
@@ -884,7 +884,7 @@ export declare function getOptionUnitQueryOptions(client: FetchWithValidationOpt
884
884
  name: string;
885
885
  code: string | null;
886
886
  description: string | null;
887
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
887
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
888
888
  minQuantity: number | null;
889
889
  maxQuantity: number | null;
890
890
  minAge: number | null;
@@ -900,7 +900,7 @@ export declare function getOptionUnitQueryOptions(client: FetchWithValidationOpt
900
900
  name: string;
901
901
  code: string | null;
902
902
  description: string | null;
903
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
903
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
904
904
  minQuantity: number | null;
905
905
  maxQuantity: number | null;
906
906
  minAge: number | null;
@@ -917,7 +917,7 @@ export declare function getOptionUnitQueryOptions(client: FetchWithValidationOpt
917
917
  name: string;
918
918
  code: string | null;
919
919
  description: string | null;
920
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
920
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
921
921
  minQuantity: number | null;
922
922
  maxQuantity: number | null;
923
923
  minAge: number | null;
@@ -936,7 +936,7 @@ export declare function getOptionUnitQueryOptions(client: FetchWithValidationOpt
936
936
  name: string;
937
937
  code: string | null;
938
938
  description: string | null;
939
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
939
+ unitType: "other" | "person" | "group" | "room" | "vehicle" | "service";
940
940
  minQuantity: number | null;
941
941
  maxQuantity: number | null;
942
942
  minAge: number | null;
@@ -1107,7 +1107,7 @@ export declare function getProductDayServicesQueryOptions(client: FetchWithValid
1107
1107
  id: string;
1108
1108
  dayId: string;
1109
1109
  supplierServiceId: string | null;
1110
- serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1110
+ serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
1111
1111
  name: string;
1112
1112
  description: string | null;
1113
1113
  countryCode: string | null;
@@ -1123,7 +1123,7 @@ export declare function getProductDayServicesQueryOptions(client: FetchWithValid
1123
1123
  id: string;
1124
1124
  dayId: string;
1125
1125
  supplierServiceId: string | null;
1126
- serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1126
+ serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
1127
1127
  name: string;
1128
1128
  description: string | null;
1129
1129
  countryCode: string | null;
@@ -1140,7 +1140,7 @@ export declare function getProductDayServicesQueryOptions(client: FetchWithValid
1140
1140
  id: string;
1141
1141
  dayId: string;
1142
1142
  supplierServiceId: string | null;
1143
- serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1143
+ serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
1144
1144
  name: string;
1145
1145
  description: string | null;
1146
1146
  countryCode: string | null;
@@ -1159,7 +1159,7 @@ export declare function getProductDayServicesQueryOptions(client: FetchWithValid
1159
1159
  id: string;
1160
1160
  dayId: string;
1161
1161
  supplierServiceId: string | null;
1162
- serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
1162
+ serviceType: "transfer" | "other" | "accommodation" | "experience" | "guide" | "meal";
1163
1163
  name: string;
1164
1164
  description: string | null;
1165
1165
  countryCode: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAA;AACpF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAA;AACvF,OAAO,KAAK,EAAE,qBAAqB,EAA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,OAAO,GAAE,4BAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB3C;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,0BAA0B,EAClC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACtC,OAAO,GAAE,8BAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB7C;AAED,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,0BAA0B,EAClC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,OAAO,GAAE,4BAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB3C;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,0BAA0B,EAClC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,yBAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBxC;AAED,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,0BAA0B,EAClC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,sBAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BrC"}
@@ -48,7 +48,7 @@ export function getProductsQueryOptions(client, options = {}) {
48
48
  if (filters.offset !== undefined)
49
49
  params.set("offset", String(filters.offset));
50
50
  const qs = params.toString();
51
- return fetchWithValidation(`/v1/products${qs ? `?${qs}` : ""}`, productListResponse, client);
51
+ return fetchWithValidation(`/v1/admin/products${qs ? `?${qs}` : ""}`, productListResponse, client);
52
52
  },
53
53
  });
54
54
  }
@@ -59,7 +59,7 @@ export function getProductQueryOptions(client, id, options = {}) {
59
59
  queryFn: async () => {
60
60
  if (!id)
61
61
  throw new Error("getProductQueryOptions requires an id");
62
- const { data } = await fetchWithValidation(`/v1/products/${id}`, productSingleResponse, client);
62
+ const { data } = await fetchWithValidation(`/v1/admin/products/${id}`, productSingleResponse, client);
63
63
  return data;
64
64
  },
65
65
  });
@@ -79,7 +79,7 @@ export function getProductTypesQueryOptions(client, options = {}) {
79
79
  if (filters.offset !== undefined)
80
80
  params.set("offset", String(filters.offset));
81
81
  const qs = params.toString();
82
- return fetchWithValidation(`/v1/products/product-types${qs ? `?${qs}` : ""}`, productTypeListResponse, client);
82
+ return fetchWithValidation(`/v1/admin/products/product-types${qs ? `?${qs}` : ""}`, productTypeListResponse, client);
83
83
  },
84
84
  });
85
85
  }
@@ -89,7 +89,7 @@ export function getProductTypeQueryOptions(client, id) {
89
89
  queryFn: async () => {
90
90
  if (!id)
91
91
  throw new Error("getProductTypeQueryOptions requires an id");
92
- const { data } = await fetchWithValidation(`/v1/products/product-types/${id}`, productTypeSingleResponse, client);
92
+ const { data } = await fetchWithValidation(`/v1/admin/products/product-types/${id}`, productTypeSingleResponse, client);
93
93
  return data;
94
94
  },
95
95
  });
@@ -107,7 +107,7 @@ export function getProductTagsQueryOptions(client, options = {}) {
107
107
  if (filters.offset !== undefined)
108
108
  params.set("offset", String(filters.offset));
109
109
  const qs = params.toString();
110
- return fetchWithValidation(`/v1/products/product-tags${qs ? `?${qs}` : ""}`, productTagListResponse, client);
110
+ return fetchWithValidation(`/v1/admin/products/product-tags${qs ? `?${qs}` : ""}`, productTagListResponse, client);
111
111
  },
112
112
  });
113
113
  }
@@ -128,7 +128,7 @@ export function getProductCategoriesQueryOptions(client, options = {}) {
128
128
  if (filters.offset !== undefined)
129
129
  params.set("offset", String(filters.offset));
130
130
  const qs = params.toString();
131
- return fetchWithValidation(`/v1/products/product-categories${qs ? `?${qs}` : ""}`, productCategoryListResponse, client);
131
+ return fetchWithValidation(`/v1/admin/products/product-categories${qs ? `?${qs}` : ""}`, productCategoryListResponse, client);
132
132
  },
133
133
  });
134
134
  }
@@ -147,7 +147,7 @@ export function getProductOptionsQueryOptions(client, options = {}) {
147
147
  if (filters.offset !== undefined)
148
148
  params.set("offset", String(filters.offset));
149
149
  const qs = params.toString();
150
- return fetchWithValidation(`/v1/products/options${qs ? `?${qs}` : ""}`, productOptionListResponse, client);
150
+ return fetchWithValidation(`/v1/admin/products/options${qs ? `?${qs}` : ""}`, productOptionListResponse, client);
151
151
  },
152
152
  });
153
153
  }
@@ -158,7 +158,7 @@ export function getProductOptionQueryOptions(client, id, options = {}) {
158
158
  queryFn: async () => {
159
159
  if (!id)
160
160
  throw new Error("getProductOptionQueryOptions requires an id");
161
- const { data } = await fetchWithValidation(`/v1/products/options/${id}`, productOptionSingleResponse, client);
161
+ const { data } = await fetchWithValidation(`/v1/admin/products/options/${id}`, productOptionSingleResponse, client);
162
162
  return data;
163
163
  },
164
164
  });
@@ -178,7 +178,7 @@ export function getOptionUnitsQueryOptions(client, options = {}) {
178
178
  if (filters.offset !== undefined)
179
179
  params.set("offset", String(filters.offset));
180
180
  const qs = params.toString();
181
- return fetchWithValidation(`/v1/products/units${qs ? `?${qs}` : ""}`, optionUnitListResponse, client);
181
+ return fetchWithValidation(`/v1/admin/products/units${qs ? `?${qs}` : ""}`, optionUnitListResponse, client);
182
182
  },
183
183
  });
184
184
  }
@@ -189,7 +189,7 @@ export function getOptionUnitQueryOptions(client, id, options = {}) {
189
189
  queryFn: async () => {
190
190
  if (!id)
191
191
  throw new Error("getOptionUnitQueryOptions requires an id");
192
- const { data } = await fetchWithValidation(`/v1/products/units/${id}`, optionUnitSingleResponse, client);
192
+ const { data } = await fetchWithValidation(`/v1/admin/products/units/${id}`, optionUnitSingleResponse, client);
193
193
  return data;
194
194
  },
195
195
  });
@@ -201,7 +201,7 @@ export function getProductDaysQueryOptions(client, productId, options = {}) {
201
201
  queryFn: async () => {
202
202
  if (!productId)
203
203
  throw new Error("getProductDaysQueryOptions requires a productId");
204
- return fetchWithValidation(`/v1/products/${productId}/days`, productDaysResponse, client);
204
+ return fetchWithValidation(`/v1/admin/products/${productId}/days`, productDaysResponse, client);
205
205
  },
206
206
  });
207
207
  }
@@ -213,7 +213,7 @@ export function getProductItinerariesQueryOptions(client, productId, options = {
213
213
  if (!productId) {
214
214
  throw new Error("getProductItinerariesQueryOptions requires a productId");
215
215
  }
216
- return fetchWithValidation(`/v1/products/${productId}/itineraries`, productItinerariesResponse, client);
216
+ return fetchWithValidation(`/v1/admin/products/${productId}/itineraries`, productItinerariesResponse, client);
217
217
  },
218
218
  });
219
219
  }
@@ -225,7 +225,7 @@ export function getProductItineraryDaysQueryOptions(client, productId, itinerary
225
225
  if (!productId || !itineraryId) {
226
226
  throw new Error("getProductItineraryDaysQueryOptions requires productId and itineraryId");
227
227
  }
228
- return fetchWithValidation(`/v1/products/${productId}/itineraries/${itineraryId}/days`, productDaysResponse, client);
228
+ return fetchWithValidation(`/v1/admin/products/${productId}/itineraries/${itineraryId}/days`, productDaysResponse, client);
229
229
  },
230
230
  });
231
231
  }
@@ -237,7 +237,7 @@ export function getProductDayServicesQueryOptions(client, productId, dayId, opti
237
237
  if (!productId || !dayId) {
238
238
  throw new Error("getProductDayServicesQueryOptions requires productId and dayId");
239
239
  }
240
- return fetchWithValidation(`/v1/products/${productId}/days/${dayId}/services`, productDayServicesResponse, client);
240
+ return fetchWithValidation(`/v1/admin/products/${productId}/days/${dayId}/services`, productDayServicesResponse, client);
241
241
  },
242
242
  });
243
243
  }
@@ -248,7 +248,7 @@ export function getProductVersionsQueryOptions(client, productId, options = {})
248
248
  queryFn: async () => {
249
249
  if (!productId)
250
250
  throw new Error("getProductVersionsQueryOptions requires a productId");
251
- return fetchWithValidation(`/v1/products/${productId}/versions`, productVersionsResponse, client);
251
+ return fetchWithValidation(`/v1/admin/products/${productId}/versions`, productVersionsResponse, client);
252
252
  },
253
253
  });
254
254
  }
@@ -273,8 +273,8 @@ export function getProductMediaQueryOptions(client, productId, options = {}) {
273
273
  params.set("offset", String(offset));
274
274
  const qs = params.toString();
275
275
  const basePath = dayId
276
- ? `/v1/products/${productId}/days/${dayId}/media`
277
- : `/v1/products/${productId}/media`;
276
+ ? `/v1/admin/products/${productId}/days/${dayId}/media`
277
+ : `/v1/admin/products/${productId}/media`;
278
278
  return fetchWithValidation(`${basePath}${qs ? `?${qs}` : ""}`, productMediaListResponse, client);
279
279
  },
280
280
  });
package/dist/schemas.d.ts CHANGED
@@ -40,13 +40,13 @@ export declare const productRecordSchema: z.ZodObject<{
40
40
  termsHtml: z.ZodNullable<z.ZodString>;
41
41
  termsShowOnContract: z.ZodBoolean;
42
42
  bookingMode: z.ZodEnum<{
43
- other: "other";
44
43
  date: "date";
45
44
  date_time: "date_time";
46
45
  open: "open";
47
46
  stay: "stay";
48
47
  transfer: "transfer";
49
48
  itinerary: "itinerary";
49
+ other: "other";
50
50
  }>;
51
51
  capacityMode: z.ZodEnum<{
52
52
  free_sale: "free_sale";
@@ -196,12 +196,12 @@ export declare const optionUnitRecordSchema: z.ZodObject<{
196
196
  code: z.ZodNullable<z.ZodString>;
197
197
  description: z.ZodNullable<z.ZodString>;
198
198
  unitType: z.ZodEnum<{
199
+ other: "other";
199
200
  person: "person";
200
201
  group: "group";
201
202
  room: "room";
202
203
  vehicle: "vehicle";
203
204
  service: "service";
204
- other: "other";
205
205
  }>;
206
206
  minQuantity: z.ZodNullable<z.ZodNumber>;
207
207
  maxQuantity: z.ZodNullable<z.ZodNumber>;
@@ -260,8 +260,8 @@ export declare const productDayServiceRecordSchema: z.ZodObject<{
260
260
  dayId: z.ZodString;
261
261
  supplierServiceId: z.ZodNullable<z.ZodString>;
262
262
  serviceType: z.ZodEnum<{
263
- other: "other";
264
263
  transfer: "transfer";
264
+ other: "other";
265
265
  accommodation: "accommodation";
266
266
  experience: "experience";
267
267
  guide: "guide";
@@ -335,13 +335,13 @@ export declare const productListResponse: z.ZodObject<{
335
335
  termsHtml: z.ZodNullable<z.ZodString>;
336
336
  termsShowOnContract: z.ZodBoolean;
337
337
  bookingMode: z.ZodEnum<{
338
- other: "other";
339
338
  date: "date";
340
339
  date_time: "date_time";
341
340
  open: "open";
342
341
  stay: "stay";
343
342
  transfer: "transfer";
344
343
  itinerary: "itinerary";
344
+ other: "other";
345
345
  }>;
346
346
  capacityMode: z.ZodEnum<{
347
347
  free_sale: "free_sale";
@@ -405,13 +405,13 @@ export declare const productSingleResponse: z.ZodObject<{
405
405
  termsHtml: z.ZodNullable<z.ZodString>;
406
406
  termsShowOnContract: z.ZodBoolean;
407
407
  bookingMode: z.ZodEnum<{
408
- other: "other";
409
408
  date: "date";
410
409
  date_time: "date_time";
411
410
  open: "open";
412
411
  stay: "stay";
413
412
  transfer: "transfer";
414
413
  itinerary: "itinerary";
414
+ other: "other";
415
415
  }>;
416
416
  capacityMode: z.ZodEnum<{
417
417
  free_sale: "free_sale";
@@ -731,12 +731,12 @@ export declare const optionUnitListResponse: z.ZodObject<{
731
731
  code: z.ZodNullable<z.ZodString>;
732
732
  description: z.ZodNullable<z.ZodString>;
733
733
  unitType: z.ZodEnum<{
734
+ other: "other";
734
735
  person: "person";
735
736
  group: "group";
736
737
  room: "room";
737
738
  vehicle: "vehicle";
738
739
  service: "service";
739
- other: "other";
740
740
  }>;
741
741
  minQuantity: z.ZodNullable<z.ZodNumber>;
742
742
  maxQuantity: z.ZodNullable<z.ZodNumber>;
@@ -760,12 +760,12 @@ export declare const optionUnitSingleResponse: z.ZodObject<{
760
760
  code: z.ZodNullable<z.ZodString>;
761
761
  description: z.ZodNullable<z.ZodString>;
762
762
  unitType: z.ZodEnum<{
763
+ other: "other";
763
764
  person: "person";
764
765
  group: "group";
765
766
  room: "room";
766
767
  vehicle: "vehicle";
767
768
  service: "service";
768
- other: "other";
769
769
  }>;
770
770
  minQuantity: z.ZodNullable<z.ZodNumber>;
771
771
  maxQuantity: z.ZodNullable<z.ZodNumber>;
@@ -830,8 +830,8 @@ export declare const productDayServicesResponse: z.ZodObject<{
830
830
  dayId: z.ZodString;
831
831
  supplierServiceId: z.ZodNullable<z.ZodString>;
832
832
  serviceType: z.ZodEnum<{
833
- other: "other";
834
833
  transfer: "transfer";
834
+ other: "other";
835
835
  accommodation: "accommodation";
836
836
  experience: "experience";
837
837
  guide: "guide";
@@ -854,8 +854,8 @@ export declare const productDayServiceResponse: z.ZodObject<{
854
854
  dayId: z.ZodString;
855
855
  supplierServiceId: z.ZodNullable<z.ZodString>;
856
856
  serviceType: z.ZodEnum<{
857
- other: "other";
858
857
  transfer: "transfer";
858
+ other: "other";
859
859
  accommodation: "accommodation";
860
860
  experience: "experience";
861
861
  guide: "guide";
@@ -942,14 +942,14 @@ export declare const productMediaResponse: z.ZodObject<{
942
942
  }, z.core.$strip>;
943
943
  }, z.core.$strip>;
944
944
  export declare const productActionLedgerActionKindSchema: z.ZodEnum<{
945
- reverse: "reverse";
946
945
  read: "read";
947
- delete: "delete";
948
946
  create: "create";
949
947
  update: "update";
948
+ delete: "delete";
950
949
  execute: "execute";
951
950
  approve: "approve";
952
951
  reject: "reject";
952
+ reverse: "reverse";
953
953
  compensate: "compensate";
954
954
  duplicate: "duplicate";
955
955
  }>;
@@ -985,14 +985,14 @@ export declare const productActionLedgerEntrySchema: z.ZodObject<{
985
985
  actionName: z.ZodString;
986
986
  actionVersion: z.ZodString;
987
987
  actionKind: z.ZodEnum<{
988
- reverse: "reverse";
989
988
  read: "read";
990
- delete: "delete";
991
989
  create: "create";
992
990
  update: "update";
991
+ delete: "delete";
993
992
  execute: "execute";
994
993
  approve: "approve";
995
994
  reject: "reject";
995
+ reverse: "reverse";
996
996
  compensate: "compensate";
997
997
  duplicate: "duplicate";
998
998
  }>;
@@ -1065,14 +1065,14 @@ export declare const productActionLedgerListResponse: z.ZodObject<{
1065
1065
  actionName: z.ZodString;
1066
1066
  actionVersion: z.ZodString;
1067
1067
  actionKind: z.ZodEnum<{
1068
- reverse: "reverse";
1069
1068
  read: "read";
1070
- delete: "delete";
1071
1069
  create: "create";
1072
1070
  update: "update";
1071
+ delete: "delete";
1073
1072
  execute: "execute";
1074
1073
  approve: "approve";
1075
1074
  reject: "reject";
1075
+ reverse: "reverse";
1076
1076
  compensate: "compensate";
1077
1077
  duplicate: "duplicate";
1078
1078
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/inventory-react",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -85,11 +85,11 @@
85
85
  "react-dom": "^19.0.0",
86
86
  "react-hook-form": "^7.60.0",
87
87
  "zod": "^4.0.0",
88
- "@voyant-travel/admin": "^0.115.2",
89
- "@voyant-travel/catalog-react": "^0.135.0",
90
- "@voyant-travel/finance": "^0.137.0",
91
- "@voyant-travel/finance-react": "^0.137.0",
92
- "@voyant-travel/inventory": "^0.5.5",
88
+ "@voyant-travel/admin": "^0.115.3",
89
+ "@voyant-travel/catalog-react": "^0.135.1",
90
+ "@voyant-travel/finance": "^0.137.1",
91
+ "@voyant-travel/finance-react": "^0.137.1",
92
+ "@voyant-travel/inventory": "^0.5.6",
93
93
  "@voyant-travel/ui": "^0.108.2",
94
94
  "@voyant-travel/utils": "^0.105.4"
95
95
  },
@@ -130,12 +130,12 @@
130
130
  "typescript": "^6.0.2",
131
131
  "vitest": "^4.1.2",
132
132
  "zod": "^4.3.6",
133
- "@voyant-travel/admin": "^0.115.2",
134
- "@voyant-travel/catalog-react": "^0.135.0",
135
- "@voyant-travel/finance": "^0.137.0",
136
- "@voyant-travel/finance-react": "^0.137.0",
133
+ "@voyant-travel/admin": "^0.115.3",
134
+ "@voyant-travel/catalog-react": "^0.135.1",
135
+ "@voyant-travel/finance": "^0.137.1",
136
+ "@voyant-travel/finance-react": "^0.137.1",
137
137
  "@voyant-travel/i18n": "^0.109.0",
138
- "@voyant-travel/inventory": "^0.5.5",
138
+ "@voyant-travel/inventory": "^0.5.6",
139
139
  "@voyant-travel/react": "^0.104.1",
140
140
  "@voyant-travel/ui": "^0.108.2",
141
141
  "@voyant-travel/utils": "^0.105.4",
@@ -151,7 +151,7 @@
151
151
  "scripts": {
152
152
  "build": "tsc -p tsconfig.build.json",
153
153
  "clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
154
- "typecheck": "tsc --noEmit",
154
+ "typecheck": "tsc -p tsconfig.typecheck.json",
155
155
  "lint": "biome check src/",
156
156
  "test": "vitest run --passWithNoTests"
157
157
  },