ultracart_rest_api_v2_typescript 3.10.0 → 3.10.3
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 +64 -14
- package/dist/api.d.ts +63 -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.3
|
|
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.3 --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.3 | 05/20/2022 | OrderApi.generatePackingSkip calls had wrong return type |
|
|
58
|
+
| 3.10.2 | 05/12/2022 | ChannelPartnerApi renamed one of the delete methods |
|
|
59
|
+
| 3.10.1 | 05/12/2022 | ChannelPartnerApi added orderId to import response obj |
|
|
57
60
|
| 3.10.0 | 05/10/2022 | beta release of ChannelPartnerApi |
|
|
58
61
|
| 3.9.8 | 04/26/2022 | OrderApi.duplicateOrder |
|
|
59
62
|
| 3.9.7 | 04/25/2022 | integration logs method for zpl to pdf conversion |
|
package/api.ts
CHANGED
|
@@ -5079,6 +5079,12 @@ export interface ChannelPartnerImportResponse {
|
|
|
5079
5079
|
* @memberof ChannelPartnerImportResponse
|
|
5080
5080
|
*/
|
|
5081
5081
|
metadata?: ResponseMetadata;
|
|
5082
|
+
/**
|
|
5083
|
+
* The order id of the newly imported order if successful
|
|
5084
|
+
* @type {string}
|
|
5085
|
+
* @memberof ChannelPartnerImportResponse
|
|
5086
|
+
*/
|
|
5087
|
+
order_id?: string;
|
|
5082
5088
|
/**
|
|
5083
5089
|
* Indicates if API call was successful
|
|
5084
5090
|
* @type {boolean}
|
|
@@ -23906,7 +23912,7 @@ export interface OrderFormat {
|
|
|
23906
23912
|
* @type {number}
|
|
23907
23913
|
* @memberof OrderFormat
|
|
23908
23914
|
*/
|
|
23909
|
-
|
|
23915
|
+
filter_to_items_in_container_oid?: number;
|
|
23910
23916
|
/**
|
|
23911
23917
|
* The desired format.
|
|
23912
23918
|
* @type {string}
|
|
@@ -24553,6 +24559,12 @@ export interface OrderItem {
|
|
|
24553
24559
|
* @memberof OrderItem
|
|
24554
24560
|
*/
|
|
24555
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;
|
|
24556
24568
|
/**
|
|
24557
24569
|
* Special product type (USPS Media Mail)
|
|
24558
24570
|
* @type {string}
|
|
@@ -24942,6 +24954,44 @@ export interface OrderMarketing {
|
|
|
24942
24954
|
referral_code?: string;
|
|
24943
24955
|
}
|
|
24944
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
|
+
|
|
24945
24995
|
/**
|
|
24946
24996
|
*
|
|
24947
24997
|
* @export
|
|
@@ -36983,10 +37033,10 @@ export const ChannelPartnerApiFetchParamCreator = function (configuration?: Conf
|
|
|
36983
37033
|
* @param {*} [options] Override http request option.
|
|
36984
37034
|
* @throws {RequiredError}
|
|
36985
37035
|
*/
|
|
36986
|
-
|
|
37036
|
+
cancelOrderByUltraCartOrderId(order_id: string, options: any = {}): FetchArgs {
|
|
36987
37037
|
// verify required parameter 'order_id' is not null or undefined
|
|
36988
37038
|
if (order_id === null || order_id === undefined) {
|
|
36989
|
-
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.');
|
|
36990
37040
|
}
|
|
36991
37041
|
const localVarPath = `/channel_partner/cancel/by_ultracart_order_id/{order_id}`
|
|
36992
37042
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
@@ -37175,8 +37225,8 @@ export const ChannelPartnerApiFp = function(configuration?: Configuration) {
|
|
|
37175
37225
|
* @param {*} [options] Override http request option.
|
|
37176
37226
|
* @throws {RequiredError}
|
|
37177
37227
|
*/
|
|
37178
|
-
|
|
37179
|
-
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);
|
|
37180
37230
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
37181
37231
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
37182
37232
|
|
|
@@ -37257,8 +37307,8 @@ export const ChannelPartnerApiFactory = function (configuration?: Configuration,
|
|
|
37257
37307
|
* @param {*} [options] Override http request option.
|
|
37258
37308
|
* @throws {RequiredError}
|
|
37259
37309
|
*/
|
|
37260
|
-
|
|
37261
|
-
return ChannelPartnerApiFp(configuration).
|
|
37310
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any) {
|
|
37311
|
+
return ChannelPartnerApiFp(configuration).cancelOrderByUltraCartOrderId(order_id, options)(fetch, basePath);
|
|
37262
37312
|
},
|
|
37263
37313
|
/**
|
|
37264
37314
|
* Estimate shipping for order from a channel partner.
|
|
@@ -37307,7 +37357,7 @@ export interface ChannelPartnerApiInterface {
|
|
|
37307
37357
|
* @throws {RequiredError}
|
|
37308
37358
|
* @memberof ChannelPartnerApiInterface
|
|
37309
37359
|
*/
|
|
37310
|
-
|
|
37360
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
37311
37361
|
|
|
37312
37362
|
/**
|
|
37313
37363
|
* Estimate shipping for order from a channel partner.
|
|
@@ -37358,8 +37408,8 @@ export class ChannelPartnerApi extends BaseAPI implements ChannelPartnerApiInter
|
|
|
37358
37408
|
* @throws {RequiredError}
|
|
37359
37409
|
* @memberof ChannelPartnerApi
|
|
37360
37410
|
*/
|
|
37361
|
-
public
|
|
37362
|
-
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);
|
|
37363
37413
|
}
|
|
37364
37414
|
|
|
37365
37415
|
/**
|
|
@@ -51790,7 +51840,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
51790
51840
|
* @param {*} [options] Override http request option.
|
|
51791
51841
|
* @throws {RequiredError}
|
|
51792
51842
|
*/
|
|
51793
|
-
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
51843
|
+
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderPackingSlipResponse> {
|
|
51794
51844
|
const localVarFetchArgs = OrderApiFetchParamCreator(configuration).generatePackingSlipAllDC(order_id, options);
|
|
51795
51845
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
51796
51846
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
@@ -51812,7 +51862,7 @@ export const OrderApiFp = function(configuration?: Configuration) {
|
|
|
51812
51862
|
* @param {*} [options] Override http request option.
|
|
51813
51863
|
* @throws {RequiredError}
|
|
51814
51864
|
*/
|
|
51815
|
-
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> {
|
|
51816
51866
|
const localVarFetchArgs = OrderApiFetchParamCreator(configuration).generatePackingSlipSpecificDC(distribution_center_code, order_id, options);
|
|
51817
51867
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
51818
51868
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
@@ -52586,7 +52636,7 @@ export interface OrderApiInterface {
|
|
|
52586
52636
|
* @throws {RequiredError}
|
|
52587
52637
|
* @memberof OrderApiInterface
|
|
52588
52638
|
*/
|
|
52589
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
52639
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
52590
52640
|
|
|
52591
52641
|
/**
|
|
52592
52642
|
* The packing slip PDF that is returned is base 64 encoded
|
|
@@ -52597,7 +52647,7 @@ export interface OrderApiInterface {
|
|
|
52597
52647
|
* @throws {RequiredError}
|
|
52598
52648
|
* @memberof OrderApiInterface
|
|
52599
52649
|
*/
|
|
52600
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
52650
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
52601
52651
|
|
|
52602
52652
|
/**
|
|
52603
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
|
@@ -4954,6 +4954,12 @@ export interface ChannelPartnerImportResponse {
|
|
|
4954
4954
|
* @memberof ChannelPartnerImportResponse
|
|
4955
4955
|
*/
|
|
4956
4956
|
metadata?: ResponseMetadata;
|
|
4957
|
+
/**
|
|
4958
|
+
* The order id of the newly imported order if successful
|
|
4959
|
+
* @type {string}
|
|
4960
|
+
* @memberof ChannelPartnerImportResponse
|
|
4961
|
+
*/
|
|
4962
|
+
order_id?: string;
|
|
4957
4963
|
/**
|
|
4958
4964
|
* Indicates if API call was successful
|
|
4959
4965
|
* @type {boolean}
|
|
@@ -23397,7 +23403,7 @@ export interface OrderFormat {
|
|
|
23397
23403
|
* @type {number}
|
|
23398
23404
|
* @memberof OrderFormat
|
|
23399
23405
|
*/
|
|
23400
|
-
|
|
23406
|
+
filter_to_items_in_container_oid?: number;
|
|
23401
23407
|
/**
|
|
23402
23408
|
* The desired format.
|
|
23403
23409
|
* @type {string}
|
|
@@ -24036,6 +24042,12 @@ export interface OrderItem {
|
|
|
24036
24042
|
* @memberof OrderItem
|
|
24037
24043
|
*/
|
|
24038
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;
|
|
24039
24051
|
/**
|
|
24040
24052
|
* Special product type (USPS Media Mail)
|
|
24041
24053
|
* @type {string}
|
|
@@ -24413,6 +24425,43 @@ export interface OrderMarketing {
|
|
|
24413
24425
|
*/
|
|
24414
24426
|
referral_code?: string;
|
|
24415
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
|
+
}
|
|
24416
24465
|
/**
|
|
24417
24466
|
*
|
|
24418
24467
|
* @export
|
|
@@ -35369,7 +35418,7 @@ export declare const ChannelPartnerApiFetchParamCreator: (configuration?: Config
|
|
|
35369
35418
|
* @param {*} [options] Override http request option.
|
|
35370
35419
|
* @throws {RequiredError}
|
|
35371
35420
|
*/
|
|
35372
|
-
|
|
35421
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): FetchArgs;
|
|
35373
35422
|
/**
|
|
35374
35423
|
* Estimate shipping for order from a channel partner.
|
|
35375
35424
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35407,7 +35456,7 @@ export declare const ChannelPartnerApiFp: (configuration?: Configuration) => {
|
|
|
35407
35456
|
* @param {*} [options] Override http request option.
|
|
35408
35457
|
* @throws {RequiredError}
|
|
35409
35458
|
*/
|
|
35410
|
-
|
|
35459
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ChannelPartnerCancelResponse>;
|
|
35411
35460
|
/**
|
|
35412
35461
|
* Estimate shipping for order from a channel partner.
|
|
35413
35462
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35445,7 +35494,7 @@ export declare const ChannelPartnerApiFactory: (configuration?: Configuration, f
|
|
|
35445
35494
|
* @param {*} [options] Override http request option.
|
|
35446
35495
|
* @throws {RequiredError}
|
|
35447
35496
|
*/
|
|
35448
|
-
|
|
35497
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
35449
35498
|
/**
|
|
35450
35499
|
* Estimate shipping for order from a channel partner.
|
|
35451
35500
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35486,7 +35535,7 @@ export interface ChannelPartnerApiInterface {
|
|
|
35486
35535
|
* @throws {RequiredError}
|
|
35487
35536
|
* @memberof ChannelPartnerApiInterface
|
|
35488
35537
|
*/
|
|
35489
|
-
|
|
35538
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
35490
35539
|
/**
|
|
35491
35540
|
* Estimate shipping for order from a channel partner.
|
|
35492
35541
|
* @summary Estimate shipping for channel partner order
|
|
@@ -35530,7 +35579,7 @@ export declare class ChannelPartnerApi extends BaseAPI implements ChannelPartner
|
|
|
35530
35579
|
* @throws {RequiredError}
|
|
35531
35580
|
* @memberof ChannelPartnerApi
|
|
35532
35581
|
*/
|
|
35533
|
-
|
|
35582
|
+
cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
|
|
35534
35583
|
/**
|
|
35535
35584
|
* Estimate shipping for order from a channel partner.
|
|
35536
35585
|
* @summary Estimate shipping for channel partner order
|
|
@@ -41157,7 +41206,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
41157
41206
|
* @param {*} [options] Override http request option.
|
|
41158
41207
|
* @throws {RequiredError}
|
|
41159
41208
|
*/
|
|
41160
|
-
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
41209
|
+
generatePackingSlipAllDC(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderPackingSlipResponse>;
|
|
41161
41210
|
/**
|
|
41162
41211
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41163
41212
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41166,7 +41215,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
41166
41215
|
* @param {*} [options] Override http request option.
|
|
41167
41216
|
* @throws {RequiredError}
|
|
41168
41217
|
*/
|
|
41169
|
-
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>;
|
|
41170
41219
|
/**
|
|
41171
41220
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41172
41221
|
* @summary Retrieve A/R Retry Configuration
|
|
@@ -41412,7 +41461,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
41412
41461
|
* @param {*} [options] Override http request option.
|
|
41413
41462
|
* @throws {RequiredError}
|
|
41414
41463
|
*/
|
|
41415
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
41464
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41416
41465
|
/**
|
|
41417
41466
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41418
41467
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41421,7 +41470,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
41421
41470
|
* @param {*} [options] Override http request option.
|
|
41422
41471
|
* @throws {RequiredError}
|
|
41423
41472
|
*/
|
|
41424
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
41473
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41425
41474
|
/**
|
|
41426
41475
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41427
41476
|
* @summary Retrieve A/R Retry Configuration
|
|
@@ -41675,7 +41724,7 @@ export interface OrderApiInterface {
|
|
|
41675
41724
|
* @throws {RequiredError}
|
|
41676
41725
|
* @memberof OrderApiInterface
|
|
41677
41726
|
*/
|
|
41678
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
41727
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41679
41728
|
/**
|
|
41680
41729
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41681
41730
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41685,7 +41734,7 @@ export interface OrderApiInterface {
|
|
|
41685
41734
|
* @throws {RequiredError}
|
|
41686
41735
|
* @memberof OrderApiInterface
|
|
41687
41736
|
*/
|
|
41688
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
41737
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41689
41738
|
/**
|
|
41690
41739
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41691
41740
|
* @summary Retrieve A/R Retry Configuration
|
|
@@ -41955,7 +42004,7 @@ export declare class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
41955
42004
|
* @throws {RequiredError}
|
|
41956
42005
|
* @memberof OrderApi
|
|
41957
42006
|
*/
|
|
41958
|
-
generatePackingSlipAllDC(order_id: string, options?: any): Promise<
|
|
42007
|
+
generatePackingSlipAllDC(order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41959
42008
|
/**
|
|
41960
42009
|
* The packing slip PDF that is returned is base 64 encoded
|
|
41961
42010
|
* @summary Generate a packing slip for this order for the given distribution center.
|
|
@@ -41965,7 +42014,7 @@ export declare class OrderApi extends BaseAPI implements OrderApiInterface {
|
|
|
41965
42014
|
* @throws {RequiredError}
|
|
41966
42015
|
* @memberof OrderApi
|
|
41967
42016
|
*/
|
|
41968
|
-
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<
|
|
42017
|
+
generatePackingSlipSpecificDC(distribution_center_code: string, order_id: string, options?: any): Promise<OrderPackingSlipResponse>;
|
|
41969
42018
|
/**
|
|
41970
42019
|
* Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
|
41971
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.
|