@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,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,55 @@
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 { TimesliceDto } from './timeslice-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyVersionDto
17
+ */
18
+ export interface PolicyVersionDto {
19
+ /**
20
+ *
21
+ * @type {object}
22
+ * @memberof PolicyVersionDto
23
+ */
24
+ 'metadata': object;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PolicyVersionDto
29
+ */
30
+ 'createdAt': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof PolicyVersionDto
35
+ */
36
+ 'updatedAt': string;
37
+ /**
38
+ *
39
+ * @type {Array<TimesliceDto>}
40
+ * @memberof PolicyVersionDto
41
+ */
42
+ 'timeline': Array<TimesliceDto>;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof PolicyVersionDto
47
+ */
48
+ 'id': number;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof PolicyVersionDto
53
+ */
54
+ 'isCurrent': boolean;
55
+ }
@@ -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,72 @@
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 PremiumFormulaDto
16
+ */
17
+ export interface PremiumFormulaDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PremiumFormulaDto
22
+ */
23
+ 'createdAt': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PremiumFormulaDto
28
+ */
29
+ 'updatedAt': string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof PremiumFormulaDto
34
+ */
35
+ 'id': number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PremiumFormulaDto
40
+ */
41
+ 'productVersionId': number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PremiumFormulaDto
46
+ */
47
+ 'group': string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PremiumFormulaDto
52
+ */
53
+ 'name': string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PremiumFormulaDto
58
+ */
59
+ 'expression': string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof PremiumFormulaDto
64
+ */
65
+ 'type': string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof PremiumFormulaDto
70
+ */
71
+ 'unit': string;
72
+ }
@@ -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,62 @@
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 { PolicyObjectDto } from './policy-object-dto';
13
+ import { PolicyPremiumDto } from './policy-premium-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TimesliceDto
18
+ */
19
+ export interface TimesliceDto {
20
+ /**
21
+ *
22
+ * @type {Array<PolicyObjectDto>}
23
+ * @memberof TimesliceDto
24
+ */
25
+ 'policyObjects': Array<PolicyObjectDto>;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TimesliceDto
30
+ */
31
+ 'from': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof TimesliceDto
36
+ */
37
+ 'to': string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof TimesliceDto
42
+ */
43
+ 'createdAt': string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof TimesliceDto
48
+ */
49
+ 'updatedAt': string;
50
+ /**
51
+ *
52
+ * @type {PolicyPremiumDto}
53
+ * @memberof TimesliceDto
54
+ */
55
+ 'premium': PolicyPremiumDto;
56
+ /**
57
+ *
58
+ * @type {number}
59
+ * @memberof TimesliceDto
60
+ */
61
+ 'id': number;
62
+ }
@@ -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 });
package/git_push.sh ADDED
@@ -0,0 +1,57 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="Emil"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="billing-sdk"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=$(git remote)
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
package/index.ts ADDED
@@ -0,0 +1,19 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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
+ export { BaseAPI } from "./base";
17
+ export * from "./api";
18
+ export * from "./configuration";
19
+ export * from "./models";
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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 { InvoiceClass } from './invoice-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateCorrectionInvoicesResponseClass
22
+ */
23
+ export interface CreateCorrectionInvoicesResponseClass {
24
+ /**
25
+ * Correction invoices response
26
+ * @type {Array<InvoiceClass>}
27
+ * @memberof CreateCorrectionInvoicesResponseClass
28
+ */
29
+ 'invoices': Array<InvoiceClass>;
30
+ }
31
+
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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 CreateCustomEstimatedInvoiceRequestDto
21
+ */
22
+ export interface CreateCustomEstimatedInvoiceRequestDto {
23
+ /**
24
+ * Customer custom data for premium calculation
25
+ * @type {object}
26
+ * @memberof CreateCustomEstimatedInvoiceRequestDto
27
+ */
28
+ 'data': object;
29
+ /**
30
+ * Custom premium provider
31
+ * @type {string}
32
+ * @memberof CreateCustomEstimatedInvoiceRequestDto
33
+ */
34
+ 'provider': CreateCustomEstimatedInvoiceRequestDtoProviderEnum;
35
+ }
36
+
37
+ export const CreateCustomEstimatedInvoiceRequestDtoProviderEnum = {
38
+ Squarelife: 'squarelife',
39
+ Janitos: 'janitos'
40
+ } as const;
41
+
42
+ export type CreateCustomEstimatedInvoiceRequestDtoProviderEnum = typeof CreateCustomEstimatedInvoiceRequestDtoProviderEnum[keyof typeof CreateCustomEstimatedInvoiceRequestDtoProviderEnum];
43
+
44
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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 CreateCustomEstimatedInvoiceResponseClass
21
+ */
22
+ export interface CreateCustomEstimatedInvoiceResponseClass {
23
+ /**
24
+ * Recurring invoice response
25
+ * @type {object}
26
+ * @memberof CreateCustomEstimatedInvoiceResponseClass
27
+ */
28
+ 'custom': object;
29
+ }
30
+
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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 { PolicyDto } from './policy-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateEstimatedInvoiceRequestDto
22
+ */
23
+ export interface CreateEstimatedInvoiceRequestDto {
24
+ /**
25
+ *
26
+ * @type {PolicyDto}
27
+ * @memberof CreateEstimatedInvoiceRequestDto
28
+ */
29
+ 'policy': PolicyDto;
30
+ /**
31
+ * metadata
32
+ * @type {object}
33
+ * @memberof CreateEstimatedInvoiceRequestDto
34
+ */
35
+ 'metadata': object;
36
+ }
37
+
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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 { InvoiceClass } from './invoice-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateEstimatedInvoiceResponseClass
22
+ */
23
+ export interface CreateEstimatedInvoiceResponseClass {
24
+ /**
25
+ * Recurring invoice response
26
+ * @type {InvoiceClass}
27
+ * @memberof CreateEstimatedInvoiceResponseClass
28
+ */
29
+ 'invoice': InvoiceClass;
30
+ /**
31
+ * Recurring invoice response
32
+ * @type {object}
33
+ * @memberof CreateEstimatedInvoiceResponseClass
34
+ */
35
+ 'custom': object;
36
+ }
37
+
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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 CreateInvoiceRequestDto
21
+ */
22
+ export interface CreateInvoiceRequestDto {
23
+ /**
24
+ * Invoice number
25
+ * @type {string}
26
+ * @memberof CreateInvoiceRequestDto
27
+ */
28
+ 'invoiceNumber'?: string;
29
+ /**
30
+ * account number
31
+ * @type {string}
32
+ * @memberof CreateInvoiceRequestDto
33
+ */
34
+ 'accountNumber': string;
35
+ /**
36
+ * Policy code
37
+ * @type {string}
38
+ * @memberof CreateInvoiceRequestDto
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ * metadata
43
+ * @type {object}
44
+ * @memberof CreateInvoiceRequestDto
45
+ */
46
+ 'metadata'?: object;
47
+ /**
48
+ * Interval from date
49
+ * @type {string}
50
+ * @memberof CreateInvoiceRequestDto
51
+ */
52
+ 'billingIntervalFrom': string;
53
+ /**
54
+ * Interval to date
55
+ * @type {string}
56
+ * @memberof CreateInvoiceRequestDto
57
+ */
58
+ 'billingIntervalTo': string;
59
+ /**
60
+ * Invoice due date
61
+ * @type {string}
62
+ * @memberof CreateInvoiceRequestDto
63
+ */
64
+ 'dueDate'?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof CreateInvoiceRequestDto
69
+ */
70
+ 'type': CreateInvoiceRequestDtoTypeEnum;
71
+ }
72
+
73
+ export const CreateInvoiceRequestDtoTypeEnum = {
74
+ Initial: 'initial',
75
+ Recurring: 'recurring',
76
+ Correction: 'correction',
77
+ Estimated: 'estimated',
78
+ Penalty: 'penalty',
79
+ Other: 'other'
80
+ } as const;
81
+
82
+ export type CreateInvoiceRequestDtoTypeEnum = typeof CreateInvoiceRequestDtoTypeEnum[keyof typeof CreateInvoiceRequestDtoTypeEnum];
83
+
84
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService 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 { InvoiceClass } from './invoice-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateInvoiceResponseClass
22
+ */
23
+ export interface CreateInvoiceResponseClass {
24
+ /**
25
+ * Recurring invoice response
26
+ * @type {InvoiceClass}
27
+ * @memberof CreateInvoiceResponseClass
28
+ */
29
+ 'invoice': InvoiceClass;
30
+ }
31
+
@@ -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';