@meshery/schemas 1.3.99 → 1.3.100

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 (58) hide show
  1. package/dist/cloudApi.d.mts +54 -14
  2. package/dist/cloudApi.d.ts +54 -14
  3. package/dist/constructs/v1beta1/component/Component.d.ts +5 -0
  4. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  5. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  6. package/dist/constructs/v1beta1/connection/Connection.d.ts +30 -0
  7. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  8. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  9. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +20 -0
  10. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  11. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  12. package/dist/constructs/v1beta1/model/Model.d.ts +15 -0
  13. package/dist/constructs/v1beta1/model/ModelSchema.js +3 -3
  14. package/dist/constructs/v1beta1/model/ModelSchema.mjs +3 -3
  15. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +115 -0
  16. package/dist/constructs/v1beta1/pattern/PatternSchema.js +34 -23
  17. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +34 -23
  18. package/dist/constructs/v1beta1/registry/Registry.d.ts +111 -6
  19. package/dist/constructs/v1beta1/registry/RegistrySchema.js +21 -21
  20. package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +21 -21
  21. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +20 -0
  22. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +6 -4
  23. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +6 -4
  24. package/dist/constructs/v1beta2/component/Component.d.ts +5 -0
  25. package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
  26. package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
  27. package/dist/constructs/v1beta2/design/Design.d.ts +60 -0
  28. package/dist/constructs/v1beta2/design/DesignSchema.js +12 -12
  29. package/dist/constructs/v1beta2/design/DesignSchema.mjs +12 -12
  30. package/dist/constructs/v1beta2/model/Model.d.ts +15 -0
  31. package/dist/constructs/v1beta2/model/ModelSchema.js +3 -3
  32. package/dist/constructs/v1beta2/model/ModelSchema.mjs +3 -3
  33. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  34. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  35. package/dist/constructs/v1beta3/component/Component.d.ts +5 -0
  36. package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
  37. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
  38. package/dist/constructs/v1beta3/connection/Connection.d.ts +39 -22
  39. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +4 -4
  40. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +4 -4
  41. package/dist/constructs/v1beta3/design/Design.d.ts +78 -3
  42. package/dist/constructs/v1beta3/design/DesignSchema.js +16 -16
  43. package/dist/constructs/v1beta3/design/DesignSchema.mjs +16 -16
  44. package/dist/constructs/v1beta3/profile/Profile.d.ts +1 -1
  45. package/dist/constructs/v1beta3/profile/ProfileSchema.js +1 -1
  46. package/dist/constructs/v1beta3/profile/ProfileSchema.mjs +1 -1
  47. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +20 -0
  48. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +6 -4
  49. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +6 -4
  50. package/dist/index.d.mts +120 -0
  51. package/dist/index.d.ts +120 -0
  52. package/dist/index.js +59 -46
  53. package/dist/index.mjs +59 -46
  54. package/dist/mesheryApi.d.mts +71 -17
  55. package/dist/mesheryApi.d.ts +71 -17
  56. package/dist/mesheryApi.js +1 -1
  57. package/dist/mesheryApi.mjs +1 -1
  58. package/package.json +1 -1
@@ -19,7 +19,7 @@ export interface paths {
19
19
  put?: never;
20
20
  /**
21
21
  * Save design
22
- * @description Creates or updates an infrastructure design.
22
+ * @description Creates or updates an infrastructure design. The server assigns `organizationId` from the session organization; clients do not send it. On update the organization stays the one assigned at create.
23
23
  */
24
24
  post: operations["upsertPattern"];
25
25
  delete?: never;
@@ -613,6 +613,11 @@ export interface components {
613
613
  * @description SQL null Timestamp to handle null values of time.
614
614
  */
615
615
  deleted_at?: string;
616
+ /**
617
+ * Format: uuid
618
+ * @description The organization the connection belongs to. The server sets it from the session organization. A client-supplied value is ignored. Optional on this superseded shape, which live model responses still embed as `registrant` (`additionalProperties: false`, so the field has to be declared for the server to return it). v1beta3 Connection requires it. Not marked readOnly: this connection is inlined into `POST /api/registry/relationships/evaluate` through a component model's registrant, and readOnly there drops the design field from the generated RTK client.
619
+ */
620
+ organizationId?: string;
616
621
  /** @description Associated environments for this connection */
617
622
  environments?: {
618
623
  /**
@@ -1851,7 +1856,7 @@ export interface components {
1851
1856
  }[];
1852
1857
  }[];
1853
1858
  };
1854
- /** @description Server-returned design (pattern) resource as persisted by meshery-cloud. */
1859
+ /** @description Server-returned design (pattern) resource as persisted in `meshery_patterns`. `organizationId` is required and read-only: the server assigns it from the session organization and clients never send it. */
1855
1860
  MesheryPattern: {
1856
1861
  /**
1857
1862
  * Format: uuid
@@ -1896,6 +1901,11 @@ export interface components {
1896
1901
  * @description Owning user ID.
1897
1902
  */
1898
1903
  userId?: string;
1904
+ /**
1905
+ * Format: uuid
1906
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
1907
+ */
1908
+ readonly organizationId: string;
1899
1909
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
1900
1910
  user?: {
1901
1911
  /**
@@ -2268,6 +2278,11 @@ export interface components {
2268
2278
  * @description Owning user ID.
2269
2279
  */
2270
2280
  userId?: string;
2281
+ /**
2282
+ * Format: uuid
2283
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
2284
+ */
2285
+ readonly organizationId: string;
2271
2286
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
2272
2287
  user?: {
2273
2288
  /**
@@ -2603,7 +2618,7 @@ export interface components {
2603
2618
  name?: string;
2604
2619
  }[];
2605
2620
  };
2606
- /** @description Client-settable subset of the design (pattern) entity used as the body of the inner `patternData` envelope on POST /api/content/patterns. Server-generated fields (createdAt, updatedAt, viewCount, downloadCount, cloneCount, deploymentCount, shareCount, the joined `user` object, and the imported-source `sourceContent` blob) are deliberately excluded — the server ignores them on writes and re-projects them on the response. */
2621
+ /** @description Client-settable subset of the design (pattern) entity used as the body of the inner `patternData` envelope on POST /api/content/patterns. Server-generated fields (`organizationId`, createdAt, updatedAt, viewCount, downloadCount, cloneCount, deploymentCount, shareCount, the joined `user` object, and the imported-source `sourceContent` blob) are deliberately excluded. The server assigns `organizationId` from the session organization, ignores any client value, and re-projects server-owned fields on the response. */
2607
2622
  MesheryPatternPayload: {
2608
2623
  /**
2609
2624
  * Format: uuid
@@ -2918,6 +2933,11 @@ export interface components {
2918
2933
  * @description Owning user ID.
2919
2934
  */
2920
2935
  userId?: string;
2936
+ /**
2937
+ * Format: uuid
2938
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
2939
+ */
2940
+ readonly organizationId: string;
2921
2941
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
2922
2942
  user?: {
2923
2943
  /**
@@ -3418,6 +3438,11 @@ export interface components {
3418
3438
  * @description Owning user ID.
3419
3439
  */
3420
3440
  userId?: string;
3441
+ /**
3442
+ * Format: uuid
3443
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
3444
+ */
3445
+ readonly organizationId: string;
3421
3446
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
3422
3447
  user?: {
3423
3448
  /**
@@ -4770,6 +4795,11 @@ export interface operations {
4770
4795
  * @description Owning user ID.
4771
4796
  */
4772
4797
  userId?: string;
4798
+ /**
4799
+ * Format: uuid
4800
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
4801
+ */
4802
+ readonly organizationId: string;
4773
4803
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
4774
4804
  user?: {
4775
4805
  /**
@@ -5251,6 +5281,11 @@ export interface operations {
5251
5281
  * @description Owning user ID.
5252
5282
  */
5253
5283
  userId?: string;
5284
+ /**
5285
+ * Format: uuid
5286
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
5287
+ */
5288
+ readonly organizationId: string;
5254
5289
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
5255
5290
  user?: {
5256
5291
  /**
@@ -5726,6 +5761,11 @@ export interface operations {
5726
5761
  * @description Owning user ID.
5727
5762
  */
5728
5763
  userId?: string;
5764
+ /**
5765
+ * Format: uuid
5766
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
5767
+ */
5768
+ readonly organizationId: string;
5729
5769
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
5730
5770
  user?: {
5731
5771
  /**
@@ -6186,6 +6226,11 @@ export interface operations {
6186
6226
  * @description Owning user ID.
6187
6227
  */
6188
6228
  userId?: string;
6229
+ /**
6230
+ * Format: uuid
6231
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
6232
+ */
6233
+ readonly organizationId: string;
6189
6234
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
6190
6235
  user?: {
6191
6236
  /**
@@ -6718,6 +6763,11 @@ export interface operations {
6718
6763
  * @description Owning user ID.
6719
6764
  */
6720
6765
  userId?: string;
6766
+ /**
6767
+ * Format: uuid
6768
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
6769
+ */
6770
+ readonly organizationId: string;
6721
6771
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
6722
6772
  user?: {
6723
6773
  /**
@@ -7210,6 +7260,11 @@ export interface operations {
7210
7260
  * @description Owning user ID.
7211
7261
  */
7212
7262
  userId?: string;
7263
+ /**
7264
+ * Format: uuid
7265
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
7266
+ */
7267
+ readonly organizationId: string;
7213
7268
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
7214
7269
  user?: {
7215
7270
  /**
@@ -7711,6 +7766,11 @@ export interface operations {
7711
7766
  * @description Owning user ID.
7712
7767
  */
7713
7768
  userId?: string;
7769
+ /**
7770
+ * Format: uuid
7771
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
7772
+ */
7773
+ readonly organizationId: string;
7714
7774
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
7715
7775
  user?: {
7716
7776
  /**
@@ -8134,6 +8194,11 @@ export interface operations {
8134
8194
  * @description Owning user ID.
8135
8195
  */
8136
8196
  userId?: string;
8197
+ /**
8198
+ * Format: uuid
8199
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
8200
+ */
8201
+ readonly organizationId: string;
8137
8202
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
8138
8203
  user?: {
8139
8204
  /**
@@ -8588,6 +8653,11 @@ export interface operations {
8588
8653
  * @description Owning user ID.
8589
8654
  */
8590
8655
  userId?: string;
8656
+ /**
8657
+ * Format: uuid
8658
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
8659
+ */
8660
+ readonly organizationId: string;
8591
8661
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
8592
8662
  user?: {
8593
8663
  /**
@@ -9274,6 +9344,11 @@ export interface operations {
9274
9344
  * @description Owning user ID.
9275
9345
  */
9276
9346
  userId?: string;
9347
+ /**
9348
+ * Format: uuid
9349
+ * @description The organization the design belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization) on create, including import. Never accepted from clients. A workspace this design is assigned to must belong to this same organization.
9350
+ */
9351
+ readonly organizationId: string;
9277
9352
  /** @description Owning user record, joined inline by the catalog list/get handlers when shaping responses. Server-projected from the users table via the design's userId; not a column on the meshery_patterns table itself, so the generated Go field is tagged `db:"-"` to keep it out of ORM column scans. */
9278
9353
  user?: {
9279
9354
  /**