ultracart_rest_api_v2_typescript 3.10.221 → 3.10.222

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.221
1
+ ## ultracart_rest_api_v2_typescript@3.10.222
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.221 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.222 --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.222 | 01/09/2025 | added emails parameter to customer queries, refundOrder added to Channel partner |
57
58
  | 3.10.221 | 12/13/2024 | added user and group ids to conversation agent auth object |
58
59
  | 3.10.220 | 11/11/2024 | added seo properties to item.content object |
59
60
  | 3.10.219 | 11/07/2024 | Coupon - PercentOffWithItemsQuantityPurchase - added support for tags |
package/api.ts CHANGED
@@ -15519,6 +15519,12 @@ export interface CustomerQuery {
15519
15519
  * @memberof CustomerQuery
15520
15520
  */
15521
15521
  email?: string;
15522
+ /**
15523
+ * Emails allows for searching on multiple email addresses and work with our without the single email variable. You may specify a single email address here or use the email property.
15524
+ * @type {Array<string>}
15525
+ * @memberof CustomerQuery
15526
+ */
15527
+ emails?: Array<string>;
15522
15528
  /**
15523
15529
  * Last modified date end
15524
15530
  * @type {string}
@@ -47137,6 +47143,120 @@ export const ChannelPartnerApiFetchParamCreator = function (configuration?: Conf
47137
47143
  options: localVarRequestOptions,
47138
47144
  };
47139
47145
  },
47146
+ /**
47147
+ * Retrieves a single order using the specified order id. Only orders belonging to this channel partner may be retrieved.
47148
+ * @summary Retrieve a channel partner order
47149
+ * @param {string} order_id The order id to retrieve.
47150
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
47151
+ * @param {*} [options] Override http request option.
47152
+ * @throws {RequiredError}
47153
+ */
47154
+ getChannelPartnerOrder(order_id: string, _expand?: string, options: any = {}): FetchArgs {
47155
+ // verify required parameter 'order_id' is not null or undefined
47156
+ if (order_id === null || order_id === undefined) {
47157
+ throw new RequiredError('order_id','Required parameter order_id was null or undefined when calling getChannelPartnerOrder.');
47158
+ }
47159
+ const localVarPath = `/channel_partner/orders/{order_id}`
47160
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
47161
+ const localVarUrlObj = url.parse(localVarPath, true);
47162
+ const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
47163
+ const localVarHeaderParameter = {} as any;
47164
+ const localVarQueryParameter = {} as any;
47165
+
47166
+ if(configuration && configuration.apiVersion) {
47167
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
47168
+ }
47169
+
47170
+
47171
+
47172
+ // authentication ultraCartOauth required
47173
+ // oauth required
47174
+ if (configuration && configuration.accessToken) {
47175
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
47176
+ ? configuration.accessToken("ultraCartOauth", ["channel_partner_read"])
47177
+ : configuration.accessToken;
47178
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
47179
+ }
47180
+
47181
+ // authentication ultraCartSimpleApiKey required
47182
+ if (configuration && configuration.apiKey) {
47183
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
47184
+ ? configuration.apiKey("x-ultracart-simple-key")
47185
+ : configuration.apiKey;
47186
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
47187
+ }
47188
+
47189
+ if (_expand !== undefined) {
47190
+ localVarQueryParameter['_expand'] = _expand;
47191
+ }
47192
+
47193
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
47194
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
47195
+ delete localVarUrlObj.search;
47196
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
47197
+
47198
+ return {
47199
+ url: url.format(localVarUrlObj),
47200
+ options: localVarRequestOptions,
47201
+ };
47202
+ },
47203
+ /**
47204
+ * Retrieves a single order using the channel partner order id, not the ultracart order id. Only orders belonging to this channel partner may be retrieved.
47205
+ * @summary Retrieve a channel partner order by the channel partner order id
47206
+ * @param {string} order_id The channel partner order id to retrieve.
47207
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
47208
+ * @param {*} [options] Override http request option.
47209
+ * @throws {RequiredError}
47210
+ */
47211
+ getChannelPartnerOrderByChannelPartnerOrderId(order_id: string, _expand?: string, options: any = {}): FetchArgs {
47212
+ // verify required parameter 'order_id' is not null or undefined
47213
+ if (order_id === null || order_id === undefined) {
47214
+ throw new RequiredError('order_id','Required parameter order_id was null or undefined when calling getChannelPartnerOrderByChannelPartnerOrderId.');
47215
+ }
47216
+ const localVarPath = `/channel_partner/orders/by_channel_partner_order_id/{order_id}`
47217
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
47218
+ const localVarUrlObj = url.parse(localVarPath, true);
47219
+ const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
47220
+ const localVarHeaderParameter = {} as any;
47221
+ const localVarQueryParameter = {} as any;
47222
+
47223
+ if(configuration && configuration.apiVersion) {
47224
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
47225
+ }
47226
+
47227
+
47228
+
47229
+ // authentication ultraCartOauth required
47230
+ // oauth required
47231
+ if (configuration && configuration.accessToken) {
47232
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
47233
+ ? configuration.accessToken("ultraCartOauth", ["channel_partner_read"])
47234
+ : configuration.accessToken;
47235
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
47236
+ }
47237
+
47238
+ // authentication ultraCartSimpleApiKey required
47239
+ if (configuration && configuration.apiKey) {
47240
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
47241
+ ? configuration.apiKey("x-ultracart-simple-key")
47242
+ : configuration.apiKey;
47243
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
47244
+ }
47245
+
47246
+ if (_expand !== undefined) {
47247
+ localVarQueryParameter['_expand'] = _expand;
47248
+ }
47249
+
47250
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
47251
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
47252
+ delete localVarUrlObj.search;
47253
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
47254
+
47255
+ return {
47256
+ url: url.format(localVarUrlObj),
47257
+ options: localVarRequestOptions,
47258
+ };
47259
+ },
47140
47260
  /**
47141
47261
  * Retrieve the ship to preference associated with the channel partner and the specific id.
47142
47262
  * @summary Retrieve the ship to preference associated with the channel partner and the specific id.
@@ -47409,6 +47529,107 @@ export const ChannelPartnerApiFetchParamCreator = function (configuration?: Conf
47409
47529
  options: localVarRequestOptions,
47410
47530
  };
47411
47531
  },
47532
+ /**
47533
+ * Perform a refund operation on a channel partner order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
47534
+ * @summary Refund a channel partner order
47535
+ * @param {Order} order Order to refund
47536
+ * @param {string} order_id The order id to refund.
47537
+ * @param {boolean} [reject_after_refund] Reject order after refund
47538
+ * @param {boolean} [skip_customer_notification] Skip customer email notification
47539
+ * @param {boolean} [auto_order_cancel] Cancel associated auto orders
47540
+ * @param {boolean} [manual_refund] Consider a manual refund done externally
47541
+ * @param {boolean} [reverse_affiliate_transactions] Reverse affiliate transactions
47542
+ * @param {boolean} [issue_store_credit] Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
47543
+ * @param {string} [auto_order_cancel_reason] Reason for auto orders cancellation
47544
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.refundOrder documentation for examples
47545
+ * @param {*} [options] Override http request option.
47546
+ * @throws {RequiredError}
47547
+ */
47548
+ refundChannelPartnerOrder(order: Order, order_id: string, reject_after_refund?: boolean, skip_customer_notification?: boolean, auto_order_cancel?: boolean, manual_refund?: boolean, reverse_affiliate_transactions?: boolean, issue_store_credit?: boolean, auto_order_cancel_reason?: string, _expand?: string, options: any = {}): FetchArgs {
47549
+ // verify required parameter 'order' is not null or undefined
47550
+ if (order === null || order === undefined) {
47551
+ throw new RequiredError('order','Required parameter order was null or undefined when calling refundChannelPartnerOrder.');
47552
+ }
47553
+ // verify required parameter 'order_id' is not null or undefined
47554
+ if (order_id === null || order_id === undefined) {
47555
+ throw new RequiredError('order_id','Required parameter order_id was null or undefined when calling refundChannelPartnerOrder.');
47556
+ }
47557
+ const localVarPath = `/channel_partner/orders/{order_id}/refund`
47558
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
47559
+ const localVarUrlObj = url.parse(localVarPath, true);
47560
+ const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
47561
+ const localVarHeaderParameter = {} as any;
47562
+ const localVarQueryParameter = {} as any;
47563
+
47564
+ if(configuration && configuration.apiVersion) {
47565
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
47566
+ }
47567
+
47568
+
47569
+
47570
+ // authentication ultraCartOauth required
47571
+ // oauth required
47572
+ if (configuration && configuration.accessToken) {
47573
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
47574
+ ? configuration.accessToken("ultraCartOauth", ["channel_partner_write"])
47575
+ : configuration.accessToken;
47576
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
47577
+ }
47578
+
47579
+ // authentication ultraCartSimpleApiKey required
47580
+ if (configuration && configuration.apiKey) {
47581
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
47582
+ ? configuration.apiKey("x-ultracart-simple-key")
47583
+ : configuration.apiKey;
47584
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
47585
+ }
47586
+
47587
+ if (reject_after_refund !== undefined) {
47588
+ localVarQueryParameter['reject_after_refund'] = reject_after_refund;
47589
+ }
47590
+
47591
+ if (skip_customer_notification !== undefined) {
47592
+ localVarQueryParameter['skip_customer_notification'] = skip_customer_notification;
47593
+ }
47594
+
47595
+ if (auto_order_cancel !== undefined) {
47596
+ localVarQueryParameter['auto_order_cancel'] = auto_order_cancel;
47597
+ }
47598
+
47599
+ if (manual_refund !== undefined) {
47600
+ localVarQueryParameter['manual_refund'] = manual_refund;
47601
+ }
47602
+
47603
+ if (reverse_affiliate_transactions !== undefined) {
47604
+ localVarQueryParameter['reverse_affiliate_transactions'] = reverse_affiliate_transactions;
47605
+ }
47606
+
47607
+ if (issue_store_credit !== undefined) {
47608
+ localVarQueryParameter['issue_store_credit'] = issue_store_credit;
47609
+ }
47610
+
47611
+ if (auto_order_cancel_reason !== undefined) {
47612
+ localVarQueryParameter['auto_order_cancel_reason'] = auto_order_cancel_reason;
47613
+ }
47614
+
47615
+ if (_expand !== undefined) {
47616
+ localVarQueryParameter['_expand'] = _expand;
47617
+ }
47618
+
47619
+ localVarHeaderParameter['Content-Type'] = 'application/json; charset=UTF-8';
47620
+
47621
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
47622
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
47623
+ delete localVarUrlObj.search;
47624
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
47625
+ const needsSerialization = (<any>"Order" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
47626
+ localVarRequestOptions.body = needsSerialization ? JSON.stringify(order || {}) : (order || "");
47627
+
47628
+ return {
47629
+ url: url.format(localVarUrlObj),
47630
+ options: localVarRequestOptions,
47631
+ };
47632
+ },
47412
47633
  /**
47413
47634
  * Update a ship to preference record for the channel partner.
47414
47635
  * @summary Update a ship to preference record for the channel partner.
@@ -47591,6 +47812,50 @@ export const ChannelPartnerApiFp = function(configuration?: Configuration) {
47591
47812
  });
47592
47813
  };
47593
47814
  },
47815
+ /**
47816
+ * Retrieves a single order using the specified order id. Only orders belonging to this channel partner may be retrieved.
47817
+ * @summary Retrieve a channel partner order
47818
+ * @param {string} order_id The order id to retrieve.
47819
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
47820
+ * @param {*} [options] Override http request option.
47821
+ * @throws {RequiredError}
47822
+ */
47823
+ getChannelPartnerOrder(order_id: string, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderResponse> {
47824
+ const localVarFetchArgs = ChannelPartnerApiFetchParamCreator(configuration).getChannelPartnerOrder(order_id, _expand, options);
47825
+ return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
47826
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
47827
+
47828
+ if (response.status >= 200 && response.status < 300) {
47829
+ return response.json();
47830
+
47831
+ } else {
47832
+ throw response;
47833
+ }
47834
+ });
47835
+ };
47836
+ },
47837
+ /**
47838
+ * Retrieves a single order using the channel partner order id, not the ultracart order id. Only orders belonging to this channel partner may be retrieved.
47839
+ * @summary Retrieve a channel partner order by the channel partner order id
47840
+ * @param {string} order_id The channel partner order id to retrieve.
47841
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
47842
+ * @param {*} [options] Override http request option.
47843
+ * @throws {RequiredError}
47844
+ */
47845
+ getChannelPartnerOrderByChannelPartnerOrderId(order_id: string, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderResponse> {
47846
+ const localVarFetchArgs = ChannelPartnerApiFetchParamCreator(configuration).getChannelPartnerOrderByChannelPartnerOrderId(order_id, _expand, options);
47847
+ return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
47848
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
47849
+
47850
+ if (response.status >= 200 && response.status < 300) {
47851
+ return response.json();
47852
+
47853
+ } else {
47854
+ throw response;
47855
+ }
47856
+ });
47857
+ };
47858
+ },
47594
47859
  /**
47595
47860
  * Retrieve the ship to preference associated with the channel partner and the specific id.
47596
47861
  * @summary Retrieve the ship to preference associated with the channel partner and the specific id.
@@ -47697,6 +47962,36 @@ export const ChannelPartnerApiFp = function(configuration?: Configuration) {
47697
47962
  });
47698
47963
  };
47699
47964
  },
47965
+ /**
47966
+ * Perform a refund operation on a channel partner order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
47967
+ * @summary Refund a channel partner order
47968
+ * @param {Order} order Order to refund
47969
+ * @param {string} order_id The order id to refund.
47970
+ * @param {boolean} [reject_after_refund] Reject order after refund
47971
+ * @param {boolean} [skip_customer_notification] Skip customer email notification
47972
+ * @param {boolean} [auto_order_cancel] Cancel associated auto orders
47973
+ * @param {boolean} [manual_refund] Consider a manual refund done externally
47974
+ * @param {boolean} [reverse_affiliate_transactions] Reverse affiliate transactions
47975
+ * @param {boolean} [issue_store_credit] Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
47976
+ * @param {string} [auto_order_cancel_reason] Reason for auto orders cancellation
47977
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.refundOrder documentation for examples
47978
+ * @param {*} [options] Override http request option.
47979
+ * @throws {RequiredError}
47980
+ */
47981
+ refundChannelPartnerOrder(order: Order, order_id: string, reject_after_refund?: boolean, skip_customer_notification?: boolean, auto_order_cancel?: boolean, manual_refund?: boolean, reverse_affiliate_transactions?: boolean, issue_store_credit?: boolean, auto_order_cancel_reason?: string, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrderResponse> {
47982
+ const localVarFetchArgs = ChannelPartnerApiFetchParamCreator(configuration).refundChannelPartnerOrder(order, order_id, reject_after_refund, skip_customer_notification, auto_order_cancel, manual_refund, reverse_affiliate_transactions, issue_store_credit, auto_order_cancel_reason, _expand, options);
47983
+ return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
47984
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
47985
+
47986
+ if (response.status >= 200 && response.status < 300) {
47987
+ return response.json();
47988
+
47989
+ } else {
47990
+ throw response;
47991
+ }
47992
+ });
47993
+ };
47994
+ },
47700
47995
  /**
47701
47996
  * Update a ship to preference record for the channel partner.
47702
47997
  * @summary Update a ship to preference record for the channel partner.
@@ -47780,6 +48075,28 @@ export const ChannelPartnerApiFactory = function (configuration?: Configuration,
47780
48075
  estimateTaxForChannelPartnerOrder(channel_partner_order: ChannelPartnerOrder, options?: any) {
47781
48076
  return ChannelPartnerApiFp(configuration).estimateTaxForChannelPartnerOrder(channel_partner_order, options)(fetch, basePath);
47782
48077
  },
48078
+ /**
48079
+ * Retrieves a single order using the specified order id. Only orders belonging to this channel partner may be retrieved.
48080
+ * @summary Retrieve a channel partner order
48081
+ * @param {string} order_id The order id to retrieve.
48082
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
48083
+ * @param {*} [options] Override http request option.
48084
+ * @throws {RequiredError}
48085
+ */
48086
+ getChannelPartnerOrder(order_id: string, _expand?: string, options?: any) {
48087
+ return ChannelPartnerApiFp(configuration).getChannelPartnerOrder(order_id, _expand, options)(fetch, basePath);
48088
+ },
48089
+ /**
48090
+ * Retrieves a single order using the channel partner order id, not the ultracart order id. Only orders belonging to this channel partner may be retrieved.
48091
+ * @summary Retrieve a channel partner order by the channel partner order id
48092
+ * @param {string} order_id The channel partner order id to retrieve.
48093
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
48094
+ * @param {*} [options] Override http request option.
48095
+ * @throws {RequiredError}
48096
+ */
48097
+ getChannelPartnerOrderByChannelPartnerOrderId(order_id: string, _expand?: string, options?: any) {
48098
+ return ChannelPartnerApiFp(configuration).getChannelPartnerOrderByChannelPartnerOrderId(order_id, _expand, options)(fetch, basePath);
48099
+ },
47783
48100
  /**
47784
48101
  * Retrieve the ship to preference associated with the channel partner and the specific id.
47785
48102
  * @summary Retrieve the ship to preference associated with the channel partner and the specific id.
@@ -47831,6 +48148,25 @@ export const ChannelPartnerApiFactory = function (configuration?: Configuration,
47831
48148
  insertChannelPartnerShipToPreference(channel_partner_oid: number, ship_to_preference: ChannelPartnerShipToPreference, options?: any) {
47832
48149
  return ChannelPartnerApiFp(configuration).insertChannelPartnerShipToPreference(channel_partner_oid, ship_to_preference, options)(fetch, basePath);
47833
48150
  },
48151
+ /**
48152
+ * Perform a refund operation on a channel partner order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
48153
+ * @summary Refund a channel partner order
48154
+ * @param {Order} order Order to refund
48155
+ * @param {string} order_id The order id to refund.
48156
+ * @param {boolean} [reject_after_refund] Reject order after refund
48157
+ * @param {boolean} [skip_customer_notification] Skip customer email notification
48158
+ * @param {boolean} [auto_order_cancel] Cancel associated auto orders
48159
+ * @param {boolean} [manual_refund] Consider a manual refund done externally
48160
+ * @param {boolean} [reverse_affiliate_transactions] Reverse affiliate transactions
48161
+ * @param {boolean} [issue_store_credit] Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
48162
+ * @param {string} [auto_order_cancel_reason] Reason for auto orders cancellation
48163
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.refundOrder documentation for examples
48164
+ * @param {*} [options] Override http request option.
48165
+ * @throws {RequiredError}
48166
+ */
48167
+ refundChannelPartnerOrder(order: Order, order_id: string, reject_after_refund?: boolean, skip_customer_notification?: boolean, auto_order_cancel?: boolean, manual_refund?: boolean, reverse_affiliate_transactions?: boolean, issue_store_credit?: boolean, auto_order_cancel_reason?: string, _expand?: string, options?: any) {
48168
+ return ChannelPartnerApiFp(configuration).refundChannelPartnerOrder(order, order_id, reject_after_refund, skip_customer_notification, auto_order_cancel, manual_refund, reverse_affiliate_transactions, issue_store_credit, auto_order_cancel_reason, _expand, options)(fetch, basePath);
48169
+ },
47834
48170
  /**
47835
48171
  * Update a ship to preference record for the channel partner.
47836
48172
  * @summary Update a ship to preference record for the channel partner.
@@ -47903,6 +48239,28 @@ export interface ChannelPartnerApiInterface {
47903
48239
  */
47904
48240
  estimateTaxForChannelPartnerOrder(channel_partner_order: ChannelPartnerOrder, options?: any): Promise<ChannelPartnerEstimateTaxResponse>;
47905
48241
 
48242
+ /**
48243
+ * Retrieves a single order using the specified order id. Only orders belonging to this channel partner may be retrieved.
48244
+ * @summary Retrieve a channel partner order
48245
+ * @param {string} order_id The order id to retrieve.
48246
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
48247
+ * @param {*} [options] Override http request option.
48248
+ * @throws {RequiredError}
48249
+ * @memberof ChannelPartnerApiInterface
48250
+ */
48251
+ getChannelPartnerOrder(order_id: string, _expand?: string, options?: any): Promise<OrderResponse>;
48252
+
48253
+ /**
48254
+ * Retrieves a single order using the channel partner order id, not the ultracart order id. Only orders belonging to this channel partner may be retrieved.
48255
+ * @summary Retrieve a channel partner order by the channel partner order id
48256
+ * @param {string} order_id The channel partner order id to retrieve.
48257
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
48258
+ * @param {*} [options] Override http request option.
48259
+ * @throws {RequiredError}
48260
+ * @memberof ChannelPartnerApiInterface
48261
+ */
48262
+ getChannelPartnerOrderByChannelPartnerOrderId(order_id: string, _expand?: string, options?: any): Promise<OrderResponse>;
48263
+
47906
48264
  /**
47907
48265
  * Retrieve the ship to preference associated with the channel partner and the specific id.
47908
48266
  * @summary Retrieve the ship to preference associated with the channel partner and the specific id.
@@ -47954,6 +48312,25 @@ export interface ChannelPartnerApiInterface {
47954
48312
  */
47955
48313
  insertChannelPartnerShipToPreference(channel_partner_oid: number, ship_to_preference: ChannelPartnerShipToPreference, options?: any): Promise<ChannelPartnerShipToPreferenceResponse>;
47956
48314
 
48315
+ /**
48316
+ * Perform a refund operation on a channel partner order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
48317
+ * @summary Refund a channel partner order
48318
+ * @param {Order} order Order to refund
48319
+ * @param {string} order_id The order id to refund.
48320
+ * @param {boolean} [reject_after_refund] Reject order after refund
48321
+ * @param {boolean} [skip_customer_notification] Skip customer email notification
48322
+ * @param {boolean} [auto_order_cancel] Cancel associated auto orders
48323
+ * @param {boolean} [manual_refund] Consider a manual refund done externally
48324
+ * @param {boolean} [reverse_affiliate_transactions] Reverse affiliate transactions
48325
+ * @param {boolean} [issue_store_credit] Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
48326
+ * @param {string} [auto_order_cancel_reason] Reason for auto orders cancellation
48327
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.refundOrder documentation for examples
48328
+ * @param {*} [options] Override http request option.
48329
+ * @throws {RequiredError}
48330
+ * @memberof ChannelPartnerApiInterface
48331
+ */
48332
+ refundChannelPartnerOrder(order: Order, order_id: string, reject_after_refund?: boolean, skip_customer_notification?: boolean, auto_order_cancel?: boolean, manual_refund?: boolean, reverse_affiliate_transactions?: boolean, issue_store_credit?: boolean, auto_order_cancel_reason?: string, _expand?: string, options?: any): Promise<OrderResponse>;
48333
+
47957
48334
  /**
47958
48335
  * Update a ship to preference record for the channel partner.
47959
48336
  * @summary Update a ship to preference record for the channel partner.
@@ -48036,6 +48413,32 @@ export class ChannelPartnerApi extends BaseAPI implements ChannelPartnerApiInter
48036
48413
  return ChannelPartnerApiFp(this.configuration).estimateTaxForChannelPartnerOrder(channel_partner_order, options)(this.fetch, this.basePath);
48037
48414
  }
48038
48415
 
48416
+ /**
48417
+ * Retrieves a single order using the specified order id. Only orders belonging to this channel partner may be retrieved.
48418
+ * @summary Retrieve a channel partner order
48419
+ * @param {string} order_id The order id to retrieve.
48420
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
48421
+ * @param {*} [options] Override http request option.
48422
+ * @throws {RequiredError}
48423
+ * @memberof ChannelPartnerApi
48424
+ */
48425
+ public getChannelPartnerOrder(order_id: string, _expand?: string, options?: any) {
48426
+ return ChannelPartnerApiFp(this.configuration).getChannelPartnerOrder(order_id, _expand, options)(this.fetch, this.basePath);
48427
+ }
48428
+
48429
+ /**
48430
+ * Retrieves a single order using the channel partner order id, not the ultracart order id. Only orders belonging to this channel partner may be retrieved.
48431
+ * @summary Retrieve a channel partner order by the channel partner order id
48432
+ * @param {string} order_id The channel partner order id to retrieve.
48433
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.getOrder documentation for examples
48434
+ * @param {*} [options] Override http request option.
48435
+ * @throws {RequiredError}
48436
+ * @memberof ChannelPartnerApi
48437
+ */
48438
+ public getChannelPartnerOrderByChannelPartnerOrderId(order_id: string, _expand?: string, options?: any) {
48439
+ return ChannelPartnerApiFp(this.configuration).getChannelPartnerOrderByChannelPartnerOrderId(order_id, _expand, options)(this.fetch, this.basePath);
48440
+ }
48441
+
48039
48442
  /**
48040
48443
  * Retrieve the ship to preference associated with the channel partner and the specific id.
48041
48444
  * @summary Retrieve the ship to preference associated with the channel partner and the specific id.
@@ -48097,6 +48500,27 @@ export class ChannelPartnerApi extends BaseAPI implements ChannelPartnerApiInter
48097
48500
  return ChannelPartnerApiFp(this.configuration).insertChannelPartnerShipToPreference(channel_partner_oid, ship_to_preference, options)(this.fetch, this.basePath);
48098
48501
  }
48099
48502
 
48503
+ /**
48504
+ * Perform a refund operation on a channel partner order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
48505
+ * @summary Refund a channel partner order
48506
+ * @param {Order} order Order to refund
48507
+ * @param {string} order_id The order id to refund.
48508
+ * @param {boolean} [reject_after_refund] Reject order after refund
48509
+ * @param {boolean} [skip_customer_notification] Skip customer email notification
48510
+ * @param {boolean} [auto_order_cancel] Cancel associated auto orders
48511
+ * @param {boolean} [manual_refund] Consider a manual refund done externally
48512
+ * @param {boolean} [reverse_affiliate_transactions] Reverse affiliate transactions
48513
+ * @param {boolean} [issue_store_credit] Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
48514
+ * @param {string} [auto_order_cancel_reason] Reason for auto orders cancellation
48515
+ * @param {string} [_expand] The object expansion to perform on the result. See OrderApi.refundOrder documentation for examples
48516
+ * @param {*} [options] Override http request option.
48517
+ * @throws {RequiredError}
48518
+ * @memberof ChannelPartnerApi
48519
+ */
48520
+ public refundChannelPartnerOrder(order: Order, order_id: string, reject_after_refund?: boolean, skip_customer_notification?: boolean, auto_order_cancel?: boolean, manual_refund?: boolean, reverse_affiliate_transactions?: boolean, issue_store_credit?: boolean, auto_order_cancel_reason?: string, _expand?: string, options?: any) {
48521
+ return ChannelPartnerApiFp(this.configuration).refundChannelPartnerOrder(order, order_id, reject_after_refund, skip_customer_notification, auto_order_cancel, manual_refund, reverse_affiliate_transactions, issue_store_credit, auto_order_cancel_reason, _expand, options)(this.fetch, this.basePath);
48522
+ }
48523
+
48100
48524
  /**
48101
48525
  * Update a ship to preference record for the channel partner.
48102
48526
  * @summary Update a ship to preference record for the channel partner.
@@ -62963,6 +63387,7 @@ export const CustomerApiFetchParamCreator = function (configuration?: Configurat
62963
63387
  * @param {string} [shipping_evening_phone] Shipping evening phone
62964
63388
  * @param {number} [pricing_tier_oid] Pricing tier oid
62965
63389
  * @param {string} [pricing_tier_name] Pricing tier name
63390
+ * @param {any} [emails] Emails
62966
63391
  * @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
62967
63392
  * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
62968
63393
  * @param {string} [_since] Fetch customers that have been created/modified since this date/time.
@@ -62971,7 +63396,7 @@ export const CustomerApiFetchParamCreator = function (configuration?: Configurat
62971
63396
  * @param {*} [options] Override http request option.
62972
63397
  * @throws {RequiredError}
62973
63398
  */
62974
- getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options: any = {}): FetchArgs {
63399
+ getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, emails?: any, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options: any = {}): FetchArgs {
62975
63400
  const localVarPath = `/customer/customers`;
62976
63401
  const localVarUrlObj = url.parse(localVarPath, true);
62977
63402
  const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
@@ -63109,6 +63534,10 @@ export const CustomerApiFetchParamCreator = function (configuration?: Configurat
63109
63534
  localVarQueryParameter['pricing_tier_name'] = pricing_tier_name;
63110
63535
  }
63111
63536
 
63537
+ if (emails !== undefined) {
63538
+ localVarQueryParameter['emails'] = emails;
63539
+ }
63540
+
63112
63541
  if (_limit !== undefined) {
63113
63542
  localVarQueryParameter['_limit'] = _limit;
63114
63543
  }
@@ -64156,6 +64585,7 @@ export const CustomerApiFp = function(configuration?: Configuration) {
64156
64585
  * @param {string} [shipping_evening_phone] Shipping evening phone
64157
64586
  * @param {number} [pricing_tier_oid] Pricing tier oid
64158
64587
  * @param {string} [pricing_tier_name] Pricing tier name
64588
+ * @param {any} [emails] Emails
64159
64589
  * @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
64160
64590
  * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
64161
64591
  * @param {string} [_since] Fetch customers that have been created/modified since this date/time.
@@ -64164,8 +64594,8 @@ export const CustomerApiFp = function(configuration?: Configuration) {
64164
64594
  * @param {*} [options] Override http request option.
64165
64595
  * @throws {RequiredError}
64166
64596
  */
64167
- getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomersResponse> {
64168
- const localVarFetchArgs = CustomerApiFetchParamCreator(configuration).getCustomers(email, qb_class, quickbooks_code, last_modified_dts_start, last_modified_dts_end, signup_dts_start, signup_dts_end, billing_first_name, billing_last_name, billing_company, billing_city, billing_state, billing_postal_code, billing_country_code, billing_day_phone, billing_evening_phone, shipping_first_name, shipping_last_name, shipping_company, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, shipping_day_phone, shipping_evening_phone, pricing_tier_oid, pricing_tier_name, _limit, _offset, _since, _sort, _expand, options);
64597
+ getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, emails?: any, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomersResponse> {
64598
+ const localVarFetchArgs = CustomerApiFetchParamCreator(configuration).getCustomers(email, qb_class, quickbooks_code, last_modified_dts_start, last_modified_dts_end, signup_dts_start, signup_dts_end, billing_first_name, billing_last_name, billing_company, billing_city, billing_state, billing_postal_code, billing_country_code, billing_day_phone, billing_evening_phone, shipping_first_name, shipping_last_name, shipping_company, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, shipping_day_phone, shipping_evening_phone, pricing_tier_oid, pricing_tier_name, emails, _limit, _offset, _since, _sort, _expand, options);
64169
64599
  return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
64170
64600
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
64171
64601
 
@@ -64598,6 +65028,7 @@ export const CustomerApiFactory = function (configuration?: Configuration, fetch
64598
65028
  * @param {string} [shipping_evening_phone] Shipping evening phone
64599
65029
  * @param {number} [pricing_tier_oid] Pricing tier oid
64600
65030
  * @param {string} [pricing_tier_name] Pricing tier name
65031
+ * @param {any} [emails] Emails
64601
65032
  * @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
64602
65033
  * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
64603
65034
  * @param {string} [_since] Fetch customers that have been created/modified since this date/time.
@@ -64606,8 +65037,8 @@ export const CustomerApiFactory = function (configuration?: Configuration, fetch
64606
65037
  * @param {*} [options] Override http request option.
64607
65038
  * @throws {RequiredError}
64608
65039
  */
64609
- getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any) {
64610
- return CustomerApiFp(configuration).getCustomers(email, qb_class, quickbooks_code, last_modified_dts_start, last_modified_dts_end, signup_dts_start, signup_dts_end, billing_first_name, billing_last_name, billing_company, billing_city, billing_state, billing_postal_code, billing_country_code, billing_day_phone, billing_evening_phone, shipping_first_name, shipping_last_name, shipping_company, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, shipping_day_phone, shipping_evening_phone, pricing_tier_oid, pricing_tier_name, _limit, _offset, _since, _sort, _expand, options)(fetch, basePath);
65040
+ getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, emails?: any, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any) {
65041
+ return CustomerApiFp(configuration).getCustomers(email, qb_class, quickbooks_code, last_modified_dts_start, last_modified_dts_end, signup_dts_start, signup_dts_end, billing_first_name, billing_last_name, billing_company, billing_city, billing_state, billing_postal_code, billing_country_code, billing_day_phone, billing_evening_phone, shipping_first_name, shipping_last_name, shipping_company, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, shipping_day_phone, shipping_evening_phone, pricing_tier_oid, pricing_tier_name, emails, _limit, _offset, _since, _sort, _expand, options)(fetch, basePath);
64611
65042
  },
64612
65043
  /**
64613
65044
  * Retrieves customers from the account. If no parameters are specified, all customers will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
@@ -64897,6 +65328,7 @@ export interface CustomerApiInterface {
64897
65328
  * @param {string} [shipping_evening_phone] Shipping evening phone
64898
65329
  * @param {number} [pricing_tier_oid] Pricing tier oid
64899
65330
  * @param {string} [pricing_tier_name] Pricing tier name
65331
+ * @param {any} [emails] Emails
64900
65332
  * @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
64901
65333
  * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
64902
65334
  * @param {string} [_since] Fetch customers that have been created/modified since this date/time.
@@ -64906,7 +65338,7 @@ export interface CustomerApiInterface {
64906
65338
  * @throws {RequiredError}
64907
65339
  * @memberof CustomerApiInterface
64908
65340
  */
64909
- getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any): Promise<CustomersResponse>;
65341
+ getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, emails?: any, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any): Promise<CustomersResponse>;
64910
65342
 
64911
65343
  /**
64912
65344
  * Retrieves customers from the account. If no parameters are specified, all customers will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
@@ -65218,6 +65650,7 @@ export class CustomerApi extends BaseAPI implements CustomerApiInterface {
65218
65650
  * @param {string} [shipping_evening_phone] Shipping evening phone
65219
65651
  * @param {number} [pricing_tier_oid] Pricing tier oid
65220
65652
  * @param {string} [pricing_tier_name] Pricing tier name
65653
+ * @param {any} [emails] Emails
65221
65654
  * @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
65222
65655
  * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
65223
65656
  * @param {string} [_since] Fetch customers that have been created/modified since this date/time.
@@ -65227,8 +65660,8 @@ export class CustomerApi extends BaseAPI implements CustomerApiInterface {
65227
65660
  * @throws {RequiredError}
65228
65661
  * @memberof CustomerApi
65229
65662
  */
65230
- public getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any) {
65231
- return CustomerApiFp(this.configuration).getCustomers(email, qb_class, quickbooks_code, last_modified_dts_start, last_modified_dts_end, signup_dts_start, signup_dts_end, billing_first_name, billing_last_name, billing_company, billing_city, billing_state, billing_postal_code, billing_country_code, billing_day_phone, billing_evening_phone, shipping_first_name, shipping_last_name, shipping_company, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, shipping_day_phone, shipping_evening_phone, pricing_tier_oid, pricing_tier_name, _limit, _offset, _since, _sort, _expand, options)(this.fetch, this.basePath);
65663
+ public getCustomers(email?: string, qb_class?: string, quickbooks_code?: string, last_modified_dts_start?: string, last_modified_dts_end?: string, signup_dts_start?: string, signup_dts_end?: string, billing_first_name?: string, billing_last_name?: string, billing_company?: string, billing_city?: string, billing_state?: string, billing_postal_code?: string, billing_country_code?: string, billing_day_phone?: string, billing_evening_phone?: string, shipping_first_name?: string, shipping_last_name?: string, shipping_company?: string, shipping_city?: string, shipping_state?: string, shipping_postal_code?: string, shipping_country_code?: string, shipping_day_phone?: string, shipping_evening_phone?: string, pricing_tier_oid?: number, pricing_tier_name?: string, emails?: any, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, options?: any) {
65664
+ return CustomerApiFp(this.configuration).getCustomers(email, qb_class, quickbooks_code, last_modified_dts_start, last_modified_dts_end, signup_dts_start, signup_dts_end, billing_first_name, billing_last_name, billing_company, billing_city, billing_state, billing_postal_code, billing_country_code, billing_day_phone, billing_evening_phone, shipping_first_name, shipping_last_name, shipping_company, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, shipping_day_phone, shipping_evening_phone, pricing_tier_oid, pricing_tier_name, emails, _limit, _offset, _since, _sort, _expand, options)(this.fetch, this.basePath);
65232
65665
  }
65233
65666
 
65234
65667
  /**