@meshery/schemas 1.2.15 → 1.2.16

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