@emilgroup/partner-portal-sdk-node 1.0.1-beta.0

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