@meshery/schemas 1.3.78 → 1.3.80
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 +87 -13
- package/dist/cloudApi.d.ts +87 -13
- package/dist/constructs/v1beta3/event/Event.d.ts +130 -2
- package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
- package/dist/mesheryApi.d.mts +87 -13
- package/dist/mesheryApi.d.ts +87 -13
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
package/dist/mesheryApi.d.mts
CHANGED
|
@@ -105,7 +105,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.
|
|
|
105
105
|
bulkDeleteEvents: _reduxjs_toolkit_query.MutationDefinition<BulkDeleteEventsApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", BulkDeleteEventsApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
106
106
|
bulkUpdateEventStatus: _reduxjs_toolkit_query.MutationDefinition<BulkUpdateEventStatusApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", BulkUpdateEventStatusApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
107
107
|
updateEventStatus: _reduxjs_toolkit_query.MutationDefinition<UpdateEventStatusApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", UpdateEventStatusApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
108
|
-
createEvent: _reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry",
|
|
108
|
+
createEvent: _reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", CreateEventApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
109
109
|
getPerformanceProfiles: _reduxjs_toolkit_query.QueryDefinition<GetPerformanceProfilesApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", GetPerformanceProfilesApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
110
110
|
upsertPerformanceProfile: _reduxjs_toolkit_query.MutationDefinition<UpsertPerformanceProfileApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", UpsertPerformanceProfileApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
111
111
|
getPerformanceProfile: _reduxjs_toolkit_query.QueryDefinition<GetPerformanceProfileApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", GetPerformanceProfileApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
@@ -13020,7 +13020,78 @@ type UpdateEventStatusApiArg = {
|
|
|
13020
13020
|
status: string;
|
|
13021
13021
|
};
|
|
13022
13022
|
};
|
|
13023
|
-
type CreateEventApiResponse =
|
|
13023
|
+
type CreateEventApiResponse =
|
|
13024
|
+
/** status 200 An event with this `idempotencyKey` was already recorded by the same caller; it is returned unchanged and no new event is recorded.
|
|
13025
|
+
*/
|
|
13026
|
+
{
|
|
13027
|
+
/** Event ID. */
|
|
13028
|
+
id: string;
|
|
13029
|
+
/** ID of the entity on which the event was performed. */
|
|
13030
|
+
actedUpon: string;
|
|
13031
|
+
/** Action taken on the resource, for example `import`. */
|
|
13032
|
+
action: string;
|
|
13033
|
+
/** Resource kind the operation was invoked on, for example `pattern`. */
|
|
13034
|
+
category: string;
|
|
13035
|
+
/** Human-readable summary of what happened. */
|
|
13036
|
+
description: string;
|
|
13037
|
+
/** Event-specific details; the structure varies by event kind. `null` when the producer attached none.
|
|
13038
|
+
*/
|
|
13039
|
+
metadata: {
|
|
13040
|
+
[key: string]: any;
|
|
13041
|
+
} | null;
|
|
13042
|
+
/** ID correlating the events one operation emitted. */
|
|
13043
|
+
operationId: string;
|
|
13044
|
+
/** Event level. MeshKit's producers set one of `emergency`, `alert`, `critical`, `error`, `warning`, `informational`, `debug` or `success`. The set is not closed on the wire - the event write APIs persist the value they are given - so consumers must tolerate other values.
|
|
13045
|
+
*/
|
|
13046
|
+
severity: string;
|
|
13047
|
+
/** Read state of the event. MeshKit records new events as `unread`, and acknowledged ones become `read`; the event status APIs persist any value they are given, so consumers must tolerate other values.
|
|
13048
|
+
*/
|
|
13049
|
+
status: string;
|
|
13050
|
+
/** ID of the system instance that emitted the event. */
|
|
13051
|
+
systemId: string;
|
|
13052
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13053
|
+
owner?: string;
|
|
13054
|
+
/** Timestamp when the event was recorded. */
|
|
13055
|
+
createdAt: string;
|
|
13056
|
+
/** Timestamp when the event was last updated. */
|
|
13057
|
+
updatedAt: string;
|
|
13058
|
+
/** Timestamp when the event was soft-deleted; omitted when it was not. */
|
|
13059
|
+
deletedAt?: string | null;
|
|
13060
|
+
} | /** status 201 Event created */ {
|
|
13061
|
+
/** Event ID. */
|
|
13062
|
+
id: string;
|
|
13063
|
+
/** ID of the entity on which the event was performed. */
|
|
13064
|
+
actedUpon: string;
|
|
13065
|
+
/** Action taken on the resource, for example `import`. */
|
|
13066
|
+
action: string;
|
|
13067
|
+
/** Resource kind the operation was invoked on, for example `pattern`. */
|
|
13068
|
+
category: string;
|
|
13069
|
+
/** Human-readable summary of what happened. */
|
|
13070
|
+
description: string;
|
|
13071
|
+
/** Event-specific details; the structure varies by event kind. `null` when the producer attached none.
|
|
13072
|
+
*/
|
|
13073
|
+
metadata: {
|
|
13074
|
+
[key: string]: any;
|
|
13075
|
+
} | null;
|
|
13076
|
+
/** ID correlating the events one operation emitted. */
|
|
13077
|
+
operationId: string;
|
|
13078
|
+
/** Event level. MeshKit's producers set one of `emergency`, `alert`, `critical`, `error`, `warning`, `informational`, `debug` or `success`. The set is not closed on the wire - the event write APIs persist the value they are given - so consumers must tolerate other values.
|
|
13079
|
+
*/
|
|
13080
|
+
severity: string;
|
|
13081
|
+
/** Read state of the event. MeshKit records new events as `unread`, and acknowledged ones become `read`; the event status APIs persist any value they are given, so consumers must tolerate other values.
|
|
13082
|
+
*/
|
|
13083
|
+
status: string;
|
|
13084
|
+
/** ID of the system instance that emitted the event. */
|
|
13085
|
+
systemId: string;
|
|
13086
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13087
|
+
owner?: string;
|
|
13088
|
+
/** Timestamp when the event was recorded. */
|
|
13089
|
+
createdAt: string;
|
|
13090
|
+
/** Timestamp when the event was last updated. */
|
|
13091
|
+
updatedAt: string;
|
|
13092
|
+
/** Timestamp when the event was soft-deleted; omitted when it was not. */
|
|
13093
|
+
deletedAt?: string | null;
|
|
13094
|
+
};
|
|
13024
13095
|
type CreateEventApiArg = {
|
|
13025
13096
|
body: {
|
|
13026
13097
|
/** UUID of the user associated with the event. */
|
|
@@ -13031,6 +13102,9 @@ type CreateEventApiArg = {
|
|
|
13031
13102
|
action?: string;
|
|
13032
13103
|
/** Description of the event. */
|
|
13033
13104
|
description?: string;
|
|
13105
|
+
/** Optional client-chosen key that makes recording this event safe to retry. Keys are scoped to the authenticated caller (organization and user), never to the client-settable `owner` field, so `owner` may be omitted without affecting deduplication. The first event a caller records with a key is kept, and a later create with the same key records nothing and answers 200 with that event, whatever the rest of the payload says. Use a value that names the occurrence, for example a run id, so a client replaying a local queue after a timeout never records a duplicate. Omit it for events that need no deduplication.
|
|
13106
|
+
*/
|
|
13107
|
+
idempotencyKey?: string;
|
|
13034
13108
|
[key: string]: any;
|
|
13035
13109
|
};
|
|
13036
13110
|
};
|
|
@@ -42200,14 +42274,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42200
42274
|
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
42201
42275
|
} & Omit<{
|
|
42202
42276
|
requestId: string;
|
|
42203
|
-
data?:
|
|
42277
|
+
data?: CreateEventApiResponse | undefined;
|
|
42204
42278
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42205
42279
|
endpointName: string;
|
|
42206
42280
|
startedTimeStamp: number;
|
|
42207
42281
|
fulfilledTimeStamp?: number;
|
|
42208
42282
|
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
42209
42283
|
requestId: string;
|
|
42210
|
-
data?:
|
|
42284
|
+
data?: CreateEventApiResponse | undefined;
|
|
42211
42285
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42212
42286
|
endpointName: string;
|
|
42213
42287
|
startedTimeStamp: number;
|
|
@@ -42224,7 +42298,7 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42224
42298
|
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
42225
42299
|
} & {
|
|
42226
42300
|
requestId: string;
|
|
42227
|
-
data?:
|
|
42301
|
+
data?: CreateEventApiResponse | undefined;
|
|
42228
42302
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42229
42303
|
endpointName: string;
|
|
42230
42304
|
startedTimeStamp: number;
|
|
@@ -42241,14 +42315,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42241
42315
|
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
42242
42316
|
} & Omit<{
|
|
42243
42317
|
requestId: string;
|
|
42244
|
-
data?:
|
|
42318
|
+
data?: CreateEventApiResponse | undefined;
|
|
42245
42319
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42246
42320
|
endpointName: string;
|
|
42247
42321
|
startedTimeStamp: number;
|
|
42248
42322
|
fulfilledTimeStamp?: number;
|
|
42249
42323
|
}, "error"> & Required<Pick<{
|
|
42250
42324
|
requestId: string;
|
|
42251
|
-
data?:
|
|
42325
|
+
data?: CreateEventApiResponse | undefined;
|
|
42252
42326
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42253
42327
|
endpointName: string;
|
|
42254
42328
|
startedTimeStamp: number;
|
|
@@ -42278,14 +42352,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42278
42352
|
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
42279
42353
|
} & Omit<{
|
|
42280
42354
|
requestId: string;
|
|
42281
|
-
data?:
|
|
42355
|
+
data?: CreateEventApiResponse | undefined;
|
|
42282
42356
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42283
42357
|
endpointName: string;
|
|
42284
42358
|
startedTimeStamp: number;
|
|
42285
42359
|
fulfilledTimeStamp?: number;
|
|
42286
42360
|
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
42287
42361
|
requestId: string;
|
|
42288
|
-
data?:
|
|
42362
|
+
data?: CreateEventApiResponse | undefined;
|
|
42289
42363
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42290
42364
|
endpointName: string;
|
|
42291
42365
|
startedTimeStamp: number;
|
|
@@ -42302,7 +42376,7 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42302
42376
|
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
42303
42377
|
} & {
|
|
42304
42378
|
requestId: string;
|
|
42305
|
-
data?:
|
|
42379
|
+
data?: CreateEventApiResponse | undefined;
|
|
42306
42380
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42307
42381
|
endpointName: string;
|
|
42308
42382
|
startedTimeStamp: number;
|
|
@@ -42319,14 +42393,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42319
42393
|
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
42320
42394
|
} & Omit<{
|
|
42321
42395
|
requestId: string;
|
|
42322
|
-
data?:
|
|
42396
|
+
data?: CreateEventApiResponse | undefined;
|
|
42323
42397
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42324
42398
|
endpointName: string;
|
|
42325
42399
|
startedTimeStamp: number;
|
|
42326
42400
|
fulfilledTimeStamp?: number;
|
|
42327
42401
|
}, "error"> & Required<Pick<{
|
|
42328
42402
|
requestId: string;
|
|
42329
|
-
data?:
|
|
42403
|
+
data?: CreateEventApiResponse | undefined;
|
|
42330
42404
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42331
42405
|
endpointName: string;
|
|
42332
42406
|
startedTimeStamp: number;
|
|
@@ -42339,7 +42413,7 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42339
42413
|
isError: true;
|
|
42340
42414
|
})) => R) | undefined;
|
|
42341
42415
|
fixedCacheKey?: string;
|
|
42342
|
-
} | undefined) => readonly [(arg: CreateEventApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry",
|
|
42416
|
+
} | undefined) => readonly [(arg: CreateEventApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", CreateEventApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
|
|
42343
42417
|
originalArgs?: CreateEventApiArg | undefined;
|
|
42344
42418
|
reset: () => void;
|
|
42345
42419
|
}];
|
package/dist/mesheryApi.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.
|
|
|
105
105
|
bulkDeleteEvents: _reduxjs_toolkit_query.MutationDefinition<BulkDeleteEventsApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", BulkDeleteEventsApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
106
106
|
bulkUpdateEventStatus: _reduxjs_toolkit_query.MutationDefinition<BulkUpdateEventStatusApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", BulkUpdateEventStatusApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
107
107
|
updateEventStatus: _reduxjs_toolkit_query.MutationDefinition<UpdateEventStatusApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", UpdateEventStatusApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
108
|
-
createEvent: _reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry",
|
|
108
|
+
createEvent: _reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", CreateEventApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
109
109
|
getPerformanceProfiles: _reduxjs_toolkit_query.QueryDefinition<GetPerformanceProfilesApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", GetPerformanceProfilesApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
110
110
|
upsertPerformanceProfile: _reduxjs_toolkit_query.MutationDefinition<UpsertPerformanceProfileApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", UpsertPerformanceProfileApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
111
111
|
getPerformanceProfile: _reduxjs_toolkit_query.QueryDefinition<GetPerformanceProfileApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", GetPerformanceProfileApiResponse, "mesheryRtkSchemasApi", unknown>;
|
|
@@ -13020,7 +13020,78 @@ type UpdateEventStatusApiArg = {
|
|
|
13020
13020
|
status: string;
|
|
13021
13021
|
};
|
|
13022
13022
|
};
|
|
13023
|
-
type CreateEventApiResponse =
|
|
13023
|
+
type CreateEventApiResponse =
|
|
13024
|
+
/** status 200 An event with this `idempotencyKey` was already recorded by the same caller; it is returned unchanged and no new event is recorded.
|
|
13025
|
+
*/
|
|
13026
|
+
{
|
|
13027
|
+
/** Event ID. */
|
|
13028
|
+
id: string;
|
|
13029
|
+
/** ID of the entity on which the event was performed. */
|
|
13030
|
+
actedUpon: string;
|
|
13031
|
+
/** Action taken on the resource, for example `import`. */
|
|
13032
|
+
action: string;
|
|
13033
|
+
/** Resource kind the operation was invoked on, for example `pattern`. */
|
|
13034
|
+
category: string;
|
|
13035
|
+
/** Human-readable summary of what happened. */
|
|
13036
|
+
description: string;
|
|
13037
|
+
/** Event-specific details; the structure varies by event kind. `null` when the producer attached none.
|
|
13038
|
+
*/
|
|
13039
|
+
metadata: {
|
|
13040
|
+
[key: string]: any;
|
|
13041
|
+
} | null;
|
|
13042
|
+
/** ID correlating the events one operation emitted. */
|
|
13043
|
+
operationId: string;
|
|
13044
|
+
/** Event level. MeshKit's producers set one of `emergency`, `alert`, `critical`, `error`, `warning`, `informational`, `debug` or `success`. The set is not closed on the wire - the event write APIs persist the value they are given - so consumers must tolerate other values.
|
|
13045
|
+
*/
|
|
13046
|
+
severity: string;
|
|
13047
|
+
/** Read state of the event. MeshKit records new events as `unread`, and acknowledged ones become `read`; the event status APIs persist any value they are given, so consumers must tolerate other values.
|
|
13048
|
+
*/
|
|
13049
|
+
status: string;
|
|
13050
|
+
/** ID of the system instance that emitted the event. */
|
|
13051
|
+
systemId: string;
|
|
13052
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13053
|
+
owner?: string;
|
|
13054
|
+
/** Timestamp when the event was recorded. */
|
|
13055
|
+
createdAt: string;
|
|
13056
|
+
/** Timestamp when the event was last updated. */
|
|
13057
|
+
updatedAt: string;
|
|
13058
|
+
/** Timestamp when the event was soft-deleted; omitted when it was not. */
|
|
13059
|
+
deletedAt?: string | null;
|
|
13060
|
+
} | /** status 201 Event created */ {
|
|
13061
|
+
/** Event ID. */
|
|
13062
|
+
id: string;
|
|
13063
|
+
/** ID of the entity on which the event was performed. */
|
|
13064
|
+
actedUpon: string;
|
|
13065
|
+
/** Action taken on the resource, for example `import`. */
|
|
13066
|
+
action: string;
|
|
13067
|
+
/** Resource kind the operation was invoked on, for example `pattern`. */
|
|
13068
|
+
category: string;
|
|
13069
|
+
/** Human-readable summary of what happened. */
|
|
13070
|
+
description: string;
|
|
13071
|
+
/** Event-specific details; the structure varies by event kind. `null` when the producer attached none.
|
|
13072
|
+
*/
|
|
13073
|
+
metadata: {
|
|
13074
|
+
[key: string]: any;
|
|
13075
|
+
} | null;
|
|
13076
|
+
/** ID correlating the events one operation emitted. */
|
|
13077
|
+
operationId: string;
|
|
13078
|
+
/** Event level. MeshKit's producers set one of `emergency`, `alert`, `critical`, `error`, `warning`, `informational`, `debug` or `success`. The set is not closed on the wire - the event write APIs persist the value they are given - so consumers must tolerate other values.
|
|
13079
|
+
*/
|
|
13080
|
+
severity: string;
|
|
13081
|
+
/** Read state of the event. MeshKit records new events as `unread`, and acknowledged ones become `read`; the event status APIs persist any value they are given, so consumers must tolerate other values.
|
|
13082
|
+
*/
|
|
13083
|
+
status: string;
|
|
13084
|
+
/** ID of the system instance that emitted the event. */
|
|
13085
|
+
systemId: string;
|
|
13086
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
13087
|
+
owner?: string;
|
|
13088
|
+
/** Timestamp when the event was recorded. */
|
|
13089
|
+
createdAt: string;
|
|
13090
|
+
/** Timestamp when the event was last updated. */
|
|
13091
|
+
updatedAt: string;
|
|
13092
|
+
/** Timestamp when the event was soft-deleted; omitted when it was not. */
|
|
13093
|
+
deletedAt?: string | null;
|
|
13094
|
+
};
|
|
13024
13095
|
type CreateEventApiArg = {
|
|
13025
13096
|
body: {
|
|
13026
13097
|
/** UUID of the user associated with the event. */
|
|
@@ -13031,6 +13102,9 @@ type CreateEventApiArg = {
|
|
|
13031
13102
|
action?: string;
|
|
13032
13103
|
/** Description of the event. */
|
|
13033
13104
|
description?: string;
|
|
13105
|
+
/** Optional client-chosen key that makes recording this event safe to retry. Keys are scoped to the authenticated caller (organization and user), never to the client-settable `owner` field, so `owner` may be omitted without affecting deduplication. The first event a caller records with a key is kept, and a later create with the same key records nothing and answers 200 with that event, whatever the rest of the payload says. Use a value that names the occurrence, for example a run id, so a client replaying a local queue after a timeout never records a duplicate. Omit it for events that need no deduplication.
|
|
13106
|
+
*/
|
|
13107
|
+
idempotencyKey?: string;
|
|
13034
13108
|
[key: string]: any;
|
|
13035
13109
|
};
|
|
13036
13110
|
};
|
|
@@ -42200,14 +42274,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42200
42274
|
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
42201
42275
|
} & Omit<{
|
|
42202
42276
|
requestId: string;
|
|
42203
|
-
data?:
|
|
42277
|
+
data?: CreateEventApiResponse | undefined;
|
|
42204
42278
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42205
42279
|
endpointName: string;
|
|
42206
42280
|
startedTimeStamp: number;
|
|
42207
42281
|
fulfilledTimeStamp?: number;
|
|
42208
42282
|
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
42209
42283
|
requestId: string;
|
|
42210
|
-
data?:
|
|
42284
|
+
data?: CreateEventApiResponse | undefined;
|
|
42211
42285
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42212
42286
|
endpointName: string;
|
|
42213
42287
|
startedTimeStamp: number;
|
|
@@ -42224,7 +42298,7 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42224
42298
|
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
42225
42299
|
} & {
|
|
42226
42300
|
requestId: string;
|
|
42227
|
-
data?:
|
|
42301
|
+
data?: CreateEventApiResponse | undefined;
|
|
42228
42302
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42229
42303
|
endpointName: string;
|
|
42230
42304
|
startedTimeStamp: number;
|
|
@@ -42241,14 +42315,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42241
42315
|
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
42242
42316
|
} & Omit<{
|
|
42243
42317
|
requestId: string;
|
|
42244
|
-
data?:
|
|
42318
|
+
data?: CreateEventApiResponse | undefined;
|
|
42245
42319
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42246
42320
|
endpointName: string;
|
|
42247
42321
|
startedTimeStamp: number;
|
|
42248
42322
|
fulfilledTimeStamp?: number;
|
|
42249
42323
|
}, "error"> & Required<Pick<{
|
|
42250
42324
|
requestId: string;
|
|
42251
|
-
data?:
|
|
42325
|
+
data?: CreateEventApiResponse | undefined;
|
|
42252
42326
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42253
42327
|
endpointName: string;
|
|
42254
42328
|
startedTimeStamp: number;
|
|
@@ -42278,14 +42352,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42278
42352
|
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
42279
42353
|
} & Omit<{
|
|
42280
42354
|
requestId: string;
|
|
42281
|
-
data?:
|
|
42355
|
+
data?: CreateEventApiResponse | undefined;
|
|
42282
42356
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42283
42357
|
endpointName: string;
|
|
42284
42358
|
startedTimeStamp: number;
|
|
42285
42359
|
fulfilledTimeStamp?: number;
|
|
42286
42360
|
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
42287
42361
|
requestId: string;
|
|
42288
|
-
data?:
|
|
42362
|
+
data?: CreateEventApiResponse | undefined;
|
|
42289
42363
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42290
42364
|
endpointName: string;
|
|
42291
42365
|
startedTimeStamp: number;
|
|
@@ -42302,7 +42376,7 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42302
42376
|
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
42303
42377
|
} & {
|
|
42304
42378
|
requestId: string;
|
|
42305
|
-
data?:
|
|
42379
|
+
data?: CreateEventApiResponse | undefined;
|
|
42306
42380
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42307
42381
|
endpointName: string;
|
|
42308
42382
|
startedTimeStamp: number;
|
|
@@ -42319,14 +42393,14 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42319
42393
|
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
42320
42394
|
} & Omit<{
|
|
42321
42395
|
requestId: string;
|
|
42322
|
-
data?:
|
|
42396
|
+
data?: CreateEventApiResponse | undefined;
|
|
42323
42397
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42324
42398
|
endpointName: string;
|
|
42325
42399
|
startedTimeStamp: number;
|
|
42326
42400
|
fulfilledTimeStamp?: number;
|
|
42327
42401
|
}, "error"> & Required<Pick<{
|
|
42328
42402
|
requestId: string;
|
|
42329
|
-
data?:
|
|
42403
|
+
data?: CreateEventApiResponse | undefined;
|
|
42330
42404
|
error?: MeshkitFetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
|
|
42331
42405
|
endpointName: string;
|
|
42332
42406
|
startedTimeStamp: number;
|
|
@@ -42339,7 +42413,7 @@ declare const useCreateEventMutation: <R extends Record<string, any> = ({
|
|
|
42339
42413
|
isError: true;
|
|
42340
42414
|
})) => R) | undefined;
|
|
42341
42415
|
fixedCacheKey?: string;
|
|
42342
|
-
} | undefined) => readonly [(arg: CreateEventApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry",
|
|
42416
|
+
} | undefined) => readonly [(arg: CreateEventApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEventApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, MeshkitFetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "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" | "Meshery_Controllers_Configuration_controllers" | "Console_API_Console" | "Evaluation_Evaluation" | "Registry_Registry", CreateEventApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
|
|
42343
42417
|
originalArgs?: CreateEventApiArg | undefined;
|
|
42344
42418
|
reset: () => void;
|
|
42345
42419
|
}];
|