@droz-js/sdk 0.3.8 → 0.3.10
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/package.json +1 -1
- package/src/nucleus.d.ts +6 -0
- package/src/sdks/nucleus.d.ts +22 -0
- package/src/sdks/nucleus.js +28 -2
package/package.json
CHANGED
package/src/nucleus.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ export declare const Nucleus: new (options?: import("./client/http").HttpClientO
|
|
|
23
23
|
createAgent(variables: import("./sdks/nucleus").Exact<{
|
|
24
24
|
input: import("./sdks/nucleus").CreateAgentInput;
|
|
25
25
|
}>, options?: unknown): Promise<import("./sdks/nucleus").CreateAgentMutation>;
|
|
26
|
+
createApiKeyAgent(variables: import("./sdks/nucleus").Exact<{
|
|
27
|
+
input: import("./sdks/nucleus").CreateApiKeyAgentInput;
|
|
28
|
+
}>, options?: unknown): Promise<import("./sdks/nucleus").CreateApiKeyAgentMutation>;
|
|
26
29
|
updateAgent(variables: import("./sdks/nucleus").Exact<{
|
|
27
30
|
input: import("./sdks/nucleus").UpdateAgentInput;
|
|
28
31
|
}>, options?: unknown): Promise<import("./sdks/nucleus").UpdateAgentMutation>;
|
|
@@ -154,6 +157,9 @@ export declare const Nucleus: new (options?: import("./client/http").HttpClientO
|
|
|
154
157
|
id: string;
|
|
155
158
|
versionId: string;
|
|
156
159
|
}>, options?: unknown): Promise<import("./sdks/nucleus").GetXStateMachineConfigQuery>;
|
|
160
|
+
isAppInstanceInUse(variables: import("./sdks/nucleus").Exact<{
|
|
161
|
+
drn: string;
|
|
162
|
+
}>, options?: unknown): Promise<import("./sdks/nucleus").IsAppInstanceInUseQuery>;
|
|
157
163
|
createStateMachineConfig(variables: import("./sdks/nucleus").Exact<{
|
|
158
164
|
input: import("./sdks/nucleus").CreateStateMachineConfigInput;
|
|
159
165
|
}>, options?: unknown): Promise<import("./sdks/nucleus").CreateStateMachineConfigMutation>;
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -435,6 +435,7 @@ export type Query = {
|
|
|
435
435
|
getStateMachineConfig?: Maybe<StateMachineConfig>;
|
|
436
436
|
getSystemRole?: Maybe<Role>;
|
|
437
437
|
getXStateMachineConfig?: Maybe<Scalars['JSON']['output']>;
|
|
438
|
+
isAppInstanceInUse: Scalars['Boolean']['output'];
|
|
438
439
|
listAgents: AgentConnection;
|
|
439
440
|
listApiKeyAgents: AgentConnection;
|
|
440
441
|
listAppInstances: Array<AppInstance>;
|
|
@@ -484,6 +485,9 @@ export type QueryGetXStateMachineConfigArgs = {
|
|
|
484
485
|
id: Scalars['ID']['input'];
|
|
485
486
|
versionId: Scalars['ID']['input'];
|
|
486
487
|
};
|
|
488
|
+
export type QueryIsAppInstanceInUseArgs = {
|
|
489
|
+
drn: Scalars['DRN']['input'];
|
|
490
|
+
};
|
|
487
491
|
export type QueryListAgentsArgs = {
|
|
488
492
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
489
493
|
};
|
|
@@ -684,6 +688,9 @@ export type UpdateStateMachineConfigWithStateInput = {
|
|
|
684
688
|
stateId: Scalars['ID']['input'];
|
|
685
689
|
};
|
|
686
690
|
export type AgentFragment = Pick<Agent, 'id' | 'name' | 'email' | 'emailVerified' | 'picture' | 'apps' | 'roles' | 'cognitoUserStatus' | 'createdAt' | 'updatedAt'>;
|
|
691
|
+
export type ApiKeyFragment = (Pick<ApiKeyAgent, 'token'> & {
|
|
692
|
+
user: AgentFragment;
|
|
693
|
+
});
|
|
687
694
|
export type GetMeQueryVariables = Exact<{
|
|
688
695
|
[key: string]: never;
|
|
689
696
|
}>;
|
|
@@ -726,6 +733,12 @@ export type CreateAgentMutationVariables = Exact<{
|
|
|
726
733
|
export type CreateAgentMutation = {
|
|
727
734
|
createAgent?: Maybe<AgentFragment>;
|
|
728
735
|
};
|
|
736
|
+
export type CreateApiKeyAgentMutationVariables = Exact<{
|
|
737
|
+
input: CreateApiKeyAgentInput;
|
|
738
|
+
}>;
|
|
739
|
+
export type CreateApiKeyAgentMutation = {
|
|
740
|
+
createApiKeyAgent?: Maybe<ApiKeyFragment>;
|
|
741
|
+
};
|
|
729
742
|
export type UpdateAgentMutationVariables = Exact<{
|
|
730
743
|
input: UpdateAgentInput;
|
|
731
744
|
}>;
|
|
@@ -1011,6 +1024,10 @@ export type GetXStateMachineConfigQueryVariables = Exact<{
|
|
|
1011
1024
|
versionId: Scalars['ID']['input'];
|
|
1012
1025
|
}>;
|
|
1013
1026
|
export type GetXStateMachineConfigQuery = Pick<Query, 'getXStateMachineConfig'>;
|
|
1027
|
+
export type IsAppInstanceInUseQueryVariables = Exact<{
|
|
1028
|
+
drn: Scalars['DRN']['input'];
|
|
1029
|
+
}>;
|
|
1030
|
+
export type IsAppInstanceInUseQuery = Pick<Query, 'isAppInstanceInUse'>;
|
|
1014
1031
|
export type CreateStateMachineConfigMutationVariables = Exact<{
|
|
1015
1032
|
input: CreateStateMachineConfigInput;
|
|
1016
1033
|
}>;
|
|
@@ -1060,6 +1077,7 @@ export type RemoveStateMachineConfigStateMutation = {
|
|
|
1060
1077
|
removeStateMachineConfigState?: Maybe<StateMachineConfigFragment>;
|
|
1061
1078
|
};
|
|
1062
1079
|
export declare const AgentFragmentDoc = "\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1080
|
+
export declare const ApiKeyFragmentDoc = "\n fragment apiKey on ApiKeyAgent {\n token\n user {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1063
1081
|
export declare const AppFragmentDoc = "\n fragment app on App {\n id\n type\n name\n description\n}\n ";
|
|
1064
1082
|
export declare const AppInstanceFragmentDoc = "\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
1065
1083
|
export declare const AppWithInstancesFragmentDoc = "\n fragment appWithInstances on App {\n ...app\n instances {\n ...appInstance\n }\n}\n \n fragment app on App {\n id\n type\n name\n description\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1079,6 +1097,7 @@ export declare const ListAgentsDocument = "\n query listAgents($next: Base64)
|
|
|
1079
1097
|
export declare const ListApiKeyAgentsDocument = "\n query listApiKeyAgents($next: Base64) {\n listApiKeyAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1080
1098
|
export declare const UpdateMyProfileDocument = "\n mutation updateMyProfile($input: UpdateMyProfileInput!) {\n updateMyProfile(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1081
1099
|
export declare const CreateAgentDocument = "\n mutation createAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1100
|
+
export declare const CreateApiKeyAgentDocument = "\n mutation createApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n token\n user {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1082
1101
|
export declare const UpdateAgentDocument = "\n mutation updateAgent($input: UpdateAgentInput!) {\n updateAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1083
1102
|
export declare const RemoveAgentDocument = "\n mutation removeAgent($input: RemoveAgentInput!) {\n removeAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
1084
1103
|
export declare const AddRoleToAgentDocument = "\n mutation addRoleToAgent($input: AddRoleToAgentInput!) {\n addRoleToAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n apps\n roles\n cognitoUserStatus\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1119,6 +1138,7 @@ export declare const ListLiveStateMachineConfigsDocument = "\n query listLive
|
|
|
1119
1138
|
export declare const ListDraftStateMachineConfigsDocument = "\n query listDraftStateMachineConfigs($createdByAppId: ID, $next: Base64) {\n listDraftStateMachineConfigs(createdByAppId: $createdByAppId, next: $next) {\n ...stateMachineConfigConnection\n }\n}\n \n fragment stateMachineConfigConnection on StateMachineConfigConnection {\n nodes {\n ...stateMachineConfig\n }\n pageInfo {\n hasNext\n next\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1120
1139
|
export declare const ListStateMachineConfigVersionsDocument = "\n query listStateMachineConfigVersions($id: ID!) {\n listStateMachineConfigVersions(id: $id) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1121
1140
|
export declare const GetXStateMachineConfigDocument = "\n query getXStateMachineConfig($id: ID!, $versionId: ID!) {\n getXStateMachineConfig(id: $id, versionId: $versionId)\n}\n ";
|
|
1141
|
+
export declare const IsAppInstanceInUseDocument = "\n query isAppInstanceInUse($drn: DRN!) {\n isAppInstanceInUse(drn: $drn)\n}\n ";
|
|
1122
1142
|
export declare const CreateStateMachineConfigDocument = "\n mutation createStateMachineConfig($input: CreateStateMachineConfigInput!) {\n createStateMachineConfig(input: $input) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1123
1143
|
export declare const UpdateStateMachineConfigDocument = "\n mutation updateStateMachineConfig($input: UpdateStateMachineConfigInput!) {\n updateStateMachineConfig(input: $input) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1124
1144
|
export declare const RemoveStateMachineConfigDocument = "\n mutation removeStateMachineConfig($input: RemoveStateMachineConfigInput!) {\n removeStateMachineConfig(input: $input) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
@@ -1135,6 +1155,7 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
|
1135
1155
|
listApiKeyAgents(variables?: ListApiKeyAgentsQueryVariables, options?: C): Promise<ListApiKeyAgentsQuery>;
|
|
1136
1156
|
updateMyProfile(variables: UpdateMyProfileMutationVariables, options?: C): Promise<UpdateMyProfileMutation>;
|
|
1137
1157
|
createAgent(variables: CreateAgentMutationVariables, options?: C): Promise<CreateAgentMutation>;
|
|
1158
|
+
createApiKeyAgent(variables: CreateApiKeyAgentMutationVariables, options?: C): Promise<CreateApiKeyAgentMutation>;
|
|
1138
1159
|
updateAgent(variables: UpdateAgentMutationVariables, options?: C): Promise<UpdateAgentMutation>;
|
|
1139
1160
|
removeAgent(variables: RemoveAgentMutationVariables, options?: C): Promise<RemoveAgentMutation>;
|
|
1140
1161
|
addRoleToAgent(variables: AddRoleToAgentMutationVariables, options?: C): Promise<AddRoleToAgentMutation>;
|
|
@@ -1175,6 +1196,7 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
|
1175
1196
|
listDraftStateMachineConfigs(variables?: ListDraftStateMachineConfigsQueryVariables, options?: C): Promise<ListDraftStateMachineConfigsQuery>;
|
|
1176
1197
|
listStateMachineConfigVersions(variables: ListStateMachineConfigVersionsQueryVariables, options?: C): Promise<ListStateMachineConfigVersionsQuery>;
|
|
1177
1198
|
getXStateMachineConfig(variables: GetXStateMachineConfigQueryVariables, options?: C): Promise<GetXStateMachineConfigQuery>;
|
|
1199
|
+
isAppInstanceInUse(variables: IsAppInstanceInUseQueryVariables, options?: C): Promise<IsAppInstanceInUseQuery>;
|
|
1178
1200
|
createStateMachineConfig(variables: CreateStateMachineConfigMutationVariables, options?: C): Promise<CreateStateMachineConfigMutation>;
|
|
1179
1201
|
updateStateMachineConfig(variables: UpdateStateMachineConfigMutationVariables, options?: C): Promise<UpdateStateMachineConfigMutation>;
|
|
1180
1202
|
removeStateMachineConfig(variables: RemoveStateMachineConfigMutationVariables, options?: C): Promise<RemoveStateMachineConfigMutation>;
|
package/src/sdks/nucleus.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.serviceName = exports.getSdk = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.GetSessionDocument = exports.StartSessionDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = void 0;
|
|
4
|
+
exports.GetCustomerDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateCredentialsDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.AppType = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.serviceName = exports.getSdk = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.GetSessionDocument = exports.StartSessionDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = void 0;
|
|
6
6
|
var AppInstanceStatus;
|
|
7
7
|
(function (AppInstanceStatus) {
|
|
8
8
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -74,6 +74,14 @@ exports.AgentFragmentDoc = `
|
|
|
74
74
|
updatedAt
|
|
75
75
|
}
|
|
76
76
|
`;
|
|
77
|
+
exports.ApiKeyFragmentDoc = `
|
|
78
|
+
fragment apiKey on ApiKeyAgent {
|
|
79
|
+
token
|
|
80
|
+
user {
|
|
81
|
+
...agent
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
${exports.AgentFragmentDoc}`;
|
|
77
85
|
exports.AppFragmentDoc = `
|
|
78
86
|
fragment app on App {
|
|
79
87
|
id
|
|
@@ -259,6 +267,13 @@ exports.CreateAgentDocument = `
|
|
|
259
267
|
}
|
|
260
268
|
}
|
|
261
269
|
${exports.AgentFragmentDoc}`;
|
|
270
|
+
exports.CreateApiKeyAgentDocument = `
|
|
271
|
+
mutation createApiKeyAgent($input: CreateApiKeyAgentInput!) {
|
|
272
|
+
createApiKeyAgent(input: $input) {
|
|
273
|
+
...apiKey
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
${exports.ApiKeyFragmentDoc}`;
|
|
262
277
|
exports.UpdateAgentDocument = `
|
|
263
278
|
mutation updateAgent($input: UpdateAgentInput!) {
|
|
264
279
|
updateAgent(input: $input) {
|
|
@@ -589,6 +604,11 @@ exports.GetXStateMachineConfigDocument = `
|
|
|
589
604
|
getXStateMachineConfig(id: $id, versionId: $versionId)
|
|
590
605
|
}
|
|
591
606
|
`;
|
|
607
|
+
exports.IsAppInstanceInUseDocument = `
|
|
608
|
+
query isAppInstanceInUse($drn: DRN!) {
|
|
609
|
+
isAppInstanceInUse(drn: $drn)
|
|
610
|
+
}
|
|
611
|
+
`;
|
|
592
612
|
exports.CreateStateMachineConfigDocument = `
|
|
593
613
|
mutation createStateMachineConfig($input: CreateStateMachineConfigInput!) {
|
|
594
614
|
createStateMachineConfig(input: $input) {
|
|
@@ -665,6 +685,9 @@ function getSdk(requester) {
|
|
|
665
685
|
createAgent(variables, options) {
|
|
666
686
|
return requester(exports.CreateAgentDocument, variables, options);
|
|
667
687
|
},
|
|
688
|
+
createApiKeyAgent(variables, options) {
|
|
689
|
+
return requester(exports.CreateApiKeyAgentDocument, variables, options);
|
|
690
|
+
},
|
|
668
691
|
updateAgent(variables, options) {
|
|
669
692
|
return requester(exports.UpdateAgentDocument, variables, options);
|
|
670
693
|
},
|
|
@@ -785,6 +808,9 @@ function getSdk(requester) {
|
|
|
785
808
|
getXStateMachineConfig(variables, options) {
|
|
786
809
|
return requester(exports.GetXStateMachineConfigDocument, variables, options);
|
|
787
810
|
},
|
|
811
|
+
isAppInstanceInUse(variables, options) {
|
|
812
|
+
return requester(exports.IsAppInstanceInUseDocument, variables, options);
|
|
813
|
+
},
|
|
788
814
|
createStateMachineConfig(variables, options) {
|
|
789
815
|
return requester(exports.CreateStateMachineConfigDocument, variables, options);
|
|
790
816
|
},
|