@droz-js/sdk
Advanced tools
Comparing version 0.8.5 to 0.8.6
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.8.5", | ||
"version": "0.8.6", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -6,2 +6,5 @@ export * from './sdks/drozchat'; | ||
} & { | ||
generateAnalyticsToken(variables?: import("./sdks/drozchat").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").GenerateAnalyticsTokenMutation>; | ||
getDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
@@ -8,0 +11,0 @@ id: import("./sdks/drozchat").Scalars["ID"]["input"]; |
@@ -9,2 +9,5 @@ export * from './sdks/drozchat'; | ||
} & { | ||
generateAnalyticsToken(variables?: import("./sdks/drozchat").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/drozchat").GenerateAnalyticsTokenMutation>; | ||
getDrozChatChannel(variables: import("./sdks/drozchat").Exact<{ | ||
@@ -11,0 +14,0 @@ id: import("./sdks/drozchat").Scalars["ID"]["input"]; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.OnTicketMessageDocument = void 0; | ||
exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GenerateAnalyticsTokenDocument = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -252,2 +252,9 @@ var AppInstanceStatus; | ||
`; | ||
exports.GenerateAnalyticsTokenDocument = ` | ||
mutation generateAnalyticsToken { | ||
generateAnalyticsToken { | ||
token | ||
} | ||
} | ||
`; | ||
exports.GetDrozChatChannelDocument = ` | ||
@@ -622,2 +629,5 @@ query getDrozChatChannel($id: ID!) { | ||
return { | ||
generateAnalyticsToken(variables, options) { | ||
return requester(exports.GenerateAnalyticsTokenDocument, variables, options); | ||
}, | ||
getDrozChatChannel(variables, options) { | ||
@@ -624,0 +634,0 @@ return requester(exports.GetDrozChatChannelDocument, variables, options); |
@@ -158,2 +158,3 @@ export type Maybe<T> = T; | ||
administrativeApiSecret?: Maybe<Scalars['String']['output']>; | ||
analyticsJwtSignKey?: Maybe<Scalars['String']['output']>; | ||
mercadoLivreClientId?: Maybe<Scalars['String']['output']>; | ||
@@ -454,2 +455,3 @@ mercadoLivreClientSecret?: Maybe<Scalars['String']['output']>; | ||
administrativeApiSecret?: InputMaybe<Scalars['String']['input']>; | ||
analyticsEncryptionKey?: InputMaybe<Scalars['String']['input']>; | ||
id: Scalars['ID']['input']; | ||
@@ -475,3 +477,3 @@ mercadoLivreClientId?: InputMaybe<Scalars['String']['input']>; | ||
availableRegions: Array<RegionFragment>; | ||
parameters: Pick<AwsAccountParameters, 'administrativeApiSecret' | 'typesenseNodes' | 'typesenseApiKey' | 'openAIApiKey' | 'metaAppId' | 'metaClientSecret' | 'metaConfigurationId' | 'metaWebhookVerificationToken' | 'metaSystemUserId' | 'metaSystemUserToken' | 'mercadoLivreClientId' | 'mercadoLivreClientSecret'>; | ||
parameters: Pick<AwsAccountParameters, 'administrativeApiSecret' | 'typesenseNodes' | 'typesenseApiKey' | 'openAIApiKey' | 'metaAppId' | 'metaClientSecret' | 'metaConfigurationId' | 'metaWebhookVerificationToken' | 'metaSystemUserId' | 'metaSystemUserToken' | 'mercadoLivreClientId' | 'mercadoLivreClientSecret' | 'analyticsJwtSignKey'>; | ||
}); | ||
@@ -632,3 +634,3 @@ export type RegionFragment = Pick<Region, 'name'>; | ||
export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n "; | ||
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 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 analyticsJwtSignKey\n }\n}\n "; | ||
export declare const DeploymentFragmentDoc = "\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 "; | ||
@@ -639,5 +641,5 @@ export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBranch {\n name\n}\n "; | ||
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 automate {\n isEnabled\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 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 \n\n fragment region on Region {\n name\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 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 analyticsJwtSignKey\n }\n}\n \n\n fragment region on Region {\n name\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 UpdateAccountParametersDocument = "\n mutation updateAccountParameters($input: UpdateAccountParametersInput!) {\n updateAccountParameters(input: $input) {\n ...awsAccount\n }\n}\n \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 \n\n fragment region on Region {\n name\n}\n "; | ||
export declare const UpdateAccountParametersDocument = "\n mutation updateAccountParameters($input: UpdateAccountParametersInput!) {\n updateAccountParameters(input: $input) {\n ...awsAccount\n }\n}\n \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 analyticsJwtSignKey\n }\n}\n \n\n fragment region on Region {\n name\n}\n "; | ||
export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig($forDev: Boolean) {\n amplifyConfig(forDev: $forDev)\n}\n "; | ||
@@ -644,0 +646,0 @@ export declare const GetAuthInfoDocument = "\n query getAuthInfo {\n authInfo {\n authenticationEndpoint\n jwtIssuer\n loginUrl\n logoutUrl\n cognitoConfig {\n region\n userPoolId\n userPoolWebClientId\n }\n }\n}\n "; |
@@ -63,2 +63,3 @@ "use strict"; | ||
mercadoLivreClientSecret | ||
analyticsJwtSignKey | ||
} | ||
@@ -65,0 +66,0 @@ } |
Sorry, the diff of this file is too big to display
1413681
28093