@emilgroup/partner-portal-sdk 1.1.1 → 1.5.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 +46 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -1
- package/api/intermediary-api.ts +1222 -0
- package/api.ts +27 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/intermediary-api.d.ts +704 -0
- package/dist/api/intermediary-api.js +1015 -0
- package/dist/api.d.ts +12 -0
- package/dist/api.js +30 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/account-class.d.ts +176 -0
- package/dist/models/account-class.js +22 -0
- package/dist/models/account-policy-class.d.ts +147 -0
- package/dist/models/account-policy-class.js +15 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/create-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +55 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +48 -0
- package/dist/models/insured-object-type-class.d.ts +60 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/invoice-class.d.ts +152 -0
- package/dist/models/invoice-class.js +32 -0
- package/dist/models/invoice-item-class.d.ts +117 -0
- package/dist/models/invoice-item-class.js +24 -0
- package/dist/models/invoice-status-class.d.ts +49 -0
- package/dist/models/invoice-status-class.js +22 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +157 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/list-accounts-response-class.d.ts +31 -0
- package/dist/models/list-accounts-response-class.js +15 -0
- package/dist/models/list-leads-response-class.d.ts +43 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-partners-response-class.d.ts +31 -0
- package/dist/models/list-partners-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +43 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/omit-type-class.d.ts +84 -0
- package/dist/models/omit-type-class.js +15 -0
- package/dist/models/partner-class.d.ts +103 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +98 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/partner-role-class.d.ts +72 -0
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/policy-class.d.ts +147 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +84 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-premium-class.d.ts +61 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +67 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +79 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/premium-formula-class.d.ts +108 -0
- package/dist/models/premium-formula-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +55 -0
- package/dist/models/premium-override-dto.js +27 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-class.d.ts +92 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-version-class.d.ts +73 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/tag-class.d.ts +54 -0
- package/dist/models/tag-class.js +15 -0
- package/dist/models/timeslice-class.d.ts +74 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/account-class.ts +185 -0
- package/models/account-policy-class.ts +153 -0
- package/models/create-payment-method-request-dto.ts +37 -0
- package/models/create-policy-request-dto.ts +61 -0
- package/models/index.ts +32 -0
- package/models/insured-object-type-class.ts +66 -0
- package/models/invoice-class.ts +162 -0
- package/models/invoice-item-class.ts +126 -0
- package/models/invoice-status-class.ts +58 -0
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +163 -0
- package/models/list-accounts-response-class.ts +37 -0
- package/models/list-leads-response-class.ts +49 -0
- package/models/list-partners-response-class.ts +37 -0
- package/models/list-policies-response-class.ts +49 -0
- package/models/omit-type-class.ts +90 -0
- package/models/partner-class.ts +109 -0
- package/models/partner-link-class.ts +104 -0
- package/models/partner-role-class.ts +78 -0
- package/models/policy-class.ts +153 -0
- package/models/policy-object-class.ts +90 -0
- package/models/policy-premium-class.ts +67 -0
- package/models/policy-premium-item-class.ts +73 -0
- package/models/policy-version-class.ts +85 -0
- package/models/premium-formula-class.ts +114 -0
- package/models/premium-override-dto.ts +65 -0
- package/models/premium-override-request-dto.ts +31 -0
- package/models/product-class.ts +98 -0
- package/models/product-version-class.ts +82 -0
- package/models/sepa-dto.ts +36 -0
- package/models/tag-class.ts +60 -0
- package/models/timeslice-class.ts +80 -0
- package/models/uploaded-document-dto.ts +30 -0
- package/package.json +22 -8
- package/tsconfig.json +23 -0
- package/index.js +0 -99
- package/scripts/deploy.js +0 -225
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 InvoiceItemClass
|
|
16
|
+
*/
|
|
17
|
+
export interface InvoiceItemClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier referencing the invoice item.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof InvoiceItemClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the premium formula.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InvoiceItemClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormulaId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Product name.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvoiceItemClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* Tax code.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InvoiceItemClass
|
|
40
|
+
*/
|
|
41
|
+
'taxCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Unit of Premium units are determined based on time or distance.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InvoiceItemClass
|
|
46
|
+
*/
|
|
47
|
+
'unit': InvoiceItemClassUnitEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Invoice group.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InvoiceItemClass
|
|
52
|
+
*/
|
|
53
|
+
'group': string;
|
|
54
|
+
/**
|
|
55
|
+
* Item quantity. This property determines number of days during the billing interval.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InvoiceItemClass
|
|
58
|
+
*/
|
|
59
|
+
'quantity': number;
|
|
60
|
+
/**
|
|
61
|
+
* Item price per unit.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof InvoiceItemClass
|
|
64
|
+
*/
|
|
65
|
+
'pricePerUnit': number;
|
|
66
|
+
/**
|
|
67
|
+
* Item tax rate.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof InvoiceItemClass
|
|
70
|
+
*/
|
|
71
|
+
'taxRate': number;
|
|
72
|
+
/**
|
|
73
|
+
* Net amount in cents. It is the result of the multiplication of the quantity by the pricePerUnit.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof InvoiceItemClass
|
|
76
|
+
*/
|
|
77
|
+
'netAmount': number;
|
|
78
|
+
/**
|
|
79
|
+
* Tax amount in cents.
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof InvoiceItemClass
|
|
82
|
+
*/
|
|
83
|
+
'taxAmount': number;
|
|
84
|
+
/**
|
|
85
|
+
* Gross amount in cents. It is the result of the sum of taxAmount and netAmount.
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof InvoiceItemClass
|
|
88
|
+
*/
|
|
89
|
+
'grossAmount': number;
|
|
90
|
+
/**
|
|
91
|
+
* Credit amount.
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof InvoiceItemClass
|
|
94
|
+
*/
|
|
95
|
+
'creditAmount': number;
|
|
96
|
+
/**
|
|
97
|
+
* This is the date at which the invoice item interval starts.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof InvoiceItemClass
|
|
100
|
+
*/
|
|
101
|
+
'billingIntervalFrom': string;
|
|
102
|
+
/**
|
|
103
|
+
* This is the date at which the invoice item interval ends.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof InvoiceItemClass
|
|
106
|
+
*/
|
|
107
|
+
'billingIntervalTo': string;
|
|
108
|
+
}
|
|
109
|
+
export declare const InvoiceItemClassUnitEnum: {
|
|
110
|
+
readonly Day: "day";
|
|
111
|
+
readonly Week: "week";
|
|
112
|
+
readonly Month: "month";
|
|
113
|
+
readonly Quarter: "quarter";
|
|
114
|
+
readonly Year: "year";
|
|
115
|
+
readonly OneTimePayment: "oneTimePayment";
|
|
116
|
+
};
|
|
117
|
+
export type InvoiceItemClassUnitEnum = typeof InvoiceItemClassUnitEnum[keyof typeof InvoiceItemClassUnitEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InvoiceItemClassUnitEnum = void 0;
|
|
17
|
+
exports.InvoiceItemClassUnitEnum = {
|
|
18
|
+
Day: 'day',
|
|
19
|
+
Week: 'week',
|
|
20
|
+
Month: 'month',
|
|
21
|
+
Quarter: 'quarter',
|
|
22
|
+
Year: 'year',
|
|
23
|
+
OneTimePayment: 'oneTimePayment'
|
|
24
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 InvoiceStatusClass
|
|
16
|
+
*/
|
|
17
|
+
export interface InvoiceStatusClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof InvoiceStatusClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the invoice.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InvoiceStatusClass
|
|
28
|
+
*/
|
|
29
|
+
'invoiceId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Invoice type.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvoiceStatusClass
|
|
34
|
+
*/
|
|
35
|
+
'status': InvoiceStatusClassStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InvoiceStatusClass
|
|
40
|
+
*/
|
|
41
|
+
'createdAt': string;
|
|
42
|
+
}
|
|
43
|
+
export declare const InvoiceStatusClassStatusEnum: {
|
|
44
|
+
readonly Open: "open";
|
|
45
|
+
readonly Paid: "paid";
|
|
46
|
+
readonly PartiallyPaid: "partially-paid";
|
|
47
|
+
readonly Refunded: "refunded";
|
|
48
|
+
};
|
|
49
|
+
export type InvoiceStatusClassStatusEnum = typeof InvoiceStatusClassStatusEnum[keyof typeof InvoiceStatusClassStatusEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InvoiceStatusClassStatusEnum = void 0;
|
|
17
|
+
exports.InvoiceStatusClassStatusEnum = {
|
|
18
|
+
Open: 'open',
|
|
19
|
+
Paid: 'paid',
|
|
20
|
+
PartiallyPaid: 'partially-paid',
|
|
21
|
+
Refunded: 'refunded'
|
|
22
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 LeadBankAccountClass
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadBankAccountClass {
|
|
18
|
+
/**
|
|
19
|
+
* Account code place-holder.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LeadBankAccountClass
|
|
22
|
+
*/
|
|
23
|
+
'accountCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Bank account IBAN.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadBankAccountClass
|
|
28
|
+
*/
|
|
29
|
+
'iban': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
13
|
+
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
14
|
+
import { InvoiceClass } from './invoice-class';
|
|
15
|
+
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
16
|
+
import { OmitTypeClass } from './omit-type-class';
|
|
17
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
|
+
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface LeadClass
|
|
23
|
+
*/
|
|
24
|
+
export interface LeadClass {
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof LeadClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the object.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LeadClass
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof LeadClass
|
|
41
|
+
*/
|
|
42
|
+
'ern': string;
|
|
43
|
+
/**
|
|
44
|
+
* Unique identifier of the account that this object belongs to.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof LeadClass
|
|
47
|
+
*/
|
|
48
|
+
'accountCode'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Lead status.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof LeadClass
|
|
53
|
+
*/
|
|
54
|
+
'status': string;
|
|
55
|
+
/**
|
|
56
|
+
* Lead account.
|
|
57
|
+
* @type {object}
|
|
58
|
+
* @memberof LeadClass
|
|
59
|
+
*/
|
|
60
|
+
'account': object;
|
|
61
|
+
/**
|
|
62
|
+
* Lead policy.
|
|
63
|
+
* @type {CreatePolicyRequestDto}
|
|
64
|
+
* @memberof LeadClass
|
|
65
|
+
*/
|
|
66
|
+
'policy': CreatePolicyRequestDto;
|
|
67
|
+
/**
|
|
68
|
+
* Lead bank account, will be treated as a reference to payout customer claims.
|
|
69
|
+
* @type {LeadBankAccountClass}
|
|
70
|
+
* @memberof LeadClass
|
|
71
|
+
*/
|
|
72
|
+
'bankAccount'?: LeadBankAccountClass;
|
|
73
|
+
/**
|
|
74
|
+
* Custom data for custom application creation.
|
|
75
|
+
* @type {object}
|
|
76
|
+
* @memberof LeadClass
|
|
77
|
+
*/
|
|
78
|
+
'customData'?: object;
|
|
79
|
+
/**
|
|
80
|
+
* List of uploaded document codes.
|
|
81
|
+
* @type {UploadedDocumentDto}
|
|
82
|
+
* @memberof LeadClass
|
|
83
|
+
*/
|
|
84
|
+
'uploadedDocument'?: UploadedDocumentDto;
|
|
85
|
+
/**
|
|
86
|
+
* Override for premium calculation. Leave null for default calculation.
|
|
87
|
+
* @type {PremiumOverrideRequestDto}
|
|
88
|
+
* @memberof LeadClass
|
|
89
|
+
*/
|
|
90
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
91
|
+
/**
|
|
92
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof LeadClass
|
|
95
|
+
*/
|
|
96
|
+
'productSlug'?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Time at which the object was created.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof LeadClass
|
|
101
|
+
*/
|
|
102
|
+
'createdAt': string;
|
|
103
|
+
/**
|
|
104
|
+
* Time at which the object was updated.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof LeadClass
|
|
107
|
+
*/
|
|
108
|
+
'updatedAt': string;
|
|
109
|
+
/**
|
|
110
|
+
* Quote or price details.
|
|
111
|
+
* @type {InvoiceClass}
|
|
112
|
+
* @memberof LeadClass
|
|
113
|
+
*/
|
|
114
|
+
'quote'?: InvoiceClass;
|
|
115
|
+
/**
|
|
116
|
+
* Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
|
|
117
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
118
|
+
* @memberof LeadClass
|
|
119
|
+
*/
|
|
120
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
121
|
+
/**
|
|
122
|
+
* A indicator to validate the lead.
|
|
123
|
+
* @type {boolean}
|
|
124
|
+
* @memberof LeadClass
|
|
125
|
+
*/
|
|
126
|
+
'validate': boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Lead number.
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof LeadClass
|
|
131
|
+
*/
|
|
132
|
+
'leadNumber': string;
|
|
133
|
+
/**
|
|
134
|
+
* Lead version.
|
|
135
|
+
* @type {number}
|
|
136
|
+
* @memberof LeadClass
|
|
137
|
+
*/
|
|
138
|
+
'version'?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Partner links.
|
|
141
|
+
* @type {Array<OmitTypeClass>}
|
|
142
|
+
* @memberof LeadClass
|
|
143
|
+
*/
|
|
144
|
+
'partnerLinks': Array<OmitTypeClass>;
|
|
145
|
+
/**
|
|
146
|
+
* Identifier of the user who created the record.
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof LeadClass
|
|
149
|
+
*/
|
|
150
|
+
'createdBy': string;
|
|
151
|
+
/**
|
|
152
|
+
* Identifier of the user who last updated the record.
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof LeadClass
|
|
155
|
+
*/
|
|
156
|
+
'updatedBy': string;
|
|
157
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 { AccountClass } from './account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListAccountsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListAccountsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of accounts.
|
|
21
|
+
* @type {Array<AccountClass>}
|
|
22
|
+
* @memberof ListAccountsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<AccountClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListAccountsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 { LeadClass } from './lead-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListLeadsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListLeadsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Leads
|
|
21
|
+
* @type {Array<LeadClass>}
|
|
22
|
+
* @memberof ListLeadsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<LeadClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListLeadsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListLeadsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListLeadsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 { PartnerClass } from './partner-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPartnersResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPartnersResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of partners.
|
|
21
|
+
* @type {Array<PartnerClass>}
|
|
22
|
+
* @memberof ListPartnersResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PartnerClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPartnersResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerPortal
|
|
3
|
+
* The EMIL PartnerPortal 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 { PolicyClass } from './policy-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPoliciesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPoliciesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Policies
|
|
21
|
+
* @type {Array<PolicyClass>}
|
|
22
|
+
* @memberof ListPoliciesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PolicyClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPoliciesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListPoliciesResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListPoliciesResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerPortal
|
|
6
|
+
* The EMIL PartnerPortal API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|