Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@droz-js/sdk

Package Overview
Dependencies
Maintainers
4
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@droz-js/sdk - npm Package Compare versions

Comparing version 0.4.15 to 0.4.16

2

package.json
{
"name": "@droz-js/sdk",
"description": "Droz SDK",
"version": "0.4.15",
"version": "0.4.16",
"private": false,

@@ -6,0 +6,0 @@ "exports": {

@@ -260,2 +260,21 @@ export type Maybe<T> = T;

};
export type ListZendeskTicketCustomFieldsQueryVariables = Exact<{
credentialId: Scalars['ID']['input'];
domain: Scalars['String']['input'];
}>;
export type ListZendeskTicketCustomFieldsQuery = {
listZendeskTicketCustomFields: Array<Pick<ZendeskCustomField, 'id' | 'title' | 'type' | 'active' | 'required'>>;
};
export type ListZendeskRolesQueryVariables = Exact<{
credentialId: Scalars['ID']['input'];
domain: Scalars['String']['input'];
}>;
export type ListZendeskRolesQuery = {
listZendeskRoles: Array<Pick<ZendeskRole, 'id' | 'name'>>;
};
export type AssertCanUserInteractQueryVariables = Exact<{
ticketId: Scalars['ID']['input'];
userId: Scalars['Float']['input'];
}>;
export type AssertCanUserInteractQuery = Pick<Query, 'assertCanUserInteract'>;
export type GetTicketSessionAttributesQueryVariables = Exact<{

@@ -292,2 +311,5 @@ ticketId: Scalars['ID']['input'];

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 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 ListZendeskRolesDocument = "\n query listZendeskRoles($credentialId: ID!, $domain: String!) {\n listZendeskRoles(credentialId: $credentialId, domain: $domain) {\n id\n name\n }\n}\n ";
export declare const AssertCanUserInteractDocument = "\n query assertCanUserInteract($ticketId: ID!, $userId: Float!) {\n assertCanUserInteract(ticketId: $ticketId, userId: $userId)\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 ";

@@ -301,2 +323,5 @@ 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 ";

listZendeskInstances(variables?: ListZendeskInstancesQueryVariables, options?: C): Promise<ListZendeskInstancesQuery>;
listZendeskTicketCustomFields(variables: ListZendeskTicketCustomFieldsQueryVariables, options?: C): Promise<ListZendeskTicketCustomFieldsQuery>;
listZendeskRoles(variables: ListZendeskRolesQueryVariables, options?: C): Promise<ListZendeskRolesQuery>;
assertCanUserInteract(variables: AssertCanUserInteractQueryVariables, options?: C): Promise<AssertCanUserInteractQuery>;
getTicketSessionAttributes(variables: GetTicketSessionAttributesQueryVariables, options?: C): Promise<GetTicketSessionAttributesQuery>;

@@ -303,0 +328,0 @@ createZendeskInstance(variables: CreateZendeskInstanceMutationVariables, options?: C): Promise<CreateZendeskInstanceMutation>;

"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.ZendeskCustomerFragmentDoc = exports.ZendeskInstanceFragmentDoc = exports.Typenames = exports.AppInstanceStatus = void 0;
exports.serviceName = exports.getSdk = 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.AppInstanceStatus = void 0;
var AppInstanceStatus;

@@ -55,2 +55,26 @@ (function (AppInstanceStatus) {

${exports.ZendeskInstanceFragmentDoc}`;
exports.ListZendeskTicketCustomFieldsDocument = `
query listZendeskTicketCustomFields($credentialId: ID!, $domain: String!) {
listZendeskTicketCustomFields(credentialId: $credentialId, domain: $domain) {
id
title
type
active
required
}
}
`;
exports.ListZendeskRolesDocument = `
query listZendeskRoles($credentialId: ID!, $domain: String!) {
listZendeskRoles(credentialId: $credentialId, domain: $domain) {
id
name
}
}
`;
exports.AssertCanUserInteractDocument = `
query assertCanUserInteract($ticketId: ID!, $userId: Float!) {
assertCanUserInteract(ticketId: $ticketId, userId: $userId)
}
`;
exports.GetTicketSessionAttributesDocument = `

@@ -104,2 +128,11 @@ query getTicketSessionAttributes($ticketId: ID!) {

},
listZendeskTicketCustomFields(variables, options) {
return requester(exports.ListZendeskTicketCustomFieldsDocument, variables, options);
},
listZendeskRoles(variables, options) {
return requester(exports.ListZendeskRolesDocument, variables, options);
},
assertCanUserInteract(variables, options) {
return requester(exports.AssertCanUserInteractDocument, variables, options);
},
getTicketSessionAttributes(variables, options) {

@@ -106,0 +139,0 @@ return requester(exports.GetTicketSessionAttributesDocument, variables, options);

@@ -14,2 +14,14 @@ export * from './sdks/zendesk';

}>, options?: unknown): Promise<import("./sdks/zendesk").ListZendeskInstancesQuery>;
listZendeskTicketCustomFields(variables: import("./sdks/zendesk").Exact<{
credentialId: string;
domain: string;
}>, options?: unknown): Promise<import("./sdks/zendesk").ListZendeskTicketCustomFieldsQuery>;
listZendeskRoles(variables: import("./sdks/zendesk").Exact<{
credentialId: string;
domain: string;
}>, options?: unknown): Promise<import("./sdks/zendesk").ListZendeskRolesQuery>;
assertCanUserInteract(variables: import("./sdks/zendesk").Exact<{
ticketId: string;
userId: number;
}>, options?: unknown): Promise<import("./sdks/zendesk").AssertCanUserInteractQuery>;
getTicketSessionAttributes(variables: import("./sdks/zendesk").Exact<{

@@ -16,0 +28,0 @@ ticketId: string;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc