@meshery/schemas 1.3.22 → 1.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/cloudApi.d.mts +5239 -3023
  2. package/dist/cloudApi.d.ts +5239 -3023
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  6. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  7. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  8. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  9. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  10. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  11. package/dist/constructs/v1beta1/credential/CredentialSchema.js +8 -8
  12. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +8 -8
  13. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  14. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  15. package/dist/constructs/v1beta1/model/Model.d.ts +586 -2
  16. package/dist/constructs/v1beta1/model/ModelSchema.js +10 -2
  17. package/dist/constructs/v1beta1/model/ModelSchema.mjs +10 -2
  18. package/dist/constructs/v1beta1/pattern/PatternSchema.js +11 -11
  19. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +11 -11
  20. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +6 -6
  21. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +6 -6
  22. package/dist/constructs/v1beta1/system/System.d.ts +112 -0
  23. package/dist/constructs/v1beta1/system/SystemSchema.js +1 -1
  24. package/dist/constructs/v1beta1/system/SystemSchema.mjs +1 -1
  25. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  26. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  27. package/dist/constructs/v1beta1/token/TokenSchema.js +1 -1
  28. package/dist/constructs/v1beta1/token/TokenSchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/view/ViewSchema.js +4 -4
  30. package/dist/constructs/v1beta1/view/ViewSchema.mjs +4 -4
  31. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +4 -4
  32. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +4 -4
  33. package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
  34. package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
  35. package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
  36. package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
  37. package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
  38. package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
  39. package/dist/constructs/v1beta2/credential/CredentialSchema.js +6 -6
  40. package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +6 -6
  41. package/dist/constructs/v1beta2/design/DesignSchema.js +11 -11
  42. package/dist/constructs/v1beta2/design/DesignSchema.mjs +11 -11
  43. package/dist/constructs/v1beta2/model/Model.d.ts +587 -3
  44. package/dist/constructs/v1beta2/model/ModelSchema.js +10 -2
  45. package/dist/constructs/v1beta2/model/ModelSchema.mjs +10 -2
  46. package/dist/constructs/v1beta2/organization/Organization.d.ts +434 -0
  47. package/dist/constructs/v1beta2/organization/OrganizationSchema.js +1 -1
  48. package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +1 -1
  49. package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +5 -5
  50. package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +5 -5
  51. package/dist/constructs/v1beta2/team/TeamSchema.js +1 -1
  52. package/dist/constructs/v1beta2/team/TeamSchema.mjs +1 -1
  53. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  54. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  55. package/dist/constructs/v1beta2/user/User.d.ts +695 -0
  56. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  57. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  58. package/dist/constructs/v1beta2/view/ViewSchema.js +4 -4
  59. package/dist/constructs/v1beta2/view/ViewSchema.mjs +4 -4
  60. package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
  61. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
  62. package/dist/constructs/v1beta3/connection/Connection.d.ts +173 -1
  63. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
  64. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
  65. package/dist/constructs/v1beta3/design/Design.d.ts +3569 -2245
  66. package/dist/constructs/v1beta3/design/DesignSchema.js +56 -12
  67. package/dist/constructs/v1beta3/design/DesignSchema.mjs +56 -12
  68. package/dist/constructs/v1beta3/environment/Environment.d.ts +42 -0
  69. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
  70. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
  71. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +188 -1
  72. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  73. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  74. package/dist/constructs/v1beta3/pattern_resource/PatternResource.d.ts +701 -0
  75. package/dist/constructs/v1beta3/pattern_resource/PatternResource.js +1 -0
  76. package/dist/constructs/v1beta3/pattern_resource/PatternResource.mjs +0 -0
  77. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.d.ts +2 -0
  78. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.js +78 -0
  79. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.mjs +78 -0
  80. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +4 -4
  81. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +4 -4
  82. package/dist/index.d.mts +573 -1
  83. package/dist/index.d.ts +573 -1
  84. package/dist/index.js +41 -33
  85. package/dist/index.mjs +41 -33
  86. package/dist/mesheryApi.d.mts +905 -734
  87. package/dist/mesheryApi.d.ts +905 -734
  88. package/dist/mesheryApi.js +1 -1
  89. package/dist/mesheryApi.mjs +1 -1
  90. package/package.json +1 -1
@@ -78,6 +78,86 @@ export interface paths {
78
78
  patch?: never;
79
79
  trace?: never;
80
80
  };
81
+ "/api/identity/users/profile/details": {
82
+ parameters: {
83
+ query?: never;
84
+ header?: never;
85
+ path?: never;
86
+ cookie?: never;
87
+ };
88
+ /**
89
+ * Get profile overview counts for the current user
90
+ * @description Returns the aggregate counts shown on the caller's profile overview: the number of Kubernetes contexts and the number of designs owned by the caller.
91
+ */
92
+ get: operations["getUserProfileOverview"];
93
+ put?: never;
94
+ post?: never;
95
+ delete?: never;
96
+ options?: never;
97
+ head?: never;
98
+ patch?: never;
99
+ trace?: never;
100
+ };
101
+ "/api/identity/users/{userId}/profile/activity": {
102
+ parameters: {
103
+ query?: never;
104
+ header?: never;
105
+ path?: never;
106
+ cookie?: never;
107
+ };
108
+ /**
109
+ * Get recent activity for a user's public profile
110
+ * @description Returns the recent-activity feed shown on a user's public profile. Accessible without authentication; sensitive event categories are filtered out and email addresses are redacted unless the caller is a provider admin or is viewing their own profile. Pagination beyond the first page requires provider-admin privileges.
111
+ */
112
+ get: operations["getUserRecentActivities"];
113
+ put?: never;
114
+ post?: never;
115
+ delete?: never;
116
+ options?: never;
117
+ head?: never;
118
+ patch?: never;
119
+ trace?: never;
120
+ };
121
+ "/api/identity/users/notify/comment": {
122
+ parameters: {
123
+ query?: never;
124
+ header?: never;
125
+ path?: never;
126
+ cookie?: never;
127
+ };
128
+ get?: never;
129
+ put?: never;
130
+ /**
131
+ * Notify users mentioned in a design comment
132
+ * @description Sends email notifications to the users mentioned in a design comment, to the comment thread participants, and to the design owner, and records a user event for the comment.
133
+ */
134
+ post: operations["notifyMentionUsers"];
135
+ delete?: never;
136
+ options?: never;
137
+ head?: never;
138
+ patch?: never;
139
+ trace?: never;
140
+ };
141
+ "/api/identity/users/anonymous": {
142
+ parameters: {
143
+ query?: never;
144
+ header?: never;
145
+ path?: never;
146
+ cookie?: never;
147
+ };
148
+ get?: never;
149
+ put?: never;
150
+ /**
151
+ * Create an anonymous user and issue a session token
152
+ * @description Mints a synthetic anonymous user account, registers the calling Meshery instance as a connection, and returns an access token together with the capability document for the anonymous session. Authenticated with the shared anonymous-results publishing token rather than a user JWT.
153
+ */
154
+ post: operations["createAnonymousUserSession"];
155
+ delete?: never;
156
+ options?: never;
157
+ head?: never;
158
+ patch?: never;
159
+ trace?: never;
160
+ };
81
161
  "/api/identity/users/self/account-deletion-eligibility": {
82
162
  parameters: {
83
163
  query?: never;
@@ -1127,6 +1207,156 @@ export interface components {
1127
1207
  */
1128
1208
  link: string;
1129
1209
  };
1210
+ /** @description Aggregate counts shown on the current user's profile overview. */
1211
+ ProfileOverview: {
1212
+ /** @description Number of Kubernetes contexts owned by the user. */
1213
+ k8sCount: number;
1214
+ /** @description Number of designs owned by the user. */
1215
+ patternCount: number;
1216
+ };
1217
+ /** @description A single entry in a user's recent-activity feed. A narrow projection of the stored event record (id, category, action, description, owner and timestamps). The pre-migration meshery-cloud serialization emitted additional zero-valued event fields; those disappear once the server consumes this generated type. */
1218
+ UserActivity: {
1219
+ /**
1220
+ * Format: uuid
1221
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1222
+ */
1223
+ id?: string;
1224
+ /** @description Resource category on which the activity occurred. */
1225
+ category?: string;
1226
+ /** @description Action recorded by the activity. */
1227
+ action?: string;
1228
+ /** @description Human-readable description of the activity. Email addresses are redacted for non-privileged viewers. */
1229
+ description?: string;
1230
+ /**
1231
+ * Format: uuid
1232
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1233
+ */
1234
+ owner?: string;
1235
+ /**
1236
+ * Format: date-time
1237
+ * @description Timestamp when the activity was recorded.
1238
+ */
1239
+ createdAt?: string;
1240
+ /**
1241
+ * Format: date-time
1242
+ * @description Timestamp when the activity was last updated.
1243
+ */
1244
+ updatedAt?: string;
1245
+ };
1246
+ /** @description Paginated recent-activity feed for a user's public profile. */
1247
+ RecentActivityPage: {
1248
+ /** @description Current page number of the result set. */
1249
+ page?: number;
1250
+ /** @description Number of items per page. */
1251
+ pageSize?: number;
1252
+ /** @description Total number of items available. */
1253
+ totalCount?: number;
1254
+ /** @description The activity entries on the current page. */
1255
+ activities?: {
1256
+ /**
1257
+ * Format: uuid
1258
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1259
+ */
1260
+ id?: string;
1261
+ /** @description Resource category on which the activity occurred. */
1262
+ category?: string;
1263
+ /** @description Action recorded by the activity. */
1264
+ action?: string;
1265
+ /** @description Human-readable description of the activity. Email addresses are redacted for non-privileged viewers. */
1266
+ description?: string;
1267
+ /**
1268
+ * Format: uuid
1269
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1270
+ */
1271
+ owner?: string;
1272
+ /**
1273
+ * Format: date-time
1274
+ * @description Timestamp when the activity was recorded.
1275
+ */
1276
+ createdAt?: string;
1277
+ /**
1278
+ * Format: date-time
1279
+ * @description Timestamp when the activity was last updated.
1280
+ */
1281
+ updatedAt?: string;
1282
+ }[];
1283
+ };
1284
+ /** @description A single comment message included in a mention notification. */
1285
+ MentionMessage: {
1286
+ /** @description First name of the comment author. */
1287
+ firstName?: string;
1288
+ /** @description Last name of the comment author. */
1289
+ lastName?: string;
1290
+ /**
1291
+ * Format: uri
1292
+ * @description URL to the comment author's avatar image.
1293
+ */
1294
+ avatarUrl?: string;
1295
+ /** @description Text of the comment message. */
1296
+ message?: string;
1297
+ /**
1298
+ * Format: date-time
1299
+ * @description Timestamp when the comment message was written.
1300
+ */
1301
+ timestamp?: string;
1302
+ /**
1303
+ * Format: uuid
1304
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1305
+ */
1306
+ userId?: string;
1307
+ };
1308
+ /** @description Request body for notifying users about a design comment: the users mentioned in the comment, the thread participants, and the comment messages to include in the notification email. */
1309
+ MentionNotificationPayload: {
1310
+ /** @description IDs of the users explicitly mentioned in the comment. */
1311
+ mentionUsers?: string[];
1312
+ /** @description IDs of the users participating in the comment thread. */
1313
+ participants?: string[];
1314
+ /**
1315
+ * Format: uuid
1316
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1317
+ */
1318
+ designId: string;
1319
+ /** @description IDs of the users who opted out of mention notifications. */
1320
+ usersOptedOutOfNotifications?: string[];
1321
+ /** @description The comment messages to include in the notification email. */
1322
+ messages?: {
1323
+ /** @description First name of the comment author. */
1324
+ firstName?: string;
1325
+ /** @description Last name of the comment author. */
1326
+ lastName?: string;
1327
+ /**
1328
+ * Format: uri
1329
+ * @description URL to the comment author's avatar image.
1330
+ */
1331
+ avatarUrl?: string;
1332
+ /** @description Text of the comment message. */
1333
+ message?: string;
1334
+ /**
1335
+ * Format: date-time
1336
+ * @description Timestamp when the comment message was written.
1337
+ */
1338
+ timestamp?: string;
1339
+ /**
1340
+ * Format: uuid
1341
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1342
+ */
1343
+ userId?: string;
1344
+ }[];
1345
+ };
1346
+ /** @description Response returned after minting an anonymous user session: the session access token, the ID of the synthetic anonymous user, and the capability document for the session. */
1347
+ AnonymousFlowResponse: {
1348
+ /** @description JWT access token for the anonymous session. */
1349
+ accessToken: string;
1350
+ /** @description Capability document for the anonymous session. Untyped pending the provider-capabilities schema tracked separately in the identifier-uniformity program. */
1351
+ capability?: {
1352
+ [key: string]: unknown;
1353
+ };
1354
+ /**
1355
+ * Format: uuid
1356
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1357
+ */
1358
+ userId: string;
1359
+ };
1130
1360
  /** @description Pre-check result returned before an account self-deletion is confirmed. Describes whether deleting the caller's account would also require or permit hard-deleting their organization and quantifies the blast radius. All fields are always present so the client can render the confirmation state deterministically. */
1131
1361
  AccountDeletionEligibility: {
1132
1362
  /** @description True when the caller is the only active member of the organization, so deleting their account would leave the organization without any active members. */
@@ -1249,6 +1479,8 @@ export interface components {
1249
1479
  id: string;
1250
1480
  /** @description Organization ID */
1251
1481
  orgId: string;
1482
+ /** @description ID of the user whose recent activity is requested */
1483
+ userId: string;
1252
1484
  /** @description Get responses by page */
1253
1485
  page: string;
1254
1486
  /** @description Get responses by page size */
@@ -2541,6 +2773,469 @@ export interface operations {
2541
2773
  };
2542
2774
  };
2543
2775
  };
2776
+ getUserProfileOverview: {
2777
+ parameters: {
2778
+ query?: never;
2779
+ header?: never;
2780
+ path?: never;
2781
+ cookie?: never;
2782
+ };
2783
+ requestBody?: never;
2784
+ responses: {
2785
+ /** @description Profile overview counts for the caller */
2786
+ 200: {
2787
+ headers: {
2788
+ [name: string]: unknown;
2789
+ };
2790
+ content: {
2791
+ "application/json": {
2792
+ /** @description Number of Kubernetes contexts owned by the user. */
2793
+ k8sCount: number;
2794
+ /** @description Number of designs owned by the user. */
2795
+ patternCount: number;
2796
+ };
2797
+ };
2798
+ };
2799
+ /** @description Expired JWT token used or insufficient privilege */
2800
+ 401: {
2801
+ headers: {
2802
+ [name: string]: unknown;
2803
+ };
2804
+ content: {
2805
+ "text/plain": string;
2806
+ };
2807
+ };
2808
+ /** @description Internal server error */
2809
+ 500: {
2810
+ headers: {
2811
+ [name: string]: unknown;
2812
+ };
2813
+ content: {
2814
+ "text/plain": string;
2815
+ };
2816
+ };
2817
+ };
2818
+ };
2819
+ getUserRecentActivities: {
2820
+ parameters: {
2821
+ query?: {
2822
+ /** @description Zero-based page index of the activity feed. */
2823
+ page?: number;
2824
+ /** @description Number of activity entries per page. */
2825
+ pageSize?: number;
2826
+ /**
2827
+ * @deprecated
2828
+ * @description Deprecated lowercase alias of pageSize, kept while existing clients migrate to the canonical camelCase parameter.
2829
+ */
2830
+ pagesize?: number;
2831
+ /** @description Get ordered responses */
2832
+ order?: string;
2833
+ /** @description Get filtered reponses */
2834
+ filter?: string;
2835
+ };
2836
+ header?: never;
2837
+ path: {
2838
+ /** @description ID of the user whose recent activity is requested */
2839
+ userId: string;
2840
+ };
2841
+ cookie?: never;
2842
+ };
2843
+ requestBody?: never;
2844
+ responses: {
2845
+ /** @description Recent-activity page for the requested user */
2846
+ 200: {
2847
+ headers: {
2848
+ [name: string]: unknown;
2849
+ };
2850
+ content: {
2851
+ "application/json": {
2852
+ /** @description Current page number of the result set. */
2853
+ page?: number;
2854
+ /** @description Number of items per page. */
2855
+ pageSize?: number;
2856
+ /** @description Total number of items available. */
2857
+ totalCount?: number;
2858
+ /** @description The activity entries on the current page. */
2859
+ activities?: {
2860
+ /**
2861
+ * Format: uuid
2862
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2863
+ */
2864
+ id?: string;
2865
+ /** @description Resource category on which the activity occurred. */
2866
+ category?: string;
2867
+ /** @description Action recorded by the activity. */
2868
+ action?: string;
2869
+ /** @description Human-readable description of the activity. Email addresses are redacted for non-privileged viewers. */
2870
+ description?: string;
2871
+ /**
2872
+ * Format: uuid
2873
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2874
+ */
2875
+ owner?: string;
2876
+ /**
2877
+ * Format: date-time
2878
+ * @description Timestamp when the activity was recorded.
2879
+ */
2880
+ createdAt?: string;
2881
+ /**
2882
+ * Format: date-time
2883
+ * @description Timestamp when the activity was last updated.
2884
+ */
2885
+ updatedAt?: string;
2886
+ }[];
2887
+ };
2888
+ };
2889
+ };
2890
+ /** @description Invalid request body or request param */
2891
+ 400: {
2892
+ headers: {
2893
+ [name: string]: unknown;
2894
+ };
2895
+ content: {
2896
+ "text/plain": string;
2897
+ };
2898
+ };
2899
+ /** @description Internal server error */
2900
+ 500: {
2901
+ headers: {
2902
+ [name: string]: unknown;
2903
+ };
2904
+ content: {
2905
+ "text/plain": string;
2906
+ };
2907
+ };
2908
+ };
2909
+ };
2910
+ notifyMentionUsers: {
2911
+ parameters: {
2912
+ query?: never;
2913
+ header?: never;
2914
+ path?: never;
2915
+ cookie?: never;
2916
+ };
2917
+ requestBody: {
2918
+ content: {
2919
+ "application/json": {
2920
+ /** @description IDs of the users explicitly mentioned in the comment. */
2921
+ mentionUsers?: string[];
2922
+ /** @description IDs of the users participating in the comment thread. */
2923
+ participants?: string[];
2924
+ /**
2925
+ * Format: uuid
2926
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2927
+ */
2928
+ designId: string;
2929
+ /** @description IDs of the users who opted out of mention notifications. */
2930
+ usersOptedOutOfNotifications?: string[];
2931
+ /** @description The comment messages to include in the notification email. */
2932
+ messages?: {
2933
+ /** @description First name of the comment author. */
2934
+ firstName?: string;
2935
+ /** @description Last name of the comment author. */
2936
+ lastName?: string;
2937
+ /**
2938
+ * Format: uri
2939
+ * @description URL to the comment author's avatar image.
2940
+ */
2941
+ avatarUrl?: string;
2942
+ /** @description Text of the comment message. */
2943
+ message?: string;
2944
+ /**
2945
+ * Format: date-time
2946
+ * @description Timestamp when the comment message was written.
2947
+ */
2948
+ timestamp?: string;
2949
+ /**
2950
+ * Format: uuid
2951
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2952
+ */
2953
+ userId?: string;
2954
+ }[];
2955
+ };
2956
+ };
2957
+ };
2958
+ responses: {
2959
+ /** @description Mention notifications dispatched */
2960
+ 200: {
2961
+ headers: {
2962
+ [name: string]: unknown;
2963
+ };
2964
+ content?: never;
2965
+ };
2966
+ /** @description Expired JWT token used or insufficient privilege */
2967
+ 401: {
2968
+ headers: {
2969
+ [name: string]: unknown;
2970
+ };
2971
+ content: {
2972
+ "text/plain": string;
2973
+ };
2974
+ };
2975
+ /** @description Internal server error */
2976
+ 500: {
2977
+ headers: {
2978
+ [name: string]: unknown;
2979
+ };
2980
+ content: {
2981
+ "text/plain": string;
2982
+ };
2983
+ };
2984
+ };
2985
+ };
2986
+ createAnonymousUserSession: {
2987
+ parameters: {
2988
+ query?: never;
2989
+ header?: never;
2990
+ path?: never;
2991
+ cookie?: never;
2992
+ };
2993
+ requestBody: {
2994
+ content: {
2995
+ "application/json": {
2996
+ /**
2997
+ * Format: uuid
2998
+ * @description Connection ID
2999
+ */
3000
+ id?: string;
3001
+ /** @description Connection name */
3002
+ name: string;
3003
+ /** @description Connection kind */
3004
+ kind: string;
3005
+ /** @description Connection type */
3006
+ type: string;
3007
+ /** @description Connection sub-type */
3008
+ subType: string;
3009
+ /** @description Credential secret data */
3010
+ credentialSecret?: Record<string, never>;
3011
+ /** @description Connection metadata */
3012
+ metadata?: Record<string, never>;
3013
+ /** @description Visualization styles for the connection, including svgColor and svgWhite used for UI representation. */
3014
+ styles?: ({
3015
+ /** @description Primary color of the component used for UI representation. */
3016
+ primaryColor: string;
3017
+ /** @description Secondary color of the entity used for UI representation. */
3018
+ secondaryColor?: string;
3019
+ /** @description White SVG of the entity used for UI representation on dark background. */
3020
+ svgWhite: string;
3021
+ /** @description Colored SVG of the entity used for UI representation on light background. */
3022
+ svgColor: string;
3023
+ /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
3024
+ svgComplete: string;
3025
+ /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
3026
+ color?: string;
3027
+ /** @description The opacity of the label text, including its outline. */
3028
+ textOpacity?: number;
3029
+ /** @description A comma-separated list of font names to use on the label text. */
3030
+ fontFamily?: string;
3031
+ /** @description The size of the label text. */
3032
+ fontSize?: string;
3033
+ /** @description A CSS font style to be applied to the label text. */
3034
+ fontStyle?: string;
3035
+ /** @description A CSS font weight to be applied to the label text. */
3036
+ fontWeight?: string;
3037
+ /**
3038
+ * @description A transformation to apply to the label text
3039
+ * @enum {string}
3040
+ */
3041
+ textTransform?: "none" | "uppercase" | "lowercase";
3042
+ /** @description The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children. */
3043
+ opacity?: number;
3044
+ /** @description An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
3045
+ zIndex?: number;
3046
+ /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
3047
+ label?: string;
3048
+ /** @description The animation to apply to the element. example ripple,bounce,etc */
3049
+ animation?: Record<string, never>;
3050
+ } & {
3051
+ [key: string]: unknown;
3052
+ }) & {
3053
+ /**
3054
+ * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
3055
+ * @enum {string}
3056
+ */
3057
+ shape: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
3058
+ /** @description The position of the node. If the position is set, the node is drawn at that position in the given dimensions. If the position is not set, the node is drawn at a random position. */
3059
+ position?: {
3060
+ /** @description The x-coordinate of the node. */
3061
+ x: number;
3062
+ /** @description The y-coordinate of the node. */
3063
+ y: number;
3064
+ };
3065
+ /** @description The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id */
3066
+ bodyText?: string;
3067
+ /**
3068
+ * @description How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'.
3069
+ * @enum {string}
3070
+ */
3071
+ bodyTextWrap?: "none" | "wrap" | "ellipsis";
3072
+ /** @description The maximum width for wrapping text in the node. */
3073
+ bodyTextMaxWidth?: string;
3074
+ /** @description The opacity of the node's body text, including its outline. */
3075
+ bodyTextOpacity?: number;
3076
+ /** @description The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g. */
3077
+ bodyTextBackgroundColor?: string;
3078
+ /** @description The size of the node's body text. */
3079
+ bodyTextFontSize?: number;
3080
+ /** @description The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g. */
3081
+ bodyTextColor?: string;
3082
+ /** @description A CSS font weight to be applied to the node's body text. */
3083
+ bodyTextFontWeight?: string;
3084
+ /** @description A CSS horizontal alignment to be applied to the node's body text. */
3085
+ bodyTextHorizontalAlign?: string;
3086
+ /** @description A CSS text decoration to be applied to the node's body text. */
3087
+ bodyTextDecoration?: string;
3088
+ /** @description A CSS vertical alignment to be applied to the node's body text. */
3089
+ bodyTextVerticalAlign?: string;
3090
+ /** @description The width of the node's body or the width of an edge's line. */
3091
+ width?: number;
3092
+ /** @description The height of the node's body */
3093
+ height?: number;
3094
+ /**
3095
+ * Format: uri
3096
+ * @description The URL that points to the image to show in the node.
3097
+ */
3098
+ backgroundImage?: string;
3099
+ /** @description The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g. */
3100
+ backgroundColor?: string;
3101
+ /** @description Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1. */
3102
+ backgroundBlacken?: number;
3103
+ /** @description The opacity level of the node's background colour */
3104
+ backgroundOpacity?: number;
3105
+ /** @description The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3106
+ backgroundPositionX?: string;
3107
+ /** @description The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3108
+ backgroundPositionY?: string;
3109
+ /** @description The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3110
+ backgroundOffsetX?: string;
3111
+ /** @description The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3112
+ backgroundOffsetY?: string;
3113
+ /**
3114
+ * @description How the background image is fit to the node. Can be 'none', 'contain', or 'cover'.
3115
+ * @enum {string}
3116
+ */
3117
+ backgroundFit?: "none" | "contain" | "cover";
3118
+ /**
3119
+ * @description How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'.
3120
+ * @enum {string}
3121
+ */
3122
+ backgroundClip?: "none" | "node" | "node-border";
3123
+ /**
3124
+ * @description How the background image's width is determined. Can be 'none', 'inner', or 'outer'.
3125
+ * @enum {string}
3126
+ */
3127
+ backgroundWidthRelativeTo?: "none" | "inner" | "outer";
3128
+ /**
3129
+ * @description How the background image's height is determined. Can be 'none', 'inner', or 'outer'.
3130
+ * @enum {string}
3131
+ */
3132
+ backgroundHeightRelativeTo?: "none" | "inner" | "outer";
3133
+ /** @description The size of the node's border. */
3134
+ borderWidth?: number;
3135
+ /**
3136
+ * @description The style of the node's border
3137
+ * @enum {string}
3138
+ */
3139
+ borderStyle?: "solid" | "dotted" | "dashed" | "double";
3140
+ /** @description The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g. */
3141
+ borderColor?: string;
3142
+ /** @description The opacity of the node's border */
3143
+ borderOpacity?: number;
3144
+ /** @description The amount of padding around all sides of the node. */
3145
+ padding?: number;
3146
+ /**
3147
+ * @description The horizontal alignment of a node's label
3148
+ * @enum {string}
3149
+ */
3150
+ textHalign?: "left" | "center" | "right";
3151
+ /**
3152
+ * @description The vertical alignment of a node's label
3153
+ * @enum {string}
3154
+ */
3155
+ textValign?: "top" | "center" | "bottom";
3156
+ /**
3157
+ * @description Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset.
3158
+ * @default no
3159
+ * @enum {string}
3160
+ */
3161
+ ghost?: "yes" | "no";
3162
+ /** @description The colour of the indicator shown when the background is grabbed by the user. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
3163
+ activeBgColor?: string;
3164
+ /** @description The opacity of the active background indicator. Selector needs to be *core*. */
3165
+ activeBgOpacity?: string;
3166
+ /** @description The opacity of the active background indicator. Selector needs to be *core*. */
3167
+ activeBgSize?: string;
3168
+ /** @description The background colour of the selection box used for drag selection. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
3169
+ selectionBoxColor?: string;
3170
+ /** @description The size of the border on the selection box. Selector needs to be *core* */
3171
+ selectionBoxBorderWidth?: number;
3172
+ /** @description The opacity of the selection box. Selector needs to be *core* */
3173
+ selectionBoxOpacity?: number;
3174
+ /** @description The colour of the area outside the viewport texture when initOptions.textureOnViewport === true. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
3175
+ outsideTextureBgColor?: string;
3176
+ /** @description The opacity of the area outside the viewport texture. Selector needs to be *core* */
3177
+ outsideTextureBgOpacity?: number;
3178
+ /** @description An array (or a space-separated string) of numbers ranging on [-1, 1], representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). This represents the points in the polygon for the node's shape. The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). The node's position is the origin (0, 0 ) */
3179
+ shapePolygonPoints?: string;
3180
+ /** @description The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
3181
+ menuBackgroundColor?: string;
3182
+ /** @description The opacity of the background of the component menu. */
3183
+ menuBackgroundOpacity?: number;
3184
+ /** @description The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
3185
+ menuForgroundColor?: string;
3186
+ };
3187
+ /** @description Connection status */
3188
+ status: string;
3189
+ /**
3190
+ * Format: uuid
3191
+ * @description Associated credential ID
3192
+ */
3193
+ credentialId?: string;
3194
+ };
3195
+ };
3196
+ };
3197
+ responses: {
3198
+ /** @description Anonymous session issued */
3199
+ 200: {
3200
+ headers: {
3201
+ [name: string]: unknown;
3202
+ };
3203
+ content: {
3204
+ "application/json": {
3205
+ /** @description JWT access token for the anonymous session. */
3206
+ accessToken: string;
3207
+ /** @description Capability document for the anonymous session. Untyped pending the provider-capabilities schema tracked separately in the identifier-uniformity program. */
3208
+ capability?: {
3209
+ [key: string]: unknown;
3210
+ };
3211
+ /**
3212
+ * Format: uuid
3213
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3214
+ */
3215
+ userId: string;
3216
+ };
3217
+ };
3218
+ };
3219
+ /** @description Expired JWT token used or insufficient privilege */
3220
+ 401: {
3221
+ headers: {
3222
+ [name: string]: unknown;
3223
+ };
3224
+ content: {
3225
+ "text/plain": string;
3226
+ };
3227
+ };
3228
+ /** @description Internal server error */
3229
+ 500: {
3230
+ headers: {
3231
+ [name: string]: unknown;
3232
+ };
3233
+ content: {
3234
+ "text/plain": string;
3235
+ };
3236
+ };
3237
+ };
3238
+ };
2544
3239
  getAccountDeletionEligibility: {
2545
3240
  parameters: {
2546
3241
  query?: {