@droz-js/sdk 0.18.7 → 0.18.8
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 +5 -3
- package/src/sdks/drozchat.js +2 -0
package/package.json
CHANGED
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -473,7 +473,9 @@ export type LiveAgentLoad = {
|
|
|
473
473
|
presenceSince?: Maybe<Scalars['DateTime']['output']>;
|
|
474
474
|
queues: Array<LiveAgentQueue>;
|
|
475
475
|
satisfaction?: Maybe<AgentDailySatisfaction>;
|
|
476
|
+
/** @deprecated Toggle manual removido do frontend. Use presence — passa a ser derivado da presença real por conexão WS. */
|
|
476
477
|
status: LiveAgentStatus;
|
|
478
|
+
/** @deprecated Use presenceSince. */
|
|
477
479
|
statusSince?: Maybe<Scalars['DateTime']['output']>;
|
|
478
480
|
};
|
|
479
481
|
export type LiveAgentQueue = {
|
|
@@ -1664,7 +1666,7 @@ export type RemoveDrozChatAgentGroupMutation = {
|
|
|
1664
1666
|
export type LiveQueueSummaryFragment = (Pick<LiveQueueSummary, 'channelId' | 'waiting' | 'oldestWaitingSince' | 'oldestWaitingMs' | 'unassigned' | 'avgWaitingMs' | 'closedToday' | 'onlineAgents'> & {
|
|
1665
1667
|
channel?: Maybe<DrozChatChannelFragment>;
|
|
1666
1668
|
});
|
|
1667
|
-
export type LiveAgentLoadFragment = (Pick<LiveAgentLoad, 'agentId' | 'status' | 'statusSince' | 'inProgress' | 'capacity' | 'closedToday' | 'firstResponseAvgMs'> & {
|
|
1669
|
+
export type LiveAgentLoadFragment = (Pick<LiveAgentLoad, 'agentId' | 'status' | 'statusSince' | 'presence' | 'presenceSince' | 'inProgress' | 'capacity' | 'closedToday' | 'firstResponseAvgMs'> & {
|
|
1668
1670
|
agent?: Maybe<DrozChatAgentFragment>;
|
|
1669
1671
|
satisfaction?: Maybe<Pick<AgentDailySatisfaction, 'type' | 'average' | 'count'>>;
|
|
1670
1672
|
queues: Array<Pick<LiveAgentQueue, 'id' | 'name'>>;
|
|
@@ -2194,7 +2196,7 @@ export declare const GlobalConfigurationFragmentDoc = "\n fragment globalConf
|
|
|
2194
2196
|
export declare const DrozChatAgentGroupFragmentDoc = "\n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
2195
2197
|
export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n maxSimultaneousAttendances\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
2196
2198
|
export declare const LiveQueueSummaryFragmentDoc = "\n fragment liveQueueSummary on LiveQueueSummary {\n channelId\n channel {\n ...drozChatChannel\n }\n waiting\n oldestWaitingSince\n oldestWaitingMs\n unassigned\n avgWaitingMs\n closedToday\n onlineAgents\n}\n ";
|
|
2197
|
-
export declare const LiveAgentLoadFragmentDoc = "\n fragment liveAgentLoad on LiveAgentLoad {\n agentId\n agent {\n ...drozChatAgent\n }\n status\n statusSince\n inProgress\n capacity\n closedToday\n satisfaction {\n type\n average\n count\n }\n firstResponseAvgMs\n queues {\n id\n name\n }\n}\n ";
|
|
2199
|
+
export declare const LiveAgentLoadFragmentDoc = "\n fragment liveAgentLoad on LiveAgentLoad {\n agentId\n agent {\n ...drozChatAgent\n }\n status\n statusSince\n presence\n presenceSince\n inProgress\n capacity\n closedToday\n satisfaction {\n type\n average\n count\n }\n firstResponseAvgMs\n queues {\n id\n name\n }\n}\n ";
|
|
2198
2200
|
export declare const LiveSummaryFragmentDoc = "\n fragment liveSummary on LiveSummary {\n generatedAt\n queues {\n ...liveQueueSummary\n }\n agents {\n ...liveAgentLoad\n }\n surveyType\n surveyConfigured\n agentsOnline\n agentsOffline\n ticketsInProgressTotal\n overallSatisfaction {\n type\n average\n count\n }\n queuesCount\n ticketsWaitingTotal\n unassignedTotal\n avgWaitingMs\n closedTodayTotal\n}\n ";
|
|
2199
2201
|
export declare const SurveyFragmentDoc = "\n fragment survey on Survey {\n channels\n evaluationMessage\n commentMessage\n enabled\n type\n createdAt\n updatedAt\n}\n ";
|
|
2200
2202
|
export declare const TicketPresenceFragmentDoc = "\n fragment ticketPresence on TicketPresence {\n ticketId\n agents {\n agentId\n agentName\n }\n}\n ";
|
|
@@ -2245,7 +2247,7 @@ export declare const DisableDrozChatAgentGroupDocument = "\n mutation disable
|
|
|
2245
2247
|
export declare const EnableDrozChatAgentGroupDocument = "\n mutation enableDrozChatAgentGroup($input: EnableDrozChatAgentGroupInput!) {\n enableDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
2246
2248
|
export declare const AddDrozChatAgentGroupDocument = "\n mutation addDrozChatAgentGroup($input: AddDrozChatAgentGroupInput!) {\n addDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
2247
2249
|
export declare const RemoveDrozChatAgentGroupDocument = "\n mutation removeDrozChatAgentGroup($input: RemoveDrozChatAgentGroupInput!) {\n removeDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
2248
|
-
export declare const LiveSummaryDocument = "\n query liveSummary {\n liveSummary {\n ...liveSummary\n }\n}\n \n fragment liveSummary on LiveSummary {\n generatedAt\n queues {\n ...liveQueueSummary\n }\n agents {\n ...liveAgentLoad\n }\n surveyType\n surveyConfigured\n agentsOnline\n agentsOffline\n ticketsInProgressTotal\n overallSatisfaction {\n type\n average\n count\n }\n queuesCount\n ticketsWaitingTotal\n unassignedTotal\n avgWaitingMs\n closedTodayTotal\n}\n \n\n fragment liveQueueSummary on LiveQueueSummary {\n channelId\n channel {\n ...drozChatChannel\n }\n waiting\n oldestWaitingSince\n oldestWaitingMs\n unassigned\n avgWaitingMs\n closedToday\n onlineAgents\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n maxSimultaneousAttendances\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment liveAgentLoad on LiveAgentLoad {\n agentId\n agent {\n ...drozChatAgent\n }\n status\n statusSince\n inProgress\n capacity\n closedToday\n satisfaction {\n type\n average\n count\n }\n firstResponseAvgMs\n queues {\n id\n name\n }\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
2250
|
+
export declare const LiveSummaryDocument = "\n query liveSummary {\n liveSummary {\n ...liveSummary\n }\n}\n \n fragment liveSummary on LiveSummary {\n generatedAt\n queues {\n ...liveQueueSummary\n }\n agents {\n ...liveAgentLoad\n }\n surveyType\n surveyConfigured\n agentsOnline\n agentsOffline\n ticketsInProgressTotal\n overallSatisfaction {\n type\n average\n count\n }\n queuesCount\n ticketsWaitingTotal\n unassignedTotal\n avgWaitingMs\n closedTodayTotal\n}\n \n\n fragment liveQueueSummary on LiveQueueSummary {\n channelId\n channel {\n ...drozChatChannel\n }\n waiting\n oldestWaitingSince\n oldestWaitingMs\n unassigned\n avgWaitingMs\n closedToday\n onlineAgents\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n maxSimultaneousAttendances\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment liveAgentLoad on LiveAgentLoad {\n agentId\n agent {\n ...drozChatAgent\n }\n status\n statusSince\n presence\n presenceSince\n inProgress\n capacity\n closedToday\n satisfaction {\n type\n average\n count\n }\n firstResponseAvgMs\n queues {\n id\n name\n }\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
2249
2251
|
export declare const GetSurveyDocument = "\n query getSurvey {\n getSurvey {\n ...survey\n }\n}\n \n fragment survey on Survey {\n channels\n evaluationMessage\n commentMessage\n enabled\n type\n createdAt\n updatedAt\n}\n ";
|
|
2250
2252
|
export declare const UpsertSurveyDocument = "\n mutation upsertSurvey($input: UpsertSurveyInput!) {\n upsertSurvey(input: $input) {\n ...survey\n }\n}\n \n fragment survey on Survey {\n channels\n evaluationMessage\n commentMessage\n enabled\n type\n createdAt\n updatedAt\n}\n ";
|
|
2251
2253
|
export declare const DisableSurveyDocument = "\n mutation disableSurvey {\n disableSurvey {\n ...survey\n }\n}\n \n fragment survey on Survey {\n channels\n evaluationMessage\n commentMessage\n enabled\n type\n createdAt\n updatedAt\n}\n ";
|