@droz-js/sdk
Advanced tools
Comparing version 0.4.13 to 0.4.14
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.4.13", | ||
"version": "0.4.14", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -182,2 +182,3 @@ export type Maybe<T> = T; | ||
createdAt: Scalars['DateTime']['output']; | ||
document?: Maybe<Scalars['String']['output']>; | ||
email: Scalars['String']['output']; | ||
@@ -220,2 +221,3 @@ externalId?: Maybe<Scalars['ID']['output']>; | ||
export type ZendeskInstanceFragment = Pick<ZendeskInstance, 'id' | 'name' | 'domain' | 'credentialId' | 'createdAt' | 'updatedAt'>; | ||
export type ZendeskCustomerFragment = Pick<ZendeskCustomer, 'id' | 'name' | 'email' | 'phone' | 'externalId' | 'document' | 'createdAt' | 'updatedAt'>; | ||
export type GetZendeskInstanceQueryVariables = Exact<{ | ||
@@ -238,3 +240,3 @@ id: Scalars['ID']['input']; | ||
getTicketSessionAttributes?: Maybe<(Pick<ZendeskTicketSessionAttributes, 'sessionId' | 'instanceId' | 'order' | 'products' | 'organization'> & { | ||
customer: Pick<ZendeskCustomer, 'id' | 'name' | 'email' | 'phone' | 'createdAt' | 'updatedAt'>; | ||
customer: ZendeskCustomerFragment; | ||
triggerApp: Pick<TriggerApp, 'id' | 'name' | 'description'>; | ||
@@ -262,5 +264,6 @@ })>; | ||
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 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 GetTicketSessionAttributesDocument = "\n query getTicketSessionAttributes($ticketId: ID!) {\n getTicketSessionAttributes(ticketId: $ticketId) {\n sessionId\n instanceId\n customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n }\n order\n products\n organization\n triggerApp {\n id\n name\n description\n }\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 "; | ||
@@ -267,0 +270,0 @@ 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 "; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.getSdk = exports.RemoveZendeskInstanceDocument = exports.UpdateZendeskInstanceDocument = exports.CreateZendeskInstanceDocument = exports.GetTicketSessionAttributesDocument = exports.ListZendeskInstancesDocument = exports.GetZendeskInstanceDocument = exports.ZendeskInstanceFragmentDoc = exports.Typenames = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.getSdk = exports.RemoveZendeskInstanceDocument = exports.UpdateZendeskInstanceDocument = exports.CreateZendeskInstanceDocument = exports.GetTicketSessionAttributesDocument = exports.ListZendeskInstancesDocument = exports.GetZendeskInstanceDocument = exports.ZendeskCustomerFragmentDoc = exports.ZendeskInstanceFragmentDoc = exports.Typenames = exports.AppInstanceStatus = void 0; | ||
var AppInstanceStatus; | ||
@@ -29,2 +29,14 @@ (function (AppInstanceStatus) { | ||
`; | ||
exports.ZendeskCustomerFragmentDoc = ` | ||
fragment zendeskCustomer on ZendeskCustomer { | ||
id | ||
name | ||
phone | ||
externalId | ||
document | ||
createdAt | ||
updatedAt | ||
} | ||
`; | ||
exports.GetZendeskInstanceDocument = ` | ||
@@ -50,8 +62,3 @@ query getZendeskInstance($id: ID!) { | ||
customer { | ||
id | ||
name | ||
phone | ||
createdAt | ||
updatedAt | ||
...zendeskCustomer | ||
} | ||
@@ -68,3 +75,3 @@ order | ||
} | ||
`; | ||
${exports.ZendeskCustomerFragmentDoc}`; | ||
exports.CreateZendeskInstanceDocument = ` | ||
@@ -71,0 +78,0 @@ mutation createZendeskInstance($input: CreateZendeskInstanceInput!) { |
361990
8042