@insurance-broker/api-client 5.0.0 → 5.1.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 (2) hide show
  1. package/dist/schema.d.ts +9 -5
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -1875,7 +1875,7 @@ export interface paths {
1875
1875
  *
1876
1876
  * 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.
1877
1877
  *
1878
- * **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.
1878
+ * **The submission must belong to the claim's own customer.** One with no owner is refused, and so is one owned by another customer, with the same `400` on `submissionId` as every other reason here. A broker taking a first notice of loss over the telephone starts the form for the claim's customer through `POST /api/v1/form-submissions/for-customer` (ADR-0041 section 4, amended 2026-10-06).
1879
1879
  */
1880
1880
  put: operations["RecordClaimForm"];
1881
1881
  post?: never;
@@ -6607,12 +6607,13 @@ export interface components {
6607
6607
  /** Format: uuid */
6608
6608
  formDefinitionId: string;
6609
6609
  formDefinitionKey: string;
6610
+ formName: string;
6610
6611
  /** Format: uuid */
6611
6612
  definitionVersionId: string;
6612
6613
  /** Format: int32 */
6613
6614
  versionNumber: number | string;
6614
- versionStatus: string;
6615
- status: string;
6615
+ versionStatus: components["schemas"]["FormVersionStatus"];
6616
+ status: components["schemas"]["SubmissionStatus"];
6616
6617
  /** Format: date */
6617
6618
  evaluatedAsOf: string;
6618
6619
  contentHashVerified: boolean;
@@ -7365,12 +7366,13 @@ export interface components {
7365
7366
  /** Format: uuid */
7366
7367
  formDefinitionId: string;
7367
7368
  formDefinitionKey: string;
7369
+ formName: string;
7368
7370
  /** Format: uuid */
7369
7371
  definitionVersionId: string;
7370
7372
  /** Format: int32 */
7371
7373
  versionNumber: number | string;
7372
- versionStatus: string;
7373
- status: string;
7374
+ versionStatus: components["schemas"]["FormVersionStatus"];
7375
+ status: components["schemas"]["SubmissionStatus"];
7374
7376
  /** Format: date */
7375
7377
  evaluatedAsOf: string;
7376
7378
  contentHashVerified: boolean;
@@ -9229,6 +9231,8 @@ export interface components {
9229
9231
  SubmissionAttachmentUpload: {
9230
9232
  file: components["schemas"]["IFormFile"];
9231
9233
  };
9234
+ /** @enum {string} */
9235
+ SubmissionStatus: "Draft" | "Submitted";
9232
9236
  SubmitFormSubmissionRequest: {
9233
9237
  idempotencyKey: null | string;
9234
9238
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "5.0.0",
3
+ "version": "5.1.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,