@meshery/schemas 0.8.127 → 0.8.129
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/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
- package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
- package/dist/cloudApi.d.mts +13676 -3825
- package/dist/cloudApi.d.ts +13676 -3825
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
- package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
- package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
- package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
- package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
- package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.js +1 -0
- package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
- package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
- package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
- package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
- package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
- package/dist/constructs/v1beta1/role/Role.js +1 -0
- package/dist/constructs/v1beta1/role/Role.mjs +0 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
- package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +283 -43
- package/dist/index.mjs +283 -43
- package/dist/mesheryApi.d.mts +2025 -183
- package/dist/mesheryApi.d.ts +2025 -183
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,517 @@
|
|
|
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/integrations/credentials": {
|
|
7
|
+
/** Retrieves all credentials belonging to the authenticated user. */
|
|
8
|
+
get: operations["getUserCredentials"];
|
|
9
|
+
/** Updates an existing credential for the authenticated user. */
|
|
10
|
+
put: operations["updateUserCredential"];
|
|
11
|
+
/** Saves a new credential for the authenticated user. */
|
|
12
|
+
post: operations["saveUserCredential"];
|
|
13
|
+
};
|
|
14
|
+
"/api/integrations/credentials/{id}": {
|
|
15
|
+
/** Retrieves a specific credential by its ID. */
|
|
16
|
+
get: operations["getCredentialByID"];
|
|
17
|
+
/** Deletes a credential belonging to the authenticated user. */
|
|
18
|
+
delete: operations["deleteUserCredential"];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
interface components {
|
|
22
|
+
schemas: {
|
|
23
|
+
/** @description Meshery Credentials store sensitive information such as API keys, tokens, and passwords used by connections to external systems. */
|
|
24
|
+
Credential: {
|
|
25
|
+
/**
|
|
26
|
+
* Format: uuid
|
|
27
|
+
* @description Unique identifier for the credential.
|
|
28
|
+
*/
|
|
29
|
+
id?: string;
|
|
30
|
+
/** @description Human-readable name for the credential. */
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Format: uuid
|
|
34
|
+
* @description UUID of the user who owns this credential.
|
|
35
|
+
*/
|
|
36
|
+
user_id?: string;
|
|
37
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
38
|
+
type: string;
|
|
39
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
40
|
+
secret?: {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Format: date-time
|
|
45
|
+
* @description Timestamp when the resource was created.
|
|
46
|
+
*/
|
|
47
|
+
created_at?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Format: date-time
|
|
50
|
+
* @description Timestamp when the resource was updated.
|
|
51
|
+
*/
|
|
52
|
+
updated_at?: string;
|
|
53
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
54
|
+
deleted_at?: string;
|
|
55
|
+
};
|
|
56
|
+
/** @description A paginated list of credentials. */
|
|
57
|
+
CredentialPage: {
|
|
58
|
+
credentials: {
|
|
59
|
+
/**
|
|
60
|
+
* Format: uuid
|
|
61
|
+
* @description Unique identifier for the credential.
|
|
62
|
+
*/
|
|
63
|
+
id?: string;
|
|
64
|
+
/** @description Human-readable name for the credential. */
|
|
65
|
+
name: string;
|
|
66
|
+
/**
|
|
67
|
+
* Format: uuid
|
|
68
|
+
* @description UUID of the user who owns this credential.
|
|
69
|
+
*/
|
|
70
|
+
user_id?: string;
|
|
71
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
72
|
+
type: string;
|
|
73
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
74
|
+
secret?: {
|
|
75
|
+
[key: string]: unknown;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Format: date-time
|
|
79
|
+
* @description Timestamp when the resource was created.
|
|
80
|
+
*/
|
|
81
|
+
created_at?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Format: date-time
|
|
84
|
+
* @description Timestamp when the resource was updated.
|
|
85
|
+
*/
|
|
86
|
+
updated_at?: string;
|
|
87
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
88
|
+
deleted_at?: string;
|
|
89
|
+
}[];
|
|
90
|
+
/** @description Total number of credentials across all pages. */
|
|
91
|
+
total_count: number;
|
|
92
|
+
/** @description Current page number (zero-based). */
|
|
93
|
+
page: number;
|
|
94
|
+
/** @description Number of credentials per page. */
|
|
95
|
+
page_size: number;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
responses: {
|
|
99
|
+
/** Invalid request body or request param */
|
|
100
|
+
400: {
|
|
101
|
+
content: {
|
|
102
|
+
"text/plain": string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
/** Expired JWT token used or insufficient privilege */
|
|
106
|
+
401: {
|
|
107
|
+
content: {
|
|
108
|
+
"text/plain": string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
/** Result not found */
|
|
112
|
+
404: {
|
|
113
|
+
content: {
|
|
114
|
+
"text/plain": string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
/** Internal server error */
|
|
118
|
+
500: {
|
|
119
|
+
content: {
|
|
120
|
+
"text/plain": string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
parameters: {
|
|
125
|
+
/** @description Credential ID */
|
|
126
|
+
id: string;
|
|
127
|
+
/** @description Get responses by page */
|
|
128
|
+
page: string;
|
|
129
|
+
/** @description Get responses by pagesize */
|
|
130
|
+
pagesize: string;
|
|
131
|
+
/** @description Get responses that match search param value */
|
|
132
|
+
search: string;
|
|
133
|
+
/** @description Get ordered responses */
|
|
134
|
+
order: string;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
interface operations {
|
|
138
|
+
/** Retrieves all credentials belonging to the authenticated user. */
|
|
139
|
+
getUserCredentials: {
|
|
140
|
+
parameters: {
|
|
141
|
+
query: {
|
|
142
|
+
/** Get responses by page */
|
|
143
|
+
page?: string;
|
|
144
|
+
/** Get responses by pagesize */
|
|
145
|
+
pagesize?: string;
|
|
146
|
+
/** Get responses that match search param value */
|
|
147
|
+
search?: string;
|
|
148
|
+
/** Get ordered responses */
|
|
149
|
+
order?: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
responses: {
|
|
153
|
+
/** Credentials fetched successfully */
|
|
154
|
+
200: {
|
|
155
|
+
content: {
|
|
156
|
+
"application/json": {
|
|
157
|
+
credentials: {
|
|
158
|
+
/**
|
|
159
|
+
* Format: uuid
|
|
160
|
+
* @description Unique identifier for the credential.
|
|
161
|
+
*/
|
|
162
|
+
id?: string;
|
|
163
|
+
/** @description Human-readable name for the credential. */
|
|
164
|
+
name: string;
|
|
165
|
+
/**
|
|
166
|
+
* Format: uuid
|
|
167
|
+
* @description UUID of the user who owns this credential.
|
|
168
|
+
*/
|
|
169
|
+
user_id?: string;
|
|
170
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
171
|
+
type: string;
|
|
172
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
173
|
+
secret?: {
|
|
174
|
+
[key: string]: unknown;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Format: date-time
|
|
178
|
+
* @description Timestamp when the resource was created.
|
|
179
|
+
*/
|
|
180
|
+
created_at?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Format: date-time
|
|
183
|
+
* @description Timestamp when the resource was updated.
|
|
184
|
+
*/
|
|
185
|
+
updated_at?: string;
|
|
186
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
187
|
+
deleted_at?: string;
|
|
188
|
+
}[];
|
|
189
|
+
/** @description Total number of credentials across all pages. */
|
|
190
|
+
total_count: number;
|
|
191
|
+
/** @description Current page number (zero-based). */
|
|
192
|
+
page: number;
|
|
193
|
+
/** @description Number of credentials per page. */
|
|
194
|
+
page_size: number;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
/** Expired JWT token used or insufficient privilege */
|
|
199
|
+
401: {
|
|
200
|
+
content: {
|
|
201
|
+
"text/plain": string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
/** Internal server error */
|
|
205
|
+
500: {
|
|
206
|
+
content: {
|
|
207
|
+
"text/plain": string;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
/** Updates an existing credential for the authenticated user. */
|
|
213
|
+
updateUserCredential: {
|
|
214
|
+
responses: {
|
|
215
|
+
/** Credential updated successfully */
|
|
216
|
+
200: {
|
|
217
|
+
content: {
|
|
218
|
+
"application/json": {
|
|
219
|
+
/**
|
|
220
|
+
* Format: uuid
|
|
221
|
+
* @description Unique identifier for the credential.
|
|
222
|
+
*/
|
|
223
|
+
id?: string;
|
|
224
|
+
/** @description Human-readable name for the credential. */
|
|
225
|
+
name: string;
|
|
226
|
+
/**
|
|
227
|
+
* Format: uuid
|
|
228
|
+
* @description UUID of the user who owns this credential.
|
|
229
|
+
*/
|
|
230
|
+
user_id?: string;
|
|
231
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
232
|
+
type: string;
|
|
233
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
234
|
+
secret?: {
|
|
235
|
+
[key: string]: unknown;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Format: date-time
|
|
239
|
+
* @description Timestamp when the resource was created.
|
|
240
|
+
*/
|
|
241
|
+
created_at?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Format: date-time
|
|
244
|
+
* @description Timestamp when the resource was updated.
|
|
245
|
+
*/
|
|
246
|
+
updated_at?: string;
|
|
247
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
248
|
+
deleted_at?: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
/** Invalid request body or request param */
|
|
253
|
+
400: {
|
|
254
|
+
content: {
|
|
255
|
+
"text/plain": string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
/** Expired JWT token used or insufficient privilege */
|
|
259
|
+
401: {
|
|
260
|
+
content: {
|
|
261
|
+
"text/plain": string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
/** Result not found */
|
|
265
|
+
404: {
|
|
266
|
+
content: {
|
|
267
|
+
"text/plain": string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
/** Internal server error */
|
|
271
|
+
500: {
|
|
272
|
+
content: {
|
|
273
|
+
"text/plain": string;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
requestBody: {
|
|
278
|
+
content: {
|
|
279
|
+
"application/json": {
|
|
280
|
+
/**
|
|
281
|
+
* Format: uuid
|
|
282
|
+
* @description Unique identifier for the credential.
|
|
283
|
+
*/
|
|
284
|
+
id?: string;
|
|
285
|
+
/** @description Human-readable name for the credential. */
|
|
286
|
+
name: string;
|
|
287
|
+
/**
|
|
288
|
+
* Format: uuid
|
|
289
|
+
* @description UUID of the user who owns this credential.
|
|
290
|
+
*/
|
|
291
|
+
user_id?: string;
|
|
292
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
293
|
+
type: string;
|
|
294
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
295
|
+
secret?: {
|
|
296
|
+
[key: string]: unknown;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Format: date-time
|
|
300
|
+
* @description Timestamp when the resource was created.
|
|
301
|
+
*/
|
|
302
|
+
created_at?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Format: date-time
|
|
305
|
+
* @description Timestamp when the resource was updated.
|
|
306
|
+
*/
|
|
307
|
+
updated_at?: string;
|
|
308
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
309
|
+
deleted_at?: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
/** Saves a new credential for the authenticated user. */
|
|
315
|
+
saveUserCredential: {
|
|
316
|
+
responses: {
|
|
317
|
+
/** Credential saved successfully */
|
|
318
|
+
201: {
|
|
319
|
+
content: {
|
|
320
|
+
"application/json": {
|
|
321
|
+
/**
|
|
322
|
+
* Format: uuid
|
|
323
|
+
* @description Unique identifier for the credential.
|
|
324
|
+
*/
|
|
325
|
+
id?: string;
|
|
326
|
+
/** @description Human-readable name for the credential. */
|
|
327
|
+
name: string;
|
|
328
|
+
/**
|
|
329
|
+
* Format: uuid
|
|
330
|
+
* @description UUID of the user who owns this credential.
|
|
331
|
+
*/
|
|
332
|
+
user_id?: string;
|
|
333
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
334
|
+
type: string;
|
|
335
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
336
|
+
secret?: {
|
|
337
|
+
[key: string]: unknown;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Format: date-time
|
|
341
|
+
* @description Timestamp when the resource was created.
|
|
342
|
+
*/
|
|
343
|
+
created_at?: string;
|
|
344
|
+
/**
|
|
345
|
+
* Format: date-time
|
|
346
|
+
* @description Timestamp when the resource was updated.
|
|
347
|
+
*/
|
|
348
|
+
updated_at?: string;
|
|
349
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
350
|
+
deleted_at?: string;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
/** Invalid request body or request param */
|
|
355
|
+
400: {
|
|
356
|
+
content: {
|
|
357
|
+
"text/plain": string;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
/** Expired JWT token used or insufficient privilege */
|
|
361
|
+
401: {
|
|
362
|
+
content: {
|
|
363
|
+
"text/plain": string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
/** Internal server error */
|
|
367
|
+
500: {
|
|
368
|
+
content: {
|
|
369
|
+
"text/plain": string;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
requestBody: {
|
|
374
|
+
content: {
|
|
375
|
+
"application/json": {
|
|
376
|
+
/**
|
|
377
|
+
* Format: uuid
|
|
378
|
+
* @description Unique identifier for the credential.
|
|
379
|
+
*/
|
|
380
|
+
id?: string;
|
|
381
|
+
/** @description Human-readable name for the credential. */
|
|
382
|
+
name: string;
|
|
383
|
+
/**
|
|
384
|
+
* Format: uuid
|
|
385
|
+
* @description UUID of the user who owns this credential.
|
|
386
|
+
*/
|
|
387
|
+
user_id?: string;
|
|
388
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
389
|
+
type: string;
|
|
390
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
391
|
+
secret?: {
|
|
392
|
+
[key: string]: unknown;
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* Format: date-time
|
|
396
|
+
* @description Timestamp when the resource was created.
|
|
397
|
+
*/
|
|
398
|
+
created_at?: string;
|
|
399
|
+
/**
|
|
400
|
+
* Format: date-time
|
|
401
|
+
* @description Timestamp when the resource was updated.
|
|
402
|
+
*/
|
|
403
|
+
updated_at?: string;
|
|
404
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
405
|
+
deleted_at?: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
/** Retrieves a specific credential by its ID. */
|
|
411
|
+
getCredentialByID: {
|
|
412
|
+
parameters: {
|
|
413
|
+
path: {
|
|
414
|
+
/** Credential ID */
|
|
415
|
+
id: string;
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
responses: {
|
|
419
|
+
/** Credential fetched successfully */
|
|
420
|
+
200: {
|
|
421
|
+
content: {
|
|
422
|
+
"application/json": {
|
|
423
|
+
/**
|
|
424
|
+
* Format: uuid
|
|
425
|
+
* @description Unique identifier for the credential.
|
|
426
|
+
*/
|
|
427
|
+
id?: string;
|
|
428
|
+
/** @description Human-readable name for the credential. */
|
|
429
|
+
name: string;
|
|
430
|
+
/**
|
|
431
|
+
* Format: uuid
|
|
432
|
+
* @description UUID of the user who owns this credential.
|
|
433
|
+
*/
|
|
434
|
+
user_id?: string;
|
|
435
|
+
/** @description Credential type (e.g. token, basic, AWS). */
|
|
436
|
+
type: string;
|
|
437
|
+
/** @description Key-value pairs containing the sensitive credential data. */
|
|
438
|
+
secret?: {
|
|
439
|
+
[key: string]: unknown;
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* Format: date-time
|
|
443
|
+
* @description Timestamp when the resource was created.
|
|
444
|
+
*/
|
|
445
|
+
created_at?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Format: date-time
|
|
448
|
+
* @description Timestamp when the resource was updated.
|
|
449
|
+
*/
|
|
450
|
+
updated_at?: string;
|
|
451
|
+
/** @description Timestamp when the credential was soft-deleted. */
|
|
452
|
+
deleted_at?: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
/** Expired JWT token used or insufficient privilege */
|
|
457
|
+
401: {
|
|
458
|
+
content: {
|
|
459
|
+
"text/plain": string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
/** Result not found */
|
|
463
|
+
404: {
|
|
464
|
+
content: {
|
|
465
|
+
"text/plain": string;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
/** Internal server error */
|
|
469
|
+
500: {
|
|
470
|
+
content: {
|
|
471
|
+
"text/plain": string;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
/** Deletes a credential belonging to the authenticated user. */
|
|
477
|
+
deleteUserCredential: {
|
|
478
|
+
parameters: {
|
|
479
|
+
path: {
|
|
480
|
+
/** Credential ID */
|
|
481
|
+
id: string;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
responses: {
|
|
485
|
+
/** Credential deleted successfully */
|
|
486
|
+
204: never;
|
|
487
|
+
/** Invalid request body or request param */
|
|
488
|
+
400: {
|
|
489
|
+
content: {
|
|
490
|
+
"text/plain": string;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
/** Expired JWT token used or insufficient privilege */
|
|
494
|
+
401: {
|
|
495
|
+
content: {
|
|
496
|
+
"text/plain": string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
/** Result not found */
|
|
500
|
+
404: {
|
|
501
|
+
content: {
|
|
502
|
+
"text/plain": string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
/** Internal server error */
|
|
506
|
+
500: {
|
|
507
|
+
content: {
|
|
508
|
+
"text/plain": string;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
interface external {
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export type { components, external, operations, paths };
|