@insurance-broker/api-client 5.44.0 → 5.46.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 +33 -8
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -7483,6 +7483,8 @@ export interface components {
7483
7483
  isSatisfied: boolean;
7484
7484
  enteredBy: string;
7485
7485
  };
7486
+ /** @enum {string} */
7487
+ CustomerImportRowOutcome: "Pending" | "Accepted" | "Refused";
7486
7488
  CustomerImportRowPage: {
7487
7489
  items: components["schemas"]["CustomerImportRowResponse"][];
7488
7490
  nextCursor: null | string;
@@ -7495,7 +7497,7 @@ export interface components {
7495
7497
  CustomerImportRowResponse: {
7496
7498
  /** Format: int32 */
7497
7499
  lineNumber: number;
7498
- outcome: string;
7500
+ outcome: components["schemas"]["CustomerImportRowOutcome"];
7499
7501
  /** Format: uuid */
7500
7502
  customerId: null | string;
7501
7503
  reasons: components["schemas"]["CustomerImportRowReason"][];
@@ -7507,7 +7509,7 @@ export interface components {
7507
7509
  CustomerImportRunResponse: {
7508
7510
  /** Format: uuid */
7509
7511
  id: string;
7510
- status: string;
7512
+ status: components["schemas"]["CustomerImportRunStatus"];
7511
7513
  fileName: string;
7512
7514
  /** Format: int32 */
7513
7515
  rowCount: number;
@@ -7530,6 +7532,8 @@ export interface components {
7530
7532
  commitRefusalReason: null | string;
7531
7533
  concurrencyToken: string;
7532
7534
  };
7535
+ /** @enum {string} */
7536
+ CustomerImportRunStatus: "Staged" | "Validated" | "Refused" | "ValidationFailed" | "Abandoned" | "Committing" | "Committed" | "CommitRefused" | "CommitFailed" | "Expired";
7533
7537
  CustomerImportUpload: {
7534
7538
  file: components["schemas"]["IFormFile"];
7535
7539
  };
@@ -7982,7 +7986,7 @@ export interface components {
7982
7986
  DocumentTemplateResponse: {
7983
7987
  /** Format: uuid */
7984
7988
  id: string;
7985
- kind: string;
7989
+ kind: components["schemas"]["PolicyDocumentKind"];
7986
7990
  key: string;
7987
7991
  name: string;
7988
7992
  /** Format: date-time */
@@ -8003,7 +8007,7 @@ export interface components {
8003
8007
  id: string;
8004
8008
  /** Format: int32 */
8005
8009
  versionNumber: number;
8006
- status: string;
8010
+ status: components["schemas"]["TemplateVersionStatus"];
8007
8011
  /** Format: int32 */
8008
8012
  bodySchemaVersion: number;
8009
8013
  contentHash: null | string;
@@ -8749,10 +8753,12 @@ export interface components {
8749
8753
  releaseReason: null | string;
8750
8754
  isOpen: boolean;
8751
8755
  };
8756
+ /** @enum {string} */
8757
+ LegalTextKind: "TermsOfBusiness" | "PrivacyNotice" | "ComplaintsProcedure";
8752
8758
  LegalTextResponse: {
8753
8759
  /** Format: uuid */
8754
8760
  id: string;
8755
- kind: string;
8761
+ kind: components["schemas"]["LegalTextKind"];
8756
8762
  /** Format: int32 */
8757
8763
  version: number;
8758
8764
  body: string;
@@ -9290,6 +9296,8 @@ export interface components {
9290
9296
  /** Format: date-time */
9291
9297
  expiresAtUtc: string;
9292
9298
  };
9299
+ /** @enum {string} */
9300
+ PolicyDocumentKind: "Policy" | "Certificate" | "Invoice" | "Receipt" | "Correspondence" | "DebitNote" | "CreditNote";
9293
9301
  PolicyDocumentPage: {
9294
9302
  items: components["schemas"]["PolicyDocumentResponse"][];
9295
9303
  nextCursor: null | string;
@@ -9318,6 +9326,8 @@ export interface components {
9318
9326
  PolicyDocumentUpload: {
9319
9327
  file: components["schemas"]["IFormFile"];
9320
9328
  };
9329
+ /** @enum {string} */
9330
+ PolicyImportRowOutcome: "Pending" | "Accepted" | "Refused";
9321
9331
  PolicyImportRowPage: {
9322
9332
  items: components["schemas"]["PolicyImportRowResponse"][];
9323
9333
  nextCursor: null | string;
@@ -9330,7 +9340,7 @@ export interface components {
9330
9340
  PolicyImportRowResponse: {
9331
9341
  /** Format: int32 */
9332
9342
  lineNumber: number;
9333
- outcome: string;
9343
+ outcome: components["schemas"]["PolicyImportRowOutcome"];
9334
9344
  /** Format: uuid */
9335
9345
  policyId: null | string;
9336
9346
  reasons: components["schemas"]["PolicyImportRowReason"][];
@@ -9342,7 +9352,7 @@ export interface components {
9342
9352
  PolicyImportRunResponse: {
9343
9353
  /** Format: uuid */
9344
9354
  id: string;
9345
- status: string;
9355
+ status: components["schemas"]["PolicyImportRunStatus"];
9346
9356
  fileName: string;
9347
9357
  /** Format: int32 */
9348
9358
  rowCount: number;
@@ -9365,6 +9375,8 @@ export interface components {
9365
9375
  commitRefusalReason: null | string;
9366
9376
  concurrencyToken: string;
9367
9377
  };
9378
+ /** @enum {string} */
9379
+ PolicyImportRunStatus: "Staged" | "Validated" | "Refused" | "ValidationFailed" | "Abandoned" | "Committing" | "Committed" | "CommitRefused" | "CommitFailed" | "Expired";
9368
9380
  PolicyImportUpload: {
9369
9381
  file: components["schemas"]["IFormFile"];
9370
9382
  };
@@ -9771,7 +9783,7 @@ export interface components {
9771
9783
  /** Format: uuid */
9772
9784
  formSubmissionId: null | string;
9773
9785
  };
9774
- /** @description RFC 9457 problem answered when a request to render, produce or export, or to upload an import file, was refused because a rate limit's budget is spent (ADR-0050, ADR-0051). Nothing was done. Branch on type, not on title or detail, which are human-readable and not fixed. */
9786
+ /** @description RFC 9457 problem answered when a request to render, produce or export, to upload an import file, or to issue a customer invitation, was refused because a rate limit's budget is spent (ADR-0050, ADR-0051, ADR-0049). Nothing was done. Branch on type, not on title or detail, which are human-readable and not fixed. */
9775
9787
  RateLimitedProblem: {
9776
9788
  /**
9777
9789
  * @description Identifies the problem kind. A stable URN; it is not promised to resolve.
@@ -10502,6 +10514,8 @@ export interface components {
10502
10514
  /** @description Why, in a sentence a person can act on. Prose: it will be reworded, so never parse it or key on it. */
10503
10515
  message: string;
10504
10516
  };
10517
+ /** @enum {string} */
10518
+ TemplateVersionStatus: "Draft" | "Published" | "Retired";
10505
10519
  TenantAdministratorResponse: {
10506
10520
  /** Format: uuid */
10507
10521
  membershipId: string;
@@ -17433,6 +17447,17 @@ export interface operations {
17433
17447
  "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
17434
17448
  };
17435
17449
  };
17450
+ /** @description Too Many Requests. Your organisation has issued a lot of customer invitations in a short time, and its allowance for the current window is spent. No invitation was issued and no code exists for this request. budget is always tenant. Wait the number of seconds in Retry-After (also in retryAfterSeconds) before trying again. */
17451
+ 429: {
17452
+ headers: {
17453
+ /** @description Whole seconds to wait before retrying; at least 1. */
17454
+ "Retry-After": number;
17455
+ [name: string]: unknown;
17456
+ };
17457
+ content: {
17458
+ "application/problem+json": components["schemas"]["RateLimitedProblem"];
17459
+ };
17460
+ };
17436
17461
  };
17437
17462
  };
17438
17463
  RevokeCustomerInvitation: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "5.44.0",
3
+ "version": "5.46.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,