@insurance-broker/api-client 5.15.0 → 5.16.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 +82 -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": {
|
|
3559
|
+
parameters: {
|
|
3560
|
+
query?: never;
|
|
3561
|
+
header?: never;
|
|
3562
|
+
path?: never;
|
|
3563
|
+
cookie?: never;
|
|
3564
|
+
};
|
|
3565
|
+
/**
|
|
3566
|
+
* This broker's memberships, with status, roles and placement, oldest first.
|
|
3567
|
+
* @description Paged by an opaque cursor: pass `nextCursor` back as `cursor` until it is null. `limit` is 25 by default and at most 100; zero or less means the default. `status` narrows the list to `Invited`, `Active`, `Suspended` or `Revoked`. A revoked member whose name has been erased comes back as "Former member of staff". Names are personal data.
|
|
3568
|
+
*/
|
|
3569
|
+
get: operations["ListMembers"];
|
|
3570
|
+
put?: never;
|
|
3571
|
+
post?: never;
|
|
3572
|
+
delete?: never;
|
|
3573
|
+
options?: never;
|
|
3574
|
+
head?: never;
|
|
3575
|
+
patch?: never;
|
|
3576
|
+
trace?: never;
|
|
3577
|
+
};
|
|
3558
3578
|
"/api/v1/members/{membershipId}/revocation": {
|
|
3559
3579
|
parameters: {
|
|
3560
3580
|
query?: never;
|
|
@@ -8041,6 +8061,28 @@ export interface components {
|
|
|
8041
8061
|
MapPaymentSourceRequest: {
|
|
8042
8062
|
source: string;
|
|
8043
8063
|
};
|
|
8064
|
+
MemberPage: {
|
|
8065
|
+
items: components["schemas"]["MemberResponse"][];
|
|
8066
|
+
nextCursor: null | string;
|
|
8067
|
+
};
|
|
8068
|
+
MemberResponse: {
|
|
8069
|
+
/** Format: uuid */
|
|
8070
|
+
membershipId: string;
|
|
8071
|
+
subjectId: string;
|
|
8072
|
+
displayName: string;
|
|
8073
|
+
status: string;
|
|
8074
|
+
roles: components["schemas"]["MemberRoleResponse"][];
|
|
8075
|
+
/** Format: uuid */
|
|
8076
|
+
branchId: null | string;
|
|
8077
|
+
/** Format: uuid */
|
|
8078
|
+
teamId: null | string;
|
|
8079
|
+
};
|
|
8080
|
+
MemberRoleResponse: {
|
|
8081
|
+
/** Format: uuid */
|
|
8082
|
+
roleId: string;
|
|
8083
|
+
key: string;
|
|
8084
|
+
name: string;
|
|
8085
|
+
};
|
|
8044
8086
|
MissingTemplateValueResponse: {
|
|
8045
8087
|
key: string;
|
|
8046
8088
|
/** @description Which refusal this is, as a stable name from a closed set. Key grouping, counting and translation on this, never on message. A new code is additive; renaming one is a break. */
|
|
@@ -18188,6 +18230,46 @@ export interface operations {
|
|
|
18188
18230
|
};
|
|
18189
18231
|
};
|
|
18190
18232
|
};
|
|
18233
|
+
ListMembers: {
|
|
18234
|
+
parameters: {
|
|
18235
|
+
query?: {
|
|
18236
|
+
status?: string;
|
|
18237
|
+
cursor?: string;
|
|
18238
|
+
limit?: number | string;
|
|
18239
|
+
};
|
|
18240
|
+
header?: never;
|
|
18241
|
+
path?: never;
|
|
18242
|
+
cookie?: never;
|
|
18243
|
+
};
|
|
18244
|
+
requestBody?: never;
|
|
18245
|
+
responses: {
|
|
18246
|
+
/** @description OK */
|
|
18247
|
+
200: {
|
|
18248
|
+
headers: {
|
|
18249
|
+
[name: string]: unknown;
|
|
18250
|
+
};
|
|
18251
|
+
content: {
|
|
18252
|
+
"application/json": components["schemas"]["MemberPage"];
|
|
18253
|
+
};
|
|
18254
|
+
};
|
|
18255
|
+
/** @description Bad Request */
|
|
18256
|
+
400: {
|
|
18257
|
+
headers: {
|
|
18258
|
+
[name: string]: unknown;
|
|
18259
|
+
};
|
|
18260
|
+
content: {
|
|
18261
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
18262
|
+
};
|
|
18263
|
+
};
|
|
18264
|
+
/** @description Forbidden */
|
|
18265
|
+
403: {
|
|
18266
|
+
headers: {
|
|
18267
|
+
[name: string]: unknown;
|
|
18268
|
+
};
|
|
18269
|
+
content?: never;
|
|
18270
|
+
};
|
|
18271
|
+
};
|
|
18272
|
+
};
|
|
18191
18273
|
RevokeMembership: {
|
|
18192
18274
|
parameters: {
|
|
18193
18275
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.16.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,
|