@voyantjs/transactions-react 0.6.7 → 0.6.9

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.
@@ -30,9 +30,20 @@ export declare function useOfferMutation(): {
30
30
  notes: string | null;
31
31
  createdAt: string;
32
32
  updatedAt: string;
33
+ contactFirstName?: string | null | undefined;
34
+ contactLastName?: string | null | undefined;
35
+ contactEmail?: string | null | undefined;
36
+ contactPhone?: string | null | undefined;
37
+ contactPreferredLanguage?: string | null | undefined;
38
+ contactCountry?: string | null | undefined;
39
+ contactRegion?: string | null | undefined;
40
+ contactCity?: string | null | undefined;
41
+ contactAddressLine1?: string | null | undefined;
42
+ contactPostalCode?: string | null | undefined;
33
43
  metadata?: {
34
44
  [x: string]: unknown;
35
45
  storefrontPromotionalOffer?: {
46
+ minTravelers: number | null;
36
47
  enabled: boolean;
37
48
  discountType: "percentage" | "fixed_amount";
38
49
  discountValue: string;
@@ -45,7 +56,6 @@ export declare function useOfferMutation(): {
45
56
  currency?: string | null | undefined;
46
57
  validFrom?: string | null | undefined;
47
58
  validTo?: string | null | undefined;
48
- minPassengers?: number | null | undefined;
49
59
  imageMobileUrl?: string | null | undefined;
50
60
  imageDesktopUrl?: string | null | undefined;
51
61
  } | undefined;
@@ -61,6 +71,16 @@ export declare function useOfferMutation(): {
61
71
  quoteId?: string | null | undefined;
62
72
  marketId?: string | null | undefined;
63
73
  sourceChannelId?: string | null | undefined;
74
+ contactFirstName?: string | null | undefined;
75
+ contactLastName?: string | null | undefined;
76
+ contactEmail?: string | null | undefined;
77
+ contactPhone?: string | null | undefined;
78
+ contactPreferredLanguage?: string | null | undefined;
79
+ contactCountry?: string | null | undefined;
80
+ contactRegion?: string | null | undefined;
81
+ contactCity?: string | null | undefined;
82
+ contactAddressLine1?: string | null | undefined;
83
+ contactPostalCode?: string | null | undefined;
64
84
  baseCurrency?: string | null | undefined;
65
85
  fxRateSetId?: string | null | undefined;
66
86
  subtotalAmountCents?: number | undefined;
@@ -88,6 +108,7 @@ export declare function useOfferMutation(): {
88
108
  applicableDepartureIds?: string[] | undefined;
89
109
  validFrom?: string | null | undefined;
90
110
  validTo?: string | null | undefined;
111
+ minTravelers?: number | null | undefined;
91
112
  minPassengers?: number | null | undefined;
92
113
  imageMobileUrl?: string | null | undefined;
93
114
  imageDesktopUrl?: string | null | undefined;
@@ -122,9 +143,20 @@ export declare function useOfferMutation(): {
122
143
  notes: string | null;
123
144
  createdAt: string;
124
145
  updatedAt: string;
146
+ contactFirstName?: string | null | undefined;
147
+ contactLastName?: string | null | undefined;
148
+ contactEmail?: string | null | undefined;
149
+ contactPhone?: string | null | undefined;
150
+ contactPreferredLanguage?: string | null | undefined;
151
+ contactCountry?: string | null | undefined;
152
+ contactRegion?: string | null | undefined;
153
+ contactCity?: string | null | undefined;
154
+ contactAddressLine1?: string | null | undefined;
155
+ contactPostalCode?: string | null | undefined;
125
156
  metadata?: {
126
157
  [x: string]: unknown;
127
158
  storefrontPromotionalOffer?: {
159
+ minTravelers: number | null;
128
160
  enabled: boolean;
129
161
  discountType: "percentage" | "fixed_amount";
130
162
  discountValue: string;
@@ -137,7 +169,6 @@ export declare function useOfferMutation(): {
137
169
  currency?: string | null | undefined;
138
170
  validFrom?: string | null | undefined;
139
171
  validTo?: string | null | undefined;
140
- minPassengers?: number | null | undefined;
141
172
  imageMobileUrl?: string | null | undefined;
142
173
  imageDesktopUrl?: string | null | undefined;
143
174
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"use-offer-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-offer-mutation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAClF,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAO5B,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEhE,wBAAgB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqBY,MAAM;eAAS,gBAAgB;;;;;EAgC1E"}
1
+ {"version":3,"file":"use-offer-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-offer-mutation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAClF,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAO5B,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEhE,wBAAgB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqBY,MAAM;eAAS,gBAAgB;;;;;EAgC1E"}
@@ -30,9 +30,20 @@ export declare function useOffers(options?: UseOffersOptions): import("@tanstack
30
30
  notes: string | null;
31
31
  createdAt: string;
32
32
  updatedAt: string;
33
+ contactFirstName?: string | null | undefined;
34
+ contactLastName?: string | null | undefined;
35
+ contactEmail?: string | null | undefined;
36
+ contactPhone?: string | null | undefined;
37
+ contactPreferredLanguage?: string | null | undefined;
38
+ contactCountry?: string | null | undefined;
39
+ contactRegion?: string | null | undefined;
40
+ contactCity?: string | null | undefined;
41
+ contactAddressLine1?: string | null | undefined;
42
+ contactPostalCode?: string | null | undefined;
33
43
  metadata?: {
34
44
  [x: string]: unknown;
35
45
  storefrontPromotionalOffer?: {
46
+ minTravelers: number | null;
36
47
  enabled: boolean;
37
48
  discountType: "percentage" | "fixed_amount";
38
49
  discountValue: string;
@@ -45,7 +56,6 @@ export declare function useOffers(options?: UseOffersOptions): import("@tanstack
45
56
  currency?: string | null | undefined;
46
57
  validFrom?: string | null | undefined;
47
58
  validTo?: string | null | undefined;
48
- minPassengers?: number | null | undefined;
49
59
  imageMobileUrl?: string | null | undefined;
50
60
  imageDesktopUrl?: string | null | undefined;
51
61
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"use-offers.d.ts","sourceRoot":"","sources":["../../src/hooks/use-offers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGzD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQvD"}
1
+ {"version":3,"file":"use-offers.d.ts","sourceRoot":"","sources":["../../src/hooks/use-offers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGzD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQvD"}
@@ -30,6 +30,16 @@ export declare function useOrderMutation(): {
30
30
  notes: string | null;
31
31
  createdAt: string;
32
32
  updatedAt: string;
33
+ contactFirstName?: string | null | undefined;
34
+ contactLastName?: string | null | undefined;
35
+ contactEmail?: string | null | undefined;
36
+ contactPhone?: string | null | undefined;
37
+ contactPreferredLanguage?: string | null | undefined;
38
+ contactCountry?: string | null | undefined;
39
+ contactRegion?: string | null | undefined;
40
+ contactCity?: string | null | undefined;
41
+ contactAddressLine1?: string | null | undefined;
42
+ contactPostalCode?: string | null | undefined;
33
43
  metadata?: Record<string, unknown> | null | undefined;
34
44
  }, Error, {
35
45
  orderNumber: string;
@@ -43,6 +53,16 @@ export declare function useOrderMutation(): {
43
53
  quoteId?: string | null | undefined;
44
54
  marketId?: string | null | undefined;
45
55
  sourceChannelId?: string | null | undefined;
56
+ contactFirstName?: string | null | undefined;
57
+ contactLastName?: string | null | undefined;
58
+ contactEmail?: string | null | undefined;
59
+ contactPhone?: string | null | undefined;
60
+ contactPreferredLanguage?: string | null | undefined;
61
+ contactCountry?: string | null | undefined;
62
+ contactRegion?: string | null | undefined;
63
+ contactCity?: string | null | undefined;
64
+ contactAddressLine1?: string | null | undefined;
65
+ contactPostalCode?: string | null | undefined;
46
66
  baseCurrency?: string | null | undefined;
47
67
  fxRateSetId?: string | null | undefined;
48
68
  subtotalAmountCents?: number | undefined;
@@ -84,6 +104,16 @@ export declare function useOrderMutation(): {
84
104
  notes: string | null;
85
105
  createdAt: string;
86
106
  updatedAt: string;
107
+ contactFirstName?: string | null | undefined;
108
+ contactLastName?: string | null | undefined;
109
+ contactEmail?: string | null | undefined;
110
+ contactPhone?: string | null | undefined;
111
+ contactPreferredLanguage?: string | null | undefined;
112
+ contactCountry?: string | null | undefined;
113
+ contactRegion?: string | null | undefined;
114
+ contactCity?: string | null | undefined;
115
+ contactAddressLine1?: string | null | undefined;
116
+ contactPostalCode?: string | null | undefined;
87
117
  metadata?: Record<string, unknown> | null | undefined;
88
118
  }, Error, {
89
119
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"use-order-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-order-mutation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAClF,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAO5B,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEhE,wBAAgB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqBY,MAAM;eAAS,gBAAgB;;;;;EAgC1E"}
1
+ {"version":3,"file":"use-order-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-order-mutation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAClF,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAO5B,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAChE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEhE,wBAAgB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqBY,MAAM;eAAS,gBAAgB;;;;;EAgC1E"}
@@ -30,6 +30,16 @@ export declare function useOrders(options?: UseOrdersOptions): import("@tanstack
30
30
  notes: string | null;
31
31
  createdAt: string;
32
32
  updatedAt: string;
33
+ contactFirstName?: string | null | undefined;
34
+ contactLastName?: string | null | undefined;
35
+ contactEmail?: string | null | undefined;
36
+ contactPhone?: string | null | undefined;
37
+ contactPreferredLanguage?: string | null | undefined;
38
+ contactCountry?: string | null | undefined;
39
+ contactRegion?: string | null | undefined;
40
+ contactCity?: string | null | undefined;
41
+ contactAddressLine1?: string | null | undefined;
42
+ contactPostalCode?: string | null | undefined;
33
43
  metadata?: Record<string, unknown> | null | undefined;
34
44
  }[];
35
45
  total: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-orders.d.ts","sourceRoot":"","sources":["../../src/hooks/use-orders.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGzD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQvD"}
1
+ {"version":3,"file":"use-orders.d.ts","sourceRoot":"","sources":["../../src/hooks/use-orders.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGzD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQvD"}
@@ -29,9 +29,20 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
29
29
  notes: string | null;
30
30
  createdAt: string;
31
31
  updatedAt: string;
32
+ contactFirstName?: string | null | undefined;
33
+ contactLastName?: string | null | undefined;
34
+ contactEmail?: string | null | undefined;
35
+ contactPhone?: string | null | undefined;
36
+ contactPreferredLanguage?: string | null | undefined;
37
+ contactCountry?: string | null | undefined;
38
+ contactRegion?: string | null | undefined;
39
+ contactCity?: string | null | undefined;
40
+ contactAddressLine1?: string | null | undefined;
41
+ contactPostalCode?: string | null | undefined;
32
42
  metadata?: {
33
43
  [x: string]: unknown;
34
44
  storefrontPromotionalOffer?: {
45
+ minTravelers: number | null;
35
46
  enabled: boolean;
36
47
  discountType: "percentage" | "fixed_amount";
37
48
  discountValue: string;
@@ -44,7 +55,6 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
44
55
  currency?: string | null | undefined;
45
56
  validFrom?: string | null | undefined;
46
57
  validTo?: string | null | undefined;
47
- minPassengers?: number | null | undefined;
48
58
  imageMobileUrl?: string | null | undefined;
49
59
  imageDesktopUrl?: string | null | undefined;
50
60
  } | undefined;
@@ -81,9 +91,20 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
81
91
  notes: string | null;
82
92
  createdAt: string;
83
93
  updatedAt: string;
94
+ contactFirstName?: string | null | undefined;
95
+ contactLastName?: string | null | undefined;
96
+ contactEmail?: string | null | undefined;
97
+ contactPhone?: string | null | undefined;
98
+ contactPreferredLanguage?: string | null | undefined;
99
+ contactCountry?: string | null | undefined;
100
+ contactRegion?: string | null | undefined;
101
+ contactCity?: string | null | undefined;
102
+ contactAddressLine1?: string | null | undefined;
103
+ contactPostalCode?: string | null | undefined;
84
104
  metadata?: {
85
105
  [x: string]: unknown;
86
106
  storefrontPromotionalOffer?: {
107
+ minTravelers: number | null;
87
108
  enabled: boolean;
88
109
  discountType: "percentage" | "fixed_amount";
89
110
  discountValue: string;
@@ -96,7 +117,6 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
96
117
  currency?: string | null | undefined;
97
118
  validFrom?: string | null | undefined;
98
119
  validTo?: string | null | undefined;
99
- minPassengers?: number | null | undefined;
100
120
  imageMobileUrl?: string | null | undefined;
101
121
  imageDesktopUrl?: string | null | undefined;
102
122
  } | undefined;
@@ -134,9 +154,20 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
134
154
  notes: string | null;
135
155
  createdAt: string;
136
156
  updatedAt: string;
157
+ contactFirstName?: string | null | undefined;
158
+ contactLastName?: string | null | undefined;
159
+ contactEmail?: string | null | undefined;
160
+ contactPhone?: string | null | undefined;
161
+ contactPreferredLanguage?: string | null | undefined;
162
+ contactCountry?: string | null | undefined;
163
+ contactRegion?: string | null | undefined;
164
+ contactCity?: string | null | undefined;
165
+ contactAddressLine1?: string | null | undefined;
166
+ contactPostalCode?: string | null | undefined;
137
167
  metadata?: {
138
168
  [x: string]: unknown;
139
169
  storefrontPromotionalOffer?: {
170
+ minTravelers: number | null;
140
171
  enabled: boolean;
141
172
  discountType: "percentage" | "fixed_amount";
142
173
  discountValue: string;
@@ -149,7 +180,6 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
149
180
  currency?: string | null | undefined;
150
181
  validFrom?: string | null | undefined;
151
182
  validTo?: string | null | undefined;
152
- minPassengers?: number | null | undefined;
153
183
  imageMobileUrl?: string | null | undefined;
154
184
  imageDesktopUrl?: string | null | undefined;
155
185
  } | undefined;
@@ -189,9 +219,20 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
189
219
  notes: string | null;
190
220
  createdAt: string;
191
221
  updatedAt: string;
222
+ contactFirstName?: string | null | undefined;
223
+ contactLastName?: string | null | undefined;
224
+ contactEmail?: string | null | undefined;
225
+ contactPhone?: string | null | undefined;
226
+ contactPreferredLanguage?: string | null | undefined;
227
+ contactCountry?: string | null | undefined;
228
+ contactRegion?: string | null | undefined;
229
+ contactCity?: string | null | undefined;
230
+ contactAddressLine1?: string | null | undefined;
231
+ contactPostalCode?: string | null | undefined;
192
232
  metadata?: {
193
233
  [x: string]: unknown;
194
234
  storefrontPromotionalOffer?: {
235
+ minTravelers: number | null;
195
236
  enabled: boolean;
196
237
  discountType: "percentage" | "fixed_amount";
197
238
  discountValue: string;
@@ -204,7 +245,6 @@ export declare function getOffersQueryOptions(client: FetchWithValidationOptions
204
245
  currency?: string | null | undefined;
205
246
  validFrom?: string | null | undefined;
206
247
  validTo?: string | null | undefined;
207
- minPassengers?: number | null | undefined;
208
248
  imageMobileUrl?: string | null | undefined;
209
249
  imageDesktopUrl?: string | null | undefined;
210
250
  } | undefined;
@@ -244,9 +284,20 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
244
284
  notes: string | null;
245
285
  createdAt: string;
246
286
  updatedAt: string;
287
+ contactFirstName?: string | null | undefined;
288
+ contactLastName?: string | null | undefined;
289
+ contactEmail?: string | null | undefined;
290
+ contactPhone?: string | null | undefined;
291
+ contactPreferredLanguage?: string | null | undefined;
292
+ contactCountry?: string | null | undefined;
293
+ contactRegion?: string | null | undefined;
294
+ contactCity?: string | null | undefined;
295
+ contactAddressLine1?: string | null | undefined;
296
+ contactPostalCode?: string | null | undefined;
247
297
  metadata?: {
248
298
  [x: string]: unknown;
249
299
  storefrontPromotionalOffer?: {
300
+ minTravelers: number | null;
250
301
  enabled: boolean;
251
302
  discountType: "percentage" | "fixed_amount";
252
303
  discountValue: string;
@@ -259,7 +310,6 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
259
310
  currency?: string | null | undefined;
260
311
  validFrom?: string | null | undefined;
261
312
  validTo?: string | null | undefined;
262
- minPassengers?: number | null | undefined;
263
313
  imageMobileUrl?: string | null | undefined;
264
314
  imageDesktopUrl?: string | null | undefined;
265
315
  } | undefined;
@@ -291,9 +341,20 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
291
341
  notes: string | null;
292
342
  createdAt: string;
293
343
  updatedAt: string;
344
+ contactFirstName?: string | null | undefined;
345
+ contactLastName?: string | null | undefined;
346
+ contactEmail?: string | null | undefined;
347
+ contactPhone?: string | null | undefined;
348
+ contactPreferredLanguage?: string | null | undefined;
349
+ contactCountry?: string | null | undefined;
350
+ contactRegion?: string | null | undefined;
351
+ contactCity?: string | null | undefined;
352
+ contactAddressLine1?: string | null | undefined;
353
+ contactPostalCode?: string | null | undefined;
294
354
  metadata?: {
295
355
  [x: string]: unknown;
296
356
  storefrontPromotionalOffer?: {
357
+ minTravelers: number | null;
297
358
  enabled: boolean;
298
359
  discountType: "percentage" | "fixed_amount";
299
360
  discountValue: string;
@@ -306,7 +367,6 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
306
367
  currency?: string | null | undefined;
307
368
  validFrom?: string | null | undefined;
308
369
  validTo?: string | null | undefined;
309
- minPassengers?: number | null | undefined;
310
370
  imageMobileUrl?: string | null | undefined;
311
371
  imageDesktopUrl?: string | null | undefined;
312
372
  } | undefined;
@@ -339,9 +399,20 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
339
399
  notes: string | null;
340
400
  createdAt: string;
341
401
  updatedAt: string;
402
+ contactFirstName?: string | null | undefined;
403
+ contactLastName?: string | null | undefined;
404
+ contactEmail?: string | null | undefined;
405
+ contactPhone?: string | null | undefined;
406
+ contactPreferredLanguage?: string | null | undefined;
407
+ contactCountry?: string | null | undefined;
408
+ contactRegion?: string | null | undefined;
409
+ contactCity?: string | null | undefined;
410
+ contactAddressLine1?: string | null | undefined;
411
+ contactPostalCode?: string | null | undefined;
342
412
  metadata?: {
343
413
  [x: string]: unknown;
344
414
  storefrontPromotionalOffer?: {
415
+ minTravelers: number | null;
345
416
  enabled: boolean;
346
417
  discountType: "percentage" | "fixed_amount";
347
418
  discountValue: string;
@@ -354,7 +425,6 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
354
425
  currency?: string | null | undefined;
355
426
  validFrom?: string | null | undefined;
356
427
  validTo?: string | null | undefined;
357
- minPassengers?: number | null | undefined;
358
428
  imageMobileUrl?: string | null | undefined;
359
429
  imageDesktopUrl?: string | null | undefined;
360
430
  } | undefined;
@@ -389,9 +459,20 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
389
459
  notes: string | null;
390
460
  createdAt: string;
391
461
  updatedAt: string;
462
+ contactFirstName?: string | null | undefined;
463
+ contactLastName?: string | null | undefined;
464
+ contactEmail?: string | null | undefined;
465
+ contactPhone?: string | null | undefined;
466
+ contactPreferredLanguage?: string | null | undefined;
467
+ contactCountry?: string | null | undefined;
468
+ contactRegion?: string | null | undefined;
469
+ contactCity?: string | null | undefined;
470
+ contactAddressLine1?: string | null | undefined;
471
+ contactPostalCode?: string | null | undefined;
392
472
  metadata?: {
393
473
  [x: string]: unknown;
394
474
  storefrontPromotionalOffer?: {
475
+ minTravelers: number | null;
395
476
  enabled: boolean;
396
477
  discountType: "percentage" | "fixed_amount";
397
478
  discountValue: string;
@@ -404,7 +485,6 @@ export declare function getOfferQueryOptions(client: FetchWithValidationOptions,
404
485
  currency?: string | null | undefined;
405
486
  validFrom?: string | null | undefined;
406
487
  validTo?: string | null | undefined;
407
- minPassengers?: number | null | undefined;
408
488
  imageMobileUrl?: string | null | undefined;
409
489
  imageDesktopUrl?: string | null | undefined;
410
490
  } | undefined;
@@ -441,6 +521,16 @@ export declare function getOrdersQueryOptions(client: FetchWithValidationOptions
441
521
  notes: string | null;
442
522
  createdAt: string;
443
523
  updatedAt: string;
524
+ contactFirstName?: string | null | undefined;
525
+ contactLastName?: string | null | undefined;
526
+ contactEmail?: string | null | undefined;
527
+ contactPhone?: string | null | undefined;
528
+ contactPreferredLanguage?: string | null | undefined;
529
+ contactCountry?: string | null | undefined;
530
+ contactRegion?: string | null | undefined;
531
+ contactCity?: string | null | undefined;
532
+ contactAddressLine1?: string | null | undefined;
533
+ contactPostalCode?: string | null | undefined;
444
534
  metadata?: Record<string, unknown> | null | undefined;
445
535
  }[];
446
536
  total: number;
@@ -474,6 +564,16 @@ export declare function getOrdersQueryOptions(client: FetchWithValidationOptions
474
564
  notes: string | null;
475
565
  createdAt: string;
476
566
  updatedAt: string;
567
+ contactFirstName?: string | null | undefined;
568
+ contactLastName?: string | null | undefined;
569
+ contactEmail?: string | null | undefined;
570
+ contactPhone?: string | null | undefined;
571
+ contactPreferredLanguage?: string | null | undefined;
572
+ contactCountry?: string | null | undefined;
573
+ contactRegion?: string | null | undefined;
574
+ contactCity?: string | null | undefined;
575
+ contactAddressLine1?: string | null | undefined;
576
+ contactPostalCode?: string | null | undefined;
477
577
  metadata?: Record<string, unknown> | null | undefined;
478
578
  }[];
479
579
  total: number;
@@ -508,6 +608,16 @@ export declare function getOrdersQueryOptions(client: FetchWithValidationOptions
508
608
  notes: string | null;
509
609
  createdAt: string;
510
610
  updatedAt: string;
611
+ contactFirstName?: string | null | undefined;
612
+ contactLastName?: string | null | undefined;
613
+ contactEmail?: string | null | undefined;
614
+ contactPhone?: string | null | undefined;
615
+ contactPreferredLanguage?: string | null | undefined;
616
+ contactCountry?: string | null | undefined;
617
+ contactRegion?: string | null | undefined;
618
+ contactCity?: string | null | undefined;
619
+ contactAddressLine1?: string | null | undefined;
620
+ contactPostalCode?: string | null | undefined;
511
621
  metadata?: Record<string, unknown> | null | undefined;
512
622
  }[];
513
623
  total: number;
@@ -544,6 +654,16 @@ export declare function getOrdersQueryOptions(client: FetchWithValidationOptions
544
654
  notes: string | null;
545
655
  createdAt: string;
546
656
  updatedAt: string;
657
+ contactFirstName?: string | null | undefined;
658
+ contactLastName?: string | null | undefined;
659
+ contactEmail?: string | null | undefined;
660
+ contactPhone?: string | null | undefined;
661
+ contactPreferredLanguage?: string | null | undefined;
662
+ contactCountry?: string | null | undefined;
663
+ contactRegion?: string | null | undefined;
664
+ contactCity?: string | null | undefined;
665
+ contactAddressLine1?: string | null | undefined;
666
+ contactPostalCode?: string | null | undefined;
547
667
  metadata?: Record<string, unknown> | null | undefined;
548
668
  }[];
549
669
  total: number;
@@ -580,6 +700,16 @@ export declare function getOrderQueryOptions(client: FetchWithValidationOptions,
580
700
  notes: string | null;
581
701
  createdAt: string;
582
702
  updatedAt: string;
703
+ contactFirstName?: string | null | undefined;
704
+ contactLastName?: string | null | undefined;
705
+ contactEmail?: string | null | undefined;
706
+ contactPhone?: string | null | undefined;
707
+ contactPreferredLanguage?: string | null | undefined;
708
+ contactCountry?: string | null | undefined;
709
+ contactRegion?: string | null | undefined;
710
+ contactCity?: string | null | undefined;
711
+ contactAddressLine1?: string | null | undefined;
712
+ contactPostalCode?: string | null | undefined;
583
713
  metadata?: Record<string, unknown> | null | undefined;
584
714
  }, Error, {
585
715
  orderNumber: string;
@@ -608,6 +738,16 @@ export declare function getOrderQueryOptions(client: FetchWithValidationOptions,
608
738
  notes: string | null;
609
739
  createdAt: string;
610
740
  updatedAt: string;
741
+ contactFirstName?: string | null | undefined;
742
+ contactLastName?: string | null | undefined;
743
+ contactEmail?: string | null | undefined;
744
+ contactPhone?: string | null | undefined;
745
+ contactPreferredLanguage?: string | null | undefined;
746
+ contactCountry?: string | null | undefined;
747
+ contactRegion?: string | null | undefined;
748
+ contactCity?: string | null | undefined;
749
+ contactAddressLine1?: string | null | undefined;
750
+ contactPostalCode?: string | null | undefined;
611
751
  metadata?: Record<string, unknown> | null | undefined;
612
752
  }, readonly ["transactions", "orders", string]>, "queryFn"> & {
613
753
  queryFn?: import("@tanstack/react-query").QueryFunction<{
@@ -637,6 +777,16 @@ export declare function getOrderQueryOptions(client: FetchWithValidationOptions,
637
777
  notes: string | null;
638
778
  createdAt: string;
639
779
  updatedAt: string;
780
+ contactFirstName?: string | null | undefined;
781
+ contactLastName?: string | null | undefined;
782
+ contactEmail?: string | null | undefined;
783
+ contactPhone?: string | null | undefined;
784
+ contactPreferredLanguage?: string | null | undefined;
785
+ contactCountry?: string | null | undefined;
786
+ contactRegion?: string | null | undefined;
787
+ contactCity?: string | null | undefined;
788
+ contactAddressLine1?: string | null | undefined;
789
+ contactPostalCode?: string | null | undefined;
640
790
  metadata?: Record<string, unknown> | null | undefined;
641
791
  }, readonly ["transactions", "orders", string], never> | undefined;
642
792
  } & {
@@ -668,6 +818,16 @@ export declare function getOrderQueryOptions(client: FetchWithValidationOptions,
668
818
  notes: string | null;
669
819
  createdAt: string;
670
820
  updatedAt: string;
821
+ contactFirstName?: string | null | undefined;
822
+ contactLastName?: string | null | undefined;
823
+ contactEmail?: string | null | undefined;
824
+ contactPhone?: string | null | undefined;
825
+ contactPreferredLanguage?: string | null | undefined;
826
+ contactCountry?: string | null | undefined;
827
+ contactRegion?: string | null | undefined;
828
+ contactCity?: string | null | undefined;
829
+ contactAddressLine1?: string | null | undefined;
830
+ contactPostalCode?: string | null | undefined;
671
831
  metadata?: Record<string, unknown> | null | undefined;
672
832
  };
673
833
  [dataTagErrorSymbol]: Error;
@@ -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,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAmB7D,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYlF;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYlF"}
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,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAmB7D,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYlF;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYlF"}
package/dist/schemas.d.ts CHANGED
@@ -24,6 +24,16 @@ export declare const offerRecordSchema: z.ZodObject<{
24
24
  withdrawn: "withdrawn";
25
25
  converted: "converted";
26
26
  }>>;
27
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
37
  currency: z.ZodString;
28
38
  id: z.ZodString;
29
39
  personId: z.ZodNullable<z.ZodString>;
@@ -46,7 +56,7 @@ export declare const offerRecordSchema: z.ZodObject<{
46
56
  convertedAt: z.ZodNullable<z.ZodString>;
47
57
  notes: z.ZodNullable<z.ZodString>;
48
58
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
- storefrontPromotionalOffer: z.ZodOptional<z.ZodObject<{
59
+ storefrontPromotionalOffer: z.ZodOptional<z.ZodPipe<z.ZodObject<{
50
60
  enabled: z.ZodDefault<z.ZodBoolean>;
51
61
  locale: z.ZodNullable<z.ZodOptional<z.ZodString>>;
52
62
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -61,11 +71,45 @@ export declare const offerRecordSchema: z.ZodObject<{
61
71
  applicableDepartureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
62
72
  validFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
63
73
  validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
74
+ minTravelers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
64
75
  minPassengers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
65
76
  imageMobileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
66
77
  imageDesktopUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
67
78
  stackable: z.ZodDefault<z.ZodBoolean>;
68
- }, z.core.$strip>>;
79
+ }, z.core.$strip>, z.ZodTransform<{
80
+ minTravelers: number | null;
81
+ enabled: boolean;
82
+ discountType: "percentage" | "fixed_amount";
83
+ discountValue: string;
84
+ applicableProductIds: string[];
85
+ applicableDepartureIds: string[];
86
+ stackable: boolean;
87
+ locale?: string | null | undefined;
88
+ slug?: string | null | undefined;
89
+ description?: string | null | undefined;
90
+ currency?: string | null | undefined;
91
+ validFrom?: string | null | undefined;
92
+ validTo?: string | null | undefined;
93
+ imageMobileUrl?: string | null | undefined;
94
+ imageDesktopUrl?: string | null | undefined;
95
+ }, {
96
+ enabled: boolean;
97
+ discountType: "percentage" | "fixed_amount";
98
+ discountValue: string;
99
+ applicableProductIds: string[];
100
+ applicableDepartureIds: string[];
101
+ stackable: boolean;
102
+ locale?: string | null | undefined;
103
+ slug?: string | null | undefined;
104
+ description?: string | null | undefined;
105
+ currency?: string | null | undefined;
106
+ validFrom?: string | null | undefined;
107
+ validTo?: string | null | undefined;
108
+ minTravelers?: number | null | undefined;
109
+ minPassengers?: number | null | undefined;
110
+ imageMobileUrl?: string | null | undefined;
111
+ imageDesktopUrl?: string | null | undefined;
112
+ }>>>;
69
113
  }, z.core.$catchall<z.ZodUnknown>>>>;
70
114
  createdAt: z.ZodString;
71
115
  updatedAt: z.ZodString;
@@ -83,6 +127,16 @@ export declare const orderRecordSchema: z.ZodObject<{
83
127
  fulfilled: "fulfilled";
84
128
  cancelled: "cancelled";
85
129
  }>>;
130
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
140
  currency: z.ZodString;
87
141
  id: z.ZodString;
88
142
  offerId: z.ZodNullable<z.ZodString>;
@@ -122,6 +176,16 @@ export declare const offerListResponse: z.ZodObject<{
122
176
  withdrawn: "withdrawn";
123
177
  converted: "converted";
124
178
  }>>;
179
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
180
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
189
  currency: z.ZodString;
126
190
  id: z.ZodString;
127
191
  personId: z.ZodNullable<z.ZodString>;
@@ -144,7 +208,7 @@ export declare const offerListResponse: z.ZodObject<{
144
208
  convertedAt: z.ZodNullable<z.ZodString>;
145
209
  notes: z.ZodNullable<z.ZodString>;
146
210
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
147
- storefrontPromotionalOffer: z.ZodOptional<z.ZodObject<{
211
+ storefrontPromotionalOffer: z.ZodOptional<z.ZodPipe<z.ZodObject<{
148
212
  enabled: z.ZodDefault<z.ZodBoolean>;
149
213
  locale: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
214
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -159,11 +223,45 @@ export declare const offerListResponse: z.ZodObject<{
159
223
  applicableDepartureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
160
224
  validFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
161
225
  validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
226
+ minTravelers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
162
227
  minPassengers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
163
228
  imageMobileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
229
  imageDesktopUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
230
  stackable: z.ZodDefault<z.ZodBoolean>;
166
- }, z.core.$strip>>;
231
+ }, z.core.$strip>, z.ZodTransform<{
232
+ minTravelers: number | null;
233
+ enabled: boolean;
234
+ discountType: "percentage" | "fixed_amount";
235
+ discountValue: string;
236
+ applicableProductIds: string[];
237
+ applicableDepartureIds: string[];
238
+ stackable: boolean;
239
+ locale?: string | null | undefined;
240
+ slug?: string | null | undefined;
241
+ description?: string | null | undefined;
242
+ currency?: string | null | undefined;
243
+ validFrom?: string | null | undefined;
244
+ validTo?: string | null | undefined;
245
+ imageMobileUrl?: string | null | undefined;
246
+ imageDesktopUrl?: string | null | undefined;
247
+ }, {
248
+ enabled: boolean;
249
+ discountType: "percentage" | "fixed_amount";
250
+ discountValue: string;
251
+ applicableProductIds: string[];
252
+ applicableDepartureIds: string[];
253
+ stackable: boolean;
254
+ locale?: string | null | undefined;
255
+ slug?: string | null | undefined;
256
+ description?: string | null | undefined;
257
+ currency?: string | null | undefined;
258
+ validFrom?: string | null | undefined;
259
+ validTo?: string | null | undefined;
260
+ minTravelers?: number | null | undefined;
261
+ minPassengers?: number | null | undefined;
262
+ imageMobileUrl?: string | null | undefined;
263
+ imageDesktopUrl?: string | null | undefined;
264
+ }>>>;
167
265
  }, z.core.$catchall<z.ZodUnknown>>>>;
168
266
  createdAt: z.ZodString;
169
267
  updatedAt: z.ZodString;
@@ -185,6 +283,16 @@ export declare const offerSingleResponse: z.ZodObject<{
185
283
  withdrawn: "withdrawn";
186
284
  converted: "converted";
187
285
  }>>;
286
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
296
  currency: z.ZodString;
189
297
  id: z.ZodString;
190
298
  personId: z.ZodNullable<z.ZodString>;
@@ -207,7 +315,7 @@ export declare const offerSingleResponse: z.ZodObject<{
207
315
  convertedAt: z.ZodNullable<z.ZodString>;
208
316
  notes: z.ZodNullable<z.ZodString>;
209
317
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
210
- storefrontPromotionalOffer: z.ZodOptional<z.ZodObject<{
318
+ storefrontPromotionalOffer: z.ZodOptional<z.ZodPipe<z.ZodObject<{
211
319
  enabled: z.ZodDefault<z.ZodBoolean>;
212
320
  locale: z.ZodNullable<z.ZodOptional<z.ZodString>>;
213
321
  slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -222,11 +330,45 @@ export declare const offerSingleResponse: z.ZodObject<{
222
330
  applicableDepartureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
223
331
  validFrom: z.ZodNullable<z.ZodOptional<z.ZodString>>;
224
332
  validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
333
+ minTravelers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
225
334
  minPassengers: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
226
335
  imageMobileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
227
336
  imageDesktopUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
228
337
  stackable: z.ZodDefault<z.ZodBoolean>;
229
- }, z.core.$strip>>;
338
+ }, z.core.$strip>, z.ZodTransform<{
339
+ minTravelers: number | null;
340
+ enabled: boolean;
341
+ discountType: "percentage" | "fixed_amount";
342
+ discountValue: string;
343
+ applicableProductIds: string[];
344
+ applicableDepartureIds: string[];
345
+ stackable: boolean;
346
+ locale?: string | null | undefined;
347
+ slug?: string | null | undefined;
348
+ description?: string | null | undefined;
349
+ currency?: string | null | undefined;
350
+ validFrom?: string | null | undefined;
351
+ validTo?: string | null | undefined;
352
+ imageMobileUrl?: string | null | undefined;
353
+ imageDesktopUrl?: string | null | undefined;
354
+ }, {
355
+ enabled: boolean;
356
+ discountType: "percentage" | "fixed_amount";
357
+ discountValue: string;
358
+ applicableProductIds: string[];
359
+ applicableDepartureIds: string[];
360
+ stackable: boolean;
361
+ locale?: string | null | undefined;
362
+ slug?: string | null | undefined;
363
+ description?: string | null | undefined;
364
+ currency?: string | null | undefined;
365
+ validFrom?: string | null | undefined;
366
+ validTo?: string | null | undefined;
367
+ minTravelers?: number | null | undefined;
368
+ minPassengers?: number | null | undefined;
369
+ imageMobileUrl?: string | null | undefined;
370
+ imageDesktopUrl?: string | null | undefined;
371
+ }>>>;
230
372
  }, z.core.$catchall<z.ZodUnknown>>>>;
231
373
  createdAt: z.ZodString;
232
374
  updatedAt: z.ZodString;
@@ -244,6 +386,16 @@ export declare const orderListResponse: z.ZodObject<{
244
386
  fulfilled: "fulfilled";
245
387
  cancelled: "cancelled";
246
388
  }>>;
389
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
391
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
394
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
395
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
396
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
397
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
398
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
399
  currency: z.ZodString;
248
400
  id: z.ZodString;
249
401
  offerId: z.ZodNullable<z.ZodString>;
@@ -285,6 +437,16 @@ export declare const orderSingleResponse: z.ZodObject<{
285
437
  fulfilled: "fulfilled";
286
438
  cancelled: "cancelled";
287
439
  }>>;
440
+ contactFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
+ contactLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
+ contactEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
+ contactPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
+ contactPreferredLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
445
+ contactCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
446
+ contactRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
447
+ contactCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ contactAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
449
+ contactPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
450
  currency: z.ZodString;
289
451
  id: z.ZodString;
290
452
  offerId: z.ZodNullable<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAClG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;;;;iBAM7D,CAAA;AAEJ,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAA6B,CAAA;AAC3F,eAAO,MAAM,eAAe;;iBAAqC,CAAA;AAEjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC3D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE3D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAA;AACpE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAA"}
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAClG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;;;;iBAM7D,CAAA;AAEJ,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAA6B,CAAA;AAC3F,eAAO,MAAM,eAAe;;iBAAqC,CAAA;AAEjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC3D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE3D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAA;AACpE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/transactions-react",
3
- "version": "0.6.7",
3
+ "version": "0.6.9",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "react": "^19.0.0",
36
36
  "react-dom": "^19.0.0",
37
37
  "zod": "^4.0.0",
38
- "@voyantjs/transactions": "0.6.7"
38
+ "@voyantjs/transactions": "0.6.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@tanstack/react-query": "^5.96.2",
@@ -46,12 +46,12 @@
46
46
  "typescript": "^6.0.2",
47
47
  "vitest": "^4.1.2",
48
48
  "zod": "^4.3.6",
49
- "@voyantjs/react": "0.6.7",
50
- "@voyantjs/transactions": "0.6.7",
49
+ "@voyantjs/react": "0.6.9",
50
+ "@voyantjs/transactions": "0.6.9",
51
51
  "@voyantjs/voyant-typescript-config": "0.1.0"
52
52
  },
53
53
  "dependencies": {
54
- "@voyantjs/react": "0.6.7"
54
+ "@voyantjs/react": "0.6.9"
55
55
  },
56
56
  "files": [
57
57
  "dist"