@emilgroup/claim-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 (106) hide show
  1. package/.openapi-generator/FILES +40 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/claim-statuses-api.ts +543 -0
  6. package/api/claims-api.ts +783 -0
  7. package/api/default-api.ts +120 -0
  8. package/api/settlements-api.ts +663 -0
  9. package/api.ts +33 -0
  10. package/base.ts +250 -0
  11. package/common.ts +198 -0
  12. package/configuration.ts +101 -0
  13. package/dist/api/claim-statuses-api.d.ts +309 -0
  14. package/dist/api/claim-statuses-api.js +531 -0
  15. package/dist/api/claims-api.d.ts +441 -0
  16. package/dist/api/claims-api.js +729 -0
  17. package/dist/api/default-api.d.ts +66 -0
  18. package/dist/api/default-api.js +196 -0
  19. package/dist/api/settlements-api.d.ts +375 -0
  20. package/dist/api/settlements-api.js +630 -0
  21. package/dist/api.d.ts +15 -0
  22. package/dist/api.js +33 -0
  23. package/dist/base.d.ts +73 -0
  24. package/dist/base.js +297 -0
  25. package/dist/common.d.ts +91 -0
  26. package/dist/common.js +276 -0
  27. package/dist/configuration.d.ts +83 -0
  28. package/dist/configuration.js +44 -0
  29. package/dist/index.d.ts +15 -0
  30. package/dist/index.js +36 -0
  31. package/dist/models/claim-class.d.ts +156 -0
  32. package/dist/models/claim-class.js +15 -0
  33. package/dist/models/claim-status-class.d.ts +36 -0
  34. package/dist/models/claim-status-class.js +15 -0
  35. package/dist/models/create-claim-request-dto.d.ts +126 -0
  36. package/dist/models/create-claim-request-dto.js +15 -0
  37. package/dist/models/create-claim-response-class.d.ts +25 -0
  38. package/dist/models/create-claim-response-class.js +15 -0
  39. package/dist/models/create-claim-status-request-dto.d.ts +30 -0
  40. package/dist/models/create-claim-status-request-dto.js +15 -0
  41. package/dist/models/create-claim-status-response-class.d.ts +25 -0
  42. package/dist/models/create-claim-status-response-class.js +15 -0
  43. package/dist/models/create-settlement-request-dto.d.ts +48 -0
  44. package/dist/models/create-settlement-request-dto.js +15 -0
  45. package/dist/models/create-settlement-response-class.d.ts +25 -0
  46. package/dist/models/create-settlement-response-class.js +15 -0
  47. package/dist/models/get-claim-response-class.d.ts +25 -0
  48. package/dist/models/get-claim-response-class.js +15 -0
  49. package/dist/models/get-claim-status-response-class.d.ts +25 -0
  50. package/dist/models/get-claim-status-response-class.js +15 -0
  51. package/dist/models/get-settlement-response-class.d.ts +25 -0
  52. package/dist/models/get-settlement-response-class.js +15 -0
  53. package/dist/models/index.d.ts +23 -0
  54. package/dist/models/index.js +39 -0
  55. package/dist/models/inline-response200.d.ts +54 -0
  56. package/dist/models/inline-response200.js +15 -0
  57. package/dist/models/inline-response503.d.ts +54 -0
  58. package/dist/models/inline-response503.js +15 -0
  59. package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
  60. package/dist/models/list-claim-statuses-response-class.js +15 -0
  61. package/dist/models/list-claims-response-class.d.ts +31 -0
  62. package/dist/models/list-claims-response-class.js +15 -0
  63. package/dist/models/list-settlements-response-class.d.ts +31 -0
  64. package/dist/models/list-settlements-response-class.js +15 -0
  65. package/dist/models/patch-claim-request-dto.d.ts +126 -0
  66. package/dist/models/patch-claim-request-dto.js +15 -0
  67. package/dist/models/patch-claim-response-class.d.ts +25 -0
  68. package/dist/models/patch-claim-response-class.js +15 -0
  69. package/dist/models/settlement-class.d.ts +78 -0
  70. package/dist/models/settlement-class.js +15 -0
  71. package/dist/models/update-claim-request-dto.d.ts +126 -0
  72. package/dist/models/update-claim-request-dto.js +15 -0
  73. package/dist/models/update-claim-response-class.d.ts +25 -0
  74. package/dist/models/update-claim-response-class.js +15 -0
  75. package/dist/models/update-settlement-request-dto.d.ts +54 -0
  76. package/dist/models/update-settlement-request-dto.js +15 -0
  77. package/dist/models/update-settlement-response-class.d.ts +25 -0
  78. package/dist/models/update-settlement-response-class.js +15 -0
  79. package/git_push.sh +57 -0
  80. package/index.ts +19 -0
  81. package/models/claim-class.ts +162 -0
  82. package/models/claim-status-class.ts +42 -0
  83. package/models/create-claim-request-dto.ts +132 -0
  84. package/models/create-claim-response-class.ts +31 -0
  85. package/models/create-claim-status-request-dto.ts +36 -0
  86. package/models/create-claim-status-response-class.ts +31 -0
  87. package/models/create-settlement-request-dto.ts +54 -0
  88. package/models/create-settlement-response-class.ts +31 -0
  89. package/models/get-claim-response-class.ts +31 -0
  90. package/models/get-claim-status-response-class.ts +31 -0
  91. package/models/get-settlement-response-class.ts +31 -0
  92. package/models/index.ts +23 -0
  93. package/models/inline-response200.ts +48 -0
  94. package/models/inline-response503.ts +48 -0
  95. package/models/list-claim-statuses-response-class.ts +37 -0
  96. package/models/list-claims-response-class.ts +37 -0
  97. package/models/list-settlements-response-class.ts +37 -0
  98. package/models/patch-claim-request-dto.ts +132 -0
  99. package/models/patch-claim-response-class.ts +31 -0
  100. package/models/settlement-class.ts +84 -0
  101. package/models/update-claim-request-dto.ts +132 -0
  102. package/models/update-claim-response-class.ts +31 -0
  103. package/models/update-settlement-request-dto.ts +60 -0
  104. package/models/update-settlement-response-class.ts +31 -0
  105. package/package.json +27 -0
  106. package/tsconfig.json +22 -0
@@ -0,0 +1,54 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 UpdateSettlementRequestDto
16
+ */
17
+ export interface UpdateSettlementRequestDto {
18
+ /**
19
+ * The identifier code of the claim.
20
+ * @type {string}
21
+ * @memberof UpdateSettlementRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Field to enter the insured object for settlement against a particular claim.
26
+ * @type {string}
27
+ * @memberof UpdateSettlementRequestDto
28
+ */
29
+ 'insuredObject': string;
30
+ /**
31
+ * Field for the estimation of the maximum amount against a claim for the insured object.
32
+ * @type {number}
33
+ * @memberof UpdateSettlementRequestDto
34
+ */
35
+ 'reserve': number;
36
+ /**
37
+ * Field for tracking the already paid out amounts against a claim for the insured object.
38
+ * @type {number}
39
+ * @memberof UpdateSettlementRequestDto
40
+ */
41
+ 'payment': number;
42
+ /**
43
+ * Field for tracking the amount to be claimed against third party.
44
+ * @type {number}
45
+ * @memberof UpdateSettlementRequestDto
46
+ */
47
+ 'recourse': number;
48
+ /**
49
+ * Unique identifier of the claim to which settlement belongs to.
50
+ * @type {string}
51
+ * @memberof UpdateSettlementRequestDto
52
+ */
53
+ 'claimCode': string;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
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 { SettlementClass } from './settlement-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateSettlementResponseClass
17
+ */
18
+ export interface UpdateSettlementResponseClass {
19
+ /**
20
+ * Settlement
21
+ * @type {SettlementClass}
22
+ * @memberof UpdateSettlementResponseClass
23
+ */
24
+ 'settlement': SettlementClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
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="account-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 ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 { Environment, BaseAPI } from "./base";
17
+ export * from "./api";
18
+ export * from "./configuration";
19
+ export * from "./models";
@@ -0,0 +1,162 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 ClaimClass
21
+ */
22
+ export interface ClaimClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof ClaimClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof ClaimClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Title of the claim.
37
+ * @type {string}
38
+ * @memberof ClaimClass
39
+ */
40
+ 'title': string;
41
+ /**
42
+ * Unique number assigned to the claim.
43
+ * @type {string}
44
+ * @memberof ClaimClass
45
+ */
46
+ 'claimNumber': string;
47
+ /**
48
+ * The current status of the claim.
49
+ * @type {string}
50
+ * @memberof ClaimClass
51
+ */
52
+ 'status': string;
53
+ /**
54
+ * Unique identifier of the account that the claim belongs to.
55
+ * @type {string}
56
+ * @memberof ClaimClass
57
+ */
58
+ 'accountCode': string;
59
+ /**
60
+ * Field for the policy code that the claim belongs to.
61
+ * @type {string}
62
+ * @memberof ClaimClass
63
+ */
64
+ 'policyCode': string;
65
+ /**
66
+ * The policy number that the claim belongs to
67
+ * @type {string}
68
+ * @memberof ClaimClass
69
+ */
70
+ 'policyNumber': string;
71
+ /**
72
+ * Unique identifier referencing the product.
73
+ * @type {number}
74
+ * @memberof ClaimClass
75
+ */
76
+ 'productId': number;
77
+ /**
78
+ * Unique identifier referencing the product version.
79
+ * @type {number}
80
+ * @memberof ClaimClass
81
+ */
82
+ 'productVersionId': number;
83
+ /**
84
+ * The name of the product.
85
+ * @type {string}
86
+ * @memberof ClaimClass
87
+ */
88
+ 'productName': string;
89
+ /**
90
+ * The insured object identifier that the claim is made for.
91
+ * @type {number}
92
+ * @memberof ClaimClass
93
+ */
94
+ 'insuredObjectId': number;
95
+ /**
96
+ * Claim description.
97
+ * @type {string}
98
+ * @memberof ClaimClass
99
+ */
100
+ 'description': string;
101
+ /**
102
+ * A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
103
+ * @type {string}
104
+ * @memberof ClaimClass
105
+ */
106
+ 'adjuster'?: string;
107
+ /**
108
+ * A claim reporter is the person who is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
109
+ * @type {string}
110
+ * @memberof ClaimClass
111
+ */
112
+ 'reporter': string;
113
+ /**
114
+ * Contact phone number.
115
+ * @type {string}
116
+ * @memberof ClaimClass
117
+ */
118
+ 'contactPhone'?: string;
119
+ /**
120
+ * Contact email address.
121
+ * @type {string}
122
+ * @memberof ClaimClass
123
+ */
124
+ 'contactEmail'?: string;
125
+ /**
126
+ * The date on which the actual damage happened.
127
+ * @type {string}
128
+ * @memberof ClaimClass
129
+ */
130
+ 'damageDate': string;
131
+ /**
132
+ * The date on which the damage was reported.
133
+ * @type {string}
134
+ * @memberof ClaimClass
135
+ */
136
+ 'notificationDate': string;
137
+ /**
138
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
139
+ * @type {object}
140
+ * @memberof ClaimClass
141
+ */
142
+ 'customFields'?: object;
143
+ /**
144
+ * Time at which the object was created.
145
+ * @type {string}
146
+ * @memberof ClaimClass
147
+ */
148
+ 'createdAt': string;
149
+ /**
150
+ * Time at which the object was updated.
151
+ * @type {string}
152
+ * @memberof ClaimClass
153
+ */
154
+ 'updatedAt': string;
155
+ /**
156
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
157
+ * @type {string}
158
+ * @memberof ClaimClass
159
+ */
160
+ 'ern': string;
161
+ }
162
+
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 ClaimStatusClass
21
+ */
22
+ export interface ClaimStatusClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof ClaimStatusClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Name of the claim status.
31
+ * @type {string}
32
+ * @memberof ClaimStatusClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
37
+ * @type {string}
38
+ * @memberof ClaimStatusClass
39
+ */
40
+ 'productSlug': string;
41
+ }
42
+
@@ -0,0 +1,132 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 CreateClaimRequestDto
21
+ */
22
+ export interface CreateClaimRequestDto {
23
+ /**
24
+ * Unique number assigned to the claim.
25
+ * @type {string}
26
+ * @memberof CreateClaimRequestDto
27
+ */
28
+ 'claimNumber'?: string;
29
+ /**
30
+ * Field to enter the claim title.
31
+ * @type {string}
32
+ * @memberof CreateClaimRequestDto
33
+ */
34
+ 'title': string;
35
+ /**
36
+ * The current status of the claim.
37
+ * @type {string}
38
+ * @memberof CreateClaimRequestDto
39
+ */
40
+ 'status'?: string;
41
+ /**
42
+ * Unique identifier of the account that the claim belongs to.
43
+ * @type {string}
44
+ * @memberof CreateClaimRequestDto
45
+ */
46
+ 'accountCode': string;
47
+ /**
48
+ * Field for the policy number that the claim belongs to.
49
+ * @type {string}
50
+ * @memberof CreateClaimRequestDto
51
+ */
52
+ 'policyNumber': string;
53
+ /**
54
+ * Field for the policy code that the claim belongs to.
55
+ * @type {string}
56
+ * @memberof CreateClaimRequestDto
57
+ */
58
+ 'policyCode': string;
59
+ /**
60
+ * Unique identifier referencing the product.
61
+ * @type {number}
62
+ * @memberof CreateClaimRequestDto
63
+ */
64
+ 'productId': number;
65
+ /**
66
+ * Unique identifier referencing the product version.
67
+ * @type {number}
68
+ * @memberof CreateClaimRequestDto
69
+ */
70
+ 'productVersionId': number;
71
+ /**
72
+ * The name of the product.
73
+ * @type {string}
74
+ * @memberof CreateClaimRequestDto
75
+ */
76
+ 'productName': string;
77
+ /**
78
+ * The insured object identifier that the claim is made for.
79
+ * @type {number}
80
+ * @memberof CreateClaimRequestDto
81
+ */
82
+ 'insuredObjectId': number;
83
+ /**
84
+ * The claim\'s description in 5000 characters.
85
+ * @type {string}
86
+ * @memberof CreateClaimRequestDto
87
+ */
88
+ 'description': string;
89
+ /**
90
+ * The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
91
+ * @type {string}
92
+ * @memberof CreateClaimRequestDto
93
+ */
94
+ 'adjuster'?: string;
95
+ /**
96
+ * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
97
+ * @type {string}
98
+ * @memberof CreateClaimRequestDto
99
+ */
100
+ 'reporter': string;
101
+ /**
102
+ * The contact email of the policyholder.
103
+ * @type {string}
104
+ * @memberof CreateClaimRequestDto
105
+ */
106
+ 'contactEmail'?: string;
107
+ /**
108
+ * The contact phone of the policyholder.
109
+ * @type {string}
110
+ * @memberof CreateClaimRequestDto
111
+ */
112
+ 'contactPhone'?: string;
113
+ /**
114
+ * The claim\'s damage date.
115
+ * @type {string}
116
+ * @memberof CreateClaimRequestDto
117
+ */
118
+ 'damageDate'?: string;
119
+ /**
120
+ * The date on which the claim is reported.
121
+ * @type {string}
122
+ * @memberof CreateClaimRequestDto
123
+ */
124
+ 'notificationDate': string;
125
+ /**
126
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
127
+ * @type {object}
128
+ * @memberof CreateClaimRequestDto
129
+ */
130
+ 'customFields'?: object;
131
+ }
132
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 { ClaimClass } from './claim-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateClaimResponseClass
22
+ */
23
+ export interface CreateClaimResponseClass {
24
+ /**
25
+ * Claim
26
+ * @type {ClaimClass}
27
+ * @memberof CreateClaimResponseClass
28
+ */
29
+ 'claim': ClaimClass;
30
+ }
31
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 CreateClaimStatusRequestDto
21
+ */
22
+ export interface CreateClaimStatusRequestDto {
23
+ /**
24
+ * Name of the claim status. Tenants can add their own custom claim statuses, if default statuses are not suitable for their products.
25
+ * @type {string}
26
+ * @memberof CreateClaimStatusRequestDto
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * @type {string}
32
+ * @memberof CreateClaimStatusRequestDto
33
+ */
34
+ 'productSlug': string;
35
+ }
36
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 { ClaimStatusClass } from './claim-status-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateClaimStatusResponseClass
22
+ */
23
+ export interface CreateClaimStatusResponseClass {
24
+ /**
25
+ * The claim status response.
26
+ * @type {ClaimStatusClass}
27
+ * @memberof CreateClaimStatusResponseClass
28
+ */
29
+ 'claimStatus': ClaimStatusClass;
30
+ }
31
+
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 CreateSettlementRequestDto
21
+ */
22
+ export interface CreateSettlementRequestDto {
23
+ /**
24
+ * Field to enter the insured object for settlement against a particular claim.
25
+ * @type {string}
26
+ * @memberof CreateSettlementRequestDto
27
+ */
28
+ 'insuredObject': string;
29
+ /**
30
+ * Field for the estimation of the maximum amount against a claim for the insured object.
31
+ * @type {number}
32
+ * @memberof CreateSettlementRequestDto
33
+ */
34
+ 'reserve': number;
35
+ /**
36
+ * Field for tracking the already paid out amounts against a claim for the insured object.
37
+ * @type {number}
38
+ * @memberof CreateSettlementRequestDto
39
+ */
40
+ 'payment': number;
41
+ /**
42
+ * Field for tracking the amount to be claimed against third party.
43
+ * @type {number}
44
+ * @memberof CreateSettlementRequestDto
45
+ */
46
+ 'recourse': number;
47
+ /**
48
+ * Unique identifier of the claim to which settlement belongs to.
49
+ * @type {string}
50
+ * @memberof CreateSettlementRequestDto
51
+ */
52
+ 'claimCode': string;
53
+ }
54
+