@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.
- 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/package.json +2 -2
|
@@ -0,0 +1,759 @@
|
|
|
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/content/views": {
|
|
8
|
+
/** Returns a paginated list of views accessible to the user. */
|
|
9
|
+
get: operations["getViews"];
|
|
10
|
+
/** Creates a new view with the given filters and metadata. */
|
|
11
|
+
post: operations["createView"];
|
|
12
|
+
};
|
|
13
|
+
"/api/content/view/share": {
|
|
14
|
+
/**
|
|
15
|
+
* Shares a view with a list of email addresses. When `share` is true, the
|
|
16
|
+
* view's visibility is flipped to public and an invitation email is sent
|
|
17
|
+
* to each recipient. When `share` is false, visibility is reverted to
|
|
18
|
+
* private. Only the owner of the view (or a provider admin) may change
|
|
19
|
+
* its sharing mode.
|
|
20
|
+
*/
|
|
21
|
+
post: operations["shareView"];
|
|
22
|
+
};
|
|
23
|
+
"/api/content/views/{viewId}": {
|
|
24
|
+
/** Returns a single view by its unique identifier. */
|
|
25
|
+
get: operations["getViewById"];
|
|
26
|
+
/** Updates an existing view with new filters, metadata, or visibility. */
|
|
27
|
+
put: operations["updateView"];
|
|
28
|
+
/** Soft-deletes a view by its unique identifier. */
|
|
29
|
+
delete: operations["deleteView"];
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface components {
|
|
34
|
+
schemas: {
|
|
35
|
+
/**
|
|
36
|
+
* MesheryView
|
|
37
|
+
* @description A saved view with filters and metadata that defines a customized perspective of Meshery resources. Learn more at https://docs.meshery.io/concepts/logical/views
|
|
38
|
+
* @example {
|
|
39
|
+
* "id": "00000000-0000-0000-0000-000000000000",
|
|
40
|
+
* "name": "My Kubernetes View",
|
|
41
|
+
* "visibility": "private",
|
|
42
|
+
* "filters": {},
|
|
43
|
+
* "metadata": {},
|
|
44
|
+
* "user_id": "00000000-0000-0000-0000-000000000000",
|
|
45
|
+
* "created_at": "0001-01-01T00:00:00Z",
|
|
46
|
+
* "updated_at": "0001-01-01T00:00:00Z",
|
|
47
|
+
* "deleted_at": null
|
|
48
|
+
* }
|
|
49
|
+
*/
|
|
50
|
+
MesheryView: {
|
|
51
|
+
/**
|
|
52
|
+
* Format: uuid
|
|
53
|
+
* @description Unique identifier for the view.
|
|
54
|
+
*/
|
|
55
|
+
id: string;
|
|
56
|
+
/** @description Display name of the view. */
|
|
57
|
+
name: string;
|
|
58
|
+
/** @description Visibility level of the view. */
|
|
59
|
+
visibility: string;
|
|
60
|
+
/** @description Filter configuration that defines which resources this view displays. */
|
|
61
|
+
filters?: { [key: string]: unknown };
|
|
62
|
+
/** @description Additional metadata associated with the view. */
|
|
63
|
+
metadata?: { [key: string]: unknown };
|
|
64
|
+
/**
|
|
65
|
+
* Format: uuid
|
|
66
|
+
* @description ID of the user who created the view.
|
|
67
|
+
*/
|
|
68
|
+
user_id: string;
|
|
69
|
+
/**
|
|
70
|
+
* Format: date-time
|
|
71
|
+
* @description Timestamp when the view was created.
|
|
72
|
+
*/
|
|
73
|
+
created_at: string;
|
|
74
|
+
/**
|
|
75
|
+
* Format: date-time
|
|
76
|
+
* @description Timestamp when the view was last updated.
|
|
77
|
+
*/
|
|
78
|
+
updated_at: string;
|
|
79
|
+
/**
|
|
80
|
+
* Format: date-time
|
|
81
|
+
* @description Timestamp when the view was soft deleted. Null while the view remains active.
|
|
82
|
+
*/
|
|
83
|
+
deleted_at?: string | null;
|
|
84
|
+
};
|
|
85
|
+
/** @description A view enriched with the workspace and organization it belongs to. */
|
|
86
|
+
MesheryViewWithLocation: {
|
|
87
|
+
/** Format: uuid */
|
|
88
|
+
id?: string;
|
|
89
|
+
/** @description Display name of the view. */
|
|
90
|
+
name?: string;
|
|
91
|
+
/** @description Visibility level of the view. */
|
|
92
|
+
visibility?: string;
|
|
93
|
+
/** @description Filter configuration for this view. */
|
|
94
|
+
filters?: { [key: string]: unknown };
|
|
95
|
+
/** @description Metadata associated with the view. */
|
|
96
|
+
metadata?: { [key: string]: unknown };
|
|
97
|
+
/**
|
|
98
|
+
* Format: uuid
|
|
99
|
+
* @description ID of the user who created the view.
|
|
100
|
+
*/
|
|
101
|
+
user_id?: string;
|
|
102
|
+
/** @description Name of the workspace this view belongs to. */
|
|
103
|
+
workspace_name?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Format: uuid
|
|
106
|
+
* @description ID of the workspace this view belongs to.
|
|
107
|
+
*/
|
|
108
|
+
workspace_id: string;
|
|
109
|
+
/**
|
|
110
|
+
* Format: uuid
|
|
111
|
+
* @description ID of the organization this view belongs to.
|
|
112
|
+
*/
|
|
113
|
+
organization_id: string;
|
|
114
|
+
/** @description Name of the organization this view belongs to. */
|
|
115
|
+
organization_name?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Format: date-time
|
|
118
|
+
* @description Timestamp when the resource was created.
|
|
119
|
+
*/
|
|
120
|
+
created_at?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Format: date-time
|
|
123
|
+
* @description Timestamp when the resource was updated.
|
|
124
|
+
*/
|
|
125
|
+
updated_at?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Format: date-time
|
|
128
|
+
* @description Timestamp when the view was soft deleted. Null while the view remains active.
|
|
129
|
+
*/
|
|
130
|
+
deleted_at?: string;
|
|
131
|
+
};
|
|
132
|
+
/** @description Payload for creating or updating a view. */
|
|
133
|
+
ViewPayload: {
|
|
134
|
+
/** @description Display name of the view. */
|
|
135
|
+
name: string;
|
|
136
|
+
/** @description Filter configuration for this view. */
|
|
137
|
+
filters?: { [key: string]: unknown };
|
|
138
|
+
/** @description Visibility level of the view. */
|
|
139
|
+
visibility?: string;
|
|
140
|
+
/** @description Metadata associated with the view. */
|
|
141
|
+
metadata?: { [key: string]: unknown };
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* @description Payload for sharing a view with one or more recipients by email. The
|
|
145
|
+
* wire format matches the canonical design share payload
|
|
146
|
+
* (`design.ContentSharePayload` in `v1beta2/design`), restricted to the
|
|
147
|
+
* `view` content type since that is all this endpoint accepts.
|
|
148
|
+
*/
|
|
149
|
+
ContentSharePayload: {
|
|
150
|
+
/**
|
|
151
|
+
* Format: uuid
|
|
152
|
+
* @description Identifier of the view being shared.
|
|
153
|
+
*/
|
|
154
|
+
content_id: string;
|
|
155
|
+
/**
|
|
156
|
+
* @description The kind of content being shared. Only `view` is accepted on this
|
|
157
|
+
* endpoint.
|
|
158
|
+
*
|
|
159
|
+
* @enum {string}
|
|
160
|
+
*/
|
|
161
|
+
content_type: "view";
|
|
162
|
+
/** @description Email addresses of the recipients to share this view with. */
|
|
163
|
+
emails: string[];
|
|
164
|
+
/**
|
|
165
|
+
* @description When true, flip the view's visibility to public and send invitation
|
|
166
|
+
* emails to the recipients. When false, revert visibility to private.
|
|
167
|
+
*/
|
|
168
|
+
share: boolean;
|
|
169
|
+
};
|
|
170
|
+
/** @description Paginated list of views with location enrichment. */
|
|
171
|
+
MesheryViewPage: {
|
|
172
|
+
page?: number;
|
|
173
|
+
page_size?: number;
|
|
174
|
+
total_count?: number;
|
|
175
|
+
/** @description Views in this page, enriched with workspace and organization context. */
|
|
176
|
+
views?: {
|
|
177
|
+
/** Format: uuid */
|
|
178
|
+
id?: string;
|
|
179
|
+
/** @description Display name of the view. */
|
|
180
|
+
name?: string;
|
|
181
|
+
/** @description Visibility level of the view. */
|
|
182
|
+
visibility?: string;
|
|
183
|
+
/** @description Filter configuration for this view. */
|
|
184
|
+
filters?: { [key: string]: unknown };
|
|
185
|
+
/** @description Metadata associated with the view. */
|
|
186
|
+
metadata?: { [key: string]: unknown };
|
|
187
|
+
/**
|
|
188
|
+
* Format: uuid
|
|
189
|
+
* @description ID of the user who created the view.
|
|
190
|
+
*/
|
|
191
|
+
user_id?: string;
|
|
192
|
+
/** @description Name of the workspace this view belongs to. */
|
|
193
|
+
workspace_name?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Format: uuid
|
|
196
|
+
* @description ID of the workspace this view belongs to.
|
|
197
|
+
*/
|
|
198
|
+
workspace_id: string;
|
|
199
|
+
/**
|
|
200
|
+
* Format: uuid
|
|
201
|
+
* @description ID of the organization this view belongs to.
|
|
202
|
+
*/
|
|
203
|
+
organization_id: string;
|
|
204
|
+
/** @description Name of the organization this view belongs to. */
|
|
205
|
+
organization_name?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Format: date-time
|
|
208
|
+
* @description Timestamp when the resource was created.
|
|
209
|
+
*/
|
|
210
|
+
created_at?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Format: date-time
|
|
213
|
+
* @description Timestamp when the resource was updated.
|
|
214
|
+
*/
|
|
215
|
+
updated_at?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Format: date-time
|
|
218
|
+
* @description Timestamp when the view was soft deleted. Null while the view remains active.
|
|
219
|
+
*/
|
|
220
|
+
deleted_at?: string;
|
|
221
|
+
}[];
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
responses: {
|
|
225
|
+
/** ok */
|
|
226
|
+
200: {
|
|
227
|
+
content: {
|
|
228
|
+
"text/plain": string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
/** Invalid request body or request param */
|
|
232
|
+
400: {
|
|
233
|
+
content: {
|
|
234
|
+
"text/plain": string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/** Expired JWT token used or insufficient privilege */
|
|
238
|
+
401: {
|
|
239
|
+
content: {
|
|
240
|
+
"text/plain": string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
/** Result not found */
|
|
244
|
+
404: {
|
|
245
|
+
content: {
|
|
246
|
+
"text/plain": string;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
/** Internal server error */
|
|
250
|
+
500: {
|
|
251
|
+
content: {
|
|
252
|
+
"text/plain": string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
parameters: {
|
|
257
|
+
/** @description View ID */
|
|
258
|
+
viewId: string;
|
|
259
|
+
/** @description Get responses that match search param value */
|
|
260
|
+
search: string;
|
|
261
|
+
/** @description Get ordered responses */
|
|
262
|
+
order: string;
|
|
263
|
+
/** @description Get responses by page */
|
|
264
|
+
page: string;
|
|
265
|
+
/** @description Get responses by pagesize */
|
|
266
|
+
pagesize: string;
|
|
267
|
+
/** @description Organization ID to scope the request. */
|
|
268
|
+
orgIdQuery: string;
|
|
269
|
+
};
|
|
270
|
+
requestBodies: {
|
|
271
|
+
/** Body for creating or updating a view */
|
|
272
|
+
viewPayload: {
|
|
273
|
+
content: {
|
|
274
|
+
"application/json": {
|
|
275
|
+
/** @description Display name of the view. */
|
|
276
|
+
name: string;
|
|
277
|
+
/** @description Filter configuration for this view. */
|
|
278
|
+
filters?: { [key: string]: unknown };
|
|
279
|
+
/** @description Visibility level of the view. */
|
|
280
|
+
visibility?: string;
|
|
281
|
+
/** @description Metadata associated with the view. */
|
|
282
|
+
metadata?: { [key: string]: unknown };
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
/** Body for sharing a view with recipients by email. */
|
|
287
|
+
contentSharePayload: {
|
|
288
|
+
content: {
|
|
289
|
+
"application/json": {
|
|
290
|
+
/**
|
|
291
|
+
* Format: uuid
|
|
292
|
+
* @description Identifier of the view being shared.
|
|
293
|
+
*/
|
|
294
|
+
content_id: string;
|
|
295
|
+
/**
|
|
296
|
+
* @description The kind of content being shared. Only `view` is accepted on this
|
|
297
|
+
* endpoint.
|
|
298
|
+
*
|
|
299
|
+
* @enum {string}
|
|
300
|
+
*/
|
|
301
|
+
content_type: "view";
|
|
302
|
+
/** @description Email addresses of the recipients to share this view with. */
|
|
303
|
+
emails: string[];
|
|
304
|
+
/**
|
|
305
|
+
* @description When true, flip the view's visibility to public and send invitation
|
|
306
|
+
* emails to the recipients. When false, revert visibility to private.
|
|
307
|
+
*/
|
|
308
|
+
share: boolean;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export interface operations {
|
|
316
|
+
/** Returns a paginated list of views accessible to the user. */
|
|
317
|
+
getViews: {
|
|
318
|
+
parameters: {
|
|
319
|
+
query: {
|
|
320
|
+
/** Get responses that match search param value */
|
|
321
|
+
search?: string;
|
|
322
|
+
/** Get ordered responses */
|
|
323
|
+
order?: string;
|
|
324
|
+
/** Get responses by page */
|
|
325
|
+
page?: string;
|
|
326
|
+
/** Get responses by pagesize */
|
|
327
|
+
pagesize?: string;
|
|
328
|
+
/** JSON-encoded filter string for assignment and soft-delete filters. */
|
|
329
|
+
filter?: string;
|
|
330
|
+
/** When true, include views shared with the user. */
|
|
331
|
+
shared?: boolean;
|
|
332
|
+
/** Filter by visibility level (public, private). */
|
|
333
|
+
visibility?: string;
|
|
334
|
+
/** Organization ID to scope the request. */
|
|
335
|
+
orgId?: string;
|
|
336
|
+
/** UUID of the user whose views to retrieve. */
|
|
337
|
+
userId?: string;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
responses: {
|
|
341
|
+
/** Views page */
|
|
342
|
+
200: {
|
|
343
|
+
content: {
|
|
344
|
+
"application/json": {
|
|
345
|
+
page?: number;
|
|
346
|
+
page_size?: number;
|
|
347
|
+
total_count?: number;
|
|
348
|
+
/** @description Views in this page, enriched with workspace and organization context. */
|
|
349
|
+
views?: {
|
|
350
|
+
/** Format: uuid */
|
|
351
|
+
id?: string;
|
|
352
|
+
/** @description Display name of the view. */
|
|
353
|
+
name?: string;
|
|
354
|
+
/** @description Visibility level of the view. */
|
|
355
|
+
visibility?: string;
|
|
356
|
+
/** @description Filter configuration for this view. */
|
|
357
|
+
filters?: { [key: string]: unknown };
|
|
358
|
+
/** @description Metadata associated with the view. */
|
|
359
|
+
metadata?: { [key: string]: unknown };
|
|
360
|
+
/**
|
|
361
|
+
* Format: uuid
|
|
362
|
+
* @description ID of the user who created the view.
|
|
363
|
+
*/
|
|
364
|
+
user_id?: string;
|
|
365
|
+
/** @description Name of the workspace this view belongs to. */
|
|
366
|
+
workspace_name?: string;
|
|
367
|
+
/**
|
|
368
|
+
* Format: uuid
|
|
369
|
+
* @description ID of the workspace this view belongs to.
|
|
370
|
+
*/
|
|
371
|
+
workspace_id: string;
|
|
372
|
+
/**
|
|
373
|
+
* Format: uuid
|
|
374
|
+
* @description ID of the organization this view belongs to.
|
|
375
|
+
*/
|
|
376
|
+
organization_id: string;
|
|
377
|
+
/** @description Name of the organization this view belongs to. */
|
|
378
|
+
organization_name?: string;
|
|
379
|
+
/**
|
|
380
|
+
* Format: date-time
|
|
381
|
+
* @description Timestamp when the resource was created.
|
|
382
|
+
*/
|
|
383
|
+
created_at?: string;
|
|
384
|
+
/**
|
|
385
|
+
* Format: date-time
|
|
386
|
+
* @description Timestamp when the resource was updated.
|
|
387
|
+
*/
|
|
388
|
+
updated_at?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Format: date-time
|
|
391
|
+
* @description Timestamp when the view was soft deleted. Null while the view remains active.
|
|
392
|
+
*/
|
|
393
|
+
deleted_at?: string;
|
|
394
|
+
}[];
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
/** Expired JWT token used or insufficient privilege */
|
|
399
|
+
401: {
|
|
400
|
+
content: {
|
|
401
|
+
"text/plain": string;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
/** Internal server error */
|
|
405
|
+
500: {
|
|
406
|
+
content: {
|
|
407
|
+
"text/plain": string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
/** Creates a new view with the given filters and metadata. */
|
|
413
|
+
createView: {
|
|
414
|
+
responses: {
|
|
415
|
+
/** Created view */
|
|
416
|
+
201: {
|
|
417
|
+
content: {
|
|
418
|
+
"application/json": {
|
|
419
|
+
/**
|
|
420
|
+
* Format: uuid
|
|
421
|
+
* @description Unique identifier for the view.
|
|
422
|
+
*/
|
|
423
|
+
id: string;
|
|
424
|
+
/** @description Display name of the view. */
|
|
425
|
+
name: string;
|
|
426
|
+
/** @description Visibility level of the view. */
|
|
427
|
+
visibility: string;
|
|
428
|
+
/** @description Filter configuration that defines which resources this view displays. */
|
|
429
|
+
filters?: { [key: string]: unknown };
|
|
430
|
+
/** @description Additional metadata associated with the view. */
|
|
431
|
+
metadata?: { [key: string]: unknown };
|
|
432
|
+
/**
|
|
433
|
+
* Format: uuid
|
|
434
|
+
* @description ID of the user who created the view.
|
|
435
|
+
*/
|
|
436
|
+
user_id: string;
|
|
437
|
+
/**
|
|
438
|
+
* Format: date-time
|
|
439
|
+
* @description Timestamp when the view was created.
|
|
440
|
+
*/
|
|
441
|
+
created_at: string;
|
|
442
|
+
/**
|
|
443
|
+
* Format: date-time
|
|
444
|
+
* @description Timestamp when the view was last updated.
|
|
445
|
+
*/
|
|
446
|
+
updated_at: string;
|
|
447
|
+
/**
|
|
448
|
+
* Format: date-time
|
|
449
|
+
* @description Timestamp when the view was soft deleted. Null while the view remains active.
|
|
450
|
+
*/
|
|
451
|
+
deleted_at?: string | null;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
/** Invalid request body or request param */
|
|
456
|
+
400: {
|
|
457
|
+
content: {
|
|
458
|
+
"text/plain": string;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
/** Expired JWT token used or insufficient privilege */
|
|
462
|
+
401: {
|
|
463
|
+
content: {
|
|
464
|
+
"text/plain": string;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
/** Internal server error */
|
|
468
|
+
500: {
|
|
469
|
+
content: {
|
|
470
|
+
"text/plain": string;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
/** Body for creating or updating a view */
|
|
475
|
+
requestBody: {
|
|
476
|
+
content: {
|
|
477
|
+
"application/json": {
|
|
478
|
+
/** @description Display name of the view. */
|
|
479
|
+
name: string;
|
|
480
|
+
/** @description Filter configuration for this view. */
|
|
481
|
+
filters?: { [key: string]: unknown };
|
|
482
|
+
/** @description Visibility level of the view. */
|
|
483
|
+
visibility?: string;
|
|
484
|
+
/** @description Metadata associated with the view. */
|
|
485
|
+
metadata?: { [key: string]: unknown };
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* Shares a view with a list of email addresses. When `share` is true, the
|
|
492
|
+
* view's visibility is flipped to public and an invitation email is sent
|
|
493
|
+
* to each recipient. When `share` is false, visibility is reverted to
|
|
494
|
+
* private. Only the owner of the view (or a provider admin) may change
|
|
495
|
+
* its sharing mode.
|
|
496
|
+
*/
|
|
497
|
+
shareView: {
|
|
498
|
+
responses: {
|
|
499
|
+
/** View shared. */
|
|
500
|
+
200: unknown;
|
|
501
|
+
/** Invalid request body or request param */
|
|
502
|
+
400: {
|
|
503
|
+
content: {
|
|
504
|
+
"text/plain": string;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
/** Expired JWT token used or insufficient privilege */
|
|
508
|
+
401: {
|
|
509
|
+
content: {
|
|
510
|
+
"text/plain": string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
/** Caller is not the owner of the view. */
|
|
514
|
+
403: unknown;
|
|
515
|
+
/** Result not found */
|
|
516
|
+
404: {
|
|
517
|
+
content: {
|
|
518
|
+
"text/plain": string;
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
/** Internal server error */
|
|
522
|
+
500: {
|
|
523
|
+
content: {
|
|
524
|
+
"text/plain": string;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
/** Body for sharing a view with recipients by email. */
|
|
529
|
+
requestBody: {
|
|
530
|
+
content: {
|
|
531
|
+
"application/json": {
|
|
532
|
+
/**
|
|
533
|
+
* Format: uuid
|
|
534
|
+
* @description Identifier of the view being shared.
|
|
535
|
+
*/
|
|
536
|
+
content_id: string;
|
|
537
|
+
/**
|
|
538
|
+
* @description The kind of content being shared. Only `view` is accepted on this
|
|
539
|
+
* endpoint.
|
|
540
|
+
*
|
|
541
|
+
* @enum {string}
|
|
542
|
+
*/
|
|
543
|
+
content_type: "view";
|
|
544
|
+
/** @description Email addresses of the recipients to share this view with. */
|
|
545
|
+
emails: string[];
|
|
546
|
+
/**
|
|
547
|
+
* @description When true, flip the view's visibility to public and send invitation
|
|
548
|
+
* emails to the recipients. When false, revert visibility to private.
|
|
549
|
+
*/
|
|
550
|
+
share: boolean;
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
/** Returns a single view by its unique identifier. */
|
|
556
|
+
getViewById: {
|
|
557
|
+
parameters: {
|
|
558
|
+
path: {
|
|
559
|
+
/** View ID */
|
|
560
|
+
viewId: string;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
responses: {
|
|
564
|
+
/** View */
|
|
565
|
+
200: {
|
|
566
|
+
content: {
|
|
567
|
+
"application/json": {
|
|
568
|
+
/**
|
|
569
|
+
* Format: uuid
|
|
570
|
+
* @description Unique identifier for the view.
|
|
571
|
+
*/
|
|
572
|
+
id: string;
|
|
573
|
+
/** @description Display name of the view. */
|
|
574
|
+
name: string;
|
|
575
|
+
/** @description Visibility level of the view. */
|
|
576
|
+
visibility: string;
|
|
577
|
+
/** @description Filter configuration that defines which resources this view displays. */
|
|
578
|
+
filters?: { [key: string]: unknown };
|
|
579
|
+
/** @description Additional metadata associated with the view. */
|
|
580
|
+
metadata?: { [key: string]: unknown };
|
|
581
|
+
/**
|
|
582
|
+
* Format: uuid
|
|
583
|
+
* @description ID of the user who created the view.
|
|
584
|
+
*/
|
|
585
|
+
user_id: string;
|
|
586
|
+
/**
|
|
587
|
+
* Format: date-time
|
|
588
|
+
* @description Timestamp when the view was created.
|
|
589
|
+
*/
|
|
590
|
+
created_at: string;
|
|
591
|
+
/**
|
|
592
|
+
* Format: date-time
|
|
593
|
+
* @description Timestamp when the view was last updated.
|
|
594
|
+
*/
|
|
595
|
+
updated_at: string;
|
|
596
|
+
/**
|
|
597
|
+
* Format: date-time
|
|
598
|
+
* @description Timestamp when the view was soft deleted. Null while the view remains active.
|
|
599
|
+
*/
|
|
600
|
+
deleted_at?: string | null;
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
/** Invalid request body or request param */
|
|
605
|
+
400: {
|
|
606
|
+
content: {
|
|
607
|
+
"text/plain": string;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
/** Expired JWT token used or insufficient privilege */
|
|
611
|
+
401: {
|
|
612
|
+
content: {
|
|
613
|
+
"text/plain": string;
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
/** Result not found */
|
|
617
|
+
404: {
|
|
618
|
+
content: {
|
|
619
|
+
"text/plain": string;
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
/** Internal server error */
|
|
623
|
+
500: {
|
|
624
|
+
content: {
|
|
625
|
+
"text/plain": string;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
/** Updates an existing view with new filters, metadata, or visibility. */
|
|
631
|
+
updateView: {
|
|
632
|
+
parameters: {
|
|
633
|
+
path: {
|
|
634
|
+
/** View ID */
|
|
635
|
+
viewId: string;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
responses: {
|
|
639
|
+
/** Updated view */
|
|
640
|
+
200: {
|
|
641
|
+
content: {
|
|
642
|
+
"application/json": {
|
|
643
|
+
/**
|
|
644
|
+
* Format: uuid
|
|
645
|
+
* @description Unique identifier for the view.
|
|
646
|
+
*/
|
|
647
|
+
id: string;
|
|
648
|
+
/** @description Display name of the view. */
|
|
649
|
+
name: string;
|
|
650
|
+
/** @description Visibility level of the view. */
|
|
651
|
+
visibility: string;
|
|
652
|
+
/** @description Filter configuration that defines which resources this view displays. */
|
|
653
|
+
filters?: { [key: string]: unknown };
|
|
654
|
+
/** @description Additional metadata associated with the view. */
|
|
655
|
+
metadata?: { [key: string]: unknown };
|
|
656
|
+
/**
|
|
657
|
+
* Format: uuid
|
|
658
|
+
* @description ID of the user who created the view.
|
|
659
|
+
*/
|
|
660
|
+
user_id: string;
|
|
661
|
+
/**
|
|
662
|
+
* Format: date-time
|
|
663
|
+
* @description Timestamp when the view was created.
|
|
664
|
+
*/
|
|
665
|
+
created_at: string;
|
|
666
|
+
/**
|
|
667
|
+
* Format: date-time
|
|
668
|
+
* @description Timestamp when the view was last updated.
|
|
669
|
+
*/
|
|
670
|
+
updated_at: string;
|
|
671
|
+
/**
|
|
672
|
+
* Format: date-time
|
|
673
|
+
* @description Timestamp when the view was soft deleted. Null while the view remains active.
|
|
674
|
+
*/
|
|
675
|
+
deleted_at?: string | null;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
/** Invalid request body or request param */
|
|
680
|
+
400: {
|
|
681
|
+
content: {
|
|
682
|
+
"text/plain": string;
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
/** Expired JWT token used or insufficient privilege */
|
|
686
|
+
401: {
|
|
687
|
+
content: {
|
|
688
|
+
"text/plain": string;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
/** Result not found */
|
|
692
|
+
404: {
|
|
693
|
+
content: {
|
|
694
|
+
"text/plain": string;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
/** Internal server error */
|
|
698
|
+
500: {
|
|
699
|
+
content: {
|
|
700
|
+
"text/plain": string;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
/** Body for creating or updating a view */
|
|
705
|
+
requestBody: {
|
|
706
|
+
content: {
|
|
707
|
+
"application/json": {
|
|
708
|
+
/** @description Display name of the view. */
|
|
709
|
+
name: string;
|
|
710
|
+
/** @description Filter configuration for this view. */
|
|
711
|
+
filters?: { [key: string]: unknown };
|
|
712
|
+
/** @description Visibility level of the view. */
|
|
713
|
+
visibility?: string;
|
|
714
|
+
/** @description Metadata associated with the view. */
|
|
715
|
+
metadata?: { [key: string]: unknown };
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
/** Soft-deletes a view by its unique identifier. */
|
|
721
|
+
deleteView: {
|
|
722
|
+
parameters: {
|
|
723
|
+
path: {
|
|
724
|
+
/** View ID */
|
|
725
|
+
viewId: string;
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
responses: {
|
|
729
|
+
/** View deleted */
|
|
730
|
+
204: never;
|
|
731
|
+
/** Invalid request body or request param */
|
|
732
|
+
400: {
|
|
733
|
+
content: {
|
|
734
|
+
"text/plain": string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
/** Expired JWT token used or insufficient privilege */
|
|
738
|
+
401: {
|
|
739
|
+
content: {
|
|
740
|
+
"text/plain": string;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
/** Result not found */
|
|
744
|
+
404: {
|
|
745
|
+
content: {
|
|
746
|
+
"text/plain": string;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
/** Internal server error */
|
|
750
|
+
500: {
|
|
751
|
+
content: {
|
|
752
|
+
"text/plain": string;
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export interface external {}
|