@insurance-broker/api-client 2.17.0 → 2.18.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 +18 -3
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1163,7 +1163,12 @@ export interface paths {
|
|
|
1163
1163
|
/** The broker's submissions, newest first. */
|
|
1164
1164
|
get: operations["ListFormSubmissions"];
|
|
1165
1165
|
put?: never;
|
|
1166
|
-
/**
|
|
1166
|
+
/**
|
|
1167
|
+
* Starts answering a form, pinning the version that is live now.
|
|
1168
|
+
* @description Starts a submission of the named form on a customer's behalf, against the version of it that is live now.
|
|
1169
|
+
*
|
|
1170
|
+
* **A `409` here is a settled fact, and `type` says which** (#459). `urn:brokerplatform:problem:product-not-open-to-new-business` means the product is not open to new business — still a draft, or withdrawn — so there is nothing to answer against and nothing to retry. `urn:brokerplatform:problem:form-has-no-live-version` means no version of this form is published, so there is nothing to answer until one is.
|
|
1171
|
+
*/
|
|
1167
1172
|
post: operations["StartFormSubmission"];
|
|
1168
1173
|
delete?: never;
|
|
1169
1174
|
options?: never;
|
|
@@ -1231,7 +1236,12 @@ export interface paths {
|
|
|
1231
1236
|
};
|
|
1232
1237
|
get?: never;
|
|
1233
1238
|
put?: never;
|
|
1234
|
-
/**
|
|
1239
|
+
/**
|
|
1240
|
+
* Moves a draft onto the version of its form that is live now.
|
|
1241
|
+
* @description Moves a draft onto the version of its form that is live now, carrying every answer whose question survived and naming the ones that did not.
|
|
1242
|
+
*
|
|
1243
|
+
* **A `409` here is a settled fact.** Two of them carry their own `type` (#459): `urn:brokerplatform:problem:product-not-open-to-new-business` means the product is no longer open to new business, so the draft stays on the version it has; `urn:brokerplatform:problem:form-has-no-live-version` means the form's live version was taken down and there is nothing to move onto. A `409` with the default `type` is the draft already being on the live version, or the submission already having been made.
|
|
1244
|
+
*/
|
|
1235
1245
|
post: operations["RepinFormSubmission"];
|
|
1236
1246
|
delete?: never;
|
|
1237
1247
|
options?: never;
|
|
@@ -1249,7 +1259,12 @@ export interface paths {
|
|
|
1249
1259
|
/** This customer's own submissions, newest first. */
|
|
1250
1260
|
get: operations["ListCustomerFormSubmissions"];
|
|
1251
1261
|
put?: never;
|
|
1252
|
-
/**
|
|
1262
|
+
/**
|
|
1263
|
+
* Starts answering a form, pinning the version that is live now.
|
|
1264
|
+
* @description Starts a submission of the named form for the calling customer, against the version of it that is live now. The owner is never in the request.
|
|
1265
|
+
*
|
|
1266
|
+
* **A `409` here is one of three things, and `type` is what tells them apart** (#459). `urn:brokerplatform:problem:draft-already-open` means you already have a draft of this form open and it is named in `submissionId`, so resume that one rather than showing the sentence in `detail`. `urn:brokerplatform:problem:product-not-open-to-new-business` means the product is no longer offered, so there is nothing to open and nothing to retry. `urn:brokerplatform:problem:form-has-no-live-version` means the broker has not published a version of this form to answer; retrying will not change that until they do.
|
|
1267
|
+
*/
|
|
1253
1268
|
post: operations["StartCustomerFormSubmission"];
|
|
1254
1269
|
delete?: never;
|
|
1255
1270
|
options?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.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,
|