@droz-js/sdk
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -77,4 +77,7 @@ export * from './sdks/drozcommons'; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveTenantMutation>; | ||
joinTenantAsSuperAdmin(variables: import("./sdks/drozcommons").Exact<{ | ||
input: import("./sdks/drozcommons").JoinTenantAsSuperAdminInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").JoinTenantAsSuperAdminMutation>; | ||
}; | ||
export declare class DrozAdmin extends DrozAdmin_base { | ||
} |
@@ -17,2 +17,5 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus'; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").GetAgentQuery>; | ||
getAgentByEmail(variables: import("./sdks/nucleus").Exact<{ | ||
email: string; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").GetAgentByEmailQuery>; | ||
getAgents(variables: import("./sdks/nucleus").Exact<{ | ||
@@ -54,2 +57,5 @@ ids: string | string[]; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").RemoveRoleFromAgentMutation>; | ||
joinAsSuperAdmin(variables: import("./sdks/nucleus").Exact<{ | ||
input: import("./sdks/nucleus").JoinAsSuperAdminInput; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").JoinAsSuperAdminMutation>; | ||
getApp(variables: import("./sdks/nucleus").Exact<{ | ||
@@ -56,0 +62,0 @@ appId: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -192,3 +196,3 @@ input: string; | ||
region?: InputMaybe<Scalars['String']['input']>; | ||
tenantId: Scalars['Tag']['input']; | ||
tenantId: Scalars['TenantId']['input']; | ||
}; | ||
@@ -253,2 +257,5 @@ export type DeployInput = { | ||
}; | ||
export type JoinTenantAsSuperAdminInput = { | ||
tenantId: Scalars['TenantId']['input']; | ||
}; | ||
export type Mutation = { | ||
@@ -259,2 +266,3 @@ batchDeploy: Array<Deployment>; | ||
destroy: Deployment; | ||
joinTenantAsSuperAdmin?: Maybe<Scalars['String']['output']>; | ||
removeTenant: Tenant; | ||
@@ -277,2 +285,5 @@ updateAccountParameters: AwsAccount; | ||
}; | ||
export type MutationJoinTenantAsSuperAdminArgs = { | ||
input: JoinTenantAsSuperAdminInput; | ||
}; | ||
export type MutationRemoveTenantArgs = { | ||
@@ -340,3 +351,3 @@ input: RemoveTenantInput; | ||
export type QueryGetTenantArgs = { | ||
tenantId: Scalars['Tag']['input']; | ||
tenantId: Scalars['TenantId']['input']; | ||
}; | ||
@@ -355,3 +366,3 @@ export type QueryListDeploymentsArgs = { | ||
q?: InputMaybe<Scalars['String']['input']>; | ||
tenantId: Scalars['Tag']['input']; | ||
tenantId: Scalars['TenantId']['input']; | ||
}; | ||
@@ -368,3 +379,3 @@ export type ReclameAquiBilling = { | ||
export type RemoveTenantInput = { | ||
tenantId: Scalars['Tag']['input']; | ||
tenantId: Scalars['TenantId']['input']; | ||
}; | ||
@@ -436,3 +447,3 @@ export type SearchResultsFacet = { | ||
services: Array<Maybe<Service>>; | ||
tenantId: Scalars['Tag']['output']; | ||
tenantId: Scalars['TenantId']['output']; | ||
updatedAt: Scalars['DateTime']['output']; | ||
@@ -467,3 +478,3 @@ }; | ||
name?: InputMaybe<Scalars['String']['input']>; | ||
tenantId: Scalars['Tag']['input']; | ||
tenantId: Scalars['TenantId']['input']; | ||
}; | ||
@@ -580,3 +591,3 @@ export type AwsAccountFragment = (Pick<AwsAccount, 'id' | 'name' | 'tenantsCount'> & { | ||
export type GetTenantQueryVariables = Exact<{ | ||
tenantId: Scalars['Tag']['input']; | ||
tenantId: Scalars['TenantId']['input']; | ||
withServices?: InputMaybe<Scalars['Boolean']['input']>; | ||
@@ -602,3 +613,3 @@ withDeployments?: InputMaybe<Scalars['Boolean']['input']>; | ||
export type SearchSessionsOnTenantQueryVariables = Exact<{ | ||
tenantId: Scalars['Tag']['input']; | ||
tenantId: Scalars['TenantId']['input']; | ||
q?: InputMaybe<Scalars['String']['input']>; | ||
@@ -625,2 +636,6 @@ }>; | ||
}; | ||
export type JoinTenantAsSuperAdminMutationVariables = Exact<{ | ||
input: JoinTenantAsSuperAdminInput; | ||
}>; | ||
export type JoinTenantAsSuperAdminMutation = Pick<Mutation, 'joinTenantAsSuperAdmin'>; | ||
export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n "; | ||
@@ -647,8 +662,9 @@ export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n }\n}\n "; | ||
export declare const ListServicesDocument = "\n query listServices($tenantId: ID!) {\n listServices(tenantId: $tenantId) {\n ...service\n }\n}\n \n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n "; | ||
export declare const GetTenantDocument = "\n query getTenant($tenantId: Tag!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n "; | ||
export declare const GetTenantDocument = "\n query getTenant($tenantId: TenantId!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n "; | ||
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n "; | ||
export declare const SearchSessionsOnTenantDocument = "\n query searchSessionsOnTenant($tenantId: Tag!, $q: String) {\n searchSessionsOnTenant(tenantId: $tenantId, q: $q)\n}\n "; | ||
export declare const SearchSessionsOnTenantDocument = "\n query searchSessionsOnTenant($tenantId: TenantId!, $q: String) {\n searchSessionsOnTenant(tenantId: $tenantId, q: $q)\n}\n "; | ||
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n "; | ||
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n "; | ||
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n "; | ||
export declare const JoinTenantAsSuperAdminDocument = "\n mutation joinTenantAsSuperAdmin($input: JoinTenantAsSuperAdminInput!) {\n joinTenantAsSuperAdmin(input: $input)\n}\n "; | ||
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
@@ -676,4 +692,5 @@ export declare function getSdk<C>(requester: Requester<C>): { | ||
removeTenant(variables: RemoveTenantMutationVariables, options?: C): Promise<RemoveTenantMutation>; | ||
joinTenantAsSuperAdmin(variables: JoinTenantAsSuperAdminMutationVariables, options?: C): Promise<JoinTenantAsSuperAdminMutation>; | ||
}; | ||
export type Sdk = ReturnType<typeof getSdk>; | ||
export declare const serviceName = "@droz/drozcommons"; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.getSdk = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UpdateAccountParametersDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.getSdk = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UpdateAccountParametersDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0; | ||
var AppInstanceStatus; | ||
@@ -242,3 +242,3 @@ (function (AppInstanceStatus) { | ||
exports.GetTenantDocument = ` | ||
query getTenant($tenantId: Tag!, $withServices: Boolean = true, $withDeployments: Boolean = true) { | ||
query getTenant($tenantId: TenantId!, $withServices: Boolean = true, $withDeployments: Boolean = true) { | ||
getTenant(tenantId: $tenantId) { | ||
@@ -273,3 +273,3 @@ ...tenant | ||
exports.SearchSessionsOnTenantDocument = ` | ||
query searchSessionsOnTenant($tenantId: Tag!, $q: String) { | ||
query searchSessionsOnTenant($tenantId: TenantId!, $q: String) { | ||
searchSessionsOnTenant(tenantId: $tenantId, q: $q) | ||
@@ -299,2 +299,7 @@ } | ||
${exports.TenantFragmentDoc}`; | ||
exports.JoinTenantAsSuperAdminDocument = ` | ||
mutation joinTenantAsSuperAdmin($input: JoinTenantAsSuperAdminInput!) { | ||
joinTenantAsSuperAdmin(input: $input) | ||
} | ||
`; | ||
function getSdk(requester) { | ||
@@ -361,2 +366,5 @@ return { | ||
return requester(exports.RemoveTenantDocument, variables, options); | ||
}, | ||
joinTenantAsSuperAdmin(variables, options) { | ||
return requester(exports.JoinTenantAsSuperAdminDocument, variables, options); | ||
} | ||
@@ -363,0 +371,0 @@ }; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -424,3 +428,3 @@ input: string; | ||
id: Scalars['ID']['input']; | ||
languages?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>; | ||
languages?: InputMaybe<Array<Scalars['String']['input']>>; | ||
nodes: Array<NodeInput>; | ||
@@ -427,0 +431,0 @@ title?: InputMaybe<Scalars['String']['input']>; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveSystemApiKeyAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateSystemApiKeyAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentsDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.CredentialsWithSecretFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.SessionStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0; | ||
exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.SearchSessionsDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartCustomSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.GetMercadoLivreAuthInfoDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetMetaAuthInfoDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = void 0; | ||
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = void 0; | ||
exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.JoinAsSuperAdminDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveSystemApiKeyAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateSystemApiKeyAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentsDocument = exports.GetAgentByEmailDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.CredentialsWithSecretFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.SessionStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0; | ||
exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.SearchSessionsDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartCustomSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.GetMercadoLivreAuthInfoDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetMetaAuthInfoDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = void 0; | ||
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = void 0; | ||
var AppInstanceStatus; | ||
@@ -332,2 +332,9 @@ (function (AppInstanceStatus) { | ||
${exports.AgentFragmentDoc}`; | ||
exports.GetAgentByEmailDocument = ` | ||
query getAgentByEmail($email: EmailAddress!) { | ||
getAgentByEmail(email: $email) { | ||
...agent | ||
} | ||
} | ||
${exports.AgentFragmentDoc}`; | ||
exports.GetAgentsDocument = ` | ||
@@ -432,2 +439,7 @@ query getAgents($ids: [ID!]!) { | ||
${exports.AgentFragmentDoc}`; | ||
exports.JoinAsSuperAdminDocument = ` | ||
mutation joinAsSuperAdmin($input: JoinAsSuperAdminInput!) { | ||
joinAsSuperAdmin(input: $input) | ||
} | ||
`; | ||
exports.GetAppDocument = ` | ||
@@ -930,2 +942,5 @@ query getApp($appId: ID!, $withInstances: Boolean = false) { | ||
}, | ||
getAgentByEmail(variables, options) { | ||
return requester(exports.GetAgentByEmailDocument, variables, options); | ||
}, | ||
getAgents(variables, options) { | ||
@@ -967,2 +982,5 @@ return requester(exports.GetAgentsDocument, variables, options); | ||
}, | ||
joinAsSuperAdmin(variables, options) { | ||
return requester(exports.JoinAsSuperAdminDocument, variables, options); | ||
}, | ||
getApp(variables, options) { | ||
@@ -969,0 +987,0 @@ return requester(exports.GetAppDocument, variables, options); |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
@@ -104,2 +104,6 @@ export type Maybe<T> = T; | ||
}; | ||
TenantId: { | ||
input: string; | ||
output: string; | ||
}; | ||
Timezone: { | ||
@@ -106,0 +110,0 @@ input: string; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
663910
14873