@deliverart/sdk-js-customer 2.1.8 → 2.1.10

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 CHANGED
@@ -34,6 +34,7 @@ __export(index_exports, {
34
34
  GetCustomerBusinessProfilesForCustomer: () => GetCustomerBusinessProfilesForCustomer,
35
35
  GetCustomerDetails: () => GetCustomerDetails,
36
36
  GetCustomers: () => GetCustomers,
37
+ GetCustomersFromPointOfSale: () => GetCustomersFromPointOfSale,
37
38
  UpdateCustomer: () => UpdateCustomer,
38
39
  UpdateCustomerAddress: () => UpdateCustomerAddress,
39
40
  UpdateCustomerBusinessProfile: () => UpdateCustomerBusinessProfile,
@@ -80,6 +81,9 @@ __export(index_exports, {
80
81
  getCustomerBusinessProfilesResponseSchema: () => getCustomerBusinessProfilesResponseSchema,
81
82
  getCustomerDetailsInputSchema: () => getCustomerDetailsInputSchema,
82
83
  getCustomerDetailsResponseSchema: () => getCustomerDetailsResponseSchema,
84
+ getCustomersFromPointOfSaleInputSchema: () => getCustomersFromPointOfSaleInputSchema,
85
+ getCustomersFromPointOfSaleQuerySchema: () => getCustomersFromPointOfSaleQuerySchema,
86
+ getCustomersFromPointOfSaleResponseSchema: () => getCustomersFromPointOfSaleResponseSchema,
83
87
  getCustomersInputSchema: () => getCustomersInputSchema,
84
88
  getCustomersQuerySchema: () => getCustomersQuerySchema,
85
89
  getCustomersResponseSchema: () => getCustomersResponseSchema,
@@ -11742,11 +11746,38 @@ var GetCustomers = class extends import_sdk_js_core16.AbstractApiRequest {
11742
11746
  }
11743
11747
  };
11744
11748
 
11745
- // src/requests/customers/UpdateCustomer.ts
11749
+ // src/requests/customers/GetCustomersFromPointOfSale.ts
11746
11750
  var import_sdk_js_core17 = require("@deliverart/sdk-js-core");
11751
+ var import_sdk_js_global_types8 = require("@deliverart/sdk-js-global-types");
11752
+ var getCustomersFromPointOfSaleQuerySchema = customersQuerySchema;
11753
+ var getCustomersFromPointOfSaleInputSchema = external_exports.undefined();
11754
+ var getCustomersFromPointOfSaleResponseSchema = (0, import_sdk_js_global_types8.createPaginatedSchema)(customerSchema);
11755
+ var GetCustomersFromPointOfSale = class extends import_sdk_js_core17.AbstractApiRequest {
11756
+ constructor(pointOfSaleId, options) {
11757
+ super(void 0, options);
11758
+ this.method = "GET";
11759
+ this.contentType = "application/json";
11760
+ this.accept = "application/json";
11761
+ this.inputSchema = getCustomersFromPointOfSaleInputSchema;
11762
+ this.outputSchema = getCustomersFromPointOfSaleResponseSchema;
11763
+ this.querySchema = getCustomersFromPointOfSaleQuerySchema;
11764
+ this.headersSchema = void 0;
11765
+ this.pointOfSaleId = pointOfSaleId;
11766
+ }
11767
+ getPath() {
11768
+ return `/point_of_sales/${this.pointOfSaleId}/customers`;
11769
+ }
11770
+ parseResponse(data, rawResponse) {
11771
+ const customers = external_exports.array(customerSchema).parse(data);
11772
+ return this.validateOutput({ data: customers, pagination: (0, import_sdk_js_global_types8.responseToPagination)(rawResponse) });
11773
+ }
11774
+ };
11775
+
11776
+ // src/requests/customers/UpdateCustomer.ts
11777
+ var import_sdk_js_core18 = require("@deliverart/sdk-js-core");
11747
11778
  var updateCustomerInputSchema = writableCustomerSchema.partial();
11748
11779
  var updateCustomerResponseSchema = customerDetailsSchema;
11749
- var UpdateCustomer = class extends import_sdk_js_core17.AbstractApiRequest {
11780
+ var UpdateCustomer = class extends import_sdk_js_core18.AbstractApiRequest {
11750
11781
  constructor(customerId, input) {
11751
11782
  super(input);
11752
11783
  this.method = "PATCH";
@@ -11778,6 +11809,7 @@ var UpdateCustomer = class extends import_sdk_js_core17.AbstractApiRequest {
11778
11809
  GetCustomerBusinessProfilesForCustomer,
11779
11810
  GetCustomerDetails,
11780
11811
  GetCustomers,
11812
+ GetCustomersFromPointOfSale,
11781
11813
  UpdateCustomer,
11782
11814
  UpdateCustomerAddress,
11783
11815
  UpdateCustomerBusinessProfile,
@@ -11824,6 +11856,9 @@ var UpdateCustomer = class extends import_sdk_js_core17.AbstractApiRequest {
11824
11856
  getCustomerBusinessProfilesResponseSchema,
11825
11857
  getCustomerDetailsInputSchema,
11826
11858
  getCustomerDetailsResponseSchema,
11859
+ getCustomersFromPointOfSaleInputSchema,
11860
+ getCustomersFromPointOfSaleQuerySchema,
11861
+ getCustomersFromPointOfSaleResponseSchema,
11827
11862
  getCustomersInputSchema,
11828
11863
  getCustomersQuerySchema,
11829
11864
  getCustomersResponseSchema,
package/dist/index.d.cts CHANGED
@@ -1392,6 +1392,156 @@ declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSc
1392
1392
  parseResponse(data: unknown, rawResponse: Response): Paginated<Customer>;
1393
1393
  }
1394
1394
 
1395
+ declare const getCustomersFromPointOfSaleQuerySchema: z.ZodObject<{
1396
+ firstName: z.ZodOptional<z.ZodString>;
1397
+ lastName: z.ZodOptional<z.ZodString>;
1398
+ email: z.ZodOptional<z.ZodString>;
1399
+ phoneNumber: z.ZodOptional<z.ZodString>;
1400
+ hasBusinessProfiles: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1401
+ hasAddresses: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1402
+ 'ordersPlaced[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1403
+ 'ordersPlaced[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1404
+ 'ordersPlaced[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1405
+ 'ordersPlaced[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1406
+ 'ordersPlaced[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1407
+ 'totalSpent[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1408
+ 'totalSpent[gt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1409
+ 'totalSpent[gte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1410
+ 'totalSpent[lt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1411
+ 'totalSpent[lte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1412
+ 'order[firstName]': z.ZodOptional<z.ZodEnum<{
1413
+ asc: "asc";
1414
+ desc: "desc";
1415
+ }>>;
1416
+ 'order[lastName]': z.ZodOptional<z.ZodEnum<{
1417
+ asc: "asc";
1418
+ desc: "desc";
1419
+ }>>;
1420
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1421
+ asc: "asc";
1422
+ desc: "desc";
1423
+ }>>;
1424
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1425
+ asc: "asc";
1426
+ desc: "desc";
1427
+ }>>;
1428
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1429
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1430
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1431
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1432
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1433
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1434
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1435
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1436
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1437
+ }, z.core.$strip>;
1438
+ type GetCustomersFromPointOfSaleQueryParams = z.infer<typeof getCustomersFromPointOfSaleQuerySchema>;
1439
+ declare const getCustomersFromPointOfSaleInputSchema: z.ZodUndefined;
1440
+ type GetCustomersFromPointOfSaleInput = z.input<typeof getCustomersFromPointOfSaleInputSchema>;
1441
+ declare const getCustomersFromPointOfSaleResponseSchema: z.ZodObject<{
1442
+ data: z.ZodArray<z.ZodObject<{
1443
+ id: z.ZodString;
1444
+ firstName: z.ZodNullable<z.ZodString>;
1445
+ lastName: z.ZodNullable<z.ZodString>;
1446
+ email: z.ZodNullable<z.ZodEmail>;
1447
+ phoneNumber: z.ZodNullable<z.ZodString>;
1448
+ hasBusinessProfiles: z.ZodBoolean;
1449
+ hasAddresses: z.ZodBoolean;
1450
+ ordersPlaced: z.ZodNumber;
1451
+ totalSpent: z.ZodString;
1452
+ createdAt: z.ZodString;
1453
+ updatedAt: z.ZodString;
1454
+ }, z.core.$strip>>;
1455
+ pagination: z.ZodObject<{
1456
+ from: z.ZodNumber;
1457
+ to: z.ZodNumber;
1458
+ itemsPerPage: z.ZodNumber;
1459
+ totalItems: z.ZodNumber;
1460
+ currentPage: z.ZodNumber;
1461
+ lastPage: z.ZodNumber;
1462
+ }, z.core.$strip>;
1463
+ }, z.core.$strip>;
1464
+ type GetCustomersFromPointOfSaleResponse = z.infer<typeof getCustomersFromPointOfSaleResponseSchema>;
1465
+ declare class GetCustomersFromPointOfSale extends AbstractApiRequest<typeof getCustomersFromPointOfSaleInputSchema, typeof getCustomersFromPointOfSaleResponseSchema, GetCustomersFromPointOfSaleQueryParams> {
1466
+ readonly method = "GET";
1467
+ readonly contentType = "application/json";
1468
+ readonly accept = "application/json";
1469
+ readonly inputSchema: z.ZodUndefined;
1470
+ readonly outputSchema: z.ZodObject<{
1471
+ data: z.ZodArray<z.ZodObject<{
1472
+ id: z.ZodString;
1473
+ firstName: z.ZodNullable<z.ZodString>;
1474
+ lastName: z.ZodNullable<z.ZodString>;
1475
+ email: z.ZodNullable<z.ZodEmail>;
1476
+ phoneNumber: z.ZodNullable<z.ZodString>;
1477
+ hasBusinessProfiles: z.ZodBoolean;
1478
+ hasAddresses: z.ZodBoolean;
1479
+ ordersPlaced: z.ZodNumber;
1480
+ totalSpent: z.ZodString;
1481
+ createdAt: z.ZodString;
1482
+ updatedAt: z.ZodString;
1483
+ }, z.core.$strip>>;
1484
+ pagination: z.ZodObject<{
1485
+ from: z.ZodNumber;
1486
+ to: z.ZodNumber;
1487
+ itemsPerPage: z.ZodNumber;
1488
+ totalItems: z.ZodNumber;
1489
+ currentPage: z.ZodNumber;
1490
+ lastPage: z.ZodNumber;
1491
+ }, z.core.$strip>;
1492
+ }, z.core.$strip>;
1493
+ readonly querySchema: z.ZodObject<{
1494
+ firstName: z.ZodOptional<z.ZodString>;
1495
+ lastName: z.ZodOptional<z.ZodString>;
1496
+ email: z.ZodOptional<z.ZodString>;
1497
+ phoneNumber: z.ZodOptional<z.ZodString>;
1498
+ hasBusinessProfiles: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1499
+ hasAddresses: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1500
+ 'ordersPlaced[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1501
+ 'ordersPlaced[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1502
+ 'ordersPlaced[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1503
+ 'ordersPlaced[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1504
+ 'ordersPlaced[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1505
+ 'totalSpent[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1506
+ 'totalSpent[gt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1507
+ 'totalSpent[gte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1508
+ 'totalSpent[lt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1509
+ 'totalSpent[lte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1510
+ 'order[firstName]': z.ZodOptional<z.ZodEnum<{
1511
+ asc: "asc";
1512
+ desc: "desc";
1513
+ }>>;
1514
+ 'order[lastName]': z.ZodOptional<z.ZodEnum<{
1515
+ asc: "asc";
1516
+ desc: "desc";
1517
+ }>>;
1518
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1519
+ asc: "asc";
1520
+ desc: "desc";
1521
+ }>>;
1522
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1523
+ asc: "asc";
1524
+ desc: "desc";
1525
+ }>>;
1526
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1527
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1528
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1529
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1530
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1531
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1532
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1533
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1534
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1535
+ }, z.core.$strip>;
1536
+ readonly headersSchema: undefined;
1537
+ private readonly pointOfSaleId;
1538
+ constructor(pointOfSaleId: string, options?: {
1539
+ query?: GetCustomersFromPointOfSaleQueryParams;
1540
+ });
1541
+ getPath(): string;
1542
+ parseResponse(data: unknown, rawResponse: Response): Paginated<Customer>;
1543
+ }
1544
+
1395
1545
  declare const updateCustomerInputSchema: z.ZodObject<{
1396
1546
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1397
1547
  lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1464,4 +1614,4 @@ type CustomerBusinessProfileIri = z.infer<typeof customerBusinessProfileIriSchem
1464
1614
  declare const customerBusinessProfileNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>;
1465
1615
  type CustomerBusinessProfileNullableIri = z.infer<typeof customerBusinessProfileNullableIriSchema>;
1466
1616
 
1467
- export { CreateCustomer, CreateCustomerAddress, type CreateCustomerAddressInput, type CreateCustomerAddressResponse, CreateCustomerBusinessProfile, type CreateCustomerBusinessProfileInput, type CreateCustomerBusinessProfileResponse, type CreateCustomerInput, type CreateCustomerResponse, type Customer, type CustomerAddress, type CustomerAddressDetails, type CustomerAddressIri, type CustomerAddressNullableIri, type CustomerBusinessProfile, type CustomerBusinessProfileDetails, type CustomerBusinessProfileIri, type CustomerBusinessProfileNullableIri, type CustomerDetails, type CustomerIri, type CustomerNullableIri, type CustomersQueryParams, DeleteCustomer, DeleteCustomerAddress, DeleteCustomerBusinessProfile, GetCustomerAddressDetails, type GetCustomerAddressDetailsInput, type GetCustomerAddressDetailsResponse, GetCustomerAddresses, GetCustomerAddressesForCustomer, type GetCustomerAddressesForCustomerInput, type GetCustomerAddressesForCustomerQueryParams, type GetCustomerAddressesForCustomerResponse, type GetCustomerAddressesInput, type GetCustomerAddressesQueryParams, type GetCustomerAddressesResponse, GetCustomerBusinessProfileDetails, type GetCustomerBusinessProfileDetailsInput, type GetCustomerBusinessProfileDetailsResponse, GetCustomerBusinessProfiles, GetCustomerBusinessProfilesForCustomer, type GetCustomerBusinessProfilesForCustomerInput, type GetCustomerBusinessProfilesForCustomerQueryParams, type GetCustomerBusinessProfilesForCustomerResponse, type GetCustomerBusinessProfilesInput, type GetCustomerBusinessProfilesQueryParams, type GetCustomerBusinessProfilesResponse, GetCustomerDetails, type GetCustomerDetailsInput, type GetCustomerDetailsResponse, GetCustomers, type GetCustomersInput, type GetCustomersQueryParams, type GetCustomersResponse, UpdateCustomer, UpdateCustomerAddress, type UpdateCustomerAddressInput, type UpdateCustomerAddressResponse, UpdateCustomerBusinessProfile, type UpdateCustomerBusinessProfileInput, type UpdateCustomerBusinessProfileResponse, type UpdateCustomerInput, type UpdateCustomerResponse, createCustomerAddressInputSchema, createCustomerAddressResponseSchema, createCustomerBusinessProfileInputSchema, createCustomerBusinessProfileResponseSchema, createCustomerInputSchema, createCustomerResponseSchema, customerAddressDetailsSchema, customerAddressIriSchema, customerAddressNullableIriSchema, customerAddressSchema, customerBusinessProfileDetailsSchema, customerBusinessProfileIriSchema, customerBusinessProfileNullableIriSchema, customerBusinessProfileSchema, customerDetailsSchema, customerIriSchema, customerNullableIriSchema, customerSchema, customersQuerySchema, deleteCustomerAddressInputSchema, deleteCustomerAddressResponseSchema, deleteCustomerBusinessProfileInputSchema, deleteCustomerBusinessProfileResponseSchema, deleteCustomerInputSchema, deleteCustomerResponseSchema, getCustomerAddressDetailsInputSchema, getCustomerAddressDetailsResponseSchema, getCustomerAddressesForCustomerInputSchema, getCustomerAddressesForCustomerQuerySchema, getCustomerAddressesForCustomerResponseSchema, getCustomerAddressesInputSchema, getCustomerAddressesQuerySchema, getCustomerAddressesResponseSchema, getCustomerBusinessProfileDetailsInputSchema, getCustomerBusinessProfileDetailsResponseSchema, getCustomerBusinessProfilesForCustomerInputSchema, getCustomerBusinessProfilesForCustomerQuerySchema, getCustomerBusinessProfilesForCustomerResponseSchema, getCustomerBusinessProfilesInputSchema, getCustomerBusinessProfilesQuerySchema, getCustomerBusinessProfilesResponseSchema, getCustomerDetailsInputSchema, getCustomerDetailsResponseSchema, getCustomersInputSchema, getCustomersQuerySchema, getCustomersResponseSchema, updateCustomerAddressInputSchema, updateCustomerAddressResponseSchema, updateCustomerBusinessProfileInputSchema, updateCustomerBusinessProfileResponseSchema, updateCustomerInputSchema, updateCustomerResponseSchema, writableCreateCustomerAddressSchema, writableCreateCustomerBusinessProfileSchema, writableCreateCustomerSchema, writableCustomerAddressSchema, writableCustomerBusinessProfileSchema, writableCustomerSchema };
1617
+ export { CreateCustomer, CreateCustomerAddress, type CreateCustomerAddressInput, type CreateCustomerAddressResponse, CreateCustomerBusinessProfile, type CreateCustomerBusinessProfileInput, type CreateCustomerBusinessProfileResponse, type CreateCustomerInput, type CreateCustomerResponse, type Customer, type CustomerAddress, type CustomerAddressDetails, type CustomerAddressIri, type CustomerAddressNullableIri, type CustomerBusinessProfile, type CustomerBusinessProfileDetails, type CustomerBusinessProfileIri, type CustomerBusinessProfileNullableIri, type CustomerDetails, type CustomerIri, type CustomerNullableIri, type CustomersQueryParams, DeleteCustomer, DeleteCustomerAddress, DeleteCustomerBusinessProfile, GetCustomerAddressDetails, type GetCustomerAddressDetailsInput, type GetCustomerAddressDetailsResponse, GetCustomerAddresses, GetCustomerAddressesForCustomer, type GetCustomerAddressesForCustomerInput, type GetCustomerAddressesForCustomerQueryParams, type GetCustomerAddressesForCustomerResponse, type GetCustomerAddressesInput, type GetCustomerAddressesQueryParams, type GetCustomerAddressesResponse, GetCustomerBusinessProfileDetails, type GetCustomerBusinessProfileDetailsInput, type GetCustomerBusinessProfileDetailsResponse, GetCustomerBusinessProfiles, GetCustomerBusinessProfilesForCustomer, type GetCustomerBusinessProfilesForCustomerInput, type GetCustomerBusinessProfilesForCustomerQueryParams, type GetCustomerBusinessProfilesForCustomerResponse, type GetCustomerBusinessProfilesInput, type GetCustomerBusinessProfilesQueryParams, type GetCustomerBusinessProfilesResponse, GetCustomerDetails, type GetCustomerDetailsInput, type GetCustomerDetailsResponse, GetCustomers, GetCustomersFromPointOfSale, type GetCustomersFromPointOfSaleInput, type GetCustomersFromPointOfSaleQueryParams, type GetCustomersFromPointOfSaleResponse, type GetCustomersInput, type GetCustomersQueryParams, type GetCustomersResponse, UpdateCustomer, UpdateCustomerAddress, type UpdateCustomerAddressInput, type UpdateCustomerAddressResponse, UpdateCustomerBusinessProfile, type UpdateCustomerBusinessProfileInput, type UpdateCustomerBusinessProfileResponse, type UpdateCustomerInput, type UpdateCustomerResponse, createCustomerAddressInputSchema, createCustomerAddressResponseSchema, createCustomerBusinessProfileInputSchema, createCustomerBusinessProfileResponseSchema, createCustomerInputSchema, createCustomerResponseSchema, customerAddressDetailsSchema, customerAddressIriSchema, customerAddressNullableIriSchema, customerAddressSchema, customerBusinessProfileDetailsSchema, customerBusinessProfileIriSchema, customerBusinessProfileNullableIriSchema, customerBusinessProfileSchema, customerDetailsSchema, customerIriSchema, customerNullableIriSchema, customerSchema, customersQuerySchema, deleteCustomerAddressInputSchema, deleteCustomerAddressResponseSchema, deleteCustomerBusinessProfileInputSchema, deleteCustomerBusinessProfileResponseSchema, deleteCustomerInputSchema, deleteCustomerResponseSchema, getCustomerAddressDetailsInputSchema, getCustomerAddressDetailsResponseSchema, getCustomerAddressesForCustomerInputSchema, getCustomerAddressesForCustomerQuerySchema, getCustomerAddressesForCustomerResponseSchema, getCustomerAddressesInputSchema, getCustomerAddressesQuerySchema, getCustomerAddressesResponseSchema, getCustomerBusinessProfileDetailsInputSchema, getCustomerBusinessProfileDetailsResponseSchema, getCustomerBusinessProfilesForCustomerInputSchema, getCustomerBusinessProfilesForCustomerQuerySchema, getCustomerBusinessProfilesForCustomerResponseSchema, getCustomerBusinessProfilesInputSchema, getCustomerBusinessProfilesQuerySchema, getCustomerBusinessProfilesResponseSchema, getCustomerDetailsInputSchema, getCustomerDetailsResponseSchema, getCustomersFromPointOfSaleInputSchema, getCustomersFromPointOfSaleQuerySchema, getCustomersFromPointOfSaleResponseSchema, getCustomersInputSchema, getCustomersQuerySchema, getCustomersResponseSchema, updateCustomerAddressInputSchema, updateCustomerAddressResponseSchema, updateCustomerBusinessProfileInputSchema, updateCustomerBusinessProfileResponseSchema, updateCustomerInputSchema, updateCustomerResponseSchema, writableCreateCustomerAddressSchema, writableCreateCustomerBusinessProfileSchema, writableCreateCustomerSchema, writableCustomerAddressSchema, writableCustomerBusinessProfileSchema, writableCustomerSchema };
package/dist/index.d.ts CHANGED
@@ -1392,6 +1392,156 @@ declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSc
1392
1392
  parseResponse(data: unknown, rawResponse: Response): Paginated<Customer>;
1393
1393
  }
1394
1394
 
1395
+ declare const getCustomersFromPointOfSaleQuerySchema: z.ZodObject<{
1396
+ firstName: z.ZodOptional<z.ZodString>;
1397
+ lastName: z.ZodOptional<z.ZodString>;
1398
+ email: z.ZodOptional<z.ZodString>;
1399
+ phoneNumber: z.ZodOptional<z.ZodString>;
1400
+ hasBusinessProfiles: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1401
+ hasAddresses: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1402
+ 'ordersPlaced[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1403
+ 'ordersPlaced[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1404
+ 'ordersPlaced[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1405
+ 'ordersPlaced[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1406
+ 'ordersPlaced[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1407
+ 'totalSpent[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1408
+ 'totalSpent[gt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1409
+ 'totalSpent[gte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1410
+ 'totalSpent[lt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1411
+ 'totalSpent[lte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1412
+ 'order[firstName]': z.ZodOptional<z.ZodEnum<{
1413
+ asc: "asc";
1414
+ desc: "desc";
1415
+ }>>;
1416
+ 'order[lastName]': z.ZodOptional<z.ZodEnum<{
1417
+ asc: "asc";
1418
+ desc: "desc";
1419
+ }>>;
1420
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1421
+ asc: "asc";
1422
+ desc: "desc";
1423
+ }>>;
1424
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1425
+ asc: "asc";
1426
+ desc: "desc";
1427
+ }>>;
1428
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1429
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1430
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1431
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1432
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1433
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1434
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1435
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1436
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1437
+ }, z.core.$strip>;
1438
+ type GetCustomersFromPointOfSaleQueryParams = z.infer<typeof getCustomersFromPointOfSaleQuerySchema>;
1439
+ declare const getCustomersFromPointOfSaleInputSchema: z.ZodUndefined;
1440
+ type GetCustomersFromPointOfSaleInput = z.input<typeof getCustomersFromPointOfSaleInputSchema>;
1441
+ declare const getCustomersFromPointOfSaleResponseSchema: z.ZodObject<{
1442
+ data: z.ZodArray<z.ZodObject<{
1443
+ id: z.ZodString;
1444
+ firstName: z.ZodNullable<z.ZodString>;
1445
+ lastName: z.ZodNullable<z.ZodString>;
1446
+ email: z.ZodNullable<z.ZodEmail>;
1447
+ phoneNumber: z.ZodNullable<z.ZodString>;
1448
+ hasBusinessProfiles: z.ZodBoolean;
1449
+ hasAddresses: z.ZodBoolean;
1450
+ ordersPlaced: z.ZodNumber;
1451
+ totalSpent: z.ZodString;
1452
+ createdAt: z.ZodString;
1453
+ updatedAt: z.ZodString;
1454
+ }, z.core.$strip>>;
1455
+ pagination: z.ZodObject<{
1456
+ from: z.ZodNumber;
1457
+ to: z.ZodNumber;
1458
+ itemsPerPage: z.ZodNumber;
1459
+ totalItems: z.ZodNumber;
1460
+ currentPage: z.ZodNumber;
1461
+ lastPage: z.ZodNumber;
1462
+ }, z.core.$strip>;
1463
+ }, z.core.$strip>;
1464
+ type GetCustomersFromPointOfSaleResponse = z.infer<typeof getCustomersFromPointOfSaleResponseSchema>;
1465
+ declare class GetCustomersFromPointOfSale extends AbstractApiRequest<typeof getCustomersFromPointOfSaleInputSchema, typeof getCustomersFromPointOfSaleResponseSchema, GetCustomersFromPointOfSaleQueryParams> {
1466
+ readonly method = "GET";
1467
+ readonly contentType = "application/json";
1468
+ readonly accept = "application/json";
1469
+ readonly inputSchema: z.ZodUndefined;
1470
+ readonly outputSchema: z.ZodObject<{
1471
+ data: z.ZodArray<z.ZodObject<{
1472
+ id: z.ZodString;
1473
+ firstName: z.ZodNullable<z.ZodString>;
1474
+ lastName: z.ZodNullable<z.ZodString>;
1475
+ email: z.ZodNullable<z.ZodEmail>;
1476
+ phoneNumber: z.ZodNullable<z.ZodString>;
1477
+ hasBusinessProfiles: z.ZodBoolean;
1478
+ hasAddresses: z.ZodBoolean;
1479
+ ordersPlaced: z.ZodNumber;
1480
+ totalSpent: z.ZodString;
1481
+ createdAt: z.ZodString;
1482
+ updatedAt: z.ZodString;
1483
+ }, z.core.$strip>>;
1484
+ pagination: z.ZodObject<{
1485
+ from: z.ZodNumber;
1486
+ to: z.ZodNumber;
1487
+ itemsPerPage: z.ZodNumber;
1488
+ totalItems: z.ZodNumber;
1489
+ currentPage: z.ZodNumber;
1490
+ lastPage: z.ZodNumber;
1491
+ }, z.core.$strip>;
1492
+ }, z.core.$strip>;
1493
+ readonly querySchema: z.ZodObject<{
1494
+ firstName: z.ZodOptional<z.ZodString>;
1495
+ lastName: z.ZodOptional<z.ZodString>;
1496
+ email: z.ZodOptional<z.ZodString>;
1497
+ phoneNumber: z.ZodOptional<z.ZodString>;
1498
+ hasBusinessProfiles: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1499
+ hasAddresses: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
1500
+ 'ordersPlaced[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1501
+ 'ordersPlaced[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1502
+ 'ordersPlaced[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1503
+ 'ordersPlaced[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1504
+ 'ordersPlaced[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1505
+ 'totalSpent[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1506
+ 'totalSpent[gt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1507
+ 'totalSpent[gte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1508
+ 'totalSpent[lt]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1509
+ 'totalSpent[lte]': z.ZodOptional<z.ZodCoercedString<unknown>>;
1510
+ 'order[firstName]': z.ZodOptional<z.ZodEnum<{
1511
+ asc: "asc";
1512
+ desc: "desc";
1513
+ }>>;
1514
+ 'order[lastName]': z.ZodOptional<z.ZodEnum<{
1515
+ asc: "asc";
1516
+ desc: "desc";
1517
+ }>>;
1518
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
1519
+ asc: "asc";
1520
+ desc: "desc";
1521
+ }>>;
1522
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
1523
+ asc: "asc";
1524
+ desc: "desc";
1525
+ }>>;
1526
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1527
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
1528
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
1529
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
1530
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
1531
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
1532
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
1533
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
1534
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
1535
+ }, z.core.$strip>;
1536
+ readonly headersSchema: undefined;
1537
+ private readonly pointOfSaleId;
1538
+ constructor(pointOfSaleId: string, options?: {
1539
+ query?: GetCustomersFromPointOfSaleQueryParams;
1540
+ });
1541
+ getPath(): string;
1542
+ parseResponse(data: unknown, rawResponse: Response): Paginated<Customer>;
1543
+ }
1544
+
1395
1545
  declare const updateCustomerInputSchema: z.ZodObject<{
1396
1546
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1397
1547
  lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1464,4 +1614,4 @@ type CustomerBusinessProfileIri = z.infer<typeof customerBusinessProfileIriSchem
1464
1614
  declare const customerBusinessProfileNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>;
1465
1615
  type CustomerBusinessProfileNullableIri = z.infer<typeof customerBusinessProfileNullableIriSchema>;
1466
1616
 
1467
- export { CreateCustomer, CreateCustomerAddress, type CreateCustomerAddressInput, type CreateCustomerAddressResponse, CreateCustomerBusinessProfile, type CreateCustomerBusinessProfileInput, type CreateCustomerBusinessProfileResponse, type CreateCustomerInput, type CreateCustomerResponse, type Customer, type CustomerAddress, type CustomerAddressDetails, type CustomerAddressIri, type CustomerAddressNullableIri, type CustomerBusinessProfile, type CustomerBusinessProfileDetails, type CustomerBusinessProfileIri, type CustomerBusinessProfileNullableIri, type CustomerDetails, type CustomerIri, type CustomerNullableIri, type CustomersQueryParams, DeleteCustomer, DeleteCustomerAddress, DeleteCustomerBusinessProfile, GetCustomerAddressDetails, type GetCustomerAddressDetailsInput, type GetCustomerAddressDetailsResponse, GetCustomerAddresses, GetCustomerAddressesForCustomer, type GetCustomerAddressesForCustomerInput, type GetCustomerAddressesForCustomerQueryParams, type GetCustomerAddressesForCustomerResponse, type GetCustomerAddressesInput, type GetCustomerAddressesQueryParams, type GetCustomerAddressesResponse, GetCustomerBusinessProfileDetails, type GetCustomerBusinessProfileDetailsInput, type GetCustomerBusinessProfileDetailsResponse, GetCustomerBusinessProfiles, GetCustomerBusinessProfilesForCustomer, type GetCustomerBusinessProfilesForCustomerInput, type GetCustomerBusinessProfilesForCustomerQueryParams, type GetCustomerBusinessProfilesForCustomerResponse, type GetCustomerBusinessProfilesInput, type GetCustomerBusinessProfilesQueryParams, type GetCustomerBusinessProfilesResponse, GetCustomerDetails, type GetCustomerDetailsInput, type GetCustomerDetailsResponse, GetCustomers, type GetCustomersInput, type GetCustomersQueryParams, type GetCustomersResponse, UpdateCustomer, UpdateCustomerAddress, type UpdateCustomerAddressInput, type UpdateCustomerAddressResponse, UpdateCustomerBusinessProfile, type UpdateCustomerBusinessProfileInput, type UpdateCustomerBusinessProfileResponse, type UpdateCustomerInput, type UpdateCustomerResponse, createCustomerAddressInputSchema, createCustomerAddressResponseSchema, createCustomerBusinessProfileInputSchema, createCustomerBusinessProfileResponseSchema, createCustomerInputSchema, createCustomerResponseSchema, customerAddressDetailsSchema, customerAddressIriSchema, customerAddressNullableIriSchema, customerAddressSchema, customerBusinessProfileDetailsSchema, customerBusinessProfileIriSchema, customerBusinessProfileNullableIriSchema, customerBusinessProfileSchema, customerDetailsSchema, customerIriSchema, customerNullableIriSchema, customerSchema, customersQuerySchema, deleteCustomerAddressInputSchema, deleteCustomerAddressResponseSchema, deleteCustomerBusinessProfileInputSchema, deleteCustomerBusinessProfileResponseSchema, deleteCustomerInputSchema, deleteCustomerResponseSchema, getCustomerAddressDetailsInputSchema, getCustomerAddressDetailsResponseSchema, getCustomerAddressesForCustomerInputSchema, getCustomerAddressesForCustomerQuerySchema, getCustomerAddressesForCustomerResponseSchema, getCustomerAddressesInputSchema, getCustomerAddressesQuerySchema, getCustomerAddressesResponseSchema, getCustomerBusinessProfileDetailsInputSchema, getCustomerBusinessProfileDetailsResponseSchema, getCustomerBusinessProfilesForCustomerInputSchema, getCustomerBusinessProfilesForCustomerQuerySchema, getCustomerBusinessProfilesForCustomerResponseSchema, getCustomerBusinessProfilesInputSchema, getCustomerBusinessProfilesQuerySchema, getCustomerBusinessProfilesResponseSchema, getCustomerDetailsInputSchema, getCustomerDetailsResponseSchema, getCustomersInputSchema, getCustomersQuerySchema, getCustomersResponseSchema, updateCustomerAddressInputSchema, updateCustomerAddressResponseSchema, updateCustomerBusinessProfileInputSchema, updateCustomerBusinessProfileResponseSchema, updateCustomerInputSchema, updateCustomerResponseSchema, writableCreateCustomerAddressSchema, writableCreateCustomerBusinessProfileSchema, writableCreateCustomerSchema, writableCustomerAddressSchema, writableCustomerBusinessProfileSchema, writableCustomerSchema };
1617
+ export { CreateCustomer, CreateCustomerAddress, type CreateCustomerAddressInput, type CreateCustomerAddressResponse, CreateCustomerBusinessProfile, type CreateCustomerBusinessProfileInput, type CreateCustomerBusinessProfileResponse, type CreateCustomerInput, type CreateCustomerResponse, type Customer, type CustomerAddress, type CustomerAddressDetails, type CustomerAddressIri, type CustomerAddressNullableIri, type CustomerBusinessProfile, type CustomerBusinessProfileDetails, type CustomerBusinessProfileIri, type CustomerBusinessProfileNullableIri, type CustomerDetails, type CustomerIri, type CustomerNullableIri, type CustomersQueryParams, DeleteCustomer, DeleteCustomerAddress, DeleteCustomerBusinessProfile, GetCustomerAddressDetails, type GetCustomerAddressDetailsInput, type GetCustomerAddressDetailsResponse, GetCustomerAddresses, GetCustomerAddressesForCustomer, type GetCustomerAddressesForCustomerInput, type GetCustomerAddressesForCustomerQueryParams, type GetCustomerAddressesForCustomerResponse, type GetCustomerAddressesInput, type GetCustomerAddressesQueryParams, type GetCustomerAddressesResponse, GetCustomerBusinessProfileDetails, type GetCustomerBusinessProfileDetailsInput, type GetCustomerBusinessProfileDetailsResponse, GetCustomerBusinessProfiles, GetCustomerBusinessProfilesForCustomer, type GetCustomerBusinessProfilesForCustomerInput, type GetCustomerBusinessProfilesForCustomerQueryParams, type GetCustomerBusinessProfilesForCustomerResponse, type GetCustomerBusinessProfilesInput, type GetCustomerBusinessProfilesQueryParams, type GetCustomerBusinessProfilesResponse, GetCustomerDetails, type GetCustomerDetailsInput, type GetCustomerDetailsResponse, GetCustomers, GetCustomersFromPointOfSale, type GetCustomersFromPointOfSaleInput, type GetCustomersFromPointOfSaleQueryParams, type GetCustomersFromPointOfSaleResponse, type GetCustomersInput, type GetCustomersQueryParams, type GetCustomersResponse, UpdateCustomer, UpdateCustomerAddress, type UpdateCustomerAddressInput, type UpdateCustomerAddressResponse, UpdateCustomerBusinessProfile, type UpdateCustomerBusinessProfileInput, type UpdateCustomerBusinessProfileResponse, type UpdateCustomerInput, type UpdateCustomerResponse, createCustomerAddressInputSchema, createCustomerAddressResponseSchema, createCustomerBusinessProfileInputSchema, createCustomerBusinessProfileResponseSchema, createCustomerInputSchema, createCustomerResponseSchema, customerAddressDetailsSchema, customerAddressIriSchema, customerAddressNullableIriSchema, customerAddressSchema, customerBusinessProfileDetailsSchema, customerBusinessProfileIriSchema, customerBusinessProfileNullableIriSchema, customerBusinessProfileSchema, customerDetailsSchema, customerIriSchema, customerNullableIriSchema, customerSchema, customersQuerySchema, deleteCustomerAddressInputSchema, deleteCustomerAddressResponseSchema, deleteCustomerBusinessProfileInputSchema, deleteCustomerBusinessProfileResponseSchema, deleteCustomerInputSchema, deleteCustomerResponseSchema, getCustomerAddressDetailsInputSchema, getCustomerAddressDetailsResponseSchema, getCustomerAddressesForCustomerInputSchema, getCustomerAddressesForCustomerQuerySchema, getCustomerAddressesForCustomerResponseSchema, getCustomerAddressesInputSchema, getCustomerAddressesQuerySchema, getCustomerAddressesResponseSchema, getCustomerBusinessProfileDetailsInputSchema, getCustomerBusinessProfileDetailsResponseSchema, getCustomerBusinessProfilesForCustomerInputSchema, getCustomerBusinessProfilesForCustomerQuerySchema, getCustomerBusinessProfilesForCustomerResponseSchema, getCustomerBusinessProfilesInputSchema, getCustomerBusinessProfilesQuerySchema, getCustomerBusinessProfilesResponseSchema, getCustomerDetailsInputSchema, getCustomerDetailsResponseSchema, getCustomersFromPointOfSaleInputSchema, getCustomersFromPointOfSaleQuerySchema, getCustomersFromPointOfSaleResponseSchema, getCustomersInputSchema, getCustomersQuerySchema, getCustomersResponseSchema, updateCustomerAddressInputSchema, updateCustomerAddressResponseSchema, updateCustomerBusinessProfileInputSchema, updateCustomerBusinessProfileResponseSchema, updateCustomerInputSchema, updateCustomerResponseSchema, writableCreateCustomerAddressSchema, writableCreateCustomerBusinessProfileSchema, writableCreateCustomerSchema, writableCustomerAddressSchema, writableCustomerBusinessProfileSchema, writableCustomerSchema };
package/dist/index.js CHANGED
@@ -11668,11 +11668,41 @@ var GetCustomers = class extends AbstractApiRequest16 {
11668
11668
  }
11669
11669
  };
11670
11670
 
11671
- // src/requests/customers/UpdateCustomer.ts
11671
+ // src/requests/customers/GetCustomersFromPointOfSale.ts
11672
11672
  import { AbstractApiRequest as AbstractApiRequest17 } from "@deliverart/sdk-js-core";
11673
+ import {
11674
+ createPaginatedSchema as createPaginatedSchema4,
11675
+ responseToPagination as responseToPagination4
11676
+ } from "@deliverart/sdk-js-global-types";
11677
+ var getCustomersFromPointOfSaleQuerySchema = customersQuerySchema;
11678
+ var getCustomersFromPointOfSaleInputSchema = external_exports.undefined();
11679
+ var getCustomersFromPointOfSaleResponseSchema = createPaginatedSchema4(customerSchema);
11680
+ var GetCustomersFromPointOfSale = class extends AbstractApiRequest17 {
11681
+ constructor(pointOfSaleId, options) {
11682
+ super(void 0, options);
11683
+ this.method = "GET";
11684
+ this.contentType = "application/json";
11685
+ this.accept = "application/json";
11686
+ this.inputSchema = getCustomersFromPointOfSaleInputSchema;
11687
+ this.outputSchema = getCustomersFromPointOfSaleResponseSchema;
11688
+ this.querySchema = getCustomersFromPointOfSaleQuerySchema;
11689
+ this.headersSchema = void 0;
11690
+ this.pointOfSaleId = pointOfSaleId;
11691
+ }
11692
+ getPath() {
11693
+ return `/point_of_sales/${this.pointOfSaleId}/customers`;
11694
+ }
11695
+ parseResponse(data, rawResponse) {
11696
+ const customers = external_exports.array(customerSchema).parse(data);
11697
+ return this.validateOutput({ data: customers, pagination: responseToPagination4(rawResponse) });
11698
+ }
11699
+ };
11700
+
11701
+ // src/requests/customers/UpdateCustomer.ts
11702
+ import { AbstractApiRequest as AbstractApiRequest18 } from "@deliverart/sdk-js-core";
11673
11703
  var updateCustomerInputSchema = writableCustomerSchema.partial();
11674
11704
  var updateCustomerResponseSchema = customerDetailsSchema;
11675
- var UpdateCustomer = class extends AbstractApiRequest17 {
11705
+ var UpdateCustomer = class extends AbstractApiRequest18 {
11676
11706
  constructor(customerId, input) {
11677
11707
  super(input);
11678
11708
  this.method = "PATCH";
@@ -11703,6 +11733,7 @@ export {
11703
11733
  GetCustomerBusinessProfilesForCustomer,
11704
11734
  GetCustomerDetails,
11705
11735
  GetCustomers,
11736
+ GetCustomersFromPointOfSale,
11706
11737
  UpdateCustomer,
11707
11738
  UpdateCustomerAddress,
11708
11739
  UpdateCustomerBusinessProfile,
@@ -11749,6 +11780,9 @@ export {
11749
11780
  getCustomerBusinessProfilesResponseSchema,
11750
11781
  getCustomerDetailsInputSchema,
11751
11782
  getCustomerDetailsResponseSchema,
11783
+ getCustomersFromPointOfSaleInputSchema,
11784
+ getCustomersFromPointOfSaleQuerySchema,
11785
+ getCustomersFromPointOfSaleResponseSchema,
11752
11786
  getCustomersInputSchema,
11753
11787
  getCustomersQuerySchema,
11754
11788
  getCustomersResponseSchema,
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.1.8",
4
+ "version": "2.1.10",
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-core": "2.1.8",
22
- "@deliverart/sdk-js-point-of-sale": "2.1.8",
23
- "@deliverart/sdk-js-user": "2.1.8",
24
- "@deliverart/sdk-js-global-types": "2.1.8"
21
+ "@deliverart/sdk-js-core": "2.1.10",
22
+ "@deliverart/sdk-js-point-of-sale": "2.1.10",
23
+ "@deliverart/sdk-js-user": "2.1.10",
24
+ "@deliverart/sdk-js-global-types": "2.1.10"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"