@droz-js/sdk
Advanced tools
Comparing version 0.5.6 to 0.5.7
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"private": false, | ||
@@ -13,2 +13,4 @@ "exports": { | ||
"scripts": { | ||
"test": "jest", | ||
"pretest": "npm run clean", | ||
"clean": "npx rimraf src/*.js src/*.d.ts src/**/*.js src/**/*.d.ts", | ||
@@ -34,2 +36,2 @@ "prebuild": "npm run clean", | ||
] | ||
} | ||
} |
@@ -17,2 +17,5 @@ export * from './sdks/drozcommons'; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListAccountsQuery>; | ||
listRegions(variables?: import("./sdks/drozcommons").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListRegionsQuery>; | ||
listGitRepositories(variables?: import("./sdks/drozcommons").Exact<{ | ||
@@ -19,0 +22,0 @@ [key: string]: never; |
@@ -21,5 +21,8 @@ export * from './sdks/drozchat'; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").UpdateDrozChatChannelMutation>; | ||
removeDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
input: import("./sdks/drozchat").RemoveDrozChatChannelInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelMutation>; | ||
disableDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
input: import("./sdks/drozchat").DisableDrozChatChannelInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").DisableDrozChatChannelMutation>; | ||
enableDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
input: import("./sdks/drozchat").EnableDrozChatChannelInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").EnableDrozChatChannelMutation>; | ||
addDrozChatChannelAgent(variables: import("./sdks/drozchat").Exact<{ | ||
@@ -26,0 +29,0 @@ input: import("./sdks/drozchat").AddDrozChatChannelAgentInput; |
@@ -23,5 +23,8 @@ export * from './sdks/drozchat'; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").UpdateDrozChatChannelMutation>; | ||
removeDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
input: import("./sdks/drozchat").RemoveDrozChatChannelInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelMutation>; | ||
disableDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
input: import("./sdks/drozchat").DisableDrozChatChannelInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").DisableDrozChatChannelMutation>; | ||
enableDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
input: import("./sdks/drozchat").EnableDrozChatChannelInput; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").EnableDrozChatChannelMutation>; | ||
addDrozChatChannelAgent(variables: import("./sdks/drozchat").Exact<{ | ||
@@ -28,0 +31,0 @@ input: import("./sdks/drozchat").AddDrozChatChannelAgentInput; |
@@ -134,2 +134,9 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus'; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").GetSessionQuery>; | ||
getSessionSchema(variables?: import("./sdks/nucleus").Exact<{ | ||
lang?: string; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").GetSessionSchemaQuery>; | ||
getSessionSchemaForAppId(variables: import("./sdks/nucleus").Exact<{ | ||
appId: string; | ||
lang?: string; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").GetSessionSchemaForAppIdQuery>; | ||
setSessionAttribute(variables: import("./sdks/nucleus").Exact<{ | ||
@@ -136,0 +143,0 @@ input: import("./sdks/nucleus").SetSessionAttributeInput; |
@@ -127,2 +127,5 @@ export type Maybe<T> = T; | ||
}; | ||
export type DisableDrozChatChannelInput = { | ||
id: Scalars['ID']['input']; | ||
}; | ||
export type DrozChatAgent = { | ||
@@ -150,2 +153,5 @@ createdAt: Scalars['String']['output']; | ||
}; | ||
export type EnableDrozChatChannelInput = { | ||
id: Scalars['ID']['input']; | ||
}; | ||
export type MarkTicketMessagesAsReadInput = { | ||
@@ -164,4 +170,5 @@ channelId: Scalars['ID']['input']; | ||
createTicketMessageForStorage: TicketMessage; | ||
disableDrozChatChannel?: Maybe<DrozChatChannel>; | ||
enableDrozChatChannel?: Maybe<DrozChatChannel>; | ||
markTicketMessagesAsRead?: Maybe<Scalars['Void']['output']>; | ||
removeDrozChatChannel?: Maybe<DrozChatChannel>; | ||
removeDrozChatChannelAgent?: Maybe<DrozChatChannel>; | ||
@@ -197,8 +204,11 @@ transferTicketToChannel: Ticket; | ||
}; | ||
export type MutationDisableDrozChatChannelArgs = { | ||
input: DisableDrozChatChannelInput; | ||
}; | ||
export type MutationEnableDrozChatChannelArgs = { | ||
input: EnableDrozChatChannelInput; | ||
}; | ||
export type MutationMarkTicketMessagesAsReadArgs = { | ||
input: MarkTicketMessagesAsReadInput; | ||
}; | ||
export type MutationRemoveDrozChatChannelArgs = { | ||
input: RemoveDrozChatChannelInput; | ||
}; | ||
export type MutationRemoveDrozChatChannelAgentArgs = { | ||
@@ -259,5 +269,2 @@ input: RemoveDrozChatChannelAgentInput; | ||
}; | ||
export type RemoveDrozChatChannelInput = { | ||
id: Scalars['ID']['input']; | ||
}; | ||
export type Subscription = { | ||
@@ -437,8 +444,14 @@ onTicketByState: TicketSubscription; | ||
}; | ||
export type RemoveDrozChatChannelMutationVariables = Exact<{ | ||
input: RemoveDrozChatChannelInput; | ||
export type DisableDrozChatChannelMutationVariables = Exact<{ | ||
input: DisableDrozChatChannelInput; | ||
}>; | ||
export type RemoveDrozChatChannelMutation = { | ||
removeDrozChatChannel?: Maybe<DrozChatChannelFragment>; | ||
export type DisableDrozChatChannelMutation = { | ||
disableDrozChatChannel?: Maybe<DrozChatChannelFragment>; | ||
}; | ||
export type EnableDrozChatChannelMutationVariables = Exact<{ | ||
input: EnableDrozChatChannelInput; | ||
}>; | ||
export type EnableDrozChatChannelMutation = { | ||
enableDrozChatChannel?: Maybe<DrozChatChannelFragment>; | ||
}; | ||
export type AddDrozChatChannelAgentMutationVariables = Exact<{ | ||
@@ -598,3 +611,4 @@ input: AddDrozChatChannelAgentInput; | ||
export declare const UpdateDrozChatChannelDocument = "\n mutation updateDrozChatChannel($input: UpdateDrozChatChannelInput!) {\n updateDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n "; | ||
export declare const RemoveDrozChatChannelDocument = "\n mutation removeDrozChatChannel($input: RemoveDrozChatChannelInput!) {\n removeDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n "; | ||
export declare const DisableDrozChatChannelDocument = "\n mutation disableDrozChatChannel($input: DisableDrozChatChannelInput!) {\n disableDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n "; | ||
export declare const EnableDrozChatChannelDocument = "\n mutation enableDrozChatChannel($input: EnableDrozChatChannelInput!) {\n enableDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n "; | ||
export declare const AddDrozChatChannelAgentDocument = "\n mutation addDrozChatChannelAgent($input: AddDrozChatChannelAgentInput!) {\n addDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n "; | ||
@@ -625,3 +639,4 @@ export declare const RemoveDrozChatChannelAgentDocument = "\n mutation removeDrozChatChannelAgent($input: RemoveDrozChatChannelAgentInput!) {\n removeDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n "; | ||
updateDrozChatChannel(variables: UpdateDrozChatChannelMutationVariables, options?: C): Promise<UpdateDrozChatChannelMutation>; | ||
removeDrozChatChannel(variables: RemoveDrozChatChannelMutationVariables, options?: C): Promise<RemoveDrozChatChannelMutation>; | ||
disableDrozChatChannel(variables: DisableDrozChatChannelMutationVariables, options?: C): Promise<DisableDrozChatChannelMutation>; | ||
enableDrozChatChannel(variables: EnableDrozChatChannelMutationVariables, options?: C): Promise<EnableDrozChatChannelMutation>; | ||
addDrozChatChannelAgent(variables: AddDrozChatChannelAgentMutationVariables, options?: C): Promise<AddDrozChatChannelAgentMutation>; | ||
@@ -628,0 +643,0 @@ removeDrozChatChannelAgent(variables: RemoveDrozChatChannelAgentMutationVariables, options?: C): Promise<RemoveDrozChatChannelAgentMutation>; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.RemoveDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.AppInstanceStatus = void 0; | ||
var AppInstanceStatus; | ||
@@ -200,5 +200,5 @@ (function (AppInstanceStatus) { | ||
${exports.DrozChatChannelFragmentDoc}`; | ||
exports.RemoveDrozChatChannelDocument = ` | ||
mutation removeDrozChatChannel($input: RemoveDrozChatChannelInput!) { | ||
removeDrozChatChannel(input: $input) { | ||
exports.DisableDrozChatChannelDocument = ` | ||
mutation disableDrozChatChannel($input: DisableDrozChatChannelInput!) { | ||
disableDrozChatChannel(input: $input) { | ||
...drozChatChannel | ||
@@ -208,2 +208,9 @@ } | ||
${exports.DrozChatChannelFragmentDoc}`; | ||
exports.EnableDrozChatChannelDocument = ` | ||
mutation enableDrozChatChannel($input: EnableDrozChatChannelInput!) { | ||
enableDrozChatChannel(input: $input) { | ||
...drozChatChannel | ||
} | ||
} | ||
${exports.DrozChatChannelFragmentDoc}`; | ||
exports.AddDrozChatChannelAgentDocument = ` | ||
@@ -377,5 +384,8 @@ mutation addDrozChatChannelAgent($input: AddDrozChatChannelAgentInput!) { | ||
}, | ||
removeDrozChatChannel(variables, options) { | ||
return requester(exports.RemoveDrozChatChannelDocument, variables, options); | ||
disableDrozChatChannel(variables, options) { | ||
return requester(exports.DisableDrozChatChannelDocument, variables, options); | ||
}, | ||
enableDrozChatChannel(variables, options) { | ||
return requester(exports.EnableDrozChatChannelDocument, variables, options); | ||
}, | ||
addDrozChatChannelAgent(variables, options) { | ||
@@ -382,0 +392,0 @@ return requester(exports.AddDrozChatChannelAgentDocument, variables, options); |
@@ -124,2 +124,3 @@ export type Maybe<T> = T; | ||
name?: InputMaybe<Scalars['String']['input']>; | ||
region?: InputMaybe<Scalars['String']['input']>; | ||
tenantId: Scalars['ID']['input']; | ||
@@ -220,2 +221,3 @@ }; | ||
listGitRepositories: Array<GitRepository>; | ||
listRegions: Array<Region>; | ||
listServices: Array<Maybe<Service>>; | ||
@@ -256,2 +258,5 @@ listTenants: Array<Maybe<Tenant>>; | ||
}; | ||
export type Region = { | ||
name: Scalars['String']['output']; | ||
}; | ||
export type RemoveTenantInput = { | ||
@@ -276,2 +281,3 @@ tenantId: Scalars['ID']['input']; | ||
name?: Maybe<Scalars['String']['output']>; | ||
region: Scalars['String']['output']; | ||
services: Array<Maybe<Service>>; | ||
@@ -312,2 +318,3 @@ tenantId: Scalars['ID']['output']; | ||
export type AwsAccountFragment = Pick<AwsAccount, 'id' | 'name' | 'tenantsCount'>; | ||
export type RegionFragment = Pick<Region, 'name'>; | ||
export type ListAccountsQueryVariables = Exact<{ | ||
@@ -319,2 +326,8 @@ [key: string]: never; | ||
}; | ||
export type ListRegionsQueryVariables = Exact<{ | ||
[key: string]: never; | ||
}>; | ||
export type ListRegionsQuery = { | ||
listRegions: Array<RegionFragment>; | ||
}; | ||
export type ListGitRepositoriesQueryVariables = Exact<{ | ||
@@ -431,2 +444,3 @@ [key: string]: never; | ||
export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n}\n "; | ||
export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n "; | ||
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n "; | ||
@@ -437,2 +451,3 @@ export declare const TenantFragmentDoc = "\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 }\n account {\n id\n name\n }\n}\n "; | ||
export declare const ListAccountsDocument = "\n query listAccounts {\n listAccounts {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n}\n "; | ||
export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n "; | ||
export declare const ListGitRepositoriesDocument = "\n query listGitRepositories {\n listGitRepositories {\n ...gitRepository\n }\n}\n \n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n fragment gitBranch on GitBranch {\n name\n}\n "; | ||
@@ -457,2 +472,3 @@ export declare const ListGitBranchesDocument = "\n query listGitBranches($gitRepositoryId: ID!) {\n listGitBranches(gitRepositoryId: $gitRepositoryId) {\n name\n }\n}\n "; | ||
listAccounts(variables?: ListAccountsQueryVariables, options?: C): Promise<ListAccountsQuery>; | ||
listRegions(variables?: ListRegionsQueryVariables, options?: C): Promise<ListRegionsQuery>; | ||
listGitRepositories(variables?: ListGitRepositoriesQueryVariables, options?: C): Promise<ListGitRepositoriesQuery>; | ||
@@ -459,0 +475,0 @@ listGitBranches(variables: ListGitBranchesQueryVariables, options?: C): Promise<ListGitBranchesQuery>; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.getSdk = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.ListAccountsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.AwsAccountFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.Typenames = exports.DeploymentStatus = exports.DeploymentCommands = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.getSdk = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.RegionFragmentDoc = exports.AwsAccountFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.Typenames = exports.DeploymentStatus = exports.DeploymentCommands = exports.AppInstanceStatus = void 0; | ||
var AppInstanceStatus; | ||
@@ -64,2 +64,7 @@ (function (AppInstanceStatus) { | ||
`; | ||
exports.RegionFragmentDoc = ` | ||
fragment region on Region { | ||
name | ||
} | ||
`; | ||
exports.ServiceFragmentDoc = ` | ||
@@ -121,2 +126,9 @@ fragment service on Service { | ||
${exports.AwsAccountFragmentDoc}`; | ||
exports.ListRegionsDocument = ` | ||
query listRegions { | ||
listRegions { | ||
...region | ||
} | ||
} | ||
${exports.RegionFragmentDoc}`; | ||
exports.ListGitRepositoriesDocument = ` | ||
@@ -256,2 +268,5 @@ query listGitRepositories { | ||
}, | ||
listRegions(variables, options) { | ||
return requester(exports.ListRegionsDocument, variables, options); | ||
}, | ||
listGitRepositories(variables, options) { | ||
@@ -258,0 +273,0 @@ return requester(exports.ListGitRepositoriesDocument, variables, options); |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
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.StorageFragmentDoc = 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; | ||
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = 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.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.AddTagsToSessionAttributesDocument = 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 = exports.GetCustomerDocument = void 0; | ||
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.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionSchemaFragmentDoc = 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; | ||
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = 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.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartSessionDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveCredentialsDocument = void 0; | ||
var AppInstanceStatus; | ||
@@ -187,2 +187,11 @@ (function (AppInstanceStatus) { | ||
`; | ||
exports.SessionSchemaFragmentDoc = ` | ||
fragment sessionSchema on AppSessionSchemaFields { | ||
name | ||
fields { | ||
name | ||
description | ||
} | ||
} | ||
`; | ||
exports.StateMachineConfigStateOnFragmentDoc = ` | ||
@@ -586,2 +595,16 @@ fragment stateMachineConfigStateOn on StateMachineConfigStatesOn { | ||
${exports.CustomerFragmentDoc}`; | ||
exports.GetSessionSchemaDocument = ` | ||
query getSessionSchema($lang: String) { | ||
getSessionSchema(lang: $lang) { | ||
...sessionSchema | ||
} | ||
} | ||
${exports.SessionSchemaFragmentDoc}`; | ||
exports.GetSessionSchemaForAppIdDocument = ` | ||
query getSessionSchemaForAppId($appId: ID!, $lang: String) { | ||
getSessionSchemaForAppId(appId: $appId, lang: $lang) { | ||
...sessionSchema | ||
} | ||
} | ||
${exports.SessionSchemaFragmentDoc}`; | ||
exports.SetSessionAttributeDocument = ` | ||
@@ -837,2 +860,8 @@ mutation setSessionAttribute($input: SetSessionAttributeInput!) { | ||
}, | ||
getSessionSchema(variables, options) { | ||
return requester(exports.GetSessionSchemaDocument, variables, options); | ||
}, | ||
getSessionSchemaForAppId(variables, options) { | ||
return requester(exports.GetSessionSchemaForAppIdDocument, variables, options); | ||
}, | ||
setSessionAttribute(variables, options) { | ||
@@ -839,0 +868,0 @@ return requester(exports.SetSessionAttributeDocument, variables, options); |
Sorry, the diff of this file is too big to display
387994
8440