@meshery/schemas 1.2.14 → 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.
- package/dist/cloudApi.d.mts +1516 -1516
- package/dist/cloudApi.d.ts +1516 -1516
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
- package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
- package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
- package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
- package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
- package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
- package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
- package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/view/View.d.ts +759 -0
- package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
- package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
- package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
- package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
- package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
- package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
- package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
- package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
- package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
- package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
- package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
- package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
- package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
- package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
- package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
- package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
- package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
- package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/view/View.d.ts +767 -0
- package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
- package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
- package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
- package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
- package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
- package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
- package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/mesheryApi.d.mts +546 -546
- package/dist/mesheryApi.d.ts +546 -546
- package/package.json +2 -2
|
@@ -0,0 +1,539 @@
|
|
|
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
|
+
tokens: {
|
|
65
|
+
/**
|
|
66
|
+
* Format: uuid
|
|
67
|
+
* @description Unique identifier for the token.
|
|
68
|
+
*/
|
|
69
|
+
id?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Format: uuid
|
|
72
|
+
* @description UUID of the user who owns the token.
|
|
73
|
+
*/
|
|
74
|
+
user_id?: string;
|
|
75
|
+
/** @description Authentication provider associated with the token. */
|
|
76
|
+
provider?: string;
|
|
77
|
+
/** @description Access token value. */
|
|
78
|
+
access_token?: string;
|
|
79
|
+
/** @description Refresh token value when applicable. */
|
|
80
|
+
refresh_token?: string;
|
|
81
|
+
/** @description Human-readable token name. */
|
|
82
|
+
name?: string;
|
|
83
|
+
/** @description Purpose for which the token was created. */
|
|
84
|
+
purpose?: string;
|
|
85
|
+
/** @description Whether this entry represents an OAuth session. */
|
|
86
|
+
is_oauth?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Format: date-time
|
|
89
|
+
* @description Timestamp when the resource was created.
|
|
90
|
+
*/
|
|
91
|
+
created_at?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Format: date-time
|
|
94
|
+
* @description Timestamp when the resource was updated.
|
|
95
|
+
*/
|
|
96
|
+
updated_at?: string;
|
|
97
|
+
}[];
|
|
98
|
+
/** @description Total number of tokens across all pages. */
|
|
99
|
+
total_count: number;
|
|
100
|
+
/** @description Current page number (zero-based). */
|
|
101
|
+
page: number;
|
|
102
|
+
/** @description Number of tokens per page. */
|
|
103
|
+
page_size: number;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
responses: {
|
|
107
|
+
/** Invalid request body or request param */
|
|
108
|
+
400: {
|
|
109
|
+
content: {
|
|
110
|
+
"text/plain": string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
/** Expired JWT token used or insufficient privilege */
|
|
114
|
+
401: {
|
|
115
|
+
content: {
|
|
116
|
+
"text/plain": string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
/** Result not found */
|
|
120
|
+
404: {
|
|
121
|
+
content: {
|
|
122
|
+
"text/plain": string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
/** Internal server error */
|
|
126
|
+
500: {
|
|
127
|
+
content: {
|
|
128
|
+
"text/plain": string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
parameters: {
|
|
133
|
+
/** @description Token ID */
|
|
134
|
+
id: string;
|
|
135
|
+
/** @description Get responses by page */
|
|
136
|
+
page: string;
|
|
137
|
+
/** @description Get responses by pagesize */
|
|
138
|
+
pagesize: string;
|
|
139
|
+
/** @description Get responses that match search param value */
|
|
140
|
+
search: string;
|
|
141
|
+
/** @description Get ordered responses */
|
|
142
|
+
order: string;
|
|
143
|
+
/** @description Whether to retrieve OAuth-backed sessions instead of API tokens. */
|
|
144
|
+
isOAuth: boolean;
|
|
145
|
+
/** @description Name of the token. */
|
|
146
|
+
name: string;
|
|
147
|
+
/** @description Purpose for which the token is generated. */
|
|
148
|
+
purpose: string;
|
|
149
|
+
/** @description ID of the token. */
|
|
150
|
+
tokenId: string;
|
|
151
|
+
/** @description UUID of the user. */
|
|
152
|
+
userId: string;
|
|
153
|
+
/** @description Remote provider. */
|
|
154
|
+
provider: string;
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface operations {
|
|
159
|
+
/** Retrieves tokens associated with the authenticated user. */
|
|
160
|
+
getUserTokens: {
|
|
161
|
+
parameters: {
|
|
162
|
+
query: {
|
|
163
|
+
/** Whether to retrieve OAuth-backed sessions instead of API tokens. */
|
|
164
|
+
isOAuth?: boolean;
|
|
165
|
+
/** Get responses by page */
|
|
166
|
+
page?: string;
|
|
167
|
+
/** Get responses by pagesize */
|
|
168
|
+
pagesize?: string;
|
|
169
|
+
/** Get responses that match search param value */
|
|
170
|
+
search?: string;
|
|
171
|
+
/** Get ordered responses */
|
|
172
|
+
order?: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
responses: {
|
|
176
|
+
/** Tokens response */
|
|
177
|
+
200: {
|
|
178
|
+
content: {
|
|
179
|
+
"application/json": {
|
|
180
|
+
tokens: {
|
|
181
|
+
/**
|
|
182
|
+
* Format: uuid
|
|
183
|
+
* @description Unique identifier for the token.
|
|
184
|
+
*/
|
|
185
|
+
id?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Format: uuid
|
|
188
|
+
* @description UUID of the user who owns the token.
|
|
189
|
+
*/
|
|
190
|
+
user_id?: string;
|
|
191
|
+
/** @description Authentication provider associated with the token. */
|
|
192
|
+
provider?: string;
|
|
193
|
+
/** @description Access token value. */
|
|
194
|
+
access_token?: string;
|
|
195
|
+
/** @description Refresh token value when applicable. */
|
|
196
|
+
refresh_token?: string;
|
|
197
|
+
/** @description Human-readable token name. */
|
|
198
|
+
name?: string;
|
|
199
|
+
/** @description Purpose for which the token was created. */
|
|
200
|
+
purpose?: string;
|
|
201
|
+
/** @description Whether this entry represents an OAuth session. */
|
|
202
|
+
is_oauth?: boolean;
|
|
203
|
+
/**
|
|
204
|
+
* Format: date-time
|
|
205
|
+
* @description Timestamp when the resource was created.
|
|
206
|
+
*/
|
|
207
|
+
created_at?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Format: date-time
|
|
210
|
+
* @description Timestamp when the resource was updated.
|
|
211
|
+
*/
|
|
212
|
+
updated_at?: string;
|
|
213
|
+
}[];
|
|
214
|
+
/** @description Total number of tokens across all pages. */
|
|
215
|
+
total_count: number;
|
|
216
|
+
/** @description Current page number (zero-based). */
|
|
217
|
+
page: number;
|
|
218
|
+
/** @description Number of tokens per page. */
|
|
219
|
+
page_size: number;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
/** Expired JWT token used or insufficient privilege */
|
|
224
|
+
401: {
|
|
225
|
+
content: {
|
|
226
|
+
"text/plain": string;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
/** Internal server error */
|
|
230
|
+
500: {
|
|
231
|
+
content: {
|
|
232
|
+
"text/plain": string;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/** Generates a token for the authenticated user. */
|
|
238
|
+
generateToken: {
|
|
239
|
+
parameters: {
|
|
240
|
+
query: {
|
|
241
|
+
/** Name of the token. */
|
|
242
|
+
name: string;
|
|
243
|
+
/** Purpose for which the token is generated. */
|
|
244
|
+
purpose?: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
responses: {
|
|
248
|
+
/** Token generated */
|
|
249
|
+
200: {
|
|
250
|
+
content: {
|
|
251
|
+
"application/json": {
|
|
252
|
+
tokens: {
|
|
253
|
+
/**
|
|
254
|
+
* Format: uuid
|
|
255
|
+
* @description Unique identifier for the token.
|
|
256
|
+
*/
|
|
257
|
+
id?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Format: uuid
|
|
260
|
+
* @description UUID of the user who owns the token.
|
|
261
|
+
*/
|
|
262
|
+
user_id?: string;
|
|
263
|
+
/** @description Authentication provider associated with the token. */
|
|
264
|
+
provider?: string;
|
|
265
|
+
/** @description Access token value. */
|
|
266
|
+
access_token?: string;
|
|
267
|
+
/** @description Refresh token value when applicable. */
|
|
268
|
+
refresh_token?: string;
|
|
269
|
+
/** @description Human-readable token name. */
|
|
270
|
+
name?: string;
|
|
271
|
+
/** @description Purpose for which the token was created. */
|
|
272
|
+
purpose?: string;
|
|
273
|
+
/** @description Whether this entry represents an OAuth session. */
|
|
274
|
+
is_oauth?: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* Format: date-time
|
|
277
|
+
* @description Timestamp when the resource was created.
|
|
278
|
+
*/
|
|
279
|
+
created_at?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Format: date-time
|
|
282
|
+
* @description Timestamp when the resource was updated.
|
|
283
|
+
*/
|
|
284
|
+
updated_at?: string;
|
|
285
|
+
}[];
|
|
286
|
+
/** @description Total number of tokens across all pages. */
|
|
287
|
+
total_count: number;
|
|
288
|
+
/** @description Current page number (zero-based). */
|
|
289
|
+
page: number;
|
|
290
|
+
/** @description Number of tokens per page. */
|
|
291
|
+
page_size: number;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
/** Invalid request body or request param */
|
|
296
|
+
400: {
|
|
297
|
+
content: {
|
|
298
|
+
"text/plain": string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
/** Expired JWT token used or insufficient privilege */
|
|
302
|
+
401: {
|
|
303
|
+
content: {
|
|
304
|
+
"text/plain": string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
/** Internal server error */
|
|
308
|
+
500: {
|
|
309
|
+
content: {
|
|
310
|
+
"text/plain": string;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
/** Deletes a specific token for the authenticated user. */
|
|
316
|
+
deleteUserToken: {
|
|
317
|
+
parameters: {
|
|
318
|
+
query: {
|
|
319
|
+
/** ID of the token. */
|
|
320
|
+
token_id: string;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
responses: {
|
|
324
|
+
/** Token deleted */
|
|
325
|
+
200: {
|
|
326
|
+
content: {
|
|
327
|
+
"application/json": {
|
|
328
|
+
tokens: {
|
|
329
|
+
/**
|
|
330
|
+
* Format: uuid
|
|
331
|
+
* @description Unique identifier for the token.
|
|
332
|
+
*/
|
|
333
|
+
id?: string;
|
|
334
|
+
/**
|
|
335
|
+
* Format: uuid
|
|
336
|
+
* @description UUID of the user who owns the token.
|
|
337
|
+
*/
|
|
338
|
+
user_id?: string;
|
|
339
|
+
/** @description Authentication provider associated with the token. */
|
|
340
|
+
provider?: string;
|
|
341
|
+
/** @description Access token value. */
|
|
342
|
+
access_token?: string;
|
|
343
|
+
/** @description Refresh token value when applicable. */
|
|
344
|
+
refresh_token?: string;
|
|
345
|
+
/** @description Human-readable token name. */
|
|
346
|
+
name?: string;
|
|
347
|
+
/** @description Purpose for which the token was created. */
|
|
348
|
+
purpose?: string;
|
|
349
|
+
/** @description Whether this entry represents an OAuth session. */
|
|
350
|
+
is_oauth?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* Format: date-time
|
|
353
|
+
* @description Timestamp when the resource was created.
|
|
354
|
+
*/
|
|
355
|
+
created_at?: string;
|
|
356
|
+
/**
|
|
357
|
+
* Format: date-time
|
|
358
|
+
* @description Timestamp when the resource was updated.
|
|
359
|
+
*/
|
|
360
|
+
updated_at?: string;
|
|
361
|
+
}[];
|
|
362
|
+
/** @description Total number of tokens across all pages. */
|
|
363
|
+
total_count: number;
|
|
364
|
+
/** @description Current page number (zero-based). */
|
|
365
|
+
page: number;
|
|
366
|
+
/** @description Number of tokens per page. */
|
|
367
|
+
page_size: number;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
/** Invalid request body or request param */
|
|
372
|
+
400: {
|
|
373
|
+
content: {
|
|
374
|
+
"text/plain": string;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
/** Expired JWT token used or insufficient privilege */
|
|
378
|
+
401: {
|
|
379
|
+
content: {
|
|
380
|
+
"text/plain": string;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
/** Internal server error */
|
|
384
|
+
500: {
|
|
385
|
+
content: {
|
|
386
|
+
"text/plain": string;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
/** Retrieves a specific token by its ID. */
|
|
392
|
+
getUserTokensById: {
|
|
393
|
+
parameters: {
|
|
394
|
+
path: {
|
|
395
|
+
/** Token ID */
|
|
396
|
+
id: string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
responses: {
|
|
400
|
+
/** Token response */
|
|
401
|
+
200: {
|
|
402
|
+
content: {
|
|
403
|
+
"application/json": {
|
|
404
|
+
/**
|
|
405
|
+
* Format: uuid
|
|
406
|
+
* @description Unique identifier for the token.
|
|
407
|
+
*/
|
|
408
|
+
id?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Format: uuid
|
|
411
|
+
* @description UUID of the user who owns the token.
|
|
412
|
+
*/
|
|
413
|
+
user_id?: string;
|
|
414
|
+
/** @description Authentication provider associated with the token. */
|
|
415
|
+
provider?: string;
|
|
416
|
+
/** @description Access token value. */
|
|
417
|
+
access_token?: string;
|
|
418
|
+
/** @description Refresh token value when applicable. */
|
|
419
|
+
refresh_token?: string;
|
|
420
|
+
/** @description Human-readable token name. */
|
|
421
|
+
name?: string;
|
|
422
|
+
/** @description Purpose for which the token was created. */
|
|
423
|
+
purpose?: string;
|
|
424
|
+
/** @description Whether this entry represents an OAuth session. */
|
|
425
|
+
is_oauth?: boolean;
|
|
426
|
+
/**
|
|
427
|
+
* Format: date-time
|
|
428
|
+
* @description Timestamp when the resource was created.
|
|
429
|
+
*/
|
|
430
|
+
created_at?: string;
|
|
431
|
+
/**
|
|
432
|
+
* Format: date-time
|
|
433
|
+
* @description Timestamp when the resource was updated.
|
|
434
|
+
*/
|
|
435
|
+
updated_at?: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
/** Expired JWT token used or insufficient privilege */
|
|
440
|
+
401: {
|
|
441
|
+
content: {
|
|
442
|
+
"text/plain": string;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
/** Result not found */
|
|
446
|
+
404: {
|
|
447
|
+
content: {
|
|
448
|
+
"text/plain": string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
/** Internal server error */
|
|
452
|
+
500: {
|
|
453
|
+
content: {
|
|
454
|
+
"text/plain": string;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
/** Creates a non-expiring user token for provider admin use cases. */
|
|
460
|
+
issueIndefiniteLifetimeToken: {
|
|
461
|
+
parameters: {
|
|
462
|
+
query: {
|
|
463
|
+
/** UUID of the user. */
|
|
464
|
+
user_id: string;
|
|
465
|
+
/** Remote provider. */
|
|
466
|
+
provider: string;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
responses: {
|
|
470
|
+
/** Token generated */
|
|
471
|
+
200: {
|
|
472
|
+
content: {
|
|
473
|
+
"application/json": {
|
|
474
|
+
tokens: {
|
|
475
|
+
/**
|
|
476
|
+
* Format: uuid
|
|
477
|
+
* @description Unique identifier for the token.
|
|
478
|
+
*/
|
|
479
|
+
id?: string;
|
|
480
|
+
/**
|
|
481
|
+
* Format: uuid
|
|
482
|
+
* @description UUID of the user who owns the token.
|
|
483
|
+
*/
|
|
484
|
+
user_id?: string;
|
|
485
|
+
/** @description Authentication provider associated with the token. */
|
|
486
|
+
provider?: string;
|
|
487
|
+
/** @description Access token value. */
|
|
488
|
+
access_token?: string;
|
|
489
|
+
/** @description Refresh token value when applicable. */
|
|
490
|
+
refresh_token?: string;
|
|
491
|
+
/** @description Human-readable token name. */
|
|
492
|
+
name?: string;
|
|
493
|
+
/** @description Purpose for which the token was created. */
|
|
494
|
+
purpose?: string;
|
|
495
|
+
/** @description Whether this entry represents an OAuth session. */
|
|
496
|
+
is_oauth?: boolean;
|
|
497
|
+
/**
|
|
498
|
+
* Format: date-time
|
|
499
|
+
* @description Timestamp when the resource was created.
|
|
500
|
+
*/
|
|
501
|
+
created_at?: string;
|
|
502
|
+
/**
|
|
503
|
+
* Format: date-time
|
|
504
|
+
* @description Timestamp when the resource was updated.
|
|
505
|
+
*/
|
|
506
|
+
updated_at?: string;
|
|
507
|
+
}[];
|
|
508
|
+
/** @description Total number of tokens across all pages. */
|
|
509
|
+
total_count: number;
|
|
510
|
+
/** @description Current page number (zero-based). */
|
|
511
|
+
page: number;
|
|
512
|
+
/** @description Number of tokens per page. */
|
|
513
|
+
page_size: number;
|
|
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
|
+
/** Internal server error */
|
|
530
|
+
500: {
|
|
531
|
+
content: {
|
|
532
|
+
"text/plain": string;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export interface external {}
|