@whiplashmerch/whiplash-api-client 3.2.60 → 3.2.62
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.
|
@@ -13082,6 +13082,8 @@ export interface GetApiV21ConsumerReturnsIdTraitsParams {
|
|
|
13082
13082
|
traits: string;
|
|
13083
13083
|
}
|
|
13084
13084
|
export interface GetApiV21ConsumerReturnsParams {
|
|
13085
|
+
/** Opaque keyset cursor; send empty to start. When present, `page` is ignored and results are ordered by id. Pass the `NextCursor` response header to page. */
|
|
13086
|
+
cursor?: string;
|
|
13085
13087
|
/** Comma-separated list of fields to include in the response */
|
|
13086
13088
|
fields?: string;
|
|
13087
13089
|
/**
|
|
@@ -16389,6 +16391,8 @@ export interface GetApiV2ConsumerReturnsIdTraitsParams {
|
|
|
16389
16391
|
traits: string;
|
|
16390
16392
|
}
|
|
16391
16393
|
export interface GetApiV2ConsumerReturnsParams {
|
|
16394
|
+
/** Opaque keyset cursor; send empty to start. When present, `page` is ignored and results are ordered by id. Pass the `NextCursor` response header to page. */
|
|
16395
|
+
cursor?: string;
|
|
16392
16396
|
/** Comma-separated list of fields to include in the response */
|
|
16393
16397
|
fields?: string;
|
|
16394
16398
|
/**
|
package/dist/utils/customer.d.ts
CHANGED
|
@@ -2,11 +2,14 @@ import { ApiV21EntitiesLocationRole, HttpClient } from '../generated';
|
|
|
2
2
|
export interface ApiV21CustomerIdGoEnabledResult {
|
|
3
3
|
result: boolean;
|
|
4
4
|
}
|
|
5
|
+
export interface ApiV21CustomersDefaultSNLocationRoleResult {
|
|
6
|
+
result: ApiV21EntitiesLocationRole.Backstock | ApiV21EntitiesLocationRole.Pickable | null;
|
|
7
|
+
}
|
|
5
8
|
export interface ApiV21CustomersIdEnablePendingReturnsResult {
|
|
6
9
|
result: boolean;
|
|
7
10
|
}
|
|
8
11
|
export interface ApiV21CustomersIdDefaultReturnLocationResult {
|
|
9
|
-
result: ApiV21EntitiesLocationRole.Pending | ApiV21EntitiesLocationRole.Pickable | null;
|
|
12
|
+
result: ApiV21EntitiesLocationRole.Pending | ApiV21EntitiesLocationRole.Pickable | ApiV21EntitiesLocationRole.Backstock | null;
|
|
10
13
|
}
|
|
11
14
|
export interface ApiV21CustomerIdGoEnabledParams {
|
|
12
15
|
warehouse_id: string;
|
|
@@ -14,3 +17,4 @@ export interface ApiV21CustomerIdGoEnabledParams {
|
|
|
14
17
|
export declare const getApiV21CustomersIdGoEnabled: (client: HttpClient, customerId: number, warehouseId: number) => Promise<ApiV21CustomerIdGoEnabledResult>;
|
|
15
18
|
export declare const getApiV21CustomersIdEnablePendingReturns: (client: HttpClient, customerId: number) => Promise<ApiV21CustomersIdEnablePendingReturnsResult>;
|
|
16
19
|
export declare const getApiV21CustomersIdDefaultReturnLocationRole: (client: HttpClient, customerId: number) => Promise<ApiV21CustomersIdDefaultReturnLocationResult>;
|
|
20
|
+
export declare const getApiV21CustomersIdDefaultSNLocationRole: (client: HttpClient, customerId: number) => Promise<ApiV21CustomersDefaultSNLocationRoleResult>;
|
|
@@ -6295,6 +6295,8 @@ export interface GetApiV21ConsumerReturnsIdParams {
|
|
|
6295
6295
|
}
|
|
6296
6296
|
|
|
6297
6297
|
export interface GetApiV21ConsumerReturnsParams {
|
|
6298
|
+
/** Opaque keyset cursor; send empty to start. When present, `page` is ignored and results are ordered by id. Pass the `NextCursor` response header to page. */
|
|
6299
|
+
cursor?: string;
|
|
6298
6300
|
/** Comma-separated list of fields to include in the response */
|
|
6299
6301
|
fields?: string;
|
|
6300
6302
|
/**
|
|
@@ -7144,6 +7146,8 @@ export interface GetApiV2ConsumerReturnsIdParams {
|
|
|
7144
7146
|
}
|
|
7145
7147
|
|
|
7146
7148
|
export interface GetApiV2ConsumerReturnsParams {
|
|
7149
|
+
/** Opaque keyset cursor; send empty to start. When present, `page` is ignored and results are ordered by id. Pass the `NextCursor` response header to page. */
|
|
7150
|
+
cursor?: string;
|
|
7147
7151
|
/** Comma-separated list of fields to include in the response */
|
|
7148
7152
|
fields?: string;
|
|
7149
7153
|
/**
|