@emilgroup/public-api-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 (76) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/documents-api.ts +424 -0
  6. package/api/payment-setup-api.ts +260 -0
  7. package/api/products-api.ts +958 -0
  8. package/api.ts +36 -0
  9. package/base.ts +247 -0
  10. package/common.ts +198 -0
  11. package/configuration.ts +101 -0
  12. package/dist/api/documents-api.d.ts +239 -0
  13. package/dist/api/documents-api.js +427 -0
  14. package/dist/api/payment-setup-api.d.ts +144 -0
  15. package/dist/api/payment-setup-api.js +309 -0
  16. package/dist/api/products-api.d.ts +511 -0
  17. package/dist/api/products-api.js +935 -0
  18. package/dist/api.d.ts +18 -0
  19. package/dist/api.js +38 -0
  20. package/dist/base.d.ts +72 -0
  21. package/dist/base.js +293 -0
  22. package/dist/common.d.ts +91 -0
  23. package/dist/common.js +276 -0
  24. package/dist/configuration.d.ts +83 -0
  25. package/dist/configuration.js +44 -0
  26. package/dist/index.d.ts +15 -0
  27. package/dist/index.js +35 -0
  28. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  29. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  30. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  31. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  32. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +54 -0
  33. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  34. package/dist/models/create-account-request-dto.d.ts +90 -0
  35. package/dist/models/create-account-request-dto.js +21 -0
  36. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  37. package/dist/models/create-bank-account-request-dto.js +15 -0
  38. package/dist/models/create-custom-application-request-dto.d.ts +34 -0
  39. package/dist/models/create-custom-application-request-dto.js +19 -0
  40. package/dist/models/create-document-request-dto.d.ts +95 -0
  41. package/dist/models/create-document-request-dto.js +31 -0
  42. package/dist/models/create-estimated-invoice-request-dto.d.ts +41 -0
  43. package/dist/models/create-estimated-invoice-request-dto.js +19 -0
  44. package/dist/models/create-lead-request-dto.d.ts +77 -0
  45. package/dist/models/create-lead-request-dto.js +22 -0
  46. package/dist/models/index.d.ts +14 -0
  47. package/dist/models/index.js +30 -0
  48. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +24 -0
  49. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  50. package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
  51. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  52. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +24 -0
  53. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  54. package/dist/models/policy-object-request-dto.d.ts +30 -0
  55. package/dist/models/policy-object-request-dto.js +15 -0
  56. package/dist/models/uploaded-document-dto.d.ts +24 -0
  57. package/dist/models/uploaded-document-dto.js +15 -0
  58. package/git_push.sh +57 -0
  59. package/index.ts +19 -0
  60. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  61. package/models/complete-payment-setup-request-dto.ts +38 -0
  62. package/models/complete-stripe-payment-setup-request-dto.ts +60 -0
  63. package/models/create-account-request-dto.ts +99 -0
  64. package/models/create-bank-account-request-dto.ts +36 -0
  65. package/models/create-custom-application-request-dto.ts +43 -0
  66. package/models/create-document-request-dto.ts +105 -0
  67. package/models/create-estimated-invoice-request-dto.ts +50 -0
  68. package/models/create-lead-request-dto.ts +86 -0
  69. package/models/index.ts +14 -0
  70. package/models/initiate-braintree-payment-setup-request-dto.ts +30 -0
  71. package/models/initiate-payment-setup-request-dto.ts +38 -0
  72. package/models/initiate-stripe-payment-setup-request-dto.ts +30 -0
  73. package/models/policy-object-request-dto.ts +36 -0
  74. package/models/uploaded-document-dto.ts +30 -0
  75. package/package.json +27 -0
  76. package/tsconfig.json +22 -0
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL PublicAPI
3
+ * The EMIL Public 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 PolicyObjectRequestDto
16
+ */
17
+ export interface PolicyObjectRequestDto {
18
+ /**
19
+ * Insured object id
20
+ * @type {number}
21
+ * @memberof PolicyObjectRequestDto
22
+ */
23
+ 'insuredObjectId': number;
24
+ /**
25
+ * Insured object data
26
+ * @type {object}
27
+ * @memberof PolicyObjectRequestDto
28
+ */
29
+ 'data': object;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PublicAPI
6
+ * The EMIL Public 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 PublicAPI
3
+ * The EMIL Public 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 UploadedDocumentDto
16
+ */
17
+ export interface UploadedDocumentDto {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof UploadedDocumentDto
22
+ */
23
+ 'codes': Array<string>;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PublicAPI
6
+ * The EMIL Public 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="public-api-sdk-node"
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 PublicAPI
5
+ * The EMIL Public 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,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public 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 CompleteBraintreePaymentSetupRequestDto
21
+ */
22
+ export interface CompleteBraintreePaymentSetupRequestDto {
23
+ /**
24
+ * Customer email address
25
+ * @type {string}
26
+ * @memberof CompleteBraintreePaymentSetupRequestDto
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * Customer first name
31
+ * @type {string}
32
+ * @memberof CompleteBraintreePaymentSetupRequestDto
33
+ */
34
+ 'firstName': string;
35
+ /**
36
+ * Customer last name
37
+ * @type {string}
38
+ * @memberof CompleteBraintreePaymentSetupRequestDto
39
+ */
40
+ 'lastName': string;
41
+ /**
42
+ * Lead code
43
+ * @type {string}
44
+ * @memberof CompleteBraintreePaymentSetupRequestDto
45
+ */
46
+ 'leadCode': string;
47
+ /**
48
+ * Braintree nonce generated by client
49
+ * @type {string}
50
+ * @memberof CompleteBraintreePaymentSetupRequestDto
51
+ */
52
+ 'nonce': string;
53
+ }
54
+
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public 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 { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
17
+ import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface CompletePaymentSetupRequestDto
23
+ */
24
+ export interface CompletePaymentSetupRequestDto {
25
+ /**
26
+ *
27
+ * @type {CompleteStripePaymentSetupRequestDto}
28
+ * @memberof CompletePaymentSetupRequestDto
29
+ */
30
+ 'stripe'?: CompleteStripePaymentSetupRequestDto;
31
+ /**
32
+ *
33
+ * @type {CompleteBraintreePaymentSetupRequestDto}
34
+ * @memberof CompletePaymentSetupRequestDto
35
+ */
36
+ 'braintree'?: CompleteBraintreePaymentSetupRequestDto;
37
+ }
38
+
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public 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 CompleteStripePaymentSetupRequestDto
21
+ */
22
+ export interface CompleteStripePaymentSetupRequestDto {
23
+ /**
24
+ * Customer email address
25
+ * @type {string}
26
+ * @memberof CompleteStripePaymentSetupRequestDto
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * Customer first name
31
+ * @type {string}
32
+ * @memberof CompleteStripePaymentSetupRequestDto
33
+ */
34
+ 'firstName': string;
35
+ /**
36
+ * Customer last name
37
+ * @type {string}
38
+ * @memberof CompleteStripePaymentSetupRequestDto
39
+ */
40
+ 'lastName': string;
41
+ /**
42
+ * Lead code
43
+ * @type {string}
44
+ * @memberof CompleteStripePaymentSetupRequestDto
45
+ */
46
+ 'leadCode': string;
47
+ /**
48
+ * Stripe customer id
49
+ * @type {string}
50
+ * @memberof CompleteStripePaymentSetupRequestDto
51
+ */
52
+ 'pspCustomerId': string;
53
+ /**
54
+ * Stripe payment method id
55
+ * @type {string}
56
+ * @memberof CompleteStripePaymentSetupRequestDto
57
+ */
58
+ 'pspPaymentMethodId': string;
59
+ }
60
+
@@ -0,0 +1,99 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateAccountRequestDto
21
+ */
22
+ export interface CreateAccountRequestDto {
23
+ /**
24
+ * Customer first name
25
+ * @type {string}
26
+ * @memberof CreateAccountRequestDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Customer last name
31
+ * @type {string}
32
+ * @memberof CreateAccountRequestDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Customer email
37
+ * @type {string}
38
+ * @memberof CreateAccountRequestDto
39
+ */
40
+ 'email': string;
41
+ /**
42
+ * Customer gender
43
+ * @type {string}
44
+ * @memberof CreateAccountRequestDto
45
+ */
46
+ 'gender': CreateAccountRequestDtoGenderEnum;
47
+ /**
48
+ * Customer street
49
+ * @type {string}
50
+ * @memberof CreateAccountRequestDto
51
+ */
52
+ 'street': string;
53
+ /**
54
+ * Customer zip code
55
+ * @type {string}
56
+ * @memberof CreateAccountRequestDto
57
+ */
58
+ 'zipCode': string;
59
+ /**
60
+ * Customer city
61
+ * @type {string}
62
+ * @memberof CreateAccountRequestDto
63
+ */
64
+ 'city': string;
65
+ /**
66
+ * Customer house number
67
+ * @type {string}
68
+ * @memberof CreateAccountRequestDto
69
+ */
70
+ 'houseNumber': string;
71
+ /**
72
+ * Customer birth date
73
+ * @type {string}
74
+ * @memberof CreateAccountRequestDto
75
+ */
76
+ 'birthDate': string;
77
+ /**
78
+ * Customer phone number
79
+ * @type {string}
80
+ * @memberof CreateAccountRequestDto
81
+ */
82
+ 'phone': string;
83
+ /**
84
+ * Account number
85
+ * @type {string}
86
+ * @memberof CreateAccountRequestDto
87
+ */
88
+ 'accountNumber': string;
89
+ }
90
+
91
+ export const CreateAccountRequestDtoGenderEnum = {
92
+ Male: 'male',
93
+ Female: 'female',
94
+ Unspecified: 'unspecified'
95
+ } as const;
96
+
97
+ export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
98
+
99
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public 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 CreateBankAccountRequestDto
21
+ */
22
+ export interface CreateBankAccountRequestDto {
23
+ /**
24
+ *
25
+ * @type {object}
26
+ * @memberof CreateBankAccountRequestDto
27
+ */
28
+ 'accountCode': object;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateBankAccountRequestDto
33
+ */
34
+ 'iban': string;
35
+ }
36
+
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public 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 CreateCustomApplicationRequestDto
21
+ */
22
+ export interface CreateCustomApplicationRequestDto {
23
+ /**
24
+ * Customer data to create application
25
+ * @type {object}
26
+ * @memberof CreateCustomApplicationRequestDto
27
+ */
28
+ 'data': object;
29
+ /**
30
+ * Custom provider name
31
+ * @type {string}
32
+ * @memberof CreateCustomApplicationRequestDto
33
+ */
34
+ 'provider': CreateCustomApplicationRequestDtoProviderEnum;
35
+ }
36
+
37
+ export const CreateCustomApplicationRequestDtoProviderEnum = {
38
+ Squarelife: 'squarelife'
39
+ } as const;
40
+
41
+ export type CreateCustomApplicationRequestDtoProviderEnum = typeof CreateCustomApplicationRequestDtoProviderEnum[keyof typeof CreateCustomApplicationRequestDtoProviderEnum];
42
+
43
+
@@ -0,0 +1,105 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public 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 CreateDocumentRequestDto
21
+ */
22
+ export interface CreateDocumentRequestDto {
23
+ /**
24
+ * Template slug
25
+ * @type {string}
26
+ * @memberof CreateDocumentRequestDto
27
+ */
28
+ 'templateSlug': string;
29
+ /**
30
+ * Document payload
31
+ * @type {object}
32
+ * @memberof CreateDocumentRequestDto
33
+ */
34
+ 'payload': object;
35
+ /**
36
+ * Document entity type
37
+ * @type {string}
38
+ * @memberof CreateDocumentRequestDto
39
+ */
40
+ 'entityType': string;
41
+ /**
42
+ * Document description
43
+ * @type {string}
44
+ * @memberof CreateDocumentRequestDto
45
+ */
46
+ 'description': string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof CreateDocumentRequestDto
51
+ */
52
+ 'policyCode'?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof CreateDocumentRequestDto
57
+ */
58
+ 'accountCode'?: string;
59
+ /**
60
+ * Entity id
61
+ * @type {number}
62
+ * @memberof CreateDocumentRequestDto
63
+ */
64
+ 'entityId'?: number;
65
+ /**
66
+ * Document requester
67
+ * @type {string}
68
+ * @memberof CreateDocumentRequestDto
69
+ */
70
+ 'requester': CreateDocumentRequestDtoRequesterEnum;
71
+ /**
72
+ * Metadata
73
+ * @type {object}
74
+ * @memberof CreateDocumentRequestDto
75
+ */
76
+ 'metadata'?: object;
77
+ /**
78
+ * Document type
79
+ * @type {string}
80
+ * @memberof CreateDocumentRequestDto
81
+ */
82
+ 'contentType': CreateDocumentRequestDtoContentTypeEnum;
83
+ }
84
+
85
+ export const CreateDocumentRequestDtoRequesterEnum = {
86
+ Publicapi: 'publicapi'
87
+ } as const;
88
+
89
+ export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
90
+ export const CreateDocumentRequestDtoContentTypeEnum = {
91
+ Pdf: 'pdf',
92
+ Jpg: 'jpg',
93
+ Png: 'png',
94
+ Gz: 'gz',
95
+ Csv: 'csv',
96
+ Doc: 'doc',
97
+ Docx: 'docx',
98
+ Html: 'html',
99
+ Json: 'json',
100
+ Xml: 'xml'
101
+ } as const;
102
+
103
+ export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
104
+
105
+
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PublicAPI
5
+ * The EMIL Public 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 { PolicyObjectRequestDto } from './policy-object-request-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateEstimatedInvoiceRequestDto
22
+ */
23
+ export interface CreateEstimatedInvoiceRequestDto {
24
+ /**
25
+ *
26
+ * @type {Array<PolicyObjectRequestDto>}
27
+ * @memberof CreateEstimatedInvoiceRequestDto
28
+ */
29
+ 'policyObjects': Array<PolicyObjectRequestDto>;
30
+ /**
31
+ * Customer data
32
+ * @type {object}
33
+ * @memberof CreateEstimatedInvoiceRequestDto
34
+ */
35
+ 'data': object;
36
+ /**
37
+ * Custom provider name
38
+ * @type {string}
39
+ * @memberof CreateEstimatedInvoiceRequestDto
40
+ */
41
+ 'provider': CreateEstimatedInvoiceRequestDtoProviderEnum;
42
+ }
43
+
44
+ export const CreateEstimatedInvoiceRequestDtoProviderEnum = {
45
+ Squarelife: 'squarelife'
46
+ } as const;
47
+
48
+ export type CreateEstimatedInvoiceRequestDtoProviderEnum = typeof CreateEstimatedInvoiceRequestDtoProviderEnum[keyof typeof CreateEstimatedInvoiceRequestDtoProviderEnum];
49
+
50
+