@droz-js/sdk
Advanced tools
Comparing version 0.4.17 to 0.4.18
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.4.17", | ||
"version": "0.4.18", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -246,3 +246,6 @@ export type Maybe<T> = T; | ||
}; | ||
export type ZendeskInstanceFragment = Pick<ZendeskInstance, 'id' | 'name' | 'domain' | 'credentialId' | 'createdAt' | 'updatedAt'>; | ||
export type ZendeskInstanceFragment = (Pick<ZendeskInstance, 'id' | 'name' | 'domain' | 'credentialId' | 'closedStatuses' | 'createdAt' | 'updatedAt'> & { | ||
appChannelRoleMappings?: Maybe<Array<Pick<ZendeskAppChannelRoleMapping, 'appId' | 'channelId' | 'zendeskRoleId'>>>; | ||
sessionFieldMappings: Array<Pick<ZendeskSessionFieldMapping, 'expression' | 'customFieldId'>>; | ||
}); | ||
export type ZendeskCustomerFragment = Pick<ZendeskCustomer, 'id' | 'name' | 'email' | 'phone' | 'externalId' | 'document' | 'createdAt' | 'updatedAt'>; | ||
@@ -307,6 +310,6 @@ export type GetZendeskInstanceQueryVariables = Exact<{ | ||
}; | ||
export declare const ZendeskInstanceFragmentDoc = "\n fragment zendeskInstance on ZendeskInstance {\n id\n name\n domain\n credentialId\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 }\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 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 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 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 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 "; | ||
@@ -316,5 +319,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 customer {\n ...zendeskCustomer\n }\n order\n products\n organization\n triggerApp {\n id\n name\n description\n }\n }\n}\n \n fragment zendeskCustomer on ZendeskCustomer {\n id\n name\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 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 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 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 type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
@@ -321,0 +324,0 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): { |
@@ -25,2 +25,12 @@ "use strict"; | ||
credentialId | ||
closedStatuses | ||
appChannelRoleMappings { | ||
appId | ||
channelId | ||
zendeskRoleId | ||
} | ||
sessionFieldMappings { | ||
expression | ||
customFieldId | ||
} | ||
createdAt | ||
@@ -27,0 +37,0 @@ updatedAt |
371123
8210