@emilgroup/customer-sdk-node 1.9.1 → 1.11.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 +9 -0
- package/README.md +58 -2
- package/api/authentication-api.ts +601 -0
- package/api/claims-api.ts +158 -40
- package/api/customers-api.ts +72 -1770
- package/api/documents-api.ts +442 -0
- package/api/invites-api.ts +443 -0
- package/api/invoices-api.ts +245 -0
- package/api/payments-api.ts +291 -0
- package/api/policies-api.ts +16 -16
- package/api/products-api.ts +16 -16
- package/api.ts +11 -0
- package/dist/api/authentication-api.d.ts +332 -0
- package/dist/api/authentication-api.js +604 -0
- package/dist/api/claims-api.d.ts +106 -31
- package/dist/api/claims-api.js +84 -36
- package/dist/api/customers-api.d.ts +0 -954
- package/dist/api/customers-api.js +20 -1381
- package/dist/api/documents-api.d.ts +262 -0
- package/dist/api/documents-api.js +417 -0
- package/dist/api/invites-api.d.ts +248 -0
- package/dist/api/invites-api.js +456 -0
- package/dist/api/invoices-api.d.ts +150 -0
- package/dist/api/invoices-api.js +253 -0
- package/dist/api/payments-api.d.ts +171 -0
- package/dist/api/payments-api.js +312 -0
- package/dist/api/policies-api.d.ts +16 -16
- package/dist/api/policies-api.js +12 -12
- package/dist/api/products-api.d.ts +16 -16
- package/dist/api/products-api.js +12 -12
- package/dist/api.d.ts +7 -1
- package/dist/api.js +6 -0
- package/dist/models/account-class.d.ts +31 -1
- package/dist/models/account-class.js +11 -0
- package/dist/models/claim-class.d.ts +132 -0
- package/dist/models/claim-class.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +39 -9
- package/dist/models/create-account-request-dto.js +11 -1
- package/dist/models/create-customer-claim-response-class.d.ts +25 -0
- package/dist/models/create-customer-claim-response-class.js +15 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-customer-claims-response-class.d.ts +31 -0
- package/dist/models/list-customer-claims-response-class.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +17 -0
- package/dist/models/update-account-request-dto.js +5 -1
- package/dist/models/update-customer-claim-response-class.d.ts +25 -0
- package/dist/models/update-customer-claim-response-class.js +15 -0
- package/models/account-class.ts +35 -1
- package/models/claim-class.ts +138 -0
- package/models/create-account-request-dto.ts +41 -9
- package/models/create-customer-claim-response-class.ts +31 -0
- package/models/index.ts +4 -0
- package/models/list-customer-claims-response-class.ts +37 -0
- package/models/update-account-request-dto.ts +18 -0
- package/models/update-customer-claim-response-class.ts +31 -0
- package/package.json +1 -1
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -13,8 +13,11 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateCustomerClaimRequestDto } from '../models';
|
|
16
|
+
import { CreateCustomerClaimResponseClass } from '../models';
|
|
16
17
|
import { CreatePresignedPostResponseClass } from '../models';
|
|
18
|
+
import { ListCustomerClaimsResponseClass } from '../models';
|
|
17
19
|
import { UpdateCustomerClaimRequestDto } from '../models';
|
|
20
|
+
import { UpdateCustomerClaimResponseClass } from '../models';
|
|
18
21
|
import { UploadCustomerClaimDocumentsRequestDto } from '../models';
|
|
19
22
|
/**
|
|
20
23
|
* ClaimsApi - axios parameter creator
|
|
@@ -26,44 +29,52 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26
29
|
* @summary Create a new claim for customer
|
|
27
30
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
28
31
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
32
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
33
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
29
34
|
* @param {*} [options] Override http request option.
|
|
30
35
|
* @throws {RequiredError}
|
|
31
36
|
*/
|
|
32
|
-
createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
38
|
/**
|
|
34
39
|
* List claims by customer.
|
|
35
40
|
* @summary List claims by customer
|
|
36
41
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
37
|
-
* @param {
|
|
38
|
-
* @param {any} [
|
|
42
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
44
|
+
* @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.
|
|
39
45
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
40
46
|
* @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.
|
|
41
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
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
|
|
47
|
+
* @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.
|
|
48
|
+
* @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.
|
|
49
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
50
|
* @param {*} [options] Override http request option.
|
|
44
51
|
* @throws {RequiredError}
|
|
45
52
|
*/
|
|
46
|
-
listCustomerClaims: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
54
|
/**
|
|
48
55
|
* Update claim for customer.
|
|
49
56
|
* @summary Update claim for customer
|
|
50
57
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
51
58
|
* @param {string} claimCode The claim code to identify a claim.
|
|
52
59
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
60
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
61
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
53
62
|
* @param {*} [options] Override http request option.
|
|
54
63
|
* @throws {RequiredError}
|
|
55
64
|
*/
|
|
56
|
-
updateCustomerClaim: (customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
updateCustomerClaim: (customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
66
|
/**
|
|
58
67
|
* API to upload and attach documents to a claim.
|
|
59
68
|
* @summary Upload claim documents
|
|
60
69
|
* @param {string} customerCode
|
|
61
70
|
* @param {string} claimCode The claim code to identify a claim.
|
|
62
71
|
* @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
|
|
72
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
63
74
|
* @param {*} [options] Override http request option.
|
|
64
75
|
* @throws {RequiredError}
|
|
65
76
|
*/
|
|
66
|
-
uploadCustomerClaimDocuments: (customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
uploadCustomerClaimDocuments: (customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
78
|
};
|
|
68
79
|
/**
|
|
69
80
|
* ClaimsApi - functional programming interface
|
|
@@ -75,44 +86,52 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
75
86
|
* @summary Create a new claim for customer
|
|
76
87
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
77
88
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
89
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
78
91
|
* @param {*} [options] Override http request option.
|
|
79
92
|
* @throws {RequiredError}
|
|
80
93
|
*/
|
|
81
|
-
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
94
|
+
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomerClaimResponseClass>>;
|
|
82
95
|
/**
|
|
83
96
|
* List claims by customer.
|
|
84
97
|
* @summary List claims by customer
|
|
85
98
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
86
|
-
* @param {
|
|
87
|
-
* @param {any} [
|
|
99
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
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.
|
|
88
102
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
89
103
|
* @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.
|
|
90
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
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
|
|
104
|
+
* @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.
|
|
105
|
+
* @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.
|
|
106
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
92
107
|
* @param {*} [options] Override http request option.
|
|
93
108
|
* @throws {RequiredError}
|
|
94
109
|
*/
|
|
95
|
-
listCustomerClaims(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
110
|
+
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
|
|
96
111
|
/**
|
|
97
112
|
* Update claim for customer.
|
|
98
113
|
* @summary Update claim for customer
|
|
99
114
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
100
115
|
* @param {string} claimCode The claim code to identify a claim.
|
|
101
116
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
117
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
118
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
119
|
* @param {*} [options] Override http request option.
|
|
103
120
|
* @throws {RequiredError}
|
|
104
121
|
*/
|
|
105
|
-
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
122
|
+
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomerClaimResponseClass>>;
|
|
106
123
|
/**
|
|
107
124
|
* API to upload and attach documents to a claim.
|
|
108
125
|
* @summary Upload claim documents
|
|
109
126
|
* @param {string} customerCode
|
|
110
127
|
* @param {string} claimCode The claim code to identify a claim.
|
|
111
128
|
* @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
|
|
129
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
112
131
|
* @param {*} [options] Override http request option.
|
|
113
132
|
* @throws {RequiredError}
|
|
114
133
|
*/
|
|
115
|
-
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
134
|
+
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
116
135
|
};
|
|
117
136
|
/**
|
|
118
137
|
* ClaimsApi - factory interface
|
|
@@ -124,44 +143,52 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
124
143
|
* @summary Create a new claim for customer
|
|
125
144
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
126
145
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
146
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
147
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
127
148
|
* @param {*} [options] Override http request option.
|
|
128
149
|
* @throws {RequiredError}
|
|
129
150
|
*/
|
|
130
|
-
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, options?: any): AxiosPromise<
|
|
151
|
+
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: any): AxiosPromise<CreateCustomerClaimResponseClass>;
|
|
131
152
|
/**
|
|
132
153
|
* List claims by customer.
|
|
133
154
|
* @summary List claims by customer
|
|
134
155
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
135
|
-
* @param {
|
|
136
|
-
* @param {any} [
|
|
156
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
158
|
+
* @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.
|
|
137
159
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
138
160
|
* @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.
|
|
139
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
140
|
-
* @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
|
|
161
|
+
* @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.
|
|
162
|
+
* @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.
|
|
163
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
141
164
|
* @param {*} [options] Override http request option.
|
|
142
165
|
* @throws {RequiredError}
|
|
143
166
|
*/
|
|
144
|
-
listCustomerClaims(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<
|
|
167
|
+
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
|
|
145
168
|
/**
|
|
146
169
|
* Update claim for customer.
|
|
147
170
|
* @summary Update claim for customer
|
|
148
171
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
149
172
|
* @param {string} claimCode The claim code to identify a claim.
|
|
150
173
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
174
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
175
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
176
|
* @param {*} [options] Override http request option.
|
|
152
177
|
* @throws {RequiredError}
|
|
153
178
|
*/
|
|
154
|
-
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, options?: any): AxiosPromise<
|
|
179
|
+
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: any): AxiosPromise<UpdateCustomerClaimResponseClass>;
|
|
155
180
|
/**
|
|
156
181
|
* API to upload and attach documents to a claim.
|
|
157
182
|
* @summary Upload claim documents
|
|
158
183
|
* @param {string} customerCode
|
|
159
184
|
* @param {string} claimCode The claim code to identify a claim.
|
|
160
185
|
* @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
|
|
186
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
161
188
|
* @param {*} [options] Override http request option.
|
|
162
189
|
* @throws {RequiredError}
|
|
163
190
|
*/
|
|
164
|
-
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
191
|
+
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, authorization2?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
165
192
|
};
|
|
166
193
|
/**
|
|
167
194
|
* Request parameters for createCustomerClaim operation in ClaimsApi.
|
|
@@ -181,6 +208,18 @@ export interface ClaimsApiCreateCustomerClaimRequest {
|
|
|
181
208
|
* @memberof ClaimsApiCreateCustomerClaim
|
|
182
209
|
*/
|
|
183
210
|
readonly createCustomerClaimRequestDto: CreateCustomerClaimRequestDto;
|
|
211
|
+
/**
|
|
212
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof ClaimsApiCreateCustomerClaim
|
|
215
|
+
*/
|
|
216
|
+
readonly authorization?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof ClaimsApiCreateCustomerClaim
|
|
221
|
+
*/
|
|
222
|
+
readonly authorization2?: string;
|
|
184
223
|
}
|
|
185
224
|
/**
|
|
186
225
|
* Request parameters for listCustomerClaims operation in ClaimsApi.
|
|
@@ -195,13 +234,19 @@ export interface ClaimsApiListCustomerClaimsRequest {
|
|
|
195
234
|
*/
|
|
196
235
|
readonly customerCode: string;
|
|
197
236
|
/**
|
|
198
|
-
*
|
|
237
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof ClaimsApiListCustomerClaims
|
|
240
|
+
*/
|
|
241
|
+
readonly authorization?: string;
|
|
242
|
+
/**
|
|
243
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
199
244
|
* @type {any}
|
|
200
245
|
* @memberof ClaimsApiListCustomerClaims
|
|
201
246
|
*/
|
|
202
247
|
readonly pageSize?: any;
|
|
203
248
|
/**
|
|
204
|
-
* A cursor for use in pagination.
|
|
249
|
+
* 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.
|
|
205
250
|
* @type {any}
|
|
206
251
|
* @memberof ClaimsApiListCustomerClaims
|
|
207
252
|
*/
|
|
@@ -219,17 +264,23 @@ export interface ClaimsApiListCustomerClaimsRequest {
|
|
|
219
264
|
*/
|
|
220
265
|
readonly search?: any;
|
|
221
266
|
/**
|
|
222
|
-
* The order parameter determines how the results should be sorted according to a specified field.
|
|
267
|
+
* 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.
|
|
223
268
|
* @type {any}
|
|
224
269
|
* @memberof ClaimsApiListCustomerClaims
|
|
225
270
|
*/
|
|
226
271
|
readonly order?: any;
|
|
227
272
|
/**
|
|
228
|
-
* 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
|
|
273
|
+
* 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.
|
|
229
274
|
* @type {any}
|
|
230
275
|
* @memberof ClaimsApiListCustomerClaims
|
|
231
276
|
*/
|
|
232
277
|
readonly expand?: any;
|
|
278
|
+
/**
|
|
279
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @memberof ClaimsApiListCustomerClaims
|
|
282
|
+
*/
|
|
283
|
+
readonly authorization2?: string;
|
|
233
284
|
}
|
|
234
285
|
/**
|
|
235
286
|
* Request parameters for updateCustomerClaim operation in ClaimsApi.
|
|
@@ -255,6 +306,18 @@ export interface ClaimsApiUpdateCustomerClaimRequest {
|
|
|
255
306
|
* @memberof ClaimsApiUpdateCustomerClaim
|
|
256
307
|
*/
|
|
257
308
|
readonly updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto;
|
|
309
|
+
/**
|
|
310
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof ClaimsApiUpdateCustomerClaim
|
|
313
|
+
*/
|
|
314
|
+
readonly authorization?: string;
|
|
315
|
+
/**
|
|
316
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
317
|
+
* @type {string}
|
|
318
|
+
* @memberof ClaimsApiUpdateCustomerClaim
|
|
319
|
+
*/
|
|
320
|
+
readonly authorization2?: string;
|
|
258
321
|
}
|
|
259
322
|
/**
|
|
260
323
|
* Request parameters for uploadCustomerClaimDocuments operation in ClaimsApi.
|
|
@@ -280,6 +343,18 @@ export interface ClaimsApiUploadCustomerClaimDocumentsRequest {
|
|
|
280
343
|
* @memberof ClaimsApiUploadCustomerClaimDocuments
|
|
281
344
|
*/
|
|
282
345
|
readonly uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto;
|
|
346
|
+
/**
|
|
347
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
348
|
+
* @type {string}
|
|
349
|
+
* @memberof ClaimsApiUploadCustomerClaimDocuments
|
|
350
|
+
*/
|
|
351
|
+
readonly authorization?: string;
|
|
352
|
+
/**
|
|
353
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
354
|
+
* @type {string}
|
|
355
|
+
* @memberof ClaimsApiUploadCustomerClaimDocuments
|
|
356
|
+
*/
|
|
357
|
+
readonly authorization2?: string;
|
|
283
358
|
}
|
|
284
359
|
/**
|
|
285
360
|
* ClaimsApi - object-oriented interface
|
|
@@ -296,7 +371,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
296
371
|
* @throws {RequiredError}
|
|
297
372
|
* @memberof ClaimsApi
|
|
298
373
|
*/
|
|
299
|
-
createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
374
|
+
createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerClaimResponseClass, any>>;
|
|
300
375
|
/**
|
|
301
376
|
* List claims by customer.
|
|
302
377
|
* @summary List claims by customer
|
|
@@ -305,7 +380,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
305
380
|
* @throws {RequiredError}
|
|
306
381
|
* @memberof ClaimsApi
|
|
307
382
|
*/
|
|
308
|
-
listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
383
|
+
listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerClaimsResponseClass, any>>;
|
|
309
384
|
/**
|
|
310
385
|
* Update claim for customer.
|
|
311
386
|
* @summary Update claim for customer
|
|
@@ -314,7 +389,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
314
389
|
* @throws {RequiredError}
|
|
315
390
|
* @memberof ClaimsApi
|
|
316
391
|
*/
|
|
317
|
-
updateCustomerClaim(requestParameters: ClaimsApiUpdateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
392
|
+
updateCustomerClaim(requestParameters: ClaimsApiUpdateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerClaimResponseClass, any>>;
|
|
318
393
|
/**
|
|
319
394
|
* API to upload and attach documents to a claim.
|
|
320
395
|
* @summary Upload claim documents
|