@emilgroup/billing-sdk 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 (97) hide show
  1. package/.openapi-generator/FILES +37 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/correction-invoices-api.ts +161 -0
  6. package/api/estimated-invoices-api.ts +264 -0
  7. package/api/initial-invoices-api.ts +161 -0
  8. package/api/invoices-api.ts +398 -0
  9. package/api/recurring-invoices-api.ts +161 -0
  10. package/api.ts +40 -0
  11. package/base.ts +247 -0
  12. package/common.ts +198 -0
  13. package/configuration.ts +101 -0
  14. package/dist/api/correction-invoices-api.d.ts +93 -0
  15. package/dist/api/correction-invoices-api.js +220 -0
  16. package/dist/api/estimated-invoices-api.d.ts +146 -0
  17. package/dist/api/estimated-invoices-api.js +309 -0
  18. package/dist/api/initial-invoices-api.d.ts +93 -0
  19. package/dist/api/initial-invoices-api.js +220 -0
  20. package/dist/api/invoices-api.d.ts +234 -0
  21. package/dist/api/invoices-api.js +369 -0
  22. package/dist/api/recurring-invoices-api.d.ts +93 -0
  23. package/dist/api/recurring-invoices-api.js +220 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +72 -0
  27. package/dist/base.js +293 -0
  28. package/dist/common.d.ts +91 -0
  29. package/dist/common.js +276 -0
  30. package/dist/configuration.d.ts +83 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/create-correction-invoices-response-class.d.ts +25 -0
  35. package/dist/models/create-correction-invoices-response-class.js +15 -0
  36. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +35 -0
  37. package/dist/models/create-custom-estimated-invoice-request-dto.js +20 -0
  38. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +24 -0
  39. package/dist/models/create-custom-estimated-invoice-response-class.js +15 -0
  40. package/dist/models/create-estimated-invoice-request-dto.d.ts +31 -0
  41. package/dist/models/create-estimated-invoice-request-dto.js +15 -0
  42. package/dist/models/create-estimated-invoice-response-class.d.ts +31 -0
  43. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  44. package/dist/models/create-invoice-request-dto.d.ts +75 -0
  45. package/dist/models/create-invoice-request-dto.js +24 -0
  46. package/dist/models/create-invoice-response-class.d.ts +25 -0
  47. package/dist/models/create-invoice-response-class.js +15 -0
  48. package/dist/models/index.d.ts +19 -0
  49. package/dist/models/index.js +35 -0
  50. package/dist/models/invoice-class.d.ts +121 -0
  51. package/dist/models/invoice-class.js +15 -0
  52. package/dist/models/invoice-item-class.d.ts +108 -0
  53. package/dist/models/invoice-item-class.js +15 -0
  54. package/dist/models/list-invoices-response-class.d.ts +31 -0
  55. package/dist/models/list-invoices-response-class.js +15 -0
  56. package/dist/models/list-policies-billing-dates-response-class.d.ts +30 -0
  57. package/dist/models/list-policies-billing-dates-response-class.js +15 -0
  58. package/dist/models/list-request-dto.d.ts +54 -0
  59. package/dist/models/list-request-dto.js +15 -0
  60. package/dist/models/policy-dto.d.ts +85 -0
  61. package/dist/models/policy-dto.js +15 -0
  62. package/dist/models/policy-object-dto.d.ts +42 -0
  63. package/dist/models/policy-object-dto.js +15 -0
  64. package/dist/models/policy-premium-dto.d.ts +43 -0
  65. package/dist/models/policy-premium-dto.js +15 -0
  66. package/dist/models/policy-premium-item-dto.d.ts +49 -0
  67. package/dist/models/policy-premium-item-dto.js +15 -0
  68. package/dist/models/policy-version-dto.d.ts +55 -0
  69. package/dist/models/policy-version-dto.js +15 -0
  70. package/dist/models/premium-formula-dto.d.ts +72 -0
  71. package/dist/models/premium-formula-dto.js +15 -0
  72. package/dist/models/timeslice-dto.d.ts +62 -0
  73. package/dist/models/timeslice-dto.js +15 -0
  74. package/git_push.sh +57 -0
  75. package/index.ts +19 -0
  76. package/models/create-correction-invoices-response-class.ts +31 -0
  77. package/models/create-custom-estimated-invoice-request-dto.ts +44 -0
  78. package/models/create-custom-estimated-invoice-response-class.ts +30 -0
  79. package/models/create-estimated-invoice-request-dto.ts +37 -0
  80. package/models/create-estimated-invoice-response-class.ts +37 -0
  81. package/models/create-invoice-request-dto.ts +84 -0
  82. package/models/create-invoice-response-class.ts +31 -0
  83. package/models/index.ts +19 -0
  84. package/models/invoice-class.ts +127 -0
  85. package/models/invoice-item-class.ts +114 -0
  86. package/models/list-invoices-response-class.ts +37 -0
  87. package/models/list-policies-billing-dates-response-class.ts +36 -0
  88. package/models/list-request-dto.ts +60 -0
  89. package/models/policy-dto.ts +91 -0
  90. package/models/policy-object-dto.ts +48 -0
  91. package/models/policy-premium-dto.ts +49 -0
  92. package/models/policy-premium-item-dto.ts +55 -0
  93. package/models/policy-version-dto.ts +61 -0
  94. package/models/premium-formula-dto.ts +78 -0
  95. package/models/timeslice-dto.ts +68 -0
  96. package/package.json +27 -0
  97. package/tsconfig.json +22 -0
@@ -0,0 +1,83 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
17
+ basePath?: string;
18
+ baseOptions?: any;
19
+ formDataCtor?: new () => any;
20
+ }
21
+ export declare class Configuration {
22
+ /**
23
+ * parameter for apiKey security
24
+ * @param name security name
25
+ * @memberof Configuration
26
+ */
27
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
28
+ /**
29
+ * parameter for basic security
30
+ *
31
+ * @type {string}
32
+ * @memberof Configuration
33
+ */
34
+ username?: string;
35
+ /**
36
+ * parameter for basic security
37
+ *
38
+ * @type {string}
39
+ * @memberof Configuration
40
+ */
41
+ password?: string;
42
+ /**
43
+ * parameter for oauth2 security
44
+ * @param name security name
45
+ * @param scopes oauth2 scope
46
+ * @memberof Configuration
47
+ */
48
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
49
+ /**
50
+ * override base path
51
+ *
52
+ * @type {string}
53
+ * @memberof Configuration
54
+ */
55
+ basePath?: string;
56
+ /**
57
+ * base options for axios calls
58
+ *
59
+ * @type {any}
60
+ * @memberof Configuration
61
+ */
62
+ baseOptions?: any;
63
+ /**
64
+ * The FormData constructor that will be used to create multipart form data
65
+ * requests. You can inject this here so that execution environments that
66
+ * do not support the FormData class can still run the generated client.
67
+ *
68
+ * @type {new () => FormData}
69
+ */
70
+ formDataCtor?: new () => any;
71
+ constructor(param?: ConfigurationParameters);
72
+ /**
73
+ * Check if the given MIME is a JSON MIME.
74
+ * JSON MIME examples:
75
+ * application/json
76
+ * application/json; charset=UTF8
77
+ * APPLICATION/JSON
78
+ * application/vnd.company+json
79
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
80
+ * @return True if the given MIME is JSON, false otherwise.
81
+ */
82
+ isJsonMime(mime: string): boolean;
83
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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.accessToken = param.accessToken;
24
+ this.basePath = param.basePath;
25
+ this.baseOptions = param.baseOptions;
26
+ this.formDataCtor = param.formDataCtor;
27
+ }
28
+ /**
29
+ * Check if the given MIME is a JSON MIME.
30
+ * JSON MIME examples:
31
+ * application/json
32
+ * application/json; charset=UTF8
33
+ * APPLICATION/JSON
34
+ * application/vnd.company+json
35
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
36
+ * @return True if the given MIME is JSON, false otherwise.
37
+ */
38
+ Configuration.prototype.isJsonMime = function (mime) {
39
+ var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
40
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
41
+ };
42
+ return Configuration;
43
+ }());
44
+ exports.Configuration = Configuration;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 BillingService
6
+ * The EMIL BillingService 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,25 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 { InvoiceClass } from './invoice-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateCorrectionInvoicesResponseClass
17
+ */
18
+ export interface CreateCorrectionInvoicesResponseClass {
19
+ /**
20
+ * Correction invoices response
21
+ * @type {Array<InvoiceClass>}
22
+ * @memberof CreateCorrectionInvoicesResponseClass
23
+ */
24
+ 'invoices': Array<InvoiceClass>;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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,35 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 CreateCustomEstimatedInvoiceRequestDto
16
+ */
17
+ export interface CreateCustomEstimatedInvoiceRequestDto {
18
+ /**
19
+ * Customer custom data for premium calculation
20
+ * @type {object}
21
+ * @memberof CreateCustomEstimatedInvoiceRequestDto
22
+ */
23
+ 'data': object;
24
+ /**
25
+ * Custom premium provider
26
+ * @type {string}
27
+ * @memberof CreateCustomEstimatedInvoiceRequestDto
28
+ */
29
+ 'provider': CreateCustomEstimatedInvoiceRequestDtoProviderEnum;
30
+ }
31
+ export declare const CreateCustomEstimatedInvoiceRequestDtoProviderEnum: {
32
+ readonly Squarelife: "squarelife";
33
+ readonly Janitos: "janitos";
34
+ };
35
+ export declare type CreateCustomEstimatedInvoiceRequestDtoProviderEnum = typeof CreateCustomEstimatedInvoiceRequestDtoProviderEnum[keyof typeof CreateCustomEstimatedInvoiceRequestDtoProviderEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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.CreateCustomEstimatedInvoiceRequestDtoProviderEnum = void 0;
17
+ exports.CreateCustomEstimatedInvoiceRequestDtoProviderEnum = {
18
+ Squarelife: 'squarelife',
19
+ Janitos: 'janitos'
20
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 CreateCustomEstimatedInvoiceResponseClass
16
+ */
17
+ export interface CreateCustomEstimatedInvoiceResponseClass {
18
+ /**
19
+ * Recurring invoice response
20
+ * @type {object}
21
+ * @memberof CreateCustomEstimatedInvoiceResponseClass
22
+ */
23
+ 'custom': object;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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,31 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 { PolicyDto } from './policy-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateEstimatedInvoiceRequestDto
17
+ */
18
+ export interface CreateEstimatedInvoiceRequestDto {
19
+ /**
20
+ *
21
+ * @type {PolicyDto}
22
+ * @memberof CreateEstimatedInvoiceRequestDto
23
+ */
24
+ 'policy': PolicyDto;
25
+ /**
26
+ * metadata
27
+ * @type {object}
28
+ * @memberof CreateEstimatedInvoiceRequestDto
29
+ */
30
+ 'metadata': object;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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,31 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 { InvoiceClass } from './invoice-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateEstimatedInvoiceResponseClass
17
+ */
18
+ export interface CreateEstimatedInvoiceResponseClass {
19
+ /**
20
+ * Recurring invoice response
21
+ * @type {InvoiceClass}
22
+ * @memberof CreateEstimatedInvoiceResponseClass
23
+ */
24
+ 'invoice': InvoiceClass;
25
+ /**
26
+ * Recurring invoice response
27
+ * @type {object}
28
+ * @memberof CreateEstimatedInvoiceResponseClass
29
+ */
30
+ 'custom': object;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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,75 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 CreateInvoiceRequestDto
16
+ */
17
+ export interface CreateInvoiceRequestDto {
18
+ /**
19
+ * Invoice number
20
+ * @type {string}
21
+ * @memberof CreateInvoiceRequestDto
22
+ */
23
+ 'invoiceNumber'?: string;
24
+ /**
25
+ * account number
26
+ * @type {string}
27
+ * @memberof CreateInvoiceRequestDto
28
+ */
29
+ 'accountNumber': string;
30
+ /**
31
+ * Policy code
32
+ * @type {string}
33
+ * @memberof CreateInvoiceRequestDto
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ * metadata
38
+ * @type {object}
39
+ * @memberof CreateInvoiceRequestDto
40
+ */
41
+ 'metadata'?: object;
42
+ /**
43
+ * Interval from date
44
+ * @type {string}
45
+ * @memberof CreateInvoiceRequestDto
46
+ */
47
+ 'billingIntervalFrom': string;
48
+ /**
49
+ * Interval to date
50
+ * @type {string}
51
+ * @memberof CreateInvoiceRequestDto
52
+ */
53
+ 'billingIntervalTo': string;
54
+ /**
55
+ * Invoice due date
56
+ * @type {string}
57
+ * @memberof CreateInvoiceRequestDto
58
+ */
59
+ 'dueDate'?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof CreateInvoiceRequestDto
64
+ */
65
+ 'type': CreateInvoiceRequestDtoTypeEnum;
66
+ }
67
+ export declare const CreateInvoiceRequestDtoTypeEnum: {
68
+ readonly Initial: "initial";
69
+ readonly Recurring: "recurring";
70
+ readonly Correction: "correction";
71
+ readonly Estimated: "estimated";
72
+ readonly Penalty: "penalty";
73
+ readonly Other: "other";
74
+ };
75
+ export declare type CreateInvoiceRequestDtoTypeEnum = typeof CreateInvoiceRequestDtoTypeEnum[keyof typeof CreateInvoiceRequestDtoTypeEnum];
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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.CreateInvoiceRequestDtoTypeEnum = void 0;
17
+ exports.CreateInvoiceRequestDtoTypeEnum = {
18
+ Initial: 'initial',
19
+ Recurring: 'recurring',
20
+ Correction: 'correction',
21
+ Estimated: 'estimated',
22
+ Penalty: 'penalty',
23
+ Other: 'other'
24
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService 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 { InvoiceClass } from './invoice-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateInvoiceResponseClass
17
+ */
18
+ export interface CreateInvoiceResponseClass {
19
+ /**
20
+ * Recurring invoice response
21
+ * @type {InvoiceClass}
22
+ * @memberof CreateInvoiceResponseClass
23
+ */
24
+ 'invoice': InvoiceClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService 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,19 @@
1
+ export * from './create-correction-invoices-response-class';
2
+ export * from './create-custom-estimated-invoice-request-dto';
3
+ export * from './create-custom-estimated-invoice-response-class';
4
+ export * from './create-estimated-invoice-request-dto';
5
+ export * from './create-estimated-invoice-response-class';
6
+ export * from './create-invoice-request-dto';
7
+ export * from './create-invoice-response-class';
8
+ export * from './invoice-class';
9
+ export * from './invoice-item-class';
10
+ export * from './list-invoices-response-class';
11
+ export * from './list-policies-billing-dates-response-class';
12
+ export * from './list-request-dto';
13
+ export * from './policy-dto';
14
+ export * from './policy-object-dto';
15
+ export * from './policy-premium-dto';
16
+ export * from './policy-premium-item-dto';
17
+ export * from './policy-version-dto';
18
+ export * from './premium-formula-dto';
19
+ export * from './timeslice-dto';
@@ -0,0 +1,35 @@
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-correction-invoices-response-class"), exports);
18
+ __exportStar(require("./create-custom-estimated-invoice-request-dto"), exports);
19
+ __exportStar(require("./create-custom-estimated-invoice-response-class"), exports);
20
+ __exportStar(require("./create-estimated-invoice-request-dto"), exports);
21
+ __exportStar(require("./create-estimated-invoice-response-class"), exports);
22
+ __exportStar(require("./create-invoice-request-dto"), exports);
23
+ __exportStar(require("./create-invoice-response-class"), exports);
24
+ __exportStar(require("./invoice-class"), exports);
25
+ __exportStar(require("./invoice-item-class"), exports);
26
+ __exportStar(require("./list-invoices-response-class"), exports);
27
+ __exportStar(require("./list-policies-billing-dates-response-class"), exports);
28
+ __exportStar(require("./list-request-dto"), exports);
29
+ __exportStar(require("./policy-dto"), exports);
30
+ __exportStar(require("./policy-object-dto"), exports);
31
+ __exportStar(require("./policy-premium-dto"), exports);
32
+ __exportStar(require("./policy-premium-item-dto"), exports);
33
+ __exportStar(require("./policy-version-dto"), exports);
34
+ __exportStar(require("./premium-formula-dto"), exports);
35
+ __exportStar(require("./timeslice-dto"), exports);