@emilgroup/customer-sdk-node 1.13.1 → 1.14.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.
Files changed (61) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/leads-api.ts +632 -0
  4. package/api.ts +2 -0
  5. package/base.ts +1 -1
  6. package/dist/api/leads-api.d.ts +365 -0
  7. package/dist/api/leads-api.js +571 -0
  8. package/dist/api.d.ts +1 -0
  9. package/dist/api.js +1 -0
  10. package/dist/base.js +1 -1
  11. package/dist/models/create-account-request-dto.d.ts +7 -1
  12. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  13. package/dist/models/create-bank-account-request-dto.js +15 -0
  14. package/dist/models/create-lead-request-dto.d.ts +76 -0
  15. package/dist/models/create-lead-request-dto.js +15 -0
  16. package/dist/models/create-lead-response-class.d.ts +25 -0
  17. package/dist/models/create-lead-response-class.js +15 -0
  18. package/dist/models/create-policy-request-dto.d.ts +56 -0
  19. package/dist/models/create-policy-request-dto.js +15 -0
  20. package/dist/models/get-lead-response-class.d.ts +25 -0
  21. package/dist/models/get-lead-response-class.js +15 -0
  22. package/dist/models/index.d.ts +15 -0
  23. package/dist/models/index.js +15 -0
  24. package/dist/models/lead-bank-account-class.d.ts +30 -0
  25. package/dist/models/lead-bank-account-class.js +15 -0
  26. package/dist/models/lead-class.d.ts +101 -0
  27. package/dist/models/lead-class.js +15 -0
  28. package/dist/models/list-leads-response-class.d.ts +31 -0
  29. package/dist/models/list-leads-response-class.js +15 -0
  30. package/dist/models/policy-object-dto.d.ts +30 -0
  31. package/dist/models/policy-object-dto.js +15 -0
  32. package/dist/models/premium-override-dto.d.ts +54 -0
  33. package/dist/models/premium-override-dto.js +26 -0
  34. package/dist/models/premium-override-request-class.d.ts +25 -0
  35. package/dist/models/premium-override-request-class.js +15 -0
  36. package/dist/models/premium-override-request-dto.d.ts +25 -0
  37. package/dist/models/premium-override-request-dto.js +15 -0
  38. package/dist/models/update-lead-request-dto.d.ts +37 -0
  39. package/dist/models/update-lead-request-dto.js +15 -0
  40. package/dist/models/update-lead-response-class.d.ts +25 -0
  41. package/dist/models/update-lead-response-class.js +15 -0
  42. package/dist/models/uploaded-document-dto.d.ts +24 -0
  43. package/dist/models/uploaded-document-dto.js +15 -0
  44. package/models/create-account-request-dto.ts +7 -1
  45. package/models/create-bank-account-request-dto.ts +36 -0
  46. package/models/create-lead-request-dto.ts +82 -0
  47. package/models/create-lead-response-class.ts +31 -0
  48. package/models/create-policy-request-dto.ts +62 -0
  49. package/models/get-lead-response-class.ts +31 -0
  50. package/models/index.ts +15 -0
  51. package/models/lead-bank-account-class.ts +36 -0
  52. package/models/lead-class.ts +107 -0
  53. package/models/list-leads-response-class.ts +37 -0
  54. package/models/policy-object-dto.ts +36 -0
  55. package/models/premium-override-dto.ts +64 -0
  56. package/models/premium-override-request-class.ts +31 -0
  57. package/models/premium-override-request-dto.ts +31 -0
  58. package/models/update-lead-request-dto.ts +43 -0
  59. package/models/update-lead-response-class.ts +31 -0
  60. package/models/uploaded-document-dto.ts +30 -0
  61. package/package.json +1 -1
@@ -0,0 +1,365 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateLeadRequestDto } from '../models';
16
+ import { CreateLeadResponseClass } from '../models';
17
+ import { GetLeadResponseClass } from '../models';
18
+ import { ListLeadsResponseClass } from '../models';
19
+ import { UpdateLeadRequestDto } from '../models';
20
+ import { UpdateLeadResponseClass } from '../models';
21
+ /**
22
+ * LeadsApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
28
+ * @summary Create the lead
29
+ * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
30
+ * @param {CreateLeadRequestDto} createLeadRequestDto
31
+ * @param {string} [authorization] Bearer Token
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ createLead: (customerCode: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
38
+ * @summary Retrieve the lead
39
+ * @param {string} code Unique identifier for the object.
40
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
41
+ * @param {string} [authorization] Bearer Token
42
+ * @param {string} [expand]
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ getLead: (code: string, customerCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
49
+ * @summary List leads
50
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
51
+ * @param {string} [authorization] Bearer Token
52
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
53
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
54
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
55
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
56
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
57
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ listLeads: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
+ /**
63
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
64
+ * @summary Update the lead
65
+ * @param {string} code Unique identifier for the object.
66
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
67
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
68
+ * @param {string} [authorization] Bearer Token
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ updateLead: (code: string, customerCode: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
73
+ };
74
+ /**
75
+ * LeadsApi - functional programming interface
76
+ * @export
77
+ */
78
+ export declare const LeadsApiFp: (configuration?: Configuration) => {
79
+ /**
80
+ * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
81
+ * @summary Create the lead
82
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
83
+ * @param {CreateLeadRequestDto} createLeadRequestDto
84
+ * @param {string} [authorization] Bearer Token
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ createLead(customerCode: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
89
+ /**
90
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
91
+ * @summary Retrieve the lead
92
+ * @param {string} code Unique identifier for the object.
93
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
94
+ * @param {string} [authorization] Bearer Token
95
+ * @param {string} [expand]
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ getLead(code: string, customerCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadResponseClass>>;
100
+ /**
101
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
102
+ * @summary List leads
103
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
104
+ * @param {string} [authorization] Bearer Token
105
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
106
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
107
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
108
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
109
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
110
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
115
+ /**
116
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
117
+ * @summary Update the lead
118
+ * @param {string} code Unique identifier for the object.
119
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
120
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
121
+ * @param {string} [authorization] Bearer Token
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ updateLead(code: string, customerCode: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
126
+ };
127
+ /**
128
+ * LeadsApi - factory interface
129
+ * @export
130
+ */
131
+ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
132
+ /**
133
+ * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
134
+ * @summary Create the lead
135
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
136
+ * @param {CreateLeadRequestDto} createLeadRequestDto
137
+ * @param {string} [authorization] Bearer Token
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ createLead(customerCode: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
142
+ /**
143
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
144
+ * @summary Retrieve the lead
145
+ * @param {string} code Unique identifier for the object.
146
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
147
+ * @param {string} [authorization] Bearer Token
148
+ * @param {string} [expand]
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ getLead(code: string, customerCode: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetLeadResponseClass>;
153
+ /**
154
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
155
+ * @summary List leads
156
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
157
+ * @param {string} [authorization] Bearer Token
158
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
159
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
160
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
161
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
162
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
163
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
168
+ /**
169
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
170
+ * @summary Update the lead
171
+ * @param {string} code Unique identifier for the object.
172
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
173
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
174
+ * @param {string} [authorization] Bearer Token
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ updateLead(code: string, customerCode: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
179
+ };
180
+ /**
181
+ * Request parameters for createLead operation in LeadsApi.
182
+ * @export
183
+ * @interface LeadsApiCreateLeadRequest
184
+ */
185
+ export interface LeadsApiCreateLeadRequest {
186
+ /**
187
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
188
+ * @type {string}
189
+ * @memberof LeadsApiCreateLead
190
+ */
191
+ readonly customerCode: string;
192
+ /**
193
+ *
194
+ * @type {CreateLeadRequestDto}
195
+ * @memberof LeadsApiCreateLead
196
+ */
197
+ readonly createLeadRequestDto: CreateLeadRequestDto;
198
+ /**
199
+ * Bearer Token
200
+ * @type {string}
201
+ * @memberof LeadsApiCreateLead
202
+ */
203
+ readonly authorization?: string;
204
+ }
205
+ /**
206
+ * Request parameters for getLead operation in LeadsApi.
207
+ * @export
208
+ * @interface LeadsApiGetLeadRequest
209
+ */
210
+ export interface LeadsApiGetLeadRequest {
211
+ /**
212
+ * Unique identifier for the object.
213
+ * @type {string}
214
+ * @memberof LeadsApiGetLead
215
+ */
216
+ readonly code: string;
217
+ /**
218
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
219
+ * @type {string}
220
+ * @memberof LeadsApiGetLead
221
+ */
222
+ readonly customerCode: string;
223
+ /**
224
+ * Bearer Token
225
+ * @type {string}
226
+ * @memberof LeadsApiGetLead
227
+ */
228
+ readonly authorization?: string;
229
+ /**
230
+ *
231
+ * @type {string}
232
+ * @memberof LeadsApiGetLead
233
+ */
234
+ readonly expand?: string;
235
+ }
236
+ /**
237
+ * Request parameters for listLeads operation in LeadsApi.
238
+ * @export
239
+ * @interface LeadsApiListLeadsRequest
240
+ */
241
+ export interface LeadsApiListLeadsRequest {
242
+ /**
243
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
244
+ * @type {string}
245
+ * @memberof LeadsApiListLeads
246
+ */
247
+ readonly customerCode: string;
248
+ /**
249
+ * Bearer Token
250
+ * @type {string}
251
+ * @memberof LeadsApiListLeads
252
+ */
253
+ readonly authorization?: string;
254
+ /**
255
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
256
+ * @type {any}
257
+ * @memberof LeadsApiListLeads
258
+ */
259
+ readonly pageSize?: any;
260
+ /**
261
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
262
+ * @type {any}
263
+ * @memberof LeadsApiListLeads
264
+ */
265
+ readonly pageToken?: any;
266
+ /**
267
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
268
+ * @type {any}
269
+ * @memberof LeadsApiListLeads
270
+ */
271
+ readonly filter?: any;
272
+ /**
273
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
274
+ * @type {any}
275
+ * @memberof LeadsApiListLeads
276
+ */
277
+ readonly search?: any;
278
+ /**
279
+ * 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.
280
+ * @type {any}
281
+ * @memberof LeadsApiListLeads
282
+ */
283
+ readonly order?: any;
284
+ /**
285
+ * 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.
286
+ * @type {any}
287
+ * @memberof LeadsApiListLeads
288
+ */
289
+ readonly expand?: any;
290
+ }
291
+ /**
292
+ * Request parameters for updateLead operation in LeadsApi.
293
+ * @export
294
+ * @interface LeadsApiUpdateLeadRequest
295
+ */
296
+ export interface LeadsApiUpdateLeadRequest {
297
+ /**
298
+ * Unique identifier for the object.
299
+ * @type {string}
300
+ * @memberof LeadsApiUpdateLead
301
+ */
302
+ readonly code: string;
303
+ /**
304
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
305
+ * @type {string}
306
+ * @memberof LeadsApiUpdateLead
307
+ */
308
+ readonly customerCode: string;
309
+ /**
310
+ *
311
+ * @type {UpdateLeadRequestDto}
312
+ * @memberof LeadsApiUpdateLead
313
+ */
314
+ readonly updateLeadRequestDto: UpdateLeadRequestDto;
315
+ /**
316
+ * Bearer Token
317
+ * @type {string}
318
+ * @memberof LeadsApiUpdateLead
319
+ */
320
+ readonly authorization?: string;
321
+ }
322
+ /**
323
+ * LeadsApi - object-oriented interface
324
+ * @export
325
+ * @class LeadsApi
326
+ * @extends {BaseAPI}
327
+ */
328
+ export declare class LeadsApi extends BaseAPI {
329
+ /**
330
+ * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
331
+ * @summary Create the lead
332
+ * @param {LeadsApiCreateLeadRequest} requestParameters Request parameters.
333
+ * @param {*} [options] Override http request option.
334
+ * @throws {RequiredError}
335
+ * @memberof LeadsApi
336
+ */
337
+ createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
338
+ /**
339
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
340
+ * @summary Retrieve the lead
341
+ * @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ * @memberof LeadsApi
345
+ */
346
+ getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
347
+ /**
348
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
349
+ * @summary List leads
350
+ * @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
351
+ * @param {*} [options] Override http request option.
352
+ * @throws {RequiredError}
353
+ * @memberof LeadsApi
354
+ */
355
+ listLeads(requestParameters: LeadsApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any>>;
356
+ /**
357
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
358
+ * @summary Update the lead
359
+ * @param {LeadsApiUpdateLeadRequest} requestParameters Request parameters.
360
+ * @param {*} [options] Override http request option.
361
+ * @throws {RequiredError}
362
+ * @memberof LeadsApi
363
+ */
364
+ updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
365
+ }