@droz-js/sdk 0.26.39 → 0.26.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sdks/drozchat.d.ts +10 -8
- package/src/sdks/drozchat.js +2 -0
- package/src/sdks/nucleus.d.ts +4 -4
- package/src/sdks/nucleus.js +3 -0
package/package.json
CHANGED
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -672,6 +672,8 @@ export type DrozChatApprovalQueue = {
|
|
|
672
672
|
groupIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
673
673
|
id: Scalars['ID']['output'];
|
|
674
674
|
isMember: Scalars['Boolean']['output'];
|
|
675
|
+
memberCount: Scalars['Int']['output'];
|
|
676
|
+
memberIds: Array<Scalars['ID']['output']>;
|
|
675
677
|
name: Scalars['String']['output'];
|
|
676
678
|
noApproverOnline?: Maybe<Scalars['Boolean']['output']>;
|
|
677
679
|
openTaskCount?: Maybe<Scalars['Int']['output']>;
|
|
@@ -2094,7 +2096,7 @@ export type AgentLogoffMutationVariables = Exact<{
|
|
|
2094
2096
|
export type AgentLogoffMutation = {
|
|
2095
2097
|
agentLogoff: AgentPresenceFragment;
|
|
2096
2098
|
};
|
|
2097
|
-
export type DrozChatApprovalQueueFragment = Pick<DrozChatApprovalQueue, 'id' | 'name' | 'agentIds' | 'groupIds' | 'depthLimit' | 'fallbackChannelId' | 'procedureNames' | 'procedureCount' | 'isMember' | 'deletedAt' | 'createdAt' | 'updatedAt'>;
|
|
2099
|
+
export type DrozChatApprovalQueueFragment = Pick<DrozChatApprovalQueue, 'id' | 'name' | 'agentIds' | 'groupIds' | 'depthLimit' | 'fallbackChannelId' | 'procedureNames' | 'procedureCount' | 'isMember' | 'memberIds' | 'memberCount' | 'deletedAt' | 'createdAt' | 'updatedAt'>;
|
|
2098
2100
|
export type DrozChatApprovalTaskFragment = (Pick<DrozChatApprovalTask, 'id' | 'number' | 'approvalQueueId' | 'idempotencyKey' | 'aiAgentId' | 'aiAgentName' | 'sessionId' | 'customerId' | 'customerName' | 'sentiment' | 'retentionReason' | 'channel' | 'toolId' | 'toolName' | 'useCase' | 'args' | 'trusted' | 'untrusted' | 'consumerActive' | 'summary' | 'ticketId' | 'expiresAt' | 'status' | 'assigneeId' | 'assigneeName' | 'assignedAt' | 'claimExpiresAt' | 'decision' | 'rejectionReason' | 'rejectionNote' | 'decidedById' | 'decidedByName' | 'decidedAt' | 'executionResult' | 'executedAt' | 'cancellationReason' | 'expiringSoon' | 'canClaim' | 'canDecide' | 'canRelease' | 'canAssign' | 'blockedReason' | 'createdAt' | 'updatedAt'> & {
|
|
2099
2101
|
retentionCondition?: Maybe<Pick<DrozChatApprovalTaskRetentionCondition, 'parameter' | 'operator' | 'value'>>;
|
|
2100
2102
|
conversation: (Pick<DrozChatApprovalTaskConversation, 'truncated'> & {
|
|
@@ -3078,7 +3080,7 @@ export type DeleteViewMutation = {
|
|
|
3078
3080
|
deleteView: ViewFragment;
|
|
3079
3081
|
};
|
|
3080
3082
|
export declare const AgentPresenceFragmentDoc = "\n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
|
|
3081
|
-
export declare const DrozChatApprovalQueueFragmentDoc = "\n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3083
|
+
export declare const DrozChatApprovalQueueFragmentDoc = "\n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n memberIds\n memberCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3082
3084
|
export declare const DrozChatApprovalTaskFragmentDoc = "\n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n number\n approvalQueueId\n idempotencyKey\n aiAgentId\n aiAgentName\n sessionId\n customerId\n customerName\n sentiment\n retentionReason\n retentionCondition {\n parameter\n operator\n value\n }\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n executedAt\n cancellationReason\n history {\n type\n at\n actorId\n actorName\n targetId\n targetName\n decision\n params {\n approvalQueueName\n claimMinutes\n summary\n rejectionReason\n cancellationReason\n executionResult\n changedFields\n }\n }\n expiringSoon\n canClaim\n canDecide\n canRelease\n canAssign\n blockedReason\n createdAt\n updatedAt\n}\n ";
|
|
3083
3085
|
export declare const BulkCloseRoutineConfigFragmentDoc = "\n fragment bulkCloseRoutineConfig on BulkCloseRoutineConfig {\n id\n enabled\n senderAllowlist\n cutoffDays\n batchSize\n maxTicketsPerRun\n cronExpression\n cronJobId\n createdAt\n updatedAt\n}\n ";
|
|
3084
3086
|
export declare const BulkCloseRunFragmentDoc = "\n fragment bulkCloseRun on BulkCloseRun {\n id\n status\n windowStart\n startedAt\n finishedAt\n totals {\n planned\n closed\n alreadyClosed\n errors\n uncreated\n }\n createdAt\n updatedAt\n}\n ";
|
|
@@ -3116,16 +3118,16 @@ export declare const ActiveDispatchDocument = "\n mutation activeDispatch($in
|
|
|
3116
3118
|
export declare const MyPresenceDocument = "\n query myPresence {\n myPresence {\n ...agentPresence\n }\n}\n \n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
|
|
3117
3119
|
export declare const AgentHeartbeatDocument = "\n mutation agentHeartbeat {\n agentHeartbeat {\n ...agentPresence\n }\n}\n \n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
|
|
3118
3120
|
export declare const AgentLogoffDocument = "\n mutation agentLogoff {\n agentLogoff {\n ...agentPresence\n }\n}\n \n fragment agentPresence on AgentPresence {\n agentId\n status\n since\n}\n ";
|
|
3119
|
-
export declare const ListApprovalQueuesDocument = "\n query listApprovalQueues {\n listApprovalQueues {\n ...drozChatApprovalQueue\n openTaskCount\n noApproverOnline\n overLimit\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3120
|
-
export declare const GetApprovalQueueDocument = "\n query getApprovalQueue($id: ID!) {\n getApprovalQueue(id: $id) {\n ...drozChatApprovalQueue\n openTaskCount\n noApproverOnline\n overLimit\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3121
|
-
export declare const ListMyApprovalQueuesDocument = "\n query listMyApprovalQueues {\n listMyApprovalQueues {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3121
|
+
export declare const ListApprovalQueuesDocument = "\n query listApprovalQueues {\n listApprovalQueues {\n ...drozChatApprovalQueue\n openTaskCount\n noApproverOnline\n overLimit\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n memberIds\n memberCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3122
|
+
export declare const GetApprovalQueueDocument = "\n query getApprovalQueue($id: ID!) {\n getApprovalQueue(id: $id) {\n ...drozChatApprovalQueue\n openTaskCount\n noApproverOnline\n overLimit\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n memberIds\n memberCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3123
|
+
export declare const ListMyApprovalQueuesDocument = "\n query listMyApprovalQueues {\n listMyApprovalQueues {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n memberIds\n memberCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3122
3124
|
export declare const ListApprovalQueueCandidatesDocument = "\n query listApprovalQueueCandidates {\n listApprovalQueueCandidates {\n id\n name\n email\n }\n}\n ";
|
|
3123
3125
|
export declare const ListApprovalTasksDocument = "\n query listApprovalTasks($filter: ApprovalTasksFilterInput!, $sortBy: ApprovalTaskSort, $page: Int, $perPage: Int) {\n listApprovalTasks(\n filter: $filter\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n total\n page\n perPage\n nodes {\n ...drozChatApprovalTask\n }\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n number\n approvalQueueId\n idempotencyKey\n aiAgentId\n aiAgentName\n sessionId\n customerId\n customerName\n sentiment\n retentionReason\n retentionCondition {\n parameter\n operator\n value\n }\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n executedAt\n cancellationReason\n history {\n type\n at\n actorId\n actorName\n targetId\n targetName\n decision\n params {\n approvalQueueName\n claimMinutes\n summary\n rejectionReason\n cancellationReason\n executionResult\n changedFields\n }\n }\n expiringSoon\n canClaim\n canDecide\n canRelease\n canAssign\n blockedReason\n createdAt\n updatedAt\n}\n ";
|
|
3124
3126
|
export declare const GetApprovalTaskDocument = "\n query getApprovalTask($id: ID!) {\n getApprovalTask(id: $id) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n number\n approvalQueueId\n idempotencyKey\n aiAgentId\n aiAgentName\n sessionId\n customerId\n customerName\n sentiment\n retentionReason\n retentionCondition {\n parameter\n operator\n value\n }\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n executedAt\n cancellationReason\n history {\n type\n at\n actorId\n actorName\n targetId\n targetName\n decision\n params {\n approvalQueueName\n claimMinutes\n summary\n rejectionReason\n cancellationReason\n executionResult\n changedFields\n }\n }\n expiringSoon\n canClaim\n canDecide\n canRelease\n canAssign\n blockedReason\n createdAt\n updatedAt\n}\n ";
|
|
3125
3127
|
export declare const GetApprovalSummaryDocument = "\n query getApprovalSummary {\n getApprovalSummary {\n openCount\n assignedCount\n mineCount\n expiringSoonCount\n pendingExpiringSoonCount\n mineExpiringSoonCount\n finishedCount\n expiredCount\n onlineApproverCount\n divergentCount\n manualCheckCount\n }\n}\n ";
|
|
3126
|
-
export declare const CreateApprovalQueueDocument = "\n mutation createApprovalQueue($input: CreateApprovalQueueInput!) {\n createApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3127
|
-
export declare const UpdateApprovalQueueDocument = "\n mutation updateApprovalQueue($input: UpdateApprovalQueueInput!) {\n updateApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3128
|
-
export declare const DeleteApprovalQueueDocument = "\n mutation deleteApprovalQueue($input: DeleteApprovalQueueInput!) {\n deleteApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3128
|
+
export declare const CreateApprovalQueueDocument = "\n mutation createApprovalQueue($input: CreateApprovalQueueInput!) {\n createApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n memberIds\n memberCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3129
|
+
export declare const UpdateApprovalQueueDocument = "\n mutation updateApprovalQueue($input: UpdateApprovalQueueInput!) {\n updateApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n memberIds\n memberCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3130
|
+
export declare const DeleteApprovalQueueDocument = "\n mutation deleteApprovalQueue($input: DeleteApprovalQueueInput!) {\n deleteApprovalQueue(input: $input) {\n ...drozChatApprovalQueue\n }\n}\n \n fragment drozChatApprovalQueue on DrozChatApprovalQueue {\n id\n name\n agentIds\n groupIds\n depthLimit\n fallbackChannelId\n procedureNames\n procedureCount\n isMember\n memberIds\n memberCount\n deletedAt\n createdAt\n updatedAt\n}\n ";
|
|
3129
3131
|
export declare const ClaimApprovalTaskDocument = "\n mutation claimApprovalTask($input: ClaimApprovalTaskInput!) {\n claimApprovalTask(input: $input) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n number\n approvalQueueId\n idempotencyKey\n aiAgentId\n aiAgentName\n sessionId\n customerId\n customerName\n sentiment\n retentionReason\n retentionCondition {\n parameter\n operator\n value\n }\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n executedAt\n cancellationReason\n history {\n type\n at\n actorId\n actorName\n targetId\n targetName\n decision\n params {\n approvalQueueName\n claimMinutes\n summary\n rejectionReason\n cancellationReason\n executionResult\n changedFields\n }\n }\n expiringSoon\n canClaim\n canDecide\n canRelease\n canAssign\n blockedReason\n createdAt\n updatedAt\n}\n ";
|
|
3130
3132
|
export declare const ReleaseApprovalTaskDocument = "\n mutation releaseApprovalTask($input: ReleaseApprovalTaskInput!) {\n releaseApprovalTask(input: $input) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n number\n approvalQueueId\n idempotencyKey\n aiAgentId\n aiAgentName\n sessionId\n customerId\n customerName\n sentiment\n retentionReason\n retentionCondition {\n parameter\n operator\n value\n }\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n executedAt\n cancellationReason\n history {\n type\n at\n actorId\n actorName\n targetId\n targetName\n decision\n params {\n approvalQueueName\n claimMinutes\n summary\n rejectionReason\n cancellationReason\n executionResult\n changedFields\n }\n }\n expiringSoon\n canClaim\n canDecide\n canRelease\n canAssign\n blockedReason\n createdAt\n updatedAt\n}\n ";
|
|
3131
3133
|
export declare const AssignApprovalTaskDocument = "\n mutation assignApprovalTask($input: AssignApprovalTaskInput!) {\n assignApprovalTask(input: $input) {\n ...drozChatApprovalTask\n }\n}\n \n fragment drozChatApprovalTask on DrozChatApprovalTask {\n id\n number\n approvalQueueId\n idempotencyKey\n aiAgentId\n aiAgentName\n sessionId\n customerId\n customerName\n sentiment\n retentionReason\n retentionCondition {\n parameter\n operator\n value\n }\n channel\n toolId\n toolName\n useCase\n args\n trusted\n untrusted\n consumerActive\n summary\n conversation {\n truncated\n messages {\n role\n text\n sentAt\n }\n }\n ticketId\n expiresAt\n status\n assigneeId\n assigneeName\n assignedAt\n claimExpiresAt\n decision\n rejectionReason\n rejectionNote\n decidedById\n decidedByName\n decidedAt\n divergent {\n before\n after\n }\n executionResult\n executedAt\n cancellationReason\n history {\n type\n at\n actorId\n actorName\n targetId\n targetName\n decision\n params {\n approvalQueueName\n claimMinutes\n summary\n rejectionReason\n cancellationReason\n executionResult\n changedFields\n }\n }\n expiringSoon\n canClaim\n canDecide\n canRelease\n canAssign\n blockedReason\n createdAt\n updatedAt\n}\n ";
|
package/src/sdks/drozchat.js
CHANGED
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -1623,7 +1623,7 @@ export type RemoveSystemCredentialsMutation = {
|
|
|
1623
1623
|
export type CustomerFragment = (Pick<Customer, 'id' | 'name' | 'alternateName' | 'email' | 'phone' | 'document' | 'externalId' | 'emails' | 'phones' | 'documents' | 'externalIds' | 'status' | 'createdAt' | 'updatedAt'> & {
|
|
1624
1624
|
apps?: Maybe<Array<Pick<App, 'id' | 'name'>>>;
|
|
1625
1625
|
});
|
|
1626
|
-
export type CustomerMessagingOptOutFragment = (Pick<Customer, 'id'> & {
|
|
1626
|
+
export type CustomerMessagingOptOutFragment = (Pick<Customer, 'id' | 'externalIds' | 'phones' | 'emails'> & {
|
|
1627
1627
|
messagingOptOut?: Maybe<Pick<CustomerMessagingOptOut, 'at' | 'sessionId'>>;
|
|
1628
1628
|
});
|
|
1629
1629
|
export type GetCustomerQueryVariables = Exact<{
|
|
@@ -1990,7 +1990,7 @@ export declare const AppWithInstancesFragmentDoc = "\n fragment appWithInstan
|
|
|
1990
1990
|
export declare const SafeCredentialsFragmentDoc = "\n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n url\n systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
1991
1991
|
export declare const CredentialsWithSecretFragmentDoc = "\n fragment credentialsWithSecret on Credentials {\n ... on ICredentials {\n id\n type\n description\n systemCredentials\n createdAt\n updatedAt\n }\n ... on BasicCredentialsType {\n url\n credentials {\n username\n password\n }\n }\n ... on ApiKeyCredentialsType {\n url\n credentials {\n apiKey\n }\n }\n ... on OAuth2CredentialsType {\n url\n credentials {\n clientId\n clientSecret\n scope\n }\n }\n ... on MetaCredentialsType {\n url\n credentials {\n code\n accessToken\n wabaId\n }\n }\n ... on MercadoLivreCredentialsType {\n url\n credentials {\n code\n }\n }\n ... on TokenLoginCredentialsType {\n url\n credentials {\n loginMethod\n loginUrl\n loginHeaders\n loginBodyTemplate\n tokenPath\n tokenPrefix\n expiresInSeconds\n allowInsecureHttp\n }\n }\n}\n ";
|
|
1992
1992
|
export declare const CustomerFragmentDoc = "\n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
1993
|
-
export declare const CustomerMessagingOptOutFragmentDoc = "\n fragment customerMessagingOptOut on Customer {\n id\n messagingOptOut {\n at\n sessionId\n }\n}\n ";
|
|
1993
|
+
export declare const CustomerMessagingOptOutFragmentDoc = "\n fragment customerMessagingOptOut on Customer {\n id\n externalIds\n phones\n emails\n messagingOptOut {\n at\n sessionId\n }\n}\n ";
|
|
1994
1994
|
export declare const CronJobFragmentDoc = "\n fragment cronJob on CronJob {\n appId\n id\n description\n expression\n event\n payload\n status\n timestamp\n times\n runs\n}\n ";
|
|
1995
1995
|
export declare const PolicyFragmentDoc = "\n fragment policy on Policy {\n id\n action\n effect\n resource\n}\n ";
|
|
1996
1996
|
export declare const RoleFragmentDoc = "\n fragment role on Role {\n id\n name\n policies {\n ...policy\n }\n}\n ";
|
|
@@ -2047,7 +2047,7 @@ export declare const UpdateCredentialsDocument = "\n mutation updateCredentia
|
|
|
2047
2047
|
export declare const RemoveCredentialsDocument = "\n mutation removeCredentials($input: RemoveCredentialsInput!) {\n removeCredentials(input: $input) {\n ...safeCredentials\n }\n}\n \n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n url\n systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
2048
2048
|
export declare const RemoveSystemCredentialsDocument = "\n mutation removeSystemCredentials($input: RemoveCredentialsInput!) {\n removeSystemCredentials(input: $input) {\n ...safeCredentials\n }\n}\n \n fragment safeCredentials on SafeCredentials {\n id\n type\n description\n url\n systemCredentials\n createdAt\n updatedAt\n}\n ";
|
|
2049
2049
|
export declare const GetCustomerDocument = "\n query getCustomer($identifier: ID!) {\n getCustomer(identifier: $identifier) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
2050
|
-
export declare const BatchGetCustomersMessagingOptOutDocument = "\n query batchGetCustomersMessagingOptOut($identifiers: [ID!]!) {\n batchGetCustomersMessagingOptOut(identifiers: $identifiers) {\n ...customerMessagingOptOut\n }\n}\n \n fragment customerMessagingOptOut on Customer {\n id\n messagingOptOut {\n at\n sessionId\n }\n}\n ";
|
|
2050
|
+
export declare const BatchGetCustomersMessagingOptOutDocument = "\n query batchGetCustomersMessagingOptOut($identifiers: [ID!]!) {\n batchGetCustomersMessagingOptOut(identifiers: $identifiers) {\n ...customerMessagingOptOut\n }\n}\n \n fragment customerMessagingOptOut on Customer {\n id\n externalIds\n phones\n emails\n messagingOptOut {\n at\n sessionId\n }\n}\n ";
|
|
2051
2051
|
export declare const BatchGetCustomersByIdDocument = "\n query batchGetCustomersById($ids: [ID!]!) {\n batchGetCustomersById(ids: $ids) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
2052
2052
|
export declare const ListCustomersDocument = "\n query listCustomers($next: Base64) {\n listCustomers(next: $next) {\n nodes {\n ...customer\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
2053
2053
|
export declare const SearchCustomersDocument = "\n query searchCustomers($query: String, $filters: [CustomerSearchFilterInput!], $page: Number, $perPage: Number) {\n searchCustomers(\n query: $query\n filters: $filters\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...customer\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
@@ -2055,7 +2055,7 @@ export declare const DynamicSearchCustomerDocument = "\n query dynamicSearchC
|
|
|
2055
2055
|
export declare const CreateCustomerDocument = "\n mutation createCustomer($input: CreateCustomerInput) {\n createCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
2056
2056
|
export declare const GetOrCreateCustomerDocument = "\n mutation getOrCreateCustomer($input: GetOrCreateCustomerInput!) {\n getOrCreateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
2057
2057
|
export declare const RefreshContactDataDocument = "\n mutation refreshContactData($input: RefreshContactDataInput!) {\n refreshContactData(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
2058
|
-
export declare const RecordMessagingOptOutDocument = "\n mutation recordMessagingOptOut($input: RecordMessagingOptOutInput!) {\n recordMessagingOptOut(input: $input) {\n ...customerMessagingOptOut\n }\n}\n \n fragment customerMessagingOptOut on Customer {\n id\n messagingOptOut {\n at\n sessionId\n }\n}\n ";
|
|
2058
|
+
export declare const RecordMessagingOptOutDocument = "\n mutation recordMessagingOptOut($input: RecordMessagingOptOutInput!) {\n recordMessagingOptOut(input: $input) {\n ...customerMessagingOptOut\n }\n}\n \n fragment customerMessagingOptOut on Customer {\n id\n externalIds\n phones\n emails\n messagingOptOut {\n at\n sessionId\n }\n}\n ";
|
|
2059
2059
|
export declare const UpdateCustomerDocument = "\n mutation updateCustomer($input: UpdateCustomerInput!) {\n updateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n apps {\n id\n name\n }\n status\n createdAt\n updatedAt\n}\n ";
|
|
2060
2060
|
export declare const DeleteCustomerDocument = "\n mutation deleteCustomer($id: ID!) {\n deleteCustomer(id: $id)\n}\n ";
|
|
2061
2061
|
export declare const GetCronJobDocument = "\n query getCronJob($id: ID!) {\n getCronJob(id: $id) {\n ...cronJob\n }\n}\n \n fragment cronJob on CronJob {\n appId\n id\n description\n expression\n event\n payload\n status\n timestamp\n times\n runs\n}\n ";
|
package/src/sdks/nucleus.js
CHANGED