@insurance-broker/api-client 1.39.0 → 1.41.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 +1079 -7
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -2753,6 +2753,161 @@ export interface paths {
2753
2753
  patch?: never;
2754
2754
  trace?: never;
2755
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
+ };
2756
2911
  "/api/v1/tenant": {
2757
2912
  parameters: {
2758
2913
  query?: never;
@@ -2780,6 +2935,42 @@ export interface paths {
2780
2935
  /** How the broker presents itself: mark, colours and support contacts. */
2781
2936
  get: operations["GetTenantBranding"];
2782
2937
  put?: never;
2938
+ /** Replaces the broker's mark, colours and support channels wholesale. */
2939
+ post: operations["RebrandTenant"];
2940
+ delete?: never;
2941
+ options?: never;
2942
+ head?: never;
2943
+ patch?: never;
2944
+ trace?: never;
2945
+ };
2946
+ "/api/v1/tenant/profile": {
2947
+ parameters: {
2948
+ query?: never;
2949
+ header?: never;
2950
+ path?: never;
2951
+ cookie?: never;
2952
+ };
2953
+ /** The broker's licence, addresses and business contacts. */
2954
+ get: operations["GetTenantProfile"];
2955
+ put?: never;
2956
+ /** Replaces the broker's licence, addresses and business contacts wholesale. */
2957
+ post: operations["DescribeTenant"];
2958
+ delete?: never;
2959
+ options?: never;
2960
+ head?: never;
2961
+ patch?: never;
2962
+ trace?: never;
2963
+ };
2964
+ "/api/v1/tenant/legal-text": {
2965
+ parameters: {
2966
+ query?: never;
2967
+ header?: never;
2968
+ path?: never;
2969
+ cookie?: never;
2970
+ };
2971
+ /** The version of each piece of customer-facing legal text now in force. */
2972
+ get: operations["GetTenantLegalTexts"];
2973
+ put?: never;
2783
2974
  post?: never;
2784
2975
  delete?: never;
2785
2976
  options?: never;
@@ -2787,6 +2978,24 @@ export interface paths {
2787
2978
  patch?: never;
2788
2979
  trace?: never;
2789
2980
  };
2981
+ "/api/v1/tenant/legal-text/{kind}/versions": {
2982
+ parameters: {
2983
+ query?: never;
2984
+ header?: never;
2985
+ path?: never;
2986
+ cookie?: never;
2987
+ };
2988
+ /** Every version of one piece of legal text, newest first. */
2989
+ get: operations["GetTenantLegalTextVersions"];
2990
+ put?: never;
2991
+ /** Publishes the next version of one piece of customer-facing legal text. */
2992
+ post: operations["PublishTenantLegalText"];
2993
+ delete?: never;
2994
+ options?: never;
2995
+ head?: never;
2996
+ patch?: never;
2997
+ trace?: never;
2998
+ };
2790
2999
  "/api/v1/tenant/entitlements": {
2791
3000
  parameters: {
2792
3001
  query?: never;
@@ -2821,6 +3030,23 @@ export interface paths {
2821
3030
  patch?: never;
2822
3031
  trace?: never;
2823
3032
  };
3033
+ "/api/v1/tenant/rename": {
3034
+ parameters: {
3035
+ query?: never;
3036
+ header?: never;
3037
+ path?: never;
3038
+ cookie?: never;
3039
+ };
3040
+ get?: never;
3041
+ put?: never;
3042
+ /** Changes what the broker is called. Its key never moves. */
3043
+ post: operations["RenameTenant"];
3044
+ delete?: never;
3045
+ options?: never;
3046
+ head?: never;
3047
+ patch?: never;
3048
+ trace?: never;
3049
+ };
2824
3050
  "/api/v1/platform/tenants/{tenantKey}/integration-credentials": {
2825
3051
  parameters: {
2826
3052
  query?: never;
@@ -4278,6 +4504,18 @@ export interface components {
4278
4504
  /** Format: uuid */
4279
4505
  insurerId: null | string;
4280
4506
  };
4507
+ BranchResponse: {
4508
+ /** Format: uuid */
4509
+ id: string;
4510
+ code: string;
4511
+ name: string;
4512
+ location: null | string;
4513
+ isOpen: boolean;
4514
+ /** Format: date-time */
4515
+ createdAtUtc: string;
4516
+ /** Format: date-time */
4517
+ updatedAtUtc: string;
4518
+ };
4281
4519
  CaptureLeadRequest: {
4282
4520
  contactName: null | string;
4283
4521
  email: null | string;
@@ -4678,6 +4916,25 @@ export interface components {
4678
4916
  name: string;
4679
4917
  description: null | string;
4680
4918
  };
4919
+ DescribeBranchRequest: {
4920
+ name: string;
4921
+ location: null | string;
4922
+ };
4923
+ DescribeTeamRequest: {
4924
+ name: string;
4925
+ /** Format: uuid */
4926
+ branchId: null | string;
4927
+ };
4928
+ DescribeTenantRequest: {
4929
+ regulatorName: null | string;
4930
+ licenceNumber: null | string;
4931
+ /** Format: date */
4932
+ licenceExpiresOn: null | string;
4933
+ registeredAddress: null | string;
4934
+ postalAddress: null | string;
4935
+ contactEmail: null | string;
4936
+ contactPhone: null | string;
4937
+ };
4681
4938
  DocumentTemplateResponse: {
4682
4939
  /** Format: uuid */
4683
4940
  id: string;
@@ -4809,6 +5066,12 @@ export interface components {
4809
5066
  evidence: components["schemas"]["SubmittedEvidenceResponse"][];
4810
5067
  isSatisfied: boolean;
4811
5068
  };
5069
+ FormTeamRequest: {
5070
+ code: string;
5071
+ name: string;
5072
+ /** Format: uuid */
5073
+ branchId: null | string;
5074
+ };
4812
5075
  FormVersionBodyResponse: {
4813
5076
  version: components["schemas"]["FormVersionResponse"];
4814
5077
  body: components["schemas"]["JsonElement"];
@@ -5120,6 +5383,16 @@ export interface components {
5120
5383
  releaseReason: null | string;
5121
5384
  isOpen: boolean;
5122
5385
  };
5386
+ LegalTextResponse: {
5387
+ /** Format: uuid */
5388
+ id: string;
5389
+ kind: string;
5390
+ /** Format: int32 */
5391
+ version: number | string;
5392
+ body: string;
5393
+ /** Format: date-time */
5394
+ publishedAtUtc: string;
5395
+ };
5123
5396
  NotifyClaimRequest: {
5124
5397
  /** Format: uuid */
5125
5398
  policyId: string;
@@ -5206,6 +5479,11 @@ export interface components {
5206
5479
  name: string;
5207
5480
  description: null | string;
5208
5481
  };
5482
+ OpenBranchRequest: {
5483
+ code: string;
5484
+ name: string;
5485
+ location: null | string;
5486
+ };
5209
5487
  OpenPolicyRequest: {
5210
5488
  /** Format: uuid */
5211
5489
  quoteRequestId: string;
@@ -5379,6 +5657,17 @@ export interface components {
5379
5657
  approvedAtUtc: null | string;
5380
5658
  reversed: boolean;
5381
5659
  };
5660
+ PlacedMemberResponse: {
5661
+ /** Format: uuid */
5662
+ membershipId: string;
5663
+ subjectId: string;
5664
+ displayName: string;
5665
+ status: string;
5666
+ /** Format: uuid */
5667
+ branchId: null | string;
5668
+ /** Format: uuid */
5669
+ teamId: null | string;
5670
+ };
5382
5671
  PlaceLegalHoldRequest: {
5383
5672
  moduleName: null | string;
5384
5673
  entityType: null | string;
@@ -5386,6 +5675,12 @@ export interface components {
5386
5675
  trigger: null | string;
5387
5676
  reason: null | string;
5388
5677
  };
5678
+ PlaceMemberRequest: {
5679
+ /** Format: uuid */
5680
+ branchId: null | string;
5681
+ /** Format: uuid */
5682
+ teamId: null | string;
5683
+ };
5389
5684
  PlanResponse: {
5390
5685
  code: string;
5391
5686
  name: string;
@@ -5595,6 +5890,9 @@ export interface components {
5595
5890
  primaryColour: null | string;
5596
5891
  secondaryColour: null | string;
5597
5892
  };
5893
+ PublishLegalTextRequest: {
5894
+ body: string;
5895
+ };
5598
5896
  QuotationPageOfComparisonSchemaVersionResponse: {
5599
5897
  items: components["schemas"]["ComparisonSchemaVersionResponse"][];
5600
5898
  nextCursor: null | string;
@@ -5747,6 +6045,14 @@ export interface components {
5747
6045
  /** Format: uuid */
5748
6046
  formSubmissionId: null | string;
5749
6047
  };
6048
+ RebrandTenantRequest: {
6049
+ logoUrl: null | string;
6050
+ primaryColour: null | string;
6051
+ secondaryColour: null | string;
6052
+ supportEmail: null | string;
6053
+ supportPhone: null | string;
6054
+ websiteUrl: null | string;
6055
+ };
5750
6056
  ReclassifyProductRequest: {
5751
6057
  /** Format: uuid */
5752
6058
  categoryId: null | string;
@@ -5836,6 +6142,10 @@ export interface components {
5836
6142
  name: string;
5837
6143
  description: null | string;
5838
6144
  };
6145
+ RenameTenantRequest: {
6146
+ name: string;
6147
+ legalName: null | string;
6148
+ };
5839
6149
  RenewalCaseDetailResponse: {
5840
6150
  case: components["schemas"]["RenewalCaseSummaryResponse"];
5841
6151
  /** Format: uuid */
@@ -6201,6 +6511,19 @@ export interface components {
6201
6511
  attachmentId: null | string;
6202
6512
  scanVerdict: null | string;
6203
6513
  };
6514
+ TeamResponse: {
6515
+ /** Format: uuid */
6516
+ id: string;
6517
+ code: string;
6518
+ name: string;
6519
+ /** Format: uuid */
6520
+ branchId: null | string;
6521
+ isActive: boolean;
6522
+ /** Format: date-time */
6523
+ createdAtUtc: string;
6524
+ /** Format: date-time */
6525
+ updatedAtUtc: string;
6526
+ };
6204
6527
  TenantBrandingResponse: {
6205
6528
  name: string;
6206
6529
  logoUrl: null | string;
@@ -6210,6 +6533,16 @@ export interface components {
6210
6533
  supportPhone: null | string;
6211
6534
  websiteUrl: null | string;
6212
6535
  };
6536
+ TenantProfileResponse: {
6537
+ regulatorName: null | string;
6538
+ licenceNumber: null | string;
6539
+ /** Format: date */
6540
+ licenceExpiresOn: null | string;
6541
+ registeredAddress: null | string;
6542
+ postalAddress: null | string;
6543
+ contactEmail: null | string;
6544
+ contactPhone: null | string;
6545
+ };
6213
6546
  TenantSettingsResponse: {
6214
6547
  /** Format: uuid */
6215
6548
  id: string;
@@ -12645,7 +12978,7 @@ export interface operations {
12645
12978
  };
12646
12979
  };
12647
12980
  };
12648
- GetTenantSettings: {
12981
+ ListBranches: {
12649
12982
  parameters: {
12650
12983
  query?: never;
12651
12984
  header?: never;
@@ -12660,22 +12993,534 @@ export interface operations {
12660
12993
  [name: string]: unknown;
12661
12994
  };
12662
12995
  content: {
12663
- "application/json": components["schemas"]["TenantSettingsResponse"];
12996
+ "application/json": components["schemas"]["BranchResponse"][];
12997
+ };
12998
+ };
12999
+ /** @description Forbidden */
13000
+ 403: {
13001
+ headers: {
13002
+ [name: string]: unknown;
12664
13003
  };
13004
+ content?: never;
12665
13005
  };
12666
13006
  };
12667
13007
  };
12668
- GetTenantBranding: {
13008
+ OpenBranch: {
12669
13009
  parameters: {
12670
13010
  query?: never;
12671
13011
  header?: never;
12672
13012
  path?: never;
12673
13013
  cookie?: never;
12674
13014
  };
12675
- requestBody?: never;
12676
- responses: {
12677
- /** @description OK */
12678
- 200: {
13015
+ requestBody: {
13016
+ content: {
13017
+ "application/json": components["schemas"]["OpenBranchRequest"];
13018
+ };
13019
+ };
13020
+ responses: {
13021
+ /** @description Created */
13022
+ 201: {
13023
+ headers: {
13024
+ [name: string]: unknown;
13025
+ };
13026
+ content: {
13027
+ "application/json": components["schemas"]["BranchResponse"];
13028
+ };
13029
+ };
13030
+ /** @description Bad Request */
13031
+ 400: {
13032
+ headers: {
13033
+ [name: string]: unknown;
13034
+ };
13035
+ content: {
13036
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13037
+ };
13038
+ };
13039
+ /** @description Forbidden */
13040
+ 403: {
13041
+ headers: {
13042
+ [name: string]: unknown;
13043
+ };
13044
+ content?: never;
13045
+ };
13046
+ /** @description Conflict */
13047
+ 409: {
13048
+ headers: {
13049
+ [name: string]: unknown;
13050
+ };
13051
+ content: {
13052
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13053
+ };
13054
+ };
13055
+ };
13056
+ };
13057
+ ListBranchMembers: {
13058
+ parameters: {
13059
+ query?: never;
13060
+ header?: never;
13061
+ path: {
13062
+ id: string;
13063
+ };
13064
+ cookie?: never;
13065
+ };
13066
+ requestBody?: never;
13067
+ responses: {
13068
+ /** @description OK */
13069
+ 200: {
13070
+ headers: {
13071
+ [name: string]: unknown;
13072
+ };
13073
+ content: {
13074
+ "application/json": components["schemas"]["PlacedMemberResponse"][];
13075
+ };
13076
+ };
13077
+ /** @description Forbidden */
13078
+ 403: {
13079
+ headers: {
13080
+ [name: string]: unknown;
13081
+ };
13082
+ content?: never;
13083
+ };
13084
+ /** @description Not Found */
13085
+ 404: {
13086
+ headers: {
13087
+ [name: string]: unknown;
13088
+ };
13089
+ content?: never;
13090
+ };
13091
+ };
13092
+ };
13093
+ DescribeBranch: {
13094
+ parameters: {
13095
+ query?: never;
13096
+ header?: never;
13097
+ path: {
13098
+ id: string;
13099
+ };
13100
+ cookie?: never;
13101
+ };
13102
+ requestBody: {
13103
+ content: {
13104
+ "application/json": components["schemas"]["DescribeBranchRequest"];
13105
+ };
13106
+ };
13107
+ responses: {
13108
+ /** @description OK */
13109
+ 200: {
13110
+ headers: {
13111
+ [name: string]: unknown;
13112
+ };
13113
+ content: {
13114
+ "application/json": components["schemas"]["BranchResponse"];
13115
+ };
13116
+ };
13117
+ /** @description Bad Request */
13118
+ 400: {
13119
+ headers: {
13120
+ [name: string]: unknown;
13121
+ };
13122
+ content: {
13123
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13124
+ };
13125
+ };
13126
+ /** @description Forbidden */
13127
+ 403: {
13128
+ headers: {
13129
+ [name: string]: unknown;
13130
+ };
13131
+ content?: never;
13132
+ };
13133
+ /** @description Not Found */
13134
+ 404: {
13135
+ headers: {
13136
+ [name: string]: unknown;
13137
+ };
13138
+ content?: never;
13139
+ };
13140
+ };
13141
+ };
13142
+ CloseBranch: {
13143
+ parameters: {
13144
+ query?: never;
13145
+ header?: never;
13146
+ path: {
13147
+ id: string;
13148
+ };
13149
+ cookie?: never;
13150
+ };
13151
+ requestBody?: never;
13152
+ responses: {
13153
+ /** @description OK */
13154
+ 200: {
13155
+ headers: {
13156
+ [name: string]: unknown;
13157
+ };
13158
+ content: {
13159
+ "application/json": components["schemas"]["BranchResponse"];
13160
+ };
13161
+ };
13162
+ /** @description Forbidden */
13163
+ 403: {
13164
+ headers: {
13165
+ [name: string]: unknown;
13166
+ };
13167
+ content?: never;
13168
+ };
13169
+ /** @description Not Found */
13170
+ 404: {
13171
+ headers: {
13172
+ [name: string]: unknown;
13173
+ };
13174
+ content?: never;
13175
+ };
13176
+ /** @description Conflict */
13177
+ 409: {
13178
+ headers: {
13179
+ [name: string]: unknown;
13180
+ };
13181
+ content: {
13182
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13183
+ };
13184
+ };
13185
+ };
13186
+ };
13187
+ ReopenBranch: {
13188
+ parameters: {
13189
+ query?: never;
13190
+ header?: never;
13191
+ path: {
13192
+ id: string;
13193
+ };
13194
+ cookie?: never;
13195
+ };
13196
+ requestBody?: never;
13197
+ responses: {
13198
+ /** @description OK */
13199
+ 200: {
13200
+ headers: {
13201
+ [name: string]: unknown;
13202
+ };
13203
+ content: {
13204
+ "application/json": components["schemas"]["BranchResponse"];
13205
+ };
13206
+ };
13207
+ /** @description Forbidden */
13208
+ 403: {
13209
+ headers: {
13210
+ [name: string]: unknown;
13211
+ };
13212
+ content?: never;
13213
+ };
13214
+ /** @description Not Found */
13215
+ 404: {
13216
+ headers: {
13217
+ [name: string]: unknown;
13218
+ };
13219
+ content?: never;
13220
+ };
13221
+ /** @description Conflict */
13222
+ 409: {
13223
+ headers: {
13224
+ [name: string]: unknown;
13225
+ };
13226
+ content: {
13227
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13228
+ };
13229
+ };
13230
+ };
13231
+ };
13232
+ ListTeams: {
13233
+ parameters: {
13234
+ query?: never;
13235
+ header?: never;
13236
+ path?: never;
13237
+ cookie?: never;
13238
+ };
13239
+ requestBody?: never;
13240
+ responses: {
13241
+ /** @description OK */
13242
+ 200: {
13243
+ headers: {
13244
+ [name: string]: unknown;
13245
+ };
13246
+ content: {
13247
+ "application/json": components["schemas"]["TeamResponse"][];
13248
+ };
13249
+ };
13250
+ /** @description Forbidden */
13251
+ 403: {
13252
+ headers: {
13253
+ [name: string]: unknown;
13254
+ };
13255
+ content?: never;
13256
+ };
13257
+ };
13258
+ };
13259
+ FormTeam: {
13260
+ parameters: {
13261
+ query?: never;
13262
+ header?: never;
13263
+ path?: never;
13264
+ cookie?: never;
13265
+ };
13266
+ requestBody: {
13267
+ content: {
13268
+ "application/json": components["schemas"]["FormTeamRequest"];
13269
+ };
13270
+ };
13271
+ responses: {
13272
+ /** @description Created */
13273
+ 201: {
13274
+ headers: {
13275
+ [name: string]: unknown;
13276
+ };
13277
+ content: {
13278
+ "application/json": components["schemas"]["TeamResponse"];
13279
+ };
13280
+ };
13281
+ /** @description Bad Request */
13282
+ 400: {
13283
+ headers: {
13284
+ [name: string]: unknown;
13285
+ };
13286
+ content: {
13287
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13288
+ };
13289
+ };
13290
+ /** @description Forbidden */
13291
+ 403: {
13292
+ headers: {
13293
+ [name: string]: unknown;
13294
+ };
13295
+ content?: never;
13296
+ };
13297
+ /** @description Conflict */
13298
+ 409: {
13299
+ headers: {
13300
+ [name: string]: unknown;
13301
+ };
13302
+ content: {
13303
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13304
+ };
13305
+ };
13306
+ };
13307
+ };
13308
+ DescribeTeam: {
13309
+ parameters: {
13310
+ query?: never;
13311
+ header?: never;
13312
+ path: {
13313
+ id: string;
13314
+ };
13315
+ cookie?: never;
13316
+ };
13317
+ requestBody: {
13318
+ content: {
13319
+ "application/json": components["schemas"]["DescribeTeamRequest"];
13320
+ };
13321
+ };
13322
+ responses: {
13323
+ /** @description OK */
13324
+ 200: {
13325
+ headers: {
13326
+ [name: string]: unknown;
13327
+ };
13328
+ content: {
13329
+ "application/json": components["schemas"]["TeamResponse"];
13330
+ };
13331
+ };
13332
+ /** @description Bad Request */
13333
+ 400: {
13334
+ headers: {
13335
+ [name: string]: unknown;
13336
+ };
13337
+ content: {
13338
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13339
+ };
13340
+ };
13341
+ /** @description Forbidden */
13342
+ 403: {
13343
+ headers: {
13344
+ [name: string]: unknown;
13345
+ };
13346
+ content?: never;
13347
+ };
13348
+ /** @description Not Found */
13349
+ 404: {
13350
+ headers: {
13351
+ [name: string]: unknown;
13352
+ };
13353
+ content?: never;
13354
+ };
13355
+ /** @description Conflict */
13356
+ 409: {
13357
+ headers: {
13358
+ [name: string]: unknown;
13359
+ };
13360
+ content: {
13361
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13362
+ };
13363
+ };
13364
+ };
13365
+ };
13366
+ DisbandTeam: {
13367
+ parameters: {
13368
+ query?: never;
13369
+ header?: never;
13370
+ path: {
13371
+ id: string;
13372
+ };
13373
+ cookie?: never;
13374
+ };
13375
+ requestBody?: never;
13376
+ responses: {
13377
+ /** @description OK */
13378
+ 200: {
13379
+ headers: {
13380
+ [name: string]: unknown;
13381
+ };
13382
+ content: {
13383
+ "application/json": components["schemas"]["TeamResponse"];
13384
+ };
13385
+ };
13386
+ /** @description Forbidden */
13387
+ 403: {
13388
+ headers: {
13389
+ [name: string]: unknown;
13390
+ };
13391
+ content?: never;
13392
+ };
13393
+ /** @description Not Found */
13394
+ 404: {
13395
+ headers: {
13396
+ [name: string]: unknown;
13397
+ };
13398
+ content?: never;
13399
+ };
13400
+ /** @description Conflict */
13401
+ 409: {
13402
+ headers: {
13403
+ [name: string]: unknown;
13404
+ };
13405
+ content: {
13406
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13407
+ };
13408
+ };
13409
+ };
13410
+ };
13411
+ PlaceMember: {
13412
+ parameters: {
13413
+ query?: never;
13414
+ header?: never;
13415
+ path: {
13416
+ membershipId: string;
13417
+ };
13418
+ cookie?: never;
13419
+ };
13420
+ requestBody: {
13421
+ content: {
13422
+ "application/json": components["schemas"]["PlaceMemberRequest"];
13423
+ };
13424
+ };
13425
+ responses: {
13426
+ /** @description OK */
13427
+ 200: {
13428
+ headers: {
13429
+ [name: string]: unknown;
13430
+ };
13431
+ content: {
13432
+ "application/json": components["schemas"]["PlacedMemberResponse"];
13433
+ };
13434
+ };
13435
+ /** @description Bad Request */
13436
+ 400: {
13437
+ headers: {
13438
+ [name: string]: unknown;
13439
+ };
13440
+ content: {
13441
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13442
+ };
13443
+ };
13444
+ /** @description Forbidden */
13445
+ 403: {
13446
+ headers: {
13447
+ [name: string]: unknown;
13448
+ };
13449
+ content?: never;
13450
+ };
13451
+ /** @description Not Found */
13452
+ 404: {
13453
+ headers: {
13454
+ [name: string]: unknown;
13455
+ };
13456
+ content?: never;
13457
+ };
13458
+ /** @description Conflict */
13459
+ 409: {
13460
+ headers: {
13461
+ [name: string]: unknown;
13462
+ };
13463
+ content: {
13464
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13465
+ };
13466
+ };
13467
+ };
13468
+ };
13469
+ GetTenantSettings: {
13470
+ parameters: {
13471
+ query?: never;
13472
+ header?: never;
13473
+ path?: never;
13474
+ cookie?: never;
13475
+ };
13476
+ requestBody?: never;
13477
+ responses: {
13478
+ /** @description OK */
13479
+ 200: {
13480
+ headers: {
13481
+ [name: string]: unknown;
13482
+ };
13483
+ content: {
13484
+ "application/json": components["schemas"]["TenantSettingsResponse"];
13485
+ };
13486
+ };
13487
+ };
13488
+ };
13489
+ GetTenantBranding: {
13490
+ parameters: {
13491
+ query?: never;
13492
+ header?: never;
13493
+ path?: never;
13494
+ cookie?: never;
13495
+ };
13496
+ requestBody?: never;
13497
+ responses: {
13498
+ /** @description OK */
13499
+ 200: {
13500
+ headers: {
13501
+ [name: string]: unknown;
13502
+ };
13503
+ content: {
13504
+ "application/json": components["schemas"]["TenantBrandingResponse"];
13505
+ };
13506
+ };
13507
+ };
13508
+ };
13509
+ RebrandTenant: {
13510
+ parameters: {
13511
+ query?: never;
13512
+ header?: never;
13513
+ path?: never;
13514
+ cookie?: never;
13515
+ };
13516
+ requestBody: {
13517
+ content: {
13518
+ "application/json": components["schemas"]["RebrandTenantRequest"];
13519
+ };
13520
+ };
13521
+ responses: {
13522
+ /** @description OK */
13523
+ 200: {
12679
13524
  headers: {
12680
13525
  [name: string]: unknown;
12681
13526
  };
@@ -12683,6 +13528,184 @@ export interface operations {
12683
13528
  "application/json": components["schemas"]["TenantBrandingResponse"];
12684
13529
  };
12685
13530
  };
13531
+ /** @description Bad Request */
13532
+ 400: {
13533
+ headers: {
13534
+ [name: string]: unknown;
13535
+ };
13536
+ content: {
13537
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13538
+ };
13539
+ };
13540
+ /** @description Forbidden */
13541
+ 403: {
13542
+ headers: {
13543
+ [name: string]: unknown;
13544
+ };
13545
+ content?: never;
13546
+ };
13547
+ };
13548
+ };
13549
+ GetTenantProfile: {
13550
+ parameters: {
13551
+ query?: never;
13552
+ header?: never;
13553
+ path?: never;
13554
+ cookie?: never;
13555
+ };
13556
+ requestBody?: never;
13557
+ responses: {
13558
+ /** @description OK */
13559
+ 200: {
13560
+ headers: {
13561
+ [name: string]: unknown;
13562
+ };
13563
+ content: {
13564
+ "application/json": components["schemas"]["TenantProfileResponse"];
13565
+ };
13566
+ };
13567
+ };
13568
+ };
13569
+ DescribeTenant: {
13570
+ parameters: {
13571
+ query?: never;
13572
+ header?: never;
13573
+ path?: never;
13574
+ cookie?: never;
13575
+ };
13576
+ requestBody: {
13577
+ content: {
13578
+ "application/json": components["schemas"]["DescribeTenantRequest"];
13579
+ };
13580
+ };
13581
+ responses: {
13582
+ /** @description OK */
13583
+ 200: {
13584
+ headers: {
13585
+ [name: string]: unknown;
13586
+ };
13587
+ content: {
13588
+ "application/json": components["schemas"]["TenantProfileResponse"];
13589
+ };
13590
+ };
13591
+ /** @description Bad Request */
13592
+ 400: {
13593
+ headers: {
13594
+ [name: string]: unknown;
13595
+ };
13596
+ content: {
13597
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13598
+ };
13599
+ };
13600
+ /** @description Forbidden */
13601
+ 403: {
13602
+ headers: {
13603
+ [name: string]: unknown;
13604
+ };
13605
+ content?: never;
13606
+ };
13607
+ };
13608
+ };
13609
+ GetTenantLegalTexts: {
13610
+ parameters: {
13611
+ query?: never;
13612
+ header?: never;
13613
+ path?: never;
13614
+ cookie?: never;
13615
+ };
13616
+ requestBody?: never;
13617
+ responses: {
13618
+ /** @description OK */
13619
+ 200: {
13620
+ headers: {
13621
+ [name: string]: unknown;
13622
+ };
13623
+ content: {
13624
+ "application/json": components["schemas"]["LegalTextResponse"][];
13625
+ };
13626
+ };
13627
+ };
13628
+ };
13629
+ GetTenantLegalTextVersions: {
13630
+ parameters: {
13631
+ query?: never;
13632
+ header?: never;
13633
+ path: {
13634
+ kind: string;
13635
+ };
13636
+ cookie?: never;
13637
+ };
13638
+ requestBody?: never;
13639
+ responses: {
13640
+ /** @description OK */
13641
+ 200: {
13642
+ headers: {
13643
+ [name: string]: unknown;
13644
+ };
13645
+ content: {
13646
+ "application/json": components["schemas"]["LegalTextResponse"][];
13647
+ };
13648
+ };
13649
+ /** @description Bad Request */
13650
+ 400: {
13651
+ headers: {
13652
+ [name: string]: unknown;
13653
+ };
13654
+ content: {
13655
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13656
+ };
13657
+ };
13658
+ };
13659
+ };
13660
+ PublishTenantLegalText: {
13661
+ parameters: {
13662
+ query?: never;
13663
+ header?: never;
13664
+ path: {
13665
+ kind: string;
13666
+ };
13667
+ cookie?: never;
13668
+ };
13669
+ requestBody: {
13670
+ content: {
13671
+ "application/json": components["schemas"]["PublishLegalTextRequest"];
13672
+ };
13673
+ };
13674
+ responses: {
13675
+ /** @description Created */
13676
+ 201: {
13677
+ headers: {
13678
+ [name: string]: unknown;
13679
+ };
13680
+ content: {
13681
+ "application/json": components["schemas"]["LegalTextResponse"];
13682
+ };
13683
+ };
13684
+ /** @description Bad Request */
13685
+ 400: {
13686
+ headers: {
13687
+ [name: string]: unknown;
13688
+ };
13689
+ content: {
13690
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13691
+ };
13692
+ };
13693
+ /** @description Forbidden */
13694
+ 403: {
13695
+ headers: {
13696
+ [name: string]: unknown;
13697
+ };
13698
+ content?: never;
13699
+ };
13700
+ /** @description Conflict */
13701
+ 409: {
13702
+ headers: {
13703
+ [name: string]: unknown;
13704
+ };
13705
+ content: {
13706
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13707
+ };
13708
+ };
12686
13709
  };
12687
13710
  };
12688
13711
  GetTenantEntitlements: {
@@ -12727,6 +13750,55 @@ export interface operations {
12727
13750
  };
12728
13751
  };
12729
13752
  };
13753
+ RenameTenant: {
13754
+ parameters: {
13755
+ query?: never;
13756
+ header?: never;
13757
+ path?: never;
13758
+ cookie?: never;
13759
+ };
13760
+ requestBody: {
13761
+ content: {
13762
+ "application/json": components["schemas"]["RenameTenantRequest"];
13763
+ };
13764
+ };
13765
+ responses: {
13766
+ /** @description OK */
13767
+ 200: {
13768
+ headers: {
13769
+ [name: string]: unknown;
13770
+ };
13771
+ content: {
13772
+ "application/json": components["schemas"]["TenantSettingsResponse"];
13773
+ };
13774
+ };
13775
+ /** @description Bad Request */
13776
+ 400: {
13777
+ headers: {
13778
+ [name: string]: unknown;
13779
+ };
13780
+ content: {
13781
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13782
+ };
13783
+ };
13784
+ /** @description Forbidden */
13785
+ 403: {
13786
+ headers: {
13787
+ [name: string]: unknown;
13788
+ };
13789
+ content?: never;
13790
+ };
13791
+ /** @description Conflict */
13792
+ 409: {
13793
+ headers: {
13794
+ [name: string]: unknown;
13795
+ };
13796
+ content: {
13797
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13798
+ };
13799
+ };
13800
+ };
13801
+ };
12730
13802
  ListIntegrationCredentials: {
12731
13803
  parameters: {
12732
13804
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "1.39.0",
3
+ "version": "1.41.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,