@emilgroup/customer-sdk-node 1.4.0 → 1.6.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 (57) hide show
  1. package/.openapi-generator/FILES +9 -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 +132 -0
  10. package/dist/models/{create-account-request-dto.js → account-class.js} +0 -6
  11. package/dist/models/create-customer-request-dto.d.ts +0 -7
  12. package/dist/models/create-customer-response-class.d.ts +3 -2
  13. package/dist/models/customer-class.d.ts +67 -0
  14. package/dist/models/customer-class.js +15 -0
  15. package/dist/models/customer-document-class.d.ts +99 -0
  16. package/dist/models/customer-document-class.js +36 -0
  17. package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
  18. package/dist/models/get-customer-document-download-url-response-class.js +15 -0
  19. package/dist/models/get-customer-response-class.d.ts +3 -2
  20. package/dist/models/index.d.ts +9 -1
  21. package/dist/models/index.js +9 -1
  22. package/dist/models/invoice-class.d.ts +135 -0
  23. package/dist/models/invoice-class.js +28 -0
  24. package/dist/models/list-documents-response-class.d.ts +3 -2
  25. package/dist/models/list-invoices-response-class.d.ts +3 -2
  26. package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
  27. package/dist/models/shared-invoice-item-class.d.ts +102 -0
  28. package/dist/models/shared-invoice-item-class.js +15 -0
  29. package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
  30. package/dist/models/terminate-customer-policy-request-dto.js +15 -0
  31. package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
  32. package/dist/models/terminate-customer-policy-response-class.js +15 -0
  33. package/dist/models/update-account-request-dto.d.ts +10 -10
  34. package/dist/models/update-customer-response-class.d.ts +3 -2
  35. package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
  36. package/dist/models/withdraw-customer-policy-response-class.js +15 -0
  37. package/models/account-class.ts +138 -0
  38. package/models/create-customer-request-dto.ts +0 -7
  39. package/models/create-customer-response-class.ts +3 -2
  40. package/models/customer-class.ts +73 -0
  41. package/models/customer-document-class.ts +108 -0
  42. package/models/get-customer-document-download-url-response-class.ts +30 -0
  43. package/models/get-customer-response-class.ts +3 -2
  44. package/models/index.ts +9 -1
  45. package/models/invoice-class.ts +145 -0
  46. package/models/list-documents-response-class.ts +3 -2
  47. package/models/list-invoices-response-class.ts +3 -2
  48. package/models/reset-password-by-customer-request-dto.ts +1 -1
  49. package/models/shared-invoice-item-class.ts +108 -0
  50. package/models/terminate-customer-policy-request-dto.ts +30 -0
  51. package/models/terminate-customer-policy-response-class.ts +31 -0
  52. package/models/update-account-request-dto.ts +10 -10
  53. package/models/update-customer-response-class.ts +3 -2
  54. package/models/withdraw-customer-policy-response-class.ts +31 -0
  55. package/package.json +1 -1
  56. package/dist/models/create-account-request-dto.d.ts +0 -102
  57. package/models/create-account-request-dto.ts +0 -111
@@ -0,0 +1,67 @@
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 { AccountClass } from './account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CustomerClass
17
+ */
18
+ export interface CustomerClass {
19
+ /**
20
+ * Customer account information
21
+ * @type {AccountClass}
22
+ * @memberof CustomerClass
23
+ */
24
+ 'account': AccountClass;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof CustomerClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * Internal unique identifier for the object. Use code instead.
33
+ * @type {number}
34
+ * @memberof CustomerClass
35
+ */
36
+ 'id': number;
37
+ /**
38
+ * Customer status
39
+ * @type {string}
40
+ * @memberof CustomerClass
41
+ */
42
+ 'status': string;
43
+ /**
44
+ * Customer unique identifier
45
+ * @type {string}
46
+ * @memberof CustomerClass
47
+ */
48
+ 'sub': string;
49
+ /**
50
+ * Tenants short name in EIS
51
+ * @type {string}
52
+ * @memberof CustomerClass
53
+ */
54
+ 'tenantSlug': string;
55
+ /**
56
+ * Time at which the object was created.
57
+ * @type {string}
58
+ * @memberof CustomerClass
59
+ */
60
+ 'createdAt': string;
61
+ /**
62
+ * Time at which the object was updated.
63
+ * @type {string}
64
+ * @memberof CustomerClass
65
+ */
66
+ 'updatedAt': string;
67
+ }
@@ -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,99 @@
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 CustomerDocumentClass
16
+ */
17
+ export interface CustomerDocumentClass {
18
+ /**
19
+ * Document code
20
+ * @type {string}
21
+ * @memberof CustomerDocumentClass
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Template slug
26
+ * @type {string}
27
+ * @memberof CustomerDocumentClass
28
+ */
29
+ 'templateSlug': string;
30
+ /**
31
+ * Document entity type
32
+ * @type {string}
33
+ * @memberof CustomerDocumentClass
34
+ */
35
+ 'entityType': string;
36
+ /**
37
+ * Policy code
38
+ * @type {string}
39
+ * @memberof CustomerDocumentClass
40
+ */
41
+ 'policyCode': string;
42
+ /**
43
+ * Account code
44
+ * @type {string}
45
+ * @memberof CustomerDocumentClass
46
+ */
47
+ 'accountCode': string;
48
+ /**
49
+ * Document content type
50
+ * @type {string}
51
+ * @memberof CustomerDocumentClass
52
+ */
53
+ 'contentType': CustomerDocumentClassContentTypeEnum;
54
+ /**
55
+ * Entity id
56
+ * @type {number}
57
+ * @memberof CustomerDocumentClass
58
+ */
59
+ 'entityId': number;
60
+ /**
61
+ * Optional file name
62
+ * @type {string}
63
+ * @memberof CustomerDocumentClass
64
+ */
65
+ 'filename': string;
66
+ /**
67
+ * Document description
68
+ * @type {string}
69
+ * @memberof CustomerDocumentClass
70
+ */
71
+ 'description': string;
72
+ /**
73
+ * Document created at
74
+ * @type {string}
75
+ * @memberof CustomerDocumentClass
76
+ */
77
+ 'createdAt': string;
78
+ }
79
+ export declare const CustomerDocumentClassContentTypeEnum: {
80
+ readonly Pdf: "pdf";
81
+ readonly Jpg: "jpg";
82
+ readonly Png: "png";
83
+ readonly Gz: "gz";
84
+ readonly Csv: "csv";
85
+ readonly Doc: "doc";
86
+ readonly Docx: "docx";
87
+ readonly Html: "html";
88
+ readonly Json: "json";
89
+ readonly Xml: "xml";
90
+ readonly Txt: "txt";
91
+ readonly Zip: "zip";
92
+ readonly Tar: "tar";
93
+ readonly Rar: "rar";
94
+ readonly Mp4: "MP4";
95
+ readonly Mov: "MOV";
96
+ readonly Wmv: "WMV";
97
+ readonly Avi: "AVI";
98
+ };
99
+ export declare type CustomerDocumentClassContentTypeEnum = typeof CustomerDocumentClassContentTypeEnum[keyof typeof CustomerDocumentClassContentTypeEnum];
@@ -0,0 +1,36 @@
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.CustomerDocumentClassContentTypeEnum = void 0;
17
+ exports.CustomerDocumentClassContentTypeEnum = {
18
+ Pdf: 'pdf',
19
+ Jpg: 'jpg',
20
+ Png: 'png',
21
+ Gz: 'gz',
22
+ Csv: 'csv',
23
+ Doc: 'doc',
24
+ Docx: 'docx',
25
+ Html: 'html',
26
+ Json: 'json',
27
+ Xml: 'xml',
28
+ Txt: 'txt',
29
+ Zip: 'zip',
30
+ Tar: 'tar',
31
+ Rar: 'rar',
32
+ Mp4: 'MP4',
33
+ Mov: 'MOV',
34
+ Wmv: 'WMV',
35
+ Avi: 'AVI'
36
+ };
@@ -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 GetCustomerDocumentDownloadUrlResponseClass
16
+ */
17
+ export interface GetCustomerDocumentDownloadUrlResponseClass {
18
+ /**
19
+ * Pre-signed Url
20
+ * @type {string}
21
+ * @memberof GetCustomerDocumentDownloadUrlResponseClass
22
+ */
23
+ 'url': string;
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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CustomerClass } from './customer-class';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,8 +18,8 @@
17
18
  export interface GetCustomerResponseClass {
18
19
  /**
19
20
  * Customer object
20
- * @type {object}
21
+ * @type {CustomerClass}
21
22
  * @memberof GetCustomerResponseClass
22
23
  */
23
- 'customer': object;
24
+ 'customer': CustomerClass;
24
25
  }
@@ -1,8 +1,11 @@
1
+ export * from './account-class';
1
2
  export * from './authentication-result-class';
2
- export * from './create-account-request-dto';
3
3
  export * from './create-customer-request-dto';
4
4
  export * from './create-customer-response-class';
5
+ export * from './customer-class';
6
+ export * from './customer-document-class';
5
7
  export * from './forgot-password-request-dto';
8
+ export * from './get-customer-document-download-url-response-class';
6
9
  export * from './get-customer-response-class';
7
10
  export * from './get-policy-response-class';
8
11
  export * from './initiate-auth-request-dto';
@@ -11,6 +14,7 @@ export * from './invite-by-customer-request-dto';
11
14
  export * from './invite-by-customer-response-class';
12
15
  export * from './invite-by-tenant-response-class';
13
16
  export * from './invite-class';
17
+ export * from './invoice-class';
14
18
  export * from './list-documents-response-class';
15
19
  export * from './list-invoices-response-class';
16
20
  export * from './list-policies-response-class';
@@ -25,8 +29,12 @@ export * from './request-policy-update-response-class';
25
29
  export * from './reset-password-by-customer-request-dto';
26
30
  export * from './respond-to-auth-challenge-class';
27
31
  export * from './respond-to-auth-challenge-request-dto';
32
+ export * from './shared-invoice-item-class';
33
+ export * from './terminate-customer-policy-request-dto';
34
+ export * from './terminate-customer-policy-response-class';
28
35
  export * from './timeslice-class';
29
36
  export * from './update-account-request-dto';
30
37
  export * from './update-customer-request-dto';
31
38
  export * from './update-customer-response-class';
32
39
  export * from './verify-customer-invite-response-class';
40
+ export * from './withdraw-customer-policy-response-class';
@@ -14,11 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./account-class"), exports);
17
18
  __exportStar(require("./authentication-result-class"), exports);
18
- __exportStar(require("./create-account-request-dto"), exports);
19
19
  __exportStar(require("./create-customer-request-dto"), exports);
20
20
  __exportStar(require("./create-customer-response-class"), exports);
21
+ __exportStar(require("./customer-class"), exports);
22
+ __exportStar(require("./customer-document-class"), exports);
21
23
  __exportStar(require("./forgot-password-request-dto"), exports);
24
+ __exportStar(require("./get-customer-document-download-url-response-class"), exports);
22
25
  __exportStar(require("./get-customer-response-class"), exports);
23
26
  __exportStar(require("./get-policy-response-class"), exports);
24
27
  __exportStar(require("./initiate-auth-request-dto"), exports);
@@ -27,6 +30,7 @@ __exportStar(require("./invite-by-customer-request-dto"), exports);
27
30
  __exportStar(require("./invite-by-customer-response-class"), exports);
28
31
  __exportStar(require("./invite-by-tenant-response-class"), exports);
29
32
  __exportStar(require("./invite-class"), exports);
33
+ __exportStar(require("./invoice-class"), exports);
30
34
  __exportStar(require("./list-documents-response-class"), exports);
31
35
  __exportStar(require("./list-invoices-response-class"), exports);
32
36
  __exportStar(require("./list-policies-response-class"), exports);
@@ -41,8 +45,12 @@ __exportStar(require("./request-policy-update-response-class"), exports);
41
45
  __exportStar(require("./reset-password-by-customer-request-dto"), exports);
42
46
  __exportStar(require("./respond-to-auth-challenge-class"), exports);
43
47
  __exportStar(require("./respond-to-auth-challenge-request-dto"), exports);
48
+ __exportStar(require("./shared-invoice-item-class"), exports);
49
+ __exportStar(require("./terminate-customer-policy-request-dto"), exports);
50
+ __exportStar(require("./terminate-customer-policy-response-class"), exports);
44
51
  __exportStar(require("./timeslice-class"), exports);
45
52
  __exportStar(require("./update-account-request-dto"), exports);
46
53
  __exportStar(require("./update-customer-request-dto"), exports);
47
54
  __exportStar(require("./update-customer-response-class"), exports);
48
55
  __exportStar(require("./verify-customer-invite-response-class"), exports);
56
+ __exportStar(require("./withdraw-customer-policy-response-class"), exports);
@@ -0,0 +1,135 @@
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 { SharedInvoiceItemClass } from './shared-invoice-item-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface InvoiceClass
17
+ */
18
+ export interface InvoiceClass {
19
+ /**
20
+ * policy code
21
+ * @type {string}
22
+ * @memberof InvoiceClass
23
+ */
24
+ 'policyCode': string;
25
+ /**
26
+ * Account number
27
+ * @type {string}
28
+ * @memberof InvoiceClass
29
+ */
30
+ 'accountNumber': string;
31
+ /**
32
+ * Invoice code
33
+ * @type {string}
34
+ * @memberof InvoiceClass
35
+ */
36
+ 'code': string;
37
+ /**
38
+ * Invoice type
39
+ * @type {string}
40
+ * @memberof InvoiceClass
41
+ */
42
+ 'type': InvoiceClassTypeEnum;
43
+ /**
44
+ * Invoice number
45
+ * @type {string}
46
+ * @memberof InvoiceClass
47
+ */
48
+ 'invoiceNumber': string;
49
+ /**
50
+ * Net amount
51
+ * @type {number}
52
+ * @memberof InvoiceClass
53
+ */
54
+ 'netAmount': number;
55
+ /**
56
+ * Tax amount
57
+ * @type {number}
58
+ * @memberof InvoiceClass
59
+ */
60
+ 'taxAmount': number;
61
+ /**
62
+ * Credit amount
63
+ * @type {number}
64
+ * @memberof InvoiceClass
65
+ */
66
+ 'creditAmount': number;
67
+ /**
68
+ * Surcharge amount
69
+ * @type {number}
70
+ * @memberof InvoiceClass
71
+ */
72
+ 'surcharge': number;
73
+ /**
74
+ * Gross amount
75
+ * @type {number}
76
+ * @memberof InvoiceClass
77
+ */
78
+ 'grossAmount': number;
79
+ /**
80
+ * Invoice status
81
+ * @type {string}
82
+ * @memberof InvoiceClass
83
+ */
84
+ 'status': InvoiceClassStatusEnum;
85
+ /**
86
+ * Invoice due date
87
+ * @type {string}
88
+ * @memberof InvoiceClass
89
+ */
90
+ 'dueDate': string;
91
+ /**
92
+ * Invoice metadata
93
+ * @type {object}
94
+ * @memberof InvoiceClass
95
+ */
96
+ 'metadata': object;
97
+ /**
98
+ * Invoice billing interval from
99
+ * @type {string}
100
+ * @memberof InvoiceClass
101
+ */
102
+ 'billingIntervalFrom': string;
103
+ /**
104
+ * Invoice billing interval to
105
+ * @type {string}
106
+ * @memberof InvoiceClass
107
+ */
108
+ 'billingIntervalTo': string;
109
+ /**
110
+ * Invoice created at
111
+ * @type {string}
112
+ * @memberof InvoiceClass
113
+ */
114
+ 'createdAt': string;
115
+ /**
116
+ * Invoice items
117
+ * @type {Array<SharedInvoiceItemClass>}
118
+ * @memberof InvoiceClass
119
+ */
120
+ 'invoiceItems': Array<SharedInvoiceItemClass>;
121
+ }
122
+ export declare const InvoiceClassTypeEnum: {
123
+ readonly Initial: "initial";
124
+ readonly Recurring: "recurring";
125
+ readonly Correction: "correction";
126
+ readonly Estimated: "estimated";
127
+ readonly Penalty: "penalty";
128
+ readonly Other: "other";
129
+ };
130
+ export declare type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
131
+ export declare const InvoiceClassStatusEnum: {
132
+ readonly Open: "open";
133
+ readonly Paid: "paid";
134
+ };
135
+ export declare type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
@@ -0,0 +1,28 @@
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.InvoiceClassStatusEnum = exports.InvoiceClassTypeEnum = void 0;
17
+ exports.InvoiceClassTypeEnum = {
18
+ Initial: 'initial',
19
+ Recurring: 'recurring',
20
+ Correction: 'correction',
21
+ Estimated: 'estimated',
22
+ Penalty: 'penalty',
23
+ Other: 'other'
24
+ };
25
+ exports.InvoiceClassStatusEnum = {
26
+ Open: 'open',
27
+ Paid: 'paid'
28
+ };
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CustomerDocumentClass } from './customer-document-class';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,10 +18,10 @@
17
18
  export interface ListDocumentsResponseClass {
18
19
  /**
19
20
  * documents list items
20
- * @type {Array<string>}
21
+ * @type {Array<CustomerDocumentClass>}
21
22
  * @memberof ListDocumentsResponseClass
22
23
  */
23
- 'items': Array<string>;
24
+ 'items': Array<CustomerDocumentClass>;
24
25
  /**
25
26
  * Next page token
26
27
  * @type {string}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InvoiceClass } from './invoice-class';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,10 +18,10 @@
17
18
  export interface ListInvoicesResponseClass {
18
19
  /**
19
20
  * Invoices list items
20
- * @type {Array<string>}
21
+ * @type {Array<InvoiceClass>}
21
22
  * @memberof ListInvoicesResponseClass
22
23
  */
23
- 'items': Array<string>;
24
+ 'items': Array<InvoiceClass>;
24
25
  /**
25
26
  * Next page token
26
27
  * @type {string}
@@ -20,7 +20,7 @@ export interface ResetPasswordByCustomerRequestDto {
20
20
  * @type {string}
21
21
  * @memberof ResetPasswordByCustomerRequestDto
22
22
  */
23
- 'email': string;
23
+ 'email'?: string;
24
24
  /**
25
25
  * Customer\'s reset token
26
26
  * @type {string}
@@ -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 SharedInvoiceItemClass
16
+ */
17
+ export interface SharedInvoiceItemClass {
18
+ /**
19
+ * product name
20
+ * @type {string}
21
+ * @memberof SharedInvoiceItemClass
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * tax code
26
+ * @type {string}
27
+ * @memberof SharedInvoiceItemClass
28
+ */
29
+ 'taxCode': string;
30
+ /**
31
+ * Invoice type
32
+ * @type {string}
33
+ * @memberof SharedInvoiceItemClass
34
+ */
35
+ 'unit': string;
36
+ /**
37
+ * group
38
+ * @type {string}
39
+ * @memberof SharedInvoiceItemClass
40
+ */
41
+ 'group': string;
42
+ /**
43
+ * Item quantity
44
+ * @type {number}
45
+ * @memberof SharedInvoiceItemClass
46
+ */
47
+ 'quantity': number;
48
+ /**
49
+ * Item price per unit
50
+ * @type {number}
51
+ * @memberof SharedInvoiceItemClass
52
+ */
53
+ 'pricePerUnit': number;
54
+ /**
55
+ * Item tax rate
56
+ * @type {number}
57
+ * @memberof SharedInvoiceItemClass
58
+ */
59
+ 'taxRate': number;
60
+ /**
61
+ * Net amount
62
+ * @type {number}
63
+ * @memberof SharedInvoiceItemClass
64
+ */
65
+ 'netAmount': number;
66
+ /**
67
+ * Net tax amount
68
+ * @type {number}
69
+ * @memberof SharedInvoiceItemClass
70
+ */
71
+ 'taxAmount': number;
72
+ /**
73
+ * Gross amount
74
+ * @type {number}
75
+ * @memberof SharedInvoiceItemClass
76
+ */
77
+ 'grossAmount': number;
78
+ /**
79
+ * Credit amount
80
+ * @type {number}
81
+ * @memberof SharedInvoiceItemClass
82
+ */
83
+ 'creditAmount': number;
84
+ /**
85
+ * Surcharge amount
86
+ * @type {number}
87
+ * @memberof SharedInvoiceItemClass
88
+ */
89
+ 'surcharge': number;
90
+ /**
91
+ * Invoice item interval from
92
+ * @type {string}
93
+ * @memberof SharedInvoiceItemClass
94
+ */
95
+ 'billingIntervalFrom': string;
96
+ /**
97
+ * Invoice item interval to
98
+ * @type {string}
99
+ * @memberof SharedInvoiceItemClass
100
+ */
101
+ 'billingIntervalTo': string;
102
+ }
@@ -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 });