@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.
- package/dist/cloudApi.d.mts +54 -14
- package/dist/cloudApi.d.ts +54 -14
- package/dist/constructs/v1beta1/component/Component.d.ts +5 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/connection/Connection.d.ts +30 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +20 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
- package/dist/constructs/v1beta1/model/Model.d.ts +15 -0
- package/dist/constructs/v1beta1/model/ModelSchema.js +3 -3
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +3 -3
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +115 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +34 -23
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +34 -23
- package/dist/constructs/v1beta1/registry/Registry.d.ts +111 -6
- package/dist/constructs/v1beta1/registry/RegistrySchema.js +21 -21
- package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +21 -21
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +20 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +6 -4
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +6 -4
- package/dist/constructs/v1beta2/component/Component.d.ts +5 -0
- package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
- package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
- package/dist/constructs/v1beta2/design/Design.d.ts +60 -0
- package/dist/constructs/v1beta2/design/DesignSchema.js +12 -12
- package/dist/constructs/v1beta2/design/DesignSchema.mjs +12 -12
- package/dist/constructs/v1beta2/model/Model.d.ts +15 -0
- package/dist/constructs/v1beta2/model/ModelSchema.js +3 -3
- package/dist/constructs/v1beta2/model/ModelSchema.mjs +3 -3
- package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta3/component/Component.d.ts +5 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
- package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
- package/dist/constructs/v1beta3/connection/Connection.d.ts +39 -22
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +4 -4
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +4 -4
- package/dist/constructs/v1beta3/design/Design.d.ts +78 -3
- package/dist/constructs/v1beta3/design/DesignSchema.js +16 -16
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +16 -16
- package/dist/constructs/v1beta3/profile/Profile.d.ts +1 -1
- package/dist/constructs/v1beta3/profile/ProfileSchema.js +1 -1
- package/dist/constructs/v1beta3/profile/ProfileSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +20 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +6 -4
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +6 -4
- package/dist/index.d.mts +120 -0
- package/dist/index.d.ts +120 -0
- package/dist/index.js +59 -46
- package/dist/index.mjs +59 -46
- package/dist/mesheryApi.d.mts +71 -17
- package/dist/mesheryApi.d.ts +71 -17
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -1455,6 +1455,9 @@ type GetMeshModelModelsApiResponse = {
|
|
|
1455
1455
|
updated_at?: string;
|
|
1456
1456
|
/** SQL null Timestamp to handle null values of time. */
|
|
1457
1457
|
deleted_at?: string;
|
|
1458
|
+
/** 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.
|
|
1459
|
+
*/
|
|
1460
|
+
organizationId?: string;
|
|
1458
1461
|
/** Associated environments for this connection */
|
|
1459
1462
|
environments?: {
|
|
1460
1463
|
/** ID */
|
|
@@ -7302,9 +7305,9 @@ type GetConnectionsApiResponse = {
|
|
|
7302
7305
|
updatedAt?: string;
|
|
7303
7306
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
7304
7307
|
deletedAt?: string | null;
|
|
7305
|
-
/**
|
|
7308
|
+
/** 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.
|
|
7306
7309
|
*/
|
|
7307
|
-
organizationId
|
|
7310
|
+
organizationId: string;
|
|
7308
7311
|
/** Associated environments for this connection */
|
|
7309
7312
|
environments?: {
|
|
7310
7313
|
/** ID */
|
|
@@ -7572,9 +7575,9 @@ type RegisterConnectionApiResponse = {
|
|
|
7572
7575
|
updatedAt?: string;
|
|
7573
7576
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
7574
7577
|
deletedAt?: string | null;
|
|
7575
|
-
/**
|
|
7578
|
+
/** 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.
|
|
7576
7579
|
*/
|
|
7577
|
-
organizationId
|
|
7580
|
+
organizationId: string;
|
|
7578
7581
|
/** Associated environments for this connection */
|
|
7579
7582
|
environments?: {
|
|
7580
7583
|
/** ID */
|
|
@@ -7808,9 +7811,9 @@ type RegisterConnectionApiResponse = {
|
|
|
7808
7811
|
updatedAt?: string;
|
|
7809
7812
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
7810
7813
|
deletedAt?: string | null;
|
|
7811
|
-
/**
|
|
7814
|
+
/** 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.
|
|
7812
7815
|
*/
|
|
7813
|
-
organizationId
|
|
7816
|
+
organizationId: string;
|
|
7814
7817
|
/** Associated environments for this connection */
|
|
7815
7818
|
environments?: {
|
|
7816
7819
|
/** ID */
|
|
@@ -7848,7 +7851,7 @@ type RegisterConnectionApiResponse = {
|
|
|
7848
7851
|
schemaVersion: string;
|
|
7849
7852
|
};
|
|
7850
7853
|
type RegisterConnectionApiArg = {
|
|
7851
|
-
/**
|
|
7854
|
+
/** 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.
|
|
7852
7855
|
*/
|
|
7853
7856
|
"X-Current-Orgid"?: string;
|
|
7854
7857
|
body: {
|
|
@@ -8206,9 +8209,9 @@ type GetConnectionByIdApiResponse = {
|
|
|
8206
8209
|
updatedAt?: string;
|
|
8207
8210
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
8208
8211
|
deletedAt?: string | null;
|
|
8209
|
-
/**
|
|
8212
|
+
/** 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.
|
|
8210
8213
|
*/
|
|
8211
|
-
organizationId
|
|
8214
|
+
organizationId: string;
|
|
8212
8215
|
/** Associated environments for this connection */
|
|
8213
8216
|
environments?: {
|
|
8214
8217
|
/** ID */
|
|
@@ -8447,9 +8450,9 @@ type UpdateConnectionApiResponse = {
|
|
|
8447
8450
|
updatedAt?: string;
|
|
8448
8451
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
8449
8452
|
deletedAt?: string | null;
|
|
8450
|
-
/**
|
|
8453
|
+
/** 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.
|
|
8451
8454
|
*/
|
|
8452
|
-
organizationId
|
|
8455
|
+
organizationId: string;
|
|
8453
8456
|
/** Associated environments for this connection */
|
|
8454
8457
|
environments?: {
|
|
8455
8458
|
/** ID */
|
|
@@ -8671,6 +8674,8 @@ type GetDesktopConnectionsOfOrganizationApiResponse = {
|
|
|
8671
8674
|
status: string;
|
|
8672
8675
|
/** Time of the connection's last heartbeat (`metadata.lastSeenAt`). Null when it never sent one. */
|
|
8673
8676
|
lastSeenAt?: string | null;
|
|
8677
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
8678
|
+
organizationId: string;
|
|
8674
8679
|
}[];
|
|
8675
8680
|
/** Total number of connections on all pages. */
|
|
8676
8681
|
totalCount: number;
|
|
@@ -8890,9 +8895,9 @@ type RecordConnectionHeartbeatApiResponse = {
|
|
|
8890
8895
|
updatedAt?: string;
|
|
8891
8896
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
8892
8897
|
deletedAt?: string | null;
|
|
8893
|
-
/**
|
|
8898
|
+
/** 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.
|
|
8894
8899
|
*/
|
|
8895
|
-
organizationId
|
|
8900
|
+
organizationId: string;
|
|
8896
8901
|
/** Associated environments for this connection */
|
|
8897
8902
|
environments?: {
|
|
8898
8903
|
/** ID */
|
|
@@ -9624,6 +9629,9 @@ type GetPatternsApiResponse = {
|
|
|
9624
9629
|
};
|
|
9625
9630
|
/** Owning user ID. */
|
|
9626
9631
|
userId?: string;
|
|
9632
|
+
/** 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.
|
|
9633
|
+
*/
|
|
9634
|
+
organizationId: string;
|
|
9627
9635
|
/** 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.
|
|
9628
9636
|
*/
|
|
9629
9637
|
user?: {
|
|
@@ -9886,6 +9894,9 @@ type UpsertPatternApiResponse = {
|
|
|
9886
9894
|
};
|
|
9887
9895
|
/** Owning user ID. */
|
|
9888
9896
|
userId?: string;
|
|
9897
|
+
/** 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.
|
|
9898
|
+
*/
|
|
9899
|
+
organizationId: string;
|
|
9889
9900
|
/** 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.
|
|
9890
9901
|
*/
|
|
9891
9902
|
user?: {
|
|
@@ -10183,6 +10194,9 @@ type GetPatternApiResponse = {
|
|
|
10183
10194
|
};
|
|
10184
10195
|
/** Owning user ID. */
|
|
10185
10196
|
userId?: string;
|
|
10197
|
+
/** 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.
|
|
10198
|
+
*/
|
|
10199
|
+
organizationId: string;
|
|
10186
10200
|
/** 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.
|
|
10187
10201
|
*/
|
|
10188
10202
|
user?: {
|
|
@@ -10429,6 +10443,9 @@ type ClonePatternApiResponse = {
|
|
|
10429
10443
|
};
|
|
10430
10444
|
/** Owning user ID. */
|
|
10431
10445
|
userId?: string;
|
|
10446
|
+
/** 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.
|
|
10447
|
+
*/
|
|
10448
|
+
organizationId: string;
|
|
10432
10449
|
/** 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.
|
|
10433
10450
|
*/
|
|
10434
10451
|
user?: {
|
|
@@ -10681,6 +10698,9 @@ type RefreshPatternFromSourceApiResponse =
|
|
|
10681
10698
|
};
|
|
10682
10699
|
/** Owning user ID. */
|
|
10683
10700
|
userId?: string;
|
|
10701
|
+
/** 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.
|
|
10702
|
+
*/
|
|
10703
|
+
organizationId: string;
|
|
10684
10704
|
/** 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.
|
|
10685
10705
|
*/
|
|
10686
10706
|
user?: {
|
|
@@ -10922,6 +10942,9 @@ type UpdatePatternSourceApiResponse =
|
|
|
10922
10942
|
};
|
|
10923
10943
|
/** Owning user ID. */
|
|
10924
10944
|
userId?: string;
|
|
10945
|
+
/** 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.
|
|
10946
|
+
*/
|
|
10947
|
+
organizationId: string;
|
|
10925
10948
|
/** 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.
|
|
10926
10949
|
*/
|
|
10927
10950
|
user?: {
|
|
@@ -11175,6 +11198,9 @@ type ImportDesignApiResponse =
|
|
|
11175
11198
|
};
|
|
11176
11199
|
/** Owning user ID. */
|
|
11177
11200
|
userId?: string;
|
|
11201
|
+
/** 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.
|
|
11202
|
+
*/
|
|
11203
|
+
organizationId: string;
|
|
11178
11204
|
/** 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.
|
|
11179
11205
|
*/
|
|
11180
11206
|
user?: {
|
|
@@ -11433,6 +11459,9 @@ type GetGithubImportedDesignsApiResponse = {
|
|
|
11433
11459
|
};
|
|
11434
11460
|
/** Owning user ID. */
|
|
11435
11461
|
userId?: string;
|
|
11462
|
+
/** 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.
|
|
11463
|
+
*/
|
|
11464
|
+
organizationId: string;
|
|
11436
11465
|
/** 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.
|
|
11437
11466
|
*/
|
|
11438
11467
|
user?: {
|
|
@@ -11685,6 +11714,9 @@ type ImportGithubRepositoryApiResponse =
|
|
|
11685
11714
|
};
|
|
11686
11715
|
/** Owning user ID. */
|
|
11687
11716
|
userId?: string;
|
|
11717
|
+
/** 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.
|
|
11718
|
+
*/
|
|
11719
|
+
organizationId: string;
|
|
11688
11720
|
/** 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.
|
|
11689
11721
|
*/
|
|
11690
11722
|
user?: {
|
|
@@ -12022,6 +12054,9 @@ type GetCatalogContentApiResponse = {
|
|
|
12022
12054
|
};
|
|
12023
12055
|
/** Owning user ID. */
|
|
12024
12056
|
userId?: string;
|
|
12057
|
+
/** 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.
|
|
12058
|
+
*/
|
|
12059
|
+
organizationId: string;
|
|
12025
12060
|
/** 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.
|
|
12026
12061
|
*/
|
|
12027
12062
|
user?: {
|
|
@@ -15674,7 +15709,7 @@ type GetProfileConnectionsApiResponse = {
|
|
|
15674
15709
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
15675
15710
|
deletedAt?: string | null;
|
|
15676
15711
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
15677
|
-
organizationId
|
|
15712
|
+
organizationId: string;
|
|
15678
15713
|
/** Associated environments for this connection */
|
|
15679
15714
|
environments?: {
|
|
15680
15715
|
/** ID */
|
|
@@ -17835,6 +17870,9 @@ type GetDesignsOfWorkspaceApiResponse = {
|
|
|
17835
17870
|
};
|
|
17836
17871
|
created_at?: string;
|
|
17837
17872
|
user_id?: string;
|
|
17873
|
+
/** 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.
|
|
17874
|
+
*/
|
|
17875
|
+
organizationId?: string;
|
|
17838
17876
|
location?: {
|
|
17839
17877
|
[key: string]: string;
|
|
17840
17878
|
};
|
|
@@ -17926,6 +17964,8 @@ type GetDesignsOfWorkspaceApiResponse = {
|
|
|
17926
17964
|
updated_at?: string;
|
|
17927
17965
|
/** SQL null Timestamp to handle null values of time. */
|
|
17928
17966
|
deleted_at?: string;
|
|
17967
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
17968
|
+
organizationId?: string;
|
|
17929
17969
|
/** Associated environments for this connection */
|
|
17930
17970
|
environments?: {
|
|
17931
17971
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
package/dist/cloudApi.d.ts
CHANGED
|
@@ -1455,6 +1455,9 @@ type GetMeshModelModelsApiResponse = {
|
|
|
1455
1455
|
updated_at?: string;
|
|
1456
1456
|
/** SQL null Timestamp to handle null values of time. */
|
|
1457
1457
|
deleted_at?: string;
|
|
1458
|
+
/** 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.
|
|
1459
|
+
*/
|
|
1460
|
+
organizationId?: string;
|
|
1458
1461
|
/** Associated environments for this connection */
|
|
1459
1462
|
environments?: {
|
|
1460
1463
|
/** ID */
|
|
@@ -7302,9 +7305,9 @@ type GetConnectionsApiResponse = {
|
|
|
7302
7305
|
updatedAt?: string;
|
|
7303
7306
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
7304
7307
|
deletedAt?: string | null;
|
|
7305
|
-
/**
|
|
7308
|
+
/** 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.
|
|
7306
7309
|
*/
|
|
7307
|
-
organizationId
|
|
7310
|
+
organizationId: string;
|
|
7308
7311
|
/** Associated environments for this connection */
|
|
7309
7312
|
environments?: {
|
|
7310
7313
|
/** ID */
|
|
@@ -7572,9 +7575,9 @@ type RegisterConnectionApiResponse = {
|
|
|
7572
7575
|
updatedAt?: string;
|
|
7573
7576
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
7574
7577
|
deletedAt?: string | null;
|
|
7575
|
-
/**
|
|
7578
|
+
/** 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.
|
|
7576
7579
|
*/
|
|
7577
|
-
organizationId
|
|
7580
|
+
organizationId: string;
|
|
7578
7581
|
/** Associated environments for this connection */
|
|
7579
7582
|
environments?: {
|
|
7580
7583
|
/** ID */
|
|
@@ -7808,9 +7811,9 @@ type RegisterConnectionApiResponse = {
|
|
|
7808
7811
|
updatedAt?: string;
|
|
7809
7812
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
7810
7813
|
deletedAt?: string | null;
|
|
7811
|
-
/**
|
|
7814
|
+
/** 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.
|
|
7812
7815
|
*/
|
|
7813
|
-
organizationId
|
|
7816
|
+
organizationId: string;
|
|
7814
7817
|
/** Associated environments for this connection */
|
|
7815
7818
|
environments?: {
|
|
7816
7819
|
/** ID */
|
|
@@ -7848,7 +7851,7 @@ type RegisterConnectionApiResponse = {
|
|
|
7848
7851
|
schemaVersion: string;
|
|
7849
7852
|
};
|
|
7850
7853
|
type RegisterConnectionApiArg = {
|
|
7851
|
-
/**
|
|
7854
|
+
/** 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.
|
|
7852
7855
|
*/
|
|
7853
7856
|
"X-Current-Orgid"?: string;
|
|
7854
7857
|
body: {
|
|
@@ -8206,9 +8209,9 @@ type GetConnectionByIdApiResponse = {
|
|
|
8206
8209
|
updatedAt?: string;
|
|
8207
8210
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
8208
8211
|
deletedAt?: string | null;
|
|
8209
|
-
/**
|
|
8212
|
+
/** 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.
|
|
8210
8213
|
*/
|
|
8211
|
-
organizationId
|
|
8214
|
+
organizationId: string;
|
|
8212
8215
|
/** Associated environments for this connection */
|
|
8213
8216
|
environments?: {
|
|
8214
8217
|
/** ID */
|
|
@@ -8447,9 +8450,9 @@ type UpdateConnectionApiResponse = {
|
|
|
8447
8450
|
updatedAt?: string;
|
|
8448
8451
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
8449
8452
|
deletedAt?: string | null;
|
|
8450
|
-
/**
|
|
8453
|
+
/** 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.
|
|
8451
8454
|
*/
|
|
8452
|
-
organizationId
|
|
8455
|
+
organizationId: string;
|
|
8453
8456
|
/** Associated environments for this connection */
|
|
8454
8457
|
environments?: {
|
|
8455
8458
|
/** ID */
|
|
@@ -8671,6 +8674,8 @@ type GetDesktopConnectionsOfOrganizationApiResponse = {
|
|
|
8671
8674
|
status: string;
|
|
8672
8675
|
/** Time of the connection's last heartbeat (`metadata.lastSeenAt`). Null when it never sent one. */
|
|
8673
8676
|
lastSeenAt?: string | null;
|
|
8677
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
8678
|
+
organizationId: string;
|
|
8674
8679
|
}[];
|
|
8675
8680
|
/** Total number of connections on all pages. */
|
|
8676
8681
|
totalCount: number;
|
|
@@ -8890,9 +8895,9 @@ type RecordConnectionHeartbeatApiResponse = {
|
|
|
8890
8895
|
updatedAt?: string;
|
|
8891
8896
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
8892
8897
|
deletedAt?: string | null;
|
|
8893
|
-
/**
|
|
8898
|
+
/** 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.
|
|
8894
8899
|
*/
|
|
8895
|
-
organizationId
|
|
8900
|
+
organizationId: string;
|
|
8896
8901
|
/** Associated environments for this connection */
|
|
8897
8902
|
environments?: {
|
|
8898
8903
|
/** ID */
|
|
@@ -9624,6 +9629,9 @@ type GetPatternsApiResponse = {
|
|
|
9624
9629
|
};
|
|
9625
9630
|
/** Owning user ID. */
|
|
9626
9631
|
userId?: string;
|
|
9632
|
+
/** 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.
|
|
9633
|
+
*/
|
|
9634
|
+
organizationId: string;
|
|
9627
9635
|
/** 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.
|
|
9628
9636
|
*/
|
|
9629
9637
|
user?: {
|
|
@@ -9886,6 +9894,9 @@ type UpsertPatternApiResponse = {
|
|
|
9886
9894
|
};
|
|
9887
9895
|
/** Owning user ID. */
|
|
9888
9896
|
userId?: string;
|
|
9897
|
+
/** 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.
|
|
9898
|
+
*/
|
|
9899
|
+
organizationId: string;
|
|
9889
9900
|
/** 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.
|
|
9890
9901
|
*/
|
|
9891
9902
|
user?: {
|
|
@@ -10183,6 +10194,9 @@ type GetPatternApiResponse = {
|
|
|
10183
10194
|
};
|
|
10184
10195
|
/** Owning user ID. */
|
|
10185
10196
|
userId?: string;
|
|
10197
|
+
/** 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.
|
|
10198
|
+
*/
|
|
10199
|
+
organizationId: string;
|
|
10186
10200
|
/** 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.
|
|
10187
10201
|
*/
|
|
10188
10202
|
user?: {
|
|
@@ -10429,6 +10443,9 @@ type ClonePatternApiResponse = {
|
|
|
10429
10443
|
};
|
|
10430
10444
|
/** Owning user ID. */
|
|
10431
10445
|
userId?: string;
|
|
10446
|
+
/** 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.
|
|
10447
|
+
*/
|
|
10448
|
+
organizationId: string;
|
|
10432
10449
|
/** 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.
|
|
10433
10450
|
*/
|
|
10434
10451
|
user?: {
|
|
@@ -10681,6 +10698,9 @@ type RefreshPatternFromSourceApiResponse =
|
|
|
10681
10698
|
};
|
|
10682
10699
|
/** Owning user ID. */
|
|
10683
10700
|
userId?: string;
|
|
10701
|
+
/** 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.
|
|
10702
|
+
*/
|
|
10703
|
+
organizationId: string;
|
|
10684
10704
|
/** 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.
|
|
10685
10705
|
*/
|
|
10686
10706
|
user?: {
|
|
@@ -10922,6 +10942,9 @@ type UpdatePatternSourceApiResponse =
|
|
|
10922
10942
|
};
|
|
10923
10943
|
/** Owning user ID. */
|
|
10924
10944
|
userId?: string;
|
|
10945
|
+
/** 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.
|
|
10946
|
+
*/
|
|
10947
|
+
organizationId: string;
|
|
10925
10948
|
/** 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.
|
|
10926
10949
|
*/
|
|
10927
10950
|
user?: {
|
|
@@ -11175,6 +11198,9 @@ type ImportDesignApiResponse =
|
|
|
11175
11198
|
};
|
|
11176
11199
|
/** Owning user ID. */
|
|
11177
11200
|
userId?: string;
|
|
11201
|
+
/** 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.
|
|
11202
|
+
*/
|
|
11203
|
+
organizationId: string;
|
|
11178
11204
|
/** 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.
|
|
11179
11205
|
*/
|
|
11180
11206
|
user?: {
|
|
@@ -11433,6 +11459,9 @@ type GetGithubImportedDesignsApiResponse = {
|
|
|
11433
11459
|
};
|
|
11434
11460
|
/** Owning user ID. */
|
|
11435
11461
|
userId?: string;
|
|
11462
|
+
/** 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.
|
|
11463
|
+
*/
|
|
11464
|
+
organizationId: string;
|
|
11436
11465
|
/** 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.
|
|
11437
11466
|
*/
|
|
11438
11467
|
user?: {
|
|
@@ -11685,6 +11714,9 @@ type ImportGithubRepositoryApiResponse =
|
|
|
11685
11714
|
};
|
|
11686
11715
|
/** Owning user ID. */
|
|
11687
11716
|
userId?: string;
|
|
11717
|
+
/** 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.
|
|
11718
|
+
*/
|
|
11719
|
+
organizationId: string;
|
|
11688
11720
|
/** 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.
|
|
11689
11721
|
*/
|
|
11690
11722
|
user?: {
|
|
@@ -12022,6 +12054,9 @@ type GetCatalogContentApiResponse = {
|
|
|
12022
12054
|
};
|
|
12023
12055
|
/** Owning user ID. */
|
|
12024
12056
|
userId?: string;
|
|
12057
|
+
/** 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.
|
|
12058
|
+
*/
|
|
12059
|
+
organizationId: string;
|
|
12025
12060
|
/** 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.
|
|
12026
12061
|
*/
|
|
12027
12062
|
user?: {
|
|
@@ -15674,7 +15709,7 @@ type GetProfileConnectionsApiResponse = {
|
|
|
15674
15709
|
/** Timestamp when the connection was soft-deleted, if applicable. */
|
|
15675
15710
|
deletedAt?: string | null;
|
|
15676
15711
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
15677
|
-
organizationId
|
|
15712
|
+
organizationId: string;
|
|
15678
15713
|
/** Associated environments for this connection */
|
|
15679
15714
|
environments?: {
|
|
15680
15715
|
/** ID */
|
|
@@ -17835,6 +17870,9 @@ type GetDesignsOfWorkspaceApiResponse = {
|
|
|
17835
17870
|
};
|
|
17836
17871
|
created_at?: string;
|
|
17837
17872
|
user_id?: string;
|
|
17873
|
+
/** 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.
|
|
17874
|
+
*/
|
|
17875
|
+
organizationId?: string;
|
|
17838
17876
|
location?: {
|
|
17839
17877
|
[key: string]: string;
|
|
17840
17878
|
};
|
|
@@ -17926,6 +17964,8 @@ type GetDesignsOfWorkspaceApiResponse = {
|
|
|
17926
17964
|
updated_at?: string;
|
|
17927
17965
|
/** SQL null Timestamp to handle null values of time. */
|
|
17928
17966
|
deleted_at?: string;
|
|
17967
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
17968
|
+
organizationId?: string;
|
|
17929
17969
|
/** Associated environments for this connection */
|
|
17930
17970
|
environments?: {
|
|
17931
17971
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
@@ -129,6 +129,11 @@ export interface components {
|
|
|
129
129
|
* @description SQL null Timestamp to handle null values of time.
|
|
130
130
|
*/
|
|
131
131
|
deleted_at?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Format: uuid
|
|
134
|
+
* @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.
|
|
135
|
+
*/
|
|
136
|
+
organizationId?: string;
|
|
132
137
|
/** @description Associated environments for this connection */
|
|
133
138
|
environments?: {
|
|
134
139
|
/**
|