@emilgroup/public-api-sdk 1.19.0 → 1.24.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 (181) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api/documents-api.ts +114 -0
  4. package/api/products-api.ts +120 -0
  5. package/models/calculate-product-fields-request-dto.ts +37 -0
  6. package/models/calculate-product-fields-response-class.ts +31 -0
  7. package/models/create-estimated-invoice-response-class.ts +8 -1
  8. package/models/create-lead-request-dto.ts +7 -7
  9. package/models/document-class.ts +6 -0
  10. package/models/index.ts +3 -0
  11. package/models/inline-response200.ts +6 -6
  12. package/models/inline-response503.ts +6 -6
  13. package/models/lead-account-class.ts +1 -1
  14. package/models/policy-object-request-dto.ts +1 -1
  15. package/{dist/models/policy-object-request-dto.d.ts → models/policy-object-response-class.ts} +16 -16
  16. package/models/product-document-class.ts +7 -7
  17. package/models/update-lead-request-dto.ts +5 -5
  18. package/package.json +1 -2
  19. package/dist/api/address-completions-validations-api.d.ts +0 -215
  20. package/dist/api/address-completions-validations-api.js +0 -369
  21. package/dist/api/default-api.d.ts +0 -66
  22. package/dist/api/default-api.js +0 -196
  23. package/dist/api/documents-api.d.ts +0 -475
  24. package/dist/api/documents-api.js +0 -753
  25. package/dist/api/leads-api.d.ts +0 -441
  26. package/dist/api/leads-api.js +0 -787
  27. package/dist/api/notifications-api.d.ts +0 -211
  28. package/dist/api/notifications-api.js +0 -410
  29. package/dist/api/payments-setup-api.d.ts +0 -228
  30. package/dist/api/payments-setup-api.js +0 -422
  31. package/dist/api/products-api.d.ts +0 -497
  32. package/dist/api/products-api.js +0 -823
  33. package/dist/api.d.ts +0 -18
  34. package/dist/api.js +0 -36
  35. package/dist/base.d.ts +0 -74
  36. package/dist/base.js +0 -298
  37. package/dist/common.d.ts +0 -91
  38. package/dist/common.js +0 -276
  39. package/dist/configuration.d.ts +0 -83
  40. package/dist/configuration.js +0 -44
  41. package/dist/index.d.ts +0 -15
  42. package/dist/index.js +0 -36
  43. package/dist/models/address-completion-item-class.d.ts +0 -49
  44. package/dist/models/address-completion-item-class.js +0 -15
  45. package/dist/models/address-completion-response-class.d.ts +0 -25
  46. package/dist/models/address-completion-response-class.js +0 -15
  47. package/dist/models/address-field-score-class.d.ts +0 -48
  48. package/dist/models/address-field-score-class.js +0 -15
  49. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  50. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  51. package/dist/models/complete-email-verification-dto.d.ts +0 -30
  52. package/dist/models/complete-email-verification-dto.js +0 -15
  53. package/dist/models/complete-email-verification-response-class.d.ts +0 -24
  54. package/dist/models/complete-email-verification-response-class.js +0 -15
  55. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  56. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  57. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  58. package/dist/models/complete-payment-setup-response-class.js +0 -15
  59. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  60. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  61. package/dist/models/create-account-request-dto.d.ts +0 -132
  62. package/dist/models/create-account-request-dto.js +0 -31
  63. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  64. package/dist/models/create-bank-account-request-dto.js +0 -15
  65. package/dist/models/create-custom-application-request-dto.d.ts +0 -35
  66. package/dist/models/create-custom-application-request-dto.js +0 -20
  67. package/dist/models/create-custom-application-response-class.d.ts +0 -24
  68. package/dist/models/create-custom-application-response-class.js +0 -15
  69. package/dist/models/create-document-request-dto.d.ts +0 -132
  70. package/dist/models/create-document-request-dto.js +0 -43
  71. package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -55
  72. package/dist/models/create-estimated-invoice-request-dto.js +0 -20
  73. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
  74. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  75. package/dist/models/create-lead-async-response-class.d.ts +0 -24
  76. package/dist/models/create-lead-async-response-class.js +0 -15
  77. package/dist/models/create-lead-request-dto.d.ts +0 -108
  78. package/dist/models/create-lead-request-dto.js +0 -15
  79. package/dist/models/create-lead-response-class.d.ts +0 -25
  80. package/dist/models/create-lead-response-class.js +0 -15
  81. package/dist/models/create-payment-method-request-dto.d.ts +0 -36
  82. package/dist/models/create-payment-method-request-dto.js +0 -20
  83. package/dist/models/create-presigned-post-request-dto.d.ts +0 -128
  84. package/dist/models/create-presigned-post-request-dto.js +0 -52
  85. package/dist/models/create-presigned-post-response-class.d.ts +0 -30
  86. package/dist/models/create-presigned-post-response-class.js +0 -15
  87. package/dist/models/document-class.d.ts +0 -138
  88. package/dist/models/document-class.js +0 -49
  89. package/dist/models/get-custom-css-response-class.d.ts +0 -24
  90. package/dist/models/get-custom-css-response-class.js +0 -15
  91. package/dist/models/get-lead-response-class.d.ts +0 -25
  92. package/dist/models/get-lead-response-class.js +0 -15
  93. package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
  94. package/dist/models/get-product-document-download-url-response-class.js +0 -15
  95. package/dist/models/get-public-psp-settings-response-class.d.ts +0 -30
  96. package/dist/models/get-public-psp-settings-response-class.js +0 -15
  97. package/dist/models/index.d.ts +0 -69
  98. package/dist/models/index.js +0 -85
  99. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  100. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  101. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  102. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  103. package/dist/models/initiate-email-verification-dto.d.ts +0 -30
  104. package/dist/models/initiate-email-verification-dto.js +0 -15
  105. package/dist/models/initiate-email-verification-response-class.d.ts +0 -24
  106. package/dist/models/initiate-email-verification-response-class.js +0 -15
  107. package/dist/models/initiate-lead-response-class.d.ts +0 -24
  108. package/dist/models/initiate-lead-response-class.js +0 -15
  109. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -32
  110. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  111. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  112. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  113. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  114. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  115. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  116. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  117. package/dist/models/inline-response200.d.ts +0 -54
  118. package/dist/models/inline-response200.js +0 -15
  119. package/dist/models/inline-response503.d.ts +0 -54
  120. package/dist/models/inline-response503.js +0 -15
  121. package/dist/models/insured-object-class.d.ts +0 -85
  122. package/dist/models/insured-object-class.js +0 -15
  123. package/dist/models/insured-object-type-class.d.ts +0 -48
  124. package/dist/models/insured-object-type-class.js +0 -15
  125. package/dist/models/invoice-class.d.ts +0 -134
  126. package/dist/models/invoice-class.js +0 -15
  127. package/dist/models/invoice-item-class.d.ts +0 -120
  128. package/dist/models/invoice-item-class.js +0 -15
  129. package/dist/models/invoice-status-class.d.ts +0 -42
  130. package/dist/models/invoice-status-class.js +0 -15
  131. package/dist/models/lead-account-class.d.ts +0 -109
  132. package/dist/models/lead-account-class.js +0 -22
  133. package/dist/models/lead-bank-account-class.d.ts +0 -30
  134. package/dist/models/lead-bank-account-class.js +0 -15
  135. package/dist/models/lead-class.d.ts +0 -109
  136. package/dist/models/lead-class.js +0 -15
  137. package/dist/models/lead-policy-class.d.ts +0 -43
  138. package/dist/models/lead-policy-class.js +0 -15
  139. package/dist/models/lead-policy-object-class.d.ts +0 -36
  140. package/dist/models/lead-policy-object-class.js +0 -15
  141. package/dist/models/list-documents-response-class.d.ts +0 -31
  142. package/dist/models/list-documents-response-class.js +0 -15
  143. package/dist/models/list-product-documents-response-class.d.ts +0 -31
  144. package/dist/models/list-product-documents-response-class.js +0 -15
  145. package/dist/models/list-products-response-class.d.ts +0 -31
  146. package/dist/models/list-products-response-class.js +0 -15
  147. package/dist/models/payment-method-class.d.ts +0 -60
  148. package/dist/models/payment-method-class.js +0 -15
  149. package/dist/models/policy-object-request-dto.js +0 -15
  150. package/dist/models/premium-override-dto.d.ts +0 -55
  151. package/dist/models/premium-override-dto.js +0 -27
  152. package/dist/models/premium-override-request-dto.d.ts +0 -25
  153. package/dist/models/premium-override-request-dto.js +0 -15
  154. package/dist/models/product-class.d.ts +0 -80
  155. package/dist/models/product-class.js +0 -15
  156. package/dist/models/product-document-class.d.ts +0 -111
  157. package/dist/models/product-document-class.js +0 -36
  158. package/dist/models/product-factor-for-version-class.d.ts +0 -60
  159. package/dist/models/product-factor-for-version-class.js +0 -15
  160. package/dist/models/product-field-class.d.ts +0 -132
  161. package/dist/models/product-field-class.js +0 -15
  162. package/dist/models/product-version-class.d.ts +0 -61
  163. package/dist/models/product-version-class.js +0 -22
  164. package/dist/models/send-notification-request-dto.d.ts +0 -36
  165. package/dist/models/send-notification-request-dto.js +0 -15
  166. package/dist/models/send-notification-response-class.d.ts +0 -24
  167. package/dist/models/send-notification-response-class.js +0 -15
  168. package/dist/models/sepa-dto.d.ts +0 -30
  169. package/dist/models/sepa-dto.js +0 -15
  170. package/dist/models/structured-address-class.d.ts +0 -54
  171. package/dist/models/structured-address-class.js +0 -15
  172. package/dist/models/suggested-address-details-class.d.ts +0 -90
  173. package/dist/models/suggested-address-details-class.js +0 -15
  174. package/dist/models/update-lead-request-dto.d.ts +0 -95
  175. package/dist/models/update-lead-request-dto.js +0 -15
  176. package/dist/models/update-lead-response-class.d.ts +0 -25
  177. package/dist/models/update-lead-response-class.js +0 -15
  178. package/dist/models/uploaded-document-dto.d.ts +0 -24
  179. package/dist/models/uploaded-document-dto.js +0 -15
  180. package/dist/models/validate-address-response-class.d.ts +0 -50
  181. package/dist/models/validate-address-response-class.js +0 -15
@@ -1,441 +0,0 @@
1
- /**
2
- * Emil PublicAPI
3
- * The Emil Public 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 { CreateLeadAsyncResponseClass } from '../models';
16
- import { CreateLeadRequestDto } from '../models';
17
- import { CreateLeadResponseClass } from '../models';
18
- import { GetLeadResponseClass } from '../models';
19
- import { InitiateLeadResponseClass } from '../models';
20
- import { UpdateLeadRequestDto } from '../models';
21
- import { UpdateLeadResponseClass } from '../models';
22
- /**
23
- * LeadsApi - axios parameter creator
24
- * @export
25
- */
26
- export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration) => {
27
- /**
28
- * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
29
- * @summary Create the lead
30
- * @param {CreateLeadRequestDto} createLeadRequestDto
31
- * @param {string} [authorization] Bearer Token
32
- * @param {*} [options] Override http request option.
33
- * @throws {RequiredError}
34
- */
35
- createLead: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
- /**
37
- * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
38
- * @summary Create the lead asynchronously
39
- * @param {CreateLeadRequestDto} createLeadRequestDto
40
- * @param {string} [authorization] Bearer Token
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- createLeadAsync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
- /**
46
- * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
47
- * @summary Create the lead synchronously
48
- * @param {CreateLeadRequestDto} createLeadRequestDto
49
- * @param {string} [authorization] Bearer Token
50
- * @param {*} [options] Override http request option.
51
- * @throws {RequiredError}
52
- */
53
- createLeadSync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
- /**
55
- * 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.
56
- * @summary Retrieve the lead
57
- * @param {string} code Unique identifier for the object.
58
- * @param {string} [authorization] Bearer Token
59
- * @param {*} [options] Override http request option.
60
- * @throws {RequiredError}
61
- */
62
- getLead: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
- /**
64
- * This will initiate a lead code.
65
- * @summary Initiate a lead code
66
- * @param {string} [authorization] Bearer Token
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- initiateLead: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
71
- /**
72
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
73
- * @summary Update the lead
74
- * @param {string} code Unique identifier for the object.
75
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
76
- * @param {string} [authorization] Bearer Token
77
- * @param {*} [options] Override http request option.
78
- * @throws {RequiredError}
79
- */
80
- updateLead: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
81
- /**
82
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
83
- * @summary Update the lead
84
- * @param {string} code Unique identifier for the object.
85
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
86
- * @param {string} [authorization] Bearer Token
87
- * @param {*} [options] Override http request option.
88
- * @throws {RequiredError}
89
- */
90
- updateLeadSync: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
91
- };
92
- /**
93
- * LeadsApi - functional programming interface
94
- * @export
95
- */
96
- export declare const LeadsApiFp: (configuration?: Configuration) => {
97
- /**
98
- * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
99
- * @summary Create the lead
100
- * @param {CreateLeadRequestDto} createLeadRequestDto
101
- * @param {string} [authorization] Bearer Token
102
- * @param {*} [options] Override http request option.
103
- * @throws {RequiredError}
104
- */
105
- createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
106
- /**
107
- * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
108
- * @summary Create the lead asynchronously
109
- * @param {CreateLeadRequestDto} createLeadRequestDto
110
- * @param {string} [authorization] Bearer Token
111
- * @param {*} [options] Override http request option.
112
- * @throws {RequiredError}
113
- */
114
- createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadAsyncResponseClass>>;
115
- /**
116
- * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
117
- * @summary Create the lead synchronously
118
- * @param {CreateLeadRequestDto} createLeadRequestDto
119
- * @param {string} [authorization] Bearer Token
120
- * @param {*} [options] Override http request option.
121
- * @throws {RequiredError}
122
- */
123
- createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
124
- /**
125
- * 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.
126
- * @summary Retrieve the lead
127
- * @param {string} code Unique identifier for the object.
128
- * @param {string} [authorization] Bearer Token
129
- * @param {*} [options] Override http request option.
130
- * @throws {RequiredError}
131
- */
132
- getLead(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadResponseClass>>;
133
- /**
134
- * This will initiate a lead code.
135
- * @summary Initiate a lead code
136
- * @param {string} [authorization] Bearer Token
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- */
140
- initiateLead(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateLeadResponseClass>>;
141
- /**
142
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
143
- * @summary Update the lead
144
- * @param {string} code Unique identifier for the object.
145
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
146
- * @param {string} [authorization] Bearer Token
147
- * @param {*} [options] Override http request option.
148
- * @throws {RequiredError}
149
- */
150
- updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
151
- /**
152
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
153
- * @summary Update the lead
154
- * @param {string} code Unique identifier for the object.
155
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
156
- * @param {string} [authorization] Bearer Token
157
- * @param {*} [options] Override http request option.
158
- * @throws {RequiredError}
159
- */
160
- updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
161
- };
162
- /**
163
- * LeadsApi - factory interface
164
- * @export
165
- */
166
- export declare const LeadsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
167
- /**
168
- * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
169
- * @summary Create the lead
170
- * @param {CreateLeadRequestDto} createLeadRequestDto
171
- * @param {string} [authorization] Bearer Token
172
- * @param {*} [options] Override http request option.
173
- * @throws {RequiredError}
174
- */
175
- createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
176
- /**
177
- * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
178
- * @summary Create the lead asynchronously
179
- * @param {CreateLeadRequestDto} createLeadRequestDto
180
- * @param {string} [authorization] Bearer Token
181
- * @param {*} [options] Override http request option.
182
- * @throws {RequiredError}
183
- */
184
- createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadAsyncResponseClass>;
185
- /**
186
- * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
187
- * @summary Create the lead synchronously
188
- * @param {CreateLeadRequestDto} createLeadRequestDto
189
- * @param {string} [authorization] Bearer Token
190
- * @param {*} [options] Override http request option.
191
- * @throws {RequiredError}
192
- */
193
- createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
194
- /**
195
- * 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.
196
- * @summary Retrieve the lead
197
- * @param {string} code Unique identifier for the object.
198
- * @param {string} [authorization] Bearer Token
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- */
202
- getLead(code: string, authorization?: string, options?: any): AxiosPromise<GetLeadResponseClass>;
203
- /**
204
- * This will initiate a lead code.
205
- * @summary Initiate a lead code
206
- * @param {string} [authorization] Bearer Token
207
- * @param {*} [options] Override http request option.
208
- * @throws {RequiredError}
209
- */
210
- initiateLead(authorization?: string, options?: any): AxiosPromise<InitiateLeadResponseClass>;
211
- /**
212
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
213
- * @summary Update the lead
214
- * @param {string} code Unique identifier for the object.
215
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
216
- * @param {string} [authorization] Bearer Token
217
- * @param {*} [options] Override http request option.
218
- * @throws {RequiredError}
219
- */
220
- updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
221
- /**
222
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
223
- * @summary Update the lead
224
- * @param {string} code Unique identifier for the object.
225
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
226
- * @param {string} [authorization] Bearer Token
227
- * @param {*} [options] Override http request option.
228
- * @throws {RequiredError}
229
- */
230
- updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
231
- };
232
- /**
233
- * Request parameters for createLead operation in LeadsApi.
234
- * @export
235
- * @interface LeadsApiCreateLeadRequest
236
- */
237
- export interface LeadsApiCreateLeadRequest {
238
- /**
239
- *
240
- * @type {CreateLeadRequestDto}
241
- * @memberof LeadsApiCreateLead
242
- */
243
- readonly createLeadRequestDto: CreateLeadRequestDto;
244
- /**
245
- * Bearer Token
246
- * @type {string}
247
- * @memberof LeadsApiCreateLead
248
- */
249
- readonly authorization?: string;
250
- }
251
- /**
252
- * Request parameters for createLeadAsync operation in LeadsApi.
253
- * @export
254
- * @interface LeadsApiCreateLeadAsyncRequest
255
- */
256
- export interface LeadsApiCreateLeadAsyncRequest {
257
- /**
258
- *
259
- * @type {CreateLeadRequestDto}
260
- * @memberof LeadsApiCreateLeadAsync
261
- */
262
- readonly createLeadRequestDto: CreateLeadRequestDto;
263
- /**
264
- * Bearer Token
265
- * @type {string}
266
- * @memberof LeadsApiCreateLeadAsync
267
- */
268
- readonly authorization?: string;
269
- }
270
- /**
271
- * Request parameters for createLeadSync operation in LeadsApi.
272
- * @export
273
- * @interface LeadsApiCreateLeadSyncRequest
274
- */
275
- export interface LeadsApiCreateLeadSyncRequest {
276
- /**
277
- *
278
- * @type {CreateLeadRequestDto}
279
- * @memberof LeadsApiCreateLeadSync
280
- */
281
- readonly createLeadRequestDto: CreateLeadRequestDto;
282
- /**
283
- * Bearer Token
284
- * @type {string}
285
- * @memberof LeadsApiCreateLeadSync
286
- */
287
- readonly authorization?: string;
288
- }
289
- /**
290
- * Request parameters for getLead operation in LeadsApi.
291
- * @export
292
- * @interface LeadsApiGetLeadRequest
293
- */
294
- export interface LeadsApiGetLeadRequest {
295
- /**
296
- * Unique identifier for the object.
297
- * @type {string}
298
- * @memberof LeadsApiGetLead
299
- */
300
- readonly code: string;
301
- /**
302
- * Bearer Token
303
- * @type {string}
304
- * @memberof LeadsApiGetLead
305
- */
306
- readonly authorization?: string;
307
- }
308
- /**
309
- * Request parameters for initiateLead operation in LeadsApi.
310
- * @export
311
- * @interface LeadsApiInitiateLeadRequest
312
- */
313
- export interface LeadsApiInitiateLeadRequest {
314
- /**
315
- * Bearer Token
316
- * @type {string}
317
- * @memberof LeadsApiInitiateLead
318
- */
319
- readonly authorization?: string;
320
- }
321
- /**
322
- * Request parameters for updateLead operation in LeadsApi.
323
- * @export
324
- * @interface LeadsApiUpdateLeadRequest
325
- */
326
- export interface LeadsApiUpdateLeadRequest {
327
- /**
328
- * Unique identifier for the object.
329
- * @type {string}
330
- * @memberof LeadsApiUpdateLead
331
- */
332
- readonly code: string;
333
- /**
334
- *
335
- * @type {UpdateLeadRequestDto}
336
- * @memberof LeadsApiUpdateLead
337
- */
338
- readonly updateLeadRequestDto: UpdateLeadRequestDto;
339
- /**
340
- * Bearer Token
341
- * @type {string}
342
- * @memberof LeadsApiUpdateLead
343
- */
344
- readonly authorization?: string;
345
- }
346
- /**
347
- * Request parameters for updateLeadSync operation in LeadsApi.
348
- * @export
349
- * @interface LeadsApiUpdateLeadSyncRequest
350
- */
351
- export interface LeadsApiUpdateLeadSyncRequest {
352
- /**
353
- * Unique identifier for the object.
354
- * @type {string}
355
- * @memberof LeadsApiUpdateLeadSync
356
- */
357
- readonly code: string;
358
- /**
359
- *
360
- * @type {UpdateLeadRequestDto}
361
- * @memberof LeadsApiUpdateLeadSync
362
- */
363
- readonly updateLeadRequestDto: UpdateLeadRequestDto;
364
- /**
365
- * Bearer Token
366
- * @type {string}
367
- * @memberof LeadsApiUpdateLeadSync
368
- */
369
- readonly authorization?: string;
370
- }
371
- /**
372
- * LeadsApi - object-oriented interface
373
- * @export
374
- * @class LeadsApi
375
- * @extends {BaseAPI}
376
- */
377
- export declare class LeadsApi extends BaseAPI {
378
- /**
379
- * This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
380
- * @summary Create the lead
381
- * @param {LeadsApiCreateLeadRequest} requestParameters Request parameters.
382
- * @param {*} [options] Override http request option.
383
- * @throws {RequiredError}
384
- * @memberof LeadsApi
385
- */
386
- createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
387
- /**
388
- * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
389
- * @summary Create the lead asynchronously
390
- * @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
391
- * @param {*} [options] Override http request option.
392
- * @throws {RequiredError}
393
- * @memberof LeadsApi
394
- */
395
- createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any>>;
396
- /**
397
- * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
398
- * @summary Create the lead synchronously
399
- * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
400
- * @param {*} [options] Override http request option.
401
- * @throws {RequiredError}
402
- * @memberof LeadsApi
403
- */
404
- createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
405
- /**
406
- * 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.
407
- * @summary Retrieve the lead
408
- * @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
409
- * @param {*} [options] Override http request option.
410
- * @throws {RequiredError}
411
- * @memberof LeadsApi
412
- */
413
- getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
414
- /**
415
- * This will initiate a lead code.
416
- * @summary Initiate a lead code
417
- * @param {LeadsApiInitiateLeadRequest} requestParameters Request parameters.
418
- * @param {*} [options] Override http request option.
419
- * @throws {RequiredError}
420
- * @memberof LeadsApi
421
- */
422
- initiateLead(requestParameters?: LeadsApiInitiateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateLeadResponseClass, any>>;
423
- /**
424
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
425
- * @summary Update the lead
426
- * @param {LeadsApiUpdateLeadRequest} requestParameters Request parameters.
427
- * @param {*} [options] Override http request option.
428
- * @throws {RequiredError}
429
- * @memberof LeadsApi
430
- */
431
- updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
432
- /**
433
- * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
434
- * @summary Update the lead
435
- * @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
436
- * @param {*} [options] Override http request option.
437
- * @throws {RequiredError}
438
- * @memberof LeadsApi
439
- */
440
- updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
441
- }