@insurance-broker/api-client 5.12.0 → 5.13.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 +89 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3555,6 +3555,26 @@ export interface paths {
|
|
|
3555
3555
|
patch?: never;
|
|
3556
3556
|
trace?: never;
|
|
3557
3557
|
};
|
|
3558
|
+
"/api/v1/members/{membershipId}/revocation": {
|
|
3559
|
+
parameters: {
|
|
3560
|
+
query?: never;
|
|
3561
|
+
header?: never;
|
|
3562
|
+
path?: never;
|
|
3563
|
+
cookie?: never;
|
|
3564
|
+
};
|
|
3565
|
+
get?: never;
|
|
3566
|
+
put?: never;
|
|
3567
|
+
/**
|
|
3568
|
+
* Withdraws a member of staff's access to this broker permanently. Terminal.
|
|
3569
|
+
* @description Every request from that person to this broker that starts after the revocation commits is refused; one already past authorization completes. Their identity-provider account is not changed. Revoking a membership that is already revoked answers it as it stands and changes nothing. A caller may not revoke their own membership. A revoked membership cannot be restored.
|
|
3570
|
+
*/
|
|
3571
|
+
post: operations["RevokeMembership"];
|
|
3572
|
+
delete?: never;
|
|
3573
|
+
options?: never;
|
|
3574
|
+
head?: never;
|
|
3575
|
+
patch?: never;
|
|
3576
|
+
trace?: never;
|
|
3577
|
+
};
|
|
3558
3578
|
"/api/v1/staff": {
|
|
3559
3579
|
parameters: {
|
|
3560
3580
|
query?: never;
|
|
@@ -9288,6 +9308,17 @@ export interface components {
|
|
|
9288
9308
|
/** Format: int32 */
|
|
9289
9309
|
bodySchemaVersion: null | number | string;
|
|
9290
9310
|
};
|
|
9311
|
+
RevokedMembershipResponse: {
|
|
9312
|
+
/** Format: uuid */
|
|
9313
|
+
membershipId: string;
|
|
9314
|
+
subjectId: string;
|
|
9315
|
+
reason: null | string;
|
|
9316
|
+
/** Format: date-time */
|
|
9317
|
+
revokedAtUtc: null | string;
|
|
9318
|
+
};
|
|
9319
|
+
RevokeMembershipRequest: {
|
|
9320
|
+
reason: null | string;
|
|
9321
|
+
};
|
|
9291
9322
|
RoleResponse: {
|
|
9292
9323
|
/** Format: uuid */
|
|
9293
9324
|
id: string;
|
|
@@ -18125,6 +18156,64 @@ export interface operations {
|
|
|
18125
18156
|
};
|
|
18126
18157
|
};
|
|
18127
18158
|
};
|
|
18159
|
+
RevokeMembership: {
|
|
18160
|
+
parameters: {
|
|
18161
|
+
query?: never;
|
|
18162
|
+
header?: never;
|
|
18163
|
+
path: {
|
|
18164
|
+
membershipId: string;
|
|
18165
|
+
};
|
|
18166
|
+
cookie?: never;
|
|
18167
|
+
};
|
|
18168
|
+
requestBody: {
|
|
18169
|
+
content: {
|
|
18170
|
+
"application/json": components["schemas"]["RevokeMembershipRequest"];
|
|
18171
|
+
};
|
|
18172
|
+
};
|
|
18173
|
+
responses: {
|
|
18174
|
+
/** @description OK */
|
|
18175
|
+
200: {
|
|
18176
|
+
headers: {
|
|
18177
|
+
[name: string]: unknown;
|
|
18178
|
+
};
|
|
18179
|
+
content: {
|
|
18180
|
+
"application/json": components["schemas"]["RevokedMembershipResponse"];
|
|
18181
|
+
};
|
|
18182
|
+
};
|
|
18183
|
+
/** @description Bad Request */
|
|
18184
|
+
400: {
|
|
18185
|
+
headers: {
|
|
18186
|
+
[name: string]: unknown;
|
|
18187
|
+
};
|
|
18188
|
+
content: {
|
|
18189
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
18190
|
+
};
|
|
18191
|
+
};
|
|
18192
|
+
/** @description Forbidden */
|
|
18193
|
+
403: {
|
|
18194
|
+
headers: {
|
|
18195
|
+
[name: string]: unknown;
|
|
18196
|
+
};
|
|
18197
|
+
content?: never;
|
|
18198
|
+
};
|
|
18199
|
+
/** @description Not Found */
|
|
18200
|
+
404: {
|
|
18201
|
+
headers: {
|
|
18202
|
+
[name: string]: unknown;
|
|
18203
|
+
};
|
|
18204
|
+
content?: never;
|
|
18205
|
+
};
|
|
18206
|
+
/** @description Conflict. A type of urn:brokerplatform:problem:concurrency-conflict means someone else changed the record first and nothing was written: read it again and decide again. Any other type is a conflict this operation decided itself, and retrying it unchanged will not help. */
|
|
18207
|
+
409: {
|
|
18208
|
+
headers: {
|
|
18209
|
+
[name: string]: unknown;
|
|
18210
|
+
};
|
|
18211
|
+
content: {
|
|
18212
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
18213
|
+
};
|
|
18214
|
+
};
|
|
18215
|
+
};
|
|
18216
|
+
};
|
|
18128
18217
|
ResolveStaffNames: {
|
|
18129
18218
|
parameters: {
|
|
18130
18219
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.13.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,
|