ultracart_rest_api_v2_typescript 3.10.222 → 3.10.224
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 +4 -2
- package/api.ts +128 -18
- package/dist/api.d.ts +123 -11
- package/dist/api.js +57 -17
- 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.224
|
|
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.224 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.224 | 02/06/2025 | added storefront_host_name to channel partner order object |
|
|
58
|
+
| 3.10.223 | 01/09/2025 | fix for broken 4.0.39 due to incorrect query sig on getCustomers |
|
|
57
59
|
| 3.10.222 | 01/09/2025 | added emails parameter to customer queries, refundOrder added to Channel partner |
|
|
58
60
|
| 3.10.221 | 12/13/2024 | added user and group ids to conversation agent auth object |
|
|
59
61
|
| 3.10.220 | 11/11/2024 | added seo properties to item.content object |
|
package/api.ts
CHANGED
|
@@ -6092,6 +6092,12 @@ export interface ChannelPartnerOrder {
|
|
|
6092
6092
|
* @memberof ChannelPartnerOrder
|
|
6093
6093
|
*/
|
|
6094
6094
|
store_if_payment_declines?: boolean;
|
|
6095
|
+
/**
|
|
6096
|
+
* StoreFront host name associated with the order
|
|
6097
|
+
* @type {string}
|
|
6098
|
+
* @memberof ChannelPartnerOrder
|
|
6099
|
+
*/
|
|
6100
|
+
storefront_host_name?: string;
|
|
6095
6101
|
/**
|
|
6096
6102
|
* The optional shipping county used to determine exact taxes
|
|
6097
6103
|
* @type {string}
|
|
@@ -14684,7 +14690,7 @@ export interface CustomerAttachment {
|
|
|
14684
14690
|
*/
|
|
14685
14691
|
file_name?: string;
|
|
14686
14692
|
/**
|
|
14687
|
-
* Mime
|
|
14693
|
+
* Mime type
|
|
14688
14694
|
* @type {string}
|
|
14689
14695
|
* @memberof CustomerAttachment
|
|
14690
14696
|
*/
|
|
@@ -29211,6 +29217,12 @@ export interface ItemReview {
|
|
|
29211
29217
|
* @memberof ItemReview
|
|
29212
29218
|
*/
|
|
29213
29219
|
helpful_yes_votes?: number;
|
|
29220
|
+
/**
|
|
29221
|
+
* Merchant Reply (set to an empty string to remove)
|
|
29222
|
+
* @type {string}
|
|
29223
|
+
* @memberof ItemReview
|
|
29224
|
+
*/
|
|
29225
|
+
merchant_reply?: string;
|
|
29214
29226
|
/**
|
|
29215
29227
|
*
|
|
29216
29228
|
* @type {string}
|
|
@@ -31801,6 +31813,12 @@ export interface Order {
|
|
|
31801
31813
|
* @memberof Order
|
|
31802
31814
|
*/
|
|
31803
31815
|
current_stage?: Order.CurrentStageEnum;
|
|
31816
|
+
/**
|
|
31817
|
+
* History of the changes to the current_stage field
|
|
31818
|
+
* @type {Array<OrderCurrentStageHistory>}
|
|
31819
|
+
* @memberof Order
|
|
31820
|
+
*/
|
|
31821
|
+
current_stage_histories?: Array<OrderCurrentStageHistory>;
|
|
31804
31822
|
/**
|
|
31805
31823
|
*
|
|
31806
31824
|
* @type {Customer}
|
|
@@ -32644,6 +32662,77 @@ export interface OrderCoupon {
|
|
|
32644
32662
|
hdie_from_customer?: boolean;
|
|
32645
32663
|
}
|
|
32646
32664
|
|
|
32665
|
+
/**
|
|
32666
|
+
*
|
|
32667
|
+
* @export
|
|
32668
|
+
* @interface OrderCurrentStageHistory
|
|
32669
|
+
*/
|
|
32670
|
+
export interface OrderCurrentStageHistory {
|
|
32671
|
+
/**
|
|
32672
|
+
* New stage that the order is in.
|
|
32673
|
+
* @type {string}
|
|
32674
|
+
* @memberof OrderCurrentStageHistory
|
|
32675
|
+
*/
|
|
32676
|
+
after_stage?: OrderCurrentStageHistory.AfterStageEnum;
|
|
32677
|
+
/**
|
|
32678
|
+
* Previous stage that the order was in.
|
|
32679
|
+
* @type {string}
|
|
32680
|
+
* @memberof OrderCurrentStageHistory
|
|
32681
|
+
*/
|
|
32682
|
+
before_stage?: OrderCurrentStageHistory.BeforeStageEnum;
|
|
32683
|
+
/**
|
|
32684
|
+
* Date/time that the stage transitioned
|
|
32685
|
+
* @type {string}
|
|
32686
|
+
* @memberof OrderCurrentStageHistory
|
|
32687
|
+
*/
|
|
32688
|
+
transition_dts?: string;
|
|
32689
|
+
}
|
|
32690
|
+
|
|
32691
|
+
/**
|
|
32692
|
+
* @export
|
|
32693
|
+
* @namespace OrderCurrentStageHistory
|
|
32694
|
+
*/
|
|
32695
|
+
export namespace OrderCurrentStageHistory {
|
|
32696
|
+
/**
|
|
32697
|
+
* @export
|
|
32698
|
+
* @enum {string}
|
|
32699
|
+
*/
|
|
32700
|
+
export enum AfterStageEnum {
|
|
32701
|
+
AccountsReceivable = <any> 'Accounts Receivable',
|
|
32702
|
+
PendingClearance = <any> 'Pending Clearance',
|
|
32703
|
+
FraudReview = <any> 'Fraud Review',
|
|
32704
|
+
Rejected = <any> 'Rejected',
|
|
32705
|
+
ShippingDepartment = <any> 'Shipping Department',
|
|
32706
|
+
CompletedOrder = <any> 'Completed Order',
|
|
32707
|
+
QuoteRequest = <any> 'Quote Request',
|
|
32708
|
+
QuoteSent = <any> 'Quote Sent',
|
|
32709
|
+
LeastCostRouting = <any> 'Least Cost Routing',
|
|
32710
|
+
Unknown = <any> 'Unknown',
|
|
32711
|
+
PreOrdered = <any> 'Pre-ordered',
|
|
32712
|
+
AdvancedOrderRouting = <any> 'Advanced Order Routing',
|
|
32713
|
+
Hold = <any> 'Hold'
|
|
32714
|
+
}
|
|
32715
|
+
/**
|
|
32716
|
+
* @export
|
|
32717
|
+
* @enum {string}
|
|
32718
|
+
*/
|
|
32719
|
+
export enum BeforeStageEnum {
|
|
32720
|
+
AccountsReceivable = <any> 'Accounts Receivable',
|
|
32721
|
+
PendingClearance = <any> 'Pending Clearance',
|
|
32722
|
+
FraudReview = <any> 'Fraud Review',
|
|
32723
|
+
Rejected = <any> 'Rejected',
|
|
32724
|
+
ShippingDepartment = <any> 'Shipping Department',
|
|
32725
|
+
CompletedOrder = <any> 'Completed Order',
|
|
32726
|
+
QuoteRequest = <any> 'Quote Request',
|
|
32727
|
+
QuoteSent = <any> 'Quote Sent',
|
|
32728
|
+
LeastCostRouting = <any> 'Least Cost Routing',
|
|
32729
|
+
Unknown = <any> 'Unknown',
|
|
32730
|
+
PreOrdered = <any> 'Pre-ordered',
|
|
32731
|
+
AdvancedOrderRouting = <any> 'Advanced Order Routing',
|
|
32732
|
+
Hold = <any> 'Hold'
|
|
32733
|
+
}
|
|
32734
|
+
}
|
|
32735
|
+
|
|
32647
32736
|
/**
|
|
32648
32737
|
*
|
|
32649
32738
|
* @export
|
|
@@ -33395,6 +33484,12 @@ export interface OrderItem {
|
|
|
33395
33484
|
* @memberof OrderItem
|
|
33396
33485
|
*/
|
|
33397
33486
|
activation_codes?: Array<string>;
|
|
33487
|
+
/**
|
|
33488
|
+
*
|
|
33489
|
+
* @type {Currency}
|
|
33490
|
+
* @memberof OrderItem
|
|
33491
|
+
*/
|
|
33492
|
+
actual_cogs?: Currency;
|
|
33398
33493
|
/**
|
|
33399
33494
|
*
|
|
33400
33495
|
* @type {Currency}
|
|
@@ -35750,12 +35845,36 @@ export interface OrderSummary {
|
|
|
35750
35845
|
* @memberof OrderSummary
|
|
35751
35846
|
*/
|
|
35752
35847
|
actual_fulfillment?: Currency;
|
|
35848
|
+
/**
|
|
35849
|
+
*
|
|
35850
|
+
* @type {Currency}
|
|
35851
|
+
* @memberof OrderSummary
|
|
35852
|
+
*/
|
|
35853
|
+
actual_other_cost?: Currency;
|
|
35753
35854
|
/**
|
|
35754
35855
|
*
|
|
35755
35856
|
* @type {Currency}
|
|
35756
35857
|
* @memberof OrderSummary
|
|
35757
35858
|
*/
|
|
35758
35859
|
actual_payment_processing?: Currency;
|
|
35860
|
+
/**
|
|
35861
|
+
*
|
|
35862
|
+
* @type {Currency}
|
|
35863
|
+
* @memberof OrderSummary
|
|
35864
|
+
*/
|
|
35865
|
+
actual_profit?: Currency;
|
|
35866
|
+
/**
|
|
35867
|
+
* Actual profit has been analyzed
|
|
35868
|
+
* @type {boolean}
|
|
35869
|
+
* @memberof OrderSummary
|
|
35870
|
+
*/
|
|
35871
|
+
actual_profit_analyzed?: boolean;
|
|
35872
|
+
/**
|
|
35873
|
+
* Actual profit needs review
|
|
35874
|
+
* @type {boolean}
|
|
35875
|
+
* @memberof OrderSummary
|
|
35876
|
+
*/
|
|
35877
|
+
actual_profit_review?: boolean;
|
|
35759
35878
|
/**
|
|
35760
35879
|
*
|
|
35761
35880
|
* @type {Currency}
|
|
@@ -63387,7 +63506,6 @@ export const CustomerApiFetchParamCreator = function (configuration?: Configurat
|
|
|
63387
63506
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
63388
63507
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
63389
63508
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
63390
|
-
* @param {any} [emails] Emails
|
|
63391
63509
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
63392
63510
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
63393
63511
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -63396,7 +63514,7 @@ export const CustomerApiFetchParamCreator = function (configuration?: Configurat
|
|
|
63396
63514
|
* @param {*} [options] Override http request option.
|
|
63397
63515
|
* @throws {RequiredError}
|
|
63398
63516
|
*/
|
|
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,
|
|
63517
|
+
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 {
|
|
63400
63518
|
const localVarPath = `/customer/customers`;
|
|
63401
63519
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
63402
63520
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
@@ -63534,10 +63652,6 @@ export const CustomerApiFetchParamCreator = function (configuration?: Configurat
|
|
|
63534
63652
|
localVarQueryParameter['pricing_tier_name'] = pricing_tier_name;
|
|
63535
63653
|
}
|
|
63536
63654
|
|
|
63537
|
-
if (emails !== undefined) {
|
|
63538
|
-
localVarQueryParameter['emails'] = emails;
|
|
63539
|
-
}
|
|
63540
|
-
|
|
63541
63655
|
if (_limit !== undefined) {
|
|
63542
63656
|
localVarQueryParameter['_limit'] = _limit;
|
|
63543
63657
|
}
|
|
@@ -64585,7 +64699,6 @@ export const CustomerApiFp = function(configuration?: Configuration) {
|
|
|
64585
64699
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
64586
64700
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
64587
64701
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
64588
|
-
* @param {any} [emails] Emails
|
|
64589
64702
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
64590
64703
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
64591
64704
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -64594,8 +64707,8 @@ export const CustomerApiFp = function(configuration?: Configuration) {
|
|
|
64594
64707
|
* @param {*} [options] Override http request option.
|
|
64595
64708
|
* @throws {RequiredError}
|
|
64596
64709
|
*/
|
|
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,
|
|
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,
|
|
64710
|
+
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> {
|
|
64711
|
+
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);
|
|
64599
64712
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
64600
64713
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
64601
64714
|
|
|
@@ -65028,7 +65141,6 @@ export const CustomerApiFactory = function (configuration?: Configuration, fetch
|
|
|
65028
65141
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
65029
65142
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
65030
65143
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
65031
|
-
* @param {any} [emails] Emails
|
|
65032
65144
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
65033
65145
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
65034
65146
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -65037,8 +65149,8 @@ export const CustomerApiFactory = function (configuration?: Configuration, fetch
|
|
|
65037
65149
|
* @param {*} [options] Override http request option.
|
|
65038
65150
|
* @throws {RequiredError}
|
|
65039
65151
|
*/
|
|
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,
|
|
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,
|
|
65152
|
+
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) {
|
|
65153
|
+
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);
|
|
65042
65154
|
},
|
|
65043
65155
|
/**
|
|
65044
65156
|
* 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.
|
|
@@ -65328,7 +65440,6 @@ export interface CustomerApiInterface {
|
|
|
65328
65440
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
65329
65441
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
65330
65442
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
65331
|
-
* @param {any} [emails] Emails
|
|
65332
65443
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
65333
65444
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
65334
65445
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -65338,7 +65449,7 @@ export interface CustomerApiInterface {
|
|
|
65338
65449
|
* @throws {RequiredError}
|
|
65339
65450
|
* @memberof CustomerApiInterface
|
|
65340
65451
|
*/
|
|
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,
|
|
65452
|
+
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>;
|
|
65342
65453
|
|
|
65343
65454
|
/**
|
|
65344
65455
|
* 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.
|
|
@@ -65650,7 +65761,6 @@ export class CustomerApi extends BaseAPI implements CustomerApiInterface {
|
|
|
65650
65761
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
65651
65762
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
65652
65763
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
65653
|
-
* @param {any} [emails] Emails
|
|
65654
65764
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
65655
65765
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
65656
65766
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -65660,8 +65770,8 @@ export class CustomerApi extends BaseAPI implements CustomerApiInterface {
|
|
|
65660
65770
|
* @throws {RequiredError}
|
|
65661
65771
|
* @memberof CustomerApi
|
|
65662
65772
|
*/
|
|
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,
|
|
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,
|
|
65773
|
+
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) {
|
|
65774
|
+
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);
|
|
65665
65775
|
}
|
|
65666
65776
|
|
|
65667
65777
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -5957,6 +5957,12 @@ export interface ChannelPartnerOrder {
|
|
|
5957
5957
|
* @memberof ChannelPartnerOrder
|
|
5958
5958
|
*/
|
|
5959
5959
|
store_if_payment_declines?: boolean;
|
|
5960
|
+
/**
|
|
5961
|
+
* StoreFront host name associated with the order
|
|
5962
|
+
* @type {string}
|
|
5963
|
+
* @memberof ChannelPartnerOrder
|
|
5964
|
+
*/
|
|
5965
|
+
storefront_host_name?: string;
|
|
5960
5966
|
/**
|
|
5961
5967
|
* The optional shipping county used to determine exact taxes
|
|
5962
5968
|
* @type {string}
|
|
@@ -14333,7 +14339,7 @@ export interface CustomerAttachment {
|
|
|
14333
14339
|
*/
|
|
14334
14340
|
file_name?: string;
|
|
14335
14341
|
/**
|
|
14336
|
-
* Mime
|
|
14342
|
+
* Mime type
|
|
14337
14343
|
* @type {string}
|
|
14338
14344
|
* @memberof CustomerAttachment
|
|
14339
14345
|
*/
|
|
@@ -28590,6 +28596,12 @@ export interface ItemReview {
|
|
|
28590
28596
|
* @memberof ItemReview
|
|
28591
28597
|
*/
|
|
28592
28598
|
helpful_yes_votes?: number;
|
|
28599
|
+
/**
|
|
28600
|
+
* Merchant Reply (set to an empty string to remove)
|
|
28601
|
+
* @type {string}
|
|
28602
|
+
* @memberof ItemReview
|
|
28603
|
+
*/
|
|
28604
|
+
merchant_reply?: string;
|
|
28593
28605
|
/**
|
|
28594
28606
|
*
|
|
28595
28607
|
* @type {string}
|
|
@@ -31126,6 +31138,12 @@ export interface Order {
|
|
|
31126
31138
|
* @memberof Order
|
|
31127
31139
|
*/
|
|
31128
31140
|
current_stage?: Order.CurrentStageEnum;
|
|
31141
|
+
/**
|
|
31142
|
+
* History of the changes to the current_stage field
|
|
31143
|
+
* @type {Array<OrderCurrentStageHistory>}
|
|
31144
|
+
* @memberof Order
|
|
31145
|
+
*/
|
|
31146
|
+
current_stage_histories?: Array<OrderCurrentStageHistory>;
|
|
31129
31147
|
/**
|
|
31130
31148
|
*
|
|
31131
31149
|
* @type {Customer}
|
|
@@ -31956,6 +31974,75 @@ export interface OrderCoupon {
|
|
|
31956
31974
|
*/
|
|
31957
31975
|
hdie_from_customer?: boolean;
|
|
31958
31976
|
}
|
|
31977
|
+
/**
|
|
31978
|
+
*
|
|
31979
|
+
* @export
|
|
31980
|
+
* @interface OrderCurrentStageHistory
|
|
31981
|
+
*/
|
|
31982
|
+
export interface OrderCurrentStageHistory {
|
|
31983
|
+
/**
|
|
31984
|
+
* New stage that the order is in.
|
|
31985
|
+
* @type {string}
|
|
31986
|
+
* @memberof OrderCurrentStageHistory
|
|
31987
|
+
*/
|
|
31988
|
+
after_stage?: OrderCurrentStageHistory.AfterStageEnum;
|
|
31989
|
+
/**
|
|
31990
|
+
* Previous stage that the order was in.
|
|
31991
|
+
* @type {string}
|
|
31992
|
+
* @memberof OrderCurrentStageHistory
|
|
31993
|
+
*/
|
|
31994
|
+
before_stage?: OrderCurrentStageHistory.BeforeStageEnum;
|
|
31995
|
+
/**
|
|
31996
|
+
* Date/time that the stage transitioned
|
|
31997
|
+
* @type {string}
|
|
31998
|
+
* @memberof OrderCurrentStageHistory
|
|
31999
|
+
*/
|
|
32000
|
+
transition_dts?: string;
|
|
32001
|
+
}
|
|
32002
|
+
/**
|
|
32003
|
+
* @export
|
|
32004
|
+
* @namespace OrderCurrentStageHistory
|
|
32005
|
+
*/
|
|
32006
|
+
export declare namespace OrderCurrentStageHistory {
|
|
32007
|
+
/**
|
|
32008
|
+
* @export
|
|
32009
|
+
* @enum {string}
|
|
32010
|
+
*/
|
|
32011
|
+
enum AfterStageEnum {
|
|
32012
|
+
AccountsReceivable,
|
|
32013
|
+
PendingClearance,
|
|
32014
|
+
FraudReview,
|
|
32015
|
+
Rejected,
|
|
32016
|
+
ShippingDepartment,
|
|
32017
|
+
CompletedOrder,
|
|
32018
|
+
QuoteRequest,
|
|
32019
|
+
QuoteSent,
|
|
32020
|
+
LeastCostRouting,
|
|
32021
|
+
Unknown,
|
|
32022
|
+
PreOrdered,
|
|
32023
|
+
AdvancedOrderRouting,
|
|
32024
|
+
Hold
|
|
32025
|
+
}
|
|
32026
|
+
/**
|
|
32027
|
+
* @export
|
|
32028
|
+
* @enum {string}
|
|
32029
|
+
*/
|
|
32030
|
+
enum BeforeStageEnum {
|
|
32031
|
+
AccountsReceivable,
|
|
32032
|
+
PendingClearance,
|
|
32033
|
+
FraudReview,
|
|
32034
|
+
Rejected,
|
|
32035
|
+
ShippingDepartment,
|
|
32036
|
+
CompletedOrder,
|
|
32037
|
+
QuoteRequest,
|
|
32038
|
+
QuoteSent,
|
|
32039
|
+
LeastCostRouting,
|
|
32040
|
+
Unknown,
|
|
32041
|
+
PreOrdered,
|
|
32042
|
+
AdvancedOrderRouting,
|
|
32043
|
+
Hold
|
|
32044
|
+
}
|
|
32045
|
+
}
|
|
31959
32046
|
/**
|
|
31960
32047
|
*
|
|
31961
32048
|
* @export
|
|
@@ -32692,6 +32779,12 @@ export interface OrderItem {
|
|
|
32692
32779
|
* @memberof OrderItem
|
|
32693
32780
|
*/
|
|
32694
32781
|
activation_codes?: Array<string>;
|
|
32782
|
+
/**
|
|
32783
|
+
*
|
|
32784
|
+
* @type {Currency}
|
|
32785
|
+
* @memberof OrderItem
|
|
32786
|
+
*/
|
|
32787
|
+
actual_cogs?: Currency;
|
|
32695
32788
|
/**
|
|
32696
32789
|
*
|
|
32697
32790
|
* @type {Currency}
|
|
@@ -35003,12 +35096,36 @@ export interface OrderSummary {
|
|
|
35003
35096
|
* @memberof OrderSummary
|
|
35004
35097
|
*/
|
|
35005
35098
|
actual_fulfillment?: Currency;
|
|
35099
|
+
/**
|
|
35100
|
+
*
|
|
35101
|
+
* @type {Currency}
|
|
35102
|
+
* @memberof OrderSummary
|
|
35103
|
+
*/
|
|
35104
|
+
actual_other_cost?: Currency;
|
|
35006
35105
|
/**
|
|
35007
35106
|
*
|
|
35008
35107
|
* @type {Currency}
|
|
35009
35108
|
* @memberof OrderSummary
|
|
35010
35109
|
*/
|
|
35011
35110
|
actual_payment_processing?: Currency;
|
|
35111
|
+
/**
|
|
35112
|
+
*
|
|
35113
|
+
* @type {Currency}
|
|
35114
|
+
* @memberof OrderSummary
|
|
35115
|
+
*/
|
|
35116
|
+
actual_profit?: Currency;
|
|
35117
|
+
/**
|
|
35118
|
+
* Actual profit has been analyzed
|
|
35119
|
+
* @type {boolean}
|
|
35120
|
+
* @memberof OrderSummary
|
|
35121
|
+
*/
|
|
35122
|
+
actual_profit_analyzed?: boolean;
|
|
35123
|
+
/**
|
|
35124
|
+
* Actual profit needs review
|
|
35125
|
+
* @type {boolean}
|
|
35126
|
+
* @memberof OrderSummary
|
|
35127
|
+
*/
|
|
35128
|
+
actual_profit_review?: boolean;
|
|
35012
35129
|
/**
|
|
35013
35130
|
*
|
|
35014
35131
|
* @type {Currency}
|
|
@@ -51470,7 +51587,6 @@ export declare const CustomerApiFetchParamCreator: (configuration?: Configuratio
|
|
|
51470
51587
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
51471
51588
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
51472
51589
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
51473
|
-
* @param {any} [emails] Emails
|
|
51474
51590
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
51475
51591
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
51476
51592
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -51479,7 +51595,7 @@ export declare const CustomerApiFetchParamCreator: (configuration?: Configuratio
|
|
|
51479
51595
|
* @param {*} [options] Override http request option.
|
|
51480
51596
|
* @throws {RequiredError}
|
|
51481
51597
|
*/
|
|
51482
|
-
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,
|
|
51598
|
+
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;
|
|
51483
51599
|
/**
|
|
51484
51600
|
* 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.
|
|
51485
51601
|
* @summary Retrieve customers by query
|
|
@@ -51719,7 +51835,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
51719
51835
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
51720
51836
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
51721
51837
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
51722
|
-
* @param {any} [emails] Emails
|
|
51723
51838
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
51724
51839
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
51725
51840
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -51728,7 +51843,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
51728
51843
|
* @param {*} [options] Override http request option.
|
|
51729
51844
|
* @throws {RequiredError}
|
|
51730
51845
|
*/
|
|
51731
|
-
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,
|
|
51846
|
+
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>;
|
|
51732
51847
|
/**
|
|
51733
51848
|
* 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.
|
|
51734
51849
|
* @summary Retrieve customers by query
|
|
@@ -51968,7 +52083,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, fetch?:
|
|
|
51968
52083
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
51969
52084
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
51970
52085
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
51971
|
-
* @param {any} [emails] Emails
|
|
51972
52086
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
51973
52087
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
51974
52088
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -51977,7 +52091,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, fetch?:
|
|
|
51977
52091
|
* @param {*} [options] Override http request option.
|
|
51978
52092
|
* @throws {RequiredError}
|
|
51979
52093
|
*/
|
|
51980
|
-
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,
|
|
52094
|
+
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>;
|
|
51981
52095
|
/**
|
|
51982
52096
|
* 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.
|
|
51983
52097
|
* @summary Retrieve customers by query
|
|
@@ -52229,7 +52343,6 @@ export interface CustomerApiInterface {
|
|
|
52229
52343
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
52230
52344
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
52231
52345
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
52232
|
-
* @param {any} [emails] Emails
|
|
52233
52346
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
52234
52347
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
52235
52348
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -52239,7 +52352,7 @@ export interface CustomerApiInterface {
|
|
|
52239
52352
|
* @throws {RequiredError}
|
|
52240
52353
|
* @memberof CustomerApiInterface
|
|
52241
52354
|
*/
|
|
52242
|
-
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,
|
|
52355
|
+
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>;
|
|
52243
52356
|
/**
|
|
52244
52357
|
* 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.
|
|
52245
52358
|
* @summary Retrieve customers by query
|
|
@@ -52504,7 +52617,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
52504
52617
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
52505
52618
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
52506
52619
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
52507
|
-
* @param {any} [emails] Emails
|
|
52508
52620
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
52509
52621
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
52510
52622
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -52514,7 +52626,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
52514
52626
|
* @throws {RequiredError}
|
|
52515
52627
|
* @memberof CustomerApi
|
|
52516
52628
|
*/
|
|
52517
|
-
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,
|
|
52629
|
+
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>;
|
|
52518
52630
|
/**
|
|
52519
52631
|
* 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.
|
|
52520
52632
|
* @summary Retrieve customers by query
|
package/dist/api.js
CHANGED
|
@@ -29,9 +29,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
29
29
|
})();
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
31
|
exports.ItemTax = exports.ItemTag = exports.ItemShippingMethod = exports.ItemShippingDestinationRestriction = exports.ItemReview = exports.ItemRestrictionItem = exports.ItemRelatedItem = exports.ItemOptionValue = exports.ItemOption = exports.ItemContentMultimedia = exports.ItemAutoOrderStep = exports.Experiment = exports.EmailPerformance = exports.EmailCommseqStep = exports.Distance = exports.Coupon = exports.ConversationWebsocketMessage = exports.ConversationWebchatQueueStatusUpdateRequest = exports.ConversationWebchatQueueStatusAgent = exports.ConversationSummary = exports.ConversationSentiment = exports.ConversationPbxVoicemailMessageSummary = exports.ConversationPbxVoicemailMessage = exports.ConversationPbxVoicemailMailbox = exports.ConversationPbxTimeBasedMapping = exports.ConversationPbxPhoneNumber = exports.ConversationPbxMenuMapping = exports.ConversationPbxMenu = exports.ConversationMessageTransportStatus = exports.ConversationMessage = exports.ConversationEventRRWeb = exports.ConversationEngagementEquationFunction = exports.ConversationEngagement = exports.ConversationAgentProfile = exports.Conversation = exports.CheckoutHandoffRequest = exports.ChannelPartnerOrderItem = exports.ChannelPartnerOrder = exports.CartKitComponentOption = exports.CartItemOption = exports.CartItemMultimedia = exports.CartCustomerProfileCreditCard = exports.AutoOrderItemSimpleSchedule = exports.AutoOrderItem = exports.AutoOrder = exports.AffiliateLink = exports.AffiliateLedger = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.WorkflowApi = exports.WorkflowApiFactory = exports.WorkflowApiFp = exports.WorkflowApiFetchParamCreator = exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = exports.TaxApiFactory = exports.TaxApiFp = void 0;
|
|
32
|
+
exports.CheckoutApiFp = exports.CheckoutApiFetchParamCreator = exports.ChargebackApi = exports.ChargebackApiFactory = exports.ChargebackApiFp = exports.ChargebackApiFetchParamCreator = exports.ChannelPartnerApi = exports.ChannelPartnerApiFactory = exports.ChannelPartnerApiFp = exports.ChannelPartnerApiFetchParamCreator = exports.AutoOrderApi = exports.AutoOrderApiFactory = exports.AutoOrderApiFp = exports.AutoOrderApiFetchParamCreator = exports.AffiliateApi = exports.AffiliateApiFactory = exports.AffiliateApiFp = exports.AffiliateApiFetchParamCreator = exports.WorkflowTasksRequest = exports.WorkflowTask = exports.Weight = exports.Webhook = exports.TempMultimedia = exports.ReportWebsocketEvent = exports.ReportPageVisualizationMetric = exports.ReportPageVisualization = exports.ReportFilter = exports.ReportExecuteQueriesRequest = exports.ReportDataSourceSchema = exports.ReportDataSetSchema = exports.ReportDataSetQuery = exports.ReportDataSet = exports.Report = exports.PointOfSaleReader = exports.OrderQueryBatch = exports.OrderQuery = exports.OrderPaymentECheck = exports.OrderPaymentCreditCard = exports.OrderPayment = exports.OrderItemOption = exports.OrderItem = exports.OrderFraudScore = exports.OrderFormat = exports.OrderEdiDocument = exports.OrderCurrentStageHistory = exports.OrderAutoOrder = exports.OrderAffiliateLedger = exports.Order = exports.OauthTokenResponse = exports.ItemThirdPartyEmailMarketing = void 0;
|
|
33
|
+
exports.StorefrontApi = exports.StorefrontApiFactory = exports.StorefrontApiFp = exports.StorefrontApiFetchParamCreator = exports.SsoApi = exports.SsoApiFactory = exports.SsoApiFp = exports.SsoApiFetchParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiFetchParamCreator = exports.OauthApi = exports.OauthApiFactory = exports.OauthApiFp = exports.OauthApiFetchParamCreator = exports.ItemApi = exports.ItemApiFactory = exports.ItemApiFp = exports.ItemApiFetchParamCreator = exports.IntegrationLogApi = exports.IntegrationLogApiFactory = exports.IntegrationLogApiFp = exports.IntegrationLogApiFetchParamCreator = exports.GiftCertificateApi = exports.GiftCertificateApiFactory = exports.GiftCertificateApiFp = exports.GiftCertificateApiFetchParamCreator = exports.FulfillmentApi = exports.FulfillmentApiFactory = exports.FulfillmentApiFp = exports.FulfillmentApiFetchParamCreator = exports.DatawarehouseApi = exports.DatawarehouseApiFactory = exports.DatawarehouseApiFp = exports.DatawarehouseApiFetchParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiFetchParamCreator = exports.CouponApi = exports.CouponApiFactory = exports.CouponApiFp = exports.CouponApiFetchParamCreator = exports.ConversationApi = exports.ConversationApiFactory = exports.ConversationApiFp = exports.ConversationApiFetchParamCreator = exports.CheckoutApi = exports.CheckoutApiFactory = void 0;
|
|
34
|
+
exports.WorkflowApi = exports.WorkflowApiFactory = exports.WorkflowApiFp = exports.WorkflowApiFetchParamCreator = exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = exports.TaxApiFactory = exports.TaxApiFp = exports.TaxApiFetchParamCreator = void 0;
|
|
35
35
|
var url = require("url");
|
|
36
36
|
var portableFetch = require("portable-fetch");
|
|
37
37
|
var BASE_PATH = "https://secure.ultracart.com/rest/v2".replace(/\/+$/, "");
|
|
@@ -1231,6 +1231,53 @@ var OrderAutoOrder;
|
|
|
1231
1231
|
StatusEnum[StatusEnum["Disabled"] = 'disabled'] = "Disabled";
|
|
1232
1232
|
})(StatusEnum = OrderAutoOrder.StatusEnum || (OrderAutoOrder.StatusEnum = {}));
|
|
1233
1233
|
})(OrderAutoOrder = exports.OrderAutoOrder || (exports.OrderAutoOrder = {}));
|
|
1234
|
+
/**
|
|
1235
|
+
* @export
|
|
1236
|
+
* @namespace OrderCurrentStageHistory
|
|
1237
|
+
*/
|
|
1238
|
+
var OrderCurrentStageHistory;
|
|
1239
|
+
(function (OrderCurrentStageHistory) {
|
|
1240
|
+
/**
|
|
1241
|
+
* @export
|
|
1242
|
+
* @enum {string}
|
|
1243
|
+
*/
|
|
1244
|
+
var AfterStageEnum;
|
|
1245
|
+
(function (AfterStageEnum) {
|
|
1246
|
+
AfterStageEnum[AfterStageEnum["AccountsReceivable"] = 'Accounts Receivable'] = "AccountsReceivable";
|
|
1247
|
+
AfterStageEnum[AfterStageEnum["PendingClearance"] = 'Pending Clearance'] = "PendingClearance";
|
|
1248
|
+
AfterStageEnum[AfterStageEnum["FraudReview"] = 'Fraud Review'] = "FraudReview";
|
|
1249
|
+
AfterStageEnum[AfterStageEnum["Rejected"] = 'Rejected'] = "Rejected";
|
|
1250
|
+
AfterStageEnum[AfterStageEnum["ShippingDepartment"] = 'Shipping Department'] = "ShippingDepartment";
|
|
1251
|
+
AfterStageEnum[AfterStageEnum["CompletedOrder"] = 'Completed Order'] = "CompletedOrder";
|
|
1252
|
+
AfterStageEnum[AfterStageEnum["QuoteRequest"] = 'Quote Request'] = "QuoteRequest";
|
|
1253
|
+
AfterStageEnum[AfterStageEnum["QuoteSent"] = 'Quote Sent'] = "QuoteSent";
|
|
1254
|
+
AfterStageEnum[AfterStageEnum["LeastCostRouting"] = 'Least Cost Routing'] = "LeastCostRouting";
|
|
1255
|
+
AfterStageEnum[AfterStageEnum["Unknown"] = 'Unknown'] = "Unknown";
|
|
1256
|
+
AfterStageEnum[AfterStageEnum["PreOrdered"] = 'Pre-ordered'] = "PreOrdered";
|
|
1257
|
+
AfterStageEnum[AfterStageEnum["AdvancedOrderRouting"] = 'Advanced Order Routing'] = "AdvancedOrderRouting";
|
|
1258
|
+
AfterStageEnum[AfterStageEnum["Hold"] = 'Hold'] = "Hold";
|
|
1259
|
+
})(AfterStageEnum = OrderCurrentStageHistory.AfterStageEnum || (OrderCurrentStageHistory.AfterStageEnum = {}));
|
|
1260
|
+
/**
|
|
1261
|
+
* @export
|
|
1262
|
+
* @enum {string}
|
|
1263
|
+
*/
|
|
1264
|
+
var BeforeStageEnum;
|
|
1265
|
+
(function (BeforeStageEnum) {
|
|
1266
|
+
BeforeStageEnum[BeforeStageEnum["AccountsReceivable"] = 'Accounts Receivable'] = "AccountsReceivable";
|
|
1267
|
+
BeforeStageEnum[BeforeStageEnum["PendingClearance"] = 'Pending Clearance'] = "PendingClearance";
|
|
1268
|
+
BeforeStageEnum[BeforeStageEnum["FraudReview"] = 'Fraud Review'] = "FraudReview";
|
|
1269
|
+
BeforeStageEnum[BeforeStageEnum["Rejected"] = 'Rejected'] = "Rejected";
|
|
1270
|
+
BeforeStageEnum[BeforeStageEnum["ShippingDepartment"] = 'Shipping Department'] = "ShippingDepartment";
|
|
1271
|
+
BeforeStageEnum[BeforeStageEnum["CompletedOrder"] = 'Completed Order'] = "CompletedOrder";
|
|
1272
|
+
BeforeStageEnum[BeforeStageEnum["QuoteRequest"] = 'Quote Request'] = "QuoteRequest";
|
|
1273
|
+
BeforeStageEnum[BeforeStageEnum["QuoteSent"] = 'Quote Sent'] = "QuoteSent";
|
|
1274
|
+
BeforeStageEnum[BeforeStageEnum["LeastCostRouting"] = 'Least Cost Routing'] = "LeastCostRouting";
|
|
1275
|
+
BeforeStageEnum[BeforeStageEnum["Unknown"] = 'Unknown'] = "Unknown";
|
|
1276
|
+
BeforeStageEnum[BeforeStageEnum["PreOrdered"] = 'Pre-ordered'] = "PreOrdered";
|
|
1277
|
+
BeforeStageEnum[BeforeStageEnum["AdvancedOrderRouting"] = 'Advanced Order Routing'] = "AdvancedOrderRouting";
|
|
1278
|
+
BeforeStageEnum[BeforeStageEnum["Hold"] = 'Hold'] = "Hold";
|
|
1279
|
+
})(BeforeStageEnum = OrderCurrentStageHistory.BeforeStageEnum || (OrderCurrentStageHistory.BeforeStageEnum = {}));
|
|
1280
|
+
})(OrderCurrentStageHistory = exports.OrderCurrentStageHistory || (exports.OrderCurrentStageHistory = {}));
|
|
1234
1281
|
/**
|
|
1235
1282
|
* @export
|
|
1236
1283
|
* @namespace OrderEdiDocument
|
|
@@ -17318,7 +17365,6 @@ var CustomerApiFetchParamCreator = function (configuration) {
|
|
|
17318
17365
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
17319
17366
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
17320
17367
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
17321
|
-
* @param {any} [emails] Emails
|
|
17322
17368
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
17323
17369
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
17324
17370
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -17327,7 +17373,7 @@ var CustomerApiFetchParamCreator = function (configuration) {
|
|
|
17327
17373
|
* @param {*} [options] Override http request option.
|
|
17328
17374
|
* @throws {RequiredError}
|
|
17329
17375
|
*/
|
|
17330
|
-
getCustomers: function (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,
|
|
17376
|
+
getCustomers: function (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) {
|
|
17331
17377
|
if (options === void 0) { options = {}; }
|
|
17332
17378
|
var localVarPath = "/customer/customers";
|
|
17333
17379
|
var localVarUrlObj = url.parse(localVarPath, true);
|
|
@@ -17433,9 +17479,6 @@ var CustomerApiFetchParamCreator = function (configuration) {
|
|
|
17433
17479
|
if (pricing_tier_name !== undefined) {
|
|
17434
17480
|
localVarQueryParameter['pricing_tier_name'] = pricing_tier_name;
|
|
17435
17481
|
}
|
|
17436
|
-
if (emails !== undefined) {
|
|
17437
|
-
localVarQueryParameter['emails'] = emails;
|
|
17438
|
-
}
|
|
17439
17482
|
if (_limit !== undefined) {
|
|
17440
17483
|
localVarQueryParameter['_limit'] = _limit;
|
|
17441
17484
|
}
|
|
@@ -18396,7 +18439,6 @@ var CustomerApiFp = function (configuration) {
|
|
|
18396
18439
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
18397
18440
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
18398
18441
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
18399
|
-
* @param {any} [emails] Emails
|
|
18400
18442
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
18401
18443
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
18402
18444
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -18405,8 +18447,8 @@ var CustomerApiFp = function (configuration) {
|
|
|
18405
18447
|
* @param {*} [options] Override http request option.
|
|
18406
18448
|
* @throws {RequiredError}
|
|
18407
18449
|
*/
|
|
18408
|
-
getCustomers: function (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,
|
|
18409
|
-
var localVarFetchArgs = (0, exports.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,
|
|
18450
|
+
getCustomers: function (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) {
|
|
18451
|
+
var localVarFetchArgs = (0, exports.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);
|
|
18410
18452
|
return function (fetch, basePath) {
|
|
18411
18453
|
if (fetch === void 0) { fetch = portableFetch; }
|
|
18412
18454
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
@@ -18852,7 +18894,6 @@ var CustomerApiFactory = function (configuration, fetch, basePath) {
|
|
|
18852
18894
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
18853
18895
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
18854
18896
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
18855
|
-
* @param {any} [emails] Emails
|
|
18856
18897
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
18857
18898
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
18858
18899
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -18861,8 +18902,8 @@ var CustomerApiFactory = function (configuration, fetch, basePath) {
|
|
|
18861
18902
|
* @param {*} [options] Override http request option.
|
|
18862
18903
|
* @throws {RequiredError}
|
|
18863
18904
|
*/
|
|
18864
|
-
getCustomers: function (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,
|
|
18865
|
-
return (0, exports.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,
|
|
18905
|
+
getCustomers: function (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) {
|
|
18906
|
+
return (0, exports.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);
|
|
18866
18907
|
},
|
|
18867
18908
|
/**
|
|
18868
18909
|
* 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.
|
|
@@ -19168,7 +19209,6 @@ var CustomerApi = /** @class */ (function (_super) {
|
|
|
19168
19209
|
* @param {string} [shipping_evening_phone] Shipping evening phone
|
|
19169
19210
|
* @param {number} [pricing_tier_oid] Pricing tier oid
|
|
19170
19211
|
* @param {string} [pricing_tier_name] Pricing tier name
|
|
19171
|
-
* @param {any} [emails] Emails
|
|
19172
19212
|
* @param {number} [_limit] The maximum number of records to return on this one API call. (Max 200)
|
|
19173
19213
|
* @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
|
|
19174
19214
|
* @param {string} [_since] Fetch customers that have been created/modified since this date/time.
|
|
@@ -19178,8 +19218,8 @@ var CustomerApi = /** @class */ (function (_super) {
|
|
|
19178
19218
|
* @throws {RequiredError}
|
|
19179
19219
|
* @memberof CustomerApi
|
|
19180
19220
|
*/
|
|
19181
|
-
CustomerApi.prototype.getCustomers = function (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,
|
|
19182
|
-
return (0, exports.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,
|
|
19221
|
+
CustomerApi.prototype.getCustomers = function (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) {
|
|
19222
|
+
return (0, exports.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);
|
|
19183
19223
|
};
|
|
19184
19224
|
/**
|
|
19185
19225
|
* 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.
|