@deliverart/sdk-js-point-of-sale 1.1.3 → 1.1.5
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/index.d.cts +455 -455
- package/dist/index.d.ts +455 -455
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -65,26 +65,26 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
65
65
|
id: z.ZodString;
|
|
66
66
|
name: z.ZodString;
|
|
67
67
|
address: z.ZodObject<{
|
|
68
|
-
line1: z.ZodString
|
|
68
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
69
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
-
city: z.ZodString
|
|
71
|
-
region: z.ZodString
|
|
72
|
-
postalCode: z.ZodString
|
|
73
|
-
country: z.ZodString
|
|
70
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
line1
|
|
76
|
-
city: string;
|
|
77
|
-
region: string;
|
|
78
|
-
postalCode: string;
|
|
79
|
-
country: string;
|
|
75
|
+
line1?: string | null | undefined;
|
|
80
76
|
line2?: string | null | undefined;
|
|
77
|
+
city?: string | null | undefined;
|
|
78
|
+
region?: string | null | undefined;
|
|
79
|
+
postalCode?: string | null | undefined;
|
|
80
|
+
country?: string | null | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
line1
|
|
83
|
-
city: string;
|
|
84
|
-
region: string;
|
|
85
|
-
postalCode: string;
|
|
86
|
-
country: string;
|
|
82
|
+
line1?: string | null | undefined;
|
|
87
83
|
line2?: string | null | undefined;
|
|
84
|
+
city?: string | null | undefined;
|
|
85
|
+
region?: string | null | undefined;
|
|
86
|
+
postalCode?: string | null | undefined;
|
|
87
|
+
country?: string | null | undefined;
|
|
88
88
|
}>;
|
|
89
89
|
timezone: z.ZodString;
|
|
90
90
|
location: z.ZodObject<{
|
|
@@ -105,12 +105,12 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
105
105
|
id: string;
|
|
106
106
|
name: string;
|
|
107
107
|
address: {
|
|
108
|
-
line1
|
|
109
|
-
city: string;
|
|
110
|
-
region: string;
|
|
111
|
-
postalCode: string;
|
|
112
|
-
country: string;
|
|
108
|
+
line1?: string | null | undefined;
|
|
113
109
|
line2?: string | null | undefined;
|
|
110
|
+
city?: string | null | undefined;
|
|
111
|
+
region?: string | null | undefined;
|
|
112
|
+
postalCode?: string | null | undefined;
|
|
113
|
+
country?: string | null | undefined;
|
|
114
114
|
};
|
|
115
115
|
timezone: string;
|
|
116
116
|
location: {
|
|
@@ -125,12 +125,12 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
125
125
|
id: string;
|
|
126
126
|
name: string;
|
|
127
127
|
address: {
|
|
128
|
-
line1
|
|
129
|
-
city: string;
|
|
130
|
-
region: string;
|
|
131
|
-
postalCode: string;
|
|
132
|
-
country: string;
|
|
128
|
+
line1?: string | null | undefined;
|
|
133
129
|
line2?: string | null | undefined;
|
|
130
|
+
city?: string | null | undefined;
|
|
131
|
+
region?: string | null | undefined;
|
|
132
|
+
postalCode?: string | null | undefined;
|
|
133
|
+
country?: string | null | undefined;
|
|
134
134
|
};
|
|
135
135
|
timezone: string;
|
|
136
136
|
location: {
|
|
@@ -148,26 +148,26 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
148
148
|
id: z.ZodString;
|
|
149
149
|
name: z.ZodString;
|
|
150
150
|
address: z.ZodObject<{
|
|
151
|
-
line1: z.ZodString
|
|
151
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
152
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
-
city: z.ZodString
|
|
154
|
-
region: z.ZodString
|
|
155
|
-
postalCode: z.ZodString
|
|
156
|
-
country: z.ZodString
|
|
153
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
line1
|
|
159
|
-
city: string;
|
|
160
|
-
region: string;
|
|
161
|
-
postalCode: string;
|
|
162
|
-
country: string;
|
|
158
|
+
line1?: string | null | undefined;
|
|
163
159
|
line2?: string | null | undefined;
|
|
160
|
+
city?: string | null | undefined;
|
|
161
|
+
region?: string | null | undefined;
|
|
162
|
+
postalCode?: string | null | undefined;
|
|
163
|
+
country?: string | null | undefined;
|
|
164
164
|
}, {
|
|
165
|
-
line1
|
|
166
|
-
city: string;
|
|
167
|
-
region: string;
|
|
168
|
-
postalCode: string;
|
|
169
|
-
country: string;
|
|
165
|
+
line1?: string | null | undefined;
|
|
170
166
|
line2?: string | null | undefined;
|
|
167
|
+
city?: string | null | undefined;
|
|
168
|
+
region?: string | null | undefined;
|
|
169
|
+
postalCode?: string | null | undefined;
|
|
170
|
+
country?: string | null | undefined;
|
|
171
171
|
}>;
|
|
172
172
|
timezone: z.ZodString;
|
|
173
173
|
location: z.ZodObject<{
|
|
@@ -188,12 +188,12 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
188
188
|
id: string;
|
|
189
189
|
name: string;
|
|
190
190
|
address: {
|
|
191
|
-
line1
|
|
192
|
-
city: string;
|
|
193
|
-
region: string;
|
|
194
|
-
postalCode: string;
|
|
195
|
-
country: string;
|
|
191
|
+
line1?: string | null | undefined;
|
|
196
192
|
line2?: string | null | undefined;
|
|
193
|
+
city?: string | null | undefined;
|
|
194
|
+
region?: string | null | undefined;
|
|
195
|
+
postalCode?: string | null | undefined;
|
|
196
|
+
country?: string | null | undefined;
|
|
197
197
|
};
|
|
198
198
|
timezone: string;
|
|
199
199
|
location: {
|
|
@@ -208,12 +208,12 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
208
208
|
id: string;
|
|
209
209
|
name: string;
|
|
210
210
|
address: {
|
|
211
|
-
line1
|
|
212
|
-
city: string;
|
|
213
|
-
region: string;
|
|
214
|
-
postalCode: string;
|
|
215
|
-
country: string;
|
|
211
|
+
line1?: string | null | undefined;
|
|
216
212
|
line2?: string | null | undefined;
|
|
213
|
+
city?: string | null | undefined;
|
|
214
|
+
region?: string | null | undefined;
|
|
215
|
+
postalCode?: string | null | undefined;
|
|
216
|
+
country?: string | null | undefined;
|
|
217
217
|
};
|
|
218
218
|
timezone: string;
|
|
219
219
|
location: {
|
|
@@ -231,12 +231,12 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
231
231
|
id: string;
|
|
232
232
|
name: string;
|
|
233
233
|
address: {
|
|
234
|
-
line1
|
|
235
|
-
city: string;
|
|
236
|
-
region: string;
|
|
237
|
-
postalCode: string;
|
|
238
|
-
country: string;
|
|
234
|
+
line1?: string | null | undefined;
|
|
239
235
|
line2?: string | null | undefined;
|
|
236
|
+
city?: string | null | undefined;
|
|
237
|
+
region?: string | null | undefined;
|
|
238
|
+
postalCode?: string | null | undefined;
|
|
239
|
+
country?: string | null | undefined;
|
|
240
240
|
};
|
|
241
241
|
timezone: string;
|
|
242
242
|
location: {
|
|
@@ -254,12 +254,12 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
254
254
|
id: string;
|
|
255
255
|
name: string;
|
|
256
256
|
address: {
|
|
257
|
-
line1
|
|
258
|
-
city: string;
|
|
259
|
-
region: string;
|
|
260
|
-
postalCode: string;
|
|
261
|
-
country: string;
|
|
257
|
+
line1?: string | null | undefined;
|
|
262
258
|
line2?: string | null | undefined;
|
|
259
|
+
city?: string | null | undefined;
|
|
260
|
+
region?: string | null | undefined;
|
|
261
|
+
postalCode?: string | null | undefined;
|
|
262
|
+
country?: string | null | undefined;
|
|
263
263
|
};
|
|
264
264
|
timezone: string;
|
|
265
265
|
location: {
|
|
@@ -280,26 +280,26 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
280
280
|
id: z.ZodString;
|
|
281
281
|
name: z.ZodString;
|
|
282
282
|
address: z.ZodObject<{
|
|
283
|
-
line1: z.ZodString
|
|
283
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
284
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
-
city: z.ZodString
|
|
286
|
-
region: z.ZodString
|
|
287
|
-
postalCode: z.ZodString
|
|
288
|
-
country: z.ZodString
|
|
285
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
286
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
289
289
|
}, "strip", z.ZodTypeAny, {
|
|
290
|
-
line1
|
|
291
|
-
city: string;
|
|
292
|
-
region: string;
|
|
293
|
-
postalCode: string;
|
|
294
|
-
country: string;
|
|
290
|
+
line1?: string | null | undefined;
|
|
295
291
|
line2?: string | null | undefined;
|
|
292
|
+
city?: string | null | undefined;
|
|
293
|
+
region?: string | null | undefined;
|
|
294
|
+
postalCode?: string | null | undefined;
|
|
295
|
+
country?: string | null | undefined;
|
|
296
296
|
}, {
|
|
297
|
-
line1
|
|
298
|
-
city: string;
|
|
299
|
-
region: string;
|
|
300
|
-
postalCode: string;
|
|
301
|
-
country: string;
|
|
297
|
+
line1?: string | null | undefined;
|
|
302
298
|
line2?: string | null | undefined;
|
|
299
|
+
city?: string | null | undefined;
|
|
300
|
+
region?: string | null | undefined;
|
|
301
|
+
postalCode?: string | null | undefined;
|
|
302
|
+
country?: string | null | undefined;
|
|
303
303
|
}>;
|
|
304
304
|
timezone: z.ZodString;
|
|
305
305
|
location: z.ZodObject<{
|
|
@@ -434,12 +434,12 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
434
434
|
id: string;
|
|
435
435
|
name: string;
|
|
436
436
|
address: {
|
|
437
|
-
line1
|
|
438
|
-
city: string;
|
|
439
|
-
region: string;
|
|
440
|
-
postalCode: string;
|
|
441
|
-
country: string;
|
|
437
|
+
line1?: string | null | undefined;
|
|
442
438
|
line2?: string | null | undefined;
|
|
439
|
+
city?: string | null | undefined;
|
|
440
|
+
region?: string | null | undefined;
|
|
441
|
+
postalCode?: string | null | undefined;
|
|
442
|
+
country?: string | null | undefined;
|
|
443
443
|
};
|
|
444
444
|
timezone: string;
|
|
445
445
|
location: {
|
|
@@ -489,12 +489,12 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
489
489
|
id: string;
|
|
490
490
|
name: string;
|
|
491
491
|
address: {
|
|
492
|
-
line1
|
|
493
|
-
city: string;
|
|
494
|
-
region: string;
|
|
495
|
-
postalCode: string;
|
|
496
|
-
country: string;
|
|
492
|
+
line1?: string | null | undefined;
|
|
497
493
|
line2?: string | null | undefined;
|
|
494
|
+
city?: string | null | undefined;
|
|
495
|
+
region?: string | null | undefined;
|
|
496
|
+
postalCode?: string | null | undefined;
|
|
497
|
+
country?: string | null | undefined;
|
|
498
498
|
};
|
|
499
499
|
timezone: string;
|
|
500
500
|
location: {
|
|
@@ -546,26 +546,26 @@ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
|
|
|
546
546
|
id: z.ZodString;
|
|
547
547
|
name: z.ZodString;
|
|
548
548
|
address: z.ZodObject<{
|
|
549
|
-
line1: z.ZodString
|
|
549
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
550
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
551
|
-
city: z.ZodString
|
|
552
|
-
region: z.ZodString
|
|
553
|
-
postalCode: z.ZodString
|
|
554
|
-
country: z.ZodString
|
|
551
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
552
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
553
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
555
|
}, "strip", z.ZodTypeAny, {
|
|
556
|
-
line1
|
|
557
|
-
city: string;
|
|
558
|
-
region: string;
|
|
559
|
-
postalCode: string;
|
|
560
|
-
country: string;
|
|
556
|
+
line1?: string | null | undefined;
|
|
561
557
|
line2?: string | null | undefined;
|
|
558
|
+
city?: string | null | undefined;
|
|
559
|
+
region?: string | null | undefined;
|
|
560
|
+
postalCode?: string | null | undefined;
|
|
561
|
+
country?: string | null | undefined;
|
|
562
562
|
}, {
|
|
563
|
-
line1
|
|
564
|
-
city: string;
|
|
565
|
-
region: string;
|
|
566
|
-
postalCode: string;
|
|
567
|
-
country: string;
|
|
563
|
+
line1?: string | null | undefined;
|
|
568
564
|
line2?: string | null | undefined;
|
|
565
|
+
city?: string | null | undefined;
|
|
566
|
+
region?: string | null | undefined;
|
|
567
|
+
postalCode?: string | null | undefined;
|
|
568
|
+
country?: string | null | undefined;
|
|
569
569
|
}>;
|
|
570
570
|
timezone: z.ZodString;
|
|
571
571
|
location: z.ZodObject<{
|
|
@@ -699,12 +699,12 @@ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
|
|
|
699
699
|
}, "name" | "address" | "timezone" | "capabilities" | "openingStatus" | "settings" | "openingTimeSettings" | "deliveryTimeSettings" | "takeAwayTimeSettings">, "strip", z.ZodTypeAny, {
|
|
700
700
|
name: string;
|
|
701
701
|
address: {
|
|
702
|
-
line1
|
|
703
|
-
city: string;
|
|
704
|
-
region: string;
|
|
705
|
-
postalCode: string;
|
|
706
|
-
country: string;
|
|
702
|
+
line1?: string | null | undefined;
|
|
707
703
|
line2?: string | null | undefined;
|
|
704
|
+
city?: string | null | undefined;
|
|
705
|
+
region?: string | null | undefined;
|
|
706
|
+
postalCode?: string | null | undefined;
|
|
707
|
+
country?: string | null | undefined;
|
|
708
708
|
};
|
|
709
709
|
timezone: string;
|
|
710
710
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -745,12 +745,12 @@ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
|
|
|
745
745
|
}, {
|
|
746
746
|
name: string;
|
|
747
747
|
address: {
|
|
748
|
-
line1
|
|
749
|
-
city: string;
|
|
750
|
-
region: string;
|
|
751
|
-
postalCode: string;
|
|
752
|
-
country: string;
|
|
748
|
+
line1?: string | null | undefined;
|
|
753
749
|
line2?: string | null | undefined;
|
|
750
|
+
city?: string | null | undefined;
|
|
751
|
+
region?: string | null | undefined;
|
|
752
|
+
postalCode?: string | null | undefined;
|
|
753
|
+
country?: string | null | undefined;
|
|
754
754
|
};
|
|
755
755
|
timezone: string;
|
|
756
756
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -794,26 +794,26 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
794
794
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/companies/:id">>;
|
|
795
795
|
name: z.ZodString;
|
|
796
796
|
address: z.ZodObject<{
|
|
797
|
-
line1: z.ZodString
|
|
797
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
798
798
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
799
|
-
city: z.ZodString
|
|
800
|
-
region: z.ZodString
|
|
801
|
-
postalCode: z.ZodString
|
|
802
|
-
country: z.ZodString
|
|
799
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
800
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
801
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
802
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
803
803
|
}, "strip", z.ZodTypeAny, {
|
|
804
|
-
line1
|
|
805
|
-
city: string;
|
|
806
|
-
region: string;
|
|
807
|
-
postalCode: string;
|
|
808
|
-
country: string;
|
|
804
|
+
line1?: string | null | undefined;
|
|
809
805
|
line2?: string | null | undefined;
|
|
806
|
+
city?: string | null | undefined;
|
|
807
|
+
region?: string | null | undefined;
|
|
808
|
+
postalCode?: string | null | undefined;
|
|
809
|
+
country?: string | null | undefined;
|
|
810
810
|
}, {
|
|
811
|
-
line1
|
|
812
|
-
city: string;
|
|
813
|
-
region: string;
|
|
814
|
-
postalCode: string;
|
|
815
|
-
country: string;
|
|
811
|
+
line1?: string | null | undefined;
|
|
816
812
|
line2?: string | null | undefined;
|
|
813
|
+
city?: string | null | undefined;
|
|
814
|
+
region?: string | null | undefined;
|
|
815
|
+
postalCode?: string | null | undefined;
|
|
816
|
+
country?: string | null | undefined;
|
|
817
817
|
}>;
|
|
818
818
|
timezone: z.ZodString;
|
|
819
819
|
capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
|
|
@@ -932,12 +932,12 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
932
932
|
}, "strip", z.ZodTypeAny, {
|
|
933
933
|
name: string;
|
|
934
934
|
address: {
|
|
935
|
-
line1
|
|
936
|
-
city: string;
|
|
937
|
-
region: string;
|
|
938
|
-
postalCode: string;
|
|
939
|
-
country: string;
|
|
935
|
+
line1?: string | null | undefined;
|
|
940
936
|
line2?: string | null | undefined;
|
|
937
|
+
city?: string | null | undefined;
|
|
938
|
+
region?: string | null | undefined;
|
|
939
|
+
postalCode?: string | null | undefined;
|
|
940
|
+
country?: string | null | undefined;
|
|
941
941
|
};
|
|
942
942
|
timezone: string;
|
|
943
943
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -979,12 +979,12 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
979
979
|
}, {
|
|
980
980
|
name: string;
|
|
981
981
|
address: {
|
|
982
|
-
line1
|
|
983
|
-
city: string;
|
|
984
|
-
region: string;
|
|
985
|
-
postalCode: string;
|
|
986
|
-
country: string;
|
|
982
|
+
line1?: string | null | undefined;
|
|
987
983
|
line2?: string | null | undefined;
|
|
984
|
+
city?: string | null | undefined;
|
|
985
|
+
region?: string | null | undefined;
|
|
986
|
+
postalCode?: string | null | undefined;
|
|
987
|
+
country?: string | null | undefined;
|
|
988
988
|
};
|
|
989
989
|
timezone: string;
|
|
990
990
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1062,26 +1062,26 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1062
1062
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/companies/:id">>;
|
|
1063
1063
|
name: z.ZodString;
|
|
1064
1064
|
address: z.ZodObject<{
|
|
1065
|
-
line1: z.ZodString
|
|
1065
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1066
1066
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1067
|
-
city: z.ZodString
|
|
1068
|
-
region: z.ZodString
|
|
1069
|
-
postalCode: z.ZodString
|
|
1070
|
-
country: z.ZodString
|
|
1067
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1068
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1069
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1070
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1071
1071
|
}, "strip", z.ZodTypeAny, {
|
|
1072
|
-
line1
|
|
1073
|
-
city: string;
|
|
1074
|
-
region: string;
|
|
1075
|
-
postalCode: string;
|
|
1076
|
-
country: string;
|
|
1072
|
+
line1?: string | null | undefined;
|
|
1077
1073
|
line2?: string | null | undefined;
|
|
1074
|
+
city?: string | null | undefined;
|
|
1075
|
+
region?: string | null | undefined;
|
|
1076
|
+
postalCode?: string | null | undefined;
|
|
1077
|
+
country?: string | null | undefined;
|
|
1078
1078
|
}, {
|
|
1079
|
-
line1
|
|
1080
|
-
city: string;
|
|
1081
|
-
region: string;
|
|
1082
|
-
postalCode: string;
|
|
1083
|
-
country: string;
|
|
1079
|
+
line1?: string | null | undefined;
|
|
1084
1080
|
line2?: string | null | undefined;
|
|
1081
|
+
city?: string | null | undefined;
|
|
1082
|
+
region?: string | null | undefined;
|
|
1083
|
+
postalCode?: string | null | undefined;
|
|
1084
|
+
country?: string | null | undefined;
|
|
1085
1085
|
}>;
|
|
1086
1086
|
timezone: z.ZodString;
|
|
1087
1087
|
capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
|
|
@@ -1200,12 +1200,12 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1200
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1201
1201
|
name: string;
|
|
1202
1202
|
address: {
|
|
1203
|
-
line1
|
|
1204
|
-
city: string;
|
|
1205
|
-
region: string;
|
|
1206
|
-
postalCode: string;
|
|
1207
|
-
country: string;
|
|
1203
|
+
line1?: string | null | undefined;
|
|
1208
1204
|
line2?: string | null | undefined;
|
|
1205
|
+
city?: string | null | undefined;
|
|
1206
|
+
region?: string | null | undefined;
|
|
1207
|
+
postalCode?: string | null | undefined;
|
|
1208
|
+
country?: string | null | undefined;
|
|
1209
1209
|
};
|
|
1210
1210
|
timezone: string;
|
|
1211
1211
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1247,12 +1247,12 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1247
1247
|
}, {
|
|
1248
1248
|
name: string;
|
|
1249
1249
|
address: {
|
|
1250
|
-
line1
|
|
1251
|
-
city: string;
|
|
1252
|
-
region: string;
|
|
1253
|
-
postalCode: string;
|
|
1254
|
-
country: string;
|
|
1250
|
+
line1?: string | null | undefined;
|
|
1255
1251
|
line2?: string | null | undefined;
|
|
1252
|
+
city?: string | null | undefined;
|
|
1253
|
+
region?: string | null | undefined;
|
|
1254
|
+
postalCode?: string | null | undefined;
|
|
1255
|
+
country?: string | null | undefined;
|
|
1256
1256
|
};
|
|
1257
1257
|
timezone: string;
|
|
1258
1258
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1297,26 +1297,26 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1297
1297
|
id: z.ZodString;
|
|
1298
1298
|
name: z.ZodString;
|
|
1299
1299
|
address: z.ZodObject<{
|
|
1300
|
-
line1: z.ZodString
|
|
1300
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1301
1301
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1302
|
-
city: z.ZodString
|
|
1303
|
-
region: z.ZodString
|
|
1304
|
-
postalCode: z.ZodString
|
|
1305
|
-
country: z.ZodString
|
|
1302
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1303
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1304
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1305
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1306
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1307
|
-
line1
|
|
1308
|
-
city: string;
|
|
1309
|
-
region: string;
|
|
1310
|
-
postalCode: string;
|
|
1311
|
-
country: string;
|
|
1307
|
+
line1?: string | null | undefined;
|
|
1312
1308
|
line2?: string | null | undefined;
|
|
1309
|
+
city?: string | null | undefined;
|
|
1310
|
+
region?: string | null | undefined;
|
|
1311
|
+
postalCode?: string | null | undefined;
|
|
1312
|
+
country?: string | null | undefined;
|
|
1313
1313
|
}, {
|
|
1314
|
-
line1
|
|
1315
|
-
city: string;
|
|
1316
|
-
region: string;
|
|
1317
|
-
postalCode: string;
|
|
1318
|
-
country: string;
|
|
1314
|
+
line1?: string | null | undefined;
|
|
1319
1315
|
line2?: string | null | undefined;
|
|
1316
|
+
city?: string | null | undefined;
|
|
1317
|
+
region?: string | null | undefined;
|
|
1318
|
+
postalCode?: string | null | undefined;
|
|
1319
|
+
country?: string | null | undefined;
|
|
1320
1320
|
}>;
|
|
1321
1321
|
timezone: z.ZodString;
|
|
1322
1322
|
location: z.ZodObject<{
|
|
@@ -1451,12 +1451,12 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1451
1451
|
id: string;
|
|
1452
1452
|
name: string;
|
|
1453
1453
|
address: {
|
|
1454
|
-
line1
|
|
1455
|
-
city: string;
|
|
1456
|
-
region: string;
|
|
1457
|
-
postalCode: string;
|
|
1458
|
-
country: string;
|
|
1454
|
+
line1?: string | null | undefined;
|
|
1459
1455
|
line2?: string | null | undefined;
|
|
1456
|
+
city?: string | null | undefined;
|
|
1457
|
+
region?: string | null | undefined;
|
|
1458
|
+
postalCode?: string | null | undefined;
|
|
1459
|
+
country?: string | null | undefined;
|
|
1460
1460
|
};
|
|
1461
1461
|
timezone: string;
|
|
1462
1462
|
location: {
|
|
@@ -1506,12 +1506,12 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1506
1506
|
id: string;
|
|
1507
1507
|
name: string;
|
|
1508
1508
|
address: {
|
|
1509
|
-
line1
|
|
1510
|
-
city: string;
|
|
1511
|
-
region: string;
|
|
1512
|
-
postalCode: string;
|
|
1513
|
-
country: string;
|
|
1509
|
+
line1?: string | null | undefined;
|
|
1514
1510
|
line2?: string | null | undefined;
|
|
1511
|
+
city?: string | null | undefined;
|
|
1512
|
+
region?: string | null | undefined;
|
|
1513
|
+
postalCode?: string | null | undefined;
|
|
1514
|
+
country?: string | null | undefined;
|
|
1515
1515
|
};
|
|
1516
1516
|
timezone: string;
|
|
1517
1517
|
location: {
|
|
@@ -1567,26 +1567,26 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1567
1567
|
company: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/companies/:id">>;
|
|
1568
1568
|
name: z.ZodString;
|
|
1569
1569
|
address: z.ZodObject<{
|
|
1570
|
-
line1: z.ZodString
|
|
1570
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1571
1571
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1572
|
-
city: z.ZodString
|
|
1573
|
-
region: z.ZodString
|
|
1574
|
-
postalCode: z.ZodString
|
|
1575
|
-
country: z.ZodString
|
|
1572
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1573
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1574
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1575
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1576
1576
|
}, "strip", z.ZodTypeAny, {
|
|
1577
|
-
line1
|
|
1578
|
-
city: string;
|
|
1579
|
-
region: string;
|
|
1580
|
-
postalCode: string;
|
|
1581
|
-
country: string;
|
|
1577
|
+
line1?: string | null | undefined;
|
|
1582
1578
|
line2?: string | null | undefined;
|
|
1579
|
+
city?: string | null | undefined;
|
|
1580
|
+
region?: string | null | undefined;
|
|
1581
|
+
postalCode?: string | null | undefined;
|
|
1582
|
+
country?: string | null | undefined;
|
|
1583
1583
|
}, {
|
|
1584
|
-
line1
|
|
1585
|
-
city: string;
|
|
1586
|
-
region: string;
|
|
1587
|
-
postalCode: string;
|
|
1588
|
-
country: string;
|
|
1584
|
+
line1?: string | null | undefined;
|
|
1589
1585
|
line2?: string | null | undefined;
|
|
1586
|
+
city?: string | null | undefined;
|
|
1587
|
+
region?: string | null | undefined;
|
|
1588
|
+
postalCode?: string | null | undefined;
|
|
1589
|
+
country?: string | null | undefined;
|
|
1590
1590
|
}>;
|
|
1591
1591
|
timezone: z.ZodString;
|
|
1592
1592
|
capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
|
|
@@ -1705,12 +1705,12 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1705
1705
|
}, "strip", z.ZodTypeAny, {
|
|
1706
1706
|
name: string;
|
|
1707
1707
|
address: {
|
|
1708
|
-
line1
|
|
1709
|
-
city: string;
|
|
1710
|
-
region: string;
|
|
1711
|
-
postalCode: string;
|
|
1712
|
-
country: string;
|
|
1708
|
+
line1?: string | null | undefined;
|
|
1713
1709
|
line2?: string | null | undefined;
|
|
1710
|
+
city?: string | null | undefined;
|
|
1711
|
+
region?: string | null | undefined;
|
|
1712
|
+
postalCode?: string | null | undefined;
|
|
1713
|
+
country?: string | null | undefined;
|
|
1714
1714
|
};
|
|
1715
1715
|
timezone: string;
|
|
1716
1716
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1752,12 +1752,12 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1752
1752
|
}, {
|
|
1753
1753
|
name: string;
|
|
1754
1754
|
address: {
|
|
1755
|
-
line1
|
|
1756
|
-
city: string;
|
|
1757
|
-
region: string;
|
|
1758
|
-
postalCode: string;
|
|
1759
|
-
country: string;
|
|
1755
|
+
line1?: string | null | undefined;
|
|
1760
1756
|
line2?: string | null | undefined;
|
|
1757
|
+
city?: string | null | undefined;
|
|
1758
|
+
region?: string | null | undefined;
|
|
1759
|
+
postalCode?: string | null | undefined;
|
|
1760
|
+
country?: string | null | undefined;
|
|
1761
1761
|
};
|
|
1762
1762
|
timezone: string;
|
|
1763
1763
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1801,26 +1801,26 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1801
1801
|
id: z.ZodString;
|
|
1802
1802
|
name: z.ZodString;
|
|
1803
1803
|
address: z.ZodObject<{
|
|
1804
|
-
line1: z.ZodString
|
|
1804
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1805
1805
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1806
|
-
city: z.ZodString
|
|
1807
|
-
region: z.ZodString
|
|
1808
|
-
postalCode: z.ZodString
|
|
1809
|
-
country: z.ZodString
|
|
1806
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1807
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1808
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1809
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1810
1810
|
}, "strip", z.ZodTypeAny, {
|
|
1811
|
-
line1
|
|
1812
|
-
city: string;
|
|
1813
|
-
region: string;
|
|
1814
|
-
postalCode: string;
|
|
1815
|
-
country: string;
|
|
1811
|
+
line1?: string | null | undefined;
|
|
1816
1812
|
line2?: string | null | undefined;
|
|
1813
|
+
city?: string | null | undefined;
|
|
1814
|
+
region?: string | null | undefined;
|
|
1815
|
+
postalCode?: string | null | undefined;
|
|
1816
|
+
country?: string | null | undefined;
|
|
1817
1817
|
}, {
|
|
1818
|
-
line1
|
|
1819
|
-
city: string;
|
|
1820
|
-
region: string;
|
|
1821
|
-
postalCode: string;
|
|
1822
|
-
country: string;
|
|
1818
|
+
line1?: string | null | undefined;
|
|
1823
1819
|
line2?: string | null | undefined;
|
|
1820
|
+
city?: string | null | undefined;
|
|
1821
|
+
region?: string | null | undefined;
|
|
1822
|
+
postalCode?: string | null | undefined;
|
|
1823
|
+
country?: string | null | undefined;
|
|
1824
1824
|
}>;
|
|
1825
1825
|
timezone: z.ZodString;
|
|
1826
1826
|
location: z.ZodObject<{
|
|
@@ -1955,12 +1955,12 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
1955
1955
|
id: string;
|
|
1956
1956
|
name: string;
|
|
1957
1957
|
address: {
|
|
1958
|
-
line1
|
|
1959
|
-
city: string;
|
|
1960
|
-
region: string;
|
|
1961
|
-
postalCode: string;
|
|
1962
|
-
country: string;
|
|
1958
|
+
line1?: string | null | undefined;
|
|
1963
1959
|
line2?: string | null | undefined;
|
|
1960
|
+
city?: string | null | undefined;
|
|
1961
|
+
region?: string | null | undefined;
|
|
1962
|
+
postalCode?: string | null | undefined;
|
|
1963
|
+
country?: string | null | undefined;
|
|
1964
1964
|
};
|
|
1965
1965
|
timezone: string;
|
|
1966
1966
|
location: {
|
|
@@ -2010,12 +2010,12 @@ declare class CreatePointOfSale extends AbstractApiRequest<typeof createPointOfS
|
|
|
2010
2010
|
id: string;
|
|
2011
2011
|
name: string;
|
|
2012
2012
|
address: {
|
|
2013
|
-
line1
|
|
2014
|
-
city: string;
|
|
2015
|
-
region: string;
|
|
2016
|
-
postalCode: string;
|
|
2017
|
-
country: string;
|
|
2013
|
+
line1?: string | null | undefined;
|
|
2018
2014
|
line2?: string | null | undefined;
|
|
2015
|
+
city?: string | null | undefined;
|
|
2016
|
+
region?: string | null | undefined;
|
|
2017
|
+
postalCode?: string | null | undefined;
|
|
2018
|
+
country?: string | null | undefined;
|
|
2019
2019
|
};
|
|
2020
2020
|
timezone: string;
|
|
2021
2021
|
location: {
|
|
@@ -2089,26 +2089,26 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2089
2089
|
id: z.ZodString;
|
|
2090
2090
|
name: z.ZodString;
|
|
2091
2091
|
address: z.ZodObject<{
|
|
2092
|
-
line1: z.ZodString
|
|
2092
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2093
2093
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2094
|
-
city: z.ZodString
|
|
2095
|
-
region: z.ZodString
|
|
2096
|
-
postalCode: z.ZodString
|
|
2097
|
-
country: z.ZodString
|
|
2094
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2095
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2096
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2097
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2098
2098
|
}, "strip", z.ZodTypeAny, {
|
|
2099
|
-
line1
|
|
2100
|
-
city: string;
|
|
2101
|
-
region: string;
|
|
2102
|
-
postalCode: string;
|
|
2103
|
-
country: string;
|
|
2099
|
+
line1?: string | null | undefined;
|
|
2104
2100
|
line2?: string | null | undefined;
|
|
2101
|
+
city?: string | null | undefined;
|
|
2102
|
+
region?: string | null | undefined;
|
|
2103
|
+
postalCode?: string | null | undefined;
|
|
2104
|
+
country?: string | null | undefined;
|
|
2105
2105
|
}, {
|
|
2106
|
-
line1
|
|
2107
|
-
city: string;
|
|
2108
|
-
region: string;
|
|
2109
|
-
postalCode: string;
|
|
2110
|
-
country: string;
|
|
2106
|
+
line1?: string | null | undefined;
|
|
2111
2107
|
line2?: string | null | undefined;
|
|
2108
|
+
city?: string | null | undefined;
|
|
2109
|
+
region?: string | null | undefined;
|
|
2110
|
+
postalCode?: string | null | undefined;
|
|
2111
|
+
country?: string | null | undefined;
|
|
2112
2112
|
}>;
|
|
2113
2113
|
timezone: z.ZodString;
|
|
2114
2114
|
location: z.ZodObject<{
|
|
@@ -2243,12 +2243,12 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2243
2243
|
id: string;
|
|
2244
2244
|
name: string;
|
|
2245
2245
|
address: {
|
|
2246
|
-
line1
|
|
2247
|
-
city: string;
|
|
2248
|
-
region: string;
|
|
2249
|
-
postalCode: string;
|
|
2250
|
-
country: string;
|
|
2246
|
+
line1?: string | null | undefined;
|
|
2251
2247
|
line2?: string | null | undefined;
|
|
2248
|
+
city?: string | null | undefined;
|
|
2249
|
+
region?: string | null | undefined;
|
|
2250
|
+
postalCode?: string | null | undefined;
|
|
2251
|
+
country?: string | null | undefined;
|
|
2252
2252
|
};
|
|
2253
2253
|
timezone: string;
|
|
2254
2254
|
location: {
|
|
@@ -2298,12 +2298,12 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2298
2298
|
id: string;
|
|
2299
2299
|
name: string;
|
|
2300
2300
|
address: {
|
|
2301
|
-
line1
|
|
2302
|
-
city: string;
|
|
2303
|
-
region: string;
|
|
2304
|
-
postalCode: string;
|
|
2305
|
-
country: string;
|
|
2301
|
+
line1?: string | null | undefined;
|
|
2306
2302
|
line2?: string | null | undefined;
|
|
2303
|
+
city?: string | null | undefined;
|
|
2304
|
+
region?: string | null | undefined;
|
|
2305
|
+
postalCode?: string | null | undefined;
|
|
2306
|
+
country?: string | null | undefined;
|
|
2307
2307
|
};
|
|
2308
2308
|
timezone: string;
|
|
2309
2309
|
location: {
|
|
@@ -2360,26 +2360,26 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2360
2360
|
id: z.ZodString;
|
|
2361
2361
|
name: z.ZodString;
|
|
2362
2362
|
address: z.ZodObject<{
|
|
2363
|
-
line1: z.ZodString
|
|
2363
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2364
2364
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2365
|
-
city: z.ZodString
|
|
2366
|
-
region: z.ZodString
|
|
2367
|
-
postalCode: z.ZodString
|
|
2368
|
-
country: z.ZodString
|
|
2365
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2366
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2367
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2368
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2369
2369
|
}, "strip", z.ZodTypeAny, {
|
|
2370
|
-
line1
|
|
2371
|
-
city: string;
|
|
2372
|
-
region: string;
|
|
2373
|
-
postalCode: string;
|
|
2374
|
-
country: string;
|
|
2370
|
+
line1?: string | null | undefined;
|
|
2375
2371
|
line2?: string | null | undefined;
|
|
2372
|
+
city?: string | null | undefined;
|
|
2373
|
+
region?: string | null | undefined;
|
|
2374
|
+
postalCode?: string | null | undefined;
|
|
2375
|
+
country?: string | null | undefined;
|
|
2376
2376
|
}, {
|
|
2377
|
-
line1
|
|
2378
|
-
city: string;
|
|
2379
|
-
region: string;
|
|
2380
|
-
postalCode: string;
|
|
2381
|
-
country: string;
|
|
2377
|
+
line1?: string | null | undefined;
|
|
2382
2378
|
line2?: string | null | undefined;
|
|
2379
|
+
city?: string | null | undefined;
|
|
2380
|
+
region?: string | null | undefined;
|
|
2381
|
+
postalCode?: string | null | undefined;
|
|
2382
|
+
country?: string | null | undefined;
|
|
2383
2383
|
}>;
|
|
2384
2384
|
timezone: z.ZodString;
|
|
2385
2385
|
location: z.ZodObject<{
|
|
@@ -2514,12 +2514,12 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2514
2514
|
id: string;
|
|
2515
2515
|
name: string;
|
|
2516
2516
|
address: {
|
|
2517
|
-
line1
|
|
2518
|
-
city: string;
|
|
2519
|
-
region: string;
|
|
2520
|
-
postalCode: string;
|
|
2521
|
-
country: string;
|
|
2517
|
+
line1?: string | null | undefined;
|
|
2522
2518
|
line2?: string | null | undefined;
|
|
2519
|
+
city?: string | null | undefined;
|
|
2520
|
+
region?: string | null | undefined;
|
|
2521
|
+
postalCode?: string | null | undefined;
|
|
2522
|
+
country?: string | null | undefined;
|
|
2523
2523
|
};
|
|
2524
2524
|
timezone: string;
|
|
2525
2525
|
location: {
|
|
@@ -2569,12 +2569,12 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<typeof getPointOf
|
|
|
2569
2569
|
id: string;
|
|
2570
2570
|
name: string;
|
|
2571
2571
|
address: {
|
|
2572
|
-
line1
|
|
2573
|
-
city: string;
|
|
2574
|
-
region: string;
|
|
2575
|
-
postalCode: string;
|
|
2576
|
-
country: string;
|
|
2572
|
+
line1?: string | null | undefined;
|
|
2577
2573
|
line2?: string | null | undefined;
|
|
2574
|
+
city?: string | null | undefined;
|
|
2575
|
+
region?: string | null | undefined;
|
|
2576
|
+
postalCode?: string | null | undefined;
|
|
2577
|
+
country?: string | null | undefined;
|
|
2578
2578
|
};
|
|
2579
2579
|
timezone: string;
|
|
2580
2580
|
location: {
|
|
@@ -2667,26 +2667,26 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2667
2667
|
id: z.ZodString;
|
|
2668
2668
|
name: z.ZodString;
|
|
2669
2669
|
address: z.ZodObject<{
|
|
2670
|
-
line1: z.ZodString
|
|
2670
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2671
2671
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2672
|
-
city: z.ZodString
|
|
2673
|
-
region: z.ZodString
|
|
2674
|
-
postalCode: z.ZodString
|
|
2675
|
-
country: z.ZodString
|
|
2672
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2673
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2674
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2675
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2676
2676
|
}, "strip", z.ZodTypeAny, {
|
|
2677
|
-
line1
|
|
2678
|
-
city: string;
|
|
2679
|
-
region: string;
|
|
2680
|
-
postalCode: string;
|
|
2681
|
-
country: string;
|
|
2677
|
+
line1?: string | null | undefined;
|
|
2682
2678
|
line2?: string | null | undefined;
|
|
2679
|
+
city?: string | null | undefined;
|
|
2680
|
+
region?: string | null | undefined;
|
|
2681
|
+
postalCode?: string | null | undefined;
|
|
2682
|
+
country?: string | null | undefined;
|
|
2683
2683
|
}, {
|
|
2684
|
-
line1
|
|
2685
|
-
city: string;
|
|
2686
|
-
region: string;
|
|
2687
|
-
postalCode: string;
|
|
2688
|
-
country: string;
|
|
2684
|
+
line1?: string | null | undefined;
|
|
2689
2685
|
line2?: string | null | undefined;
|
|
2686
|
+
city?: string | null | undefined;
|
|
2687
|
+
region?: string | null | undefined;
|
|
2688
|
+
postalCode?: string | null | undefined;
|
|
2689
|
+
country?: string | null | undefined;
|
|
2690
2690
|
}>;
|
|
2691
2691
|
timezone: z.ZodString;
|
|
2692
2692
|
location: z.ZodObject<{
|
|
@@ -2707,12 +2707,12 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2707
2707
|
id: string;
|
|
2708
2708
|
name: string;
|
|
2709
2709
|
address: {
|
|
2710
|
-
line1
|
|
2711
|
-
city: string;
|
|
2712
|
-
region: string;
|
|
2713
|
-
postalCode: string;
|
|
2714
|
-
country: string;
|
|
2710
|
+
line1?: string | null | undefined;
|
|
2715
2711
|
line2?: string | null | undefined;
|
|
2712
|
+
city?: string | null | undefined;
|
|
2713
|
+
region?: string | null | undefined;
|
|
2714
|
+
postalCode?: string | null | undefined;
|
|
2715
|
+
country?: string | null | undefined;
|
|
2716
2716
|
};
|
|
2717
2717
|
timezone: string;
|
|
2718
2718
|
location: {
|
|
@@ -2727,12 +2727,12 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2727
2727
|
id: string;
|
|
2728
2728
|
name: string;
|
|
2729
2729
|
address: {
|
|
2730
|
-
line1
|
|
2731
|
-
city: string;
|
|
2732
|
-
region: string;
|
|
2733
|
-
postalCode: string;
|
|
2734
|
-
country: string;
|
|
2730
|
+
line1?: string | null | undefined;
|
|
2735
2731
|
line2?: string | null | undefined;
|
|
2732
|
+
city?: string | null | undefined;
|
|
2733
|
+
region?: string | null | undefined;
|
|
2734
|
+
postalCode?: string | null | undefined;
|
|
2735
|
+
country?: string | null | undefined;
|
|
2736
2736
|
};
|
|
2737
2737
|
timezone: string;
|
|
2738
2738
|
location: {
|
|
@@ -2771,12 +2771,12 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2771
2771
|
id: string;
|
|
2772
2772
|
name: string;
|
|
2773
2773
|
address: {
|
|
2774
|
-
line1
|
|
2775
|
-
city: string;
|
|
2776
|
-
region: string;
|
|
2777
|
-
postalCode: string;
|
|
2778
|
-
country: string;
|
|
2774
|
+
line1?: string | null | undefined;
|
|
2779
2775
|
line2?: string | null | undefined;
|
|
2776
|
+
city?: string | null | undefined;
|
|
2777
|
+
region?: string | null | undefined;
|
|
2778
|
+
postalCode?: string | null | undefined;
|
|
2779
|
+
country?: string | null | undefined;
|
|
2780
2780
|
};
|
|
2781
2781
|
timezone: string;
|
|
2782
2782
|
location: {
|
|
@@ -2801,12 +2801,12 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2801
2801
|
id: string;
|
|
2802
2802
|
name: string;
|
|
2803
2803
|
address: {
|
|
2804
|
-
line1
|
|
2805
|
-
city: string;
|
|
2806
|
-
region: string;
|
|
2807
|
-
postalCode: string;
|
|
2808
|
-
country: string;
|
|
2804
|
+
line1?: string | null | undefined;
|
|
2809
2805
|
line2?: string | null | undefined;
|
|
2806
|
+
city?: string | null | undefined;
|
|
2807
|
+
region?: string | null | undefined;
|
|
2808
|
+
postalCode?: string | null | undefined;
|
|
2809
|
+
country?: string | null | undefined;
|
|
2810
2810
|
};
|
|
2811
2811
|
timezone: string;
|
|
2812
2812
|
location: {
|
|
@@ -2838,26 +2838,26 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2838
2838
|
id: z.ZodString;
|
|
2839
2839
|
name: z.ZodString;
|
|
2840
2840
|
address: z.ZodObject<{
|
|
2841
|
-
line1: z.ZodString
|
|
2841
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2842
2842
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2843
|
-
city: z.ZodString
|
|
2844
|
-
region: z.ZodString
|
|
2845
|
-
postalCode: z.ZodString
|
|
2846
|
-
country: z.ZodString
|
|
2843
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2844
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2845
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2846
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2847
2847
|
}, "strip", z.ZodTypeAny, {
|
|
2848
|
-
line1
|
|
2849
|
-
city: string;
|
|
2850
|
-
region: string;
|
|
2851
|
-
postalCode: string;
|
|
2852
|
-
country: string;
|
|
2848
|
+
line1?: string | null | undefined;
|
|
2853
2849
|
line2?: string | null | undefined;
|
|
2850
|
+
city?: string | null | undefined;
|
|
2851
|
+
region?: string | null | undefined;
|
|
2852
|
+
postalCode?: string | null | undefined;
|
|
2853
|
+
country?: string | null | undefined;
|
|
2854
2854
|
}, {
|
|
2855
|
-
line1
|
|
2856
|
-
city: string;
|
|
2857
|
-
region: string;
|
|
2858
|
-
postalCode: string;
|
|
2859
|
-
country: string;
|
|
2855
|
+
line1?: string | null | undefined;
|
|
2860
2856
|
line2?: string | null | undefined;
|
|
2857
|
+
city?: string | null | undefined;
|
|
2858
|
+
region?: string | null | undefined;
|
|
2859
|
+
postalCode?: string | null | undefined;
|
|
2860
|
+
country?: string | null | undefined;
|
|
2861
2861
|
}>;
|
|
2862
2862
|
timezone: z.ZodString;
|
|
2863
2863
|
location: z.ZodObject<{
|
|
@@ -2878,12 +2878,12 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2878
2878
|
id: string;
|
|
2879
2879
|
name: string;
|
|
2880
2880
|
address: {
|
|
2881
|
-
line1
|
|
2882
|
-
city: string;
|
|
2883
|
-
region: string;
|
|
2884
|
-
postalCode: string;
|
|
2885
|
-
country: string;
|
|
2881
|
+
line1?: string | null | undefined;
|
|
2886
2882
|
line2?: string | null | undefined;
|
|
2883
|
+
city?: string | null | undefined;
|
|
2884
|
+
region?: string | null | undefined;
|
|
2885
|
+
postalCode?: string | null | undefined;
|
|
2886
|
+
country?: string | null | undefined;
|
|
2887
2887
|
};
|
|
2888
2888
|
timezone: string;
|
|
2889
2889
|
location: {
|
|
@@ -2898,12 +2898,12 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2898
2898
|
id: string;
|
|
2899
2899
|
name: string;
|
|
2900
2900
|
address: {
|
|
2901
|
-
line1
|
|
2902
|
-
city: string;
|
|
2903
|
-
region: string;
|
|
2904
|
-
postalCode: string;
|
|
2905
|
-
country: string;
|
|
2901
|
+
line1?: string | null | undefined;
|
|
2906
2902
|
line2?: string | null | undefined;
|
|
2903
|
+
city?: string | null | undefined;
|
|
2904
|
+
region?: string | null | undefined;
|
|
2905
|
+
postalCode?: string | null | undefined;
|
|
2906
|
+
country?: string | null | undefined;
|
|
2907
2907
|
};
|
|
2908
2908
|
timezone: string;
|
|
2909
2909
|
location: {
|
|
@@ -2942,12 +2942,12 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2942
2942
|
id: string;
|
|
2943
2943
|
name: string;
|
|
2944
2944
|
address: {
|
|
2945
|
-
line1
|
|
2946
|
-
city: string;
|
|
2947
|
-
region: string;
|
|
2948
|
-
postalCode: string;
|
|
2949
|
-
country: string;
|
|
2945
|
+
line1?: string | null | undefined;
|
|
2950
2946
|
line2?: string | null | undefined;
|
|
2947
|
+
city?: string | null | undefined;
|
|
2948
|
+
region?: string | null | undefined;
|
|
2949
|
+
postalCode?: string | null | undefined;
|
|
2950
|
+
country?: string | null | undefined;
|
|
2951
2951
|
};
|
|
2952
2952
|
timezone: string;
|
|
2953
2953
|
location: {
|
|
@@ -2972,12 +2972,12 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
2972
2972
|
id: string;
|
|
2973
2973
|
name: string;
|
|
2974
2974
|
address: {
|
|
2975
|
-
line1
|
|
2976
|
-
city: string;
|
|
2977
|
-
region: string;
|
|
2978
|
-
postalCode: string;
|
|
2979
|
-
country: string;
|
|
2975
|
+
line1?: string | null | undefined;
|
|
2980
2976
|
line2?: string | null | undefined;
|
|
2977
|
+
city?: string | null | undefined;
|
|
2978
|
+
region?: string | null | undefined;
|
|
2979
|
+
postalCode?: string | null | undefined;
|
|
2980
|
+
country?: string | null | undefined;
|
|
2981
2981
|
};
|
|
2982
2982
|
timezone: string;
|
|
2983
2983
|
location: {
|
|
@@ -3040,26 +3040,26 @@ declare class GetPointOfSales extends AbstractApiRequest<typeof getPointOfSalesI
|
|
|
3040
3040
|
declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
3041
3041
|
name: z.ZodOptional<z.ZodString>;
|
|
3042
3042
|
address: z.ZodOptional<z.ZodObject<{
|
|
3043
|
-
line1: z.ZodString
|
|
3043
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3044
3044
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3045
|
-
city: z.ZodString
|
|
3046
|
-
region: z.ZodString
|
|
3047
|
-
postalCode: z.ZodString
|
|
3048
|
-
country: z.ZodString
|
|
3045
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3046
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3047
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3048
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3049
3049
|
}, "strip", z.ZodTypeAny, {
|
|
3050
|
-
line1
|
|
3051
|
-
city: string;
|
|
3052
|
-
region: string;
|
|
3053
|
-
postalCode: string;
|
|
3054
|
-
country: string;
|
|
3050
|
+
line1?: string | null | undefined;
|
|
3055
3051
|
line2?: string | null | undefined;
|
|
3052
|
+
city?: string | null | undefined;
|
|
3053
|
+
region?: string | null | undefined;
|
|
3054
|
+
postalCode?: string | null | undefined;
|
|
3055
|
+
country?: string | null | undefined;
|
|
3056
3056
|
}, {
|
|
3057
|
-
line1
|
|
3058
|
-
city: string;
|
|
3059
|
-
region: string;
|
|
3060
|
-
postalCode: string;
|
|
3061
|
-
country: string;
|
|
3057
|
+
line1?: string | null | undefined;
|
|
3062
3058
|
line2?: string | null | undefined;
|
|
3059
|
+
city?: string | null | undefined;
|
|
3060
|
+
region?: string | null | undefined;
|
|
3061
|
+
postalCode?: string | null | undefined;
|
|
3062
|
+
country?: string | null | undefined;
|
|
3063
3063
|
}>>;
|
|
3064
3064
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3065
3065
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">>;
|
|
@@ -3178,12 +3178,12 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
3178
3178
|
}, "strip", z.ZodTypeAny, {
|
|
3179
3179
|
name?: string | undefined;
|
|
3180
3180
|
address?: {
|
|
3181
|
-
line1
|
|
3182
|
-
city: string;
|
|
3183
|
-
region: string;
|
|
3184
|
-
postalCode: string;
|
|
3185
|
-
country: string;
|
|
3181
|
+
line1?: string | null | undefined;
|
|
3186
3182
|
line2?: string | null | undefined;
|
|
3183
|
+
city?: string | null | undefined;
|
|
3184
|
+
region?: string | null | undefined;
|
|
3185
|
+
postalCode?: string | null | undefined;
|
|
3186
|
+
country?: string | null | undefined;
|
|
3187
3187
|
} | undefined;
|
|
3188
3188
|
timezone?: string | undefined;
|
|
3189
3189
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3224,12 +3224,12 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
3224
3224
|
}, {
|
|
3225
3225
|
name?: string | undefined;
|
|
3226
3226
|
address?: {
|
|
3227
|
-
line1
|
|
3228
|
-
city: string;
|
|
3229
|
-
region: string;
|
|
3230
|
-
postalCode: string;
|
|
3231
|
-
country: string;
|
|
3227
|
+
line1?: string | null | undefined;
|
|
3232
3228
|
line2?: string | null | undefined;
|
|
3229
|
+
city?: string | null | undefined;
|
|
3230
|
+
region?: string | null | undefined;
|
|
3231
|
+
postalCode?: string | null | undefined;
|
|
3232
|
+
country?: string | null | undefined;
|
|
3233
3233
|
} | undefined;
|
|
3234
3234
|
timezone?: string | undefined;
|
|
3235
3235
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3273,26 +3273,26 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3273
3273
|
id: z.ZodString;
|
|
3274
3274
|
name: z.ZodString;
|
|
3275
3275
|
address: z.ZodObject<{
|
|
3276
|
-
line1: z.ZodString
|
|
3276
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3277
3277
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3278
|
-
city: z.ZodString
|
|
3279
|
-
region: z.ZodString
|
|
3280
|
-
postalCode: z.ZodString
|
|
3281
|
-
country: z.ZodString
|
|
3278
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3279
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3280
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3281
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3282
3282
|
}, "strip", z.ZodTypeAny, {
|
|
3283
|
-
line1
|
|
3284
|
-
city: string;
|
|
3285
|
-
region: string;
|
|
3286
|
-
postalCode: string;
|
|
3287
|
-
country: string;
|
|
3283
|
+
line1?: string | null | undefined;
|
|
3288
3284
|
line2?: string | null | undefined;
|
|
3285
|
+
city?: string | null | undefined;
|
|
3286
|
+
region?: string | null | undefined;
|
|
3287
|
+
postalCode?: string | null | undefined;
|
|
3288
|
+
country?: string | null | undefined;
|
|
3289
3289
|
}, {
|
|
3290
|
-
line1
|
|
3291
|
-
city: string;
|
|
3292
|
-
region: string;
|
|
3293
|
-
postalCode: string;
|
|
3294
|
-
country: string;
|
|
3290
|
+
line1?: string | null | undefined;
|
|
3295
3291
|
line2?: string | null | undefined;
|
|
3292
|
+
city?: string | null | undefined;
|
|
3293
|
+
region?: string | null | undefined;
|
|
3294
|
+
postalCode?: string | null | undefined;
|
|
3295
|
+
country?: string | null | undefined;
|
|
3296
3296
|
}>;
|
|
3297
3297
|
timezone: z.ZodString;
|
|
3298
3298
|
location: z.ZodObject<{
|
|
@@ -3427,12 +3427,12 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3427
3427
|
id: string;
|
|
3428
3428
|
name: string;
|
|
3429
3429
|
address: {
|
|
3430
|
-
line1
|
|
3431
|
-
city: string;
|
|
3432
|
-
region: string;
|
|
3433
|
-
postalCode: string;
|
|
3434
|
-
country: string;
|
|
3430
|
+
line1?: string | null | undefined;
|
|
3435
3431
|
line2?: string | null | undefined;
|
|
3432
|
+
city?: string | null | undefined;
|
|
3433
|
+
region?: string | null | undefined;
|
|
3434
|
+
postalCode?: string | null | undefined;
|
|
3435
|
+
country?: string | null | undefined;
|
|
3436
3436
|
};
|
|
3437
3437
|
timezone: string;
|
|
3438
3438
|
location: {
|
|
@@ -3482,12 +3482,12 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3482
3482
|
id: string;
|
|
3483
3483
|
name: string;
|
|
3484
3484
|
address: {
|
|
3485
|
-
line1
|
|
3486
|
-
city: string;
|
|
3487
|
-
region: string;
|
|
3488
|
-
postalCode: string;
|
|
3489
|
-
country: string;
|
|
3485
|
+
line1?: string | null | undefined;
|
|
3490
3486
|
line2?: string | null | undefined;
|
|
3487
|
+
city?: string | null | undefined;
|
|
3488
|
+
region?: string | null | undefined;
|
|
3489
|
+
postalCode?: string | null | undefined;
|
|
3490
|
+
country?: string | null | undefined;
|
|
3491
3491
|
};
|
|
3492
3492
|
timezone: string;
|
|
3493
3493
|
location: {
|
|
@@ -3542,26 +3542,26 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3542
3542
|
readonly inputSchema: z.ZodObject<{
|
|
3543
3543
|
name: z.ZodOptional<z.ZodString>;
|
|
3544
3544
|
address: z.ZodOptional<z.ZodObject<{
|
|
3545
|
-
line1: z.ZodString
|
|
3545
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3546
3546
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3547
|
-
city: z.ZodString
|
|
3548
|
-
region: z.ZodString
|
|
3549
|
-
postalCode: z.ZodString
|
|
3550
|
-
country: z.ZodString
|
|
3547
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3548
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3549
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3550
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3551
3551
|
}, "strip", z.ZodTypeAny, {
|
|
3552
|
-
line1
|
|
3553
|
-
city: string;
|
|
3554
|
-
region: string;
|
|
3555
|
-
postalCode: string;
|
|
3556
|
-
country: string;
|
|
3552
|
+
line1?: string | null | undefined;
|
|
3557
3553
|
line2?: string | null | undefined;
|
|
3554
|
+
city?: string | null | undefined;
|
|
3555
|
+
region?: string | null | undefined;
|
|
3556
|
+
postalCode?: string | null | undefined;
|
|
3557
|
+
country?: string | null | undefined;
|
|
3558
3558
|
}, {
|
|
3559
|
-
line1
|
|
3560
|
-
city: string;
|
|
3561
|
-
region: string;
|
|
3562
|
-
postalCode: string;
|
|
3563
|
-
country: string;
|
|
3559
|
+
line1?: string | null | undefined;
|
|
3564
3560
|
line2?: string | null | undefined;
|
|
3561
|
+
city?: string | null | undefined;
|
|
3562
|
+
region?: string | null | undefined;
|
|
3563
|
+
postalCode?: string | null | undefined;
|
|
3564
|
+
country?: string | null | undefined;
|
|
3565
3565
|
}>>;
|
|
3566
3566
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3567
3567
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">>;
|
|
@@ -3680,12 +3680,12 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3680
3680
|
}, "strip", z.ZodTypeAny, {
|
|
3681
3681
|
name?: string | undefined;
|
|
3682
3682
|
address?: {
|
|
3683
|
-
line1
|
|
3684
|
-
city: string;
|
|
3685
|
-
region: string;
|
|
3686
|
-
postalCode: string;
|
|
3687
|
-
country: string;
|
|
3683
|
+
line1?: string | null | undefined;
|
|
3688
3684
|
line2?: string | null | undefined;
|
|
3685
|
+
city?: string | null | undefined;
|
|
3686
|
+
region?: string | null | undefined;
|
|
3687
|
+
postalCode?: string | null | undefined;
|
|
3688
|
+
country?: string | null | undefined;
|
|
3689
3689
|
} | undefined;
|
|
3690
3690
|
timezone?: string | undefined;
|
|
3691
3691
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3726,12 +3726,12 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3726
3726
|
}, {
|
|
3727
3727
|
name?: string | undefined;
|
|
3728
3728
|
address?: {
|
|
3729
|
-
line1
|
|
3730
|
-
city: string;
|
|
3731
|
-
region: string;
|
|
3732
|
-
postalCode: string;
|
|
3733
|
-
country: string;
|
|
3729
|
+
line1?: string | null | undefined;
|
|
3734
3730
|
line2?: string | null | undefined;
|
|
3731
|
+
city?: string | null | undefined;
|
|
3732
|
+
region?: string | null | undefined;
|
|
3733
|
+
postalCode?: string | null | undefined;
|
|
3734
|
+
country?: string | null | undefined;
|
|
3735
3735
|
} | undefined;
|
|
3736
3736
|
timezone?: string | undefined;
|
|
3737
3737
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3774,26 +3774,26 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3774
3774
|
id: z.ZodString;
|
|
3775
3775
|
name: z.ZodString;
|
|
3776
3776
|
address: z.ZodObject<{
|
|
3777
|
-
line1: z.ZodString
|
|
3777
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3778
3778
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3779
|
-
city: z.ZodString
|
|
3780
|
-
region: z.ZodString
|
|
3781
|
-
postalCode: z.ZodString
|
|
3782
|
-
country: z.ZodString
|
|
3779
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3780
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3781
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3782
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3783
3783
|
}, "strip", z.ZodTypeAny, {
|
|
3784
|
-
line1
|
|
3785
|
-
city: string;
|
|
3786
|
-
region: string;
|
|
3787
|
-
postalCode: string;
|
|
3788
|
-
country: string;
|
|
3784
|
+
line1?: string | null | undefined;
|
|
3789
3785
|
line2?: string | null | undefined;
|
|
3786
|
+
city?: string | null | undefined;
|
|
3787
|
+
region?: string | null | undefined;
|
|
3788
|
+
postalCode?: string | null | undefined;
|
|
3789
|
+
country?: string | null | undefined;
|
|
3790
3790
|
}, {
|
|
3791
|
-
line1
|
|
3792
|
-
city: string;
|
|
3793
|
-
region: string;
|
|
3794
|
-
postalCode: string;
|
|
3795
|
-
country: string;
|
|
3791
|
+
line1?: string | null | undefined;
|
|
3796
3792
|
line2?: string | null | undefined;
|
|
3793
|
+
city?: string | null | undefined;
|
|
3794
|
+
region?: string | null | undefined;
|
|
3795
|
+
postalCode?: string | null | undefined;
|
|
3796
|
+
country?: string | null | undefined;
|
|
3797
3797
|
}>;
|
|
3798
3798
|
timezone: z.ZodString;
|
|
3799
3799
|
location: z.ZodObject<{
|
|
@@ -3928,12 +3928,12 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3928
3928
|
id: string;
|
|
3929
3929
|
name: string;
|
|
3930
3930
|
address: {
|
|
3931
|
-
line1
|
|
3932
|
-
city: string;
|
|
3933
|
-
region: string;
|
|
3934
|
-
postalCode: string;
|
|
3935
|
-
country: string;
|
|
3931
|
+
line1?: string | null | undefined;
|
|
3936
3932
|
line2?: string | null | undefined;
|
|
3933
|
+
city?: string | null | undefined;
|
|
3934
|
+
region?: string | null | undefined;
|
|
3935
|
+
postalCode?: string | null | undefined;
|
|
3936
|
+
country?: string | null | undefined;
|
|
3937
3937
|
};
|
|
3938
3938
|
timezone: string;
|
|
3939
3939
|
location: {
|
|
@@ -3983,12 +3983,12 @@ declare class UpdatePointOfSale extends AbstractApiRequest<typeof updatePointOfS
|
|
|
3983
3983
|
id: string;
|
|
3984
3984
|
name: string;
|
|
3985
3985
|
address: {
|
|
3986
|
-
line1
|
|
3987
|
-
city: string;
|
|
3988
|
-
region: string;
|
|
3989
|
-
postalCode: string;
|
|
3990
|
-
country: string;
|
|
3986
|
+
line1?: string | null | undefined;
|
|
3991
3987
|
line2?: string | null | undefined;
|
|
3988
|
+
city?: string | null | undefined;
|
|
3989
|
+
region?: string | null | undefined;
|
|
3990
|
+
postalCode?: string | null | undefined;
|
|
3991
|
+
country?: string | null | undefined;
|
|
3992
3992
|
};
|
|
3993
3993
|
timezone: string;
|
|
3994
3994
|
location: {
|