@burdenoff/microfe-stewards 2026.1201.2 → 2026.1201.3
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/dev/liveDeskMocks.d.ts +2 -0
- package/dist/dev/shellGateway.d.ts +9 -0
- package/dist/dev/shellPermissions.d.ts +9 -0
- package/dist/generated/global-types.d.ts +398 -7
- package/dist/generated/wspace-operations.d.ts +183 -0
- package/dist/generated/wspace-operations.js +107 -39
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +1789 -15
- package/dist/generated/wspace-types.js +7 -5
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/stewards/components/ControlBanner.d.ts +7 -0
- package/dist/stewards/components/ControlBanner.js +21 -0
- package/dist/stewards/components/ControlBanner.js.map +1 -0
- package/dist/stewards/components/LiveDeskPanel.d.ts +17 -0
- package/dist/stewards/components/LiveDeskPanel.js +120 -0
- package/dist/stewards/components/LiveDeskPanel.js.map +1 -0
- package/dist/stewards/i18n/en.d.ts +46 -0
- package/dist/stewards/i18n/en.js +46 -0
- package/dist/stewards/i18n/en.js.map +1 -1
- package/dist/stewards/live/DeskCanvas.d.ts +20 -0
- package/dist/stewards/live/DeskCanvas.js +95 -0
- package/dist/stewards/live/DeskCanvas.js.map +1 -0
- package/dist/stewards/live/DeskStreamConnection.d.ts +123 -0
- package/dist/stewards/live/DeskStreamConnection.js +239 -0
- package/dist/stewards/live/DeskStreamConnection.js.map +1 -0
- package/dist/stewards/live/backoff.d.ts +2 -0
- package/dist/stewards/live/backoff.js +8 -0
- package/dist/stewards/live/backoff.js.map +1 -0
- package/dist/stewards/live/browserConnection.d.ts +20 -0
- package/dist/stewards/live/browserConnection.js +40 -0
- package/dist/stewards/live/browserConnection.js.map +1 -0
- package/dist/stewards/live/describeStream.d.ts +15 -0
- package/dist/stewards/live/describeStream.js +78 -0
- package/dist/stewards/live/describeStream.js.map +1 -0
- package/dist/stewards/live/mintPass.d.ts +9 -0
- package/dist/stewards/live/mintPass.js +59 -0
- package/dist/stewards/live/mintPass.js.map +1 -0
- package/dist/stewards/live/protocol.d.ts +81 -0
- package/dist/stewards/live/protocol.js +88 -0
- package/dist/stewards/live/protocol.js.map +1 -0
- package/dist/stewards/live/useDeskStream.d.ts +17 -0
- package/dist/stewards/live/useDeskStream.js +25 -0
- package/dist/stewards/live/useDeskStream.js.map +1 -0
- package/dist/stewards/pages/StewardRunPage.js +26 -20
- package/dist/stewards/pages/StewardRunPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -60,12 +60,19 @@ export type BotmanorStewardDeskEgressMode =
|
|
|
60
60
|
| 'BLOCKED'
|
|
61
61
|
/** Any public site. */
|
|
62
62
|
| 'PUBLIC';
|
|
63
|
+
/** Who holds the desk. */
|
|
64
|
+
export type BotmanorStewardDeskHolder = 'PERSON' | 'STEWARD';
|
|
63
65
|
export type BotmanorStewardDeskKind = 'BROWSER' | 'CLOUD' | 'NONE' | 'OWN_MACHINE';
|
|
64
66
|
export type BotmanorStewardFilterInput = {
|
|
65
67
|
autonomyLevel?: BotmanorStewardAutonomy | null | undefined;
|
|
66
68
|
ownerActorId?: string | number | null | undefined;
|
|
67
69
|
status?: BotmanorStewardStatus | null | undefined;
|
|
68
70
|
};
|
|
71
|
+
export type BotmanorStewardLiveViewMode =
|
|
72
|
+
/** Type and click. Needs a takeover: the caller must hold the run. */
|
|
73
|
+
'CONTROL'
|
|
74
|
+
/** Watch only. The relay refuses any input. */
|
|
75
|
+
| 'VIEW';
|
|
69
76
|
export type BotmanorStewardRunFilterInput = {
|
|
70
77
|
from?: string | null | undefined;
|
|
71
78
|
status?: BotmanorStewardRunStatus | null | undefined;
|
|
@@ -408,6 +415,30 @@ export type CreateBotmanorStewardMutation = {
|
|
|
408
415
|
} | null;
|
|
409
416
|
};
|
|
410
417
|
};
|
|
418
|
+
export type CreateBotmanorStewardDeskControlMutationVariables = Exact<{
|
|
419
|
+
runId: string | number;
|
|
420
|
+
}>;
|
|
421
|
+
export type CreateBotmanorStewardDeskControlMutation = {
|
|
422
|
+
createBotmanorStewardDeskControl: {
|
|
423
|
+
token: string;
|
|
424
|
+
relayPath: string;
|
|
425
|
+
mode: Types.BotmanorStewardLiveViewMode;
|
|
426
|
+
expiresAt: string;
|
|
427
|
+
heldBy: Types.BotmanorStewardDeskHolder;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
export type CreateBotmanorStewardLiveViewMutationVariables = Exact<{
|
|
431
|
+
runId: string | number;
|
|
432
|
+
}>;
|
|
433
|
+
export type CreateBotmanorStewardLiveViewMutation = {
|
|
434
|
+
createBotmanorStewardLiveView: {
|
|
435
|
+
token: string;
|
|
436
|
+
relayPath: string;
|
|
437
|
+
mode: Types.BotmanorStewardLiveViewMode;
|
|
438
|
+
expiresAt: string;
|
|
439
|
+
heldBy: Types.BotmanorStewardDeskHolder;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
411
442
|
export type StewardBudgetFieldsFragment = {
|
|
412
443
|
credits: number | null;
|
|
413
444
|
deskMinutes: number | null;
|
|
@@ -743,6 +774,16 @@ export type GetBotmanorStewardRunQuery = {
|
|
|
743
774
|
} | null;
|
|
744
775
|
} | null;
|
|
745
776
|
};
|
|
777
|
+
export type GetBotmanorStewardRunTakeoverQueryVariables = Exact<{
|
|
778
|
+
id: string | number;
|
|
779
|
+
}>;
|
|
780
|
+
export type GetBotmanorStewardRunTakeoverQuery = {
|
|
781
|
+
getBotmanorStewardRun: {
|
|
782
|
+
id: string;
|
|
783
|
+
status: Types.BotmanorStewardRunStatus;
|
|
784
|
+
takenOverBy: string | null;
|
|
785
|
+
} | null;
|
|
786
|
+
};
|
|
746
787
|
export type GetStewardStepScreenshotUrlQueryVariables = Exact<{
|
|
747
788
|
id: string | number;
|
|
748
789
|
expiresIn?: number | null | undefined;
|
|
@@ -750,6 +791,16 @@ export type GetStewardStepScreenshotUrlQueryVariables = Exact<{
|
|
|
750
791
|
export type GetStewardStepScreenshotUrlQuery = {
|
|
751
792
|
getFileDownloadUrl: string;
|
|
752
793
|
};
|
|
794
|
+
export type HandBackBotmanorStewardRunMutationVariables = Exact<{
|
|
795
|
+
id: string | number;
|
|
796
|
+
}>;
|
|
797
|
+
export type HandBackBotmanorStewardRunMutation = {
|
|
798
|
+
handBackBotmanorStewardRun: {
|
|
799
|
+
id: string;
|
|
800
|
+
status: Types.BotmanorStewardRunStatus;
|
|
801
|
+
takenOverBy: string | null;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
753
804
|
export type ListBotmanorStewardRunsQueryVariables = Exact<{
|
|
754
805
|
filter?: Types.BotmanorStewardRunFilterInput | null | undefined;
|
|
755
806
|
pagination?: Types.PaginationInput | null | undefined;
|
|
@@ -963,6 +1014,16 @@ export type BotmanorStewardWorkspaceControlsQuery = {
|
|
|
963
1014
|
allowedDeskEgressModes: Array<Types.BotmanorStewardDeskEgressMode>;
|
|
964
1015
|
};
|
|
965
1016
|
};
|
|
1017
|
+
export type TakeOverBotmanorStewardRunMutationVariables = Exact<{
|
|
1018
|
+
id: string | number;
|
|
1019
|
+
}>;
|
|
1020
|
+
export type TakeOverBotmanorStewardRunMutation = {
|
|
1021
|
+
takeOverBotmanorStewardRun: {
|
|
1022
|
+
id: string;
|
|
1023
|
+
status: Types.BotmanorStewardRunStatus;
|
|
1024
|
+
takenOverBy: string | null;
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
966
1027
|
export type UpdateBotmanorStewardCharterMutationVariables = Exact<{
|
|
967
1028
|
id: string | number;
|
|
968
1029
|
input: Types.UpdateBotmanorStewardCharterInput;
|
|
@@ -1137,6 +1198,52 @@ export declare function useCreateBotmanorStewardMutation(baseOptions?: ApolloRea
|
|
|
1137
1198
|
export type CreateBotmanorStewardMutationHookResult = ReturnType<typeof useCreateBotmanorStewardMutation>;
|
|
1138
1199
|
export type CreateBotmanorStewardMutationResult = Apollo.MutationResult<Types.CreateBotmanorStewardMutation>;
|
|
1139
1200
|
export type CreateBotmanorStewardMutationOptions = Apollo.BaseMutationOptions<Types.CreateBotmanorStewardMutation, Types.CreateBotmanorStewardMutationVariables>;
|
|
1201
|
+
export declare const CreateBotmanorStewardDeskControlDocument: Apollo.DocumentNode;
|
|
1202
|
+
export type CreateBotmanorStewardDeskControlMutationFn = Apollo.MutationFunction<Types.CreateBotmanorStewardDeskControlMutation, Types.CreateBotmanorStewardDeskControlMutationVariables>;
|
|
1203
|
+
/**
|
|
1204
|
+
* __useCreateBotmanorStewardDeskControlMutation__
|
|
1205
|
+
*
|
|
1206
|
+
* To run a mutation, you first call `useCreateBotmanorStewardDeskControlMutation` within a React component and pass it any options that fit your needs.
|
|
1207
|
+
* When your component renders, `useCreateBotmanorStewardDeskControlMutation` returns a tuple that includes:
|
|
1208
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1209
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1210
|
+
*
|
|
1211
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1212
|
+
*
|
|
1213
|
+
* @example
|
|
1214
|
+
* const [createBotmanorStewardDeskControlMutation, { data, loading, error }] = useCreateBotmanorStewardDeskControlMutation({
|
|
1215
|
+
* variables: {
|
|
1216
|
+
* runId: // value for 'runId'
|
|
1217
|
+
* },
|
|
1218
|
+
* });
|
|
1219
|
+
*/
|
|
1220
|
+
export declare function useCreateBotmanorStewardDeskControlMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateBotmanorStewardDeskControlMutation, Types.CreateBotmanorStewardDeskControlMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateBotmanorStewardDeskControlMutation, any, Apollo.ApolloCache, undefined>;
|
|
1221
|
+
export type CreateBotmanorStewardDeskControlMutationHookResult = ReturnType<typeof useCreateBotmanorStewardDeskControlMutation>;
|
|
1222
|
+
export type CreateBotmanorStewardDeskControlMutationResult = Apollo.MutationResult<Types.CreateBotmanorStewardDeskControlMutation>;
|
|
1223
|
+
export type CreateBotmanorStewardDeskControlMutationOptions = Apollo.BaseMutationOptions<Types.CreateBotmanorStewardDeskControlMutation, Types.CreateBotmanorStewardDeskControlMutationVariables>;
|
|
1224
|
+
export declare const CreateBotmanorStewardLiveViewDocument: Apollo.DocumentNode;
|
|
1225
|
+
export type CreateBotmanorStewardLiveViewMutationFn = Apollo.MutationFunction<Types.CreateBotmanorStewardLiveViewMutation, Types.CreateBotmanorStewardLiveViewMutationVariables>;
|
|
1226
|
+
/**
|
|
1227
|
+
* __useCreateBotmanorStewardLiveViewMutation__
|
|
1228
|
+
*
|
|
1229
|
+
* To run a mutation, you first call `useCreateBotmanorStewardLiveViewMutation` within a React component and pass it any options that fit your needs.
|
|
1230
|
+
* When your component renders, `useCreateBotmanorStewardLiveViewMutation` returns a tuple that includes:
|
|
1231
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1232
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1233
|
+
*
|
|
1234
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1235
|
+
*
|
|
1236
|
+
* @example
|
|
1237
|
+
* const [createBotmanorStewardLiveViewMutation, { data, loading, error }] = useCreateBotmanorStewardLiveViewMutation({
|
|
1238
|
+
* variables: {
|
|
1239
|
+
* runId: // value for 'runId'
|
|
1240
|
+
* },
|
|
1241
|
+
* });
|
|
1242
|
+
*/
|
|
1243
|
+
export declare function useCreateBotmanorStewardLiveViewMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateBotmanorStewardLiveViewMutation, Types.CreateBotmanorStewardLiveViewMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateBotmanorStewardLiveViewMutation, any, Apollo.ApolloCache, undefined>;
|
|
1244
|
+
export type CreateBotmanorStewardLiveViewMutationHookResult = ReturnType<typeof useCreateBotmanorStewardLiveViewMutation>;
|
|
1245
|
+
export type CreateBotmanorStewardLiveViewMutationResult = Apollo.MutationResult<Types.CreateBotmanorStewardLiveViewMutation>;
|
|
1246
|
+
export type CreateBotmanorStewardLiveViewMutationOptions = Apollo.BaseMutationOptions<Types.CreateBotmanorStewardLiveViewMutation, Types.CreateBotmanorStewardLiveViewMutationVariables>;
|
|
1140
1247
|
export declare const GetBotmanorStewardDocument: Apollo.DocumentNode;
|
|
1141
1248
|
/**
|
|
1142
1249
|
* __useGetBotmanorStewardQuery__
|
|
@@ -1197,6 +1304,36 @@ export type GetBotmanorStewardRunQueryHookResult = ReturnType<typeof useGetBotma
|
|
|
1197
1304
|
export type GetBotmanorStewardRunLazyQueryHookResult = ReturnType<typeof useGetBotmanorStewardRunLazyQuery>;
|
|
1198
1305
|
export type GetBotmanorStewardRunSuspenseQueryHookResult = ReturnType<typeof useGetBotmanorStewardRunSuspenseQuery>;
|
|
1199
1306
|
export type GetBotmanorStewardRunQueryResult = Apollo.QueryResult<Types.GetBotmanorStewardRunQuery, Types.GetBotmanorStewardRunQueryVariables>;
|
|
1307
|
+
export declare const GetBotmanorStewardRunTakeoverDocument: Apollo.DocumentNode;
|
|
1308
|
+
/**
|
|
1309
|
+
* __useGetBotmanorStewardRunTakeoverQuery__
|
|
1310
|
+
*
|
|
1311
|
+
* To run a query within a React component, call `useGetBotmanorStewardRunTakeoverQuery` and pass it any options that fit your needs.
|
|
1312
|
+
* When your component renders, `useGetBotmanorStewardRunTakeoverQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1313
|
+
* you can use to render your UI.
|
|
1314
|
+
*
|
|
1315
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1316
|
+
*
|
|
1317
|
+
* @example
|
|
1318
|
+
* const { data, loading, error } = useGetBotmanorStewardRunTakeoverQuery({
|
|
1319
|
+
* variables: {
|
|
1320
|
+
* id: // value for 'id'
|
|
1321
|
+
* },
|
|
1322
|
+
* });
|
|
1323
|
+
*/
|
|
1324
|
+
export declare function useGetBotmanorStewardRunTakeoverQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables> & ({
|
|
1325
|
+
variables: Types.GetBotmanorStewardRunTakeoverQueryVariables;
|
|
1326
|
+
skip?: boolean;
|
|
1327
|
+
} | {
|
|
1328
|
+
skip: boolean;
|
|
1329
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables, "empty" | "complete" | "streaming", Types.GetBotmanorStewardRunTakeoverQueryVariables, undefined>;
|
|
1330
|
+
export declare function useGetBotmanorStewardRunTakeoverLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
1331
|
+
export declare function useGetBotmanorStewardRunTakeoverSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables>;
|
|
1332
|
+
export declare function useGetBotmanorStewardRunTakeoverSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetBotmanorStewardRunTakeoverQuery | undefined, Types.GetBotmanorStewardRunTakeoverQueryVariables>;
|
|
1333
|
+
export type GetBotmanorStewardRunTakeoverQueryHookResult = ReturnType<typeof useGetBotmanorStewardRunTakeoverQuery>;
|
|
1334
|
+
export type GetBotmanorStewardRunTakeoverLazyQueryHookResult = ReturnType<typeof useGetBotmanorStewardRunTakeoverLazyQuery>;
|
|
1335
|
+
export type GetBotmanorStewardRunTakeoverSuspenseQueryHookResult = ReturnType<typeof useGetBotmanorStewardRunTakeoverSuspenseQuery>;
|
|
1336
|
+
export type GetBotmanorStewardRunTakeoverQueryResult = Apollo.QueryResult<Types.GetBotmanorStewardRunTakeoverQuery, Types.GetBotmanorStewardRunTakeoverQueryVariables>;
|
|
1200
1337
|
export declare const GetStewardStepScreenshotUrlDocument: Apollo.DocumentNode;
|
|
1201
1338
|
/**
|
|
1202
1339
|
* __useGetStewardStepScreenshotUrlQuery__
|
|
@@ -1228,6 +1365,29 @@ export type GetStewardStepScreenshotUrlQueryHookResult = ReturnType<typeof useGe
|
|
|
1228
1365
|
export type GetStewardStepScreenshotUrlLazyQueryHookResult = ReturnType<typeof useGetStewardStepScreenshotUrlLazyQuery>;
|
|
1229
1366
|
export type GetStewardStepScreenshotUrlSuspenseQueryHookResult = ReturnType<typeof useGetStewardStepScreenshotUrlSuspenseQuery>;
|
|
1230
1367
|
export type GetStewardStepScreenshotUrlQueryResult = Apollo.QueryResult<Types.GetStewardStepScreenshotUrlQuery, Types.GetStewardStepScreenshotUrlQueryVariables>;
|
|
1368
|
+
export declare const HandBackBotmanorStewardRunDocument: Apollo.DocumentNode;
|
|
1369
|
+
export type HandBackBotmanorStewardRunMutationFn = Apollo.MutationFunction<Types.HandBackBotmanorStewardRunMutation, Types.HandBackBotmanorStewardRunMutationVariables>;
|
|
1370
|
+
/**
|
|
1371
|
+
* __useHandBackBotmanorStewardRunMutation__
|
|
1372
|
+
*
|
|
1373
|
+
* To run a mutation, you first call `useHandBackBotmanorStewardRunMutation` within a React component and pass it any options that fit your needs.
|
|
1374
|
+
* When your component renders, `useHandBackBotmanorStewardRunMutation` returns a tuple that includes:
|
|
1375
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1376
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1377
|
+
*
|
|
1378
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1379
|
+
*
|
|
1380
|
+
* @example
|
|
1381
|
+
* const [handBackBotmanorStewardRunMutation, { data, loading, error }] = useHandBackBotmanorStewardRunMutation({
|
|
1382
|
+
* variables: {
|
|
1383
|
+
* id: // value for 'id'
|
|
1384
|
+
* },
|
|
1385
|
+
* });
|
|
1386
|
+
*/
|
|
1387
|
+
export declare function useHandBackBotmanorStewardRunMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.HandBackBotmanorStewardRunMutation, Types.HandBackBotmanorStewardRunMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.HandBackBotmanorStewardRunMutation, any, Apollo.ApolloCache, undefined>;
|
|
1388
|
+
export type HandBackBotmanorStewardRunMutationHookResult = ReturnType<typeof useHandBackBotmanorStewardRunMutation>;
|
|
1389
|
+
export type HandBackBotmanorStewardRunMutationResult = Apollo.MutationResult<Types.HandBackBotmanorStewardRunMutation>;
|
|
1390
|
+
export type HandBackBotmanorStewardRunMutationOptions = Apollo.BaseMutationOptions<Types.HandBackBotmanorStewardRunMutation, Types.HandBackBotmanorStewardRunMutationVariables>;
|
|
1231
1391
|
export declare const ListBotmanorStewardRunsDocument: Apollo.DocumentNode;
|
|
1232
1392
|
/**
|
|
1233
1393
|
* __useListBotmanorStewardRunsQuery__
|
|
@@ -1452,6 +1612,29 @@ export type BotmanorStewardWorkspaceControlsQueryHookResult = ReturnType<typeof
|
|
|
1452
1612
|
export type BotmanorStewardWorkspaceControlsLazyQueryHookResult = ReturnType<typeof useBotmanorStewardWorkspaceControlsLazyQuery>;
|
|
1453
1613
|
export type BotmanorStewardWorkspaceControlsSuspenseQueryHookResult = ReturnType<typeof useBotmanorStewardWorkspaceControlsSuspenseQuery>;
|
|
1454
1614
|
export type BotmanorStewardWorkspaceControlsQueryResult = Apollo.QueryResult<Types.BotmanorStewardWorkspaceControlsQuery, Types.BotmanorStewardWorkspaceControlsQueryVariables>;
|
|
1615
|
+
export declare const TakeOverBotmanorStewardRunDocument: Apollo.DocumentNode;
|
|
1616
|
+
export type TakeOverBotmanorStewardRunMutationFn = Apollo.MutationFunction<Types.TakeOverBotmanorStewardRunMutation, Types.TakeOverBotmanorStewardRunMutationVariables>;
|
|
1617
|
+
/**
|
|
1618
|
+
* __useTakeOverBotmanorStewardRunMutation__
|
|
1619
|
+
*
|
|
1620
|
+
* To run a mutation, you first call `useTakeOverBotmanorStewardRunMutation` within a React component and pass it any options that fit your needs.
|
|
1621
|
+
* When your component renders, `useTakeOverBotmanorStewardRunMutation` returns a tuple that includes:
|
|
1622
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1623
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1624
|
+
*
|
|
1625
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1626
|
+
*
|
|
1627
|
+
* @example
|
|
1628
|
+
* const [takeOverBotmanorStewardRunMutation, { data, loading, error }] = useTakeOverBotmanorStewardRunMutation({
|
|
1629
|
+
* variables: {
|
|
1630
|
+
* id: // value for 'id'
|
|
1631
|
+
* },
|
|
1632
|
+
* });
|
|
1633
|
+
*/
|
|
1634
|
+
export declare function useTakeOverBotmanorStewardRunMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.TakeOverBotmanorStewardRunMutation, Types.TakeOverBotmanorStewardRunMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.TakeOverBotmanorStewardRunMutation, any, Apollo.ApolloCache, undefined>;
|
|
1635
|
+
export type TakeOverBotmanorStewardRunMutationHookResult = ReturnType<typeof useTakeOverBotmanorStewardRunMutation>;
|
|
1636
|
+
export type TakeOverBotmanorStewardRunMutationResult = Apollo.MutationResult<Types.TakeOverBotmanorStewardRunMutation>;
|
|
1637
|
+
export type TakeOverBotmanorStewardRunMutationOptions = Apollo.BaseMutationOptions<Types.TakeOverBotmanorStewardRunMutation, Types.TakeOverBotmanorStewardRunMutationVariables>;
|
|
1455
1638
|
export declare const UpdateBotmanorStewardCharterDocument: Apollo.DocumentNode;
|
|
1456
1639
|
export type UpdateBotmanorStewardCharterMutationFn = Apollo.MutationFunction<Types.UpdateBotmanorStewardCharterMutation, Types.UpdateBotmanorStewardCharterMutationVariables>;
|
|
1457
1640
|
/**
|
|
@@ -202,6 +202,26 @@ function g(e) {
|
|
|
202
202
|
return t.useMutation(h, r);
|
|
203
203
|
}
|
|
204
204
|
var _ = e`
|
|
205
|
+
mutation CreateBotmanorStewardDeskControl($runId: ID!) {
|
|
206
|
+
createBotmanorStewardDeskControl(runId: $runId) {
|
|
207
|
+
token
|
|
208
|
+
relayPath
|
|
209
|
+
mode
|
|
210
|
+
expiresAt
|
|
211
|
+
heldBy
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
`, v = e`
|
|
215
|
+
mutation CreateBotmanorStewardLiveView($runId: ID!) {
|
|
216
|
+
createBotmanorStewardLiveView(runId: $runId) {
|
|
217
|
+
token
|
|
218
|
+
relayPath
|
|
219
|
+
mode
|
|
220
|
+
expiresAt
|
|
221
|
+
heldBy
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
`, y = e`
|
|
205
225
|
query GetBotmanorSteward($id: ID!) {
|
|
206
226
|
getBotmanorSteward(id: $id) {
|
|
207
227
|
...StewardDetailFields
|
|
@@ -210,14 +230,14 @@ var _ = e`
|
|
|
210
230
|
${a}
|
|
211
231
|
${i}
|
|
212
232
|
${r}`;
|
|
213
|
-
function
|
|
233
|
+
function b(e) {
|
|
214
234
|
let r = {
|
|
215
235
|
...n,
|
|
216
236
|
...e
|
|
217
237
|
};
|
|
218
|
-
return t.useQuery(
|
|
238
|
+
return t.useQuery(y, r);
|
|
219
239
|
}
|
|
220
|
-
var
|
|
240
|
+
var x = e`
|
|
221
241
|
query GetBotmanorStewardRun($id: ID!) {
|
|
222
242
|
getBotmanorStewardRun(id: $id) {
|
|
223
243
|
...StewardRunDetailFields
|
|
@@ -227,26 +247,58 @@ var y = e`
|
|
|
227
247
|
${o}
|
|
228
248
|
${r}
|
|
229
249
|
${s}`;
|
|
230
|
-
function
|
|
250
|
+
function S(e) {
|
|
231
251
|
let r = {
|
|
232
252
|
...n,
|
|
233
253
|
...e
|
|
234
254
|
};
|
|
235
|
-
return t.useQuery(
|
|
255
|
+
return t.useQuery(x, r);
|
|
236
256
|
}
|
|
237
|
-
var
|
|
257
|
+
var C = e`
|
|
258
|
+
query GetBotmanorStewardRunTakeover($id: ID!) {
|
|
259
|
+
getBotmanorStewardRun(id: $id) {
|
|
260
|
+
id
|
|
261
|
+
status
|
|
262
|
+
takenOverBy
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
`;
|
|
266
|
+
function w(e) {
|
|
267
|
+
let r = {
|
|
268
|
+
...n,
|
|
269
|
+
...e
|
|
270
|
+
};
|
|
271
|
+
return t.useQuery(C, r);
|
|
272
|
+
}
|
|
273
|
+
var T = e`
|
|
238
274
|
query GetStewardStepScreenshotUrl($id: ID!, $expiresIn: Int) {
|
|
239
275
|
getFileDownloadUrl(id: $id, expiresIn: $expiresIn)
|
|
240
276
|
}
|
|
241
277
|
`;
|
|
242
|
-
function
|
|
278
|
+
function E(e) {
|
|
243
279
|
let r = {
|
|
244
280
|
...n,
|
|
245
281
|
...e
|
|
246
282
|
};
|
|
247
|
-
return t.useQuery(
|
|
283
|
+
return t.useQuery(T, r);
|
|
248
284
|
}
|
|
249
|
-
var
|
|
285
|
+
var D = e`
|
|
286
|
+
mutation HandBackBotmanorStewardRun($id: ID!) {
|
|
287
|
+
handBackBotmanorStewardRun(id: $id) {
|
|
288
|
+
id
|
|
289
|
+
status
|
|
290
|
+
takenOverBy
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
`;
|
|
294
|
+
function O(e) {
|
|
295
|
+
let r = {
|
|
296
|
+
...n,
|
|
297
|
+
...e
|
|
298
|
+
};
|
|
299
|
+
return t.useMutation(D, r);
|
|
300
|
+
}
|
|
301
|
+
var k = e`
|
|
250
302
|
query ListBotmanorStewardRuns($filter: BotmanorStewardRunFilterInput, $pagination: PaginationInput) {
|
|
251
303
|
listBotmanorStewardRuns(filter: $filter, pagination: $pagination) {
|
|
252
304
|
...StewardRunSummaryFields
|
|
@@ -254,14 +306,14 @@ var C = e`
|
|
|
254
306
|
}
|
|
255
307
|
${o}
|
|
256
308
|
${r}`;
|
|
257
|
-
function
|
|
309
|
+
function A(e) {
|
|
258
310
|
let r = {
|
|
259
311
|
...n,
|
|
260
312
|
...e
|
|
261
313
|
};
|
|
262
|
-
return t.useQuery(
|
|
314
|
+
return t.useQuery(k, r);
|
|
263
315
|
}
|
|
264
|
-
var
|
|
316
|
+
var j = e`
|
|
265
317
|
query ListBotmanorStewards($filter: BotmanorStewardFilterInput, $pagination: PaginationInput) {
|
|
266
318
|
listBotmanorStewards(filter: $filter, pagination: $pagination) {
|
|
267
319
|
id
|
|
@@ -290,14 +342,14 @@ var T = e`
|
|
|
290
342
|
}
|
|
291
343
|
}
|
|
292
344
|
`;
|
|
293
|
-
function
|
|
345
|
+
function M(e) {
|
|
294
346
|
let r = {
|
|
295
347
|
...n,
|
|
296
348
|
...e
|
|
297
349
|
};
|
|
298
|
-
return t.useQuery(
|
|
350
|
+
return t.useQuery(j, r);
|
|
299
351
|
}
|
|
300
|
-
var
|
|
352
|
+
var N = e`
|
|
301
353
|
mutation RunBotmanorSteward($input: RunBotmanorStewardInput!) {
|
|
302
354
|
runBotmanorSteward(input: $input) {
|
|
303
355
|
...StewardRunSummaryFields
|
|
@@ -305,14 +357,14 @@ var D = e`
|
|
|
305
357
|
}
|
|
306
358
|
${o}
|
|
307
359
|
${r}`;
|
|
308
|
-
function
|
|
360
|
+
function P(e) {
|
|
309
361
|
let r = {
|
|
310
362
|
...n,
|
|
311
363
|
...e
|
|
312
364
|
};
|
|
313
|
-
return t.useMutation(
|
|
365
|
+
return t.useMutation(N, r);
|
|
314
366
|
}
|
|
315
|
-
var
|
|
367
|
+
var F = e`
|
|
316
368
|
mutation SetBotmanorStewardStatus($id: ID!, $status: BotmanorStewardStatus!) {
|
|
317
369
|
setBotmanorStewardStatus(id: $id, status: $status) {
|
|
318
370
|
...StewardDetailFields
|
|
@@ -321,14 +373,14 @@ var k = e`
|
|
|
321
373
|
${a}
|
|
322
374
|
${i}
|
|
323
375
|
${r}`;
|
|
324
|
-
function
|
|
376
|
+
function I(e) {
|
|
325
377
|
let r = {
|
|
326
378
|
...n,
|
|
327
379
|
...e
|
|
328
380
|
};
|
|
329
|
-
return t.useMutation(
|
|
381
|
+
return t.useMutation(F, r);
|
|
330
382
|
}
|
|
331
|
-
var
|
|
383
|
+
var L = e`
|
|
332
384
|
query ListStewardAgentCandidates($filters: BotmanorAgentFilterInput) {
|
|
333
385
|
listBotmanorAgents(filters: $filters) {
|
|
334
386
|
id
|
|
@@ -339,14 +391,14 @@ var j = e`
|
|
|
339
391
|
}
|
|
340
392
|
}
|
|
341
393
|
`;
|
|
342
|
-
function
|
|
394
|
+
function R(e) {
|
|
343
395
|
let r = {
|
|
344
396
|
...n,
|
|
345
397
|
...e
|
|
346
398
|
};
|
|
347
|
-
return t.useQuery(
|
|
399
|
+
return t.useQuery(L, r);
|
|
348
400
|
}
|
|
349
|
-
var
|
|
401
|
+
var z = e`
|
|
350
402
|
mutation CreateStewardBaseAgent($input: CreateBotmanorAgentInput!) {
|
|
351
403
|
createBotmanorAgent(input: $input) {
|
|
352
404
|
id
|
|
@@ -356,14 +408,14 @@ var N = e`
|
|
|
356
408
|
}
|
|
357
409
|
}
|
|
358
410
|
`;
|
|
359
|
-
function
|
|
411
|
+
function B(e) {
|
|
360
412
|
let r = {
|
|
361
413
|
...n,
|
|
362
414
|
...e
|
|
363
415
|
};
|
|
364
|
-
return t.useMutation(
|
|
416
|
+
return t.useMutation(z, r);
|
|
365
417
|
}
|
|
366
|
-
var
|
|
418
|
+
var V = e`
|
|
367
419
|
query ListBotmanorStewardApprovalRules($stewardId: ID!) {
|
|
368
420
|
listBotmanorStewardApprovalRules(stewardId: $stewardId) {
|
|
369
421
|
id
|
|
@@ -379,26 +431,26 @@ var F = e`
|
|
|
379
431
|
}
|
|
380
432
|
}
|
|
381
433
|
`;
|
|
382
|
-
function
|
|
434
|
+
function H(e) {
|
|
383
435
|
let r = {
|
|
384
436
|
...n,
|
|
385
437
|
...e
|
|
386
438
|
};
|
|
387
|
-
return t.useQuery(
|
|
439
|
+
return t.useQuery(V, r);
|
|
388
440
|
}
|
|
389
|
-
var
|
|
441
|
+
var U = e`
|
|
390
442
|
mutation RevokeBotmanorStewardApprovalRule($id: ID!) {
|
|
391
443
|
revokeBotmanorStewardApprovalRule(id: $id)
|
|
392
444
|
}
|
|
393
445
|
`;
|
|
394
|
-
function
|
|
446
|
+
function W(e) {
|
|
395
447
|
let r = {
|
|
396
448
|
...n,
|
|
397
449
|
...e
|
|
398
450
|
};
|
|
399
|
-
return t.useMutation(
|
|
451
|
+
return t.useMutation(U, r);
|
|
400
452
|
}
|
|
401
|
-
var
|
|
453
|
+
var G = e`
|
|
402
454
|
query BotmanorStewardWorkspaceControls {
|
|
403
455
|
botmanorStewardWorkspaceControls {
|
|
404
456
|
maxAutonomyLevel
|
|
@@ -406,14 +458,30 @@ var z = e`
|
|
|
406
458
|
}
|
|
407
459
|
}
|
|
408
460
|
`;
|
|
409
|
-
function
|
|
461
|
+
function K(e) {
|
|
410
462
|
let r = {
|
|
411
463
|
...n,
|
|
412
464
|
...e
|
|
413
465
|
};
|
|
414
|
-
return t.useQuery(
|
|
466
|
+
return t.useQuery(G, r);
|
|
415
467
|
}
|
|
416
|
-
var
|
|
468
|
+
var q = e`
|
|
469
|
+
mutation TakeOverBotmanorStewardRun($id: ID!) {
|
|
470
|
+
takeOverBotmanorStewardRun(id: $id) {
|
|
471
|
+
id
|
|
472
|
+
status
|
|
473
|
+
takenOverBy
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
`;
|
|
477
|
+
function J(e) {
|
|
478
|
+
let r = {
|
|
479
|
+
...n,
|
|
480
|
+
...e
|
|
481
|
+
};
|
|
482
|
+
return t.useMutation(q, r);
|
|
483
|
+
}
|
|
484
|
+
var Y = e`
|
|
417
485
|
mutation UpdateBotmanorStewardCharter($id: ID!, $input: UpdateBotmanorStewardCharterInput!) {
|
|
418
486
|
updateBotmanorStewardCharter(id: $id, input: $input) {
|
|
419
487
|
...StewardDetailFields
|
|
@@ -422,13 +490,13 @@ var V = e`
|
|
|
422
490
|
${a}
|
|
423
491
|
${i}
|
|
424
492
|
${r}`;
|
|
425
|
-
function
|
|
493
|
+
function X(e) {
|
|
426
494
|
let r = {
|
|
427
495
|
...n,
|
|
428
496
|
...e
|
|
429
497
|
};
|
|
430
|
-
return t.useMutation(
|
|
498
|
+
return t.useMutation(Y, r);
|
|
431
499
|
}
|
|
432
|
-
export { l as BotmanorStewardDaybookDocument, d as BotmanorStewardRunUpdatedDocument,
|
|
500
|
+
export { l as BotmanorStewardDaybookDocument, d as BotmanorStewardRunUpdatedDocument, G as BotmanorStewardWorkspaceControlsDocument, p as CancelBotmanorStewardRunDocument, _ as CreateBotmanorStewardDeskControlDocument, h as CreateBotmanorStewardDocument, v as CreateBotmanorStewardLiveViewDocument, z as CreateStewardBaseAgentDocument, y as GetBotmanorStewardDocument, x as GetBotmanorStewardRunDocument, C as GetBotmanorStewardRunTakeoverDocument, T as GetStewardStepScreenshotUrlDocument, D as HandBackBotmanorStewardRunDocument, V as ListBotmanorStewardApprovalRulesDocument, k as ListBotmanorStewardRunsDocument, j as ListBotmanorStewardsDocument, L as ListStewardAgentCandidatesDocument, U as RevokeBotmanorStewardApprovalRuleDocument, N as RunBotmanorStewardDocument, F as SetBotmanorStewardStatusDocument, r as StewardBudgetFieldsFragmentDoc, i as StewardCharterFieldsFragmentDoc, a as StewardDetailFieldsFragmentDoc, c as StewardRunDetailFieldsFragmentDoc, o as StewardRunSummaryFieldsFragmentDoc, s as StewardStepFieldsFragmentDoc, q as TakeOverBotmanorStewardRunDocument, Y as UpdateBotmanorStewardCharterDocument, u as useBotmanorStewardDaybookQuery, f as useBotmanorStewardRunUpdatedSubscription, K as useBotmanorStewardWorkspaceControlsQuery, m as useCancelBotmanorStewardRunMutation, g as useCreateBotmanorStewardMutation, B as useCreateStewardBaseAgentMutation, b as useGetBotmanorStewardQuery, S as useGetBotmanorStewardRunQuery, w as useGetBotmanorStewardRunTakeoverQuery, E as useGetStewardStepScreenshotUrlQuery, O as useHandBackBotmanorStewardRunMutation, H as useListBotmanorStewardApprovalRulesQuery, A as useListBotmanorStewardRunsQuery, M as useListBotmanorStewardsQuery, R as useListStewardAgentCandidatesQuery, W as useRevokeBotmanorStewardApprovalRuleMutation, P as useRunBotmanorStewardMutation, I as useSetBotmanorStewardStatusMutation, J as useTakeOverBotmanorStewardRunMutation, X as useUpdateBotmanorStewardCharterMutation };
|
|
433
501
|
|
|
434
502
|
//# sourceMappingURL=wspace-operations.js.map
|