ultracart_rest_api_v2_typescript 3.10.1 → 3.10.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/README.md +5 -2
- package/api.ts +58 -14
- package/dist/api.d.ts +57 -14
- package/dist/api.js +8 -8
- 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.4
|
|
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.4 --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.4 | 05/20/2022 | dependabot on java gson |
|
|
58
|
+
| 3.10.3 | 05/20/2022 | OrderApi.generatePackingSkip calls had wrong return type |
|
|
59
|
+
| 3.10.2 | 05/12/2022 | ChannelPartnerApi renamed one of the delete methods |
|
|
57
60
|
| 3.10.1 | 05/12/2022 | ChannelPartnerApi added orderId to import response obj |
|
|
58
61
|
| 3.10.0 | 05/10/2022 | beta release of ChannelPartnerApi |
|
|
59
62
|
| 3.9.8 | 04/26/2022 | OrderApi.duplicateOrder |
|
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
|
|
@@ -36989,10 +37033,10 @@ export const ChannelPartnerApiFetchParamCreator = function (configuration?: Conf
|
|
|
36989
37033
|
* @param {*} [options] Override http request option.
|
|
36990
37034
|
* @throws {RequiredError}
|
|
36991
37035
|
*/
|
|
36992
|
-
|
|
37036
|
+
cancelOrderByUltraCartOrderId(order_id: string, options: any = {}): FetchArgs {
|
|
36993
37037
|
// verify required parameter 'order_id' is not null or undefined
|
|
36994
37038
|
if (order_id === null || order_id === undefined) {
|
|
36995
|
-
throw new RequiredError('order_id','Required parameter order_id was null or undefined when calling
|
|
37039
|
+
throw new RequiredError('order_id','Required parameter order_id was null or undefined when calling cancelOrderByUltraCartOrderId.');
|
|
36996
37040
|
}
|
|
36997
37041
|
const localVarPath = `/channel_partner/cancel/by_ultracart_order_id/{order_id}`
|
|
36998
37042
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
@@ -37181,8 +37225,8 @@ export const ChannelPartnerApiFp = function(configuration?: Configuration) {
|
|
|
37181
37225
|
* @param {*} [options] Override http request option.
|
|
37182
37226
|
* @throws {RequiredError}
|
|
37183
37227
|
*/
|
|
37184
|
-
|
|
37185
|
-
const localVarFetchArgs = ChannelPartnerApiFetchParamCreator(configuration).
|
|
37228
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ChannelPartnerCancelResponse> {
|
|
37229
|
+
const localVarFetchArgs = ChannelPartnerApiFetchParamCreator(configuration).cancelOrderByUltraCartOrderId(order_id, options);
|
|
37186
37230
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
37187
37231
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
37188
37232
|
|
|
@@ -37263,8 +37307,8 @@ export const ChannelPartnerApiFactory = function (configuration?: Configuration,
|
|
|
37263
37307
|
* @param {*} [options] Override http request option.
|
|
37264
37308
|
* @throws {RequiredError}
|
|
37265
37309
|
*/
|
|
37266
|
-
|
|
37267
|
-
return ChannelPartnerApiFp(configuration).
|
|
37310
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any) {
|
|
37311
|
+
return ChannelPartnerApiFp(configuration).cancelOrderByUltraCartOrderId(order_id, options)(fetch, basePath);
|
|
37268
37312
|
},
|
|
37269
37313
|
/**
|
|
37270
37314
|
* Estimate shipping for order from a channel partner.
|
|
@@ -37313,7 +37357,7 @@ export interface ChannelPartnerApiInterface {
|
|
|
37313
37357
|
* @throws {RequiredError}
|
|
37314
37358
|
* @memberof ChannelPartnerApiInterface
|
|
37315
37359
|
*/
|
|
37316
|
-
|
|
37360
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
37317
37361
|
|
|
37318
37362
|
/**
|
|
37319
37363
|
* Estimate shipping for order from a channel partner.
|
|
@@ -37364,8 +37408,8 @@ export class ChannelPartnerApi extends BaseAPI implements ChannelPartnerApiInter
|
|
|
37364
37408
|
* @throws {RequiredError}
|
|
37365
37409
|
* @memberof ChannelPartnerApi
|
|
37366
37410
|
*/
|
|
37367
|
-
public
|
|
37368
|
-
return ChannelPartnerApiFp(this.configuration).
|
|
37411
|
+
public cancelOrderByUltraCartOrderId(order_id: string, options?: any) {
|
|
37412
|
+
return ChannelPartnerApiFp(this.configuration).cancelOrderByUltraCartOrderId(order_id, options)(this.fetch, this.basePath);
|
|
37369
37413
|
}
|
|
37370
37414
|
|
|
37371
37415
|
/**
|
|
@@ -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
|
|
@@ -35375,7 +35418,7 @@ export declare const ChannelPartnerApiFetchParamCreator: (configuration?: Config
|
|
|
35375
35418
|
* @param {*} [options] Override http request option.
|
|
35376
35419
|
* @throws {RequiredError}
|
|
35377
35420
|
*/
|
|
35378
|
-
|
|
35421
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): FetchArgs;
|
|
35379
35422
|
/**
|
|
35380
35423
|
* Estimate shipping for order from a channel partner.
|
|
35381
35424
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35413,7 +35456,7 @@ export declare const ChannelPartnerApiFp: (configuration?: Configuration) => {
|
|
|
35413
35456
|
* @param {*} [options] Override http request option.
|
|
35414
35457
|
* @throws {RequiredError}
|
|
35415
35458
|
*/
|
|
35416
|
-
|
|
35459
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ChannelPartnerCancelResponse>;
|
|
35417
35460
|
/**
|
|
35418
35461
|
* Estimate shipping for order from a channel partner.
|
|
35419
35462
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35451,7 +35494,7 @@ export declare const ChannelPartnerApiFactory: (configuration?: Configuration, f
|
|
|
35451
35494
|
* @param {*} [options] Override http request option.
|
|
35452
35495
|
* @throws {RequiredError}
|
|
35453
35496
|
*/
|
|
35454
|
-
|
|
35497
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
35455
35498
|
/**
|
|
35456
35499
|
* Estimate shipping for order from a channel partner.
|
|
35457
35500
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35492,7 +35535,7 @@ export interface ChannelPartnerApiInterface {
|
|
|
35492
35535
|
* @throws {RequiredError}
|
|
35493
35536
|
* @memberof ChannelPartnerApiInterface
|
|
35494
35537
|
*/
|
|
35495
|
-
|
|
35538
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
35496
35539
|
/**
|
|
35497
35540
|
* Estimate shipping for order from a channel partner.
|
|
35498
35541
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35536,7 +35579,7 @@ export declare class ChannelPartnerApi extends BaseAPI implements ChannelPartner
|
|
|
35536
35579
|
* @throws {RequiredError}
|
|
35537
35580
|
* @memberof ChannelPartnerApi
|
|
35538
35581
|
*/
|
|
35539
|
-
|
|
35582
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
35540
35583
|
/**
|
|
35541
35584
|
* Estimate shipping for order from a channel partner.
|
|
35542
35585
|
* @summary Estimate shipping for channel partner order
|
|
@@ -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
|
package/dist/api.js
CHANGED
|
@@ -2613,11 +2613,11 @@ var ChannelPartnerApiFetchParamCreator = function (configuration) {
|
|
|
2613
2613
|
* @param {*} [options] Override http request option.
|
|
2614
2614
|
* @throws {RequiredError}
|
|
2615
2615
|
*/
|
|
2616
|
-
|
|
2616
|
+
cancelOrderByUltraCartOrderId: function (order_id, options) {
|
|
2617
2617
|
if (options === void 0) { options = {}; }
|
|
2618
2618
|
// verify required parameter 'order_id' is not null or undefined
|
|
2619
2619
|
if (order_id === null || order_id === undefined) {
|
|
2620
|
-
throw new RequiredError('order_id', 'Required parameter order_id was null or undefined when calling
|
|
2620
|
+
throw new RequiredError('order_id', 'Required parameter order_id was null or undefined when calling cancelOrderByUltraCartOrderId.');
|
|
2621
2621
|
}
|
|
2622
2622
|
var localVarPath = "/channel_partner/cancel/by_ultracart_order_id/{order_id}"
|
|
2623
2623
|
.replace("{".concat("order_id", "}"), encodeURIComponent(String(order_id)));
|
|
@@ -2786,8 +2786,8 @@ var ChannelPartnerApiFp = function (configuration) {
|
|
|
2786
2786
|
* @param {*} [options] Override http request option.
|
|
2787
2787
|
* @throws {RequiredError}
|
|
2788
2788
|
*/
|
|
2789
|
-
|
|
2790
|
-
var localVarFetchArgs = (0, exports.ChannelPartnerApiFetchParamCreator)(configuration).
|
|
2789
|
+
cancelOrderByUltraCartOrderId: function (order_id, options) {
|
|
2790
|
+
var localVarFetchArgs = (0, exports.ChannelPartnerApiFetchParamCreator)(configuration).cancelOrderByUltraCartOrderId(order_id, options);
|
|
2791
2791
|
return function (fetch, basePath) {
|
|
2792
2792
|
if (fetch === void 0) { fetch = portableFetch; }
|
|
2793
2793
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
@@ -2871,8 +2871,8 @@ var ChannelPartnerApiFactory = function (configuration, fetch, basePath) {
|
|
|
2871
2871
|
* @param {*} [options] Override http request option.
|
|
2872
2872
|
* @throws {RequiredError}
|
|
2873
2873
|
*/
|
|
2874
|
-
|
|
2875
|
-
return (0, exports.ChannelPartnerApiFp)(configuration).
|
|
2874
|
+
cancelOrderByUltraCartOrderId: function (order_id, options) {
|
|
2875
|
+
return (0, exports.ChannelPartnerApiFp)(configuration).cancelOrderByUltraCartOrderId(order_id, options)(fetch, basePath);
|
|
2876
2876
|
},
|
|
2877
2877
|
/**
|
|
2878
2878
|
* Estimate shipping for order from a channel partner.
|
|
@@ -2927,8 +2927,8 @@ var ChannelPartnerApi = /** @class */ (function (_super) {
|
|
|
2927
2927
|
* @throws {RequiredError}
|
|
2928
2928
|
* @memberof ChannelPartnerApi
|
|
2929
2929
|
*/
|
|
2930
|
-
ChannelPartnerApi.prototype.
|
|
2931
|
-
return (0, exports.ChannelPartnerApiFp)(this.configuration).
|
|
2930
|
+
ChannelPartnerApi.prototype.cancelOrderByUltraCartOrderId = function (order_id, options) {
|
|
2931
|
+
return (0, exports.ChannelPartnerApiFp)(this.configuration).cancelOrderByUltraCartOrderId(order_id, options)(this.fetch, this.basePath);
|
|
2932
2932
|
};
|
|
2933
2933
|
/**
|
|
2934
2934
|
* Estimate shipping for order from a channel partner.
|