@ventrata/octo-types 0.0.9 → 0.0.11
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/models/GoogleOptions.d.ts +1 -1
- package/dist/models/PricingUnit.d.ts +2 -0
- package/dist/models/Product.d.ts +1 -1
- package/dist/models/ProductGoogle.d.ts +1 -1
- package/dist/schemas/Availability.d.ts +87 -0
- package/dist/schemas/AvailabilityCalendar.d.ts +87 -0
- package/dist/schemas/AvailabilityCalendarPricing.d.ts +87 -0
- package/dist/schemas/AvailabilityPricing.d.ts +87 -0
- package/dist/schemas/AvailabilityUpdate.d.ts +109 -0
- package/dist/schemas/GoogleOptions.d.ts +3 -3
- package/dist/schemas/PricingUnit.d.ts +65 -0
- package/dist/schemas/ProductGoogle.d.ts +9 -9
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { OfferDiscount } from './OfferDiscount';
|
|
1
2
|
import type { Pricing } from './Pricing';
|
|
2
3
|
import type { Tax } from './Tax';
|
|
3
4
|
import type { UnitType } from './UnitType';
|
|
@@ -31,5 +32,6 @@ export type PricingUnit = {
|
|
|
31
32
|
*/
|
|
32
33
|
unitId: string;
|
|
33
34
|
unitType: UnitType;
|
|
35
|
+
offerDiscount?: OfferDiscount | null;
|
|
34
36
|
extraPricing?: Array<Pricing>;
|
|
35
37
|
};
|
package/dist/models/Product.d.ts
CHANGED
|
@@ -115,6 +115,49 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
115
115
|
}>, "many">;
|
|
116
116
|
unitId: z.ZodString;
|
|
117
117
|
unitType: z.ZodNativeEnum<typeof import("..").UnitType>;
|
|
118
|
+
offerDiscount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
119
|
+
net: z.ZodNumber;
|
|
120
|
+
retail: z.ZodNumber;
|
|
121
|
+
includedTaxes: z.ZodArray<z.ZodObject<{
|
|
122
|
+
name: z.ZodString;
|
|
123
|
+
retail: z.ZodNumber;
|
|
124
|
+
original: z.ZodNumber;
|
|
125
|
+
net: z.ZodNullable<z.ZodNumber>;
|
|
126
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
name: string;
|
|
129
|
+
retail: number;
|
|
130
|
+
original: number;
|
|
131
|
+
net: number | null;
|
|
132
|
+
shortDescription: string | null;
|
|
133
|
+
}, {
|
|
134
|
+
name: string;
|
|
135
|
+
retail: number;
|
|
136
|
+
original: number;
|
|
137
|
+
net: number | null;
|
|
138
|
+
shortDescription: string | null;
|
|
139
|
+
}>, "many">;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
retail: number;
|
|
142
|
+
net: number;
|
|
143
|
+
includedTaxes: {
|
|
144
|
+
name: string;
|
|
145
|
+
retail: number;
|
|
146
|
+
original: number;
|
|
147
|
+
net: number | null;
|
|
148
|
+
shortDescription: string | null;
|
|
149
|
+
}[];
|
|
150
|
+
}, {
|
|
151
|
+
retail: number;
|
|
152
|
+
net: number;
|
|
153
|
+
includedTaxes: {
|
|
154
|
+
name: string;
|
|
155
|
+
retail: number;
|
|
156
|
+
original: number;
|
|
157
|
+
net: number | null;
|
|
158
|
+
shortDescription: string | null;
|
|
159
|
+
}[];
|
|
160
|
+
}>>>;
|
|
118
161
|
extraPricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
162
|
original: z.ZodNumber;
|
|
120
163
|
retail: z.ZodNumber;
|
|
@@ -250,6 +293,17 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
250
293
|
currencyPrecision: number;
|
|
251
294
|
unitId: string;
|
|
252
295
|
unitType: import("..").UnitType;
|
|
296
|
+
offerDiscount?: {
|
|
297
|
+
retail: number;
|
|
298
|
+
net: number;
|
|
299
|
+
includedTaxes: {
|
|
300
|
+
name: string;
|
|
301
|
+
retail: number;
|
|
302
|
+
original: number;
|
|
303
|
+
net: number | null;
|
|
304
|
+
shortDescription: string | null;
|
|
305
|
+
}[];
|
|
306
|
+
} | null | undefined;
|
|
253
307
|
extraPricing?: {
|
|
254
308
|
retail: number;
|
|
255
309
|
original: number;
|
|
@@ -291,6 +345,17 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
291
345
|
currencyPrecision: number;
|
|
292
346
|
unitId: string;
|
|
293
347
|
unitType: import("..").UnitType;
|
|
348
|
+
offerDiscount?: {
|
|
349
|
+
retail: number;
|
|
350
|
+
net: number;
|
|
351
|
+
includedTaxes: {
|
|
352
|
+
name: string;
|
|
353
|
+
retail: number;
|
|
354
|
+
original: number;
|
|
355
|
+
net: number | null;
|
|
356
|
+
shortDescription: string | null;
|
|
357
|
+
}[];
|
|
358
|
+
} | null | undefined;
|
|
294
359
|
extraPricing?: {
|
|
295
360
|
retail: number;
|
|
296
361
|
original: number;
|
|
@@ -638,6 +703,17 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
638
703
|
currencyPrecision: number;
|
|
639
704
|
unitId: string;
|
|
640
705
|
unitType: import("..").UnitType;
|
|
706
|
+
offerDiscount?: {
|
|
707
|
+
retail: number;
|
|
708
|
+
net: number;
|
|
709
|
+
includedTaxes: {
|
|
710
|
+
name: string;
|
|
711
|
+
retail: number;
|
|
712
|
+
original: number;
|
|
713
|
+
net: number | null;
|
|
714
|
+
shortDescription: string | null;
|
|
715
|
+
}[];
|
|
716
|
+
} | null | undefined;
|
|
641
717
|
extraPricing?: {
|
|
642
718
|
retail: number;
|
|
643
719
|
original: number;
|
|
@@ -797,6 +873,17 @@ export declare const availabilitySchema: z.ZodObject<{
|
|
|
797
873
|
currencyPrecision: number;
|
|
798
874
|
unitId: string;
|
|
799
875
|
unitType: import("..").UnitType;
|
|
876
|
+
offerDiscount?: {
|
|
877
|
+
retail: number;
|
|
878
|
+
net: number;
|
|
879
|
+
includedTaxes: {
|
|
880
|
+
name: string;
|
|
881
|
+
retail: number;
|
|
882
|
+
original: number;
|
|
883
|
+
net: number | null;
|
|
884
|
+
shortDescription: string | null;
|
|
885
|
+
}[];
|
|
886
|
+
} | null | undefined;
|
|
800
887
|
extraPricing?: {
|
|
801
888
|
retail: number;
|
|
802
889
|
original: number;
|
|
@@ -58,6 +58,49 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
58
58
|
}>, "many">;
|
|
59
59
|
unitId: z.ZodString;
|
|
60
60
|
unitType: z.ZodNativeEnum<typeof import("..").UnitType>;
|
|
61
|
+
offerDiscount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
62
|
+
net: z.ZodNumber;
|
|
63
|
+
retail: z.ZodNumber;
|
|
64
|
+
includedTaxes: z.ZodArray<z.ZodObject<{
|
|
65
|
+
name: z.ZodString;
|
|
66
|
+
retail: z.ZodNumber;
|
|
67
|
+
original: z.ZodNumber;
|
|
68
|
+
net: z.ZodNullable<z.ZodNumber>;
|
|
69
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
name: string;
|
|
72
|
+
retail: number;
|
|
73
|
+
original: number;
|
|
74
|
+
net: number | null;
|
|
75
|
+
shortDescription: string | null;
|
|
76
|
+
}, {
|
|
77
|
+
name: string;
|
|
78
|
+
retail: number;
|
|
79
|
+
original: number;
|
|
80
|
+
net: number | null;
|
|
81
|
+
shortDescription: string | null;
|
|
82
|
+
}>, "many">;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
retail: number;
|
|
85
|
+
net: number;
|
|
86
|
+
includedTaxes: {
|
|
87
|
+
name: string;
|
|
88
|
+
retail: number;
|
|
89
|
+
original: number;
|
|
90
|
+
net: number | null;
|
|
91
|
+
shortDescription: string | null;
|
|
92
|
+
}[];
|
|
93
|
+
}, {
|
|
94
|
+
retail: number;
|
|
95
|
+
net: number;
|
|
96
|
+
includedTaxes: {
|
|
97
|
+
name: string;
|
|
98
|
+
retail: number;
|
|
99
|
+
original: number;
|
|
100
|
+
net: number | null;
|
|
101
|
+
shortDescription: string | null;
|
|
102
|
+
}[];
|
|
103
|
+
}>>>;
|
|
61
104
|
extraPricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
62
105
|
original: z.ZodNumber;
|
|
63
106
|
retail: z.ZodNumber;
|
|
@@ -193,6 +236,17 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
193
236
|
currencyPrecision: number;
|
|
194
237
|
unitId: string;
|
|
195
238
|
unitType: import("..").UnitType;
|
|
239
|
+
offerDiscount?: {
|
|
240
|
+
retail: number;
|
|
241
|
+
net: number;
|
|
242
|
+
includedTaxes: {
|
|
243
|
+
name: string;
|
|
244
|
+
retail: number;
|
|
245
|
+
original: number;
|
|
246
|
+
net: number | null;
|
|
247
|
+
shortDescription: string | null;
|
|
248
|
+
}[];
|
|
249
|
+
} | null | undefined;
|
|
196
250
|
extraPricing?: {
|
|
197
251
|
retail: number;
|
|
198
252
|
original: number;
|
|
@@ -234,6 +288,17 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
234
288
|
currencyPrecision: number;
|
|
235
289
|
unitId: string;
|
|
236
290
|
unitType: import("..").UnitType;
|
|
291
|
+
offerDiscount?: {
|
|
292
|
+
retail: number;
|
|
293
|
+
net: number;
|
|
294
|
+
includedTaxes: {
|
|
295
|
+
name: string;
|
|
296
|
+
retail: number;
|
|
297
|
+
original: number;
|
|
298
|
+
net: number | null;
|
|
299
|
+
shortDescription: string | null;
|
|
300
|
+
}[];
|
|
301
|
+
} | null | undefined;
|
|
237
302
|
extraPricing?: {
|
|
238
303
|
retail: number;
|
|
239
304
|
original: number;
|
|
@@ -552,6 +617,17 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
552
617
|
currencyPrecision: number;
|
|
553
618
|
unitId: string;
|
|
554
619
|
unitType: import("..").UnitType;
|
|
620
|
+
offerDiscount?: {
|
|
621
|
+
retail: number;
|
|
622
|
+
net: number;
|
|
623
|
+
includedTaxes: {
|
|
624
|
+
name: string;
|
|
625
|
+
retail: number;
|
|
626
|
+
original: number;
|
|
627
|
+
net: number | null;
|
|
628
|
+
shortDescription: string | null;
|
|
629
|
+
}[];
|
|
630
|
+
} | null | undefined;
|
|
555
631
|
extraPricing?: {
|
|
556
632
|
retail: number;
|
|
557
633
|
original: number;
|
|
@@ -670,6 +746,17 @@ export declare const availabilityCalendarSchema: z.ZodObject<{
|
|
|
670
746
|
currencyPrecision: number;
|
|
671
747
|
unitId: string;
|
|
672
748
|
unitType: import("..").UnitType;
|
|
749
|
+
offerDiscount?: {
|
|
750
|
+
retail: number;
|
|
751
|
+
net: number;
|
|
752
|
+
includedTaxes: {
|
|
753
|
+
name: string;
|
|
754
|
+
retail: number;
|
|
755
|
+
original: number;
|
|
756
|
+
net: number | null;
|
|
757
|
+
shortDescription: string | null;
|
|
758
|
+
}[];
|
|
759
|
+
} | null | undefined;
|
|
673
760
|
extraPricing?: {
|
|
674
761
|
retail: number;
|
|
675
762
|
original: number;
|
|
@@ -27,6 +27,49 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
27
27
|
}>, "many">;
|
|
28
28
|
unitId: z.ZodString;
|
|
29
29
|
unitType: z.ZodNativeEnum<typeof import("..").UnitType>;
|
|
30
|
+
offerDiscount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
31
|
+
net: z.ZodNumber;
|
|
32
|
+
retail: z.ZodNumber;
|
|
33
|
+
includedTaxes: z.ZodArray<z.ZodObject<{
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
retail: z.ZodNumber;
|
|
36
|
+
original: z.ZodNumber;
|
|
37
|
+
net: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
name: string;
|
|
41
|
+
retail: number;
|
|
42
|
+
original: number;
|
|
43
|
+
net: number | null;
|
|
44
|
+
shortDescription: string | null;
|
|
45
|
+
}, {
|
|
46
|
+
name: string;
|
|
47
|
+
retail: number;
|
|
48
|
+
original: number;
|
|
49
|
+
net: number | null;
|
|
50
|
+
shortDescription: string | null;
|
|
51
|
+
}>, "many">;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
retail: number;
|
|
54
|
+
net: number;
|
|
55
|
+
includedTaxes: {
|
|
56
|
+
name: string;
|
|
57
|
+
retail: number;
|
|
58
|
+
original: number;
|
|
59
|
+
net: number | null;
|
|
60
|
+
shortDescription: string | null;
|
|
61
|
+
}[];
|
|
62
|
+
}, {
|
|
63
|
+
retail: number;
|
|
64
|
+
net: number;
|
|
65
|
+
includedTaxes: {
|
|
66
|
+
name: string;
|
|
67
|
+
retail: number;
|
|
68
|
+
original: number;
|
|
69
|
+
net: number | null;
|
|
70
|
+
shortDescription: string | null;
|
|
71
|
+
}[];
|
|
72
|
+
}>>>;
|
|
30
73
|
extraPricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
74
|
original: z.ZodNumber;
|
|
32
75
|
retail: z.ZodNumber;
|
|
@@ -162,6 +205,17 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
162
205
|
currencyPrecision: number;
|
|
163
206
|
unitId: string;
|
|
164
207
|
unitType: import("..").UnitType;
|
|
208
|
+
offerDiscount?: {
|
|
209
|
+
retail: number;
|
|
210
|
+
net: number;
|
|
211
|
+
includedTaxes: {
|
|
212
|
+
name: string;
|
|
213
|
+
retail: number;
|
|
214
|
+
original: number;
|
|
215
|
+
net: number | null;
|
|
216
|
+
shortDescription: string | null;
|
|
217
|
+
}[];
|
|
218
|
+
} | null | undefined;
|
|
165
219
|
extraPricing?: {
|
|
166
220
|
retail: number;
|
|
167
221
|
original: number;
|
|
@@ -203,6 +257,17 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
203
257
|
currencyPrecision: number;
|
|
204
258
|
unitId: string;
|
|
205
259
|
unitType: import("..").UnitType;
|
|
260
|
+
offerDiscount?: {
|
|
261
|
+
retail: number;
|
|
262
|
+
net: number;
|
|
263
|
+
includedTaxes: {
|
|
264
|
+
name: string;
|
|
265
|
+
retail: number;
|
|
266
|
+
original: number;
|
|
267
|
+
net: number | null;
|
|
268
|
+
shortDescription: string | null;
|
|
269
|
+
}[];
|
|
270
|
+
} | null | undefined;
|
|
206
271
|
extraPricing?: {
|
|
207
272
|
retail: number;
|
|
208
273
|
original: number;
|
|
@@ -366,6 +431,17 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
366
431
|
currencyPrecision: number;
|
|
367
432
|
unitId: string;
|
|
368
433
|
unitType: import("..").UnitType;
|
|
434
|
+
offerDiscount?: {
|
|
435
|
+
retail: number;
|
|
436
|
+
net: number;
|
|
437
|
+
includedTaxes: {
|
|
438
|
+
name: string;
|
|
439
|
+
retail: number;
|
|
440
|
+
original: number;
|
|
441
|
+
net: number | null;
|
|
442
|
+
shortDescription: string | null;
|
|
443
|
+
}[];
|
|
444
|
+
} | null | undefined;
|
|
369
445
|
extraPricing?: {
|
|
370
446
|
retail: number;
|
|
371
447
|
original: number;
|
|
@@ -435,6 +511,17 @@ export declare const availabilityCalendarPricingSchema: z.ZodObject<{
|
|
|
435
511
|
currencyPrecision: number;
|
|
436
512
|
unitId: string;
|
|
437
513
|
unitType: import("..").UnitType;
|
|
514
|
+
offerDiscount?: {
|
|
515
|
+
retail: number;
|
|
516
|
+
net: number;
|
|
517
|
+
includedTaxes: {
|
|
518
|
+
name: string;
|
|
519
|
+
retail: number;
|
|
520
|
+
original: number;
|
|
521
|
+
net: number | null;
|
|
522
|
+
shortDescription: string | null;
|
|
523
|
+
}[];
|
|
524
|
+
} | null | undefined;
|
|
438
525
|
extraPricing?: {
|
|
439
526
|
retail: number;
|
|
440
527
|
original: number;
|
|
@@ -27,6 +27,49 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
27
27
|
}>, "many">;
|
|
28
28
|
unitId: z.ZodString;
|
|
29
29
|
unitType: z.ZodNativeEnum<typeof import("..").UnitType>;
|
|
30
|
+
offerDiscount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
31
|
+
net: z.ZodNumber;
|
|
32
|
+
retail: z.ZodNumber;
|
|
33
|
+
includedTaxes: z.ZodArray<z.ZodObject<{
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
retail: z.ZodNumber;
|
|
36
|
+
original: z.ZodNumber;
|
|
37
|
+
net: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
name: string;
|
|
41
|
+
retail: number;
|
|
42
|
+
original: number;
|
|
43
|
+
net: number | null;
|
|
44
|
+
shortDescription: string | null;
|
|
45
|
+
}, {
|
|
46
|
+
name: string;
|
|
47
|
+
retail: number;
|
|
48
|
+
original: number;
|
|
49
|
+
net: number | null;
|
|
50
|
+
shortDescription: string | null;
|
|
51
|
+
}>, "many">;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
retail: number;
|
|
54
|
+
net: number;
|
|
55
|
+
includedTaxes: {
|
|
56
|
+
name: string;
|
|
57
|
+
retail: number;
|
|
58
|
+
original: number;
|
|
59
|
+
net: number | null;
|
|
60
|
+
shortDescription: string | null;
|
|
61
|
+
}[];
|
|
62
|
+
}, {
|
|
63
|
+
retail: number;
|
|
64
|
+
net: number;
|
|
65
|
+
includedTaxes: {
|
|
66
|
+
name: string;
|
|
67
|
+
retail: number;
|
|
68
|
+
original: number;
|
|
69
|
+
net: number | null;
|
|
70
|
+
shortDescription: string | null;
|
|
71
|
+
}[];
|
|
72
|
+
}>>>;
|
|
30
73
|
extraPricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
74
|
original: z.ZodNumber;
|
|
32
75
|
retail: z.ZodNumber;
|
|
@@ -162,6 +205,17 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
162
205
|
currencyPrecision: number;
|
|
163
206
|
unitId: string;
|
|
164
207
|
unitType: import("..").UnitType;
|
|
208
|
+
offerDiscount?: {
|
|
209
|
+
retail: number;
|
|
210
|
+
net: number;
|
|
211
|
+
includedTaxes: {
|
|
212
|
+
name: string;
|
|
213
|
+
retail: number;
|
|
214
|
+
original: number;
|
|
215
|
+
net: number | null;
|
|
216
|
+
shortDescription: string | null;
|
|
217
|
+
}[];
|
|
218
|
+
} | null | undefined;
|
|
165
219
|
extraPricing?: {
|
|
166
220
|
retail: number;
|
|
167
221
|
original: number;
|
|
@@ -203,6 +257,17 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
203
257
|
currencyPrecision: number;
|
|
204
258
|
unitId: string;
|
|
205
259
|
unitType: import("..").UnitType;
|
|
260
|
+
offerDiscount?: {
|
|
261
|
+
retail: number;
|
|
262
|
+
net: number;
|
|
263
|
+
includedTaxes: {
|
|
264
|
+
name: string;
|
|
265
|
+
retail: number;
|
|
266
|
+
original: number;
|
|
267
|
+
net: number | null;
|
|
268
|
+
shortDescription: string | null;
|
|
269
|
+
}[];
|
|
270
|
+
} | null | undefined;
|
|
206
271
|
extraPricing?: {
|
|
207
272
|
retail: number;
|
|
208
273
|
original: number;
|
|
@@ -366,6 +431,17 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
366
431
|
currencyPrecision: number;
|
|
367
432
|
unitId: string;
|
|
368
433
|
unitType: import("..").UnitType;
|
|
434
|
+
offerDiscount?: {
|
|
435
|
+
retail: number;
|
|
436
|
+
net: number;
|
|
437
|
+
includedTaxes: {
|
|
438
|
+
name: string;
|
|
439
|
+
retail: number;
|
|
440
|
+
original: number;
|
|
441
|
+
net: number | null;
|
|
442
|
+
shortDescription: string | null;
|
|
443
|
+
}[];
|
|
444
|
+
} | null | undefined;
|
|
369
445
|
extraPricing?: {
|
|
370
446
|
retail: number;
|
|
371
447
|
original: number;
|
|
@@ -435,6 +511,17 @@ export declare const availabilityPricingSchema: z.ZodObject<{
|
|
|
435
511
|
currencyPrecision: number;
|
|
436
512
|
unitId: string;
|
|
437
513
|
unitType: import("..").UnitType;
|
|
514
|
+
offerDiscount?: {
|
|
515
|
+
retail: number;
|
|
516
|
+
net: number;
|
|
517
|
+
includedTaxes: {
|
|
518
|
+
name: string;
|
|
519
|
+
retail: number;
|
|
520
|
+
original: number;
|
|
521
|
+
net: number | null;
|
|
522
|
+
shortDescription: string | null;
|
|
523
|
+
}[];
|
|
524
|
+
} | null | undefined;
|
|
438
525
|
extraPricing?: {
|
|
439
526
|
retail: number;
|
|
440
527
|
original: number;
|
|
@@ -141,6 +141,49 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
141
141
|
}>, "many">;
|
|
142
142
|
unitId: z.ZodString;
|
|
143
143
|
unitType: z.ZodNativeEnum<typeof import("..").UnitType>;
|
|
144
|
+
offerDiscount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
145
|
+
net: z.ZodNumber;
|
|
146
|
+
retail: z.ZodNumber;
|
|
147
|
+
includedTaxes: z.ZodArray<z.ZodObject<{
|
|
148
|
+
name: z.ZodString;
|
|
149
|
+
retail: z.ZodNumber;
|
|
150
|
+
original: z.ZodNumber;
|
|
151
|
+
net: z.ZodNullable<z.ZodNumber>;
|
|
152
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
name: string;
|
|
155
|
+
retail: number;
|
|
156
|
+
original: number;
|
|
157
|
+
net: number | null;
|
|
158
|
+
shortDescription: string | null;
|
|
159
|
+
}, {
|
|
160
|
+
name: string;
|
|
161
|
+
retail: number;
|
|
162
|
+
original: number;
|
|
163
|
+
net: number | null;
|
|
164
|
+
shortDescription: string | null;
|
|
165
|
+
}>, "many">;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
retail: number;
|
|
168
|
+
net: number;
|
|
169
|
+
includedTaxes: {
|
|
170
|
+
name: string;
|
|
171
|
+
retail: number;
|
|
172
|
+
original: number;
|
|
173
|
+
net: number | null;
|
|
174
|
+
shortDescription: string | null;
|
|
175
|
+
}[];
|
|
176
|
+
}, {
|
|
177
|
+
retail: number;
|
|
178
|
+
net: number;
|
|
179
|
+
includedTaxes: {
|
|
180
|
+
name: string;
|
|
181
|
+
retail: number;
|
|
182
|
+
original: number;
|
|
183
|
+
net: number | null;
|
|
184
|
+
shortDescription: string | null;
|
|
185
|
+
}[];
|
|
186
|
+
}>>>;
|
|
144
187
|
extraPricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
145
188
|
original: z.ZodNumber;
|
|
146
189
|
retail: z.ZodNumber;
|
|
@@ -276,6 +319,17 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
276
319
|
currencyPrecision: number;
|
|
277
320
|
unitId: string;
|
|
278
321
|
unitType: import("..").UnitType;
|
|
322
|
+
offerDiscount?: {
|
|
323
|
+
retail: number;
|
|
324
|
+
net: number;
|
|
325
|
+
includedTaxes: {
|
|
326
|
+
name: string;
|
|
327
|
+
retail: number;
|
|
328
|
+
original: number;
|
|
329
|
+
net: number | null;
|
|
330
|
+
shortDescription: string | null;
|
|
331
|
+
}[];
|
|
332
|
+
} | null | undefined;
|
|
279
333
|
extraPricing?: {
|
|
280
334
|
retail: number;
|
|
281
335
|
original: number;
|
|
@@ -317,6 +371,17 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
317
371
|
currencyPrecision: number;
|
|
318
372
|
unitId: string;
|
|
319
373
|
unitType: import("..").UnitType;
|
|
374
|
+
offerDiscount?: {
|
|
375
|
+
retail: number;
|
|
376
|
+
net: number;
|
|
377
|
+
includedTaxes: {
|
|
378
|
+
name: string;
|
|
379
|
+
retail: number;
|
|
380
|
+
original: number;
|
|
381
|
+
net: number | null;
|
|
382
|
+
shortDescription: string | null;
|
|
383
|
+
}[];
|
|
384
|
+
} | null | undefined;
|
|
320
385
|
extraPricing?: {
|
|
321
386
|
retail: number;
|
|
322
387
|
original: number;
|
|
@@ -664,6 +729,17 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
664
729
|
currencyPrecision: number;
|
|
665
730
|
unitId: string;
|
|
666
731
|
unitType: import("..").UnitType;
|
|
732
|
+
offerDiscount?: {
|
|
733
|
+
retail: number;
|
|
734
|
+
net: number;
|
|
735
|
+
includedTaxes: {
|
|
736
|
+
name: string;
|
|
737
|
+
retail: number;
|
|
738
|
+
original: number;
|
|
739
|
+
net: number | null;
|
|
740
|
+
shortDescription: string | null;
|
|
741
|
+
}[];
|
|
742
|
+
} | null | undefined;
|
|
667
743
|
extraPricing?: {
|
|
668
744
|
retail: number;
|
|
669
745
|
original: number;
|
|
@@ -823,6 +899,17 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
823
899
|
currencyPrecision: number;
|
|
824
900
|
unitId: string;
|
|
825
901
|
unitType: import("..").UnitType;
|
|
902
|
+
offerDiscount?: {
|
|
903
|
+
retail: number;
|
|
904
|
+
net: number;
|
|
905
|
+
includedTaxes: {
|
|
906
|
+
name: string;
|
|
907
|
+
retail: number;
|
|
908
|
+
original: number;
|
|
909
|
+
net: number | null;
|
|
910
|
+
shortDescription: string | null;
|
|
911
|
+
}[];
|
|
912
|
+
} | null | undefined;
|
|
826
913
|
extraPricing?: {
|
|
827
914
|
retail: number;
|
|
828
915
|
original: number;
|
|
@@ -1703,6 +1790,17 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
1703
1790
|
currencyPrecision: number;
|
|
1704
1791
|
unitId: string;
|
|
1705
1792
|
unitType: import("..").UnitType;
|
|
1793
|
+
offerDiscount?: {
|
|
1794
|
+
retail: number;
|
|
1795
|
+
net: number;
|
|
1796
|
+
includedTaxes: {
|
|
1797
|
+
name: string;
|
|
1798
|
+
retail: number;
|
|
1799
|
+
original: number;
|
|
1800
|
+
net: number | null;
|
|
1801
|
+
shortDescription: string | null;
|
|
1802
|
+
}[];
|
|
1803
|
+
} | null | undefined;
|
|
1706
1804
|
extraPricing?: {
|
|
1707
1805
|
retail: number;
|
|
1708
1806
|
original: number;
|
|
@@ -1985,6 +2083,17 @@ export declare const availabilityUpdateSchema: z.ZodObject<{
|
|
|
1985
2083
|
currencyPrecision: number;
|
|
1986
2084
|
unitId: string;
|
|
1987
2085
|
unitType: import("..").UnitType;
|
|
2086
|
+
offerDiscount?: {
|
|
2087
|
+
retail: number;
|
|
2088
|
+
net: number;
|
|
2089
|
+
includedTaxes: {
|
|
2090
|
+
name: string;
|
|
2091
|
+
retail: number;
|
|
2092
|
+
original: number;
|
|
2093
|
+
net: number | null;
|
|
2094
|
+
shortDescription: string | null;
|
|
2095
|
+
}[];
|
|
2096
|
+
} | null | undefined;
|
|
1988
2097
|
extraPricing?: {
|
|
1989
2098
|
retail: number;
|
|
1990
2099
|
original: number;
|
|
@@ -88,7 +88,7 @@ export declare const googleOptionsSchema: z.ZodObject<{
|
|
|
88
88
|
}, {
|
|
89
89
|
url: string | null;
|
|
90
90
|
}>;
|
|
91
|
-
|
|
91
|
+
inventory_types: z.ZodArray<z.ZodString, "many">;
|
|
92
92
|
landing_page_list_view: z.ZodObject<{
|
|
93
93
|
url: z.ZodNullable<z.ZodString>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -160,7 +160,7 @@ export declare const googleOptionsSchema: z.ZodObject<{
|
|
|
160
160
|
landing_page: {
|
|
161
161
|
url: string | null;
|
|
162
162
|
};
|
|
163
|
-
|
|
163
|
+
inventory_types: string[];
|
|
164
164
|
landing_page_list_view: {
|
|
165
165
|
url: string | null;
|
|
166
166
|
};
|
|
@@ -198,7 +198,7 @@ export declare const googleOptionsSchema: z.ZodObject<{
|
|
|
198
198
|
landing_page: {
|
|
199
199
|
url: string | null;
|
|
200
200
|
};
|
|
201
|
-
|
|
201
|
+
inventory_types: string[];
|
|
202
202
|
landing_page_list_view: {
|
|
203
203
|
url: string | null;
|
|
204
204
|
};
|
|
@@ -26,6 +26,49 @@ export declare const pricingUnitSchema: z.ZodObject<{
|
|
|
26
26
|
}>, "many">;
|
|
27
27
|
unitId: z.ZodString;
|
|
28
28
|
unitType: z.ZodNativeEnum<typeof import("..").UnitType>;
|
|
29
|
+
offerDiscount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
30
|
+
net: z.ZodNumber;
|
|
31
|
+
retail: z.ZodNumber;
|
|
32
|
+
includedTaxes: z.ZodArray<z.ZodObject<{
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
retail: z.ZodNumber;
|
|
35
|
+
original: z.ZodNumber;
|
|
36
|
+
net: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
name: string;
|
|
40
|
+
retail: number;
|
|
41
|
+
original: number;
|
|
42
|
+
net: number | null;
|
|
43
|
+
shortDescription: string | null;
|
|
44
|
+
}, {
|
|
45
|
+
name: string;
|
|
46
|
+
retail: number;
|
|
47
|
+
original: number;
|
|
48
|
+
net: number | null;
|
|
49
|
+
shortDescription: string | null;
|
|
50
|
+
}>, "many">;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
retail: number;
|
|
53
|
+
net: number;
|
|
54
|
+
includedTaxes: {
|
|
55
|
+
name: string;
|
|
56
|
+
retail: number;
|
|
57
|
+
original: number;
|
|
58
|
+
net: number | null;
|
|
59
|
+
shortDescription: string | null;
|
|
60
|
+
}[];
|
|
61
|
+
}, {
|
|
62
|
+
retail: number;
|
|
63
|
+
net: number;
|
|
64
|
+
includedTaxes: {
|
|
65
|
+
name: string;
|
|
66
|
+
retail: number;
|
|
67
|
+
original: number;
|
|
68
|
+
net: number | null;
|
|
69
|
+
shortDescription: string | null;
|
|
70
|
+
}[];
|
|
71
|
+
}>>>;
|
|
29
72
|
extraPricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
73
|
original: z.ZodNumber;
|
|
31
74
|
retail: z.ZodNumber;
|
|
@@ -161,6 +204,17 @@ export declare const pricingUnitSchema: z.ZodObject<{
|
|
|
161
204
|
currencyPrecision: number;
|
|
162
205
|
unitId: string;
|
|
163
206
|
unitType: import("..").UnitType;
|
|
207
|
+
offerDiscount?: {
|
|
208
|
+
retail: number;
|
|
209
|
+
net: number;
|
|
210
|
+
includedTaxes: {
|
|
211
|
+
name: string;
|
|
212
|
+
retail: number;
|
|
213
|
+
original: number;
|
|
214
|
+
net: number | null;
|
|
215
|
+
shortDescription: string | null;
|
|
216
|
+
}[];
|
|
217
|
+
} | null | undefined;
|
|
164
218
|
extraPricing?: {
|
|
165
219
|
retail: number;
|
|
166
220
|
original: number;
|
|
@@ -202,6 +256,17 @@ export declare const pricingUnitSchema: z.ZodObject<{
|
|
|
202
256
|
currencyPrecision: number;
|
|
203
257
|
unitId: string;
|
|
204
258
|
unitType: import("..").UnitType;
|
|
259
|
+
offerDiscount?: {
|
|
260
|
+
retail: number;
|
|
261
|
+
net: number;
|
|
262
|
+
includedTaxes: {
|
|
263
|
+
name: string;
|
|
264
|
+
retail: number;
|
|
265
|
+
original: number;
|
|
266
|
+
net: number | null;
|
|
267
|
+
shortDescription: string | null;
|
|
268
|
+
}[];
|
|
269
|
+
} | null | undefined;
|
|
205
270
|
extraPricing?: {
|
|
206
271
|
retail: number;
|
|
207
272
|
original: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const productGoogleSchema: z.ZodObject<{
|
|
3
|
-
googleOptions: z.ZodOptional<z.
|
|
3
|
+
googleOptions: z.ZodOptional<z.ZodObject<{
|
|
4
4
|
operator: z.ZodNullable<z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
google_business_profile_name: z.ZodObject<{
|
|
@@ -89,7 +89,7 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
89
89
|
}, {
|
|
90
90
|
url: string | null;
|
|
91
91
|
}>;
|
|
92
|
-
|
|
92
|
+
inventory_types: z.ZodArray<z.ZodString, "many">;
|
|
93
93
|
landing_page_list_view: z.ZodObject<{
|
|
94
94
|
url: z.ZodNullable<z.ZodString>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -161,7 +161,7 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
161
161
|
landing_page: {
|
|
162
162
|
url: string | null;
|
|
163
163
|
};
|
|
164
|
-
|
|
164
|
+
inventory_types: string[];
|
|
165
165
|
landing_page_list_view: {
|
|
166
166
|
url: string | null;
|
|
167
167
|
};
|
|
@@ -199,7 +199,7 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
199
199
|
landing_page: {
|
|
200
200
|
url: string | null;
|
|
201
201
|
};
|
|
202
|
-
|
|
202
|
+
inventory_types: string[];
|
|
203
203
|
landing_page_list_view: {
|
|
204
204
|
url: string | null;
|
|
205
205
|
};
|
|
@@ -214,7 +214,7 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
214
214
|
};
|
|
215
215
|
relation_type: string;
|
|
216
216
|
}[];
|
|
217
|
-
}
|
|
217
|
+
}>>;
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
219
|
googleOptions?: {
|
|
220
220
|
operator: {
|
|
@@ -239,7 +239,7 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
239
239
|
landing_page: {
|
|
240
240
|
url: string | null;
|
|
241
241
|
};
|
|
242
|
-
|
|
242
|
+
inventory_types: string[];
|
|
243
243
|
landing_page_list_view: {
|
|
244
244
|
url: string | null;
|
|
245
245
|
};
|
|
@@ -254,7 +254,7 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
254
254
|
};
|
|
255
255
|
relation_type: string;
|
|
256
256
|
}[];
|
|
257
|
-
}
|
|
257
|
+
} | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
googleOptions?: {
|
|
260
260
|
operator: {
|
|
@@ -279,7 +279,7 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
279
279
|
landing_page: {
|
|
280
280
|
url: string | null;
|
|
281
281
|
};
|
|
282
|
-
|
|
282
|
+
inventory_types: string[];
|
|
283
283
|
landing_page_list_view: {
|
|
284
284
|
url: string | null;
|
|
285
285
|
};
|
|
@@ -294,5 +294,5 @@ export declare const productGoogleSchema: z.ZodObject<{
|
|
|
294
294
|
};
|
|
295
295
|
relation_type: string;
|
|
296
296
|
}[];
|
|
297
|
-
}
|
|
297
|
+
} | undefined;
|
|
298
298
|
}>;
|