@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.
- package/dist/components/booking-link-detail-page.d.ts +1 -1
- package/dist/components/booking-link-detail-page.d.ts.map +1 -1
- package/dist/components/booking-link-detail-page.js +1 -1
- package/dist/components/channel-detail-page.d.ts +1 -1
- package/dist/components/channel-detail-page.d.ts.map +1 -1
- package/dist/components/channel-sync-controls.d.ts +2 -2
- package/dist/components/channel-sync-controls.d.ts.map +1 -1
- package/dist/components/channel-sync-deliveries-drawer.d.ts +1 -1
- package/dist/components/channel-sync-deliveries-drawer.d.ts.map +1 -1
- package/dist/components/channel-sync-deliveries-drawer.js +2 -2
- package/dist/components/channel-sync-page-utils.d.ts +7 -0
- package/dist/components/channel-sync-page-utils.d.ts.map +1 -1
- package/dist/components/channel-sync-page-utils.js +7 -0
- package/dist/components/channel-sync-page.d.ts +1 -1
- package/dist/components/channel-sync-page.d.ts.map +1 -1
- package/dist/components/channel-sync-page.js +5 -5
- package/dist/components/channels-page.d.ts +1 -1
- package/dist/components/channels-page.d.ts.map +1 -1
- package/dist/components/commission-rule-detail-page.d.ts +1 -1
- package/dist/components/commission-rule-detail-page.d.ts.map +1 -1
- package/dist/components/commission-rule-detail-page.js +1 -1
- package/dist/components/contract-detail-page.d.ts +1 -1
- package/dist/components/contract-detail-page.d.ts.map +1 -1
- package/dist/components/contract-detail-page.js +1 -1
- package/dist/components/distribution-overview.d.ts +1 -1
- package/dist/components/distribution-overview.d.ts.map +1 -1
- package/dist/components/distribution-page.d.ts +1 -1
- package/dist/components/distribution-page.d.ts.map +1 -1
- package/dist/components/distribution-section-header.d.ts +1 -1
- package/dist/components/distribution-section-header.d.ts.map +1 -1
- package/dist/components/distribution-tabs-primary.d.ts +3 -3
- package/dist/components/distribution-tabs-primary.d.ts.map +1 -1
- package/dist/components/distribution-tabs-primary.js +7 -7
- package/dist/components/distribution-tabs-secondary.d.ts +3 -3
- package/dist/components/distribution-tabs-secondary.d.ts.map +1 -1
- package/dist/components/distribution-tabs-secondary.js +7 -7
- package/dist/components/mapping-detail-page.d.ts +1 -1
- package/dist/components/mapping-detail-page.d.ts.map +1 -1
- package/dist/components/mapping-detail-page.js +1 -1
- package/dist/components/webhook-event-detail-page.d.ts +1 -1
- package/dist/components/webhook-event-detail-page.d.ts.map +1 -1
- package/dist/components/webhook-event-detail-page.js +1 -1
- package/dist/external-refs/components/entity-ref-picker.d.ts +1 -1
- package/dist/external-refs/components/entity-ref-picker.d.ts.map +1 -1
- package/dist/external-refs/components/external-ref-dialog.d.ts +1 -1
- package/dist/external-refs/components/external-ref-dialog.d.ts.map +1 -1
- package/dist/external-refs/components/external-ref-dialog.js +1 -1
- package/dist/external-refs/components/external-refs-page.d.ts +2 -2
- package/dist/external-refs/components/external-refs-page.d.ts.map +1 -1
- package/dist/external-refs/hooks/use-external-ref-mutation.js +3 -3
- package/dist/external-refs/hooks/use-external-refs.d.ts +2 -2
- package/dist/external-refs/hooks/use-external-refs.d.ts.map +1 -1
- package/dist/external-refs/i18n/provider.d.ts +1 -1
- package/dist/external-refs/i18n/provider.d.ts.map +1 -1
- package/dist/external-refs/query-options.js +2 -2
- package/dist/hooks/use-booking-links.d.ts +2 -2
- package/dist/hooks/use-booking-links.d.ts.map +1 -1
- package/dist/hooks/use-bookings.d.ts +2 -2
- package/dist/hooks/use-bookings.d.ts.map +1 -1
- package/dist/hooks/use-channel-mutation.js +3 -3
- package/dist/hooks/use-channel.d.ts +2 -2
- package/dist/hooks/use-channel.d.ts.map +1 -1
- package/dist/hooks/use-channels.d.ts +2 -2
- package/dist/hooks/use-channels.d.ts.map +1 -1
- package/dist/hooks/use-commission-rules.d.ts +2 -2
- package/dist/hooks/use-commission-rules.d.ts.map +1 -1
- package/dist/hooks/use-contracts.d.ts +2 -2
- package/dist/hooks/use-contracts.d.ts.map +1 -1
- package/dist/hooks/use-mappings.d.ts +2 -2
- package/dist/hooks/use-mappings.d.ts.map +1 -1
- package/dist/hooks/use-products.d.ts +2 -2
- package/dist/hooks/use-products.d.ts.map +1 -1
- package/dist/hooks/use-suppliers.d.ts +2 -2
- package/dist/hooks/use-suppliers.d.ts.map +1 -1
- package/dist/hooks/use-webhook-events.d.ts +2 -2
- package/dist/hooks/use-webhook-events.d.ts.map +1 -1
- package/dist/i18n/provider.d.ts +1 -1
- package/dist/i18n/provider.d.ts.map +1 -1
- package/dist/query-options.d.ts.map +1 -1
- package/dist/query-options.js +18 -18
- package/dist/suppliers/admin/pages/supplier-detail-page.d.ts +1 -1
- package/dist/suppliers/admin/pages/supplier-detail-page.d.ts.map +1 -1
- package/dist/suppliers/admin/supplier-detail-host.d.ts +1 -1
- package/dist/suppliers/admin/supplier-detail-host.d.ts.map +1 -1
- package/dist/suppliers/admin/supplier-detail-skeleton.d.ts +1 -1
- package/dist/suppliers/admin/supplier-detail-skeleton.d.ts.map +1 -1
- package/dist/suppliers/admin/suppliers-host.d.ts +1 -1
- package/dist/suppliers/admin/suppliers-host.d.ts.map +1 -1
- package/dist/suppliers/admin/suppliers-list-skeleton.d.ts +1 -1
- package/dist/suppliers/admin/suppliers-list-skeleton.d.ts.map +1 -1
- package/dist/suppliers/components/rate-dialog.d.ts +2 -1
- package/dist/suppliers/components/rate-dialog.d.ts.map +1 -1
- package/dist/suppliers/components/rate-dialog.js +1 -1
- package/dist/suppliers/components/service-dialog.d.ts +2 -1
- package/dist/suppliers/components/service-dialog.d.ts.map +1 -1
- package/dist/suppliers/components/service-dialog.js +1 -1
- package/dist/suppliers/components/supplier-combobox.d.ts +2 -1
- package/dist/suppliers/components/supplier-combobox.d.ts.map +1 -1
- package/dist/suppliers/components/supplier-detail-page.d.ts +1 -1
- package/dist/suppliers/components/supplier-detail-page.d.ts.map +1 -1
- package/dist/suppliers/components/supplier-dialog.d.ts +2 -1
- package/dist/suppliers/components/supplier-dialog.d.ts.map +1 -1
- package/dist/suppliers/components/supplier-dialog.js +3 -2
- package/dist/suppliers/components/supplier-service-row.d.ts +1 -1
- package/dist/suppliers/components/supplier-service-row.d.ts.map +1 -1
- package/dist/suppliers/components/suppliers-page.d.ts +2 -1
- package/dist/suppliers/components/suppliers-page.d.ts.map +1 -1
- package/dist/suppliers/hooks/use-supplier-mutation.d.ts +2 -2
- package/dist/suppliers/hooks/use-supplier-mutation.js +3 -3
- package/dist/suppliers/hooks/use-supplier-note-mutation.js +1 -1
- package/dist/suppliers/hooks/use-supplier-notes.d.ts +2 -2
- package/dist/suppliers/hooks/use-supplier-notes.d.ts.map +1 -1
- package/dist/suppliers/hooks/use-supplier-rate-mutation.js +3 -3
- package/dist/suppliers/hooks/use-supplier-service-mutation.d.ts +2 -2
- package/dist/suppliers/hooks/use-supplier-service-mutation.js +3 -3
- package/dist/suppliers/hooks/use-supplier-service-rates.d.ts +2 -2
- package/dist/suppliers/hooks/use-supplier-service-rates.d.ts.map +1 -1
- package/dist/suppliers/hooks/use-supplier-services.d.ts +3 -3
- package/dist/suppliers/hooks/use-supplier-services.d.ts.map +1 -1
- package/dist/suppliers/hooks/use-supplier.d.ts +3 -3
- package/dist/suppliers/hooks/use-supplier.d.ts.map +1 -1
- package/dist/suppliers/hooks/use-suppliers.d.ts +3 -3
- package/dist/suppliers/hooks/use-suppliers.d.ts.map +1 -1
- package/dist/suppliers/i18n/provider.d.ts +1 -1
- package/dist/suppliers/i18n/provider.d.ts.map +1 -1
- package/dist/suppliers/query-options.d.ts +12 -12
- package/dist/suppliers/query-options.d.ts.map +1 -1
- package/dist/suppliers/query-options.js +5 -5
- package/dist/suppliers/schemas.d.ts +16 -16
- 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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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.
|
|
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
|
-
"
|
|
190
|
-
"@voyant-travel/
|
|
191
|
-
"@voyant-travel/
|
|
192
|
-
"@voyant-travel/
|
|
193
|
-
"@voyant-travel/
|
|
194
|
-
"@voyant-travel/
|
|
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.
|
|
225
|
+
"@tanstack/react-query": "^5.101.2",
|
|
226
226
|
"@tanstack/react-table": "^8.21.3",
|
|
227
|
-
"@types/react": "^19.2.
|
|
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.
|
|
231
|
-
"react-dom": "^19.2.
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"@voyant-travel/admin": "^0.115.
|
|
237
|
-
"@voyant-travel/distribution": "^0.127.
|
|
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/
|
|
240
|
-
"@voyant-travel/
|
|
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/
|
|
244
|
-
"@voyant-travel/inventory-react": "^0.19.
|
|
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
|
|
258
|
+
"typecheck": "tsc -p tsconfig.typecheck.json",
|
|
259
259
|
"lint": "biome check src/",
|
|
260
260
|
"test": "vitest run --passWithNoTests"
|
|
261
261
|
},
|