@emilgroup/customer-sdk-node 1.0.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 (91) hide show
  1. package/.openapi-generator/FILES +35 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/customers-api.ts +1284 -0
  6. package/api.ts +36 -0
  7. package/base.ts +187 -0
  8. package/common.ts +139 -0
  9. package/configuration.ts +118 -0
  10. package/dist/api/customers-api.d.ts +730 -0
  11. package/dist/api/customers-api.js +1095 -0
  12. package/dist/api.d.ts +16 -0
  13. package/dist/api.js +36 -0
  14. package/dist/base.d.ts +68 -0
  15. package/dist/base.js +251 -0
  16. package/dist/common.d.ts +66 -0
  17. package/dist/common.js +244 -0
  18. package/dist/configuration.d.ts +98 -0
  19. package/dist/configuration.js +45 -0
  20. package/dist/index.d.ts +15 -0
  21. package/dist/index.js +35 -0
  22. package/dist/models/create-account-request-dto.d.ts +102 -0
  23. package/dist/models/create-account-request-dto.js +21 -0
  24. package/dist/models/create-customer-request-dto.d.ts +43 -0
  25. package/dist/models/create-customer-request-dto.js +15 -0
  26. package/dist/models/create-customer-response-class.d.ts +24 -0
  27. package/dist/models/create-customer-response-class.js +15 -0
  28. package/dist/models/forgot-password-request-dto.d.ts +30 -0
  29. package/dist/models/forgot-password-request-dto.js +15 -0
  30. package/dist/models/get-policy-response-class.d.ts +25 -0
  31. package/dist/models/get-policy-response-class.js +15 -0
  32. package/dist/models/index.d.ts +21 -0
  33. package/dist/models/index.js +37 -0
  34. package/dist/models/invite-class.d.ts +54 -0
  35. package/dist/models/invite-class.js +15 -0
  36. package/dist/models/invite-customer-request-dto.d.ts +30 -0
  37. package/dist/models/invite-customer-request-dto.js +15 -0
  38. package/dist/models/invite-customer-response-class.d.ts +25 -0
  39. package/dist/models/invite-customer-response-class.js +15 -0
  40. package/dist/models/list-invoices-response-class.d.ts +30 -0
  41. package/dist/models/list-invoices-response-class.js +15 -0
  42. package/dist/models/list-policies-response-class.d.ts +31 -0
  43. package/dist/models/list-policies-response-class.js +15 -0
  44. package/dist/models/login-request-dto.d.ts +36 -0
  45. package/dist/models/login-request-dto.js +15 -0
  46. package/dist/models/login-response-class.d.ts +30 -0
  47. package/dist/models/login-response-class.js +15 -0
  48. package/dist/models/policy-class.d.ts +55 -0
  49. package/dist/models/policy-class.js +15 -0
  50. package/dist/models/policy-object-class.d.ts +30 -0
  51. package/dist/models/policy-object-class.js +15 -0
  52. package/dist/models/policy-premium-class.d.ts +43 -0
  53. package/dist/models/policy-premium-class.js +15 -0
  54. package/dist/models/policy-premium-item-class.d.ts +36 -0
  55. package/dist/models/policy-premium-item-class.js +15 -0
  56. package/dist/models/policy-version-class.d.ts +49 -0
  57. package/dist/models/policy-version-class.js +15 -0
  58. package/dist/models/refresh-token-dto.d.ts +30 -0
  59. package/dist/models/refresh-token-dto.js +15 -0
  60. package/dist/models/reset-password-by-customer-request-dto.d.ts +36 -0
  61. package/dist/models/reset-password-by-customer-request-dto.js +15 -0
  62. package/dist/models/timeslice-class.d.ts +56 -0
  63. package/dist/models/timeslice-class.js +15 -0
  64. package/dist/models/verify-customer-invite-response-class.d.ts +36 -0
  65. package/dist/models/verify-customer-invite-response-class.js +15 -0
  66. package/git_push.sh +57 -0
  67. package/index.ts +19 -0
  68. package/models/create-account-request-dto.ts +111 -0
  69. package/models/create-customer-request-dto.ts +49 -0
  70. package/models/create-customer-response-class.ts +30 -0
  71. package/models/forgot-password-request-dto.ts +36 -0
  72. package/models/get-policy-response-class.ts +31 -0
  73. package/models/index.ts +21 -0
  74. package/models/invite-class.ts +60 -0
  75. package/models/invite-customer-request-dto.ts +36 -0
  76. package/models/invite-customer-response-class.ts +31 -0
  77. package/models/list-invoices-response-class.ts +36 -0
  78. package/models/list-policies-response-class.ts +37 -0
  79. package/models/login-request-dto.ts +42 -0
  80. package/models/login-response-class.ts +36 -0
  81. package/models/policy-class.ts +61 -0
  82. package/models/policy-object-class.ts +36 -0
  83. package/models/policy-premium-class.ts +49 -0
  84. package/models/policy-premium-item-class.ts +42 -0
  85. package/models/policy-version-class.ts +55 -0
  86. package/models/refresh-token-dto.ts +36 -0
  87. package/models/reset-password-by-customer-request-dto.ts +42 -0
  88. package/models/timeslice-class.ts +62 -0
  89. package/models/verify-customer-invite-response-class.ts +42 -0
  90. package/package.json +29 -0
  91. package/tsconfig.json +22 -0
@@ -0,0 +1,98 @@
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
+ export interface ConfigurationParameters {
13
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
+ username?: string;
15
+ password?: string;
16
+ tenantSlug?: string;
17
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
18
+ basePath?: string;
19
+ baseOptions?: any;
20
+ formDataCtor?: new () => any;
21
+ }
22
+ export declare class Configuration {
23
+ /**
24
+ * parameter for apiKey security
25
+ * @param name security name
26
+ * @memberof Configuration
27
+ */
28
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
+ /**
30
+ * parameter for basic security
31
+ *
32
+ * @type {string}
33
+ * @memberof Configuration
34
+ */
35
+ username?: string;
36
+ /**
37
+ * parameter for basic security
38
+ *
39
+ * @type {string}
40
+ * @memberof Configuration
41
+ */
42
+ password?: string;
43
+ /**
44
+ * parameter necessary for auto refresh token
45
+ *
46
+ * @type {string}
47
+ * @memberof Configuration
48
+ */
49
+ tenantSlug?: string;
50
+ /**
51
+ * parameter for oauth2 security
52
+ * @param name security name
53
+ * @param scopes oauth2 scope
54
+ * @memberof Configuration
55
+ */
56
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
57
+ /**
58
+ * override base path
59
+ *
60
+ * @type {string}
61
+ * @memberof Configuration
62
+ */
63
+ basePath?: string;
64
+ /**
65
+ * base options for axios calls
66
+ *
67
+ * @type {any}
68
+ * @memberof Configuration
69
+ */
70
+ baseOptions?: any;
71
+ /**
72
+ * The FormData constructor that will be used to create multipart form data
73
+ * requests. You can inject this here so that execution environments that
74
+ * do not support the FormData class can still run the generated client.
75
+ *
76
+ * @type {new () => FormData}
77
+ */
78
+ formDataCtor?: new () => any;
79
+ /**
80
+ * parameter for automatically refreshing access token for oauth2 security
81
+ *
82
+ * @type {string}
83
+ * @memberof Configuration
84
+ */
85
+ refreshToken?: string;
86
+ constructor(param?: ConfigurationParameters);
87
+ /**
88
+ * Check if the given MIME is a JSON MIME.
89
+ * JSON MIME examples:
90
+ * application/json
91
+ * application/json; charset=UTF8
92
+ * APPLICATION/JSON
93
+ * application/vnd.company+json
94
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
95
+ * @return True if the given MIME is JSON, false otherwise.
96
+ */
97
+ isJsonMime(mime: string): boolean;
98
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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.Configuration = void 0;
17
+ var Configuration = /** @class */ (function () {
18
+ function Configuration(param) {
19
+ if (param === void 0) { param = {}; }
20
+ this.apiKey = param.apiKey;
21
+ this.username = param.username;
22
+ this.password = param.password;
23
+ this.tenantSlug = param.tenantSlug;
24
+ this.accessToken = param.accessToken;
25
+ this.basePath = param.basePath;
26
+ this.baseOptions = param.baseOptions;
27
+ this.formDataCtor = param.formDataCtor;
28
+ }
29
+ /**
30
+ * Check if the given MIME is a JSON MIME.
31
+ * JSON MIME examples:
32
+ * application/json
33
+ * application/json; charset=UTF8
34
+ * APPLICATION/JSON
35
+ * application/vnd.company+json
36
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
37
+ * @return True if the given MIME is JSON, false otherwise.
38
+ */
39
+ Configuration.prototype.isJsonMime = function (mime) {
40
+ var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
41
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
42
+ };
43
+ return Configuration;
44
+ }());
45
+ exports.Configuration = Configuration;
@@ -0,0 +1,15 @@
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
+ export { BaseAPI } from "./base";
13
+ export * from "./api";
14
+ export * from "./configuration";
15
+ export * from "./models";
package/dist/index.js ADDED
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ exports.BaseAPI = void 0;
31
+ var base_1 = require("./base");
32
+ Object.defineProperty(exports, "BaseAPI", { enumerable: true, get: function () { return base_1.BaseAPI; } });
33
+ __exportStar(require("./api"), exports);
34
+ __exportStar(require("./configuration"), exports);
35
+ __exportStar(require("./models"), exports);
@@ -0,0 +1,102 @@
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];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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.CreateAccountRequestDtoGenderEnum = void 0;
17
+ exports.CreateAccountRequestDtoGenderEnum = {
18
+ Male: 'male',
19
+ Female: 'female',
20
+ Unspecified: 'unspecified'
21
+ };
@@ -0,0 +1,43 @@
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
+ import { CreateAccountRequestDto } from './create-account-request-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateCustomerRequestDto
17
+ */
18
+ export interface CreateCustomerRequestDto {
19
+ /**
20
+ * Customer\'s invite token
21
+ * @type {string}
22
+ * @memberof CreateCustomerRequestDto
23
+ */
24
+ 'inviteToken': string;
25
+ /**
26
+ * Customer\'s password
27
+ * @type {string}
28
+ * @memberof CreateCustomerRequestDto
29
+ */
30
+ 'password': string;
31
+ /**
32
+ * If customer accepts end customer license agreement
33
+ * @type {boolean}
34
+ * @memberof CreateCustomerRequestDto
35
+ */
36
+ 'isEulaAccepted': boolean;
37
+ /**
38
+ * Optional account data
39
+ * @type {CreateAccountRequestDto}
40
+ * @memberof CreateCustomerRequestDto
41
+ */
42
+ 'account'?: CreateAccountRequestDto;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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 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 CreateCustomerResponseClass
16
+ */
17
+ export interface CreateCustomerResponseClass {
18
+ /**
19
+ * Customer object
20
+ * @type {object}
21
+ * @memberof CreateCustomerResponseClass
22
+ */
23
+ 'customer': object;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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,30 @@
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 ForgotPasswordRequestDto
16
+ */
17
+ export interface ForgotPasswordRequestDto {
18
+ /**
19
+ * User\'s email address
20
+ * @type {string}
21
+ * @memberof ForgotPasswordRequestDto
22
+ */
23
+ 'email': string;
24
+ /**
25
+ * tenant slug
26
+ * @type {string}
27
+ * @memberof ForgotPasswordRequestDto
28
+ */
29
+ 'tenantSlug': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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,25 @@
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
+ import { PolicyClass } from './policy-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetPolicyResponseClass
17
+ */
18
+ export interface GetPolicyResponseClass {
19
+ /**
20
+ * Policy
21
+ * @type {PolicyClass}
22
+ * @memberof GetPolicyResponseClass
23
+ */
24
+ 'policy': PolicyClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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,21 @@
1
+ export * from './create-account-request-dto';
2
+ export * from './create-customer-request-dto';
3
+ export * from './create-customer-response-class';
4
+ export * from './forgot-password-request-dto';
5
+ export * from './get-policy-response-class';
6
+ export * from './invite-class';
7
+ export * from './invite-customer-request-dto';
8
+ export * from './invite-customer-response-class';
9
+ export * from './list-invoices-response-class';
10
+ export * from './list-policies-response-class';
11
+ export * from './login-request-dto';
12
+ export * from './login-response-class';
13
+ export * from './policy-class';
14
+ export * from './policy-object-class';
15
+ export * from './policy-premium-class';
16
+ export * from './policy-premium-item-class';
17
+ export * from './policy-version-class';
18
+ export * from './refresh-token-dto';
19
+ export * from './reset-password-by-customer-request-dto';
20
+ export * from './timeslice-class';
21
+ export * from './verify-customer-invite-response-class';
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-account-request-dto"), exports);
18
+ __exportStar(require("./create-customer-request-dto"), exports);
19
+ __exportStar(require("./create-customer-response-class"), exports);
20
+ __exportStar(require("./forgot-password-request-dto"), exports);
21
+ __exportStar(require("./get-policy-response-class"), exports);
22
+ __exportStar(require("./invite-class"), exports);
23
+ __exportStar(require("./invite-customer-request-dto"), exports);
24
+ __exportStar(require("./invite-customer-response-class"), exports);
25
+ __exportStar(require("./list-invoices-response-class"), exports);
26
+ __exportStar(require("./list-policies-response-class"), exports);
27
+ __exportStar(require("./login-request-dto"), exports);
28
+ __exportStar(require("./login-response-class"), exports);
29
+ __exportStar(require("./policy-class"), exports);
30
+ __exportStar(require("./policy-object-class"), exports);
31
+ __exportStar(require("./policy-premium-class"), exports);
32
+ __exportStar(require("./policy-premium-item-class"), exports);
33
+ __exportStar(require("./policy-version-class"), exports);
34
+ __exportStar(require("./refresh-token-dto"), exports);
35
+ __exportStar(require("./reset-password-by-customer-request-dto"), exports);
36
+ __exportStar(require("./timeslice-class"), exports);
37
+ __exportStar(require("./verify-customer-invite-response-class"), exports);
@@ -0,0 +1,54 @@
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 InviteClass
16
+ */
17
+ export interface InviteClass {
18
+ /**
19
+ * Invite id
20
+ * @type {number}
21
+ * @memberof InviteClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Email address of the customer
26
+ * @type {string}
27
+ * @memberof InviteClass
28
+ */
29
+ 'email': string;
30
+ /**
31
+ * Account code
32
+ * @type {string}
33
+ * @memberof InviteClass
34
+ */
35
+ 'accountCode': string;
36
+ /**
37
+ * Expiry date
38
+ * @type {string}
39
+ * @memberof InviteClass
40
+ */
41
+ 'expiresOn': string;
42
+ /**
43
+ * Date created
44
+ * @type {string}
45
+ * @memberof InviteClass
46
+ */
47
+ 'createdAt': string;
48
+ /**
49
+ * Date updated
50
+ * @type {string}
51
+ * @memberof InviteClass
52
+ */
53
+ 'updatedAt': string;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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,30 @@
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 InviteCustomerRequestDto
16
+ */
17
+ export interface InviteCustomerRequestDto {
18
+ /**
19
+ * User\'s email address
20
+ * @type {string}
21
+ * @memberof InviteCustomerRequestDto
22
+ */
23
+ 'email': string;
24
+ /**
25
+ * Account code
26
+ * @type {string}
27
+ * @memberof InviteCustomerRequestDto
28
+ */
29
+ 'accountCode'?: string;
30
+ }