@kl1/contracts 1.0.51 → 1.0.52

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.
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ export declare const appContract: {
3
+ getMessage: {
4
+ method: "GET";
5
+ responses: {
6
+ 200: z.ZodObject<{
7
+ message: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ message: string;
10
+ }, {
11
+ message: string;
12
+ }>;
13
+ };
14
+ path: "/";
15
+ };
16
+ };
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAQtB,CAAC"}
@@ -127566,6 +127566,96 @@ export declare const telephonyContract: {
127566
127566
  'x-client-timezone'?: string | undefined;
127567
127567
  }>>>;
127568
127568
  };
127569
+ yeastarCallReportExport: {
127570
+ body: import("zod").ZodEffects<import("zod").ZodObject<{
127571
+ page: import("zod").ZodDefault<import("zod").ZodNumber>;
127572
+ pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
127573
+ reportType: import("zod").ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
127574
+ selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
127575
+ communicationType: import("zod").ZodOptional<import("zod").ZodEnum<["Inbound", "Outbound", "Internal"]>>;
127576
+ time: import("zod").ZodOptional<import("zod").ZodString>;
127577
+ queueList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
127578
+ queueId: import("zod").ZodOptional<import("zod").ZodString>;
127579
+ trunkList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
127580
+ extensionList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
127581
+ }, "strip", import("zod").ZodTypeAny, {
127582
+ page: number;
127583
+ pageSize: number;
127584
+ reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
127585
+ selectedDate?: string | undefined;
127586
+ communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
127587
+ time?: string | undefined;
127588
+ queueList?: string[] | undefined;
127589
+ queueId?: string | undefined;
127590
+ trunkList?: string[] | undefined;
127591
+ extensionList?: string[] | undefined;
127592
+ }, {
127593
+ reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
127594
+ page?: number | undefined;
127595
+ pageSize?: number | undefined;
127596
+ selectedDate?: string | undefined;
127597
+ communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
127598
+ time?: string | undefined;
127599
+ queueList?: string[] | undefined;
127600
+ queueId?: string | undefined;
127601
+ trunkList?: string[] | undefined;
127602
+ extensionList?: string[] | undefined;
127603
+ }>, {
127604
+ page: number;
127605
+ pageSize: number;
127606
+ reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
127607
+ selectedDate?: string | undefined;
127608
+ communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
127609
+ time?: string | undefined;
127610
+ queueList?: string[] | undefined;
127611
+ queueId?: string | undefined;
127612
+ trunkList?: string[] | undefined;
127613
+ extensionList?: string[] | undefined;
127614
+ }, {
127615
+ reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
127616
+ page?: number | undefined;
127617
+ pageSize?: number | undefined;
127618
+ selectedDate?: string | undefined;
127619
+ communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
127620
+ time?: string | undefined;
127621
+ queueList?: string[] | undefined;
127622
+ queueId?: string | undefined;
127623
+ trunkList?: string[] | undefined;
127624
+ extensionList?: string[] | undefined;
127625
+ }>;
127626
+ summary: "Export yeastar call report.";
127627
+ method: "POST";
127628
+ responses: {
127629
+ 200: null;
127630
+ 401: import("zod").ZodObject<{
127631
+ message: import("zod").ZodString;
127632
+ error: import("zod").ZodAny;
127633
+ }, "strip", import("zod").ZodTypeAny, {
127634
+ message: string;
127635
+ error?: any;
127636
+ }, {
127637
+ message: string;
127638
+ error?: any;
127639
+ }>;
127640
+ };
127641
+ path: "telephony-cdr/yeastar_call_report/export";
127642
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
127643
+ 'x-tenant': import("zod").ZodString;
127644
+ authorization: import("zod").ZodString;
127645
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
127646
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
127647
+ }, "strip", import("zod").ZodTypeAny, {
127648
+ 'x-tenant': string;
127649
+ authorization: string;
127650
+ 'x-client-timezone': string;
127651
+ 'x-code'?: string | undefined;
127652
+ }, {
127653
+ 'x-tenant': string;
127654
+ authorization: string;
127655
+ 'x-code'?: string | undefined;
127656
+ 'x-client-timezone'?: string | undefined;
127657
+ }>>>;
127658
+ };
127569
127659
  getTrunks: {
127570
127660
  method: "GET";
127571
127661
  query: null;