@meshery/schemas 1.0.9 → 1.1.0
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/README.md +4 -3
- package/dist/cloudApi.d.mts +16689 -16426
- package/dist/cloudApi.d.ts +16689 -16426
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +4 -4
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
- package/dist/constructs/v1beta1/model/ModelSchema.js +1 -1
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +1 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +1 -1
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +1 -1
- package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +1 -1
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta1/view/ViewSchema.js +1 -1
- package/dist/constructs/v1beta1/view/ViewSchema.mjs +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -2
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -2
- package/dist/constructs/v1beta2/badge/Badge.d.mts +564 -0
- package/dist/constructs/v1beta2/badge/Badge.d.ts +564 -0
- package/dist/constructs/v1beta2/badge/Badge.js +1 -0
- package/dist/constructs/v1beta2/badge/Badge.mjs +0 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.js +2 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.mjs +2 -0
- package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta2/credential/Credential.d.mts +536 -0
- package/dist/constructs/v1beta2/credential/Credential.d.ts +536 -0
- package/dist/constructs/v1beta2/credential/Credential.js +1 -0
- package/dist/constructs/v1beta2/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.js +7 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +7 -0
- package/dist/constructs/v1beta2/design/DesignSchema.js +10 -2
- package/dist/constructs/v1beta2/design/DesignSchema.mjs +10 -2
- package/dist/constructs/v1beta2/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta2/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta2/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta2/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta2/key/Key.d.mts +523 -0
- package/dist/constructs/v1beta2/key/Key.d.ts +523 -0
- package/dist/constructs/v1beta2/key/Key.js +1 -0
- package/dist/constructs/v1beta2/key/Key.mjs +0 -0
- package/dist/constructs/v1beta2/key/KeySchema.d.mts +7 -0
- package/dist/constructs/v1beta2/key/KeySchema.d.ts +7 -0
- package/dist/constructs/v1beta2/key/KeySchema.js +2 -0
- package/dist/constructs/v1beta2/key/KeySchema.mjs +2 -0
- package/dist/constructs/v1beta2/keychain/Keychain.d.mts +651 -0
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +651 -0
- package/dist/constructs/v1beta2/keychain/Keychain.js +1 -0
- package/dist/constructs/v1beta2/keychain/Keychain.mjs +0 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.js +2 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.mjs +2 -0
- package/dist/constructs/v1beta2/model/Model.d.mts +571 -0
- package/dist/constructs/v1beta2/model/Model.d.ts +571 -0
- package/dist/constructs/v1beta2/model/Model.js +1 -0
- package/dist/constructs/v1beta2/model/Model.mjs +0 -0
- package/dist/constructs/v1beta2/model/ModelSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/model/ModelSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/model/ModelSchema.js +6 -0
- package/dist/constructs/v1beta2/model/ModelSchema.mjs +6 -0
- package/dist/constructs/v1beta2/organization/Organization.d.mts +1986 -0
- package/dist/constructs/v1beta2/organization/Organization.d.ts +1986 -0
- package/dist/constructs/v1beta2/organization/Organization.js +1 -0
- package/dist/constructs/v1beta2/organization/Organization.mjs +0 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.js +2 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +2 -0
- package/dist/constructs/v1beta2/plan/PlanSchema.js +1 -1
- package/dist/constructs/v1beta2/plan/PlanSchema.mjs +1 -1
- package/dist/constructs/v1beta2/role/Role.d.mts +751 -0
- package/dist/constructs/v1beta2/role/Role.d.ts +751 -0
- package/dist/constructs/v1beta2/role/Role.js +1 -0
- package/dist/constructs/v1beta2/role/Role.mjs +0 -0
- package/dist/constructs/v1beta2/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta2/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta2/schedule/Schedule.d.mts +380 -0
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +380 -0
- package/dist/constructs/v1beta2/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta2/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta2/team/Team.d.mts +939 -0
- package/dist/constructs/v1beta2/team/Team.d.ts +939 -0
- package/dist/constructs/v1beta2/team/Team.js +1 -0
- package/dist/constructs/v1beta2/team/Team.mjs +0 -0
- package/dist/constructs/v1beta2/team/TeamSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/team/TeamSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/team/TeamSchema.js +2 -0
- package/dist/constructs/v1beta2/team/TeamSchema.mjs +2 -0
- package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta2/user/User.d.mts +1831 -0
- package/dist/constructs/v1beta2/user/User.d.ts +1831 -0
- package/dist/constructs/v1beta2/user/User.js +1 -0
- package/dist/constructs/v1beta2/user/User.mjs +0 -0
- package/dist/constructs/v1beta2/user/UserSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/user/UserSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/user/UserSchema.js +2 -0
- package/dist/constructs/v1beta2/user/UserSchema.mjs +2 -0
- package/dist/constructs/v1beta2/view/View.d.mts +810 -0
- package/dist/constructs/v1beta2/view/View.d.ts +810 -0
- package/dist/constructs/v1beta2/view/View.js +1 -0
- package/dist/constructs/v1beta2/view/View.mjs +0 -0
- package/dist/constructs/v1beta2/view/ViewSchema.d.mts +7 -0
- package/dist/constructs/v1beta2/view/ViewSchema.d.ts +7 -0
- package/dist/constructs/v1beta2/view/ViewSchema.js +13 -0
- package/dist/constructs/v1beta2/view/ViewSchema.mjs +13 -0
- package/dist/constructs/v1beta3/component/Component.d.mts +796 -0
- package/dist/constructs/v1beta3/component/Component.d.ts +796 -0
- package/dist/constructs/v1beta3/component/Component.js +1 -0
- package/dist/constructs/v1beta3/component/Component.mjs +0 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.js +10 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.mjs +10 -0
- package/dist/constructs/v1beta3/connection/Connection.d.mts +1348 -0
- package/dist/constructs/v1beta3/connection/Connection.d.ts +1348 -0
- package/dist/constructs/v1beta3/connection/Connection.js +1 -0
- package/dist/constructs/v1beta3/connection/Connection.mjs +0 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +2 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +2 -0
- package/dist/constructs/v1beta3/design/Design.d.mts +17552 -0
- package/dist/constructs/v1beta3/design/Design.d.ts +17552 -0
- package/dist/constructs/v1beta3/design/Design.js +1 -0
- package/dist/constructs/v1beta3/design/Design.mjs +0 -0
- package/dist/constructs/v1beta3/design/DesignSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/design/DesignSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/design/DesignSchema.js +506 -0
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +506 -0
- package/dist/constructs/v1beta3/environment/Environment.d.mts +800 -0
- package/dist/constructs/v1beta3/environment/Environment.d.ts +800 -0
- package/dist/constructs/v1beta3/environment/Environment.js +1 -0
- package/dist/constructs/v1beta3/environment/Environment.mjs +0 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +2 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +2 -0
- package/dist/constructs/v1beta3/event/Event.d.mts +733 -0
- package/dist/constructs/v1beta3/event/Event.d.ts +733 -0
- package/dist/constructs/v1beta3/event/Event.js +1 -0
- package/dist/constructs/v1beta3/event/Event.mjs +0 -0
- package/dist/constructs/v1beta3/event/EventSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/event/EventSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/event/EventSchema.js +2 -0
- package/dist/constructs/v1beta3/event/EventSchema.mjs +2 -0
- package/dist/constructs/v1beta3/invitation/Invitation.d.mts +1079 -0
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1079 -0
- package/dist/constructs/v1beta3/invitation/Invitation.js +1 -0
- package/dist/constructs/v1beta3/invitation/Invitation.mjs +0 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +2 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +2 -0
- package/dist/constructs/v1beta3/plan/Plan.d.mts +198 -0
- package/dist/constructs/v1beta3/plan/Plan.d.ts +198 -0
- package/dist/constructs/v1beta3/plan/Plan.js +1 -0
- package/dist/constructs/v1beta3/plan/Plan.mjs +0 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.js +2 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.mjs +2 -0
- package/dist/constructs/v1beta3/relationship/Relationship.d.mts +1884 -0
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1884 -0
- package/dist/constructs/v1beta3/relationship/Relationship.js +1 -0
- package/dist/constructs/v1beta3/relationship/Relationship.mjs +0 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.js +155 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.mjs +155 -0
- package/dist/constructs/v1beta3/subscription/Subscription.d.mts +876 -0
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +876 -0
- package/dist/constructs/v1beta3/subscription/Subscription.js +1 -0
- package/dist/constructs/v1beta3/subscription/Subscription.mjs +0 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +2 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +2 -0
- package/dist/constructs/v1beta3/token/Token.d.mts +543 -0
- package/dist/constructs/v1beta3/token/Token.d.ts +543 -0
- package/dist/constructs/v1beta3/token/Token.js +1 -0
- package/dist/constructs/v1beta3/token/Token.mjs +0 -0
- package/dist/constructs/v1beta3/token/TokenSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/token/TokenSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/token/TokenSchema.js +2 -0
- package/dist/constructs/v1beta3/token/TokenSchema.mjs +2 -0
- package/dist/constructs/v1beta3/workspace/Workspace.d.mts +4808 -0
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4808 -0
- package/dist/constructs/v1beta3/workspace/Workspace.js +1 -0
- package/dist/constructs/v1beta3/workspace/Workspace.mjs +0 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.mts +7 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +7 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +98 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +98 -0
- package/dist/index.d.mts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +16 -8
- package/dist/index.mjs +16 -8
- package/dist/mesheryApi.d.mts +5552 -5394
- package/dist/mesheryApi.d.ts +5552 -5394
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
interface paths {
|
|
6
|
+
"/api/identity/orgs/{orgId}/users/keys": {
|
|
7
|
+
/** Get all keys based on roles assigned to user */
|
|
8
|
+
get: operations["getUserKeys"];
|
|
9
|
+
};
|
|
10
|
+
"/api/auth/keys": {
|
|
11
|
+
get: operations["getKeys"];
|
|
12
|
+
post: operations["upsertKey"];
|
|
13
|
+
};
|
|
14
|
+
"/api/auth/key/{keyId}": {
|
|
15
|
+
get: operations["getKeyById"];
|
|
16
|
+
delete: operations["deleteKey"];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
interface components {
|
|
20
|
+
schemas: {
|
|
21
|
+
/** @description Represents an authorization key used for access control. */
|
|
22
|
+
Key: {
|
|
23
|
+
/**
|
|
24
|
+
* Format: uuid
|
|
25
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Format: uuid
|
|
30
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
31
|
+
*/
|
|
32
|
+
owner: string;
|
|
33
|
+
/** @description Operation permitted by the key. */
|
|
34
|
+
function: string;
|
|
35
|
+
/** @description Category for the key. */
|
|
36
|
+
category: string;
|
|
37
|
+
/** @description Subcategory for the key. */
|
|
38
|
+
subcategory: string;
|
|
39
|
+
/** @description Human readable description of the key. */
|
|
40
|
+
description: string;
|
|
41
|
+
/**
|
|
42
|
+
* Format: date-time
|
|
43
|
+
* @description Timestamp when the key was created.
|
|
44
|
+
*/
|
|
45
|
+
createdAt: string;
|
|
46
|
+
/**
|
|
47
|
+
* Format: date-time
|
|
48
|
+
* @description Timestamp when the key was last updated.
|
|
49
|
+
*/
|
|
50
|
+
updatedAt: string;
|
|
51
|
+
/**
|
|
52
|
+
* Format: date-time
|
|
53
|
+
* @description Timestamp when the key was soft-deleted.
|
|
54
|
+
*/
|
|
55
|
+
deletedAt?: string | null;
|
|
56
|
+
};
|
|
57
|
+
/** @description Payload for creating or updating a key. */
|
|
58
|
+
KeyPayload: {
|
|
59
|
+
/**
|
|
60
|
+
* Format: uuid
|
|
61
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
62
|
+
*/
|
|
63
|
+
id?: string;
|
|
64
|
+
/** @description Operation permitted by the key. */
|
|
65
|
+
function?: string;
|
|
66
|
+
/** @description Category for the key. */
|
|
67
|
+
category?: string;
|
|
68
|
+
/** @description Subcategory for the key. */
|
|
69
|
+
subcategory?: string;
|
|
70
|
+
/** @description Human readable description of the key. */
|
|
71
|
+
description?: string;
|
|
72
|
+
};
|
|
73
|
+
/** @description A paginated list of authorization keys. */
|
|
74
|
+
KeyPage: {
|
|
75
|
+
/** @description Zero-based page index returned in this response. */
|
|
76
|
+
page: number;
|
|
77
|
+
/** @description Maximum number of items returned on each page. */
|
|
78
|
+
pageSize: number;
|
|
79
|
+
/** @description Total number of items across all pages. */
|
|
80
|
+
totalCount: number;
|
|
81
|
+
/** @description Keys returned on the current page. */
|
|
82
|
+
keys: {
|
|
83
|
+
/**
|
|
84
|
+
* Format: uuid
|
|
85
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
86
|
+
*/
|
|
87
|
+
id: string;
|
|
88
|
+
/**
|
|
89
|
+
* Format: uuid
|
|
90
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
91
|
+
*/
|
|
92
|
+
owner: string;
|
|
93
|
+
/** @description Operation permitted by the key. */
|
|
94
|
+
function: string;
|
|
95
|
+
/** @description Category for the key. */
|
|
96
|
+
category: string;
|
|
97
|
+
/** @description Subcategory for the key. */
|
|
98
|
+
subcategory: string;
|
|
99
|
+
/** @description Human readable description of the key. */
|
|
100
|
+
description: string;
|
|
101
|
+
/**
|
|
102
|
+
* Format: date-time
|
|
103
|
+
* @description Timestamp when the key was created.
|
|
104
|
+
*/
|
|
105
|
+
createdAt: string;
|
|
106
|
+
/**
|
|
107
|
+
* Format: date-time
|
|
108
|
+
* @description Timestamp when the key was last updated.
|
|
109
|
+
*/
|
|
110
|
+
updatedAt: string;
|
|
111
|
+
/**
|
|
112
|
+
* Format: date-time
|
|
113
|
+
* @description Timestamp when the key was soft-deleted.
|
|
114
|
+
*/
|
|
115
|
+
deletedAt?: string | null;
|
|
116
|
+
}[];
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
responses: {
|
|
120
|
+
/** Invalid request body or request param */
|
|
121
|
+
400: {
|
|
122
|
+
content: {
|
|
123
|
+
"text/plain": string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
/** Expired JWT token used or insufficient privilege */
|
|
127
|
+
401: {
|
|
128
|
+
content: {
|
|
129
|
+
"text/plain": string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
/** Result not found */
|
|
133
|
+
404: {
|
|
134
|
+
content: {
|
|
135
|
+
"text/plain": string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
/** Internal server error */
|
|
139
|
+
500: {
|
|
140
|
+
content: {
|
|
141
|
+
"text/plain": string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
parameters: {
|
|
146
|
+
/** @description Organization ID */
|
|
147
|
+
orgId: string;
|
|
148
|
+
/** @description Key ID */
|
|
149
|
+
keyId: string;
|
|
150
|
+
/** @description Get responses by page */
|
|
151
|
+
page: string;
|
|
152
|
+
/** @description Get responses by pagesize */
|
|
153
|
+
pagesize: string;
|
|
154
|
+
/** @description Get ordered responses */
|
|
155
|
+
order: string;
|
|
156
|
+
/** @description Get responses that match search param value */
|
|
157
|
+
search: string;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
interface operations {
|
|
161
|
+
/** Get all keys based on roles assigned to user */
|
|
162
|
+
getUserKeys: {
|
|
163
|
+
parameters: {
|
|
164
|
+
path: {
|
|
165
|
+
/** Organization ID */
|
|
166
|
+
orgId: string;
|
|
167
|
+
};
|
|
168
|
+
query: {
|
|
169
|
+
/** Get responses by page */
|
|
170
|
+
page?: string;
|
|
171
|
+
/** Get responses by pagesize */
|
|
172
|
+
pagesize?: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
responses: {
|
|
176
|
+
/** Returns user keys based on roles assigned to user */
|
|
177
|
+
200: {
|
|
178
|
+
content: {
|
|
179
|
+
"application/json": {
|
|
180
|
+
/** @description Zero-based page index returned in this response. */
|
|
181
|
+
page: number;
|
|
182
|
+
/** @description Maximum number of items returned on each page. */
|
|
183
|
+
pageSize: number;
|
|
184
|
+
/** @description Total number of items across all pages. */
|
|
185
|
+
totalCount: number;
|
|
186
|
+
/** @description Keys returned on the current page. */
|
|
187
|
+
keys: {
|
|
188
|
+
/**
|
|
189
|
+
* Format: uuid
|
|
190
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
191
|
+
*/
|
|
192
|
+
id: string;
|
|
193
|
+
/**
|
|
194
|
+
* Format: uuid
|
|
195
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
196
|
+
*/
|
|
197
|
+
owner: string;
|
|
198
|
+
/** @description Operation permitted by the key. */
|
|
199
|
+
function: string;
|
|
200
|
+
/** @description Category for the key. */
|
|
201
|
+
category: string;
|
|
202
|
+
/** @description Subcategory for the key. */
|
|
203
|
+
subcategory: string;
|
|
204
|
+
/** @description Human readable description of the key. */
|
|
205
|
+
description: string;
|
|
206
|
+
/**
|
|
207
|
+
* Format: date-time
|
|
208
|
+
* @description Timestamp when the key was created.
|
|
209
|
+
*/
|
|
210
|
+
createdAt: string;
|
|
211
|
+
/**
|
|
212
|
+
* Format: date-time
|
|
213
|
+
* @description Timestamp when the key was last updated.
|
|
214
|
+
*/
|
|
215
|
+
updatedAt: string;
|
|
216
|
+
/**
|
|
217
|
+
* Format: date-time
|
|
218
|
+
* @description Timestamp when the key was soft-deleted.
|
|
219
|
+
*/
|
|
220
|
+
deletedAt?: string | null;
|
|
221
|
+
}[];
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
/** Expired JWT token used or insufficient privilege */
|
|
226
|
+
401: {
|
|
227
|
+
content: {
|
|
228
|
+
"text/plain": string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
/** Result not found */
|
|
232
|
+
404: {
|
|
233
|
+
content: {
|
|
234
|
+
"text/plain": string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/** Internal server error */
|
|
238
|
+
500: {
|
|
239
|
+
content: {
|
|
240
|
+
"text/plain": string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
getKeys: {
|
|
246
|
+
parameters: {
|
|
247
|
+
query: {
|
|
248
|
+
/** Get responses by page */
|
|
249
|
+
page?: string;
|
|
250
|
+
/** Get responses by pagesize */
|
|
251
|
+
pagesize?: string;
|
|
252
|
+
/** Get responses that match search param value */
|
|
253
|
+
search?: string;
|
|
254
|
+
/** Get ordered responses */
|
|
255
|
+
order?: string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
responses: {
|
|
259
|
+
/** Keys fetched */
|
|
260
|
+
200: {
|
|
261
|
+
content: {
|
|
262
|
+
"application/json": {
|
|
263
|
+
/** @description Zero-based page index returned in this response. */
|
|
264
|
+
page: number;
|
|
265
|
+
/** @description Maximum number of items returned on each page. */
|
|
266
|
+
pageSize: number;
|
|
267
|
+
/** @description Total number of items across all pages. */
|
|
268
|
+
totalCount: number;
|
|
269
|
+
/** @description Keys returned on the current page. */
|
|
270
|
+
keys: {
|
|
271
|
+
/**
|
|
272
|
+
* Format: uuid
|
|
273
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
274
|
+
*/
|
|
275
|
+
id: string;
|
|
276
|
+
/**
|
|
277
|
+
* Format: uuid
|
|
278
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
279
|
+
*/
|
|
280
|
+
owner: string;
|
|
281
|
+
/** @description Operation permitted by the key. */
|
|
282
|
+
function: string;
|
|
283
|
+
/** @description Category for the key. */
|
|
284
|
+
category: string;
|
|
285
|
+
/** @description Subcategory for the key. */
|
|
286
|
+
subcategory: string;
|
|
287
|
+
/** @description Human readable description of the key. */
|
|
288
|
+
description: string;
|
|
289
|
+
/**
|
|
290
|
+
* Format: date-time
|
|
291
|
+
* @description Timestamp when the key was created.
|
|
292
|
+
*/
|
|
293
|
+
createdAt: string;
|
|
294
|
+
/**
|
|
295
|
+
* Format: date-time
|
|
296
|
+
* @description Timestamp when the key was last updated.
|
|
297
|
+
*/
|
|
298
|
+
updatedAt: string;
|
|
299
|
+
/**
|
|
300
|
+
* Format: date-time
|
|
301
|
+
* @description Timestamp when the key was soft-deleted.
|
|
302
|
+
*/
|
|
303
|
+
deletedAt?: string | null;
|
|
304
|
+
}[];
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
/** Invalid request body or request param */
|
|
309
|
+
400: {
|
|
310
|
+
content: {
|
|
311
|
+
"text/plain": string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
/** Expired JWT token used or insufficient privilege */
|
|
315
|
+
401: {
|
|
316
|
+
content: {
|
|
317
|
+
"text/plain": string;
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
/** Internal server error */
|
|
321
|
+
500: {
|
|
322
|
+
content: {
|
|
323
|
+
"text/plain": string;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
upsertKey: {
|
|
329
|
+
responses: {
|
|
330
|
+
/** Key upserted */
|
|
331
|
+
200: {
|
|
332
|
+
content: {
|
|
333
|
+
"application/json": {
|
|
334
|
+
/**
|
|
335
|
+
* Format: uuid
|
|
336
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
337
|
+
*/
|
|
338
|
+
id: string;
|
|
339
|
+
/**
|
|
340
|
+
* Format: uuid
|
|
341
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
342
|
+
*/
|
|
343
|
+
owner: string;
|
|
344
|
+
/** @description Operation permitted by the key. */
|
|
345
|
+
function: string;
|
|
346
|
+
/** @description Category for the key. */
|
|
347
|
+
category: string;
|
|
348
|
+
/** @description Subcategory for the key. */
|
|
349
|
+
subcategory: string;
|
|
350
|
+
/** @description Human readable description of the key. */
|
|
351
|
+
description: string;
|
|
352
|
+
/**
|
|
353
|
+
* Format: date-time
|
|
354
|
+
* @description Timestamp when the key was created.
|
|
355
|
+
*/
|
|
356
|
+
createdAt: string;
|
|
357
|
+
/**
|
|
358
|
+
* Format: date-time
|
|
359
|
+
* @description Timestamp when the key was last updated.
|
|
360
|
+
*/
|
|
361
|
+
updatedAt: string;
|
|
362
|
+
/**
|
|
363
|
+
* Format: date-time
|
|
364
|
+
* @description Timestamp when the key was soft-deleted.
|
|
365
|
+
*/
|
|
366
|
+
deletedAt?: string | null;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
/** Invalid request body or request param */
|
|
371
|
+
400: {
|
|
372
|
+
content: {
|
|
373
|
+
"text/plain": string;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
/** Expired JWT token used or insufficient privilege */
|
|
377
|
+
401: {
|
|
378
|
+
content: {
|
|
379
|
+
"text/plain": string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
/** Internal server error */
|
|
383
|
+
500: {
|
|
384
|
+
content: {
|
|
385
|
+
"text/plain": string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
requestBody: {
|
|
390
|
+
content: {
|
|
391
|
+
"application/json": {
|
|
392
|
+
/**
|
|
393
|
+
* Format: uuid
|
|
394
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
395
|
+
*/
|
|
396
|
+
id?: string;
|
|
397
|
+
/** @description Operation permitted by the key. */
|
|
398
|
+
function?: string;
|
|
399
|
+
/** @description Category for the key. */
|
|
400
|
+
category?: string;
|
|
401
|
+
/** @description Subcategory for the key. */
|
|
402
|
+
subcategory?: string;
|
|
403
|
+
/** @description Human readable description of the key. */
|
|
404
|
+
description?: string;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
getKeyById: {
|
|
410
|
+
parameters: {
|
|
411
|
+
path: {
|
|
412
|
+
/** Key ID */
|
|
413
|
+
keyId: string;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
responses: {
|
|
417
|
+
/** Key response */
|
|
418
|
+
200: {
|
|
419
|
+
content: {
|
|
420
|
+
"application/json": {
|
|
421
|
+
/**
|
|
422
|
+
* Format: uuid
|
|
423
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
424
|
+
*/
|
|
425
|
+
id: string;
|
|
426
|
+
/**
|
|
427
|
+
* Format: uuid
|
|
428
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
429
|
+
*/
|
|
430
|
+
owner: string;
|
|
431
|
+
/** @description Operation permitted by the key. */
|
|
432
|
+
function: string;
|
|
433
|
+
/** @description Category for the key. */
|
|
434
|
+
category: string;
|
|
435
|
+
/** @description Subcategory for the key. */
|
|
436
|
+
subcategory: string;
|
|
437
|
+
/** @description Human readable description of the key. */
|
|
438
|
+
description: string;
|
|
439
|
+
/**
|
|
440
|
+
* Format: date-time
|
|
441
|
+
* @description Timestamp when the key was created.
|
|
442
|
+
*/
|
|
443
|
+
createdAt: string;
|
|
444
|
+
/**
|
|
445
|
+
* Format: date-time
|
|
446
|
+
* @description Timestamp when the key was last updated.
|
|
447
|
+
*/
|
|
448
|
+
updatedAt: string;
|
|
449
|
+
/**
|
|
450
|
+
* Format: date-time
|
|
451
|
+
* @description Timestamp when the key was soft-deleted.
|
|
452
|
+
*/
|
|
453
|
+
deletedAt?: string | null;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
/** Invalid request body or request param */
|
|
458
|
+
400: {
|
|
459
|
+
content: {
|
|
460
|
+
"text/plain": string;
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
/** Expired JWT token used or insufficient privilege */
|
|
464
|
+
401: {
|
|
465
|
+
content: {
|
|
466
|
+
"text/plain": string;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
/** Result not found */
|
|
470
|
+
404: {
|
|
471
|
+
content: {
|
|
472
|
+
"text/plain": string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
/** Internal server error */
|
|
476
|
+
500: {
|
|
477
|
+
content: {
|
|
478
|
+
"text/plain": string;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
deleteKey: {
|
|
484
|
+
parameters: {
|
|
485
|
+
path: {
|
|
486
|
+
/** Key ID */
|
|
487
|
+
keyId: string;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
responses: {
|
|
491
|
+
/** Key deleted */
|
|
492
|
+
204: never;
|
|
493
|
+
/** Invalid request body or request param */
|
|
494
|
+
400: {
|
|
495
|
+
content: {
|
|
496
|
+
"text/plain": string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
/** Expired JWT token used or insufficient privilege */
|
|
500
|
+
401: {
|
|
501
|
+
content: {
|
|
502
|
+
"text/plain": string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
/** Result not found */
|
|
506
|
+
404: {
|
|
507
|
+
content: {
|
|
508
|
+
"text/plain": string;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
/** Internal server error */
|
|
512
|
+
500: {
|
|
513
|
+
content: {
|
|
514
|
+
"text/plain": string;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
interface external {
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export type { components, external, operations, paths };
|