@droz-js/sdk
Advanced tools
Comparing version 0.9.31 to 0.9.32
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.9.31", | ||
"version": "0.9.32", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -143,2 +143,3 @@ export type Maybe<T> = T; | ||
appChannelRoleMappings?: InputMaybe<Array<ZendeskAppChannelRoleMappingInput>>; | ||
autoClosePrivateChannel?: InputMaybe<Scalars['Boolean']['input']>; | ||
closedStatuses: Array<Scalars['String']['input']>; | ||
@@ -320,2 +321,3 @@ credentialId?: InputMaybe<Scalars['ID']['input']>; | ||
appChannelRoleMappings?: InputMaybe<Array<ZendeskAppChannelRoleMappingInput>>; | ||
autoClosePrivateChannel?: InputMaybe<Scalars['Boolean']['input']>; | ||
closedStatuses?: InputMaybe<Array<Scalars['String']['input']>>; | ||
@@ -367,2 +369,3 @@ credentialId?: InputMaybe<Scalars['ID']['input']>; | ||
appChannelRoleMappings?: Maybe<Array<ZendeskAppChannelRoleMapping>>; | ||
autoClosePrivateChannel: Scalars['Boolean']['output']; | ||
closedStatuses: Array<Scalars['String']['output']>; | ||
@@ -401,2 +404,3 @@ createdAt: Scalars['DateTime']['output']; | ||
export type ZendeskTicketComment = { | ||
attachments?: Maybe<Array<Scalars['JSON']['output']>>; | ||
author_id: Scalars['String']['output']; | ||
@@ -406,2 +410,3 @@ body: Scalars['String']['output']; | ||
public: Scalars['Boolean']['output']; | ||
via?: Maybe<Scalars['JSON']['output']>; | ||
}; | ||
@@ -437,3 +442,3 @@ export type ZendeskTicketDetails = { | ||
}; | ||
export type ZendeskInstanceFragment = (Pick<ZendeskInstance, 'id' | 'name' | 'drn' | 'domain' | 'credentialId' | 'closedStatuses' | 'createdAt' | 'updatedAt'> & { | ||
export type ZendeskInstanceFragment = (Pick<ZendeskInstance, 'id' | 'name' | 'drn' | 'domain' | 'credentialId' | 'closedStatuses' | 'autoClosePrivateChannel' | 'createdAt' | 'updatedAt'> & { | ||
appChannelRoleMappings?: Maybe<Array<Pick<ZendeskAppChannelRoleMapping, 'appId' | 'channelId' | 'zendeskRoleId' | 'zendeskAuthorizedUserTags'>>>; | ||
@@ -445,3 +450,3 @@ sessionFieldMappings: Array<Pick<ZendeskSessionFieldMapping, 'expression' | 'customFieldId'>>; | ||
export type ZendeskTicketDetailsFragment = (Pick<ZendeskTicketDetails, 'id' | 'subject' | 'status' | 'tags' | 'externalId' | 'via'> & { | ||
comments: Array<Pick<ZendeskTicketComment, 'id' | 'author_id' | 'body' | 'public'>>; | ||
comments: Array<Pick<ZendeskTicketComment, 'id' | 'author_id' | 'body' | 'public' | 'attachments' | 'via'>>; | ||
}); | ||
@@ -529,10 +534,10 @@ export type GetZendeskInstanceQueryVariables = Exact<{ | ||
}; | ||
export declare const ZendeskInstanceFragmentDoc = "\n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n createdAt\n updatedAt\n}\n "; | ||
export declare const ZendeskInstanceFragmentDoc = "\n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n "; | ||
export declare const ZendeskCustomerFragmentDoc = "\n fragment zendeskCustomer on ZendeskCustomer {\n id\n name\n alternateName\n email\n phone\n externalId\n document\n createdAt\n updatedAt\n}\n "; | ||
export declare const ZendeskTicketInteractionFragmentDoc = "\n fragment zendeskTicketInteraction on ZendeskTicketInteraction {\n id\n ticketId\n instanceId\n sessionId\n createdAt\n updatedAt\n}\n "; | ||
export declare const ZendeskTicketDetailsFragmentDoc = "\n fragment zendeskTicketDetails on ZendeskTicketDetails {\n id\n subject\n status\n comments {\n id\n author_id\n body\n public\n }\n tags\n externalId\n via\n}\n "; | ||
export declare const GetZendeskInstanceDocument = "\n query getZendeskInstance($id: ID!) {\n getZendeskInstance(id: $id) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n createdAt\n updatedAt\n}\n "; | ||
export declare const ListZendeskInstancesDocument = "\n query listZendeskInstances {\n listZendeskInstances {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n createdAt\n updatedAt\n}\n "; | ||
export declare const ZendeskTicketDetailsFragmentDoc = "\n fragment zendeskTicketDetails on ZendeskTicketDetails {\n id\n subject\n status\n comments {\n id\n author_id\n body\n public\n attachments\n via\n }\n tags\n externalId\n via\n}\n "; | ||
export declare const GetZendeskInstanceDocument = "\n query getZendeskInstance($id: ID!) {\n getZendeskInstance(id: $id) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n "; | ||
export declare const ListZendeskInstancesDocument = "\n query listZendeskInstances {\n listZendeskInstances {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n "; | ||
export declare const ListZendeskTicketCustomFieldsDocument = "\n query listZendeskTicketCustomFields($credentialId: ID!, $domain: String!) {\n listZendeskTicketCustomFields(credentialId: $credentialId, domain: $domain) {\n id\n title\n type\n active\n required\n }\n}\n "; | ||
export declare const ListZendeskTicketDetailsDocument = "\n query listZendeskTicketDetails($ticketId: ID!) {\n listZendeskTicketDetails(ticketId: $ticketId) {\n ...zendeskTicketDetails\n }\n}\n \n fragment zendeskTicketDetails on ZendeskTicketDetails {\n id\n subject\n status\n comments {\n id\n author_id\n body\n public\n }\n tags\n externalId\n via\n}\n "; | ||
export declare const ListZendeskTicketDetailsDocument = "\n query listZendeskTicketDetails($ticketId: ID!) {\n listZendeskTicketDetails(ticketId: $ticketId) {\n ...zendeskTicketDetails\n }\n}\n \n fragment zendeskTicketDetails on ZendeskTicketDetails {\n id\n subject\n status\n comments {\n id\n author_id\n body\n public\n attachments\n via\n }\n tags\n externalId\n via\n}\n "; | ||
export declare const ListZendeskRolesDocument = "\n query listZendeskRoles($credentialId: ID!, $domain: String!) {\n listZendeskRoles(credentialId: $credentialId, domain: $domain) {\n id\n name\n }\n}\n "; | ||
@@ -544,5 +549,5 @@ export declare const AssertCanUserInteractDocument = "\n query assertCanUserInteract($ticketId: ID!, $userId: Float!) {\n assertCanUserInteract(ticketId: $ticketId, userId: $userId)\n}\n "; | ||
export declare const SwitchDisableSyncTagDocument = "\n mutation switchDisableSyncTag($input: SwitchDisableSyncTagInput!) {\n switchDisableSyncTag(input: $input)\n}\n "; | ||
export declare const CreateZendeskInstanceDocument = "\n mutation createZendeskInstance($input: CreateZendeskInstanceInput!) {\n createZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n createdAt\n updatedAt\n}\n "; | ||
export declare const UpdateZendeskInstanceDocument = "\n mutation updateZendeskInstance($input: UpdateZendeskInstanceInput!) {\n updateZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n createdAt\n updatedAt\n}\n "; | ||
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 drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n createdAt\n updatedAt\n}\n "; | ||
export declare const CreateZendeskInstanceDocument = "\n mutation createZendeskInstance($input: CreateZendeskInstanceInput!) {\n createZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n "; | ||
export declare const UpdateZendeskInstanceDocument = "\n mutation updateZendeskInstance($input: UpdateZendeskInstanceInput!) {\n updateZendeskInstance(input: $input) {\n ...zendeskInstance\n }\n}\n \n fragment zendeskInstance on ZendeskInstance {\n id\n name\n drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n "; | ||
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 drn\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n zendeskAuthorizedUserTags\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n autoClosePrivateChannel\n createdAt\n updatedAt\n}\n "; | ||
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
@@ -549,0 +554,0 @@ export declare function getSdk<C>(requester: Requester<C>): { |
@@ -45,2 +45,3 @@ "use strict"; | ||
} | ||
autoClosePrivateChannel | ||
createdAt | ||
@@ -83,2 +84,4 @@ updatedAt | ||
public | ||
attachments | ||
via | ||
} | ||
@@ -85,0 +88,0 @@ tags |
1543932
30844