@emilgroup/public-api-sdk 1.40.1-beta.21 → 1.40.1-beta.23

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 (72) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/address-completions-validations-api.ts +16 -6
  4. package/api/booking-funnels-api.ts +8 -3
  5. package/api/documents-api.ts +56 -21
  6. package/api/health-api.ts +1 -1
  7. package/api/ibanvalidator-api.ts +8 -3
  8. package/api/leads-api.ts +64 -24
  9. package/api/named-ranges-api.ts +8 -3
  10. package/api/notifications-api.ts +24 -9
  11. package/api/partners-api.ts +8 -3
  12. package/api/payments-setup-api.ts +60 -20
  13. package/api/product-versions-api.ts +32 -12
  14. package/api/products-api.ts +72 -27
  15. package/api/withdrawal-requests-api.ts +176 -0
  16. package/api.ts +2 -0
  17. package/base.ts +239 -43
  18. package/common.ts +3 -2
  19. package/configuration.ts +20 -0
  20. package/dist/api/address-completions-validations-api.d.ts +2 -2
  21. package/dist/api/address-completions-validations-api.js +22 -14
  22. package/dist/api/booking-funnels-api.d.ts +1 -1
  23. package/dist/api/booking-funnels-api.js +11 -7
  24. package/dist/api/documents-api.d.ts +7 -7
  25. package/dist/api/documents-api.js +93 -53
  26. package/dist/api/health-api.d.ts +1 -1
  27. package/dist/api/health-api.js +1 -1
  28. package/dist/api/ibanvalidator-api.d.ts +1 -1
  29. package/dist/api/ibanvalidator-api.js +15 -8
  30. package/dist/api/leads-api.d.ts +8 -8
  31. package/dist/api/leads-api.js +120 -64
  32. package/dist/api/named-ranges-api.d.ts +1 -1
  33. package/dist/api/named-ranges-api.js +11 -7
  34. package/dist/api/notifications-api.d.ts +3 -3
  35. package/dist/api/notifications-api.js +45 -24
  36. package/dist/api/partners-api.d.ts +1 -1
  37. package/dist/api/partners-api.js +15 -8
  38. package/dist/api/payments-setup-api.d.ts +4 -4
  39. package/dist/api/payments-setup-api.js +80 -40
  40. package/dist/api/product-versions-api.d.ts +4 -4
  41. package/dist/api/product-versions-api.js +56 -31
  42. package/dist/api/products-api.d.ts +9 -9
  43. package/dist/api/products-api.js +119 -68
  44. package/dist/api/withdrawal-requests-api.d.ts +97 -0
  45. package/dist/api/withdrawal-requests-api.js +231 -0
  46. package/dist/api.d.ts +1 -0
  47. package/dist/api.js +1 -0
  48. package/dist/base.d.ts +26 -0
  49. package/dist/base.js +243 -60
  50. package/dist/common.d.ts +1 -1
  51. package/dist/common.js +1 -0
  52. package/dist/configuration.d.ts +17 -0
  53. package/dist/configuration.js +2 -0
  54. package/dist/models/index.d.ts +5 -0
  55. package/dist/models/index.js +5 -0
  56. package/dist/models/inline-response400.d.ts +36 -0
  57. package/dist/models/inline-response400.js +15 -0
  58. package/dist/models/inline-response401.d.ts +30 -0
  59. package/dist/models/inline-response401.js +15 -0
  60. package/dist/models/submit-withdrawal-request-dto.d.ts +30 -0
  61. package/dist/models/submit-withdrawal-request-dto.js +15 -0
  62. package/dist/models/submit-withdrawal-request-response-class.d.ts +24 -0
  63. package/dist/models/submit-withdrawal-request-response-class.js +15 -0
  64. package/dist/models/withdrawal-request-error-response-class.d.ts +43 -0
  65. package/dist/models/withdrawal-request-error-response-class.js +22 -0
  66. package/models/index.ts +5 -0
  67. package/models/inline-response400.ts +42 -0
  68. package/models/inline-response401.ts +36 -0
  69. package/models/submit-withdrawal-request-dto.ts +36 -0
  70. package/models/submit-withdrawal-request-response-class.ts +30 -0
  71. package/models/withdrawal-request-error-response-class.ts +52 -0
  72. package/package.json +2 -2
@@ -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 SubmitWithdrawalRequestDto
16
+ */
17
+ export interface SubmitWithdrawalRequestDto {
18
+ /**
19
+ * Policy number exactly as it appears on the policy documents of the customer. The route removes the spaces at the start and the end before it checks the value. The value must not be empty after that. The service compares it to the policies of the tenant that owns the public key.
20
+ * @type {string}
21
+ * @memberof SubmitWithdrawalRequestDto
22
+ */
23
+ 'policyNumber': string;
24
+ /**
25
+ * Full name of the policyholder as the customer types it. For a company, this is the company name. The route removes the spaces at the start and the end before it checks the value. The value must not be empty after that. The service checks it against the policy and does not store or log it.
26
+ * @type {string}
27
+ * @memberof SubmitWithdrawalRequestDto
28
+ */
29
+ 'policyholderName': 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 });
@@ -0,0 +1,24 @@
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 SubmitWithdrawalRequestResponseClass
16
+ */
17
+ export interface SubmitWithdrawalRequestResponseClass {
18
+ /**
19
+ * Date and time at which the platform received the withdrawal request, in UTC, as an ISO 8601 string. Show this value to the customer as the proof of receipt.
20
+ * @type {string}
21
+ * @memberof SubmitWithdrawalRequestResponseClass
22
+ */
23
+ 'receivedAt': string;
24
+ }
@@ -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 });
@@ -0,0 +1,43 @@
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 WithdrawalRequestErrorResponseClass
16
+ */
17
+ export interface WithdrawalRequestErrorResponseClass {
18
+ /**
19
+ * HTTP status code of the response.
20
+ * @type {number}
21
+ * @memberof WithdrawalRequestErrorResponseClass
22
+ */
23
+ 'statusCode': number;
24
+ /**
25
+ * Text that the tenant page can show to the customer as it is.
26
+ * @type {string}
27
+ * @memberof WithdrawalRequestErrorResponseClass
28
+ */
29
+ 'message': string;
30
+ /**
31
+ * Stable code of the error. Use it in your page logic instead of the message text.
32
+ * @type {string}
33
+ * @memberof WithdrawalRequestErrorResponseClass
34
+ */
35
+ 'code': WithdrawalRequestErrorResponseClassCodeEnum;
36
+ }
37
+ export declare const WithdrawalRequestErrorResponseClassCodeEnum: {
38
+ readonly WithdrawalRequestNotVerified: "WITHDRAWAL_REQUEST_NOT_VERIFIED";
39
+ readonly PolicyTerminatedOrWithdrawn: "POLICY_TERMINATED_OR_WITHDRAWN";
40
+ readonly WithdrawalRequestAlreadySubmitted: "WITHDRAWAL_REQUEST_ALREADY_SUBMITTED";
41
+ readonly WithdrawalRequestNotProcessed: "WITHDRAWAL_REQUEST_NOT_PROCESSED";
42
+ };
43
+ export type WithdrawalRequestErrorResponseClassCodeEnum = typeof WithdrawalRequestErrorResponseClassCodeEnum[keyof typeof WithdrawalRequestErrorResponseClassCodeEnum];
@@ -0,0 +1,22 @@
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.WithdrawalRequestErrorResponseClassCodeEnum = void 0;
17
+ exports.WithdrawalRequestErrorResponseClassCodeEnum = {
18
+ WithdrawalRequestNotVerified: 'WITHDRAWAL_REQUEST_NOT_VERIFIED',
19
+ PolicyTerminatedOrWithdrawn: 'POLICY_TERMINATED_OR_WITHDRAWN',
20
+ WithdrawalRequestAlreadySubmitted: 'WITHDRAWAL_REQUEST_ALREADY_SUBMITTED',
21
+ WithdrawalRequestNotProcessed: 'WITHDRAWAL_REQUEST_NOT_PROCESSED'
22
+ };
package/models/index.ts CHANGED
@@ -66,6 +66,8 @@ export * from './initiate-payment-setup-response-class';
66
66
  export * from './initiate-stripe-payment-setup-request-dto';
67
67
  export * from './initiate-stripe-payment-setup-response-class';
68
68
  export * from './inline-response200';
69
+ export * from './inline-response400';
70
+ export * from './inline-response401';
69
71
  export * from './inline-response503';
70
72
  export * from './insured-object-class';
71
73
  export * from './insured-object-type-class';
@@ -108,6 +110,8 @@ export * from './sepa-direct-dto';
108
110
  export * from './sepa-dto';
109
111
  export * from './sepa-response-class';
110
112
  export * from './structured-address-class';
113
+ export * from './submit-withdrawal-request-dto';
114
+ export * from './submit-withdrawal-request-response-class';
111
115
  export * from './suggested-address-details-class';
112
116
  export * from './tariff-category-summary-class';
113
117
  export * from './tariff-coverage-term-class';
@@ -121,3 +125,4 @@ export * from './validate-iban-request-dto';
121
125
  export * from './validate-iban-response-class';
122
126
  export * from './validate-partner-request-dto';
123
127
  export * from './validate-partner-response-class';
128
+ export * from './withdrawal-request-error-response-class';
@@ -0,0 +1,42 @@
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 InlineResponse400
21
+ */
22
+ export interface InlineResponse400 {
23
+ /**
24
+ * HTTP status code of the response.
25
+ * @type {number}
26
+ * @memberof InlineResponse400
27
+ */
28
+ 'statusCode': number;
29
+ /**
30
+ * One text for each field that failed the check.
31
+ * @type {Array<string>}
32
+ * @memberof InlineResponse400
33
+ */
34
+ 'message': Array<string>;
35
+ /**
36
+ * Name of the HTTP status.
37
+ * @type {string}
38
+ * @memberof InlineResponse400
39
+ */
40
+ 'error': string;
41
+ }
42
+
@@ -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 InlineResponse401
21
+ */
22
+ export interface InlineResponse401 {
23
+ /**
24
+ * HTTP status code of the response.
25
+ * @type {number}
26
+ * @memberof InlineResponse401
27
+ */
28
+ 'statusCode': number;
29
+ /**
30
+ * Reason for the refusal.
31
+ * @type {string}
32
+ * @memberof InlineResponse401
33
+ */
34
+ 'message': string;
35
+ }
36
+
@@ -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 SubmitWithdrawalRequestDto
21
+ */
22
+ export interface SubmitWithdrawalRequestDto {
23
+ /**
24
+ * Policy number exactly as it appears on the policy documents of the customer. The route removes the spaces at the start and the end before it checks the value. The value must not be empty after that. The service compares it to the policies of the tenant that owns the public key.
25
+ * @type {string}
26
+ * @memberof SubmitWithdrawalRequestDto
27
+ */
28
+ 'policyNumber': string;
29
+ /**
30
+ * Full name of the policyholder as the customer types it. For a company, this is the company name. The route removes the spaces at the start and the end before it checks the value. The value must not be empty after that. The service checks it against the policy and does not store or log it.
31
+ * @type {string}
32
+ * @memberof SubmitWithdrawalRequestDto
33
+ */
34
+ 'policyholderName': 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 SubmitWithdrawalRequestResponseClass
21
+ */
22
+ export interface SubmitWithdrawalRequestResponseClass {
23
+ /**
24
+ * Date and time at which the platform received the withdrawal request, in UTC, as an ISO 8601 string. Show this value to the customer as the proof of receipt.
25
+ * @type {string}
26
+ * @memberof SubmitWithdrawalRequestResponseClass
27
+ */
28
+ 'receivedAt': string;
29
+ }
30
+
@@ -0,0 +1,52 @@
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 WithdrawalRequestErrorResponseClass
21
+ */
22
+ export interface WithdrawalRequestErrorResponseClass {
23
+ /**
24
+ * HTTP status code of the response.
25
+ * @type {number}
26
+ * @memberof WithdrawalRequestErrorResponseClass
27
+ */
28
+ 'statusCode': number;
29
+ /**
30
+ * Text that the tenant page can show to the customer as it is.
31
+ * @type {string}
32
+ * @memberof WithdrawalRequestErrorResponseClass
33
+ */
34
+ 'message': string;
35
+ /**
36
+ * Stable code of the error. Use it in your page logic instead of the message text.
37
+ * @type {string}
38
+ * @memberof WithdrawalRequestErrorResponseClass
39
+ */
40
+ 'code': WithdrawalRequestErrorResponseClassCodeEnum;
41
+ }
42
+
43
+ export const WithdrawalRequestErrorResponseClassCodeEnum = {
44
+ WithdrawalRequestNotVerified: 'WITHDRAWAL_REQUEST_NOT_VERIFIED',
45
+ PolicyTerminatedOrWithdrawn: 'POLICY_TERMINATED_OR_WITHDRAWN',
46
+ WithdrawalRequestAlreadySubmitted: 'WITHDRAWAL_REQUEST_ALREADY_SUBMITTED',
47
+ WithdrawalRequestNotProcessed: 'WITHDRAWAL_REQUEST_NOT_PROCESSED'
48
+ } as const;
49
+
50
+ export type WithdrawalRequestErrorResponseClassCodeEnum = typeof WithdrawalRequestErrorResponseClassCodeEnum[keyof typeof WithdrawalRequestErrorResponseClassCodeEnum];
51
+
52
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk",
3
- "version": "1.40.1-beta.21",
3
+ "version": "1.40.1-beta.23",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.18.0"
21
+ "axios": "1.20.0"
22
22
  },
23
23
  "devDependencies": {
24
24