@meshery/schemas 1.3.98 → 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 +69 -14
- package/dist/cloudApi.d.ts +69 -14
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- 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 +88 -3
- package/dist/constructs/v1beta3/design/DesignSchema.js +18 -18
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +18 -18
- package/dist/constructs/v1beta3/event/Event.d.ts +63 -1
- package/dist/constructs/v1beta3/event/EventSchema.js +8 -4
- package/dist/constructs/v1beta3/event/EventSchema.mjs +8 -4
- 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 +75 -17
- package/dist/mesheryApi.d.ts +75 -17
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
package/dist/mesheryApi.d.ts
CHANGED
|
@@ -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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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?: {
|
|
@@ -13514,6 +13563,8 @@ type CreateEventApiResponse =
|
|
|
13514
13563
|
systemId: string;
|
|
13515
13564
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13516
13565
|
owner?: string;
|
|
13566
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13567
|
+
organizationId: string;
|
|
13517
13568
|
/** Timestamp when the event was recorded. */
|
|
13518
13569
|
createdAt: string;
|
|
13519
13570
|
/** Timestamp when the event was last updated. */
|
|
@@ -13549,6 +13600,8 @@ type CreateEventApiResponse =
|
|
|
13549
13600
|
systemId: string;
|
|
13550
13601
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13551
13602
|
owner?: string;
|
|
13603
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13604
|
+
organizationId: string;
|
|
13552
13605
|
/** Timestamp when the event was recorded. */
|
|
13553
13606
|
createdAt: string;
|
|
13554
13607
|
/** Timestamp when the event was last updated. */
|
|
@@ -14365,6 +14418,9 @@ type GetDesignsOfWorkspaceApiResponse = {
|
|
|
14365
14418
|
};
|
|
14366
14419
|
created_at?: string;
|
|
14367
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;
|
|
14368
14424
|
location?: {
|
|
14369
14425
|
[key: string]: string;
|
|
14370
14426
|
};
|
|
@@ -14456,6 +14512,8 @@ type GetDesignsOfWorkspaceApiResponse = {
|
|
|
14456
14512
|
updated_at?: string;
|
|
14457
14513
|
/** SQL null Timestamp to handle null values of time. */
|
|
14458
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;
|
|
14459
14517
|
/** Associated environments for this connection */
|
|
14460
14518
|
environments?: {
|
|
14461
14519
|
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
package/dist/mesheryApi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var react=require('@reduxjs/toolkit/query/react');function s(t){return async(e,g,o)=>{var r,d,c;let n=await t(e,g,o);if(n.error){let a=n.error.data;if(typeof a=="object"&&a!==null){let i=a;if(typeof i.error=="string")return {error:{...n.error,meshkit:{message:i.error,code:i.code,severity:i.severity,probableCause:(r=i.probableCause)!=null?r:i.probable_cause,suggestedRemediation:(d=i.suggestedRemediation)!=null?d:i.suggested_remediation,longDescription:(c=i.longDescription)!=null?c:i.long_description}},meta:n.meta}}return {error:n.error,meta:n.meta}}return {data:n.data,meta:n.meta}}}var y="X-Current-Orgid";var p,h=(p=process.env.RTK_CLOUD_ENDPOINT_PREFIX)!=null?p:"",l,v=(l=process.env.RTK_MESHERY_ENDPOINT_PREFIX)!=null?l:"",C=react.fetchBaseQuery({baseUrl:h,credentials:"include",prepareHeaders:(t,{getState:e})=>{var r;let o=(r=e().organization)==null?void 0:r.value,n=o==null?void 0:o.id;return n&&t.set(y,n),t}}),k=s(C),f=s(react.fetchBaseQuery({baseUrl:v,credentials:"include"}));react.createApi({reducerPath:"cloudRtkSchemasApi",baseQuery:k,tagTypes:[],endpoints:()=>({})});var b=react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:f,tagTypes:[],endpoints:()=>({})});var x=["Meshery_Controllers_Configuration_controllers","Console_API_Console","Evaluation_Evaluation","Registry_Registry","System_API_System","credential_credentials","Key_users","Organization_Organizations","User_users","Connection_API_Connections","Connection_API_ConnectionDefinitions","Design_designs","Environment_environments","Events_events","Performance_Profile_performance","Workspace_workspaces","Workspace_designs","Workspace_views"],R=b.enhanceEndpoints({addTagTypes:x}).injectEndpoints({endpoints:t=>({getControllersDefaultConfig:t.query({query:()=>({url:"/api/system/controllers/config"}),providesTags:["Meshery_Controllers_Configuration_controllers"]}),updateControllersDefaultConfig:t.mutation({query:e=>({url:"/api/system/controllers/config",method:"PUT",body:e.body}),invalidatesTags:["Meshery_Controllers_Configuration_controllers"]}),getConnectionControllersConfig:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/controllers/config`}),providesTags:["Meshery_Controllers_Configuration_controllers"]}),updateConnectionControllersConfig:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}/controllers/config`,method:"PUT",body:e.body}),invalidatesTags:["Meshery_Controllers_Configuration_controllers"]}),getConsoleCapabilities:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/console/capabilities`,params:{resource:e==null?void 0:e.resource,name:e==null?void 0:e.name,namespace:e==null?void 0:e.namespace,container:e==null?void 0:e.container}}),providesTags:["Console_API_Console"]}),openTerminalConsole:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/console/terminal`,params:{resource:e==null?void 0:e.resource,name:e==null?void 0:e.name,namespace:e==null?void 0:e.namespace,container:e==null?void 0:e.container,command:e==null?void 0:e.command}}),providesTags:["Console_API_Console"]}),openLogConsole:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/console/logs`,params:{resource:e==null?void 0:e.resource,name:e==null?void 0:e.name,namespace:e==null?void 0:e.namespace,container:e==null?void 0:e.container,follow:e==null?void 0:e.follow,previous:e==null?void 0:e.previous,timestamps:e==null?void 0:e.timestamps,tailLines:e==null?void 0:e.tailLines,sinceSeconds:e==null?void 0:e.sinceSeconds}}),providesTags:["Console_API_Console"]}),evaluateRelationships:t.mutation({query:e=>({url:"/api/registry/relationships/evaluate",method:"POST",body:e.body}),invalidatesTags:["Evaluation_Evaluation"]}),getRegistryModels:t.query({query:e=>({url:"/api/registry/models",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,status:e==null?void 0:e.status,id:e==null?void 0:e.id,registrant:e==null?void 0:e.registrant,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships,trim:e==null?void 0:e.trim}}),providesTags:["Registry_Registry"]}),getRegistryModelsByName:t.query({query:e=>({url:`/api/registry/models/${e.model}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),deleteRegistryModel:t.mutation({query:e=>({url:`/api/registry/models/${e.model}`,method:"DELETE"}),invalidatesTags:["Registry_Registry"]}),getRegistryComponentsByModel:t.query({query:e=>({url:`/api/registry/models/${e.model}/components`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByModelAndName:t.query({query:e=>({url:`/api/registry/models/${e.model}/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryRelationshipsByModel:t.query({query:e=>({url:`/api/registry/models/${e.model}/relationships`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version}}),providesTags:["Registry_Registry"]}),getRegistryRelationshipsByModelAndName:t.query({query:e=>({url:`/api/registry/models/${e.model}/relationships/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version}}),providesTags:["Registry_Registry"]}),getRegistryPoliciesByModel:t.query({query:e=>({url:`/api/registry/models/${e.model}/policies`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryPoliciesByModelAndName:t.query({query:e=>({url:`/api/registry/models/${e.model}/policies/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryCategories:t.query({query:e=>({url:"/api/registry/categories",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryCategoriesByName:t.query({query:e=>({url:`/api/registry/categories/${e.category}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryModelsByCategory:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),getRegistryModelsByCategoryAndModel:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models/${e.model}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategoryAndModel:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models/${e.model}/components`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategoryAndModelAndName:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models/${e.model}/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategory:t.query({query:e=>({url:`/api/registry/categories/${e.category}/components`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategoryAndName:t.query({query:e=>({url:`/api/registry/categories/${e.category}/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponents:t.query({query:e=>({url:"/api/registry/components",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),registerRegistryComponent:t.mutation({query:e=>({url:"/api/registry/components",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),getRegistryComponentsByName:t.query({query:e=>({url:`/api/registry/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryRelationships:t.query({query:e=>({url:"/api/registry/relationships",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version}}),providesTags:["Registry_Registry"]}),registerRegistryRelationship:t.mutation({query:e=>({url:"/api/registry/relationships",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),getRegistryRegistrants:t.query({query:e=>({url:"/api/registry/registrants",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),registerRegistryEntities:t.mutation({query:e=>({url:"/api/registry/register",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),generateRegistryComponents:t.mutation({query:e=>({url:"/api/registry/generate",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),exportRegistryModel:t.query({query:e=>({url:"/api/registry/export",params:{id:e==null?void 0:e.id,name:e==null?void 0:e.name,version:e==null?void 0:e.version,outputFormat:e==null?void 0:e.outputFormat,fileType:e==null?void 0:e.fileType,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),validateRegistryEntities:t.mutation({query:e=>({url:"/api/registry/validate",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),updateRegistryEntityStatus:t.mutation({query:e=>({url:`/api/registry/${e.entityType}/status`,method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),getSystemDatabase:t.query({query:e=>({url:"/api/system/database",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,sort:e==null?void 0:e.sort,order:e==null?void 0:e.order}}),providesTags:["System_API_System"]}),resetSystemDatabase:t.mutation({query:()=>({url:"/api/system/database/reset",method:"DELETE"}),invalidatesTags:["System_API_System"]}),getSystemVersion:t.query({query:()=>({url:"/api/system/version"}),providesTags:["System_API_System"]}),addKubernetesConfig:t.mutation({query:e=>({url:"/api/system/kubernetes",method:"POST",body:e.body}),invalidatesTags:["System_API_System"]}),discoverKubernetesContexts:t.mutation({query:e=>({url:"/api/system/kubernetes/contexts",method:"POST",body:e.body}),invalidatesTags:["System_API_System"]}),pingKubernetes:t.query({query:e=>({url:"/api/system/kubernetes/ping",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getSystemSync:t.query({query:()=>({url:"/api/system/sync"}),providesTags:["System_API_System"]}),getOperatorControllerStatus:t.query({query:e=>({url:"/api/system/controllers/operator/status",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getMeshsyncControllerStatus:t.query({query:e=>({url:"/api/system/controllers/meshsync/status",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getBrokerControllerStatus:t.query({query:e=>({url:"/api/system/controllers/broker/status",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getControllerDiagnostics:t.query({query:e=>({url:"/api/system/controllers/diagnostics",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),subscribeControllersStatus:t.query({query:e=>({url:"/api/system/controllers/status/subscribe",params:{connectionIds:e==null?void 0:e.connectionIds}}),providesTags:["System_API_System"]}),getUserCredentials:t.query({query:e=>({url:"/api/integrations/credentials",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order}}),providesTags:["credential_credentials"]}),saveUserCredential:t.mutation({query:e=>({url:"/api/integrations/credentials",method:"POST",body:e.body}),invalidatesTags:["credential_credentials"]}),updateUserCredential:t.mutation({query:e=>({url:"/api/integrations/credentials",method:"PUT",body:e.body}),invalidatesTags:["credential_credentials"]}),deleteUserCredential:t.mutation({query:e=>({url:"/api/integrations/credentials",method:"DELETE",params:{credentialId:e==null?void 0:e.credentialId}}),invalidatesTags:["credential_credentials"]}),getCredentialById:t.query({query:e=>({url:`/api/integrations/credentials/${e.credentialId}`}),providesTags:["credential_credentials"]}),getUserKeys:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/users/keys`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize}}),providesTags:["Key_users"]}),getOrgs:t.query({query:e=>({url:"/api/identity/orgs",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,all:e==null?void 0:e.all}}),providesTags:["Organization_Organizations"]}),createOrg:t.mutation({query:e=>({url:"/api/identity/orgs",method:"POST",body:e.body}),invalidatesTags:["Organization_Organizations"]}),getOrgByDomain:t.query({query:e=>({url:"/api/identity/orgs/by-domain",params:{domain:e==null?void 0:e.domain}}),providesTags:["Organization_Organizations"]}),getOrg:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}`}),providesTags:["Organization_Organizations"]}),deleteOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}`,method:"DELETE"}),invalidatesTags:["Organization_Organizations"]}),updateOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}`,method:"PUT",body:e.body}),invalidatesTags:["Organization_Organizations"]}),getChildOrgs:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/children`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize}}),providesTags:["Organization_Organizations"]}),createChildOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/children`,method:"POST",body:e.body}),invalidatesTags:["Organization_Organizations"]}),getOrgPreferences:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/preferences`}),providesTags:["Organization_Organizations"]}),patchOrgPreferences:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/preferences`,method:"PATCH",body:e.body,headers:{"If-Match":e["If-Match"]}}),invalidatesTags:["Organization_Organizations"]}),addTeamToOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/teams/${e.teamId}`,method:"POST",body:e.body}),invalidatesTags:["Organization_Organizations"]}),removeTeamFromOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/teams/${e.teamId}/remove`,method:"POST"}),invalidatesTags:["Organization_Organizations"]}),addUserToOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/users/${e.userId}`,method:"POST"}),invalidatesTags:["Organization_Organizations"]}),deleteUserFromOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/users/${e.userId}`,method:"DELETE"}),invalidatesTags:["Organization_Organizations"]}),getUsersForOrg:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/users`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,filter:e==null?void 0:e.filter,teamId:e==null?void 0:e.teamId}}),providesTags:["User_users"]}),getUserProfileById:t.query({query:e=>({url:`/api/identity/users/profile/${e.id}`}),providesTags:["User_users"]}),getUser:t.query({query:()=>({url:"/api/identity/users/profile"}),providesTags:["User_users"]}),getUserEmailAddresses:t.query({query:e=>({url:`/api/identity/users/${e.userId}/emails`}),providesTags:["User_users"]}),getConnections:t.query({query:e=>({url:"/api/integrations/connections",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,orgId:e==null?void 0:e.orgId,filter:e==null?void 0:e.filter,kind:e==null?void 0:e.kind,status:e==null?void 0:e.status,type:e==null?void 0:e.type,name:e==null?void 0:e.name}}),providesTags:["Connection_API_Connections"]}),registerConnection:t.mutation({query:e=>({url:"/api/integrations/connections",method:"POST",body:e.body,headers:{"X-Current-Orgid":e["X-Current-Orgid"]}}),invalidatesTags:["Connection_API_Connections"]}),processConnectionRegistration:t.mutation({query:e=>({url:"/api/integrations/connections/register",method:"POST",body:e.body}),invalidatesTags:["Connection_API_Connections"]}),cancelConnectionRegister:t.mutation({query:e=>({url:`/api/integrations/connections/register/${e.registrationId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),getConnectionById:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}`}),providesTags:["Connection_API_Connections"]}),updateConnection:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}`,method:"PUT",body:e.body}),invalidatesTags:["Connection_API_Connections"]}),deleteConnection:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),performConnectionAction:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}/actions`,method:"POST",body:e.body}),invalidatesTags:["Connection_API_Connections"]}),deleteMesheryConnection:t.mutation({query:e=>({url:`/api/integrations/connections/meshery/${e.mesheryServerId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),getKubernetesContext:t.query({query:e=>({url:`/api/integrations/connections/kubernetes/${e.connectionId}/context`}),providesTags:["Connection_API_Connections"]}),addConnectionToEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}/connections/${e.connectionId}`,method:"POST"}),invalidatesTags:["Connection_API_Connections"]}),removeConnectionFromEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}/connections/${e.connectionId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),listConnectionDefinitions:t.query({query:e=>({url:"/api/registry/connections",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,model:e==null?void 0:e.model,kind:e==null?void 0:e.kind}}),providesTags:["Connection_API_ConnectionDefinitions"]}),registerConnectionDefinition:t.mutation({query:e=>({url:"/api/registry/connections",method:"POST",body:e.body}),invalidatesTags:["Connection_API_ConnectionDefinitions"]}),getConnectionDefinition:t.query({query:e=>({url:`/api/registry/connections/${e.connectionDefinitionId}`}),providesTags:["Connection_API_ConnectionDefinitions"]}),updateConnectionDefinition:t.mutation({query:e=>({url:`/api/registry/connections/${e.connectionDefinitionId}`,method:"PUT",body:e.body}),invalidatesTags:["Connection_API_ConnectionDefinitions"]}),deleteConnectionDefinition:t.mutation({query:e=>({url:`/api/registry/connections/${e.connectionDefinitionId}`,method:"DELETE"}),invalidatesTags:["Connection_API_ConnectionDefinitions"]}),importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body}),invalidatesTags:["Design_designs"]}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body}),invalidatesTags:["Environment_environments"]}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,orgId:e==null?void 0:e.orgId,purpose:e==null?void 0:e.purpose}}),providesTags:["Environment_environments"]}),getEnvironmentById:t.query({query:e=>({url:`/api/environments/${e.environmentId}`,params:{orgId:e==null?void 0:e.orgId}}),providesTags:["Environment_environments"]}),updateEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}`,method:"PUT",body:e.body}),invalidatesTags:["Environment_environments"]}),deleteEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}`,method:"DELETE"}),invalidatesTags:["Environment_environments"]}),getEnvironmentConnections:t.query({query:e=>({url:`/api/environments/${e.environmentId}/connections`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Environment_environments"]}),deleteEvent:t.mutation({query:e=>({url:`/api/events/${e.eventId}`,method:"DELETE"}),invalidatesTags:["Events_events"]}),bulkDeleteEvents:t.mutation({query:e=>({url:"/api/events/delete",method:"POST",body:e.body}),invalidatesTags:["Events_events"]}),bulkUpdateEventStatus:t.mutation({query:e=>({url:"/api/events/status",method:"PUT",body:e.body}),invalidatesTags:["Events_events"]}),updateEventStatus:t.mutation({query:e=>({url:`/api/events/${e.eventId}/status`,method:"PUT",body:e.body}),invalidatesTags:["Events_events"]}),createEvent:t.mutation({query:e=>({url:"/api/events",method:"POST",body:e.body}),invalidatesTags:["Events_events"]}),getPerformanceProfiles:t.query({query:e=>({url:"/api/performance/profiles",params:{page:e==null?void 0:e.page,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order}}),providesTags:["Performance_Profile_performance"]}),upsertPerformanceProfile:t.mutation({query:e=>({url:"/api/performance/profiles",method:"POST",body:e.body}),invalidatesTags:["Performance_Profile_performance"]}),getPerformanceProfile:t.query({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}`}),providesTags:["Performance_Profile_performance"]}),updatePerformanceProfile:t.mutation({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}`,method:"PUT",body:e.body}),invalidatesTags:["Performance_Profile_performance"]}),deletePerformanceProfile:t.mutation({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}`,method:"DELETE"}),invalidatesTags:["Performance_Profile_performance"]}),getPerformanceProfileResults:t.query({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}/results`,params:{page:e==null?void 0:e.page,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order}}),providesTags:["Performance_Profile_performance"]}),getPerformanceResults:t.query({query:e=>({url:"/api/performance/results",params:{page:e==null?void 0:e.page,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,from:e==null?void 0:e.from,to:e==null?void 0:e.to}}),providesTags:["Performance_Profile_performance"]}),getUsers:t.query({query:e=>({url:"/api/users",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,filter:e==null?void 0:e.filter}}),providesTags:["User_users"]}),searchUsers:t.query({query:e=>({url:"/api/identity/users/search",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,filter:e==null?void 0:e.filter}}),providesTags:["User_users"]}),getWorkspaces:t.query({query:e=>({url:"/api/workspaces",params:{orgId:e==null?void 0:e.orgId,search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces"]}),createWorkspace:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body}),invalidatesTags:["Workspace_workspaces"]}),getWorkspaceById:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}`}),providesTags:["Workspace_workspaces"]}),updateWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}`,method:"PUT",body:e.body}),invalidatesTags:["Workspace_workspaces"]}),deleteWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces"]}),getTeamsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/teams`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces"]}),assignTeamToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/teams/${e.teamId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces"]}),unassignTeamFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/teams/${e.teamId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces"]}),getEnvironmentsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/environments`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces"]}),assignEnvironmentToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/environments/${e.environmentId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces"]}),unassignEnvironmentFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/environments/${e.environmentId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces"]}),getDesignsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/designs`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces","Workspace_designs"]}),assignDesignToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/designs/${e.designId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces","Workspace_designs"]}),unassignDesignFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/designs/${e.designId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces","Workspace_designs"]}),getViewsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/views`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces","Workspace_views"]}),assignViewToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/views/${e.viewId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces","Workspace_views"]}),unassignViewFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/views/${e.viewId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces","Workspace_views"]})}),overrideExisting:false});var {useGetControllersDefaultConfigQuery:_,useLazyGetControllersDefaultConfigQuery:D,useUpdateControllersDefaultConfigMutation:M,useGetConnectionControllersConfigQuery:G,useLazyGetConnectionControllersConfigQuery:N,useUpdateConnectionControllersConfigMutation:E,useGetConsoleCapabilitiesQuery:W,useLazyGetConsoleCapabilitiesQuery:V,useOpenTerminalConsoleQuery:U,useLazyOpenTerminalConsoleQuery:F,useOpenLogConsoleQuery:L,useLazyOpenLogConsoleQuery:j,useEvaluateRelationshipsMutation:Q,useGetRegistryModelsQuery:K,useLazyGetRegistryModelsQuery:$,useGetRegistryModelsByNameQuery:H,useLazyGetRegistryModelsByNameQuery:Y,useDeleteRegistryModelMutation:X,useGetRegistryComponentsByModelQuery:J,useLazyGetRegistryComponentsByModelQuery:Z,useGetRegistryComponentsByModelAndNameQuery:A,useLazyGetRegistryComponentsByModelAndNameQuery:q,useGetRegistryRelationshipsByModelQuery:ee,useLazyGetRegistryRelationshipsByModelQuery:te,useGetRegistryRelationshipsByModelAndNameQuery:ne,useLazyGetRegistryRelationshipsByModelAndNameQuery:ie,useGetRegistryPoliciesByModelQuery:oe,useLazyGetRegistryPoliciesByModelQuery:re,useGetRegistryPoliciesByModelAndNameQuery:se,useLazyGetRegistryPoliciesByModelAndNameQuery:ae,useGetRegistryCategoriesQuery:ge,useLazyGetRegistryCategoriesQuery:de,useGetRegistryCategoriesByNameQuery:ce,useLazyGetRegistryCategoriesByNameQuery:pe,useGetRegistryModelsByCategoryQuery:le,useLazyGetRegistryModelsByCategoryQuery:me,useGetRegistryModelsByCategoryAndModelQuery:ue,useLazyGetRegistryModelsByCategoryAndModelQuery:be,useGetRegistryComponentsByCategoryAndModelQuery:ye,useLazyGetRegistryComponentsByCategoryAndModelQuery:he,useGetRegistryComponentsByCategoryAndModelAndNameQuery:ve,useLazyGetRegistryComponentsByCategoryAndModelAndNameQuery:Ce,useGetRegistryComponentsByCategoryQuery:ke,useLazyGetRegistryComponentsByCategoryQuery:fe,useGetRegistryComponentsByCategoryAndNameQuery:xe,useLazyGetRegistryComponentsByCategoryAndNameQuery:Re,useGetRegistryComponentsQuery:Se,useLazyGetRegistryComponentsQuery:Te,useRegisterRegistryComponentMutation:Ie,useGetRegistryComponentsByNameQuery:Oe,useLazyGetRegistryComponentsByNameQuery:we,useGetRegistryRelationshipsQuery:ze,useLazyGetRegistryRelationshipsQuery:Be,useRegisterRegistryRelationshipMutation:Pe,useGetRegistryRegistrantsQuery:_e,useLazyGetRegistryRegistrantsQuery:De,useRegisterRegistryEntitiesMutation:Me,useGenerateRegistryComponentsMutation:Ge,useExportRegistryModelQuery:Ne,useLazyExportRegistryModelQuery:Ee,useValidateRegistryEntitiesMutation:We,useUpdateRegistryEntityStatusMutation:Ve,useGetSystemDatabaseQuery:Ue,useLazyGetSystemDatabaseQuery:Fe,useResetSystemDatabaseMutation:Le,useGetSystemVersionQuery:je,useLazyGetSystemVersionQuery:Qe,useAddKubernetesConfigMutation:Ke,useDiscoverKubernetesContextsMutation:$e,usePingKubernetesQuery:He,useLazyPingKubernetesQuery:Ye,useGetSystemSyncQuery:Xe,useLazyGetSystemSyncQuery:Je,useGetOperatorControllerStatusQuery:Ze,useLazyGetOperatorControllerStatusQuery:Ae,useGetMeshsyncControllerStatusQuery:qe,useLazyGetMeshsyncControllerStatusQuery:et,useGetBrokerControllerStatusQuery:tt,useLazyGetBrokerControllerStatusQuery:nt,useGetControllerDiagnosticsQuery:it,useLazyGetControllerDiagnosticsQuery:ot,useSubscribeControllersStatusQuery:rt,useLazySubscribeControllersStatusQuery:st,useGetUserCredentialsQuery:at,useLazyGetUserCredentialsQuery:gt,useSaveUserCredentialMutation:dt,useUpdateUserCredentialMutation:ct,useDeleteUserCredentialMutation:pt,useGetCredentialByIdQuery:lt,useLazyGetCredentialByIdQuery:mt,useGetUserKeysQuery:ut,useLazyGetUserKeysQuery:bt,useGetOrgsQuery:yt,useLazyGetOrgsQuery:ht,useCreateOrgMutation:vt,useGetOrgByDomainQuery:Ct,useLazyGetOrgByDomainQuery:kt,useGetOrgQuery:ft,useLazyGetOrgQuery:xt,useDeleteOrgMutation:Rt,useUpdateOrgMutation:St,useGetChildOrgsQuery:Tt,useLazyGetChildOrgsQuery:It,useCreateChildOrgMutation:Ot,useGetOrgPreferencesQuery:wt,useLazyGetOrgPreferencesQuery:zt,usePatchOrgPreferencesMutation:Bt,useAddTeamToOrgMutation:Pt,useRemoveTeamFromOrgMutation:_t,useAddUserToOrgMutation:Dt,useDeleteUserFromOrgMutation:Mt,useGetUsersForOrgQuery:Gt,useLazyGetUsersForOrgQuery:Nt,useGetUserProfileByIdQuery:Et,useLazyGetUserProfileByIdQuery:Wt,useGetUserQuery:Vt,useLazyGetUserQuery:Ut,useGetUserEmailAddressesQuery:Ft,useLazyGetUserEmailAddressesQuery:Lt,useGetConnectionsQuery:jt,useLazyGetConnectionsQuery:Qt,useRegisterConnectionMutation:Kt,useProcessConnectionRegistrationMutation:$t,useCancelConnectionRegisterMutation:Ht,useGetConnectionByIdQuery:Yt,useLazyGetConnectionByIdQuery:Xt,useUpdateConnectionMutation:Jt,useDeleteConnectionMutation:Zt,usePerformConnectionActionMutation:At,useDeleteMesheryConnectionMutation:qt,useGetKubernetesContextQuery:en,useLazyGetKubernetesContextQuery:tn,useAddConnectionToEnvironmentMutation:nn,useRemoveConnectionFromEnvironmentMutation:on,useListConnectionDefinitionsQuery:rn,useLazyListConnectionDefinitionsQuery:sn,useRegisterConnectionDefinitionMutation:an,useGetConnectionDefinitionQuery:gn,useLazyGetConnectionDefinitionQuery:dn,useUpdateConnectionDefinitionMutation:cn,useDeleteConnectionDefinitionMutation:pn,useImportDesignMutation:ln,useCreateEnvironmentMutation:mn,useGetEnvironmentsQuery:un,useLazyGetEnvironmentsQuery:bn,useGetEnvironmentByIdQuery:yn,useLazyGetEnvironmentByIdQuery:hn,useUpdateEnvironmentMutation:vn,useDeleteEnvironmentMutation:Cn,useGetEnvironmentConnectionsQuery:kn,useLazyGetEnvironmentConnectionsQuery:fn,useDeleteEventMutation:xn,useBulkDeleteEventsMutation:Rn,useBulkUpdateEventStatusMutation:Sn,useUpdateEventStatusMutation:Tn,useCreateEventMutation:In,useGetPerformanceProfilesQuery:On,useLazyGetPerformanceProfilesQuery:wn,useUpsertPerformanceProfileMutation:zn,useGetPerformanceProfileQuery:Bn,useLazyGetPerformanceProfileQuery:Pn,useUpdatePerformanceProfileMutation:_n,useDeletePerformanceProfileMutation:Dn,useGetPerformanceProfileResultsQuery:Mn,useLazyGetPerformanceProfileResultsQuery:Gn,useGetPerformanceResultsQuery:Nn,useLazyGetPerformanceResultsQuery:En,useGetUsersQuery:Wn,useLazyGetUsersQuery:Vn,useSearchUsersQuery:Un,useLazySearchUsersQuery:Fn,useGetWorkspacesQuery:Ln,useLazyGetWorkspacesQuery:jn,useCreateWorkspaceMutation:Qn,useGetWorkspaceByIdQuery:Kn,useLazyGetWorkspaceByIdQuery:$n,useUpdateWorkspaceMutation:Hn,useDeleteWorkspaceMutation:Yn,useGetTeamsOfWorkspaceQuery:Xn,useLazyGetTeamsOfWorkspaceQuery:Jn,useAssignTeamToWorkspaceMutation:Zn,useUnassignTeamFromWorkspaceMutation:An,useGetEnvironmentsOfWorkspaceQuery:qn,useLazyGetEnvironmentsOfWorkspaceQuery:ei,useAssignEnvironmentToWorkspaceMutation:ti,useUnassignEnvironmentFromWorkspaceMutation:ni,useGetDesignsOfWorkspaceQuery:ii,useLazyGetDesignsOfWorkspaceQuery:oi,useAssignDesignToWorkspaceMutation:ri,useUnassignDesignFromWorkspaceMutation:si,useGetViewsOfWorkspaceQuery:ai,useLazyGetViewsOfWorkspaceQuery:gi,useAssignViewToWorkspaceMutation:di,useUnassignViewFromWorkspaceMutation:ci}=R;exports.addTagTypes=x;exports.injectedRtkApi=R;exports.mesheryApi=R;exports.useAddConnectionToEnvironmentMutation=nn;exports.useAddKubernetesConfigMutation=Ke;exports.useAddTeamToOrgMutation=Pt;exports.useAddUserToOrgMutation=Dt;exports.useAssignDesignToWorkspaceMutation=ri;exports.useAssignEnvironmentToWorkspaceMutation=ti;exports.useAssignTeamToWorkspaceMutation=Zn;exports.useAssignViewToWorkspaceMutation=di;exports.useBulkDeleteEventsMutation=Rn;exports.useBulkUpdateEventStatusMutation=Sn;exports.useCancelConnectionRegisterMutation=Ht;exports.useCreateChildOrgMutation=Ot;exports.useCreateEnvironmentMutation=mn;exports.useCreateEventMutation=In;exports.useCreateOrgMutation=vt;exports.useCreateWorkspaceMutation=Qn;exports.useDeleteConnectionDefinitionMutation=pn;exports.useDeleteConnectionMutation=Zt;exports.useDeleteEnvironmentMutation=Cn;exports.useDeleteEventMutation=xn;exports.useDeleteMesheryConnectionMutation=qt;exports.useDeleteOrgMutation=Rt;exports.useDeletePerformanceProfileMutation=Dn;exports.useDeleteRegistryModelMutation=X;exports.useDeleteUserCredentialMutation=pt;exports.useDeleteUserFromOrgMutation=Mt;exports.useDeleteWorkspaceMutation=Yn;exports.useDiscoverKubernetesContextsMutation=$e;exports.useEvaluateRelationshipsMutation=Q;exports.useExportRegistryModelQuery=Ne;exports.useGenerateRegistryComponentsMutation=Ge;exports.useGetBrokerControllerStatusQuery=tt;exports.useGetChildOrgsQuery=Tt;exports.useGetConnectionByIdQuery=Yt;exports.useGetConnectionControllersConfigQuery=G;exports.useGetConnectionDefinitionQuery=gn;exports.useGetConnectionsQuery=jt;exports.useGetConsoleCapabilitiesQuery=W;exports.useGetControllerDiagnosticsQuery=it;exports.useGetControllersDefaultConfigQuery=_;exports.useGetCredentialByIdQuery=lt;exports.useGetDesignsOfWorkspaceQuery=ii;exports.useGetEnvironmentByIdQuery=yn;exports.useGetEnvironmentConnectionsQuery=kn;exports.useGetEnvironmentsOfWorkspaceQuery=qn;exports.useGetEnvironmentsQuery=un;exports.useGetKubernetesContextQuery=en;exports.useGetMeshsyncControllerStatusQuery=qe;exports.useGetOperatorControllerStatusQuery=Ze;exports.useGetOrgByDomainQuery=Ct;exports.useGetOrgPreferencesQuery=wt;exports.useGetOrgQuery=ft;exports.useGetOrgsQuery=yt;exports.useGetPerformanceProfileQuery=Bn;exports.useGetPerformanceProfileResultsQuery=Mn;exports.useGetPerformanceProfilesQuery=On;exports.useGetPerformanceResultsQuery=Nn;exports.useGetRegistryCategoriesByNameQuery=ce;exports.useGetRegistryCategoriesQuery=ge;exports.useGetRegistryComponentsByCategoryAndModelAndNameQuery=ve;exports.useGetRegistryComponentsByCategoryAndModelQuery=ye;exports.useGetRegistryComponentsByCategoryAndNameQuery=xe;exports.useGetRegistryComponentsByCategoryQuery=ke;exports.useGetRegistryComponentsByModelAndNameQuery=A;exports.useGetRegistryComponentsByModelQuery=J;exports.useGetRegistryComponentsByNameQuery=Oe;exports.useGetRegistryComponentsQuery=Se;exports.useGetRegistryModelsByCategoryAndModelQuery=ue;exports.useGetRegistryModelsByCategoryQuery=le;exports.useGetRegistryModelsByNameQuery=H;exports.useGetRegistryModelsQuery=K;exports.useGetRegistryPoliciesByModelAndNameQuery=se;exports.useGetRegistryPoliciesByModelQuery=oe;exports.useGetRegistryRegistrantsQuery=_e;exports.useGetRegistryRelationshipsByModelAndNameQuery=ne;exports.useGetRegistryRelationshipsByModelQuery=ee;exports.useGetRegistryRelationshipsQuery=ze;exports.useGetSystemDatabaseQuery=Ue;exports.useGetSystemSyncQuery=Xe;exports.useGetSystemVersionQuery=je;exports.useGetTeamsOfWorkspaceQuery=Xn;exports.useGetUserCredentialsQuery=at;exports.useGetUserEmailAddressesQuery=Ft;exports.useGetUserKeysQuery=ut;exports.useGetUserProfileByIdQuery=Et;exports.useGetUserQuery=Vt;exports.useGetUsersForOrgQuery=Gt;exports.useGetUsersQuery=Wn;exports.useGetViewsOfWorkspaceQuery=ai;exports.useGetWorkspaceByIdQuery=Kn;exports.useGetWorkspacesQuery=Ln;exports.useImportDesignMutation=ln;exports.useLazyExportRegistryModelQuery=Ee;exports.useLazyGetBrokerControllerStatusQuery=nt;exports.useLazyGetChildOrgsQuery=It;exports.useLazyGetConnectionByIdQuery=Xt;exports.useLazyGetConnectionControllersConfigQuery=N;exports.useLazyGetConnectionDefinitionQuery=dn;exports.useLazyGetConnectionsQuery=Qt;exports.useLazyGetConsoleCapabilitiesQuery=V;exports.useLazyGetControllerDiagnosticsQuery=ot;exports.useLazyGetControllersDefaultConfigQuery=D;exports.useLazyGetCredentialByIdQuery=mt;exports.useLazyGetDesignsOfWorkspaceQuery=oi;exports.useLazyGetEnvironmentByIdQuery=hn;exports.useLazyGetEnvironmentConnectionsQuery=fn;exports.useLazyGetEnvironmentsOfWorkspaceQuery=ei;exports.useLazyGetEnvironmentsQuery=bn;exports.useLazyGetKubernetesContextQuery=tn;exports.useLazyGetMeshsyncControllerStatusQuery=et;exports.useLazyGetOperatorControllerStatusQuery=Ae;exports.useLazyGetOrgByDomainQuery=kt;exports.useLazyGetOrgPreferencesQuery=zt;exports.useLazyGetOrgQuery=xt;exports.useLazyGetOrgsQuery=ht;exports.useLazyGetPerformanceProfileQuery=Pn;exports.useLazyGetPerformanceProfileResultsQuery=Gn;exports.useLazyGetPerformanceProfilesQuery=wn;exports.useLazyGetPerformanceResultsQuery=En;exports.useLazyGetRegistryCategoriesByNameQuery=pe;exports.useLazyGetRegistryCategoriesQuery=de;exports.useLazyGetRegistryComponentsByCategoryAndModelAndNameQuery=Ce;exports.useLazyGetRegistryComponentsByCategoryAndModelQuery=he;exports.useLazyGetRegistryComponentsByCategoryAndNameQuery=Re;exports.useLazyGetRegistryComponentsByCategoryQuery=fe;exports.useLazyGetRegistryComponentsByModelAndNameQuery=q;exports.useLazyGetRegistryComponentsByModelQuery=Z;exports.useLazyGetRegistryComponentsByNameQuery=we;exports.useLazyGetRegistryComponentsQuery=Te;exports.useLazyGetRegistryModelsByCategoryAndModelQuery=be;exports.useLazyGetRegistryModelsByCategoryQuery=me;exports.useLazyGetRegistryModelsByNameQuery=Y;exports.useLazyGetRegistryModelsQuery=$;exports.useLazyGetRegistryPoliciesByModelAndNameQuery=ae;exports.useLazyGetRegistryPoliciesByModelQuery=re;exports.useLazyGetRegistryRegistrantsQuery=De;exports.useLazyGetRegistryRelationshipsByModelAndNameQuery=ie;exports.useLazyGetRegistryRelationshipsByModelQuery=te;exports.useLazyGetRegistryRelationshipsQuery=Be;exports.useLazyGetSystemDatabaseQuery=Fe;exports.useLazyGetSystemSyncQuery=Je;exports.useLazyGetSystemVersionQuery=Qe;exports.useLazyGetTeamsOfWorkspaceQuery=Jn;exports.useLazyGetUserCredentialsQuery=gt;exports.useLazyGetUserEmailAddressesQuery=Lt;exports.useLazyGetUserKeysQuery=bt;exports.useLazyGetUserProfileByIdQuery=Wt;exports.useLazyGetUserQuery=Ut;exports.useLazyGetUsersForOrgQuery=Nt;exports.useLazyGetUsersQuery=Vn;exports.useLazyGetViewsOfWorkspaceQuery=gi;exports.useLazyGetWorkspaceByIdQuery=$n;exports.useLazyGetWorkspacesQuery=jn;exports.useLazyListConnectionDefinitionsQuery=sn;exports.useLazyOpenLogConsoleQuery=j;exports.useLazyOpenTerminalConsoleQuery=F;exports.useLazyPingKubernetesQuery=Ye;exports.useLazySearchUsersQuery=Fn;exports.useLazySubscribeControllersStatusQuery=st;exports.useListConnectionDefinitionsQuery=rn;exports.useOpenLogConsoleQuery=L;exports.useOpenTerminalConsoleQuery=U;exports.usePatchOrgPreferencesMutation=Bt;exports.usePerformConnectionActionMutation=At;exports.usePingKubernetesQuery=He;exports.useProcessConnectionRegistrationMutation=$t;exports.useRegisterConnectionDefinitionMutation=an;exports.useRegisterConnectionMutation=Kt;exports.useRegisterRegistryComponentMutation=Ie;exports.useRegisterRegistryEntitiesMutation=Me;exports.useRegisterRegistryRelationshipMutation=Pe;exports.useRemoveConnectionFromEnvironmentMutation=on;exports.useRemoveTeamFromOrgMutation=_t;exports.useResetSystemDatabaseMutation=Le;exports.useSaveUserCredentialMutation=dt;exports.useSearchUsersQuery=Un;exports.useSubscribeControllersStatusQuery=rt;exports.useUnassignDesignFromWorkspaceMutation=si;exports.useUnassignEnvironmentFromWorkspaceMutation=ni;exports.useUnassignTeamFromWorkspaceMutation=An;exports.useUnassignViewFromWorkspaceMutation=ci;exports.useUpdateConnectionControllersConfigMutation=E;exports.useUpdateConnectionDefinitionMutation=cn;exports.useUpdateConnectionMutation=Jt;exports.useUpdateControllersDefaultConfigMutation=M;exports.useUpdateEnvironmentMutation=vn;exports.useUpdateEventStatusMutation=Tn;exports.useUpdateOrgMutation=St;exports.useUpdatePerformanceProfileMutation=_n;exports.useUpdateRegistryEntityStatusMutation=Ve;exports.useUpdateUserCredentialMutation=ct;exports.useUpdateWorkspaceMutation=Hn;exports.useUpsertPerformanceProfileMutation=zn;exports.useValidateRegistryEntitiesMutation=We;
|
|
1
|
+
'use strict';var react=require('@reduxjs/toolkit/query/react');function s(t){return async(e,g,o)=>{var r,d,c;let n=await t(e,g,o);if(n.error){let a=n.error.data;if(typeof a=="object"&&a!==null){let i=a;if(typeof i.error=="string")return {error:{...n.error,meshkit:{message:i.error,code:i.code,severity:i.severity,probableCause:(r=i.probableCause)!=null?r:i.probable_cause,suggestedRemediation:(d=i.suggestedRemediation)!=null?d:i.suggested_remediation,longDescription:(c=i.longDescription)!=null?c:i.long_description}},meta:n.meta}}return {error:n.error,meta:n.meta}}return {data:n.data,meta:n.meta}}}var y="X-Current-Orgid";var p,h=(p=process.env.RTK_CLOUD_ENDPOINT_PREFIX)!=null?p:"",l,v=(l=process.env.RTK_MESHERY_ENDPOINT_PREFIX)!=null?l:"",C=react.fetchBaseQuery({baseUrl:h,credentials:"include",prepareHeaders:(t,{getState:e})=>{var r;let o=(r=e().organization)==null?void 0:r.value,n=o==null?void 0:o.id;return n&&t.set(y,n),t}}),k=s(C),f=s(react.fetchBaseQuery({baseUrl:v,credentials:"include"}));react.createApi({reducerPath:"cloudRtkSchemasApi",baseQuery:k,tagTypes:[],endpoints:()=>({})});var b=react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:f,tagTypes:[],endpoints:()=>({})});var x=["Meshery_Controllers_Configuration_controllers","Console_API_Console","Evaluation_Evaluation","Registry_Registry","System_API_System","credential_credentials","Key_users","Organization_Organizations","User_users","Connection_API_Connections","Connection_API_ConnectionDefinitions","Design_designs","Environment_environments","Events_events","Performance_Profile_performance","Workspace_workspaces","Workspace_designs","Workspace_views"],R=b.enhanceEndpoints({addTagTypes:x}).injectEndpoints({endpoints:t=>({getControllersDefaultConfig:t.query({query:()=>({url:"/api/system/controllers/config"}),providesTags:["Meshery_Controllers_Configuration_controllers"]}),updateControllersDefaultConfig:t.mutation({query:e=>({url:"/api/system/controllers/config",method:"PUT",body:e.body}),invalidatesTags:["Meshery_Controllers_Configuration_controllers"]}),getConnectionControllersConfig:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/controllers/config`}),providesTags:["Meshery_Controllers_Configuration_controllers"]}),updateConnectionControllersConfig:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}/controllers/config`,method:"PUT",body:e.body}),invalidatesTags:["Meshery_Controllers_Configuration_controllers"]}),getConsoleCapabilities:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/console/capabilities`,params:{resource:e==null?void 0:e.resource,name:e==null?void 0:e.name,namespace:e==null?void 0:e.namespace,container:e==null?void 0:e.container}}),providesTags:["Console_API_Console"]}),openTerminalConsole:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/console/terminal`,params:{resource:e==null?void 0:e.resource,name:e==null?void 0:e.name,namespace:e==null?void 0:e.namespace,container:e==null?void 0:e.container,command:e==null?void 0:e.command}}),providesTags:["Console_API_Console"]}),openLogConsole:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}/console/logs`,params:{resource:e==null?void 0:e.resource,name:e==null?void 0:e.name,namespace:e==null?void 0:e.namespace,container:e==null?void 0:e.container,follow:e==null?void 0:e.follow,previous:e==null?void 0:e.previous,timestamps:e==null?void 0:e.timestamps,tailLines:e==null?void 0:e.tailLines,sinceSeconds:e==null?void 0:e.sinceSeconds}}),providesTags:["Console_API_Console"]}),evaluateRelationships:t.mutation({query:e=>({url:"/api/registry/relationships/evaluate",method:"POST",body:e.body}),invalidatesTags:["Evaluation_Evaluation"]}),getRegistryModels:t.query({query:e=>({url:"/api/registry/models",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,status:e==null?void 0:e.status,id:e==null?void 0:e.id,registrant:e==null?void 0:e.registrant,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships,trim:e==null?void 0:e.trim}}),providesTags:["Registry_Registry"]}),getRegistryModelsByName:t.query({query:e=>({url:`/api/registry/models/${e.model}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),deleteRegistryModel:t.mutation({query:e=>({url:`/api/registry/models/${e.model}`,method:"DELETE"}),invalidatesTags:["Registry_Registry"]}),getRegistryComponentsByModel:t.query({query:e=>({url:`/api/registry/models/${e.model}/components`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByModelAndName:t.query({query:e=>({url:`/api/registry/models/${e.model}/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryRelationshipsByModel:t.query({query:e=>({url:`/api/registry/models/${e.model}/relationships`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version}}),providesTags:["Registry_Registry"]}),getRegistryRelationshipsByModelAndName:t.query({query:e=>({url:`/api/registry/models/${e.model}/relationships/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version}}),providesTags:["Registry_Registry"]}),getRegistryPoliciesByModel:t.query({query:e=>({url:`/api/registry/models/${e.model}/policies`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryPoliciesByModelAndName:t.query({query:e=>({url:`/api/registry/models/${e.model}/policies/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryCategories:t.query({query:e=>({url:"/api/registry/categories",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryCategoriesByName:t.query({query:e=>({url:`/api/registry/categories/${e.category}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),getRegistryModelsByCategory:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),getRegistryModelsByCategoryAndModel:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models/${e.model}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,annotations:e==null?void 0:e.annotations,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategoryAndModel:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models/${e.model}/components`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategoryAndModelAndName:t.query({query:e=>({url:`/api/registry/categories/${e.category}/models/${e.model}/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategory:t.query({query:e=>({url:`/api/registry/categories/${e.category}/components`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponentsByCategoryAndName:t.query({query:e=>({url:`/api/registry/categories/${e.category}/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryComponents:t.query({query:e=>({url:"/api/registry/components",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),registerRegistryComponent:t.mutation({query:e=>({url:"/api/registry/components",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),getRegistryComponentsByName:t.query({query:e=>({url:`/api/registry/components/${e.name}`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version,apiVersion:e==null?void 0:e.apiVersion,trim:e==null?void 0:e.trim,annotations:e==null?void 0:e.annotations}}),providesTags:["Registry_Registry"]}),getRegistryRelationships:t.query({query:e=>({url:"/api/registry/relationships",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort,version:e==null?void 0:e.version}}),providesTags:["Registry_Registry"]}),registerRegistryRelationship:t.mutation({query:e=>({url:"/api/registry/relationships",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),getRegistryRegistrants:t.query({query:e=>({url:"/api/registry/registrants",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,sort:e==null?void 0:e.sort}}),providesTags:["Registry_Registry"]}),registerRegistryEntities:t.mutation({query:e=>({url:"/api/registry/register",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),generateRegistryComponents:t.mutation({query:e=>({url:"/api/registry/generate",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),exportRegistryModel:t.query({query:e=>({url:"/api/registry/export",params:{id:e==null?void 0:e.id,name:e==null?void 0:e.name,version:e==null?void 0:e.version,outputFormat:e==null?void 0:e.outputFormat,fileType:e==null?void 0:e.fileType,components:e==null?void 0:e.components,relationships:e==null?void 0:e.relationships}}),providesTags:["Registry_Registry"]}),validateRegistryEntities:t.mutation({query:e=>({url:"/api/registry/validate",method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),updateRegistryEntityStatus:t.mutation({query:e=>({url:`/api/registry/${e.entityType}/status`,method:"POST",body:e.body}),invalidatesTags:["Registry_Registry"]}),getSystemDatabase:t.query({query:e=>({url:"/api/system/database",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,sort:e==null?void 0:e.sort,order:e==null?void 0:e.order}}),providesTags:["System_API_System"]}),resetSystemDatabase:t.mutation({query:()=>({url:"/api/system/database/reset",method:"DELETE"}),invalidatesTags:["System_API_System"]}),getSystemVersion:t.query({query:()=>({url:"/api/system/version"}),providesTags:["System_API_System"]}),addKubernetesConfig:t.mutation({query:e=>({url:"/api/system/kubernetes",method:"POST",body:e.body}),invalidatesTags:["System_API_System"]}),discoverKubernetesContexts:t.mutation({query:e=>({url:"/api/system/kubernetes/contexts",method:"POST",body:e.body}),invalidatesTags:["System_API_System"]}),pingKubernetes:t.query({query:e=>({url:"/api/system/kubernetes/ping",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getSystemSync:t.query({query:()=>({url:"/api/system/sync"}),providesTags:["System_API_System"]}),getOperatorControllerStatus:t.query({query:e=>({url:"/api/system/controllers/operator/status",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getMeshsyncControllerStatus:t.query({query:e=>({url:"/api/system/controllers/meshsync/status",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getBrokerControllerStatus:t.query({query:e=>({url:"/api/system/controllers/broker/status",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),getControllerDiagnostics:t.query({query:e=>({url:"/api/system/controllers/diagnostics",params:{connectionId:e==null?void 0:e.connectionId}}),providesTags:["System_API_System"]}),subscribeControllersStatus:t.query({query:e=>({url:"/api/system/controllers/status/subscribe",params:{connectionIds:e==null?void 0:e.connectionIds}}),providesTags:["System_API_System"]}),getUserCredentials:t.query({query:e=>({url:"/api/integrations/credentials",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order}}),providesTags:["credential_credentials"]}),saveUserCredential:t.mutation({query:e=>({url:"/api/integrations/credentials",method:"POST",body:e.body}),invalidatesTags:["credential_credentials"]}),updateUserCredential:t.mutation({query:e=>({url:"/api/integrations/credentials",method:"PUT",body:e.body}),invalidatesTags:["credential_credentials"]}),deleteUserCredential:t.mutation({query:e=>({url:"/api/integrations/credentials",method:"DELETE",params:{credentialId:e==null?void 0:e.credentialId}}),invalidatesTags:["credential_credentials"]}),getCredentialById:t.query({query:e=>({url:`/api/integrations/credentials/${e.credentialId}`}),providesTags:["credential_credentials"]}),getUserKeys:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/users/keys`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize}}),providesTags:["Key_users"]}),getOrgs:t.query({query:e=>({url:"/api/identity/orgs",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,all:e==null?void 0:e.all}}),providesTags:["Organization_Organizations"]}),createOrg:t.mutation({query:e=>({url:"/api/identity/orgs",method:"POST",body:e.body}),invalidatesTags:["Organization_Organizations"]}),getOrgByDomain:t.query({query:e=>({url:"/api/identity/orgs/by-domain",params:{domain:e==null?void 0:e.domain}}),providesTags:["Organization_Organizations"]}),getOrg:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}`}),providesTags:["Organization_Organizations"]}),deleteOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}`,method:"DELETE"}),invalidatesTags:["Organization_Organizations"]}),updateOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}`,method:"PUT",body:e.body}),invalidatesTags:["Organization_Organizations"]}),getChildOrgs:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/children`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize}}),providesTags:["Organization_Organizations"]}),createChildOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/children`,method:"POST",body:e.body}),invalidatesTags:["Organization_Organizations"]}),getOrgPreferences:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/preferences`}),providesTags:["Organization_Organizations"]}),patchOrgPreferences:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/preferences`,method:"PATCH",body:e.body,headers:{"If-Match":e["If-Match"]}}),invalidatesTags:["Organization_Organizations"]}),addTeamToOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/teams/${e.teamId}`,method:"POST",body:e.body}),invalidatesTags:["Organization_Organizations"]}),removeTeamFromOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/teams/${e.teamId}/remove`,method:"POST"}),invalidatesTags:["Organization_Organizations"]}),addUserToOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/users/${e.userId}`,method:"POST"}),invalidatesTags:["Organization_Organizations"]}),deleteUserFromOrg:t.mutation({query:e=>({url:`/api/identity/orgs/${e.orgId}/users/${e.userId}`,method:"DELETE"}),invalidatesTags:["Organization_Organizations"]}),getUsersForOrg:t.query({query:e=>({url:`/api/identity/orgs/${e.orgId}/users`,params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,filter:e==null?void 0:e.filter,teamId:e==null?void 0:e.teamId}}),providesTags:["User_users"]}),getUserProfileById:t.query({query:e=>({url:`/api/identity/users/profile/${e.id}`}),providesTags:["User_users"]}),getUser:t.query({query:()=>({url:"/api/identity/users/profile"}),providesTags:["User_users"]}),getUserEmailAddresses:t.query({query:e=>({url:`/api/identity/users/${e.userId}/emails`}),providesTags:["User_users"]}),getConnections:t.query({query:e=>({url:"/api/integrations/connections",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,orgId:e==null?void 0:e.orgId,filter:e==null?void 0:e.filter,kind:e==null?void 0:e.kind,status:e==null?void 0:e.status,type:e==null?void 0:e.type,name:e==null?void 0:e.name}}),providesTags:["Connection_API_Connections"]}),registerConnection:t.mutation({query:e=>({url:"/api/integrations/connections",method:"POST",body:e.body,headers:{"X-Current-Orgid":e["X-Current-Orgid"]}}),invalidatesTags:["Connection_API_Connections"]}),processConnectionRegistration:t.mutation({query:e=>({url:"/api/integrations/connections/register",method:"POST",body:e.body}),invalidatesTags:["Connection_API_Connections"]}),cancelConnectionRegister:t.mutation({query:e=>({url:`/api/integrations/connections/register/${e.registrationId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),getConnectionById:t.query({query:e=>({url:`/api/integrations/connections/${e.connectionId}`}),providesTags:["Connection_API_Connections"]}),updateConnection:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}`,method:"PUT",body:e.body}),invalidatesTags:["Connection_API_Connections"]}),deleteConnection:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),performConnectionAction:t.mutation({query:e=>({url:`/api/integrations/connections/${e.connectionId}/actions`,method:"POST",body:e.body}),invalidatesTags:["Connection_API_Connections"]}),deleteMesheryConnection:t.mutation({query:e=>({url:`/api/integrations/connections/meshery/${e.mesheryServerId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),getKubernetesContext:t.query({query:e=>({url:`/api/integrations/connections/kubernetes/${e.connectionId}/context`}),providesTags:["Connection_API_Connections"]}),addConnectionToEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}/connections/${e.connectionId}`,method:"POST"}),invalidatesTags:["Connection_API_Connections"]}),removeConnectionFromEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}/connections/${e.connectionId}`,method:"DELETE"}),invalidatesTags:["Connection_API_Connections"]}),listConnectionDefinitions:t.query({query:e=>({url:"/api/registry/connections",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,model:e==null?void 0:e.model,kind:e==null?void 0:e.kind}}),providesTags:["Connection_API_ConnectionDefinitions"]}),registerConnectionDefinition:t.mutation({query:e=>({url:"/api/registry/connections",method:"POST",body:e.body}),invalidatesTags:["Connection_API_ConnectionDefinitions"]}),getConnectionDefinition:t.query({query:e=>({url:`/api/registry/connections/${e.connectionDefinitionId}`}),providesTags:["Connection_API_ConnectionDefinitions"]}),updateConnectionDefinition:t.mutation({query:e=>({url:`/api/registry/connections/${e.connectionDefinitionId}`,method:"PUT",body:e.body}),invalidatesTags:["Connection_API_ConnectionDefinitions"]}),deleteConnectionDefinition:t.mutation({query:e=>({url:`/api/registry/connections/${e.connectionDefinitionId}`,method:"DELETE"}),invalidatesTags:["Connection_API_ConnectionDefinitions"]}),importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body}),invalidatesTags:["Design_designs"]}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body}),invalidatesTags:["Environment_environments"]}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,orgId:e==null?void 0:e.orgId,purpose:e==null?void 0:e.purpose}}),providesTags:["Environment_environments"]}),getEnvironmentById:t.query({query:e=>({url:`/api/environments/${e.environmentId}`,params:{orgId:e==null?void 0:e.orgId}}),providesTags:["Environment_environments"]}),updateEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}`,method:"PUT",body:e.body}),invalidatesTags:["Environment_environments"]}),deleteEnvironment:t.mutation({query:e=>({url:`/api/environments/${e.environmentId}`,method:"DELETE"}),invalidatesTags:["Environment_environments"]}),getEnvironmentConnections:t.query({query:e=>({url:`/api/environments/${e.environmentId}/connections`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Environment_environments"]}),deleteEvent:t.mutation({query:e=>({url:`/api/events/${e.eventId}`,method:"DELETE"}),invalidatesTags:["Events_events"]}),bulkDeleteEvents:t.mutation({query:e=>({url:"/api/events/delete",method:"POST",body:e.body}),invalidatesTags:["Events_events"]}),bulkUpdateEventStatus:t.mutation({query:e=>({url:"/api/events/status",method:"PUT",body:e.body}),invalidatesTags:["Events_events"]}),updateEventStatus:t.mutation({query:e=>({url:`/api/events/${e.eventId}/status`,method:"PUT",body:e.body}),invalidatesTags:["Events_events"]}),createEvent:t.mutation({query:e=>({url:"/api/events",method:"POST",body:e.body}),invalidatesTags:["Events_events"]}),getPerformanceProfiles:t.query({query:e=>({url:"/api/performance/profiles",params:{page:e==null?void 0:e.page,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order}}),providesTags:["Performance_Profile_performance"]}),upsertPerformanceProfile:t.mutation({query:e=>({url:"/api/performance/profiles",method:"POST",body:e.body}),invalidatesTags:["Performance_Profile_performance"]}),getPerformanceProfile:t.query({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}`}),providesTags:["Performance_Profile_performance"]}),updatePerformanceProfile:t.mutation({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}`,method:"PUT",body:e.body}),invalidatesTags:["Performance_Profile_performance"]}),deletePerformanceProfile:t.mutation({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}`,method:"DELETE"}),invalidatesTags:["Performance_Profile_performance"]}),getPerformanceProfileResults:t.query({query:e=>({url:`/api/performance/profiles/${e.performanceProfileId}/results`,params:{page:e==null?void 0:e.page,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order}}),providesTags:["Performance_Profile_performance"]}),getPerformanceResults:t.query({query:e=>({url:"/api/performance/results",params:{page:e==null?void 0:e.page,pagesize:e==null?void 0:e.pagesize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,from:e==null?void 0:e.from,to:e==null?void 0:e.to}}),providesTags:["Performance_Profile_performance"]}),getUsers:t.query({query:e=>({url:"/api/users",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,filter:e==null?void 0:e.filter}}),providesTags:["User_users"]}),searchUsers:t.query({query:e=>({url:"/api/identity/users/search",params:{page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,search:e==null?void 0:e.search,order:e==null?void 0:e.order,filter:e==null?void 0:e.filter}}),providesTags:["User_users"]}),getWorkspaces:t.query({query:e=>({url:"/api/workspaces",params:{orgId:e==null?void 0:e.orgId,search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces"]}),createWorkspace:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body}),invalidatesTags:["Workspace_workspaces"]}),getWorkspaceById:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}`}),providesTags:["Workspace_workspaces"]}),updateWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}`,method:"PUT",body:e.body}),invalidatesTags:["Workspace_workspaces"]}),deleteWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces"]}),getTeamsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/teams`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces"]}),assignTeamToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/teams/${e.teamId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces"]}),unassignTeamFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/teams/${e.teamId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces"]}),getEnvironmentsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/environments`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces"]}),assignEnvironmentToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/environments/${e.environmentId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces"]}),unassignEnvironmentFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/environments/${e.environmentId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces"]}),getDesignsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/designs`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces","Workspace_designs"]}),assignDesignToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/designs/${e.designId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces","Workspace_designs"]}),unassignDesignFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/designs/${e.designId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces","Workspace_designs"]}),getViewsOfWorkspace:t.query({query:e=>({url:`/api/workspaces/${e.workspaceId}/views`,params:{search:e==null?void 0:e.search,order:e==null?void 0:e.order,page:e==null?void 0:e.page,pageSize:e==null?void 0:e.pageSize,pagesize:e==null?void 0:e.pagesize,filter:e==null?void 0:e.filter}}),providesTags:["Workspace_workspaces","Workspace_views"]}),assignViewToWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/views/${e.viewId}`,method:"POST"}),invalidatesTags:["Workspace_workspaces","Workspace_views"]}),unassignViewFromWorkspace:t.mutation({query:e=>({url:`/api/workspaces/${e.workspaceId}/views/${e.viewId}`,method:"DELETE"}),invalidatesTags:["Workspace_workspaces","Workspace_views"]})}),overrideExisting:false});var {useGetControllersDefaultConfigQuery:_,useLazyGetControllersDefaultConfigQuery:D,useUpdateControllersDefaultConfigMutation:M,useGetConnectionControllersConfigQuery:G,useLazyGetConnectionControllersConfigQuery:N,useUpdateConnectionControllersConfigMutation:E,useGetConsoleCapabilitiesQuery:W,useLazyGetConsoleCapabilitiesQuery:V,useOpenTerminalConsoleQuery:U,useLazyOpenTerminalConsoleQuery:F,useOpenLogConsoleQuery:L,useLazyOpenLogConsoleQuery:j,useEvaluateRelationshipsMutation:Q,useGetRegistryModelsQuery:K,useLazyGetRegistryModelsQuery:$,useGetRegistryModelsByNameQuery:H,useLazyGetRegistryModelsByNameQuery:Y,useDeleteRegistryModelMutation:X,useGetRegistryComponentsByModelQuery:J,useLazyGetRegistryComponentsByModelQuery:Z,useGetRegistryComponentsByModelAndNameQuery:A,useLazyGetRegistryComponentsByModelAndNameQuery:q,useGetRegistryRelationshipsByModelQuery:ee,useLazyGetRegistryRelationshipsByModelQuery:te,useGetRegistryRelationshipsByModelAndNameQuery:ne,useLazyGetRegistryRelationshipsByModelAndNameQuery:ie,useGetRegistryPoliciesByModelQuery:oe,useLazyGetRegistryPoliciesByModelQuery:re,useGetRegistryPoliciesByModelAndNameQuery:se,useLazyGetRegistryPoliciesByModelAndNameQuery:ae,useGetRegistryCategoriesQuery:ge,useLazyGetRegistryCategoriesQuery:de,useGetRegistryCategoriesByNameQuery:ce,useLazyGetRegistryCategoriesByNameQuery:pe,useGetRegistryModelsByCategoryQuery:le,useLazyGetRegistryModelsByCategoryQuery:me,useGetRegistryModelsByCategoryAndModelQuery:ue,useLazyGetRegistryModelsByCategoryAndModelQuery:be,useGetRegistryComponentsByCategoryAndModelQuery:ye,useLazyGetRegistryComponentsByCategoryAndModelQuery:he,useGetRegistryComponentsByCategoryAndModelAndNameQuery:ve,useLazyGetRegistryComponentsByCategoryAndModelAndNameQuery:Ce,useGetRegistryComponentsByCategoryQuery:ke,useLazyGetRegistryComponentsByCategoryQuery:fe,useGetRegistryComponentsByCategoryAndNameQuery:xe,useLazyGetRegistryComponentsByCategoryAndNameQuery:Re,useGetRegistryComponentsQuery:Se,useLazyGetRegistryComponentsQuery:Te,useRegisterRegistryComponentMutation:Ie,useGetRegistryComponentsByNameQuery:ze,useLazyGetRegistryComponentsByNameQuery:Oe,useGetRegistryRelationshipsQuery:we,useLazyGetRegistryRelationshipsQuery:Be,useRegisterRegistryRelationshipMutation:Pe,useGetRegistryRegistrantsQuery:_e,useLazyGetRegistryRegistrantsQuery:De,useRegisterRegistryEntitiesMutation:Me,useGenerateRegistryComponentsMutation:Ge,useExportRegistryModelQuery:Ne,useLazyExportRegistryModelQuery:Ee,useValidateRegistryEntitiesMutation:We,useUpdateRegistryEntityStatusMutation:Ve,useGetSystemDatabaseQuery:Ue,useLazyGetSystemDatabaseQuery:Fe,useResetSystemDatabaseMutation:Le,useGetSystemVersionQuery:je,useLazyGetSystemVersionQuery:Qe,useAddKubernetesConfigMutation:Ke,useDiscoverKubernetesContextsMutation:$e,usePingKubernetesQuery:He,useLazyPingKubernetesQuery:Ye,useGetSystemSyncQuery:Xe,useLazyGetSystemSyncQuery:Je,useGetOperatorControllerStatusQuery:Ze,useLazyGetOperatorControllerStatusQuery:Ae,useGetMeshsyncControllerStatusQuery:qe,useLazyGetMeshsyncControllerStatusQuery:et,useGetBrokerControllerStatusQuery:tt,useLazyGetBrokerControllerStatusQuery:nt,useGetControllerDiagnosticsQuery:it,useLazyGetControllerDiagnosticsQuery:ot,useSubscribeControllersStatusQuery:rt,useLazySubscribeControllersStatusQuery:st,useGetUserCredentialsQuery:at,useLazyGetUserCredentialsQuery:gt,useSaveUserCredentialMutation:dt,useUpdateUserCredentialMutation:ct,useDeleteUserCredentialMutation:pt,useGetCredentialByIdQuery:lt,useLazyGetCredentialByIdQuery:mt,useGetUserKeysQuery:ut,useLazyGetUserKeysQuery:bt,useGetOrgsQuery:yt,useLazyGetOrgsQuery:ht,useCreateOrgMutation:vt,useGetOrgByDomainQuery:Ct,useLazyGetOrgByDomainQuery:kt,useGetOrgQuery:ft,useLazyGetOrgQuery:xt,useDeleteOrgMutation:Rt,useUpdateOrgMutation:St,useGetChildOrgsQuery:Tt,useLazyGetChildOrgsQuery:It,useCreateChildOrgMutation:zt,useGetOrgPreferencesQuery:Ot,useLazyGetOrgPreferencesQuery:wt,usePatchOrgPreferencesMutation:Bt,useAddTeamToOrgMutation:Pt,useRemoveTeamFromOrgMutation:_t,useAddUserToOrgMutation:Dt,useDeleteUserFromOrgMutation:Mt,useGetUsersForOrgQuery:Gt,useLazyGetUsersForOrgQuery:Nt,useGetUserProfileByIdQuery:Et,useLazyGetUserProfileByIdQuery:Wt,useGetUserQuery:Vt,useLazyGetUserQuery:Ut,useGetUserEmailAddressesQuery:Ft,useLazyGetUserEmailAddressesQuery:Lt,useGetConnectionsQuery:jt,useLazyGetConnectionsQuery:Qt,useRegisterConnectionMutation:Kt,useProcessConnectionRegistrationMutation:$t,useCancelConnectionRegisterMutation:Ht,useGetConnectionByIdQuery:Yt,useLazyGetConnectionByIdQuery:Xt,useUpdateConnectionMutation:Jt,useDeleteConnectionMutation:Zt,usePerformConnectionActionMutation:At,useDeleteMesheryConnectionMutation:qt,useGetKubernetesContextQuery:en,useLazyGetKubernetesContextQuery:tn,useAddConnectionToEnvironmentMutation:nn,useRemoveConnectionFromEnvironmentMutation:on,useListConnectionDefinitionsQuery:rn,useLazyListConnectionDefinitionsQuery:sn,useRegisterConnectionDefinitionMutation:an,useGetConnectionDefinitionQuery:gn,useLazyGetConnectionDefinitionQuery:dn,useUpdateConnectionDefinitionMutation:cn,useDeleteConnectionDefinitionMutation:pn,useImportDesignMutation:ln,useCreateEnvironmentMutation:mn,useGetEnvironmentsQuery:un,useLazyGetEnvironmentsQuery:bn,useGetEnvironmentByIdQuery:yn,useLazyGetEnvironmentByIdQuery:hn,useUpdateEnvironmentMutation:vn,useDeleteEnvironmentMutation:Cn,useGetEnvironmentConnectionsQuery:kn,useLazyGetEnvironmentConnectionsQuery:fn,useDeleteEventMutation:xn,useBulkDeleteEventsMutation:Rn,useBulkUpdateEventStatusMutation:Sn,useUpdateEventStatusMutation:Tn,useCreateEventMutation:In,useGetPerformanceProfilesQuery:zn,useLazyGetPerformanceProfilesQuery:On,useUpsertPerformanceProfileMutation:wn,useGetPerformanceProfileQuery:Bn,useLazyGetPerformanceProfileQuery:Pn,useUpdatePerformanceProfileMutation:_n,useDeletePerformanceProfileMutation:Dn,useGetPerformanceProfileResultsQuery:Mn,useLazyGetPerformanceProfileResultsQuery:Gn,useGetPerformanceResultsQuery:Nn,useLazyGetPerformanceResultsQuery:En,useGetUsersQuery:Wn,useLazyGetUsersQuery:Vn,useSearchUsersQuery:Un,useLazySearchUsersQuery:Fn,useGetWorkspacesQuery:Ln,useLazyGetWorkspacesQuery:jn,useCreateWorkspaceMutation:Qn,useGetWorkspaceByIdQuery:Kn,useLazyGetWorkspaceByIdQuery:$n,useUpdateWorkspaceMutation:Hn,useDeleteWorkspaceMutation:Yn,useGetTeamsOfWorkspaceQuery:Xn,useLazyGetTeamsOfWorkspaceQuery:Jn,useAssignTeamToWorkspaceMutation:Zn,useUnassignTeamFromWorkspaceMutation:An,useGetEnvironmentsOfWorkspaceQuery:qn,useLazyGetEnvironmentsOfWorkspaceQuery:ei,useAssignEnvironmentToWorkspaceMutation:ti,useUnassignEnvironmentFromWorkspaceMutation:ni,useGetDesignsOfWorkspaceQuery:ii,useLazyGetDesignsOfWorkspaceQuery:oi,useAssignDesignToWorkspaceMutation:ri,useUnassignDesignFromWorkspaceMutation:si,useGetViewsOfWorkspaceQuery:ai,useLazyGetViewsOfWorkspaceQuery:gi,useAssignViewToWorkspaceMutation:di,useUnassignViewFromWorkspaceMutation:ci}=R;exports.addTagTypes=x;exports.injectedRtkApi=R;exports.mesheryApi=R;exports.useAddConnectionToEnvironmentMutation=nn;exports.useAddKubernetesConfigMutation=Ke;exports.useAddTeamToOrgMutation=Pt;exports.useAddUserToOrgMutation=Dt;exports.useAssignDesignToWorkspaceMutation=ri;exports.useAssignEnvironmentToWorkspaceMutation=ti;exports.useAssignTeamToWorkspaceMutation=Zn;exports.useAssignViewToWorkspaceMutation=di;exports.useBulkDeleteEventsMutation=Rn;exports.useBulkUpdateEventStatusMutation=Sn;exports.useCancelConnectionRegisterMutation=Ht;exports.useCreateChildOrgMutation=zt;exports.useCreateEnvironmentMutation=mn;exports.useCreateEventMutation=In;exports.useCreateOrgMutation=vt;exports.useCreateWorkspaceMutation=Qn;exports.useDeleteConnectionDefinitionMutation=pn;exports.useDeleteConnectionMutation=Zt;exports.useDeleteEnvironmentMutation=Cn;exports.useDeleteEventMutation=xn;exports.useDeleteMesheryConnectionMutation=qt;exports.useDeleteOrgMutation=Rt;exports.useDeletePerformanceProfileMutation=Dn;exports.useDeleteRegistryModelMutation=X;exports.useDeleteUserCredentialMutation=pt;exports.useDeleteUserFromOrgMutation=Mt;exports.useDeleteWorkspaceMutation=Yn;exports.useDiscoverKubernetesContextsMutation=$e;exports.useEvaluateRelationshipsMutation=Q;exports.useExportRegistryModelQuery=Ne;exports.useGenerateRegistryComponentsMutation=Ge;exports.useGetBrokerControllerStatusQuery=tt;exports.useGetChildOrgsQuery=Tt;exports.useGetConnectionByIdQuery=Yt;exports.useGetConnectionControllersConfigQuery=G;exports.useGetConnectionDefinitionQuery=gn;exports.useGetConnectionsQuery=jt;exports.useGetConsoleCapabilitiesQuery=W;exports.useGetControllerDiagnosticsQuery=it;exports.useGetControllersDefaultConfigQuery=_;exports.useGetCredentialByIdQuery=lt;exports.useGetDesignsOfWorkspaceQuery=ii;exports.useGetEnvironmentByIdQuery=yn;exports.useGetEnvironmentConnectionsQuery=kn;exports.useGetEnvironmentsOfWorkspaceQuery=qn;exports.useGetEnvironmentsQuery=un;exports.useGetKubernetesContextQuery=en;exports.useGetMeshsyncControllerStatusQuery=qe;exports.useGetOperatorControllerStatusQuery=Ze;exports.useGetOrgByDomainQuery=Ct;exports.useGetOrgPreferencesQuery=Ot;exports.useGetOrgQuery=ft;exports.useGetOrgsQuery=yt;exports.useGetPerformanceProfileQuery=Bn;exports.useGetPerformanceProfileResultsQuery=Mn;exports.useGetPerformanceProfilesQuery=zn;exports.useGetPerformanceResultsQuery=Nn;exports.useGetRegistryCategoriesByNameQuery=ce;exports.useGetRegistryCategoriesQuery=ge;exports.useGetRegistryComponentsByCategoryAndModelAndNameQuery=ve;exports.useGetRegistryComponentsByCategoryAndModelQuery=ye;exports.useGetRegistryComponentsByCategoryAndNameQuery=xe;exports.useGetRegistryComponentsByCategoryQuery=ke;exports.useGetRegistryComponentsByModelAndNameQuery=A;exports.useGetRegistryComponentsByModelQuery=J;exports.useGetRegistryComponentsByNameQuery=ze;exports.useGetRegistryComponentsQuery=Se;exports.useGetRegistryModelsByCategoryAndModelQuery=ue;exports.useGetRegistryModelsByCategoryQuery=le;exports.useGetRegistryModelsByNameQuery=H;exports.useGetRegistryModelsQuery=K;exports.useGetRegistryPoliciesByModelAndNameQuery=se;exports.useGetRegistryPoliciesByModelQuery=oe;exports.useGetRegistryRegistrantsQuery=_e;exports.useGetRegistryRelationshipsByModelAndNameQuery=ne;exports.useGetRegistryRelationshipsByModelQuery=ee;exports.useGetRegistryRelationshipsQuery=we;exports.useGetSystemDatabaseQuery=Ue;exports.useGetSystemSyncQuery=Xe;exports.useGetSystemVersionQuery=je;exports.useGetTeamsOfWorkspaceQuery=Xn;exports.useGetUserCredentialsQuery=at;exports.useGetUserEmailAddressesQuery=Ft;exports.useGetUserKeysQuery=ut;exports.useGetUserProfileByIdQuery=Et;exports.useGetUserQuery=Vt;exports.useGetUsersForOrgQuery=Gt;exports.useGetUsersQuery=Wn;exports.useGetViewsOfWorkspaceQuery=ai;exports.useGetWorkspaceByIdQuery=Kn;exports.useGetWorkspacesQuery=Ln;exports.useImportDesignMutation=ln;exports.useLazyExportRegistryModelQuery=Ee;exports.useLazyGetBrokerControllerStatusQuery=nt;exports.useLazyGetChildOrgsQuery=It;exports.useLazyGetConnectionByIdQuery=Xt;exports.useLazyGetConnectionControllersConfigQuery=N;exports.useLazyGetConnectionDefinitionQuery=dn;exports.useLazyGetConnectionsQuery=Qt;exports.useLazyGetConsoleCapabilitiesQuery=V;exports.useLazyGetControllerDiagnosticsQuery=ot;exports.useLazyGetControllersDefaultConfigQuery=D;exports.useLazyGetCredentialByIdQuery=mt;exports.useLazyGetDesignsOfWorkspaceQuery=oi;exports.useLazyGetEnvironmentByIdQuery=hn;exports.useLazyGetEnvironmentConnectionsQuery=fn;exports.useLazyGetEnvironmentsOfWorkspaceQuery=ei;exports.useLazyGetEnvironmentsQuery=bn;exports.useLazyGetKubernetesContextQuery=tn;exports.useLazyGetMeshsyncControllerStatusQuery=et;exports.useLazyGetOperatorControllerStatusQuery=Ae;exports.useLazyGetOrgByDomainQuery=kt;exports.useLazyGetOrgPreferencesQuery=wt;exports.useLazyGetOrgQuery=xt;exports.useLazyGetOrgsQuery=ht;exports.useLazyGetPerformanceProfileQuery=Pn;exports.useLazyGetPerformanceProfileResultsQuery=Gn;exports.useLazyGetPerformanceProfilesQuery=On;exports.useLazyGetPerformanceResultsQuery=En;exports.useLazyGetRegistryCategoriesByNameQuery=pe;exports.useLazyGetRegistryCategoriesQuery=de;exports.useLazyGetRegistryComponentsByCategoryAndModelAndNameQuery=Ce;exports.useLazyGetRegistryComponentsByCategoryAndModelQuery=he;exports.useLazyGetRegistryComponentsByCategoryAndNameQuery=Re;exports.useLazyGetRegistryComponentsByCategoryQuery=fe;exports.useLazyGetRegistryComponentsByModelAndNameQuery=q;exports.useLazyGetRegistryComponentsByModelQuery=Z;exports.useLazyGetRegistryComponentsByNameQuery=Oe;exports.useLazyGetRegistryComponentsQuery=Te;exports.useLazyGetRegistryModelsByCategoryAndModelQuery=be;exports.useLazyGetRegistryModelsByCategoryQuery=me;exports.useLazyGetRegistryModelsByNameQuery=Y;exports.useLazyGetRegistryModelsQuery=$;exports.useLazyGetRegistryPoliciesByModelAndNameQuery=ae;exports.useLazyGetRegistryPoliciesByModelQuery=re;exports.useLazyGetRegistryRegistrantsQuery=De;exports.useLazyGetRegistryRelationshipsByModelAndNameQuery=ie;exports.useLazyGetRegistryRelationshipsByModelQuery=te;exports.useLazyGetRegistryRelationshipsQuery=Be;exports.useLazyGetSystemDatabaseQuery=Fe;exports.useLazyGetSystemSyncQuery=Je;exports.useLazyGetSystemVersionQuery=Qe;exports.useLazyGetTeamsOfWorkspaceQuery=Jn;exports.useLazyGetUserCredentialsQuery=gt;exports.useLazyGetUserEmailAddressesQuery=Lt;exports.useLazyGetUserKeysQuery=bt;exports.useLazyGetUserProfileByIdQuery=Wt;exports.useLazyGetUserQuery=Ut;exports.useLazyGetUsersForOrgQuery=Nt;exports.useLazyGetUsersQuery=Vn;exports.useLazyGetViewsOfWorkspaceQuery=gi;exports.useLazyGetWorkspaceByIdQuery=$n;exports.useLazyGetWorkspacesQuery=jn;exports.useLazyListConnectionDefinitionsQuery=sn;exports.useLazyOpenLogConsoleQuery=j;exports.useLazyOpenTerminalConsoleQuery=F;exports.useLazyPingKubernetesQuery=Ye;exports.useLazySearchUsersQuery=Fn;exports.useLazySubscribeControllersStatusQuery=st;exports.useListConnectionDefinitionsQuery=rn;exports.useOpenLogConsoleQuery=L;exports.useOpenTerminalConsoleQuery=U;exports.usePatchOrgPreferencesMutation=Bt;exports.usePerformConnectionActionMutation=At;exports.usePingKubernetesQuery=He;exports.useProcessConnectionRegistrationMutation=$t;exports.useRegisterConnectionDefinitionMutation=an;exports.useRegisterConnectionMutation=Kt;exports.useRegisterRegistryComponentMutation=Ie;exports.useRegisterRegistryEntitiesMutation=Me;exports.useRegisterRegistryRelationshipMutation=Pe;exports.useRemoveConnectionFromEnvironmentMutation=on;exports.useRemoveTeamFromOrgMutation=_t;exports.useResetSystemDatabaseMutation=Le;exports.useSaveUserCredentialMutation=dt;exports.useSearchUsersQuery=Un;exports.useSubscribeControllersStatusQuery=rt;exports.useUnassignDesignFromWorkspaceMutation=si;exports.useUnassignEnvironmentFromWorkspaceMutation=ni;exports.useUnassignTeamFromWorkspaceMutation=An;exports.useUnassignViewFromWorkspaceMutation=ci;exports.useUpdateConnectionControllersConfigMutation=E;exports.useUpdateConnectionDefinitionMutation=cn;exports.useUpdateConnectionMutation=Jt;exports.useUpdateControllersDefaultConfigMutation=M;exports.useUpdateEnvironmentMutation=vn;exports.useUpdateEventStatusMutation=Tn;exports.useUpdateOrgMutation=St;exports.useUpdatePerformanceProfileMutation=_n;exports.useUpdateRegistryEntityStatusMutation=Ve;exports.useUpdateUserCredentialMutation=ct;exports.useUpdateWorkspaceMutation=Hn;exports.useUpsertPerformanceProfileMutation=wn;exports.useValidateRegistryEntitiesMutation=We;
|