@insurance-broker/api-client 1.38.0 → 1.40.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 +1206 -4
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -2633,6 +2633,281 @@ export interface paths {
2633
2633
  patch?: never;
2634
2634
  trace?: never;
2635
2635
  };
2636
+ "/api/v1/roles": {
2637
+ parameters: {
2638
+ query?: never;
2639
+ header?: never;
2640
+ path?: never;
2641
+ cookie?: never;
2642
+ };
2643
+ /** This broker's roles, the platform's and its own, with the keys each holds. */
2644
+ get: operations["ListRoles"];
2645
+ put?: never;
2646
+ /** Defines a role of this broker's own, holding nothing until it is granted. */
2647
+ post: operations["DefineRole"];
2648
+ delete?: never;
2649
+ options?: never;
2650
+ head?: never;
2651
+ patch?: never;
2652
+ trace?: never;
2653
+ };
2654
+ "/api/v1/roles/{id}": {
2655
+ parameters: {
2656
+ query?: never;
2657
+ header?: never;
2658
+ path?: never;
2659
+ cookie?: never;
2660
+ };
2661
+ /** One role of this broker's. */
2662
+ get: operations["GetRole"];
2663
+ put?: never;
2664
+ post?: never;
2665
+ delete?: never;
2666
+ options?: never;
2667
+ head?: never;
2668
+ patch?: never;
2669
+ trace?: never;
2670
+ };
2671
+ "/api/v1/roles/assignable-permissions": {
2672
+ parameters: {
2673
+ query?: never;
2674
+ header?: never;
2675
+ path?: never;
2676
+ cookie?: never;
2677
+ };
2678
+ /** Every permission a tenant role may hold. Platform keys are never listed. */
2679
+ get: operations["ListAssignablePermissions"];
2680
+ put?: never;
2681
+ post?: never;
2682
+ delete?: never;
2683
+ options?: never;
2684
+ head?: never;
2685
+ patch?: never;
2686
+ trace?: never;
2687
+ };
2688
+ "/api/v1/roles/templates": {
2689
+ parameters: {
2690
+ query?: never;
2691
+ header?: never;
2692
+ path?: never;
2693
+ cookie?: never;
2694
+ };
2695
+ /** The platform's role templates and what each grants. Read-only. */
2696
+ get: operations["ListRoleTemplates"];
2697
+ put?: never;
2698
+ post?: never;
2699
+ delete?: never;
2700
+ options?: never;
2701
+ head?: never;
2702
+ patch?: never;
2703
+ trace?: never;
2704
+ };
2705
+ "/api/v1/roles/{id}/rename": {
2706
+ parameters: {
2707
+ query?: never;
2708
+ header?: never;
2709
+ path?: never;
2710
+ cookie?: never;
2711
+ };
2712
+ get?: never;
2713
+ put?: never;
2714
+ /** Changes what a role is called. The key never moves. */
2715
+ post: operations["RenameRole"];
2716
+ delete?: never;
2717
+ options?: never;
2718
+ head?: never;
2719
+ patch?: never;
2720
+ trace?: never;
2721
+ };
2722
+ "/api/v1/roles/{id}/grants": {
2723
+ parameters: {
2724
+ query?: never;
2725
+ header?: never;
2726
+ path?: never;
2727
+ cookie?: never;
2728
+ };
2729
+ get?: never;
2730
+ put?: never;
2731
+ /** Adds permissions to a role this broker defined. */
2732
+ post: operations["GrantRolePermissions"];
2733
+ delete?: never;
2734
+ options?: never;
2735
+ head?: never;
2736
+ patch?: never;
2737
+ trace?: never;
2738
+ };
2739
+ "/api/v1/roles/{id}/withdrawals": {
2740
+ parameters: {
2741
+ query?: never;
2742
+ header?: never;
2743
+ path?: never;
2744
+ cookie?: never;
2745
+ };
2746
+ get?: never;
2747
+ put?: never;
2748
+ /** Takes permissions away from a role this broker defined. */
2749
+ post: operations["WithdrawRolePermissions"];
2750
+ delete?: never;
2751
+ options?: never;
2752
+ head?: never;
2753
+ patch?: never;
2754
+ trace?: never;
2755
+ };
2756
+ "/api/v1/branches": {
2757
+ parameters: {
2758
+ query?: never;
2759
+ header?: never;
2760
+ path?: never;
2761
+ cookie?: never;
2762
+ };
2763
+ /** The places this broker works from, closed ones included. */
2764
+ get: operations["ListBranches"];
2765
+ put?: never;
2766
+ /** Records a place this broker works from. */
2767
+ post: operations["OpenBranch"];
2768
+ delete?: never;
2769
+ options?: never;
2770
+ head?: never;
2771
+ patch?: never;
2772
+ trace?: never;
2773
+ };
2774
+ "/api/v1/branches/{id}/members": {
2775
+ parameters: {
2776
+ query?: never;
2777
+ header?: never;
2778
+ path?: never;
2779
+ cookie?: never;
2780
+ };
2781
+ /** Who works from this branch. */
2782
+ get: operations["ListBranchMembers"];
2783
+ put?: never;
2784
+ post?: never;
2785
+ delete?: never;
2786
+ options?: never;
2787
+ head?: never;
2788
+ patch?: never;
2789
+ trace?: never;
2790
+ };
2791
+ "/api/v1/branches/{id}/description": {
2792
+ parameters: {
2793
+ query?: never;
2794
+ header?: never;
2795
+ path?: never;
2796
+ cookie?: never;
2797
+ };
2798
+ get?: never;
2799
+ put?: never;
2800
+ /** Changes a branch's name or location. The code never moves. */
2801
+ post: operations["DescribeBranch"];
2802
+ delete?: never;
2803
+ options?: never;
2804
+ head?: never;
2805
+ patch?: never;
2806
+ trace?: never;
2807
+ };
2808
+ "/api/v1/branches/{id}/closure": {
2809
+ parameters: {
2810
+ query?: never;
2811
+ header?: never;
2812
+ path?: never;
2813
+ cookie?: never;
2814
+ };
2815
+ get?: never;
2816
+ put?: never;
2817
+ /** Stops new work being attached, leaving everything recorded alone. */
2818
+ post: operations["CloseBranch"];
2819
+ delete?: never;
2820
+ options?: never;
2821
+ head?: never;
2822
+ patch?: never;
2823
+ trace?: never;
2824
+ };
2825
+ "/api/v1/branches/{id}/reopening": {
2826
+ parameters: {
2827
+ query?: never;
2828
+ header?: never;
2829
+ path?: never;
2830
+ cookie?: never;
2831
+ };
2832
+ get?: never;
2833
+ put?: never;
2834
+ /** Opens a closed branch again. */
2835
+ post: operations["ReopenBranch"];
2836
+ delete?: never;
2837
+ options?: never;
2838
+ head?: never;
2839
+ patch?: never;
2840
+ trace?: never;
2841
+ };
2842
+ "/api/v1/teams": {
2843
+ parameters: {
2844
+ query?: never;
2845
+ header?: never;
2846
+ path?: never;
2847
+ cookie?: never;
2848
+ };
2849
+ /** This broker's desks, disbanded ones included. */
2850
+ get: operations["ListTeams"];
2851
+ put?: never;
2852
+ /** Records a desk, in one branch or across the whole book. */
2853
+ post: operations["FormTeam"];
2854
+ delete?: never;
2855
+ options?: never;
2856
+ head?: never;
2857
+ patch?: never;
2858
+ trace?: never;
2859
+ };
2860
+ "/api/v1/teams/{id}/description": {
2861
+ parameters: {
2862
+ query?: never;
2863
+ header?: never;
2864
+ path?: never;
2865
+ cookie?: never;
2866
+ };
2867
+ get?: never;
2868
+ put?: never;
2869
+ /** Changes a desk's name or which branch it sits in. */
2870
+ post: operations["DescribeTeam"];
2871
+ delete?: never;
2872
+ options?: never;
2873
+ head?: never;
2874
+ patch?: never;
2875
+ trace?: never;
2876
+ };
2877
+ "/api/v1/teams/{id}/disbandment": {
2878
+ parameters: {
2879
+ query?: never;
2880
+ header?: never;
2881
+ path?: never;
2882
+ cookie?: never;
2883
+ };
2884
+ get?: never;
2885
+ put?: never;
2886
+ /** Stops people being assigned, leaving those already assigned alone. */
2887
+ post: operations["DisbandTeam"];
2888
+ delete?: never;
2889
+ options?: never;
2890
+ head?: never;
2891
+ patch?: never;
2892
+ trace?: never;
2893
+ };
2894
+ "/api/v1/members/{membershipId}/placement": {
2895
+ parameters: {
2896
+ query?: never;
2897
+ header?: never;
2898
+ path?: never;
2899
+ cookie?: never;
2900
+ };
2901
+ get?: never;
2902
+ put?: never;
2903
+ /** Records where one of this broker's people works and which desk they sit on. */
2904
+ post: operations["PlaceMember"];
2905
+ delete?: never;
2906
+ options?: never;
2907
+ head?: never;
2908
+ patch?: never;
2909
+ trace?: never;
2910
+ };
2636
2911
  "/api/v1/tenant": {
2637
2912
  parameters: {
2638
2913
  query?: never;
@@ -4140,6 +4415,11 @@ export interface components {
4140
4415
  note: null | string;
4141
4416
  idempotencyKey: null | string;
4142
4417
  };
4418
+ AssignablePermissionResponse: {
4419
+ key: string;
4420
+ name: string;
4421
+ description: null | string;
4422
+ };
4143
4423
  AssignLeadRequest: {
4144
4424
  advisorSubjectId: null | string;
4145
4425
  };
@@ -4153,6 +4433,18 @@ export interface components {
4153
4433
  /** Format: uuid */
4154
4434
  insurerId: null | string;
4155
4435
  };
4436
+ BranchResponse: {
4437
+ /** Format: uuid */
4438
+ id: string;
4439
+ code: string;
4440
+ name: string;
4441
+ location: null | string;
4442
+ isOpen: boolean;
4443
+ /** Format: date-time */
4444
+ createdAtUtc: string;
4445
+ /** Format: date-time */
4446
+ updatedAtUtc: string;
4447
+ };
4156
4448
  CaptureLeadRequest: {
4157
4449
  contactName: null | string;
4158
4450
  email: null | string;
@@ -4180,6 +4472,9 @@ export interface components {
4180
4472
  items: components["schemas"]["ProductResponse"][];
4181
4473
  nextCursor: null | string;
4182
4474
  };
4475
+ ChangeRolePermissionsRequest: {
4476
+ permissionKeys: string[];
4477
+ };
4183
4478
  ClaimAppointmentResponse: {
4184
4479
  /** Format: uuid */
4185
4480
  id: string;
@@ -4545,6 +4840,20 @@ export interface components {
4545
4840
  note: null | string;
4546
4841
  idempotencyKey: null | string;
4547
4842
  };
4843
+ DefineRoleRequest: {
4844
+ key: string;
4845
+ name: string;
4846
+ description: null | string;
4847
+ };
4848
+ DescribeBranchRequest: {
4849
+ name: string;
4850
+ location: null | string;
4851
+ };
4852
+ DescribeTeamRequest: {
4853
+ name: string;
4854
+ /** Format: uuid */
4855
+ branchId: null | string;
4856
+ };
4548
4857
  DocumentTemplateResponse: {
4549
4858
  /** Format: uuid */
4550
4859
  id: string;
@@ -4676,6 +4985,12 @@ export interface components {
4676
4985
  evidence: components["schemas"]["SubmittedEvidenceResponse"][];
4677
4986
  isSatisfied: boolean;
4678
4987
  };
4988
+ FormTeamRequest: {
4989
+ code: string;
4990
+ name: string;
4991
+ /** Format: uuid */
4992
+ branchId: null | string;
4993
+ };
4679
4994
  FormVersionBodyResponse: {
4680
4995
  version: components["schemas"]["FormVersionResponse"];
4681
4996
  body: components["schemas"]["JsonElement"];
@@ -5073,6 +5388,11 @@ export interface components {
5073
5388
  name: string;
5074
5389
  description: null | string;
5075
5390
  };
5391
+ OpenBranchRequest: {
5392
+ code: string;
5393
+ name: string;
5394
+ location: null | string;
5395
+ };
5076
5396
  OpenPolicyRequest: {
5077
5397
  /** Format: uuid */
5078
5398
  quoteRequestId: string;
@@ -5246,13 +5566,30 @@ export interface components {
5246
5566
  approvedAtUtc: null | string;
5247
5567
  reversed: boolean;
5248
5568
  };
5249
- PlaceLegalHoldRequest: {
5250
- moduleName: null | string;
5251
- entityType: null | string;
5252
- entityId: null | string;
5569
+ PlacedMemberResponse: {
5570
+ /** Format: uuid */
5571
+ membershipId: string;
5572
+ subjectId: string;
5573
+ displayName: string;
5574
+ status: string;
5575
+ /** Format: uuid */
5576
+ branchId: null | string;
5577
+ /** Format: uuid */
5578
+ teamId: null | string;
5579
+ };
5580
+ PlaceLegalHoldRequest: {
5581
+ moduleName: null | string;
5582
+ entityType: null | string;
5583
+ entityId: null | string;
5253
5584
  trigger: null | string;
5254
5585
  reason: null | string;
5255
5586
  };
5587
+ PlaceMemberRequest: {
5588
+ /** Format: uuid */
5589
+ branchId: null | string;
5590
+ /** Format: uuid */
5591
+ teamId: null | string;
5592
+ };
5256
5593
  PlanResponse: {
5257
5594
  code: string;
5258
5595
  name: string;
@@ -5699,6 +6036,10 @@ export interface components {
5699
6036
  RenameFormDefinitionRequest: {
5700
6037
  name: null | string;
5701
6038
  };
6039
+ RenameRoleRequest: {
6040
+ name: string;
6041
+ description: null | string;
6042
+ };
5702
6043
  RenewalCaseDetailResponse: {
5703
6044
  case: components["schemas"]["RenewalCaseSummaryResponse"];
5704
6045
  /** Format: uuid */
@@ -5876,6 +6217,26 @@ export interface components {
5876
6217
  /** Format: int32 */
5877
6218
  bodySchemaVersion: null | number | string;
5878
6219
  };
6220
+ RoleResponse: {
6221
+ /** Format: uuid */
6222
+ id: string;
6223
+ key: string;
6224
+ name: string;
6225
+ description: null | string;
6226
+ isSystem: boolean;
6227
+ roleTemplateCode: null | string;
6228
+ permissionKeys: string[];
6229
+ /** Format: date-time */
6230
+ createdAtUtc: string;
6231
+ /** Format: date-time */
6232
+ updatedAtUtc: string;
6233
+ };
6234
+ RoleTemplateResponse: {
6235
+ code: string;
6236
+ name: string;
6237
+ description: null | string;
6238
+ permissionKeys: string[];
6239
+ };
5879
6240
  SaveInsurerContactRequest: {
5880
6241
  fullName: null | string;
5881
6242
  jobTitle: null | string;
@@ -6044,6 +6405,19 @@ export interface components {
6044
6405
  attachmentId: null | string;
6045
6406
  scanVerdict: null | string;
6046
6407
  };
6408
+ TeamResponse: {
6409
+ /** Format: uuid */
6410
+ id: string;
6411
+ code: string;
6412
+ name: string;
6413
+ /** Format: uuid */
6414
+ branchId: null | string;
6415
+ isActive: boolean;
6416
+ /** Format: date-time */
6417
+ createdAtUtc: string;
6418
+ /** Format: date-time */
6419
+ updatedAtUtc: string;
6420
+ };
6047
6421
  TenantBrandingResponse: {
6048
6422
  name: string;
6049
6423
  logoUrl: null | string;
@@ -12148,6 +12522,834 @@ export interface operations {
12148
12522
  };
12149
12523
  };
12150
12524
  };
12525
+ ListRoles: {
12526
+ parameters: {
12527
+ query?: never;
12528
+ header?: never;
12529
+ path?: never;
12530
+ cookie?: never;
12531
+ };
12532
+ requestBody?: never;
12533
+ responses: {
12534
+ /** @description OK */
12535
+ 200: {
12536
+ headers: {
12537
+ [name: string]: unknown;
12538
+ };
12539
+ content: {
12540
+ "application/json": components["schemas"]["RoleResponse"][];
12541
+ };
12542
+ };
12543
+ /** @description Forbidden */
12544
+ 403: {
12545
+ headers: {
12546
+ [name: string]: unknown;
12547
+ };
12548
+ content?: never;
12549
+ };
12550
+ };
12551
+ };
12552
+ DefineRole: {
12553
+ parameters: {
12554
+ query?: never;
12555
+ header?: never;
12556
+ path?: never;
12557
+ cookie?: never;
12558
+ };
12559
+ requestBody: {
12560
+ content: {
12561
+ "application/json": components["schemas"]["DefineRoleRequest"];
12562
+ };
12563
+ };
12564
+ responses: {
12565
+ /** @description Created */
12566
+ 201: {
12567
+ headers: {
12568
+ [name: string]: unknown;
12569
+ };
12570
+ content: {
12571
+ "application/json": components["schemas"]["RoleResponse"];
12572
+ };
12573
+ };
12574
+ /** @description Bad Request */
12575
+ 400: {
12576
+ headers: {
12577
+ [name: string]: unknown;
12578
+ };
12579
+ content: {
12580
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12581
+ };
12582
+ };
12583
+ /** @description Forbidden */
12584
+ 403: {
12585
+ headers: {
12586
+ [name: string]: unknown;
12587
+ };
12588
+ content?: never;
12589
+ };
12590
+ /** @description Conflict */
12591
+ 409: {
12592
+ headers: {
12593
+ [name: string]: unknown;
12594
+ };
12595
+ content: {
12596
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12597
+ };
12598
+ };
12599
+ };
12600
+ };
12601
+ GetRole: {
12602
+ parameters: {
12603
+ query?: never;
12604
+ header?: never;
12605
+ path: {
12606
+ id: string;
12607
+ };
12608
+ cookie?: never;
12609
+ };
12610
+ requestBody?: never;
12611
+ responses: {
12612
+ /** @description OK */
12613
+ 200: {
12614
+ headers: {
12615
+ [name: string]: unknown;
12616
+ };
12617
+ content: {
12618
+ "application/json": components["schemas"]["RoleResponse"];
12619
+ };
12620
+ };
12621
+ /** @description Forbidden */
12622
+ 403: {
12623
+ headers: {
12624
+ [name: string]: unknown;
12625
+ };
12626
+ content?: never;
12627
+ };
12628
+ /** @description Not Found */
12629
+ 404: {
12630
+ headers: {
12631
+ [name: string]: unknown;
12632
+ };
12633
+ content?: never;
12634
+ };
12635
+ };
12636
+ };
12637
+ ListAssignablePermissions: {
12638
+ parameters: {
12639
+ query?: never;
12640
+ header?: never;
12641
+ path?: never;
12642
+ cookie?: never;
12643
+ };
12644
+ requestBody?: never;
12645
+ responses: {
12646
+ /** @description OK */
12647
+ 200: {
12648
+ headers: {
12649
+ [name: string]: unknown;
12650
+ };
12651
+ content: {
12652
+ "application/json": components["schemas"]["AssignablePermissionResponse"][];
12653
+ };
12654
+ };
12655
+ /** @description Forbidden */
12656
+ 403: {
12657
+ headers: {
12658
+ [name: string]: unknown;
12659
+ };
12660
+ content?: never;
12661
+ };
12662
+ };
12663
+ };
12664
+ ListRoleTemplates: {
12665
+ parameters: {
12666
+ query?: never;
12667
+ header?: never;
12668
+ path?: never;
12669
+ cookie?: never;
12670
+ };
12671
+ requestBody?: never;
12672
+ responses: {
12673
+ /** @description OK */
12674
+ 200: {
12675
+ headers: {
12676
+ [name: string]: unknown;
12677
+ };
12678
+ content: {
12679
+ "application/json": components["schemas"]["RoleTemplateResponse"][];
12680
+ };
12681
+ };
12682
+ /** @description Forbidden */
12683
+ 403: {
12684
+ headers: {
12685
+ [name: string]: unknown;
12686
+ };
12687
+ content?: never;
12688
+ };
12689
+ };
12690
+ };
12691
+ RenameRole: {
12692
+ parameters: {
12693
+ query?: never;
12694
+ header?: never;
12695
+ path: {
12696
+ id: string;
12697
+ };
12698
+ cookie?: never;
12699
+ };
12700
+ requestBody: {
12701
+ content: {
12702
+ "application/json": components["schemas"]["RenameRoleRequest"];
12703
+ };
12704
+ };
12705
+ responses: {
12706
+ /** @description OK */
12707
+ 200: {
12708
+ headers: {
12709
+ [name: string]: unknown;
12710
+ };
12711
+ content: {
12712
+ "application/json": components["schemas"]["RoleResponse"];
12713
+ };
12714
+ };
12715
+ /** @description Bad Request */
12716
+ 400: {
12717
+ headers: {
12718
+ [name: string]: unknown;
12719
+ };
12720
+ content: {
12721
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12722
+ };
12723
+ };
12724
+ /** @description Forbidden */
12725
+ 403: {
12726
+ headers: {
12727
+ [name: string]: unknown;
12728
+ };
12729
+ content?: never;
12730
+ };
12731
+ /** @description Not Found */
12732
+ 404: {
12733
+ headers: {
12734
+ [name: string]: unknown;
12735
+ };
12736
+ content?: never;
12737
+ };
12738
+ /** @description Conflict */
12739
+ 409: {
12740
+ headers: {
12741
+ [name: string]: unknown;
12742
+ };
12743
+ content: {
12744
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12745
+ };
12746
+ };
12747
+ };
12748
+ };
12749
+ GrantRolePermissions: {
12750
+ parameters: {
12751
+ query?: never;
12752
+ header?: never;
12753
+ path: {
12754
+ id: string;
12755
+ };
12756
+ cookie?: never;
12757
+ };
12758
+ requestBody: {
12759
+ content: {
12760
+ "application/json": components["schemas"]["ChangeRolePermissionsRequest"];
12761
+ };
12762
+ };
12763
+ responses: {
12764
+ /** @description OK */
12765
+ 200: {
12766
+ headers: {
12767
+ [name: string]: unknown;
12768
+ };
12769
+ content: {
12770
+ "application/json": components["schemas"]["RoleResponse"];
12771
+ };
12772
+ };
12773
+ /** @description Bad Request */
12774
+ 400: {
12775
+ headers: {
12776
+ [name: string]: unknown;
12777
+ };
12778
+ content: {
12779
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12780
+ };
12781
+ };
12782
+ /** @description Forbidden */
12783
+ 403: {
12784
+ headers: {
12785
+ [name: string]: unknown;
12786
+ };
12787
+ content?: never;
12788
+ };
12789
+ /** @description Not Found */
12790
+ 404: {
12791
+ headers: {
12792
+ [name: string]: unknown;
12793
+ };
12794
+ content?: never;
12795
+ };
12796
+ /** @description Conflict */
12797
+ 409: {
12798
+ headers: {
12799
+ [name: string]: unknown;
12800
+ };
12801
+ content: {
12802
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12803
+ };
12804
+ };
12805
+ };
12806
+ };
12807
+ WithdrawRolePermissions: {
12808
+ parameters: {
12809
+ query?: never;
12810
+ header?: never;
12811
+ path: {
12812
+ id: string;
12813
+ };
12814
+ cookie?: never;
12815
+ };
12816
+ requestBody: {
12817
+ content: {
12818
+ "application/json": components["schemas"]["ChangeRolePermissionsRequest"];
12819
+ };
12820
+ };
12821
+ responses: {
12822
+ /** @description OK */
12823
+ 200: {
12824
+ headers: {
12825
+ [name: string]: unknown;
12826
+ };
12827
+ content: {
12828
+ "application/json": components["schemas"]["RoleResponse"];
12829
+ };
12830
+ };
12831
+ /** @description Bad Request */
12832
+ 400: {
12833
+ headers: {
12834
+ [name: string]: unknown;
12835
+ };
12836
+ content: {
12837
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12838
+ };
12839
+ };
12840
+ /** @description Forbidden */
12841
+ 403: {
12842
+ headers: {
12843
+ [name: string]: unknown;
12844
+ };
12845
+ content?: never;
12846
+ };
12847
+ /** @description Not Found */
12848
+ 404: {
12849
+ headers: {
12850
+ [name: string]: unknown;
12851
+ };
12852
+ content?: never;
12853
+ };
12854
+ /** @description Conflict */
12855
+ 409: {
12856
+ headers: {
12857
+ [name: string]: unknown;
12858
+ };
12859
+ content: {
12860
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12861
+ };
12862
+ };
12863
+ };
12864
+ };
12865
+ ListBranches: {
12866
+ parameters: {
12867
+ query?: never;
12868
+ header?: never;
12869
+ path?: never;
12870
+ cookie?: never;
12871
+ };
12872
+ requestBody?: never;
12873
+ responses: {
12874
+ /** @description OK */
12875
+ 200: {
12876
+ headers: {
12877
+ [name: string]: unknown;
12878
+ };
12879
+ content: {
12880
+ "application/json": components["schemas"]["BranchResponse"][];
12881
+ };
12882
+ };
12883
+ /** @description Forbidden */
12884
+ 403: {
12885
+ headers: {
12886
+ [name: string]: unknown;
12887
+ };
12888
+ content?: never;
12889
+ };
12890
+ };
12891
+ };
12892
+ OpenBranch: {
12893
+ parameters: {
12894
+ query?: never;
12895
+ header?: never;
12896
+ path?: never;
12897
+ cookie?: never;
12898
+ };
12899
+ requestBody: {
12900
+ content: {
12901
+ "application/json": components["schemas"]["OpenBranchRequest"];
12902
+ };
12903
+ };
12904
+ responses: {
12905
+ /** @description Created */
12906
+ 201: {
12907
+ headers: {
12908
+ [name: string]: unknown;
12909
+ };
12910
+ content: {
12911
+ "application/json": components["schemas"]["BranchResponse"];
12912
+ };
12913
+ };
12914
+ /** @description Bad Request */
12915
+ 400: {
12916
+ headers: {
12917
+ [name: string]: unknown;
12918
+ };
12919
+ content: {
12920
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12921
+ };
12922
+ };
12923
+ /** @description Forbidden */
12924
+ 403: {
12925
+ headers: {
12926
+ [name: string]: unknown;
12927
+ };
12928
+ content?: never;
12929
+ };
12930
+ /** @description Conflict */
12931
+ 409: {
12932
+ headers: {
12933
+ [name: string]: unknown;
12934
+ };
12935
+ content: {
12936
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12937
+ };
12938
+ };
12939
+ };
12940
+ };
12941
+ ListBranchMembers: {
12942
+ parameters: {
12943
+ query?: never;
12944
+ header?: never;
12945
+ path: {
12946
+ id: string;
12947
+ };
12948
+ cookie?: never;
12949
+ };
12950
+ requestBody?: never;
12951
+ responses: {
12952
+ /** @description OK */
12953
+ 200: {
12954
+ headers: {
12955
+ [name: string]: unknown;
12956
+ };
12957
+ content: {
12958
+ "application/json": components["schemas"]["PlacedMemberResponse"][];
12959
+ };
12960
+ };
12961
+ /** @description Forbidden */
12962
+ 403: {
12963
+ headers: {
12964
+ [name: string]: unknown;
12965
+ };
12966
+ content?: never;
12967
+ };
12968
+ /** @description Not Found */
12969
+ 404: {
12970
+ headers: {
12971
+ [name: string]: unknown;
12972
+ };
12973
+ content?: never;
12974
+ };
12975
+ };
12976
+ };
12977
+ DescribeBranch: {
12978
+ parameters: {
12979
+ query?: never;
12980
+ header?: never;
12981
+ path: {
12982
+ id: string;
12983
+ };
12984
+ cookie?: never;
12985
+ };
12986
+ requestBody: {
12987
+ content: {
12988
+ "application/json": components["schemas"]["DescribeBranchRequest"];
12989
+ };
12990
+ };
12991
+ responses: {
12992
+ /** @description OK */
12993
+ 200: {
12994
+ headers: {
12995
+ [name: string]: unknown;
12996
+ };
12997
+ content: {
12998
+ "application/json": components["schemas"]["BranchResponse"];
12999
+ };
13000
+ };
13001
+ /** @description Bad Request */
13002
+ 400: {
13003
+ headers: {
13004
+ [name: string]: unknown;
13005
+ };
13006
+ content: {
13007
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13008
+ };
13009
+ };
13010
+ /** @description Forbidden */
13011
+ 403: {
13012
+ headers: {
13013
+ [name: string]: unknown;
13014
+ };
13015
+ content?: never;
13016
+ };
13017
+ /** @description Not Found */
13018
+ 404: {
13019
+ headers: {
13020
+ [name: string]: unknown;
13021
+ };
13022
+ content?: never;
13023
+ };
13024
+ };
13025
+ };
13026
+ CloseBranch: {
13027
+ parameters: {
13028
+ query?: never;
13029
+ header?: never;
13030
+ path: {
13031
+ id: string;
13032
+ };
13033
+ cookie?: never;
13034
+ };
13035
+ requestBody?: never;
13036
+ responses: {
13037
+ /** @description OK */
13038
+ 200: {
13039
+ headers: {
13040
+ [name: string]: unknown;
13041
+ };
13042
+ content: {
13043
+ "application/json": components["schemas"]["BranchResponse"];
13044
+ };
13045
+ };
13046
+ /** @description Forbidden */
13047
+ 403: {
13048
+ headers: {
13049
+ [name: string]: unknown;
13050
+ };
13051
+ content?: never;
13052
+ };
13053
+ /** @description Not Found */
13054
+ 404: {
13055
+ headers: {
13056
+ [name: string]: unknown;
13057
+ };
13058
+ content?: never;
13059
+ };
13060
+ /** @description Conflict */
13061
+ 409: {
13062
+ headers: {
13063
+ [name: string]: unknown;
13064
+ };
13065
+ content: {
13066
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13067
+ };
13068
+ };
13069
+ };
13070
+ };
13071
+ ReopenBranch: {
13072
+ parameters: {
13073
+ query?: never;
13074
+ header?: never;
13075
+ path: {
13076
+ id: string;
13077
+ };
13078
+ cookie?: never;
13079
+ };
13080
+ requestBody?: never;
13081
+ responses: {
13082
+ /** @description OK */
13083
+ 200: {
13084
+ headers: {
13085
+ [name: string]: unknown;
13086
+ };
13087
+ content: {
13088
+ "application/json": components["schemas"]["BranchResponse"];
13089
+ };
13090
+ };
13091
+ /** @description Forbidden */
13092
+ 403: {
13093
+ headers: {
13094
+ [name: string]: unknown;
13095
+ };
13096
+ content?: never;
13097
+ };
13098
+ /** @description Not Found */
13099
+ 404: {
13100
+ headers: {
13101
+ [name: string]: unknown;
13102
+ };
13103
+ content?: never;
13104
+ };
13105
+ /** @description Conflict */
13106
+ 409: {
13107
+ headers: {
13108
+ [name: string]: unknown;
13109
+ };
13110
+ content: {
13111
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13112
+ };
13113
+ };
13114
+ };
13115
+ };
13116
+ ListTeams: {
13117
+ parameters: {
13118
+ query?: never;
13119
+ header?: never;
13120
+ path?: never;
13121
+ cookie?: never;
13122
+ };
13123
+ requestBody?: never;
13124
+ responses: {
13125
+ /** @description OK */
13126
+ 200: {
13127
+ headers: {
13128
+ [name: string]: unknown;
13129
+ };
13130
+ content: {
13131
+ "application/json": components["schemas"]["TeamResponse"][];
13132
+ };
13133
+ };
13134
+ /** @description Forbidden */
13135
+ 403: {
13136
+ headers: {
13137
+ [name: string]: unknown;
13138
+ };
13139
+ content?: never;
13140
+ };
13141
+ };
13142
+ };
13143
+ FormTeam: {
13144
+ parameters: {
13145
+ query?: never;
13146
+ header?: never;
13147
+ path?: never;
13148
+ cookie?: never;
13149
+ };
13150
+ requestBody: {
13151
+ content: {
13152
+ "application/json": components["schemas"]["FormTeamRequest"];
13153
+ };
13154
+ };
13155
+ responses: {
13156
+ /** @description Created */
13157
+ 201: {
13158
+ headers: {
13159
+ [name: string]: unknown;
13160
+ };
13161
+ content: {
13162
+ "application/json": components["schemas"]["TeamResponse"];
13163
+ };
13164
+ };
13165
+ /** @description Bad Request */
13166
+ 400: {
13167
+ headers: {
13168
+ [name: string]: unknown;
13169
+ };
13170
+ content: {
13171
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13172
+ };
13173
+ };
13174
+ /** @description Forbidden */
13175
+ 403: {
13176
+ headers: {
13177
+ [name: string]: unknown;
13178
+ };
13179
+ content?: never;
13180
+ };
13181
+ /** @description Conflict */
13182
+ 409: {
13183
+ headers: {
13184
+ [name: string]: unknown;
13185
+ };
13186
+ content: {
13187
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13188
+ };
13189
+ };
13190
+ };
13191
+ };
13192
+ DescribeTeam: {
13193
+ parameters: {
13194
+ query?: never;
13195
+ header?: never;
13196
+ path: {
13197
+ id: string;
13198
+ };
13199
+ cookie?: never;
13200
+ };
13201
+ requestBody: {
13202
+ content: {
13203
+ "application/json": components["schemas"]["DescribeTeamRequest"];
13204
+ };
13205
+ };
13206
+ responses: {
13207
+ /** @description OK */
13208
+ 200: {
13209
+ headers: {
13210
+ [name: string]: unknown;
13211
+ };
13212
+ content: {
13213
+ "application/json": components["schemas"]["TeamResponse"];
13214
+ };
13215
+ };
13216
+ /** @description Bad Request */
13217
+ 400: {
13218
+ headers: {
13219
+ [name: string]: unknown;
13220
+ };
13221
+ content: {
13222
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13223
+ };
13224
+ };
13225
+ /** @description Forbidden */
13226
+ 403: {
13227
+ headers: {
13228
+ [name: string]: unknown;
13229
+ };
13230
+ content?: never;
13231
+ };
13232
+ /** @description Not Found */
13233
+ 404: {
13234
+ headers: {
13235
+ [name: string]: unknown;
13236
+ };
13237
+ content?: never;
13238
+ };
13239
+ /** @description Conflict */
13240
+ 409: {
13241
+ headers: {
13242
+ [name: string]: unknown;
13243
+ };
13244
+ content: {
13245
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13246
+ };
13247
+ };
13248
+ };
13249
+ };
13250
+ DisbandTeam: {
13251
+ parameters: {
13252
+ query?: never;
13253
+ header?: never;
13254
+ path: {
13255
+ id: string;
13256
+ };
13257
+ cookie?: never;
13258
+ };
13259
+ requestBody?: never;
13260
+ responses: {
13261
+ /** @description OK */
13262
+ 200: {
13263
+ headers: {
13264
+ [name: string]: unknown;
13265
+ };
13266
+ content: {
13267
+ "application/json": components["schemas"]["TeamResponse"];
13268
+ };
13269
+ };
13270
+ /** @description Forbidden */
13271
+ 403: {
13272
+ headers: {
13273
+ [name: string]: unknown;
13274
+ };
13275
+ content?: never;
13276
+ };
13277
+ /** @description Not Found */
13278
+ 404: {
13279
+ headers: {
13280
+ [name: string]: unknown;
13281
+ };
13282
+ content?: never;
13283
+ };
13284
+ /** @description Conflict */
13285
+ 409: {
13286
+ headers: {
13287
+ [name: string]: unknown;
13288
+ };
13289
+ content: {
13290
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13291
+ };
13292
+ };
13293
+ };
13294
+ };
13295
+ PlaceMember: {
13296
+ parameters: {
13297
+ query?: never;
13298
+ header?: never;
13299
+ path: {
13300
+ membershipId: string;
13301
+ };
13302
+ cookie?: never;
13303
+ };
13304
+ requestBody: {
13305
+ content: {
13306
+ "application/json": components["schemas"]["PlaceMemberRequest"];
13307
+ };
13308
+ };
13309
+ responses: {
13310
+ /** @description OK */
13311
+ 200: {
13312
+ headers: {
13313
+ [name: string]: unknown;
13314
+ };
13315
+ content: {
13316
+ "application/json": components["schemas"]["PlacedMemberResponse"];
13317
+ };
13318
+ };
13319
+ /** @description Bad Request */
13320
+ 400: {
13321
+ headers: {
13322
+ [name: string]: unknown;
13323
+ };
13324
+ content: {
13325
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13326
+ };
13327
+ };
13328
+ /** @description Forbidden */
13329
+ 403: {
13330
+ headers: {
13331
+ [name: string]: unknown;
13332
+ };
13333
+ content?: never;
13334
+ };
13335
+ /** @description Not Found */
13336
+ 404: {
13337
+ headers: {
13338
+ [name: string]: unknown;
13339
+ };
13340
+ content?: never;
13341
+ };
13342
+ /** @description Conflict */
13343
+ 409: {
13344
+ headers: {
13345
+ [name: string]: unknown;
13346
+ };
13347
+ content: {
13348
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13349
+ };
13350
+ };
13351
+ };
13352
+ };
12151
13353
  GetTenantSettings: {
12152
13354
  parameters: {
12153
13355
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "1.38.0",
3
+ "version": "1.40.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,