@emilgroup/customer-sdk-node 1.23.0 → 1.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claims-api.ts +50 -100
- package/base.ts +1 -1
- package/dist/api/claims-api.d.ts +15 -60
- package/dist/api/claims-api.js +224 -204
- package/dist/base.js +1 -1
- package/package.json +1 -1
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -31,22 +31,20 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
31
31
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
32
32
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
33
33
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
34
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
35
34
|
* @param {*} [options] Override http request option.
|
|
36
35
|
* @throws {RequiredError}
|
|
37
36
|
*/
|
|
38
|
-
createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string,
|
|
37
|
+
createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
38
|
/**
|
|
40
39
|
* Get claim for customer.
|
|
41
40
|
* @summary Get claim
|
|
42
41
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
43
42
|
* @param {string} claimCode The claim code to identify a claim.
|
|
44
43
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
45
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
44
|
* @param {*} [options] Override http request option.
|
|
47
45
|
* @throws {RequiredError}
|
|
48
46
|
*/
|
|
49
|
-
getCustomerClaim: (customerCode: string, claimCode: string, authorization?: string,
|
|
47
|
+
getCustomerClaim: (customerCode: string, claimCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
48
|
/**
|
|
51
49
|
* List claims by customer.
|
|
52
50
|
* @summary List claims
|
|
@@ -58,11 +56,10 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
58
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.
|
|
59
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.
|
|
60
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.
|
|
61
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
62
59
|
* @param {*} [options] Override http request option.
|
|
63
60
|
* @throws {RequiredError}
|
|
64
61
|
*/
|
|
65
|
-
listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any,
|
|
62
|
+
listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
63
|
/**
|
|
67
64
|
* Update claim for customer.
|
|
68
65
|
* @summary Update claim
|
|
@@ -70,11 +67,10 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
70
67
|
* @param {string} claimCode The claim code to identify a claim.
|
|
71
68
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
72
69
|
* @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.
|
|
74
70
|
* @param {*} [options] Override http request option.
|
|
75
71
|
* @throws {RequiredError}
|
|
76
72
|
*/
|
|
77
|
-
updateCustomerClaim: (customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string,
|
|
73
|
+
updateCustomerClaim: (customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
74
|
/**
|
|
79
75
|
* API to upload and attach documents to a claim.
|
|
80
76
|
* @summary Upload claim documents
|
|
@@ -82,11 +78,10 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
82
78
|
* @param {string} claimCode The claim code to identify a claim.
|
|
83
79
|
* @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
|
|
84
80
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
85
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
81
|
* @param {*} [options] Override http request option.
|
|
87
82
|
* @throws {RequiredError}
|
|
88
83
|
*/
|
|
89
|
-
uploadCustomerClaimDocuments: (customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string,
|
|
84
|
+
uploadCustomerClaimDocuments: (customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
85
|
};
|
|
91
86
|
/**
|
|
92
87
|
* ClaimsApi - functional programming interface
|
|
@@ -99,22 +94,20 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
99
94
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
100
95
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
101
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
97
|
* @param {*} [options] Override http request option.
|
|
104
98
|
* @throws {RequiredError}
|
|
105
99
|
*/
|
|
106
|
-
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string,
|
|
100
|
+
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomerClaimResponseClass>>;
|
|
107
101
|
/**
|
|
108
102
|
* Get claim for customer.
|
|
109
103
|
* @summary Get claim
|
|
110
104
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
111
105
|
* @param {string} claimCode The claim code to identify a claim.
|
|
112
106
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
107
|
* @param {*} [options] Override http request option.
|
|
115
108
|
* @throws {RequiredError}
|
|
116
109
|
*/
|
|
117
|
-
getCustomerClaim(customerCode: string, claimCode: string, authorization?: string,
|
|
110
|
+
getCustomerClaim(customerCode: string, claimCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerClaimResponseClass>>;
|
|
118
111
|
/**
|
|
119
112
|
* List claims by customer.
|
|
120
113
|
* @summary List claims
|
|
@@ -126,11 +119,10 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
126
119
|
* @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.
|
|
127
120
|
* @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.
|
|
128
121
|
* @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.
|
|
129
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
122
|
* @param {*} [options] Override http request option.
|
|
131
123
|
* @throws {RequiredError}
|
|
132
124
|
*/
|
|
133
|
-
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any,
|
|
125
|
+
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
|
|
134
126
|
/**
|
|
135
127
|
* Update claim for customer.
|
|
136
128
|
* @summary Update claim
|
|
@@ -138,11 +130,10 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
138
130
|
* @param {string} claimCode The claim code to identify a claim.
|
|
139
131
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
140
132
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
141
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
133
|
* @param {*} [options] Override http request option.
|
|
143
134
|
* @throws {RequiredError}
|
|
144
135
|
*/
|
|
145
|
-
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string,
|
|
136
|
+
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomerClaimResponseClass>>;
|
|
146
137
|
/**
|
|
147
138
|
* API to upload and attach documents to a claim.
|
|
148
139
|
* @summary Upload claim documents
|
|
@@ -150,11 +141,10 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
150
141
|
* @param {string} claimCode The claim code to identify a claim.
|
|
151
142
|
* @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
|
|
152
143
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
144
|
* @param {*} [options] Override http request option.
|
|
155
145
|
* @throws {RequiredError}
|
|
156
146
|
*/
|
|
157
|
-
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string,
|
|
147
|
+
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
158
148
|
};
|
|
159
149
|
/**
|
|
160
150
|
* ClaimsApi - factory interface
|
|
@@ -167,22 +157,20 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
167
157
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
168
158
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
169
159
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
170
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
171
160
|
* @param {*} [options] Override http request option.
|
|
172
161
|
* @throws {RequiredError}
|
|
173
162
|
*/
|
|
174
|
-
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string,
|
|
163
|
+
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomerClaimResponseClass>;
|
|
175
164
|
/**
|
|
176
165
|
* Get claim for customer.
|
|
177
166
|
* @summary Get claim
|
|
178
167
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
179
168
|
* @param {string} claimCode The claim code to identify a claim.
|
|
180
169
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
181
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
170
|
* @param {*} [options] Override http request option.
|
|
183
171
|
* @throws {RequiredError}
|
|
184
172
|
*/
|
|
185
|
-
getCustomerClaim(customerCode: string, claimCode: string, authorization?: string,
|
|
173
|
+
getCustomerClaim(customerCode: string, claimCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomerClaimResponseClass>;
|
|
186
174
|
/**
|
|
187
175
|
* List claims by customer.
|
|
188
176
|
* @summary List claims
|
|
@@ -194,11 +182,10 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
194
182
|
* @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.
|
|
195
183
|
* @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.
|
|
196
184
|
* @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.
|
|
197
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
198
185
|
* @param {*} [options] Override http request option.
|
|
199
186
|
* @throws {RequiredError}
|
|
200
187
|
*/
|
|
201
|
-
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any,
|
|
188
|
+
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
|
|
202
189
|
/**
|
|
203
190
|
* Update claim for customer.
|
|
204
191
|
* @summary Update claim
|
|
@@ -206,11 +193,10 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
206
193
|
* @param {string} claimCode The claim code to identify a claim.
|
|
207
194
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
208
195
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
209
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
210
196
|
* @param {*} [options] Override http request option.
|
|
211
197
|
* @throws {RequiredError}
|
|
212
198
|
*/
|
|
213
|
-
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string,
|
|
199
|
+
updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCustomerClaimResponseClass>;
|
|
214
200
|
/**
|
|
215
201
|
* API to upload and attach documents to a claim.
|
|
216
202
|
* @summary Upload claim documents
|
|
@@ -218,11 +204,10 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
218
204
|
* @param {string} claimCode The claim code to identify a claim.
|
|
219
205
|
* @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
|
|
220
206
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
221
|
-
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
222
207
|
* @param {*} [options] Override http request option.
|
|
223
208
|
* @throws {RequiredError}
|
|
224
209
|
*/
|
|
225
|
-
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string,
|
|
210
|
+
uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
226
211
|
};
|
|
227
212
|
/**
|
|
228
213
|
* Request parameters for createCustomerClaim operation in ClaimsApi.
|
|
@@ -248,12 +233,6 @@ export interface ClaimsApiCreateCustomerClaimRequest {
|
|
|
248
233
|
* @memberof ClaimsApiCreateCustomerClaim
|
|
249
234
|
*/
|
|
250
235
|
readonly authorization?: string;
|
|
251
|
-
/**
|
|
252
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
253
|
-
* @type {string}
|
|
254
|
-
* @memberof ClaimsApiCreateCustomerClaim
|
|
255
|
-
*/
|
|
256
|
-
readonly authorization2?: string;
|
|
257
236
|
}
|
|
258
237
|
/**
|
|
259
238
|
* Request parameters for getCustomerClaim operation in ClaimsApi.
|
|
@@ -279,12 +258,6 @@ export interface ClaimsApiGetCustomerClaimRequest {
|
|
|
279
258
|
* @memberof ClaimsApiGetCustomerClaim
|
|
280
259
|
*/
|
|
281
260
|
readonly authorization?: string;
|
|
282
|
-
/**
|
|
283
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
284
|
-
* @type {string}
|
|
285
|
-
* @memberof ClaimsApiGetCustomerClaim
|
|
286
|
-
*/
|
|
287
|
-
readonly authorization2?: string;
|
|
288
261
|
}
|
|
289
262
|
/**
|
|
290
263
|
* Request parameters for listCustomerClaims operation in ClaimsApi.
|
|
@@ -340,12 +313,6 @@ export interface ClaimsApiListCustomerClaimsRequest {
|
|
|
340
313
|
* @memberof ClaimsApiListCustomerClaims
|
|
341
314
|
*/
|
|
342
315
|
readonly expand?: any;
|
|
343
|
-
/**
|
|
344
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
345
|
-
* @type {string}
|
|
346
|
-
* @memberof ClaimsApiListCustomerClaims
|
|
347
|
-
*/
|
|
348
|
-
readonly authorization2?: string;
|
|
349
316
|
}
|
|
350
317
|
/**
|
|
351
318
|
* Request parameters for updateCustomerClaim operation in ClaimsApi.
|
|
@@ -377,12 +344,6 @@ export interface ClaimsApiUpdateCustomerClaimRequest {
|
|
|
377
344
|
* @memberof ClaimsApiUpdateCustomerClaim
|
|
378
345
|
*/
|
|
379
346
|
readonly authorization?: string;
|
|
380
|
-
/**
|
|
381
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
382
|
-
* @type {string}
|
|
383
|
-
* @memberof ClaimsApiUpdateCustomerClaim
|
|
384
|
-
*/
|
|
385
|
-
readonly authorization2?: string;
|
|
386
347
|
}
|
|
387
348
|
/**
|
|
388
349
|
* Request parameters for uploadCustomerClaimDocuments operation in ClaimsApi.
|
|
@@ -414,12 +375,6 @@ export interface ClaimsApiUploadCustomerClaimDocumentsRequest {
|
|
|
414
375
|
* @memberof ClaimsApiUploadCustomerClaimDocuments
|
|
415
376
|
*/
|
|
416
377
|
readonly authorization?: string;
|
|
417
|
-
/**
|
|
418
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
419
|
-
* @type {string}
|
|
420
|
-
* @memberof ClaimsApiUploadCustomerClaimDocuments
|
|
421
|
-
*/
|
|
422
|
-
readonly authorization2?: string;
|
|
423
378
|
}
|
|
424
379
|
/**
|
|
425
380
|
* ClaimsApi - object-oriented interface
|