@emilgroup/customer-sdk-node 1.4.0 → 1.6.1

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 (65) hide show
  1. package/.openapi-generator/FILES +11 -1
  2. package/README.md +2 -2
  3. package/api/customers-api.ts +353 -0
  4. package/base.ts +56 -13
  5. package/dist/api/customers-api.d.ts +205 -0
  6. package/dist/api/customers-api.js +271 -0
  7. package/dist/base.d.ts +1 -0
  8. package/dist/base.js +46 -8
  9. package/dist/models/account-class.d.ts +133 -0
  10. package/dist/models/{create-account-request-dto.js → account-class.js} +0 -6
  11. package/dist/models/account-policy-class.d.ts +30 -0
  12. package/dist/models/account-policy-class.js +15 -0
  13. package/dist/models/create-customer-request-dto.d.ts +0 -7
  14. package/dist/models/create-customer-response-class.d.ts +3 -2
  15. package/dist/models/customer-class.d.ts +67 -0
  16. package/dist/models/customer-class.js +15 -0
  17. package/dist/models/customer-document-class.d.ts +99 -0
  18. package/dist/models/customer-document-class.js +36 -0
  19. package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
  20. package/dist/models/get-customer-document-download-url-response-class.js +15 -0
  21. package/dist/models/get-customer-response-class.d.ts +3 -2
  22. package/dist/models/index.d.ts +11 -1
  23. package/dist/models/index.js +11 -1
  24. package/dist/models/invoice-class.d.ts +135 -0
  25. package/dist/models/invoice-class.js +28 -0
  26. package/dist/models/list-documents-response-class.d.ts +3 -2
  27. package/dist/models/list-invoices-response-class.d.ts +3 -2
  28. package/dist/models/request-policy-update-request-dto.d.ts +3 -2
  29. package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
  30. package/dist/models/shared-customer-policy-object-request-dto.d.ts +30 -0
  31. package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
  32. package/dist/models/shared-invoice-item-class.d.ts +102 -0
  33. package/dist/models/shared-invoice-item-class.js +15 -0
  34. package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
  35. package/dist/models/terminate-customer-policy-request-dto.js +15 -0
  36. package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
  37. package/dist/models/terminate-customer-policy-response-class.js +15 -0
  38. package/dist/models/update-account-request-dto.d.ts +10 -10
  39. package/dist/models/update-customer-response-class.d.ts +3 -2
  40. package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
  41. package/dist/models/withdraw-customer-policy-response-class.js +15 -0
  42. package/models/account-class.ts +139 -0
  43. package/models/account-policy-class.ts +36 -0
  44. package/models/create-customer-request-dto.ts +0 -7
  45. package/models/create-customer-response-class.ts +3 -2
  46. package/models/customer-class.ts +73 -0
  47. package/models/customer-document-class.ts +108 -0
  48. package/models/get-customer-document-download-url-response-class.ts +30 -0
  49. package/models/get-customer-response-class.ts +3 -2
  50. package/models/index.ts +11 -1
  51. package/models/invoice-class.ts +145 -0
  52. package/models/list-documents-response-class.ts +3 -2
  53. package/models/list-invoices-response-class.ts +3 -2
  54. package/models/request-policy-update-request-dto.ts +3 -2
  55. package/models/reset-password-by-customer-request-dto.ts +1 -1
  56. package/models/shared-customer-policy-object-request-dto.ts +36 -0
  57. package/models/shared-invoice-item-class.ts +108 -0
  58. package/models/terminate-customer-policy-request-dto.ts +30 -0
  59. package/models/terminate-customer-policy-response-class.ts +31 -0
  60. package/models/update-account-request-dto.ts +10 -10
  61. package/models/update-customer-response-class.ts +3 -2
  62. package/models/withdraw-customer-policy-response-class.ts +31 -0
  63. package/package.json +1 -1
  64. package/dist/models/create-account-request-dto.d.ts +0 -102
  65. package/models/create-account-request-dto.ts +0 -111
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CustomerClass } from './customer-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,9 +23,9 @@
22
23
  export interface UpdateCustomerResponseClass {
23
24
  /**
24
25
  * Customer object
25
- * @type {object}
26
+ * @type {CustomerClass}
26
27
  * @memberof UpdateCustomerResponseClass
27
28
  */
28
- 'customer': object;
29
+ 'customer': CustomerClass;
29
30
  }
30
31
 
@@ -0,0 +1,31 @@
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
+ *
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 { PolicyClass } from './policy-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface WithdrawCustomerPolicyResponseClass
22
+ */
23
+ export interface WithdrawCustomerPolicyResponseClass {
24
+ /**
25
+ * Policy
26
+ * @type {PolicyClass}
27
+ * @memberof WithdrawCustomerPolicyResponseClass
28
+ */
29
+ 'policy': PolicyClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.4.0",
3
+ "version": "1.6.1",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,102 +0,0 @@
1
- /**
2
- * EMIL CustomerService
3
- * The EMIL CustomerService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- *
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 CreateAccountRequestDto
16
- */
17
- export interface CreateAccountRequestDto {
18
- /**
19
- * The account\'s first name.
20
- * @type {string}
21
- * @memberof CreateAccountRequestDto
22
- */
23
- 'firstName': string;
24
- /**
25
- * The account\'s last name.
26
- * @type {string}
27
- * @memberof CreateAccountRequestDto
28
- */
29
- 'lastName': string;
30
- /**
31
- * The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
32
- * @type {string}
33
- * @memberof CreateAccountRequestDto
34
- */
35
- 'email': string;
36
- /**
37
- * The account\'s gender.
38
- * @type {string}
39
- * @memberof CreateAccountRequestDto
40
- */
41
- 'gender': CreateAccountRequestDtoGenderEnum;
42
- /**
43
- * The account\'s street name.
44
- * @type {string}
45
- * @memberof CreateAccountRequestDto
46
- */
47
- 'street': string;
48
- /**
49
- * The account\'s ZIP or postal code.
50
- * @type {string}
51
- * @memberof CreateAccountRequestDto
52
- */
53
- 'zipCode': string;
54
- /**
55
- * The account\'s city, district, suburb, town, or village.
56
- * @type {string}
57
- * @memberof CreateAccountRequestDto
58
- */
59
- 'city': string;
60
- /**
61
- * The account\'s house number.
62
- * @type {string}
63
- * @memberof CreateAccountRequestDto
64
- */
65
- 'houseNumber': string;
66
- /**
67
- * Account\'s birth date.
68
- * @type {string}
69
- * @memberof CreateAccountRequestDto
70
- */
71
- 'birthDate': string;
72
- /**
73
- * The account\'s phone number.
74
- * @type {string}
75
- * @memberof CreateAccountRequestDto
76
- */
77
- 'phone': string;
78
- /**
79
- * Optional field to enter your own account number.
80
- * @type {string}
81
- * @memberof CreateAccountRequestDto
82
- */
83
- 'accountNumber'?: string;
84
- /**
85
- * Optional field to enter extra information.
86
- * @type {object}
87
- * @memberof CreateAccountRequestDto
88
- */
89
- 'metadata'?: object;
90
- /**
91
- * Optional field to add predefined custom fields.
92
- * @type {object}
93
- * @memberof CreateAccountRequestDto
94
- */
95
- 'customFields'?: object;
96
- }
97
- export declare const CreateAccountRequestDtoGenderEnum: {
98
- readonly Male: "male";
99
- readonly Female: "female";
100
- readonly Unspecified: "unspecified";
101
- };
102
- export declare type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
@@ -1,111 +0,0 @@
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
- *
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 CreateAccountRequestDto
21
- */
22
- export interface CreateAccountRequestDto {
23
- /**
24
- * The account\'s first name.
25
- * @type {string}
26
- * @memberof CreateAccountRequestDto
27
- */
28
- 'firstName': string;
29
- /**
30
- * The account\'s last name.
31
- * @type {string}
32
- * @memberof CreateAccountRequestDto
33
- */
34
- 'lastName': string;
35
- /**
36
- * The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
37
- * @type {string}
38
- * @memberof CreateAccountRequestDto
39
- */
40
- 'email': string;
41
- /**
42
- * The account\'s gender.
43
- * @type {string}
44
- * @memberof CreateAccountRequestDto
45
- */
46
- 'gender': CreateAccountRequestDtoGenderEnum;
47
- /**
48
- * The account\'s street name.
49
- * @type {string}
50
- * @memberof CreateAccountRequestDto
51
- */
52
- 'street': string;
53
- /**
54
- * The account\'s ZIP or postal code.
55
- * @type {string}
56
- * @memberof CreateAccountRequestDto
57
- */
58
- 'zipCode': string;
59
- /**
60
- * The account\'s city, district, suburb, town, or village.
61
- * @type {string}
62
- * @memberof CreateAccountRequestDto
63
- */
64
- 'city': string;
65
- /**
66
- * The account\'s house number.
67
- * @type {string}
68
- * @memberof CreateAccountRequestDto
69
- */
70
- 'houseNumber': string;
71
- /**
72
- * Account\'s birth date.
73
- * @type {string}
74
- * @memberof CreateAccountRequestDto
75
- */
76
- 'birthDate': string;
77
- /**
78
- * The account\'s phone number.
79
- * @type {string}
80
- * @memberof CreateAccountRequestDto
81
- */
82
- 'phone': string;
83
- /**
84
- * Optional field to enter your own account number.
85
- * @type {string}
86
- * @memberof CreateAccountRequestDto
87
- */
88
- 'accountNumber'?: string;
89
- /**
90
- * Optional field to enter extra information.
91
- * @type {object}
92
- * @memberof CreateAccountRequestDto
93
- */
94
- 'metadata'?: object;
95
- /**
96
- * Optional field to add predefined custom fields.
97
- * @type {object}
98
- * @memberof CreateAccountRequestDto
99
- */
100
- 'customFields'?: object;
101
- }
102
-
103
- export const CreateAccountRequestDtoGenderEnum = {
104
- Male: 'male',
105
- Female: 'female',
106
- Unspecified: 'unspecified'
107
- } as const;
108
-
109
- export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
110
-
111
-