@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,2 @@
1
+ declare const TeamSchema: Record<string, unknown>;
2
+ export default TeamSchema;
@@ -0,0 +1,544 @@
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/identity/tokens": {
8
+ /** Retrieves tokens associated with the authenticated user. */
9
+ get: operations["getUserTokens"];
10
+ /** Generates a token for the authenticated user. */
11
+ post: operations["generateToken"];
12
+ /** Deletes a specific token for the authenticated user. */
13
+ delete: operations["deleteUserToken"];
14
+ };
15
+ "/api/identity/tokens/{id}": {
16
+ /** Retrieves a specific token by its ID. */
17
+ get: operations["getUserTokensById"];
18
+ };
19
+ "/api/identity/tokens/infinite": {
20
+ /** Creates a non-expiring user token for provider admin use cases. */
21
+ get: operations["issueIndefiniteLifetimeToken"];
22
+ };
23
+ }
24
+
25
+ export interface components {
26
+ schemas: {
27
+ /** @description Represents a user-owned API token or OAuth session. */
28
+ UserToken: {
29
+ /**
30
+ * Format: uuid
31
+ * @description Unique identifier for the token.
32
+ */
33
+ id: string;
34
+ /**
35
+ * Format: uuid
36
+ * @description UUID of the user who owns the token.
37
+ */
38
+ user_id: string;
39
+ /** @description Authentication provider associated with the token. */
40
+ provider: string;
41
+ /** @description Access token value. */
42
+ access_token?: string;
43
+ /** @description Refresh token value when applicable. */
44
+ refresh_token?: string;
45
+ /** @description Human-readable token name. */
46
+ name?: string;
47
+ /** @description Purpose for which the token was created. */
48
+ purpose?: string;
49
+ /** @description Whether this entry represents an OAuth session. */
50
+ is_oauth?: boolean;
51
+ /**
52
+ * Format: date-time
53
+ * @description Timestamp when the resource was created.
54
+ */
55
+ created_at?: string;
56
+ /**
57
+ * Format: date-time
58
+ * @description Timestamp when the resource was updated.
59
+ */
60
+ updated_at?: string;
61
+ };
62
+ /** @description A paginated list of tokens. */
63
+ TokenPage: {
64
+ /** @description The tokens of the tokenpage. */
65
+ tokens: {
66
+ /**
67
+ * Format: uuid
68
+ * @description Unique identifier for the token.
69
+ */
70
+ id: string;
71
+ /**
72
+ * Format: uuid
73
+ * @description UUID of the user who owns the token.
74
+ */
75
+ user_id: string;
76
+ /** @description Authentication provider associated with the token. */
77
+ provider: string;
78
+ /** @description Access token value. */
79
+ access_token?: string;
80
+ /** @description Refresh token value when applicable. */
81
+ refresh_token?: string;
82
+ /** @description Human-readable token name. */
83
+ name?: string;
84
+ /** @description Purpose for which the token was created. */
85
+ purpose?: string;
86
+ /** @description Whether this entry represents an OAuth session. */
87
+ is_oauth?: boolean;
88
+ /**
89
+ * Format: date-time
90
+ * @description Timestamp when the resource was created.
91
+ */
92
+ created_at?: string;
93
+ /**
94
+ * Format: date-time
95
+ * @description Timestamp when the resource was updated.
96
+ */
97
+ updated_at?: string;
98
+ }[];
99
+ /** @description Total number of tokens across all pages. */
100
+ total_count: number;
101
+ /** @description Current page number (zero-based). */
102
+ page: number;
103
+ /** @description Number of tokens per page. */
104
+ page_size: number;
105
+ };
106
+ };
107
+ responses: {
108
+ /** Invalid request body or request param */
109
+ 400: {
110
+ content: {
111
+ "text/plain": string;
112
+ };
113
+ };
114
+ /** Expired JWT token used or insufficient privilege */
115
+ 401: {
116
+ content: {
117
+ "text/plain": string;
118
+ };
119
+ };
120
+ /** Result not found */
121
+ 404: {
122
+ content: {
123
+ "text/plain": string;
124
+ };
125
+ };
126
+ /** Internal server error */
127
+ 500: {
128
+ content: {
129
+ "text/plain": string;
130
+ };
131
+ };
132
+ };
133
+ parameters: {
134
+ /** @description Token ID */
135
+ id: string;
136
+ /** @description Get responses by page */
137
+ page: string;
138
+ /** @description Get responses by pagesize */
139
+ pagesize: string;
140
+ /** @description Get responses that match search param value */
141
+ search: string;
142
+ /** @description Get ordered responses */
143
+ order: string;
144
+ /** @description Whether to retrieve OAuth-backed sessions instead of API tokens. */
145
+ isOAuth: boolean;
146
+ /** @description Name of the token. */
147
+ name: string;
148
+ /** @description Purpose for which the token is generated. */
149
+ purpose: string;
150
+ /** @description ID of the token. */
151
+ tokenId: string;
152
+ /** @description UUID of the user. */
153
+ userId: string;
154
+ /** @description Remote provider. */
155
+ provider: string;
156
+ };
157
+ }
158
+
159
+ export interface operations {
160
+ /** Retrieves tokens associated with the authenticated user. */
161
+ getUserTokens: {
162
+ parameters: {
163
+ query: {
164
+ /** Whether to retrieve OAuth-backed sessions instead of API tokens. */
165
+ isOAuth?: boolean;
166
+ /** Get responses by page */
167
+ page?: string;
168
+ /** Get responses by pagesize */
169
+ pagesize?: string;
170
+ /** Get responses that match search param value */
171
+ search?: string;
172
+ /** Get ordered responses */
173
+ order?: string;
174
+ };
175
+ };
176
+ responses: {
177
+ /** Tokens response */
178
+ 200: {
179
+ content: {
180
+ "application/json": {
181
+ /** @description The tokens of the tokenpage. */
182
+ tokens: {
183
+ /**
184
+ * Format: uuid
185
+ * @description Unique identifier for the token.
186
+ */
187
+ id: string;
188
+ /**
189
+ * Format: uuid
190
+ * @description UUID of the user who owns the token.
191
+ */
192
+ user_id: string;
193
+ /** @description Authentication provider associated with the token. */
194
+ provider: string;
195
+ /** @description Access token value. */
196
+ access_token?: string;
197
+ /** @description Refresh token value when applicable. */
198
+ refresh_token?: string;
199
+ /** @description Human-readable token name. */
200
+ name?: string;
201
+ /** @description Purpose for which the token was created. */
202
+ purpose?: string;
203
+ /** @description Whether this entry represents an OAuth session. */
204
+ is_oauth?: boolean;
205
+ /**
206
+ * Format: date-time
207
+ * @description Timestamp when the resource was created.
208
+ */
209
+ created_at?: string;
210
+ /**
211
+ * Format: date-time
212
+ * @description Timestamp when the resource was updated.
213
+ */
214
+ updated_at?: string;
215
+ }[];
216
+ /** @description Total number of tokens across all pages. */
217
+ total_count: number;
218
+ /** @description Current page number (zero-based). */
219
+ page: number;
220
+ /** @description Number of tokens per page. */
221
+ page_size: number;
222
+ };
223
+ };
224
+ };
225
+ /** Expired JWT token used or insufficient privilege */
226
+ 401: {
227
+ content: {
228
+ "text/plain": string;
229
+ };
230
+ };
231
+ /** Internal server error */
232
+ 500: {
233
+ content: {
234
+ "text/plain": string;
235
+ };
236
+ };
237
+ };
238
+ };
239
+ /** Generates a token for the authenticated user. */
240
+ generateToken: {
241
+ parameters: {
242
+ query: {
243
+ /** Name of the token. */
244
+ name: string;
245
+ /** Purpose for which the token is generated. */
246
+ purpose?: string;
247
+ };
248
+ };
249
+ responses: {
250
+ /** Token generated */
251
+ 200: {
252
+ content: {
253
+ "application/json": {
254
+ /** @description The tokens of the tokenpage. */
255
+ tokens: {
256
+ /**
257
+ * Format: uuid
258
+ * @description Unique identifier for the token.
259
+ */
260
+ id: string;
261
+ /**
262
+ * Format: uuid
263
+ * @description UUID of the user who owns the token.
264
+ */
265
+ user_id: string;
266
+ /** @description Authentication provider associated with the token. */
267
+ provider: string;
268
+ /** @description Access token value. */
269
+ access_token?: string;
270
+ /** @description Refresh token value when applicable. */
271
+ refresh_token?: string;
272
+ /** @description Human-readable token name. */
273
+ name?: string;
274
+ /** @description Purpose for which the token was created. */
275
+ purpose?: string;
276
+ /** @description Whether this entry represents an OAuth session. */
277
+ is_oauth?: boolean;
278
+ /**
279
+ * Format: date-time
280
+ * @description Timestamp when the resource was created.
281
+ */
282
+ created_at?: string;
283
+ /**
284
+ * Format: date-time
285
+ * @description Timestamp when the resource was updated.
286
+ */
287
+ updated_at?: string;
288
+ }[];
289
+ /** @description Total number of tokens across all pages. */
290
+ total_count: number;
291
+ /** @description Current page number (zero-based). */
292
+ page: number;
293
+ /** @description Number of tokens per page. */
294
+ page_size: number;
295
+ };
296
+ };
297
+ };
298
+ /** Invalid request body or request param */
299
+ 400: {
300
+ content: {
301
+ "text/plain": string;
302
+ };
303
+ };
304
+ /** Expired JWT token used or insufficient privilege */
305
+ 401: {
306
+ content: {
307
+ "text/plain": string;
308
+ };
309
+ };
310
+ /** Internal server error */
311
+ 500: {
312
+ content: {
313
+ "text/plain": string;
314
+ };
315
+ };
316
+ };
317
+ };
318
+ /** Deletes a specific token for the authenticated user. */
319
+ deleteUserToken: {
320
+ parameters: {
321
+ query: {
322
+ /** ID of the token. */
323
+ tokenId: string;
324
+ };
325
+ };
326
+ responses: {
327
+ /** Token deleted */
328
+ 200: {
329
+ content: {
330
+ "application/json": {
331
+ /** @description The tokens of the tokenpage. */
332
+ tokens: {
333
+ /**
334
+ * Format: uuid
335
+ * @description Unique identifier for the token.
336
+ */
337
+ id: string;
338
+ /**
339
+ * Format: uuid
340
+ * @description UUID of the user who owns the token.
341
+ */
342
+ user_id: string;
343
+ /** @description Authentication provider associated with the token. */
344
+ provider: string;
345
+ /** @description Access token value. */
346
+ access_token?: string;
347
+ /** @description Refresh token value when applicable. */
348
+ refresh_token?: string;
349
+ /** @description Human-readable token name. */
350
+ name?: string;
351
+ /** @description Purpose for which the token was created. */
352
+ purpose?: string;
353
+ /** @description Whether this entry represents an OAuth session. */
354
+ is_oauth?: boolean;
355
+ /**
356
+ * Format: date-time
357
+ * @description Timestamp when the resource was created.
358
+ */
359
+ created_at?: string;
360
+ /**
361
+ * Format: date-time
362
+ * @description Timestamp when the resource was updated.
363
+ */
364
+ updated_at?: string;
365
+ }[];
366
+ /** @description Total number of tokens across all pages. */
367
+ total_count: number;
368
+ /** @description Current page number (zero-based). */
369
+ page: number;
370
+ /** @description Number of tokens per page. */
371
+ page_size: number;
372
+ };
373
+ };
374
+ };
375
+ /** Invalid request body or request param */
376
+ 400: {
377
+ content: {
378
+ "text/plain": string;
379
+ };
380
+ };
381
+ /** Expired JWT token used or insufficient privilege */
382
+ 401: {
383
+ content: {
384
+ "text/plain": string;
385
+ };
386
+ };
387
+ /** Internal server error */
388
+ 500: {
389
+ content: {
390
+ "text/plain": string;
391
+ };
392
+ };
393
+ };
394
+ };
395
+ /** Retrieves a specific token by its ID. */
396
+ getUserTokensById: {
397
+ parameters: {
398
+ path: {
399
+ /** Token ID */
400
+ id: string;
401
+ };
402
+ };
403
+ responses: {
404
+ /** Token response */
405
+ 200: {
406
+ content: {
407
+ "application/json": {
408
+ /**
409
+ * Format: uuid
410
+ * @description Unique identifier for the token.
411
+ */
412
+ id: string;
413
+ /**
414
+ * Format: uuid
415
+ * @description UUID of the user who owns the token.
416
+ */
417
+ user_id: string;
418
+ /** @description Authentication provider associated with the token. */
419
+ provider: string;
420
+ /** @description Access token value. */
421
+ access_token?: string;
422
+ /** @description Refresh token value when applicable. */
423
+ refresh_token?: string;
424
+ /** @description Human-readable token name. */
425
+ name?: string;
426
+ /** @description Purpose for which the token was created. */
427
+ purpose?: string;
428
+ /** @description Whether this entry represents an OAuth session. */
429
+ is_oauth?: boolean;
430
+ /**
431
+ * Format: date-time
432
+ * @description Timestamp when the resource was created.
433
+ */
434
+ created_at?: string;
435
+ /**
436
+ * Format: date-time
437
+ * @description Timestamp when the resource was updated.
438
+ */
439
+ updated_at?: string;
440
+ };
441
+ };
442
+ };
443
+ /** Expired JWT token used or insufficient privilege */
444
+ 401: {
445
+ content: {
446
+ "text/plain": string;
447
+ };
448
+ };
449
+ /** Result not found */
450
+ 404: {
451
+ content: {
452
+ "text/plain": string;
453
+ };
454
+ };
455
+ /** Internal server error */
456
+ 500: {
457
+ content: {
458
+ "text/plain": string;
459
+ };
460
+ };
461
+ };
462
+ };
463
+ /** Creates a non-expiring user token for provider admin use cases. */
464
+ issueIndefiniteLifetimeToken: {
465
+ parameters: {
466
+ query: {
467
+ /** UUID of the user. */
468
+ userId: string;
469
+ /** Remote provider. */
470
+ provider: string;
471
+ };
472
+ };
473
+ responses: {
474
+ /** Token generated */
475
+ 200: {
476
+ content: {
477
+ "application/json": {
478
+ /** @description The tokens of the tokenpage. */
479
+ tokens: {
480
+ /**
481
+ * Format: uuid
482
+ * @description Unique identifier for the token.
483
+ */
484
+ id: string;
485
+ /**
486
+ * Format: uuid
487
+ * @description UUID of the user who owns the token.
488
+ */
489
+ user_id: string;
490
+ /** @description Authentication provider associated with the token. */
491
+ provider: string;
492
+ /** @description Access token value. */
493
+ access_token?: string;
494
+ /** @description Refresh token value when applicable. */
495
+ refresh_token?: string;
496
+ /** @description Human-readable token name. */
497
+ name?: string;
498
+ /** @description Purpose for which the token was created. */
499
+ purpose?: string;
500
+ /** @description Whether this entry represents an OAuth session. */
501
+ is_oauth?: boolean;
502
+ /**
503
+ * Format: date-time
504
+ * @description Timestamp when the resource was created.
505
+ */
506
+ created_at?: string;
507
+ /**
508
+ * Format: date-time
509
+ * @description Timestamp when the resource was updated.
510
+ */
511
+ updated_at?: string;
512
+ }[];
513
+ /** @description Total number of tokens across all pages. */
514
+ total_count: number;
515
+ /** @description Current page number (zero-based). */
516
+ page: number;
517
+ /** @description Number of tokens per page. */
518
+ page_size: number;
519
+ };
520
+ };
521
+ };
522
+ /** Invalid request body or request param */
523
+ 400: {
524
+ content: {
525
+ "text/plain": string;
526
+ };
527
+ };
528
+ /** Expired JWT token used or insufficient privilege */
529
+ 401: {
530
+ content: {
531
+ "text/plain": string;
532
+ };
533
+ };
534
+ /** Internal server error */
535
+ 500: {
536
+ content: {
537
+ "text/plain": string;
538
+ };
539
+ };
540
+ };
541
+ };
542
+ }
543
+
544
+ export interface external {}
@@ -0,0 +1,2 @@
1
+ declare const TokenSchema: Record<string, unknown>;
2
+ export default TokenSchema;