@meshery/schemas 1.3.116 → 1.3.118

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 (66) hide show
  1. package/README.md +10 -0
  2. package/dist/api.d.mts +9 -1
  3. package/dist/api.d.ts +9 -1
  4. package/dist/api.js +2 -2
  5. package/dist/api.mjs +2 -2
  6. package/dist/cloudApi.d.mts +739 -20
  7. package/dist/cloudApi.d.ts +739 -20
  8. package/dist/cloudApi.js +1 -1
  9. package/dist/cloudApi.mjs +1 -1
  10. package/dist/constructs/v1alpha1/controllers_config/ControllersConfig.d.ts +37 -1392
  11. package/dist/constructs/v1alpha1/controllers_config/ControllersConfigSchema.js +1 -1
  12. package/dist/constructs/v1alpha1/controllers_config/ControllersConfigSchema.mjs +1 -1
  13. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  14. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  15. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  16. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  17. package/dist/constructs/v1beta1/model/ModelSchema.js +3 -3
  18. package/dist/constructs/v1beta1/model/ModelSchema.mjs +3 -3
  19. package/dist/constructs/v1beta1/pattern/PatternSchema.js +12 -12
  20. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +12 -12
  21. package/dist/constructs/v1beta1/registry/RegistrySchema.js +18 -18
  22. package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +18 -18
  23. package/dist/constructs/v1beta1/user/User.d.ts +9 -0
  24. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  25. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  26. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -2
  27. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -2
  28. package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
  29. package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
  30. package/dist/constructs/v1beta2/design/DesignSchema.js +12 -12
  31. package/dist/constructs/v1beta2/design/DesignSchema.mjs +12 -12
  32. package/dist/constructs/v1beta2/model/ModelSchema.js +3 -3
  33. package/dist/constructs/v1beta2/model/ModelSchema.mjs +3 -3
  34. package/dist/constructs/v1beta2/user/User.d.ts +28 -1
  35. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  36. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  37. package/dist/constructs/v1beta2/view/View.d.ts +226 -22
  38. package/dist/constructs/v1beta2/view/ViewSchema.js +4 -4
  39. package/dist/constructs/v1beta2/view/ViewSchema.mjs +4 -4
  40. package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
  41. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
  42. package/dist/constructs/v1beta3/connection/Connection.d.ts +17 -5
  43. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +3 -3
  44. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +3 -3
  45. package/dist/constructs/v1beta3/content_item/ContentItem.d.ts +2 -2
  46. package/dist/constructs/v1beta3/content_item/ContentItemSchema.js +11 -11
  47. package/dist/constructs/v1beta3/content_item/ContentItemSchema.mjs +11 -11
  48. package/dist/constructs/v1beta3/design/DesignSchema.js +1 -1
  49. package/dist/constructs/v1beta3/design/DesignSchema.mjs +1 -1
  50. package/dist/constructs/v1beta3/event/Event.d.ts +111 -10
  51. package/dist/constructs/v1beta3/event/EventSchema.js +7 -3
  52. package/dist/constructs/v1beta3/event/EventSchema.mjs +7 -3
  53. package/dist/constructs/v1beta3/schedule/Schedule.d.ts +390 -1
  54. package/dist/constructs/v1beta3/schedule/ScheduleSchema.js +35 -15
  55. package/dist/constructs/v1beta3/schedule/ScheduleSchema.mjs +35 -15
  56. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +2 -2
  57. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +2 -2
  58. package/dist/index.d.mts +13 -7
  59. package/dist/index.d.ts +13 -7
  60. package/dist/index.js +31 -31
  61. package/dist/index.mjs +31 -31
  62. package/dist/mesheryApi.d.mts +466 -833
  63. package/dist/mesheryApi.d.ts +466 -833
  64. package/dist/mesheryApi.js +1 -1
  65. package/dist/mesheryApi.mjs +1 -1
  66. package/package.json +2 -2
@@ -25,7 +25,7 @@ export interface paths {
25
25
  *
26
26
  * Desktop registration uses this shared operation, but kind `desktop` is implemented by Cloud: a server that does not support it rejects a `desktop` body with `400`. The heartbeat and deregistration routes are Cloud-only. A client desktop app install registers itself on every connect to Cloud, sign-in included, with kind `desktop`, type `platform`, sub_type `management`, status `connected`, and `metadata` matching `DesktopConnectionMetadata`. Servers implementing this contract must take the organization from the `X-Current-Orgid` header, refuse a `desktop` registration without it with `400`, and refuse a caller who is not a live member of that organization with `403`. They must deduplicate on (organization, owner, `metadata.installationId`): registering the same install again updates that connection and returns `200`, while a new connection returns `201`. A `desktop` body whose metadata lacks `installationId` is refused with `400`. Installs on one computer share `metadata.computerId`, so a server can group them by computer. The kind names the connection type, never the product that runs on the machine.
27
27
  *
28
- * A `desktop` registration whose `metadata.clientName` and `metadata.appVersion` fall below the server's minimum version for that client is refused with `426` and a `ClientUpgradeRequiredError` body; the connection, when it exists, is set to `maintenance`. Servers must link the API token that authenticated the registration to the connection (`metadata.tokenId`, server-written) and revoke that token when the connection is deregistered or deleted. When a later registration of the same connection authenticates with a different token, the server revokes the token previously linked to it. Registrations beyond the organization's device limit are accepted; the organization is flagged through the capabilities document's `session.deviceUsage` instead.
28
+ * A `desktop` registration whose `metadata.clientName` and `metadata.appVersion` fall below the server's minimum version for that client is refused with `426` and a `ClientUpgradeRequiredError` body; the connection, when it exists, is set to `maintenance`. Servers must link the API token that authenticated the registration to the connection (`metadata.tokenId`, server-written) and revoke that token when the connection is deregistered or deleted. When a later registration of the same connection authenticates with a different token, the server revokes the token previously linked to it. One sign-in can back one install's connections in several organizations, so a token is revoked only once no live connection of the same owner still links it: removing or superseding one organization's connection must not sign the install out of another. Registrations beyond the organization's device limit are accepted; the organization is flagged through the capabilities document's `session.deviceUsage` instead.
29
29
  */
30
30
  post: operations["registerConnection"];
31
31
  delete?: never;
@@ -94,7 +94,7 @@ export interface paths {
94
94
  post?: never;
95
95
  /**
96
96
  * Delete a connection
97
- * @description Delete a specific connection. Deleting a connection that has a `metadata.tokenId` revokes that token.
97
+ * @description Delete a specific connection. Deleting a connection that has a `metadata.tokenId` revokes that token, unless another live connection of the same owner still links it.
98
98
  */
99
99
  delete: operations["deleteConnection"];
100
100
  options?: never;
@@ -174,7 +174,7 @@ export interface paths {
174
174
  post?: never;
175
175
  /**
176
176
  * Deregister a desktop app install
177
- * @description Delete the caller's `desktop` connection whose `metadata.installationId` matches, as a desktop app install does on sign-out or uninstall. Servers implementing this contract must scope the deletion to the caller: a connection registered by another user is not found. Servers must revoke the API token linked to each deleted connection (`metadata.tokenId`).
177
+ * @description Delete the caller's `desktop` connection whose `metadata.installationId` matches, as a desktop app install does on sign-out or uninstall. Servers implementing this contract must scope the deletion to the caller: a connection registered by another user is not found. An install registers one connection per organization, so with `X-Current-Orgid` naming an organization the server must delete only the install's connection in that organization and leave its connections in other organizations live; this is how an install releases the organization it is leaving when it switches to another. Without the header (or with the all-organizations value `all`) the server deletes the install's connections in every organization. When nothing matches, the server answers 404 and revokes nothing. Servers must revoke the API token linked to each deleted connection (`metadata.tokenId`) unless a live connection of the same owner still links it: the token still authenticates that connection.
178
178
  */
179
179
  delete: operations["deregisterDesktopConnection"];
180
180
  options?: never;
@@ -1403,7 +1403,7 @@ export interface components {
1403
1403
  osVersion?: string;
1404
1404
  /**
1405
1405
  * Format: uuid
1406
- * @description Server-written id of the API token that authenticated the latest registration. Deregistering or deleting the connection revokes this token. A value sent by the client is ignored.
1406
+ * @description Server-written id of the API token that authenticated the latest registration. Deregistering or deleting the connection revokes this token, unless another live connection of the same owner still links it. A value sent by the client is ignored.
1407
1407
  */
1408
1408
  tokenId?: string;
1409
1409
  /**
@@ -5315,7 +5315,10 @@ export interface operations {
5315
5315
  deregisterDesktopConnection: {
5316
5316
  parameters: {
5317
5317
  query?: never;
5318
- header?: never;
5318
+ header?: {
5319
+ /** @description Organization whose connection for this install is deleted. Absent, or `all`, deletes the install's connections in every organization. A value that is neither an organization id nor `all` is refused with 400. An organization id where the caller has no connection for this install deletes nothing and is 404. Membership is not checked: a non-member with no connection there gets the same 404, so the response does not disclose membership, and a connection the caller still owns in an organization it has left is deleted (204). The schema is a plain string, not `format: uuid` as on `registerConnection`, because `all` is a legal value here. */
5320
+ "X-Current-Orgid"?: string;
5321
+ };
5319
5322
  path: {
5320
5323
  /** @description Installation identifier from `metadata.installationId`. */
5321
5324
  installationId: string;
@@ -5331,6 +5334,15 @@ export interface operations {
5331
5334
  };
5332
5335
  content?: never;
5333
5336
  };
5337
+ /** @description Invalid request body or request param */
5338
+ 400: {
5339
+ headers: {
5340
+ [name: string]: unknown;
5341
+ };
5342
+ content: {
5343
+ "text/plain": string;
5344
+ };
5345
+ };
5334
5346
  /** @description Expired JWT token used or insufficient privilege */
5335
5347
  401: {
5336
5348
  headers: {