@emilgroup/customer-sdk-node 1.41.0 → 1.42.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 (55) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +28 -28
  4. package/api/customers-api.ts +28 -28
  5. package/api/documents-api.ts +51 -34
  6. package/api/invoices-api.ts +28 -28
  7. package/api/leads-api.ts +32 -32
  8. package/api/policies-api.ts +28 -28
  9. package/api/products-api.ts +28 -28
  10. package/base.ts +1 -0
  11. package/dist/api/claims-api.d.ts +20 -20
  12. package/dist/api/claims-api.js +18 -18
  13. package/dist/api/customers-api.d.ts +20 -20
  14. package/dist/api/customers-api.js +18 -18
  15. package/dist/api/documents-api.d.ts +33 -23
  16. package/dist/api/documents-api.js +31 -24
  17. package/dist/api/invoices-api.d.ts +20 -20
  18. package/dist/api/invoices-api.js +18 -18
  19. package/dist/api/leads-api.d.ts +24 -24
  20. package/dist/api/leads-api.js +22 -22
  21. package/dist/api/policies-api.d.ts +20 -20
  22. package/dist/api/policies-api.js +18 -18
  23. package/dist/api/products-api.d.ts +20 -20
  24. package/dist/api/products-api.js +18 -18
  25. package/dist/base.d.ts +1 -0
  26. package/dist/base.js +1 -0
  27. package/dist/models/account-class.d.ts +1 -1
  28. package/dist/models/account-class.js +1 -1
  29. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
  30. package/dist/models/create-account-request-dto.d.ts +2 -8
  31. package/dist/models/create-account-request-dto.js +1 -1
  32. package/dist/models/customer-product-class.d.ts +2 -2
  33. package/dist/models/index.d.ts +1 -0
  34. package/dist/models/index.js +1 -0
  35. package/dist/models/inline-response200.d.ts +6 -6
  36. package/dist/models/inline-response503.d.ts +6 -6
  37. package/dist/models/link-lead-partner-request-dto.d.ts +16 -4
  38. package/dist/models/policy-object-dto.d.ts +2 -2
  39. package/dist/models/policy-premium-class.d.ts +2 -2
  40. package/dist/models/update-lead-request-dto.d.ts +1 -1
  41. package/dist/models/upload-account-documents-request-dto.d.ts +46 -0
  42. package/dist/models/upload-account-documents-request-dto.js +19 -0
  43. package/models/account-class.ts +1 -1
  44. package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
  45. package/models/create-account-request-dto.ts +2 -8
  46. package/models/customer-product-class.ts +2 -2
  47. package/models/index.ts +1 -0
  48. package/models/inline-response200.ts +6 -6
  49. package/models/inline-response503.ts +6 -6
  50. package/models/link-lead-partner-request-dto.ts +16 -4
  51. package/models/policy-object-dto.ts +2 -2
  52. package/models/policy-premium-class.ts +2 -2
  53. package/models/update-lead-request-dto.ts +1 -1
  54. package/models/upload-account-documents-request-dto.ts +55 -0
  55. package/package.json +1 -1
@@ -75,7 +75,7 @@ export interface CreateAccountRequestDto {
75
75
  */
76
76
  'type'?: CreateAccountRequestDtoTypeEnum;
77
77
  /**
78
- * The account\'s holder date of birth (Required for account of type person).
78
+ * Account\'s birth date.
79
79
  * @type {string}
80
80
  * @memberof CreateAccountRequestDto
81
81
  */
@@ -110,19 +110,13 @@ export interface CreateAccountRequestDto {
110
110
  * @memberof CreateAccountRequestDto
111
111
  */
112
112
  'customFields'?: object;
113
- /**
114
- * Customer email.
115
- * @type {string}
116
- * @memberof CreateAccountRequestDto
117
- */
118
- 'email': string;
119
113
  }
120
114
 
121
115
  export const CreateAccountRequestDtoTitleEnum = {
122
116
  Empty: '',
123
117
  Dr: 'Dr.',
124
118
  DrMed: 'Dr. med.',
125
- ProfDrMed: 'Prof. Dr. med.'
119
+ Prof: 'Prof.'
126
120
  } as const;
127
121
 
128
122
  export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
@@ -45,13 +45,13 @@ export interface CustomerProductClass {
45
45
  */
46
46
  'contractDurationDays': number;
47
47
  /**
48
- * Date created
48
+ * Time at which the object was created.
49
49
  * @type {string}
50
50
  * @memberof CustomerProductClass
51
51
  */
52
52
  'createdAt': string;
53
53
  /**
54
- * Date updated
54
+ * Time at which the object was updated.
55
55
  * @type {string}
56
56
  * @memberof CustomerProductClass
57
57
  */
package/models/index.ts CHANGED
@@ -91,6 +91,7 @@ export * from './update-customer-request-dto';
91
91
  export * from './update-customer-response-class';
92
92
  export * from './update-lead-request-dto';
93
93
  export * from './update-lead-response-class';
94
+ export * from './upload-account-documents-request-dto';
94
95
  export * from './upload-customer-claim-documents-request-dto';
95
96
  export * from './upload-customer-policy-documents-request-dto';
96
97
  export * from './uploaded-document-dto';
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse200
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse200
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse200
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse503
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse503
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse503
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -21,17 +21,29 @@
21
21
  */
22
22
  export interface LinkLeadPartnerRequestDto {
23
23
  /**
24
- * The code of the partner with which the lead will be linked.
24
+ * The code of the partner with which the lead will be linked. Either this field or \'partnerNumber\' must be passed (\'partnerNumber\' is preferred).
25
25
  * @type {string}
26
26
  * @memberof LinkLeadPartnerRequestDto
27
27
  */
28
- 'partnerCode': string;
28
+ 'partnerCode'?: string;
29
29
  /**
30
- * The code of role that the partner will have in the established link between the lead and the partner.
30
+ * The number of the partner with which the lead will be linked. Either this field or \'partnerCode\' must be passed (this is preferred).
31
31
  * @type {string}
32
32
  * @memberof LinkLeadPartnerRequestDto
33
33
  */
34
- 'partnerRoleCode': string;
34
+ 'partnerNumber'?: string;
35
+ /**
36
+ * The code of role that the partner will have in the established link between the lead and the partner. Either this field or \'partnerRoleSlug\' must be passed (\'partnerRoleSlug\' is preferred).
37
+ * @type {string}
38
+ * @memberof LinkLeadPartnerRequestDto
39
+ */
40
+ 'partnerRoleCode'?: string;
41
+ /**
42
+ * The slug of role that the partner will have in the established link between the lead and the partner. Either this field or \'partnerRoleCode\' must be passed (this is preferred).
43
+ * @type {string}
44
+ * @memberof LinkLeadPartnerRequestDto
45
+ */
46
+ 'partnerRoleSlug'?: string;
35
47
  /**
36
48
  * The date of the start of linking with a partner.
37
49
  * @type {string}
@@ -28,10 +28,10 @@ export interface PolicyObjectDto {
28
28
  'insuredObjectId': number;
29
29
  /**
30
30
  * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
31
- * @type {object}
31
+ * @type {string}
32
32
  * @memberof PolicyObjectDto
33
33
  */
34
- 'insuredObjectName'?: object;
34
+ 'insuredObjectName'?: string;
35
35
  /**
36
36
  * Insured object data.
37
37
  * @type {object}
@@ -34,13 +34,13 @@ export interface PolicyPremiumClass {
34
34
  */
35
35
  'grandTotal': number;
36
36
  /**
37
- * Date created
37
+ * Time at which the object was created.
38
38
  * @type {string}
39
39
  * @memberof PolicyPremiumClass
40
40
  */
41
41
  'createdAt': string;
42
42
  /**
43
- * Date updated
43
+ * Time at which the object was updated.
44
44
  * @type {string}
45
45
  * @memberof PolicyPremiumClass
46
46
  */
@@ -48,7 +48,7 @@ export interface UpdateLeadRequestDto {
48
48
  */
49
49
  'paymentMethod': CreatePaymentMethodRequestDto;
50
50
  /**
51
- * Optional partner object contains necessary information to link a partner to the policy.
51
+ * Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
52
52
  * @type {LinkLeadPartnerRequestDto}
53
53
  * @memberof UpdateLeadRequestDto
54
54
  */
@@ -0,0 +1,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService 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 UploadAccountDocumentsRequestDto
21
+ */
22
+ export interface UploadAccountDocumentsRequestDto {
23
+ /**
24
+ * Mime-Type of the file. Valid mime-types are: image/jpeg, image/png
25
+ * @type {string}
26
+ * @memberof UploadAccountDocumentsRequestDto
27
+ */
28
+ 'contentType': string;
29
+ /**
30
+ * Name of the file.
31
+ * @type {string}
32
+ * @memberof UploadAccountDocumentsRequestDto
33
+ */
34
+ 'fileName': string;
35
+ /**
36
+ * This is the document entity type. It describes what kind of document it is.
37
+ * @type {string}
38
+ * @memberof UploadAccountDocumentsRequestDto
39
+ */
40
+ 'entityType': UploadAccountDocumentsRequestDtoEntityTypeEnum;
41
+ /**
42
+ * Optional description for the document.
43
+ * @type {string}
44
+ * @memberof UploadAccountDocumentsRequestDto
45
+ */
46
+ 'description'?: string;
47
+ }
48
+
49
+ export const UploadAccountDocumentsRequestDtoEntityTypeEnum = {
50
+ AccountAvatar: 'AccountAvatar'
51
+ } as const;
52
+
53
+ export type UploadAccountDocumentsRequestDtoEntityTypeEnum = typeof UploadAccountDocumentsRequestDtoEntityTypeEnum[keyof typeof UploadAccountDocumentsRequestDtoEntityTypeEnum];
54
+
55
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.41.0",
3
+ "version": "1.42.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [