@deliverart/sdk-js-customer 2.6.1 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +16 -134
- package/dist/index.d.ts +16 -134
- package/dist/index.js +8 -8
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -11428,7 +11428,7 @@ var getCustomerAddressesQuerySchema = external_exports.object({
|
|
|
11428
11428
|
page: external_exports.coerce.number().optional()
|
|
11429
11429
|
}).extend(import_sdk_js_global_types4.timestampsFilterSchema.shape);
|
|
11430
11430
|
var getCustomerAddressesInputSchema = external_exports.undefined();
|
|
11431
|
-
var getCustomerAddressesResponseSchema = (0, import_sdk_js_global_types4.
|
|
11431
|
+
var getCustomerAddressesResponseSchema = (0, import_sdk_js_global_types4.createPaginatedSchema)(customerAddressSchema);
|
|
11432
11432
|
var GetCustomerAddresses = class extends import_sdk_js_core4.AbstractApiRequest {
|
|
11433
11433
|
constructor(options) {
|
|
11434
11434
|
super(void 0, options);
|
|
@@ -11572,7 +11572,7 @@ var getCustomerBusinessProfilesQuerySchema = external_exports.object({
|
|
|
11572
11572
|
page: external_exports.coerce.number().optional()
|
|
11573
11573
|
}).extend(import_sdk_js_global_types7.timestampsFilterSchema.shape);
|
|
11574
11574
|
var getCustomerBusinessProfilesInputSchema = external_exports.undefined();
|
|
11575
|
-
var getCustomerBusinessProfilesResponseSchema = (0, import_sdk_js_global_types7.
|
|
11575
|
+
var getCustomerBusinessProfilesResponseSchema = (0, import_sdk_js_global_types7.createPaginatedSchema)(
|
|
11576
11576
|
customerBusinessProfileSchema
|
|
11577
11577
|
);
|
|
11578
11578
|
var GetCustomerBusinessProfiles = class extends import_sdk_js_core10.AbstractApiRequest {
|
|
@@ -11716,7 +11716,7 @@ var import_sdk_js_core16 = require("@deliverart/sdk-js-core");
|
|
|
11716
11716
|
var import_sdk_js_global_types10 = require("@deliverart/sdk-js-global-types");
|
|
11717
11717
|
var getCustomersQuerySchema = customersQuerySchema;
|
|
11718
11718
|
var getCustomersInputSchema = external_exports.undefined();
|
|
11719
|
-
var getCustomersResponseSchema = (0, import_sdk_js_global_types10.
|
|
11719
|
+
var getCustomersResponseSchema = (0, import_sdk_js_global_types10.createPaginatedSchema)(customerSchema);
|
|
11720
11720
|
var GetCustomers = class extends import_sdk_js_core16.AbstractApiRequest {
|
|
11721
11721
|
constructor(options) {
|
|
11722
11722
|
super(void 0, options);
|
|
@@ -11741,7 +11741,7 @@ var import_sdk_js_core17 = require("@deliverart/sdk-js-core");
|
|
|
11741
11741
|
var import_sdk_js_global_types11 = require("@deliverart/sdk-js-global-types");
|
|
11742
11742
|
var getCustomersFromPointOfSaleQuerySchema = customersQuerySchema;
|
|
11743
11743
|
var getCustomersFromPointOfSaleInputSchema = external_exports.undefined();
|
|
11744
|
-
var getCustomersFromPointOfSaleResponseSchema = (0, import_sdk_js_global_types11.
|
|
11744
|
+
var getCustomersFromPointOfSaleResponseSchema = (0, import_sdk_js_global_types11.createPaginatedSchema)(customerSchema);
|
|
11745
11745
|
var GetCustomersFromPointOfSale = class extends import_sdk_js_core17.AbstractApiRequest {
|
|
11746
11746
|
constructor(pointOfSaleId, options) {
|
|
11747
11747
|
super(void 0, options);
|
package/dist/index.d.cts
CHANGED
|
@@ -390,7 +390,7 @@ declare const getCustomerAddressesQuerySchema: z.ZodObject<{
|
|
|
390
390
|
type GetCustomerAddressesQueryParams = z.infer<typeof getCustomerAddressesQuerySchema>;
|
|
391
391
|
declare const getCustomerAddressesInputSchema: z.ZodUndefined;
|
|
392
392
|
type GetCustomerAddressesInput = z.input<typeof getCustomerAddressesInputSchema>;
|
|
393
|
-
declare const getCustomerAddressesResponseSchema: z.
|
|
393
|
+
declare const getCustomerAddressesResponseSchema: z.ZodObject<{
|
|
394
394
|
data: z.ZodArray<z.ZodObject<{
|
|
395
395
|
id: z.ZodString;
|
|
396
396
|
address: z.ZodObject<{
|
|
@@ -416,30 +416,14 @@ declare const getCustomerAddressesResponseSchema: z.ZodUnion<readonly [z.ZodObje
|
|
|
416
416
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
417
417
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
418
418
|
}, z.core.$strip>;
|
|
419
|
-
}, z.core.$strip
|
|
420
|
-
id: z.ZodString;
|
|
421
|
-
address: z.ZodObject<{
|
|
422
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
423
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
424
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
425
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
426
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
427
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
-
}, z.core.$strip>;
|
|
429
|
-
location: z.ZodObject<{
|
|
430
|
-
latitude: z.ZodNumber;
|
|
431
|
-
longitude: z.ZodNumber;
|
|
432
|
-
}, z.core.$strip>;
|
|
433
|
-
createdAt: z.ZodString;
|
|
434
|
-
updatedAt: z.ZodString;
|
|
435
|
-
}, z.core.$strip>>]>;
|
|
419
|
+
}, z.core.$strip>;
|
|
436
420
|
type GetCustomerAddressesResponse = z.infer<typeof getCustomerAddressesResponseSchema>;
|
|
437
421
|
declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomerAddressesInputSchema, typeof getCustomerAddressesResponseSchema, GetCustomerAddressesQueryParams> {
|
|
438
422
|
readonly method: "GET";
|
|
439
423
|
readonly contentType: "application/json";
|
|
440
424
|
readonly accept: "application/json";
|
|
441
425
|
readonly inputSchema: z.ZodUndefined;
|
|
442
|
-
readonly outputSchema: z.
|
|
426
|
+
readonly outputSchema: z.ZodObject<{
|
|
443
427
|
data: z.ZodArray<z.ZodObject<{
|
|
444
428
|
id: z.ZodString;
|
|
445
429
|
address: z.ZodObject<{
|
|
@@ -465,23 +449,7 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
465
449
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
466
450
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
467
451
|
}, z.core.$strip>;
|
|
468
|
-
}, z.core.$strip
|
|
469
|
-
id: z.ZodString;
|
|
470
|
-
address: z.ZodObject<{
|
|
471
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
472
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
473
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
474
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
475
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
476
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
477
|
-
}, z.core.$strip>;
|
|
478
|
-
location: z.ZodObject<{
|
|
479
|
-
latitude: z.ZodNumber;
|
|
480
|
-
longitude: z.ZodNumber;
|
|
481
|
-
}, z.core.$strip>;
|
|
482
|
-
createdAt: z.ZodString;
|
|
483
|
-
updatedAt: z.ZodString;
|
|
484
|
-
}, z.core.$strip>>]>;
|
|
452
|
+
}, z.core.$strip>;
|
|
485
453
|
readonly querySchema: z.ZodObject<{
|
|
486
454
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
487
455
|
asc: "asc";
|
|
@@ -891,7 +859,7 @@ declare const getCustomerBusinessProfilesQuerySchema: z.ZodObject<{
|
|
|
891
859
|
type GetCustomerBusinessProfilesQueryParams = z.infer<typeof getCustomerBusinessProfilesQuerySchema>;
|
|
892
860
|
declare const getCustomerBusinessProfilesInputSchema: z.ZodUndefined;
|
|
893
861
|
type GetCustomerBusinessProfilesInput = z.infer<typeof getCustomerBusinessProfilesInputSchema>;
|
|
894
|
-
declare const getCustomerBusinessProfilesResponseSchema: z.
|
|
862
|
+
declare const getCustomerBusinessProfilesResponseSchema: z.ZodObject<{
|
|
895
863
|
data: z.ZodArray<z.ZodObject<{
|
|
896
864
|
id: z.ZodString;
|
|
897
865
|
businessName: z.ZodString;
|
|
@@ -920,33 +888,14 @@ declare const getCustomerBusinessProfilesResponseSchema: z.ZodUnion<readonly [z.
|
|
|
920
888
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
921
889
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
922
890
|
}, z.core.$strip>;
|
|
923
|
-
}, z.core.$strip
|
|
924
|
-
id: z.ZodString;
|
|
925
|
-
businessName: z.ZodString;
|
|
926
|
-
vat: z.ZodString;
|
|
927
|
-
taxCode: z.ZodString;
|
|
928
|
-
billingAddress: z.ZodObject<{
|
|
929
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
930
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
931
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
932
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
933
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
934
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
935
|
-
}, z.core.$strip>;
|
|
936
|
-
billingData: z.ZodObject<{
|
|
937
|
-
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
938
|
-
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
939
|
-
}, z.core.$strip>;
|
|
940
|
-
createdAt: z.ZodString;
|
|
941
|
-
updatedAt: z.ZodString;
|
|
942
|
-
}, z.core.$strip>>]>;
|
|
891
|
+
}, z.core.$strip>;
|
|
943
892
|
type GetCustomerBusinessProfilesResponse = z.infer<typeof getCustomerBusinessProfilesResponseSchema>;
|
|
944
893
|
declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getCustomerBusinessProfilesInputSchema, typeof getCustomerBusinessProfilesResponseSchema, GetCustomerBusinessProfilesQueryParams> {
|
|
945
894
|
readonly method: "GET";
|
|
946
895
|
readonly contentType: "application/json";
|
|
947
896
|
readonly accept: "application/json";
|
|
948
897
|
readonly inputSchema: z.ZodUndefined;
|
|
949
|
-
readonly outputSchema: z.
|
|
898
|
+
readonly outputSchema: z.ZodObject<{
|
|
950
899
|
data: z.ZodArray<z.ZodObject<{
|
|
951
900
|
id: z.ZodString;
|
|
952
901
|
businessName: z.ZodString;
|
|
@@ -975,26 +924,7 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
975
924
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
976
925
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
977
926
|
}, z.core.$strip>;
|
|
978
|
-
}, z.core.$strip
|
|
979
|
-
id: z.ZodString;
|
|
980
|
-
businessName: z.ZodString;
|
|
981
|
-
vat: z.ZodString;
|
|
982
|
-
taxCode: z.ZodString;
|
|
983
|
-
billingAddress: z.ZodObject<{
|
|
984
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
985
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
986
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
987
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
989
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
990
|
-
}, z.core.$strip>;
|
|
991
|
-
billingData: z.ZodObject<{
|
|
992
|
-
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
993
|
-
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
994
|
-
}, z.core.$strip>;
|
|
995
|
-
createdAt: z.ZodString;
|
|
996
|
-
updatedAt: z.ZodString;
|
|
997
|
-
}, z.core.$strip>>]>;
|
|
927
|
+
}, z.core.$strip>;
|
|
998
928
|
readonly querySchema: z.ZodObject<{
|
|
999
929
|
'order[businessName]': z.ZodOptional<z.ZodEnum<{
|
|
1000
930
|
asc: "asc";
|
|
@@ -1436,7 +1366,7 @@ declare const getCustomersQuerySchema: z.ZodObject<{
|
|
|
1436
1366
|
type GetCustomersQueryParams = z.infer<typeof getCustomersQuerySchema>;
|
|
1437
1367
|
declare const getCustomersInputSchema: z.ZodUndefined;
|
|
1438
1368
|
type GetCustomersInput = z.input<typeof getCustomersInputSchema>;
|
|
1439
|
-
declare const getCustomersResponseSchema: z.
|
|
1369
|
+
declare const getCustomersResponseSchema: z.ZodObject<{
|
|
1440
1370
|
data: z.ZodArray<z.ZodObject<{
|
|
1441
1371
|
id: z.ZodString;
|
|
1442
1372
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1458,26 +1388,14 @@ declare const getCustomersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1458
1388
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1459
1389
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1460
1390
|
}, z.core.$strip>;
|
|
1461
|
-
}, z.core.$strip
|
|
1462
|
-
id: z.ZodString;
|
|
1463
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1464
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1465
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1466
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1467
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1468
|
-
hasAddresses: z.ZodBoolean;
|
|
1469
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1470
|
-
totalSpent: z.ZodString;
|
|
1471
|
-
createdAt: z.ZodString;
|
|
1472
|
-
updatedAt: z.ZodString;
|
|
1473
|
-
}, z.core.$strip>>]>;
|
|
1391
|
+
}, z.core.$strip>;
|
|
1474
1392
|
type GetCustomersResponse = z.infer<typeof getCustomersResponseSchema>;
|
|
1475
1393
|
declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSchema, typeof getCustomersResponseSchema, GetCustomersQueryParams> {
|
|
1476
1394
|
readonly method: "GET";
|
|
1477
1395
|
readonly contentType: "application/json";
|
|
1478
1396
|
readonly accept: "application/json";
|
|
1479
1397
|
readonly inputSchema: z.ZodUndefined;
|
|
1480
|
-
readonly outputSchema: z.
|
|
1398
|
+
readonly outputSchema: z.ZodObject<{
|
|
1481
1399
|
data: z.ZodArray<z.ZodObject<{
|
|
1482
1400
|
id: z.ZodString;
|
|
1483
1401
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1499,19 +1417,7 @@ declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSc
|
|
|
1499
1417
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1500
1418
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1501
1419
|
}, z.core.$strip>;
|
|
1502
|
-
}, z.core.$strip
|
|
1503
|
-
id: z.ZodString;
|
|
1504
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1505
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1506
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1507
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1508
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1509
|
-
hasAddresses: z.ZodBoolean;
|
|
1510
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1511
|
-
totalSpent: z.ZodString;
|
|
1512
|
-
createdAt: z.ZodString;
|
|
1513
|
-
updatedAt: z.ZodString;
|
|
1514
|
-
}, z.core.$strip>>]>;
|
|
1420
|
+
}, z.core.$strip>;
|
|
1515
1421
|
readonly querySchema: z.ZodObject<{
|
|
1516
1422
|
firstName: z.ZodOptional<z.ZodString>;
|
|
1517
1423
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -1622,7 +1528,7 @@ declare const getCustomersFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
|
1622
1528
|
type GetCustomersFromPointOfSaleQueryParams = z.infer<typeof getCustomersFromPointOfSaleQuerySchema>;
|
|
1623
1529
|
declare const getCustomersFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
1624
1530
|
type GetCustomersFromPointOfSaleInput = z.input<typeof getCustomersFromPointOfSaleInputSchema>;
|
|
1625
|
-
declare const getCustomersFromPointOfSaleResponseSchema: z.
|
|
1531
|
+
declare const getCustomersFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
1626
1532
|
data: z.ZodArray<z.ZodObject<{
|
|
1627
1533
|
id: z.ZodString;
|
|
1628
1534
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1644,26 +1550,14 @@ declare const getCustomersFromPointOfSaleResponseSchema: z.ZodUnion<readonly [z.
|
|
|
1644
1550
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1645
1551
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1646
1552
|
}, z.core.$strip>;
|
|
1647
|
-
}, z.core.$strip
|
|
1648
|
-
id: z.ZodString;
|
|
1649
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1650
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1651
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1652
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1653
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1654
|
-
hasAddresses: z.ZodBoolean;
|
|
1655
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1656
|
-
totalSpent: z.ZodString;
|
|
1657
|
-
createdAt: z.ZodString;
|
|
1658
|
-
updatedAt: z.ZodString;
|
|
1659
|
-
}, z.core.$strip>>]>;
|
|
1553
|
+
}, z.core.$strip>;
|
|
1660
1554
|
type GetCustomersFromPointOfSaleResponse = z.infer<typeof getCustomersFromPointOfSaleResponseSchema>;
|
|
1661
1555
|
declare class GetCustomersFromPointOfSale extends AbstractApiRequest<typeof getCustomersFromPointOfSaleInputSchema, typeof getCustomersFromPointOfSaleResponseSchema, GetCustomersFromPointOfSaleQueryParams> {
|
|
1662
1556
|
readonly method: "GET";
|
|
1663
1557
|
readonly contentType: "application/json";
|
|
1664
1558
|
readonly accept: "application/json";
|
|
1665
1559
|
readonly inputSchema: z.ZodUndefined;
|
|
1666
|
-
readonly outputSchema: z.
|
|
1560
|
+
readonly outputSchema: z.ZodObject<{
|
|
1667
1561
|
data: z.ZodArray<z.ZodObject<{
|
|
1668
1562
|
id: z.ZodString;
|
|
1669
1563
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1685,19 +1579,7 @@ declare class GetCustomersFromPointOfSale extends AbstractApiRequest<typeof getC
|
|
|
1685
1579
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1686
1580
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1687
1581
|
}, z.core.$strip>;
|
|
1688
|
-
}, z.core.$strip
|
|
1689
|
-
id: z.ZodString;
|
|
1690
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1691
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1692
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1693
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1694
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1695
|
-
hasAddresses: z.ZodBoolean;
|
|
1696
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1697
|
-
totalSpent: z.ZodString;
|
|
1698
|
-
createdAt: z.ZodString;
|
|
1699
|
-
updatedAt: z.ZodString;
|
|
1700
|
-
}, z.core.$strip>>]>;
|
|
1582
|
+
}, z.core.$strip>;
|
|
1701
1583
|
readonly querySchema: z.ZodObject<{
|
|
1702
1584
|
firstName: z.ZodOptional<z.ZodString>;
|
|
1703
1585
|
lastName: z.ZodOptional<z.ZodString>;
|
package/dist/index.d.ts
CHANGED
|
@@ -390,7 +390,7 @@ declare const getCustomerAddressesQuerySchema: z.ZodObject<{
|
|
|
390
390
|
type GetCustomerAddressesQueryParams = z.infer<typeof getCustomerAddressesQuerySchema>;
|
|
391
391
|
declare const getCustomerAddressesInputSchema: z.ZodUndefined;
|
|
392
392
|
type GetCustomerAddressesInput = z.input<typeof getCustomerAddressesInputSchema>;
|
|
393
|
-
declare const getCustomerAddressesResponseSchema: z.
|
|
393
|
+
declare const getCustomerAddressesResponseSchema: z.ZodObject<{
|
|
394
394
|
data: z.ZodArray<z.ZodObject<{
|
|
395
395
|
id: z.ZodString;
|
|
396
396
|
address: z.ZodObject<{
|
|
@@ -416,30 +416,14 @@ declare const getCustomerAddressesResponseSchema: z.ZodUnion<readonly [z.ZodObje
|
|
|
416
416
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
417
417
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
418
418
|
}, z.core.$strip>;
|
|
419
|
-
}, z.core.$strip
|
|
420
|
-
id: z.ZodString;
|
|
421
|
-
address: z.ZodObject<{
|
|
422
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
423
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
424
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
425
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
426
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
427
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
-
}, z.core.$strip>;
|
|
429
|
-
location: z.ZodObject<{
|
|
430
|
-
latitude: z.ZodNumber;
|
|
431
|
-
longitude: z.ZodNumber;
|
|
432
|
-
}, z.core.$strip>;
|
|
433
|
-
createdAt: z.ZodString;
|
|
434
|
-
updatedAt: z.ZodString;
|
|
435
|
-
}, z.core.$strip>>]>;
|
|
419
|
+
}, z.core.$strip>;
|
|
436
420
|
type GetCustomerAddressesResponse = z.infer<typeof getCustomerAddressesResponseSchema>;
|
|
437
421
|
declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomerAddressesInputSchema, typeof getCustomerAddressesResponseSchema, GetCustomerAddressesQueryParams> {
|
|
438
422
|
readonly method: "GET";
|
|
439
423
|
readonly contentType: "application/json";
|
|
440
424
|
readonly accept: "application/json";
|
|
441
425
|
readonly inputSchema: z.ZodUndefined;
|
|
442
|
-
readonly outputSchema: z.
|
|
426
|
+
readonly outputSchema: z.ZodObject<{
|
|
443
427
|
data: z.ZodArray<z.ZodObject<{
|
|
444
428
|
id: z.ZodString;
|
|
445
429
|
address: z.ZodObject<{
|
|
@@ -465,23 +449,7 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
465
449
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
466
450
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
467
451
|
}, z.core.$strip>;
|
|
468
|
-
}, z.core.$strip
|
|
469
|
-
id: z.ZodString;
|
|
470
|
-
address: z.ZodObject<{
|
|
471
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
472
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
473
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
474
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
475
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
476
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
477
|
-
}, z.core.$strip>;
|
|
478
|
-
location: z.ZodObject<{
|
|
479
|
-
latitude: z.ZodNumber;
|
|
480
|
-
longitude: z.ZodNumber;
|
|
481
|
-
}, z.core.$strip>;
|
|
482
|
-
createdAt: z.ZodString;
|
|
483
|
-
updatedAt: z.ZodString;
|
|
484
|
-
}, z.core.$strip>>]>;
|
|
452
|
+
}, z.core.$strip>;
|
|
485
453
|
readonly querySchema: z.ZodObject<{
|
|
486
454
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
487
455
|
asc: "asc";
|
|
@@ -891,7 +859,7 @@ declare const getCustomerBusinessProfilesQuerySchema: z.ZodObject<{
|
|
|
891
859
|
type GetCustomerBusinessProfilesQueryParams = z.infer<typeof getCustomerBusinessProfilesQuerySchema>;
|
|
892
860
|
declare const getCustomerBusinessProfilesInputSchema: z.ZodUndefined;
|
|
893
861
|
type GetCustomerBusinessProfilesInput = z.infer<typeof getCustomerBusinessProfilesInputSchema>;
|
|
894
|
-
declare const getCustomerBusinessProfilesResponseSchema: z.
|
|
862
|
+
declare const getCustomerBusinessProfilesResponseSchema: z.ZodObject<{
|
|
895
863
|
data: z.ZodArray<z.ZodObject<{
|
|
896
864
|
id: z.ZodString;
|
|
897
865
|
businessName: z.ZodString;
|
|
@@ -920,33 +888,14 @@ declare const getCustomerBusinessProfilesResponseSchema: z.ZodUnion<readonly [z.
|
|
|
920
888
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
921
889
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
922
890
|
}, z.core.$strip>;
|
|
923
|
-
}, z.core.$strip
|
|
924
|
-
id: z.ZodString;
|
|
925
|
-
businessName: z.ZodString;
|
|
926
|
-
vat: z.ZodString;
|
|
927
|
-
taxCode: z.ZodString;
|
|
928
|
-
billingAddress: z.ZodObject<{
|
|
929
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
930
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
931
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
932
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
933
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
934
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
935
|
-
}, z.core.$strip>;
|
|
936
|
-
billingData: z.ZodObject<{
|
|
937
|
-
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
938
|
-
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
939
|
-
}, z.core.$strip>;
|
|
940
|
-
createdAt: z.ZodString;
|
|
941
|
-
updatedAt: z.ZodString;
|
|
942
|
-
}, z.core.$strip>>]>;
|
|
891
|
+
}, z.core.$strip>;
|
|
943
892
|
type GetCustomerBusinessProfilesResponse = z.infer<typeof getCustomerBusinessProfilesResponseSchema>;
|
|
944
893
|
declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getCustomerBusinessProfilesInputSchema, typeof getCustomerBusinessProfilesResponseSchema, GetCustomerBusinessProfilesQueryParams> {
|
|
945
894
|
readonly method: "GET";
|
|
946
895
|
readonly contentType: "application/json";
|
|
947
896
|
readonly accept: "application/json";
|
|
948
897
|
readonly inputSchema: z.ZodUndefined;
|
|
949
|
-
readonly outputSchema: z.
|
|
898
|
+
readonly outputSchema: z.ZodObject<{
|
|
950
899
|
data: z.ZodArray<z.ZodObject<{
|
|
951
900
|
id: z.ZodString;
|
|
952
901
|
businessName: z.ZodString;
|
|
@@ -975,26 +924,7 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
975
924
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
976
925
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
977
926
|
}, z.core.$strip>;
|
|
978
|
-
}, z.core.$strip
|
|
979
|
-
id: z.ZodString;
|
|
980
|
-
businessName: z.ZodString;
|
|
981
|
-
vat: z.ZodString;
|
|
982
|
-
taxCode: z.ZodString;
|
|
983
|
-
billingAddress: z.ZodObject<{
|
|
984
|
-
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
985
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
986
|
-
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
987
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
|
-
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
989
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
990
|
-
}, z.core.$strip>;
|
|
991
|
-
billingData: z.ZodObject<{
|
|
992
|
-
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
993
|
-
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
994
|
-
}, z.core.$strip>;
|
|
995
|
-
createdAt: z.ZodString;
|
|
996
|
-
updatedAt: z.ZodString;
|
|
997
|
-
}, z.core.$strip>>]>;
|
|
927
|
+
}, z.core.$strip>;
|
|
998
928
|
readonly querySchema: z.ZodObject<{
|
|
999
929
|
'order[businessName]': z.ZodOptional<z.ZodEnum<{
|
|
1000
930
|
asc: "asc";
|
|
@@ -1436,7 +1366,7 @@ declare const getCustomersQuerySchema: z.ZodObject<{
|
|
|
1436
1366
|
type GetCustomersQueryParams = z.infer<typeof getCustomersQuerySchema>;
|
|
1437
1367
|
declare const getCustomersInputSchema: z.ZodUndefined;
|
|
1438
1368
|
type GetCustomersInput = z.input<typeof getCustomersInputSchema>;
|
|
1439
|
-
declare const getCustomersResponseSchema: z.
|
|
1369
|
+
declare const getCustomersResponseSchema: z.ZodObject<{
|
|
1440
1370
|
data: z.ZodArray<z.ZodObject<{
|
|
1441
1371
|
id: z.ZodString;
|
|
1442
1372
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1458,26 +1388,14 @@ declare const getCustomersResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1458
1388
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1459
1389
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1460
1390
|
}, z.core.$strip>;
|
|
1461
|
-
}, z.core.$strip
|
|
1462
|
-
id: z.ZodString;
|
|
1463
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1464
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1465
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1466
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1467
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1468
|
-
hasAddresses: z.ZodBoolean;
|
|
1469
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1470
|
-
totalSpent: z.ZodString;
|
|
1471
|
-
createdAt: z.ZodString;
|
|
1472
|
-
updatedAt: z.ZodString;
|
|
1473
|
-
}, z.core.$strip>>]>;
|
|
1391
|
+
}, z.core.$strip>;
|
|
1474
1392
|
type GetCustomersResponse = z.infer<typeof getCustomersResponseSchema>;
|
|
1475
1393
|
declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSchema, typeof getCustomersResponseSchema, GetCustomersQueryParams> {
|
|
1476
1394
|
readonly method: "GET";
|
|
1477
1395
|
readonly contentType: "application/json";
|
|
1478
1396
|
readonly accept: "application/json";
|
|
1479
1397
|
readonly inputSchema: z.ZodUndefined;
|
|
1480
|
-
readonly outputSchema: z.
|
|
1398
|
+
readonly outputSchema: z.ZodObject<{
|
|
1481
1399
|
data: z.ZodArray<z.ZodObject<{
|
|
1482
1400
|
id: z.ZodString;
|
|
1483
1401
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1499,19 +1417,7 @@ declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSc
|
|
|
1499
1417
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1500
1418
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1501
1419
|
}, z.core.$strip>;
|
|
1502
|
-
}, z.core.$strip
|
|
1503
|
-
id: z.ZodString;
|
|
1504
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1505
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1506
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1507
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1508
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1509
|
-
hasAddresses: z.ZodBoolean;
|
|
1510
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1511
|
-
totalSpent: z.ZodString;
|
|
1512
|
-
createdAt: z.ZodString;
|
|
1513
|
-
updatedAt: z.ZodString;
|
|
1514
|
-
}, z.core.$strip>>]>;
|
|
1420
|
+
}, z.core.$strip>;
|
|
1515
1421
|
readonly querySchema: z.ZodObject<{
|
|
1516
1422
|
firstName: z.ZodOptional<z.ZodString>;
|
|
1517
1423
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -1622,7 +1528,7 @@ declare const getCustomersFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
|
1622
1528
|
type GetCustomersFromPointOfSaleQueryParams = z.infer<typeof getCustomersFromPointOfSaleQuerySchema>;
|
|
1623
1529
|
declare const getCustomersFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
1624
1530
|
type GetCustomersFromPointOfSaleInput = z.input<typeof getCustomersFromPointOfSaleInputSchema>;
|
|
1625
|
-
declare const getCustomersFromPointOfSaleResponseSchema: z.
|
|
1531
|
+
declare const getCustomersFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
1626
1532
|
data: z.ZodArray<z.ZodObject<{
|
|
1627
1533
|
id: z.ZodString;
|
|
1628
1534
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1644,26 +1550,14 @@ declare const getCustomersFromPointOfSaleResponseSchema: z.ZodUnion<readonly [z.
|
|
|
1644
1550
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1645
1551
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1646
1552
|
}, z.core.$strip>;
|
|
1647
|
-
}, z.core.$strip
|
|
1648
|
-
id: z.ZodString;
|
|
1649
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1650
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1651
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1652
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1653
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1654
|
-
hasAddresses: z.ZodBoolean;
|
|
1655
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1656
|
-
totalSpent: z.ZodString;
|
|
1657
|
-
createdAt: z.ZodString;
|
|
1658
|
-
updatedAt: z.ZodString;
|
|
1659
|
-
}, z.core.$strip>>]>;
|
|
1553
|
+
}, z.core.$strip>;
|
|
1660
1554
|
type GetCustomersFromPointOfSaleResponse = z.infer<typeof getCustomersFromPointOfSaleResponseSchema>;
|
|
1661
1555
|
declare class GetCustomersFromPointOfSale extends AbstractApiRequest<typeof getCustomersFromPointOfSaleInputSchema, typeof getCustomersFromPointOfSaleResponseSchema, GetCustomersFromPointOfSaleQueryParams> {
|
|
1662
1556
|
readonly method: "GET";
|
|
1663
1557
|
readonly contentType: "application/json";
|
|
1664
1558
|
readonly accept: "application/json";
|
|
1665
1559
|
readonly inputSchema: z.ZodUndefined;
|
|
1666
|
-
readonly outputSchema: z.
|
|
1560
|
+
readonly outputSchema: z.ZodObject<{
|
|
1667
1561
|
data: z.ZodArray<z.ZodObject<{
|
|
1668
1562
|
id: z.ZodString;
|
|
1669
1563
|
firstName: z.ZodNullable<z.ZodString>;
|
|
@@ -1685,19 +1579,7 @@ declare class GetCustomersFromPointOfSale extends AbstractApiRequest<typeof getC
|
|
|
1685
1579
|
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1686
1580
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1687
1581
|
}, z.core.$strip>;
|
|
1688
|
-
}, z.core.$strip
|
|
1689
|
-
id: z.ZodString;
|
|
1690
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
1691
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
1692
|
-
email: z.ZodNullable<z.ZodEmail>;
|
|
1693
|
-
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1694
|
-
hasBusinessProfiles: z.ZodBoolean;
|
|
1695
|
-
hasAddresses: z.ZodBoolean;
|
|
1696
|
-
ordersPlaced: z.ZodCoercedNumber<unknown>;
|
|
1697
|
-
totalSpent: z.ZodString;
|
|
1698
|
-
createdAt: z.ZodString;
|
|
1699
|
-
updatedAt: z.ZodString;
|
|
1700
|
-
}, z.core.$strip>>]>;
|
|
1582
|
+
}, z.core.$strip>;
|
|
1701
1583
|
readonly querySchema: z.ZodObject<{
|
|
1702
1584
|
firstName: z.ZodOptional<z.ZodString>;
|
|
1703
1585
|
lastName: z.ZodOptional<z.ZodString>;
|
package/dist/index.js
CHANGED
|
@@ -11332,7 +11332,7 @@ var GetCustomerAddressDetails = class extends AbstractApiRequest3 {
|
|
|
11332
11332
|
// src/requests/customer-addresses/GetCustomerAddresses.ts
|
|
11333
11333
|
import { AbstractApiRequest as AbstractApiRequest4 } from "@deliverart/sdk-js-core";
|
|
11334
11334
|
import {
|
|
11335
|
-
|
|
11335
|
+
createPaginatedSchema,
|
|
11336
11336
|
sortDirSchema as sortDirSchema2,
|
|
11337
11337
|
timestampsFilterSchema as timestampsFilterSchema2
|
|
11338
11338
|
} from "@deliverart/sdk-js-global-types";
|
|
@@ -11342,7 +11342,7 @@ var getCustomerAddressesQuerySchema = external_exports.object({
|
|
|
11342
11342
|
page: external_exports.coerce.number().optional()
|
|
11343
11343
|
}).extend(timestampsFilterSchema2.shape);
|
|
11344
11344
|
var getCustomerAddressesInputSchema = external_exports.undefined();
|
|
11345
|
-
var getCustomerAddressesResponseSchema =
|
|
11345
|
+
var getCustomerAddressesResponseSchema = createPaginatedSchema(customerAddressSchema);
|
|
11346
11346
|
var GetCustomerAddresses = class extends AbstractApiRequest4 {
|
|
11347
11347
|
constructor(options) {
|
|
11348
11348
|
super(void 0, options);
|
|
@@ -11476,7 +11476,7 @@ var GetCustomerBusinessProfileDetails = class extends AbstractApiRequest9 {
|
|
|
11476
11476
|
// src/requests/customer-business-profiles/GetCustomerBusinessProfiles.ts
|
|
11477
11477
|
import { AbstractApiRequest as AbstractApiRequest10 } from "@deliverart/sdk-js-core";
|
|
11478
11478
|
import {
|
|
11479
|
-
|
|
11479
|
+
createPaginatedSchema as createPaginatedSchema2,
|
|
11480
11480
|
sortDirSchema as sortDirSchema4,
|
|
11481
11481
|
timestampsFilterSchema as timestampsFilterSchema4
|
|
11482
11482
|
} from "@deliverart/sdk-js-global-types";
|
|
@@ -11490,7 +11490,7 @@ var getCustomerBusinessProfilesQuerySchema = external_exports.object({
|
|
|
11490
11490
|
page: external_exports.coerce.number().optional()
|
|
11491
11491
|
}).extend(timestampsFilterSchema4.shape);
|
|
11492
11492
|
var getCustomerBusinessProfilesInputSchema = external_exports.undefined();
|
|
11493
|
-
var getCustomerBusinessProfilesResponseSchema =
|
|
11493
|
+
var getCustomerBusinessProfilesResponseSchema = createPaginatedSchema2(
|
|
11494
11494
|
customerBusinessProfileSchema
|
|
11495
11495
|
);
|
|
11496
11496
|
var GetCustomerBusinessProfiles = class extends AbstractApiRequest10 {
|
|
@@ -11631,10 +11631,10 @@ var GetCustomerDetails = class extends AbstractApiRequest15 {
|
|
|
11631
11631
|
|
|
11632
11632
|
// src/requests/customers/GetCustomers.ts
|
|
11633
11633
|
import { AbstractApiRequest as AbstractApiRequest16 } from "@deliverart/sdk-js-core";
|
|
11634
|
-
import {
|
|
11634
|
+
import { createPaginatedSchema as createPaginatedSchema3 } from "@deliverart/sdk-js-global-types";
|
|
11635
11635
|
var getCustomersQuerySchema = customersQuerySchema;
|
|
11636
11636
|
var getCustomersInputSchema = external_exports.undefined();
|
|
11637
|
-
var getCustomersResponseSchema =
|
|
11637
|
+
var getCustomersResponseSchema = createPaginatedSchema3(customerSchema);
|
|
11638
11638
|
var GetCustomers = class extends AbstractApiRequest16 {
|
|
11639
11639
|
constructor(options) {
|
|
11640
11640
|
super(void 0, options);
|
|
@@ -11656,10 +11656,10 @@ var GetCustomers = class extends AbstractApiRequest16 {
|
|
|
11656
11656
|
|
|
11657
11657
|
// src/requests/customers/GetCustomersFromPointOfSale.ts
|
|
11658
11658
|
import { AbstractApiRequest as AbstractApiRequest17 } from "@deliverart/sdk-js-core";
|
|
11659
|
-
import {
|
|
11659
|
+
import { createPaginatedSchema as createPaginatedSchema4 } from "@deliverart/sdk-js-global-types";
|
|
11660
11660
|
var getCustomersFromPointOfSaleQuerySchema = customersQuerySchema;
|
|
11661
11661
|
var getCustomersFromPointOfSaleInputSchema = external_exports.undefined();
|
|
11662
|
-
var getCustomersFromPointOfSaleResponseSchema =
|
|
11662
|
+
var getCustomersFromPointOfSaleResponseSchema = createPaginatedSchema4(customerSchema);
|
|
11663
11663
|
var GetCustomersFromPointOfSale = class extends AbstractApiRequest17 {
|
|
11664
11664
|
constructor(pointOfSaleId, options) {
|
|
11665
11665
|
super(void 0, options);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-customer",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Customer and CustomerAddress Management",
|
|
4
|
-
"version": "2.6.
|
|
4
|
+
"version": "2.6.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-global-types": "2.6.2",
|
|
22
|
+
"@deliverart/sdk-js-core": "2.6.2",
|
|
23
|
+
"@deliverart/sdk-js-user": "2.6.2",
|
|
24
|
+
"@deliverart/sdk-js-point-of-sale": "2.6.2"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|