@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.
Files changed (236) hide show
  1. package/README.md +4 -3
  2. package/dist/cloudApi.d.mts +17180 -16914
  3. package/dist/cloudApi.d.ts +17180 -16914
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  7. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  8. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  9. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  10. package/dist/constructs/v1beta1/credential/CredentialSchema.js +4 -4
  11. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +4 -4
  12. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  13. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  14. package/dist/constructs/v1beta1/event/EventSchema.js +1 -1
  15. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -1
  16. package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
  17. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
  18. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
  19. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
  20. package/dist/constructs/v1beta1/model/ModelSchema.js +1 -1
  21. package/dist/constructs/v1beta1/model/ModelSchema.mjs +1 -1
  22. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
  23. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
  24. package/dist/constructs/v1beta1/pattern/PatternSchema.js +1 -1
  25. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +1 -1
  26. package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
  27. package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
  28. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +1 -1
  29. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +1 -1
  30. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  31. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  32. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  33. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  34. package/dist/constructs/v1beta1/view/ViewSchema.js +1 -1
  35. package/dist/constructs/v1beta1/view/ViewSchema.mjs +1 -1
  36. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -2
  37. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -2
  38. package/dist/constructs/v1beta2/badge/Badge.d.mts +564 -0
  39. package/dist/constructs/v1beta2/badge/Badge.d.ts +564 -0
  40. package/dist/constructs/v1beta2/badge/Badge.js +1 -0
  41. package/dist/constructs/v1beta2/badge/Badge.mjs +0 -0
  42. package/dist/constructs/v1beta2/badge/BadgeSchema.d.mts +7 -0
  43. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +7 -0
  44. package/dist/constructs/v1beta2/badge/BadgeSchema.js +2 -0
  45. package/dist/constructs/v1beta2/badge/BadgeSchema.mjs +2 -0
  46. package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
  47. package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
  48. package/dist/constructs/v1beta2/credential/Credential.d.mts +536 -0
  49. package/dist/constructs/v1beta2/credential/Credential.d.ts +536 -0
  50. package/dist/constructs/v1beta2/credential/Credential.js +1 -0
  51. package/dist/constructs/v1beta2/credential/Credential.mjs +0 -0
  52. package/dist/constructs/v1beta2/credential/CredentialSchema.d.mts +7 -0
  53. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +7 -0
  54. package/dist/constructs/v1beta2/credential/CredentialSchema.js +7 -0
  55. package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +7 -0
  56. package/dist/constructs/v1beta2/design/DesignSchema.js +10 -2
  57. package/dist/constructs/v1beta2/design/DesignSchema.mjs +10 -2
  58. package/dist/constructs/v1beta2/event/EventSchema.js +1 -1
  59. package/dist/constructs/v1beta2/event/EventSchema.mjs +1 -1
  60. package/dist/constructs/v1beta2/invitation/InvitationSchema.js +1 -1
  61. package/dist/constructs/v1beta2/invitation/InvitationSchema.mjs +1 -1
  62. package/dist/constructs/v1beta2/key/Key.d.mts +523 -0
  63. package/dist/constructs/v1beta2/key/Key.d.ts +523 -0
  64. package/dist/constructs/v1beta2/key/Key.js +1 -0
  65. package/dist/constructs/v1beta2/key/Key.mjs +0 -0
  66. package/dist/constructs/v1beta2/key/KeySchema.d.mts +7 -0
  67. package/dist/constructs/v1beta2/key/KeySchema.d.ts +7 -0
  68. package/dist/constructs/v1beta2/key/KeySchema.js +2 -0
  69. package/dist/constructs/v1beta2/key/KeySchema.mjs +2 -0
  70. package/dist/constructs/v1beta2/keychain/Keychain.d.mts +651 -0
  71. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +651 -0
  72. package/dist/constructs/v1beta2/keychain/Keychain.js +1 -0
  73. package/dist/constructs/v1beta2/keychain/Keychain.mjs +0 -0
  74. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.mts +7 -0
  75. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +7 -0
  76. package/dist/constructs/v1beta2/keychain/KeychainSchema.js +2 -0
  77. package/dist/constructs/v1beta2/keychain/KeychainSchema.mjs +2 -0
  78. package/dist/constructs/v1beta2/model/Model.d.mts +571 -0
  79. package/dist/constructs/v1beta2/model/Model.d.ts +571 -0
  80. package/dist/constructs/v1beta2/model/Model.js +1 -0
  81. package/dist/constructs/v1beta2/model/Model.mjs +0 -0
  82. package/dist/constructs/v1beta2/model/ModelSchema.d.mts +7 -0
  83. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +7 -0
  84. package/dist/constructs/v1beta2/model/ModelSchema.js +6 -0
  85. package/dist/constructs/v1beta2/model/ModelSchema.mjs +6 -0
  86. package/dist/constructs/v1beta2/organization/Organization.d.mts +1986 -0
  87. package/dist/constructs/v1beta2/organization/Organization.d.ts +1986 -0
  88. package/dist/constructs/v1beta2/organization/Organization.js +1 -0
  89. package/dist/constructs/v1beta2/organization/Organization.mjs +0 -0
  90. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.mts +7 -0
  91. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +7 -0
  92. package/dist/constructs/v1beta2/organization/OrganizationSchema.js +2 -0
  93. package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +2 -0
  94. package/dist/constructs/v1beta2/plan/PlanSchema.js +1 -1
  95. package/dist/constructs/v1beta2/plan/PlanSchema.mjs +1 -1
  96. package/dist/constructs/v1beta2/role/Role.d.mts +751 -0
  97. package/dist/constructs/v1beta2/role/Role.d.ts +751 -0
  98. package/dist/constructs/v1beta2/role/Role.js +1 -0
  99. package/dist/constructs/v1beta2/role/Role.mjs +0 -0
  100. package/dist/constructs/v1beta2/role/RoleSchema.d.mts +7 -0
  101. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +7 -0
  102. package/dist/constructs/v1beta2/role/RoleSchema.js +2 -0
  103. package/dist/constructs/v1beta2/role/RoleSchema.mjs +2 -0
  104. package/dist/constructs/v1beta2/schedule/Schedule.d.mts +380 -0
  105. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +380 -0
  106. package/dist/constructs/v1beta2/schedule/Schedule.js +1 -0
  107. package/dist/constructs/v1beta2/schedule/Schedule.mjs +0 -0
  108. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.mts +7 -0
  109. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +7 -0
  110. package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +13 -0
  111. package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +13 -0
  112. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.js +1 -1
  113. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.mjs +1 -1
  114. package/dist/constructs/v1beta2/team/Team.d.mts +939 -0
  115. package/dist/constructs/v1beta2/team/Team.d.ts +939 -0
  116. package/dist/constructs/v1beta2/team/Team.js +1 -0
  117. package/dist/constructs/v1beta2/team/Team.mjs +0 -0
  118. package/dist/constructs/v1beta2/team/TeamSchema.d.mts +7 -0
  119. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +7 -0
  120. package/dist/constructs/v1beta2/team/TeamSchema.js +2 -0
  121. package/dist/constructs/v1beta2/team/TeamSchema.mjs +2 -0
  122. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  123. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  124. package/dist/constructs/v1beta2/user/User.d.mts +1831 -0
  125. package/dist/constructs/v1beta2/user/User.d.ts +1831 -0
  126. package/dist/constructs/v1beta2/user/User.js +1 -0
  127. package/dist/constructs/v1beta2/user/User.mjs +0 -0
  128. package/dist/constructs/v1beta2/user/UserSchema.d.mts +7 -0
  129. package/dist/constructs/v1beta2/user/UserSchema.d.ts +7 -0
  130. package/dist/constructs/v1beta2/user/UserSchema.js +2 -0
  131. package/dist/constructs/v1beta2/user/UserSchema.mjs +2 -0
  132. package/dist/constructs/v1beta2/view/View.d.mts +810 -0
  133. package/dist/constructs/v1beta2/view/View.d.ts +810 -0
  134. package/dist/constructs/v1beta2/view/View.js +1 -0
  135. package/dist/constructs/v1beta2/view/View.mjs +0 -0
  136. package/dist/constructs/v1beta2/view/ViewSchema.d.mts +7 -0
  137. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +7 -0
  138. package/dist/constructs/v1beta2/view/ViewSchema.js +13 -0
  139. package/dist/constructs/v1beta2/view/ViewSchema.mjs +13 -0
  140. package/dist/constructs/v1beta3/component/Component.d.mts +796 -0
  141. package/dist/constructs/v1beta3/component/Component.d.ts +796 -0
  142. package/dist/constructs/v1beta3/component/Component.js +1 -0
  143. package/dist/constructs/v1beta3/component/Component.mjs +0 -0
  144. package/dist/constructs/v1beta3/component/ComponentSchema.d.mts +7 -0
  145. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +7 -0
  146. package/dist/constructs/v1beta3/component/ComponentSchema.js +10 -0
  147. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +10 -0
  148. package/dist/constructs/v1beta3/connection/Connection.d.mts +1348 -0
  149. package/dist/constructs/v1beta3/connection/Connection.d.ts +1348 -0
  150. package/dist/constructs/v1beta3/connection/Connection.js +1 -0
  151. package/dist/constructs/v1beta3/connection/Connection.mjs +0 -0
  152. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.mts +7 -0
  153. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +7 -0
  154. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +2 -0
  155. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +2 -0
  156. package/dist/constructs/v1beta3/design/Design.d.mts +17552 -0
  157. package/dist/constructs/v1beta3/design/Design.d.ts +17552 -0
  158. package/dist/constructs/v1beta3/design/Design.js +1 -0
  159. package/dist/constructs/v1beta3/design/Design.mjs +0 -0
  160. package/dist/constructs/v1beta3/design/DesignSchema.d.mts +7 -0
  161. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +7 -0
  162. package/dist/constructs/v1beta3/design/DesignSchema.js +506 -0
  163. package/dist/constructs/v1beta3/design/DesignSchema.mjs +506 -0
  164. package/dist/constructs/v1beta3/environment/Environment.d.mts +800 -0
  165. package/dist/constructs/v1beta3/environment/Environment.d.ts +800 -0
  166. package/dist/constructs/v1beta3/environment/Environment.js +1 -0
  167. package/dist/constructs/v1beta3/environment/Environment.mjs +0 -0
  168. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.mts +7 -0
  169. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +7 -0
  170. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +2 -0
  171. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +2 -0
  172. package/dist/constructs/v1beta3/event/Event.d.mts +733 -0
  173. package/dist/constructs/v1beta3/event/Event.d.ts +733 -0
  174. package/dist/constructs/v1beta3/event/Event.js +1 -0
  175. package/dist/constructs/v1beta3/event/Event.mjs +0 -0
  176. package/dist/constructs/v1beta3/event/EventSchema.d.mts +7 -0
  177. package/dist/constructs/v1beta3/event/EventSchema.d.ts +7 -0
  178. package/dist/constructs/v1beta3/event/EventSchema.js +2 -0
  179. package/dist/constructs/v1beta3/event/EventSchema.mjs +2 -0
  180. package/dist/constructs/v1beta3/invitation/Invitation.d.mts +1079 -0
  181. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1079 -0
  182. package/dist/constructs/v1beta3/invitation/Invitation.js +1 -0
  183. package/dist/constructs/v1beta3/invitation/Invitation.mjs +0 -0
  184. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.mts +7 -0
  185. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +7 -0
  186. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +2 -0
  187. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +2 -0
  188. package/dist/constructs/v1beta3/plan/Plan.d.mts +198 -0
  189. package/dist/constructs/v1beta3/plan/Plan.d.ts +198 -0
  190. package/dist/constructs/v1beta3/plan/Plan.js +1 -0
  191. package/dist/constructs/v1beta3/plan/Plan.mjs +0 -0
  192. package/dist/constructs/v1beta3/plan/PlanSchema.d.mts +7 -0
  193. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +7 -0
  194. package/dist/constructs/v1beta3/plan/PlanSchema.js +2 -0
  195. package/dist/constructs/v1beta3/plan/PlanSchema.mjs +2 -0
  196. package/dist/constructs/v1beta3/relationship/Relationship.d.mts +1884 -0
  197. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1884 -0
  198. package/dist/constructs/v1beta3/relationship/Relationship.js +1 -0
  199. package/dist/constructs/v1beta3/relationship/Relationship.mjs +0 -0
  200. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.mts +7 -0
  201. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +7 -0
  202. package/dist/constructs/v1beta3/relationship/RelationshipSchema.js +155 -0
  203. package/dist/constructs/v1beta3/relationship/RelationshipSchema.mjs +155 -0
  204. package/dist/constructs/v1beta3/subscription/Subscription.d.mts +876 -0
  205. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +876 -0
  206. package/dist/constructs/v1beta3/subscription/Subscription.js +1 -0
  207. package/dist/constructs/v1beta3/subscription/Subscription.mjs +0 -0
  208. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.mts +7 -0
  209. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +7 -0
  210. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +2 -0
  211. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +2 -0
  212. package/dist/constructs/v1beta3/token/Token.d.mts +543 -0
  213. package/dist/constructs/v1beta3/token/Token.d.ts +543 -0
  214. package/dist/constructs/v1beta3/token/Token.js +1 -0
  215. package/dist/constructs/v1beta3/token/Token.mjs +0 -0
  216. package/dist/constructs/v1beta3/token/TokenSchema.d.mts +7 -0
  217. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +7 -0
  218. package/dist/constructs/v1beta3/token/TokenSchema.js +2 -0
  219. package/dist/constructs/v1beta3/token/TokenSchema.mjs +2 -0
  220. package/dist/constructs/v1beta3/workspace/Workspace.d.mts +4811 -0
  221. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4811 -0
  222. package/dist/constructs/v1beta3/workspace/Workspace.js +1 -0
  223. package/dist/constructs/v1beta3/workspace/Workspace.mjs +0 -0
  224. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.mts +7 -0
  225. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +7 -0
  226. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +98 -0
  227. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +98 -0
  228. package/dist/index.d.mts +10 -8
  229. package/dist/index.d.ts +10 -8
  230. package/dist/index.js +16 -8
  231. package/dist/index.mjs +16 -8
  232. package/dist/mesheryApi.d.mts +4954 -4793
  233. package/dist/mesheryApi.d.ts +4954 -4793
  234. package/dist/mesheryApi.js +1 -1
  235. package/dist/mesheryApi.mjs +1 -1
  236. package/package.json +1 -1
@@ -0,0 +1,939 @@
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/identity/orgs/{orgId}/teams": {
7
+ /** Gets all teams within an organization */
8
+ get: operations["getTeams"];
9
+ /** Creates a new team within an organization */
10
+ post: operations["createTeam"];
11
+ };
12
+ "/api/identity/orgs/{orgId}/teams/{teamId}": {
13
+ /** Gets a team by its ID */
14
+ get: operations["getTeamById"];
15
+ /** Updates a team's information */
16
+ put: operations["updateTeam"];
17
+ /** Deletes a team by its ID */
18
+ delete: operations["deleteTeam"];
19
+ };
20
+ "/api/identity/teams/{teamId}/users": {
21
+ /** Gets all users that belong to a team */
22
+ get: operations["getTeamUsers"];
23
+ };
24
+ "/api/identity/orgs/{orgId}/teams/{teamId}/users/{userId}": {
25
+ /** Assigns a user to a team */
26
+ post: operations["addUserToTeam"];
27
+ /** Unassigns a user from a team */
28
+ delete: operations["removeUserFromTeam"];
29
+ };
30
+ "/api/identity/orgs/{orgId}/teams/{teamId}/users": {
31
+ get: operations["listUsersNotInTeam"];
32
+ };
33
+ }
34
+ interface components {
35
+ schemas: {
36
+ /** @description A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams */
37
+ Team: {
38
+ /**
39
+ * Format: uuid
40
+ * @description Team ID
41
+ */
42
+ id: string;
43
+ /** @description Team name */
44
+ name: string;
45
+ /** @description Team description */
46
+ description?: string;
47
+ /**
48
+ * Format: uuid
49
+ * @description User ID of the owner of the team
50
+ */
51
+ owner?: string;
52
+ /** @description Additional metadata for the team */
53
+ metadata?: {
54
+ [key: string]: unknown;
55
+ };
56
+ /**
57
+ * Format: date-time
58
+ * @description Timestamp when the team was created.
59
+ */
60
+ createdAt: string;
61
+ /**
62
+ * Format: date-time
63
+ * @description Timestamp when the team was last updated.
64
+ */
65
+ updatedAt: string;
66
+ /**
67
+ * Format: date-time
68
+ * @description Timestamp when the team was soft-deleted, if applicable.
69
+ */
70
+ deletedAt?: string;
71
+ };
72
+ /** @description Payload for creating a new team */
73
+ TeamPayload: {
74
+ /** @description Team name. Provide a meaningful name that represents this team. */
75
+ name: string;
76
+ /** @description A detailed description of the team's purpose and responsibilities. */
77
+ description?: string;
78
+ };
79
+ /** @description Payload for updating an existing team */
80
+ TeamUpdatePayload: {
81
+ /** @description Updated team name */
82
+ name?: string;
83
+ /** @description Updated team description */
84
+ description?: string;
85
+ };
86
+ /** @description Paginated list of teams */
87
+ TeamPage: {
88
+ /** @description Current page number of the result set. */
89
+ page?: number;
90
+ /** @description Number of items per page. */
91
+ page_size?: number;
92
+ /** @description Total number of items available. */
93
+ total_count?: number;
94
+ /** @description The teams of the teampage. */
95
+ teams?: {
96
+ /**
97
+ * Format: uuid
98
+ * @description Team ID
99
+ */
100
+ id: string;
101
+ /** @description Team name */
102
+ name: string;
103
+ /** @description Team description */
104
+ description?: string;
105
+ /**
106
+ * Format: uuid
107
+ * @description User ID of the owner of the team
108
+ */
109
+ owner?: string;
110
+ /** @description Additional metadata for the team */
111
+ metadata?: {
112
+ [key: string]: unknown;
113
+ };
114
+ /**
115
+ * Format: date-time
116
+ * @description Timestamp when the team was created.
117
+ */
118
+ createdAt: string;
119
+ /**
120
+ * Format: date-time
121
+ * @description Timestamp when the team was last updated.
122
+ */
123
+ updatedAt: string;
124
+ /**
125
+ * Format: date-time
126
+ * @description Timestamp when the team was soft-deleted, if applicable.
127
+ */
128
+ deletedAt?: string;
129
+ }[];
130
+ };
131
+ /** @description Mapping between teams and users */
132
+ TeamsUsersMapping: {
133
+ /** Format: uuid */
134
+ id?: string;
135
+ /**
136
+ * Format: uuid
137
+ * @description Team ID
138
+ */
139
+ teamId?: string;
140
+ /**
141
+ * Format: uuid
142
+ * @description User ID
143
+ */
144
+ userId?: string;
145
+ /**
146
+ * Format: date-time
147
+ * @description Timestamp when the mapping was created.
148
+ */
149
+ createdAt?: string;
150
+ /**
151
+ * Format: date-time
152
+ * @description Timestamp when the mapping was last updated.
153
+ */
154
+ updatedAt?: string;
155
+ /**
156
+ * Format: date-time
157
+ * @description Timestamp when the mapping was soft-deleted, if applicable.
158
+ */
159
+ deletedAt?: string;
160
+ };
161
+ /** @description Paginated list of team-user mappings */
162
+ TeamsUsersMappingPage: {
163
+ /** @description Current page number of the result set. */
164
+ page?: number;
165
+ /** @description Number of items per page. */
166
+ page_size?: number;
167
+ /** @description Total number of items available. */
168
+ total_count?: number;
169
+ /** @description The teams users mapping of the teamsusersmappingpage. */
170
+ teamsUsersMapping?: {
171
+ /** Format: uuid */
172
+ id?: string;
173
+ /**
174
+ * Format: uuid
175
+ * @description Team ID
176
+ */
177
+ teamId?: string;
178
+ /**
179
+ * Format: uuid
180
+ * @description User ID
181
+ */
182
+ userId?: string;
183
+ /**
184
+ * Format: date-time
185
+ * @description Timestamp when the mapping was created.
186
+ */
187
+ createdAt?: string;
188
+ /**
189
+ * Format: date-time
190
+ * @description Timestamp when the mapping was last updated.
191
+ */
192
+ updatedAt?: string;
193
+ /**
194
+ * Format: date-time
195
+ * @description Timestamp when the mapping was soft-deleted, if applicable.
196
+ */
197
+ deletedAt?: string;
198
+ }[];
199
+ };
200
+ /** @description A user who is a prospective or existing team member. */
201
+ TeamMember: {
202
+ [key: string]: unknown;
203
+ };
204
+ /** @description Paginated list of team members. */
205
+ TeamMembersPage: {
206
+ /** @description Current page number of the result set. */
207
+ page?: number;
208
+ /** @description Number of items per page. */
209
+ page_size?: number;
210
+ /** @description Total number of items available. */
211
+ total_count?: number;
212
+ /** @description The data of the teammemberspage. */
213
+ data?: {
214
+ [key: string]: unknown;
215
+ }[];
216
+ };
217
+ };
218
+ responses: {
219
+ /** ok */
220
+ 200: {
221
+ content: {
222
+ "text/plain": string;
223
+ };
224
+ };
225
+ /** Invalid request body or request param */
226
+ 400: {
227
+ content: {
228
+ "text/plain": string;
229
+ };
230
+ };
231
+ /** Expired JWT token used or insufficient privilege */
232
+ 401: {
233
+ content: {
234
+ "text/plain": string;
235
+ };
236
+ };
237
+ /** Result not found */
238
+ 404: {
239
+ content: {
240
+ "text/plain": string;
241
+ };
242
+ };
243
+ /** Internal server error */
244
+ 500: {
245
+ content: {
246
+ "text/plain": string;
247
+ };
248
+ };
249
+ };
250
+ parameters: {
251
+ /** @description Team ID */
252
+ teamId: string;
253
+ /** @description Organization ID */
254
+ orgId: string;
255
+ /** @description User ID */
256
+ userId: string;
257
+ /** @description Get responses that match search param value */
258
+ search: string;
259
+ /** @description Get ordered responses */
260
+ order: string;
261
+ /** @description Get responses by page */
262
+ page: string;
263
+ /** @description Get responses by pagesize */
264
+ pagesize: string;
265
+ };
266
+ requestBodies: {
267
+ /** Body for creating a team */
268
+ teamPayload: {
269
+ content: {
270
+ "application/json": {
271
+ /** @description Team name. Provide a meaningful name that represents this team. */
272
+ name: string;
273
+ /** @description A detailed description of the team's purpose and responsibilities. */
274
+ description?: string;
275
+ };
276
+ };
277
+ };
278
+ /** Body for updating a team */
279
+ teamUpdatePayload: {
280
+ content: {
281
+ "application/json": {
282
+ /** @description Updated team name */
283
+ name?: string;
284
+ /** @description Updated team description */
285
+ description?: string;
286
+ };
287
+ };
288
+ };
289
+ };
290
+ }
291
+ interface operations {
292
+ /** Gets all teams within an organization */
293
+ getTeams: {
294
+ parameters: {
295
+ path: {
296
+ /** Organization ID */
297
+ orgId: string;
298
+ };
299
+ query: {
300
+ /** Get responses that match search param value */
301
+ search?: string;
302
+ /** Get ordered responses */
303
+ order?: string;
304
+ /** Get responses by page */
305
+ page?: string;
306
+ /** Get responses by pagesize */
307
+ pagesize?: string;
308
+ };
309
+ };
310
+ responses: {
311
+ /** Teams */
312
+ 200: {
313
+ content: {
314
+ "application/json": {
315
+ /** @description Current page number of the result set. */
316
+ page?: number;
317
+ /** @description Number of items per page. */
318
+ page_size?: number;
319
+ /** @description Total number of items available. */
320
+ total_count?: number;
321
+ /** @description The teams of the teampage. */
322
+ teams?: {
323
+ /**
324
+ * Format: uuid
325
+ * @description Team ID
326
+ */
327
+ id: string;
328
+ /** @description Team name */
329
+ name: string;
330
+ /** @description Team description */
331
+ description?: string;
332
+ /**
333
+ * Format: uuid
334
+ * @description User ID of the owner of the team
335
+ */
336
+ owner?: string;
337
+ /** @description Additional metadata for the team */
338
+ metadata?: {
339
+ [key: string]: unknown;
340
+ };
341
+ /**
342
+ * Format: date-time
343
+ * @description Timestamp when the team was created.
344
+ */
345
+ createdAt: string;
346
+ /**
347
+ * Format: date-time
348
+ * @description Timestamp when the team was last updated.
349
+ */
350
+ updatedAt: string;
351
+ /**
352
+ * Format: date-time
353
+ * @description Timestamp when the team was soft-deleted, if applicable.
354
+ */
355
+ deletedAt?: string;
356
+ }[];
357
+ };
358
+ };
359
+ };
360
+ /** Expired JWT token used or insufficient privilege */
361
+ 401: {
362
+ content: {
363
+ "text/plain": string;
364
+ };
365
+ };
366
+ /** Result not found */
367
+ 404: {
368
+ content: {
369
+ "text/plain": string;
370
+ };
371
+ };
372
+ /** Internal server error */
373
+ 500: {
374
+ content: {
375
+ "text/plain": string;
376
+ };
377
+ };
378
+ };
379
+ };
380
+ /** Creates a new team within an organization */
381
+ createTeam: {
382
+ parameters: {
383
+ path: {
384
+ /** Organization ID */
385
+ orgId: string;
386
+ };
387
+ };
388
+ responses: {
389
+ /** Created team */
390
+ 201: {
391
+ content: {
392
+ "application/json": {
393
+ /**
394
+ * Format: uuid
395
+ * @description Team ID
396
+ */
397
+ id: string;
398
+ /** @description Team name */
399
+ name: string;
400
+ /** @description Team description */
401
+ description?: string;
402
+ /**
403
+ * Format: uuid
404
+ * @description User ID of the owner of the team
405
+ */
406
+ owner?: string;
407
+ /** @description Additional metadata for the team */
408
+ metadata?: {
409
+ [key: string]: unknown;
410
+ };
411
+ /**
412
+ * Format: date-time
413
+ * @description Timestamp when the team was created.
414
+ */
415
+ createdAt: string;
416
+ /**
417
+ * Format: date-time
418
+ * @description Timestamp when the team was last updated.
419
+ */
420
+ updatedAt: string;
421
+ /**
422
+ * Format: date-time
423
+ * @description Timestamp when the team was soft-deleted, if applicable.
424
+ */
425
+ deletedAt?: string;
426
+ };
427
+ };
428
+ };
429
+ /** Invalid request body or request param */
430
+ 400: {
431
+ content: {
432
+ "text/plain": string;
433
+ };
434
+ };
435
+ /** Expired JWT token used or insufficient privilege */
436
+ 401: {
437
+ content: {
438
+ "text/plain": string;
439
+ };
440
+ };
441
+ /** Result not found */
442
+ 404: {
443
+ content: {
444
+ "text/plain": string;
445
+ };
446
+ };
447
+ /** Internal server error */
448
+ 500: {
449
+ content: {
450
+ "text/plain": string;
451
+ };
452
+ };
453
+ };
454
+ /** Body for creating a team */
455
+ requestBody: {
456
+ content: {
457
+ "application/json": {
458
+ /** @description Team name. Provide a meaningful name that represents this team. */
459
+ name: string;
460
+ /** @description A detailed description of the team's purpose and responsibilities. */
461
+ description?: string;
462
+ };
463
+ };
464
+ };
465
+ };
466
+ /** Gets a team by its ID */
467
+ getTeamById: {
468
+ parameters: {
469
+ path: {
470
+ /** Organization ID */
471
+ orgId: string;
472
+ /** Team ID */
473
+ teamId: string;
474
+ };
475
+ };
476
+ responses: {
477
+ /** Team */
478
+ 200: {
479
+ content: {
480
+ "application/json": {
481
+ /**
482
+ * Format: uuid
483
+ * @description Team ID
484
+ */
485
+ id: string;
486
+ /** @description Team name */
487
+ name: string;
488
+ /** @description Team description */
489
+ description?: string;
490
+ /**
491
+ * Format: uuid
492
+ * @description User ID of the owner of the team
493
+ */
494
+ owner?: string;
495
+ /** @description Additional metadata for the team */
496
+ metadata?: {
497
+ [key: string]: unknown;
498
+ };
499
+ /**
500
+ * Format: date-time
501
+ * @description Timestamp when the team was created.
502
+ */
503
+ createdAt: string;
504
+ /**
505
+ * Format: date-time
506
+ * @description Timestamp when the team was last updated.
507
+ */
508
+ updatedAt: string;
509
+ /**
510
+ * Format: date-time
511
+ * @description Timestamp when the team was soft-deleted, if applicable.
512
+ */
513
+ deletedAt?: string;
514
+ };
515
+ };
516
+ };
517
+ /** Invalid request body or request param */
518
+ 400: {
519
+ content: {
520
+ "text/plain": string;
521
+ };
522
+ };
523
+ /** Expired JWT token used or insufficient privilege */
524
+ 401: {
525
+ content: {
526
+ "text/plain": string;
527
+ };
528
+ };
529
+ /** Result not found */
530
+ 404: {
531
+ content: {
532
+ "text/plain": string;
533
+ };
534
+ };
535
+ /** Internal server error */
536
+ 500: {
537
+ content: {
538
+ "text/plain": string;
539
+ };
540
+ };
541
+ };
542
+ };
543
+ /** Updates a team's information */
544
+ updateTeam: {
545
+ parameters: {
546
+ path: {
547
+ /** Organization ID */
548
+ orgId: string;
549
+ /** Team ID */
550
+ teamId: string;
551
+ };
552
+ };
553
+ responses: {
554
+ /** Updated team */
555
+ 200: {
556
+ content: {
557
+ "application/json": {
558
+ /**
559
+ * Format: uuid
560
+ * @description Team ID
561
+ */
562
+ id: string;
563
+ /** @description Team name */
564
+ name: string;
565
+ /** @description Team description */
566
+ description?: string;
567
+ /**
568
+ * Format: uuid
569
+ * @description User ID of the owner of the team
570
+ */
571
+ owner?: string;
572
+ /** @description Additional metadata for the team */
573
+ metadata?: {
574
+ [key: string]: unknown;
575
+ };
576
+ /**
577
+ * Format: date-time
578
+ * @description Timestamp when the team was created.
579
+ */
580
+ createdAt: string;
581
+ /**
582
+ * Format: date-time
583
+ * @description Timestamp when the team was last updated.
584
+ */
585
+ updatedAt: string;
586
+ /**
587
+ * Format: date-time
588
+ * @description Timestamp when the team was soft-deleted, if applicable.
589
+ */
590
+ deletedAt?: string;
591
+ };
592
+ };
593
+ };
594
+ /** Invalid request body or request param */
595
+ 400: {
596
+ content: {
597
+ "text/plain": string;
598
+ };
599
+ };
600
+ /** Expired JWT token used or insufficient privilege */
601
+ 401: {
602
+ content: {
603
+ "text/plain": string;
604
+ };
605
+ };
606
+ /** Result not found */
607
+ 404: {
608
+ content: {
609
+ "text/plain": string;
610
+ };
611
+ };
612
+ /** Internal server error */
613
+ 500: {
614
+ content: {
615
+ "text/plain": string;
616
+ };
617
+ };
618
+ };
619
+ /** Body for updating a team */
620
+ requestBody: {
621
+ content: {
622
+ "application/json": {
623
+ /** @description Updated team name */
624
+ name?: string;
625
+ /** @description Updated team description */
626
+ description?: string;
627
+ };
628
+ };
629
+ };
630
+ };
631
+ /** Deletes a team by its ID */
632
+ deleteTeam: {
633
+ parameters: {
634
+ path: {
635
+ /** Organization ID */
636
+ orgId: string;
637
+ /** Team ID */
638
+ teamId: string;
639
+ };
640
+ };
641
+ responses: {
642
+ /** Team deleted */
643
+ 204: never;
644
+ /** Invalid request body or request param */
645
+ 400: {
646
+ content: {
647
+ "text/plain": string;
648
+ };
649
+ };
650
+ /** Expired JWT token used or insufficient privilege */
651
+ 401: {
652
+ content: {
653
+ "text/plain": string;
654
+ };
655
+ };
656
+ /** Result not found */
657
+ 404: {
658
+ content: {
659
+ "text/plain": string;
660
+ };
661
+ };
662
+ /** Internal server error */
663
+ 500: {
664
+ content: {
665
+ "text/plain": string;
666
+ };
667
+ };
668
+ };
669
+ };
670
+ /** Gets all users that belong to a team */
671
+ getTeamUsers: {
672
+ parameters: {
673
+ path: {
674
+ /** Team ID */
675
+ teamId: string;
676
+ };
677
+ query: {
678
+ /** Get responses that match search param value */
679
+ search?: string;
680
+ /** Get ordered responses */
681
+ order?: string;
682
+ /** Get responses by page */
683
+ page?: string;
684
+ /** Get responses by pagesize */
685
+ pagesize?: string;
686
+ };
687
+ };
688
+ responses: {
689
+ /** Team users mapping */
690
+ 200: {
691
+ content: {
692
+ "application/json": {
693
+ /** @description Current page number of the result set. */
694
+ page?: number;
695
+ /** @description Number of items per page. */
696
+ page_size?: number;
697
+ /** @description Total number of items available. */
698
+ total_count?: number;
699
+ /** @description The teams users mapping of the teamsusersmappingpage. */
700
+ teamsUsersMapping?: {
701
+ /** Format: uuid */
702
+ id?: string;
703
+ /**
704
+ * Format: uuid
705
+ * @description Team ID
706
+ */
707
+ teamId?: string;
708
+ /**
709
+ * Format: uuid
710
+ * @description User ID
711
+ */
712
+ userId?: string;
713
+ /**
714
+ * Format: date-time
715
+ * @description Timestamp when the mapping was created.
716
+ */
717
+ createdAt?: string;
718
+ /**
719
+ * Format: date-time
720
+ * @description Timestamp when the mapping was last updated.
721
+ */
722
+ updatedAt?: string;
723
+ /**
724
+ * Format: date-time
725
+ * @description Timestamp when the mapping was soft-deleted, if applicable.
726
+ */
727
+ deletedAt?: string;
728
+ }[];
729
+ };
730
+ };
731
+ };
732
+ /** Invalid request body or request param */
733
+ 400: {
734
+ content: {
735
+ "text/plain": string;
736
+ };
737
+ };
738
+ /** Expired JWT token used or insufficient privilege */
739
+ 401: {
740
+ content: {
741
+ "text/plain": string;
742
+ };
743
+ };
744
+ /** Result not found */
745
+ 404: {
746
+ content: {
747
+ "text/plain": string;
748
+ };
749
+ };
750
+ /** Internal server error */
751
+ 500: {
752
+ content: {
753
+ "text/plain": string;
754
+ };
755
+ };
756
+ };
757
+ };
758
+ /** Assigns a user to a team */
759
+ addUserToTeam: {
760
+ parameters: {
761
+ path: {
762
+ /** Organization ID */
763
+ orgId: string;
764
+ /** Team ID */
765
+ teamId: string;
766
+ /** User ID */
767
+ userId: string;
768
+ };
769
+ };
770
+ responses: {
771
+ /** User added to team */
772
+ 201: {
773
+ content: {
774
+ "application/json": {
775
+ /** Format: uuid */
776
+ id?: string;
777
+ /**
778
+ * Format: uuid
779
+ * @description Team ID
780
+ */
781
+ teamId?: string;
782
+ /**
783
+ * Format: uuid
784
+ * @description User ID
785
+ */
786
+ userId?: string;
787
+ /**
788
+ * Format: date-time
789
+ * @description Timestamp when the mapping was created.
790
+ */
791
+ createdAt?: string;
792
+ /**
793
+ * Format: date-time
794
+ * @description Timestamp when the mapping was last updated.
795
+ */
796
+ updatedAt?: string;
797
+ /**
798
+ * Format: date-time
799
+ * @description Timestamp when the mapping was soft-deleted, if applicable.
800
+ */
801
+ deletedAt?: string;
802
+ };
803
+ };
804
+ };
805
+ /** Invalid request body or request param */
806
+ 400: {
807
+ content: {
808
+ "text/plain": string;
809
+ };
810
+ };
811
+ /** Expired JWT token used or insufficient privilege */
812
+ 401: {
813
+ content: {
814
+ "text/plain": string;
815
+ };
816
+ };
817
+ /** Result not found */
818
+ 404: {
819
+ content: {
820
+ "text/plain": string;
821
+ };
822
+ };
823
+ /** Internal server error */
824
+ 500: {
825
+ content: {
826
+ "text/plain": string;
827
+ };
828
+ };
829
+ };
830
+ };
831
+ /** Unassigns a user from a team */
832
+ removeUserFromTeam: {
833
+ parameters: {
834
+ path: {
835
+ /** Organization ID */
836
+ orgId: string;
837
+ /** Team ID */
838
+ teamId: string;
839
+ /** User ID */
840
+ userId: string;
841
+ };
842
+ };
843
+ responses: {
844
+ /** User removed from team */
845
+ 204: never;
846
+ /** Invalid request body or request param */
847
+ 400: {
848
+ content: {
849
+ "text/plain": string;
850
+ };
851
+ };
852
+ /** Expired JWT token used or insufficient privilege */
853
+ 401: {
854
+ content: {
855
+ "text/plain": string;
856
+ };
857
+ };
858
+ /** Result not found */
859
+ 404: {
860
+ content: {
861
+ "text/plain": string;
862
+ };
863
+ };
864
+ /** Internal server error */
865
+ 500: {
866
+ content: {
867
+ "text/plain": string;
868
+ };
869
+ };
870
+ };
871
+ };
872
+ listUsersNotInTeam: {
873
+ parameters: {
874
+ path: {
875
+ /** Organization ID */
876
+ orgId: string;
877
+ /** Team ID */
878
+ teamId: string;
879
+ };
880
+ query: {
881
+ /** Get responses that match search param value */
882
+ search?: string;
883
+ /** Get ordered responses */
884
+ order?: string;
885
+ /** Get responses by page */
886
+ page?: string;
887
+ /** Get responses by pagesize */
888
+ pagesize?: string;
889
+ };
890
+ };
891
+ responses: {
892
+ /** Users not currently in the team */
893
+ 200: {
894
+ content: {
895
+ "application/json": {
896
+ /** @description Current page number of the result set. */
897
+ page?: number;
898
+ /** @description Number of items per page. */
899
+ page_size?: number;
900
+ /** @description Total number of items available. */
901
+ total_count?: number;
902
+ /** @description The data of the teammemberspage. */
903
+ data?: {
904
+ [key: string]: unknown;
905
+ }[];
906
+ };
907
+ };
908
+ };
909
+ /** Invalid request body or request param */
910
+ 400: {
911
+ content: {
912
+ "text/plain": string;
913
+ };
914
+ };
915
+ /** Expired JWT token used or insufficient privilege */
916
+ 401: {
917
+ content: {
918
+ "text/plain": string;
919
+ };
920
+ };
921
+ /** Result not found */
922
+ 404: {
923
+ content: {
924
+ "text/plain": string;
925
+ };
926
+ };
927
+ /** Internal server error */
928
+ 500: {
929
+ content: {
930
+ "text/plain": string;
931
+ };
932
+ };
933
+ };
934
+ };
935
+ }
936
+ interface external {
937
+ }
938
+
939
+ export type { components, external, operations, paths };