@insurance-broker/api-client 5.51.0 → 5.52.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 +129 -2
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -4591,6 +4591,46 @@ export interface paths {
|
|
|
4591
4591
|
patch?: never;
|
|
4592
4592
|
trace?: never;
|
|
4593
4593
|
};
|
|
4594
|
+
"/api/v1/service-locations/search": {
|
|
4595
|
+
parameters: {
|
|
4596
|
+
query?: never;
|
|
4597
|
+
header?: never;
|
|
4598
|
+
path?: never;
|
|
4599
|
+
cookie?: never;
|
|
4600
|
+
};
|
|
4601
|
+
/**
|
|
4602
|
+
* This broker's service locations, a page at a time, drafts included.
|
|
4603
|
+
* @description The maintenance view, paged: the same rows, filters and order (name, then identifier) as `GET /service-locations`, answered as `{ items, nextCursor }` so a directory of any size can be listed completely. Pass `nextCursor` back as `cursor`; a null one means this is the last page. A cursor names a position in the list, not the filters that produced it: start a new walk, without a cursor, when a filter changes. A cursor this list did not issue is a 400 on `cursor`. The bare list is unchanged, for the clients that already read it.
|
|
4604
|
+
*/
|
|
4605
|
+
get: operations["SearchServiceLocations"];
|
|
4606
|
+
put?: never;
|
|
4607
|
+
post?: never;
|
|
4608
|
+
delete?: never;
|
|
4609
|
+
options?: never;
|
|
4610
|
+
head?: never;
|
|
4611
|
+
patch?: never;
|
|
4612
|
+
trace?: never;
|
|
4613
|
+
};
|
|
4614
|
+
"/api/v1/service-locations/{id}": {
|
|
4615
|
+
parameters: {
|
|
4616
|
+
query?: never;
|
|
4617
|
+
header?: never;
|
|
4618
|
+
path?: never;
|
|
4619
|
+
cookie?: never;
|
|
4620
|
+
};
|
|
4621
|
+
/**
|
|
4622
|
+
* One of this broker's service locations, whatever its state.
|
|
4623
|
+
* @description Another broker's location answers 404, exactly as one that does not exist. There is no delete: a location is taken out of use by withdrawing it (`POST .../withdrawal`), and a wrong draft is corrected rather than removed, because the audit trail and the attestation name the row (ADR-0048, amendment of 2026-10-28).
|
|
4624
|
+
*/
|
|
4625
|
+
get: operations["GetServiceLocation"];
|
|
4626
|
+
put?: never;
|
|
4627
|
+
post?: never;
|
|
4628
|
+
delete?: never;
|
|
4629
|
+
options?: never;
|
|
4630
|
+
head?: never;
|
|
4631
|
+
patch?: never;
|
|
4632
|
+
trace?: never;
|
|
4633
|
+
};
|
|
4594
4634
|
"/api/v1/service-locations/{id}/description": {
|
|
4595
4635
|
parameters: {
|
|
4596
4636
|
query?: never;
|
|
@@ -10471,11 +10511,18 @@ export interface components {
|
|
|
10471
10511
|
};
|
|
10472
10512
|
/** @enum {string} */
|
|
10473
10513
|
ScanVerdict: "Quarantined" | "Clean" | "Infected" | "Unscannable";
|
|
10514
|
+
/** @enum {string} */
|
|
10515
|
+
ServiceLocationCategory: "BrokerBranch" | "InsurerOffice" | "ApprovedRepairer" | "Hospital" | "Assessor";
|
|
10516
|
+
ServiceLocationPage: {
|
|
10517
|
+
items: components["schemas"]["ServiceLocationResponse"][];
|
|
10518
|
+
nextCursor: null | string;
|
|
10519
|
+
};
|
|
10474
10520
|
ServiceLocationResponse: {
|
|
10475
10521
|
/** Format: uuid */
|
|
10476
10522
|
id: string;
|
|
10477
|
-
category:
|
|
10478
|
-
|
|
10523
|
+
category: components["schemas"]["ServiceLocationCategory"];
|
|
10524
|
+
categoryLabel: string;
|
|
10525
|
+
status: components["schemas"]["ServiceLocationStatus"];
|
|
10479
10526
|
isVisibleToCustomers: boolean;
|
|
10480
10527
|
name: string;
|
|
10481
10528
|
description: null | string;
|
|
@@ -10499,6 +10546,8 @@ export interface components {
|
|
|
10499
10546
|
/** Format: date-time */
|
|
10500
10547
|
updatedAtUtc: string;
|
|
10501
10548
|
};
|
|
10549
|
+
/** @enum {string} */
|
|
10550
|
+
ServiceLocationStatus: "Draft" | "Verified" | "Published";
|
|
10502
10551
|
SetAcceptanceApprovalLimitRequest: {
|
|
10503
10552
|
/** Format: double */
|
|
10504
10553
|
maximumAmount: null | number | string;
|
|
@@ -22034,6 +22083,84 @@ export interface operations {
|
|
|
22034
22083
|
};
|
|
22035
22084
|
};
|
|
22036
22085
|
};
|
|
22086
|
+
SearchServiceLocations: {
|
|
22087
|
+
parameters: {
|
|
22088
|
+
query?: {
|
|
22089
|
+
category?: string;
|
|
22090
|
+
status?: string;
|
|
22091
|
+
search?: string;
|
|
22092
|
+
cursor?: string;
|
|
22093
|
+
limit?: number | string;
|
|
22094
|
+
};
|
|
22095
|
+
header?: never;
|
|
22096
|
+
path?: never;
|
|
22097
|
+
cookie?: never;
|
|
22098
|
+
};
|
|
22099
|
+
requestBody?: never;
|
|
22100
|
+
responses: {
|
|
22101
|
+
/** @description OK */
|
|
22102
|
+
200: {
|
|
22103
|
+
headers: {
|
|
22104
|
+
[name: string]: unknown;
|
|
22105
|
+
};
|
|
22106
|
+
content: {
|
|
22107
|
+
"application/json": components["schemas"]["ServiceLocationPage"];
|
|
22108
|
+
};
|
|
22109
|
+
};
|
|
22110
|
+
/** @description Bad Request */
|
|
22111
|
+
400: {
|
|
22112
|
+
headers: {
|
|
22113
|
+
[name: string]: unknown;
|
|
22114
|
+
};
|
|
22115
|
+
content: {
|
|
22116
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
22117
|
+
};
|
|
22118
|
+
};
|
|
22119
|
+
/** @description Forbidden */
|
|
22120
|
+
403: {
|
|
22121
|
+
headers: {
|
|
22122
|
+
[name: string]: unknown;
|
|
22123
|
+
};
|
|
22124
|
+
content?: never;
|
|
22125
|
+
};
|
|
22126
|
+
};
|
|
22127
|
+
};
|
|
22128
|
+
GetServiceLocation: {
|
|
22129
|
+
parameters: {
|
|
22130
|
+
query?: never;
|
|
22131
|
+
header?: never;
|
|
22132
|
+
path: {
|
|
22133
|
+
id: string;
|
|
22134
|
+
};
|
|
22135
|
+
cookie?: never;
|
|
22136
|
+
};
|
|
22137
|
+
requestBody?: never;
|
|
22138
|
+
responses: {
|
|
22139
|
+
/** @description OK */
|
|
22140
|
+
200: {
|
|
22141
|
+
headers: {
|
|
22142
|
+
[name: string]: unknown;
|
|
22143
|
+
};
|
|
22144
|
+
content: {
|
|
22145
|
+
"application/json": components["schemas"]["ServiceLocationResponse"];
|
|
22146
|
+
};
|
|
22147
|
+
};
|
|
22148
|
+
/** @description Forbidden */
|
|
22149
|
+
403: {
|
|
22150
|
+
headers: {
|
|
22151
|
+
[name: string]: unknown;
|
|
22152
|
+
};
|
|
22153
|
+
content?: never;
|
|
22154
|
+
};
|
|
22155
|
+
/** @description Not Found */
|
|
22156
|
+
404: {
|
|
22157
|
+
headers: {
|
|
22158
|
+
[name: string]: unknown;
|
|
22159
|
+
};
|
|
22160
|
+
content?: never;
|
|
22161
|
+
};
|
|
22162
|
+
};
|
|
22163
|
+
};
|
|
22037
22164
|
ReviseServiceLocation: {
|
|
22038
22165
|
parameters: {
|
|
22039
22166
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.52.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,
|