@voyant-travel/bookings-react 0.138.2 → 0.138.4
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/admin/booking-contract-dialog.d.ts.map +1 -1
- package/dist/admin/booking-contract-dialog.js +11 -1
- package/dist/admin/use-booking-action-ledger-events.d.ts.map +1 -1
- package/dist/admin/use-booking-action-ledger-events.js +18 -3
- package/dist/components/booking-activity-timeline.d.ts.map +1 -1
- package/dist/components/booking-activity-timeline.js +4 -1
- package/dist/components/booking-document-dialog.d.ts.map +1 -1
- package/dist/components/booking-document-dialog.js +10 -2
- package/dist/components/booking-payment-reconciliation-banner.d.ts.map +1 -1
- package/dist/components/booking-payments-summary.d.ts +9 -1
- package/dist/components/booking-payments-summary.d.ts.map +1 -1
- package/dist/components/booking-payments-summary.js +57 -32
- package/dist/components/file-dropzone.d.ts +3 -1
- package/dist/components/file-dropzone.d.ts.map +1 -1
- package/dist/components/file-dropzone.js +2 -1
- package/dist/components/traveler-dialog.d.ts.map +1 -1
- package/dist/components/traveler-dialog.js +15 -1
- package/dist/components/traveler-list.d.ts.map +1 -1
- package/dist/components/traveler-list.js +30 -12
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +3 -3
- package/dist/extras/hooks/use-slot-extra-manifest.d.ts +1 -1
- package/dist/extras/query-options.d.ts +4 -4
- package/dist/extras/schemas.d.ts +3 -3
- package/dist/hooks/use-booking-action-ledger.d.ts +1 -1
- package/dist/hooks/use-booking-documents.d.ts.map +1 -1
- package/dist/hooks/use-booking-documents.js +3 -0
- package/dist/hooks/use-booking-note-mutation.d.ts.map +1 -1
- package/dist/hooks/use-booking-note-mutation.js +3 -0
- package/dist/hooks/use-supplier-status-mutation.d.ts +2 -2
- package/dist/hooks/use-supplier-status-mutation.d.ts.map +1 -1
- package/dist/hooks/use-supplier-status-mutation.js +10 -12
- package/dist/hooks/use-supplier-statuses.d.ts +1 -1
- package/dist/hooks/use-traveler-mutation.d.ts.map +1 -1
- package/dist/hooks/use-traveler-mutation.js +10 -12
- package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts.map +1 -1
- package/dist/hooks/use-traveler-with-travel-details-mutation.js +3 -0
- package/dist/i18n/en-base.d.ts +9 -0
- package/dist/i18n/en-base.d.ts.map +1 -1
- package/dist/i18n/en-base.js +9 -0
- package/dist/i18n/en-sections.d.ts +1 -0
- package/dist/i18n/en-sections.d.ts.map +1 -1
- package/dist/i18n/en-sections.js +1 -0
- package/dist/i18n/en.d.ts +10 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/messages-base.d.ts +3 -0
- package/dist/i18n/messages-base.d.ts.map +1 -1
- package/dist/i18n/messages-sections.d.ts +1 -0
- package/dist/i18n/messages-sections.d.ts.map +1 -1
- package/dist/i18n/provider.d.ts +20 -0
- package/dist/i18n/provider.d.ts.map +1 -1
- package/dist/i18n/ro-base.d.ts +9 -0
- package/dist/i18n/ro-base.d.ts.map +1 -1
- package/dist/i18n/ro-base.js +9 -0
- package/dist/i18n/ro-sections.d.ts +1 -0
- package/dist/i18n/ro-sections.d.ts.map +1 -1
- package/dist/i18n/ro-sections.js +1 -0
- package/dist/i18n/ro.d.ts +10 -0
- package/dist/i18n/ro.d.ts.map +1 -1
- package/dist/journey/components/booking-journey-rules.d.ts.map +1 -1
- package/dist/journey/components/booking-journey-rules.js +2 -2
- package/dist/query-options.d.ts +4 -4
- package/dist/requirements/hooks/use-booking-questions.d.ts +1 -1
- package/dist/requirements/query-options.d.ts +4 -4
- package/dist/requirements/schemas.d.ts +3 -3
- package/dist/schemas.d.ts +6 -6
- package/package.json +16 -16
package/dist/i18n/ro-base.d.ts
CHANGED
|
@@ -161,6 +161,7 @@ export declare const bookingsUiRoBase: {
|
|
|
161
161
|
fields: {
|
|
162
162
|
firstName: string;
|
|
163
163
|
lastName: string;
|
|
164
|
+
travelerCategory: string;
|
|
164
165
|
email: string;
|
|
165
166
|
phone: string;
|
|
166
167
|
specialRequests: string;
|
|
@@ -175,6 +176,13 @@ export declare const bookingsUiRoBase: {
|
|
|
175
176
|
accessibilityNeeds: string;
|
|
176
177
|
linkedPerson: string;
|
|
177
178
|
};
|
|
179
|
+
travelerCategoryLabels: {
|
|
180
|
+
adult: string;
|
|
181
|
+
child: string;
|
|
182
|
+
infant: string;
|
|
183
|
+
senior: string;
|
|
184
|
+
other: string;
|
|
185
|
+
};
|
|
178
186
|
documentTypeLabels: {
|
|
179
187
|
passport: string;
|
|
180
188
|
id_card: string;
|
|
@@ -217,6 +225,7 @@ export declare const bookingsUiRoBase: {
|
|
|
217
225
|
values: {
|
|
218
226
|
emailUnavailable: string;
|
|
219
227
|
phoneUnavailable: string;
|
|
228
|
+
documentsHidden: string;
|
|
220
229
|
documentsUnavailable: string;
|
|
221
230
|
fieldUnavailable: string;
|
|
222
231
|
noAdditionalContext: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ro-base.d.ts","sourceRoot":"","sources":["../../src/i18n/ro-base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ro-base.d.ts","sourceRoot":"","sources":["../../src/i18n/ro-base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiTK,CAAA"}
|
package/dist/i18n/ro-base.js
CHANGED
|
@@ -161,6 +161,7 @@ export const bookingsUiRoBase = {
|
|
|
161
161
|
fields: {
|
|
162
162
|
firstName: "Prenume",
|
|
163
163
|
lastName: "Nume",
|
|
164
|
+
travelerCategory: "Categorie calator",
|
|
164
165
|
email: "Email",
|
|
165
166
|
phone: "Telefon",
|
|
166
167
|
specialRequests: "Cerinte speciale",
|
|
@@ -175,6 +176,13 @@ export const bookingsUiRoBase = {
|
|
|
175
176
|
accessibilityNeeds: "Cerinte de accesibilitate",
|
|
176
177
|
linkedPerson: "Contact CRM asociat",
|
|
177
178
|
},
|
|
179
|
+
travelerCategoryLabels: {
|
|
180
|
+
adult: "Adult",
|
|
181
|
+
child: "Copil",
|
|
182
|
+
infant: "Infant",
|
|
183
|
+
senior: "Senior",
|
|
184
|
+
other: "Altul",
|
|
185
|
+
},
|
|
178
186
|
documentTypeLabels: {
|
|
179
187
|
passport: "Pasaport",
|
|
180
188
|
id_card: "Carte de identitate",
|
|
@@ -217,6 +225,7 @@ export const bookingsUiRoBase = {
|
|
|
217
225
|
values: {
|
|
218
226
|
emailUnavailable: "-",
|
|
219
227
|
phoneUnavailable: "-",
|
|
228
|
+
documentsHidden: "Afiseaza detalii",
|
|
220
229
|
documentsUnavailable: "-",
|
|
221
230
|
fieldUnavailable: "-",
|
|
222
231
|
noAdditionalContext: "Nu exista context suplimentar pentru calator",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ro-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/ro-sections.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"ro-sections.d.ts","sourceRoot":"","sources":["../../src/i18n/ro-sections.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuWK,CAAA"}
|
package/dist/i18n/ro-sections.js
CHANGED
|
@@ -329,6 +329,7 @@ export const bookingsUiRoSections = {
|
|
|
329
329
|
notes: "Note suplimentare...",
|
|
330
330
|
},
|
|
331
331
|
validation: {
|
|
332
|
+
fileRequired: "Alege un fisier inainte de a adauga documentul.",
|
|
332
333
|
fileNameRequired: "Numele fisierului este obligatoriu",
|
|
333
334
|
fileUrlInvalid: "Trebuie sa fie un URL valid",
|
|
334
335
|
},
|
package/dist/i18n/ro.d.ts
CHANGED
|
@@ -1263,6 +1263,7 @@ export declare const bookingsUiRo: {
|
|
|
1263
1263
|
notes: string;
|
|
1264
1264
|
};
|
|
1265
1265
|
validation: {
|
|
1266
|
+
fileRequired: string;
|
|
1266
1267
|
fileNameRequired: string;
|
|
1267
1268
|
fileUrlInvalid: string;
|
|
1268
1269
|
};
|
|
@@ -1452,6 +1453,7 @@ export declare const bookingsUiRo: {
|
|
|
1452
1453
|
fields: {
|
|
1453
1454
|
firstName: string;
|
|
1454
1455
|
lastName: string;
|
|
1456
|
+
travelerCategory: string;
|
|
1455
1457
|
email: string;
|
|
1456
1458
|
phone: string;
|
|
1457
1459
|
specialRequests: string;
|
|
@@ -1466,6 +1468,13 @@ export declare const bookingsUiRo: {
|
|
|
1466
1468
|
accessibilityNeeds: string;
|
|
1467
1469
|
linkedPerson: string;
|
|
1468
1470
|
};
|
|
1471
|
+
travelerCategoryLabels: {
|
|
1472
|
+
adult: string;
|
|
1473
|
+
child: string;
|
|
1474
|
+
infant: string;
|
|
1475
|
+
senior: string;
|
|
1476
|
+
other: string;
|
|
1477
|
+
};
|
|
1469
1478
|
documentTypeLabels: {
|
|
1470
1479
|
passport: string;
|
|
1471
1480
|
id_card: string;
|
|
@@ -1508,6 +1517,7 @@ export declare const bookingsUiRo: {
|
|
|
1508
1517
|
values: {
|
|
1509
1518
|
emailUnavailable: string;
|
|
1510
1519
|
phoneUnavailable: string;
|
|
1520
|
+
documentsHidden: string;
|
|
1511
1521
|
documentsUnavailable: string;
|
|
1512
1522
|
fieldUnavailable: string;
|
|
1513
1523
|
noAdditionalContext: string;
|
package/dist/i18n/ro.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../src/i18n/ro.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../src/i18n/ro.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-journey-rules.d.ts","sourceRoot":"","sources":["../../../src/journey/components/booking-journey-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"booking-journey-rules.d.ts","sourceRoot":"","sources":["../../../src/journey/components/booking-journey-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAOvB,MAAM,6DAA6D,CAAA;AACpE,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,qBAAqB,CAAA;AAC5E,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmBtE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,GAAG,WAAW,GAAG,kBAAkB,CAK7F;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAgClF;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,iBAAiB,EACxB,SAAS,EAAE,OAAO,GACjB,OAAO,CAyDT;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,iBAAiB,EACxB,SAAS,EAAE,OAAO,GACjB,OAAO,CAYT;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,CAAC,MAAM,CAAC,CAmDvB;AAMD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,GACf,MAAM,GAAG,IAAI,CAMf;AAED,wBAAgB,mBAAmB,IAAI,iBAAiB,CAavD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_PAX_BANDS, defaultBookingFields, defaultDraftShapeFlags, defaultTravelerFields, paxBandsAllowedTotalFrom, } from "@voyant-travel/catalog-contracts/booking-engine/draft-shape";
|
|
1
|
+
import { DEFAULT_PAX_BANDS, DEFAULT_PAYMENT_INTENTS, defaultBookingFields, defaultDraftShapeFlags, defaultTravelerFields, paxBandsAllowedTotalFrom, } from "@voyant-travel/catalog-contracts/booking-engine/draft-shape";
|
|
2
2
|
import { formatMessage } from "../../i18n/index.js";
|
|
3
3
|
import { totalPax } from "../lib/draft-state.js";
|
|
4
4
|
import { evaluatePaxBandDependencies } from "../lib/pax-band-dependencies.js";
|
|
@@ -232,6 +232,6 @@ export function defaultMinimalShape() {
|
|
|
232
232
|
// narrow further at render time — listing every supported intent
|
|
233
233
|
// here means consumers can opt in via PaymentProviderCapabilities
|
|
234
234
|
// without needing a custom fallbackShape.
|
|
235
|
-
paymentIntents:
|
|
235
|
+
paymentIntents: DEFAULT_PAYMENT_INTENTS,
|
|
236
236
|
};
|
|
237
237
|
}
|
package/dist/query-options.d.ts
CHANGED
|
@@ -1165,7 +1165,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1165
1165
|
bookingId: string;
|
|
1166
1166
|
supplierServiceId: string | null;
|
|
1167
1167
|
serviceName: string;
|
|
1168
|
-
status: "
|
|
1168
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1169
1169
|
supplierReference: string | null;
|
|
1170
1170
|
costCurrency: string;
|
|
1171
1171
|
costAmountCents: number;
|
|
@@ -1180,7 +1180,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1180
1180
|
bookingId: string;
|
|
1181
1181
|
supplierServiceId: string | null;
|
|
1182
1182
|
serviceName: string;
|
|
1183
|
-
status: "
|
|
1183
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1184
1184
|
supplierReference: string | null;
|
|
1185
1185
|
costCurrency: string;
|
|
1186
1186
|
costAmountCents: number;
|
|
@@ -1196,7 +1196,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1196
1196
|
bookingId: string;
|
|
1197
1197
|
supplierServiceId: string | null;
|
|
1198
1198
|
serviceName: string;
|
|
1199
|
-
status: "
|
|
1199
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1200
1200
|
supplierReference: string | null;
|
|
1201
1201
|
costCurrency: string;
|
|
1202
1202
|
costAmountCents: number;
|
|
@@ -1214,7 +1214,7 @@ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidat
|
|
|
1214
1214
|
bookingId: string;
|
|
1215
1215
|
supplierServiceId: string | null;
|
|
1216
1216
|
serviceName: string;
|
|
1217
|
-
status: "
|
|
1217
|
+
status: "cancelled" | "pending" | "confirmed" | "rejected";
|
|
1218
1218
|
supplierReference: string | null;
|
|
1219
1219
|
costCurrency: string;
|
|
1220
1220
|
costAmountCents: number;
|
|
@@ -10,7 +10,7 @@ export declare function useBookingQuestions(options?: UseBookingQuestionsOptions
|
|
|
10
10
|
label: string;
|
|
11
11
|
description: string | null;
|
|
12
12
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
13
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
13
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
14
14
|
placeholder: string | null;
|
|
15
15
|
helpText: string | null;
|
|
16
16
|
isRequired: boolean;
|
|
@@ -132,7 +132,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
132
132
|
label: string;
|
|
133
133
|
description: string | null;
|
|
134
134
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
135
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
135
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
136
136
|
placeholder: string | null;
|
|
137
137
|
helpText: string | null;
|
|
138
138
|
isRequired: boolean;
|
|
@@ -150,7 +150,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
150
150
|
label: string;
|
|
151
151
|
description: string | null;
|
|
152
152
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
153
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
153
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
154
154
|
placeholder: string | null;
|
|
155
155
|
helpText: string | null;
|
|
156
156
|
isRequired: boolean;
|
|
@@ -169,7 +169,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
169
169
|
label: string;
|
|
170
170
|
description: string | null;
|
|
171
171
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
172
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
172
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
173
173
|
placeholder: string | null;
|
|
174
174
|
helpText: string | null;
|
|
175
175
|
isRequired: boolean;
|
|
@@ -190,7 +190,7 @@ export declare function getBookingQuestionsQueryOptions(client: FetchWithValidat
|
|
|
190
190
|
label: string;
|
|
191
191
|
description: string | null;
|
|
192
192
|
target: "extra" | "service" | "traveler" | "booking" | "lead_traveler" | "booker";
|
|
193
|
-
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "
|
|
193
|
+
fieldType: "number" | "boolean" | "date" | "other" | "file" | "email" | "phone" | "textarea" | "text" | "datetime" | "single_select" | "multi_select" | "country";
|
|
194
194
|
placeholder: string | null;
|
|
195
195
|
helpText: string | null;
|
|
196
196
|
isRequired: boolean;
|
|
@@ -26,9 +26,9 @@ export declare const questionFieldTypeSchema: z.ZodEnum<{
|
|
|
26
26
|
phone: "phone";
|
|
27
27
|
textarea: "textarea";
|
|
28
28
|
text: "text";
|
|
29
|
+
datetime: "datetime";
|
|
29
30
|
single_select: "single_select";
|
|
30
31
|
multi_select: "multi_select";
|
|
31
|
-
datetime: "datetime";
|
|
32
32
|
country: "country";
|
|
33
33
|
}>;
|
|
34
34
|
export declare const bookingQuestionSchema: z.ZodObject<{
|
|
@@ -55,9 +55,9 @@ export declare const bookingQuestionSchema: z.ZodObject<{
|
|
|
55
55
|
phone: "phone";
|
|
56
56
|
textarea: "textarea";
|
|
57
57
|
text: "text";
|
|
58
|
+
datetime: "datetime";
|
|
58
59
|
single_select: "single_select";
|
|
59
60
|
multi_select: "multi_select";
|
|
60
|
-
datetime: "datetime";
|
|
61
61
|
country: "country";
|
|
62
62
|
}>;
|
|
63
63
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
@@ -166,9 +166,9 @@ export declare const bookingQuestionListResponse: z.ZodObject<{
|
|
|
166
166
|
phone: "phone";
|
|
167
167
|
textarea: "textarea";
|
|
168
168
|
text: "text";
|
|
169
|
+
datetime: "datetime";
|
|
169
170
|
single_select: "single_select";
|
|
170
171
|
multi_select: "multi_select";
|
|
171
|
-
datetime: "datetime";
|
|
172
172
|
country: "country";
|
|
173
173
|
}>;
|
|
174
174
|
placeholder: z.ZodNullable<z.ZodString>;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -22,8 +22,8 @@ export declare const bookingStatusSchema: z.ZodEnum<{
|
|
|
22
22
|
}>;
|
|
23
23
|
export type BookingStatus = z.infer<typeof bookingStatusSchema>;
|
|
24
24
|
export declare const supplierConfirmationStatusSchema: z.ZodEnum<{
|
|
25
|
-
pending: "pending";
|
|
26
25
|
cancelled: "cancelled";
|
|
26
|
+
pending: "pending";
|
|
27
27
|
confirmed: "confirmed";
|
|
28
28
|
rejected: "rejected";
|
|
29
29
|
}>;
|
|
@@ -277,8 +277,8 @@ export declare const bookingSupplierStatusRecordSchema: z.ZodObject<{
|
|
|
277
277
|
supplierServiceId: z.ZodNullable<z.ZodString>;
|
|
278
278
|
serviceName: z.ZodString;
|
|
279
279
|
status: z.ZodEnum<{
|
|
280
|
-
pending: "pending";
|
|
281
280
|
cancelled: "cancelled";
|
|
281
|
+
pending: "pending";
|
|
282
282
|
confirmed: "confirmed";
|
|
283
283
|
rejected: "rejected";
|
|
284
284
|
}>;
|
|
@@ -1302,8 +1302,8 @@ export declare const bookingSupplierStatusesResponse: z.ZodObject<{
|
|
|
1302
1302
|
supplierServiceId: z.ZodNullable<z.ZodString>;
|
|
1303
1303
|
serviceName: z.ZodString;
|
|
1304
1304
|
status: z.ZodEnum<{
|
|
1305
|
-
pending: "pending";
|
|
1306
1305
|
cancelled: "cancelled";
|
|
1306
|
+
pending: "pending";
|
|
1307
1307
|
confirmed: "confirmed";
|
|
1308
1308
|
rejected: "rejected";
|
|
1309
1309
|
}>;
|
|
@@ -1847,9 +1847,9 @@ export declare const bookingActionLedgerStatusSchema: z.ZodEnum<{
|
|
|
1847
1847
|
superseded: "superseded";
|
|
1848
1848
|
}>;
|
|
1849
1849
|
export declare const bookingActionLedgerRiskSchema: z.ZodEnum<{
|
|
1850
|
-
high: "high";
|
|
1851
1850
|
low: "low";
|
|
1852
1851
|
medium: "medium";
|
|
1852
|
+
high: "high";
|
|
1853
1853
|
critical: "critical";
|
|
1854
1854
|
}>;
|
|
1855
1855
|
export declare const bookingActionLedgerPrincipalTypeSchema: z.ZodEnum<{
|
|
@@ -1890,9 +1890,9 @@ export declare const bookingActionLedgerEntrySchema: z.ZodObject<{
|
|
|
1890
1890
|
superseded: "superseded";
|
|
1891
1891
|
}>;
|
|
1892
1892
|
evaluatedRisk: z.ZodEnum<{
|
|
1893
|
-
high: "high";
|
|
1894
1893
|
low: "low";
|
|
1895
1894
|
medium: "medium";
|
|
1895
|
+
high: "high";
|
|
1896
1896
|
critical: "critical";
|
|
1897
1897
|
}>;
|
|
1898
1898
|
actorType: z.ZodNullable<z.ZodString>;
|
|
@@ -1980,9 +1980,9 @@ export declare const bookingActionLedgerListResponse: z.ZodObject<{
|
|
|
1980
1980
|
superseded: "superseded";
|
|
1981
1981
|
}>;
|
|
1982
1982
|
evaluatedRisk: z.ZodEnum<{
|
|
1983
|
-
high: "high";
|
|
1984
1983
|
low: "low";
|
|
1985
1984
|
medium: "medium";
|
|
1985
|
+
high: "high";
|
|
1986
1986
|
critical: "critical";
|
|
1987
1987
|
}>;
|
|
1988
1988
|
actorType: z.ZodNullable<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/bookings-react",
|
|
3
|
-
"version": "0.138.
|
|
3
|
+
"version": "0.138.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -145,18 +145,18 @@
|
|
|
145
145
|
"react-dom": "^19.0.0",
|
|
146
146
|
"react-hook-form": "^7.80.0",
|
|
147
147
|
"zod": "^4.0.0",
|
|
148
|
-
"@voyant-travel/
|
|
149
|
-
"@voyant-travel/catalog-react": "^0.136.
|
|
148
|
+
"@voyant-travel/admin": "^0.115.3",
|
|
149
|
+
"@voyant-travel/catalog-react": "^0.136.1",
|
|
150
150
|
"@voyant-travel/distribution-react": "^0.128.2",
|
|
151
|
-
"@voyant-travel/
|
|
151
|
+
"@voyant-travel/bookings": "^0.138.4",
|
|
152
|
+
"@voyant-travel/relationships-react": "^0.138.0",
|
|
153
|
+
"@voyant-travel/finance-react": "^0.138.6",
|
|
152
154
|
"@voyant-travel/identity-react": "^0.138.0",
|
|
153
155
|
"@voyant-travel/legal-react": "^0.138.0",
|
|
154
156
|
"@voyant-travel/commerce-react": "^0.20.0",
|
|
155
|
-
"@voyant-travel/relationships-react": "^0.138.0",
|
|
156
|
-
"@voyant-travel/inventory-react": "^0.20.0",
|
|
157
157
|
"@voyant-travel/operations-react": "^0.19.0",
|
|
158
|
-
"@voyant-travel/
|
|
159
|
-
"@voyant-travel/
|
|
158
|
+
"@voyant-travel/inventory-react": "^0.20.0",
|
|
159
|
+
"@voyant-travel/ui": "^0.108.9"
|
|
160
160
|
},
|
|
161
161
|
"peerDependenciesMeta": {
|
|
162
162
|
"@tanstack/react-table": {
|
|
@@ -204,10 +204,10 @@
|
|
|
204
204
|
},
|
|
205
205
|
"dependencies": {
|
|
206
206
|
"sonner": "^2.0.7",
|
|
207
|
-
"@voyant-travel/
|
|
208
|
-
"@voyant-travel/i18n": "^0.109.6",
|
|
207
|
+
"@voyant-travel/i18n": "^0.109.7",
|
|
209
208
|
"@voyant-travel/react": "^0.104.1",
|
|
210
|
-
"@voyant-travel/types": "^0.106.1"
|
|
209
|
+
"@voyant-travel/types": "^0.106.1",
|
|
210
|
+
"@voyant-travel/catalog-contracts": "^0.108.1"
|
|
211
211
|
},
|
|
212
212
|
"devDependencies": {
|
|
213
213
|
"@tanstack/react-query": "^5.101.2",
|
|
@@ -223,16 +223,16 @@
|
|
|
223
223
|
"vitest": "^4.1.9",
|
|
224
224
|
"zod": "^4.4.3",
|
|
225
225
|
"@voyant-travel/admin": "^0.115.3",
|
|
226
|
-
"@voyant-travel/bookings": "^0.138.
|
|
227
|
-
"@voyant-travel/catalog-react": "^0.136.
|
|
228
|
-
"@voyant-travel/
|
|
229
|
-
"@voyant-travel/distribution-react": "^0.128.2",
|
|
230
|
-
"@voyant-travel/finance-react": "^0.138.2",
|
|
226
|
+
"@voyant-travel/bookings": "^0.138.4",
|
|
227
|
+
"@voyant-travel/catalog-react": "^0.136.1",
|
|
228
|
+
"@voyant-travel/finance-react": "^0.138.6",
|
|
231
229
|
"@voyant-travel/identity-react": "^0.138.0",
|
|
230
|
+
"@voyant-travel/distribution-react": "^0.128.2",
|
|
232
231
|
"@voyant-travel/legal-react": "^0.138.0",
|
|
233
232
|
"@voyant-travel/commerce-react": "^0.20.0",
|
|
234
233
|
"@voyant-travel/inventory-react": "^0.20.0",
|
|
235
234
|
"@voyant-travel/react": "^0.104.1",
|
|
235
|
+
"@voyant-travel/relationships-react": "^0.138.0",
|
|
236
236
|
"@voyant-travel/ui": "^0.108.9",
|
|
237
237
|
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
238
238
|
"@voyant-travel/operations-react": "^0.19.0"
|