@emilgroup/public-api-sdk 1.11.0 → 1.12.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.
@@ -32,6 +32,7 @@ models/create-estimated-invoice-request-dto.ts
32
32
  models/create-estimated-invoice-response-class.ts
33
33
  models/create-lead-request-dto.ts
34
34
  models/create-lead-response-class.ts
35
+ models/create-payment-method-request-dto.ts
35
36
  models/document-class.ts
36
37
  models/get-custom-css-response-class.ts
37
38
  models/get-lead-response-class.ts
@@ -71,6 +72,7 @@ models/product-field-class.ts
71
72
  models/product-version-class.ts
72
73
  models/send-notification-request-dto.ts
73
74
  models/send-notification-response-class.ts
75
+ models/sepa-dto.ts
74
76
  models/structured-address-class.ts
75
77
  models/suggested-address-details-class.ts
76
78
  models/update-lead-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/public-api-sdk@1.11.0 --save
20
+ npm install @emilgroup/public-api-sdk@1.12.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk@1.11.0
24
+ yarn add @emilgroup/public-api-sdk@1.12.0
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
14
15
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
15
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
17
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -86,4 +87,10 @@ export interface CreateLeadRequestDto {
86
87
  * @memberof CreateLeadRequestDto
87
88
  */
88
89
  'premiumOverride'?: PremiumOverrideRequestDto;
90
+ /**
91
+ * Payment Method.
92
+ * @type {CreatePaymentMethodRequestDto}
93
+ * @memberof CreateLeadRequestDto
94
+ */
95
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
89
96
  }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { SepaDto } from './sepa-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreatePaymentMethodRequestDto
17
+ */
18
+ export interface CreatePaymentMethodRequestDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CreatePaymentMethodRequestDto
23
+ */
24
+ 'type': CreatePaymentMethodRequestDtoTypeEnum;
25
+ /**
26
+ *
27
+ * @type {SepaDto}
28
+ * @memberof CreatePaymentMethodRequestDto
29
+ */
30
+ 'sepa'?: SepaDto;
31
+ }
32
+ export declare const CreatePaymentMethodRequestDtoTypeEnum: {
33
+ readonly Sepa: "sepa";
34
+ readonly Invoice: "invoice";
35
+ };
36
+ export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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.CreatePaymentMethodRequestDtoTypeEnum = void 0;
17
+ exports.CreatePaymentMethodRequestDtoTypeEnum = {
18
+ Sepa: 'sepa',
19
+ Invoice: 'invoice'
20
+ };
@@ -16,6 +16,7 @@ export * from './create-estimated-invoice-request-dto';
16
16
  export * from './create-estimated-invoice-response-class';
17
17
  export * from './create-lead-request-dto';
18
18
  export * from './create-lead-response-class';
19
+ export * from './create-payment-method-request-dto';
19
20
  export * from './document-class';
20
21
  export * from './get-custom-css-response-class';
21
22
  export * from './get-lead-response-class';
@@ -54,6 +55,7 @@ export * from './product-field-class';
54
55
  export * from './product-version-class';
55
56
  export * from './send-notification-request-dto';
56
57
  export * from './send-notification-response-class';
58
+ export * from './sepa-dto';
57
59
  export * from './structured-address-class';
58
60
  export * from './suggested-address-details-class';
59
61
  export * from './update-lead-request-dto';
@@ -32,6 +32,7 @@ __exportStar(require("./create-estimated-invoice-request-dto"), exports);
32
32
  __exportStar(require("./create-estimated-invoice-response-class"), exports);
33
33
  __exportStar(require("./create-lead-request-dto"), exports);
34
34
  __exportStar(require("./create-lead-response-class"), exports);
35
+ __exportStar(require("./create-payment-method-request-dto"), exports);
35
36
  __exportStar(require("./document-class"), exports);
36
37
  __exportStar(require("./get-custom-css-response-class"), exports);
37
38
  __exportStar(require("./get-lead-response-class"), exports);
@@ -70,6 +71,7 @@ __exportStar(require("./product-field-class"), exports);
70
71
  __exportStar(require("./product-version-class"), exports);
71
72
  __exportStar(require("./send-notification-request-dto"), exports);
72
73
  __exportStar(require("./send-notification-response-class"), exports);
74
+ __exportStar(require("./sepa-dto"), exports);
73
75
  __exportStar(require("./structured-address-class"), exports);
74
76
  __exportStar(require("./suggested-address-details-class"), exports);
75
77
  __exportStar(require("./update-lead-request-dto"), exports);
@@ -105,4 +105,16 @@ export interface InvoiceItemClass {
105
105
  * @memberof InvoiceItemClass
106
106
  */
107
107
  'billingIntervalTo': string;
108
+ /**
109
+ * Type of Premium item.
110
+ * @type {string}
111
+ * @memberof InvoiceItemClass
112
+ */
113
+ 'itemType'?: string;
114
+ /**
115
+ * Visibility of Premium item.
116
+ * @type {string}
117
+ * @memberof InvoiceItemClass
118
+ */
119
+ 'visibility'?: string;
108
120
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
12
13
  import { InvoiceClass } from './invoice-class';
13
14
  import { LeadAccountClass } from './lead-account-class';
14
15
  import { LeadBankAccountClass } from './lead-bank-account-class';
@@ -87,6 +88,12 @@ export interface LeadClass {
87
88
  * @memberof LeadClass
88
89
  */
89
90
  'ern': string;
91
+ /**
92
+ * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
93
+ * @type {CreatePaymentMethodRequestDto}
94
+ * @memberof LeadClass
95
+ */
96
+ 'paymentMethod': CreatePaymentMethodRequestDto;
90
97
  /**
91
98
  * Time at which the object was created.
92
99
  * @type {string}
@@ -48,6 +48,7 @@ export declare const PremiumOverrideDtoUnitEnum: {
48
48
  readonly Day: "day";
49
49
  readonly Week: "week";
50
50
  readonly Month: "month";
51
+ readonly Quarter: "quarter";
51
52
  readonly Year: "year";
52
53
  readonly OneTimePayment: "oneTimePayment";
53
54
  };
@@ -21,6 +21,7 @@ exports.PremiumOverrideDtoUnitEnum = {
21
21
  Day: 'day',
22
22
  Week: 'week',
23
23
  Month: 'month',
24
+ Quarter: 'quarter',
24
25
  Year: 'year',
25
26
  OneTimePayment: 'oneTimePayment'
26
27
  };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SepaDto
16
+ */
17
+ export interface SepaDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SepaDto
22
+ */
23
+ 'iban': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SepaDto
28
+ */
29
+ 'holderName'?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 });
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
14
15
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
15
16
  import { UploadedDocumentDto } from './uploaded-document-dto';
16
17
  /**
@@ -67,6 +68,12 @@ export interface UpdateLeadRequestDto {
67
68
  * @memberof UpdateLeadRequestDto
68
69
  */
69
70
  'status': string;
71
+ /**
72
+ * Payment Method.
73
+ * @type {CreatePaymentMethodRequestDto}
74
+ * @memberof UpdateLeadRequestDto
75
+ */
76
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
70
77
  /**
71
78
  *
72
79
  * @type {CreateAccountRequestDto}
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
17
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
18
19
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
19
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
21
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -91,5 +92,11 @@ export interface CreateLeadRequestDto {
91
92
  * @memberof CreateLeadRequestDto
92
93
  */
93
94
  'premiumOverride'?: PremiumOverrideRequestDto;
95
+ /**
96
+ * Payment Method.
97
+ * @type {CreatePaymentMethodRequestDto}
98
+ * @memberof CreateLeadRequestDto
99
+ */
100
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
94
101
  }
95
102
 
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { SepaDto } from './sepa-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePaymentMethodRequestDto
22
+ */
23
+ export interface CreatePaymentMethodRequestDto {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreatePaymentMethodRequestDto
28
+ */
29
+ 'type': CreatePaymentMethodRequestDtoTypeEnum;
30
+ /**
31
+ *
32
+ * @type {SepaDto}
33
+ * @memberof CreatePaymentMethodRequestDto
34
+ */
35
+ 'sepa'?: SepaDto;
36
+ }
37
+
38
+ export const CreatePaymentMethodRequestDtoTypeEnum = {
39
+ Sepa: 'sepa',
40
+ Invoice: 'invoice'
41
+ } as const;
42
+
43
+ export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
44
+
45
+
package/models/index.ts CHANGED
@@ -16,6 +16,7 @@ export * from './create-estimated-invoice-request-dto';
16
16
  export * from './create-estimated-invoice-response-class';
17
17
  export * from './create-lead-request-dto';
18
18
  export * from './create-lead-response-class';
19
+ export * from './create-payment-method-request-dto';
19
20
  export * from './document-class';
20
21
  export * from './get-custom-css-response-class';
21
22
  export * from './get-lead-response-class';
@@ -54,6 +55,7 @@ export * from './product-field-class';
54
55
  export * from './product-version-class';
55
56
  export * from './send-notification-request-dto';
56
57
  export * from './send-notification-response-class';
58
+ export * from './sepa-dto';
57
59
  export * from './structured-address-class';
58
60
  export * from './suggested-address-details-class';
59
61
  export * from './update-lead-request-dto';
@@ -110,5 +110,17 @@ export interface InvoiceItemClass {
110
110
  * @memberof InvoiceItemClass
111
111
  */
112
112
  'billingIntervalTo': string;
113
+ /**
114
+ * Type of Premium item.
115
+ * @type {string}
116
+ * @memberof InvoiceItemClass
117
+ */
118
+ 'itemType'?: string;
119
+ /**
120
+ * Visibility of Premium item.
121
+ * @type {string}
122
+ * @memberof InvoiceItemClass
123
+ */
124
+ 'visibility'?: string;
113
125
  }
114
126
 
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
16
17
  import { InvoiceClass } from './invoice-class';
17
18
  import { LeadAccountClass } from './lead-account-class';
18
19
  import { LeadBankAccountClass } from './lead-bank-account-class';
@@ -92,6 +93,12 @@ export interface LeadClass {
92
93
  * @memberof LeadClass
93
94
  */
94
95
  'ern': string;
96
+ /**
97
+ * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
98
+ * @type {CreatePaymentMethodRequestDto}
99
+ * @memberof LeadClass
100
+ */
101
+ 'paymentMethod': CreatePaymentMethodRequestDto;
95
102
  /**
96
103
  * Time at which the object was created.
97
104
  * @type {string}
@@ -55,6 +55,7 @@ export const PremiumOverrideDtoUnitEnum = {
55
55
  Day: 'day',
56
56
  Week: 'week',
57
57
  Month: 'month',
58
+ Quarter: 'quarter',
58
59
  Year: 'year',
59
60
  OneTimePayment: 'oneTimePayment'
60
61
  } as const;
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 SepaDto
21
+ */
22
+ export interface SepaDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SepaDto
27
+ */
28
+ 'iban': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SepaDto
33
+ */
34
+ 'holderName'?: string;
35
+ }
36
+
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
17
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
18
19
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
19
20
  import { UploadedDocumentDto } from './uploaded-document-dto';
20
21
 
@@ -72,6 +73,12 @@ export interface UpdateLeadRequestDto {
72
73
  * @memberof UpdateLeadRequestDto
73
74
  */
74
75
  'status': string;
76
+ /**
77
+ * Payment Method.
78
+ * @type {CreatePaymentMethodRequestDto}
79
+ * @memberof UpdateLeadRequestDto
80
+ */
81
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
75
82
  /**
76
83
  *
77
84
  * @type {CreateAccountRequestDto}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [