@insurance-broker/api-client 1.7.0 → 1.8.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 +162 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1867,6 +1867,46 @@ export interface paths {
|
|
|
1867
1867
|
patch?: never;
|
|
1868
1868
|
trace?: never;
|
|
1869
1869
|
};
|
|
1870
|
+
"/api/v1/renewals/{id}/quote-request": {
|
|
1871
|
+
parameters: {
|
|
1872
|
+
query?: never;
|
|
1873
|
+
header?: never;
|
|
1874
|
+
path?: never;
|
|
1875
|
+
cookie?: never;
|
|
1876
|
+
};
|
|
1877
|
+
get?: never;
|
|
1878
|
+
/**
|
|
1879
|
+
* Name the quote request this renewal went to market on
|
|
1880
|
+
* @description REN-004. A renewal that goes to market raises an ordinary quote request through the quote routes; this records which one. It records no terms and satisfies no condition - going to market is not a promise about anything. Refused if the quote request has already been accepted by someone else or for another product, if its acceptance predates the renewal - which means it is the quote that placed the policy being renewed - or if another renewal already names it.
|
|
1881
|
+
*/
|
|
1882
|
+
put: operations["RecordRenewalQuoteRequest"];
|
|
1883
|
+
post?: never;
|
|
1884
|
+
delete?: never;
|
|
1885
|
+
options?: never;
|
|
1886
|
+
head?: never;
|
|
1887
|
+
patch?: never;
|
|
1888
|
+
trace?: never;
|
|
1889
|
+
};
|
|
1890
|
+
"/api/v1/renewals/{id}/terms": {
|
|
1891
|
+
parameters: {
|
|
1892
|
+
query?: never;
|
|
1893
|
+
header?: never;
|
|
1894
|
+
path?: never;
|
|
1895
|
+
cookie?: never;
|
|
1896
|
+
};
|
|
1897
|
+
get?: never;
|
|
1898
|
+
/**
|
|
1899
|
+
* Record that the customer accepted this renewal's quote
|
|
1900
|
+
* @description REN-004. Reads the acceptance for the quote request this renewal already names and satisfies both terms conditions from it, because a quote cannot be accepted unless it was presented. Takes no body: the request is the one on the case, so this cannot be pointed at a different quote. The customer accepts on the quote itself - this platform has no route for a broker to accept on their behalf - so this is refused until they have, naming the conditions still outstanding. It creates no policy and moves no policy's status: two of the five conditions remain.
|
|
1901
|
+
*/
|
|
1902
|
+
put: operations["RecordRenewalTerms"];
|
|
1903
|
+
post?: never;
|
|
1904
|
+
delete?: never;
|
|
1905
|
+
options?: never;
|
|
1906
|
+
head?: never;
|
|
1907
|
+
patch?: never;
|
|
1908
|
+
trace?: never;
|
|
1909
|
+
};
|
|
1870
1910
|
"/api/v1/customer/policy-documents": {
|
|
1871
1911
|
parameters: {
|
|
1872
1912
|
query?: never;
|
|
@@ -3658,6 +3698,10 @@ export interface components {
|
|
|
3658
3698
|
/** Format: uuid */
|
|
3659
3699
|
formSubmissionId: null | string;
|
|
3660
3700
|
};
|
|
3701
|
+
RecordRenewalQuoteRequestRequest: {
|
|
3702
|
+
/** Format: uuid */
|
|
3703
|
+
quoteRequestId: null | string;
|
|
3704
|
+
};
|
|
3661
3705
|
RedeemedCustomerAccountResponse: {
|
|
3662
3706
|
/** Format: uuid */
|
|
3663
3707
|
customerId: string;
|
|
@@ -3722,6 +3766,17 @@ export interface components {
|
|
|
3722
3766
|
changedAtUtc: null | string;
|
|
3723
3767
|
changedBySubjectId: null | string;
|
|
3724
3768
|
};
|
|
3769
|
+
RenewalTermsResponse: {
|
|
3770
|
+
/** Format: uuid */
|
|
3771
|
+
renewalCaseId: string;
|
|
3772
|
+
/** Format: uuid */
|
|
3773
|
+
quoteRequestId: string;
|
|
3774
|
+
status: string;
|
|
3775
|
+
/** Format: date-time */
|
|
3776
|
+
insurerTermsSatisfiedAtUtc: null | string;
|
|
3777
|
+
/** Format: date-time */
|
|
3778
|
+
customerAcceptanceSatisfiedAtUtc: null | string;
|
|
3779
|
+
};
|
|
3725
3780
|
RepinnedSubmissionResponse: {
|
|
3726
3781
|
submission: components["schemas"]["FormSubmissionResponse"];
|
|
3727
3782
|
carriedAnswerKeys: string[];
|
|
@@ -8902,6 +8957,113 @@ export interface operations {
|
|
|
8902
8957
|
};
|
|
8903
8958
|
};
|
|
8904
8959
|
};
|
|
8960
|
+
RecordRenewalQuoteRequest: {
|
|
8961
|
+
parameters: {
|
|
8962
|
+
query?: never;
|
|
8963
|
+
header?: never;
|
|
8964
|
+
path: {
|
|
8965
|
+
id: string;
|
|
8966
|
+
};
|
|
8967
|
+
cookie?: never;
|
|
8968
|
+
};
|
|
8969
|
+
requestBody: {
|
|
8970
|
+
content: {
|
|
8971
|
+
"application/json": components["schemas"]["RecordRenewalQuoteRequestRequest"];
|
|
8972
|
+
};
|
|
8973
|
+
};
|
|
8974
|
+
responses: {
|
|
8975
|
+
/** @description OK */
|
|
8976
|
+
200: {
|
|
8977
|
+
headers: {
|
|
8978
|
+
[name: string]: unknown;
|
|
8979
|
+
};
|
|
8980
|
+
content: {
|
|
8981
|
+
"application/json": components["schemas"]["RenewalTermsResponse"];
|
|
8982
|
+
};
|
|
8983
|
+
};
|
|
8984
|
+
/** @description Bad Request */
|
|
8985
|
+
400: {
|
|
8986
|
+
headers: {
|
|
8987
|
+
[name: string]: unknown;
|
|
8988
|
+
};
|
|
8989
|
+
content: {
|
|
8990
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
8991
|
+
};
|
|
8992
|
+
};
|
|
8993
|
+
/** @description Not Found */
|
|
8994
|
+
404: {
|
|
8995
|
+
headers: {
|
|
8996
|
+
[name: string]: unknown;
|
|
8997
|
+
};
|
|
8998
|
+
content?: never;
|
|
8999
|
+
};
|
|
9000
|
+
/** @description Conflict */
|
|
9001
|
+
409: {
|
|
9002
|
+
headers: {
|
|
9003
|
+
[name: string]: unknown;
|
|
9004
|
+
};
|
|
9005
|
+
content: {
|
|
9006
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
9007
|
+
};
|
|
9008
|
+
};
|
|
9009
|
+
/** @description Unprocessable Entity */
|
|
9010
|
+
422: {
|
|
9011
|
+
headers: {
|
|
9012
|
+
[name: string]: unknown;
|
|
9013
|
+
};
|
|
9014
|
+
content: {
|
|
9015
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
9016
|
+
};
|
|
9017
|
+
};
|
|
9018
|
+
};
|
|
9019
|
+
};
|
|
9020
|
+
RecordRenewalTerms: {
|
|
9021
|
+
parameters: {
|
|
9022
|
+
query?: never;
|
|
9023
|
+
header?: never;
|
|
9024
|
+
path: {
|
|
9025
|
+
id: string;
|
|
9026
|
+
};
|
|
9027
|
+
cookie?: never;
|
|
9028
|
+
};
|
|
9029
|
+
requestBody?: never;
|
|
9030
|
+
responses: {
|
|
9031
|
+
/** @description OK */
|
|
9032
|
+
200: {
|
|
9033
|
+
headers: {
|
|
9034
|
+
[name: string]: unknown;
|
|
9035
|
+
};
|
|
9036
|
+
content: {
|
|
9037
|
+
"application/json": components["schemas"]["RenewalTermsResponse"];
|
|
9038
|
+
};
|
|
9039
|
+
};
|
|
9040
|
+
/** @description Not Found */
|
|
9041
|
+
404: {
|
|
9042
|
+
headers: {
|
|
9043
|
+
[name: string]: unknown;
|
|
9044
|
+
};
|
|
9045
|
+
content?: never;
|
|
9046
|
+
};
|
|
9047
|
+
/** @description Conflict */
|
|
9048
|
+
409: {
|
|
9049
|
+
headers: {
|
|
9050
|
+
[name: string]: unknown;
|
|
9051
|
+
};
|
|
9052
|
+
content: {
|
|
9053
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
9054
|
+
};
|
|
9055
|
+
};
|
|
9056
|
+
/** @description Unprocessable Entity */
|
|
9057
|
+
422: {
|
|
9058
|
+
headers: {
|
|
9059
|
+
[name: string]: unknown;
|
|
9060
|
+
};
|
|
9061
|
+
content: {
|
|
9062
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
9063
|
+
};
|
|
9064
|
+
};
|
|
9065
|
+
};
|
|
9066
|
+
};
|
|
8905
9067
|
ListCustomerPolicyDocuments: {
|
|
8906
9068
|
parameters: {
|
|
8907
9069
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.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,
|