@insurance-broker/api-client 4.13.0 → 4.15.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 +144 -1
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -2080,6 +2080,8 @@ export interface paths {
2080
2080
  *
2081
2081
  * Ordered on when an item was **raised** and never on when it was resolved: the list is a history, and ordering on a column that changes moves the boundaries under a reader.
2082
2082
  *
2083
+ * `publishedAtUtc` is when an item was copied onto the customer's timeline, or null if it never was - so a client can leave an already-published item out of the publication control rather than offering one that is refused with 409.
2084
+ *
2083
2085
  * **Staff only.** A customer is told what you need from them by being told, on their timeline, in words you chose - not by being handed the working list, which also names everything you owe.
2084
2086
  */
2085
2087
  get: operations["ListClaimOutstandingItems"];
@@ -2162,6 +2164,8 @@ export interface paths {
2162
2164
  * Read the visits arranged about a claim
2163
2165
  * @description CLM-005. Every visit recorded against this claim, soonest first, cancelled ones included and marked as such - a diary is read forwards, and a visit that was called off is part of the account of how the claim went.
2164
2166
  *
2167
+ * `publishedAtUtc` is when a visit was copied onto the customer's timeline, or null if it never was, as on an outstanding item.
2168
+ *
2165
2169
  * **Staff only**, for the same reason the outstanding items are.
2166
2170
  */
2167
2171
  get: operations["ListClaimAppointments"];
@@ -2336,7 +2340,7 @@ export interface paths {
2336
2340
  * Read what your insurer has said about your claim
2337
2341
  * @description CLM-006, CLM-008. What the insurer has decided about your claim, oldest decision first.
2338
2342
  *
2339
- * **These are the insurer's decisions and not your broker's.** Acceptance and settlement are decided by the insurer; your broker records what they were told. So each entry says the day the insurer decided it, how their answer reached your broker, and the day your broker wrote it down - and your claim's own status says what your broker is doing about it, never what the insurer concluded.
2343
+ * **These are the insurer's decisions and not your broker's.** Acceptance and settlement are decided by the insurer; your broker records what they were told. So each entry says which insurer decided it, what they decided, the day they decided it, and the day your broker wrote it down - and your claim's own status says what your broker is doing about it, never what the insurer concluded.
2340
2344
  *
2341
2345
  * It does not say which member of staff wrote it down, for the same reason your timeline does not.
2342
2346
  */
@@ -5436,6 +5440,34 @@ export interface paths {
5436
5440
  patch?: never;
5437
5441
  trace?: never;
5438
5442
  };
5443
+ "/api/v1/quote-request-reference-format": {
5444
+ parameters: {
5445
+ query?: never;
5446
+ header?: never;
5447
+ path?: never;
5448
+ cookie?: never;
5449
+ };
5450
+ /**
5451
+ * The format this broker's quote request references are issued in
5452
+ * @description The format the next quote request is numbered in, whether it is the platform default, the default itself, and a preview of the next reference. References already issued keep theirs: a reference is stored when its quote request is first saved and is never re-rendered, and numbering carries on from where it is rather than restarting. {year} is the UTC year a request is raised in, not the year in the broker's time zone. Numbering never restarts each year.
5453
+ */
5454
+ get: operations["ReadQuoteRequestReferenceFormat"];
5455
+ /**
5456
+ * Set the format this broker's quote request references are issued in
5457
+ * @description Literal text, {year}, and exactly one {number} or {number:000000}, at most 32 characters; literal text is letters, digits, spaces and . _ / - and does not begin or end with a space. Applies to quote requests raised from now on. References already issued keep theirs: a reference is stored when its quote request is first saved and is never re-rendered, and numbering carries on from where it is rather than restarting. {year} is the UTC year a request is raised in, not the year in the broker's time zone. Numbering never restarts each year. A format that would issue a reference this broker already holds is refused with 409.
5458
+ */
5459
+ put: operations["SetQuoteRequestReferenceFormat"];
5460
+ post?: never;
5461
+ /**
5462
+ * Issue quote request references in the platform default format again
5463
+ * @description Removes this broker's own format, so quote requests raised from now on are numbered in the platform default. References already issued keep theirs: a reference is stored when its quote request is first saved and is never re-rendered, and numbering carries on from where it is rather than restarting. {year} is the UTC year a request is raised in, not the year in the broker's time zone. Numbering never restarts each year. Answers 404 when this broker is already on the default, and 409 when the default would issue a reference this broker already holds.
5464
+ */
5465
+ delete: operations["ClearQuoteRequestReferenceFormat"];
5466
+ options?: never;
5467
+ head?: never;
5468
+ patch?: never;
5469
+ trace?: never;
5470
+ };
5439
5471
  "/api/v1/retention/schedule": {
5440
5472
  parameters: {
5441
5473
  query?: never;
@@ -6071,6 +6103,8 @@ export interface components {
6071
6103
  /** Format: date-time */
6072
6104
  cancelledAtUtc: null | string;
6073
6105
  isCancelled: boolean;
6106
+ /** Format: date-time */
6107
+ publishedAtUtc: null | string;
6074
6108
  };
6075
6109
  ClaimDetailResponse: {
6076
6110
  /** Format: uuid */
@@ -6140,6 +6174,8 @@ export interface components {
6140
6174
  /** Format: date-time */
6141
6175
  resolvedAtUtc: null | string;
6142
6176
  isOutstanding: boolean;
6177
+ /** Format: date-time */
6178
+ publishedAtUtc: null | string;
6143
6179
  };
6144
6180
  ClaimPage: {
6145
6181
  items: components["schemas"]["ClaimSummaryResponse"][];
@@ -8205,6 +8241,12 @@ export interface components {
8205
8241
  /** @description Why, in a sentence a person can act on. Prose: it will be reworded, so never parse it or key on it. */
8206
8242
  message: string;
8207
8243
  };
8244
+ QuoteRequestReferenceFormatResponse: {
8245
+ format: string;
8246
+ isPlatformDefault: boolean;
8247
+ platformDefaultFormat: string;
8248
+ nextReference: string;
8249
+ };
8208
8250
  QuoteRequestResponse: {
8209
8251
  /** Format: uuid */
8210
8252
  id: string;
@@ -8669,6 +8711,9 @@ export interface components {
8669
8711
  email: null | boolean;
8670
8712
  push: null | boolean;
8671
8713
  };
8714
+ SetQuoteRequestReferenceFormatRequest: {
8715
+ format: null | string;
8716
+ };
8672
8717
  SetRenewalLeadTimeRequest: {
8673
8718
  /** Format: int32 */
8674
8719
  leadDays: null | number | string;
@@ -22517,6 +22562,104 @@ export interface operations {
22517
22562
  };
22518
22563
  };
22519
22564
  };
22565
+ ReadQuoteRequestReferenceFormat: {
22566
+ parameters: {
22567
+ query?: never;
22568
+ header?: never;
22569
+ path?: never;
22570
+ cookie?: never;
22571
+ };
22572
+ requestBody?: never;
22573
+ responses: {
22574
+ /** @description OK */
22575
+ 200: {
22576
+ headers: {
22577
+ [name: string]: unknown;
22578
+ };
22579
+ content: {
22580
+ "application/json": components["schemas"]["QuoteRequestReferenceFormatResponse"];
22581
+ };
22582
+ };
22583
+ };
22584
+ };
22585
+ SetQuoteRequestReferenceFormat: {
22586
+ parameters: {
22587
+ query?: never;
22588
+ header?: never;
22589
+ path?: never;
22590
+ cookie?: never;
22591
+ };
22592
+ requestBody: {
22593
+ content: {
22594
+ "application/json": components["schemas"]["SetQuoteRequestReferenceFormatRequest"];
22595
+ };
22596
+ };
22597
+ responses: {
22598
+ /** @description OK */
22599
+ 200: {
22600
+ headers: {
22601
+ [name: string]: unknown;
22602
+ };
22603
+ content: {
22604
+ "application/json": components["schemas"]["QuoteRequestReferenceFormatResponse"];
22605
+ };
22606
+ };
22607
+ /** @description Bad Request */
22608
+ 400: {
22609
+ headers: {
22610
+ [name: string]: unknown;
22611
+ };
22612
+ content: {
22613
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
22614
+ };
22615
+ };
22616
+ /** @description Conflict. A type of urn:brokerplatform:problem:concurrency-conflict means someone else changed the record first and nothing was written: read it again and decide again. Any other type is a conflict this operation decided itself, and retrying it unchanged will not help. */
22617
+ 409: {
22618
+ headers: {
22619
+ [name: string]: unknown;
22620
+ };
22621
+ content: {
22622
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
22623
+ };
22624
+ };
22625
+ };
22626
+ };
22627
+ ClearQuoteRequestReferenceFormat: {
22628
+ parameters: {
22629
+ query?: never;
22630
+ header?: never;
22631
+ path?: never;
22632
+ cookie?: never;
22633
+ };
22634
+ requestBody?: never;
22635
+ responses: {
22636
+ /** @description OK */
22637
+ 200: {
22638
+ headers: {
22639
+ [name: string]: unknown;
22640
+ };
22641
+ content: {
22642
+ "application/json": components["schemas"]["QuoteRequestReferenceFormatResponse"];
22643
+ };
22644
+ };
22645
+ /** @description Not Found */
22646
+ 404: {
22647
+ headers: {
22648
+ [name: string]: unknown;
22649
+ };
22650
+ content?: never;
22651
+ };
22652
+ /** @description Conflict. A type of urn:brokerplatform:problem:concurrency-conflict means someone else changed the record first and nothing was written: read it again and decide again. Any other type is a conflict this operation decided itself, and retrying it unchanged will not help. */
22653
+ 409: {
22654
+ headers: {
22655
+ [name: string]: unknown;
22656
+ };
22657
+ content: {
22658
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
22659
+ };
22660
+ };
22661
+ };
22662
+ };
22520
22663
  ReadRetentionSchedule: {
22521
22664
  parameters: {
22522
22665
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "4.13.0",
3
+ "version": "4.15.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,