@droz-js/sdk
Advanced tools
Comparing version 0.9.4 to 0.9.5
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -208,2 +208,3 @@ export type Maybe<T> = T; | ||
endDate: Scalars['Date']['input']; | ||
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
startDate: Scalars['Date']['input']; | ||
@@ -213,2 +214,3 @@ }; | ||
endDate: Scalars['Date']['input']; | ||
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
startDate: Scalars['Date']['input']; | ||
@@ -218,2 +220,3 @@ }; | ||
endDate: Scalars['Date']['input']; | ||
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
startDate: Scalars['Date']['input']; | ||
@@ -223,2 +226,3 @@ }; | ||
endDate: Scalars['Date']['input']; | ||
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
startDate: Scalars['Date']['input']; | ||
@@ -228,2 +232,3 @@ }; | ||
endDate: Scalars['Date']['input']; | ||
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
startDate: Scalars['Date']['input']; | ||
@@ -233,2 +238,3 @@ }; | ||
date: Scalars['Date']['input']; | ||
filters?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
}; | ||
@@ -282,2 +288,13 @@ export type SearchResultsFacet = { | ||
}; | ||
export type TicketAnalyticsFilterInput = { | ||
AND?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
OR?: InputMaybe<Array<TicketAnalyticsFilterInput>>; | ||
assigneeId?: InputMaybe<StringMatcherInput>; | ||
channelId?: InputMaybe<StringMatcherInput>; | ||
customerId?: InputMaybe<StringMatcherInput>; | ||
priority?: InputMaybe<StringMatcherInput>; | ||
state?: InputMaybe<StringMatcherInput>; | ||
status?: InputMaybe<StringMatcherInput>; | ||
tags?: InputMaybe<StringMatcherInput>; | ||
}; | ||
export declare enum Typenames { | ||
@@ -284,0 +301,0 @@ Any = "Any", |
@@ -161,2 +161,3 @@ export type Maybe<T> = T; | ||
removeZendeskInstance?: Maybe<ZendeskInstance>; | ||
switchDisableSyncTag?: Maybe<Scalars['Void']['output']>; | ||
updateZendeskInstance?: Maybe<ZendeskInstance>; | ||
@@ -175,2 +176,5 @@ validateZendeskInstance: ValidateZendeskInstancePayload; | ||
}; | ||
export type MutationSwitchDisableSyncTagArgs = { | ||
input: SwitchDisableSyncTagInput; | ||
}; | ||
export type MutationUpdateZendeskInstanceArgs = { | ||
@@ -287,2 +291,5 @@ input: UpdateZendeskInstanceInput; | ||
}; | ||
export type SwitchDisableSyncTagInput = { | ||
ticketId: Scalars['ID']['input']; | ||
}; | ||
export type TriggerApp = { | ||
@@ -427,2 +434,6 @@ description?: Maybe<Scalars['String']['output']>; | ||
}; | ||
export type SwitchDisableSyncTagMutationVariables = Exact<{ | ||
input: SwitchDisableSyncTagInput; | ||
}>; | ||
export type SwitchDisableSyncTagMutation = Pick<Mutation, 'switchDisableSyncTag'>; | ||
export type CreateZendeskInstanceMutationVariables = Exact<{ | ||
@@ -454,2 +465,3 @@ input: CreateZendeskInstanceInput; | ||
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 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 "; | ||
@@ -466,2 +478,3 @@ 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 "; | ||
getTicketSessionAttributes(variables: GetTicketSessionAttributesQueryVariables, options?: C): Promise<GetTicketSessionAttributesQuery>; | ||
switchDisableSyncTag(variables: SwitchDisableSyncTagMutationVariables, options?: C): Promise<SwitchDisableSyncTagMutation>; | ||
createZendeskInstance(variables: CreateZendeskInstanceMutationVariables, options?: C): Promise<CreateZendeskInstanceMutation>; | ||
@@ -468,0 +481,0 @@ updateZendeskInstance(variables: UpdateZendeskInstanceMutationVariables, options?: C): Promise<UpdateZendeskInstanceMutation>; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.RemoveZendeskInstanceDocument = exports.UpdateZendeskInstanceDocument = exports.CreateZendeskInstanceDocument = exports.GetTicketSessionAttributesDocument = exports.AssertCanUserInteractDocument = exports.ListZendeskRolesDocument = exports.ListZendeskTicketCustomFieldsDocument = exports.ListZendeskInstancesDocument = exports.GetZendeskInstanceDocument = exports.ZendeskCustomerFragmentDoc = exports.ZendeskInstanceFragmentDoc = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.RemoveZendeskInstanceDocument = exports.UpdateZendeskInstanceDocument = exports.CreateZendeskInstanceDocument = exports.SwitchDisableSyncTagDocument = exports.GetTicketSessionAttributesDocument = exports.AssertCanUserInteractDocument = exports.ListZendeskRolesDocument = exports.ListZendeskTicketCustomFieldsDocument = exports.ListZendeskInstancesDocument = exports.GetZendeskInstanceDocument = exports.ZendeskCustomerFragmentDoc = exports.ZendeskInstanceFragmentDoc = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -120,2 +120,7 @@ var AppInstanceStatus; | ||
${exports.ZendeskCustomerFragmentDoc}`; | ||
exports.SwitchDisableSyncTagDocument = ` | ||
mutation switchDisableSyncTag($input: SwitchDisableSyncTagInput!) { | ||
switchDisableSyncTag(input: $input) | ||
} | ||
`; | ||
exports.CreateZendeskInstanceDocument = ` | ||
@@ -162,2 +167,5 @@ mutation createZendeskInstance($input: CreateZendeskInstanceInput!) { | ||
}, | ||
switchDisableSyncTag(variables, options) { | ||
return requester(exports.SwitchDisableSyncTagDocument, variables, options); | ||
}, | ||
createZendeskInstance(variables, options) { | ||
@@ -164,0 +172,0 @@ return requester(exports.CreateZendeskInstanceDocument, variables, options); |
@@ -30,2 +30,5 @@ export * from './sdks/zendesk'; | ||
}>, options?: unknown): Promise<import("./sdks/zendesk").GetTicketSessionAttributesQuery>; | ||
switchDisableSyncTag(variables: import("./sdks/zendesk").Exact<{ | ||
input: import("./sdks/zendesk").SwitchDisableSyncTagInput; | ||
}>, options?: unknown): Promise<import("./sdks/zendesk").SwitchDisableSyncTagMutation>; | ||
createZendeskInstance(variables: import("./sdks/zendesk").Exact<{ | ||
@@ -32,0 +35,0 @@ input: import("./sdks/zendesk").CreateZendeskInstanceInput; |
1451761
28981