@insurance-broker/api-client 2.9.0 → 2.11.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 +723 -42
  2. 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;
@@ -4981,6 +5102,50 @@ export interface paths {
4981
5102
  patch?: never;
4982
5103
  trace?: never;
4983
5104
  };
5105
+ "/api/v1/acceptance-approval-limits": {
5106
+ parameters: {
5107
+ query?: never;
5108
+ header?: never;
5109
+ path?: never;
5110
+ cookie?: never;
5111
+ };
5112
+ /**
5113
+ * How much a member of a customer organisation may commit on their own
5114
+ * @description Every ceiling this broker has configured, by membership role and currency. A role and currency with no row here is unlimited, which is where every broker starts: an empty list means nothing is refused.
5115
+ */
5116
+ get: operations["ReadAcceptanceApprovalLimits"];
5117
+ put?: never;
5118
+ post?: never;
5119
+ delete?: never;
5120
+ options?: never;
5121
+ head?: never;
5122
+ patch?: never;
5123
+ trace?: never;
5124
+ };
5125
+ "/api/v1/acceptance-approval-limits/{role}/{currency}": {
5126
+ parameters: {
5127
+ query?: never;
5128
+ header?: never;
5129
+ path?: never;
5130
+ cookie?: never;
5131
+ };
5132
+ get?: never;
5133
+ /**
5134
+ * Set what a membership role may commit in one currency
5135
+ * @description Records a ceiling. A person acting for one of this broker's customer organisations with the role named here may accept a quote whose premium is at or below this amount, in this currency, and is refused above it. Nothing about a customer acting personally is affected, and a premium quoted in a currency with no ceiling is not measured against anything.
5136
+ */
5137
+ put: operations["SetAcceptanceApprovalLimit"];
5138
+ post?: never;
5139
+ /**
5140
+ * Let a membership role commit any amount in one currency again
5141
+ * @description Deletes the ceiling. Unlimited applies again by absence, which is what an empty set means. Clearing a ceiling this broker does not have answers 404.
5142
+ */
5143
+ delete: operations["ClearAcceptanceApprovalLimit"];
5144
+ options?: never;
5145
+ head?: never;
5146
+ patch?: never;
5147
+ trace?: never;
5148
+ };
4984
5149
  "/api/v1/retention/schedule": {
4985
5150
  parameters: {
4986
5151
  query?: never;
@@ -5313,6 +5478,17 @@ export interface paths {
5313
5478
  export type webhooks = Record<string, never>;
5314
5479
  export interface components {
5315
5480
  schemas: {
5481
+ AcceptanceApprovalLimitResponse: {
5482
+ membershipRole: string;
5483
+ currency: string;
5484
+ /** Format: double */
5485
+ maximumAmount: number | string;
5486
+ /** Format: date-time */
5487
+ setAtUtc: string;
5488
+ /** Format: date-time */
5489
+ updatedAtUtc: string;
5490
+ setBySubjectId: string;
5491
+ };
5316
5492
  AcceptQuoteRequest: {
5317
5493
  /** Format: uuid */
5318
5494
  presentationVersionId: null | string;
@@ -5943,6 +6119,24 @@ export interface components {
5943
6119
  /** Format: date-time */
5944
6120
  updatedAtUtc: string;
5945
6121
  };
6122
+ CustomerServiceLocationResponse: {
6123
+ /** Format: uuid */
6124
+ id: string;
6125
+ category: string;
6126
+ name: string;
6127
+ description: null | string;
6128
+ address: null | string;
6129
+ locality: null | string;
6130
+ contactPhone: null | string;
6131
+ contactEmail: null | string;
6132
+ openingHours: null | string;
6133
+ /** Format: double */
6134
+ latitude: null | number | string;
6135
+ /** Format: double */
6136
+ longitude: null | number | string;
6137
+ /** Format: double */
6138
+ distanceKm: null | number | string;
6139
+ };
5946
6140
  DataClassificationResponse: {
5947
6141
  key: string;
5948
6142
  name: string;
@@ -7392,6 +7586,20 @@ export interface components {
7392
7586
  /** Format: uuid */
7393
7587
  quoteRequestId: null | string;
7394
7588
  };
7589
+ RecordServiceLocationRequest: {
7590
+ category: string;
7591
+ name: string;
7592
+ description: null | string;
7593
+ address: null | string;
7594
+ locality: null | string;
7595
+ contactPhone: null | string;
7596
+ contactEmail: null | string;
7597
+ openingHours: null | string;
7598
+ /** Format: double */
7599
+ latitude: null | number | string;
7600
+ /** Format: double */
7601
+ longitude: null | number | string;
7602
+ };
7395
7603
  RecordTimelineEntryRequest: {
7396
7604
  body: string;
7397
7605
  };
@@ -7611,6 +7819,19 @@ export interface components {
7611
7819
  validUntil: null | string;
7612
7820
  attributes: null | string;
7613
7821
  };
7822
+ ReviseServiceLocationRequest: {
7823
+ name: string;
7824
+ description: null | string;
7825
+ address: null | string;
7826
+ locality: null | string;
7827
+ contactPhone: null | string;
7828
+ contactEmail: null | string;
7829
+ openingHours: null | string;
7830
+ /** Format: double */
7831
+ latitude: null | number | string;
7832
+ /** Format: double */
7833
+ longitude: null | number | string;
7834
+ };
7614
7835
  ReviseTemplateVersionBodyRequest: {
7615
7836
  body: null | components["schemas"]["JsonElement"];
7616
7837
  /** Format: int32 */
@@ -7642,6 +7863,38 @@ export interface components {
7642
7863
  email: null | string;
7643
7864
  phone: null | string;
7644
7865
  };
7866
+ ServiceLocationResponse: {
7867
+ /** Format: uuid */
7868
+ id: string;
7869
+ category: string;
7870
+ status: string;
7871
+ isVisibleToCustomers: boolean;
7872
+ name: string;
7873
+ description: null | string;
7874
+ address: null | string;
7875
+ locality: null | string;
7876
+ contactPhone: null | string;
7877
+ contactEmail: null | string;
7878
+ openingHours: null | string;
7879
+ /** Format: double */
7880
+ latitude: null | number | string;
7881
+ /** Format: double */
7882
+ longitude: null | number | string;
7883
+ verifiedBySubjectId: null | string;
7884
+ /** Format: date-time */
7885
+ verifiedAtUtc: null | string;
7886
+ verificationAssurance: null | string;
7887
+ /** Format: date-time */
7888
+ publishedAtUtc: null | string;
7889
+ /** Format: date-time */
7890
+ createdAtUtc: string;
7891
+ /** Format: date-time */
7892
+ updatedAtUtc: string;
7893
+ };
7894
+ SetAcceptanceApprovalLimitRequest: {
7895
+ /** Format: double */
7896
+ maximumAmount: null | number | string;
7897
+ };
7645
7898
  SetEmergencyContactRequest: {
7646
7899
  providerName: null | string;
7647
7900
  contactDetail: null | string;
@@ -7911,6 +8164,9 @@ export interface components {
7911
8164
  name: null | string;
7912
8165
  description: null | string;
7913
8166
  };
8167
+ VerifyServiceLocationRequest: {
8168
+ assurance: null | string;
8169
+ };
7914
8170
  WebsiteLeadReceipt: {
7915
8171
  /** Format: uuid */
7916
8172
  leadId: string;
@@ -16120,39 +16376,31 @@ export interface operations {
16120
16376
  };
16121
16377
  };
16122
16378
  };
16123
- OpenPolicy: {
16379
+ ListServiceLocations: {
16124
16380
  parameters: {
16125
- query?: never;
16381
+ query?: {
16382
+ category?: string;
16383
+ status?: string;
16384
+ search?: string;
16385
+ limit?: number | string;
16386
+ };
16126
16387
  header?: never;
16127
16388
  path?: never;
16128
16389
  cookie?: never;
16129
16390
  };
16130
- requestBody: {
16131
- content: {
16132
- "application/json": components["schemas"]["OpenPolicyRequest"];
16133
- };
16134
- };
16391
+ requestBody?: never;
16135
16392
  responses: {
16136
- /** @description Created */
16137
- 201: {
16393
+ /** @description OK */
16394
+ 200: {
16138
16395
  headers: {
16139
16396
  [name: string]: unknown;
16140
16397
  };
16141
16398
  content: {
16142
- "application/json": components["schemas"]["PolicyResponse"];
16399
+ "application/json": components["schemas"]["ServiceLocationResponse"][];
16143
16400
  };
16144
16401
  };
16145
16402
  /** @description Bad Request */
16146
16403
  400: {
16147
- headers: {
16148
- [name: string]: unknown;
16149
- };
16150
- content: {
16151
- "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
16152
- };
16153
- };
16154
- /** @description Conflict */
16155
- 409: {
16156
16404
  headers: {
16157
16405
  [name: string]: unknown;
16158
16406
  };
@@ -16160,18 +16408,16 @@ export interface operations {
16160
16408
  "application/problem+json": components["schemas"]["ProblemDetails"];
16161
16409
  };
16162
16410
  };
16163
- /** @description Unprocessable Entity */
16164
- 422: {
16411
+ /** @description Forbidden */
16412
+ 403: {
16165
16413
  headers: {
16166
16414
  [name: string]: unknown;
16167
16415
  };
16168
- content: {
16169
- "application/problem+json": components["schemas"]["ProblemDetails"];
16170
- };
16416
+ content?: never;
16171
16417
  };
16172
16418
  };
16173
16419
  };
16174
- ImportPolicy: {
16420
+ RecordServiceLocation: {
16175
16421
  parameters: {
16176
16422
  query?: never;
16177
16423
  header?: never;
@@ -16180,7 +16426,7 @@ export interface operations {
16180
16426
  };
16181
16427
  requestBody: {
16182
16428
  content: {
16183
- "application/json": components["schemas"]["ImportPolicyRequest"];
16429
+ "application/json": components["schemas"]["RecordServiceLocationRequest"];
16184
16430
  };
16185
16431
  };
16186
16432
  responses: {
@@ -16190,7 +16436,7 @@ export interface operations {
16190
16436
  [name: string]: unknown;
16191
16437
  };
16192
16438
  content: {
16193
- "application/json": components["schemas"]["PolicyResponse"];
16439
+ "application/json": components["schemas"]["ServiceLocationResponse"];
16194
16440
  };
16195
16441
  };
16196
16442
  /** @description Bad Request */
@@ -16199,21 +16445,19 @@ export interface operations {
16199
16445
  [name: string]: unknown;
16200
16446
  };
16201
16447
  content: {
16202
- "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
16448
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16203
16449
  };
16204
16450
  };
16205
- /** @description Conflict */
16206
- 409: {
16451
+ /** @description Forbidden */
16452
+ 403: {
16207
16453
  headers: {
16208
16454
  [name: string]: unknown;
16209
16455
  };
16210
- content: {
16211
- "application/problem+json": components["schemas"]["ProblemDetails"];
16212
- };
16456
+ content?: never;
16213
16457
  };
16214
16458
  };
16215
16459
  };
16216
- ReferPolicyToInsurer: {
16460
+ ReviseServiceLocation: {
16217
16461
  parameters: {
16218
16462
  query?: never;
16219
16463
  header?: never;
@@ -16222,7 +16466,11 @@ export interface operations {
16222
16466
  };
16223
16467
  cookie?: never;
16224
16468
  };
16225
- requestBody?: never;
16469
+ requestBody: {
16470
+ content: {
16471
+ "application/json": components["schemas"]["ReviseServiceLocationRequest"];
16472
+ };
16473
+ };
16226
16474
  responses: {
16227
16475
  /** @description OK */
16228
16476
  200: {
@@ -16230,11 +16478,11 @@ export interface operations {
16230
16478
  [name: string]: unknown;
16231
16479
  };
16232
16480
  content: {
16233
- "application/json": components["schemas"]["PolicyResponse"];
16481
+ "application/json": components["schemas"]["ServiceLocationResponse"];
16234
16482
  };
16235
16483
  };
16236
- /** @description Not Found */
16237
- 404: {
16484
+ /** @description Bad Request */
16485
+ 400: {
16238
16486
  headers: {
16239
16487
  [name: string]: unknown;
16240
16488
  };
@@ -16242,6 +16490,20 @@ export interface operations {
16242
16490
  "application/problem+json": components["schemas"]["ProblemDetails"];
16243
16491
  };
16244
16492
  };
16493
+ /** @description Forbidden */
16494
+ 403: {
16495
+ headers: {
16496
+ [name: string]: unknown;
16497
+ };
16498
+ content?: never;
16499
+ };
16500
+ /** @description Not Found */
16501
+ 404: {
16502
+ headers: {
16503
+ [name: string]: unknown;
16504
+ };
16505
+ content?: never;
16506
+ };
16245
16507
  /** @description Conflict */
16246
16508
  409: {
16247
16509
  headers: {
@@ -16253,7 +16515,7 @@ export interface operations {
16253
16515
  };
16254
16516
  };
16255
16517
  };
16256
- RecordInsurerConfirmation: {
16518
+ VerifyServiceLocation: {
16257
16519
  parameters: {
16258
16520
  query?: never;
16259
16521
  header?: never;
@@ -16264,7 +16526,7 @@ export interface operations {
16264
16526
  };
16265
16527
  requestBody: {
16266
16528
  content: {
16267
- "application/json": components["schemas"]["RecordInsurerConfirmationRequest"];
16529
+ "application/json": components["schemas"]["VerifyServiceLocationRequest"];
16268
16530
  };
16269
16531
  };
16270
16532
  responses: {
@@ -16274,7 +16536,7 @@ export interface operations {
16274
16536
  [name: string]: unknown;
16275
16537
  };
16276
16538
  content: {
16277
- "application/json": components["schemas"]["PolicyResponse"];
16539
+ "application/json": components["schemas"]["ServiceLocationResponse"];
16278
16540
  };
16279
16541
  };
16280
16542
  /** @description Bad Request */
@@ -16283,7 +16545,324 @@ export interface operations {
16283
16545
  [name: string]: unknown;
16284
16546
  };
16285
16547
  content: {
16286
- "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
16548
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16549
+ };
16550
+ };
16551
+ /** @description Forbidden */
16552
+ 403: {
16553
+ headers: {
16554
+ [name: string]: unknown;
16555
+ };
16556
+ content?: never;
16557
+ };
16558
+ /** @description Not Found */
16559
+ 404: {
16560
+ headers: {
16561
+ [name: string]: unknown;
16562
+ };
16563
+ content?: never;
16564
+ };
16565
+ /** @description Conflict */
16566
+ 409: {
16567
+ headers: {
16568
+ [name: string]: unknown;
16569
+ };
16570
+ content: {
16571
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16572
+ };
16573
+ };
16574
+ };
16575
+ };
16576
+ PublishServiceLocation: {
16577
+ parameters: {
16578
+ query?: never;
16579
+ header?: never;
16580
+ path: {
16581
+ id: string;
16582
+ };
16583
+ cookie?: never;
16584
+ };
16585
+ requestBody?: never;
16586
+ responses: {
16587
+ /** @description OK */
16588
+ 200: {
16589
+ headers: {
16590
+ [name: string]: unknown;
16591
+ };
16592
+ content: {
16593
+ "application/json": components["schemas"]["ServiceLocationResponse"];
16594
+ };
16595
+ };
16596
+ /** @description Forbidden */
16597
+ 403: {
16598
+ headers: {
16599
+ [name: string]: unknown;
16600
+ };
16601
+ content?: never;
16602
+ };
16603
+ /** @description Not Found */
16604
+ 404: {
16605
+ headers: {
16606
+ [name: string]: unknown;
16607
+ };
16608
+ content?: never;
16609
+ };
16610
+ /** @description Conflict */
16611
+ 409: {
16612
+ headers: {
16613
+ [name: string]: unknown;
16614
+ };
16615
+ content: {
16616
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16617
+ };
16618
+ };
16619
+ };
16620
+ };
16621
+ UnpublishServiceLocation: {
16622
+ parameters: {
16623
+ query?: never;
16624
+ header?: never;
16625
+ path: {
16626
+ id: string;
16627
+ };
16628
+ cookie?: never;
16629
+ };
16630
+ requestBody?: never;
16631
+ responses: {
16632
+ /** @description OK */
16633
+ 200: {
16634
+ headers: {
16635
+ [name: string]: unknown;
16636
+ };
16637
+ content: {
16638
+ "application/json": components["schemas"]["ServiceLocationResponse"];
16639
+ };
16640
+ };
16641
+ /** @description Forbidden */
16642
+ 403: {
16643
+ headers: {
16644
+ [name: string]: unknown;
16645
+ };
16646
+ content?: never;
16647
+ };
16648
+ /** @description Not Found */
16649
+ 404: {
16650
+ headers: {
16651
+ [name: string]: unknown;
16652
+ };
16653
+ content?: never;
16654
+ };
16655
+ /** @description Conflict */
16656
+ 409: {
16657
+ headers: {
16658
+ [name: string]: unknown;
16659
+ };
16660
+ content: {
16661
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16662
+ };
16663
+ };
16664
+ };
16665
+ };
16666
+ ReadOwnBrokersServiceLocations: {
16667
+ parameters: {
16668
+ query?: {
16669
+ category?: string;
16670
+ search?: string;
16671
+ latitude?: number | string;
16672
+ longitude?: number | string;
16673
+ radiusKm?: number | string;
16674
+ limit?: number | string;
16675
+ };
16676
+ header?: never;
16677
+ path?: never;
16678
+ cookie?: never;
16679
+ };
16680
+ requestBody?: never;
16681
+ responses: {
16682
+ /** @description OK */
16683
+ 200: {
16684
+ headers: {
16685
+ [name: string]: unknown;
16686
+ };
16687
+ content: {
16688
+ "application/json": components["schemas"]["CustomerServiceLocationResponse"][];
16689
+ };
16690
+ };
16691
+ /** @description Bad Request */
16692
+ 400: {
16693
+ headers: {
16694
+ [name: string]: unknown;
16695
+ };
16696
+ content: {
16697
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16698
+ };
16699
+ };
16700
+ };
16701
+ };
16702
+ OpenPolicy: {
16703
+ parameters: {
16704
+ query?: never;
16705
+ header?: never;
16706
+ path?: never;
16707
+ cookie?: never;
16708
+ };
16709
+ requestBody: {
16710
+ content: {
16711
+ "application/json": components["schemas"]["OpenPolicyRequest"];
16712
+ };
16713
+ };
16714
+ responses: {
16715
+ /** @description Created */
16716
+ 201: {
16717
+ headers: {
16718
+ [name: string]: unknown;
16719
+ };
16720
+ content: {
16721
+ "application/json": components["schemas"]["PolicyResponse"];
16722
+ };
16723
+ };
16724
+ /** @description Bad Request */
16725
+ 400: {
16726
+ headers: {
16727
+ [name: string]: unknown;
16728
+ };
16729
+ content: {
16730
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
16731
+ };
16732
+ };
16733
+ /** @description Conflict */
16734
+ 409: {
16735
+ headers: {
16736
+ [name: string]: unknown;
16737
+ };
16738
+ content: {
16739
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16740
+ };
16741
+ };
16742
+ /** @description Unprocessable Entity */
16743
+ 422: {
16744
+ headers: {
16745
+ [name: string]: unknown;
16746
+ };
16747
+ content: {
16748
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16749
+ };
16750
+ };
16751
+ };
16752
+ };
16753
+ ImportPolicy: {
16754
+ parameters: {
16755
+ query?: never;
16756
+ header?: never;
16757
+ path?: never;
16758
+ cookie?: never;
16759
+ };
16760
+ requestBody: {
16761
+ content: {
16762
+ "application/json": components["schemas"]["ImportPolicyRequest"];
16763
+ };
16764
+ };
16765
+ responses: {
16766
+ /** @description Created */
16767
+ 201: {
16768
+ headers: {
16769
+ [name: string]: unknown;
16770
+ };
16771
+ content: {
16772
+ "application/json": components["schemas"]["PolicyResponse"];
16773
+ };
16774
+ };
16775
+ /** @description Bad Request */
16776
+ 400: {
16777
+ headers: {
16778
+ [name: string]: unknown;
16779
+ };
16780
+ content: {
16781
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
16782
+ };
16783
+ };
16784
+ /** @description Conflict */
16785
+ 409: {
16786
+ headers: {
16787
+ [name: string]: unknown;
16788
+ };
16789
+ content: {
16790
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16791
+ };
16792
+ };
16793
+ };
16794
+ };
16795
+ ReferPolicyToInsurer: {
16796
+ parameters: {
16797
+ query?: never;
16798
+ header?: never;
16799
+ path: {
16800
+ id: string;
16801
+ };
16802
+ cookie?: never;
16803
+ };
16804
+ requestBody?: never;
16805
+ responses: {
16806
+ /** @description OK */
16807
+ 200: {
16808
+ headers: {
16809
+ [name: string]: unknown;
16810
+ };
16811
+ content: {
16812
+ "application/json": components["schemas"]["PolicyResponse"];
16813
+ };
16814
+ };
16815
+ /** @description Not Found */
16816
+ 404: {
16817
+ headers: {
16818
+ [name: string]: unknown;
16819
+ };
16820
+ content: {
16821
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16822
+ };
16823
+ };
16824
+ /** @description Conflict */
16825
+ 409: {
16826
+ headers: {
16827
+ [name: string]: unknown;
16828
+ };
16829
+ content: {
16830
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16831
+ };
16832
+ };
16833
+ };
16834
+ };
16835
+ RecordInsurerConfirmation: {
16836
+ parameters: {
16837
+ query?: never;
16838
+ header?: never;
16839
+ path: {
16840
+ id: string;
16841
+ };
16842
+ cookie?: never;
16843
+ };
16844
+ requestBody: {
16845
+ content: {
16846
+ "application/json": components["schemas"]["RecordInsurerConfirmationRequest"];
16847
+ };
16848
+ };
16849
+ responses: {
16850
+ /** @description OK */
16851
+ 200: {
16852
+ headers: {
16853
+ [name: string]: unknown;
16854
+ };
16855
+ content: {
16856
+ "application/json": components["schemas"]["PolicyResponse"];
16857
+ };
16858
+ };
16859
+ /** @description Bad Request */
16860
+ 400: {
16861
+ headers: {
16862
+ [name: string]: unknown;
16863
+ };
16864
+ content: {
16865
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
16287
16866
  };
16288
16867
  };
16289
16868
  /** @description Not Found */
@@ -19868,6 +20447,108 @@ export interface operations {
19868
20447
  };
19869
20448
  };
19870
20449
  };
20450
+ ReadAcceptanceApprovalLimits: {
20451
+ parameters: {
20452
+ query?: never;
20453
+ header?: never;
20454
+ path?: never;
20455
+ cookie?: never;
20456
+ };
20457
+ requestBody?: never;
20458
+ responses: {
20459
+ /** @description OK */
20460
+ 200: {
20461
+ headers: {
20462
+ [name: string]: unknown;
20463
+ };
20464
+ content: {
20465
+ "application/json": components["schemas"]["AcceptanceApprovalLimitResponse"][];
20466
+ };
20467
+ };
20468
+ };
20469
+ };
20470
+ SetAcceptanceApprovalLimit: {
20471
+ parameters: {
20472
+ query?: never;
20473
+ header?: never;
20474
+ path: {
20475
+ role: string;
20476
+ currency: string;
20477
+ };
20478
+ cookie?: never;
20479
+ };
20480
+ requestBody: {
20481
+ content: {
20482
+ "application/json": components["schemas"]["SetAcceptanceApprovalLimitRequest"];
20483
+ };
20484
+ };
20485
+ responses: {
20486
+ /** @description OK */
20487
+ 200: {
20488
+ headers: {
20489
+ [name: string]: unknown;
20490
+ };
20491
+ content: {
20492
+ "application/json": components["schemas"]["AcceptanceApprovalLimitResponse"];
20493
+ };
20494
+ };
20495
+ /** @description Bad Request */
20496
+ 400: {
20497
+ headers: {
20498
+ [name: string]: unknown;
20499
+ };
20500
+ content: {
20501
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
20502
+ };
20503
+ };
20504
+ /** @description Conflict */
20505
+ 409: {
20506
+ headers: {
20507
+ [name: string]: unknown;
20508
+ };
20509
+ content: {
20510
+ "application/problem+json": components["schemas"]["ProblemDetails"];
20511
+ };
20512
+ };
20513
+ };
20514
+ };
20515
+ ClearAcceptanceApprovalLimit: {
20516
+ parameters: {
20517
+ query?: never;
20518
+ header?: never;
20519
+ path: {
20520
+ role: string;
20521
+ currency: string;
20522
+ };
20523
+ cookie?: never;
20524
+ };
20525
+ requestBody?: never;
20526
+ responses: {
20527
+ /** @description No Content */
20528
+ 204: {
20529
+ headers: {
20530
+ [name: string]: unknown;
20531
+ };
20532
+ content?: never;
20533
+ };
20534
+ /** @description Bad Request */
20535
+ 400: {
20536
+ headers: {
20537
+ [name: string]: unknown;
20538
+ };
20539
+ content: {
20540
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
20541
+ };
20542
+ };
20543
+ /** @description Not Found */
20544
+ 404: {
20545
+ headers: {
20546
+ [name: string]: unknown;
20547
+ };
20548
+ content?: never;
20549
+ };
20550
+ };
20551
+ };
19871
20552
  ReadRetentionSchedule: {
19872
20553
  parameters: {
19873
20554
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "2.9.0",
3
+ "version": "2.11.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,