@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.6.5",
4
+ "version": "0.6.6",
5
5
  "private": false,
6
6
  "exports": {
7
7
  ".": "./src/index.js",
@@ -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 ";
@@ -88,6 +88,8 @@ exports.AgentFragmentDoc = `
88
88
  `;
89
89
  exports.ApiKeyFragmentDoc = `
90
90
  fragment apiKey on ApiKeyAgent {
91
+ email
92
+ password
91
93
  token
92
94
  user {
93
95
  ...agent