@emilgroup/public-api-sdk 1.10.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.
Files changed (49) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/address-completions-validations-api.ts +38 -10
  4. package/api/documents-api.ts +116 -0
  5. package/api/notifications-api.ts +218 -4
  6. package/dist/api/address-completions-validations-api.d.ts +25 -7
  7. package/dist/api/address-completions-validations-api.js +21 -9
  8. package/dist/api/documents-api.d.ts +65 -0
  9. package/dist/api/documents-api.js +98 -0
  10. package/dist/api/notifications-api.d.ts +118 -4
  11. package/dist/api/notifications-api.js +190 -4
  12. package/dist/models/complete-email-verification-dto.d.ts +30 -0
  13. package/dist/models/complete-email-verification-dto.js +15 -0
  14. package/dist/models/complete-email-verification-response-class.d.ts +24 -0
  15. package/dist/models/complete-email-verification-response-class.js +15 -0
  16. package/dist/models/create-document-request-dto.d.ts +6 -0
  17. package/dist/models/create-lead-request-dto.d.ts +7 -0
  18. package/dist/models/create-payment-method-request-dto.d.ts +36 -0
  19. package/dist/models/create-payment-method-request-dto.js +20 -0
  20. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  21. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  22. package/dist/models/index.d.ts +7 -0
  23. package/dist/models/index.js +7 -0
  24. package/dist/models/initiate-email-verification-dto.d.ts +30 -0
  25. package/dist/models/initiate-email-verification-dto.js +15 -0
  26. package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
  27. package/dist/models/initiate-email-verification-response-class.js +15 -0
  28. package/dist/models/invoice-item-class.d.ts +12 -0
  29. package/dist/models/lead-class.d.ts +7 -0
  30. package/dist/models/premium-override-dto.d.ts +1 -0
  31. package/dist/models/premium-override-dto.js +1 -0
  32. package/dist/models/sepa-dto.d.ts +30 -0
  33. package/dist/models/sepa-dto.js +15 -0
  34. package/dist/models/update-lead-request-dto.d.ts +7 -0
  35. package/models/complete-email-verification-dto.ts +36 -0
  36. package/models/complete-email-verification-response-class.ts +30 -0
  37. package/models/create-document-request-dto.ts +6 -0
  38. package/models/create-lead-request-dto.ts +7 -0
  39. package/models/create-payment-method-request-dto.ts +45 -0
  40. package/models/get-product-document-download-url-response-class.ts +30 -0
  41. package/models/index.ts +7 -0
  42. package/models/initiate-email-verification-dto.ts +36 -0
  43. package/models/initiate-email-verification-response-class.ts +30 -0
  44. package/models/invoice-item-class.ts +12 -0
  45. package/models/lead-class.ts +7 -0
  46. package/models/premium-override-dto.ts +1 -0
  47. package/models/sepa-dto.ts +36 -0
  48. package/models/update-lead-request-dto.ts +7 -0
  49. package/package.json +1 -1
@@ -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}
@@ -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 CompleteEmailVerificationDto
21
+ */
22
+ export interface CompleteEmailVerificationDto {
23
+ /**
24
+ * User email
25
+ * @type {string}
26
+ * @memberof CompleteEmailVerificationDto
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * The confirmation token comes from an email sent to the customer.
31
+ * @type {string}
32
+ * @memberof CompleteEmailVerificationDto
33
+ */
34
+ 'token': string;
35
+ }
36
+
@@ -0,0 +1,30 @@
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 CompleteEmailVerificationResponseClass
21
+ */
22
+ export interface CompleteEmailVerificationResponseClass {
23
+ /**
24
+ * Complete verification result
25
+ * @type {boolean}
26
+ * @memberof CompleteEmailVerificationResponseClass
27
+ */
28
+ 'result': boolean;
29
+ }
30
+
@@ -26,6 +26,12 @@ export interface CreateDocumentRequestDto {
26
26
  * @memberof CreateDocumentRequestDto
27
27
  */
28
28
  'templateSlug': string;
29
+ /**
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * @type {string}
32
+ * @memberof CreateDocumentRequestDto
33
+ */
34
+ 'productSlug'?: string;
29
35
  /**
30
36
  * Document payload.
31
37
  * @type {object}
@@ -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
+
@@ -0,0 +1,30 @@
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 GetProductDocumentDownloadUrlResponseClass
21
+ */
22
+ export interface GetProductDocumentDownloadUrlResponseClass {
23
+ /**
24
+ * Pre-signed Url
25
+ * @type {string}
26
+ * @memberof GetProductDocumentDownloadUrlResponseClass
27
+ */
28
+ 'url': string;
29
+ }
30
+
package/models/index.ts CHANGED
@@ -2,6 +2,8 @@ export * from './address-completion-item-class';
2
2
  export * from './address-completion-response-class';
3
3
  export * from './address-field-score-class';
4
4
  export * from './complete-braintree-payment-setup-request-dto';
5
+ export * from './complete-email-verification-dto';
6
+ export * from './complete-email-verification-response-class';
5
7
  export * from './complete-payment-setup-request-dto';
6
8
  export * from './complete-payment-setup-response-class';
7
9
  export * from './complete-stripe-payment-setup-request-dto';
@@ -14,12 +16,16 @@ export * from './create-estimated-invoice-request-dto';
14
16
  export * from './create-estimated-invoice-response-class';
15
17
  export * from './create-lead-request-dto';
16
18
  export * from './create-lead-response-class';
19
+ export * from './create-payment-method-request-dto';
17
20
  export * from './document-class';
18
21
  export * from './get-custom-css-response-class';
19
22
  export * from './get-lead-response-class';
23
+ export * from './get-product-document-download-url-response-class';
20
24
  export * from './get-public-psp-settings-response-class';
21
25
  export * from './initiate-braintree-payment-setup-request-dto';
22
26
  export * from './initiate-braintree-payment-setup-response-class';
27
+ export * from './initiate-email-verification-dto';
28
+ export * from './initiate-email-verification-response-class';
23
29
  export * from './initiate-lead-response-class';
24
30
  export * from './initiate-payment-setup-request-dto';
25
31
  export * from './initiate-payment-setup-response-class';
@@ -49,6 +55,7 @@ export * from './product-field-class';
49
55
  export * from './product-version-class';
50
56
  export * from './send-notification-request-dto';
51
57
  export * from './send-notification-response-class';
58
+ export * from './sepa-dto';
52
59
  export * from './structured-address-class';
53
60
  export * from './suggested-address-details-class';
54
61
  export * from './update-lead-request-dto';
@@ -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 InitiateEmailVerificationDto
21
+ */
22
+ export interface InitiateEmailVerificationDto {
23
+ /**
24
+ * User email
25
+ * @type {string}
26
+ * @memberof InitiateEmailVerificationDto
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * @type {string}
32
+ * @memberof InitiateEmailVerificationDto
33
+ */
34
+ 'templateSlug'?: string;
35
+ }
36
+
@@ -0,0 +1,30 @@
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 InitiateEmailVerificationResponseClass
21
+ */
22
+ export interface InitiateEmailVerificationResponseClass {
23
+ /**
24
+ * Initiate verification result
25
+ * @type {boolean}
26
+ * @memberof InitiateEmailVerificationResponseClass
27
+ */
28
+ 'result': boolean;
29
+ }
30
+
@@ -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.10.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": [