@emilgroup/customer-sdk-node 1.41.0 → 1.44.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 +28 -28
- package/api/customers-api.ts +28 -28
- package/api/documents-api.ts +51 -34
- package/api/invoices-api.ts +28 -28
- package/api/leads-api.ts +62 -62
- package/api/policies-api.ts +28 -28
- package/api/products-api.ts +28 -28
- package/base.ts +1 -0
- package/dist/api/claims-api.d.ts +20 -20
- package/dist/api/claims-api.js +18 -18
- package/dist/api/customers-api.d.ts +20 -20
- package/dist/api/customers-api.js +18 -18
- package/dist/api/documents-api.d.ts +33 -23
- package/dist/api/documents-api.js +31 -24
- package/dist/api/invoices-api.d.ts +20 -20
- package/dist/api/invoices-api.js +18 -18
- package/dist/api/leads-api.d.ts +40 -40
- package/dist/api/leads-api.js +48 -48
- package/dist/api/policies-api.d.ts +20 -20
- package/dist/api/policies-api.js +18 -18
- package/dist/api/products-api.d.ts +20 -20
- package/dist/api/products-api.js +18 -18
- package/dist/base.d.ts +1 -0
- package/dist/base.js +1 -0
- package/dist/models/account-class.d.ts +1 -1
- package/dist/models/account-class.js +1 -1
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
- package/dist/models/create-account-request-dto.d.ts +2 -8
- package/dist/models/create-account-request-dto.js +1 -1
- package/dist/models/customer-product-class.d.ts +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/link-lead-partner-request-dto.d.ts +16 -4
- package/dist/models/policy-object-dto.d.ts +2 -2
- package/dist/models/policy-premium-class.d.ts +2 -2
- package/dist/models/update-lead-request-dto.d.ts +1 -1
- package/dist/models/upload-account-documents-request-dto.d.ts +46 -0
- package/dist/models/upload-account-documents-request-dto.js +19 -0
- package/models/account-class.ts +1 -1
- package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
- package/models/create-account-request-dto.ts +2 -8
- package/models/customer-product-class.ts +2 -2
- package/models/index.ts +1 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/link-lead-partner-request-dto.ts +16 -4
- package/models/policy-object-dto.ts +2 -2
- package/models/policy-premium-class.ts +2 -2
- package/models/update-lead-request-dto.ts +1 -1
- package/models/upload-account-documents-request-dto.ts +55 -0
- package/package.json +1 -1
package/api/policies-api.ts
CHANGED
|
@@ -152,18 +152,18 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
152
152
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
153
153
|
* @summary List policies
|
|
154
154
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
155
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
155
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
156
156
|
* @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.
|
|
157
157
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
158
|
-
* @param {any} [
|
|
159
|
-
* @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.
|
|
158
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
160
159
|
* @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.
|
|
161
160
|
* @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.
|
|
161
|
+
* @param {any} [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.
|
|
162
162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
165
165
|
*/
|
|
166
|
-
listPolicies: async (customerCode: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
166
|
+
listPolicies: async (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
167
167
|
// verify required parameter 'customerCode' is not null or undefined
|
|
168
168
|
assertParamExists('listPolicies', 'customerCode', customerCode)
|
|
169
169
|
const localVarPath = `/v1/customers/{customerCode}/policies`
|
|
@@ -193,10 +193,6 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
193
193
|
localVarQueryParameter['filter'] = filter;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
if (filters !== undefined) {
|
|
197
|
-
localVarQueryParameter['filters'] = filters;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
196
|
if (search !== undefined) {
|
|
201
197
|
localVarQueryParameter['search'] = search;
|
|
202
198
|
}
|
|
@@ -209,6 +205,10 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
209
205
|
localVarQueryParameter['expand'] = expand;
|
|
210
206
|
}
|
|
211
207
|
|
|
208
|
+
if (filters !== undefined) {
|
|
209
|
+
localVarQueryParameter['filters'] = filters;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
212
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
213
213
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
214
214
|
}
|
|
@@ -459,19 +459,19 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
459
459
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
460
460
|
* @summary List policies
|
|
461
461
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
462
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
462
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
463
463
|
* @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.
|
|
464
464
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
465
|
-
* @param {any} [
|
|
466
|
-
* @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.
|
|
465
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
467
466
|
* @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.
|
|
468
467
|
* @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.
|
|
468
|
+
* @param {any} [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.
|
|
469
469
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
470
470
|
* @param {*} [options] Override http request option.
|
|
471
471
|
* @throws {RequiredError}
|
|
472
472
|
*/
|
|
473
|
-
async listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicies(customerCode, pageSize, pageToken, filter,
|
|
473
|
+
async listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>> {
|
|
474
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicies(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options);
|
|
475
475
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
476
476
|
},
|
|
477
477
|
/**
|
|
@@ -568,19 +568,19 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
568
568
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
569
569
|
* @summary List policies
|
|
570
570
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
571
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
571
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
572
572
|
* @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.
|
|
573
573
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
574
|
-
* @param {any} [
|
|
575
|
-
* @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.
|
|
574
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
576
575
|
* @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.
|
|
577
576
|
* @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.
|
|
577
|
+
* @param {any} [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.
|
|
578
578
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
579
579
|
* @param {*} [options] Override http request option.
|
|
580
580
|
* @throws {RequiredError}
|
|
581
581
|
*/
|
|
582
|
-
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
583
|
-
return localVarFp.listPolicies(customerCode, pageSize, pageToken, filter,
|
|
582
|
+
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<ListPoliciesResponseClass> {
|
|
583
|
+
return localVarFp.listPolicies(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options).then((request) => request(axios, basePath));
|
|
584
584
|
},
|
|
585
585
|
/**
|
|
586
586
|
* Request to update an existing policy by customer.
|
|
@@ -719,7 +719,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
719
719
|
readonly customerCode: string
|
|
720
720
|
|
|
721
721
|
/**
|
|
722
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
722
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
723
723
|
* @type {any}
|
|
724
724
|
* @memberof PoliciesApiListPolicies
|
|
725
725
|
*/
|
|
@@ -740,14 +740,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
740
740
|
readonly filter?: any
|
|
741
741
|
|
|
742
742
|
/**
|
|
743
|
-
*
|
|
744
|
-
* @type {any}
|
|
745
|
-
* @memberof PoliciesApiListPolicies
|
|
746
|
-
*/
|
|
747
|
-
readonly filters?: any
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
743
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
751
744
|
* @type {any}
|
|
752
745
|
* @memberof PoliciesApiListPolicies
|
|
753
746
|
*/
|
|
@@ -767,6 +760,13 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
767
760
|
*/
|
|
768
761
|
readonly expand?: any
|
|
769
762
|
|
|
763
|
+
/**
|
|
764
|
+
* 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.
|
|
765
|
+
* @type {any}
|
|
766
|
+
* @memberof PoliciesApiListPolicies
|
|
767
|
+
*/
|
|
768
|
+
readonly filters?: any
|
|
769
|
+
|
|
770
770
|
/**
|
|
771
771
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
772
772
|
* @type {string}
|
|
@@ -941,7 +941,7 @@ export class PoliciesApi extends BaseAPI {
|
|
|
941
941
|
* @memberof PoliciesApi
|
|
942
942
|
*/
|
|
943
943
|
public listPolicies(requestParameters: PoliciesApiListPoliciesRequest, options?: AxiosRequestConfig) {
|
|
944
|
-
return PoliciesApiFp(this.configuration).listPolicies(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.
|
|
944
|
+
return PoliciesApiFp(this.configuration).listPolicies(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
/**
|
package/api/products-api.ts
CHANGED
|
@@ -83,18 +83,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
83
83
|
* List all the products that a customer can insure, the products can be filtered by product code, product number.
|
|
84
84
|
* @summary List available products
|
|
85
85
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
86
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
86
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
87
87
|
* @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.
|
|
88
88
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
89
|
-
* @param {any} [
|
|
90
|
-
* @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.
|
|
89
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
91
90
|
* @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.
|
|
92
91
|
* @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.
|
|
92
|
+
* @param {any} [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.
|
|
93
93
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
94
|
* @param {*} [options] Override http request option.
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
97
|
-
listProducts: async (customerCode: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
97
|
+
listProducts: async (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
98
|
// verify required parameter 'customerCode' is not null or undefined
|
|
99
99
|
assertParamExists('listProducts', 'customerCode', customerCode)
|
|
100
100
|
const localVarPath = `/v1/customers/{customerCode}/products`
|
|
@@ -124,10 +124,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
124
124
|
localVarQueryParameter['filter'] = filter;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
if (filters !== undefined) {
|
|
128
|
-
localVarQueryParameter['filters'] = filters;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
127
|
if (search !== undefined) {
|
|
132
128
|
localVarQueryParameter['search'] = search;
|
|
133
129
|
}
|
|
@@ -140,6 +136,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
140
136
|
localVarQueryParameter['expand'] = expand;
|
|
141
137
|
}
|
|
142
138
|
|
|
139
|
+
if (filters !== undefined) {
|
|
140
|
+
localVarQueryParameter['filters'] = filters;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
143
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
144
144
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
145
145
|
}
|
|
@@ -182,19 +182,19 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
182
182
|
* List all the products that a customer can insure, the products can be filtered by product code, product number.
|
|
183
183
|
* @summary List available products
|
|
184
184
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
185
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
185
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
186
186
|
* @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.
|
|
187
187
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
188
|
-
* @param {any} [
|
|
189
|
-
* @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.
|
|
188
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
190
189
|
* @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.
|
|
191
190
|
* @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.
|
|
191
|
+
* @param {any} [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.
|
|
192
192
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
async listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
197
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(customerCode, pageSize, pageToken, filter,
|
|
196
|
+
async listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
|
|
197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options);
|
|
198
198
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
199
199
|
},
|
|
200
200
|
}
|
|
@@ -223,19 +223,19 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
223
223
|
* List all the products that a customer can insure, the products can be filtered by product code, product number.
|
|
224
224
|
* @summary List available products
|
|
225
225
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
226
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
226
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
227
227
|
* @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.
|
|
228
228
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
229
|
-
* @param {any} [
|
|
230
|
-
* @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
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
231
230
|
* @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.
|
|
232
231
|
* @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
|
+
* @param {any} [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.
|
|
233
233
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
234
234
|
* @param {*} [options] Override http request option.
|
|
235
235
|
* @throws {RequiredError}
|
|
236
236
|
*/
|
|
237
|
-
listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
238
|
-
return localVarFp.listProducts(customerCode, pageSize, pageToken, filter,
|
|
237
|
+
listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<ListProductsResponseClass> {
|
|
238
|
+
return localVarFp.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options).then((request) => request(axios, basePath));
|
|
239
239
|
},
|
|
240
240
|
};
|
|
241
241
|
};
|
|
@@ -282,7 +282,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
282
282
|
readonly customerCode: string
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
285
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
286
286
|
* @type {any}
|
|
287
287
|
* @memberof ProductsApiListProducts
|
|
288
288
|
*/
|
|
@@ -303,14 +303,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
303
303
|
readonly filter?: any
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
|
-
*
|
|
307
|
-
* @type {any}
|
|
308
|
-
* @memberof ProductsApiListProducts
|
|
309
|
-
*/
|
|
310
|
-
readonly filters?: any
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
306
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
314
307
|
* @type {any}
|
|
315
308
|
* @memberof ProductsApiListProducts
|
|
316
309
|
*/
|
|
@@ -330,6 +323,13 @@ export interface ProductsApiListProductsRequest {
|
|
|
330
323
|
*/
|
|
331
324
|
readonly expand?: any
|
|
332
325
|
|
|
326
|
+
/**
|
|
327
|
+
* 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.
|
|
328
|
+
* @type {any}
|
|
329
|
+
* @memberof ProductsApiListProducts
|
|
330
|
+
*/
|
|
331
|
+
readonly filters?: any
|
|
332
|
+
|
|
333
333
|
/**
|
|
334
334
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
335
335
|
* @type {string}
|
|
@@ -366,6 +366,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
366
366
|
* @memberof ProductsApi
|
|
367
367
|
*/
|
|
368
368
|
public listProducts(requestParameters: ProductsApiListProductsRequest, options?: AxiosRequestConfig) {
|
|
369
|
-
return ProductsApiFp(this.configuration).listProducts(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.
|
|
369
|
+
return ProductsApiFp(this.configuration).listProducts(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
370
370
|
}
|
|
371
371
|
}
|
package/base.ts
CHANGED
|
@@ -48,6 +48,7 @@ export interface LoginClass {
|
|
|
48
48
|
export enum Environment {
|
|
49
49
|
Production = 'https://apiv2.emil.de',
|
|
50
50
|
Test = 'https://apiv2-test.emil.de',
|
|
51
|
+
Staging = 'https://apiv2-staging.emil.de',
|
|
51
52
|
Development = 'https://apiv2-dev.emil.de',
|
|
52
53
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
53
54
|
}
|
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -50,17 +50,17 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
50
50
|
* @summary List claims
|
|
51
51
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
52
52
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
53
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
53
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
54
54
|
* @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.
|
|
55
55
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
56
|
-
* @param {any} [
|
|
57
|
-
* @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
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
58
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.
|
|
59
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.
|
|
59
|
+
* @param {any} [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.
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
63
|
+
listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
64
|
/**
|
|
65
65
|
* Update claim for customer.
|
|
66
66
|
* @summary Update claim
|
|
@@ -114,17 +114,17 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
114
114
|
* @summary List claims
|
|
115
115
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
116
116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
117
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
118
|
* @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.
|
|
119
119
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
120
|
-
* @param {any} [
|
|
121
|
-
* @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.
|
|
120
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
122
121
|
* @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.
|
|
123
122
|
* @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.
|
|
123
|
+
* @param {any} [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.
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
127
|
+
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
|
|
128
128
|
/**
|
|
129
129
|
* Update claim for customer.
|
|
130
130
|
* @summary Update claim
|
|
@@ -178,17 +178,17 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
178
178
|
* @summary List claims
|
|
179
179
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
180
180
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
181
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
181
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
182
182
|
* @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.
|
|
183
183
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
184
|
-
* @param {any} [
|
|
185
|
-
* @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.
|
|
184
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
186
185
|
* @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.
|
|
187
186
|
* @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.
|
|
187
|
+
* @param {any} [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.
|
|
188
188
|
* @param {*} [options] Override http request option.
|
|
189
189
|
* @throws {RequiredError}
|
|
190
190
|
*/
|
|
191
|
-
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any,
|
|
191
|
+
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
|
|
192
192
|
/**
|
|
193
193
|
* Update claim for customer.
|
|
194
194
|
* @summary Update claim
|
|
@@ -281,7 +281,7 @@ export interface ClaimsApiListCustomerClaimsRequest {
|
|
|
281
281
|
*/
|
|
282
282
|
readonly authorization?: string;
|
|
283
283
|
/**
|
|
284
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
284
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
285
285
|
* @type {any}
|
|
286
286
|
* @memberof ClaimsApiListCustomerClaims
|
|
287
287
|
*/
|
|
@@ -299,13 +299,7 @@ export interface ClaimsApiListCustomerClaimsRequest {
|
|
|
299
299
|
*/
|
|
300
300
|
readonly filter?: any;
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
303
|
-
* @type {any}
|
|
304
|
-
* @memberof ClaimsApiListCustomerClaims
|
|
305
|
-
*/
|
|
306
|
-
readonly filters?: any;
|
|
307
|
-
/**
|
|
308
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
302
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
309
303
|
* @type {any}
|
|
310
304
|
* @memberof ClaimsApiListCustomerClaims
|
|
311
305
|
*/
|
|
@@ -322,6 +316,12 @@ export interface ClaimsApiListCustomerClaimsRequest {
|
|
|
322
316
|
* @memberof ClaimsApiListCustomerClaims
|
|
323
317
|
*/
|
|
324
318
|
readonly expand?: any;
|
|
319
|
+
/**
|
|
320
|
+
* 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.
|
|
321
|
+
* @type {any}
|
|
322
|
+
* @memberof ClaimsApiListCustomerClaims
|
|
323
|
+
*/
|
|
324
|
+
readonly filters?: any;
|
|
325
325
|
}
|
|
326
326
|
/**
|
|
327
327
|
* Request parameters for updateCustomerClaim operation in ClaimsApi.
|
package/dist/api/claims-api.js
CHANGED
|
@@ -206,17 +206,17 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
206
206
|
* @summary List claims
|
|
207
207
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
208
208
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
209
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
209
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
210
210
|
* @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.
|
|
211
211
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
212
|
-
* @param {any} [
|
|
213
|
-
* @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.
|
|
212
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
214
213
|
* @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.
|
|
215
214
|
* @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.
|
|
215
|
+
* @param {any} [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.
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
217
217
|
* @throws {RequiredError}
|
|
218
218
|
*/
|
|
219
|
-
listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter,
|
|
219
|
+
listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
220
220
|
if (options === void 0) { options = {}; }
|
|
221
221
|
return __awaiter(_this, void 0, void 0, function () {
|
|
222
222
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -251,9 +251,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
if (filter !== undefined) {
|
|
252
252
|
localVarQueryParameter['filter'] = filter;
|
|
253
253
|
}
|
|
254
|
-
if (filters !== undefined) {
|
|
255
|
-
localVarQueryParameter['filters'] = filters;
|
|
256
|
-
}
|
|
257
254
|
if (search !== undefined) {
|
|
258
255
|
localVarQueryParameter['search'] = search;
|
|
259
256
|
}
|
|
@@ -263,6 +260,9 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
263
260
|
if (expand !== undefined) {
|
|
264
261
|
localVarQueryParameter['expand'] = expand;
|
|
265
262
|
}
|
|
263
|
+
if (filters !== undefined) {
|
|
264
|
+
localVarQueryParameter['filters'] = filters;
|
|
265
|
+
}
|
|
266
266
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
267
267
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
268
268
|
}
|
|
@@ -450,22 +450,22 @@ var ClaimsApiFp = function (configuration) {
|
|
|
450
450
|
* @summary List claims
|
|
451
451
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
452
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
453
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
454
454
|
* @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.
|
|
455
455
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
456
|
-
* @param {any} [
|
|
457
|
-
* @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.
|
|
456
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
458
457
|
* @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.
|
|
459
458
|
* @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.
|
|
459
|
+
* @param {any} [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.
|
|
460
460
|
* @param {*} [options] Override http request option.
|
|
461
461
|
* @throws {RequiredError}
|
|
462
462
|
*/
|
|
463
|
-
listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter,
|
|
463
|
+
listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
464
464
|
return __awaiter(this, void 0, void 0, function () {
|
|
465
465
|
var localVarAxiosArgs;
|
|
466
466
|
return __generator(this, function (_a) {
|
|
467
467
|
switch (_a.label) {
|
|
468
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter,
|
|
468
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
469
469
|
case 1:
|
|
470
470
|
localVarAxiosArgs = _a.sent();
|
|
471
471
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -558,18 +558,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
558
558
|
* @summary List claims
|
|
559
559
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
560
560
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
561
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
561
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
562
562
|
* @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.
|
|
563
563
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
564
|
-
* @param {any} [
|
|
565
|
-
* @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.
|
|
564
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
566
565
|
* @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.
|
|
567
566
|
* @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.
|
|
567
|
+
* @param {any} [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.
|
|
568
568
|
* @param {*} [options] Override http request option.
|
|
569
569
|
* @throws {RequiredError}
|
|
570
570
|
*/
|
|
571
|
-
listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter,
|
|
572
|
-
return localVarFp.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter,
|
|
571
|
+
listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
572
|
+
return localVarFp.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
573
573
|
},
|
|
574
574
|
/**
|
|
575
575
|
* Update claim for customer.
|
|
@@ -645,7 +645,7 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
645
645
|
*/
|
|
646
646
|
ClaimsApi.prototype.listCustomerClaims = function (requestParameters, options) {
|
|
647
647
|
var _this = this;
|
|
648
|
-
return (0, exports.ClaimsApiFp)(this.configuration).listCustomerClaims(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.
|
|
648
|
+
return (0, exports.ClaimsApiFp)(this.configuration).listCustomerClaims(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
649
649
|
};
|
|
650
650
|
/**
|
|
651
651
|
* Update claim for customer.
|