@deliverart/sdk-js-point-of-sale 0.0.6 → 0.0.8
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +12 -5
- package/dist/index.d.cts +91 -91
- package/dist/index.d.ts +91 -91
- package/dist/index.js +12 -5
- package/package.json +4 -4
- package/src/types.ts +13 -5
package/dist/index.d.cts
CHANGED
|
@@ -65,7 +65,7 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
65
65
|
name: z.ZodString;
|
|
66
66
|
address: z.ZodObject<{
|
|
67
67
|
line1: z.ZodString;
|
|
68
|
-
line2: z.ZodOptional<z.ZodString
|
|
68
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
69
|
city: z.ZodString;
|
|
70
70
|
region: z.ZodString;
|
|
71
71
|
postalCode: z.ZodString;
|
|
@@ -76,14 +76,14 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
76
76
|
region: string;
|
|
77
77
|
postalCode: string;
|
|
78
78
|
country: string;
|
|
79
|
-
line2?: string | undefined;
|
|
79
|
+
line2?: string | null | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
line1: string;
|
|
82
82
|
city: string;
|
|
83
83
|
region: string;
|
|
84
84
|
postalCode: string;
|
|
85
85
|
country: string;
|
|
86
|
-
line2?: string | undefined;
|
|
86
|
+
line2?: string | null | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
timezone: z.ZodString;
|
|
89
89
|
location: z.ZodObject<{
|
|
@@ -109,7 +109,7 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
109
109
|
region: string;
|
|
110
110
|
postalCode: string;
|
|
111
111
|
country: string;
|
|
112
|
-
line2?: string | undefined;
|
|
112
|
+
line2?: string | null | undefined;
|
|
113
113
|
};
|
|
114
114
|
timezone: string;
|
|
115
115
|
location: {
|
|
@@ -129,7 +129,7 @@ declare const pointOfSaleSchema: z.ZodObject<{
|
|
|
129
129
|
region: string;
|
|
130
130
|
postalCode: string;
|
|
131
131
|
country: string;
|
|
132
|
-
line2?: string | undefined;
|
|
132
|
+
line2?: string | null | undefined;
|
|
133
133
|
};
|
|
134
134
|
timezone: string;
|
|
135
135
|
location: {
|
|
@@ -148,7 +148,7 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
148
148
|
name: z.ZodString;
|
|
149
149
|
address: z.ZodObject<{
|
|
150
150
|
line1: z.ZodString;
|
|
151
|
-
line2: z.ZodOptional<z.ZodString
|
|
151
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
152
|
city: z.ZodString;
|
|
153
153
|
region: z.ZodString;
|
|
154
154
|
postalCode: z.ZodString;
|
|
@@ -159,14 +159,14 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
159
159
|
region: string;
|
|
160
160
|
postalCode: string;
|
|
161
161
|
country: string;
|
|
162
|
-
line2?: string | undefined;
|
|
162
|
+
line2?: string | null | undefined;
|
|
163
163
|
}, {
|
|
164
164
|
line1: string;
|
|
165
165
|
city: string;
|
|
166
166
|
region: string;
|
|
167
167
|
postalCode: string;
|
|
168
168
|
country: string;
|
|
169
|
-
line2?: string | undefined;
|
|
169
|
+
line2?: string | null | undefined;
|
|
170
170
|
}>;
|
|
171
171
|
timezone: z.ZodString;
|
|
172
172
|
location: z.ZodObject<{
|
|
@@ -192,7 +192,7 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
192
192
|
region: string;
|
|
193
193
|
postalCode: string;
|
|
194
194
|
country: string;
|
|
195
|
-
line2?: string | undefined;
|
|
195
|
+
line2?: string | null | undefined;
|
|
196
196
|
};
|
|
197
197
|
timezone: string;
|
|
198
198
|
location: {
|
|
@@ -212,7 +212,7 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
212
212
|
region: string;
|
|
213
213
|
postalCode: string;
|
|
214
214
|
country: string;
|
|
215
|
-
line2?: string | undefined;
|
|
215
|
+
line2?: string | null | undefined;
|
|
216
216
|
};
|
|
217
217
|
timezone: string;
|
|
218
218
|
location: {
|
|
@@ -235,7 +235,7 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
235
235
|
region: string;
|
|
236
236
|
postalCode: string;
|
|
237
237
|
country: string;
|
|
238
|
-
line2?: string | undefined;
|
|
238
|
+
line2?: string | null | undefined;
|
|
239
239
|
};
|
|
240
240
|
timezone: string;
|
|
241
241
|
location: {
|
|
@@ -258,7 +258,7 @@ declare const userPointOfSaleSchema: z.ZodObject<{
|
|
|
258
258
|
region: string;
|
|
259
259
|
postalCode: string;
|
|
260
260
|
country: string;
|
|
261
|
-
line2?: string | undefined;
|
|
261
|
+
line2?: string | null | undefined;
|
|
262
262
|
};
|
|
263
263
|
timezone: string;
|
|
264
264
|
location: {
|
|
@@ -280,7 +280,7 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
280
280
|
name: z.ZodString;
|
|
281
281
|
address: z.ZodObject<{
|
|
282
282
|
line1: z.ZodString;
|
|
283
|
-
line2: z.ZodOptional<z.ZodString
|
|
283
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
284
|
city: z.ZodString;
|
|
285
285
|
region: z.ZodString;
|
|
286
286
|
postalCode: z.ZodString;
|
|
@@ -291,14 +291,14 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
291
291
|
region: string;
|
|
292
292
|
postalCode: string;
|
|
293
293
|
country: string;
|
|
294
|
-
line2?: string | undefined;
|
|
294
|
+
line2?: string | null | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
line1: string;
|
|
297
297
|
city: string;
|
|
298
298
|
region: string;
|
|
299
299
|
postalCode: string;
|
|
300
300
|
country: string;
|
|
301
|
-
line2?: string | undefined;
|
|
301
|
+
line2?: string | null | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
timezone: z.ZodString;
|
|
304
304
|
location: z.ZodObject<{
|
|
@@ -438,7 +438,7 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
438
438
|
region: string;
|
|
439
439
|
postalCode: string;
|
|
440
440
|
country: string;
|
|
441
|
-
line2?: string | undefined;
|
|
441
|
+
line2?: string | null | undefined;
|
|
442
442
|
};
|
|
443
443
|
timezone: string;
|
|
444
444
|
location: {
|
|
@@ -493,7 +493,7 @@ declare const pointOfSaleDetailsSchema: z.ZodObject<{
|
|
|
493
493
|
region: string;
|
|
494
494
|
postalCode: string;
|
|
495
495
|
country: string;
|
|
496
|
-
line2?: string | undefined;
|
|
496
|
+
line2?: string | null | undefined;
|
|
497
497
|
};
|
|
498
498
|
timezone: string;
|
|
499
499
|
location: {
|
|
@@ -546,7 +546,7 @@ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
|
|
|
546
546
|
name: z.ZodString;
|
|
547
547
|
address: z.ZodObject<{
|
|
548
548
|
line1: z.ZodString;
|
|
549
|
-
line2: z.ZodOptional<z.ZodString
|
|
549
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
550
|
city: z.ZodString;
|
|
551
551
|
region: z.ZodString;
|
|
552
552
|
postalCode: z.ZodString;
|
|
@@ -557,14 +557,14 @@ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
|
|
|
557
557
|
region: string;
|
|
558
558
|
postalCode: string;
|
|
559
559
|
country: string;
|
|
560
|
-
line2?: string | undefined;
|
|
560
|
+
line2?: string | null | undefined;
|
|
561
561
|
}, {
|
|
562
562
|
line1: string;
|
|
563
563
|
city: string;
|
|
564
564
|
region: string;
|
|
565
565
|
postalCode: string;
|
|
566
566
|
country: string;
|
|
567
|
-
line2?: string | undefined;
|
|
567
|
+
line2?: string | null | undefined;
|
|
568
568
|
}>;
|
|
569
569
|
timezone: z.ZodString;
|
|
570
570
|
location: z.ZodObject<{
|
|
@@ -703,7 +703,7 @@ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
|
|
|
703
703
|
region: string;
|
|
704
704
|
postalCode: string;
|
|
705
705
|
country: string;
|
|
706
|
-
line2?: string | undefined;
|
|
706
|
+
line2?: string | null | undefined;
|
|
707
707
|
};
|
|
708
708
|
timezone: string;
|
|
709
709
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -749,7 +749,7 @@ declare const writablePointOfSaleSchema: z.ZodObject<Pick<{
|
|
|
749
749
|
region: string;
|
|
750
750
|
postalCode: string;
|
|
751
751
|
country: string;
|
|
752
|
-
line2?: string | undefined;
|
|
752
|
+
line2?: string | null | undefined;
|
|
753
753
|
};
|
|
754
754
|
timezone: string;
|
|
755
755
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -794,7 +794,7 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
794
794
|
name: z.ZodString;
|
|
795
795
|
address: z.ZodObject<{
|
|
796
796
|
line1: z.ZodString;
|
|
797
|
-
line2: z.ZodOptional<z.ZodString
|
|
797
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
798
798
|
city: z.ZodString;
|
|
799
799
|
region: z.ZodString;
|
|
800
800
|
postalCode: z.ZodString;
|
|
@@ -805,14 +805,14 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
805
805
|
region: string;
|
|
806
806
|
postalCode: string;
|
|
807
807
|
country: string;
|
|
808
|
-
line2?: string | undefined;
|
|
808
|
+
line2?: string | null | undefined;
|
|
809
809
|
}, {
|
|
810
810
|
line1: string;
|
|
811
811
|
city: string;
|
|
812
812
|
region: string;
|
|
813
813
|
postalCode: string;
|
|
814
814
|
country: string;
|
|
815
|
-
line2?: string | undefined;
|
|
815
|
+
line2?: string | null | undefined;
|
|
816
816
|
}>;
|
|
817
817
|
timezone: z.ZodString;
|
|
818
818
|
capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
|
|
@@ -936,7 +936,7 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
936
936
|
region: string;
|
|
937
937
|
postalCode: string;
|
|
938
938
|
country: string;
|
|
939
|
-
line2?: string | undefined;
|
|
939
|
+
line2?: string | null | undefined;
|
|
940
940
|
};
|
|
941
941
|
timezone: string;
|
|
942
942
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -983,7 +983,7 @@ declare const writableCreatePointOfSaleSchema: z.ZodObject<{
|
|
|
983
983
|
region: string;
|
|
984
984
|
postalCode: string;
|
|
985
985
|
country: string;
|
|
986
|
-
line2?: string | undefined;
|
|
986
|
+
line2?: string | null | undefined;
|
|
987
987
|
};
|
|
988
988
|
timezone: string;
|
|
989
989
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1030,7 +1030,7 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1030
1030
|
name: z.ZodString;
|
|
1031
1031
|
address: z.ZodObject<{
|
|
1032
1032
|
line1: z.ZodString;
|
|
1033
|
-
line2: z.ZodOptional<z.ZodString
|
|
1033
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1034
1034
|
city: z.ZodString;
|
|
1035
1035
|
region: z.ZodString;
|
|
1036
1036
|
postalCode: z.ZodString;
|
|
@@ -1041,14 +1041,14 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1041
1041
|
region: string;
|
|
1042
1042
|
postalCode: string;
|
|
1043
1043
|
country: string;
|
|
1044
|
-
line2?: string | undefined;
|
|
1044
|
+
line2?: string | null | undefined;
|
|
1045
1045
|
}, {
|
|
1046
1046
|
line1: string;
|
|
1047
1047
|
city: string;
|
|
1048
1048
|
region: string;
|
|
1049
1049
|
postalCode: string;
|
|
1050
1050
|
country: string;
|
|
1051
|
-
line2?: string | undefined;
|
|
1051
|
+
line2?: string | null | undefined;
|
|
1052
1052
|
}>;
|
|
1053
1053
|
timezone: z.ZodString;
|
|
1054
1054
|
capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
|
|
@@ -1172,7 +1172,7 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1172
1172
|
region: string;
|
|
1173
1173
|
postalCode: string;
|
|
1174
1174
|
country: string;
|
|
1175
|
-
line2?: string | undefined;
|
|
1175
|
+
line2?: string | null | undefined;
|
|
1176
1176
|
};
|
|
1177
1177
|
timezone: string;
|
|
1178
1178
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1219,7 +1219,7 @@ declare const createPointOfSaleInputSchema: z.ZodObject<{
|
|
|
1219
1219
|
region: string;
|
|
1220
1220
|
postalCode: string;
|
|
1221
1221
|
country: string;
|
|
1222
|
-
line2?: string | undefined;
|
|
1222
|
+
line2?: string | null | undefined;
|
|
1223
1223
|
};
|
|
1224
1224
|
timezone: string;
|
|
1225
1225
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1265,7 +1265,7 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1265
1265
|
name: z.ZodString;
|
|
1266
1266
|
address: z.ZodObject<{
|
|
1267
1267
|
line1: z.ZodString;
|
|
1268
|
-
line2: z.ZodOptional<z.ZodString
|
|
1268
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1269
1269
|
city: z.ZodString;
|
|
1270
1270
|
region: z.ZodString;
|
|
1271
1271
|
postalCode: z.ZodString;
|
|
@@ -1276,14 +1276,14 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1276
1276
|
region: string;
|
|
1277
1277
|
postalCode: string;
|
|
1278
1278
|
country: string;
|
|
1279
|
-
line2?: string | undefined;
|
|
1279
|
+
line2?: string | null | undefined;
|
|
1280
1280
|
}, {
|
|
1281
1281
|
line1: string;
|
|
1282
1282
|
city: string;
|
|
1283
1283
|
region: string;
|
|
1284
1284
|
postalCode: string;
|
|
1285
1285
|
country: string;
|
|
1286
|
-
line2?: string | undefined;
|
|
1286
|
+
line2?: string | null | undefined;
|
|
1287
1287
|
}>;
|
|
1288
1288
|
timezone: z.ZodString;
|
|
1289
1289
|
location: z.ZodObject<{
|
|
@@ -1423,7 +1423,7 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1423
1423
|
region: string;
|
|
1424
1424
|
postalCode: string;
|
|
1425
1425
|
country: string;
|
|
1426
|
-
line2?: string | undefined;
|
|
1426
|
+
line2?: string | null | undefined;
|
|
1427
1427
|
};
|
|
1428
1428
|
timezone: string;
|
|
1429
1429
|
location: {
|
|
@@ -1478,7 +1478,7 @@ declare const createPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1478
1478
|
region: string;
|
|
1479
1479
|
postalCode: string;
|
|
1480
1480
|
country: string;
|
|
1481
|
-
line2?: string | undefined;
|
|
1481
|
+
line2?: string | null | undefined;
|
|
1482
1482
|
};
|
|
1483
1483
|
timezone: string;
|
|
1484
1484
|
location: {
|
|
@@ -1535,7 +1535,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1535
1535
|
name: z.ZodString;
|
|
1536
1536
|
address: z.ZodObject<{
|
|
1537
1537
|
line1: z.ZodString;
|
|
1538
|
-
line2: z.ZodOptional<z.ZodString
|
|
1538
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1539
1539
|
city: z.ZodString;
|
|
1540
1540
|
region: z.ZodString;
|
|
1541
1541
|
postalCode: z.ZodString;
|
|
@@ -1546,14 +1546,14 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1546
1546
|
region: string;
|
|
1547
1547
|
postalCode: string;
|
|
1548
1548
|
country: string;
|
|
1549
|
-
line2?: string | undefined;
|
|
1549
|
+
line2?: string | null | undefined;
|
|
1550
1550
|
}, {
|
|
1551
1551
|
line1: string;
|
|
1552
1552
|
city: string;
|
|
1553
1553
|
region: string;
|
|
1554
1554
|
postalCode: string;
|
|
1555
1555
|
country: string;
|
|
1556
|
-
line2?: string | undefined;
|
|
1556
|
+
line2?: string | null | undefined;
|
|
1557
1557
|
}>;
|
|
1558
1558
|
timezone: z.ZodString;
|
|
1559
1559
|
capabilities: z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">;
|
|
@@ -1677,7 +1677,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1677
1677
|
region: string;
|
|
1678
1678
|
postalCode: string;
|
|
1679
1679
|
country: string;
|
|
1680
|
-
line2?: string | undefined;
|
|
1680
|
+
line2?: string | null | undefined;
|
|
1681
1681
|
};
|
|
1682
1682
|
timezone: string;
|
|
1683
1683
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1724,7 +1724,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1724
1724
|
region: string;
|
|
1725
1725
|
postalCode: string;
|
|
1726
1726
|
country: string;
|
|
1727
|
-
line2?: string | undefined;
|
|
1727
|
+
line2?: string | null | undefined;
|
|
1728
1728
|
};
|
|
1729
1729
|
timezone: string;
|
|
1730
1730
|
capabilities: "DELIVERY_OPTIMIZATION"[];
|
|
@@ -1769,7 +1769,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1769
1769
|
name: z.ZodString;
|
|
1770
1770
|
address: z.ZodObject<{
|
|
1771
1771
|
line1: z.ZodString;
|
|
1772
|
-
line2: z.ZodOptional<z.ZodString
|
|
1772
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1773
1773
|
city: z.ZodString;
|
|
1774
1774
|
region: z.ZodString;
|
|
1775
1775
|
postalCode: z.ZodString;
|
|
@@ -1780,14 +1780,14 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1780
1780
|
region: string;
|
|
1781
1781
|
postalCode: string;
|
|
1782
1782
|
country: string;
|
|
1783
|
-
line2?: string | undefined;
|
|
1783
|
+
line2?: string | null | undefined;
|
|
1784
1784
|
}, {
|
|
1785
1785
|
line1: string;
|
|
1786
1786
|
city: string;
|
|
1787
1787
|
region: string;
|
|
1788
1788
|
postalCode: string;
|
|
1789
1789
|
country: string;
|
|
1790
|
-
line2?: string | undefined;
|
|
1790
|
+
line2?: string | null | undefined;
|
|
1791
1791
|
}>;
|
|
1792
1792
|
timezone: z.ZodString;
|
|
1793
1793
|
location: z.ZodObject<{
|
|
@@ -1927,7 +1927,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1927
1927
|
region: string;
|
|
1928
1928
|
postalCode: string;
|
|
1929
1929
|
country: string;
|
|
1930
|
-
line2?: string | undefined;
|
|
1930
|
+
line2?: string | null | undefined;
|
|
1931
1931
|
};
|
|
1932
1932
|
timezone: string;
|
|
1933
1933
|
location: {
|
|
@@ -1982,7 +1982,7 @@ declare class CreatePointOfSale extends AbstractApiRequest<CreatePointOfSaleInpu
|
|
|
1982
1982
|
region: string;
|
|
1983
1983
|
postalCode: string;
|
|
1984
1984
|
country: string;
|
|
1985
|
-
line2?: string | undefined;
|
|
1985
|
+
line2?: string | null | undefined;
|
|
1986
1986
|
};
|
|
1987
1987
|
timezone: string;
|
|
1988
1988
|
location: {
|
|
@@ -2056,7 +2056,7 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2056
2056
|
name: z.ZodString;
|
|
2057
2057
|
address: z.ZodObject<{
|
|
2058
2058
|
line1: z.ZodString;
|
|
2059
|
-
line2: z.ZodOptional<z.ZodString
|
|
2059
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2060
2060
|
city: z.ZodString;
|
|
2061
2061
|
region: z.ZodString;
|
|
2062
2062
|
postalCode: z.ZodString;
|
|
@@ -2067,14 +2067,14 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2067
2067
|
region: string;
|
|
2068
2068
|
postalCode: string;
|
|
2069
2069
|
country: string;
|
|
2070
|
-
line2?: string | undefined;
|
|
2070
|
+
line2?: string | null | undefined;
|
|
2071
2071
|
}, {
|
|
2072
2072
|
line1: string;
|
|
2073
2073
|
city: string;
|
|
2074
2074
|
region: string;
|
|
2075
2075
|
postalCode: string;
|
|
2076
2076
|
country: string;
|
|
2077
|
-
line2?: string | undefined;
|
|
2077
|
+
line2?: string | null | undefined;
|
|
2078
2078
|
}>;
|
|
2079
2079
|
timezone: z.ZodString;
|
|
2080
2080
|
location: z.ZodObject<{
|
|
@@ -2214,7 +2214,7 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2214
2214
|
region: string;
|
|
2215
2215
|
postalCode: string;
|
|
2216
2216
|
country: string;
|
|
2217
|
-
line2?: string | undefined;
|
|
2217
|
+
line2?: string | null | undefined;
|
|
2218
2218
|
};
|
|
2219
2219
|
timezone: string;
|
|
2220
2220
|
location: {
|
|
@@ -2269,7 +2269,7 @@ declare const getPointOfSaleDetailsResponseSchema: z.ZodObject<{
|
|
|
2269
2269
|
region: string;
|
|
2270
2270
|
postalCode: string;
|
|
2271
2271
|
country: string;
|
|
2272
|
-
line2?: string | undefined;
|
|
2272
|
+
line2?: string | null | undefined;
|
|
2273
2273
|
};
|
|
2274
2274
|
timezone: string;
|
|
2275
2275
|
location: {
|
|
@@ -2327,7 +2327,7 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<void, GetPointOfS
|
|
|
2327
2327
|
name: z.ZodString;
|
|
2328
2328
|
address: z.ZodObject<{
|
|
2329
2329
|
line1: z.ZodString;
|
|
2330
|
-
line2: z.ZodOptional<z.ZodString
|
|
2330
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2331
2331
|
city: z.ZodString;
|
|
2332
2332
|
region: z.ZodString;
|
|
2333
2333
|
postalCode: z.ZodString;
|
|
@@ -2338,14 +2338,14 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<void, GetPointOfS
|
|
|
2338
2338
|
region: string;
|
|
2339
2339
|
postalCode: string;
|
|
2340
2340
|
country: string;
|
|
2341
|
-
line2?: string | undefined;
|
|
2341
|
+
line2?: string | null | undefined;
|
|
2342
2342
|
}, {
|
|
2343
2343
|
line1: string;
|
|
2344
2344
|
city: string;
|
|
2345
2345
|
region: string;
|
|
2346
2346
|
postalCode: string;
|
|
2347
2347
|
country: string;
|
|
2348
|
-
line2?: string | undefined;
|
|
2348
|
+
line2?: string | null | undefined;
|
|
2349
2349
|
}>;
|
|
2350
2350
|
timezone: z.ZodString;
|
|
2351
2351
|
location: z.ZodObject<{
|
|
@@ -2485,7 +2485,7 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<void, GetPointOfS
|
|
|
2485
2485
|
region: string;
|
|
2486
2486
|
postalCode: string;
|
|
2487
2487
|
country: string;
|
|
2488
|
-
line2?: string | undefined;
|
|
2488
|
+
line2?: string | null | undefined;
|
|
2489
2489
|
};
|
|
2490
2490
|
timezone: string;
|
|
2491
2491
|
location: {
|
|
@@ -2540,7 +2540,7 @@ declare class GetPointOfSaleDetails extends AbstractApiRequest<void, GetPointOfS
|
|
|
2540
2540
|
region: string;
|
|
2541
2541
|
postalCode: string;
|
|
2542
2542
|
country: string;
|
|
2543
|
-
line2?: string | undefined;
|
|
2543
|
+
line2?: string | null | undefined;
|
|
2544
2544
|
};
|
|
2545
2545
|
timezone: string;
|
|
2546
2546
|
location: {
|
|
@@ -2632,7 +2632,7 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2632
2632
|
name: z.ZodString;
|
|
2633
2633
|
address: z.ZodObject<{
|
|
2634
2634
|
line1: z.ZodString;
|
|
2635
|
-
line2: z.ZodOptional<z.ZodString
|
|
2635
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2636
2636
|
city: z.ZodString;
|
|
2637
2637
|
region: z.ZodString;
|
|
2638
2638
|
postalCode: z.ZodString;
|
|
@@ -2643,14 +2643,14 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2643
2643
|
region: string;
|
|
2644
2644
|
postalCode: string;
|
|
2645
2645
|
country: string;
|
|
2646
|
-
line2?: string | undefined;
|
|
2646
|
+
line2?: string | null | undefined;
|
|
2647
2647
|
}, {
|
|
2648
2648
|
line1: string;
|
|
2649
2649
|
city: string;
|
|
2650
2650
|
region: string;
|
|
2651
2651
|
postalCode: string;
|
|
2652
2652
|
country: string;
|
|
2653
|
-
line2?: string | undefined;
|
|
2653
|
+
line2?: string | null | undefined;
|
|
2654
2654
|
}>;
|
|
2655
2655
|
timezone: z.ZodString;
|
|
2656
2656
|
location: z.ZodObject<{
|
|
@@ -2676,7 +2676,7 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2676
2676
|
region: string;
|
|
2677
2677
|
postalCode: string;
|
|
2678
2678
|
country: string;
|
|
2679
|
-
line2?: string | undefined;
|
|
2679
|
+
line2?: string | null | undefined;
|
|
2680
2680
|
};
|
|
2681
2681
|
timezone: string;
|
|
2682
2682
|
location: {
|
|
@@ -2696,7 +2696,7 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2696
2696
|
region: string;
|
|
2697
2697
|
postalCode: string;
|
|
2698
2698
|
country: string;
|
|
2699
|
-
line2?: string | undefined;
|
|
2699
|
+
line2?: string | null | undefined;
|
|
2700
2700
|
};
|
|
2701
2701
|
timezone: string;
|
|
2702
2702
|
location: {
|
|
@@ -2740,7 +2740,7 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2740
2740
|
region: string;
|
|
2741
2741
|
postalCode: string;
|
|
2742
2742
|
country: string;
|
|
2743
|
-
line2?: string | undefined;
|
|
2743
|
+
line2?: string | null | undefined;
|
|
2744
2744
|
};
|
|
2745
2745
|
timezone: string;
|
|
2746
2746
|
location: {
|
|
@@ -2770,7 +2770,7 @@ declare const getPointOfSalesResponseSchema: z.ZodObject<{
|
|
|
2770
2770
|
region: string;
|
|
2771
2771
|
postalCode: string;
|
|
2772
2772
|
country: string;
|
|
2773
|
-
line2?: string | undefined;
|
|
2773
|
+
line2?: string | null | undefined;
|
|
2774
2774
|
};
|
|
2775
2775
|
timezone: string;
|
|
2776
2776
|
location: {
|
|
@@ -2804,7 +2804,7 @@ declare class GetPointOfSales extends AbstractApiRequest<void, GetPointOfSalesRe
|
|
|
2804
2804
|
name: z.ZodString;
|
|
2805
2805
|
address: z.ZodObject<{
|
|
2806
2806
|
line1: z.ZodString;
|
|
2807
|
-
line2: z.ZodOptional<z.ZodString
|
|
2807
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2808
2808
|
city: z.ZodString;
|
|
2809
2809
|
region: z.ZodString;
|
|
2810
2810
|
postalCode: z.ZodString;
|
|
@@ -2815,14 +2815,14 @@ declare class GetPointOfSales extends AbstractApiRequest<void, GetPointOfSalesRe
|
|
|
2815
2815
|
region: string;
|
|
2816
2816
|
postalCode: string;
|
|
2817
2817
|
country: string;
|
|
2818
|
-
line2?: string | undefined;
|
|
2818
|
+
line2?: string | null | undefined;
|
|
2819
2819
|
}, {
|
|
2820
2820
|
line1: string;
|
|
2821
2821
|
city: string;
|
|
2822
2822
|
region: string;
|
|
2823
2823
|
postalCode: string;
|
|
2824
2824
|
country: string;
|
|
2825
|
-
line2?: string | undefined;
|
|
2825
|
+
line2?: string | null | undefined;
|
|
2826
2826
|
}>;
|
|
2827
2827
|
timezone: z.ZodString;
|
|
2828
2828
|
location: z.ZodObject<{
|
|
@@ -2848,7 +2848,7 @@ declare class GetPointOfSales extends AbstractApiRequest<void, GetPointOfSalesRe
|
|
|
2848
2848
|
region: string;
|
|
2849
2849
|
postalCode: string;
|
|
2850
2850
|
country: string;
|
|
2851
|
-
line2?: string | undefined;
|
|
2851
|
+
line2?: string | null | undefined;
|
|
2852
2852
|
};
|
|
2853
2853
|
timezone: string;
|
|
2854
2854
|
location: {
|
|
@@ -2868,7 +2868,7 @@ declare class GetPointOfSales extends AbstractApiRequest<void, GetPointOfSalesRe
|
|
|
2868
2868
|
region: string;
|
|
2869
2869
|
postalCode: string;
|
|
2870
2870
|
country: string;
|
|
2871
|
-
line2?: string | undefined;
|
|
2871
|
+
line2?: string | null | undefined;
|
|
2872
2872
|
};
|
|
2873
2873
|
timezone: string;
|
|
2874
2874
|
location: {
|
|
@@ -2912,7 +2912,7 @@ declare class GetPointOfSales extends AbstractApiRequest<void, GetPointOfSalesRe
|
|
|
2912
2912
|
region: string;
|
|
2913
2913
|
postalCode: string;
|
|
2914
2914
|
country: string;
|
|
2915
|
-
line2?: string | undefined;
|
|
2915
|
+
line2?: string | null | undefined;
|
|
2916
2916
|
};
|
|
2917
2917
|
timezone: string;
|
|
2918
2918
|
location: {
|
|
@@ -2942,7 +2942,7 @@ declare class GetPointOfSales extends AbstractApiRequest<void, GetPointOfSalesRe
|
|
|
2942
2942
|
region: string;
|
|
2943
2943
|
postalCode: string;
|
|
2944
2944
|
country: string;
|
|
2945
|
-
line2?: string | undefined;
|
|
2945
|
+
line2?: string | null | undefined;
|
|
2946
2946
|
};
|
|
2947
2947
|
timezone: string;
|
|
2948
2948
|
location: {
|
|
@@ -3006,7 +3006,7 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
3006
3006
|
name: z.ZodOptional<z.ZodString>;
|
|
3007
3007
|
address: z.ZodOptional<z.ZodObject<{
|
|
3008
3008
|
line1: z.ZodString;
|
|
3009
|
-
line2: z.ZodOptional<z.ZodString
|
|
3009
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3010
3010
|
city: z.ZodString;
|
|
3011
3011
|
region: z.ZodString;
|
|
3012
3012
|
postalCode: z.ZodString;
|
|
@@ -3017,14 +3017,14 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
3017
3017
|
region: string;
|
|
3018
3018
|
postalCode: string;
|
|
3019
3019
|
country: string;
|
|
3020
|
-
line2?: string | undefined;
|
|
3020
|
+
line2?: string | null | undefined;
|
|
3021
3021
|
}, {
|
|
3022
3022
|
line1: string;
|
|
3023
3023
|
city: string;
|
|
3024
3024
|
region: string;
|
|
3025
3025
|
postalCode: string;
|
|
3026
3026
|
country: string;
|
|
3027
|
-
line2?: string | undefined;
|
|
3027
|
+
line2?: string | null | undefined;
|
|
3028
3028
|
}>>;
|
|
3029
3029
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3030
3030
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">>;
|
|
@@ -3148,7 +3148,7 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
3148
3148
|
region: string;
|
|
3149
3149
|
postalCode: string;
|
|
3150
3150
|
country: string;
|
|
3151
|
-
line2?: string | undefined;
|
|
3151
|
+
line2?: string | null | undefined;
|
|
3152
3152
|
} | undefined;
|
|
3153
3153
|
timezone?: string | undefined;
|
|
3154
3154
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3194,7 +3194,7 @@ declare const updatePointOfSaleInputSchema: z.ZodObject<{
|
|
|
3194
3194
|
region: string;
|
|
3195
3195
|
postalCode: string;
|
|
3196
3196
|
country: string;
|
|
3197
|
-
line2?: string | undefined;
|
|
3197
|
+
line2?: string | null | undefined;
|
|
3198
3198
|
} | undefined;
|
|
3199
3199
|
timezone?: string | undefined;
|
|
3200
3200
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3239,7 +3239,7 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3239
3239
|
name: z.ZodString;
|
|
3240
3240
|
address: z.ZodObject<{
|
|
3241
3241
|
line1: z.ZodString;
|
|
3242
|
-
line2: z.ZodOptional<z.ZodString
|
|
3242
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3243
3243
|
city: z.ZodString;
|
|
3244
3244
|
region: z.ZodString;
|
|
3245
3245
|
postalCode: z.ZodString;
|
|
@@ -3250,14 +3250,14 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3250
3250
|
region: string;
|
|
3251
3251
|
postalCode: string;
|
|
3252
3252
|
country: string;
|
|
3253
|
-
line2?: string | undefined;
|
|
3253
|
+
line2?: string | null | undefined;
|
|
3254
3254
|
}, {
|
|
3255
3255
|
line1: string;
|
|
3256
3256
|
city: string;
|
|
3257
3257
|
region: string;
|
|
3258
3258
|
postalCode: string;
|
|
3259
3259
|
country: string;
|
|
3260
|
-
line2?: string | undefined;
|
|
3260
|
+
line2?: string | null | undefined;
|
|
3261
3261
|
}>;
|
|
3262
3262
|
timezone: z.ZodString;
|
|
3263
3263
|
location: z.ZodObject<{
|
|
@@ -3397,7 +3397,7 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3397
3397
|
region: string;
|
|
3398
3398
|
postalCode: string;
|
|
3399
3399
|
country: string;
|
|
3400
|
-
line2?: string | undefined;
|
|
3400
|
+
line2?: string | null | undefined;
|
|
3401
3401
|
};
|
|
3402
3402
|
timezone: string;
|
|
3403
3403
|
location: {
|
|
@@ -3452,7 +3452,7 @@ declare const updatePointOfSaleResponseSchema: z.ZodObject<{
|
|
|
3452
3452
|
region: string;
|
|
3453
3453
|
postalCode: string;
|
|
3454
3454
|
country: string;
|
|
3455
|
-
line2?: string | undefined;
|
|
3455
|
+
line2?: string | null | undefined;
|
|
3456
3456
|
};
|
|
3457
3457
|
timezone: string;
|
|
3458
3458
|
location: {
|
|
@@ -3508,7 +3508,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3508
3508
|
name: z.ZodOptional<z.ZodString>;
|
|
3509
3509
|
address: z.ZodOptional<z.ZodObject<{
|
|
3510
3510
|
line1: z.ZodString;
|
|
3511
|
-
line2: z.ZodOptional<z.ZodString
|
|
3511
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3512
3512
|
city: z.ZodString;
|
|
3513
3513
|
region: z.ZodString;
|
|
3514
3514
|
postalCode: z.ZodString;
|
|
@@ -3519,14 +3519,14 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3519
3519
|
region: string;
|
|
3520
3520
|
postalCode: string;
|
|
3521
3521
|
country: string;
|
|
3522
|
-
line2?: string | undefined;
|
|
3522
|
+
line2?: string | null | undefined;
|
|
3523
3523
|
}, {
|
|
3524
3524
|
line1: string;
|
|
3525
3525
|
city: string;
|
|
3526
3526
|
region: string;
|
|
3527
3527
|
postalCode: string;
|
|
3528
3528
|
country: string;
|
|
3529
|
-
line2?: string | undefined;
|
|
3529
|
+
line2?: string | null | undefined;
|
|
3530
3530
|
}>>;
|
|
3531
3531
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3532
3532
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<["DELIVERY_OPTIMIZATION"]>, "many">>;
|
|
@@ -3650,7 +3650,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3650
3650
|
region: string;
|
|
3651
3651
|
postalCode: string;
|
|
3652
3652
|
country: string;
|
|
3653
|
-
line2?: string | undefined;
|
|
3653
|
+
line2?: string | null | undefined;
|
|
3654
3654
|
} | undefined;
|
|
3655
3655
|
timezone?: string | undefined;
|
|
3656
3656
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3696,7 +3696,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3696
3696
|
region: string;
|
|
3697
3697
|
postalCode: string;
|
|
3698
3698
|
country: string;
|
|
3699
|
-
line2?: string | undefined;
|
|
3699
|
+
line2?: string | null | undefined;
|
|
3700
3700
|
} | undefined;
|
|
3701
3701
|
timezone?: string | undefined;
|
|
3702
3702
|
capabilities?: "DELIVERY_OPTIMIZATION"[] | undefined;
|
|
@@ -3740,7 +3740,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3740
3740
|
name: z.ZodString;
|
|
3741
3741
|
address: z.ZodObject<{
|
|
3742
3742
|
line1: z.ZodString;
|
|
3743
|
-
line2: z.ZodOptional<z.ZodString
|
|
3743
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3744
3744
|
city: z.ZodString;
|
|
3745
3745
|
region: z.ZodString;
|
|
3746
3746
|
postalCode: z.ZodString;
|
|
@@ -3751,14 +3751,14 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3751
3751
|
region: string;
|
|
3752
3752
|
postalCode: string;
|
|
3753
3753
|
country: string;
|
|
3754
|
-
line2?: string | undefined;
|
|
3754
|
+
line2?: string | null | undefined;
|
|
3755
3755
|
}, {
|
|
3756
3756
|
line1: string;
|
|
3757
3757
|
city: string;
|
|
3758
3758
|
region: string;
|
|
3759
3759
|
postalCode: string;
|
|
3760
3760
|
country: string;
|
|
3761
|
-
line2?: string | undefined;
|
|
3761
|
+
line2?: string | null | undefined;
|
|
3762
3762
|
}>;
|
|
3763
3763
|
timezone: z.ZodString;
|
|
3764
3764
|
location: z.ZodObject<{
|
|
@@ -3898,7 +3898,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3898
3898
|
region: string;
|
|
3899
3899
|
postalCode: string;
|
|
3900
3900
|
country: string;
|
|
3901
|
-
line2?: string | undefined;
|
|
3901
|
+
line2?: string | null | undefined;
|
|
3902
3902
|
};
|
|
3903
3903
|
timezone: string;
|
|
3904
3904
|
location: {
|
|
@@ -3953,7 +3953,7 @@ declare class UpdatePointOfSale extends AbstractApiRequest<UpdatePointOfSaleInpu
|
|
|
3953
3953
|
region: string;
|
|
3954
3954
|
postalCode: string;
|
|
3955
3955
|
country: string;
|
|
3956
|
-
line2?: string | undefined;
|
|
3956
|
+
line2?: string | null | undefined;
|
|
3957
3957
|
};
|
|
3958
3958
|
timezone: string;
|
|
3959
3959
|
location: {
|