@whiplashmerch/whiplash-api-client 3.2.2 → 3.2.4
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/client.esm.js +249 -1
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/PalletLocations.d.ts +128 -0
- package/dist/generated/data-contracts.d.ts +278 -4
- package/dist/generated/index.d.ts +1 -0
- package/dist/mock-data/index.d.ts +1 -0
- package/dist/mock-data/v2_1/pallet-location/created.d.ts +1 -0
- package/generated/data-contracts.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { ApiV21EntitiesCount, ApiV21EntitiesPallet, ApiV21EntitiesPalletLocation, ApiV21EntitiesPostResponse, ApiV2EntitiesCount, ApiV2EntitiesPallet, ApiV2EntitiesPalletLocation, GetApiV21PalletLocationsCountParams, GetApiV21PalletLocationsIdPalletsParams, GetApiV21PalletLocationsParams, GetApiV2PalletLocationsCountParams, GetApiV2PalletLocationsIdPalletsParams, GetApiV2PalletLocationsParams, PostApiV21PalletLocationsRequest, PostApiV2PalletLocationsRequest, PutApiV21PalletLocationsIdRequest, PutApiV2PalletLocationsIdRequest } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Get all pallet locations
|
|
5
|
+
*
|
|
6
|
+
* @tags pallet_locations
|
|
7
|
+
* @name GetApiV2PalletLocations
|
|
8
|
+
* @summary List all pallet locations
|
|
9
|
+
* @request GET:/api/v2/pallet_locations
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2PalletLocations: (client: HttpClient, query: GetApiV2PalletLocationsParams, params?: RequestParams) => Promise<ApiV2EntitiesPalletLocation[]>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Create a pallet location
|
|
14
|
+
*
|
|
15
|
+
* @tags pallet_locations
|
|
16
|
+
* @name PostApiV2PalletLocations
|
|
17
|
+
* @summary Create a pallet location
|
|
18
|
+
* @request POST:/api/v2/pallet_locations
|
|
19
|
+
*/
|
|
20
|
+
export declare const postApiV2PalletLocations: (client: HttpClient, data: PostApiV2PalletLocationsRequest, params?: RequestParams) => Promise<ApiV2EntitiesPalletLocation>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Returns count of pallet locations
|
|
23
|
+
*
|
|
24
|
+
* @tags pallet_locations
|
|
25
|
+
* @name GetApiV2PalletLocationsCount
|
|
26
|
+
* @summary Count pallet locations
|
|
27
|
+
* @request GET:/api/v2/pallet_locations/count
|
|
28
|
+
*/
|
|
29
|
+
export declare const getApiV2PalletLocationsCount: (client: HttpClient, query: GetApiV2PalletLocationsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Get a pallet location
|
|
32
|
+
*
|
|
33
|
+
* @tags pallet_locations
|
|
34
|
+
* @name GetApiV2PalletLocationsId
|
|
35
|
+
* @summary Get a pallet location by ID
|
|
36
|
+
* @request GET:/api/v2/pallet_locations/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const getApiV2PalletLocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesPalletLocation>;
|
|
39
|
+
/**
|
|
40
|
+
* @description Update a pallet location
|
|
41
|
+
*
|
|
42
|
+
* @tags pallet_locations
|
|
43
|
+
* @name PutApiV2PalletLocationsId
|
|
44
|
+
* @summary Update a pallet location
|
|
45
|
+
* @request PUT:/api/v2/pallet_locations/{id}
|
|
46
|
+
*/
|
|
47
|
+
export declare const putApiV2PalletLocationsId: (client: HttpClient, id: number, data: PutApiV2PalletLocationsIdRequest, params?: RequestParams) => Promise<ApiV2EntitiesPalletLocation>;
|
|
48
|
+
/**
|
|
49
|
+
* @description Destroy a pallet location
|
|
50
|
+
*
|
|
51
|
+
* @tags pallet_locations
|
|
52
|
+
* @name DeleteApiV2PalletLocationsId
|
|
53
|
+
* @summary Destroy a pallet location
|
|
54
|
+
* @request DELETE:/api/v2/pallet_locations/{id}
|
|
55
|
+
*/
|
|
56
|
+
export declare const deleteApiV2PalletLocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* @description Get all pallets for a Pallet location
|
|
59
|
+
*
|
|
60
|
+
* @tags pallet_locations
|
|
61
|
+
* @name GetApiV2PalletLocationsIdPallets
|
|
62
|
+
* @summary List all pallets for a pallet location
|
|
63
|
+
* @request GET:/api/v2/pallet_locations/{id}/pallets
|
|
64
|
+
*/
|
|
65
|
+
export declare const getApiV2PalletLocationsIdPallets: (client: HttpClient, { id, ...query }: GetApiV2PalletLocationsIdPalletsParams, params?: RequestParams) => Promise<ApiV2EntitiesPallet[]>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Get all pallet locations
|
|
68
|
+
*
|
|
69
|
+
* @tags pallet_locations
|
|
70
|
+
* @name GetApiV21PalletLocations
|
|
71
|
+
* @summary List all pallet locations
|
|
72
|
+
* @request GET:/api/v2.1/pallet_locations
|
|
73
|
+
*/
|
|
74
|
+
export declare const getApiV21PalletLocations: (client: HttpClient, query: GetApiV21PalletLocationsParams, params?: RequestParams) => Promise<ApiV21EntitiesPalletLocation[]>;
|
|
75
|
+
/**
|
|
76
|
+
* @description Create a pallet location
|
|
77
|
+
*
|
|
78
|
+
* @tags pallet_locations
|
|
79
|
+
* @name PostApiV21PalletLocations
|
|
80
|
+
* @summary Create a pallet location
|
|
81
|
+
* @request POST:/api/v2.1/pallet_locations
|
|
82
|
+
*/
|
|
83
|
+
export declare const postApiV21PalletLocations: (client: HttpClient, data: PostApiV21PalletLocationsRequest, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* @description Returns count of pallet locations
|
|
86
|
+
*
|
|
87
|
+
* @tags pallet_locations
|
|
88
|
+
* @name GetApiV21PalletLocationsCount
|
|
89
|
+
* @summary Count pallet locations
|
|
90
|
+
* @request GET:/api/v2.1/pallet_locations/count
|
|
91
|
+
*/
|
|
92
|
+
export declare const getApiV21PalletLocationsCount: (client: HttpClient, query: GetApiV21PalletLocationsCountParams, params?: RequestParams) => Promise<ApiV21EntitiesCount>;
|
|
93
|
+
/**
|
|
94
|
+
* @description Get a pallet location
|
|
95
|
+
*
|
|
96
|
+
* @tags pallet_locations
|
|
97
|
+
* @name GetApiV21PalletLocationsId
|
|
98
|
+
* @summary Get a pallet location by ID
|
|
99
|
+
* @request GET:/api/v2.1/pallet_locations/{id}
|
|
100
|
+
*/
|
|
101
|
+
export declare const getApiV21PalletLocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesPalletLocation>;
|
|
102
|
+
/**
|
|
103
|
+
* @description Update a pallet location
|
|
104
|
+
*
|
|
105
|
+
* @tags pallet_locations
|
|
106
|
+
* @name PutApiV21PalletLocationsId
|
|
107
|
+
* @summary Update a pallet location
|
|
108
|
+
* @request PUT:/api/v2.1/pallet_locations/{id}
|
|
109
|
+
*/
|
|
110
|
+
export declare const putApiV21PalletLocationsId: (client: HttpClient, id: number, data: PutApiV21PalletLocationsIdRequest, params?: RequestParams) => Promise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* @description Destroy a pallet location
|
|
113
|
+
*
|
|
114
|
+
* @tags pallet_locations
|
|
115
|
+
* @name DeleteApiV21PalletLocationsId
|
|
116
|
+
* @summary Destroy a pallet location
|
|
117
|
+
* @request DELETE:/api/v2.1/pallet_locations/{id}
|
|
118
|
+
*/
|
|
119
|
+
export declare const deleteApiV21PalletLocationsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* @description Get all pallets for a Pallet location
|
|
122
|
+
*
|
|
123
|
+
* @tags pallet_locations
|
|
124
|
+
* @name GetApiV21PalletLocationsIdPallets
|
|
125
|
+
* @summary List all pallets for a pallet location
|
|
126
|
+
* @request GET:/api/v2.1/pallet_locations/{id}/pallets
|
|
127
|
+
*/
|
|
128
|
+
export declare const getApiV21PalletLocationsIdPallets: (client: HttpClient, { id, ...query }: GetApiV21PalletLocationsIdPalletsParams, params?: RequestParams) => Promise<ApiV21EntitiesPallet[]>;
|
|
@@ -3775,10 +3775,10 @@ export interface ApiV2EntitiesPallet {
|
|
|
3775
3775
|
*/
|
|
3776
3776
|
number?: number | null;
|
|
3777
3777
|
/**
|
|
3778
|
-
* the
|
|
3778
|
+
* the pallet location id where the pallet is stored
|
|
3779
3779
|
* @format int32
|
|
3780
3780
|
*/
|
|
3781
|
-
|
|
3781
|
+
pallet_location_id?: number | null;
|
|
3782
3782
|
/** the total dimensional weight of the pallet */
|
|
3783
3783
|
total_dimensional_weight?: string | null;
|
|
3784
3784
|
/**
|
|
@@ -3803,6 +3803,33 @@ export interface ApiV2EntitiesPallet {
|
|
|
3803
3803
|
warehouse_id?: number | null;
|
|
3804
3804
|
}
|
|
3805
3805
|
/** V2 */
|
|
3806
|
+
export interface ApiV2EntitiesPalletLocation {
|
|
3807
|
+
/** the pallet location active status */
|
|
3808
|
+
active?: boolean;
|
|
3809
|
+
/**
|
|
3810
|
+
* the pallet location creation date and time
|
|
3811
|
+
* @format date-time
|
|
3812
|
+
*/
|
|
3813
|
+
created_at?: string;
|
|
3814
|
+
/**
|
|
3815
|
+
* the package id
|
|
3816
|
+
* @format int32
|
|
3817
|
+
*/
|
|
3818
|
+
id?: number;
|
|
3819
|
+
/** the pallet location lane */
|
|
3820
|
+
lane?: string;
|
|
3821
|
+
/**
|
|
3822
|
+
* the pallet location last update date and time
|
|
3823
|
+
* @format date-time
|
|
3824
|
+
*/
|
|
3825
|
+
updated_at?: string;
|
|
3826
|
+
/**
|
|
3827
|
+
* the pallet location warehouse id
|
|
3828
|
+
* @format int32
|
|
3829
|
+
*/
|
|
3830
|
+
warehouse_id?: number;
|
|
3831
|
+
}
|
|
3832
|
+
/** V2 */
|
|
3806
3833
|
export interface ApiV2EntitiesPartner {
|
|
3807
3834
|
/** Partner billing address line 1. */
|
|
3808
3835
|
billing_address1?: string | null;
|
|
@@ -8816,10 +8843,10 @@ export interface ApiV21EntitiesPallet {
|
|
|
8816
8843
|
*/
|
|
8817
8844
|
number?: number | null;
|
|
8818
8845
|
/**
|
|
8819
|
-
* the
|
|
8846
|
+
* the pallet location id where the pallet is stored
|
|
8820
8847
|
* @format int32
|
|
8821
8848
|
*/
|
|
8822
|
-
|
|
8849
|
+
pallet_location_id?: number | null;
|
|
8823
8850
|
/** the total dimensional weight of the pallet */
|
|
8824
8851
|
total_dimensional_weight?: string | null;
|
|
8825
8852
|
/**
|
|
@@ -8844,6 +8871,33 @@ export interface ApiV21EntitiesPallet {
|
|
|
8844
8871
|
warehouse_id?: number | null;
|
|
8845
8872
|
}
|
|
8846
8873
|
/** V3 */
|
|
8874
|
+
export interface ApiV21EntitiesPalletLocation {
|
|
8875
|
+
/** the pallet location active status */
|
|
8876
|
+
active?: boolean;
|
|
8877
|
+
/**
|
|
8878
|
+
* the pallet location creation date and time
|
|
8879
|
+
* @format date-time
|
|
8880
|
+
*/
|
|
8881
|
+
created_at?: string;
|
|
8882
|
+
/**
|
|
8883
|
+
* the package id
|
|
8884
|
+
* @format int32
|
|
8885
|
+
*/
|
|
8886
|
+
id?: number;
|
|
8887
|
+
/** the pallet location lane */
|
|
8888
|
+
lane?: string;
|
|
8889
|
+
/**
|
|
8890
|
+
* the pallet location last update date and time
|
|
8891
|
+
* @format date-time
|
|
8892
|
+
*/
|
|
8893
|
+
updated_at?: string;
|
|
8894
|
+
/**
|
|
8895
|
+
* the pallet location warehouse id
|
|
8896
|
+
* @format int32
|
|
8897
|
+
*/
|
|
8898
|
+
warehouse_id?: number;
|
|
8899
|
+
}
|
|
8900
|
+
/** V3 */
|
|
8847
8901
|
export interface ApiV21EntitiesPartner {
|
|
8848
8902
|
/** Partner billing address line 1. */
|
|
8849
8903
|
billing_address1?: string | null;
|
|
@@ -12505,6 +12559,55 @@ export interface GetApiV21PackagesParams {
|
|
|
12505
12559
|
/** Include prev/next links in response headers */
|
|
12506
12560
|
page_links?: boolean;
|
|
12507
12561
|
}
|
|
12562
|
+
export interface GetApiV21PalletLocationsCountParams {
|
|
12563
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
12564
|
+
search?: string;
|
|
12565
|
+
}
|
|
12566
|
+
export interface GetApiV21PalletLocationsIdPalletsParams {
|
|
12567
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
12568
|
+
search?: string;
|
|
12569
|
+
/** Comma-separated list of fields to include in the response */
|
|
12570
|
+
fields?: string;
|
|
12571
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
12572
|
+
sort?: string;
|
|
12573
|
+
/**
|
|
12574
|
+
* Page of results to fetch
|
|
12575
|
+
* @format int32
|
|
12576
|
+
*/
|
|
12577
|
+
page?: number;
|
|
12578
|
+
/**
|
|
12579
|
+
* Number of results to return per page
|
|
12580
|
+
* @format int32
|
|
12581
|
+
*/
|
|
12582
|
+
per_page?: number;
|
|
12583
|
+
/** Include total count of results */
|
|
12584
|
+
page_total?: boolean;
|
|
12585
|
+
/** Include prev/next links in response headers */
|
|
12586
|
+
page_links?: boolean;
|
|
12587
|
+
id: number;
|
|
12588
|
+
}
|
|
12589
|
+
export interface GetApiV21PalletLocationsParams {
|
|
12590
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
12591
|
+
search?: string;
|
|
12592
|
+
/** Comma-separated list of fields to include in the response */
|
|
12593
|
+
fields?: string;
|
|
12594
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
12595
|
+
sort?: string;
|
|
12596
|
+
/**
|
|
12597
|
+
* Page of results to fetch
|
|
12598
|
+
* @format int32
|
|
12599
|
+
*/
|
|
12600
|
+
page?: number;
|
|
12601
|
+
/**
|
|
12602
|
+
* Number of results to return per page
|
|
12603
|
+
* @format int32
|
|
12604
|
+
*/
|
|
12605
|
+
per_page?: number;
|
|
12606
|
+
/** Include total count of results */
|
|
12607
|
+
page_total?: boolean;
|
|
12608
|
+
/** Include prev/next links in response headers */
|
|
12609
|
+
page_links?: boolean;
|
|
12610
|
+
}
|
|
12508
12611
|
export interface GetApiV21PalletsCountParams {
|
|
12509
12612
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
12510
12613
|
search?: string;
|
|
@@ -15305,6 +15408,55 @@ export interface GetApiV2PackagesParams {
|
|
|
15305
15408
|
/** Include prev/next links in response headers */
|
|
15306
15409
|
page_links?: boolean;
|
|
15307
15410
|
}
|
|
15411
|
+
export interface GetApiV2PalletLocationsCountParams {
|
|
15412
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
15413
|
+
search?: string;
|
|
15414
|
+
}
|
|
15415
|
+
export interface GetApiV2PalletLocationsIdPalletsParams {
|
|
15416
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
15417
|
+
search?: string;
|
|
15418
|
+
/** Comma-separated list of fields to include in the response */
|
|
15419
|
+
fields?: string;
|
|
15420
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
15421
|
+
sort?: string;
|
|
15422
|
+
/**
|
|
15423
|
+
* Page of results to fetch
|
|
15424
|
+
* @format int32
|
|
15425
|
+
*/
|
|
15426
|
+
page?: number;
|
|
15427
|
+
/**
|
|
15428
|
+
* Number of results to return per page
|
|
15429
|
+
* @format int32
|
|
15430
|
+
*/
|
|
15431
|
+
per_page?: number;
|
|
15432
|
+
/** Include total count of results */
|
|
15433
|
+
page_total?: boolean;
|
|
15434
|
+
/** Include prev/next links in response headers */
|
|
15435
|
+
page_links?: boolean;
|
|
15436
|
+
id: number;
|
|
15437
|
+
}
|
|
15438
|
+
export interface GetApiV2PalletLocationsParams {
|
|
15439
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
15440
|
+
search?: string;
|
|
15441
|
+
/** Comma-separated list of fields to include in the response */
|
|
15442
|
+
fields?: string;
|
|
15443
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
15444
|
+
sort?: string;
|
|
15445
|
+
/**
|
|
15446
|
+
* Page of results to fetch
|
|
15447
|
+
* @format int32
|
|
15448
|
+
*/
|
|
15449
|
+
page?: number;
|
|
15450
|
+
/**
|
|
15451
|
+
* Number of results to return per page
|
|
15452
|
+
* @format int32
|
|
15453
|
+
*/
|
|
15454
|
+
per_page?: number;
|
|
15455
|
+
/** Include total count of results */
|
|
15456
|
+
page_total?: boolean;
|
|
15457
|
+
/** Include prev/next links in response headers */
|
|
15458
|
+
page_links?: boolean;
|
|
15459
|
+
}
|
|
15308
15460
|
export interface GetApiV2PalletsCountParams {
|
|
15309
15461
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
15310
15462
|
search?: string;
|
|
@@ -18685,6 +18837,32 @@ export interface PostApiV21OrdersRequest {
|
|
|
18685
18837
|
};
|
|
18686
18838
|
};
|
|
18687
18839
|
}
|
|
18840
|
+
export interface PostApiV21PalletLocationsRequest {
|
|
18841
|
+
/** the pallet location active status */
|
|
18842
|
+
active?: boolean;
|
|
18843
|
+
/**
|
|
18844
|
+
* the pallet location creation date and time
|
|
18845
|
+
* @format date-time
|
|
18846
|
+
*/
|
|
18847
|
+
created_at?: string;
|
|
18848
|
+
/**
|
|
18849
|
+
* the package id
|
|
18850
|
+
* @format int32
|
|
18851
|
+
*/
|
|
18852
|
+
id?: number;
|
|
18853
|
+
/** the pallet location lane */
|
|
18854
|
+
lane?: string;
|
|
18855
|
+
/**
|
|
18856
|
+
* the pallet location last update date and time
|
|
18857
|
+
* @format date-time
|
|
18858
|
+
*/
|
|
18859
|
+
updated_at?: string;
|
|
18860
|
+
/**
|
|
18861
|
+
* the pallet location warehouse id
|
|
18862
|
+
* @format int32
|
|
18863
|
+
*/
|
|
18864
|
+
warehouse_id?: number;
|
|
18865
|
+
}
|
|
18688
18866
|
export interface PostApiV21PartnersRequest {
|
|
18689
18867
|
/** Partner billing address line 1. */
|
|
18690
18868
|
billing_address1?: string;
|
|
@@ -19463,6 +19641,8 @@ export interface PostApiV21TemplatesRequest {
|
|
|
19463
19641
|
default?: boolean;
|
|
19464
19642
|
/** Name of the template */
|
|
19465
19643
|
name: string;
|
|
19644
|
+
/** the template size */
|
|
19645
|
+
size?: string;
|
|
19466
19646
|
/**
|
|
19467
19647
|
* ID of the template type
|
|
19468
19648
|
* @format int32
|
|
@@ -22129,6 +22309,32 @@ export interface PostApiV2OrdersRequest {
|
|
|
22129
22309
|
};
|
|
22130
22310
|
};
|
|
22131
22311
|
}
|
|
22312
|
+
export interface PostApiV2PalletLocationsRequest {
|
|
22313
|
+
/** the pallet location active status */
|
|
22314
|
+
active?: boolean;
|
|
22315
|
+
/**
|
|
22316
|
+
* the pallet location creation date and time
|
|
22317
|
+
* @format date-time
|
|
22318
|
+
*/
|
|
22319
|
+
created_at?: string;
|
|
22320
|
+
/**
|
|
22321
|
+
* the package id
|
|
22322
|
+
* @format int32
|
|
22323
|
+
*/
|
|
22324
|
+
id?: number;
|
|
22325
|
+
/** the pallet location lane */
|
|
22326
|
+
lane?: string;
|
|
22327
|
+
/**
|
|
22328
|
+
* the pallet location last update date and time
|
|
22329
|
+
* @format date-time
|
|
22330
|
+
*/
|
|
22331
|
+
updated_at?: string;
|
|
22332
|
+
/**
|
|
22333
|
+
* the pallet location warehouse id
|
|
22334
|
+
* @format int32
|
|
22335
|
+
*/
|
|
22336
|
+
warehouse_id?: number;
|
|
22337
|
+
}
|
|
22132
22338
|
export interface PostApiV2PartnersRequest {
|
|
22133
22339
|
/** Partner billing address line 1. */
|
|
22134
22340
|
billing_address1?: string;
|
|
@@ -22907,6 +23113,8 @@ export interface PostApiV2TemplatesRequest {
|
|
|
22907
23113
|
default?: boolean;
|
|
22908
23114
|
/** Name of the template */
|
|
22909
23115
|
name: string;
|
|
23116
|
+
/** the template size */
|
|
23117
|
+
size?: string;
|
|
22910
23118
|
/**
|
|
22911
23119
|
* ID of the template type
|
|
22912
23120
|
* @format int32
|
|
@@ -25045,6 +25253,32 @@ export interface PutApiV21PackagesIdRequest {
|
|
|
25045
25253
|
/** the package tracking number */
|
|
25046
25254
|
tracking?: string;
|
|
25047
25255
|
}
|
|
25256
|
+
export interface PutApiV21PalletLocationsIdRequest {
|
|
25257
|
+
/** the pallet location active status */
|
|
25258
|
+
active?: boolean;
|
|
25259
|
+
/**
|
|
25260
|
+
* the pallet location creation date and time
|
|
25261
|
+
* @format date-time
|
|
25262
|
+
*/
|
|
25263
|
+
created_at?: string;
|
|
25264
|
+
/**
|
|
25265
|
+
* the package id
|
|
25266
|
+
* @format int32
|
|
25267
|
+
*/
|
|
25268
|
+
id?: number;
|
|
25269
|
+
/** the pallet location lane */
|
|
25270
|
+
lane?: string;
|
|
25271
|
+
/**
|
|
25272
|
+
* the pallet location last update date and time
|
|
25273
|
+
* @format date-time
|
|
25274
|
+
*/
|
|
25275
|
+
updated_at?: string;
|
|
25276
|
+
/**
|
|
25277
|
+
* the pallet location warehouse id
|
|
25278
|
+
* @format int32
|
|
25279
|
+
*/
|
|
25280
|
+
warehouse_id?: number;
|
|
25281
|
+
}
|
|
25048
25282
|
export interface PutApiV21PalletsIdCallActionRequest {
|
|
25049
25283
|
action?: string;
|
|
25050
25284
|
/** Method params */
|
|
@@ -25056,6 +25290,11 @@ export interface PutApiV21PalletsIdRequest {
|
|
|
25056
25290
|
* @format date-time
|
|
25057
25291
|
*/
|
|
25058
25292
|
lpn_label_printed_at?: string;
|
|
25293
|
+
/**
|
|
25294
|
+
* the pallet location id where the pallet is stored
|
|
25295
|
+
* @format int32
|
|
25296
|
+
*/
|
|
25297
|
+
pallet_location_id?: number;
|
|
25059
25298
|
}
|
|
25060
25299
|
export interface PutApiV21PartnersIdRequest {
|
|
25061
25300
|
/** Partner billing address line 1. */
|
|
@@ -25616,6 +25855,8 @@ export interface PutApiV21TemplatesIdRequest {
|
|
|
25616
25855
|
content?: string;
|
|
25617
25856
|
/** Name of the template */
|
|
25618
25857
|
name?: string;
|
|
25858
|
+
/** the template size */
|
|
25859
|
+
size?: string;
|
|
25619
25860
|
}
|
|
25620
25861
|
export interface PutApiV21TransportationMarkupsIdRequest {
|
|
25621
25862
|
/** A percentage added to the postage cost */
|
|
@@ -27870,6 +28111,32 @@ export interface PutApiV2PackagesIdRequest {
|
|
|
27870
28111
|
/** the package tracking number */
|
|
27871
28112
|
tracking?: string;
|
|
27872
28113
|
}
|
|
28114
|
+
export interface PutApiV2PalletLocationsIdRequest {
|
|
28115
|
+
/** the pallet location active status */
|
|
28116
|
+
active?: boolean;
|
|
28117
|
+
/**
|
|
28118
|
+
* the pallet location creation date and time
|
|
28119
|
+
* @format date-time
|
|
28120
|
+
*/
|
|
28121
|
+
created_at?: string;
|
|
28122
|
+
/**
|
|
28123
|
+
* the package id
|
|
28124
|
+
* @format int32
|
|
28125
|
+
*/
|
|
28126
|
+
id?: number;
|
|
28127
|
+
/** the pallet location lane */
|
|
28128
|
+
lane?: string;
|
|
28129
|
+
/**
|
|
28130
|
+
* the pallet location last update date and time
|
|
28131
|
+
* @format date-time
|
|
28132
|
+
*/
|
|
28133
|
+
updated_at?: string;
|
|
28134
|
+
/**
|
|
28135
|
+
* the pallet location warehouse id
|
|
28136
|
+
* @format int32
|
|
28137
|
+
*/
|
|
28138
|
+
warehouse_id?: number;
|
|
28139
|
+
}
|
|
27873
28140
|
export interface PutApiV2PalletsIdCallActionRequest {
|
|
27874
28141
|
action?: string;
|
|
27875
28142
|
/** Method params */
|
|
@@ -27881,6 +28148,11 @@ export interface PutApiV2PalletsIdRequest {
|
|
|
27881
28148
|
* @format date-time
|
|
27882
28149
|
*/
|
|
27883
28150
|
lpn_label_printed_at?: string;
|
|
28151
|
+
/**
|
|
28152
|
+
* the pallet location id where the pallet is stored
|
|
28153
|
+
* @format int32
|
|
28154
|
+
*/
|
|
28155
|
+
pallet_location_id?: number;
|
|
27884
28156
|
}
|
|
27885
28157
|
export interface PutApiV2PartnersIdRequest {
|
|
27886
28158
|
/** Partner billing address line 1. */
|
|
@@ -28441,6 +28713,8 @@ export interface PutApiV2TemplatesIdRequest {
|
|
|
28441
28713
|
content?: string;
|
|
28442
28714
|
/** Name of the template */
|
|
28443
28715
|
name?: string;
|
|
28716
|
+
/** the template size */
|
|
28717
|
+
size?: string;
|
|
28444
28718
|
}
|
|
28445
28719
|
export interface PutApiV2TransportationMarkupsIdRequest {
|
|
28446
28720
|
/** A percentage added to the postage cost */
|
|
@@ -86,6 +86,7 @@ export * from './v2_1/order/processing';
|
|
|
86
86
|
export * from './v2_1/shipnotice/processing';
|
|
87
87
|
export * from './v2_1/originator/created';
|
|
88
88
|
export * from './v2_1/package/created';
|
|
89
|
+
export * from './v2_1/pallet-location/created';
|
|
89
90
|
export * from './v2_1/pallet/created';
|
|
90
91
|
export * from './v2_1/partner/created';
|
|
91
92
|
export * from './v2_1/prepack/created';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ApiV21PalletLocationCreatedExample = "{\"id\":123}";
|
|
@@ -8278,6 +8278,8 @@ export interface PostApiV21TemplatesRequest {
|
|
|
8278
8278
|
default?: boolean;
|
|
8279
8279
|
/** Name of the template */
|
|
8280
8280
|
name: string;
|
|
8281
|
+
/** the template size */
|
|
8282
|
+
size?: string;
|
|
8281
8283
|
/**
|
|
8282
8284
|
* ID of the template type
|
|
8283
8285
|
* @format int32
|
|
@@ -10165,6 +10167,8 @@ export interface PostApiV2TemplatesRequest {
|
|
|
10165
10167
|
default?: boolean;
|
|
10166
10168
|
/** Name of the template */
|
|
10167
10169
|
name: string;
|
|
10170
|
+
/** the template size */
|
|
10171
|
+
size?: string;
|
|
10168
10172
|
/**
|
|
10169
10173
|
* ID of the template type
|
|
10170
10174
|
* @format int32
|
|
@@ -11305,6 +11309,8 @@ export interface PutApiV21TemplatesIdRequest {
|
|
|
11305
11309
|
content?: string;
|
|
11306
11310
|
/** Name of the template */
|
|
11307
11311
|
name?: string;
|
|
11312
|
+
/** the template size */
|
|
11313
|
+
size?: string;
|
|
11308
11314
|
}
|
|
11309
11315
|
|
|
11310
11316
|
export interface PutApiV21WholesaleItemsIdRequest {
|
|
@@ -12488,6 +12494,8 @@ export interface PutApiV2TemplatesIdRequest {
|
|
|
12488
12494
|
content?: string;
|
|
12489
12495
|
/** Name of the template */
|
|
12490
12496
|
name?: string;
|
|
12497
|
+
/** the template size */
|
|
12498
|
+
size?: string;
|
|
12491
12499
|
}
|
|
12492
12500
|
|
|
12493
12501
|
export interface PutApiV2WholesaleItemsIdRequest {
|