@droz-js/sdk 0.6.5 → 0.6.6
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/sdks/nucleus.d.ts +5 -5
- package/src/sdks/nucleus.js +2 -0
package/package.json
CHANGED
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -903,7 +903,7 @@ export type UpdateStateMachineConfigWithStateInput = {
|
|
|
903
903
|
stateId: Scalars['ID']['input'];
|
|
904
904
|
};
|
|
905
905
|
export type AgentFragment = Pick<Agent, 'id' | 'name' | 'email' | 'emailVerified' | 'picture' | 'apps' | 'roles' | 'cognitoUserStatus' | 'systemAgent' | 'createdAt' | 'updatedAt'>;
|
|
906
|
-
export type ApiKeyFragment = (Pick<ApiKeyAgent, 'token'> & {
|
|
906
|
+
export type ApiKeyFragment = (Pick<ApiKeyAgent, 'email' | 'password' | 'token'> & {
|
|
907
907
|
user: AgentFragment;
|
|
908
908
|
});
|
|
909
909
|
export type GetMeQueryVariables = Exact<{
|
|
@@ -1368,7 +1368,7 @@ export type CreatePresignedUploadUrlMutation = {
|
|
|
1368
1368
|
createPresignedUploadUrl: Pick<CreatePresignedUploadUrl, 'method' | 'url' | 'fields' | 'cdnUrl'>;
|
|
1369
1369
|
};
|
|
1370
1370
|
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1371
|
-
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1371
|
+
export declare const ApiKeyFragmentDoc = "\n fragment apiKey on ApiKeyAgent {\n email\n password\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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1372
1372
|
export declare const AppFragmentDoc = "\n fragment app on App {\n id\n type\n name\n description\n color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n ";
|
|
1373
1373
|
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 ";
|
|
1374
1374
|
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 color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1390,11 +1390,11 @@ export declare const ListAgentsDocument = "\n query listAgents($next: Base64)
|
|
|
1390
1390
|
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1391
1391
|
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1392
1392
|
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1393
|
-
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1394
|
-
export declare const CreateSystemApiKeyAgentDocument = "\n mutation createSystemApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createSystemApiKeyAgent(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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1393
|
+
export declare const CreateApiKeyAgentDocument = "\n mutation createApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1394
|
+
export declare const CreateSystemApiKeyAgentDocument = "\n mutation createSystemApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1395
1395
|
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1396
1396
|
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1397
|
-
export declare const RemoveSystemApiKeyAgentDocument = "\n mutation removeSystemApiKeyAgent($input: RemoveAgentInput!) {\n removeSystemApiKeyAgent(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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1397
|
+
export declare const RemoveSystemApiKeyAgentDocument = "\n mutation removeSystemApiKeyAgent($input: RemoveAgentInput!) {\n removeSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1398
1398
|
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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1399
1399
|
export declare const RemoveRoleFromAgentDocument = "\n mutation removeRoleFromAgent($input: RemoveRoleFromAgentInput!) {\n removeRoleFromAgent(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 systemAgent\n createdAt\n updatedAt\n}\n ";
|
|
1400
1400
|
export declare const GetAppDocument = "\n query getApp($appId: ID!, $withInstances: Boolean = false) {\n getApp(appId: $appId) {\n ...app\n instances @include(if: $withInstances) {\n ...appInstance\n }\n }\n}\n \n fragment app on App {\n id\n type\n name\n description\n color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|