@emilgroup/customer-sdk-node 1.32.0 → 1.33.1-beta.0
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/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/claims-api.ts +20 -6
- package/api/customers-api.ts +20 -6
- package/api/documents-api.ts +20 -6
- package/api/invoices-api.ts +20 -6
- package/api/leads-api.ts +20 -6
- package/api/policies-api.ts +20 -6
- package/api/products-api.ts +20 -6
- package/dist/api/claims-api.d.ts +12 -3
- package/dist/api/claims-api.js +12 -6
- package/dist/api/customers-api.d.ts +12 -3
- package/dist/api/customers-api.js +12 -6
- package/dist/api/documents-api.d.ts +12 -3
- package/dist/api/documents-api.js +12 -6
- package/dist/api/invoices-api.d.ts +12 -3
- package/dist/api/invoices-api.js +12 -6
- package/dist/api/leads-api.d.ts +12 -3
- package/dist/api/leads-api.js +12 -6
- package/dist/api/policies-api.d.ts +12 -3
- package/dist/api/policies-api.js +12 -6
- package/dist/api/products-api.d.ts +12 -3
- package/dist/api/products-api.js +12 -6
- package/dist/models/create-bank-account-request-dto.d.ts +6 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/lead-bank-account-class.d.ts +6 -0
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/partner-link-class.d.ts +72 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/policy-class.d.ts +6 -0
- package/models/create-bank-account-request-dto.ts +6 -0
- package/models/index.ts +1 -0
- package/models/lead-bank-account-class.ts +6 -0
- package/models/lead-class.ts +7 -0
- package/models/partner-link-class.ts +78 -0
- package/models/policy-class.ts +6 -0
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
25
25
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
26
26
|
* @param {any} [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
27
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
28
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
28
29
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
29
30
|
* @param {any} [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
31
|
* @param {any} [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.
|
|
@@ -32,7 +33,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
32
33
|
* @param {*} [options] Override http request option.
|
|
33
34
|
* @throws {RequiredError}
|
|
34
35
|
*/
|
|
35
|
-
listInvoices: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
listInvoices: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
37
|
};
|
|
37
38
|
/**
|
|
38
39
|
* InvoicesApi - functional programming interface
|
|
@@ -46,6 +47,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
46
47
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
47
48
|
* @param {any} [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.
|
|
48
49
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
50
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
49
51
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
50
52
|
* @param {any} [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.
|
|
51
53
|
* @param {any} [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,7 +55,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
53
55
|
* @param {*} [options] Override http request option.
|
|
54
56
|
* @throws {RequiredError}
|
|
55
57
|
*/
|
|
56
|
-
listInvoices(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>>;
|
|
58
|
+
listInvoices(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>>;
|
|
57
59
|
};
|
|
58
60
|
/**
|
|
59
61
|
* InvoicesApi - factory interface
|
|
@@ -67,6 +69,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
67
69
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
68
70
|
* @param {any} [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.
|
|
69
71
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
72
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
70
73
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
71
74
|
* @param {any} [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.
|
|
72
75
|
* @param {any} [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.
|
|
@@ -74,7 +77,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
74
77
|
* @param {*} [options] Override http request option.
|
|
75
78
|
* @throws {RequiredError}
|
|
76
79
|
*/
|
|
77
|
-
listInvoices(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
|
|
80
|
+
listInvoices(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
|
|
78
81
|
};
|
|
79
82
|
/**
|
|
80
83
|
* Request parameters for listInvoices operation in InvoicesApi.
|
|
@@ -106,6 +109,12 @@ export interface InvoicesApiListInvoicesRequest {
|
|
|
106
109
|
* @memberof InvoicesApiListInvoices
|
|
107
110
|
*/
|
|
108
111
|
readonly filter?: any;
|
|
112
|
+
/**
|
|
113
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
114
|
+
* @type {any}
|
|
115
|
+
* @memberof InvoicesApiListInvoices
|
|
116
|
+
*/
|
|
117
|
+
readonly filters?: any;
|
|
109
118
|
/**
|
|
110
119
|
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
111
120
|
* @type {any}
|
package/dist/api/invoices-api.js
CHANGED
|
@@ -103,6 +103,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
104
104
|
* @param {any} [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.
|
|
105
105
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
106
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
106
107
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
107
108
|
* @param {any} [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.
|
|
108
109
|
* @param {any} [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.
|
|
@@ -110,7 +111,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
110
111
|
* @param {*} [options] Override http request option.
|
|
111
112
|
* @throws {RequiredError}
|
|
112
113
|
*/
|
|
113
|
-
listInvoices: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
114
|
+
listInvoices: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
114
115
|
if (options === void 0) { options = {}; }
|
|
115
116
|
return __awaiter(_this, void 0, void 0, function () {
|
|
116
117
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -136,6 +137,9 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
136
137
|
if (filter !== undefined) {
|
|
137
138
|
localVarQueryParameter['filter'] = filter;
|
|
138
139
|
}
|
|
140
|
+
if (filters !== undefined) {
|
|
141
|
+
localVarQueryParameter['filters'] = filters;
|
|
142
|
+
}
|
|
139
143
|
if (search !== undefined) {
|
|
140
144
|
localVarQueryParameter['search'] = search;
|
|
141
145
|
}
|
|
@@ -175,6 +179,7 @@ var InvoicesApiFp = function (configuration) {
|
|
|
175
179
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
176
180
|
* @param {any} [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.
|
|
177
181
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
182
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
178
183
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
179
184
|
* @param {any} [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.
|
|
180
185
|
* @param {any} [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.
|
|
@@ -182,12 +187,12 @@ var InvoicesApiFp = function (configuration) {
|
|
|
182
187
|
* @param {*} [options] Override http request option.
|
|
183
188
|
* @throws {RequiredError}
|
|
184
189
|
*/
|
|
185
|
-
listInvoices: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
190
|
+
listInvoices: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
186
191
|
return __awaiter(this, void 0, void 0, function () {
|
|
187
192
|
var localVarAxiosArgs;
|
|
188
193
|
return __generator(this, function (_a) {
|
|
189
194
|
switch (_a.label) {
|
|
190
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvoices(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options)];
|
|
195
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvoices(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
|
|
191
196
|
case 1:
|
|
192
197
|
localVarAxiosArgs = _a.sent();
|
|
193
198
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -212,6 +217,7 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
212
217
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
213
218
|
* @param {any} [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.
|
|
214
219
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
220
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
215
221
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
216
222
|
* @param {any} [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.
|
|
217
223
|
* @param {any} [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.
|
|
@@ -219,8 +225,8 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
219
225
|
* @param {*} [options] Override http request option.
|
|
220
226
|
* @throws {RequiredError}
|
|
221
227
|
*/
|
|
222
|
-
listInvoices: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
223
|
-
return localVarFp.listInvoices(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
228
|
+
listInvoices: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
229
|
+
return localVarFp.listInvoices(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
224
230
|
},
|
|
225
231
|
};
|
|
226
232
|
};
|
|
@@ -246,7 +252,7 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
246
252
|
*/
|
|
247
253
|
InvoicesApi.prototype.listInvoices = function (requestParameters, options) {
|
|
248
254
|
var _this = this;
|
|
249
|
-
return (0, exports.InvoicesApiFp)(this.configuration).listInvoices(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
255
|
+
return (0, exports.InvoicesApiFp)(this.configuration).listInvoices(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
250
256
|
};
|
|
251
257
|
return InvoicesApi;
|
|
252
258
|
}(base_1.BaseAPI));
|
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -52,13 +52,14 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
52
52
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
53
53
|
* @param {any} [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
54
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
55
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
55
56
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
56
57
|
* @param {any} [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
58
|
* @param {any} [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
59
|
* @param {*} [options] Override http request option.
|
|
59
60
|
* @throws {RequiredError}
|
|
60
61
|
*/
|
|
61
|
-
listLeads: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
listLeads: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
63
|
/**
|
|
63
64
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
64
65
|
* @summary Update the lead
|
|
@@ -105,13 +106,14 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
105
106
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
106
107
|
* @param {any} [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.
|
|
107
108
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
109
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
108
110
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
109
111
|
* @param {any} [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.
|
|
110
112
|
* @param {any} [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.
|
|
111
113
|
* @param {*} [options] Override http request option.
|
|
112
114
|
* @throws {RequiredError}
|
|
113
115
|
*/
|
|
114
|
-
listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
|
|
116
|
+
listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
|
|
115
117
|
/**
|
|
116
118
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
117
119
|
* @summary Update the lead
|
|
@@ -158,13 +160,14 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
158
160
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
159
161
|
* @param {any} [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.
|
|
160
162
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
163
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
161
164
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
162
165
|
* @param {any} [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.
|
|
163
166
|
* @param {any} [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.
|
|
164
167
|
* @param {*} [options] Override http request option.
|
|
165
168
|
* @throws {RequiredError}
|
|
166
169
|
*/
|
|
167
|
-
listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
|
|
170
|
+
listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
|
|
168
171
|
/**
|
|
169
172
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
170
173
|
* @summary Update the lead
|
|
@@ -269,6 +272,12 @@ export interface LeadsApiListLeadsRequest {
|
|
|
269
272
|
* @memberof LeadsApiListLeads
|
|
270
273
|
*/
|
|
271
274
|
readonly filter?: any;
|
|
275
|
+
/**
|
|
276
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
277
|
+
* @type {any}
|
|
278
|
+
* @memberof LeadsApiListLeads
|
|
279
|
+
*/
|
|
280
|
+
readonly filters?: any;
|
|
272
281
|
/**
|
|
273
282
|
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
274
283
|
* @type {any}
|
package/dist/api/leads-api.js
CHANGED
|
@@ -213,13 +213,14 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
213
213
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
214
214
|
* @param {any} [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.
|
|
215
215
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
216
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
216
217
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
217
218
|
* @param {any} [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.
|
|
218
219
|
* @param {any} [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.
|
|
219
220
|
* @param {*} [options] Override http request option.
|
|
220
221
|
* @throws {RequiredError}
|
|
221
222
|
*/
|
|
222
|
-
listLeads: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
223
|
+
listLeads: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
|
|
223
224
|
if (options === void 0) { options = {}; }
|
|
224
225
|
return __awaiter(_this, void 0, void 0, function () {
|
|
225
226
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -254,6 +255,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
254
255
|
if (filter !== undefined) {
|
|
255
256
|
localVarQueryParameter['filter'] = filter;
|
|
256
257
|
}
|
|
258
|
+
if (filters !== undefined) {
|
|
259
|
+
localVarQueryParameter['filters'] = filters;
|
|
260
|
+
}
|
|
257
261
|
if (search !== undefined) {
|
|
258
262
|
localVarQueryParameter['search'] = search;
|
|
259
263
|
}
|
|
@@ -397,18 +401,19 @@ var LeadsApiFp = function (configuration) {
|
|
|
397
401
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
398
402
|
* @param {any} [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.
|
|
399
403
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
404
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
400
405
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
401
406
|
* @param {any} [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.
|
|
402
407
|
* @param {any} [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.
|
|
403
408
|
* @param {*} [options] Override http request option.
|
|
404
409
|
* @throws {RequiredError}
|
|
405
410
|
*/
|
|
406
|
-
listLeads: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
411
|
+
listLeads: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
|
|
407
412
|
return __awaiter(this, void 0, void 0, function () {
|
|
408
413
|
var localVarAxiosArgs;
|
|
409
414
|
return __generator(this, function (_a) {
|
|
410
415
|
switch (_a.label) {
|
|
411
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeads(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
416
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeads(customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options)];
|
|
412
417
|
case 1:
|
|
413
418
|
localVarAxiosArgs = _a.sent();
|
|
414
419
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -482,14 +487,15 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
482
487
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
483
488
|
* @param {any} [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.
|
|
484
489
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
490
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
485
491
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
486
492
|
* @param {any} [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.
|
|
487
493
|
* @param {any} [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.
|
|
488
494
|
* @param {*} [options] Override http request option.
|
|
489
495
|
* @throws {RequiredError}
|
|
490
496
|
*/
|
|
491
|
-
listLeads: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
492
|
-
return localVarFp.listLeads(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
497
|
+
listLeads: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
|
|
498
|
+
return localVarFp.listLeads(customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
493
499
|
},
|
|
494
500
|
/**
|
|
495
501
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -552,7 +558,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
552
558
|
*/
|
|
553
559
|
LeadsApi.prototype.listLeads = function (requestParameters, options) {
|
|
554
560
|
var _this = this;
|
|
555
|
-
return (0, exports.LeadsApiFp)(this.configuration).listLeads(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
561
|
+
return (0, exports.LeadsApiFp)(this.configuration).listLeads(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
556
562
|
};
|
|
557
563
|
/**
|
|
558
564
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -55,6 +55,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
55
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
56
56
|
* @param {any} [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.
|
|
57
57
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
58
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
58
59
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
59
60
|
* @param {any} [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.
|
|
60
61
|
* @param {any} [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.
|
|
@@ -62,7 +63,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
62
63
|
* @param {*} [options] Override http request option.
|
|
63
64
|
* @throws {RequiredError}
|
|
64
65
|
*/
|
|
65
|
-
listPolicies: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
listPolicies: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
67
|
/**
|
|
67
68
|
* Request to update an existing policy by customer.
|
|
68
69
|
* @summary Request policy update
|
|
@@ -140,6 +141,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
140
141
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
141
142
|
* @param {any} [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.
|
|
142
143
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
144
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
143
145
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
144
146
|
* @param {any} [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.
|
|
145
147
|
* @param {any} [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.
|
|
@@ -147,7 +149,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
147
149
|
* @param {*} [options] Override http request option.
|
|
148
150
|
* @throws {RequiredError}
|
|
149
151
|
*/
|
|
150
|
-
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
|
|
152
|
+
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
|
|
151
153
|
/**
|
|
152
154
|
* Request to update an existing policy by customer.
|
|
153
155
|
* @summary Request policy update
|
|
@@ -225,6 +227,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
225
227
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
226
228
|
* @param {any} [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.
|
|
227
229
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
230
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
228
231
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
229
232
|
* @param {any} [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.
|
|
230
233
|
* @param {any} [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.
|
|
@@ -232,7 +235,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
232
235
|
* @param {*} [options] Override http request option.
|
|
233
236
|
* @throws {RequiredError}
|
|
234
237
|
*/
|
|
235
|
-
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
|
|
238
|
+
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
|
|
236
239
|
/**
|
|
237
240
|
* Request to update an existing policy by customer.
|
|
238
241
|
* @summary Request policy update
|
|
@@ -368,6 +371,12 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
368
371
|
* @memberof PoliciesApiListPolicies
|
|
369
372
|
*/
|
|
370
373
|
readonly filter?: any;
|
|
374
|
+
/**
|
|
375
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
376
|
+
* @type {any}
|
|
377
|
+
* @memberof PoliciesApiListPolicies
|
|
378
|
+
*/
|
|
379
|
+
readonly filters?: any;
|
|
371
380
|
/**
|
|
372
381
|
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
373
382
|
* @type {any}
|
package/dist/api/policies-api.js
CHANGED
|
@@ -195,6 +195,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
196
196
|
* @param {any} [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.
|
|
197
197
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
198
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
198
199
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
199
200
|
* @param {any} [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.
|
|
200
201
|
* @param {any} [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.
|
|
@@ -202,7 +203,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
listPolicies: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
206
|
+
listPolicies: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -228,6 +229,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
228
229
|
if (filter !== undefined) {
|
|
229
230
|
localVarQueryParameter['filter'] = filter;
|
|
230
231
|
}
|
|
232
|
+
if (filters !== undefined) {
|
|
233
|
+
localVarQueryParameter['filters'] = filters;
|
|
234
|
+
}
|
|
231
235
|
if (search !== undefined) {
|
|
232
236
|
localVarQueryParameter['search'] = search;
|
|
233
237
|
}
|
|
@@ -492,6 +496,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
492
496
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
493
497
|
* @param {any} [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.
|
|
494
498
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
499
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
495
500
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
496
501
|
* @param {any} [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.
|
|
497
502
|
* @param {any} [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.
|
|
@@ -499,12 +504,12 @@ var PoliciesApiFp = function (configuration) {
|
|
|
499
504
|
* @param {*} [options] Override http request option.
|
|
500
505
|
* @throws {RequiredError}
|
|
501
506
|
*/
|
|
502
|
-
listPolicies: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
507
|
+
listPolicies: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
503
508
|
return __awaiter(this, void 0, void 0, function () {
|
|
504
509
|
var localVarAxiosArgs;
|
|
505
510
|
return __generator(this, function (_a) {
|
|
506
511
|
switch (_a.label) {
|
|
507
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPolicies(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options)];
|
|
512
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPolicies(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
|
|
508
513
|
case 1:
|
|
509
514
|
localVarAxiosArgs = _a.sent();
|
|
510
515
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -645,6 +650,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
645
650
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
646
651
|
* @param {any} [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.
|
|
647
652
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
653
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
648
654
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
649
655
|
* @param {any} [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.
|
|
650
656
|
* @param {any} [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.
|
|
@@ -652,8 +658,8 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
652
658
|
* @param {*} [options] Override http request option.
|
|
653
659
|
* @throws {RequiredError}
|
|
654
660
|
*/
|
|
655
|
-
listPolicies: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
656
|
-
return localVarFp.listPolicies(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
661
|
+
listPolicies: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
662
|
+
return localVarFp.listPolicies(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
657
663
|
},
|
|
658
664
|
/**
|
|
659
665
|
* Request to update an existing policy by customer.
|
|
@@ -753,7 +759,7 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
753
759
|
*/
|
|
754
760
|
PoliciesApi.prototype.listPolicies = function (requestParameters, options) {
|
|
755
761
|
var _this = this;
|
|
756
|
-
return (0, exports.PoliciesApiFp)(this.configuration).listPolicies(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
762
|
+
return (0, exports.PoliciesApiFp)(this.configuration).listPolicies(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
757
763
|
};
|
|
758
764
|
/**
|
|
759
765
|
* Request to update an existing policy by customer.
|
|
@@ -36,6 +36,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36
36
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
37
37
|
* @param {any} [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.
|
|
38
38
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
39
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
39
40
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
40
41
|
* @param {any} [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.
|
|
41
42
|
* @param {any} [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.
|
|
@@ -43,7 +44,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
listProducts: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
listProducts: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
48
|
};
|
|
48
49
|
/**
|
|
49
50
|
* ProductsApi - functional programming interface
|
|
@@ -67,6 +68,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
67
68
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
68
69
|
* @param {any} [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.
|
|
69
70
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
71
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
70
72
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
71
73
|
* @param {any} [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.
|
|
72
74
|
* @param {any} [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.
|
|
@@ -74,7 +76,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
74
76
|
* @param {*} [options] Override http request option.
|
|
75
77
|
* @throws {RequiredError}
|
|
76
78
|
*/
|
|
77
|
-
listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
|
|
79
|
+
listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
|
|
78
80
|
};
|
|
79
81
|
/**
|
|
80
82
|
* ProductsApi - factory interface
|
|
@@ -98,6 +100,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
98
100
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
99
101
|
* @param {any} [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.
|
|
100
102
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
103
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
101
104
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
102
105
|
* @param {any} [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.
|
|
103
106
|
* @param {any} [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.
|
|
@@ -105,7 +108,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
105
108
|
* @param {*} [options] Override http request option.
|
|
106
109
|
* @throws {RequiredError}
|
|
107
110
|
*/
|
|
108
|
-
listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListProductsResponseClass>;
|
|
111
|
+
listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListProductsResponseClass>;
|
|
109
112
|
};
|
|
110
113
|
/**
|
|
111
114
|
* Request parameters for getProduct operation in ProductsApi.
|
|
@@ -162,6 +165,12 @@ export interface ProductsApiListProductsRequest {
|
|
|
162
165
|
* @memberof ProductsApiListProducts
|
|
163
166
|
*/
|
|
164
167
|
readonly filter?: any;
|
|
168
|
+
/**
|
|
169
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
170
|
+
* @type {any}
|
|
171
|
+
* @memberof ProductsApiListProducts
|
|
172
|
+
*/
|
|
173
|
+
readonly filters?: any;
|
|
165
174
|
/**
|
|
166
175
|
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
167
176
|
* @type {any}
|
package/dist/api/products-api.js
CHANGED
|
@@ -145,6 +145,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
146
146
|
* @param {any} [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.
|
|
147
147
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
148
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
148
149
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
149
150
|
* @param {any} [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.
|
|
150
151
|
* @param {any} [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.
|
|
@@ -152,7 +153,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
152
153
|
* @param {*} [options] Override http request option.
|
|
153
154
|
* @throws {RequiredError}
|
|
154
155
|
*/
|
|
155
|
-
listProducts: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
156
|
+
listProducts: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
156
157
|
if (options === void 0) { options = {}; }
|
|
157
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -178,6 +179,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
178
179
|
if (filter !== undefined) {
|
|
179
180
|
localVarQueryParameter['filter'] = filter;
|
|
180
181
|
}
|
|
182
|
+
if (filters !== undefined) {
|
|
183
|
+
localVarQueryParameter['filters'] = filters;
|
|
184
|
+
}
|
|
181
185
|
if (search !== undefined) {
|
|
182
186
|
localVarQueryParameter['search'] = search;
|
|
183
187
|
}
|
|
@@ -239,6 +243,7 @@ var ProductsApiFp = function (configuration) {
|
|
|
239
243
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
240
244
|
* @param {any} [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.
|
|
241
245
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
246
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
242
247
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
243
248
|
* @param {any} [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.
|
|
244
249
|
* @param {any} [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.
|
|
@@ -246,12 +251,12 @@ var ProductsApiFp = function (configuration) {
|
|
|
246
251
|
* @param {*} [options] Override http request option.
|
|
247
252
|
* @throws {RequiredError}
|
|
248
253
|
*/
|
|
249
|
-
listProducts: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
254
|
+
listProducts: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
250
255
|
return __awaiter(this, void 0, void 0, function () {
|
|
251
256
|
var localVarAxiosArgs;
|
|
252
257
|
return __generator(this, function (_a) {
|
|
253
258
|
switch (_a.label) {
|
|
254
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options)];
|
|
259
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
|
|
255
260
|
case 1:
|
|
256
261
|
localVarAxiosArgs = _a.sent();
|
|
257
262
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -288,6 +293,7 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
288
293
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
289
294
|
* @param {any} [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.
|
|
290
295
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
296
|
+
* @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
291
297
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
292
298
|
* @param {any} [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.
|
|
293
299
|
* @param {any} [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.
|
|
@@ -295,8 +301,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
295
301
|
* @param {*} [options] Override http request option.
|
|
296
302
|
* @throws {RequiredError}
|
|
297
303
|
*/
|
|
298
|
-
listProducts: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
|
|
299
|
-
return localVarFp.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
304
|
+
listProducts: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
|
|
305
|
+
return localVarFp.listProducts(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
300
306
|
},
|
|
301
307
|
};
|
|
302
308
|
};
|
|
@@ -334,7 +340,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
334
340
|
*/
|
|
335
341
|
ProductsApi.prototype.listProducts = function (requestParameters, options) {
|
|
336
342
|
var _this = this;
|
|
337
|
-
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
343
|
+
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
338
344
|
};
|
|
339
345
|
return ProductsApi;
|
|
340
346
|
}(base_1.BaseAPI));
|