@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
@@ -928,6 +928,8 @@ type EvaluateRelationshipsApiResponse = {
928
928
  updated_at?: string;
929
929
  /** SQL null Timestamp to handle null values of time. */
930
930
  deleted_at?: string;
931
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
932
+ organizationId?: string;
931
933
  /** Associated environments for this connection */
932
934
  environments?: {
933
935
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
@@ -1774,6 +1776,8 @@ type EvaluateRelationshipsApiArg = {
1774
1776
  updated_at?: string;
1775
1777
  /** SQL null Timestamp to handle null values of time. */
1776
1778
  deleted_at?: string;
1779
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1780
+ organizationId?: string;
1777
1781
  /** Associated environments for this connection */
1778
1782
  environments?: {
1779
1783
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
@@ -2584,6 +2588,9 @@ type GetRegistryModelsApiResponse = /** status 200 Paginated list of registered
2584
2588
  updated_at?: string;
2585
2589
  /** SQL null Timestamp to handle null values of time. */
2586
2590
  deleted_at?: string;
2591
+ /** 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.
2592
+ */
2593
+ organizationId?: string;
2587
2594
  /** Associated environments for this connection */
2588
2595
  environments?: {
2589
2596
  /** ID */
@@ -2776,6 +2783,9 @@ type GetRegistryModelsByNameApiResponse = /** status 200 Paginated list of match
2776
2783
  updated_at?: string;
2777
2784
  /** SQL null Timestamp to handle null values of time. */
2778
2785
  deleted_at?: string;
2786
+ /** 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.
2787
+ */
2788
+ organizationId?: string;
2779
2789
  /** Associated environments for this connection */
2780
2790
  environments?: {
2781
2791
  /** ID */
@@ -2982,6 +2992,9 @@ type GetRegistryComponentsByModelApiResponse =
2982
2992
  updated_at?: string;
2983
2993
  /** SQL null Timestamp to handle null values of time. */
2984
2994
  deleted_at?: string;
2995
+ /** 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.
2996
+ */
2997
+ organizationId?: string;
2985
2998
  /** Associated environments for this connection */
2986
2999
  environments?: {
2987
3000
  /** ID */
@@ -3407,6 +3420,9 @@ type GetRegistryComponentsByModelAndNameApiResponse = /** status 200 Paginated l
3407
3420
  updated_at?: string;
3408
3421
  /** SQL null Timestamp to handle null values of time. */
3409
3422
  deleted_at?: string;
3423
+ /** 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.
3424
+ */
3425
+ organizationId?: string;
3410
3426
  /** Associated environments for this connection */
3411
3427
  environments?: {
3412
3428
  /** ID */
@@ -4021,6 +4037,9 @@ type GetRegistryModelsByCategoryApiResponse = /** status 200 Paginated list of m
4021
4037
  updated_at?: string;
4022
4038
  /** SQL null Timestamp to handle null values of time. */
4023
4039
  deleted_at?: string;
4040
+ /** 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.
4041
+ */
4042
+ organizationId?: string;
4024
4043
  /** Associated environments for this connection */
4025
4044
  environments?: {
4026
4045
  /** ID */
@@ -4208,6 +4227,9 @@ type GetRegistryModelsByCategoryAndModelApiResponse =
4208
4227
  updated_at?: string;
4209
4228
  /** SQL null Timestamp to handle null values of time. */
4210
4229
  deleted_at?: string;
4230
+ /** 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.
4231
+ */
4232
+ organizationId?: string;
4211
4233
  /** Associated environments for this connection */
4212
4234
  environments?: {
4213
4235
  /** ID */
@@ -4410,6 +4432,9 @@ type GetRegistryComponentsByCategoryAndModelApiResponse = /** status 200 Paginat
4410
4432
  updated_at?: string;
4411
4433
  /** SQL null Timestamp to handle null values of time. */
4412
4434
  deleted_at?: string;
4435
+ /** 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.
4436
+ */
4437
+ organizationId?: string;
4413
4438
  /** Associated environments for this connection */
4414
4439
  environments?: {
4415
4440
  /** ID */
@@ -4838,6 +4863,9 @@ type GetRegistryComponentsByCategoryAndModelAndNameApiResponse =
4838
4863
  updated_at?: string;
4839
4864
  /** SQL null Timestamp to handle null values of time. */
4840
4865
  deleted_at?: string;
4866
+ /** 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.
4867
+ */
4868
+ organizationId?: string;
4841
4869
  /** Associated environments for this connection */
4842
4870
  environments?: {
4843
4871
  /** ID */
@@ -5268,6 +5296,9 @@ type GetRegistryComponentsByCategoryApiResponse =
5268
5296
  updated_at?: string;
5269
5297
  /** SQL null Timestamp to handle null values of time. */
5270
5298
  deleted_at?: string;
5299
+ /** 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.
5300
+ */
5301
+ organizationId?: string;
5271
5302
  /** Associated environments for this connection */
5272
5303
  environments?: {
5273
5304
  /** ID */
@@ -5694,6 +5725,9 @@ type GetRegistryComponentsByCategoryAndNameApiResponse =
5694
5725
  updated_at?: string;
5695
5726
  /** SQL null Timestamp to handle null values of time. */
5696
5727
  deleted_at?: string;
5728
+ /** 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.
5729
+ */
5730
+ organizationId?: string;
5697
5731
  /** Associated environments for this connection */
5698
5732
  environments?: {
5699
5733
  /** ID */
@@ -6121,6 +6155,9 @@ type GetRegistryComponentsApiResponse = /** status 200 Paginated list of registe
6121
6155
  updated_at?: string;
6122
6156
  /** SQL null Timestamp to handle null values of time. */
6123
6157
  deleted_at?: string;
6158
+ /** 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.
6159
+ */
6160
+ organizationId?: string;
6124
6161
  /** Associated environments for this connection */
6125
6162
  environments?: {
6126
6163
  /** ID */
@@ -6676,9 +6713,9 @@ type RegisterRegistryComponentApiArg = {
6676
6713
  updatedAt?: string;
6677
6714
  /** Timestamp when the connection was soft-deleted, if applicable. */
6678
6715
  deletedAt?: string | null;
6679
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
6716
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
6680
6717
  */
6681
- organizationId?: string;
6718
+ organizationId: string;
6682
6719
  /** Associated environments for this connection */
6683
6720
  environments?: {
6684
6721
  /** ID */
@@ -6791,6 +6828,9 @@ type GetRegistryComponentsByNameApiResponse = /** status 200 Paginated list of m
6791
6828
  updated_at?: string;
6792
6829
  /** SQL null Timestamp to handle null values of time. */
6793
6830
  deleted_at?: string;
6831
+ /** 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.
6832
+ */
6833
+ organizationId?: string;
6794
6834
  /** Associated environments for this connection */
6795
6835
  environments?: {
6796
6836
  /** ID */
@@ -7377,9 +7417,9 @@ type RegisterRegistryRelationshipApiArg = {
7377
7417
  updatedAt?: string;
7378
7418
  /** Timestamp when the connection was soft-deleted, if applicable. */
7379
7419
  deletedAt?: string | null;
7380
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
7420
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
7381
7421
  */
7382
- organizationId?: string;
7422
+ organizationId: string;
7383
7423
  /** Associated environments for this connection */
7384
7424
  environments?: {
7385
7425
  /** ID */
@@ -7458,6 +7498,9 @@ type GetRegistryRegistrantsApiResponse = /** status 200 Paginated list of regist
7458
7498
  updated_at?: string;
7459
7499
  /** SQL null Timestamp to handle null values of time. */
7460
7500
  deleted_at?: string;
7501
+ /** 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.
7502
+ */
7503
+ organizationId?: string;
7461
7504
  /** Associated environments for this connection */
7462
7505
  environments?: {
7463
7506
  /** ID */
@@ -7639,6 +7682,9 @@ type GenerateRegistryComponentsApiResponse =
7639
7682
  updated_at?: string;
7640
7683
  /** SQL null Timestamp to handle null values of time. */
7641
7684
  deleted_at?: string;
7685
+ /** 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.
7686
+ */
7687
+ organizationId?: string;
7642
7688
  /** Associated environments for this connection */
7643
7689
  environments?: {
7644
7690
  /** ID */
@@ -10817,9 +10863,9 @@ type GetConnectionsApiResponse = {
10817
10863
  updatedAt?: string;
10818
10864
  /** Timestamp when the connection was soft-deleted, if applicable. */
10819
10865
  deletedAt?: string | null;
10820
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
10866
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
10821
10867
  */
10822
- organizationId?: string;
10868
+ organizationId: string;
10823
10869
  /** Associated environments for this connection */
10824
10870
  environments?: {
10825
10871
  /** ID */
@@ -11087,9 +11133,9 @@ type RegisterConnectionApiResponse = {
11087
11133
  updatedAt?: string;
11088
11134
  /** Timestamp when the connection was soft-deleted, if applicable. */
11089
11135
  deletedAt?: string | null;
11090
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
11136
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
11091
11137
  */
11092
- organizationId?: string;
11138
+ organizationId: string;
11093
11139
  /** Associated environments for this connection */
11094
11140
  environments?: {
11095
11141
  /** ID */
@@ -11323,9 +11369,9 @@ type RegisterConnectionApiResponse = {
11323
11369
  updatedAt?: string;
11324
11370
  /** Timestamp when the connection was soft-deleted, if applicable. */
11325
11371
  deletedAt?: string | null;
11326
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
11372
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
11327
11373
  */
11328
- organizationId?: string;
11374
+ organizationId: string;
11329
11375
  /** Associated environments for this connection */
11330
11376
  environments?: {
11331
11377
  /** ID */
@@ -11363,7 +11409,7 @@ type RegisterConnectionApiResponse = {
11363
11409
  schemaVersion: string;
11364
11410
  };
11365
11411
  type RegisterConnectionApiArg = {
11366
- /** Organization the connection is registered in. Required for kind `desktop`; ignored for other kinds.
11412
+ /** Session organization. The server assigns `Connection.organizationId` from this header when it is present, and from the caller's selected organization when it is absent. Kind `desktop` requires the header: a desktop registration without it is refused with 400.
11367
11413
  */
11368
11414
  "X-Current-Orgid"?: string;
11369
11415
  body: {
@@ -11761,9 +11807,9 @@ type GetConnectionByIdApiResponse = {
11761
11807
  updatedAt?: string;
11762
11808
  /** Timestamp when the connection was soft-deleted, if applicable. */
11763
11809
  deletedAt?: string | null;
11764
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
11810
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
11765
11811
  */
11766
- organizationId?: string;
11812
+ organizationId: string;
11767
11813
  /** Associated environments for this connection */
11768
11814
  environments?: {
11769
11815
  /** ID */
@@ -12002,9 +12048,9 @@ type UpdateConnectionApiResponse = {
12002
12048
  updatedAt?: string;
12003
12049
  /** Timestamp when the connection was soft-deleted, if applicable. */
12004
12050
  deletedAt?: string | null;
12005
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
12051
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
12006
12052
  */
12007
- organizationId?: string;
12053
+ organizationId: string;
12008
12054
  /** Associated environments for this connection */
12009
12055
  environments?: {
12010
12056
  /** ID */
@@ -12405,9 +12451,9 @@ type PerformConnectionActionApiResponse =
12405
12451
  updatedAt?: string;
12406
12452
  /** Timestamp when the connection was soft-deleted, if applicable. */
12407
12453
  deletedAt?: string | null;
12408
- /** Organization the connection is registered in, taken from the `X-Current-Orgid` header on registration. Servers implementing this contract use it, with the owner and `metadata.installationId`, as the deduplication key for `desktop` connections. Lets an organization list and count its connections (for example its registered desktop installs) without going through each owner. Absent on connections that predate it.
12454
+ /** The organization the connection belongs to. The server sets it from the session organization (`X-Current-Orgid`, or the caller's selected organization when that header is absent) when the connection is registered, and keeps it on later updates. Never accepted from clients on connection write payloads. Not marked readOnly: `RegistrantData` inlines this entity into registry registration requests, and readOnly there drops the connection field from the generated RTK client. A value sent on that inlined connection is ignored. With the owner and `metadata.installationId`, it is the deduplication key for `desktop` connections.
12409
12455
  */
12410
- organizationId?: string;
12456
+ organizationId: string;
12411
12457
  /** Associated environments for this connection */
12412
12458
  environments?: {
12413
12459
  /** ID */
@@ -12967,6 +13013,9 @@ type ImportDesignApiResponse =
12967
13013
  };
12968
13014
  /** Owning user ID. */
12969
13015
  userId?: string;
13016
+ /** 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.
13017
+ */
13018
+ organizationId: string;
12970
13019
  /** 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.
12971
13020
  */
12972
13021
  user?: {
@@ -14369,6 +14418,9 @@ type GetDesignsOfWorkspaceApiResponse = {
14369
14418
  };
14370
14419
  created_at?: string;
14371
14420
  user_id?: string;
14421
+ /** The organization the design belongs to. The server sets it from the session organization. Never accepted from clients. Optional on this superseded shape, which workspace design lists still return. v1beta3 MesheryPattern requires it. A client value on the deprecated design write is ignored. A workspace this design is assigned to must belong to this same organization.
14422
+ */
14423
+ organizationId?: string;
14372
14424
  location?: {
14373
14425
  [key: string]: string;
14374
14426
  };
@@ -14460,6 +14512,8 @@ type GetDesignsOfWorkspaceApiResponse = {
14460
14512
  updated_at?: string;
14461
14513
  /** SQL null Timestamp to handle null values of time. */
14462
14514
  deleted_at?: string;
14515
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
14516
+ organizationId?: string;
14463
14517
  /** Associated environments for this connection */
14464
14518
  environments?: {
14465
14519
  /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */