ultracart_rest_api_v2_typescript 3.10.2 → 3.10.5
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/README.md +5 -2
- package/api.ts +49 -5
- package/dist/api.d.ts +52 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.5
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.5 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,9 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.5 | 05/20/2022 | dependabot on java gson version |
|
|
58
|
+
| 3.10.4 | 05/20/2022 | dependabot on java gson |
|
|
59
|
+
| 3.10.3 | 05/20/2022 | OrderApi.generatePackingSkip calls had wrong return type |
|
|
57
60
|
| 3.10.2 | 05/12/2022 | ChannelPartnerApi renamed one of the delete methods |
|
|
58
61
|
| 3.10.1 | 05/12/2022 | ChannelPartnerApi added orderId to import response obj |
|
|
59
62
|
| 3.10.0 | 05/10/2022 | beta release of ChannelPartnerApi |
|
package/api.ts
CHANGED
|
@@ -23912,7 +23912,7 @@ export interface OrderFormat {
|
|
|
23912
23912
|
* @type {number}
|
|
23913
23913
|
* @memberof OrderFormat
|
|
23914
23914
|
*/
|
|
23915
|
-
|
|
23915
|
+
filter_to_items_in_container_oid?: number;
|
|
23916
23916
|
/**
|
|
23917
23917
|
* The desired format.
|
|
23918
23918
|
* @type {string}
|
|
@@ -24559,6 +24559,12 @@ export interface OrderItem {
|
|
|
24559
24559
|
* @memberof OrderItem
|
|
24560
24560
|
*/
|
|
24561
24561
|
shipped_dts?: string;
|
|
24562
|
+
/**
|
|
24563
|
+
* Shipping status for this item. This is the replacement for the old order level shipping status.
|
|
24564
|
+
* @type {string}
|
|
24565
|
+
* @memberof OrderItem
|
|
24566
|
+
*/
|
|
24567
|
+
shipping_status?: string;
|
|
24562
24568
|
/**
|
|
24563
24569
|
* Special product type (USPS Media Mail)
|
|
24564
24570
|
* @type {string}
|
|
@@ -24948,6 +24954,44 @@ export interface OrderMarketing {
|
|
|
24948
24954
|
referral_code?: string;
|
|
24949
24955
|
}
|
|
24950
24956
|
|
|
24957
|
+
/**
|
|
24958
|
+
*
|
|
24959
|
+
* @export
|
|
24960
|
+
* @interface OrderPackingSlipResponse
|
|
24961
|
+
*/
|
|
24962
|
+
export interface OrderPackingSlipResponse {
|
|
24963
|
+
/**
|
|
24964
|
+
*
|
|
24965
|
+
* @type {ModelError}
|
|
24966
|
+
* @memberof OrderPackingSlipResponse
|
|
24967
|
+
*/
|
|
24968
|
+
error?: ModelError;
|
|
24969
|
+
/**
|
|
24970
|
+
*
|
|
24971
|
+
* @type {ResponseMetadata}
|
|
24972
|
+
* @memberof OrderPackingSlipResponse
|
|
24973
|
+
*/
|
|
24974
|
+
metadata?: ResponseMetadata;
|
|
24975
|
+
/**
|
|
24976
|
+
* pdf_base64
|
|
24977
|
+
* @type {string}
|
|
24978
|
+
* @memberof OrderPackingSlipResponse
|
|
24979
|
+
*/
|
|
24980
|
+
pdfBase64?: string;
|
|
24981
|
+
/**
|
|
24982
|
+
* Indicates if API call was successful
|
|
24983
|
+
* @type {boolean}
|
|
24984
|
+
* @memberof OrderPackingSlipResponse
|
|
24985
|
+
*/
|
|
24986
|
+
success?: boolean;
|
|
24987
|
+
/**
|
|
24988
|
+
*
|
|
24989
|
+
* @type {Warning}
|
|
24990
|
+
* @memberof OrderPackingSlipResponse
|
|
24991
|
+
*/
|
|
24992
|
+
warning?: Warning;
|
|
24993
|
+
}
|
|
24994
|
+
|
|
24951
24995
|
/**
|
|
24952
24996
|
*
|
|
24953
24997
|
* @export
|
|
@@ -51796,7 +51840,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
51796
51840
|
* @param {*} [options] Override http request option.
|
|
51797
51841
|
* @throws {RequiredError}
|
|
51798
51842
|
*/
|
|
51799
|
-
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
51843
|
+
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderPackingSlipResponse> {
|
|
51800
51844
|
const localVarFetchArgs = OrderApiFetchParamCreator(configuration).generatePackingSlipAllDC(order_id, options);
|
|
51801
51845
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
51802
51846
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
@@ -51818,7 +51862,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
51818
51862
|
* @param {*} [options] Override http request option.
|
|
51819
51863
|
* @throws {RequiredError}
|
|
51820
51864
|
*/
|
|
51821
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
51865
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderPackingSlipResponse> {
|
|
51822
51866
|
const localVarFetchArgs = OrderApiFetchParamCreator(configuration).generatePackingSlipSpecificDC(distribution_center_code, order_id, options);
|
|
51823
51867
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
51824
51868
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
@@ -52592,7 +52636,7 @@ export interface OrderApiInterface {
|
|
|
52592
52636
|
* @throws {RequiredError}
|
|
52593
52637
|
* @memberof OrderApiInterface
|
|
52594
52638
|
*/
|
|
52595
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
52639
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
52596
52640
|
|
|
52597
52641
|
/**
|
|
52598
52642
|
* The packing slip PDF that is returned is base 64 encoded
|
|
@@ -52603,7 +52647,7 @@ export interface OrderApiInterface {
|
|
|
52603
52647
|
* @throws {RequiredError}
|
|
52604
52648
|
* @memberof OrderApiInterface
|
|
52605
52649
|
*/
|
|
52606
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
52650
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
52607
52651
|
|
|
52608
52652
|
/**
|
|
52609
52653
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
package/dist/api.d.ts
CHANGED
|
@@ -23403,7 +23403,7 @@ export interface OrderFormat {
|
|
|
23403
23403
|
* @type {number}
|
|
23404
23404
|
* @memberof OrderFormat
|
|
23405
23405
|
*/
|
|
23406
|
-
|
|
23406
|
+
filter_to_items_in_container_oid?: number;
|
|
23407
23407
|
/**
|
|
23408
23408
|
* The desired format.
|
|
23409
23409
|
* @type {string}
|
|
@@ -24042,6 +24042,12 @@ export interface OrderItem {
|
|
|
24042
24042
|
* @memberof OrderItem
|
|
24043
24043
|
*/
|
|
24044
24044
|
shipped_dts?: string;
|
|
24045
|
+
/**
|
|
24046
|
+
* Shipping status for this item. This is the replacement for the old order level shipping status.
|
|
24047
|
+
* @type {string}
|
|
24048
|
+
* @memberof OrderItem
|
|
24049
|
+
*/
|
|
24050
|
+
shipping_status?: string;
|
|
24045
24051
|
/**
|
|
24046
24052
|
* Special product type (USPS Media Mail)
|
|
24047
24053
|
* @type {string}
|
|
@@ -24419,6 +24425,43 @@ export interface OrderMarketing {
|
|
|
24419
24425
|
*/
|
|
24420
24426
|
referral_code?: string;
|
|
24421
24427
|
}
|
|
24428
|
+
/**
|
|
24429
|
+
*
|
|
24430
|
+
* @export
|
|
24431
|
+
* @interface OrderPackingSlipResponse
|
|
24432
|
+
*/
|
|
24433
|
+
export interface OrderPackingSlipResponse {
|
|
24434
|
+
/**
|
|
24435
|
+
*
|
|
24436
|
+
* @type {ModelError}
|
|
24437
|
+
* @memberof OrderPackingSlipResponse
|
|
24438
|
+
*/
|
|
24439
|
+
error?: ModelError;
|
|
24440
|
+
/**
|
|
24441
|
+
*
|
|
24442
|
+
* @type {ResponseMetadata}
|
|
24443
|
+
* @memberof OrderPackingSlipResponse
|
|
24444
|
+
*/
|
|
24445
|
+
metadata?: ResponseMetadata;
|
|
24446
|
+
/**
|
|
24447
|
+
* pdf_base64
|
|
24448
|
+
* @type {string}
|
|
24449
|
+
* @memberof OrderPackingSlipResponse
|
|
24450
|
+
*/
|
|
24451
|
+
pdfBase64?: string;
|
|
24452
|
+
/**
|
|
24453
|
+
* Indicates if API call was successful
|
|
24454
|
+
* @type {boolean}
|
|
24455
|
+
* @memberof OrderPackingSlipResponse
|
|
24456
|
+
*/
|
|
24457
|
+
success?: boolean;
|
|
24458
|
+
/**
|
|
24459
|
+
*
|
|
24460
|
+
* @type {Warning}
|
|
24461
|
+
* @memberof OrderPackingSlipResponse
|
|
24462
|
+
*/
|
|
24463
|
+
warning?: Warning;
|
|
24464
|
+
}
|
|
24422
24465
|
/**
|
|
24423
24466
|
*
|
|
24424
24467
|
* @export
|
|
@@ -41163,7 +41206,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
41163
41206
|
* @param {*} [options] Override http request option.
|
|
41164
41207
|
* @throws {RequiredError}
|
|
41165
41208
|
*/
|
|
41166
|
-
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
41209
|
+
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderPackingSlipResponse>;
|
|
41167
41210
|
/**
|
|
41168
41211
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41169
41212
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41172,7 +41215,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
41172
41215
|
* @param {*} [options] Override http request option.
|
|
41173
41216
|
* @throws {RequiredError}
|
|
41174
41217
|
*/
|
|
41175
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
41218
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderPackingSlipResponse>;
|
|
41176
41219
|
/**
|
|
41177
41220
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41178
41221
|
* @summary Retrieve A/R Retry Configuration
|
|
@@ -41418,7 +41461,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
41418
41461
|
* @param {*} [options] Override http request option.
|
|
41419
41462
|
* @throws {RequiredError}
|
|
41420
41463
|
*/
|
|
41421
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
41464
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41422
41465
|
/**
|
|
41423
41466
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41424
41467
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41427,7 +41470,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
41427
41470
|
* @param {*} [options] Override http request option.
|
|
41428
41471
|
* @throws {RequiredError}
|
|
41429
41472
|
*/
|
|
41430
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
41473
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41431
41474
|
/**
|
|
41432
41475
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41433
41476
|
* @summary Retrieve A/R Retry Configuration
|
|
@@ -41681,7 +41724,7 @@ export interface OrderApiInterface {
|
|
|
41681
41724
|
* @throws {RequiredError}
|
|
41682
41725
|
* @memberof OrderApiInterface
|
|
41683
41726
|
*/
|
|
41684
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
41727
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41685
41728
|
/**
|
|
41686
41729
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41687
41730
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41691,7 +41734,7 @@ export interface OrderApiInterface {
|
|
|
41691
41734
|
* @throws {RequiredError}
|
|
41692
41735
|
* @memberof OrderApiInterface
|
|
41693
41736
|
*/
|
|
41694
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
41737
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41695
41738
|
/**
|
|
41696
41739
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41697
41740
|
* @summary Retrieve A/R Retry Configuration
|
|
@@ -41961,7 +42004,7 @@ export declare class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
41961
42004
|
* @throws {RequiredError}
|
|
41962
42005
|
* @memberof OrderApi
|
|
41963
42006
|
*/
|
|
41964
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
42007
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41965
42008
|
/**
|
|
41966
42009
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41967
42010
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41971,7 +42014,7 @@ export declare class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
41971
42014
|
* @throws {RequiredError}
|
|
41972
42015
|
* @memberof OrderApi
|
|
41973
42016
|
*/
|
|
41974
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
42017
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41975
42018
|
/**
|
|
41976
42019
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41977
42020
|
* @summary Retrieve A/R Retry Configuration
|