@insurance-broker/api-client 1.40.0 → 1.42.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 +838 -28
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -2633,6 +2633,24 @@ export interface paths {
2633
2633
  patch?: never;
2634
2634
  trace?: never;
2635
2635
  };
2636
+ "/api/v1/platform/tenants/{tenantKey}/administrators": {
2637
+ parameters: {
2638
+ query?: never;
2639
+ header?: never;
2640
+ path?: never;
2641
+ cookie?: never;
2642
+ };
2643
+ /** Who holds a membership of this broker, and what each holds. A platform read of the broker's own rows, and it is audited as one. */
2644
+ get: operations["ListTenantAdministrators"];
2645
+ put?: never;
2646
+ /** Gives a named person this broker's access, holding roles materialised from named role templates. The audited replacement for a seeded membership. */
2647
+ post: operations["GrantTenantAdministrator"];
2648
+ delete?: never;
2649
+ options?: never;
2650
+ head?: never;
2651
+ patch?: never;
2652
+ trace?: never;
2653
+ };
2636
2654
  "/api/v1/roles": {
2637
2655
  parameters: {
2638
2656
  query?: never;
@@ -2935,6 +2953,42 @@ export interface paths {
2935
2953
  /** How the broker presents itself: mark, colours and support contacts. */
2936
2954
  get: operations["GetTenantBranding"];
2937
2955
  put?: never;
2956
+ /** Replaces the broker's mark, colours and support channels wholesale. */
2957
+ post: operations["RebrandTenant"];
2958
+ delete?: never;
2959
+ options?: never;
2960
+ head?: never;
2961
+ patch?: never;
2962
+ trace?: never;
2963
+ };
2964
+ "/api/v1/tenant/profile": {
2965
+ parameters: {
2966
+ query?: never;
2967
+ header?: never;
2968
+ path?: never;
2969
+ cookie?: never;
2970
+ };
2971
+ /** The broker's licence, addresses and business contacts. */
2972
+ get: operations["GetTenantProfile"];
2973
+ put?: never;
2974
+ /** Replaces the broker's licence, addresses and business contacts wholesale. */
2975
+ post: operations["DescribeTenant"];
2976
+ delete?: never;
2977
+ options?: never;
2978
+ head?: never;
2979
+ patch?: never;
2980
+ trace?: never;
2981
+ };
2982
+ "/api/v1/tenant/legal-text": {
2983
+ parameters: {
2984
+ query?: never;
2985
+ header?: never;
2986
+ path?: never;
2987
+ cookie?: never;
2988
+ };
2989
+ /** The version of each piece of customer-facing legal text now in force. */
2990
+ get: operations["GetTenantLegalTexts"];
2991
+ put?: never;
2938
2992
  post?: never;
2939
2993
  delete?: never;
2940
2994
  options?: never;
@@ -2942,6 +2996,24 @@ export interface paths {
2942
2996
  patch?: never;
2943
2997
  trace?: never;
2944
2998
  };
2999
+ "/api/v1/tenant/legal-text/{kind}/versions": {
3000
+ parameters: {
3001
+ query?: never;
3002
+ header?: never;
3003
+ path?: never;
3004
+ cookie?: never;
3005
+ };
3006
+ /** Every version of one piece of legal text, newest first. */
3007
+ get: operations["GetTenantLegalTextVersions"];
3008
+ put?: never;
3009
+ /** Publishes the next version of one piece of customer-facing legal text. */
3010
+ post: operations["PublishTenantLegalText"];
3011
+ delete?: never;
3012
+ options?: never;
3013
+ head?: never;
3014
+ patch?: never;
3015
+ trace?: never;
3016
+ };
2945
3017
  "/api/v1/tenant/entitlements": {
2946
3018
  parameters: {
2947
3019
  query?: never;
@@ -2976,6 +3048,23 @@ export interface paths {
2976
3048
  patch?: never;
2977
3049
  trace?: never;
2978
3050
  };
3051
+ "/api/v1/tenant/rename": {
3052
+ parameters: {
3053
+ query?: never;
3054
+ header?: never;
3055
+ path?: never;
3056
+ cookie?: never;
3057
+ };
3058
+ get?: never;
3059
+ put?: never;
3060
+ /** Changes what the broker is called. Its key never moves. */
3061
+ post: operations["RenameTenant"];
3062
+ delete?: never;
3063
+ options?: never;
3064
+ head?: never;
3065
+ patch?: never;
3066
+ trace?: never;
3067
+ };
2979
3068
  "/api/v1/platform/tenants/{tenantKey}/integration-credentials": {
2980
3069
  parameters: {
2981
3070
  query?: never;
@@ -3028,6 +3117,75 @@ export interface paths {
3028
3117
  patch?: never;
3029
3118
  trace?: never;
3030
3119
  };
3120
+ "/api/v1/platform/tenants": {
3121
+ parameters: {
3122
+ query?: never;
3123
+ header?: never;
3124
+ path?: never;
3125
+ cookie?: never;
3126
+ };
3127
+ /** Every broker on the platform, oldest first. Registry fields only. */
3128
+ get: operations["ListTenants"];
3129
+ put?: never;
3130
+ /** Registers a broker and brings it into force, ready to transact. */
3131
+ post: operations["ProvisionTenant"];
3132
+ delete?: never;
3133
+ options?: never;
3134
+ head?: never;
3135
+ patch?: never;
3136
+ trace?: never;
3137
+ };
3138
+ "/api/v1/platform/tenants/{tenantKey}": {
3139
+ parameters: {
3140
+ query?: never;
3141
+ header?: never;
3142
+ path?: never;
3143
+ cookie?: never;
3144
+ };
3145
+ /** One broker's registry row, including whether it may currently transact. */
3146
+ get: operations["GetTenant"];
3147
+ put?: never;
3148
+ post?: never;
3149
+ delete?: never;
3150
+ options?: never;
3151
+ head?: never;
3152
+ patch?: never;
3153
+ trace?: never;
3154
+ };
3155
+ "/api/v1/platform/tenants/{tenantKey}/suspension": {
3156
+ parameters: {
3157
+ query?: never;
3158
+ header?: never;
3159
+ path?: never;
3160
+ cookie?: never;
3161
+ };
3162
+ get?: never;
3163
+ put?: never;
3164
+ /** Bars a broker from transacting, recording why. Reversible, and it does not stop work already queued. */
3165
+ post: operations["SuspendTenant"];
3166
+ delete?: never;
3167
+ options?: never;
3168
+ head?: never;
3169
+ patch?: never;
3170
+ trace?: never;
3171
+ };
3172
+ "/api/v1/platform/tenants/{tenantKey}/resumption": {
3173
+ parameters: {
3174
+ query?: never;
3175
+ header?: never;
3176
+ path?: never;
3177
+ cookie?: never;
3178
+ };
3179
+ get?: never;
3180
+ put?: never;
3181
+ /** Returns a suspended broker to transacting. */
3182
+ post: operations["ResumeTenant"];
3183
+ delete?: never;
3184
+ options?: never;
3185
+ head?: never;
3186
+ patch?: never;
3187
+ trace?: never;
3188
+ };
3031
3189
  "/api/v1/public/branding": {
3032
3190
  parameters: {
3033
3191
  query?: never;
@@ -4854,6 +5012,16 @@ export interface components {
4854
5012
  /** Format: uuid */
4855
5013
  branchId: null | string;
4856
5014
  };
5015
+ DescribeTenantRequest: {
5016
+ regulatorName: null | string;
5017
+ licenceNumber: null | string;
5018
+ /** Format: date */
5019
+ licenceExpiresOn: null | string;
5020
+ registeredAddress: null | string;
5021
+ postalAddress: null | string;
5022
+ contactEmail: null | string;
5023
+ contactPhone: null | string;
5024
+ };
4857
5025
  DocumentTemplateResponse: {
4858
5026
  /** Format: uuid */
4859
5027
  id: string;
@@ -5022,6 +5190,11 @@ export interface components {
5022
5190
  displayName: null | string;
5023
5191
  platformRoleCodes: null | string[];
5024
5192
  };
5193
+ GrantTenantAdministratorRequest: {
5194
+ subjectId: null | string;
5195
+ displayName: null | string;
5196
+ roleTemplateCodes: null | string[];
5197
+ };
5025
5198
  HttpValidationProblemDetails: {
5026
5199
  type?: null | string;
5027
5200
  title?: null | string;
@@ -5302,6 +5475,16 @@ export interface components {
5302
5475
  releaseReason: null | string;
5303
5476
  isOpen: boolean;
5304
5477
  };
5478
+ LegalTextResponse: {
5479
+ /** Format: uuid */
5480
+ id: string;
5481
+ kind: string;
5482
+ /** Format: int32 */
5483
+ version: number | string;
5484
+ body: string;
5485
+ /** Format: date-time */
5486
+ publishedAtUtc: string;
5487
+ };
5305
5488
  NotifyClaimRequest: {
5306
5489
  /** Format: uuid */
5307
5490
  policyId: string;
@@ -5793,12 +5976,24 @@ export interface components {
5793
5976
  updatedAtUtc: string;
5794
5977
  insurers: components["schemas"]["ProductInsurerResponse"][];
5795
5978
  };
5979
+ ProvisionTenantRequest: {
5980
+ key: null | string;
5981
+ name: null | string;
5982
+ legalName: null | string;
5983
+ countryCode: null | string;
5984
+ currencyCode: null | string;
5985
+ timeZoneId: null | string;
5986
+ locale: null | string;
5987
+ };
5796
5988
  PublicBrandingResponse: {
5797
5989
  name: string;
5798
5990
  logoUrl: null | string;
5799
5991
  primaryColour: null | string;
5800
5992
  secondaryColour: null | string;
5801
5993
  };
5994
+ PublishLegalTextRequest: {
5995
+ body: string;
5996
+ };
5802
5997
  QuotationPageOfComparisonSchemaVersionResponse: {
5803
5998
  items: components["schemas"]["ComparisonSchemaVersionResponse"][];
5804
5999
  nextCursor: null | string;
@@ -5951,6 +6146,14 @@ export interface components {
5951
6146
  /** Format: uuid */
5952
6147
  formSubmissionId: null | string;
5953
6148
  };
6149
+ RebrandTenantRequest: {
6150
+ logoUrl: null | string;
6151
+ primaryColour: null | string;
6152
+ secondaryColour: null | string;
6153
+ supportEmail: null | string;
6154
+ supportPhone: null | string;
6155
+ websiteUrl: null | string;
6156
+ };
5954
6157
  ReclassifyProductRequest: {
5955
6158
  /** Format: uuid */
5956
6159
  categoryId: null | string;
@@ -6040,6 +6243,10 @@ export interface components {
6040
6243
  name: string;
6041
6244
  description: null | string;
6042
6245
  };
6246
+ RenameTenantRequest: {
6247
+ name: string;
6248
+ legalName: null | string;
6249
+ };
6043
6250
  RenewalCaseDetailResponse: {
6044
6251
  case: components["schemas"]["RenewalCaseSummaryResponse"];
6045
6252
  /** Format: uuid */
@@ -6405,6 +6612,9 @@ export interface components {
6405
6612
  attachmentId: null | string;
6406
6613
  scanVerdict: null | string;
6407
6614
  };
6615
+ SuspendTenantRequest: {
6616
+ reason: null | string;
6617
+ };
6408
6618
  TeamResponse: {
6409
6619
  /** Format: uuid */
6410
6620
  id: string;
@@ -6418,6 +6628,16 @@ export interface components {
6418
6628
  /** Format: date-time */
6419
6629
  updatedAtUtc: string;
6420
6630
  };
6631
+ TenantAdministratorResponse: {
6632
+ /** Format: uuid */
6633
+ membershipId: string;
6634
+ subjectId: string;
6635
+ displayName: string;
6636
+ status: string;
6637
+ roleKeys: string[];
6638
+ /** Format: date-time */
6639
+ createdAtUtc: string;
6640
+ };
6421
6641
  TenantBrandingResponse: {
6422
6642
  name: string;
6423
6643
  logoUrl: null | string;
@@ -6427,6 +6647,36 @@ export interface components {
6427
6647
  supportPhone: null | string;
6428
6648
  websiteUrl: null | string;
6429
6649
  };
6650
+ TenantProfileResponse: {
6651
+ regulatorName: null | string;
6652
+ licenceNumber: null | string;
6653
+ /** Format: date */
6654
+ licenceExpiresOn: null | string;
6655
+ registeredAddress: null | string;
6656
+ postalAddress: null | string;
6657
+ contactEmail: null | string;
6658
+ contactPhone: null | string;
6659
+ };
6660
+ TenantResponse: {
6661
+ /** Format: uuid */
6662
+ id: string;
6663
+ key: string;
6664
+ name: string;
6665
+ legalName: null | string;
6666
+ status: string;
6667
+ countryCode: string;
6668
+ currencyCode: string;
6669
+ timeZoneId: string;
6670
+ locale: string;
6671
+ canTransact: boolean;
6672
+ suspensionReason: null | string;
6673
+ /** Format: date-time */
6674
+ createdAtUtc: string;
6675
+ /** Format: date-time */
6676
+ activatedAtUtc: null | string;
6677
+ /** Format: date-time */
6678
+ suspendedAtUtc: null | string;
6679
+ };
6430
6680
  TenantSettingsResponse: {
6431
6681
  /** Format: uuid */
6432
6682
  id: string;
@@ -12522,11 +12772,13 @@ export interface operations {
12522
12772
  };
12523
12773
  };
12524
12774
  };
12525
- ListRoles: {
12775
+ ListTenantAdministrators: {
12526
12776
  parameters: {
12527
12777
  query?: never;
12528
12778
  header?: never;
12529
- path?: never;
12779
+ path: {
12780
+ tenantKey: string;
12781
+ };
12530
12782
  cookie?: never;
12531
12783
  };
12532
12784
  requestBody?: never;
@@ -12537,7 +12789,7 @@ export interface operations {
12537
12789
  [name: string]: unknown;
12538
12790
  };
12539
12791
  content: {
12540
- "application/json": components["schemas"]["RoleResponse"][];
12792
+ "application/json": components["schemas"]["TenantAdministratorResponse"][];
12541
12793
  };
12542
12794
  };
12543
12795
  /** @description Forbidden */
@@ -12547,18 +12799,27 @@ export interface operations {
12547
12799
  };
12548
12800
  content?: never;
12549
12801
  };
12802
+ /** @description Not Found */
12803
+ 404: {
12804
+ headers: {
12805
+ [name: string]: unknown;
12806
+ };
12807
+ content?: never;
12808
+ };
12550
12809
  };
12551
12810
  };
12552
- DefineRole: {
12811
+ GrantTenantAdministrator: {
12553
12812
  parameters: {
12554
12813
  query?: never;
12555
12814
  header?: never;
12556
- path?: never;
12815
+ path: {
12816
+ tenantKey: string;
12817
+ };
12557
12818
  cookie?: never;
12558
12819
  };
12559
12820
  requestBody: {
12560
12821
  content: {
12561
- "application/json": components["schemas"]["DefineRoleRequest"];
12822
+ "application/json": components["schemas"]["GrantTenantAdministratorRequest"];
12562
12823
  };
12563
12824
  };
12564
12825
  responses: {
@@ -12568,7 +12829,7 @@ export interface operations {
12568
12829
  [name: string]: unknown;
12569
12830
  };
12570
12831
  content: {
12571
- "application/json": components["schemas"]["RoleResponse"];
12832
+ "application/json": components["schemas"]["TenantAdministratorResponse"];
12572
12833
  };
12573
12834
  };
12574
12835
  /** @description Bad Request */
@@ -12587,6 +12848,13 @@ export interface operations {
12587
12848
  };
12588
12849
  content?: never;
12589
12850
  };
12851
+ /** @description Not Found */
12852
+ 404: {
12853
+ headers: {
12854
+ [name: string]: unknown;
12855
+ };
12856
+ content?: never;
12857
+ };
12590
12858
  /** @description Conflict */
12591
12859
  409: {
12592
12860
  headers: {
@@ -12598,13 +12866,11 @@ export interface operations {
12598
12866
  };
12599
12867
  };
12600
12868
  };
12601
- GetRole: {
12869
+ ListRoles: {
12602
12870
  parameters: {
12603
12871
  query?: never;
12604
12872
  header?: never;
12605
- path: {
12606
- id: string;
12607
- };
12873
+ path?: never;
12608
12874
  cookie?: never;
12609
12875
  };
12610
12876
  requestBody?: never;
@@ -12615,7 +12881,7 @@ export interface operations {
12615
12881
  [name: string]: unknown;
12616
12882
  };
12617
12883
  content: {
12618
- "application/json": components["schemas"]["RoleResponse"];
12884
+ "application/json": components["schemas"]["RoleResponse"][];
12619
12885
  };
12620
12886
  };
12621
12887
  /** @description Forbidden */
@@ -12625,31 +12891,37 @@ export interface operations {
12625
12891
  };
12626
12892
  content?: never;
12627
12893
  };
12628
- /** @description Not Found */
12629
- 404: {
12630
- headers: {
12631
- [name: string]: unknown;
12632
- };
12633
- content?: never;
12634
- };
12635
12894
  };
12636
12895
  };
12637
- ListAssignablePermissions: {
12896
+ DefineRole: {
12638
12897
  parameters: {
12639
12898
  query?: never;
12640
12899
  header?: never;
12641
12900
  path?: never;
12642
12901
  cookie?: never;
12643
12902
  };
12644
- requestBody?: never;
12903
+ requestBody: {
12904
+ content: {
12905
+ "application/json": components["schemas"]["DefineRoleRequest"];
12906
+ };
12907
+ };
12645
12908
  responses: {
12646
- /** @description OK */
12647
- 200: {
12909
+ /** @description Created */
12910
+ 201: {
12648
12911
  headers: {
12649
12912
  [name: string]: unknown;
12650
12913
  };
12651
12914
  content: {
12652
- "application/json": components["schemas"]["AssignablePermissionResponse"][];
12915
+ "application/json": components["schemas"]["RoleResponse"];
12916
+ };
12917
+ };
12918
+ /** @description Bad Request */
12919
+ 400: {
12920
+ headers: {
12921
+ [name: string]: unknown;
12922
+ };
12923
+ content: {
12924
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12653
12925
  };
12654
12926
  };
12655
12927
  /** @description Forbidden */
@@ -12659,15 +12931,87 @@ export interface operations {
12659
12931
  };
12660
12932
  content?: never;
12661
12933
  };
12934
+ /** @description Conflict */
12935
+ 409: {
12936
+ headers: {
12937
+ [name: string]: unknown;
12938
+ };
12939
+ content: {
12940
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12941
+ };
12942
+ };
12662
12943
  };
12663
12944
  };
12664
- ListRoleTemplates: {
12945
+ GetRole: {
12665
12946
  parameters: {
12666
12947
  query?: never;
12667
12948
  header?: never;
12668
- path?: never;
12669
- cookie?: never;
12670
- };
12949
+ path: {
12950
+ id: string;
12951
+ };
12952
+ cookie?: never;
12953
+ };
12954
+ requestBody?: never;
12955
+ responses: {
12956
+ /** @description OK */
12957
+ 200: {
12958
+ headers: {
12959
+ [name: string]: unknown;
12960
+ };
12961
+ content: {
12962
+ "application/json": components["schemas"]["RoleResponse"];
12963
+ };
12964
+ };
12965
+ /** @description Forbidden */
12966
+ 403: {
12967
+ headers: {
12968
+ [name: string]: unknown;
12969
+ };
12970
+ content?: never;
12971
+ };
12972
+ /** @description Not Found */
12973
+ 404: {
12974
+ headers: {
12975
+ [name: string]: unknown;
12976
+ };
12977
+ content?: never;
12978
+ };
12979
+ };
12980
+ };
12981
+ ListAssignablePermissions: {
12982
+ parameters: {
12983
+ query?: never;
12984
+ header?: never;
12985
+ path?: never;
12986
+ cookie?: never;
12987
+ };
12988
+ requestBody?: never;
12989
+ responses: {
12990
+ /** @description OK */
12991
+ 200: {
12992
+ headers: {
12993
+ [name: string]: unknown;
12994
+ };
12995
+ content: {
12996
+ "application/json": components["schemas"]["AssignablePermissionResponse"][];
12997
+ };
12998
+ };
12999
+ /** @description Forbidden */
13000
+ 403: {
13001
+ headers: {
13002
+ [name: string]: unknown;
13003
+ };
13004
+ content?: never;
13005
+ };
13006
+ };
13007
+ };
13008
+ ListRoleTemplates: {
13009
+ parameters: {
13010
+ query?: never;
13011
+ header?: never;
13012
+ path?: never;
13013
+ cookie?: never;
13014
+ };
12671
13015
  requestBody?: never;
12672
13016
  responses: {
12673
13017
  /** @description OK */
@@ -13390,6 +13734,208 @@ export interface operations {
13390
13734
  };
13391
13735
  };
13392
13736
  };
13737
+ RebrandTenant: {
13738
+ parameters: {
13739
+ query?: never;
13740
+ header?: never;
13741
+ path?: never;
13742
+ cookie?: never;
13743
+ };
13744
+ requestBody: {
13745
+ content: {
13746
+ "application/json": components["schemas"]["RebrandTenantRequest"];
13747
+ };
13748
+ };
13749
+ responses: {
13750
+ /** @description OK */
13751
+ 200: {
13752
+ headers: {
13753
+ [name: string]: unknown;
13754
+ };
13755
+ content: {
13756
+ "application/json": components["schemas"]["TenantBrandingResponse"];
13757
+ };
13758
+ };
13759
+ /** @description Bad Request */
13760
+ 400: {
13761
+ headers: {
13762
+ [name: string]: unknown;
13763
+ };
13764
+ content: {
13765
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13766
+ };
13767
+ };
13768
+ /** @description Forbidden */
13769
+ 403: {
13770
+ headers: {
13771
+ [name: string]: unknown;
13772
+ };
13773
+ content?: never;
13774
+ };
13775
+ };
13776
+ };
13777
+ GetTenantProfile: {
13778
+ parameters: {
13779
+ query?: never;
13780
+ header?: never;
13781
+ path?: never;
13782
+ cookie?: never;
13783
+ };
13784
+ requestBody?: never;
13785
+ responses: {
13786
+ /** @description OK */
13787
+ 200: {
13788
+ headers: {
13789
+ [name: string]: unknown;
13790
+ };
13791
+ content: {
13792
+ "application/json": components["schemas"]["TenantProfileResponse"];
13793
+ };
13794
+ };
13795
+ };
13796
+ };
13797
+ DescribeTenant: {
13798
+ parameters: {
13799
+ query?: never;
13800
+ header?: never;
13801
+ path?: never;
13802
+ cookie?: never;
13803
+ };
13804
+ requestBody: {
13805
+ content: {
13806
+ "application/json": components["schemas"]["DescribeTenantRequest"];
13807
+ };
13808
+ };
13809
+ responses: {
13810
+ /** @description OK */
13811
+ 200: {
13812
+ headers: {
13813
+ [name: string]: unknown;
13814
+ };
13815
+ content: {
13816
+ "application/json": components["schemas"]["TenantProfileResponse"];
13817
+ };
13818
+ };
13819
+ /** @description Bad Request */
13820
+ 400: {
13821
+ headers: {
13822
+ [name: string]: unknown;
13823
+ };
13824
+ content: {
13825
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13826
+ };
13827
+ };
13828
+ /** @description Forbidden */
13829
+ 403: {
13830
+ headers: {
13831
+ [name: string]: unknown;
13832
+ };
13833
+ content?: never;
13834
+ };
13835
+ };
13836
+ };
13837
+ GetTenantLegalTexts: {
13838
+ parameters: {
13839
+ query?: never;
13840
+ header?: never;
13841
+ path?: never;
13842
+ cookie?: never;
13843
+ };
13844
+ requestBody?: never;
13845
+ responses: {
13846
+ /** @description OK */
13847
+ 200: {
13848
+ headers: {
13849
+ [name: string]: unknown;
13850
+ };
13851
+ content: {
13852
+ "application/json": components["schemas"]["LegalTextResponse"][];
13853
+ };
13854
+ };
13855
+ };
13856
+ };
13857
+ GetTenantLegalTextVersions: {
13858
+ parameters: {
13859
+ query?: never;
13860
+ header?: never;
13861
+ path: {
13862
+ kind: string;
13863
+ };
13864
+ cookie?: never;
13865
+ };
13866
+ requestBody?: never;
13867
+ responses: {
13868
+ /** @description OK */
13869
+ 200: {
13870
+ headers: {
13871
+ [name: string]: unknown;
13872
+ };
13873
+ content: {
13874
+ "application/json": components["schemas"]["LegalTextResponse"][];
13875
+ };
13876
+ };
13877
+ /** @description Bad Request */
13878
+ 400: {
13879
+ headers: {
13880
+ [name: string]: unknown;
13881
+ };
13882
+ content: {
13883
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13884
+ };
13885
+ };
13886
+ };
13887
+ };
13888
+ PublishTenantLegalText: {
13889
+ parameters: {
13890
+ query?: never;
13891
+ header?: never;
13892
+ path: {
13893
+ kind: string;
13894
+ };
13895
+ cookie?: never;
13896
+ };
13897
+ requestBody: {
13898
+ content: {
13899
+ "application/json": components["schemas"]["PublishLegalTextRequest"];
13900
+ };
13901
+ };
13902
+ responses: {
13903
+ /** @description Created */
13904
+ 201: {
13905
+ headers: {
13906
+ [name: string]: unknown;
13907
+ };
13908
+ content: {
13909
+ "application/json": components["schemas"]["LegalTextResponse"];
13910
+ };
13911
+ };
13912
+ /** @description Bad Request */
13913
+ 400: {
13914
+ headers: {
13915
+ [name: string]: unknown;
13916
+ };
13917
+ content: {
13918
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13919
+ };
13920
+ };
13921
+ /** @description Forbidden */
13922
+ 403: {
13923
+ headers: {
13924
+ [name: string]: unknown;
13925
+ };
13926
+ content?: never;
13927
+ };
13928
+ /** @description Conflict */
13929
+ 409: {
13930
+ headers: {
13931
+ [name: string]: unknown;
13932
+ };
13933
+ content: {
13934
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13935
+ };
13936
+ };
13937
+ };
13938
+ };
13393
13939
  GetTenantEntitlements: {
13394
13940
  parameters: {
13395
13941
  query?: never;
@@ -13432,6 +13978,55 @@ export interface operations {
13432
13978
  };
13433
13979
  };
13434
13980
  };
13981
+ RenameTenant: {
13982
+ parameters: {
13983
+ query?: never;
13984
+ header?: never;
13985
+ path?: never;
13986
+ cookie?: never;
13987
+ };
13988
+ requestBody: {
13989
+ content: {
13990
+ "application/json": components["schemas"]["RenameTenantRequest"];
13991
+ };
13992
+ };
13993
+ responses: {
13994
+ /** @description OK */
13995
+ 200: {
13996
+ headers: {
13997
+ [name: string]: unknown;
13998
+ };
13999
+ content: {
14000
+ "application/json": components["schemas"]["TenantSettingsResponse"];
14001
+ };
14002
+ };
14003
+ /** @description Bad Request */
14004
+ 400: {
14005
+ headers: {
14006
+ [name: string]: unknown;
14007
+ };
14008
+ content: {
14009
+ "application/problem+json": components["schemas"]["ProblemDetails"];
14010
+ };
14011
+ };
14012
+ /** @description Forbidden */
14013
+ 403: {
14014
+ headers: {
14015
+ [name: string]: unknown;
14016
+ };
14017
+ content?: never;
14018
+ };
14019
+ /** @description Conflict */
14020
+ 409: {
14021
+ headers: {
14022
+ [name: string]: unknown;
14023
+ };
14024
+ content: {
14025
+ "application/problem+json": components["schemas"]["ProblemDetails"];
14026
+ };
14027
+ };
14028
+ };
14029
+ };
13435
14030
  ListIntegrationCredentials: {
13436
14031
  parameters: {
13437
14032
  query?: never;
@@ -13616,6 +14211,221 @@ export interface operations {
13616
14211
  };
13617
14212
  };
13618
14213
  };
14214
+ ListTenants: {
14215
+ parameters: {
14216
+ query?: never;
14217
+ header?: never;
14218
+ path?: never;
14219
+ cookie?: never;
14220
+ };
14221
+ requestBody?: never;
14222
+ responses: {
14223
+ /** @description OK */
14224
+ 200: {
14225
+ headers: {
14226
+ [name: string]: unknown;
14227
+ };
14228
+ content: {
14229
+ "application/json": components["schemas"]["TenantResponse"][];
14230
+ };
14231
+ };
14232
+ /** @description Forbidden */
14233
+ 403: {
14234
+ headers: {
14235
+ [name: string]: unknown;
14236
+ };
14237
+ content?: never;
14238
+ };
14239
+ };
14240
+ };
14241
+ ProvisionTenant: {
14242
+ parameters: {
14243
+ query?: never;
14244
+ header?: never;
14245
+ path?: never;
14246
+ cookie?: never;
14247
+ };
14248
+ requestBody: {
14249
+ content: {
14250
+ "application/json": components["schemas"]["ProvisionTenantRequest"];
14251
+ };
14252
+ };
14253
+ responses: {
14254
+ /** @description Created */
14255
+ 201: {
14256
+ headers: {
14257
+ [name: string]: unknown;
14258
+ };
14259
+ content: {
14260
+ "application/json": components["schemas"]["TenantResponse"];
14261
+ };
14262
+ };
14263
+ /** @description Bad Request */
14264
+ 400: {
14265
+ headers: {
14266
+ [name: string]: unknown;
14267
+ };
14268
+ content: {
14269
+ "application/problem+json": components["schemas"]["ProblemDetails"];
14270
+ };
14271
+ };
14272
+ /** @description Forbidden */
14273
+ 403: {
14274
+ headers: {
14275
+ [name: string]: unknown;
14276
+ };
14277
+ content?: never;
14278
+ };
14279
+ /** @description Conflict */
14280
+ 409: {
14281
+ headers: {
14282
+ [name: string]: unknown;
14283
+ };
14284
+ content: {
14285
+ "application/problem+json": components["schemas"]["ProblemDetails"];
14286
+ };
14287
+ };
14288
+ };
14289
+ };
14290
+ GetTenant: {
14291
+ parameters: {
14292
+ query?: never;
14293
+ header?: never;
14294
+ path: {
14295
+ tenantKey: string;
14296
+ };
14297
+ cookie?: never;
14298
+ };
14299
+ requestBody?: never;
14300
+ responses: {
14301
+ /** @description OK */
14302
+ 200: {
14303
+ headers: {
14304
+ [name: string]: unknown;
14305
+ };
14306
+ content: {
14307
+ "application/json": components["schemas"]["TenantResponse"];
14308
+ };
14309
+ };
14310
+ /** @description Forbidden */
14311
+ 403: {
14312
+ headers: {
14313
+ [name: string]: unknown;
14314
+ };
14315
+ content?: never;
14316
+ };
14317
+ /** @description Not Found */
14318
+ 404: {
14319
+ headers: {
14320
+ [name: string]: unknown;
14321
+ };
14322
+ content?: never;
14323
+ };
14324
+ };
14325
+ };
14326
+ SuspendTenant: {
14327
+ parameters: {
14328
+ query?: never;
14329
+ header?: never;
14330
+ path: {
14331
+ tenantKey: string;
14332
+ };
14333
+ cookie?: never;
14334
+ };
14335
+ requestBody: {
14336
+ content: {
14337
+ "application/json": components["schemas"]["SuspendTenantRequest"];
14338
+ };
14339
+ };
14340
+ responses: {
14341
+ /** @description OK */
14342
+ 200: {
14343
+ headers: {
14344
+ [name: string]: unknown;
14345
+ };
14346
+ content: {
14347
+ "application/json": components["schemas"]["TenantResponse"];
14348
+ };
14349
+ };
14350
+ /** @description Bad Request */
14351
+ 400: {
14352
+ headers: {
14353
+ [name: string]: unknown;
14354
+ };
14355
+ content: {
14356
+ "application/problem+json": components["schemas"]["ProblemDetails"];
14357
+ };
14358
+ };
14359
+ /** @description Forbidden */
14360
+ 403: {
14361
+ headers: {
14362
+ [name: string]: unknown;
14363
+ };
14364
+ content?: never;
14365
+ };
14366
+ /** @description Not Found */
14367
+ 404: {
14368
+ headers: {
14369
+ [name: string]: unknown;
14370
+ };
14371
+ content?: never;
14372
+ };
14373
+ /** @description Conflict */
14374
+ 409: {
14375
+ headers: {
14376
+ [name: string]: unknown;
14377
+ };
14378
+ content: {
14379
+ "application/problem+json": components["schemas"]["ProblemDetails"];
14380
+ };
14381
+ };
14382
+ };
14383
+ };
14384
+ ResumeTenant: {
14385
+ parameters: {
14386
+ query?: never;
14387
+ header?: never;
14388
+ path: {
14389
+ tenantKey: string;
14390
+ };
14391
+ cookie?: never;
14392
+ };
14393
+ requestBody?: never;
14394
+ responses: {
14395
+ /** @description OK */
14396
+ 200: {
14397
+ headers: {
14398
+ [name: string]: unknown;
14399
+ };
14400
+ content: {
14401
+ "application/json": components["schemas"]["TenantResponse"];
14402
+ };
14403
+ };
14404
+ /** @description Forbidden */
14405
+ 403: {
14406
+ headers: {
14407
+ [name: string]: unknown;
14408
+ };
14409
+ content?: never;
14410
+ };
14411
+ /** @description Not Found */
14412
+ 404: {
14413
+ headers: {
14414
+ [name: string]: unknown;
14415
+ };
14416
+ content?: never;
14417
+ };
14418
+ /** @description Conflict */
14419
+ 409: {
14420
+ headers: {
14421
+ [name: string]: unknown;
14422
+ };
14423
+ content: {
14424
+ "application/problem+json": components["schemas"]["ProblemDetails"];
14425
+ };
14426
+ };
14427
+ };
14428
+ };
13619
14429
  GetPublicBranding: {
13620
14430
  parameters: {
13621
14431
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "1.40.0",
3
+ "version": "1.42.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,