@voyantjs/storefront-react 0.50.0 → 0.50.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/hooks/use-admin-storefront-settings.d.ts +42 -0
- package/dist/hooks/use-admin-storefront-settings.d.ts.map +1 -1
- package/dist/hooks/use-storefront-settings.d.ts +14 -0
- package/dist/hooks/use-storefront-settings.d.ts.map +1 -1
- package/dist/operations.d.ts +42 -0
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.test.js +2 -0
- package/dist/query-options.d.ts +112 -0
- package/dist/query-options.d.ts.map +1 -1
- package/dist/schemas.d.ts +20 -0
- package/dist/schemas.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -69,11 +69,25 @@ export declare function useAdminStorefrontSettings(options?: UseAdminStorefrontS
|
|
|
69
69
|
description: string | null;
|
|
70
70
|
enabled: boolean;
|
|
71
71
|
}[];
|
|
72
|
+
structure: "split" | "full";
|
|
73
|
+
schedule: {
|
|
74
|
+
percent: number;
|
|
75
|
+
dueInDays: number;
|
|
76
|
+
dueCondition: "after_booking" | "before_departure";
|
|
77
|
+
}[];
|
|
72
78
|
defaultSchedule: {
|
|
73
79
|
depositPercent: number | null;
|
|
74
80
|
balanceDueDaysBeforeDeparture: number | null;
|
|
75
81
|
} | null;
|
|
76
82
|
bankTransfer: {
|
|
83
|
+
dueDays: number | null;
|
|
84
|
+
account: {
|
|
85
|
+
provider: string | null;
|
|
86
|
+
currency: string | null;
|
|
87
|
+
iban: string;
|
|
88
|
+
beneficiary: string;
|
|
89
|
+
bank: string;
|
|
90
|
+
} | null;
|
|
77
91
|
accountHolder: string | null;
|
|
78
92
|
bankName: string | null;
|
|
79
93
|
iban: string | null;
|
|
@@ -151,11 +165,25 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
|
|
|
151
165
|
description: string | null;
|
|
152
166
|
enabled: boolean;
|
|
153
167
|
}[];
|
|
168
|
+
structure: "split" | "full";
|
|
169
|
+
schedule: {
|
|
170
|
+
percent: number;
|
|
171
|
+
dueInDays: number;
|
|
172
|
+
dueCondition: "after_booking" | "before_departure";
|
|
173
|
+
}[];
|
|
154
174
|
defaultSchedule: {
|
|
155
175
|
depositPercent: number | null;
|
|
156
176
|
balanceDueDaysBeforeDeparture: number | null;
|
|
157
177
|
} | null;
|
|
158
178
|
bankTransfer: {
|
|
179
|
+
dueDays: number | null;
|
|
180
|
+
account: {
|
|
181
|
+
provider: string | null;
|
|
182
|
+
currency: string | null;
|
|
183
|
+
iban: string;
|
|
184
|
+
beneficiary: string;
|
|
185
|
+
bank: string;
|
|
186
|
+
} | null;
|
|
159
187
|
accountHolder: string | null;
|
|
160
188
|
bankName: string | null;
|
|
161
189
|
iban: string | null;
|
|
@@ -231,11 +259,25 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
|
|
|
231
259
|
description?: string | null | undefined;
|
|
232
260
|
enabled?: boolean | undefined;
|
|
233
261
|
}[] | undefined;
|
|
262
|
+
structure?: "split" | "full" | undefined;
|
|
263
|
+
schedule?: {
|
|
264
|
+
percent: number;
|
|
265
|
+
dueInDays: number;
|
|
266
|
+
dueCondition: "after_booking" | "before_departure";
|
|
267
|
+
}[] | undefined;
|
|
234
268
|
defaultSchedule?: {
|
|
235
269
|
depositPercent?: number | null | undefined;
|
|
236
270
|
balanceDueDaysBeforeDeparture?: number | null | undefined;
|
|
237
271
|
} | null | undefined;
|
|
238
272
|
bankTransfer?: {
|
|
273
|
+
dueDays?: number | null | undefined;
|
|
274
|
+
account?: {
|
|
275
|
+
iban: string;
|
|
276
|
+
beneficiary: string;
|
|
277
|
+
bank: string;
|
|
278
|
+
provider?: string | null | undefined;
|
|
279
|
+
currency?: string | null | undefined;
|
|
280
|
+
} | null | undefined;
|
|
239
281
|
accountHolder?: string | null | undefined;
|
|
240
282
|
bankName?: string | null | undefined;
|
|
241
283
|
iban?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-storefront-settings.d.ts","sourceRoot":"","sources":["../../src/hooks/use-admin-storefront-settings.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,iCAAiC;IAChD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,0BAA0B,CAAC,OAAO,GAAE,iCAAsC
|
|
1
|
+
{"version":3,"file":"use-admin-storefront-settings.d.ts","sourceRoot":"","sources":["../../src/hooks/use-admin-storefront-settings.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,iCAAiC;IAChD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,0BAA0B,CAAC,OAAO,GAAE,iCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQzF;AAED,wBAAgB,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAejD"}
|
|
@@ -69,11 +69,25 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
|
|
|
69
69
|
description: string | null;
|
|
70
70
|
enabled: boolean;
|
|
71
71
|
}[];
|
|
72
|
+
structure: "split" | "full";
|
|
73
|
+
schedule: {
|
|
74
|
+
percent: number;
|
|
75
|
+
dueInDays: number;
|
|
76
|
+
dueCondition: "after_booking" | "before_departure";
|
|
77
|
+
}[];
|
|
72
78
|
defaultSchedule: {
|
|
73
79
|
depositPercent: number | null;
|
|
74
80
|
balanceDueDaysBeforeDeparture: number | null;
|
|
75
81
|
} | null;
|
|
76
82
|
bankTransfer: {
|
|
83
|
+
dueDays: number | null;
|
|
84
|
+
account: {
|
|
85
|
+
provider: string | null;
|
|
86
|
+
currency: string | null;
|
|
87
|
+
iban: string;
|
|
88
|
+
beneficiary: string;
|
|
89
|
+
bank: string;
|
|
90
|
+
} | null;
|
|
77
91
|
accountHolder: string | null;
|
|
78
92
|
bankName: string | null;
|
|
79
93
|
iban: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-storefront-settings.d.ts","sourceRoot":"","sources":["../../src/hooks/use-storefront-settings.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,qBAAqB,CAAC,OAAO,GAAE,4BAAiC
|
|
1
|
+
{"version":3,"file":"use-storefront-settings.d.ts","sourceRoot":"","sources":["../../src/hooks/use-storefront-settings.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,qBAAqB,CAAC,OAAO,GAAE,4BAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQ/E"}
|
package/dist/operations.d.ts
CHANGED
|
@@ -68,11 +68,25 @@ export declare function getStorefrontSettings(client: FetchWithValidationOptions
|
|
|
68
68
|
description: string | null;
|
|
69
69
|
enabled: boolean;
|
|
70
70
|
}[];
|
|
71
|
+
structure: "split" | "full";
|
|
72
|
+
schedule: {
|
|
73
|
+
percent: number;
|
|
74
|
+
dueInDays: number;
|
|
75
|
+
dueCondition: "after_booking" | "before_departure";
|
|
76
|
+
}[];
|
|
71
77
|
defaultSchedule: {
|
|
72
78
|
depositPercent: number | null;
|
|
73
79
|
balanceDueDaysBeforeDeparture: number | null;
|
|
74
80
|
} | null;
|
|
75
81
|
bankTransfer: {
|
|
82
|
+
dueDays: number | null;
|
|
83
|
+
account: {
|
|
84
|
+
provider: string | null;
|
|
85
|
+
currency: string | null;
|
|
86
|
+
iban: string;
|
|
87
|
+
beneficiary: string;
|
|
88
|
+
bank: string;
|
|
89
|
+
} | null;
|
|
76
90
|
accountHolder: string | null;
|
|
77
91
|
bankName: string | null;
|
|
78
92
|
iban: string | null;
|
|
@@ -151,11 +165,25 @@ export declare function getAdminStorefrontSettings(client: FetchWithValidationOp
|
|
|
151
165
|
description: string | null;
|
|
152
166
|
enabled: boolean;
|
|
153
167
|
}[];
|
|
168
|
+
structure: "split" | "full";
|
|
169
|
+
schedule: {
|
|
170
|
+
percent: number;
|
|
171
|
+
dueInDays: number;
|
|
172
|
+
dueCondition: "after_booking" | "before_departure";
|
|
173
|
+
}[];
|
|
154
174
|
defaultSchedule: {
|
|
155
175
|
depositPercent: number | null;
|
|
156
176
|
balanceDueDaysBeforeDeparture: number | null;
|
|
157
177
|
} | null;
|
|
158
178
|
bankTransfer: {
|
|
179
|
+
dueDays: number | null;
|
|
180
|
+
account: {
|
|
181
|
+
provider: string | null;
|
|
182
|
+
currency: string | null;
|
|
183
|
+
iban: string;
|
|
184
|
+
beneficiary: string;
|
|
185
|
+
bank: string;
|
|
186
|
+
} | null;
|
|
159
187
|
accountHolder: string | null;
|
|
160
188
|
bankName: string | null;
|
|
161
189
|
iban: string | null;
|
|
@@ -234,11 +262,25 @@ export declare function updateAdminStorefrontSettings(client: FetchWithValidatio
|
|
|
234
262
|
description: string | null;
|
|
235
263
|
enabled: boolean;
|
|
236
264
|
}[];
|
|
265
|
+
structure: "split" | "full";
|
|
266
|
+
schedule: {
|
|
267
|
+
percent: number;
|
|
268
|
+
dueInDays: number;
|
|
269
|
+
dueCondition: "after_booking" | "before_departure";
|
|
270
|
+
}[];
|
|
237
271
|
defaultSchedule: {
|
|
238
272
|
depositPercent: number | null;
|
|
239
273
|
balanceDueDaysBeforeDeparture: number | null;
|
|
240
274
|
} | null;
|
|
241
275
|
bankTransfer: {
|
|
276
|
+
dueDays: number | null;
|
|
277
|
+
account: {
|
|
278
|
+
provider: string | null;
|
|
279
|
+
currency: string | null;
|
|
280
|
+
iban: string;
|
|
281
|
+
beneficiary: string;
|
|
282
|
+
bank: string;
|
|
283
|
+
} | null;
|
|
242
284
|
accountHolder: string | null;
|
|
243
285
|
bankName: string | null;
|
|
244
286
|
iban: string | null;
|
package/dist/operations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,0BAA0B,EAAwC,MAAM,aAAa,CAAA;AACnG,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,4BAA4B,EAclC,MAAM,cAAc,CAAA;AAErB,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,0BAA0B
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,0BAA0B,EAAwC,MAAM,aAAa,CAAA;AACnG,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,4BAA4B,EAclC,MAAM,cAAc,CAAA;AAErB,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEvE;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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SAAS,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,mCAAmC;;;;;;;;;;;;;;;;;;;;GAO5C;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,0BAA0B,EAClC,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,IAAI,CAAC,mCAAmC,EAAE,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;GAO5D;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,0BAA0B,EAClC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUjC;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,0BAA0B,EAClC,KAAK,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAalC"}
|
package/dist/operations.test.js
CHANGED
package/dist/query-options.d.ts
CHANGED
|
@@ -68,11 +68,25 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
68
68
|
description: string | null;
|
|
69
69
|
enabled: boolean;
|
|
70
70
|
}[];
|
|
71
|
+
structure: "split" | "full";
|
|
72
|
+
schedule: {
|
|
73
|
+
percent: number;
|
|
74
|
+
dueInDays: number;
|
|
75
|
+
dueCondition: "after_booking" | "before_departure";
|
|
76
|
+
}[];
|
|
71
77
|
defaultSchedule: {
|
|
72
78
|
depositPercent: number | null;
|
|
73
79
|
balanceDueDaysBeforeDeparture: number | null;
|
|
74
80
|
} | null;
|
|
75
81
|
bankTransfer: {
|
|
82
|
+
dueDays: number | null;
|
|
83
|
+
account: {
|
|
84
|
+
provider: string | null;
|
|
85
|
+
currency: string | null;
|
|
86
|
+
iban: string;
|
|
87
|
+
beneficiary: string;
|
|
88
|
+
bank: string;
|
|
89
|
+
} | null;
|
|
76
90
|
accountHolder: string | null;
|
|
77
91
|
bankName: string | null;
|
|
78
92
|
iban: string | null;
|
|
@@ -150,11 +164,25 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
150
164
|
description: string | null;
|
|
151
165
|
enabled: boolean;
|
|
152
166
|
}[];
|
|
167
|
+
structure: "split" | "full";
|
|
168
|
+
schedule: {
|
|
169
|
+
percent: number;
|
|
170
|
+
dueInDays: number;
|
|
171
|
+
dueCondition: "after_booking" | "before_departure";
|
|
172
|
+
}[];
|
|
153
173
|
defaultSchedule: {
|
|
154
174
|
depositPercent: number | null;
|
|
155
175
|
balanceDueDaysBeforeDeparture: number | null;
|
|
156
176
|
} | null;
|
|
157
177
|
bankTransfer: {
|
|
178
|
+
dueDays: number | null;
|
|
179
|
+
account: {
|
|
180
|
+
provider: string | null;
|
|
181
|
+
currency: string | null;
|
|
182
|
+
iban: string;
|
|
183
|
+
beneficiary: string;
|
|
184
|
+
bank: string;
|
|
185
|
+
} | null;
|
|
158
186
|
accountHolder: string | null;
|
|
159
187
|
bankName: string | null;
|
|
160
188
|
iban: string | null;
|
|
@@ -233,11 +261,25 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
233
261
|
description: string | null;
|
|
234
262
|
enabled: boolean;
|
|
235
263
|
}[];
|
|
264
|
+
structure: "split" | "full";
|
|
265
|
+
schedule: {
|
|
266
|
+
percent: number;
|
|
267
|
+
dueInDays: number;
|
|
268
|
+
dueCondition: "after_booking" | "before_departure";
|
|
269
|
+
}[];
|
|
236
270
|
defaultSchedule: {
|
|
237
271
|
depositPercent: number | null;
|
|
238
272
|
balanceDueDaysBeforeDeparture: number | null;
|
|
239
273
|
} | null;
|
|
240
274
|
bankTransfer: {
|
|
275
|
+
dueDays: number | null;
|
|
276
|
+
account: {
|
|
277
|
+
provider: string | null;
|
|
278
|
+
currency: string | null;
|
|
279
|
+
iban: string;
|
|
280
|
+
beneficiary: string;
|
|
281
|
+
bank: string;
|
|
282
|
+
} | null;
|
|
241
283
|
accountHolder: string | null;
|
|
242
284
|
bankName: string | null;
|
|
243
285
|
iban: string | null;
|
|
@@ -318,11 +360,25 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
318
360
|
description: string | null;
|
|
319
361
|
enabled: boolean;
|
|
320
362
|
}[];
|
|
363
|
+
structure: "split" | "full";
|
|
364
|
+
schedule: {
|
|
365
|
+
percent: number;
|
|
366
|
+
dueInDays: number;
|
|
367
|
+
dueCondition: "after_booking" | "before_departure";
|
|
368
|
+
}[];
|
|
321
369
|
defaultSchedule: {
|
|
322
370
|
depositPercent: number | null;
|
|
323
371
|
balanceDueDaysBeforeDeparture: number | null;
|
|
324
372
|
} | null;
|
|
325
373
|
bankTransfer: {
|
|
374
|
+
dueDays: number | null;
|
|
375
|
+
account: {
|
|
376
|
+
provider: string | null;
|
|
377
|
+
currency: string | null;
|
|
378
|
+
iban: string;
|
|
379
|
+
beneficiary: string;
|
|
380
|
+
bank: string;
|
|
381
|
+
} | null;
|
|
326
382
|
accountHolder: string | null;
|
|
327
383
|
bankName: string | null;
|
|
328
384
|
iban: string | null;
|
|
@@ -404,11 +460,25 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
404
460
|
description: string | null;
|
|
405
461
|
enabled: boolean;
|
|
406
462
|
}[];
|
|
463
|
+
structure: "split" | "full";
|
|
464
|
+
schedule: {
|
|
465
|
+
percent: number;
|
|
466
|
+
dueInDays: number;
|
|
467
|
+
dueCondition: "after_booking" | "before_departure";
|
|
468
|
+
}[];
|
|
407
469
|
defaultSchedule: {
|
|
408
470
|
depositPercent: number | null;
|
|
409
471
|
balanceDueDaysBeforeDeparture: number | null;
|
|
410
472
|
} | null;
|
|
411
473
|
bankTransfer: {
|
|
474
|
+
dueDays: number | null;
|
|
475
|
+
account: {
|
|
476
|
+
provider: string | null;
|
|
477
|
+
currency: string | null;
|
|
478
|
+
iban: string;
|
|
479
|
+
beneficiary: string;
|
|
480
|
+
bank: string;
|
|
481
|
+
} | null;
|
|
412
482
|
accountHolder: string | null;
|
|
413
483
|
bankName: string | null;
|
|
414
484
|
iban: string | null;
|
|
@@ -486,11 +556,25 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
486
556
|
description: string | null;
|
|
487
557
|
enabled: boolean;
|
|
488
558
|
}[];
|
|
559
|
+
structure: "split" | "full";
|
|
560
|
+
schedule: {
|
|
561
|
+
percent: number;
|
|
562
|
+
dueInDays: number;
|
|
563
|
+
dueCondition: "after_booking" | "before_departure";
|
|
564
|
+
}[];
|
|
489
565
|
defaultSchedule: {
|
|
490
566
|
depositPercent: number | null;
|
|
491
567
|
balanceDueDaysBeforeDeparture: number | null;
|
|
492
568
|
} | null;
|
|
493
569
|
bankTransfer: {
|
|
570
|
+
dueDays: number | null;
|
|
571
|
+
account: {
|
|
572
|
+
provider: string | null;
|
|
573
|
+
currency: string | null;
|
|
574
|
+
iban: string;
|
|
575
|
+
beneficiary: string;
|
|
576
|
+
bank: string;
|
|
577
|
+
} | null;
|
|
494
578
|
accountHolder: string | null;
|
|
495
579
|
bankName: string | null;
|
|
496
580
|
iban: string | null;
|
|
@@ -569,11 +653,25 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
569
653
|
description: string | null;
|
|
570
654
|
enabled: boolean;
|
|
571
655
|
}[];
|
|
656
|
+
structure: "split" | "full";
|
|
657
|
+
schedule: {
|
|
658
|
+
percent: number;
|
|
659
|
+
dueInDays: number;
|
|
660
|
+
dueCondition: "after_booking" | "before_departure";
|
|
661
|
+
}[];
|
|
572
662
|
defaultSchedule: {
|
|
573
663
|
depositPercent: number | null;
|
|
574
664
|
balanceDueDaysBeforeDeparture: number | null;
|
|
575
665
|
} | null;
|
|
576
666
|
bankTransfer: {
|
|
667
|
+
dueDays: number | null;
|
|
668
|
+
account: {
|
|
669
|
+
provider: string | null;
|
|
670
|
+
currency: string | null;
|
|
671
|
+
iban: string;
|
|
672
|
+
beneficiary: string;
|
|
673
|
+
bank: string;
|
|
674
|
+
} | null;
|
|
577
675
|
accountHolder: string | null;
|
|
578
676
|
bankName: string | null;
|
|
579
677
|
iban: string | null;
|
|
@@ -654,11 +752,25 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
654
752
|
description: string | null;
|
|
655
753
|
enabled: boolean;
|
|
656
754
|
}[];
|
|
755
|
+
structure: "split" | "full";
|
|
756
|
+
schedule: {
|
|
757
|
+
percent: number;
|
|
758
|
+
dueInDays: number;
|
|
759
|
+
dueCondition: "after_booking" | "before_departure";
|
|
760
|
+
}[];
|
|
657
761
|
defaultSchedule: {
|
|
658
762
|
depositPercent: number | null;
|
|
659
763
|
balanceDueDaysBeforeDeparture: number | null;
|
|
660
764
|
} | null;
|
|
661
765
|
bankTransfer: {
|
|
766
|
+
dueDays: number | null;
|
|
767
|
+
account: {
|
|
768
|
+
provider: string | null;
|
|
769
|
+
currency: string | null;
|
|
770
|
+
iban: string;
|
|
771
|
+
beneficiary: string;
|
|
772
|
+
bank: string;
|
|
773
|
+
} | null;
|
|
662
774
|
accountHolder: string | null;
|
|
663
775
|
bankName: string | null;
|
|
664
776
|
iban: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAW7D,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAE5B,MAAM,iBAAiB,CAAA;AAExB,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,0BAA0B
|
|
1
|
+
{"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAW7D,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAE5B,MAAM,iBAAiB,CA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EAMrC;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,0BAA0B,EAClC,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMhB;AAED,YAAY,EACV,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,GACvB,MAAM,iBAAiB,CAAA"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -109,11 +109,31 @@ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
|
|
|
109
109
|
description: z.ZodNullable<z.ZodString>;
|
|
110
110
|
enabled: z.ZodBoolean;
|
|
111
111
|
}, z.core.$strip>>;
|
|
112
|
+
structure: z.ZodEnum<{
|
|
113
|
+
split: "split";
|
|
114
|
+
full: "full";
|
|
115
|
+
}>;
|
|
116
|
+
schedule: z.ZodArray<z.ZodObject<{
|
|
117
|
+
percent: z.ZodNumber;
|
|
118
|
+
dueInDays: z.ZodNumber;
|
|
119
|
+
dueCondition: z.ZodEnum<{
|
|
120
|
+
after_booking: "after_booking";
|
|
121
|
+
before_departure: "before_departure";
|
|
122
|
+
}>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
112
124
|
defaultSchedule: z.ZodNullable<z.ZodObject<{
|
|
113
125
|
depositPercent: z.ZodNullable<z.ZodNumber>;
|
|
114
126
|
balanceDueDaysBeforeDeparture: z.ZodNullable<z.ZodNumber>;
|
|
115
127
|
}, z.core.$strip>>;
|
|
116
128
|
bankTransfer: z.ZodNullable<z.ZodObject<{
|
|
129
|
+
dueDays: z.ZodNullable<z.ZodNumber>;
|
|
130
|
+
account: z.ZodNullable<z.ZodObject<{
|
|
131
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
132
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
133
|
+
iban: z.ZodString;
|
|
134
|
+
beneficiary: z.ZodString;
|
|
135
|
+
bank: z.ZodString;
|
|
136
|
+
}, z.core.$strip>>;
|
|
117
137
|
accountHolder: z.ZodNullable<z.ZodString>;
|
|
118
138
|
bankName: z.ZodNullable<z.ZodString>;
|
|
119
139
|
iban: z.ZodNullable<z.ZodString>;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,qCAAqC,EACrC,wCAAwC,EACxC,yCAAyC,EACzC,sCAAsC,EACtC,yCAAyC,EACzC,oCAAoC,EACpC,iCAAiC,EACjC,0CAA0C,EAC1C,qCAAqC,EACrC,4CAA4C,EAC5C,qCAAqC,EACrC,kCAAkC,EAClC,oCAAoC,EACpC,qCAAqC,EACrC,yBAAyB,EACzB,+BAA+B,EAC/B,qCAAqC,EACrC,mCAAmC,EACnC,gCAAgC,EAChC,sCAAsC,EACtC,yCAAyC,EACzC,yCAAyC,EACzC,gCAAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,wBAAwB,EACzB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAA6B,CAAA;AAC3F,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAAsC,CAAA;AAEnG,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,qCAAqC,EACrC,wCAAwC,EACxC,yCAAyC,EACzC,sCAAsC,EACtC,yCAAyC,EACzC,oCAAoC,EACpC,iCAAiC,EACjC,0CAA0C,EAC1C,qCAAqC,EACrC,4CAA4C,EAC5C,qCAAqC,EACrC,kCAAkC,EAClC,oCAAoC,EACpC,qCAAqC,EACrC,yBAAyB,EAC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AM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AACxF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AACjF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAC7F,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,0CAA0C,CAClD,CAAA;AACD,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AACnG,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AACD,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,yCAAyC,CACjD,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAC/F,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AACvF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AACzF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/storefront-react",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react": "^19.0.0",
|
|
42
42
|
"react-dom": "^19.0.0",
|
|
43
43
|
"zod": "^4.0.0",
|
|
44
|
-
"@voyantjs/storefront": "0.50.
|
|
44
|
+
"@voyantjs/storefront": "0.50.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"typescript": "^6.0.2",
|
|
53
53
|
"vitest": "^4.1.2",
|
|
54
54
|
"zod": "^4.3.6",
|
|
55
|
-
"@voyantjs/react": "0.50.
|
|
56
|
-
"@voyantjs/storefront": "0.50.
|
|
55
|
+
"@voyantjs/react": "0.50.2",
|
|
56
|
+
"@voyantjs/storefront": "0.50.2",
|
|
57
57
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@voyantjs/react": "0.50.
|
|
60
|
+
"@voyantjs/react": "0.50.2"
|
|
61
61
|
},
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|