@droz-js/sdk
Advanced tools
Comparing version 0.9.13 to 0.9.14
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.9.13", | ||
"version": "0.9.14", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -147,5 +147,5 @@ export type Maybe<T> = T; | ||
export type AnalyticsFacets = { | ||
agents?: Maybe<Array<Maybe<AnalyticsFacetValue>>>; | ||
customers?: Maybe<Array<Maybe<AnalyticsFacetValue>>>; | ||
statuses?: Maybe<Array<Maybe<AnalyticsFacetValue>>>; | ||
assigneeId?: Maybe<Array<Maybe<AnalyticsFacetValue>>>; | ||
customerId?: Maybe<Array<Maybe<AnalyticsFacetValue>>>; | ||
status?: Maybe<Array<Maybe<AnalyticsFacetValue>>>; | ||
}; | ||
@@ -335,6 +335,6 @@ export type AnalyticsMultiValue = { | ||
export type FacetValueFragment = Pick<AnalyticsFacetValue, 'value' | 'display' | 'count'>; | ||
export type FacetsFragment = { | ||
customers?: Maybe<Array<Maybe<FacetValueFragment>>>; | ||
agents?: Maybe<Array<Maybe<FacetValueFragment>>>; | ||
statuses?: Maybe<Array<Maybe<FacetValueFragment>>>; | ||
export type QueryFacetsFragment = { | ||
customerId?: Maybe<Array<Maybe<FacetValueFragment>>>; | ||
assigneeId?: Maybe<Array<Maybe<FacetValueFragment>>>; | ||
status?: Maybe<Array<Maybe<FacetValueFragment>>>; | ||
}; | ||
@@ -394,3 +394,3 @@ export type GetFirstResponseTimeQueryVariables = Exact<{ | ||
export type GetFacetsQuery = { | ||
getFacets?: Maybe<FacetsFragment>; | ||
getFacets?: Maybe<QueryFacetsFragment>; | ||
}; | ||
@@ -402,3 +402,3 @@ export declare const AverageFragmentDoc = "\n fragment average on AnalyticsAverage {\n delta\n current\n previous\n}\n "; | ||
export declare const FacetValueFragmentDoc = "\n fragment facetValue on AnalyticsFacetValue {\n value\n display\n count\n}\n "; | ||
export declare const FacetsFragmentDoc = "\n fragment facets on AnalyticsFacets {\n customers {\n ...facetValue\n }\n agents {\n ...facetValue\n }\n statuses {\n ...facetValue\n }\n}\n "; | ||
export declare const QueryFacetsFragmentDoc = "\n fragment queryFacets on AnalyticsFacets {\n customerId {\n ...facetValue\n }\n assigneeId {\n ...facetValue\n }\n status {\n ...facetValue\n }\n}\n "; | ||
export declare const GetFirstResponseTimeDocument = "\n query getFirstResponseTime($startDate: Date!, $endDate: Date!, $filters: [TicketAnalyticsFilterInput!]) {\n getFirstResponseTime(\n startDate: $startDate\n endDate: $endDate\n filters: $filters\n ) {\n ...average\n }\n}\n \n fragment average on AnalyticsAverage {\n delta\n current\n previous\n}\n "; | ||
@@ -410,3 +410,3 @@ export declare const GetAttendanceTimeDocument = "\n query getAttendanceTime($startDate: Date!, $endDate: Date!, $filters: [TicketAnalyticsFilterInput!]) {\n getAttendanceTime(startDate: $startDate, endDate: $endDate, filters: $filters) {\n ...average\n }\n}\n \n fragment average on AnalyticsAverage {\n delta\n current\n previous\n}\n "; | ||
export declare const GetTicketsByTriggerAppDocument = "\n query getTicketsByTriggerApp($startDate: Date!, $endDate: Date!, $filters: [TicketAnalyticsFilterInput!]) {\n getTicketsByTriggerApp(\n startDate: $startDate\n endDate: $endDate\n filters: $filters\n ) {\n ...chart\n }\n}\n \n fragment chart on AnalyticsChart {\n delta\n current\n previous\n name\n}\n "; | ||
export declare const GetFacetsDocument = "\n query getFacets($startDate: Date!, $endDate: Date!, $filters: [TicketAnalyticsFilterInput!]) {\n getFacets(startDate: $startDate, endDate: $endDate, filters: $filters) {\n ...facets\n }\n}\n \n fragment facets on AnalyticsFacets {\n customers {\n ...facetValue\n }\n agents {\n ...facetValue\n }\n statuses {\n ...facetValue\n }\n}\n \n\n fragment facetValue on AnalyticsFacetValue {\n value\n display\n count\n}\n "; | ||
export declare const GetFacetsDocument = "\n query getFacets($startDate: Date!, $endDate: Date!, $filters: [TicketAnalyticsFilterInput!]) {\n getFacets(startDate: $startDate, endDate: $endDate, filters: $filters) {\n ...queryFacets\n }\n}\n \n fragment queryFacets on AnalyticsFacets {\n customerId {\n ...facetValue\n }\n assigneeId {\n ...facetValue\n }\n status {\n ...facetValue\n }\n}\n \n\n fragment facetValue on AnalyticsFacetValue {\n value\n display\n count\n}\n "; | ||
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
@@ -413,0 +413,0 @@ export declare function getSdk<C>(requester: Requester<C>): { |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.GetFacetsDocument = exports.GetTicketsByTriggerAppDocument = exports.GetVolumeOfTicketsPerHourDocument = exports.GetVolumeOfTicketsPerDayDocument = exports.GetTicketsByStatusDocument = exports.GetAttendanceTimeDocument = exports.GetFirstResponseTimeDocument = exports.FacetsFragmentDoc = exports.FacetValueFragmentDoc = exports.MultiValueFragmentDoc = exports.ChartFragmentDoc = exports.VolumeFragmentDoc = exports.AverageFragmentDoc = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.GetFacetsDocument = exports.GetTicketsByTriggerAppDocument = exports.GetVolumeOfTicketsPerHourDocument = exports.GetVolumeOfTicketsPerDayDocument = exports.GetTicketsByStatusDocument = exports.GetAttendanceTimeDocument = exports.GetFirstResponseTimeDocument = exports.QueryFacetsFragmentDoc = exports.FacetValueFragmentDoc = exports.MultiValueFragmentDoc = exports.ChartFragmentDoc = exports.VolumeFragmentDoc = exports.AverageFragmentDoc = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -72,11 +72,11 @@ var AppInstanceStatus; | ||
`; | ||
exports.FacetsFragmentDoc = ` | ||
fragment facets on AnalyticsFacets { | ||
customers { | ||
exports.QueryFacetsFragmentDoc = ` | ||
fragment queryFacets on AnalyticsFacets { | ||
customerId { | ||
...facetValue | ||
} | ||
agents { | ||
assigneeId { | ||
...facetValue | ||
} | ||
statuses { | ||
status { | ||
...facetValue | ||
@@ -145,6 +145,6 @@ } | ||
getFacets(startDate: $startDate, endDate: $endDate, filters: $filters) { | ||
...facets | ||
...queryFacets | ||
} | ||
} | ||
${exports.FacetsFragmentDoc} | ||
${exports.QueryFacetsFragmentDoc} | ||
${exports.FacetValueFragmentDoc}`; | ||
@@ -151,0 +151,0 @@ function getSdk(requester) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1491567
29663