@insurance-broker/api-client 5.11.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +95 -6
  2. 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;
@@ -6441,7 +6461,7 @@ export interface components {
6441
6461
  /** Format: date-time */
6442
6462
  uploadedAtUtc: string;
6443
6463
  uploadedBySubjectId: string;
6444
- scanVerdict: string;
6464
+ scanVerdict: components["schemas"]["ScanVerdict"];
6445
6465
  /** Format: date-time */
6446
6466
  scannedAtUtc: null | string;
6447
6467
  /** Format: date-time */
@@ -6882,7 +6902,7 @@ export interface components {
6882
6902
  contentSha256: string;
6883
6903
  /** Format: date-time */
6884
6904
  uploadedAtUtc: string;
6885
- scanVerdict: string;
6905
+ scanVerdict: components["schemas"]["ScanVerdict"];
6886
6906
  /** Format: date-time */
6887
6907
  scannedAtUtc: null | string;
6888
6908
  classification: null | string;
@@ -7115,7 +7135,7 @@ export interface components {
7115
7135
  contentSha256: string;
7116
7136
  /** Format: date-time */
7117
7137
  uploadedAtUtc: string;
7118
- scanVerdict: string;
7138
+ scanVerdict: components["schemas"]["ScanVerdict"];
7119
7139
  /** Format: date-time */
7120
7140
  scannedAtUtc: null | string;
7121
7141
  classification: null | string;
@@ -8512,7 +8532,7 @@ export interface components {
8512
8532
  /** Format: date-time */
8513
8533
  uploadedAtUtc: string;
8514
8534
  uploadedBySubjectId: string;
8515
- scanVerdict: string;
8535
+ scanVerdict: components["schemas"]["ScanVerdict"];
8516
8536
  /** Format: date-time */
8517
8537
  scannedAtUtc: null | string;
8518
8538
  classification: null | string;
@@ -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;
@@ -9500,7 +9531,7 @@ export interface components {
9500
9531
  /** Format: date-time */
9501
9532
  uploadedAtUtc: string;
9502
9533
  uploadedBySubjectId: string;
9503
- scanVerdict: string;
9534
+ scanVerdict: components["schemas"]["ScanVerdict"];
9504
9535
  /** Format: date-time */
9505
9536
  scannedAtUtc: null | string;
9506
9537
  classification: null | string;
@@ -9536,7 +9567,7 @@ export interface components {
9536
9567
  isOutstanding: boolean;
9537
9568
  /** Format: uuid */
9538
9569
  attachmentId: null | string;
9539
- scanVerdict: null | string;
9570
+ scanVerdict: null | components["schemas"]["ScanVerdict"];
9540
9571
  };
9541
9572
  SuspendTenantRequest: {
9542
9573
  reason: null | 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.11.0",
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,