@meshery/schemas 1.0.9 → 1.1.1
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/README.md +4 -3
- package/dist/cloudApi.d.mts +17180 -16914
- package/dist/cloudApi.d.ts +17180 -16914
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +4 -4
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
- package/dist/constructs/v1beta1/model/ModelSchema.js +1 -1
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +1 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +1 -1
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +1 -1
- package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +1 -1
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta1/view/ViewSchema.js +1 -1
- package/dist/constructs/v1beta1/view/ViewSchema.mjs +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -2
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -2
- package/dist/constructs/v1beta2/badge/Badge.d.mts +564 -0
- package/dist/constructs/v1beta2/badge/Badge.d.ts +564 -0
- package/dist/constructs/v1beta2/badge/Badge.js +1 -0
- package/dist/constructs/v1beta2/badge/Badge.mjs +0 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.js +2 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.mjs +2 -0
- package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta2/credential/Credential.d.mts +536 -0
- package/dist/constructs/v1beta2/credential/Credential.d.ts +536 -0
- package/dist/constructs/v1beta2/credential/Credential.js +1 -0
- package/dist/constructs/v1beta2/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.js +7 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +7 -0
- package/dist/constructs/v1beta2/design/DesignSchema.js +10 -2
- package/dist/constructs/v1beta2/design/DesignSchema.mjs +10 -2
- package/dist/constructs/v1beta2/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta2/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta2/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta2/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta2/key/Key.d.mts +523 -0
- package/dist/constructs/v1beta2/key/Key.d.ts +523 -0
- package/dist/constructs/v1beta2/key/Key.js +1 -0
- package/dist/constructs/v1beta2/key/Key.mjs +0 -0
- package/dist/constructs/v1beta2/key/KeySchema.d.mts +7 -0
- package/dist/constructs/v1beta2/key/KeySchema.d.ts +7 -0
- package/dist/constructs/v1beta2/key/KeySchema.js +2 -0
- package/dist/constructs/v1beta2/key/KeySchema.mjs +2 -0
- package/dist/constructs/v1beta2/keychain/Keychain.d.mts +651 -0
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +651 -0
- package/dist/constructs/v1beta2/keychain/Keychain.js +1 -0
- package/dist/constructs/v1beta2/keychain/Keychain.mjs +0 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.js +2 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.mjs +2 -0
- package/dist/constructs/v1beta2/model/Model.d.mts +571 -0
- package/dist/constructs/v1beta2/model/Model.d.ts +571 -0
- package/dist/constructs/v1beta2/model/Model.js +1 -0
- package/dist/constructs/v1beta2/model/Model.mjs +0 -0
- package/dist/constructs/v1beta2/model/ModelSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/model/ModelSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/model/ModelSchema.js +6 -0
- package/dist/constructs/v1beta2/model/ModelSchema.mjs +6 -0
- package/dist/constructs/v1beta2/organization/Organization.d.mts +1986 -0
- package/dist/constructs/v1beta2/organization/Organization.d.ts +1986 -0
- package/dist/constructs/v1beta2/organization/Organization.js +1 -0
- package/dist/constructs/v1beta2/organization/Organization.mjs +0 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.js +2 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +2 -0
- package/dist/constructs/v1beta2/plan/PlanSchema.js +1 -1
- package/dist/constructs/v1beta2/plan/PlanSchema.mjs +1 -1
- package/dist/constructs/v1beta2/role/Role.d.mts +751 -0
- package/dist/constructs/v1beta2/role/Role.d.ts +751 -0
- package/dist/constructs/v1beta2/role/Role.js +1 -0
- package/dist/constructs/v1beta2/role/Role.mjs +0 -0
- package/dist/constructs/v1beta2/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta2/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta2/schedule/Schedule.d.mts +380 -0
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +380 -0
- package/dist/constructs/v1beta2/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta2/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta2/team/Team.d.mts +939 -0
- package/dist/constructs/v1beta2/team/Team.d.ts +939 -0
- package/dist/constructs/v1beta2/team/Team.js +1 -0
- package/dist/constructs/v1beta2/team/Team.mjs +0 -0
- package/dist/constructs/v1beta2/team/TeamSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/team/TeamSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/team/TeamSchema.js +2 -0
- package/dist/constructs/v1beta2/team/TeamSchema.mjs +2 -0
- package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta2/user/User.d.mts +1831 -0
- package/dist/constructs/v1beta2/user/User.d.ts +1831 -0
- package/dist/constructs/v1beta2/user/User.js +1 -0
- package/dist/constructs/v1beta2/user/User.mjs +0 -0
- package/dist/constructs/v1beta2/user/UserSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/user/UserSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/user/UserSchema.js +2 -0
- package/dist/constructs/v1beta2/user/UserSchema.mjs +2 -0
- package/dist/constructs/v1beta2/view/View.d.mts +810 -0
- package/dist/constructs/v1beta2/view/View.d.ts +810 -0
- package/dist/constructs/v1beta2/view/View.js +1 -0
- package/dist/constructs/v1beta2/view/View.mjs +0 -0
- package/dist/constructs/v1beta2/view/ViewSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/view/ViewSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/view/ViewSchema.js +13 -0
- package/dist/constructs/v1beta2/view/ViewSchema.mjs +13 -0
- package/dist/constructs/v1beta3/component/Component.d.mts +796 -0
- package/dist/constructs/v1beta3/component/Component.d.ts +796 -0
- package/dist/constructs/v1beta3/component/Component.js +1 -0
- package/dist/constructs/v1beta3/component/Component.mjs +0 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.js +10 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.mjs +10 -0
- package/dist/constructs/v1beta3/connection/Connection.d.mts +1348 -0
- package/dist/constructs/v1beta3/connection/Connection.d.ts +1348 -0
- package/dist/constructs/v1beta3/connection/Connection.js +1 -0
- package/dist/constructs/v1beta3/connection/Connection.mjs +0 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +2 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +2 -0
- package/dist/constructs/v1beta3/design/Design.d.mts +17552 -0
- package/dist/constructs/v1beta3/design/Design.d.ts +17552 -0
- package/dist/constructs/v1beta3/design/Design.js +1 -0
- package/dist/constructs/v1beta3/design/Design.mjs +0 -0
- package/dist/constructs/v1beta3/design/DesignSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/design/DesignSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/design/DesignSchema.js +506 -0
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +506 -0
- package/dist/constructs/v1beta3/environment/Environment.d.mts +800 -0
- package/dist/constructs/v1beta3/environment/Environment.d.ts +800 -0
- package/dist/constructs/v1beta3/environment/Environment.js +1 -0
- package/dist/constructs/v1beta3/environment/Environment.mjs +0 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +2 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +2 -0
- package/dist/constructs/v1beta3/event/Event.d.mts +733 -0
- package/dist/constructs/v1beta3/event/Event.d.ts +733 -0
- package/dist/constructs/v1beta3/event/Event.js +1 -0
- package/dist/constructs/v1beta3/event/Event.mjs +0 -0
- package/dist/constructs/v1beta3/event/EventSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/event/EventSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/event/EventSchema.js +2 -0
- package/dist/constructs/v1beta3/event/EventSchema.mjs +2 -0
- package/dist/constructs/v1beta3/invitation/Invitation.d.mts +1079 -0
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1079 -0
- package/dist/constructs/v1beta3/invitation/Invitation.js +1 -0
- package/dist/constructs/v1beta3/invitation/Invitation.mjs +0 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +2 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +2 -0
- package/dist/constructs/v1beta3/plan/Plan.d.mts +198 -0
- package/dist/constructs/v1beta3/plan/Plan.d.ts +198 -0
- package/dist/constructs/v1beta3/plan/Plan.js +1 -0
- package/dist/constructs/v1beta3/plan/Plan.mjs +0 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.js +2 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.mjs +2 -0
- package/dist/constructs/v1beta3/relationship/Relationship.d.mts +1884 -0
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1884 -0
- package/dist/constructs/v1beta3/relationship/Relationship.js +1 -0
- package/dist/constructs/v1beta3/relationship/Relationship.mjs +0 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.js +155 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.mjs +155 -0
- package/dist/constructs/v1beta3/subscription/Subscription.d.mts +876 -0
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +876 -0
- package/dist/constructs/v1beta3/subscription/Subscription.js +1 -0
- package/dist/constructs/v1beta3/subscription/Subscription.mjs +0 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +2 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +2 -0
- package/dist/constructs/v1beta3/token/Token.d.mts +543 -0
- package/dist/constructs/v1beta3/token/Token.d.ts +543 -0
- package/dist/constructs/v1beta3/token/Token.js +1 -0
- package/dist/constructs/v1beta3/token/Token.mjs +0 -0
- package/dist/constructs/v1beta3/token/TokenSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/token/TokenSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/token/TokenSchema.js +2 -0
- package/dist/constructs/v1beta3/token/TokenSchema.mjs +2 -0
- package/dist/constructs/v1beta3/workspace/Workspace.d.mts +4811 -0
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4811 -0
- package/dist/constructs/v1beta3/workspace/Workspace.js +1 -0
- package/dist/constructs/v1beta3/workspace/Workspace.mjs +0 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +98 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +98 -0
- package/dist/index.d.mts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +16 -8
- package/dist/index.mjs +16 -8
- package/dist/mesheryApi.d.mts +4954 -4793
- package/dist/mesheryApi.d.ts +4954 -4793
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1079 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
interface paths {
|
|
6
|
+
"/api/organizations/invitations/{invitationId}": {
|
|
7
|
+
get: operations["getInvitation"];
|
|
8
|
+
put: operations["updateInvitation"];
|
|
9
|
+
delete: operations["deleteInvitation"];
|
|
10
|
+
};
|
|
11
|
+
"/api/organizations/invitations": {
|
|
12
|
+
get: operations["getInvitations"];
|
|
13
|
+
post: operations["createInvitation"];
|
|
14
|
+
};
|
|
15
|
+
"/api/organizations/invitations/{invitationId}/accept": {
|
|
16
|
+
post: operations["acceptInvitation"];
|
|
17
|
+
};
|
|
18
|
+
"/api/identity/orgs/{orgId}/users/invite": {
|
|
19
|
+
post: operations["handleUserInvite"];
|
|
20
|
+
};
|
|
21
|
+
"/api/identity/users/request": {
|
|
22
|
+
get: operations["getSignupRequests"];
|
|
23
|
+
post: operations["signupRequest"];
|
|
24
|
+
};
|
|
25
|
+
"/api/identity/users/request/approve": {
|
|
26
|
+
post: operations["approveSignupRequest"];
|
|
27
|
+
};
|
|
28
|
+
"/api/identity/users/request/deny": {
|
|
29
|
+
post: operations["denySignupRequest"];
|
|
30
|
+
};
|
|
31
|
+
"/api/identity/users/request/notification": {
|
|
32
|
+
get: operations["getSignupRequestNotification"];
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
interface components {
|
|
36
|
+
schemas: {
|
|
37
|
+
/**
|
|
38
|
+
* Format: uuid
|
|
39
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
40
|
+
*/
|
|
41
|
+
Uuid: string;
|
|
42
|
+
/** @description Paginated list of invitations for an organization. */
|
|
43
|
+
InvitationsPage: {
|
|
44
|
+
/** @description Invitations returned on the current page. */
|
|
45
|
+
data: {
|
|
46
|
+
/**
|
|
47
|
+
* Format: uuid
|
|
48
|
+
* @description Unique identifier for the invitation, also used as the invitation code.
|
|
49
|
+
*/
|
|
50
|
+
id: string;
|
|
51
|
+
/**
|
|
52
|
+
* Format: uuid
|
|
53
|
+
* @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
|
|
54
|
+
*/
|
|
55
|
+
ownerId: string;
|
|
56
|
+
/** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain. An organization can only have one default invitation. */
|
|
57
|
+
isDefault?: boolean;
|
|
58
|
+
/** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
|
|
59
|
+
name: string;
|
|
60
|
+
/** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
|
|
61
|
+
description: string;
|
|
62
|
+
/** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
|
|
63
|
+
emails: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Format: uuid
|
|
66
|
+
* @description ID of the organization to which the user is invited.
|
|
67
|
+
*/
|
|
68
|
+
orgId: string;
|
|
69
|
+
/**
|
|
70
|
+
* Format: date-time
|
|
71
|
+
* @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
|
|
72
|
+
*/
|
|
73
|
+
expiresAt?: string;
|
|
74
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
|
|
75
|
+
quota?: number;
|
|
76
|
+
/** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
|
|
77
|
+
acceptedBy: string[];
|
|
78
|
+
/** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
|
|
79
|
+
roles: string[];
|
|
80
|
+
/** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
|
|
81
|
+
teams: string[];
|
|
82
|
+
/**
|
|
83
|
+
* @description Activation status of the invitation.
|
|
84
|
+
* @enum {string}
|
|
85
|
+
*/
|
|
86
|
+
status: "enabled" | "disabled";
|
|
87
|
+
/**
|
|
88
|
+
* Format: date-time
|
|
89
|
+
* @description Timestamp when the invitation was created.
|
|
90
|
+
*/
|
|
91
|
+
createdAt: string;
|
|
92
|
+
/**
|
|
93
|
+
* Format: date-time
|
|
94
|
+
* @description Timestamp when the invitation was last updated.
|
|
95
|
+
*/
|
|
96
|
+
updatedAt: string;
|
|
97
|
+
/**
|
|
98
|
+
* Format: date-time
|
|
99
|
+
* @description Timestamp when the invitation was deleted, if applicable.
|
|
100
|
+
*/
|
|
101
|
+
deletedAt: string;
|
|
102
|
+
}[];
|
|
103
|
+
/** @description Total number of invitations available. */
|
|
104
|
+
total: number;
|
|
105
|
+
};
|
|
106
|
+
/** @description A signup request submitted for organization access. */
|
|
107
|
+
SignupRequest: {
|
|
108
|
+
[key: string]: unknown;
|
|
109
|
+
};
|
|
110
|
+
/** @description Paginated list of signup requests. */
|
|
111
|
+
SignupRequestsPage: {
|
|
112
|
+
/** @description Current page number of the result set. */
|
|
113
|
+
page?: number;
|
|
114
|
+
/** @description Number of items per page. */
|
|
115
|
+
pageSize?: number;
|
|
116
|
+
/** @description Total number of items available. */
|
|
117
|
+
totalCount?: number;
|
|
118
|
+
/** @description Signup requests returned on the current page. */
|
|
119
|
+
data?: {
|
|
120
|
+
[key: string]: unknown;
|
|
121
|
+
}[];
|
|
122
|
+
};
|
|
123
|
+
/** @description Payload for creating or updating an invitation. */
|
|
124
|
+
InvitationPayload: {
|
|
125
|
+
/**
|
|
126
|
+
* Format: uuid
|
|
127
|
+
* @description Existing invitation ID for updates; omit on create.
|
|
128
|
+
*/
|
|
129
|
+
id?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Format: uuid
|
|
132
|
+
* @description ID of the user who created the invitation.
|
|
133
|
+
*/
|
|
134
|
+
ownerId?: string;
|
|
135
|
+
/** @description Indicates whether the invitation is a default invitation (open invite). */
|
|
136
|
+
isDefault?: boolean;
|
|
137
|
+
/** @description Name of the invitation. */
|
|
138
|
+
name: string;
|
|
139
|
+
/** @description Description of the invitation. */
|
|
140
|
+
description: string;
|
|
141
|
+
/** @description Email addresses or patterns this invitation is valid for. */
|
|
142
|
+
emails: string[];
|
|
143
|
+
/**
|
|
144
|
+
* Format: uuid
|
|
145
|
+
* @description ID of the organization to which the user is invited.
|
|
146
|
+
*/
|
|
147
|
+
orgId: string;
|
|
148
|
+
/**
|
|
149
|
+
* Format: date-time
|
|
150
|
+
* @description Timestamp when the invitation expires, if applicable.
|
|
151
|
+
*/
|
|
152
|
+
expiresAt?: string;
|
|
153
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. */
|
|
154
|
+
quota?: number;
|
|
155
|
+
/** @description Roles that the user will have when accepting the invitation. */
|
|
156
|
+
roles: string[];
|
|
157
|
+
/** @description Teams that the user will be added to when accepting the invitation. */
|
|
158
|
+
teams: string[];
|
|
159
|
+
/**
|
|
160
|
+
* @description Activation status of the invitation.
|
|
161
|
+
* @enum {string}
|
|
162
|
+
*/
|
|
163
|
+
status: "enabled" | "disabled";
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* @description Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive. Disabled invitations can be re-enabled later.
|
|
167
|
+
* @enum {string}
|
|
168
|
+
*/
|
|
169
|
+
InvitationStatus: "enabled" | "disabled";
|
|
170
|
+
/** @description Invitation entity schema. */
|
|
171
|
+
Invitation: {
|
|
172
|
+
/**
|
|
173
|
+
* Format: uuid
|
|
174
|
+
* @description Unique identifier for the invitation, also used as the invitation code.
|
|
175
|
+
*/
|
|
176
|
+
id: string;
|
|
177
|
+
/**
|
|
178
|
+
* Format: uuid
|
|
179
|
+
* @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
|
|
180
|
+
*/
|
|
181
|
+
ownerId: string;
|
|
182
|
+
/** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain. An organization can only have one default invitation. */
|
|
183
|
+
isDefault?: boolean;
|
|
184
|
+
/** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
|
|
185
|
+
name: string;
|
|
186
|
+
/** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
|
|
187
|
+
description: string;
|
|
188
|
+
/** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
|
|
189
|
+
emails: string[];
|
|
190
|
+
/**
|
|
191
|
+
* Format: uuid
|
|
192
|
+
* @description ID of the organization to which the user is invited.
|
|
193
|
+
*/
|
|
194
|
+
orgId: string;
|
|
195
|
+
/**
|
|
196
|
+
* Format: date-time
|
|
197
|
+
* @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
|
|
198
|
+
*/
|
|
199
|
+
expiresAt?: string;
|
|
200
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
|
|
201
|
+
quota?: number;
|
|
202
|
+
/** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
|
|
203
|
+
acceptedBy: string[];
|
|
204
|
+
/** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
|
|
205
|
+
roles: string[];
|
|
206
|
+
/** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
|
|
207
|
+
teams: string[];
|
|
208
|
+
/**
|
|
209
|
+
* @description Activation status of the invitation.
|
|
210
|
+
* @enum {string}
|
|
211
|
+
*/
|
|
212
|
+
status: "enabled" | "disabled";
|
|
213
|
+
/**
|
|
214
|
+
* Format: date-time
|
|
215
|
+
* @description Timestamp when the invitation was created.
|
|
216
|
+
*/
|
|
217
|
+
createdAt: string;
|
|
218
|
+
/**
|
|
219
|
+
* Format: date-time
|
|
220
|
+
* @description Timestamp when the invitation was last updated.
|
|
221
|
+
*/
|
|
222
|
+
updatedAt: string;
|
|
223
|
+
/**
|
|
224
|
+
* Format: date-time
|
|
225
|
+
* @description Timestamp when the invitation was deleted, if applicable.
|
|
226
|
+
*/
|
|
227
|
+
deletedAt: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
responses: {
|
|
231
|
+
/** Invalid request body or request param */
|
|
232
|
+
400: {
|
|
233
|
+
content: {
|
|
234
|
+
"text/plain": string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/** Expired JWT token used or insufficient privilege */
|
|
238
|
+
401: {
|
|
239
|
+
content: {
|
|
240
|
+
"text/plain": string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
/** Result not found */
|
|
244
|
+
404: {
|
|
245
|
+
content: {
|
|
246
|
+
"text/plain": string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
/** Internal server error */
|
|
250
|
+
500: {
|
|
251
|
+
content: {
|
|
252
|
+
"text/plain": string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
parameters: {
|
|
257
|
+
/** @description The ID of the organization. */
|
|
258
|
+
orgId: string;
|
|
259
|
+
/** @description The ID of the invitation. */
|
|
260
|
+
invitationId: string;
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
interface operations {
|
|
264
|
+
getInvitation: {
|
|
265
|
+
parameters: {
|
|
266
|
+
path: {
|
|
267
|
+
/** The ID of the invitation. */
|
|
268
|
+
invitationId: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
responses: {
|
|
272
|
+
/** Invitation fetched */
|
|
273
|
+
200: {
|
|
274
|
+
content: {
|
|
275
|
+
"application/json": {
|
|
276
|
+
/**
|
|
277
|
+
* Format: uuid
|
|
278
|
+
* @description Unique identifier for the invitation, also used as the invitation code.
|
|
279
|
+
*/
|
|
280
|
+
id: string;
|
|
281
|
+
/**
|
|
282
|
+
* Format: uuid
|
|
283
|
+
* @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
|
|
284
|
+
*/
|
|
285
|
+
ownerId: string;
|
|
286
|
+
/** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain. An organization can only have one default invitation. */
|
|
287
|
+
isDefault?: boolean;
|
|
288
|
+
/** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
|
|
289
|
+
name: string;
|
|
290
|
+
/** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
|
|
291
|
+
description: string;
|
|
292
|
+
/** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
|
|
293
|
+
emails: string[];
|
|
294
|
+
/**
|
|
295
|
+
* Format: uuid
|
|
296
|
+
* @description ID of the organization to which the user is invited.
|
|
297
|
+
*/
|
|
298
|
+
orgId: string;
|
|
299
|
+
/**
|
|
300
|
+
* Format: date-time
|
|
301
|
+
* @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
|
|
302
|
+
*/
|
|
303
|
+
expiresAt?: string;
|
|
304
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
|
|
305
|
+
quota?: number;
|
|
306
|
+
/** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
|
|
307
|
+
acceptedBy: string[];
|
|
308
|
+
/** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
|
|
309
|
+
roles: string[];
|
|
310
|
+
/** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
|
|
311
|
+
teams: string[];
|
|
312
|
+
/**
|
|
313
|
+
* @description Activation status of the invitation.
|
|
314
|
+
* @enum {string}
|
|
315
|
+
*/
|
|
316
|
+
status: "enabled" | "disabled";
|
|
317
|
+
/**
|
|
318
|
+
* Format: date-time
|
|
319
|
+
* @description Timestamp when the invitation was created.
|
|
320
|
+
*/
|
|
321
|
+
createdAt: string;
|
|
322
|
+
/**
|
|
323
|
+
* Format: date-time
|
|
324
|
+
* @description Timestamp when the invitation was last updated.
|
|
325
|
+
*/
|
|
326
|
+
updatedAt: string;
|
|
327
|
+
/**
|
|
328
|
+
* Format: date-time
|
|
329
|
+
* @description Timestamp when the invitation was deleted, if applicable.
|
|
330
|
+
*/
|
|
331
|
+
deletedAt: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
/** Invalid request body or request param */
|
|
336
|
+
400: {
|
|
337
|
+
content: {
|
|
338
|
+
"text/plain": string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
/** Expired JWT token used or insufficient privilege */
|
|
342
|
+
401: {
|
|
343
|
+
content: {
|
|
344
|
+
"text/plain": string;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
/** Result not found */
|
|
348
|
+
404: {
|
|
349
|
+
content: {
|
|
350
|
+
"text/plain": string;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
/** Internal server error */
|
|
354
|
+
500: {
|
|
355
|
+
content: {
|
|
356
|
+
"text/plain": string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
updateInvitation: {
|
|
362
|
+
parameters: {
|
|
363
|
+
path: {
|
|
364
|
+
/** The ID of the invitation. */
|
|
365
|
+
invitationId: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
responses: {
|
|
369
|
+
/** Invitation updated */
|
|
370
|
+
200: {
|
|
371
|
+
content: {
|
|
372
|
+
"application/json": {
|
|
373
|
+
/**
|
|
374
|
+
* Format: uuid
|
|
375
|
+
* @description Unique identifier for the invitation, also used as the invitation code.
|
|
376
|
+
*/
|
|
377
|
+
id: string;
|
|
378
|
+
/**
|
|
379
|
+
* Format: uuid
|
|
380
|
+
* @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
|
|
381
|
+
*/
|
|
382
|
+
ownerId: string;
|
|
383
|
+
/** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain. An organization can only have one default invitation. */
|
|
384
|
+
isDefault?: boolean;
|
|
385
|
+
/** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
|
|
386
|
+
name: string;
|
|
387
|
+
/** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
|
|
388
|
+
description: string;
|
|
389
|
+
/** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
|
|
390
|
+
emails: string[];
|
|
391
|
+
/**
|
|
392
|
+
* Format: uuid
|
|
393
|
+
* @description ID of the organization to which the user is invited.
|
|
394
|
+
*/
|
|
395
|
+
orgId: string;
|
|
396
|
+
/**
|
|
397
|
+
* Format: date-time
|
|
398
|
+
* @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
|
|
399
|
+
*/
|
|
400
|
+
expiresAt?: string;
|
|
401
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
|
|
402
|
+
quota?: number;
|
|
403
|
+
/** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
|
|
404
|
+
acceptedBy: string[];
|
|
405
|
+
/** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
|
|
406
|
+
roles: string[];
|
|
407
|
+
/** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
|
|
408
|
+
teams: string[];
|
|
409
|
+
/**
|
|
410
|
+
* @description Activation status of the invitation.
|
|
411
|
+
* @enum {string}
|
|
412
|
+
*/
|
|
413
|
+
status: "enabled" | "disabled";
|
|
414
|
+
/**
|
|
415
|
+
* Format: date-time
|
|
416
|
+
* @description Timestamp when the invitation was created.
|
|
417
|
+
*/
|
|
418
|
+
createdAt: string;
|
|
419
|
+
/**
|
|
420
|
+
* Format: date-time
|
|
421
|
+
* @description Timestamp when the invitation was last updated.
|
|
422
|
+
*/
|
|
423
|
+
updatedAt: string;
|
|
424
|
+
/**
|
|
425
|
+
* Format: date-time
|
|
426
|
+
* @description Timestamp when the invitation was deleted, if applicable.
|
|
427
|
+
*/
|
|
428
|
+
deletedAt: string;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
/** Invalid request body or request param */
|
|
433
|
+
400: {
|
|
434
|
+
content: {
|
|
435
|
+
"text/plain": string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
/** Expired JWT token used or insufficient privilege */
|
|
439
|
+
401: {
|
|
440
|
+
content: {
|
|
441
|
+
"text/plain": string;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
/** Result not found */
|
|
445
|
+
404: {
|
|
446
|
+
content: {
|
|
447
|
+
"text/plain": string;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
/** Internal server error */
|
|
451
|
+
500: {
|
|
452
|
+
content: {
|
|
453
|
+
"text/plain": string;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
requestBody: {
|
|
458
|
+
content: {
|
|
459
|
+
"application/json": {
|
|
460
|
+
/**
|
|
461
|
+
* Format: uuid
|
|
462
|
+
* @description Existing invitation ID for updates; omit on create.
|
|
463
|
+
*/
|
|
464
|
+
id?: string;
|
|
465
|
+
/**
|
|
466
|
+
* Format: uuid
|
|
467
|
+
* @description ID of the user who created the invitation.
|
|
468
|
+
*/
|
|
469
|
+
ownerId?: string;
|
|
470
|
+
/** @description Indicates whether the invitation is a default invitation (open invite). */
|
|
471
|
+
isDefault?: boolean;
|
|
472
|
+
/** @description Name of the invitation. */
|
|
473
|
+
name: string;
|
|
474
|
+
/** @description Description of the invitation. */
|
|
475
|
+
description: string;
|
|
476
|
+
/** @description Email addresses or patterns this invitation is valid for. */
|
|
477
|
+
emails: string[];
|
|
478
|
+
/**
|
|
479
|
+
* Format: uuid
|
|
480
|
+
* @description ID of the organization to which the user is invited.
|
|
481
|
+
*/
|
|
482
|
+
orgId: string;
|
|
483
|
+
/**
|
|
484
|
+
* Format: date-time
|
|
485
|
+
* @description Timestamp when the invitation expires, if applicable.
|
|
486
|
+
*/
|
|
487
|
+
expiresAt?: string;
|
|
488
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. */
|
|
489
|
+
quota?: number;
|
|
490
|
+
/** @description Roles that the user will have when accepting the invitation. */
|
|
491
|
+
roles: string[];
|
|
492
|
+
/** @description Teams that the user will be added to when accepting the invitation. */
|
|
493
|
+
teams: string[];
|
|
494
|
+
/**
|
|
495
|
+
* @description Activation status of the invitation.
|
|
496
|
+
* @enum {string}
|
|
497
|
+
*/
|
|
498
|
+
status: "enabled" | "disabled";
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
deleteInvitation: {
|
|
504
|
+
parameters: {
|
|
505
|
+
path: {
|
|
506
|
+
/** The ID of the invitation. */
|
|
507
|
+
invitationId: string;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
responses: {
|
|
511
|
+
/** Invitation deleted */
|
|
512
|
+
204: never;
|
|
513
|
+
/** Invalid request body or request param */
|
|
514
|
+
400: {
|
|
515
|
+
content: {
|
|
516
|
+
"text/plain": string;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
/** Expired JWT token used or insufficient privilege */
|
|
520
|
+
401: {
|
|
521
|
+
content: {
|
|
522
|
+
"text/plain": string;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
/** Result not found */
|
|
526
|
+
404: {
|
|
527
|
+
content: {
|
|
528
|
+
"text/plain": string;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
/** Internal server error */
|
|
532
|
+
500: {
|
|
533
|
+
content: {
|
|
534
|
+
"text/plain": string;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
getInvitations: {
|
|
540
|
+
responses: {
|
|
541
|
+
/** Invitations page */
|
|
542
|
+
200: {
|
|
543
|
+
content: {
|
|
544
|
+
"application/json": {
|
|
545
|
+
/** @description Invitations returned on the current page. */
|
|
546
|
+
data: {
|
|
547
|
+
/**
|
|
548
|
+
* Format: uuid
|
|
549
|
+
* @description Unique identifier for the invitation, also used as the invitation code.
|
|
550
|
+
*/
|
|
551
|
+
id: string;
|
|
552
|
+
/**
|
|
553
|
+
* Format: uuid
|
|
554
|
+
* @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
|
|
555
|
+
*/
|
|
556
|
+
ownerId: string;
|
|
557
|
+
/** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain. An organization can only have one default invitation. */
|
|
558
|
+
isDefault?: boolean;
|
|
559
|
+
/** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
|
|
560
|
+
name: string;
|
|
561
|
+
/** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
|
|
562
|
+
description: string;
|
|
563
|
+
/** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
|
|
564
|
+
emails: string[];
|
|
565
|
+
/**
|
|
566
|
+
* Format: uuid
|
|
567
|
+
* @description ID of the organization to which the user is invited.
|
|
568
|
+
*/
|
|
569
|
+
orgId: string;
|
|
570
|
+
/**
|
|
571
|
+
* Format: date-time
|
|
572
|
+
* @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
|
|
573
|
+
*/
|
|
574
|
+
expiresAt?: string;
|
|
575
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
|
|
576
|
+
quota?: number;
|
|
577
|
+
/** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
|
|
578
|
+
acceptedBy: string[];
|
|
579
|
+
/** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
|
|
580
|
+
roles: string[];
|
|
581
|
+
/** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
|
|
582
|
+
teams: string[];
|
|
583
|
+
/**
|
|
584
|
+
* @description Activation status of the invitation.
|
|
585
|
+
* @enum {string}
|
|
586
|
+
*/
|
|
587
|
+
status: "enabled" | "disabled";
|
|
588
|
+
/**
|
|
589
|
+
* Format: date-time
|
|
590
|
+
* @description Timestamp when the invitation was created.
|
|
591
|
+
*/
|
|
592
|
+
createdAt: string;
|
|
593
|
+
/**
|
|
594
|
+
* Format: date-time
|
|
595
|
+
* @description Timestamp when the invitation was last updated.
|
|
596
|
+
*/
|
|
597
|
+
updatedAt: string;
|
|
598
|
+
/**
|
|
599
|
+
* Format: date-time
|
|
600
|
+
* @description Timestamp when the invitation was deleted, if applicable.
|
|
601
|
+
*/
|
|
602
|
+
deletedAt: string;
|
|
603
|
+
}[];
|
|
604
|
+
/** @description Total number of invitations available. */
|
|
605
|
+
total: number;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
/** Invalid request body or request param */
|
|
610
|
+
400: {
|
|
611
|
+
content: {
|
|
612
|
+
"text/plain": string;
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
/** Expired JWT token used or insufficient privilege */
|
|
616
|
+
401: {
|
|
617
|
+
content: {
|
|
618
|
+
"text/plain": string;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
/** Internal server error */
|
|
622
|
+
500: {
|
|
623
|
+
content: {
|
|
624
|
+
"text/plain": string;
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
createInvitation: {
|
|
630
|
+
responses: {
|
|
631
|
+
/** Invitation created */
|
|
632
|
+
201: {
|
|
633
|
+
content: {
|
|
634
|
+
"application/json": {
|
|
635
|
+
/**
|
|
636
|
+
* Format: uuid
|
|
637
|
+
* @description Unique identifier for the invitation, also used as the invitation code.
|
|
638
|
+
*/
|
|
639
|
+
id: string;
|
|
640
|
+
/**
|
|
641
|
+
* Format: uuid
|
|
642
|
+
* @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
|
|
643
|
+
*/
|
|
644
|
+
ownerId: string;
|
|
645
|
+
/** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain. An organization can only have one default invitation. */
|
|
646
|
+
isDefault?: boolean;
|
|
647
|
+
/** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
|
|
648
|
+
name: string;
|
|
649
|
+
/** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
|
|
650
|
+
description: string;
|
|
651
|
+
/** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
|
|
652
|
+
emails: string[];
|
|
653
|
+
/**
|
|
654
|
+
* Format: uuid
|
|
655
|
+
* @description ID of the organization to which the user is invited.
|
|
656
|
+
*/
|
|
657
|
+
orgId: string;
|
|
658
|
+
/**
|
|
659
|
+
* Format: date-time
|
|
660
|
+
* @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
|
|
661
|
+
*/
|
|
662
|
+
expiresAt?: string;
|
|
663
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
|
|
664
|
+
quota?: number;
|
|
665
|
+
/** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
|
|
666
|
+
acceptedBy: string[];
|
|
667
|
+
/** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
|
|
668
|
+
roles: string[];
|
|
669
|
+
/** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
|
|
670
|
+
teams: string[];
|
|
671
|
+
/**
|
|
672
|
+
* @description Activation status of the invitation.
|
|
673
|
+
* @enum {string}
|
|
674
|
+
*/
|
|
675
|
+
status: "enabled" | "disabled";
|
|
676
|
+
/**
|
|
677
|
+
* Format: date-time
|
|
678
|
+
* @description Timestamp when the invitation was created.
|
|
679
|
+
*/
|
|
680
|
+
createdAt: string;
|
|
681
|
+
/**
|
|
682
|
+
* Format: date-time
|
|
683
|
+
* @description Timestamp when the invitation was last updated.
|
|
684
|
+
*/
|
|
685
|
+
updatedAt: string;
|
|
686
|
+
/**
|
|
687
|
+
* Format: date-time
|
|
688
|
+
* @description Timestamp when the invitation was deleted, if applicable.
|
|
689
|
+
*/
|
|
690
|
+
deletedAt: string;
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
/** Invalid request body or request param */
|
|
695
|
+
400: {
|
|
696
|
+
content: {
|
|
697
|
+
"text/plain": string;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
/** Expired JWT token used or insufficient privilege */
|
|
701
|
+
401: {
|
|
702
|
+
content: {
|
|
703
|
+
"text/plain": string;
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
/** Internal server error */
|
|
707
|
+
500: {
|
|
708
|
+
content: {
|
|
709
|
+
"text/plain": string;
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
requestBody: {
|
|
714
|
+
content: {
|
|
715
|
+
"application/json": {
|
|
716
|
+
/**
|
|
717
|
+
* Format: uuid
|
|
718
|
+
* @description Existing invitation ID for updates; omit on create.
|
|
719
|
+
*/
|
|
720
|
+
id?: string;
|
|
721
|
+
/**
|
|
722
|
+
* Format: uuid
|
|
723
|
+
* @description ID of the user who created the invitation.
|
|
724
|
+
*/
|
|
725
|
+
ownerId?: string;
|
|
726
|
+
/** @description Indicates whether the invitation is a default invitation (open invite). */
|
|
727
|
+
isDefault?: boolean;
|
|
728
|
+
/** @description Name of the invitation. */
|
|
729
|
+
name: string;
|
|
730
|
+
/** @description Description of the invitation. */
|
|
731
|
+
description: string;
|
|
732
|
+
/** @description Email addresses or patterns this invitation is valid for. */
|
|
733
|
+
emails: string[];
|
|
734
|
+
/**
|
|
735
|
+
* Format: uuid
|
|
736
|
+
* @description ID of the organization to which the user is invited.
|
|
737
|
+
*/
|
|
738
|
+
orgId: string;
|
|
739
|
+
/**
|
|
740
|
+
* Format: date-time
|
|
741
|
+
* @description Timestamp when the invitation expires, if applicable.
|
|
742
|
+
*/
|
|
743
|
+
expiresAt?: string;
|
|
744
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. */
|
|
745
|
+
quota?: number;
|
|
746
|
+
/** @description Roles that the user will have when accepting the invitation. */
|
|
747
|
+
roles: string[];
|
|
748
|
+
/** @description Teams that the user will be added to when accepting the invitation. */
|
|
749
|
+
teams: string[];
|
|
750
|
+
/**
|
|
751
|
+
* @description Activation status of the invitation.
|
|
752
|
+
* @enum {string}
|
|
753
|
+
*/
|
|
754
|
+
status: "enabled" | "disabled";
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
acceptInvitation: {
|
|
760
|
+
parameters: {
|
|
761
|
+
path: {
|
|
762
|
+
/** The ID of the invitation. */
|
|
763
|
+
invitationId: string;
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
responses: {
|
|
767
|
+
/** Invitation accepted */
|
|
768
|
+
200: {
|
|
769
|
+
content: {
|
|
770
|
+
"application/json": {
|
|
771
|
+
/**
|
|
772
|
+
* Format: uuid
|
|
773
|
+
* @description Unique identifier for the invitation, also used as the invitation code.
|
|
774
|
+
*/
|
|
775
|
+
id: string;
|
|
776
|
+
/**
|
|
777
|
+
* Format: uuid
|
|
778
|
+
* @description ID of the user who created the invitation. Tracks who created the invitation for auditing purposes.
|
|
779
|
+
*/
|
|
780
|
+
ownerId: string;
|
|
781
|
+
/** @description Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain. An organization can only have one default invitation. */
|
|
782
|
+
isDefault?: boolean;
|
|
783
|
+
/** @description Name of the invitation, which can be used to identify it. Required; cannot be an empty string. */
|
|
784
|
+
name: string;
|
|
785
|
+
/** @description Description of the invitation, which can be used to provide additional context. Null or empty string means the invitation does not have a description. */
|
|
786
|
+
description: string;
|
|
787
|
+
/** @description Email addresses or patterns for which the invitation is valid. Null means the invitation is valid for any email address. */
|
|
788
|
+
emails: string[];
|
|
789
|
+
/**
|
|
790
|
+
* Format: uuid
|
|
791
|
+
* @description ID of the organization to which the user is invited.
|
|
792
|
+
*/
|
|
793
|
+
orgId: string;
|
|
794
|
+
/**
|
|
795
|
+
* Format: date-time
|
|
796
|
+
* @description Timestamp when the invitation expires, if applicable. Null or empty means the invitation does not expire.
|
|
797
|
+
*/
|
|
798
|
+
expiresAt?: string;
|
|
799
|
+
/** @description Quota for the invitation; limits the number of users that can accept it. Null or empty means the invitation is unlimited. */
|
|
800
|
+
quota?: number;
|
|
801
|
+
/** @description List of user ids that have already accepted the invitation. Empty means the invitation has not been used yet. */
|
|
802
|
+
acceptedBy: string[];
|
|
803
|
+
/** @description Roles that the user will have when accepting the invitation. Empty means the invitation does not specify any roles. */
|
|
804
|
+
roles: string[];
|
|
805
|
+
/** @description Teams that the user will be added to when accepting the invitation. Empty means the invitation does not specify any teams. */
|
|
806
|
+
teams: string[];
|
|
807
|
+
/**
|
|
808
|
+
* @description Activation status of the invitation.
|
|
809
|
+
* @enum {string}
|
|
810
|
+
*/
|
|
811
|
+
status: "enabled" | "disabled";
|
|
812
|
+
/**
|
|
813
|
+
* Format: date-time
|
|
814
|
+
* @description Timestamp when the invitation was created.
|
|
815
|
+
*/
|
|
816
|
+
createdAt: string;
|
|
817
|
+
/**
|
|
818
|
+
* Format: date-time
|
|
819
|
+
* @description Timestamp when the invitation was last updated.
|
|
820
|
+
*/
|
|
821
|
+
updatedAt: string;
|
|
822
|
+
/**
|
|
823
|
+
* Format: date-time
|
|
824
|
+
* @description Timestamp when the invitation was deleted, if applicable.
|
|
825
|
+
*/
|
|
826
|
+
deletedAt: string;
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
/** Invalid request body or request param */
|
|
831
|
+
400: {
|
|
832
|
+
content: {
|
|
833
|
+
"text/plain": string;
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
/** Expired JWT token used or insufficient privilege */
|
|
837
|
+
401: {
|
|
838
|
+
content: {
|
|
839
|
+
"text/plain": string;
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
/** Result not found */
|
|
843
|
+
404: {
|
|
844
|
+
content: {
|
|
845
|
+
"text/plain": string;
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
/** Internal server error */
|
|
849
|
+
500: {
|
|
850
|
+
content: {
|
|
851
|
+
"text/plain": string;
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
handleUserInvite: {
|
|
857
|
+
parameters: {
|
|
858
|
+
path: {
|
|
859
|
+
/** The ID of the organization. */
|
|
860
|
+
orgId: string;
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
responses: {
|
|
864
|
+
/** Invitation request accepted */
|
|
865
|
+
200: {
|
|
866
|
+
content: {
|
|
867
|
+
"application/json": {
|
|
868
|
+
[key: string]: unknown;
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
/** Invalid request body or request param */
|
|
873
|
+
400: {
|
|
874
|
+
content: {
|
|
875
|
+
"text/plain": string;
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
/** Expired JWT token used or insufficient privilege */
|
|
879
|
+
401: {
|
|
880
|
+
content: {
|
|
881
|
+
"text/plain": string;
|
|
882
|
+
};
|
|
883
|
+
};
|
|
884
|
+
/** Result not found */
|
|
885
|
+
404: {
|
|
886
|
+
content: {
|
|
887
|
+
"text/plain": string;
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
/** Internal server error */
|
|
891
|
+
500: {
|
|
892
|
+
content: {
|
|
893
|
+
"text/plain": string;
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
requestBody: {
|
|
898
|
+
content: {
|
|
899
|
+
"application/json": {
|
|
900
|
+
[key: string]: unknown;
|
|
901
|
+
};
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
getSignupRequests: {
|
|
906
|
+
parameters: {
|
|
907
|
+
query: {
|
|
908
|
+
/** Get responses by page */
|
|
909
|
+
page?: string;
|
|
910
|
+
/** Get responses by pagesize */
|
|
911
|
+
pagesize?: string;
|
|
912
|
+
/** Get responses that match search param value */
|
|
913
|
+
search?: string;
|
|
914
|
+
/** Get ordered responses */
|
|
915
|
+
order?: string;
|
|
916
|
+
/** Get filtered reponses */
|
|
917
|
+
filter?: string;
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
responses: {
|
|
921
|
+
/** Signup requests page */
|
|
922
|
+
200: {
|
|
923
|
+
content: {
|
|
924
|
+
"application/json": {
|
|
925
|
+
/** @description Current page number of the result set. */
|
|
926
|
+
page?: number;
|
|
927
|
+
/** @description Number of items per page. */
|
|
928
|
+
pageSize?: number;
|
|
929
|
+
/** @description Total number of items available. */
|
|
930
|
+
totalCount?: number;
|
|
931
|
+
/** @description Signup requests returned on the current page. */
|
|
932
|
+
data?: {
|
|
933
|
+
[key: string]: unknown;
|
|
934
|
+
}[];
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
/** Expired JWT token used or insufficient privilege */
|
|
939
|
+
401: {
|
|
940
|
+
content: {
|
|
941
|
+
"text/plain": string;
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
/** Internal server error */
|
|
945
|
+
500: {
|
|
946
|
+
content: {
|
|
947
|
+
"text/plain": string;
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
signupRequest: {
|
|
953
|
+
responses: {
|
|
954
|
+
/** Signup request created */
|
|
955
|
+
201: {
|
|
956
|
+
content: {
|
|
957
|
+
"application/json": {
|
|
958
|
+
[key: string]: unknown;
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
/** Invalid request body or request param */
|
|
963
|
+
400: {
|
|
964
|
+
content: {
|
|
965
|
+
"text/plain": string;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
/** Expired JWT token used or insufficient privilege */
|
|
969
|
+
401: {
|
|
970
|
+
content: {
|
|
971
|
+
"text/plain": string;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
/** Internal server error */
|
|
975
|
+
500: {
|
|
976
|
+
content: {
|
|
977
|
+
"text/plain": string;
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
};
|
|
981
|
+
requestBody: {
|
|
982
|
+
content: {
|
|
983
|
+
"application/json": {
|
|
984
|
+
[key: string]: unknown;
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
approveSignupRequest: {
|
|
990
|
+
responses: {
|
|
991
|
+
/** Signup request approved */
|
|
992
|
+
200: {
|
|
993
|
+
content: {
|
|
994
|
+
"application/json": {
|
|
995
|
+
[key: string]: unknown;
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
/** Invalid request body or request param */
|
|
1000
|
+
400: {
|
|
1001
|
+
content: {
|
|
1002
|
+
"text/plain": string;
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
/** Expired JWT token used or insufficient privilege */
|
|
1006
|
+
401: {
|
|
1007
|
+
content: {
|
|
1008
|
+
"text/plain": string;
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
/** Internal server error */
|
|
1012
|
+
500: {
|
|
1013
|
+
content: {
|
|
1014
|
+
"text/plain": string;
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
denySignupRequest: {
|
|
1020
|
+
responses: {
|
|
1021
|
+
/** Signup request denied */
|
|
1022
|
+
200: {
|
|
1023
|
+
content: {
|
|
1024
|
+
"application/json": {
|
|
1025
|
+
[key: string]: unknown;
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
/** Invalid request body or request param */
|
|
1030
|
+
400: {
|
|
1031
|
+
content: {
|
|
1032
|
+
"text/plain": string;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
/** Expired JWT token used or insufficient privilege */
|
|
1036
|
+
401: {
|
|
1037
|
+
content: {
|
|
1038
|
+
"text/plain": string;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
/** Internal server error */
|
|
1042
|
+
500: {
|
|
1043
|
+
content: {
|
|
1044
|
+
"text/plain": string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
getSignupRequestNotification: {
|
|
1050
|
+
responses: {
|
|
1051
|
+
/** Signup request notification payload */
|
|
1052
|
+
200: {
|
|
1053
|
+
content: {
|
|
1054
|
+
"application/json": {
|
|
1055
|
+
[key: string]: unknown;
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
/** No pending signup request notifications */
|
|
1060
|
+
204: never;
|
|
1061
|
+
/** Expired JWT token used or insufficient privilege */
|
|
1062
|
+
401: {
|
|
1063
|
+
content: {
|
|
1064
|
+
"text/plain": string;
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
/** Internal server error */
|
|
1068
|
+
500: {
|
|
1069
|
+
content: {
|
|
1070
|
+
"text/plain": string;
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
interface external {
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export type { components, external, operations, paths };
|