@emilgroup/insurance-sdk-node 1.32.1 → 1.36.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/README.md +2 -2
- package/models/product-field-class.ts +1 -1
- package/models/shared-product-field-class.ts +1 -1
- package/models/terminate-policy-request-dto.ts +23 -0
- package/models/update-policy-request-dto.ts +6 -0
- package/package.json +2 -2
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -200
- package/dist/api/insured-object-types-api.d.ts +0 -141
- package/dist/api/insured-object-types-api.js +0 -258
- package/dist/api/insured-objects-api.d.ts +0 -318
- package/dist/api/insured-objects-api.js +0 -539
- package/dist/api/lead-statuses-api.d.ts +0 -265
- package/dist/api/lead-statuses-api.js +0 -505
- package/dist/api/leads-api.d.ts +0 -626
- package/dist/api/leads-api.js +0 -1024
- package/dist/api/named-ranges-api.d.ts +0 -376
- package/dist/api/named-ranges-api.js +0 -634
- package/dist/api/policies-api.d.ts +0 -722
- package/dist/api/policies-api.js +0 -1141
- package/dist/api/premium-formulas-api.d.ts +0 -433
- package/dist/api/premium-formulas-api.js +0 -727
- package/dist/api/product-factors-api.d.ts +0 -493
- package/dist/api/product-factors-api.js +0 -788
- package/dist/api/product-fields-api.d.ts +0 -477
- package/dist/api/product-fields-api.js +0 -757
- package/dist/api/product-versions-api.d.ts +0 -189
- package/dist/api/product-versions-api.js +0 -346
- package/dist/api/products-api.d.ts +0 -485
- package/dist/api/products-api.js +0 -772
- package/dist/api.d.ts +0 -23
- package/dist/api.js +0 -41
- package/dist/base.d.ts +0 -78
- package/dist/base.js +0 -394
- package/dist/common.d.ts +0 -92
- package/dist/common.js +0 -277
- package/dist/configuration.d.ts +0 -90
- package/dist/configuration.js +0 -44
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/activate-policy-request-dto.d.ts +0 -24
- package/dist/models/activate-policy-request-dto.js +0 -15
- package/dist/models/activate-policy-response-class.d.ts +0 -25
- package/dist/models/activate-policy-response-class.js +0 -15
- package/dist/models/calculate-custom-premium-request-dto.d.ts +0 -35
- package/dist/models/calculate-custom-premium-request-dto.js +0 -20
- package/dist/models/calculate-premium-request-dto.d.ts +0 -38
- package/dist/models/calculate-premium-request-dto.js +0 -15
- package/dist/models/calculate-product-fields-request-dto.d.ts +0 -31
- package/dist/models/calculate-product-fields-request-dto.js +0 -15
- package/dist/models/clone-product-version-request-dto.d.ts +0 -36
- package/dist/models/clone-product-version-request-dto.js +0 -15
- package/dist/models/create-account-request-dto.d.ts +0 -120
- package/dist/models/create-account-request-dto.js +0 -26
- package/dist/models/create-bank-account-request-dto.d.ts +0 -30
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-custom-application-request-dto.d.ts +0 -41
- package/dist/models/create-custom-application-request-dto.js +0 -20
- package/dist/models/create-dummy-policy-request-dto.d.ts +0 -44
- package/dist/models/create-dummy-policy-request-dto.js +0 -15
- package/dist/models/create-insured-object-request-dto.d.ts +0 -60
- package/dist/models/create-insured-object-request-dto.js +0 -15
- package/dist/models/create-insured-object-response-class.d.ts +0 -25
- package/dist/models/create-insured-object-response-class.js +0 -15
- package/dist/models/create-lead-async-response-class.d.ts +0 -24
- package/dist/models/create-lead-async-response-class.js +0 -15
- package/dist/models/create-lead-policy-request-dto.d.ts +0 -56
- package/dist/models/create-lead-policy-request-dto.js +0 -15
- package/dist/models/create-lead-request-dto.d.ts +0 -96
- package/dist/models/create-lead-request-dto.js +0 -15
- package/dist/models/create-lead-response-class.d.ts +0 -25
- package/dist/models/create-lead-response-class.js +0 -15
- package/dist/models/create-lead-status-request-dto.d.ts +0 -30
- package/dist/models/create-lead-status-request-dto.js +0 -15
- package/dist/models/create-lead-status-response-class.d.ts +0 -25
- package/dist/models/create-lead-status-response-class.js +0 -15
- package/dist/models/create-named-range-request-dto.d.ts +0 -55
- package/dist/models/create-named-range-request-dto.js +0 -15
- package/dist/models/create-named-range-response-class.d.ts +0 -25
- package/dist/models/create-named-range-response-class.js +0 -15
- package/dist/models/create-named-request-s3-data-class.d.ts +0 -30
- package/dist/models/create-named-request-s3-data-class.js +0 -15
- package/dist/models/create-payment-method-request-dto.d.ts +0 -31
- package/dist/models/create-payment-method-request-dto.js +0 -15
- package/dist/models/create-policy-request-dto.d.ts +0 -62
- package/dist/models/create-policy-request-dto.js +0 -15
- package/dist/models/create-policy-response-class.d.ts +0 -25
- package/dist/models/create-policy-response-class.js +0 -15
- package/dist/models/create-premium-formula-request-dto.d.ts +0 -105
- package/dist/models/create-premium-formula-request-dto.js +0 -39
- package/dist/models/create-premium-formula-response-class.d.ts +0 -25
- package/dist/models/create-premium-formula-response-class.js +0 -15
- package/dist/models/create-product-field-request-dto.d.ts +0 -137
- package/dist/models/create-product-field-request-dto.js +0 -20
- package/dist/models/create-product-field-response-class.d.ts +0 -25
- package/dist/models/create-product-field-response-class.js +0 -15
- package/dist/models/create-product-request-dto.d.ts +0 -85
- package/dist/models/create-product-request-dto.js +0 -51
- package/dist/models/create-product-response-class.d.ts +0 -25
- package/dist/models/create-product-response-class.js +0 -15
- package/dist/models/csv-product-factor-dto.d.ts +0 -48
- package/dist/models/csv-product-factor-dto.js +0 -15
- package/dist/models/delete-request-dto.d.ts +0 -24
- package/dist/models/delete-request-dto.js +0 -15
- package/dist/models/delete-response-class.d.ts +0 -24
- package/dist/models/delete-response-class.js +0 -15
- package/dist/models/empty-response-class.d.ts +0 -24
- package/dist/models/empty-response-class.js +0 -15
- package/dist/models/get-insured-object-response-class.d.ts +0 -25
- package/dist/models/get-insured-object-response-class.js +0 -15
- package/dist/models/get-lead-response-class.d.ts +0 -25
- package/dist/models/get-lead-response-class.js +0 -15
- package/dist/models/get-lead-status-response-class.d.ts +0 -25
- package/dist/models/get-lead-status-response-class.js +0 -15
- package/dist/models/get-named-range-response-class.d.ts +0 -25
- package/dist/models/get-named-range-response-class.js +0 -15
- package/dist/models/get-policy-data-by-date-request-dto.d.ts +0 -30
- package/dist/models/get-policy-data-by-date-request-dto.js +0 -15
- package/dist/models/get-policy-request-dto.d.ts +0 -30
- package/dist/models/get-policy-request-dto.js +0 -15
- package/dist/models/get-policy-response-class.d.ts +0 -25
- package/dist/models/get-policy-response-class.js +0 -15
- package/dist/models/get-premium-formula-request-dto.d.ts +0 -24
- package/dist/models/get-premium-formula-request-dto.js +0 -15
- package/dist/models/get-premium-formula-response-class.d.ts +0 -25
- package/dist/models/get-premium-formula-response-class.js +0 -15
- package/dist/models/get-product-factor-response-class.d.ts +0 -32
- package/dist/models/get-product-factor-response-class.js +0 -15
- package/dist/models/get-product-factor-value-request-dto.d.ts +0 -42
- package/dist/models/get-product-factor-value-request-dto.js +0 -15
- package/dist/models/get-product-factor-value-response-class.d.ts +0 -25
- package/dist/models/get-product-factor-value-response-class.js +0 -15
- package/dist/models/get-product-factors-for-version-request-dto.d.ts +0 -36
- package/dist/models/get-product-factors-for-version-request-dto.js +0 -15
- package/dist/models/get-product-factors-for-version-response-class.d.ts +0 -25
- package/dist/models/get-product-factors-for-version-response-class.js +0 -15
- package/dist/models/get-product-field-request-dto.d.ts +0 -24
- package/dist/models/get-product-field-request-dto.js +0 -15
- package/dist/models/get-product-field-response-class.d.ts +0 -25
- package/dist/models/get-product-field-response-class.js +0 -15
- package/dist/models/get-product-request-dto.d.ts +0 -42
- package/dist/models/get-product-request-dto.js +0 -15
- package/dist/models/get-product-response-class.d.ts +0 -25
- package/dist/models/get-product-response-class.js +0 -15
- package/dist/models/get-product-version-request-dto.d.ts +0 -36
- package/dist/models/get-product-version-request-dto.js +0 -15
- package/dist/models/get-product-version-response-class.d.ts +0 -25
- package/dist/models/get-product-version-response-class.js +0 -15
- package/dist/models/grouped-product-factor-class.d.ts +0 -37
- package/dist/models/grouped-product-factor-class.js +0 -15
- package/dist/models/grouped-product-factor-value-class.d.ts +0 -42
- package/dist/models/grouped-product-factor-value-class.js +0 -15
- package/dist/models/grouped-product-factors-response-class.d.ts +0 -25
- package/dist/models/grouped-product-factors-response-class.js +0 -15
- package/dist/models/grpc-patch-lead-request-dto.d.ts +0 -102
- package/dist/models/grpc-patch-lead-request-dto.js +0 -15
- package/dist/models/grpc-update-lead-request-dto.d.ts +0 -102
- package/dist/models/grpc-update-lead-request-dto.js +0 -15
- package/dist/models/index.d.ts +0 -136
- package/dist/models/index.js +0 -152
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/dist/models/insured-object-class.d.ts +0 -85
- package/dist/models/insured-object-class.js +0 -15
- package/dist/models/insured-object-type-class.d.ts +0 -48
- package/dist/models/insured-object-type-class.js +0 -15
- package/dist/models/invoice-item-class.d.ts +0 -117
- package/dist/models/invoice-item-class.js +0 -24
- package/dist/models/invoice-status-class.d.ts +0 -47
- package/dist/models/invoice-status-class.js +0 -20
- package/dist/models/lead-bank-account-class.d.ts +0 -30
- package/dist/models/lead-bank-account-class.js +0 -15
- package/dist/models/lead-class.d.ts +0 -133
- package/dist/models/lead-class.js +0 -15
- package/dist/models/lead-status-class.d.ts +0 -36
- package/dist/models/lead-status-class.js +0 -15
- package/dist/models/list-insured-object-types-response-class.d.ts +0 -31
- package/dist/models/list-insured-object-types-response-class.js +0 -15
- package/dist/models/list-insured-objects-response-class.d.ts +0 -31
- package/dist/models/list-insured-objects-response-class.js +0 -15
- package/dist/models/list-lead-statuses-response-class.d.ts +0 -31
- package/dist/models/list-lead-statuses-response-class.js +0 -15
- package/dist/models/list-leads-response-class.d.ts +0 -43
- package/dist/models/list-leads-response-class.js +0 -15
- package/dist/models/list-named-ranges-response-class.d.ts +0 -30
- package/dist/models/list-named-ranges-response-class.js +0 -15
- package/dist/models/list-policies-response-class.d.ts +0 -43
- package/dist/models/list-policies-response-class.js +0 -15
- package/dist/models/list-premium-formulas-response-class.d.ts +0 -31
- package/dist/models/list-premium-formulas-response-class.js +0 -15
- package/dist/models/list-product-factors-response-class.d.ts +0 -31
- package/dist/models/list-product-factors-response-class.js +0 -15
- package/dist/models/list-product-field-types-response-class.d.ts +0 -31
- package/dist/models/list-product-field-types-response-class.js +0 -15
- package/dist/models/list-product-fields-response-class.d.ts +0 -31
- package/dist/models/list-product-fields-response-class.js +0 -15
- package/dist/models/list-products-response-class.d.ts +0 -31
- package/dist/models/list-products-response-class.js +0 -15
- package/dist/models/list-request-dto.d.ts +0 -54
- package/dist/models/list-request-dto.js +0 -15
- package/dist/models/named-range-class.d.ts +0 -78
- package/dist/models/named-range-class.js +0 -15
- package/dist/models/patch-lead-request-dto.d.ts +0 -90
- package/dist/models/patch-lead-request-dto.js +0 -15
- package/dist/models/patch-lead-response-class.d.ts +0 -25
- package/dist/models/patch-lead-response-class.js +0 -15
- package/dist/models/patch-policy-request-dto.d.ts +0 -50
- package/dist/models/patch-policy-request-dto.js +0 -15
- package/dist/models/patch-policy-response-class.d.ts +0 -25
- package/dist/models/patch-policy-response-class.js +0 -15
- package/dist/models/policy-class.d.ts +0 -128
- package/dist/models/policy-class.js +0 -15
- package/dist/models/policy-object-class.d.ts +0 -60
- package/dist/models/policy-object-class.js +0 -15
- package/dist/models/policy-object-dto.d.ts +0 -42
- package/dist/models/policy-object-dto.js +0 -15
- package/dist/models/policy-premium-class.d.ts +0 -49
- package/dist/models/policy-premium-class.js +0 -15
- package/dist/models/policy-premium-item-class.d.ts +0 -55
- package/dist/models/policy-premium-item-class.js +0 -15
- package/dist/models/policy-version-class.d.ts +0 -55
- package/dist/models/policy-version-class.js +0 -15
- package/dist/models/premium-formula-class.d.ts +0 -96
- package/dist/models/premium-formula-class.js +0 -15
- package/dist/models/premium-override-dto.d.ts +0 -55
- package/dist/models/premium-override-dto.js +0 -27
- package/dist/models/premium-override-request-class.d.ts +0 -25
- package/dist/models/premium-override-request-class.js +0 -15
- package/dist/models/premium-override-request-dto.d.ts +0 -25
- package/dist/models/premium-override-request-dto.js +0 -15
- package/dist/models/product-class.d.ts +0 -80
- package/dist/models/product-class.js +0 -15
- package/dist/models/product-factor-class.d.ts +0 -61
- package/dist/models/product-factor-class.js +0 -15
- package/dist/models/product-factor-for-version-class.d.ts +0 -61
- package/dist/models/product-factor-for-version-class.js +0 -15
- package/dist/models/product-factor-value-class.d.ts +0 -60
- package/dist/models/product-factor-value-class.js +0 -15
- package/dist/models/product-factor-value-for-version-class.d.ts +0 -42
- package/dist/models/product-factor-value-for-version-class.js +0 -15
- package/dist/models/product-field-class.d.ts +0 -132
- package/dist/models/product-field-class.js +0 -15
- package/dist/models/product-field-type-class.d.ts +0 -48
- package/dist/models/product-field-type-class.js +0 -15
- package/dist/models/product-version-class.d.ts +0 -61
- package/dist/models/product-version-class.js +0 -22
- package/dist/models/sepa-dto.d.ts +0 -30
- package/dist/models/sepa-dto.js +0 -15
- package/dist/models/shared-create-lead-policy-request-dto.d.ts +0 -56
- package/dist/models/shared-create-lead-policy-request-dto.js +0 -15
- package/dist/models/shared-invoice-class.d.ts +0 -150
- package/dist/models/shared-invoice-class.js +0 -30
- package/dist/models/shared-lead-policy-object-dto.d.ts +0 -42
- package/dist/models/shared-lead-policy-object-dto.js +0 -15
- package/dist/models/shared-product-field-class.d.ts +0 -132
- package/dist/models/shared-product-field-class.js +0 -15
- package/dist/models/shared-update-named-range-request-dto.d.ts +0 -42
- package/dist/models/shared-update-named-range-request-dto.js +0 -15
- package/dist/models/shared-update-premium-formula-request-dto.d.ts +0 -111
- package/dist/models/shared-update-premium-formula-request-dto.js +0 -39
- package/dist/models/store-product-factors-request-dto.d.ts +0 -31
- package/dist/models/store-product-factors-request-dto.js +0 -15
- package/dist/models/store-product-factors-response-class.d.ts +0 -25
- package/dist/models/store-product-factors-response-class.js +0 -15
- package/dist/models/suspend-policy-request-dto.d.ts +0 -24
- package/dist/models/suspend-policy-request-dto.js +0 -15
- package/dist/models/suspend-policy-response-class.d.ts +0 -25
- package/dist/models/suspend-policy-response-class.js +0 -15
- package/dist/models/swap-premium-formulas-order-request-dto.d.ts +0 -30
- package/dist/models/swap-premium-formulas-order-request-dto.js +0 -15
- package/dist/models/terminate-policy-request-dto.d.ts +0 -24
- package/dist/models/terminate-policy-request-dto.js +0 -15
- package/dist/models/terminate-policy-response-class.d.ts +0 -25
- package/dist/models/terminate-policy-response-class.js +0 -15
- package/dist/models/timeslice-class.d.ts +0 -62
- package/dist/models/timeslice-class.js +0 -15
- package/dist/models/update-insured-object-request-dto.d.ts +0 -66
- package/dist/models/update-insured-object-request-dto.js +0 -15
- package/dist/models/update-lead-request-dto.d.ts +0 -90
- package/dist/models/update-lead-request-dto.js +0 -15
- package/dist/models/update-lead-response-class.d.ts +0 -25
- package/dist/models/update-lead-response-class.js +0 -15
- package/dist/models/update-named-range-request-dto.d.ts +0 -36
- package/dist/models/update-named-range-request-dto.js +0 -15
- package/dist/models/update-named-range-response-class.d.ts +0 -25
- package/dist/models/update-named-range-response-class.js +0 -15
- package/dist/models/update-policy-request-dto.d.ts +0 -70
- package/dist/models/update-policy-request-dto.js +0 -23
- package/dist/models/update-policy-response-class.d.ts +0 -25
- package/dist/models/update-policy-response-class.js +0 -15
- package/dist/models/update-premium-formula-request-dto.d.ts +0 -105
- package/dist/models/update-premium-formula-request-dto.js +0 -39
- package/dist/models/update-premium-formula-response-class.d.ts +0 -25
- package/dist/models/update-premium-formula-response-class.js +0 -15
- package/dist/models/update-product-field-request-dto.d.ts +0 -143
- package/dist/models/update-product-field-request-dto.js +0 -20
- package/dist/models/update-product-field-response-class.d.ts +0 -25
- package/dist/models/update-product-field-response-class.js +0 -15
- package/dist/models/update-product-request-dto.d.ts +0 -42
- package/dist/models/update-product-request-dto.js +0 -15
- package/dist/models/update-product-response-class.d.ts +0 -25
- package/dist/models/update-product-response-class.js +0 -15
- package/dist/models/update-product-version-request-dto.d.ts +0 -43
- package/dist/models/update-product-version-request-dto.js +0 -22
- package/dist/models/update-product-version-response-class.d.ts +0 -25
- package/dist/models/update-product-version-response-class.js +0 -15
- package/dist/models/uploaded-document-dto.d.ts +0 -24
- package/dist/models/uploaded-document-dto.js +0 -15
- package/dist/models/validate-product-factors-request-dto.d.ts +0 -31
- package/dist/models/validate-product-factors-request-dto.js +0 -15
- package/dist/models/withdraw-policy-response-class.d.ts +0 -25
- package/dist/models/withdraw-policy-response-class.js +0 -15
package/dist/api/leads-api.d.ts
DELETED
|
@@ -1,626 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL InsuranceService
|
|
3
|
-
* The EMIL InsuranceService 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 { DeleteResponseClass } from '../models';
|
|
19
|
-
import { GetLeadResponseClass } from '../models';
|
|
20
|
-
import { ListLeadsResponseClass } from '../models';
|
|
21
|
-
import { PatchLeadRequestDto } from '../models';
|
|
22
|
-
import { PatchLeadResponseClass } from '../models';
|
|
23
|
-
import { UpdateLeadRequestDto } from '../models';
|
|
24
|
-
import { UpdateLeadResponseClass } from '../models';
|
|
25
|
-
/**
|
|
26
|
-
* LeadsApi - axios parameter creator
|
|
27
|
-
* @export
|
|
28
|
-
*/
|
|
29
|
-
export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30
|
-
/**
|
|
31
|
-
* This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
|
|
32
|
-
* @summary Create the lead
|
|
33
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
34
|
-
* @param {string} [authorization] Bearer Token
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
createLead: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
-
/**
|
|
40
|
-
* 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\'.
|
|
41
|
-
* @summary Create the lead asynchronously
|
|
42
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
43
|
-
* @param {string} [authorization] Bearer Token
|
|
44
|
-
* @param {*} [options] Override http request option.
|
|
45
|
-
* @throws {RequiredError}
|
|
46
|
-
*/
|
|
47
|
-
createLeadAsync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
-
/**
|
|
49
|
-
* 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.
|
|
50
|
-
* @summary Create the lead
|
|
51
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
52
|
-
* @param {string} [authorization] Bearer Token
|
|
53
|
-
* @param {*} [options] Override http request option.
|
|
54
|
-
* @throws {RequiredError}
|
|
55
|
-
*/
|
|
56
|
-
createLeadSync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
-
/**
|
|
58
|
-
* Permanently deletes the lead. Supply the unique code that was returned when you created the lead and this will delete it.
|
|
59
|
-
* @summary Delete the lead
|
|
60
|
-
* @param {string} code
|
|
61
|
-
* @param {string} [authorization] Bearer Token
|
|
62
|
-
* @param {*} [options] Override http request option.
|
|
63
|
-
* @throws {RequiredError}
|
|
64
|
-
*/
|
|
65
|
-
deleteLead: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
-
/**
|
|
67
|
-
* 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.
|
|
68
|
-
* @summary Retrieve the lead
|
|
69
|
-
* @param {string} code Unique identifier for the object.
|
|
70
|
-
* @param {string} [authorization] Bearer Token
|
|
71
|
-
* @param {string} [expand]
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
getLead: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
-
/**
|
|
77
|
-
* 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.
|
|
78
|
-
* @summary List leads
|
|
79
|
-
* @param {string} [authorization] Bearer Token
|
|
80
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
81
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
82
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
83
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
84
|
-
* @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.
|
|
85
|
-
* @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.
|
|
86
|
-
* @param {*} [options] Override http request option.
|
|
87
|
-
* @throws {RequiredError}
|
|
88
|
-
*/
|
|
89
|
-
listLeads: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
|
-
/**
|
|
91
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
92
|
-
* @summary Patch the lead
|
|
93
|
-
* @param {string} code Unique identifier for the object.
|
|
94
|
-
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
95
|
-
* @param {string} [authorization] Bearer Token
|
|
96
|
-
* @param {*} [options] Override http request option.
|
|
97
|
-
* @throws {RequiredError}
|
|
98
|
-
*/
|
|
99
|
-
patchLead: (code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
-
/**
|
|
101
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
102
|
-
* @summary Update the lead
|
|
103
|
-
* @param {string} code Unique identifier for the object.
|
|
104
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
105
|
-
* @param {string} [authorization] Bearer Token
|
|
106
|
-
* @param {*} [options] Override http request option.
|
|
107
|
-
* @throws {RequiredError}
|
|
108
|
-
*/
|
|
109
|
-
updateLead: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
|
-
/**
|
|
111
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
112
|
-
* @summary Update the lead
|
|
113
|
-
* @param {string} code Unique identifier for the object.
|
|
114
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
115
|
-
* @param {string} [authorization] Bearer Token
|
|
116
|
-
* @param {*} [options] Override http request option.
|
|
117
|
-
* @throws {RequiredError}
|
|
118
|
-
*/
|
|
119
|
-
updateLeadSync: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* LeadsApi - functional programming interface
|
|
123
|
-
* @export
|
|
124
|
-
*/
|
|
125
|
-
export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
126
|
-
/**
|
|
127
|
-
* This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
|
|
128
|
-
* @summary Create the lead
|
|
129
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
130
|
-
* @param {string} [authorization] Bearer Token
|
|
131
|
-
* @param {*} [options] Override http request option.
|
|
132
|
-
* @throws {RequiredError}
|
|
133
|
-
*/
|
|
134
|
-
createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
|
|
135
|
-
/**
|
|
136
|
-
* 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\'.
|
|
137
|
-
* @summary Create the lead asynchronously
|
|
138
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
139
|
-
* @param {string} [authorization] Bearer Token
|
|
140
|
-
* @param {*} [options] Override http request option.
|
|
141
|
-
* @throws {RequiredError}
|
|
142
|
-
*/
|
|
143
|
-
createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadAsyncResponseClass>>;
|
|
144
|
-
/**
|
|
145
|
-
* 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.
|
|
146
|
-
* @summary Create the lead
|
|
147
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
148
|
-
* @param {string} [authorization] Bearer Token
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
*/
|
|
152
|
-
createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
|
|
153
|
-
/**
|
|
154
|
-
* Permanently deletes the lead. Supply the unique code that was returned when you created the lead and this will delete it.
|
|
155
|
-
* @summary Delete the lead
|
|
156
|
-
* @param {string} code
|
|
157
|
-
* @param {string} [authorization] Bearer Token
|
|
158
|
-
* @param {*} [options] Override http request option.
|
|
159
|
-
* @throws {RequiredError}
|
|
160
|
-
*/
|
|
161
|
-
deleteLead(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
162
|
-
/**
|
|
163
|
-
* 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.
|
|
164
|
-
* @summary Retrieve the lead
|
|
165
|
-
* @param {string} code Unique identifier for the object.
|
|
166
|
-
* @param {string} [authorization] Bearer Token
|
|
167
|
-
* @param {string} [expand]
|
|
168
|
-
* @param {*} [options] Override http request option.
|
|
169
|
-
* @throws {RequiredError}
|
|
170
|
-
*/
|
|
171
|
-
getLead(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadResponseClass>>;
|
|
172
|
-
/**
|
|
173
|
-
* 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.
|
|
174
|
-
* @summary List leads
|
|
175
|
-
* @param {string} [authorization] Bearer Token
|
|
176
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
177
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
178
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
179
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
180
|
-
* @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.
|
|
181
|
-
* @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.
|
|
182
|
-
* @param {*} [options] Override http request option.
|
|
183
|
-
* @throws {RequiredError}
|
|
184
|
-
*/
|
|
185
|
-
listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
|
|
186
|
-
/**
|
|
187
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
188
|
-
* @summary Patch the lead
|
|
189
|
-
* @param {string} code Unique identifier for the object.
|
|
190
|
-
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
191
|
-
* @param {string} [authorization] Bearer Token
|
|
192
|
-
* @param {*} [options] Override http request option.
|
|
193
|
-
* @throws {RequiredError}
|
|
194
|
-
*/
|
|
195
|
-
patchLead(code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchLeadResponseClass>>;
|
|
196
|
-
/**
|
|
197
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
198
|
-
* @summary Update the lead
|
|
199
|
-
* @param {string} code Unique identifier for the object.
|
|
200
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
201
|
-
* @param {string} [authorization] Bearer Token
|
|
202
|
-
* @param {*} [options] Override http request option.
|
|
203
|
-
* @throws {RequiredError}
|
|
204
|
-
*/
|
|
205
|
-
updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
|
|
206
|
-
/**
|
|
207
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
208
|
-
* @summary Update the lead
|
|
209
|
-
* @param {string} code Unique identifier for the object.
|
|
210
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
211
|
-
* @param {string} [authorization] Bearer Token
|
|
212
|
-
* @param {*} [options] Override http request option.
|
|
213
|
-
* @throws {RequiredError}
|
|
214
|
-
*/
|
|
215
|
-
updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
|
|
216
|
-
};
|
|
217
|
-
/**
|
|
218
|
-
* LeadsApi - factory interface
|
|
219
|
-
* @export
|
|
220
|
-
*/
|
|
221
|
-
export declare const LeadsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
222
|
-
/**
|
|
223
|
-
* This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
|
|
224
|
-
* @summary Create the lead
|
|
225
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
226
|
-
* @param {string} [authorization] Bearer Token
|
|
227
|
-
* @param {*} [options] Override http request option.
|
|
228
|
-
* @throws {RequiredError}
|
|
229
|
-
*/
|
|
230
|
-
createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
|
|
231
|
-
/**
|
|
232
|
-
* 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\'.
|
|
233
|
-
* @summary Create the lead asynchronously
|
|
234
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
235
|
-
* @param {string} [authorization] Bearer Token
|
|
236
|
-
* @param {*} [options] Override http request option.
|
|
237
|
-
* @throws {RequiredError}
|
|
238
|
-
*/
|
|
239
|
-
createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadAsyncResponseClass>;
|
|
240
|
-
/**
|
|
241
|
-
* 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.
|
|
242
|
-
* @summary Create the lead
|
|
243
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
244
|
-
* @param {string} [authorization] Bearer Token
|
|
245
|
-
* @param {*} [options] Override http request option.
|
|
246
|
-
* @throws {RequiredError}
|
|
247
|
-
*/
|
|
248
|
-
createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
|
|
249
|
-
/**
|
|
250
|
-
* Permanently deletes the lead. Supply the unique code that was returned when you created the lead and this will delete it.
|
|
251
|
-
* @summary Delete the lead
|
|
252
|
-
* @param {string} code
|
|
253
|
-
* @param {string} [authorization] Bearer Token
|
|
254
|
-
* @param {*} [options] Override http request option.
|
|
255
|
-
* @throws {RequiredError}
|
|
256
|
-
*/
|
|
257
|
-
deleteLead(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
258
|
-
/**
|
|
259
|
-
* 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.
|
|
260
|
-
* @summary Retrieve the lead
|
|
261
|
-
* @param {string} code Unique identifier for the object.
|
|
262
|
-
* @param {string} [authorization] Bearer Token
|
|
263
|
-
* @param {string} [expand]
|
|
264
|
-
* @param {*} [options] Override http request option.
|
|
265
|
-
* @throws {RequiredError}
|
|
266
|
-
*/
|
|
267
|
-
getLead(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetLeadResponseClass>;
|
|
268
|
-
/**
|
|
269
|
-
* 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.
|
|
270
|
-
* @summary List leads
|
|
271
|
-
* @param {string} [authorization] Bearer Token
|
|
272
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
273
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
274
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
275
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
276
|
-
* @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.
|
|
277
|
-
* @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.
|
|
278
|
-
* @param {*} [options] Override http request option.
|
|
279
|
-
* @throws {RequiredError}
|
|
280
|
-
*/
|
|
281
|
-
listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
|
|
282
|
-
/**
|
|
283
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
284
|
-
* @summary Patch the lead
|
|
285
|
-
* @param {string} code Unique identifier for the object.
|
|
286
|
-
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
287
|
-
* @param {string} [authorization] Bearer Token
|
|
288
|
-
* @param {*} [options] Override http request option.
|
|
289
|
-
* @throws {RequiredError}
|
|
290
|
-
*/
|
|
291
|
-
patchLead(code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: any): AxiosPromise<PatchLeadResponseClass>;
|
|
292
|
-
/**
|
|
293
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
294
|
-
* @summary Update the lead
|
|
295
|
-
* @param {string} code Unique identifier for the object.
|
|
296
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
297
|
-
* @param {string} [authorization] Bearer Token
|
|
298
|
-
* @param {*} [options] Override http request option.
|
|
299
|
-
* @throws {RequiredError}
|
|
300
|
-
*/
|
|
301
|
-
updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
|
|
302
|
-
/**
|
|
303
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
304
|
-
* @summary Update the lead
|
|
305
|
-
* @param {string} code Unique identifier for the object.
|
|
306
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
307
|
-
* @param {string} [authorization] Bearer Token
|
|
308
|
-
* @param {*} [options] Override http request option.
|
|
309
|
-
* @throws {RequiredError}
|
|
310
|
-
*/
|
|
311
|
-
updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
|
|
312
|
-
};
|
|
313
|
-
/**
|
|
314
|
-
* Request parameters for createLead operation in LeadsApi.
|
|
315
|
-
* @export
|
|
316
|
-
* @interface LeadsApiCreateLeadRequest
|
|
317
|
-
*/
|
|
318
|
-
export interface LeadsApiCreateLeadRequest {
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @type {CreateLeadRequestDto}
|
|
322
|
-
* @memberof LeadsApiCreateLead
|
|
323
|
-
*/
|
|
324
|
-
readonly createLeadRequestDto: CreateLeadRequestDto;
|
|
325
|
-
/**
|
|
326
|
-
* Bearer Token
|
|
327
|
-
* @type {string}
|
|
328
|
-
* @memberof LeadsApiCreateLead
|
|
329
|
-
*/
|
|
330
|
-
readonly authorization?: string;
|
|
331
|
-
}
|
|
332
|
-
/**
|
|
333
|
-
* Request parameters for createLeadAsync operation in LeadsApi.
|
|
334
|
-
* @export
|
|
335
|
-
* @interface LeadsApiCreateLeadAsyncRequest
|
|
336
|
-
*/
|
|
337
|
-
export interface LeadsApiCreateLeadAsyncRequest {
|
|
338
|
-
/**
|
|
339
|
-
*
|
|
340
|
-
* @type {CreateLeadRequestDto}
|
|
341
|
-
* @memberof LeadsApiCreateLeadAsync
|
|
342
|
-
*/
|
|
343
|
-
readonly createLeadRequestDto: CreateLeadRequestDto;
|
|
344
|
-
/**
|
|
345
|
-
* Bearer Token
|
|
346
|
-
* @type {string}
|
|
347
|
-
* @memberof LeadsApiCreateLeadAsync
|
|
348
|
-
*/
|
|
349
|
-
readonly authorization?: string;
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* Request parameters for createLeadSync operation in LeadsApi.
|
|
353
|
-
* @export
|
|
354
|
-
* @interface LeadsApiCreateLeadSyncRequest
|
|
355
|
-
*/
|
|
356
|
-
export interface LeadsApiCreateLeadSyncRequest {
|
|
357
|
-
/**
|
|
358
|
-
*
|
|
359
|
-
* @type {CreateLeadRequestDto}
|
|
360
|
-
* @memberof LeadsApiCreateLeadSync
|
|
361
|
-
*/
|
|
362
|
-
readonly createLeadRequestDto: CreateLeadRequestDto;
|
|
363
|
-
/**
|
|
364
|
-
* Bearer Token
|
|
365
|
-
* @type {string}
|
|
366
|
-
* @memberof LeadsApiCreateLeadSync
|
|
367
|
-
*/
|
|
368
|
-
readonly authorization?: string;
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* Request parameters for deleteLead operation in LeadsApi.
|
|
372
|
-
* @export
|
|
373
|
-
* @interface LeadsApiDeleteLeadRequest
|
|
374
|
-
*/
|
|
375
|
-
export interface LeadsApiDeleteLeadRequest {
|
|
376
|
-
/**
|
|
377
|
-
*
|
|
378
|
-
* @type {string}
|
|
379
|
-
* @memberof LeadsApiDeleteLead
|
|
380
|
-
*/
|
|
381
|
-
readonly code: string;
|
|
382
|
-
/**
|
|
383
|
-
* Bearer Token
|
|
384
|
-
* @type {string}
|
|
385
|
-
* @memberof LeadsApiDeleteLead
|
|
386
|
-
*/
|
|
387
|
-
readonly authorization?: string;
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* Request parameters for getLead operation in LeadsApi.
|
|
391
|
-
* @export
|
|
392
|
-
* @interface LeadsApiGetLeadRequest
|
|
393
|
-
*/
|
|
394
|
-
export interface LeadsApiGetLeadRequest {
|
|
395
|
-
/**
|
|
396
|
-
* Unique identifier for the object.
|
|
397
|
-
* @type {string}
|
|
398
|
-
* @memberof LeadsApiGetLead
|
|
399
|
-
*/
|
|
400
|
-
readonly code: string;
|
|
401
|
-
/**
|
|
402
|
-
* Bearer Token
|
|
403
|
-
* @type {string}
|
|
404
|
-
* @memberof LeadsApiGetLead
|
|
405
|
-
*/
|
|
406
|
-
readonly authorization?: string;
|
|
407
|
-
/**
|
|
408
|
-
*
|
|
409
|
-
* @type {string}
|
|
410
|
-
* @memberof LeadsApiGetLead
|
|
411
|
-
*/
|
|
412
|
-
readonly expand?: string;
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* Request parameters for listLeads operation in LeadsApi.
|
|
416
|
-
* @export
|
|
417
|
-
* @interface LeadsApiListLeadsRequest
|
|
418
|
-
*/
|
|
419
|
-
export interface LeadsApiListLeadsRequest {
|
|
420
|
-
/**
|
|
421
|
-
* Bearer Token
|
|
422
|
-
* @type {string}
|
|
423
|
-
* @memberof LeadsApiListLeads
|
|
424
|
-
*/
|
|
425
|
-
readonly authorization?: string;
|
|
426
|
-
/**
|
|
427
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
428
|
-
* @type {any}
|
|
429
|
-
* @memberof LeadsApiListLeads
|
|
430
|
-
*/
|
|
431
|
-
readonly pageSize?: any;
|
|
432
|
-
/**
|
|
433
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
434
|
-
* @type {any}
|
|
435
|
-
* @memberof LeadsApiListLeads
|
|
436
|
-
*/
|
|
437
|
-
readonly pageToken?: any;
|
|
438
|
-
/**
|
|
439
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
440
|
-
* @type {any}
|
|
441
|
-
* @memberof LeadsApiListLeads
|
|
442
|
-
*/
|
|
443
|
-
readonly filter?: any;
|
|
444
|
-
/**
|
|
445
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
446
|
-
* @type {any}
|
|
447
|
-
* @memberof LeadsApiListLeads
|
|
448
|
-
*/
|
|
449
|
-
readonly search?: any;
|
|
450
|
-
/**
|
|
451
|
-
* 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.
|
|
452
|
-
* @type {any}
|
|
453
|
-
* @memberof LeadsApiListLeads
|
|
454
|
-
*/
|
|
455
|
-
readonly order?: any;
|
|
456
|
-
/**
|
|
457
|
-
* 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.
|
|
458
|
-
* @type {any}
|
|
459
|
-
* @memberof LeadsApiListLeads
|
|
460
|
-
*/
|
|
461
|
-
readonly expand?: any;
|
|
462
|
-
}
|
|
463
|
-
/**
|
|
464
|
-
* Request parameters for patchLead operation in LeadsApi.
|
|
465
|
-
* @export
|
|
466
|
-
* @interface LeadsApiPatchLeadRequest
|
|
467
|
-
*/
|
|
468
|
-
export interface LeadsApiPatchLeadRequest {
|
|
469
|
-
/**
|
|
470
|
-
* Unique identifier for the object.
|
|
471
|
-
* @type {string}
|
|
472
|
-
* @memberof LeadsApiPatchLead
|
|
473
|
-
*/
|
|
474
|
-
readonly code: string;
|
|
475
|
-
/**
|
|
476
|
-
*
|
|
477
|
-
* @type {PatchLeadRequestDto}
|
|
478
|
-
* @memberof LeadsApiPatchLead
|
|
479
|
-
*/
|
|
480
|
-
readonly patchLeadRequestDto: PatchLeadRequestDto;
|
|
481
|
-
/**
|
|
482
|
-
* Bearer Token
|
|
483
|
-
* @type {string}
|
|
484
|
-
* @memberof LeadsApiPatchLead
|
|
485
|
-
*/
|
|
486
|
-
readonly authorization?: string;
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* Request parameters for updateLead operation in LeadsApi.
|
|
490
|
-
* @export
|
|
491
|
-
* @interface LeadsApiUpdateLeadRequest
|
|
492
|
-
*/
|
|
493
|
-
export interface LeadsApiUpdateLeadRequest {
|
|
494
|
-
/**
|
|
495
|
-
* Unique identifier for the object.
|
|
496
|
-
* @type {string}
|
|
497
|
-
* @memberof LeadsApiUpdateLead
|
|
498
|
-
*/
|
|
499
|
-
readonly code: string;
|
|
500
|
-
/**
|
|
501
|
-
*
|
|
502
|
-
* @type {UpdateLeadRequestDto}
|
|
503
|
-
* @memberof LeadsApiUpdateLead
|
|
504
|
-
*/
|
|
505
|
-
readonly updateLeadRequestDto: UpdateLeadRequestDto;
|
|
506
|
-
/**
|
|
507
|
-
* Bearer Token
|
|
508
|
-
* @type {string}
|
|
509
|
-
* @memberof LeadsApiUpdateLead
|
|
510
|
-
*/
|
|
511
|
-
readonly authorization?: string;
|
|
512
|
-
}
|
|
513
|
-
/**
|
|
514
|
-
* Request parameters for updateLeadSync operation in LeadsApi.
|
|
515
|
-
* @export
|
|
516
|
-
* @interface LeadsApiUpdateLeadSyncRequest
|
|
517
|
-
*/
|
|
518
|
-
export interface LeadsApiUpdateLeadSyncRequest {
|
|
519
|
-
/**
|
|
520
|
-
* Unique identifier for the object.
|
|
521
|
-
* @type {string}
|
|
522
|
-
* @memberof LeadsApiUpdateLeadSync
|
|
523
|
-
*/
|
|
524
|
-
readonly code: string;
|
|
525
|
-
/**
|
|
526
|
-
*
|
|
527
|
-
* @type {UpdateLeadRequestDto}
|
|
528
|
-
* @memberof LeadsApiUpdateLeadSync
|
|
529
|
-
*/
|
|
530
|
-
readonly updateLeadRequestDto: UpdateLeadRequestDto;
|
|
531
|
-
/**
|
|
532
|
-
* Bearer Token
|
|
533
|
-
* @type {string}
|
|
534
|
-
* @memberof LeadsApiUpdateLeadSync
|
|
535
|
-
*/
|
|
536
|
-
readonly authorization?: string;
|
|
537
|
-
}
|
|
538
|
-
/**
|
|
539
|
-
* LeadsApi - object-oriented interface
|
|
540
|
-
* @export
|
|
541
|
-
* @class LeadsApi
|
|
542
|
-
* @extends {BaseAPI}
|
|
543
|
-
*/
|
|
544
|
-
export declare class LeadsApi extends BaseAPI {
|
|
545
|
-
/**
|
|
546
|
-
* This will create a lead. Lead creation is the first step of a workflow responsible for the creation of an account, policy, banking information.
|
|
547
|
-
* @summary Create the lead
|
|
548
|
-
* @param {LeadsApiCreateLeadRequest} requestParameters Request parameters.
|
|
549
|
-
* @param {*} [options] Override http request option.
|
|
550
|
-
* @throws {RequiredError}
|
|
551
|
-
* @memberof LeadsApi
|
|
552
|
-
*/
|
|
553
|
-
createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
|
|
554
|
-
/**
|
|
555
|
-
* 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\'.
|
|
556
|
-
* @summary Create the lead asynchronously
|
|
557
|
-
* @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
|
|
558
|
-
* @param {*} [options] Override http request option.
|
|
559
|
-
* @throws {RequiredError}
|
|
560
|
-
* @memberof LeadsApi
|
|
561
|
-
*/
|
|
562
|
-
createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any>>;
|
|
563
|
-
/**
|
|
564
|
-
* 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.
|
|
565
|
-
* @summary Create the lead
|
|
566
|
-
* @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
|
|
567
|
-
* @param {*} [options] Override http request option.
|
|
568
|
-
* @throws {RequiredError}
|
|
569
|
-
* @memberof LeadsApi
|
|
570
|
-
*/
|
|
571
|
-
createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
|
|
572
|
-
/**
|
|
573
|
-
* Permanently deletes the lead. Supply the unique code that was returned when you created the lead and this will delete it.
|
|
574
|
-
* @summary Delete the lead
|
|
575
|
-
* @param {LeadsApiDeleteLeadRequest} requestParameters Request parameters.
|
|
576
|
-
* @param {*} [options] Override http request option.
|
|
577
|
-
* @throws {RequiredError}
|
|
578
|
-
* @memberof LeadsApi
|
|
579
|
-
*/
|
|
580
|
-
deleteLead(requestParameters: LeadsApiDeleteLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
581
|
-
/**
|
|
582
|
-
* 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.
|
|
583
|
-
* @summary Retrieve the lead
|
|
584
|
-
* @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
|
|
585
|
-
* @param {*} [options] Override http request option.
|
|
586
|
-
* @throws {RequiredError}
|
|
587
|
-
* @memberof LeadsApi
|
|
588
|
-
*/
|
|
589
|
-
getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
|
|
590
|
-
/**
|
|
591
|
-
* 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.
|
|
592
|
-
* @summary List leads
|
|
593
|
-
* @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
|
|
594
|
-
* @param {*} [options] Override http request option.
|
|
595
|
-
* @throws {RequiredError}
|
|
596
|
-
* @memberof LeadsApi
|
|
597
|
-
*/
|
|
598
|
-
listLeads(requestParameters?: LeadsApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any>>;
|
|
599
|
-
/**
|
|
600
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
601
|
-
* @summary Patch the lead
|
|
602
|
-
* @param {LeadsApiPatchLeadRequest} requestParameters Request parameters.
|
|
603
|
-
* @param {*} [options] Override http request option.
|
|
604
|
-
* @throws {RequiredError}
|
|
605
|
-
* @memberof LeadsApi
|
|
606
|
-
*/
|
|
607
|
-
patchLead(requestParameters: LeadsApiPatchLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchLeadResponseClass, any>>;
|
|
608
|
-
/**
|
|
609
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
610
|
-
* @summary Update the lead
|
|
611
|
-
* @param {LeadsApiUpdateLeadRequest} requestParameters Request parameters.
|
|
612
|
-
* @param {*} [options] Override http request option.
|
|
613
|
-
* @throws {RequiredError}
|
|
614
|
-
* @memberof LeadsApi
|
|
615
|
-
*/
|
|
616
|
-
updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
|
|
617
|
-
/**
|
|
618
|
-
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
619
|
-
* @summary Update the lead
|
|
620
|
-
* @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
|
|
621
|
-
* @param {*} [options] Override http request option.
|
|
622
|
-
* @throws {RequiredError}
|
|
623
|
-
* @memberof LeadsApi
|
|
624
|
-
*/
|
|
625
|
-
updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
|
|
626
|
-
}
|