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

@droz-js/sdk

Package Overview
Dependencies
Maintainers
3
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.6.4 to 0.6.5

src/sdks/whatsapp.d.ts

2

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

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

@@ -37,6 +37,6 @@ export * from './sdks/drozchat';

createTags(variables: import("./sdks/drozchat").Exact<{
input: import("./sdks/drozchat").CreateTagInput;
input: import("./sdks/drozchat").CreateTicketTagInput;
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTagsMutation>;
deleteTags(variables: import("./sdks/drozchat").Exact<{
input: import("./sdks/drozchat").DeleteTagInput;
input: import("./sdks/drozchat").DeleteTicketTagInput;
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteTagsMutation>;

@@ -43,0 +43,0 @@ getTicket(variables: import("./sdks/drozchat").Exact<{

@@ -40,6 +40,6 @@ export * from './sdks/drozchat';

createTags(variables: import("./sdks/drozchat").Exact<{
input: import("./sdks/drozchat").CreateTagInput;
input: import("./sdks/drozchat").CreateTicketTagInput;
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTagsMutation>;
deleteTags(variables: import("./sdks/drozchat").Exact<{
input: import("./sdks/drozchat").DeleteTagInput;
input: import("./sdks/drozchat").DeleteTicketTagInput;
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteTagsMutation>;

@@ -46,0 +46,0 @@ getTicket(variables: import("./sdks/drozchat").Exact<{

@@ -32,2 +32,5 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus';

}>, options?: unknown): Promise<import("./sdks/nucleus").CreateApiKeyAgentMutation>;
createSystemApiKeyAgent(variables: import("./sdks/nucleus").Exact<{
input: import("./sdks/nucleus").CreateApiKeyAgentInput;
}>, options?: unknown): Promise<import("./sdks/nucleus").CreateSystemApiKeyAgentMutation>;
updateAgent(variables: import("./sdks/nucleus").Exact<{

@@ -39,2 +42,5 @@ input: import("./sdks/nucleus").UpdateAgentInput;

}>, options?: unknown): Promise<import("./sdks/nucleus").RemoveAgentMutation>;
removeSystemApiKeyAgent(variables: import("./sdks/nucleus").Exact<{
input: import("./sdks/nucleus").RemoveAgentInput;
}>, options?: unknown): Promise<import("./sdks/nucleus").RemoveSystemApiKeyAgentMutation>;
addRoleToAgent(variables: import("./sdks/nucleus").Exact<{

@@ -95,2 +101,5 @@ input: import("./sdks/nucleus").AddRoleToAgentInput;

}>, options?: unknown): Promise<import("./sdks/nucleus").CreateCredentialsMutation>;
createSystemCredentials(variables: import("./sdks/nucleus").Exact<{
input: import("./sdks/nucleus").CreateCredentialsInput;
}>, options?: unknown): Promise<import("./sdks/nucleus").CreateSystemCredentialsMutation>;
updateCredentials(variables: import("./sdks/nucleus").Exact<{

@@ -102,2 +111,5 @@ input: import("./sdks/nucleus").UpdateCredentialsInput;

}>, options?: unknown): Promise<import("./sdks/nucleus").RemoveCredentialsMutation>;
removeSystemCredentials(variables: import("./sdks/nucleus").Exact<{
input: import("./sdks/nucleus").RemoveCredentialsInput;
}>, options?: unknown): Promise<import("./sdks/nucleus").RemoveSystemCredentialsMutation>;
getCustomer(variables: import("./sdks/nucleus").Exact<{

@@ -104,0 +116,0 @@ identifier: string;

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -158,7 +166,7 @@ input: void;

samples: Array<Scalars['String']['output']>;
transition: Scalars['String']['output'];
transition: Scalars['VariableName']['output'];
};
export type NlpOptionInput = {
samples: Array<Scalars['String']['input']>;
transition: Scalars['String']['input'];
transition: Scalars['VariableName']['input'];
};

@@ -224,3 +232,3 @@ export type NumberFilterInput = {

confidence?: Maybe<Scalars['Float']['output']>;
transition?: Maybe<Scalars['String']['output']>;
transition?: Maybe<Scalars['VariableName']['output']>;
};

@@ -227,0 +235,0 @@ export declare enum Typenames {

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -107,0 +115,0 @@ input: void;

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -107,0 +115,0 @@ input: void;

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -107,0 +115,0 @@ input: void;

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -143,5 +151,2 @@ input: void;

};
export type CreateTagInput = {
tags: Array<Scalars['String']['input']>;
};
export type CreateTicketInput = {

@@ -163,5 +168,8 @@ channelId: Scalars['ID']['input'];

};
export type DeleteTagInput = {
export type CreateTicketTagInput = {
tags: Array<Scalars['String']['input']>;
};
export type DeleteTicketTagInput = {
tags: Array<Scalars['String']['input']>;
};
export type DisableDrozChatChannelInput = {

@@ -214,7 +222,7 @@ id: Scalars['ID']['input'];

createDrozChatChannel?: Maybe<DrozChatChannel>;
createTags: Array<Tag>;
createTags: Array<TicketTag>;
createTicket: Ticket;
createTicketMessage: TicketMessage;
createTicketMessageForStorage: TicketMessage;
deleteTags: Array<Tag>;
deleteTags: Array<Maybe<TicketTag>>;
disableDrozChatChannel?: Maybe<DrozChatChannel>;

@@ -250,3 +258,3 @@ enableDrozChatChannel?: Maybe<DrozChatChannel>;

export type MutationCreateTagsArgs = {
input: CreateTagInput;
input: CreateTicketTagInput;
};

@@ -263,3 +271,3 @@ export type MutationCreateTicketArgs = {

export type MutationDeleteTagsArgs = {
input: DeleteTagInput;
input: DeleteTicketTagInput;
};

@@ -314,3 +322,3 @@ export type MutationDisableDrozChatChannelArgs = {

listDrozChatChannels: Array<DrozChatChannel>;
listTags: TagsConnection;
listTags: TicketTagsConnection;
listTicketMessages: TicketMessagesConnection;

@@ -406,12 +414,2 @@ listTickets: TicketsConnection;

}
export type Tag = {
createdAt: Scalars['DateTime']['output'];
createdBy?: Maybe<DrozChatAgent>;
name: Scalars['String']['output'];
updatedAt: Scalars['DateTime']['output'];
};
export type TagsConnection = {
nodes: Array<Tag>;
pageInfo: PageInfo;
};
export type Ticket = {

@@ -526,2 +524,12 @@ assignee?: Maybe<DrozChatAgent>;

};
export type TicketTag = {
createdAt: Scalars['DateTime']['output'];
createdBy?: Maybe<DrozChatAgent>;
name: Scalars['Tag']['output'];
updatedAt: Scalars['DateTime']['output'];
};
export type TicketTagsConnection = {
nodes: Array<TicketTag>;
pageInfo: PageInfo;
};
export type TicketTriggerApp = {

@@ -637,3 +645,3 @@ appColor?: Maybe<Scalars['String']['output']>;

};
export type TagFragment = (Pick<Tag, 'name' | 'createdAt' | 'updatedAt'> & {
export type TagFragment = (Pick<TicketTag, 'name' | 'createdAt' | 'updatedAt'> & {
createdBy?: Maybe<DrozChatAgentFragment>;

@@ -651,3 +659,3 @@ });

export type CreateTagsMutationVariables = Exact<{
input: CreateTagInput;
input: CreateTicketTagInput;
}>;

@@ -658,6 +666,6 @@ export type CreateTagsMutation = {

export type DeleteTagsMutationVariables = Exact<{
input: DeleteTagInput;
input: DeleteTicketTagInput;
}>;
export type DeleteTagsMutation = {
deleteTags: Array<TagFragment>;
deleteTags: Array<Maybe<TagFragment>>;
};

@@ -830,3 +838,3 @@ export type CustomerFragment = Pick<DrozChatCustomer, 'id' | 'name' | 'email' | 'phone' | 'document' | 'createdAt' | 'updatedAt'>;

export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const TagFragmentDoc = "\n fragment tag on Tag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const TagFragmentDoc = "\n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const CustomerFragmentDoc = "\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n ";

@@ -848,5 +856,5 @@ export declare const TicketTriggerAppFragmentDoc = "\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n ";

export declare const RemoveDrozChatChannelAgentDocument = "\n mutation removeDrozChatChannelAgent($input: RemoveDrozChatChannelAgentInput!) {\n removeDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
export declare const ListTagsDocument = "\n query listTags($next: Base64) {\n listTags(next: $next) {\n nodes {\n ...tag\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment tag on Tag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const CreateTagsDocument = "\n mutation createTags($input: CreateTagInput!) {\n createTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on Tag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const DeleteTagsDocument = "\n mutation deleteTags($input: DeleteTagInput!) {\n deleteTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on Tag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const ListTagsDocument = "\n query listTags($next: Base64) {\n listTags(next: $next) {\n nodes {\n ...tag\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const CreateTagsDocument = "\n mutation createTags($input: CreateTicketTagInput!) {\n createTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const DeleteTagsDocument = "\n mutation deleteTags($input: DeleteTicketTagInput!) {\n deleteTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...ticketWithSession\n }\n}\n \n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";

@@ -853,0 +861,0 @@ export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $status: [TicketStatus!], $assigneeId: ID, $next: Base64) {\n listTickets(\n state: $state\n status: $status\n assigneeId: $assigneeId\n next: $next\n ) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";

@@ -84,3 +84,3 @@ "use strict";

exports.TagFragmentDoc = `
fragment tag on Tag {
fragment tag on TicketTag {
name

@@ -280,3 +280,3 @@ createdBy {

exports.CreateTagsDocument = `
mutation createTags($input: CreateTagInput!) {
mutation createTags($input: CreateTicketTagInput!) {
createTags(input: $input) {

@@ -288,3 +288,3 @@ ...tag

exports.DeleteTagsDocument = `
mutation deleteTags($input: DeleteTagInput!) {
mutation deleteTags($input: DeleteTicketTagInput!) {
deleteTags(input: $input) {

@@ -291,0 +291,0 @@ ...tag

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -107,0 +115,0 @@ input: void;

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -107,0 +115,0 @@ input: void;

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -107,0 +115,0 @@ input: void;

"use strict";
/* istanbul ignore file */
Object.defineProperty(exports, "__esModule", { value: true });
exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0;
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateCredentialsDocument = void 0;
exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveSystemApiKeyAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateSystemApiKeyAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0;
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = void 0;
var AppInstanceStatus;

@@ -84,2 +84,3 @@ (function (AppInstanceStatus) {

cognitoUserStatus
systemAgent
createdAt

@@ -138,2 +139,3 @@ updatedAt

description
systemCredentials
createdAt

@@ -322,2 +324,9 @@ updatedAt

${exports.ApiKeyFragmentDoc}`;
exports.CreateSystemApiKeyAgentDocument = `
mutation createSystemApiKeyAgent($input: CreateApiKeyAgentInput!) {
createSystemApiKeyAgent(input: $input) {
...apiKey
}
}
${exports.ApiKeyFragmentDoc}`;
exports.UpdateAgentDocument = `

@@ -337,2 +346,9 @@ mutation updateAgent($input: UpdateAgentInput!) {

${exports.AgentFragmentDoc}`;
exports.RemoveSystemApiKeyAgentDocument = `
mutation removeSystemApiKeyAgent($input: RemoveAgentInput!) {
removeSystemApiKeyAgent(input: $input) {
...apiKey
}
}
${exports.ApiKeyFragmentDoc}`;
exports.AddRoleToAgentDocument = `

@@ -460,2 +476,3 @@ mutation addRoleToAgent($input: AddRoleToAgentInput!) {

description
systemCredentials
updatedAt

@@ -503,2 +520,9 @@ createdAt

${exports.SafeCredentialsFragmentDoc}`;
exports.CreateSystemCredentialsDocument = `
mutation createSystemCredentials($input: CreateCredentialsInput!) {
createSystemCredentials(input: $input) {
...safeCredentials
}
}
${exports.SafeCredentialsFragmentDoc}`;
exports.UpdateCredentialsDocument = `

@@ -518,2 +542,9 @@ mutation updateCredentials($input: UpdateCredentialsInput!) {

${exports.SafeCredentialsFragmentDoc}`;
exports.RemoveSystemCredentialsDocument = `
mutation removeSystemCredentials($input: RemoveCredentialsInput!) {
removeSystemCredentials(input: $input) {
...safeCredentials
}
}
${exports.SafeCredentialsFragmentDoc}`;
exports.GetCustomerDocument = `

@@ -798,2 +829,5 @@ query getCustomer($identifier: ID!) {

},
createSystemApiKeyAgent(variables, options) {
return requester(exports.CreateSystemApiKeyAgentDocument, variables, options);
},
updateAgent(variables, options) {

@@ -805,2 +839,5 @@ return requester(exports.UpdateAgentDocument, variables, options);

},
removeSystemApiKeyAgent(variables, options) {
return requester(exports.RemoveSystemApiKeyAgentDocument, variables, options);
},
addRoleToAgent(variables, options) {

@@ -857,2 +894,5 @@ return requester(exports.AddRoleToAgentDocument, variables, options);

},
createSystemCredentials(variables, options) {
return requester(exports.CreateSystemCredentialsDocument, variables, options);
},
updateCredentials(variables, options) {

@@ -864,2 +904,5 @@ return requester(exports.UpdateCredentialsDocument, variables, options);

},
removeSystemCredentials(variables, options) {
return requester(exports.RemoveSystemCredentialsDocument, variables, options);
},
getCustomer(variables, options) {

@@ -866,0 +909,0 @@ return requester(exports.GetCustomerDocument, variables, options);

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -129,3 +137,3 @@ input: void;

statusTags?: InputMaybe<ReclameAquiStatusTagsInput>;
tags?: InputMaybe<Array<Scalars['String']['input']>>;
tags?: InputMaybe<Array<Scalars['Tag']['input']>>;
};

@@ -206,12 +214,12 @@ export type ForceReSyncReclameAquiTicketInput = {

export type ReclameAquiActionsTags = {
evaluationRequested?: Maybe<Scalars['String']['output']>;
mediationAccepted?: Maybe<Scalars['String']['output']>;
mediationDenied?: Maybe<Scalars['String']['output']>;
mediationRequested?: Maybe<Scalars['String']['output']>;
evaluationRequested?: Maybe<Scalars['Tag']['output']>;
mediationAccepted?: Maybe<Scalars['Tag']['output']>;
mediationDenied?: Maybe<Scalars['Tag']['output']>;
mediationRequested?: Maybe<Scalars['Tag']['output']>;
};
export type ReclameAquiActionsTagsInput = {
evaluationRequested?: InputMaybe<Scalars['String']['input']>;
mediationAccepted?: InputMaybe<Scalars['String']['input']>;
mediationDenied?: InputMaybe<Scalars['String']['input']>;
mediationRequested?: InputMaybe<Scalars['String']['input']>;
evaluationRequested?: InputMaybe<Scalars['Tag']['input']>;
mediationAccepted?: InputMaybe<Scalars['Tag']['input']>;
mediationDenied?: InputMaybe<Scalars['Tag']['input']>;
mediationRequested?: InputMaybe<Scalars['Tag']['input']>;
};

@@ -238,3 +246,3 @@ export type ReclameAquiBillingConfiguration = {

statusTags?: Maybe<ReclameAquiStatusTags>;
tags: Array<Scalars['String']['output']>;
tags: Array<Scalars['Tag']['output']>;
updatedAt: Scalars['DateTime']['output'];

@@ -250,24 +258,24 @@ };

export type ReclameAquiStatusTags = {
answered?: Maybe<Scalars['String']['output']>;
companyAnswer?: Maybe<Scalars['String']['output']>;
consumerAnswer?: Maybe<Scalars['String']['output']>;
disabledByConsumer?: Maybe<Scalars['String']['output']>;
frozen?: Maybe<Scalars['String']['output']>;
inactiveInReclameAqui?: Maybe<Scalars['String']['output']>;
notAnswered?: Maybe<Scalars['String']['output']>;
rated?: Maybe<Scalars['String']['output']>;
ratedResolved?: Maybe<Scalars['String']['output']>;
ratedUnresolved?: Maybe<Scalars['String']['output']>;
answered?: Maybe<Scalars['Tag']['output']>;
companyAnswer?: Maybe<Scalars['Tag']['output']>;
consumerAnswer?: Maybe<Scalars['Tag']['output']>;
disabledByConsumer?: Maybe<Scalars['Tag']['output']>;
frozen?: Maybe<Scalars['Tag']['output']>;
inactiveInReclameAqui?: Maybe<Scalars['Tag']['output']>;
notAnswered?: Maybe<Scalars['Tag']['output']>;
rated?: Maybe<Scalars['Tag']['output']>;
ratedResolved?: Maybe<Scalars['Tag']['output']>;
ratedUnresolved?: Maybe<Scalars['Tag']['output']>;
};
export type ReclameAquiStatusTagsInput = {
answered?: InputMaybe<Scalars['String']['input']>;
companyAnswer?: InputMaybe<Scalars['String']['input']>;
consumerAnswer?: InputMaybe<Scalars['String']['input']>;
disabledByConsumer?: InputMaybe<Scalars['String']['input']>;
frozen?: InputMaybe<Scalars['String']['input']>;
inactiveInReclameAqui?: InputMaybe<Scalars['String']['input']>;
notAnswered?: InputMaybe<Scalars['String']['input']>;
rated?: InputMaybe<Scalars['String']['input']>;
ratedResolved?: InputMaybe<Scalars['String']['input']>;
ratedUnresolved?: InputMaybe<Scalars['String']['input']>;
answered?: InputMaybe<Scalars['Tag']['input']>;
companyAnswer?: InputMaybe<Scalars['Tag']['input']>;
consumerAnswer?: InputMaybe<Scalars['Tag']['input']>;
disabledByConsumer?: InputMaybe<Scalars['Tag']['input']>;
frozen?: InputMaybe<Scalars['Tag']['input']>;
inactiveInReclameAqui?: InputMaybe<Scalars['Tag']['input']>;
notAnswered?: InputMaybe<Scalars['Tag']['input']>;
rated?: InputMaybe<Scalars['Tag']['input']>;
ratedResolved?: InputMaybe<Scalars['Tag']['input']>;
ratedUnresolved?: InputMaybe<Scalars['Tag']['input']>;
};

@@ -332,3 +340,3 @@ export type ReclameAquiTicketEvaluationResponse = {

statusTags?: InputMaybe<ReclameAquiStatusTagsInput>;
tags?: InputMaybe<Array<Scalars['String']['input']>>;
tags?: InputMaybe<Array<Scalars['Tag']['input']>>;
};

@@ -335,0 +343,0 @@ export type ReclameAquiInstanceFragment = (Pick<ReclameAquiInstance, 'id' | 'name' | 'credentialId' | 'companyId' | 'cronJobId' | 'status' | 'failingReason' | 'tags' | 'cutoffSyncDate' | 'createdAt' | 'updatedAt'> & {

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -177,6 +185,6 @@ input: void;

headers?: InputMaybe<Scalars['JSONObject']['input']>;
key: Scalars['String']['input'];
method: HttpMethod;
name: Scalars['String']['input'];
url: Scalars['String']['input'];
variableName: Scalars['VariableName']['input'];
};

@@ -187,3 +195,3 @@ export type CreatePromptAppInput = {

validations?: InputMaybe<Array<ValidationInput>>;
variableName: Scalars['String']['input'];
variableName: Scalars['VariableName']['input'];
};

@@ -204,3 +212,2 @@ export type EchoInstance = {

id: Scalars['ID']['output'];
key: Scalars['String']['output'];
method: HttpMethod;

@@ -210,2 +217,3 @@ name: Scalars['String']['output'];

url: Scalars['String']['output'];
variableName: Scalars['String']['output'];
};

@@ -329,7 +337,7 @@ export declare enum HttpMethod {

messages: Array<I18nText>;
transition: Scalars['String']['output'];
transition: Scalars['VariableName']['output'];
};
export type OptionInput = {
messages: Array<I18nTextInput>;
transition?: InputMaybe<Scalars['String']['input']>;
transition?: InputMaybe<Scalars['VariableName']['input']>;
};

@@ -347,3 +355,3 @@ export type PageInfo = {

validations?: Maybe<Array<Validation>>;
variableName: Scalars['String']['output'];
variableName: Scalars['VariableName']['output'];
};

@@ -391,7 +399,7 @@ export type Query = {

conditions: Condition;
transition: Scalars['String']['output'];
transition: Scalars['VariableName']['output'];
};
export type RuleInput = {
conditions: ConditionInput;
transition: Scalars['String']['input'];
transition: Scalars['VariableName']['input'];
};

@@ -457,6 +465,6 @@ export type SearchResultsFacet = {

id: Scalars['ID']['input'];
key?: InputMaybe<Scalars['String']['input']>;
method?: InputMaybe<HttpMethod>;
name?: InputMaybe<Scalars['String']['input']>;
url?: InputMaybe<Scalars['String']['input']>;
variableName?: InputMaybe<Scalars['String']['input']>;
};

@@ -468,3 +476,3 @@ export type UpdatePromptAppInput = {

validations?: InputMaybe<Array<ValidationInput>>;
variableName?: InputMaybe<Scalars['String']['input']>;
variableName?: InputMaybe<Scalars['VariableName']['input']>;
};

@@ -593,3 +601,3 @@ export type Validation = {

};
export type HttpInstanceFragment = Pick<HttpInstance, 'id' | 'name' | 'url' | 'key' | 'method' | 'headers' | 'credentialId' | 'credentialsHeader' | 'body' | 'createdAt' | 'updatedAt'>;
export type HttpInstanceFragment = Pick<HttpInstance, 'id' | 'name' | 'url' | 'variableName' | 'method' | 'headers' | 'credentialId' | 'credentialsHeader' | 'body' | 'createdAt' | 'updatedAt'>;
export type GetHttpInstanceQueryVariables = Exact<{

@@ -628,3 +636,3 @@ id: Scalars['ID']['input'];

export declare const EchoInstanceFragmentDoc = "\n fragment echoInstance on EchoInstance {\n id\n name\n messages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
export declare const HttpInstanceFragmentDoc = "\n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const HttpInstanceFragmentDoc = "\n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const GetChoicesInstanceDocument = "\n query getChoicesInstance($id: ID!) {\n getChoicesInstance(id: $id) {\n ...choicesInstance\n }\n}\n \n fragment choicesInstance on ChoicesInstance {\n id\n name\n options {\n messages {\n lang\n value\n }\n transition\n }\n errorMessages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";

@@ -645,7 +653,7 @@ export declare const ListChoicesInstancesDocument = "\n query listChoicesInstances {\n listChoicesInstances {\n ...choicesInstance\n }\n}\n \n fragment choicesInstance on ChoicesInstance {\n id\n name\n options {\n messages {\n lang\n value\n }\n transition\n }\n errorMessages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";

export declare const RemoveEchoInstanceDocument = "\n mutation removeEchoInstance($id: ID!) {\n removeEchoInstance(id: $id) {\n ...echoInstance\n }\n}\n \n fragment echoInstance on EchoInstance {\n id\n name\n messages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
export declare const GetHttpInstanceDocument = "\n query getHttpInstance($id: ID!) {\n getHttpInstance(id: $id) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const ListHttpInstancesDocument = "\n query listHttpInstances {\n listHttpInstances {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const CreateHttpInstanceDocument = "\n mutation createHttpInstance($input: CreateHttpInstanceInput!) {\n createHttpInstance(input: $input) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const UpdateHttpInstanceDocument = "\n mutation updateHttpInstance($input: UpdateHttpInstanceInput!) {\n updateHttpInstance(input: $input) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const RemoveHttpInstanceDocument = "\n mutation removeHttpInstance($id: ID!) {\n removeHttpInstance(id: $id) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const GetHttpInstanceDocument = "\n query getHttpInstance($id: ID!) {\n getHttpInstance(id: $id) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const ListHttpInstancesDocument = "\n query listHttpInstances {\n listHttpInstances {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const CreateHttpInstanceDocument = "\n mutation createHttpInstance($input: CreateHttpInstanceInput!) {\n createHttpInstance(input: $input) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const UpdateHttpInstanceDocument = "\n mutation updateHttpInstance($input: UpdateHttpInstanceInput!) {\n updateHttpInstance(input: $input) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export declare const RemoveHttpInstanceDocument = "\n mutation removeHttpInstance($id: ID!) {\n removeHttpInstance(id: $id) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;

@@ -652,0 +660,0 @@ export declare function getSdk<C>(requester: Requester<C>): {

@@ -123,3 +123,3 @@ "use strict";

url
key
variableName
method

@@ -126,0 +126,0 @@ headers

@@ -96,2 +96,6 @@ export type Maybe<T> = T;

};
Tag: {
input: string;
output: string;
};
Timezone: {

@@ -105,2 +109,6 @@ input: string;

};
VariableName: {
input: string;
output: string;
};
Void: {

@@ -107,0 +115,0 @@ input: void;

Sorry, the diff of this file is too big to display

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