@insurance-broker/api-client 1.20.0 → 1.21.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.
- package/dist/schema.d.ts +83 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -901,6 +901,32 @@ export interface paths {
|
|
|
901
901
|
patch?: never;
|
|
902
902
|
trace?: never;
|
|
903
903
|
};
|
|
904
|
+
"/api/v1/claims/{id}/form": {
|
|
905
|
+
parameters: {
|
|
906
|
+
query?: never;
|
|
907
|
+
header?: never;
|
|
908
|
+
path?: never;
|
|
909
|
+
cookie?: never;
|
|
910
|
+
};
|
|
911
|
+
get?: never;
|
|
912
|
+
/**
|
|
913
|
+
* Record the claim form the customer answered
|
|
914
|
+
* @description CLM-002. The customer answers the product's published claim form through the form routes; this records which submission it was.
|
|
915
|
+
*
|
|
916
|
+
* **Nothing here captures or validates an answer.** A claim form is an ordinary form definition of kind `Claim` against the same product, read by the same engine that serves quotes (ADR-0041 section 4).
|
|
917
|
+
*
|
|
918
|
+
* Refused if the submission is not a submitted claim form for this claim's product, or if it was submitted before the claim was reported - a submission that predates the claim cannot be an account of it. A submission already recorded against another claim is refused too.
|
|
919
|
+
*
|
|
920
|
+
* **A submission with no owner is accepted.** A claim already knows whose it is, from the policy it was checked against, so it asks nothing of the submission's ownership - which is what lets a broker take a first notice of loss over the telephone and answer the form with the customer on the line.
|
|
921
|
+
*/
|
|
922
|
+
put: operations["RecordClaimForm"];
|
|
923
|
+
post?: never;
|
|
924
|
+
delete?: never;
|
|
925
|
+
options?: never;
|
|
926
|
+
head?: never;
|
|
927
|
+
patch?: never;
|
|
928
|
+
trace?: never;
|
|
929
|
+
};
|
|
904
930
|
"/api/v1/claims/{id}/withdrawal": {
|
|
905
931
|
parameters: {
|
|
906
932
|
query?: never;
|
|
@@ -3067,6 +3093,8 @@ export interface components {
|
|
|
3067
3093
|
status: string;
|
|
3068
3094
|
/** Format: date-time */
|
|
3069
3095
|
retentionAnchorAtUtc: null | string;
|
|
3096
|
+
/** Format: uuid */
|
|
3097
|
+
claimFormSubmissionId: null | string;
|
|
3070
3098
|
};
|
|
3071
3099
|
ClaimTimelineEntryResponse: {
|
|
3072
3100
|
/** Format: uuid */
|
|
@@ -4054,6 +4082,10 @@ export interface components {
|
|
|
4054
4082
|
answers: null | components["schemas"]["JsonElement"];
|
|
4055
4083
|
source: null | string;
|
|
4056
4084
|
};
|
|
4085
|
+
RecordClaimFormRequest: {
|
|
4086
|
+
/** Format: uuid */
|
|
4087
|
+
submissionId: string;
|
|
4088
|
+
};
|
|
4057
4089
|
RecordFollowUpRequest: {
|
|
4058
4090
|
/** Format: date */
|
|
4059
4091
|
dueOn: null | string;
|
|
@@ -6887,6 +6919,57 @@ export interface operations {
|
|
|
6887
6919
|
};
|
|
6888
6920
|
};
|
|
6889
6921
|
};
|
|
6922
|
+
RecordClaimForm: {
|
|
6923
|
+
parameters: {
|
|
6924
|
+
query?: never;
|
|
6925
|
+
header?: never;
|
|
6926
|
+
path: {
|
|
6927
|
+
id: string;
|
|
6928
|
+
};
|
|
6929
|
+
cookie?: never;
|
|
6930
|
+
};
|
|
6931
|
+
requestBody: {
|
|
6932
|
+
content: {
|
|
6933
|
+
"application/json": components["schemas"]["RecordClaimFormRequest"];
|
|
6934
|
+
};
|
|
6935
|
+
};
|
|
6936
|
+
responses: {
|
|
6937
|
+
/** @description OK */
|
|
6938
|
+
200: {
|
|
6939
|
+
headers: {
|
|
6940
|
+
[name: string]: unknown;
|
|
6941
|
+
};
|
|
6942
|
+
content: {
|
|
6943
|
+
"application/json": components["schemas"]["ClaimResponse"];
|
|
6944
|
+
};
|
|
6945
|
+
};
|
|
6946
|
+
/** @description Bad Request */
|
|
6947
|
+
400: {
|
|
6948
|
+
headers: {
|
|
6949
|
+
[name: string]: unknown;
|
|
6950
|
+
};
|
|
6951
|
+
content: {
|
|
6952
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
6953
|
+
};
|
|
6954
|
+
};
|
|
6955
|
+
/** @description Not Found */
|
|
6956
|
+
404: {
|
|
6957
|
+
headers: {
|
|
6958
|
+
[name: string]: unknown;
|
|
6959
|
+
};
|
|
6960
|
+
content?: never;
|
|
6961
|
+
};
|
|
6962
|
+
/** @description Conflict */
|
|
6963
|
+
409: {
|
|
6964
|
+
headers: {
|
|
6965
|
+
[name: string]: unknown;
|
|
6966
|
+
};
|
|
6967
|
+
content: {
|
|
6968
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
6969
|
+
};
|
|
6970
|
+
};
|
|
6971
|
+
};
|
|
6972
|
+
};
|
|
6890
6973
|
WithdrawClaim: {
|
|
6891
6974
|
parameters: {
|
|
6892
6975
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "Generated TypeScript client for the Insurance Broker Platform API. Do not edit by hand: regenerate with scripts/update-api-contract.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|