@voyant-travel/distribution-react 0.127.0 → 0.127.2

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 (130) hide show
  1. package/dist/components/booking-link-detail-page.d.ts +1 -1
  2. package/dist/components/booking-link-detail-page.d.ts.map +1 -1
  3. package/dist/components/booking-link-detail-page.js +1 -1
  4. package/dist/components/channel-detail-page.d.ts +1 -1
  5. package/dist/components/channel-detail-page.d.ts.map +1 -1
  6. package/dist/components/channel-sync-controls.d.ts +2 -2
  7. package/dist/components/channel-sync-controls.d.ts.map +1 -1
  8. package/dist/components/channel-sync-deliveries-drawer.d.ts +1 -1
  9. package/dist/components/channel-sync-deliveries-drawer.d.ts.map +1 -1
  10. package/dist/components/channel-sync-deliveries-drawer.js +2 -2
  11. package/dist/components/channel-sync-page-utils.d.ts +7 -0
  12. package/dist/components/channel-sync-page-utils.d.ts.map +1 -1
  13. package/dist/components/channel-sync-page-utils.js +7 -0
  14. package/dist/components/channel-sync-page.d.ts +1 -1
  15. package/dist/components/channel-sync-page.d.ts.map +1 -1
  16. package/dist/components/channel-sync-page.js +5 -5
  17. package/dist/components/channels-page.d.ts +1 -1
  18. package/dist/components/channels-page.d.ts.map +1 -1
  19. package/dist/components/commission-rule-detail-page.d.ts +1 -1
  20. package/dist/components/commission-rule-detail-page.d.ts.map +1 -1
  21. package/dist/components/commission-rule-detail-page.js +1 -1
  22. package/dist/components/contract-detail-page.d.ts +1 -1
  23. package/dist/components/contract-detail-page.d.ts.map +1 -1
  24. package/dist/components/contract-detail-page.js +1 -1
  25. package/dist/components/distribution-overview.d.ts +1 -1
  26. package/dist/components/distribution-overview.d.ts.map +1 -1
  27. package/dist/components/distribution-page.d.ts +1 -1
  28. package/dist/components/distribution-page.d.ts.map +1 -1
  29. package/dist/components/distribution-section-header.d.ts +1 -1
  30. package/dist/components/distribution-section-header.d.ts.map +1 -1
  31. package/dist/components/distribution-tabs-primary.d.ts +3 -3
  32. package/dist/components/distribution-tabs-primary.d.ts.map +1 -1
  33. package/dist/components/distribution-tabs-primary.js +7 -7
  34. package/dist/components/distribution-tabs-secondary.d.ts +3 -3
  35. package/dist/components/distribution-tabs-secondary.d.ts.map +1 -1
  36. package/dist/components/distribution-tabs-secondary.js +7 -7
  37. package/dist/components/mapping-detail-page.d.ts +1 -1
  38. package/dist/components/mapping-detail-page.d.ts.map +1 -1
  39. package/dist/components/mapping-detail-page.js +1 -1
  40. package/dist/components/webhook-event-detail-page.d.ts +1 -1
  41. package/dist/components/webhook-event-detail-page.d.ts.map +1 -1
  42. package/dist/components/webhook-event-detail-page.js +1 -1
  43. package/dist/external-refs/components/entity-ref-picker.d.ts +1 -1
  44. package/dist/external-refs/components/entity-ref-picker.d.ts.map +1 -1
  45. package/dist/external-refs/components/external-ref-dialog.d.ts +1 -1
  46. package/dist/external-refs/components/external-ref-dialog.d.ts.map +1 -1
  47. package/dist/external-refs/components/external-ref-dialog.js +1 -1
  48. package/dist/external-refs/components/external-refs-page.d.ts +2 -2
  49. package/dist/external-refs/components/external-refs-page.d.ts.map +1 -1
  50. package/dist/external-refs/hooks/use-external-ref-mutation.js +3 -3
  51. package/dist/external-refs/hooks/use-external-refs.d.ts +2 -2
  52. package/dist/external-refs/hooks/use-external-refs.d.ts.map +1 -1
  53. package/dist/external-refs/i18n/provider.d.ts +1 -1
  54. package/dist/external-refs/i18n/provider.d.ts.map +1 -1
  55. package/dist/external-refs/query-options.js +2 -2
  56. package/dist/hooks/use-booking-links.d.ts +2 -2
  57. package/dist/hooks/use-booking-links.d.ts.map +1 -1
  58. package/dist/hooks/use-bookings.d.ts +2 -2
  59. package/dist/hooks/use-bookings.d.ts.map +1 -1
  60. package/dist/hooks/use-channel-mutation.js +3 -3
  61. package/dist/hooks/use-channel.d.ts +2 -2
  62. package/dist/hooks/use-channel.d.ts.map +1 -1
  63. package/dist/hooks/use-channels.d.ts +2 -2
  64. package/dist/hooks/use-channels.d.ts.map +1 -1
  65. package/dist/hooks/use-commission-rules.d.ts +2 -2
  66. package/dist/hooks/use-commission-rules.d.ts.map +1 -1
  67. package/dist/hooks/use-contracts.d.ts +2 -2
  68. package/dist/hooks/use-contracts.d.ts.map +1 -1
  69. package/dist/hooks/use-mappings.d.ts +2 -2
  70. package/dist/hooks/use-mappings.d.ts.map +1 -1
  71. package/dist/hooks/use-products.d.ts +2 -2
  72. package/dist/hooks/use-products.d.ts.map +1 -1
  73. package/dist/hooks/use-suppliers.d.ts +2 -2
  74. package/dist/hooks/use-suppliers.d.ts.map +1 -1
  75. package/dist/hooks/use-webhook-events.d.ts +2 -2
  76. package/dist/hooks/use-webhook-events.d.ts.map +1 -1
  77. package/dist/i18n/provider.d.ts +1 -1
  78. package/dist/i18n/provider.d.ts.map +1 -1
  79. package/dist/query-options.d.ts.map +1 -1
  80. package/dist/query-options.js +18 -18
  81. package/dist/suppliers/admin/pages/supplier-detail-page.d.ts +1 -1
  82. package/dist/suppliers/admin/pages/supplier-detail-page.d.ts.map +1 -1
  83. package/dist/suppliers/admin/supplier-detail-host.d.ts +1 -1
  84. package/dist/suppliers/admin/supplier-detail-host.d.ts.map +1 -1
  85. package/dist/suppliers/admin/supplier-detail-skeleton.d.ts +1 -1
  86. package/dist/suppliers/admin/supplier-detail-skeleton.d.ts.map +1 -1
  87. package/dist/suppliers/admin/suppliers-host.d.ts +1 -1
  88. package/dist/suppliers/admin/suppliers-host.d.ts.map +1 -1
  89. package/dist/suppliers/admin/suppliers-list-skeleton.d.ts +1 -1
  90. package/dist/suppliers/admin/suppliers-list-skeleton.d.ts.map +1 -1
  91. package/dist/suppliers/components/rate-dialog.d.ts +2 -1
  92. package/dist/suppliers/components/rate-dialog.d.ts.map +1 -1
  93. package/dist/suppliers/components/rate-dialog.js +1 -1
  94. package/dist/suppliers/components/service-dialog.d.ts +2 -1
  95. package/dist/suppliers/components/service-dialog.d.ts.map +1 -1
  96. package/dist/suppliers/components/service-dialog.js +1 -1
  97. package/dist/suppliers/components/supplier-combobox.d.ts +2 -1
  98. package/dist/suppliers/components/supplier-combobox.d.ts.map +1 -1
  99. package/dist/suppliers/components/supplier-detail-page.d.ts +1 -1
  100. package/dist/suppliers/components/supplier-detail-page.d.ts.map +1 -1
  101. package/dist/suppliers/components/supplier-dialog.d.ts +2 -1
  102. package/dist/suppliers/components/supplier-dialog.d.ts.map +1 -1
  103. package/dist/suppliers/components/supplier-dialog.js +3 -2
  104. package/dist/suppliers/components/supplier-service-row.d.ts +1 -1
  105. package/dist/suppliers/components/supplier-service-row.d.ts.map +1 -1
  106. package/dist/suppliers/components/suppliers-page.d.ts +2 -1
  107. package/dist/suppliers/components/suppliers-page.d.ts.map +1 -1
  108. package/dist/suppliers/hooks/use-supplier-mutation.d.ts +2 -2
  109. package/dist/suppliers/hooks/use-supplier-mutation.js +3 -3
  110. package/dist/suppliers/hooks/use-supplier-note-mutation.js +1 -1
  111. package/dist/suppliers/hooks/use-supplier-notes.d.ts +2 -2
  112. package/dist/suppliers/hooks/use-supplier-notes.d.ts.map +1 -1
  113. package/dist/suppliers/hooks/use-supplier-rate-mutation.js +3 -3
  114. package/dist/suppliers/hooks/use-supplier-service-mutation.d.ts +2 -2
  115. package/dist/suppliers/hooks/use-supplier-service-mutation.js +3 -3
  116. package/dist/suppliers/hooks/use-supplier-service-rates.d.ts +2 -2
  117. package/dist/suppliers/hooks/use-supplier-service-rates.d.ts.map +1 -1
  118. package/dist/suppliers/hooks/use-supplier-services.d.ts +3 -3
  119. package/dist/suppliers/hooks/use-supplier-services.d.ts.map +1 -1
  120. package/dist/suppliers/hooks/use-supplier.d.ts +3 -3
  121. package/dist/suppliers/hooks/use-supplier.d.ts.map +1 -1
  122. package/dist/suppliers/hooks/use-suppliers.d.ts +3 -3
  123. package/dist/suppliers/hooks/use-suppliers.d.ts.map +1 -1
  124. package/dist/suppliers/i18n/provider.d.ts +1 -1
  125. package/dist/suppliers/i18n/provider.d.ts.map +1 -1
  126. package/dist/suppliers/query-options.d.ts +12 -12
  127. package/dist/suppliers/query-options.d.ts.map +1 -1
  128. package/dist/suppliers/query-options.js +5 -5
  129. package/dist/suppliers/schemas.d.ts +16 -16
  130. package/package.json +24 -24
@@ -4,7 +4,7 @@ export declare function getSuppliersQueryOptions(client: FetchWithValidationOpti
4
4
  data: {
5
5
  id: string;
6
6
  name: string;
7
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
7
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
8
8
  status: "active" | "inactive" | "pending";
9
9
  description: string | null;
10
10
  email: string | null;
@@ -40,7 +40,7 @@ export declare function getSuppliersQueryOptions(client: FetchWithValidationOpti
40
40
  data: {
41
41
  id: string;
42
42
  name: string;
43
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
43
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
44
44
  status: "active" | "inactive" | "pending";
45
45
  description: string | null;
46
46
  email: string | null;
@@ -77,7 +77,7 @@ export declare function getSuppliersQueryOptions(client: FetchWithValidationOpti
77
77
  data: {
78
78
  id: string;
79
79
  name: string;
80
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
80
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
81
81
  status: "active" | "inactive" | "pending";
82
82
  description: string | null;
83
83
  email: string | null;
@@ -116,7 +116,7 @@ export declare function getSuppliersQueryOptions(client: FetchWithValidationOpti
116
116
  data: {
117
117
  id: string;
118
118
  name: string;
119
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
119
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
120
120
  status: "active" | "inactive" | "pending";
121
121
  description: string | null;
122
122
  email: string | null;
@@ -156,7 +156,7 @@ export declare function getSupplierQueryOptions(client: FetchWithValidationOptio
156
156
  data: {
157
157
  id: string;
158
158
  name: string;
159
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
159
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
160
160
  status: "active" | "inactive" | "pending";
161
161
  description: string | null;
162
162
  email: string | null;
@@ -189,7 +189,7 @@ export declare function getSupplierQueryOptions(client: FetchWithValidationOptio
189
189
  data: {
190
190
  id: string;
191
191
  name: string;
192
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
192
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
193
193
  status: "active" | "inactive" | "pending";
194
194
  description: string | null;
195
195
  email: string | null;
@@ -223,7 +223,7 @@ export declare function getSupplierQueryOptions(client: FetchWithValidationOptio
223
223
  data: {
224
224
  id: string;
225
225
  name: string;
226
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
226
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
227
227
  status: "active" | "inactive" | "pending";
228
228
  description: string | null;
229
229
  email: string | null;
@@ -259,7 +259,7 @@ export declare function getSupplierQueryOptions(client: FetchWithValidationOptio
259
259
  data: {
260
260
  id: string;
261
261
  name: string;
262
- type: "other" | "guide" | "hotel" | "transfer" | "experience" | "airline" | "restaurant";
262
+ type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other";
263
263
  status: "active" | "inactive" | "pending";
264
264
  description: string | null;
265
265
  email: string | null;
@@ -296,7 +296,7 @@ export declare function getSupplierServicesQueryOptions(client: FetchWithValidat
296
296
  data: {
297
297
  id: string;
298
298
  supplierId: string;
299
- serviceType: "other" | "guide" | "transfer" | "experience" | "accommodation" | "meal";
299
+ serviceType: "transfer" | "guide" | "experience" | "other" | "accommodation" | "meal";
300
300
  name: string;
301
301
  description: string | null;
302
302
  duration: string | null;
@@ -310,7 +310,7 @@ export declare function getSupplierServicesQueryOptions(client: FetchWithValidat
310
310
  data: {
311
311
  id: string;
312
312
  supplierId: string;
313
- serviceType: "other" | "guide" | "transfer" | "experience" | "accommodation" | "meal";
313
+ serviceType: "transfer" | "guide" | "experience" | "other" | "accommodation" | "meal";
314
314
  name: string;
315
315
  description: string | null;
316
316
  duration: string | null;
@@ -325,7 +325,7 @@ export declare function getSupplierServicesQueryOptions(client: FetchWithValidat
325
325
  data: {
326
326
  id: string;
327
327
  supplierId: string;
328
- serviceType: "other" | "guide" | "transfer" | "experience" | "accommodation" | "meal";
328
+ serviceType: "transfer" | "guide" | "experience" | "other" | "accommodation" | "meal";
329
329
  name: string;
330
330
  description: string | null;
331
331
  duration: string | null;
@@ -342,7 +342,7 @@ export declare function getSupplierServicesQueryOptions(client: FetchWithValidat
342
342
  data: {
343
343
  id: string;
344
344
  supplierId: string;
345
- serviceType: "other" | "guide" | "transfer" | "experience" | "accommodation" | "meal";
345
+ serviceType: "transfer" | "guide" | "experience" | "other" | "accommodation" | "meal";
346
346
  name: string;
347
347
  description: string | null;
348
348
  duration: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../../src/suppliers/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAenE,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,mBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBlC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrF;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnB;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnB;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlB"}
1
+ {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../../src/suppliers/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAenE,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,mBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBlC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrF;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWnB;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnB;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlB"}
@@ -33,31 +33,31 @@ export function getSuppliersQueryOptions(client, options = {}) {
33
33
  params.set("sortDir", filters.sortDir);
34
34
  appendPagination(params, filters);
35
35
  const qs = params.toString();
36
- return fetchWithValidation(`/v1/suppliers${qs ? `?${qs}` : ""}`, supplierListResponse, client);
36
+ return fetchWithValidation(`/v1/admin/suppliers${qs ? `?${qs}` : ""}`, supplierListResponse, client);
37
37
  },
38
38
  });
39
39
  }
40
40
  export function getSupplierQueryOptions(client, id) {
41
41
  return queryOptions({
42
42
  queryKey: suppliersQueryKeys.supplierDetail(id),
43
- queryFn: () => fetchWithValidation(`/v1/suppliers/${id}`, supplierDetailResponse, client),
43
+ queryFn: () => fetchWithValidation(`/v1/admin/suppliers/${id}`, supplierDetailResponse, client),
44
44
  });
45
45
  }
46
46
  export function getSupplierServicesQueryOptions(client, supplierId) {
47
47
  return queryOptions({
48
48
  queryKey: suppliersQueryKeys.supplierServices(supplierId),
49
- queryFn: () => fetchWithValidation(`/v1/suppliers/${supplierId}/services`, supplierServicesResponse, client),
49
+ queryFn: () => fetchWithValidation(`/v1/admin/suppliers/${supplierId}/services`, supplierServicesResponse, client),
50
50
  });
51
51
  }
52
52
  export function getSupplierNotesQueryOptions(client, supplierId) {
53
53
  return queryOptions({
54
54
  queryKey: suppliersQueryKeys.supplierNotes(supplierId),
55
- queryFn: () => fetchWithValidation(`/v1/suppliers/${supplierId}/notes`, supplierNotesResponse, client),
55
+ queryFn: () => fetchWithValidation(`/v1/admin/suppliers/${supplierId}/notes`, supplierNotesResponse, client),
56
56
  });
57
57
  }
58
58
  export function getSupplierServiceRatesQueryOptions(client, supplierId, serviceId) {
59
59
  return queryOptions({
60
60
  queryKey: suppliersQueryKeys.supplierServiceRates(supplierId, serviceId),
61
- queryFn: () => fetchWithValidation(`/v1/suppliers/${supplierId}/services/${serviceId}/rates`, supplierRatesResponse, client),
61
+ queryFn: () => fetchWithValidation(`/v1/admin/suppliers/${supplierId}/services/${serviceId}/rates`, supplierRatesResponse, client),
62
62
  });
63
63
  }
@@ -2,13 +2,13 @@ import { listResponseSchema } from "@voyant-travel/types";
2
2
  import { z } from "zod";
3
3
  export declare const paginatedEnvelope: typeof listResponseSchema;
4
4
  export declare const supplierTypeSchema: z.ZodEnum<{
5
- other: "other";
6
- guide: "guide";
7
5
  hotel: "hotel";
8
6
  transfer: "transfer";
7
+ guide: "guide";
9
8
  experience: "experience";
10
9
  airline: "airline";
11
10
  restaurant: "restaurant";
11
+ other: "other";
12
12
  }>;
13
13
  export declare const supplierStatusSchema: z.ZodEnum<{
14
14
  active: "active";
@@ -16,10 +16,10 @@ export declare const supplierStatusSchema: z.ZodEnum<{
16
16
  pending: "pending";
17
17
  }>;
18
18
  export declare const serviceTypeSchema: z.ZodEnum<{
19
- other: "other";
20
- guide: "guide";
21
19
  transfer: "transfer";
20
+ guide: "guide";
22
21
  experience: "experience";
22
+ other: "other";
23
23
  accommodation: "accommodation";
24
24
  meal: "meal";
25
25
  }>;
@@ -49,13 +49,13 @@ export declare const supplierSchema: z.ZodObject<{
49
49
  id: z.ZodString;
50
50
  name: z.ZodString;
51
51
  type: z.ZodEnum<{
52
- other: "other";
53
- guide: "guide";
54
52
  hotel: "hotel";
55
53
  transfer: "transfer";
54
+ guide: "guide";
56
55
  experience: "experience";
57
56
  airline: "airline";
58
57
  restaurant: "restaurant";
58
+ other: "other";
59
59
  }>;
60
60
  status: z.ZodEnum<{
61
61
  active: "active";
@@ -98,10 +98,10 @@ export declare const supplierServiceSchema: z.ZodObject<{
98
98
  id: z.ZodString;
99
99
  supplierId: z.ZodString;
100
100
  serviceType: z.ZodEnum<{
101
- other: "other";
102
- guide: "guide";
103
101
  transfer: "transfer";
102
+ guide: "guide";
104
103
  experience: "experience";
104
+ other: "other";
105
105
  accommodation: "accommodation";
106
106
  meal: "meal";
107
107
  }>;
@@ -149,13 +149,13 @@ export declare const supplierListResponse: z.ZodObject<{
149
149
  id: z.ZodString;
150
150
  name: z.ZodString;
151
151
  type: z.ZodEnum<{
152
- other: "other";
153
- guide: "guide";
154
152
  hotel: "hotel";
155
153
  transfer: "transfer";
154
+ guide: "guide";
156
155
  experience: "experience";
157
156
  airline: "airline";
158
157
  restaurant: "restaurant";
158
+ other: "other";
159
159
  }>;
160
160
  status: z.ZodEnum<{
161
161
  active: "active";
@@ -202,13 +202,13 @@ export declare const supplierDetailResponse: z.ZodObject<{
202
202
  id: z.ZodString;
203
203
  name: z.ZodString;
204
204
  type: z.ZodEnum<{
205
- other: "other";
206
- guide: "guide";
207
205
  hotel: "hotel";
208
206
  transfer: "transfer";
207
+ guide: "guide";
209
208
  experience: "experience";
210
209
  airline: "airline";
211
210
  restaurant: "restaurant";
211
+ other: "other";
212
212
  }>;
213
213
  status: z.ZodEnum<{
214
214
  active: "active";
@@ -252,10 +252,10 @@ export declare const supplierServiceResponse: z.ZodObject<{
252
252
  id: z.ZodString;
253
253
  supplierId: z.ZodString;
254
254
  serviceType: z.ZodEnum<{
255
- other: "other";
256
- guide: "guide";
257
255
  transfer: "transfer";
256
+ guide: "guide";
258
257
  experience: "experience";
258
+ other: "other";
259
259
  accommodation: "accommodation";
260
260
  meal: "meal";
261
261
  }>;
@@ -274,10 +274,10 @@ export declare const supplierServicesResponse: z.ZodObject<{
274
274
  id: z.ZodString;
275
275
  supplierId: z.ZodString;
276
276
  serviceType: z.ZodEnum<{
277
- other: "other";
278
- guide: "guide";
279
277
  transfer: "transfer";
278
+ guide: "guide";
280
279
  experience: "experience";
280
+ other: "other";
281
281
  accommodation: "accommodation";
282
282
  meal: "meal";
283
283
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/distribution-react",
3
- "version": "0.127.0",
3
+ "version": "0.127.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -185,14 +185,14 @@
185
185
  "@tanstack/react-table": "^8.0.0",
186
186
  "react": "^19.0.0",
187
187
  "react-dom": "^19.0.0",
188
+ "react-hook-form": "^7.80.0",
188
189
  "zod": "^4.0.0",
189
- "react-hook-form": "^7.60.0",
190
- "@voyant-travel/admin": "^0.115.2",
191
- "@voyant-travel/distribution": "^0.127.0",
192
- "@voyant-travel/ui": "^0.108.2",
193
- "@voyant-travel/bookings-react": "^0.137.0",
194
- "@voyant-travel/inventory-react": "^0.19.0",
195
- "@voyant-travel/relationships-react": "^0.137.0"
190
+ "@voyant-travel/admin": "^0.115.3",
191
+ "@voyant-travel/bookings-react": "^0.137.1",
192
+ "@voyant-travel/inventory-react": "^0.19.2",
193
+ "@voyant-travel/distribution": "^0.127.2",
194
+ "@voyant-travel/relationships-react": "^0.137.1",
195
+ "@voyant-travel/ui": "^0.108.2"
196
196
  },
197
197
  "peerDependenciesMeta": {
198
198
  "@tanstack/react-table": {
@@ -222,27 +222,27 @@
222
222
  "@voyant-travel/react": "^0.104.1"
223
223
  },
224
224
  "devDependencies": {
225
- "@tanstack/react-query": "^5.100.11",
225
+ "@tanstack/react-query": "^5.101.2",
226
226
  "@tanstack/react-table": "^8.21.3",
227
- "@types/react": "^19.2.14",
227
+ "@types/react": "^19.2.17",
228
228
  "@types/react-dom": "^19.2.3",
229
229
  "lucide-react": "^0.475.0",
230
- "react": "^19.2.4",
231
- "react-dom": "^19.2.4",
232
- "typescript": "^6.0.2",
233
- "vitest": "^4.1.2",
234
- "zod": "^4.3.6",
235
- "react-hook-form": "^7.60.0",
236
- "@voyant-travel/admin": "^0.115.2",
237
- "@voyant-travel/distribution": "^0.127.0",
230
+ "react": "^19.2.7",
231
+ "react-dom": "^19.2.7",
232
+ "react-hook-form": "^7.80.0",
233
+ "typescript": "^6.0.3",
234
+ "vitest": "^4.1.9",
235
+ "zod": "^4.4.3",
236
+ "@voyant-travel/admin": "^0.115.3",
237
+ "@voyant-travel/distribution": "^0.127.2",
238
+ "@voyant-travel/bookings-react": "^0.137.1",
238
239
  "@voyant-travel/i18n": "^0.109.0",
239
- "@voyant-travel/react": "^0.104.1",
240
- "@voyant-travel/types": "^0.106.0",
240
+ "@voyant-travel/types": "^0.106.1",
241
+ "@voyant-travel/relationships-react": "^0.137.1",
241
242
  "@voyant-travel/ui": "^0.108.2",
242
243
  "@voyant-travel/voyant-typescript-config": "^0.1.0",
243
- "@voyant-travel/bookings-react": "^0.137.0",
244
- "@voyant-travel/inventory-react": "^0.19.0",
245
- "@voyant-travel/relationships-react": "^0.137.0"
244
+ "@voyant-travel/react": "^0.104.1",
245
+ "@voyant-travel/inventory-react": "^0.19.2"
246
246
  },
247
247
  "files": [
248
248
  "dist",
@@ -255,7 +255,7 @@
255
255
  "scripts": {
256
256
  "build": "tsc -p tsconfig.build.json",
257
257
  "clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
258
- "typecheck": "tsc --noEmit",
258
+ "typecheck": "tsc -p tsconfig.typecheck.json",
259
259
  "lint": "biome check src/",
260
260
  "test": "vitest run --passWithNoTests"
261
261
  },