@trii/types 2.10.696 → 2.10.697

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.
@@ -426,4 +426,25 @@ export interface InboxConversationPage extends CursorPage<InboxConversationItemD
426
426
  appliedFilter: InboxFilterDto;
427
427
  facets?: unknown;
428
428
  }
429
+ /**
430
+ * DTO API - GET /inbox/views/{viewId}/filter-options.
431
+ */
432
+ export interface InboxFacetOptionDto {
433
+ id: string;
434
+ label: string;
435
+ count: number;
436
+ }
437
+ export interface InboxFacetsDto {
438
+ queues: InboxFacetOptionDto[];
439
+ owners: InboxFacetOptionDto[];
440
+ channels: InboxFacetOptionDto[];
441
+ statuses: InboxFacetOptionDto[];
442
+ priorities: InboxFacetOptionDto[];
443
+ slaStatuses: InboxFacetOptionDto[];
444
+ labels: InboxFacetOptionDto[];
445
+ }
446
+ export interface InboxFilterOptionsResponse {
447
+ facets: InboxFacetsDto;
448
+ generatedAt: Date;
449
+ }
429
450
  export {};
@@ -426,4 +426,25 @@ export interface InboxConversationPage extends CursorPage<InboxConversationItemD
426
426
  appliedFilter: InboxFilterDto;
427
427
  facets?: unknown;
428
428
  }
429
+ /**
430
+ * DTO API - GET /inbox/views/{viewId}/filter-options.
431
+ */
432
+ export interface InboxFacetOptionDto {
433
+ id: string;
434
+ label: string;
435
+ count: number;
436
+ }
437
+ export interface InboxFacetsDto {
438
+ queues: InboxFacetOptionDto[];
439
+ owners: InboxFacetOptionDto[];
440
+ channels: InboxFacetOptionDto[];
441
+ statuses: InboxFacetOptionDto[];
442
+ priorities: InboxFacetOptionDto[];
443
+ slaStatuses: InboxFacetOptionDto[];
444
+ labels: InboxFacetOptionDto[];
445
+ }
446
+ export interface InboxFilterOptionsResponse {
447
+ facets: InboxFacetsDto;
448
+ generatedAt: Date;
449
+ }
429
450
  export {};
@@ -229,6 +229,7 @@ export interface ITicketMetricDefinition {
229
229
  supportsPercentile?: boolean;
230
230
  supportsRealTime?: boolean;
231
231
  higherIsBetter?: boolean;
232
+ supportedFilters: (keyof Omit<ITicketAnalyticsFilter, 'range'>)[];
232
233
  }
233
234
  export interface ITicketMetricQuery {
234
235
  metric: TicketMetricCode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.696",
3
+ "version": "2.10.697",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",