@droz-js/sdk
Advanced tools
Comparing version 0.6.20 to 0.6.21
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.6.20", | ||
"version": "0.6.21", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -199,3 +199,3 @@ export type Maybe<T> = T; | ||
createdAt: Scalars['DateTime']['output']; | ||
createdBy: Scalars['String']['output']; | ||
createdBy?: Maybe<Scalars['String']['output']>; | ||
description?: Maybe<Scalars['String']['output']>; | ||
@@ -202,0 +202,0 @@ edges: Array<Edge>; |
@@ -299,3 +299,4 @@ export type Maybe<T> = T; | ||
channelId: Scalars['String']['output']; | ||
zendeskRoleId: Scalars['Float']['output']; | ||
zendeskAuthorizedUserTags?: Maybe<Array<Scalars['String']['output']>>; | ||
zendeskRoleId?: Maybe<Scalars['Float']['output']>; | ||
}; | ||
@@ -305,3 +306,4 @@ export type ZendeskAppChannelRoleMappingInput = { | ||
channelId: Scalars['String']['input']; | ||
zendeskRoleId: Scalars['Float']['input']; | ||
zendeskAuthorizedUserTags?: InputMaybe<Array<Scalars['String']['input']>>; | ||
zendeskRoleId?: InputMaybe<Scalars['Float']['input']>; | ||
}; | ||
@@ -362,3 +364,3 @@ export type ZendeskCustomField = { | ||
export type ZendeskInstanceFragment = (Pick<ZendeskInstance, 'id' | 'name' | 'domain' | 'credentialId' | 'closedStatuses' | 'createdAt' | 'updatedAt'> & { | ||
appChannelRoleMappings?: Maybe<Array<Pick<ZendeskAppChannelRoleMapping, 'appId' | 'channelId' | 'zendeskRoleId'>>>; | ||
appChannelRoleMappings?: Maybe<Array<Pick<ZendeskAppChannelRoleMapping, 'appId' | 'channelId' | 'zendeskRoleId' | 'zendeskAuthorizedUserTags'>>>; | ||
sessionFieldMappings: Array<Pick<ZendeskSessionFieldMapping, 'expression' | 'customFieldId'>>; | ||
@@ -425,6 +427,6 @@ }); | ||
}; | ||
export declare const ZendeskInstanceFragmentDoc = "\n fragment zendeskInstance on ZendeskInstance {\n id\n name\n domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\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 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 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 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 domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\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 domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\n }\n sessionFieldMappings {\n expression\n customFieldId\n }\n createdAt\n updatedAt\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 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 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 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 "; | ||
@@ -434,5 +436,5 @@ export declare const ListZendeskRolesDocument = "\n query listZendeskRoles($credentialId: ID!, $domain: String!) {\n listZendeskRoles(credentialId: $credentialId, domain: $domain) {\n id\n name\n }\n}\n "; | ||
export declare const GetTicketSessionAttributesDocument = "\n query getTicketSessionAttributes($ticketId: ID!) {\n getTicketSessionAttributes(ticketId: $ticketId) {\n sessionId\n instanceId\n organization\n customer {\n ...zendeskCustomer\n }\n source\n order\n products\n triggerApp {\n id\n name\n description\n }\n }\n}\n \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 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 domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\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 domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\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 domain\n credentialId\n closedStatuses\n appChannelRoleMappings {\n appId\n channelId\n zendeskRoleId\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 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 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 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 type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
@@ -439,0 +441,0 @@ export declare function getSdk<C>(requester: Requester<C>): { |
@@ -37,2 +37,3 @@ "use strict"; | ||
zendeskRoleId | ||
zendeskAuthorizedUserTags | ||
} | ||
@@ -39,0 +40,0 @@ sessionFieldMappings { |
651732
14535