@emilgroup/customer-sdk-node 1.46.0 → 1.46.1-beta.1
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 +2 -2
- package/api/claims-api.ts +40 -40
- package/api/customers-api.ts +40 -40
- package/api/documents-api.ts +40 -40
- package/api/invites-api.ts +4 -4
- package/api/invoices-api.ts +40 -40
- package/api/leads-api.ts +40 -40
- package/api/policies-api.ts +40 -40
- package/api/products-api.ts +40 -40
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +9 -0
- package/dist/api/authentication-api.js +60 -23
- package/dist/api/claims-api.d.ts +40 -40
- package/dist/api/claims-api.js +67 -38
- package/dist/api/customers-api.d.ts +40 -40
- package/dist/api/customers-api.js +74 -41
- package/dist/api/default-api.js +18 -5
- package/dist/api/documents-api.d.ts +43 -43
- package/dist/api/documents-api.js +53 -32
- package/dist/api/invites-api.d.ts +4 -4
- package/dist/api/invites-api.js +43 -18
- package/dist/api/invoices-api.d.ts +40 -40
- package/dist/api/invoices-api.js +39 -26
- package/dist/api/leads-api.d.ts +40 -40
- package/dist/api/leads-api.js +60 -35
- package/dist/api/payments-api.js +25 -8
- package/dist/api/policies-api.d.ts +40 -40
- package/dist/api/policies-api.js +81 -44
- package/dist/api/products-api.d.ts +40 -40
- package/dist/api/products-api.js +46 -29
- package/dist/base.js +25 -15
- package/dist/common.d.ts +1 -1
- package/dist/common.js +4 -4
- package/dist/configuration.d.ts +6 -0
- package/dist/configuration.js +8 -0
- package/dist/models/policy-class.d.ts +48 -0
- package/models/policy-class.ts +48 -0
- package/package.json +4 -4
- package/tsconfig.json +1 -0
|
@@ -22,18 +22,18 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22
22
|
* List all the invoices of a customer.
|
|
23
23
|
* @summary List invoices of a customer
|
|
24
24
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
25
|
-
* @param {
|
|
26
|
-
* @param {
|
|
27
|
-
* @param {
|
|
28
|
-
* @param {
|
|
29
|
-
* @param {
|
|
30
|
-
* @param {
|
|
31
|
-
* @param {
|
|
25
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
26
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
27
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
28
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
29
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
30
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
31
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
32
32
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
33
33
|
* @param {*} [options] Override http request option.
|
|
34
34
|
* @throws {RequiredError}
|
|
35
35
|
*/
|
|
36
|
-
listInvoices: (customerCode: string, pageSize?:
|
|
36
|
+
listInvoices: (customerCode: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
* InvoicesApi - functional programming interface
|
|
@@ -44,18 +44,18 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
44
44
|
* List all the invoices of a customer.
|
|
45
45
|
* @summary List invoices of a customer
|
|
46
46
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
47
|
-
* @param {
|
|
48
|
-
* @param {
|
|
49
|
-
* @param {
|
|
50
|
-
* @param {
|
|
51
|
-
* @param {
|
|
52
|
-
* @param {
|
|
53
|
-
* @param {
|
|
47
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
48
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
49
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
50
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
51
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
52
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
53
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
54
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
57
57
|
*/
|
|
58
|
-
listInvoices(customerCode: string, pageSize?:
|
|
58
|
+
listInvoices(customerCode: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>>;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* InvoicesApi - factory interface
|
|
@@ -66,18 +66,18 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
66
66
|
* List all the invoices of a customer.
|
|
67
67
|
* @summary List invoices of a customer
|
|
68
68
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
69
|
-
* @param {
|
|
70
|
-
* @param {
|
|
71
|
-
* @param {
|
|
72
|
-
* @param {
|
|
73
|
-
* @param {
|
|
74
|
-
* @param {
|
|
75
|
-
* @param {
|
|
69
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
70
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
71
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
72
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
73
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
74
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
75
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
76
76
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
78
78
|
* @throws {RequiredError}
|
|
79
79
|
*/
|
|
80
|
-
listInvoices(customerCode: string, pageSize?:
|
|
80
|
+
listInvoices(customerCode: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* Request parameters for listInvoices operation in InvoicesApi.
|
|
@@ -93,46 +93,46 @@ export interface InvoicesApiListInvoicesRequest {
|
|
|
93
93
|
readonly customerCode: string;
|
|
94
94
|
/**
|
|
95
95
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
96
|
-
* @type {
|
|
96
|
+
* @type {number}
|
|
97
97
|
* @memberof InvoicesApiListInvoices
|
|
98
98
|
*/
|
|
99
|
-
readonly pageSize?:
|
|
99
|
+
readonly pageSize?: number;
|
|
100
100
|
/**
|
|
101
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1,
|
|
102
|
-
* @type {
|
|
101
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
102
|
+
* @type {string}
|
|
103
103
|
* @memberof InvoicesApiListInvoices
|
|
104
104
|
*/
|
|
105
|
-
readonly pageToken?:
|
|
105
|
+
readonly pageToken?: string;
|
|
106
106
|
/**
|
|
107
107
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
108
|
-
* @type {
|
|
108
|
+
* @type {string}
|
|
109
109
|
* @memberof InvoicesApiListInvoices
|
|
110
110
|
*/
|
|
111
|
-
readonly filter?:
|
|
111
|
+
readonly filter?: string;
|
|
112
112
|
/**
|
|
113
113
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
114
|
-
* @type {
|
|
114
|
+
* @type {string}
|
|
115
115
|
* @memberof InvoicesApiListInvoices
|
|
116
116
|
*/
|
|
117
|
-
readonly search?:
|
|
117
|
+
readonly search?: string;
|
|
118
118
|
/**
|
|
119
119
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
120
|
-
* @type {
|
|
120
|
+
* @type {string}
|
|
121
121
|
* @memberof InvoicesApiListInvoices
|
|
122
122
|
*/
|
|
123
|
-
readonly order?:
|
|
123
|
+
readonly order?: string;
|
|
124
124
|
/**
|
|
125
|
-
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in
|
|
126
|
-
* @type {
|
|
125
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
126
|
+
* @type {string}
|
|
127
127
|
* @memberof InvoicesApiListInvoices
|
|
128
128
|
*/
|
|
129
|
-
readonly expand?:
|
|
129
|
+
readonly expand?: string;
|
|
130
130
|
/**
|
|
131
131
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
132
|
-
* @type {
|
|
132
|
+
* @type {string}
|
|
133
133
|
* @memberof InvoicesApiListInvoices
|
|
134
134
|
*/
|
|
135
|
-
readonly filters?:
|
|
135
|
+
readonly filters?: string;
|
|
136
136
|
/**
|
|
137
137
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
138
138
|
* @type {string}
|
package/dist/api/invoices-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -100,21 +109,25 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
100
109
|
* List all the invoices of a customer.
|
|
101
110
|
* @summary List invoices of a customer
|
|
102
111
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
103
|
-
* @param {
|
|
104
|
-
* @param {
|
|
105
|
-
* @param {
|
|
106
|
-
* @param {
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
112
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
113
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
114
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
115
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
116
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
117
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
118
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
110
119
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
111
120
|
* @param {*} [options] Override http request option.
|
|
112
121
|
* @throws {RequiredError}
|
|
113
122
|
*/
|
|
114
|
-
listInvoices: function (
|
|
115
|
-
|
|
116
|
-
|
|
123
|
+
listInvoices: function (customerCode_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1, authorization_1) {
|
|
124
|
+
var args_1 = [];
|
|
125
|
+
for (var _i = 9; _i < arguments.length; _i++) {
|
|
126
|
+
args_1[_i - 9] = arguments[_i];
|
|
127
|
+
}
|
|
128
|
+
return __awaiter(_this, __spreadArray([customerCode_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1, authorization_1], args_1, true), void 0, function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
|
|
117
129
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
130
|
+
if (options === void 0) { options = {}; }
|
|
118
131
|
return __generator(this, function (_a) {
|
|
119
132
|
// verify required parameter 'customerCode' is not null or undefined
|
|
120
133
|
(0, common_1.assertParamExists)('listInvoices', 'customerCode', customerCode);
|
|
@@ -176,13 +189,13 @@ var InvoicesApiFp = function (configuration) {
|
|
|
176
189
|
* List all the invoices of a customer.
|
|
177
190
|
* @summary List invoices of a customer
|
|
178
191
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
179
|
-
* @param {
|
|
180
|
-
* @param {
|
|
181
|
-
* @param {
|
|
182
|
-
* @param {
|
|
183
|
-
* @param {
|
|
184
|
-
* @param {
|
|
185
|
-
* @param {
|
|
192
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
193
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
194
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
195
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
196
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
197
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
198
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
186
199
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
200
|
* @param {*} [options] Override http request option.
|
|
188
201
|
* @throws {RequiredError}
|
|
@@ -214,13 +227,13 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
214
227
|
* List all the invoices of a customer.
|
|
215
228
|
* @summary List invoices of a customer
|
|
216
229
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
217
|
-
* @param {
|
|
218
|
-
* @param {
|
|
219
|
-
* @param {
|
|
220
|
-
* @param {
|
|
221
|
-
* @param {
|
|
222
|
-
* @param {
|
|
223
|
-
* @param {
|
|
230
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
231
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
232
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
233
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
234
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
235
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
236
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
224
237
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
225
238
|
* @param {*} [options] Override http request option.
|
|
226
239
|
* @throws {RequiredError}
|
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -49,17 +49,17 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
49
49
|
* @summary List leads
|
|
50
50
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
51
51
|
* @param {string} [authorization] Bearer Token
|
|
52
|
-
* @param {
|
|
53
|
-
* @param {
|
|
54
|
-
* @param {
|
|
55
|
-
* @param {
|
|
56
|
-
* @param {
|
|
57
|
-
* @param {
|
|
58
|
-
* @param {
|
|
52
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
53
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
54
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
55
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
56
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
57
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
58
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
listLeads: (customerCode: string, authorization?: string, pageSize?:
|
|
62
|
+
listLeads: (customerCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
63
|
/**
|
|
64
64
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
65
65
|
* @summary Update the lead
|
|
@@ -103,17 +103,17 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
103
103
|
* @summary List leads
|
|
104
104
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
105
105
|
* @param {string} [authorization] Bearer Token
|
|
106
|
-
* @param {
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {
|
|
111
|
-
* @param {
|
|
112
|
-
* @param {
|
|
106
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
107
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
108
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
109
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
110
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
111
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
112
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
113
113
|
* @param {*} [options] Override http request option.
|
|
114
114
|
* @throws {RequiredError}
|
|
115
115
|
*/
|
|
116
|
-
listLeads(customerCode: string, authorization?: string, pageSize?:
|
|
116
|
+
listLeads(customerCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
|
|
117
117
|
/**
|
|
118
118
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
119
119
|
* @summary Update the lead
|
|
@@ -157,17 +157,17 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
157
157
|
* @summary List leads
|
|
158
158
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
159
159
|
* @param {string} [authorization] Bearer Token
|
|
160
|
-
* @param {
|
|
161
|
-
* @param {
|
|
162
|
-
* @param {
|
|
163
|
-
* @param {
|
|
164
|
-
* @param {
|
|
165
|
-
* @param {
|
|
166
|
-
* @param {
|
|
160
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
161
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
162
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
163
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
164
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
165
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
166
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
listLeads(customerCode: string, authorization?: string, pageSize?:
|
|
170
|
+
listLeads(customerCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLeadsResponseClass>;
|
|
171
171
|
/**
|
|
172
172
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
173
173
|
* @summary Update the lead
|
|
@@ -256,46 +256,46 @@ export interface LeadsApiListLeadsRequest {
|
|
|
256
256
|
readonly authorization?: string;
|
|
257
257
|
/**
|
|
258
258
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
259
|
-
* @type {
|
|
259
|
+
* @type {number}
|
|
260
260
|
* @memberof LeadsApiListLeads
|
|
261
261
|
*/
|
|
262
|
-
readonly pageSize?:
|
|
262
|
+
readonly pageSize?: number;
|
|
263
263
|
/**
|
|
264
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1,
|
|
265
|
-
* @type {
|
|
264
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
265
|
+
* @type {string}
|
|
266
266
|
* @memberof LeadsApiListLeads
|
|
267
267
|
*/
|
|
268
|
-
readonly pageToken?:
|
|
268
|
+
readonly pageToken?: string;
|
|
269
269
|
/**
|
|
270
270
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
271
|
-
* @type {
|
|
271
|
+
* @type {string}
|
|
272
272
|
* @memberof LeadsApiListLeads
|
|
273
273
|
*/
|
|
274
|
-
readonly filter?:
|
|
274
|
+
readonly filter?: string;
|
|
275
275
|
/**
|
|
276
276
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
277
|
-
* @type {
|
|
277
|
+
* @type {string}
|
|
278
278
|
* @memberof LeadsApiListLeads
|
|
279
279
|
*/
|
|
280
|
-
readonly search?:
|
|
280
|
+
readonly search?: string;
|
|
281
281
|
/**
|
|
282
282
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
283
|
-
* @type {
|
|
283
|
+
* @type {string}
|
|
284
284
|
* @memberof LeadsApiListLeads
|
|
285
285
|
*/
|
|
286
|
-
readonly order?:
|
|
286
|
+
readonly order?: string;
|
|
287
287
|
/**
|
|
288
|
-
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in
|
|
289
|
-
* @type {
|
|
288
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
289
|
+
* @type {string}
|
|
290
290
|
* @memberof LeadsApiListLeads
|
|
291
291
|
*/
|
|
292
|
-
readonly expand?:
|
|
292
|
+
readonly expand?: string;
|
|
293
293
|
/**
|
|
294
294
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
295
|
-
* @type {
|
|
295
|
+
* @type {string}
|
|
296
296
|
* @memberof LeadsApiListLeads
|
|
297
297
|
*/
|
|
298
|
-
readonly filters?:
|
|
298
|
+
readonly filters?: string;
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
301
|
* Request parameters for updateLead operation in LeadsApi.
|
package/dist/api/leads-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g =
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
77
86
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
87
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
88
|
};
|
|
@@ -105,10 +114,14 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
105
114
|
* @param {*} [options] Override http request option.
|
|
106
115
|
* @throws {RequiredError}
|
|
107
116
|
*/
|
|
108
|
-
createLead: function (
|
|
109
|
-
|
|
110
|
-
|
|
117
|
+
createLead: function (customerCode_1, createLeadRequestDto_1, authorization_1) {
|
|
118
|
+
var args_1 = [];
|
|
119
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
120
|
+
args_1[_i - 3] = arguments[_i];
|
|
121
|
+
}
|
|
122
|
+
return __awaiter(_this, __spreadArray([customerCode_1, createLeadRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, createLeadRequestDto, authorization, options) {
|
|
111
123
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
+
if (options === void 0) { options = {}; }
|
|
112
125
|
return __generator(this, function (_a) {
|
|
113
126
|
switch (_a.label) {
|
|
114
127
|
case 0:
|
|
@@ -159,10 +172,14 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
159
172
|
* @param {*} [options] Override http request option.
|
|
160
173
|
* @throws {RequiredError}
|
|
161
174
|
*/
|
|
162
|
-
getLead: function (
|
|
163
|
-
|
|
164
|
-
|
|
175
|
+
getLead: function (code_1, customerCode_1, authorization_1, expand_1) {
|
|
176
|
+
var args_1 = [];
|
|
177
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
178
|
+
args_1[_i - 4] = arguments[_i];
|
|
179
|
+
}
|
|
180
|
+
return __awaiter(_this, __spreadArray([code_1, customerCode_1, authorization_1, expand_1], args_1, true), void 0, function (code, customerCode, authorization, expand, options) {
|
|
165
181
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
182
|
+
if (options === void 0) { options = {}; }
|
|
166
183
|
return __generator(this, function (_a) {
|
|
167
184
|
switch (_a.label) {
|
|
168
185
|
case 0:
|
|
@@ -210,20 +227,24 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
210
227
|
* @summary List leads
|
|
211
228
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
212
229
|
* @param {string} [authorization] Bearer Token
|
|
213
|
-
* @param {
|
|
214
|
-
* @param {
|
|
215
|
-
* @param {
|
|
216
|
-
* @param {
|
|
217
|
-
* @param {
|
|
218
|
-
* @param {
|
|
219
|
-
* @param {
|
|
230
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
231
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
232
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
233
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
234
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
235
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
236
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
220
237
|
* @param {*} [options] Override http request option.
|
|
221
238
|
* @throws {RequiredError}
|
|
222
239
|
*/
|
|
223
|
-
listLeads: function (
|
|
224
|
-
|
|
225
|
-
|
|
240
|
+
listLeads: function (customerCode_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
|
|
241
|
+
var args_1 = [];
|
|
242
|
+
for (var _i = 9; _i < arguments.length; _i++) {
|
|
243
|
+
args_1[_i - 9] = arguments[_i];
|
|
244
|
+
}
|
|
245
|
+
return __awaiter(_this, __spreadArray([customerCode_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
226
246
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
247
|
+
if (options === void 0) { options = {}; }
|
|
227
248
|
return __generator(this, function (_a) {
|
|
228
249
|
switch (_a.label) {
|
|
229
250
|
case 0:
|
|
@@ -291,10 +312,14 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
291
312
|
* @param {*} [options] Override http request option.
|
|
292
313
|
* @throws {RequiredError}
|
|
293
314
|
*/
|
|
294
|
-
updateLead: function (
|
|
295
|
-
|
|
296
|
-
|
|
315
|
+
updateLead: function (code_1, customerCode_1, updateLeadRequestDto_1, authorization_1) {
|
|
316
|
+
var args_1 = [];
|
|
317
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
318
|
+
args_1[_i - 4] = arguments[_i];
|
|
319
|
+
}
|
|
320
|
+
return __awaiter(_this, __spreadArray([code_1, customerCode_1, updateLeadRequestDto_1, authorization_1], args_1, true), void 0, function (code, customerCode, updateLeadRequestDto, authorization, options) {
|
|
297
321
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
322
|
+
if (options === void 0) { options = {}; }
|
|
298
323
|
return __generator(this, function (_a) {
|
|
299
324
|
switch (_a.label) {
|
|
300
325
|
case 0:
|
|
@@ -398,13 +423,13 @@ var LeadsApiFp = function (configuration) {
|
|
|
398
423
|
* @summary List leads
|
|
399
424
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
400
425
|
* @param {string} [authorization] Bearer Token
|
|
401
|
-
* @param {
|
|
402
|
-
* @param {
|
|
403
|
-
* @param {
|
|
404
|
-
* @param {
|
|
405
|
-
* @param {
|
|
406
|
-
* @param {
|
|
407
|
-
* @param {
|
|
426
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
427
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
428
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
429
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
430
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
431
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
432
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
408
433
|
* @param {*} [options] Override http request option.
|
|
409
434
|
* @throws {RequiredError}
|
|
410
435
|
*/
|
|
@@ -484,13 +509,13 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
484
509
|
* @summary List leads
|
|
485
510
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
486
511
|
* @param {string} [authorization] Bearer Token
|
|
487
|
-
* @param {
|
|
488
|
-
* @param {
|
|
489
|
-
* @param {
|
|
490
|
-
* @param {
|
|
491
|
-
* @param {
|
|
492
|
-
* @param {
|
|
493
|
-
* @param {
|
|
512
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
513
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
514
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
515
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
516
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
517
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
518
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
494
519
|
* @param {*} [options] Override http request option.
|
|
495
520
|
* @throws {RequiredError}
|
|
496
521
|
*/
|