@meshery/schemas 0.8.107 → 0.8.108

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 (204) hide show
  1. package/README.md +294 -23
  2. package/dist/Core-Wy_3jcVT.d.mts +736 -0
  3. package/dist/Core-Wy_3jcVT.d.ts +736 -0
  4. package/dist/cloudApi.d.mts +6873 -3592
  5. package/dist/cloudApi.d.ts +6873 -3592
  6. package/dist/cloudApi.js +1 -1
  7. package/dist/cloudApi.mjs +1 -1
  8. package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
  9. package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
  10. package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
  11. package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
  12. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
  13. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
  14. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
  15. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
  16. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
  17. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
  18. package/dist/constructs/v1alpha1/core/Core.js +1 -0
  19. package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
  20. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
  21. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
  22. package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
  23. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
  24. package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
  25. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
  26. package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
  27. package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
  28. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
  29. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
  30. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
  31. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
  32. package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
  33. package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
  34. package/dist/constructs/v1beta1/academy/Academy.js +1 -0
  35. package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
  36. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
  37. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
  38. package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
  39. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
  41. package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
  42. package/dist/constructs/v1beta1/badge/Badge.js +1 -0
  43. package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
  44. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
  45. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
  46. package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
  47. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
  48. package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
  49. package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
  50. package/dist/constructs/v1beta1/category/Category.js +1 -0
  51. package/dist/constructs/v1beta1/category/Category.mjs +0 -0
  52. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
  53. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
  54. package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
  55. package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
  56. package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
  57. package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
  58. package/dist/constructs/v1beta1/component/Component.js +1 -0
  59. package/dist/constructs/v1beta1/component/Component.mjs +0 -0
  60. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
  61. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
  62. package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
  63. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
  64. package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
  65. package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
  66. package/dist/constructs/v1beta1/connection/Connection.js +1 -0
  67. package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
  68. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
  69. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
  70. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
  71. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
  72. package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
  73. package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
  74. package/dist/constructs/v1beta1/environment/Environment.js +1 -0
  75. package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
  76. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
  77. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
  78. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
  79. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
  80. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
  81. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
  82. package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
  83. package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
  84. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
  85. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
  86. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
  87. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
  88. package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
  89. package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
  90. package/dist/constructs/v1beta1/event/Event.js +1 -0
  91. package/dist/constructs/v1beta1/event/Event.mjs +0 -0
  92. package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
  93. package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
  94. package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
  95. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
  96. package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
  97. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
  98. package/dist/constructs/v1beta1/feature/Feature.js +1 -0
  99. package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
  100. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
  101. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
  102. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
  103. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
  104. package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
  105. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
  106. package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
  107. package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
  108. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
  109. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
  110. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
  111. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
  112. package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
  113. package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
  114. package/dist/constructs/v1beta1/key/Key.js +1 -0
  115. package/dist/constructs/v1beta1/key/Key.mjs +0 -0
  116. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
  117. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
  118. package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
  119. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
  120. package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
  121. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
  122. package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
  123. package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
  124. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
  125. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
  126. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
  127. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
  128. package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
  129. package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
  130. package/dist/constructs/v1beta1/model/Model.js +1 -0
  131. package/dist/constructs/v1beta1/model/Model.mjs +0 -0
  132. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
  133. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
  134. package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
  135. package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
  136. package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
  137. package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
  138. package/dist/constructs/v1beta1/organization/Organization.js +1 -0
  139. package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
  140. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
  141. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
  142. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
  143. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
  144. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
  145. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
  146. package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
  147. package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
  148. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
  149. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
  150. package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
  151. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
  152. package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
  153. package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
  154. package/dist/constructs/v1beta1/plan/Plan.js +1 -0
  155. package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
  156. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
  157. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
  158. package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
  159. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
  160. package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
  161. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
  162. package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
  163. package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
  164. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
  165. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
  166. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
  167. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
  168. package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
  169. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
  170. package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
  171. package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
  172. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
  173. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
  174. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
  175. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
  176. package/dist/constructs/v1beta1/user/User.d.mts +473 -0
  177. package/dist/constructs/v1beta1/user/User.d.ts +473 -0
  178. package/dist/constructs/v1beta1/user/User.js +1 -0
  179. package/dist/constructs/v1beta1/user/User.mjs +0 -0
  180. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
  181. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
  182. package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
  183. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
  184. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
  185. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
  186. package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
  187. package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
  188. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
  189. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
  190. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
  191. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
  192. package/dist/index.d.mts +40 -34677
  193. package/dist/index.d.ts +40 -34677
  194. package/dist/index.js +29 -93
  195. package/dist/index.mjs +29 -93
  196. package/dist/mesheryApi.d.mts +1751 -653
  197. package/dist/mesheryApi.d.ts +1751 -653
  198. package/dist/mesheryApi.js +1 -1
  199. package/dist/mesheryApi.mjs +1 -1
  200. package/dist/permissions.d.mts +422 -0
  201. package/dist/permissions.d.ts +422 -0
  202. package/dist/permissions.js +1 -0
  203. package/dist/permissions.mjs +1 -0
  204. package/package.json +52 -48
@@ -0,0 +1,644 @@
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
+ }
19
+ interface components {
20
+ schemas: {
21
+ /**
22
+ * Format: uuid
23
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
24
+ */
25
+ uuid: string;
26
+ InvitationsPage: {
27
+ /** @description List of invitations */
28
+ data: {
29
+ /**
30
+ * Format: uuid
31
+ * @description Unique identifier for the invitation , is also used as the invitation code
32
+ */
33
+ id: string;
34
+ /**
35
+ * Format: uuid
36
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
37
+ */
38
+ owner_id: string;
39
+ /** @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, a organization can only have one default invitation */
40
+ is_default?: boolean;
41
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
42
+ name: string;
43
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
44
+ description: string;
45
+ emails: string[];
46
+ /** @description ID of the organization to which the user is invited */
47
+ org_id: string;
48
+ /**
49
+ * Format: date-time
50
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
51
+ */
52
+ expires_at?: string;
53
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
54
+ quota?: number;
55
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
56
+ accepted_by: string[];
57
+ roles: string[];
58
+ teams: string[];
59
+ /**
60
+ * @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.
61
+ * @enum {string}
62
+ */
63
+ status: "enabled" | "disabled";
64
+ /**
65
+ * Format: date-time
66
+ * @description Timestamp when the invitation was created
67
+ */
68
+ created_at: string;
69
+ /**
70
+ * Format: date-time
71
+ * @description Timestamp when the invitation was last updated
72
+ */
73
+ updated_at: string;
74
+ /**
75
+ * Format: date-time
76
+ * @description Timestamp when the invitation was deleted, if applicable
77
+ */
78
+ deleted_at: string;
79
+ }[];
80
+ /** @description Total number of invitations available */
81
+ total: number;
82
+ };
83
+ /**
84
+ * @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.
85
+ * @enum {string}
86
+ */
87
+ InvitationStatus: "enabled" | "disabled";
88
+ Invitation: {
89
+ /**
90
+ * Format: uuid
91
+ * @description Unique identifier for the invitation , is also used as the invitation code
92
+ */
93
+ id: string;
94
+ /**
95
+ * Format: uuid
96
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
97
+ */
98
+ owner_id: string;
99
+ /** @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, a organization can only have one default invitation */
100
+ is_default?: boolean;
101
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
102
+ name: string;
103
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
104
+ description: string;
105
+ emails: string[];
106
+ /** @description ID of the organization to which the user is invited */
107
+ org_id: string;
108
+ /**
109
+ * Format: date-time
110
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
111
+ */
112
+ expires_at?: string;
113
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
114
+ quota?: number;
115
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
116
+ accepted_by: string[];
117
+ roles: string[];
118
+ teams: string[];
119
+ /**
120
+ * @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.
121
+ * @enum {string}
122
+ */
123
+ status: "enabled" | "disabled";
124
+ /**
125
+ * Format: date-time
126
+ * @description Timestamp when the invitation was created
127
+ */
128
+ created_at: string;
129
+ /**
130
+ * Format: date-time
131
+ * @description Timestamp when the invitation was last updated
132
+ */
133
+ updated_at: string;
134
+ /**
135
+ * Format: date-time
136
+ * @description Timestamp when the invitation was deleted, if applicable
137
+ */
138
+ deleted_at: string;
139
+ };
140
+ };
141
+ responses: {
142
+ /** Bad Request */
143
+ 400: unknown;
144
+ /** Unauthorized */
145
+ 401: unknown;
146
+ /** Internal Server Error */
147
+ 500: unknown;
148
+ };
149
+ parameters: {
150
+ /** @description The ID of the organization */
151
+ organization_id: string;
152
+ /** @description The ID of the invitation */
153
+ invitation_id: string;
154
+ };
155
+ }
156
+ interface operations {
157
+ getInvitation: {
158
+ parameters: {
159
+ path: {
160
+ /** The ID of the invitation */
161
+ invitationId: string;
162
+ };
163
+ };
164
+ responses: {
165
+ 200: {
166
+ content: {
167
+ "application/json": {
168
+ /**
169
+ * Format: uuid
170
+ * @description Unique identifier for the invitation , is also used as the invitation code
171
+ */
172
+ id: string;
173
+ /**
174
+ * Format: uuid
175
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
176
+ */
177
+ owner_id: string;
178
+ /** @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, a organization can only have one default invitation */
179
+ is_default?: boolean;
180
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
181
+ name: string;
182
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
183
+ description: string;
184
+ emails: string[];
185
+ /** @description ID of the organization to which the user is invited */
186
+ org_id: string;
187
+ /**
188
+ * Format: date-time
189
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
190
+ */
191
+ expires_at?: string;
192
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
193
+ quota?: number;
194
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
195
+ accepted_by: string[];
196
+ roles: string[];
197
+ teams: string[];
198
+ /**
199
+ * @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.
200
+ * @enum {string}
201
+ */
202
+ status: "enabled" | "disabled";
203
+ /**
204
+ * Format: date-time
205
+ * @description Timestamp when the invitation was created
206
+ */
207
+ created_at: string;
208
+ /**
209
+ * Format: date-time
210
+ * @description Timestamp when the invitation was last updated
211
+ */
212
+ updated_at: string;
213
+ /**
214
+ * Format: date-time
215
+ * @description Timestamp when the invitation was deleted, if applicable
216
+ */
217
+ deleted_at: string;
218
+ };
219
+ };
220
+ };
221
+ /** Bad Request */
222
+ 400: unknown;
223
+ /** Unauthorized */
224
+ 401: unknown;
225
+ /** Internal Server Error */
226
+ 500: unknown;
227
+ };
228
+ };
229
+ updateInvitation: {
230
+ parameters: {
231
+ path: {
232
+ /** The ID of the invitation */
233
+ invitationId: string;
234
+ };
235
+ };
236
+ responses: {
237
+ 200: {
238
+ content: {
239
+ "application/json": {
240
+ /**
241
+ * Format: uuid
242
+ * @description Unique identifier for the invitation , is also used as the invitation code
243
+ */
244
+ id: string;
245
+ /**
246
+ * Format: uuid
247
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
248
+ */
249
+ owner_id: string;
250
+ /** @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, a organization can only have one default invitation */
251
+ is_default?: boolean;
252
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
253
+ name: string;
254
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
255
+ description: string;
256
+ emails: string[];
257
+ /** @description ID of the organization to which the user is invited */
258
+ org_id: string;
259
+ /**
260
+ * Format: date-time
261
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
262
+ */
263
+ expires_at?: string;
264
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
265
+ quota?: number;
266
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
267
+ accepted_by: string[];
268
+ roles: string[];
269
+ teams: string[];
270
+ /**
271
+ * @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.
272
+ * @enum {string}
273
+ */
274
+ status: "enabled" | "disabled";
275
+ /**
276
+ * Format: date-time
277
+ * @description Timestamp when the invitation was created
278
+ */
279
+ created_at: string;
280
+ /**
281
+ * Format: date-time
282
+ * @description Timestamp when the invitation was last updated
283
+ */
284
+ updated_at: string;
285
+ /**
286
+ * Format: date-time
287
+ * @description Timestamp when the invitation was deleted, if applicable
288
+ */
289
+ deleted_at: string;
290
+ };
291
+ };
292
+ };
293
+ /** Bad Request */
294
+ 400: unknown;
295
+ /** Unauthorized */
296
+ 401: unknown;
297
+ /** Internal Server Error */
298
+ 500: unknown;
299
+ };
300
+ requestBody: {
301
+ content: {
302
+ "application/json": {
303
+ /**
304
+ * Format: uuid
305
+ * @description Unique identifier for the invitation , is also used as the invitation code
306
+ */
307
+ id: string;
308
+ /**
309
+ * Format: uuid
310
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
311
+ */
312
+ owner_id: string;
313
+ /** @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, a organization can only have one default invitation */
314
+ is_default?: boolean;
315
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
316
+ name: string;
317
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
318
+ description: string;
319
+ emails: string[];
320
+ /** @description ID of the organization to which the user is invited */
321
+ org_id: string;
322
+ /**
323
+ * Format: date-time
324
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
325
+ */
326
+ expires_at?: string;
327
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
328
+ quota?: number;
329
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
330
+ accepted_by: string[];
331
+ roles: string[];
332
+ teams: string[];
333
+ /**
334
+ * @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.
335
+ * @enum {string}
336
+ */
337
+ status: "enabled" | "disabled";
338
+ /**
339
+ * Format: date-time
340
+ * @description Timestamp when the invitation was created
341
+ */
342
+ created_at: string;
343
+ /**
344
+ * Format: date-time
345
+ * @description Timestamp when the invitation was last updated
346
+ */
347
+ updated_at: string;
348
+ /**
349
+ * Format: date-time
350
+ * @description Timestamp when the invitation was deleted, if applicable
351
+ */
352
+ deleted_at: string;
353
+ };
354
+ };
355
+ };
356
+ };
357
+ deleteInvitation: {
358
+ parameters: {
359
+ path: {
360
+ /** The ID of the invitation */
361
+ invitationId: string;
362
+ };
363
+ };
364
+ responses: {
365
+ /** Invitation deleted successfully */
366
+ 204: never;
367
+ /** Bad Request */
368
+ 400: unknown;
369
+ /** Unauthorized */
370
+ 401: unknown;
371
+ /** Internal Server Error */
372
+ 500: unknown;
373
+ };
374
+ };
375
+ getInvitations: {
376
+ responses: {
377
+ 200: {
378
+ content: {
379
+ "application/json": {
380
+ /** @description List of invitations */
381
+ data: {
382
+ /**
383
+ * Format: uuid
384
+ * @description Unique identifier for the invitation , is also used as the invitation code
385
+ */
386
+ id: string;
387
+ /**
388
+ * Format: uuid
389
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
390
+ */
391
+ owner_id: string;
392
+ /** @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, a organization can only have one default invitation */
393
+ is_default?: boolean;
394
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
395
+ name: string;
396
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
397
+ description: string;
398
+ emails: string[];
399
+ /** @description ID of the organization to which the user is invited */
400
+ org_id: string;
401
+ /**
402
+ * Format: date-time
403
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
404
+ */
405
+ expires_at?: string;
406
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
407
+ quota?: number;
408
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
409
+ accepted_by: string[];
410
+ roles: string[];
411
+ teams: string[];
412
+ /**
413
+ * @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.
414
+ * @enum {string}
415
+ */
416
+ status: "enabled" | "disabled";
417
+ /**
418
+ * Format: date-time
419
+ * @description Timestamp when the invitation was created
420
+ */
421
+ created_at: string;
422
+ /**
423
+ * Format: date-time
424
+ * @description Timestamp when the invitation was last updated
425
+ */
426
+ updated_at: string;
427
+ /**
428
+ * Format: date-time
429
+ * @description Timestamp when the invitation was deleted, if applicable
430
+ */
431
+ deleted_at: string;
432
+ }[];
433
+ /** @description Total number of invitations available */
434
+ total: number;
435
+ };
436
+ };
437
+ };
438
+ /** Bad Request */
439
+ 400: unknown;
440
+ /** Unauthorized */
441
+ 401: unknown;
442
+ /** Internal Server Error */
443
+ 500: unknown;
444
+ };
445
+ };
446
+ createInvitation: {
447
+ responses: {
448
+ 201: {
449
+ content: {
450
+ "application/json": {
451
+ /**
452
+ * Format: uuid
453
+ * @description Unique identifier for the invitation , is also used as the invitation code
454
+ */
455
+ id: string;
456
+ /**
457
+ * Format: uuid
458
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
459
+ */
460
+ owner_id: string;
461
+ /** @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, a organization can only have one default invitation */
462
+ is_default?: boolean;
463
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
464
+ name: string;
465
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
466
+ description: string;
467
+ emails: string[];
468
+ /** @description ID of the organization to which the user is invited */
469
+ org_id: string;
470
+ /**
471
+ * Format: date-time
472
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
473
+ */
474
+ expires_at?: string;
475
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
476
+ quota?: number;
477
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
478
+ accepted_by: string[];
479
+ roles: string[];
480
+ teams: string[];
481
+ /**
482
+ * @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.
483
+ * @enum {string}
484
+ */
485
+ status: "enabled" | "disabled";
486
+ /**
487
+ * Format: date-time
488
+ * @description Timestamp when the invitation was created
489
+ */
490
+ created_at: string;
491
+ /**
492
+ * Format: date-time
493
+ * @description Timestamp when the invitation was last updated
494
+ */
495
+ updated_at: string;
496
+ /**
497
+ * Format: date-time
498
+ * @description Timestamp when the invitation was deleted, if applicable
499
+ */
500
+ deleted_at: string;
501
+ };
502
+ };
503
+ };
504
+ /** Bad Request */
505
+ 400: unknown;
506
+ /** Unauthorized */
507
+ 401: unknown;
508
+ /** Internal Server Error */
509
+ 500: unknown;
510
+ };
511
+ requestBody: {
512
+ content: {
513
+ "application/json": {
514
+ /**
515
+ * Format: uuid
516
+ * @description Unique identifier for the invitation , is also used as the invitation code
517
+ */
518
+ id: string;
519
+ /**
520
+ * Format: uuid
521
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
522
+ */
523
+ owner_id: string;
524
+ /** @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, a organization can only have one default invitation */
525
+ is_default?: boolean;
526
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
527
+ name: string;
528
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
529
+ description: string;
530
+ emails: string[];
531
+ /** @description ID of the organization to which the user is invited */
532
+ org_id: string;
533
+ /**
534
+ * Format: date-time
535
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
536
+ */
537
+ expires_at?: string;
538
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
539
+ quota?: number;
540
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
541
+ accepted_by: string[];
542
+ roles: string[];
543
+ teams: string[];
544
+ /**
545
+ * @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.
546
+ * @enum {string}
547
+ */
548
+ status: "enabled" | "disabled";
549
+ /**
550
+ * Format: date-time
551
+ * @description Timestamp when the invitation was created
552
+ */
553
+ created_at: string;
554
+ /**
555
+ * Format: date-time
556
+ * @description Timestamp when the invitation was last updated
557
+ */
558
+ updated_at: string;
559
+ /**
560
+ * Format: date-time
561
+ * @description Timestamp when the invitation was deleted, if applicable
562
+ */
563
+ deleted_at: string;
564
+ };
565
+ };
566
+ };
567
+ };
568
+ acceptInvitation: {
569
+ parameters: {
570
+ path: {
571
+ /** The ID of the invitation */
572
+ invitationId: string;
573
+ };
574
+ };
575
+ responses: {
576
+ 200: {
577
+ content: {
578
+ "application/json": {
579
+ /**
580
+ * Format: uuid
581
+ * @description Unique identifier for the invitation , is also used as the invitation code
582
+ */
583
+ id: string;
584
+ /**
585
+ * Format: uuid
586
+ * @description ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes
587
+ */
588
+ owner_id: string;
589
+ /** @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, a organization can only have one default invitation */
590
+ is_default?: boolean;
591
+ /** @description Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
592
+ name: string;
593
+ /** @description Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
594
+ description: string;
595
+ emails: string[];
596
+ /** @description ID of the organization to which the user is invited */
597
+ org_id: string;
598
+ /**
599
+ * Format: date-time
600
+ * @description Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire
601
+ */
602
+ expires_at?: string;
603
+ /** @description Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
604
+ quota?: number;
605
+ /** @description List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
606
+ accepted_by: string[];
607
+ roles: string[];
608
+ teams: string[];
609
+ /**
610
+ * @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.
611
+ * @enum {string}
612
+ */
613
+ status: "enabled" | "disabled";
614
+ /**
615
+ * Format: date-time
616
+ * @description Timestamp when the invitation was created
617
+ */
618
+ created_at: string;
619
+ /**
620
+ * Format: date-time
621
+ * @description Timestamp when the invitation was last updated
622
+ */
623
+ updated_at: string;
624
+ /**
625
+ * Format: date-time
626
+ * @description Timestamp when the invitation was deleted, if applicable
627
+ */
628
+ deleted_at: string;
629
+ };
630
+ };
631
+ };
632
+ /** Bad Request */
633
+ 400: unknown;
634
+ /** Unauthorized */
635
+ 401: unknown;
636
+ /** Internal Server Error */
637
+ 500: unknown;
638
+ };
639
+ };
640
+ }
641
+ interface external {
642
+ }
643
+
644
+ export type { components, external, operations, paths };