@insurance-broker/api-client 4.13.0 → 4.14.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 +135 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -5436,6 +5436,34 @@ export interface paths {
|
|
|
5436
5436
|
patch?: never;
|
|
5437
5437
|
trace?: never;
|
|
5438
5438
|
};
|
|
5439
|
+
"/api/v1/quote-request-reference-format": {
|
|
5440
|
+
parameters: {
|
|
5441
|
+
query?: never;
|
|
5442
|
+
header?: never;
|
|
5443
|
+
path?: never;
|
|
5444
|
+
cookie?: never;
|
|
5445
|
+
};
|
|
5446
|
+
/**
|
|
5447
|
+
* The format this broker's quote request references are issued in
|
|
5448
|
+
* @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.
|
|
5449
|
+
*/
|
|
5450
|
+
get: operations["ReadQuoteRequestReferenceFormat"];
|
|
5451
|
+
/**
|
|
5452
|
+
* Set the format this broker's quote request references are issued in
|
|
5453
|
+
* @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.
|
|
5454
|
+
*/
|
|
5455
|
+
put: operations["SetQuoteRequestReferenceFormat"];
|
|
5456
|
+
post?: never;
|
|
5457
|
+
/**
|
|
5458
|
+
* Issue quote request references in the platform default format again
|
|
5459
|
+
* @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.
|
|
5460
|
+
*/
|
|
5461
|
+
delete: operations["ClearQuoteRequestReferenceFormat"];
|
|
5462
|
+
options?: never;
|
|
5463
|
+
head?: never;
|
|
5464
|
+
patch?: never;
|
|
5465
|
+
trace?: never;
|
|
5466
|
+
};
|
|
5439
5467
|
"/api/v1/retention/schedule": {
|
|
5440
5468
|
parameters: {
|
|
5441
5469
|
query?: never;
|
|
@@ -8205,6 +8233,12 @@ export interface components {
|
|
|
8205
8233
|
/** @description Why, in a sentence a person can act on. Prose: it will be reworded, so never parse it or key on it. */
|
|
8206
8234
|
message: string;
|
|
8207
8235
|
};
|
|
8236
|
+
QuoteRequestReferenceFormatResponse: {
|
|
8237
|
+
format: string;
|
|
8238
|
+
isPlatformDefault: boolean;
|
|
8239
|
+
platformDefaultFormat: string;
|
|
8240
|
+
nextReference: string;
|
|
8241
|
+
};
|
|
8208
8242
|
QuoteRequestResponse: {
|
|
8209
8243
|
/** Format: uuid */
|
|
8210
8244
|
id: string;
|
|
@@ -8669,6 +8703,9 @@ export interface components {
|
|
|
8669
8703
|
email: null | boolean;
|
|
8670
8704
|
push: null | boolean;
|
|
8671
8705
|
};
|
|
8706
|
+
SetQuoteRequestReferenceFormatRequest: {
|
|
8707
|
+
format: null | string;
|
|
8708
|
+
};
|
|
8672
8709
|
SetRenewalLeadTimeRequest: {
|
|
8673
8710
|
/** Format: int32 */
|
|
8674
8711
|
leadDays: null | number | string;
|
|
@@ -22517,6 +22554,104 @@ export interface operations {
|
|
|
22517
22554
|
};
|
|
22518
22555
|
};
|
|
22519
22556
|
};
|
|
22557
|
+
ReadQuoteRequestReferenceFormat: {
|
|
22558
|
+
parameters: {
|
|
22559
|
+
query?: never;
|
|
22560
|
+
header?: never;
|
|
22561
|
+
path?: never;
|
|
22562
|
+
cookie?: never;
|
|
22563
|
+
};
|
|
22564
|
+
requestBody?: never;
|
|
22565
|
+
responses: {
|
|
22566
|
+
/** @description OK */
|
|
22567
|
+
200: {
|
|
22568
|
+
headers: {
|
|
22569
|
+
[name: string]: unknown;
|
|
22570
|
+
};
|
|
22571
|
+
content: {
|
|
22572
|
+
"application/json": components["schemas"]["QuoteRequestReferenceFormatResponse"];
|
|
22573
|
+
};
|
|
22574
|
+
};
|
|
22575
|
+
};
|
|
22576
|
+
};
|
|
22577
|
+
SetQuoteRequestReferenceFormat: {
|
|
22578
|
+
parameters: {
|
|
22579
|
+
query?: never;
|
|
22580
|
+
header?: never;
|
|
22581
|
+
path?: never;
|
|
22582
|
+
cookie?: never;
|
|
22583
|
+
};
|
|
22584
|
+
requestBody: {
|
|
22585
|
+
content: {
|
|
22586
|
+
"application/json": components["schemas"]["SetQuoteRequestReferenceFormatRequest"];
|
|
22587
|
+
};
|
|
22588
|
+
};
|
|
22589
|
+
responses: {
|
|
22590
|
+
/** @description OK */
|
|
22591
|
+
200: {
|
|
22592
|
+
headers: {
|
|
22593
|
+
[name: string]: unknown;
|
|
22594
|
+
};
|
|
22595
|
+
content: {
|
|
22596
|
+
"application/json": components["schemas"]["QuoteRequestReferenceFormatResponse"];
|
|
22597
|
+
};
|
|
22598
|
+
};
|
|
22599
|
+
/** @description Bad Request */
|
|
22600
|
+
400: {
|
|
22601
|
+
headers: {
|
|
22602
|
+
[name: string]: unknown;
|
|
22603
|
+
};
|
|
22604
|
+
content: {
|
|
22605
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
22606
|
+
};
|
|
22607
|
+
};
|
|
22608
|
+
/** @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. */
|
|
22609
|
+
409: {
|
|
22610
|
+
headers: {
|
|
22611
|
+
[name: string]: unknown;
|
|
22612
|
+
};
|
|
22613
|
+
content: {
|
|
22614
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
22615
|
+
};
|
|
22616
|
+
};
|
|
22617
|
+
};
|
|
22618
|
+
};
|
|
22619
|
+
ClearQuoteRequestReferenceFormat: {
|
|
22620
|
+
parameters: {
|
|
22621
|
+
query?: never;
|
|
22622
|
+
header?: never;
|
|
22623
|
+
path?: never;
|
|
22624
|
+
cookie?: never;
|
|
22625
|
+
};
|
|
22626
|
+
requestBody?: never;
|
|
22627
|
+
responses: {
|
|
22628
|
+
/** @description OK */
|
|
22629
|
+
200: {
|
|
22630
|
+
headers: {
|
|
22631
|
+
[name: string]: unknown;
|
|
22632
|
+
};
|
|
22633
|
+
content: {
|
|
22634
|
+
"application/json": components["schemas"]["QuoteRequestReferenceFormatResponse"];
|
|
22635
|
+
};
|
|
22636
|
+
};
|
|
22637
|
+
/** @description Not Found */
|
|
22638
|
+
404: {
|
|
22639
|
+
headers: {
|
|
22640
|
+
[name: string]: unknown;
|
|
22641
|
+
};
|
|
22642
|
+
content?: never;
|
|
22643
|
+
};
|
|
22644
|
+
/** @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. */
|
|
22645
|
+
409: {
|
|
22646
|
+
headers: {
|
|
22647
|
+
[name: string]: unknown;
|
|
22648
|
+
};
|
|
22649
|
+
content: {
|
|
22650
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
22651
|
+
};
|
|
22652
|
+
};
|
|
22653
|
+
};
|
|
22654
|
+
};
|
|
22520
22655
|
ReadRetentionSchedule: {
|
|
22521
22656
|
parameters: {
|
|
22522
22657
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.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,
|