@insurance-broker/api-client 2.10.0 → 2.12.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 +879 -10
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3486,6 +3486,127 @@ export interface paths {
|
|
|
3486
3486
|
patch?: never;
|
|
3487
3487
|
trace?: never;
|
|
3488
3488
|
};
|
|
3489
|
+
"/api/v1/service-locations": {
|
|
3490
|
+
parameters: {
|
|
3491
|
+
query?: never;
|
|
3492
|
+
header?: never;
|
|
3493
|
+
path?: never;
|
|
3494
|
+
cookie?: never;
|
|
3495
|
+
};
|
|
3496
|
+
/**
|
|
3497
|
+
* This broker's service locations, drafts and unpublished ones included.
|
|
3498
|
+
* @description The maintenance view. Unlike the customer's read, it shows every location whatever its state, because hiding a draft would make an unpublished location look deleted.
|
|
3499
|
+
*/
|
|
3500
|
+
get: operations["ListServiceLocations"];
|
|
3501
|
+
put?: never;
|
|
3502
|
+
/** Records a place, as a draft nobody has attested to. */
|
|
3503
|
+
post: operations["RecordServiceLocation"];
|
|
3504
|
+
delete?: never;
|
|
3505
|
+
options?: never;
|
|
3506
|
+
head?: never;
|
|
3507
|
+
patch?: never;
|
|
3508
|
+
trace?: never;
|
|
3509
|
+
};
|
|
3510
|
+
"/api/v1/service-locations/{id}/description": {
|
|
3511
|
+
parameters: {
|
|
3512
|
+
query?: never;
|
|
3513
|
+
header?: never;
|
|
3514
|
+
path?: never;
|
|
3515
|
+
cookie?: never;
|
|
3516
|
+
};
|
|
3517
|
+
get?: never;
|
|
3518
|
+
put?: never;
|
|
3519
|
+
/**
|
|
3520
|
+
* Replaces a location's particulars. It returns to a draft.
|
|
3521
|
+
* @description Every field is replaced, and the location goes back to being a draft: an attestation is about a set of particulars, so it does not survive them being rewritten. Correcting a published location therefore takes it off show until somebody verifies it again.
|
|
3522
|
+
*/
|
|
3523
|
+
post: operations["ReviseServiceLocation"];
|
|
3524
|
+
delete?: never;
|
|
3525
|
+
options?: never;
|
|
3526
|
+
head?: never;
|
|
3527
|
+
patch?: never;
|
|
3528
|
+
trace?: never;
|
|
3529
|
+
};
|
|
3530
|
+
"/api/v1/service-locations/{id}/verification": {
|
|
3531
|
+
parameters: {
|
|
3532
|
+
query?: never;
|
|
3533
|
+
header?: never;
|
|
3534
|
+
path?: never;
|
|
3535
|
+
cookie?: never;
|
|
3536
|
+
};
|
|
3537
|
+
get?: never;
|
|
3538
|
+
put?: never;
|
|
3539
|
+
/**
|
|
3540
|
+
* Records that somebody at this broker has checked the location.
|
|
3541
|
+
* @description A repairer, a hospital or an assessor cannot be verified without an assurance saying what was checked; the broker's own office and an insurer's can. Nothing is published that has not been through here.
|
|
3542
|
+
*/
|
|
3543
|
+
post: operations["VerifyServiceLocation"];
|
|
3544
|
+
delete?: never;
|
|
3545
|
+
options?: never;
|
|
3546
|
+
head?: never;
|
|
3547
|
+
patch?: never;
|
|
3548
|
+
trace?: never;
|
|
3549
|
+
};
|
|
3550
|
+
"/api/v1/service-locations/{id}/publication": {
|
|
3551
|
+
parameters: {
|
|
3552
|
+
query?: never;
|
|
3553
|
+
header?: never;
|
|
3554
|
+
path?: never;
|
|
3555
|
+
cookie?: never;
|
|
3556
|
+
};
|
|
3557
|
+
get?: never;
|
|
3558
|
+
put?: never;
|
|
3559
|
+
/** Puts a verified location in front of this broker's customers. */
|
|
3560
|
+
post: operations["PublishServiceLocation"];
|
|
3561
|
+
delete?: never;
|
|
3562
|
+
options?: never;
|
|
3563
|
+
head?: never;
|
|
3564
|
+
patch?: never;
|
|
3565
|
+
trace?: never;
|
|
3566
|
+
};
|
|
3567
|
+
"/api/v1/service-locations/{id}/withdrawal": {
|
|
3568
|
+
parameters: {
|
|
3569
|
+
query?: never;
|
|
3570
|
+
header?: never;
|
|
3571
|
+
path?: never;
|
|
3572
|
+
cookie?: never;
|
|
3573
|
+
};
|
|
3574
|
+
get?: never;
|
|
3575
|
+
put?: never;
|
|
3576
|
+
/** Takes a location off show, leaving its attestation intact. */
|
|
3577
|
+
post: operations["UnpublishServiceLocation"];
|
|
3578
|
+
delete?: never;
|
|
3579
|
+
options?: never;
|
|
3580
|
+
head?: never;
|
|
3581
|
+
patch?: never;
|
|
3582
|
+
trace?: never;
|
|
3583
|
+
};
|
|
3584
|
+
"/api/v1/customer/service-locations": {
|
|
3585
|
+
parameters: {
|
|
3586
|
+
query?: never;
|
|
3587
|
+
header?: never;
|
|
3588
|
+
path?: never;
|
|
3589
|
+
cookie?: never;
|
|
3590
|
+
};
|
|
3591
|
+
/**
|
|
3592
|
+
* Where you can go: your broker's branches, insurers and approved providers
|
|
3593
|
+
* @description LOC-001 and LOC-002, the customer's half. The places your broker publishes — its own offices, the insurers it places business with, and the repairers, hospitals and assessors in the network it stands behind.
|
|
3594
|
+
*
|
|
3595
|
+
* **Everything here has been checked by your broker.** A place they have recorded but not yet verified, or have taken down, is not in this list at all.
|
|
3596
|
+
*
|
|
3597
|
+
* **Location is optional.** Send nothing and you get the whole directory; send `search` to find a place or an area by name; send `latitude` and `longitude` to get the same list nearest first, with the distance in kilometres. Distance is a straight line, not a route.
|
|
3598
|
+
*
|
|
3599
|
+
* **You are not named in the request, and neither is your broker.** The directory is your own broker's, resolved from the session you are signed in with.
|
|
3600
|
+
*/
|
|
3601
|
+
get: operations["ReadOwnBrokersServiceLocations"];
|
|
3602
|
+
put?: never;
|
|
3603
|
+
post?: never;
|
|
3604
|
+
delete?: never;
|
|
3605
|
+
options?: never;
|
|
3606
|
+
head?: never;
|
|
3607
|
+
patch?: never;
|
|
3608
|
+
trace?: never;
|
|
3609
|
+
};
|
|
3489
3610
|
"/api/v1/policies": {
|
|
3490
3611
|
parameters: {
|
|
3491
3612
|
query?: never;
|
|
@@ -5353,6 +5474,120 @@ export interface paths {
|
|
|
5353
5474
|
patch?: never;
|
|
5354
5475
|
trace?: never;
|
|
5355
5476
|
};
|
|
5477
|
+
"/api/v1/customer/notifications": {
|
|
5478
|
+
parameters: {
|
|
5479
|
+
query?: never;
|
|
5480
|
+
header?: never;
|
|
5481
|
+
path?: never;
|
|
5482
|
+
cookie?: never;
|
|
5483
|
+
};
|
|
5484
|
+
/**
|
|
5485
|
+
* What your broker has told you
|
|
5486
|
+
* @description Your own notifications, newest first, paged by an opaque cursor with no total count.
|
|
5487
|
+
*
|
|
5488
|
+
* **Including the ones that did not reach you.** A notification whose delivery had nowhere to go is recorded as `Undeliverable` rather than discarded, and it is shown here, because the person it was for is the one party with a reason to know it was raised.
|
|
5489
|
+
*
|
|
5490
|
+
* You are not named in the request. The list is your own and there is no way to ask for anybody else's.
|
|
5491
|
+
*
|
|
5492
|
+
* **This one follows who you are acting as.** Acting for an organisation lists the organisation's notifications, because what a message is about is the organisation's business. The preference and device routes beneath this path deliberately do not: where you are told, and how, is yours.
|
|
5493
|
+
*/
|
|
5494
|
+
get: operations["ListOwnNotifications"];
|
|
5495
|
+
put?: never;
|
|
5496
|
+
post?: never;
|
|
5497
|
+
delete?: never;
|
|
5498
|
+
options?: never;
|
|
5499
|
+
head?: never;
|
|
5500
|
+
patch?: never;
|
|
5501
|
+
trace?: never;
|
|
5502
|
+
};
|
|
5503
|
+
"/api/v1/customer/notifications/preferences": {
|
|
5504
|
+
parameters: {
|
|
5505
|
+
query?: never;
|
|
5506
|
+
header?: never;
|
|
5507
|
+
path?: never;
|
|
5508
|
+
cookie?: never;
|
|
5509
|
+
};
|
|
5510
|
+
/**
|
|
5511
|
+
* How you have asked to be told
|
|
5512
|
+
* @description COM-002. Which channels your broker may use to tell you about your own cover.
|
|
5513
|
+
*
|
|
5514
|
+
* **This is not marketing consent.** Marketing consent, the necessity of a service notification and the lawful basis for processing your data are recorded separately (BR-007), and nothing on this resource expresses any of them.
|
|
5515
|
+
*
|
|
5516
|
+
* If you have never chosen, you are answered with the defaults and `updatedAtUtc` is null.
|
|
5517
|
+
*
|
|
5518
|
+
* **This is yours and never an organisation's.** If you are acting for an organisation the request is refused: drop `X-Broker-Acting-For` to read your own.
|
|
5519
|
+
*/
|
|
5520
|
+
get: operations["ReadOwnNotificationPreferences"];
|
|
5521
|
+
/**
|
|
5522
|
+
* Choose how you are told
|
|
5523
|
+
* @description COM-002. Replaces the whole choice, so all three channels have to be stated.
|
|
5524
|
+
*
|
|
5525
|
+
* **At least one has to stay on.** Messages about your own cover — a renewal falling due, a payment owed, something happening on a claim — are not marketing and there is no opt-out from them; what you choose is which way they reach you. A request that turns everything off is refused.
|
|
5526
|
+
*
|
|
5527
|
+
* **Nothing here records a marketing preference** (BR-007).
|
|
5528
|
+
*
|
|
5529
|
+
* **This is yours and never an organisation's.** If you are acting for an organisation the request is refused: drop `X-Broker-Acting-For` to set your own.
|
|
5530
|
+
*/
|
|
5531
|
+
put: operations["SetOwnNotificationPreferences"];
|
|
5532
|
+
post?: never;
|
|
5533
|
+
delete?: never;
|
|
5534
|
+
options?: never;
|
|
5535
|
+
head?: never;
|
|
5536
|
+
patch?: never;
|
|
5537
|
+
trace?: never;
|
|
5538
|
+
};
|
|
5539
|
+
"/api/v1/customer/notifications/devices": {
|
|
5540
|
+
parameters: {
|
|
5541
|
+
query?: never;
|
|
5542
|
+
header?: never;
|
|
5543
|
+
path?: never;
|
|
5544
|
+
cookie?: never;
|
|
5545
|
+
};
|
|
5546
|
+
get?: never;
|
|
5547
|
+
put?: never;
|
|
5548
|
+
/**
|
|
5549
|
+
* Register this device to be told on
|
|
5550
|
+
* @description Records the push token this installation currently holds, against you.
|
|
5551
|
+
*
|
|
5552
|
+
* **Safe to call again, and meant to be.** Send it at every sign-in and whenever the operating system rotates the token: the installation identifier is what ties the new token to the same device, so a rotation replaces the address rather than adding a second one. The first call answers 201 and later calls answer 200.
|
|
5553
|
+
*
|
|
5554
|
+
* **The token is never returned and never logged.** Keep the `id` from the response; it is what you revoke at sign-out.
|
|
5555
|
+
*
|
|
5556
|
+
* **Registering does not mean anything will be sent.** This platform has no push provider (#371); the registration exists so that the one eventually chosen has an address.
|
|
5557
|
+
*
|
|
5558
|
+
* **A handset is yours and never an organisation's.** If you are acting for an organisation the request is refused: drop `X-Broker-Acting-For`. A phone registered to an organisation would outlive your membership of it.
|
|
5559
|
+
*/
|
|
5560
|
+
post: operations["RegisterOwnDevice"];
|
|
5561
|
+
delete?: never;
|
|
5562
|
+
options?: never;
|
|
5563
|
+
head?: never;
|
|
5564
|
+
patch?: never;
|
|
5565
|
+
trace?: never;
|
|
5566
|
+
};
|
|
5567
|
+
"/api/v1/customer/notifications/devices/{id}": {
|
|
5568
|
+
parameters: {
|
|
5569
|
+
query?: never;
|
|
5570
|
+
header?: never;
|
|
5571
|
+
path?: never;
|
|
5572
|
+
cookie?: never;
|
|
5573
|
+
};
|
|
5574
|
+
get?: never;
|
|
5575
|
+
put?: never;
|
|
5576
|
+
post?: never;
|
|
5577
|
+
/**
|
|
5578
|
+
* Stop this device being told on
|
|
5579
|
+
* @description Call this as part of signing out. The stored token is discarded, not merely flagged, so nothing can be delivered to the handset after the person using it has left.
|
|
5580
|
+
*
|
|
5581
|
+
* Repeating it is harmless. A device that is not yours answers 404.
|
|
5582
|
+
*
|
|
5583
|
+
* **Your handsets are yours and never an organisation's.** If you are acting for an organisation the request is refused: drop `X-Broker-Acting-For` to revoke your own.
|
|
5584
|
+
*/
|
|
5585
|
+
delete: operations["RevokeOwnDevice"];
|
|
5586
|
+
options?: never;
|
|
5587
|
+
head?: never;
|
|
5588
|
+
patch?: never;
|
|
5589
|
+
trace?: never;
|
|
5590
|
+
};
|
|
5356
5591
|
}
|
|
5357
5592
|
export type webhooks = Record<string, never>;
|
|
5358
5593
|
export interface components {
|
|
@@ -5806,6 +6041,16 @@ export interface components {
|
|
|
5806
6041
|
state: string;
|
|
5807
6042
|
value: null | string;
|
|
5808
6043
|
};
|
|
6044
|
+
CustomerDeviceResponse: {
|
|
6045
|
+
/** Format: uuid */
|
|
6046
|
+
id: string;
|
|
6047
|
+
platform: string;
|
|
6048
|
+
appVersion: string;
|
|
6049
|
+
/** Format: date-time */
|
|
6050
|
+
registeredAtUtc: string;
|
|
6051
|
+
/** Format: date-time */
|
|
6052
|
+
lastRegisteredAtUtc: string;
|
|
6053
|
+
};
|
|
5809
6054
|
CustomerEmergencyContactResponse: {
|
|
5810
6055
|
countryCode: string;
|
|
5811
6056
|
contact: string;
|
|
@@ -5844,6 +6089,23 @@ export interface components {
|
|
|
5844
6089
|
/** Format: date-time */
|
|
5845
6090
|
revokedAtUtc: null | string;
|
|
5846
6091
|
};
|
|
6092
|
+
CustomerNotificationPage: {
|
|
6093
|
+
items: components["schemas"]["CustomerNotificationResponse"][];
|
|
6094
|
+
nextCursor: null | string;
|
|
6095
|
+
};
|
|
6096
|
+
CustomerNotificationResponse: {
|
|
6097
|
+
/** Format: uuid */
|
|
6098
|
+
id: string;
|
|
6099
|
+
kind: string;
|
|
6100
|
+
reference: null | string;
|
|
6101
|
+
subject: string;
|
|
6102
|
+
body: string;
|
|
6103
|
+
delivery: string;
|
|
6104
|
+
/** Format: date-time */
|
|
6105
|
+
createdAtUtc: string;
|
|
6106
|
+
/** Format: date-time */
|
|
6107
|
+
sentAtUtc: null | string;
|
|
6108
|
+
};
|
|
5847
6109
|
CustomerPaymentPageResponse: {
|
|
5848
6110
|
items: components["schemas"]["CustomerPaymentResponse"][];
|
|
5849
6111
|
nextCursor: null | string;
|
|
@@ -5998,6 +6260,24 @@ export interface components {
|
|
|
5998
6260
|
/** Format: date-time */
|
|
5999
6261
|
updatedAtUtc: string;
|
|
6000
6262
|
};
|
|
6263
|
+
CustomerServiceLocationResponse: {
|
|
6264
|
+
/** Format: uuid */
|
|
6265
|
+
id: string;
|
|
6266
|
+
category: string;
|
|
6267
|
+
name: string;
|
|
6268
|
+
description: null | string;
|
|
6269
|
+
address: null | string;
|
|
6270
|
+
locality: null | string;
|
|
6271
|
+
contactPhone: null | string;
|
|
6272
|
+
contactEmail: null | string;
|
|
6273
|
+
openingHours: null | string;
|
|
6274
|
+
/** Format: double */
|
|
6275
|
+
latitude: null | number | string;
|
|
6276
|
+
/** Format: double */
|
|
6277
|
+
longitude: null | number | string;
|
|
6278
|
+
/** Format: double */
|
|
6279
|
+
distanceKm: null | number | string;
|
|
6280
|
+
};
|
|
6001
6281
|
DataClassificationResponse: {
|
|
6002
6282
|
key: string;
|
|
6003
6283
|
name: string;
|
|
@@ -6622,6 +6902,13 @@ export interface components {
|
|
|
6622
6902
|
items: components["schemas"]["NotificationResponse"][];
|
|
6623
6903
|
nextCursor: null | string;
|
|
6624
6904
|
};
|
|
6905
|
+
NotificationPreferenceResponse: {
|
|
6906
|
+
sms: boolean;
|
|
6907
|
+
email: boolean;
|
|
6908
|
+
push: boolean;
|
|
6909
|
+
/** Format: date-time */
|
|
6910
|
+
updatedAtUtc: null | string;
|
|
6911
|
+
};
|
|
6625
6912
|
NotificationResponse: {
|
|
6626
6913
|
/** Format: uuid */
|
|
6627
6914
|
id: string;
|
|
@@ -7447,6 +7734,20 @@ export interface components {
|
|
|
7447
7734
|
/** Format: uuid */
|
|
7448
7735
|
quoteRequestId: null | string;
|
|
7449
7736
|
};
|
|
7737
|
+
RecordServiceLocationRequest: {
|
|
7738
|
+
category: string;
|
|
7739
|
+
name: string;
|
|
7740
|
+
description: null | string;
|
|
7741
|
+
address: null | string;
|
|
7742
|
+
locality: null | string;
|
|
7743
|
+
contactPhone: null | string;
|
|
7744
|
+
contactEmail: null | string;
|
|
7745
|
+
openingHours: null | string;
|
|
7746
|
+
/** Format: double */
|
|
7747
|
+
latitude: null | number | string;
|
|
7748
|
+
/** Format: double */
|
|
7749
|
+
longitude: null | number | string;
|
|
7750
|
+
};
|
|
7450
7751
|
RecordTimelineEntryRequest: {
|
|
7451
7752
|
body: string;
|
|
7452
7753
|
};
|
|
@@ -7469,6 +7770,12 @@ export interface components {
|
|
|
7469
7770
|
email: null | string;
|
|
7470
7771
|
phone: null | string;
|
|
7471
7772
|
};
|
|
7773
|
+
RegisterDeviceRequest: {
|
|
7774
|
+
installationId: null | string;
|
|
7775
|
+
platform: null | string;
|
|
7776
|
+
token: null | string;
|
|
7777
|
+
appVersion: null | string;
|
|
7778
|
+
};
|
|
7472
7779
|
RegisterOrganisationRequest: {
|
|
7473
7780
|
name: null | string;
|
|
7474
7781
|
registrationNumber: null | string;
|
|
@@ -7666,6 +7973,19 @@ export interface components {
|
|
|
7666
7973
|
validUntil: null | string;
|
|
7667
7974
|
attributes: null | string;
|
|
7668
7975
|
};
|
|
7976
|
+
ReviseServiceLocationRequest: {
|
|
7977
|
+
name: string;
|
|
7978
|
+
description: null | string;
|
|
7979
|
+
address: null | string;
|
|
7980
|
+
locality: null | string;
|
|
7981
|
+
contactPhone: null | string;
|
|
7982
|
+
contactEmail: null | string;
|
|
7983
|
+
openingHours: null | string;
|
|
7984
|
+
/** Format: double */
|
|
7985
|
+
latitude: null | number | string;
|
|
7986
|
+
/** Format: double */
|
|
7987
|
+
longitude: null | number | string;
|
|
7988
|
+
};
|
|
7669
7989
|
ReviseTemplateVersionBodyRequest: {
|
|
7670
7990
|
body: null | components["schemas"]["JsonElement"];
|
|
7671
7991
|
/** Format: int32 */
|
|
@@ -7697,6 +8017,34 @@ export interface components {
|
|
|
7697
8017
|
email: null | string;
|
|
7698
8018
|
phone: null | string;
|
|
7699
8019
|
};
|
|
8020
|
+
ServiceLocationResponse: {
|
|
8021
|
+
/** Format: uuid */
|
|
8022
|
+
id: string;
|
|
8023
|
+
category: string;
|
|
8024
|
+
status: string;
|
|
8025
|
+
isVisibleToCustomers: boolean;
|
|
8026
|
+
name: string;
|
|
8027
|
+
description: null | string;
|
|
8028
|
+
address: null | string;
|
|
8029
|
+
locality: null | string;
|
|
8030
|
+
contactPhone: null | string;
|
|
8031
|
+
contactEmail: null | string;
|
|
8032
|
+
openingHours: null | string;
|
|
8033
|
+
/** Format: double */
|
|
8034
|
+
latitude: null | number | string;
|
|
8035
|
+
/** Format: double */
|
|
8036
|
+
longitude: null | number | string;
|
|
8037
|
+
verifiedBySubjectId: null | string;
|
|
8038
|
+
/** Format: date-time */
|
|
8039
|
+
verifiedAtUtc: null | string;
|
|
8040
|
+
verificationAssurance: null | string;
|
|
8041
|
+
/** Format: date-time */
|
|
8042
|
+
publishedAtUtc: null | string;
|
|
8043
|
+
/** Format: date-time */
|
|
8044
|
+
createdAtUtc: string;
|
|
8045
|
+
/** Format: date-time */
|
|
8046
|
+
updatedAtUtc: string;
|
|
8047
|
+
};
|
|
7700
8048
|
SetAcceptanceApprovalLimitRequest: {
|
|
7701
8049
|
/** Format: double */
|
|
7702
8050
|
maximumAmount: null | number | string;
|
|
@@ -7706,6 +8054,11 @@ export interface components {
|
|
|
7706
8054
|
contactDetail: null | string;
|
|
7707
8055
|
instruction: null | string;
|
|
7708
8056
|
};
|
|
8057
|
+
SetNotificationPreferenceRequest: {
|
|
8058
|
+
sms: null | boolean;
|
|
8059
|
+
email: null | boolean;
|
|
8060
|
+
push: null | boolean;
|
|
8061
|
+
};
|
|
7709
8062
|
SetRenewalLeadTimeRequest: {
|
|
7710
8063
|
/** Format: int32 */
|
|
7711
8064
|
leadDays: null | number | string;
|
|
@@ -7970,6 +8323,9 @@ export interface components {
|
|
|
7970
8323
|
name: null | string;
|
|
7971
8324
|
description: null | string;
|
|
7972
8325
|
};
|
|
8326
|
+
VerifyServiceLocationRequest: {
|
|
8327
|
+
assurance: null | string;
|
|
8328
|
+
};
|
|
7973
8329
|
WebsiteLeadReceipt: {
|
|
7974
8330
|
/** Format: uuid */
|
|
7975
8331
|
leadId: string;
|
|
@@ -16179,26 +16535,349 @@ export interface operations {
|
|
|
16179
16535
|
};
|
|
16180
16536
|
};
|
|
16181
16537
|
};
|
|
16182
|
-
|
|
16538
|
+
ListServiceLocations: {
|
|
16183
16539
|
parameters: {
|
|
16184
|
-
query?:
|
|
16540
|
+
query?: {
|
|
16541
|
+
category?: string;
|
|
16542
|
+
status?: string;
|
|
16543
|
+
search?: string;
|
|
16544
|
+
limit?: number | string;
|
|
16545
|
+
};
|
|
16185
16546
|
header?: never;
|
|
16186
16547
|
path?: never;
|
|
16187
16548
|
cookie?: never;
|
|
16188
16549
|
};
|
|
16189
|
-
requestBody
|
|
16190
|
-
content: {
|
|
16191
|
-
"application/json": components["schemas"]["OpenPolicyRequest"];
|
|
16192
|
-
};
|
|
16193
|
-
};
|
|
16550
|
+
requestBody?: never;
|
|
16194
16551
|
responses: {
|
|
16195
|
-
/** @description
|
|
16196
|
-
|
|
16552
|
+
/** @description OK */
|
|
16553
|
+
200: {
|
|
16197
16554
|
headers: {
|
|
16198
16555
|
[name: string]: unknown;
|
|
16199
16556
|
};
|
|
16200
16557
|
content: {
|
|
16201
|
-
"application/json": components["schemas"]["
|
|
16558
|
+
"application/json": components["schemas"]["ServiceLocationResponse"][];
|
|
16559
|
+
};
|
|
16560
|
+
};
|
|
16561
|
+
/** @description Bad Request */
|
|
16562
|
+
400: {
|
|
16563
|
+
headers: {
|
|
16564
|
+
[name: string]: unknown;
|
|
16565
|
+
};
|
|
16566
|
+
content: {
|
|
16567
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16568
|
+
};
|
|
16569
|
+
};
|
|
16570
|
+
/** @description Forbidden */
|
|
16571
|
+
403: {
|
|
16572
|
+
headers: {
|
|
16573
|
+
[name: string]: unknown;
|
|
16574
|
+
};
|
|
16575
|
+
content?: never;
|
|
16576
|
+
};
|
|
16577
|
+
};
|
|
16578
|
+
};
|
|
16579
|
+
RecordServiceLocation: {
|
|
16580
|
+
parameters: {
|
|
16581
|
+
query?: never;
|
|
16582
|
+
header?: never;
|
|
16583
|
+
path?: never;
|
|
16584
|
+
cookie?: never;
|
|
16585
|
+
};
|
|
16586
|
+
requestBody: {
|
|
16587
|
+
content: {
|
|
16588
|
+
"application/json": components["schemas"]["RecordServiceLocationRequest"];
|
|
16589
|
+
};
|
|
16590
|
+
};
|
|
16591
|
+
responses: {
|
|
16592
|
+
/** @description Created */
|
|
16593
|
+
201: {
|
|
16594
|
+
headers: {
|
|
16595
|
+
[name: string]: unknown;
|
|
16596
|
+
};
|
|
16597
|
+
content: {
|
|
16598
|
+
"application/json": components["schemas"]["ServiceLocationResponse"];
|
|
16599
|
+
};
|
|
16600
|
+
};
|
|
16601
|
+
/** @description Bad Request */
|
|
16602
|
+
400: {
|
|
16603
|
+
headers: {
|
|
16604
|
+
[name: string]: unknown;
|
|
16605
|
+
};
|
|
16606
|
+
content: {
|
|
16607
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16608
|
+
};
|
|
16609
|
+
};
|
|
16610
|
+
/** @description Forbidden */
|
|
16611
|
+
403: {
|
|
16612
|
+
headers: {
|
|
16613
|
+
[name: string]: unknown;
|
|
16614
|
+
};
|
|
16615
|
+
content?: never;
|
|
16616
|
+
};
|
|
16617
|
+
};
|
|
16618
|
+
};
|
|
16619
|
+
ReviseServiceLocation: {
|
|
16620
|
+
parameters: {
|
|
16621
|
+
query?: never;
|
|
16622
|
+
header?: never;
|
|
16623
|
+
path: {
|
|
16624
|
+
id: string;
|
|
16625
|
+
};
|
|
16626
|
+
cookie?: never;
|
|
16627
|
+
};
|
|
16628
|
+
requestBody: {
|
|
16629
|
+
content: {
|
|
16630
|
+
"application/json": components["schemas"]["ReviseServiceLocationRequest"];
|
|
16631
|
+
};
|
|
16632
|
+
};
|
|
16633
|
+
responses: {
|
|
16634
|
+
/** @description OK */
|
|
16635
|
+
200: {
|
|
16636
|
+
headers: {
|
|
16637
|
+
[name: string]: unknown;
|
|
16638
|
+
};
|
|
16639
|
+
content: {
|
|
16640
|
+
"application/json": components["schemas"]["ServiceLocationResponse"];
|
|
16641
|
+
};
|
|
16642
|
+
};
|
|
16643
|
+
/** @description Bad Request */
|
|
16644
|
+
400: {
|
|
16645
|
+
headers: {
|
|
16646
|
+
[name: string]: unknown;
|
|
16647
|
+
};
|
|
16648
|
+
content: {
|
|
16649
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16650
|
+
};
|
|
16651
|
+
};
|
|
16652
|
+
/** @description Forbidden */
|
|
16653
|
+
403: {
|
|
16654
|
+
headers: {
|
|
16655
|
+
[name: string]: unknown;
|
|
16656
|
+
};
|
|
16657
|
+
content?: never;
|
|
16658
|
+
};
|
|
16659
|
+
/** @description Not Found */
|
|
16660
|
+
404: {
|
|
16661
|
+
headers: {
|
|
16662
|
+
[name: string]: unknown;
|
|
16663
|
+
};
|
|
16664
|
+
content?: never;
|
|
16665
|
+
};
|
|
16666
|
+
/** @description Conflict */
|
|
16667
|
+
409: {
|
|
16668
|
+
headers: {
|
|
16669
|
+
[name: string]: unknown;
|
|
16670
|
+
};
|
|
16671
|
+
content: {
|
|
16672
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16673
|
+
};
|
|
16674
|
+
};
|
|
16675
|
+
};
|
|
16676
|
+
};
|
|
16677
|
+
VerifyServiceLocation: {
|
|
16678
|
+
parameters: {
|
|
16679
|
+
query?: never;
|
|
16680
|
+
header?: never;
|
|
16681
|
+
path: {
|
|
16682
|
+
id: string;
|
|
16683
|
+
};
|
|
16684
|
+
cookie?: never;
|
|
16685
|
+
};
|
|
16686
|
+
requestBody: {
|
|
16687
|
+
content: {
|
|
16688
|
+
"application/json": components["schemas"]["VerifyServiceLocationRequest"];
|
|
16689
|
+
};
|
|
16690
|
+
};
|
|
16691
|
+
responses: {
|
|
16692
|
+
/** @description OK */
|
|
16693
|
+
200: {
|
|
16694
|
+
headers: {
|
|
16695
|
+
[name: string]: unknown;
|
|
16696
|
+
};
|
|
16697
|
+
content: {
|
|
16698
|
+
"application/json": components["schemas"]["ServiceLocationResponse"];
|
|
16699
|
+
};
|
|
16700
|
+
};
|
|
16701
|
+
/** @description Bad Request */
|
|
16702
|
+
400: {
|
|
16703
|
+
headers: {
|
|
16704
|
+
[name: string]: unknown;
|
|
16705
|
+
};
|
|
16706
|
+
content: {
|
|
16707
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16708
|
+
};
|
|
16709
|
+
};
|
|
16710
|
+
/** @description Forbidden */
|
|
16711
|
+
403: {
|
|
16712
|
+
headers: {
|
|
16713
|
+
[name: string]: unknown;
|
|
16714
|
+
};
|
|
16715
|
+
content?: never;
|
|
16716
|
+
};
|
|
16717
|
+
/** @description Not Found */
|
|
16718
|
+
404: {
|
|
16719
|
+
headers: {
|
|
16720
|
+
[name: string]: unknown;
|
|
16721
|
+
};
|
|
16722
|
+
content?: never;
|
|
16723
|
+
};
|
|
16724
|
+
/** @description Conflict */
|
|
16725
|
+
409: {
|
|
16726
|
+
headers: {
|
|
16727
|
+
[name: string]: unknown;
|
|
16728
|
+
};
|
|
16729
|
+
content: {
|
|
16730
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16731
|
+
};
|
|
16732
|
+
};
|
|
16733
|
+
};
|
|
16734
|
+
};
|
|
16735
|
+
PublishServiceLocation: {
|
|
16736
|
+
parameters: {
|
|
16737
|
+
query?: never;
|
|
16738
|
+
header?: never;
|
|
16739
|
+
path: {
|
|
16740
|
+
id: string;
|
|
16741
|
+
};
|
|
16742
|
+
cookie?: never;
|
|
16743
|
+
};
|
|
16744
|
+
requestBody?: never;
|
|
16745
|
+
responses: {
|
|
16746
|
+
/** @description OK */
|
|
16747
|
+
200: {
|
|
16748
|
+
headers: {
|
|
16749
|
+
[name: string]: unknown;
|
|
16750
|
+
};
|
|
16751
|
+
content: {
|
|
16752
|
+
"application/json": components["schemas"]["ServiceLocationResponse"];
|
|
16753
|
+
};
|
|
16754
|
+
};
|
|
16755
|
+
/** @description Forbidden */
|
|
16756
|
+
403: {
|
|
16757
|
+
headers: {
|
|
16758
|
+
[name: string]: unknown;
|
|
16759
|
+
};
|
|
16760
|
+
content?: never;
|
|
16761
|
+
};
|
|
16762
|
+
/** @description Not Found */
|
|
16763
|
+
404: {
|
|
16764
|
+
headers: {
|
|
16765
|
+
[name: string]: unknown;
|
|
16766
|
+
};
|
|
16767
|
+
content?: never;
|
|
16768
|
+
};
|
|
16769
|
+
/** @description Conflict */
|
|
16770
|
+
409: {
|
|
16771
|
+
headers: {
|
|
16772
|
+
[name: string]: unknown;
|
|
16773
|
+
};
|
|
16774
|
+
content: {
|
|
16775
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16776
|
+
};
|
|
16777
|
+
};
|
|
16778
|
+
};
|
|
16779
|
+
};
|
|
16780
|
+
UnpublishServiceLocation: {
|
|
16781
|
+
parameters: {
|
|
16782
|
+
query?: never;
|
|
16783
|
+
header?: never;
|
|
16784
|
+
path: {
|
|
16785
|
+
id: string;
|
|
16786
|
+
};
|
|
16787
|
+
cookie?: never;
|
|
16788
|
+
};
|
|
16789
|
+
requestBody?: never;
|
|
16790
|
+
responses: {
|
|
16791
|
+
/** @description OK */
|
|
16792
|
+
200: {
|
|
16793
|
+
headers: {
|
|
16794
|
+
[name: string]: unknown;
|
|
16795
|
+
};
|
|
16796
|
+
content: {
|
|
16797
|
+
"application/json": components["schemas"]["ServiceLocationResponse"];
|
|
16798
|
+
};
|
|
16799
|
+
};
|
|
16800
|
+
/** @description Forbidden */
|
|
16801
|
+
403: {
|
|
16802
|
+
headers: {
|
|
16803
|
+
[name: string]: unknown;
|
|
16804
|
+
};
|
|
16805
|
+
content?: never;
|
|
16806
|
+
};
|
|
16807
|
+
/** @description Not Found */
|
|
16808
|
+
404: {
|
|
16809
|
+
headers: {
|
|
16810
|
+
[name: string]: unknown;
|
|
16811
|
+
};
|
|
16812
|
+
content?: never;
|
|
16813
|
+
};
|
|
16814
|
+
/** @description Conflict */
|
|
16815
|
+
409: {
|
|
16816
|
+
headers: {
|
|
16817
|
+
[name: string]: unknown;
|
|
16818
|
+
};
|
|
16819
|
+
content: {
|
|
16820
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16821
|
+
};
|
|
16822
|
+
};
|
|
16823
|
+
};
|
|
16824
|
+
};
|
|
16825
|
+
ReadOwnBrokersServiceLocations: {
|
|
16826
|
+
parameters: {
|
|
16827
|
+
query?: {
|
|
16828
|
+
category?: string;
|
|
16829
|
+
search?: string;
|
|
16830
|
+
latitude?: number | string;
|
|
16831
|
+
longitude?: number | string;
|
|
16832
|
+
radiusKm?: number | string;
|
|
16833
|
+
limit?: number | string;
|
|
16834
|
+
};
|
|
16835
|
+
header?: never;
|
|
16836
|
+
path?: never;
|
|
16837
|
+
cookie?: never;
|
|
16838
|
+
};
|
|
16839
|
+
requestBody?: never;
|
|
16840
|
+
responses: {
|
|
16841
|
+
/** @description OK */
|
|
16842
|
+
200: {
|
|
16843
|
+
headers: {
|
|
16844
|
+
[name: string]: unknown;
|
|
16845
|
+
};
|
|
16846
|
+
content: {
|
|
16847
|
+
"application/json": components["schemas"]["CustomerServiceLocationResponse"][];
|
|
16848
|
+
};
|
|
16849
|
+
};
|
|
16850
|
+
/** @description Bad Request */
|
|
16851
|
+
400: {
|
|
16852
|
+
headers: {
|
|
16853
|
+
[name: string]: unknown;
|
|
16854
|
+
};
|
|
16855
|
+
content: {
|
|
16856
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16857
|
+
};
|
|
16858
|
+
};
|
|
16859
|
+
};
|
|
16860
|
+
};
|
|
16861
|
+
OpenPolicy: {
|
|
16862
|
+
parameters: {
|
|
16863
|
+
query?: never;
|
|
16864
|
+
header?: never;
|
|
16865
|
+
path?: never;
|
|
16866
|
+
cookie?: never;
|
|
16867
|
+
};
|
|
16868
|
+
requestBody: {
|
|
16869
|
+
content: {
|
|
16870
|
+
"application/json": components["schemas"]["OpenPolicyRequest"];
|
|
16871
|
+
};
|
|
16872
|
+
};
|
|
16873
|
+
responses: {
|
|
16874
|
+
/** @description Created */
|
|
16875
|
+
201: {
|
|
16876
|
+
headers: {
|
|
16877
|
+
[name: string]: unknown;
|
|
16878
|
+
};
|
|
16879
|
+
content: {
|
|
16880
|
+
"application/json": components["schemas"]["PolicyResponse"];
|
|
16202
16881
|
};
|
|
16203
16882
|
};
|
|
16204
16883
|
/** @description Bad Request */
|
|
@@ -20723,4 +21402,194 @@ export interface operations {
|
|
|
20723
21402
|
};
|
|
20724
21403
|
};
|
|
20725
21404
|
};
|
|
21405
|
+
ListOwnNotifications: {
|
|
21406
|
+
parameters: {
|
|
21407
|
+
query?: {
|
|
21408
|
+
cursor?: string;
|
|
21409
|
+
limit?: number | string;
|
|
21410
|
+
};
|
|
21411
|
+
header?: never;
|
|
21412
|
+
path?: never;
|
|
21413
|
+
cookie?: never;
|
|
21414
|
+
};
|
|
21415
|
+
requestBody?: never;
|
|
21416
|
+
responses: {
|
|
21417
|
+
/** @description OK */
|
|
21418
|
+
200: {
|
|
21419
|
+
headers: {
|
|
21420
|
+
[name: string]: unknown;
|
|
21421
|
+
};
|
|
21422
|
+
content: {
|
|
21423
|
+
"application/json": components["schemas"]["CustomerNotificationPage"];
|
|
21424
|
+
};
|
|
21425
|
+
};
|
|
21426
|
+
/** @description Bad Request */
|
|
21427
|
+
400: {
|
|
21428
|
+
headers: {
|
|
21429
|
+
[name: string]: unknown;
|
|
21430
|
+
};
|
|
21431
|
+
content: {
|
|
21432
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
21433
|
+
};
|
|
21434
|
+
};
|
|
21435
|
+
};
|
|
21436
|
+
};
|
|
21437
|
+
ReadOwnNotificationPreferences: {
|
|
21438
|
+
parameters: {
|
|
21439
|
+
query?: never;
|
|
21440
|
+
header?: never;
|
|
21441
|
+
path?: never;
|
|
21442
|
+
cookie?: never;
|
|
21443
|
+
};
|
|
21444
|
+
requestBody?: never;
|
|
21445
|
+
responses: {
|
|
21446
|
+
/** @description OK */
|
|
21447
|
+
200: {
|
|
21448
|
+
headers: {
|
|
21449
|
+
[name: string]: unknown;
|
|
21450
|
+
};
|
|
21451
|
+
content: {
|
|
21452
|
+
"application/json": components["schemas"]["NotificationPreferenceResponse"];
|
|
21453
|
+
};
|
|
21454
|
+
};
|
|
21455
|
+
/** @description Forbidden */
|
|
21456
|
+
403: {
|
|
21457
|
+
headers: {
|
|
21458
|
+
[name: string]: unknown;
|
|
21459
|
+
};
|
|
21460
|
+
content: {
|
|
21461
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
21462
|
+
};
|
|
21463
|
+
};
|
|
21464
|
+
};
|
|
21465
|
+
};
|
|
21466
|
+
SetOwnNotificationPreferences: {
|
|
21467
|
+
parameters: {
|
|
21468
|
+
query?: never;
|
|
21469
|
+
header?: never;
|
|
21470
|
+
path?: never;
|
|
21471
|
+
cookie?: never;
|
|
21472
|
+
};
|
|
21473
|
+
requestBody: {
|
|
21474
|
+
content: {
|
|
21475
|
+
"application/json": components["schemas"]["SetNotificationPreferenceRequest"];
|
|
21476
|
+
};
|
|
21477
|
+
};
|
|
21478
|
+
responses: {
|
|
21479
|
+
/** @description OK */
|
|
21480
|
+
200: {
|
|
21481
|
+
headers: {
|
|
21482
|
+
[name: string]: unknown;
|
|
21483
|
+
};
|
|
21484
|
+
content: {
|
|
21485
|
+
"application/json": components["schemas"]["NotificationPreferenceResponse"];
|
|
21486
|
+
};
|
|
21487
|
+
};
|
|
21488
|
+
/** @description Bad Request */
|
|
21489
|
+
400: {
|
|
21490
|
+
headers: {
|
|
21491
|
+
[name: string]: unknown;
|
|
21492
|
+
};
|
|
21493
|
+
content: {
|
|
21494
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
21495
|
+
};
|
|
21496
|
+
};
|
|
21497
|
+
/** @description Forbidden */
|
|
21498
|
+
403: {
|
|
21499
|
+
headers: {
|
|
21500
|
+
[name: string]: unknown;
|
|
21501
|
+
};
|
|
21502
|
+
content: {
|
|
21503
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
21504
|
+
};
|
|
21505
|
+
};
|
|
21506
|
+
};
|
|
21507
|
+
};
|
|
21508
|
+
RegisterOwnDevice: {
|
|
21509
|
+
parameters: {
|
|
21510
|
+
query?: never;
|
|
21511
|
+
header?: never;
|
|
21512
|
+
path?: never;
|
|
21513
|
+
cookie?: never;
|
|
21514
|
+
};
|
|
21515
|
+
requestBody: {
|
|
21516
|
+
content: {
|
|
21517
|
+
"application/json": components["schemas"]["RegisterDeviceRequest"];
|
|
21518
|
+
};
|
|
21519
|
+
};
|
|
21520
|
+
responses: {
|
|
21521
|
+
/** @description OK */
|
|
21522
|
+
200: {
|
|
21523
|
+
headers: {
|
|
21524
|
+
[name: string]: unknown;
|
|
21525
|
+
};
|
|
21526
|
+
content: {
|
|
21527
|
+
"application/json": components["schemas"]["CustomerDeviceResponse"];
|
|
21528
|
+
};
|
|
21529
|
+
};
|
|
21530
|
+
/** @description Created */
|
|
21531
|
+
201: {
|
|
21532
|
+
headers: {
|
|
21533
|
+
[name: string]: unknown;
|
|
21534
|
+
};
|
|
21535
|
+
content: {
|
|
21536
|
+
"application/json": components["schemas"]["CustomerDeviceResponse"];
|
|
21537
|
+
};
|
|
21538
|
+
};
|
|
21539
|
+
/** @description Bad Request */
|
|
21540
|
+
400: {
|
|
21541
|
+
headers: {
|
|
21542
|
+
[name: string]: unknown;
|
|
21543
|
+
};
|
|
21544
|
+
content: {
|
|
21545
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
21546
|
+
};
|
|
21547
|
+
};
|
|
21548
|
+
/** @description Forbidden */
|
|
21549
|
+
403: {
|
|
21550
|
+
headers: {
|
|
21551
|
+
[name: string]: unknown;
|
|
21552
|
+
};
|
|
21553
|
+
content: {
|
|
21554
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
21555
|
+
};
|
|
21556
|
+
};
|
|
21557
|
+
};
|
|
21558
|
+
};
|
|
21559
|
+
RevokeOwnDevice: {
|
|
21560
|
+
parameters: {
|
|
21561
|
+
query?: never;
|
|
21562
|
+
header?: never;
|
|
21563
|
+
path: {
|
|
21564
|
+
id: string;
|
|
21565
|
+
};
|
|
21566
|
+
cookie?: never;
|
|
21567
|
+
};
|
|
21568
|
+
requestBody?: never;
|
|
21569
|
+
responses: {
|
|
21570
|
+
/** @description No Content */
|
|
21571
|
+
204: {
|
|
21572
|
+
headers: {
|
|
21573
|
+
[name: string]: unknown;
|
|
21574
|
+
};
|
|
21575
|
+
content?: never;
|
|
21576
|
+
};
|
|
21577
|
+
/** @description Forbidden */
|
|
21578
|
+
403: {
|
|
21579
|
+
headers: {
|
|
21580
|
+
[name: string]: unknown;
|
|
21581
|
+
};
|
|
21582
|
+
content: {
|
|
21583
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
21584
|
+
};
|
|
21585
|
+
};
|
|
21586
|
+
/** @description Not Found */
|
|
21587
|
+
404: {
|
|
21588
|
+
headers: {
|
|
21589
|
+
[name: string]: unknown;
|
|
21590
|
+
};
|
|
21591
|
+
content?: never;
|
|
21592
|
+
};
|
|
21593
|
+
};
|
|
21594
|
+
};
|
|
20726
21595
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.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,
|