@deliverart/sdk-js-customer 1.2.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-type
|
|
|
2
2
|
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
5
|
-
import { AxiosResponse } from 'axios';
|
|
6
5
|
|
|
7
6
|
declare const customerSchema: z.ZodObject<{
|
|
8
7
|
id: z.ZodString;
|
|
@@ -472,7 +471,7 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
472
471
|
query?: GetCustomerAddressesQueryParams;
|
|
473
472
|
});
|
|
474
473
|
getPath(): string;
|
|
475
|
-
parseResponse(data: unknown, rawResponse:
|
|
474
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<CustomerAddress>;
|
|
476
475
|
}
|
|
477
476
|
|
|
478
477
|
declare const getCustomerAddressesForCustomerQuerySchema: z.ZodObject<{
|
|
@@ -920,7 +919,7 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
920
919
|
query?: GetCustomerBusinessProfilesQueryParams;
|
|
921
920
|
});
|
|
922
921
|
getPath(): string;
|
|
923
|
-
parseResponse(data: unknown, rawResponse:
|
|
922
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<CustomerBusinessProfile>;
|
|
924
923
|
}
|
|
925
924
|
|
|
926
925
|
declare const getCustomerBusinessProfilesForCustomerQuerySchema: z.ZodObject<{
|
|
@@ -1390,7 +1389,7 @@ declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSc
|
|
|
1390
1389
|
query?: GetCustomersQueryParams;
|
|
1391
1390
|
});
|
|
1392
1391
|
getPath(): string;
|
|
1393
|
-
parseResponse(data: unknown, rawResponse:
|
|
1392
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<Customer>;
|
|
1394
1393
|
}
|
|
1395
1394
|
|
|
1396
1395
|
declare const updateCustomerInputSchema: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-type
|
|
|
2
2
|
import { Paginated } from '@deliverart/sdk-js-global-types';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
5
|
-
import { AxiosResponse } from 'axios';
|
|
6
5
|
|
|
7
6
|
declare const customerSchema: z.ZodObject<{
|
|
8
7
|
id: z.ZodString;
|
|
@@ -472,7 +471,7 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
472
471
|
query?: GetCustomerAddressesQueryParams;
|
|
473
472
|
});
|
|
474
473
|
getPath(): string;
|
|
475
|
-
parseResponse(data: unknown, rawResponse:
|
|
474
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<CustomerAddress>;
|
|
476
475
|
}
|
|
477
476
|
|
|
478
477
|
declare const getCustomerAddressesForCustomerQuerySchema: z.ZodObject<{
|
|
@@ -920,7 +919,7 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
920
919
|
query?: GetCustomerBusinessProfilesQueryParams;
|
|
921
920
|
});
|
|
922
921
|
getPath(): string;
|
|
923
|
-
parseResponse(data: unknown, rawResponse:
|
|
922
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<CustomerBusinessProfile>;
|
|
924
923
|
}
|
|
925
924
|
|
|
926
925
|
declare const getCustomerBusinessProfilesForCustomerQuerySchema: z.ZodObject<{
|
|
@@ -1390,7 +1389,7 @@ declare class GetCustomers extends AbstractApiRequest<typeof getCustomersInputSc
|
|
|
1390
1389
|
query?: GetCustomersQueryParams;
|
|
1391
1390
|
});
|
|
1392
1391
|
getPath(): string;
|
|
1393
|
-
parseResponse(data: unknown, rawResponse:
|
|
1392
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<Customer>;
|
|
1394
1393
|
}
|
|
1395
1394
|
|
|
1396
1395
|
declare const updateCustomerInputSchema: z.ZodObject<{
|
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": "
|
|
4
|
+
"version": "2.0.0",
|
|
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": "
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-user": "
|
|
21
|
+
"@deliverart/sdk-js-core": "2.0.0",
|
|
22
|
+
"@deliverart/sdk-js-point-of-sale": "2.0.0",
|
|
23
|
+
"@deliverart/sdk-js-global-types": "2.0.0",
|
|
24
|
+
"@deliverart/sdk-js-user": "2.0.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|