@insurance-broker/api-client 2.19.0 → 2.22.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 +93 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2321,7 +2321,7 @@ export interface paths {
|
|
|
2321
2321
|
*
|
|
2322
2322
|
* **This is the answer and not the configuration.** Each entry is the contact that applies to you. It does not say whether your broker chose it or the platform did, because that is not a question anybody needs answered at the scene of an incident.
|
|
2323
2323
|
*
|
|
2324
|
-
* **You are not named in the request, and neither is your broker.** There is no country field and no product field: the list is your own broker's, for the country they operate in, resolved from the session you are signed in with.
|
|
2324
|
+
* **You are not named in the request, and neither is your broker.** There is no country field and no product field: the list is your own broker's, for the country they operate in, resolved from the session you are signed in with. This is your broker's answer across every product; for the answer on one of your policies, read `/customer/policies/{policyId}/emergency-contacts`.
|
|
2325
2325
|
*
|
|
2326
2326
|
* Calling an emergency service is not reporting a claim. When you are safe, report the loss to your broker separately.
|
|
2327
2327
|
*/
|
|
@@ -2334,6 +2334,32 @@ export interface paths {
|
|
|
2334
2334
|
patch?: never;
|
|
2335
2335
|
trace?: never;
|
|
2336
2336
|
};
|
|
2337
|
+
"/api/v1/customer/policies/{policyId}/emergency-contacts": {
|
|
2338
|
+
parameters: {
|
|
2339
|
+
query?: never;
|
|
2340
|
+
header?: never;
|
|
2341
|
+
path?: never;
|
|
2342
|
+
cookie?: never;
|
|
2343
|
+
};
|
|
2344
|
+
/**
|
|
2345
|
+
* Who to call in an emergency on one of your policies, and what to do first
|
|
2346
|
+
* @description CLM-003, for one of your own policies. The same answer as `/customer/emergency-contacts`, resolved for the product that policy is on: where your broker has configured a different contact for that product, this is where you see it.
|
|
2347
|
+
*
|
|
2348
|
+
* **You name a policy, never a product.** The product is read from the policy, and the policy has to be yours. A policy belonging to somebody else and a policy that does not exist are one 404, because a policy that is not yours is not visible to this route at all.
|
|
2349
|
+
*
|
|
2350
|
+
* **This is the answer and not the configuration.** It does not say whether the contact came from your broker's product setting, their default, or the platform.
|
|
2351
|
+
*
|
|
2352
|
+
* Calling an emergency service is not reporting a claim. When you are safe, report the loss to your broker separately.
|
|
2353
|
+
*/
|
|
2354
|
+
get: operations["ReadOwnBrokersEmergencyContactsForPolicy"];
|
|
2355
|
+
put?: never;
|
|
2356
|
+
post?: never;
|
|
2357
|
+
delete?: never;
|
|
2358
|
+
options?: never;
|
|
2359
|
+
head?: never;
|
|
2360
|
+
patch?: never;
|
|
2361
|
+
trace?: never;
|
|
2362
|
+
};
|
|
2337
2363
|
"/api/v1/leads": {
|
|
2338
2364
|
parameters: {
|
|
2339
2365
|
query?: never;
|
|
@@ -3183,6 +3209,23 @@ export interface paths {
|
|
|
3183
3209
|
patch?: never;
|
|
3184
3210
|
trace?: never;
|
|
3185
3211
|
};
|
|
3212
|
+
"/api/v1/tenant/branding/mark": {
|
|
3213
|
+
parameters: {
|
|
3214
|
+
query?: never;
|
|
3215
|
+
header?: never;
|
|
3216
|
+
path?: never;
|
|
3217
|
+
cookie?: never;
|
|
3218
|
+
};
|
|
3219
|
+
/** The broker's name, logo and two colours, for its staff: exactly what its public branding publishes, and nothing more. */
|
|
3220
|
+
get: operations["GetTenantBrandingMark"];
|
|
3221
|
+
put?: never;
|
|
3222
|
+
post?: never;
|
|
3223
|
+
delete?: never;
|
|
3224
|
+
options?: never;
|
|
3225
|
+
head?: never;
|
|
3226
|
+
patch?: never;
|
|
3227
|
+
trace?: never;
|
|
3228
|
+
};
|
|
3186
3229
|
"/api/v1/tenant/profile": {
|
|
3187
3230
|
parameters: {
|
|
3188
3231
|
query?: never;
|
|
@@ -13452,6 +13495,35 @@ export interface operations {
|
|
|
13452
13495
|
};
|
|
13453
13496
|
};
|
|
13454
13497
|
};
|
|
13498
|
+
ReadOwnBrokersEmergencyContactsForPolicy: {
|
|
13499
|
+
parameters: {
|
|
13500
|
+
query?: never;
|
|
13501
|
+
header?: never;
|
|
13502
|
+
path: {
|
|
13503
|
+
policyId: string;
|
|
13504
|
+
};
|
|
13505
|
+
cookie?: never;
|
|
13506
|
+
};
|
|
13507
|
+
requestBody?: never;
|
|
13508
|
+
responses: {
|
|
13509
|
+
/** @description OK */
|
|
13510
|
+
200: {
|
|
13511
|
+
headers: {
|
|
13512
|
+
[name: string]: unknown;
|
|
13513
|
+
};
|
|
13514
|
+
content: {
|
|
13515
|
+
"application/json": components["schemas"]["CustomerEmergencyContactResponse"][];
|
|
13516
|
+
};
|
|
13517
|
+
};
|
|
13518
|
+
/** @description Not Found */
|
|
13519
|
+
404: {
|
|
13520
|
+
headers: {
|
|
13521
|
+
[name: string]: unknown;
|
|
13522
|
+
};
|
|
13523
|
+
content?: never;
|
|
13524
|
+
};
|
|
13525
|
+
};
|
|
13526
|
+
};
|
|
13455
13527
|
ListLeads: {
|
|
13456
13528
|
parameters: {
|
|
13457
13529
|
query?: {
|
|
@@ -15822,6 +15894,26 @@ export interface operations {
|
|
|
15822
15894
|
};
|
|
15823
15895
|
};
|
|
15824
15896
|
};
|
|
15897
|
+
GetTenantBrandingMark: {
|
|
15898
|
+
parameters: {
|
|
15899
|
+
query?: never;
|
|
15900
|
+
header?: never;
|
|
15901
|
+
path?: never;
|
|
15902
|
+
cookie?: never;
|
|
15903
|
+
};
|
|
15904
|
+
requestBody?: never;
|
|
15905
|
+
responses: {
|
|
15906
|
+
/** @description OK */
|
|
15907
|
+
200: {
|
|
15908
|
+
headers: {
|
|
15909
|
+
[name: string]: unknown;
|
|
15910
|
+
};
|
|
15911
|
+
content: {
|
|
15912
|
+
"application/json": components["schemas"]["PublicBrandingResponse"];
|
|
15913
|
+
};
|
|
15914
|
+
};
|
|
15915
|
+
};
|
|
15916
|
+
};
|
|
15825
15917
|
GetTenantProfile: {
|
|
15826
15918
|
parameters: {
|
|
15827
15919
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.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,
|