@droz-js/sdk
Advanced tools
Comparing version 0.2.8 to 0.2.9
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -62,12 +62,12 @@ export * from './sdks/drozchat'; | ||
[key: string]: never; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketInQueueSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInQueueSubscription>; | ||
onTicketInProgressMine(variables?: import("./sdks/drozchat").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketInProgressMineSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInProgressMineSubscription>; | ||
onTicketClosed(variables?: import("./sdks/drozchat").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketClosedSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketClosedSubscription>; | ||
onTicketMessage(variables: import("./sdks/drozchat").Exact<{ | ||
ticketId: string; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketMessageSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketMessageSubscription>; | ||
}; |
@@ -63,12 +63,12 @@ export * from './sdks/drozchat'; | ||
[key: string]: never; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketInQueueSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInQueueSubscription>; | ||
onTicketInProgressMine(variables?: import("./sdks/drozchat").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketInProgressMineSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInProgressMineSubscription>; | ||
onTicketClosed(variables?: import("./sdks/drozchat").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketClosedSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketClosedSubscription>; | ||
onTicketMessage(variables: import("./sdks/drozchat").Exact<{ | ||
ticketId: string; | ||
}>, options?: unknown): AsyncIterable<import("./sdks/drozchat").OnTicketMessageSubscription>; | ||
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketMessageSubscription>; | ||
}; |
@@ -178,3 +178,3 @@ export type Maybe<T> = T; | ||
export declare const RemoveDrozBotInstanceDocument = "\n mutation removeDrozBotInstance($input: RemoveDrozBotInstanceInput!) {\n removeDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialsId\n isTest\n}\n "; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C, E>(requester: Requester<C, E>): { | ||
@@ -181,0 +181,0 @@ getDrozBotInstance(variables: GetDrozBotInstanceQueryVariables, options?: C): Promise<GetDrozBotInstanceQuery>; |
@@ -499,3 +499,3 @@ export type Maybe<T> = T; | ||
export declare const OnTicketMessageDocument = "\n subscription onTicketMessage($ticketId: ID!) {\n onTicketMessage(ticketId: $ticketId) {\n message {\n ...ticketMessage\n }\n action\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n sentBy\n type\n contentType\n body\n createdAt\n updatedAt\n}\n "; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C, E>(requester: Requester<C, E>): { | ||
@@ -519,8 +519,8 @@ createCustomer(variables: CreateCustomerMutationVariables, options?: C): Promise<CreateCustomerMutation>; | ||
closeTicket(variables: CloseTicketMutationVariables, options?: C): Promise<CloseTicketMutation>; | ||
onTicketInQueue(variables?: OnTicketInQueueSubscriptionVariables, options?: C): AsyncIterable<OnTicketInQueueSubscription>; | ||
onTicketInProgressMine(variables?: OnTicketInProgressMineSubscriptionVariables, options?: C): AsyncIterable<OnTicketInProgressMineSubscription>; | ||
onTicketClosed(variables?: OnTicketClosedSubscriptionVariables, options?: C): AsyncIterable<OnTicketClosedSubscription>; | ||
onTicketMessage(variables: OnTicketMessageSubscriptionVariables, options?: C): AsyncIterable<OnTicketMessageSubscription>; | ||
onTicketInQueue(variables?: OnTicketInQueueSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketInQueueSubscription>; | ||
onTicketInProgressMine(variables?: OnTicketInProgressMineSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketInProgressMineSubscription>; | ||
onTicketClosed(variables?: OnTicketClosedSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketClosedSubscription>; | ||
onTicketMessage(variables: OnTicketMessageSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketMessageSubscription>; | ||
}; | ||
export type Sdk = ReturnType<typeof getSdk>; | ||
export declare const serviceName = "@droz/drozchat"; |
@@ -209,3 +209,3 @@ export type Maybe<T> = T; | ||
export declare const ListAgentGroupsDocument = "\n query listAgentGroups($next: Base64) {\n listAgentGroups(next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...agentGroup\n }\n }\n}\n \n fragment agentGroup on AgentGroup {\n id\n name\n createdAt\n updatedAt\n}\n "; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C, E>(requester: Requester<C, E>): { | ||
@@ -212,0 +212,0 @@ createAgent(variables: CreateAgentMutationVariables, options?: C): Promise<CreateAgentMutation>; |
@@ -182,3 +182,3 @@ export type Maybe<T> = T; | ||
export declare const RemoveMercadoLivreInstanceDocument = "\n mutation removeMercadoLivreInstance($input: RemoveMercadoLivreInstanceInput!) {\n removeMercadoLivreInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on MercadoLivreInstance {\n id\n name\n credentialId\n cronJobId\n}\n "; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C, E>(requester: Requester<C, E>): { | ||
@@ -185,0 +185,0 @@ getMercadoLivreInstance(variables: GetMercadoLivreInstanceQueryVariables, options?: C): Promise<GetMercadoLivreInstanceQuery>; |
@@ -736,3 +736,3 @@ export type Maybe<T> = T; | ||
export declare const RemoveStateMachineConfigStateDocument = "\n mutation removeStateMachineConfigState($input: RemoveStateMachineConfigStateInput!) {\n removeStateMachineConfigState(input: $input) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n}\n \n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n "; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C, E>(requester: Requester<C, E>): { | ||
@@ -739,0 +739,0 @@ getApp(variables: GetAppQueryVariables, options?: C): Promise<GetAppQuery>; |
@@ -176,3 +176,3 @@ export type Maybe<T> = T; | ||
export declare const RemoveReclameAquiInstanceDocument = "\n mutation removeReclameAquiInstance($input: RemoveReclameAquiInstanceInput!) {\n removeReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n cronJobId\n}\n "; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C, E>(requester: Requester<C, E>): { | ||
@@ -179,0 +179,0 @@ getReclameAquiInstance(variables: GetReclameAquiInstanceQueryVariables, options?: C): Promise<GetReclameAquiInstanceQuery>; |
@@ -193,3 +193,3 @@ export type Maybe<T> = T; | ||
export declare const RemoveZendeskInstanceDocument = "\n mutation removeZendeskInstance($input: RemoveZendeskInstanceInput!) {\n removeZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n domain\n credentialId\n}\n "; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>; | ||
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C, E>(requester: Requester<C, E>): { | ||
@@ -196,0 +196,0 @@ getZendeskInstance(variables: GetZendeskInstanceQueryVariables, options?: C): Promise<GetZendeskInstanceQuery>; |
201469