@insurance-broker/api-client 1.41.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.d.ts +874 -18
- 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;
|
|
@@ -3099,6 +3117,201 @@ export interface paths {
|
|
|
3099
3117
|
patch?: never;
|
|
3100
3118
|
trace?: never;
|
|
3101
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
|
+
};
|
|
3189
|
+
"/api/v1/platform/plans": {
|
|
3190
|
+
parameters: {
|
|
3191
|
+
query?: never;
|
|
3192
|
+
header?: never;
|
|
3193
|
+
path?: never;
|
|
3194
|
+
cookie?: never;
|
|
3195
|
+
};
|
|
3196
|
+
/**
|
|
3197
|
+
* Every plan in the catalogue and what each one grants.
|
|
3198
|
+
* @description TEN-005. Retired plans included: a plan withdrawn from sale still has brokers on it, and the question this list answers is usually "what is that broker actually on?"
|
|
3199
|
+
*
|
|
3200
|
+
* **A feature absent from a plan is not the same as one granted `false`.** An absent feature falls through to the feature's own default; a granted `false` is the plan saying no. Both appear here as they are.
|
|
3201
|
+
*/
|
|
3202
|
+
get: operations["ListPlans"];
|
|
3203
|
+
put?: never;
|
|
3204
|
+
post?: never;
|
|
3205
|
+
delete?: never;
|
|
3206
|
+
options?: never;
|
|
3207
|
+
head?: never;
|
|
3208
|
+
patch?: never;
|
|
3209
|
+
trace?: never;
|
|
3210
|
+
};
|
|
3211
|
+
"/api/v1/platform/plans/{planCode}/features": {
|
|
3212
|
+
parameters: {
|
|
3213
|
+
query?: never;
|
|
3214
|
+
header?: never;
|
|
3215
|
+
path?: never;
|
|
3216
|
+
cookie?: never;
|
|
3217
|
+
};
|
|
3218
|
+
get?: never;
|
|
3219
|
+
put?: never;
|
|
3220
|
+
/**
|
|
3221
|
+
* Make a plan carry a feature, or change what it grants.
|
|
3222
|
+
* @description TEN-005, and the repair path issue #281 was opened for. Creates the `platform_tenancy_plan_features` row that seeding cannot create on a database whose plan predates the feature key.
|
|
3223
|
+
*
|
|
3224
|
+
* **One route for both granting and repricing**, because the caller cannot know which it is without a read it would then race. `201` says the plan did not carry the feature before; `200` says the value moved. The audit entry records which, and from what.
|
|
3225
|
+
*
|
|
3226
|
+
* **Nothing here defines a feature.** A key that is not already in the catalogue is refused: which features exist is configuration, and a surface that could mint one would create keys no gate reads.
|
|
3227
|
+
*
|
|
3228
|
+
* **Every broker on this plan is affected**, including ones nobody named. This is the route on the platform with the widest blast radius per request, which is why it has a permission of its own rather than sharing tenant provisioning's.
|
|
3229
|
+
*/
|
|
3230
|
+
post: operations["GrantPlanFeature"];
|
|
3231
|
+
delete?: never;
|
|
3232
|
+
options?: never;
|
|
3233
|
+
head?: never;
|
|
3234
|
+
patch?: never;
|
|
3235
|
+
trace?: never;
|
|
3236
|
+
};
|
|
3237
|
+
"/api/v1/platform/plans/{planCode}/features/{featureKey}/withdrawal": {
|
|
3238
|
+
parameters: {
|
|
3239
|
+
query?: never;
|
|
3240
|
+
header?: never;
|
|
3241
|
+
path?: never;
|
|
3242
|
+
cookie?: never;
|
|
3243
|
+
};
|
|
3244
|
+
get?: never;
|
|
3245
|
+
put?: never;
|
|
3246
|
+
/**
|
|
3247
|
+
* Stop a plan carrying a feature.
|
|
3248
|
+
* @description Removes the grant, so brokers on this plan fall back to the feature's own default.
|
|
3249
|
+
*
|
|
3250
|
+
* **This is not the same as granting `false`**, and choosing the wrong one is how a withdrawal silently grants. If the feature's default is `true` — which is how a capability that shipped before its gate is kept working on existing deployments — removing the row leaves every broker on this plan entitled. Grant `false` to mean "this plan does not include it".
|
|
3251
|
+
*
|
|
3252
|
+
* A plan that does not carry the feature answers `404`: there was nothing to withdraw, and reporting success would tell an operator a decision was taken that was not.
|
|
3253
|
+
*/
|
|
3254
|
+
post: operations["WithdrawPlanFeature"];
|
|
3255
|
+
delete?: never;
|
|
3256
|
+
options?: never;
|
|
3257
|
+
head?: never;
|
|
3258
|
+
patch?: never;
|
|
3259
|
+
trace?: never;
|
|
3260
|
+
};
|
|
3261
|
+
"/api/v1/platform/tenants/{tenantKey}/entitlements": {
|
|
3262
|
+
parameters: {
|
|
3263
|
+
query?: never;
|
|
3264
|
+
header?: never;
|
|
3265
|
+
path?: never;
|
|
3266
|
+
cookie?: never;
|
|
3267
|
+
};
|
|
3268
|
+
/**
|
|
3269
|
+
* What one broker is on, and every override it carries.
|
|
3270
|
+
* @description TEN-005. The plan the broker is currently on, and the overrides that take precedence over it.
|
|
3271
|
+
*
|
|
3272
|
+
* **Expired overrides are listed too**, marked `isEffective: false`. "Why did this broker lose a feature overnight?" is answerable only if the row that stopped applying is still visible.
|
|
3273
|
+
*/
|
|
3274
|
+
get: operations["ListTenantEntitlements"];
|
|
3275
|
+
put?: never;
|
|
3276
|
+
/**
|
|
3277
|
+
* Give one broker terms its plan does not express.
|
|
3278
|
+
* @description TEN-005. Takes precedence over the broker's plan for this one feature, and over nothing else.
|
|
3279
|
+
*
|
|
3280
|
+
* **`false` is a deliberate denial**, and a different state from having no override: it refuses the feature whatever the plan grants. Withdrawing the override is how a broker goes back to what its plan says.
|
|
3281
|
+
*
|
|
3282
|
+
* **An expiry must be in the future.** An override that had already expired would look like something was granted when nothing was.
|
|
3283
|
+
*
|
|
3284
|
+
* `201` says the override is new; `200` says an existing one was restated. The whole row is restated rather than patched, because a value, a reason and an expiry only make sense together — a patched value under an old reason describes a decision that has since changed.
|
|
3285
|
+
*/
|
|
3286
|
+
post: operations["OverrideTenantEntitlement"];
|
|
3287
|
+
delete?: never;
|
|
3288
|
+
options?: never;
|
|
3289
|
+
head?: never;
|
|
3290
|
+
patch?: never;
|
|
3291
|
+
trace?: never;
|
|
3292
|
+
};
|
|
3293
|
+
"/api/v1/platform/tenants/{tenantKey}/entitlements/{featureKey}/withdrawal": {
|
|
3294
|
+
parameters: {
|
|
3295
|
+
query?: never;
|
|
3296
|
+
header?: never;
|
|
3297
|
+
path?: never;
|
|
3298
|
+
cookie?: never;
|
|
3299
|
+
};
|
|
3300
|
+
get?: never;
|
|
3301
|
+
put?: never;
|
|
3302
|
+
/**
|
|
3303
|
+
* Remove a broker's override so it falls back to its plan.
|
|
3304
|
+
* @description The override is deleted rather than expired: an expiry says "stop applying later", and an operator withdrawing one means now. A broker with no override for a feature is answered by its plan, and by the feature's default if the plan is silent.
|
|
3305
|
+
*
|
|
3306
|
+
* A broker with no override for that feature answers `404`.
|
|
3307
|
+
*/
|
|
3308
|
+
post: operations["WithdrawTenantEntitlement"];
|
|
3309
|
+
delete?: never;
|
|
3310
|
+
options?: never;
|
|
3311
|
+
head?: never;
|
|
3312
|
+
patch?: never;
|
|
3313
|
+
trace?: never;
|
|
3314
|
+
};
|
|
3102
3315
|
"/api/v1/public/branding": {
|
|
3103
3316
|
parameters: {
|
|
3104
3317
|
query?: never;
|
|
@@ -5098,11 +5311,20 @@ export interface components {
|
|
|
5098
5311
|
GenerateDocumentRequest: {
|
|
5099
5312
|
format: null | string;
|
|
5100
5313
|
};
|
|
5314
|
+
GrantPlanFeatureRequest: {
|
|
5315
|
+
featureKey: null | string;
|
|
5316
|
+
value: null | string;
|
|
5317
|
+
};
|
|
5101
5318
|
GrantPlatformAdministratorRequest: {
|
|
5102
5319
|
subjectId: null | string;
|
|
5103
5320
|
displayName: null | string;
|
|
5104
5321
|
platformRoleCodes: null | string[];
|
|
5105
5322
|
};
|
|
5323
|
+
GrantTenantAdministratorRequest: {
|
|
5324
|
+
subjectId: null | string;
|
|
5325
|
+
displayName: null | string;
|
|
5326
|
+
roleTemplateCodes: null | string[];
|
|
5327
|
+
};
|
|
5106
5328
|
HttpValidationProblemDetails: {
|
|
5107
5329
|
type?: null | string;
|
|
5108
5330
|
title?: null | string;
|
|
@@ -5520,6 +5742,13 @@ export interface components {
|
|
|
5520
5742
|
/** Format: date-time */
|
|
5521
5743
|
updatedAtUtc: string;
|
|
5522
5744
|
};
|
|
5745
|
+
OverrideEntitlementRequest: {
|
|
5746
|
+
featureKey: null | string;
|
|
5747
|
+
value: null | string;
|
|
5748
|
+
reason: null | string;
|
|
5749
|
+
/** Format: date-time */
|
|
5750
|
+
expiresAtUtc: null | string;
|
|
5751
|
+
};
|
|
5523
5752
|
OwnCustomerAccountResponse: {
|
|
5524
5753
|
/** Format: uuid */
|
|
5525
5754
|
customerId: string;
|
|
@@ -5699,6 +5928,20 @@ export interface components {
|
|
|
5699
5928
|
/** Format: date-time */
|
|
5700
5929
|
updatedAtUtc: string;
|
|
5701
5930
|
};
|
|
5931
|
+
PlatformPlanFeatureResponse: {
|
|
5932
|
+
featureKey: string;
|
|
5933
|
+
value: string;
|
|
5934
|
+
valueKind: string;
|
|
5935
|
+
};
|
|
5936
|
+
PlatformPlanResponse: {
|
|
5937
|
+
code: string;
|
|
5938
|
+
name: string;
|
|
5939
|
+
description: null | string;
|
|
5940
|
+
isPubliclyAvailable: boolean;
|
|
5941
|
+
/** Format: int32 */
|
|
5942
|
+
sortOrder: number | string;
|
|
5943
|
+
features: components["schemas"]["PlatformPlanFeatureResponse"][];
|
|
5944
|
+
};
|
|
5702
5945
|
PolicyDocumentResponse: {
|
|
5703
5946
|
/** Format: uuid */
|
|
5704
5947
|
id: string;
|
|
@@ -5884,6 +6127,15 @@ export interface components {
|
|
|
5884
6127
|
updatedAtUtc: string;
|
|
5885
6128
|
insurers: components["schemas"]["ProductInsurerResponse"][];
|
|
5886
6129
|
};
|
|
6130
|
+
ProvisionTenantRequest: {
|
|
6131
|
+
key: null | string;
|
|
6132
|
+
name: null | string;
|
|
6133
|
+
legalName: null | string;
|
|
6134
|
+
countryCode: null | string;
|
|
6135
|
+
currencyCode: null | string;
|
|
6136
|
+
timeZoneId: null | string;
|
|
6137
|
+
locale: null | string;
|
|
6138
|
+
};
|
|
5887
6139
|
PublicBrandingResponse: {
|
|
5888
6140
|
name: string;
|
|
5889
6141
|
logoUrl: null | string;
|
|
@@ -6511,6 +6763,9 @@ export interface components {
|
|
|
6511
6763
|
attachmentId: null | string;
|
|
6512
6764
|
scanVerdict: null | string;
|
|
6513
6765
|
};
|
|
6766
|
+
SuspendTenantRequest: {
|
|
6767
|
+
reason: null | string;
|
|
6768
|
+
};
|
|
6514
6769
|
TeamResponse: {
|
|
6515
6770
|
/** Format: uuid */
|
|
6516
6771
|
id: string;
|
|
@@ -6524,6 +6779,16 @@ export interface components {
|
|
|
6524
6779
|
/** Format: date-time */
|
|
6525
6780
|
updatedAtUtc: string;
|
|
6526
6781
|
};
|
|
6782
|
+
TenantAdministratorResponse: {
|
|
6783
|
+
/** Format: uuid */
|
|
6784
|
+
membershipId: string;
|
|
6785
|
+
subjectId: string;
|
|
6786
|
+
displayName: string;
|
|
6787
|
+
status: string;
|
|
6788
|
+
roleKeys: string[];
|
|
6789
|
+
/** Format: date-time */
|
|
6790
|
+
createdAtUtc: string;
|
|
6791
|
+
};
|
|
6527
6792
|
TenantBrandingResponse: {
|
|
6528
6793
|
name: string;
|
|
6529
6794
|
logoUrl: null | string;
|
|
@@ -6533,6 +6798,19 @@ export interface components {
|
|
|
6533
6798
|
supportPhone: null | string;
|
|
6534
6799
|
websiteUrl: null | string;
|
|
6535
6800
|
};
|
|
6801
|
+
TenantEntitlementResponse: {
|
|
6802
|
+
featureKey: string;
|
|
6803
|
+
value: string;
|
|
6804
|
+
reason: null | string;
|
|
6805
|
+
/** Format: date-time */
|
|
6806
|
+
expiresAtUtc: null | string;
|
|
6807
|
+
isEffective: boolean;
|
|
6808
|
+
};
|
|
6809
|
+
TenantEntitlementsResponse: {
|
|
6810
|
+
tenantKey: string;
|
|
6811
|
+
planCode: null | string;
|
|
6812
|
+
entitlements: components["schemas"]["TenantEntitlementResponse"][];
|
|
6813
|
+
};
|
|
6536
6814
|
TenantProfileResponse: {
|
|
6537
6815
|
regulatorName: null | string;
|
|
6538
6816
|
licenceNumber: null | string;
|
|
@@ -6543,6 +6821,26 @@ export interface components {
|
|
|
6543
6821
|
contactEmail: null | string;
|
|
6544
6822
|
contactPhone: null | string;
|
|
6545
6823
|
};
|
|
6824
|
+
TenantResponse: {
|
|
6825
|
+
/** Format: uuid */
|
|
6826
|
+
id: string;
|
|
6827
|
+
key: string;
|
|
6828
|
+
name: string;
|
|
6829
|
+
legalName: null | string;
|
|
6830
|
+
status: string;
|
|
6831
|
+
countryCode: string;
|
|
6832
|
+
currencyCode: string;
|
|
6833
|
+
timeZoneId: string;
|
|
6834
|
+
locale: string;
|
|
6835
|
+
canTransact: boolean;
|
|
6836
|
+
suspensionReason: null | string;
|
|
6837
|
+
/** Format: date-time */
|
|
6838
|
+
createdAtUtc: string;
|
|
6839
|
+
/** Format: date-time */
|
|
6840
|
+
activatedAtUtc: null | string;
|
|
6841
|
+
/** Format: date-time */
|
|
6842
|
+
suspendedAtUtc: null | string;
|
|
6843
|
+
};
|
|
6546
6844
|
TenantSettingsResponse: {
|
|
6547
6845
|
/** Format: uuid */
|
|
6548
6846
|
id: string;
|
|
@@ -12638,11 +12936,13 @@ export interface operations {
|
|
|
12638
12936
|
};
|
|
12639
12937
|
};
|
|
12640
12938
|
};
|
|
12641
|
-
|
|
12939
|
+
ListTenantAdministrators: {
|
|
12642
12940
|
parameters: {
|
|
12643
12941
|
query?: never;
|
|
12644
12942
|
header?: never;
|
|
12645
|
-
path
|
|
12943
|
+
path: {
|
|
12944
|
+
tenantKey: string;
|
|
12945
|
+
};
|
|
12646
12946
|
cookie?: never;
|
|
12647
12947
|
};
|
|
12648
12948
|
requestBody?: never;
|
|
@@ -12653,7 +12953,7 @@ export interface operations {
|
|
|
12653
12953
|
[name: string]: unknown;
|
|
12654
12954
|
};
|
|
12655
12955
|
content: {
|
|
12656
|
-
"application/json": components["schemas"]["
|
|
12956
|
+
"application/json": components["schemas"]["TenantAdministratorResponse"][];
|
|
12657
12957
|
};
|
|
12658
12958
|
};
|
|
12659
12959
|
/** @description Forbidden */
|
|
@@ -12663,18 +12963,27 @@ export interface operations {
|
|
|
12663
12963
|
};
|
|
12664
12964
|
content?: never;
|
|
12665
12965
|
};
|
|
12966
|
+
/** @description Not Found */
|
|
12967
|
+
404: {
|
|
12968
|
+
headers: {
|
|
12969
|
+
[name: string]: unknown;
|
|
12970
|
+
};
|
|
12971
|
+
content?: never;
|
|
12972
|
+
};
|
|
12666
12973
|
};
|
|
12667
12974
|
};
|
|
12668
|
-
|
|
12975
|
+
GrantTenantAdministrator: {
|
|
12669
12976
|
parameters: {
|
|
12670
12977
|
query?: never;
|
|
12671
12978
|
header?: never;
|
|
12672
|
-
path
|
|
12979
|
+
path: {
|
|
12980
|
+
tenantKey: string;
|
|
12981
|
+
};
|
|
12673
12982
|
cookie?: never;
|
|
12674
12983
|
};
|
|
12675
12984
|
requestBody: {
|
|
12676
12985
|
content: {
|
|
12677
|
-
"application/json": components["schemas"]["
|
|
12986
|
+
"application/json": components["schemas"]["GrantTenantAdministratorRequest"];
|
|
12678
12987
|
};
|
|
12679
12988
|
};
|
|
12680
12989
|
responses: {
|
|
@@ -12684,7 +12993,7 @@ export interface operations {
|
|
|
12684
12993
|
[name: string]: unknown;
|
|
12685
12994
|
};
|
|
12686
12995
|
content: {
|
|
12687
|
-
"application/json": components["schemas"]["
|
|
12996
|
+
"application/json": components["schemas"]["TenantAdministratorResponse"];
|
|
12688
12997
|
};
|
|
12689
12998
|
};
|
|
12690
12999
|
/** @description Bad Request */
|
|
@@ -12703,6 +13012,13 @@ export interface operations {
|
|
|
12703
13012
|
};
|
|
12704
13013
|
content?: never;
|
|
12705
13014
|
};
|
|
13015
|
+
/** @description Not Found */
|
|
13016
|
+
404: {
|
|
13017
|
+
headers: {
|
|
13018
|
+
[name: string]: unknown;
|
|
13019
|
+
};
|
|
13020
|
+
content?: never;
|
|
13021
|
+
};
|
|
12706
13022
|
/** @description Conflict */
|
|
12707
13023
|
409: {
|
|
12708
13024
|
headers: {
|
|
@@ -12714,13 +13030,11 @@ export interface operations {
|
|
|
12714
13030
|
};
|
|
12715
13031
|
};
|
|
12716
13032
|
};
|
|
12717
|
-
|
|
13033
|
+
ListRoles: {
|
|
12718
13034
|
parameters: {
|
|
12719
13035
|
query?: never;
|
|
12720
13036
|
header?: never;
|
|
12721
|
-
path
|
|
12722
|
-
id: string;
|
|
12723
|
-
};
|
|
13037
|
+
path?: never;
|
|
12724
13038
|
cookie?: never;
|
|
12725
13039
|
};
|
|
12726
13040
|
requestBody?: never;
|
|
@@ -12731,7 +13045,7 @@ export interface operations {
|
|
|
12731
13045
|
[name: string]: unknown;
|
|
12732
13046
|
};
|
|
12733
13047
|
content: {
|
|
12734
|
-
"application/json": components["schemas"]["RoleResponse"];
|
|
13048
|
+
"application/json": components["schemas"]["RoleResponse"][];
|
|
12735
13049
|
};
|
|
12736
13050
|
};
|
|
12737
13051
|
/** @description Forbidden */
|
|
@@ -12741,12 +13055,90 @@ export interface operations {
|
|
|
12741
13055
|
};
|
|
12742
13056
|
content?: never;
|
|
12743
13057
|
};
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
13058
|
+
};
|
|
13059
|
+
};
|
|
13060
|
+
DefineRole: {
|
|
13061
|
+
parameters: {
|
|
13062
|
+
query?: never;
|
|
13063
|
+
header?: never;
|
|
13064
|
+
path?: never;
|
|
13065
|
+
cookie?: never;
|
|
13066
|
+
};
|
|
13067
|
+
requestBody: {
|
|
13068
|
+
content: {
|
|
13069
|
+
"application/json": components["schemas"]["DefineRoleRequest"];
|
|
13070
|
+
};
|
|
13071
|
+
};
|
|
13072
|
+
responses: {
|
|
13073
|
+
/** @description Created */
|
|
13074
|
+
201: {
|
|
13075
|
+
headers: {
|
|
13076
|
+
[name: string]: unknown;
|
|
13077
|
+
};
|
|
13078
|
+
content: {
|
|
13079
|
+
"application/json": components["schemas"]["RoleResponse"];
|
|
13080
|
+
};
|
|
13081
|
+
};
|
|
13082
|
+
/** @description Bad Request */
|
|
13083
|
+
400: {
|
|
13084
|
+
headers: {
|
|
13085
|
+
[name: string]: unknown;
|
|
13086
|
+
};
|
|
13087
|
+
content: {
|
|
13088
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
13089
|
+
};
|
|
13090
|
+
};
|
|
13091
|
+
/** @description Forbidden */
|
|
13092
|
+
403: {
|
|
13093
|
+
headers: {
|
|
13094
|
+
[name: string]: unknown;
|
|
13095
|
+
};
|
|
13096
|
+
content?: never;
|
|
13097
|
+
};
|
|
13098
|
+
/** @description Conflict */
|
|
13099
|
+
409: {
|
|
13100
|
+
headers: {
|
|
13101
|
+
[name: string]: unknown;
|
|
13102
|
+
};
|
|
13103
|
+
content: {
|
|
13104
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
13105
|
+
};
|
|
13106
|
+
};
|
|
13107
|
+
};
|
|
13108
|
+
};
|
|
13109
|
+
GetRole: {
|
|
13110
|
+
parameters: {
|
|
13111
|
+
query?: never;
|
|
13112
|
+
header?: never;
|
|
13113
|
+
path: {
|
|
13114
|
+
id: string;
|
|
13115
|
+
};
|
|
13116
|
+
cookie?: never;
|
|
13117
|
+
};
|
|
13118
|
+
requestBody?: never;
|
|
13119
|
+
responses: {
|
|
13120
|
+
/** @description OK */
|
|
13121
|
+
200: {
|
|
13122
|
+
headers: {
|
|
13123
|
+
[name: string]: unknown;
|
|
13124
|
+
};
|
|
13125
|
+
content: {
|
|
13126
|
+
"application/json": components["schemas"]["RoleResponse"];
|
|
13127
|
+
};
|
|
13128
|
+
};
|
|
13129
|
+
/** @description Forbidden */
|
|
13130
|
+
403: {
|
|
13131
|
+
headers: {
|
|
13132
|
+
[name: string]: unknown;
|
|
13133
|
+
};
|
|
13134
|
+
content?: never;
|
|
13135
|
+
};
|
|
13136
|
+
/** @description Not Found */
|
|
13137
|
+
404: {
|
|
13138
|
+
headers: {
|
|
13139
|
+
[name: string]: unknown;
|
|
13140
|
+
};
|
|
13141
|
+
content?: never;
|
|
12750
13142
|
};
|
|
12751
13143
|
};
|
|
12752
13144
|
};
|
|
@@ -13983,6 +14375,470 @@ export interface operations {
|
|
|
13983
14375
|
};
|
|
13984
14376
|
};
|
|
13985
14377
|
};
|
|
14378
|
+
ListTenants: {
|
|
14379
|
+
parameters: {
|
|
14380
|
+
query?: never;
|
|
14381
|
+
header?: never;
|
|
14382
|
+
path?: never;
|
|
14383
|
+
cookie?: never;
|
|
14384
|
+
};
|
|
14385
|
+
requestBody?: never;
|
|
14386
|
+
responses: {
|
|
14387
|
+
/** @description OK */
|
|
14388
|
+
200: {
|
|
14389
|
+
headers: {
|
|
14390
|
+
[name: string]: unknown;
|
|
14391
|
+
};
|
|
14392
|
+
content: {
|
|
14393
|
+
"application/json": components["schemas"]["TenantResponse"][];
|
|
14394
|
+
};
|
|
14395
|
+
};
|
|
14396
|
+
/** @description Forbidden */
|
|
14397
|
+
403: {
|
|
14398
|
+
headers: {
|
|
14399
|
+
[name: string]: unknown;
|
|
14400
|
+
};
|
|
14401
|
+
content?: never;
|
|
14402
|
+
};
|
|
14403
|
+
};
|
|
14404
|
+
};
|
|
14405
|
+
ProvisionTenant: {
|
|
14406
|
+
parameters: {
|
|
14407
|
+
query?: never;
|
|
14408
|
+
header?: never;
|
|
14409
|
+
path?: never;
|
|
14410
|
+
cookie?: never;
|
|
14411
|
+
};
|
|
14412
|
+
requestBody: {
|
|
14413
|
+
content: {
|
|
14414
|
+
"application/json": components["schemas"]["ProvisionTenantRequest"];
|
|
14415
|
+
};
|
|
14416
|
+
};
|
|
14417
|
+
responses: {
|
|
14418
|
+
/** @description Created */
|
|
14419
|
+
201: {
|
|
14420
|
+
headers: {
|
|
14421
|
+
[name: string]: unknown;
|
|
14422
|
+
};
|
|
14423
|
+
content: {
|
|
14424
|
+
"application/json": components["schemas"]["TenantResponse"];
|
|
14425
|
+
};
|
|
14426
|
+
};
|
|
14427
|
+
/** @description Bad Request */
|
|
14428
|
+
400: {
|
|
14429
|
+
headers: {
|
|
14430
|
+
[name: string]: unknown;
|
|
14431
|
+
};
|
|
14432
|
+
content: {
|
|
14433
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
14434
|
+
};
|
|
14435
|
+
};
|
|
14436
|
+
/** @description Forbidden */
|
|
14437
|
+
403: {
|
|
14438
|
+
headers: {
|
|
14439
|
+
[name: string]: unknown;
|
|
14440
|
+
};
|
|
14441
|
+
content?: never;
|
|
14442
|
+
};
|
|
14443
|
+
/** @description Conflict */
|
|
14444
|
+
409: {
|
|
14445
|
+
headers: {
|
|
14446
|
+
[name: string]: unknown;
|
|
14447
|
+
};
|
|
14448
|
+
content: {
|
|
14449
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
14450
|
+
};
|
|
14451
|
+
};
|
|
14452
|
+
};
|
|
14453
|
+
};
|
|
14454
|
+
GetTenant: {
|
|
14455
|
+
parameters: {
|
|
14456
|
+
query?: never;
|
|
14457
|
+
header?: never;
|
|
14458
|
+
path: {
|
|
14459
|
+
tenantKey: string;
|
|
14460
|
+
};
|
|
14461
|
+
cookie?: never;
|
|
14462
|
+
};
|
|
14463
|
+
requestBody?: never;
|
|
14464
|
+
responses: {
|
|
14465
|
+
/** @description OK */
|
|
14466
|
+
200: {
|
|
14467
|
+
headers: {
|
|
14468
|
+
[name: string]: unknown;
|
|
14469
|
+
};
|
|
14470
|
+
content: {
|
|
14471
|
+
"application/json": components["schemas"]["TenantResponse"];
|
|
14472
|
+
};
|
|
14473
|
+
};
|
|
14474
|
+
/** @description Forbidden */
|
|
14475
|
+
403: {
|
|
14476
|
+
headers: {
|
|
14477
|
+
[name: string]: unknown;
|
|
14478
|
+
};
|
|
14479
|
+
content?: never;
|
|
14480
|
+
};
|
|
14481
|
+
/** @description Not Found */
|
|
14482
|
+
404: {
|
|
14483
|
+
headers: {
|
|
14484
|
+
[name: string]: unknown;
|
|
14485
|
+
};
|
|
14486
|
+
content?: never;
|
|
14487
|
+
};
|
|
14488
|
+
};
|
|
14489
|
+
};
|
|
14490
|
+
SuspendTenant: {
|
|
14491
|
+
parameters: {
|
|
14492
|
+
query?: never;
|
|
14493
|
+
header?: never;
|
|
14494
|
+
path: {
|
|
14495
|
+
tenantKey: string;
|
|
14496
|
+
};
|
|
14497
|
+
cookie?: never;
|
|
14498
|
+
};
|
|
14499
|
+
requestBody: {
|
|
14500
|
+
content: {
|
|
14501
|
+
"application/json": components["schemas"]["SuspendTenantRequest"];
|
|
14502
|
+
};
|
|
14503
|
+
};
|
|
14504
|
+
responses: {
|
|
14505
|
+
/** @description OK */
|
|
14506
|
+
200: {
|
|
14507
|
+
headers: {
|
|
14508
|
+
[name: string]: unknown;
|
|
14509
|
+
};
|
|
14510
|
+
content: {
|
|
14511
|
+
"application/json": components["schemas"]["TenantResponse"];
|
|
14512
|
+
};
|
|
14513
|
+
};
|
|
14514
|
+
/** @description Bad Request */
|
|
14515
|
+
400: {
|
|
14516
|
+
headers: {
|
|
14517
|
+
[name: string]: unknown;
|
|
14518
|
+
};
|
|
14519
|
+
content: {
|
|
14520
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
14521
|
+
};
|
|
14522
|
+
};
|
|
14523
|
+
/** @description Forbidden */
|
|
14524
|
+
403: {
|
|
14525
|
+
headers: {
|
|
14526
|
+
[name: string]: unknown;
|
|
14527
|
+
};
|
|
14528
|
+
content?: never;
|
|
14529
|
+
};
|
|
14530
|
+
/** @description Not Found */
|
|
14531
|
+
404: {
|
|
14532
|
+
headers: {
|
|
14533
|
+
[name: string]: unknown;
|
|
14534
|
+
};
|
|
14535
|
+
content?: never;
|
|
14536
|
+
};
|
|
14537
|
+
/** @description Conflict */
|
|
14538
|
+
409: {
|
|
14539
|
+
headers: {
|
|
14540
|
+
[name: string]: unknown;
|
|
14541
|
+
};
|
|
14542
|
+
content: {
|
|
14543
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
14544
|
+
};
|
|
14545
|
+
};
|
|
14546
|
+
};
|
|
14547
|
+
};
|
|
14548
|
+
ResumeTenant: {
|
|
14549
|
+
parameters: {
|
|
14550
|
+
query?: never;
|
|
14551
|
+
header?: never;
|
|
14552
|
+
path: {
|
|
14553
|
+
tenantKey: string;
|
|
14554
|
+
};
|
|
14555
|
+
cookie?: never;
|
|
14556
|
+
};
|
|
14557
|
+
requestBody?: never;
|
|
14558
|
+
responses: {
|
|
14559
|
+
/** @description OK */
|
|
14560
|
+
200: {
|
|
14561
|
+
headers: {
|
|
14562
|
+
[name: string]: unknown;
|
|
14563
|
+
};
|
|
14564
|
+
content: {
|
|
14565
|
+
"application/json": components["schemas"]["TenantResponse"];
|
|
14566
|
+
};
|
|
14567
|
+
};
|
|
14568
|
+
/** @description Forbidden */
|
|
14569
|
+
403: {
|
|
14570
|
+
headers: {
|
|
14571
|
+
[name: string]: unknown;
|
|
14572
|
+
};
|
|
14573
|
+
content?: never;
|
|
14574
|
+
};
|
|
14575
|
+
/** @description Not Found */
|
|
14576
|
+
404: {
|
|
14577
|
+
headers: {
|
|
14578
|
+
[name: string]: unknown;
|
|
14579
|
+
};
|
|
14580
|
+
content?: never;
|
|
14581
|
+
};
|
|
14582
|
+
/** @description Conflict */
|
|
14583
|
+
409: {
|
|
14584
|
+
headers: {
|
|
14585
|
+
[name: string]: unknown;
|
|
14586
|
+
};
|
|
14587
|
+
content: {
|
|
14588
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
14589
|
+
};
|
|
14590
|
+
};
|
|
14591
|
+
};
|
|
14592
|
+
};
|
|
14593
|
+
ListPlans: {
|
|
14594
|
+
parameters: {
|
|
14595
|
+
query?: never;
|
|
14596
|
+
header?: never;
|
|
14597
|
+
path?: never;
|
|
14598
|
+
cookie?: never;
|
|
14599
|
+
};
|
|
14600
|
+
requestBody?: never;
|
|
14601
|
+
responses: {
|
|
14602
|
+
/** @description OK */
|
|
14603
|
+
200: {
|
|
14604
|
+
headers: {
|
|
14605
|
+
[name: string]: unknown;
|
|
14606
|
+
};
|
|
14607
|
+
content: {
|
|
14608
|
+
"application/json": components["schemas"]["PlatformPlanResponse"][];
|
|
14609
|
+
};
|
|
14610
|
+
};
|
|
14611
|
+
/** @description Forbidden */
|
|
14612
|
+
403: {
|
|
14613
|
+
headers: {
|
|
14614
|
+
[name: string]: unknown;
|
|
14615
|
+
};
|
|
14616
|
+
content?: never;
|
|
14617
|
+
};
|
|
14618
|
+
};
|
|
14619
|
+
};
|
|
14620
|
+
GrantPlanFeature: {
|
|
14621
|
+
parameters: {
|
|
14622
|
+
query?: never;
|
|
14623
|
+
header?: never;
|
|
14624
|
+
path: {
|
|
14625
|
+
planCode: string;
|
|
14626
|
+
};
|
|
14627
|
+
cookie?: never;
|
|
14628
|
+
};
|
|
14629
|
+
requestBody: {
|
|
14630
|
+
content: {
|
|
14631
|
+
"application/json": components["schemas"]["GrantPlanFeatureRequest"];
|
|
14632
|
+
};
|
|
14633
|
+
};
|
|
14634
|
+
responses: {
|
|
14635
|
+
/** @description OK */
|
|
14636
|
+
200: {
|
|
14637
|
+
headers: {
|
|
14638
|
+
[name: string]: unknown;
|
|
14639
|
+
};
|
|
14640
|
+
content: {
|
|
14641
|
+
"application/json": components["schemas"]["PlatformPlanFeatureResponse"];
|
|
14642
|
+
};
|
|
14643
|
+
};
|
|
14644
|
+
/** @description Created */
|
|
14645
|
+
201: {
|
|
14646
|
+
headers: {
|
|
14647
|
+
[name: string]: unknown;
|
|
14648
|
+
};
|
|
14649
|
+
content: {
|
|
14650
|
+
"application/json": components["schemas"]["PlatformPlanFeatureResponse"];
|
|
14651
|
+
};
|
|
14652
|
+
};
|
|
14653
|
+
/** @description Bad Request */
|
|
14654
|
+
400: {
|
|
14655
|
+
headers: {
|
|
14656
|
+
[name: string]: unknown;
|
|
14657
|
+
};
|
|
14658
|
+
content: {
|
|
14659
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
14660
|
+
};
|
|
14661
|
+
};
|
|
14662
|
+
/** @description Forbidden */
|
|
14663
|
+
403: {
|
|
14664
|
+
headers: {
|
|
14665
|
+
[name: string]: unknown;
|
|
14666
|
+
};
|
|
14667
|
+
content?: never;
|
|
14668
|
+
};
|
|
14669
|
+
/** @description Not Found */
|
|
14670
|
+
404: {
|
|
14671
|
+
headers: {
|
|
14672
|
+
[name: string]: unknown;
|
|
14673
|
+
};
|
|
14674
|
+
content?: never;
|
|
14675
|
+
};
|
|
14676
|
+
};
|
|
14677
|
+
};
|
|
14678
|
+
WithdrawPlanFeature: {
|
|
14679
|
+
parameters: {
|
|
14680
|
+
query?: never;
|
|
14681
|
+
header?: never;
|
|
14682
|
+
path: {
|
|
14683
|
+
planCode: string;
|
|
14684
|
+
featureKey: string;
|
|
14685
|
+
};
|
|
14686
|
+
cookie?: never;
|
|
14687
|
+
};
|
|
14688
|
+
requestBody?: never;
|
|
14689
|
+
responses: {
|
|
14690
|
+
/** @description No Content */
|
|
14691
|
+
204: {
|
|
14692
|
+
headers: {
|
|
14693
|
+
[name: string]: unknown;
|
|
14694
|
+
};
|
|
14695
|
+
content?: never;
|
|
14696
|
+
};
|
|
14697
|
+
/** @description Forbidden */
|
|
14698
|
+
403: {
|
|
14699
|
+
headers: {
|
|
14700
|
+
[name: string]: unknown;
|
|
14701
|
+
};
|
|
14702
|
+
content?: never;
|
|
14703
|
+
};
|
|
14704
|
+
/** @description Not Found */
|
|
14705
|
+
404: {
|
|
14706
|
+
headers: {
|
|
14707
|
+
[name: string]: unknown;
|
|
14708
|
+
};
|
|
14709
|
+
content?: never;
|
|
14710
|
+
};
|
|
14711
|
+
};
|
|
14712
|
+
};
|
|
14713
|
+
ListTenantEntitlements: {
|
|
14714
|
+
parameters: {
|
|
14715
|
+
query?: never;
|
|
14716
|
+
header?: never;
|
|
14717
|
+
path: {
|
|
14718
|
+
tenantKey: string;
|
|
14719
|
+
};
|
|
14720
|
+
cookie?: never;
|
|
14721
|
+
};
|
|
14722
|
+
requestBody?: never;
|
|
14723
|
+
responses: {
|
|
14724
|
+
/** @description OK */
|
|
14725
|
+
200: {
|
|
14726
|
+
headers: {
|
|
14727
|
+
[name: string]: unknown;
|
|
14728
|
+
};
|
|
14729
|
+
content: {
|
|
14730
|
+
"application/json": components["schemas"]["TenantEntitlementsResponse"];
|
|
14731
|
+
};
|
|
14732
|
+
};
|
|
14733
|
+
/** @description Forbidden */
|
|
14734
|
+
403: {
|
|
14735
|
+
headers: {
|
|
14736
|
+
[name: string]: unknown;
|
|
14737
|
+
};
|
|
14738
|
+
content?: never;
|
|
14739
|
+
};
|
|
14740
|
+
/** @description Not Found */
|
|
14741
|
+
404: {
|
|
14742
|
+
headers: {
|
|
14743
|
+
[name: string]: unknown;
|
|
14744
|
+
};
|
|
14745
|
+
content?: never;
|
|
14746
|
+
};
|
|
14747
|
+
};
|
|
14748
|
+
};
|
|
14749
|
+
OverrideTenantEntitlement: {
|
|
14750
|
+
parameters: {
|
|
14751
|
+
query?: never;
|
|
14752
|
+
header?: never;
|
|
14753
|
+
path: {
|
|
14754
|
+
tenantKey: string;
|
|
14755
|
+
};
|
|
14756
|
+
cookie?: never;
|
|
14757
|
+
};
|
|
14758
|
+
requestBody: {
|
|
14759
|
+
content: {
|
|
14760
|
+
"application/json": components["schemas"]["OverrideEntitlementRequest"];
|
|
14761
|
+
};
|
|
14762
|
+
};
|
|
14763
|
+
responses: {
|
|
14764
|
+
/** @description OK */
|
|
14765
|
+
200: {
|
|
14766
|
+
headers: {
|
|
14767
|
+
[name: string]: unknown;
|
|
14768
|
+
};
|
|
14769
|
+
content: {
|
|
14770
|
+
"application/json": components["schemas"]["TenantEntitlementResponse"];
|
|
14771
|
+
};
|
|
14772
|
+
};
|
|
14773
|
+
/** @description Created */
|
|
14774
|
+
201: {
|
|
14775
|
+
headers: {
|
|
14776
|
+
[name: string]: unknown;
|
|
14777
|
+
};
|
|
14778
|
+
content: {
|
|
14779
|
+
"application/json": components["schemas"]["TenantEntitlementResponse"];
|
|
14780
|
+
};
|
|
14781
|
+
};
|
|
14782
|
+
/** @description Bad Request */
|
|
14783
|
+
400: {
|
|
14784
|
+
headers: {
|
|
14785
|
+
[name: string]: unknown;
|
|
14786
|
+
};
|
|
14787
|
+
content: {
|
|
14788
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
14789
|
+
};
|
|
14790
|
+
};
|
|
14791
|
+
/** @description Forbidden */
|
|
14792
|
+
403: {
|
|
14793
|
+
headers: {
|
|
14794
|
+
[name: string]: unknown;
|
|
14795
|
+
};
|
|
14796
|
+
content?: never;
|
|
14797
|
+
};
|
|
14798
|
+
/** @description Not Found */
|
|
14799
|
+
404: {
|
|
14800
|
+
headers: {
|
|
14801
|
+
[name: string]: unknown;
|
|
14802
|
+
};
|
|
14803
|
+
content?: never;
|
|
14804
|
+
};
|
|
14805
|
+
};
|
|
14806
|
+
};
|
|
14807
|
+
WithdrawTenantEntitlement: {
|
|
14808
|
+
parameters: {
|
|
14809
|
+
query?: never;
|
|
14810
|
+
header?: never;
|
|
14811
|
+
path: {
|
|
14812
|
+
tenantKey: string;
|
|
14813
|
+
featureKey: string;
|
|
14814
|
+
};
|
|
14815
|
+
cookie?: never;
|
|
14816
|
+
};
|
|
14817
|
+
requestBody?: never;
|
|
14818
|
+
responses: {
|
|
14819
|
+
/** @description No Content */
|
|
14820
|
+
204: {
|
|
14821
|
+
headers: {
|
|
14822
|
+
[name: string]: unknown;
|
|
14823
|
+
};
|
|
14824
|
+
content?: never;
|
|
14825
|
+
};
|
|
14826
|
+
/** @description Forbidden */
|
|
14827
|
+
403: {
|
|
14828
|
+
headers: {
|
|
14829
|
+
[name: string]: unknown;
|
|
14830
|
+
};
|
|
14831
|
+
content?: never;
|
|
14832
|
+
};
|
|
14833
|
+
/** @description Not Found */
|
|
14834
|
+
404: {
|
|
14835
|
+
headers: {
|
|
14836
|
+
[name: string]: unknown;
|
|
14837
|
+
};
|
|
14838
|
+
content?: never;
|
|
14839
|
+
};
|
|
14840
|
+
};
|
|
14841
|
+
};
|
|
13986
14842
|
GetPublicBranding: {
|
|
13987
14843
|
parameters: {
|
|
13988
14844
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.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,
|