@emilgroup/public-api-sdk 1.14.0 → 1.15.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 +2 -0
- package/README.md +2 -2
- package/api/leads-api.ts +326 -0
- package/dist/api/leads-api.d.ts +176 -0
- package/dist/api/leads-api.js +285 -0
- package/dist/models/create-document-request-dto.d.ts +17 -0
- package/dist/models/create-document-request-dto.js +5 -1
- package/dist/models/create-lead-async-response-class.d.ts +24 -0
- package/dist/models/create-lead-async-response-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +8 -2
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/lead-policy-object-class.d.ts +2 -2
- package/dist/models/lead-sync-response-class.d.ts +24 -0
- package/dist/models/lead-sync-response-class.js +15 -0
- package/dist/models/policy-object-request-dto.d.ts +2 -2
- package/dist/models/update-lead-request-dto.d.ts +10 -4
- package/models/create-document-request-dto.ts +18 -0
- package/models/create-lead-async-response-class.ts +30 -0
- package/models/create-lead-request-dto.ts +8 -2
- package/models/index.ts +2 -0
- package/models/lead-policy-object-class.ts +2 -2
- package/models/lead-sync-response-class.ts +30 -0
- package/models/policy-object-request-dto.ts +2 -2
- package/models/update-lead-request-dto.ts +10 -4
- package/package.json +1 -1
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateLeadAsyncResponseClass } from '../models';
|
|
15
16
|
import { CreateLeadRequestDto } from '../models';
|
|
16
17
|
import { CreateLeadResponseClass } from '../models';
|
|
17
18
|
import { GetLeadResponseClass } from '../models';
|
|
18
19
|
import { InitiateLeadResponseClass } from '../models';
|
|
20
|
+
import { LeadSyncResponseClass } from '../models';
|
|
19
21
|
import { UpdateLeadRequestDto } from '../models';
|
|
20
22
|
import { UpdateLeadResponseClass } from '../models';
|
|
21
23
|
/**
|
|
@@ -32,6 +34,24 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
32
34
|
* @throws {RequiredError}
|
|
33
35
|
*/
|
|
34
36
|
createLead: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
* 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\'.
|
|
39
|
+
* @summary Create the lead asynchronously
|
|
40
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
41
|
+
* @param {string} [authorization] Bearer Token
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createLeadAsync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
* 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.
|
|
48
|
+
* @summary Create the lead
|
|
49
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
50
|
+
* @param {string} [authorization] Bearer Token
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
createLeadSync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
55
|
/**
|
|
36
56
|
* 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.
|
|
37
57
|
* @summary Retrieve the lead
|
|
@@ -59,6 +79,16 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
59
79
|
* @throws {RequiredError}
|
|
60
80
|
*/
|
|
61
81
|
updateLead: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
|
+
/**
|
|
83
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
84
|
+
* @summary Update the lead
|
|
85
|
+
* @param {string} code Unique identifier for the object.
|
|
86
|
+
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
87
|
+
* @param {string} [authorization] Bearer Token
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
updateLeadSync: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
92
|
};
|
|
63
93
|
/**
|
|
64
94
|
* LeadsApi - functional programming interface
|
|
@@ -74,6 +104,24 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
74
104
|
* @throws {RequiredError}
|
|
75
105
|
*/
|
|
76
106
|
createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
|
|
107
|
+
/**
|
|
108
|
+
* 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\'.
|
|
109
|
+
* @summary Create the lead asynchronously
|
|
110
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
111
|
+
* @param {string} [authorization] Bearer Token
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadAsyncResponseClass>>;
|
|
116
|
+
/**
|
|
117
|
+
* 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.
|
|
118
|
+
* @summary Create the lead
|
|
119
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
120
|
+
* @param {string} [authorization] Bearer Token
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>>;
|
|
77
125
|
/**
|
|
78
126
|
* 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.
|
|
79
127
|
* @summary Retrieve the lead
|
|
@@ -101,6 +149,16 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
101
149
|
* @throws {RequiredError}
|
|
102
150
|
*/
|
|
103
151
|
updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
|
|
152
|
+
/**
|
|
153
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
154
|
+
* @summary Update the lead
|
|
155
|
+
* @param {string} code Unique identifier for the object.
|
|
156
|
+
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
157
|
+
* @param {string} [authorization] Bearer Token
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>>;
|
|
104
162
|
};
|
|
105
163
|
/**
|
|
106
164
|
* LeadsApi - factory interface
|
|
@@ -116,6 +174,24 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
116
174
|
* @throws {RequiredError}
|
|
117
175
|
*/
|
|
118
176
|
createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
|
|
177
|
+
/**
|
|
178
|
+
* 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\'.
|
|
179
|
+
* @summary Create the lead asynchronously
|
|
180
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
181
|
+
* @param {string} [authorization] Bearer Token
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadAsyncResponseClass>;
|
|
186
|
+
/**
|
|
187
|
+
* 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.
|
|
188
|
+
* @summary Create the lead
|
|
189
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
190
|
+
* @param {string} [authorization] Bearer Token
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass>;
|
|
119
195
|
/**
|
|
120
196
|
* 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.
|
|
121
197
|
* @summary Retrieve the lead
|
|
@@ -143,6 +219,16 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
143
219
|
* @throws {RequiredError}
|
|
144
220
|
*/
|
|
145
221
|
updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
|
|
222
|
+
/**
|
|
223
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
224
|
+
* @summary Update the lead
|
|
225
|
+
* @param {string} code Unique identifier for the object.
|
|
226
|
+
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
227
|
+
* @param {string} [authorization] Bearer Token
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass>;
|
|
146
232
|
};
|
|
147
233
|
/**
|
|
148
234
|
* Request parameters for createLead operation in LeadsApi.
|
|
@@ -163,6 +249,44 @@ export interface LeadsApiCreateLeadRequest {
|
|
|
163
249
|
*/
|
|
164
250
|
readonly authorization?: string;
|
|
165
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* Request parameters for createLeadAsync operation in LeadsApi.
|
|
254
|
+
* @export
|
|
255
|
+
* @interface LeadsApiCreateLeadAsyncRequest
|
|
256
|
+
*/
|
|
257
|
+
export interface LeadsApiCreateLeadAsyncRequest {
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @type {CreateLeadRequestDto}
|
|
261
|
+
* @memberof LeadsApiCreateLeadAsync
|
|
262
|
+
*/
|
|
263
|
+
readonly createLeadRequestDto: CreateLeadRequestDto;
|
|
264
|
+
/**
|
|
265
|
+
* Bearer Token
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof LeadsApiCreateLeadAsync
|
|
268
|
+
*/
|
|
269
|
+
readonly authorization?: string;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Request parameters for createLeadSync operation in LeadsApi.
|
|
273
|
+
* @export
|
|
274
|
+
* @interface LeadsApiCreateLeadSyncRequest
|
|
275
|
+
*/
|
|
276
|
+
export interface LeadsApiCreateLeadSyncRequest {
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {CreateLeadRequestDto}
|
|
280
|
+
* @memberof LeadsApiCreateLeadSync
|
|
281
|
+
*/
|
|
282
|
+
readonly createLeadRequestDto: CreateLeadRequestDto;
|
|
283
|
+
/**
|
|
284
|
+
* Bearer Token
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof LeadsApiCreateLeadSync
|
|
287
|
+
*/
|
|
288
|
+
readonly authorization?: string;
|
|
289
|
+
}
|
|
166
290
|
/**
|
|
167
291
|
* Request parameters for getLead operation in LeadsApi.
|
|
168
292
|
* @export
|
|
@@ -220,6 +344,31 @@ export interface LeadsApiUpdateLeadRequest {
|
|
|
220
344
|
*/
|
|
221
345
|
readonly authorization?: string;
|
|
222
346
|
}
|
|
347
|
+
/**
|
|
348
|
+
* Request parameters for updateLeadSync operation in LeadsApi.
|
|
349
|
+
* @export
|
|
350
|
+
* @interface LeadsApiUpdateLeadSyncRequest
|
|
351
|
+
*/
|
|
352
|
+
export interface LeadsApiUpdateLeadSyncRequest {
|
|
353
|
+
/**
|
|
354
|
+
* Unique identifier for the object.
|
|
355
|
+
* @type {string}
|
|
356
|
+
* @memberof LeadsApiUpdateLeadSync
|
|
357
|
+
*/
|
|
358
|
+
readonly code: string;
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @type {UpdateLeadRequestDto}
|
|
362
|
+
* @memberof LeadsApiUpdateLeadSync
|
|
363
|
+
*/
|
|
364
|
+
readonly updateLeadRequestDto: UpdateLeadRequestDto;
|
|
365
|
+
/**
|
|
366
|
+
* Bearer Token
|
|
367
|
+
* @type {string}
|
|
368
|
+
* @memberof LeadsApiUpdateLeadSync
|
|
369
|
+
*/
|
|
370
|
+
readonly authorization?: string;
|
|
371
|
+
}
|
|
223
372
|
/**
|
|
224
373
|
* LeadsApi - object-oriented interface
|
|
225
374
|
* @export
|
|
@@ -236,6 +385,24 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
236
385
|
* @memberof LeadsApi
|
|
237
386
|
*/
|
|
238
387
|
createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
|
|
388
|
+
/**
|
|
389
|
+
* 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\'.
|
|
390
|
+
* @summary Create the lead asynchronously
|
|
391
|
+
* @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
* @memberof LeadsApi
|
|
395
|
+
*/
|
|
396
|
+
createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any>>;
|
|
397
|
+
/**
|
|
398
|
+
* 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.
|
|
399
|
+
* @summary Create the lead
|
|
400
|
+
* @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
* @memberof LeadsApi
|
|
404
|
+
*/
|
|
405
|
+
createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LeadSyncResponseClass, any>>;
|
|
239
406
|
/**
|
|
240
407
|
* 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.
|
|
241
408
|
* @summary Retrieve the lead
|
|
@@ -263,4 +430,13 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
263
430
|
* @memberof LeadsApi
|
|
264
431
|
*/
|
|
265
432
|
updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
|
|
433
|
+
/**
|
|
434
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
435
|
+
* @summary Update the lead
|
|
436
|
+
* @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
|
|
437
|
+
* @param {*} [options] Override http request option.
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
* @memberof LeadsApi
|
|
440
|
+
*/
|
|
441
|
+
updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LeadSyncResponseClass, any>>;
|
|
266
442
|
}
|
package/dist/api/leads-api.js
CHANGED
|
@@ -141,6 +141,104 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* 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\'.
|
|
146
|
+
* @summary Create the lead asynchronously
|
|
147
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
148
|
+
* @param {string} [authorization] Bearer Token
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
createLeadAsync: function (createLeadRequestDto, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0:
|
|
159
|
+
// verify required parameter 'createLeadRequestDto' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('createLeadAsync', 'createLeadRequestDto', createLeadRequestDto);
|
|
161
|
+
localVarPath = "/publicapi/v1/leads-async";
|
|
162
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
|
+
if (configuration) {
|
|
164
|
+
baseOptions = configuration.baseOptions;
|
|
165
|
+
baseAccessToken = configuration.accessToken;
|
|
166
|
+
}
|
|
167
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
168
|
+
localVarHeaderParameter = {};
|
|
169
|
+
localVarQueryParameter = {};
|
|
170
|
+
// authentication bearer required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
173
|
+
case 1:
|
|
174
|
+
// authentication bearer required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
_a.sent();
|
|
177
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
178
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
179
|
+
}
|
|
180
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
|
|
185
|
+
return [2 /*return*/, {
|
|
186
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
}];
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
},
|
|
193
|
+
/**
|
|
194
|
+
* 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.
|
|
195
|
+
* @summary Create the lead
|
|
196
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
197
|
+
* @param {string} [authorization] Bearer Token
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
createLeadSync: function (createLeadRequestDto, authorization, options) {
|
|
202
|
+
if (options === void 0) { options = {}; }
|
|
203
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
|
+
return __generator(this, function (_a) {
|
|
206
|
+
switch (_a.label) {
|
|
207
|
+
case 0:
|
|
208
|
+
// verify required parameter 'createLeadRequestDto' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)('createLeadSync', 'createLeadRequestDto', createLeadRequestDto);
|
|
210
|
+
localVarPath = "/publicapi/v1/leads-sync";
|
|
211
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
|
+
if (configuration) {
|
|
213
|
+
baseOptions = configuration.baseOptions;
|
|
214
|
+
baseAccessToken = configuration.accessToken;
|
|
215
|
+
}
|
|
216
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
217
|
+
localVarHeaderParameter = {};
|
|
218
|
+
localVarQueryParameter = {};
|
|
219
|
+
// authentication bearer required
|
|
220
|
+
// http bearer authentication required
|
|
221
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
222
|
+
case 1:
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
_a.sent();
|
|
226
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
227
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
228
|
+
}
|
|
229
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
|
|
234
|
+
return [2 /*return*/, {
|
|
235
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
}];
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
},
|
|
144
242
|
/**
|
|
145
243
|
* 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.
|
|
146
244
|
* @summary Retrieve the lead
|
|
@@ -286,6 +384,59 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
286
384
|
});
|
|
287
385
|
});
|
|
288
386
|
},
|
|
387
|
+
/**
|
|
388
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
389
|
+
* @summary Update the lead
|
|
390
|
+
* @param {string} code Unique identifier for the object.
|
|
391
|
+
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
392
|
+
* @param {string} [authorization] Bearer Token
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
|
|
397
|
+
if (options === void 0) { options = {}; }
|
|
398
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
399
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
400
|
+
return __generator(this, function (_a) {
|
|
401
|
+
switch (_a.label) {
|
|
402
|
+
case 0:
|
|
403
|
+
// verify required parameter 'code' is not null or undefined
|
|
404
|
+
(0, common_1.assertParamExists)('updateLeadSync', 'code', code);
|
|
405
|
+
// verify required parameter 'updateLeadRequestDto' is not null or undefined
|
|
406
|
+
(0, common_1.assertParamExists)('updateLeadSync', 'updateLeadRequestDto', updateLeadRequestDto);
|
|
407
|
+
localVarPath = "/publicapi/v1/leads-sync/{code}"
|
|
408
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
409
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
410
|
+
if (configuration) {
|
|
411
|
+
baseOptions = configuration.baseOptions;
|
|
412
|
+
baseAccessToken = configuration.accessToken;
|
|
413
|
+
}
|
|
414
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
415
|
+
localVarHeaderParameter = {};
|
|
416
|
+
localVarQueryParameter = {};
|
|
417
|
+
// authentication bearer required
|
|
418
|
+
// http bearer authentication required
|
|
419
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
420
|
+
case 1:
|
|
421
|
+
// authentication bearer required
|
|
422
|
+
// http bearer authentication required
|
|
423
|
+
_a.sent();
|
|
424
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
425
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
426
|
+
}
|
|
427
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
428
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
429
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
430
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
431
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLeadRequestDto, localVarRequestOptions, configuration);
|
|
432
|
+
return [2 /*return*/, {
|
|
433
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
434
|
+
options: localVarRequestOptions,
|
|
435
|
+
}];
|
|
436
|
+
}
|
|
437
|
+
});
|
|
438
|
+
});
|
|
439
|
+
},
|
|
289
440
|
};
|
|
290
441
|
};
|
|
291
442
|
exports.LeadsApiAxiosParamCreator = LeadsApiAxiosParamCreator;
|
|
@@ -317,6 +468,48 @@ var LeadsApiFp = function (configuration) {
|
|
|
317
468
|
});
|
|
318
469
|
});
|
|
319
470
|
},
|
|
471
|
+
/**
|
|
472
|
+
* 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\'.
|
|
473
|
+
* @summary Create the lead asynchronously
|
|
474
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
475
|
+
* @param {string} [authorization] Bearer Token
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
createLeadAsync: function (createLeadRequestDto, authorization, options) {
|
|
480
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
481
|
+
var localVarAxiosArgs;
|
|
482
|
+
return __generator(this, function (_a) {
|
|
483
|
+
switch (_a.label) {
|
|
484
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLeadAsync(createLeadRequestDto, authorization, options)];
|
|
485
|
+
case 1:
|
|
486
|
+
localVarAxiosArgs = _a.sent();
|
|
487
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
488
|
+
}
|
|
489
|
+
});
|
|
490
|
+
});
|
|
491
|
+
},
|
|
492
|
+
/**
|
|
493
|
+
* 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.
|
|
494
|
+
* @summary Create the lead
|
|
495
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
496
|
+
* @param {string} [authorization] Bearer Token
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
createLeadSync: function (createLeadRequestDto, authorization, options) {
|
|
501
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
502
|
+
var localVarAxiosArgs;
|
|
503
|
+
return __generator(this, function (_a) {
|
|
504
|
+
switch (_a.label) {
|
|
505
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLeadSync(createLeadRequestDto, authorization, options)];
|
|
506
|
+
case 1:
|
|
507
|
+
localVarAxiosArgs = _a.sent();
|
|
508
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
});
|
|
512
|
+
},
|
|
320
513
|
/**
|
|
321
514
|
* 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.
|
|
322
515
|
* @summary Retrieve the lead
|
|
@@ -380,6 +573,28 @@ var LeadsApiFp = function (configuration) {
|
|
|
380
573
|
});
|
|
381
574
|
});
|
|
382
575
|
},
|
|
576
|
+
/**
|
|
577
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
578
|
+
* @summary Update the lead
|
|
579
|
+
* @param {string} code Unique identifier for the object.
|
|
580
|
+
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
581
|
+
* @param {string} [authorization] Bearer Token
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
*/
|
|
585
|
+
updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
|
|
586
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
587
|
+
var localVarAxiosArgs;
|
|
588
|
+
return __generator(this, function (_a) {
|
|
589
|
+
switch (_a.label) {
|
|
590
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options)];
|
|
591
|
+
case 1:
|
|
592
|
+
localVarAxiosArgs = _a.sent();
|
|
593
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
594
|
+
}
|
|
595
|
+
});
|
|
596
|
+
});
|
|
597
|
+
},
|
|
383
598
|
};
|
|
384
599
|
};
|
|
385
600
|
exports.LeadsApiFp = LeadsApiFp;
|
|
@@ -401,6 +616,28 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
401
616
|
createLead: function (createLeadRequestDto, authorization, options) {
|
|
402
617
|
return localVarFp.createLead(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
403
618
|
},
|
|
619
|
+
/**
|
|
620
|
+
* 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\'.
|
|
621
|
+
* @summary Create the lead asynchronously
|
|
622
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
623
|
+
* @param {string} [authorization] Bearer Token
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
*/
|
|
627
|
+
createLeadAsync: function (createLeadRequestDto, authorization, options) {
|
|
628
|
+
return localVarFp.createLeadAsync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
629
|
+
},
|
|
630
|
+
/**
|
|
631
|
+
* 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.
|
|
632
|
+
* @summary Create the lead
|
|
633
|
+
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
634
|
+
* @param {string} [authorization] Bearer Token
|
|
635
|
+
* @param {*} [options] Override http request option.
|
|
636
|
+
* @throws {RequiredError}
|
|
637
|
+
*/
|
|
638
|
+
createLeadSync: function (createLeadRequestDto, authorization, options) {
|
|
639
|
+
return localVarFp.createLeadSync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
640
|
+
},
|
|
404
641
|
/**
|
|
405
642
|
* 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.
|
|
406
643
|
* @summary Retrieve the lead
|
|
@@ -434,6 +671,18 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
434
671
|
updateLead: function (code, updateLeadRequestDto, authorization, options) {
|
|
435
672
|
return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
436
673
|
},
|
|
674
|
+
/**
|
|
675
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
676
|
+
* @summary Update the lead
|
|
677
|
+
* @param {string} code Unique identifier for the object.
|
|
678
|
+
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
679
|
+
* @param {string} [authorization] Bearer Token
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
|
|
684
|
+
return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
685
|
+
},
|
|
437
686
|
};
|
|
438
687
|
};
|
|
439
688
|
exports.LeadsApiFactory = LeadsApiFactory;
|
|
@@ -460,6 +709,30 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
460
709
|
var _this = this;
|
|
461
710
|
return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
462
711
|
};
|
|
712
|
+
/**
|
|
713
|
+
* 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\'.
|
|
714
|
+
* @summary Create the lead asynchronously
|
|
715
|
+
* @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
|
|
716
|
+
* @param {*} [options] Override http request option.
|
|
717
|
+
* @throws {RequiredError}
|
|
718
|
+
* @memberof LeadsApi
|
|
719
|
+
*/
|
|
720
|
+
LeadsApi.prototype.createLeadAsync = function (requestParameters, options) {
|
|
721
|
+
var _this = this;
|
|
722
|
+
return (0, exports.LeadsApiFp)(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
723
|
+
};
|
|
724
|
+
/**
|
|
725
|
+
* 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.
|
|
726
|
+
* @summary Create the lead
|
|
727
|
+
* @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
|
|
728
|
+
* @param {*} [options] Override http request option.
|
|
729
|
+
* @throws {RequiredError}
|
|
730
|
+
* @memberof LeadsApi
|
|
731
|
+
*/
|
|
732
|
+
LeadsApi.prototype.createLeadSync = function (requestParameters, options) {
|
|
733
|
+
var _this = this;
|
|
734
|
+
return (0, exports.LeadsApiFp)(this.configuration).createLeadSync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
735
|
+
};
|
|
463
736
|
/**
|
|
464
737
|
* 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.
|
|
465
738
|
* @summary Retrieve the lead
|
|
@@ -497,6 +770,18 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
497
770
|
var _this = this;
|
|
498
771
|
return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
499
772
|
};
|
|
773
|
+
/**
|
|
774
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
775
|
+
* @summary Update the lead
|
|
776
|
+
* @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
|
|
777
|
+
* @param {*} [options] Override http request option.
|
|
778
|
+
* @throws {RequiredError}
|
|
779
|
+
* @memberof LeadsApi
|
|
780
|
+
*/
|
|
781
|
+
LeadsApi.prototype.updateLeadSync = function (requestParameters, options) {
|
|
782
|
+
var _this = this;
|
|
783
|
+
return (0, exports.LeadsApiFp)(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
784
|
+
};
|
|
500
785
|
return LeadsApi;
|
|
501
786
|
}(base_1.BaseAPI));
|
|
502
787
|
exports.LeadsApi = LeadsApi;
|
|
@@ -87,6 +87,18 @@ export interface CreateDocumentRequestDto {
|
|
|
87
87
|
* @memberof CreateDocumentRequestDto
|
|
88
88
|
*/
|
|
89
89
|
'filename'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* If true, the default margins will be skipped when generating the document.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof CreateDocumentRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'shouldSkipDefaultMargins'?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Type of the document engine to use to generate the document. Defaults to HTML.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CreateDocumentRequestDto
|
|
100
|
+
*/
|
|
101
|
+
'engine'?: CreateDocumentRequestDtoEngineEnum;
|
|
90
102
|
}
|
|
91
103
|
export declare const CreateDocumentRequestDtoRequesterEnum: {
|
|
92
104
|
readonly Publicapi: "publicapi";
|
|
@@ -113,3 +125,8 @@ export declare const CreateDocumentRequestDtoContentTypeEnum: {
|
|
|
113
125
|
readonly Avi: "AVI";
|
|
114
126
|
};
|
|
115
127
|
export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
|
|
128
|
+
export declare const CreateDocumentRequestDtoEngineEnum: {
|
|
129
|
+
readonly Docx: "docx";
|
|
130
|
+
readonly Html: "html";
|
|
131
|
+
};
|
|
132
|
+
export type CreateDocumentRequestDtoEngineEnum = typeof CreateDocumentRequestDtoEngineEnum[keyof typeof CreateDocumentRequestDtoEngineEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = void 0;
|
|
16
|
+
exports.CreateDocumentRequestDtoEngineEnum = exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = void 0;
|
|
17
17
|
exports.CreateDocumentRequestDtoRequesterEnum = {
|
|
18
18
|
Publicapi: 'publicapi'
|
|
19
19
|
};
|
|
@@ -37,3 +37,7 @@ exports.CreateDocumentRequestDtoContentTypeEnum = {
|
|
|
37
37
|
Wmv: 'WMV',
|
|
38
38
|
Avi: 'AVI'
|
|
39
39
|
};
|
|
40
|
+
exports.CreateDocumentRequestDtoEngineEnum = {
|
|
41
|
+
Docx: 'docx',
|
|
42
|
+
Html: 'html'
|
|
43
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateLeadAsyncResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateLeadAsyncResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the lead that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateLeadAsyncResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
}
|