ultracart_rest_api_v2_typescript 3.10.1 → 3.10.2

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@3.10.1
1
+ ## ultracart_rest_api_v2_typescript@3.10.2
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.1 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 3.10.2 | 05/12/2022 | ChannelPartnerApi renamed one of the delete methods |
57
58
  | 3.10.1 | 05/12/2022 | ChannelPartnerApi added orderId to import response obj |
58
59
  | 3.10.0 | 05/10/2022 | beta release of ChannelPartnerApi |
59
60
  | 3.9.8 | 04/26/2022 | OrderApi.duplicateOrder |
package/api.ts CHANGED
@@ -36989,10 +36989,10 @@ export const ChannelPartnerApiFetchParamCreator = function (configuration?: Conf
36989
36989
  * @param {*} [options] Override http request option.
36990
36990
  * @throws {RequiredError}
36991
36991
  */
36992
- cancelOrderByChannelUltraCartOrderId(order_id: string, options: any = {}): FetchArgs {
36992
+ cancelOrderByUltraCartOrderId(order_id: string, options: any = {}): FetchArgs {
36993
36993
  // verify required parameter 'order_id' is not null or undefined
36994
36994
  if (order_id === null || order_id === undefined) {
36995
- throw new RequiredError('order_id','Required parameter order_id was null or undefined when calling cancelOrderByChannelUltraCartOrderId.');
36995
+ throw new RequiredError('order_id','Required parameter order_id was null or undefined when calling cancelOrderByUltraCartOrderId.');
36996
36996
  }
36997
36997
  const localVarPath = `/channel_partner/cancel/by_ultracart_order_id/{order_id}`
36998
36998
  .replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
@@ -37181,8 +37181,8 @@ export const ChannelPartnerApiFp = function(configuration?: Configuration) {
37181
37181
  * @param {*} [options] Override http request option.
37182
37182
  * @throws {RequiredError}
37183
37183
  */
37184
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ChannelPartnerCancelResponse> {
37185
- const localVarFetchArgs = ChannelPartnerApiFetchParamCreator(configuration).cancelOrderByChannelUltraCartOrderId(order_id, options);
37184
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ChannelPartnerCancelResponse> {
37185
+ const localVarFetchArgs = ChannelPartnerApiFetchParamCreator(configuration).cancelOrderByUltraCartOrderId(order_id, options);
37186
37186
  return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
37187
37187
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
37188
37188
 
@@ -37263,8 +37263,8 @@ export const ChannelPartnerApiFactory = function (configuration?: Configuration,
37263
37263
  * @param {*} [options] Override http request option.
37264
37264
  * @throws {RequiredError}
37265
37265
  */
37266
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any) {
37267
- return ChannelPartnerApiFp(configuration).cancelOrderByChannelUltraCartOrderId(order_id, options)(fetch, basePath);
37266
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any) {
37267
+ return ChannelPartnerApiFp(configuration).cancelOrderByUltraCartOrderId(order_id, options)(fetch, basePath);
37268
37268
  },
37269
37269
  /**
37270
37270
  * Estimate shipping for order from a channel partner.
@@ -37313,7 +37313,7 @@ export interface ChannelPartnerApiInterface {
37313
37313
  * @throws {RequiredError}
37314
37314
  * @memberof ChannelPartnerApiInterface
37315
37315
  */
37316
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
37316
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
37317
37317
 
37318
37318
  /**
37319
37319
  * Estimate shipping for order from a channel partner.
@@ -37364,8 +37364,8 @@ export class ChannelPartnerApi extends BaseAPI implements ChannelPartnerApiInter
37364
37364
  * @throws {RequiredError}
37365
37365
  * @memberof ChannelPartnerApi
37366
37366
  */
37367
- public cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any) {
37368
- return ChannelPartnerApiFp(this.configuration).cancelOrderByChannelUltraCartOrderId(order_id, options)(this.fetch, this.basePath);
37367
+ public cancelOrderByUltraCartOrderId(order_id: string, options?: any) {
37368
+ return ChannelPartnerApiFp(this.configuration).cancelOrderByUltraCartOrderId(order_id, options)(this.fetch, this.basePath);
37369
37369
  }
37370
37370
 
37371
37371
  /**
package/dist/api.d.ts CHANGED
@@ -35375,7 +35375,7 @@ export declare const ChannelPartnerApiFetchParamCreator: (configuration?: Config
35375
35375
  * @param {*} [options] Override http request option.
35376
35376
  * @throws {RequiredError}
35377
35377
  */
35378
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any): FetchArgs;
35378
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any): FetchArgs;
35379
35379
  /**
35380
35380
  * Estimate shipping for order from a channel partner.
35381
35381
  * @summary Estimate shipping for channel partner order
@@ -35413,7 +35413,7 @@ export declare const ChannelPartnerApiFp: (configuration?: Configuration) => {
35413
35413
  * @param {*} [options] Override http request option.
35414
35414
  * @throws {RequiredError}
35415
35415
  */
35416
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ChannelPartnerCancelResponse>;
35416
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ChannelPartnerCancelResponse>;
35417
35417
  /**
35418
35418
  * Estimate shipping for order from a channel partner.
35419
35419
  * @summary Estimate shipping for channel partner order
@@ -35451,7 +35451,7 @@ export declare const ChannelPartnerApiFactory: (configuration?: Configuration, f
35451
35451
  * @param {*} [options] Override http request option.
35452
35452
  * @throws {RequiredError}
35453
35453
  */
35454
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
35454
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
35455
35455
  /**
35456
35456
  * Estimate shipping for order from a channel partner.
35457
35457
  * @summary Estimate shipping for channel partner order
@@ -35492,7 +35492,7 @@ export interface ChannelPartnerApiInterface {
35492
35492
  * @throws {RequiredError}
35493
35493
  * @memberof ChannelPartnerApiInterface
35494
35494
  */
35495
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
35495
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
35496
35496
  /**
35497
35497
  * Estimate shipping for order from a channel partner.
35498
35498
  * @summary Estimate shipping for channel partner order
@@ -35536,7 +35536,7 @@ export declare class ChannelPartnerApi extends BaseAPI implements ChannelPartner
35536
35536
  * @throws {RequiredError}
35537
35537
  * @memberof ChannelPartnerApi
35538
35538
  */
35539
- cancelOrderByChannelUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
35539
+ cancelOrderByUltraCartOrderId(order_id: string, options?: any): Promise<ChannelPartnerCancelResponse>;
35540
35540
  /**
35541
35541
  * Estimate shipping for order from a channel partner.
35542
35542
  * @summary Estimate shipping for channel partner order
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
- cancelOrderByChannelUltraCartOrderId: function (order_id, options) {
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 cancelOrderByChannelUltraCartOrderId.');
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
- cancelOrderByChannelUltraCartOrderId: function (order_id, options) {
2790
- var localVarFetchArgs = (0, exports.ChannelPartnerApiFetchParamCreator)(configuration).cancelOrderByChannelUltraCartOrderId(order_id, options);
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
- cancelOrderByChannelUltraCartOrderId: function (order_id, options) {
2875
- return (0, exports.ChannelPartnerApiFp)(configuration).cancelOrderByChannelUltraCartOrderId(order_id, options)(fetch, basePath);
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.cancelOrderByChannelUltraCartOrderId = function (order_id, options) {
2931
- return (0, exports.ChannelPartnerApiFp)(this.configuration).cancelOrderByChannelUltraCartOrderId(order_id, options)(this.fetch, this.basePath);
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.1",
3
+ "version": "3.10.2",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [