@kl1/contracts 1.0.33 → 1.0.34

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"}
@@ -101433,6 +101433,16 @@ export declare const telephonyContract: {
101433
101433
  agentRingTime: number | null;
101434
101434
  }[];
101435
101435
  }>;
101436
+ 401: import("zod").ZodObject<{
101437
+ message: import("zod").ZodString;
101438
+ error: import("zod").ZodAny;
101439
+ }, "strip", import("zod").ZodTypeAny, {
101440
+ message: string;
101441
+ error?: any;
101442
+ }, {
101443
+ message: string;
101444
+ error?: any;
101445
+ }>;
101436
101446
  };
101437
101447
  path: "telephony-cdr/";
101438
101448
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
@@ -101578,6 +101588,16 @@ export declare const telephonyContract: {
101578
101588
  agentRingTime: number | null;
101579
101589
  }[];
101580
101590
  }>;
101591
+ 401: import("zod").ZodObject<{
101592
+ message: import("zod").ZodString;
101593
+ error: import("zod").ZodAny;
101594
+ }, "strip", import("zod").ZodTypeAny, {
101595
+ message: string;
101596
+ error?: any;
101597
+ }, {
101598
+ message: string;
101599
+ error?: any;
101600
+ }>;
101581
101601
  };
101582
101602
  path: "telephony-cdr/recordings";
101583
101603
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
@@ -101741,6 +101761,16 @@ export declare const telephonyContract: {
101741
101761
  agentRingTime: number | null;
101742
101762
  }[];
101743
101763
  }>;
101764
+ 401: import("zod").ZodObject<{
101765
+ message: import("zod").ZodString;
101766
+ error: import("zod").ZodAny;
101767
+ }, "strip", import("zod").ZodTypeAny, {
101768
+ message: string;
101769
+ error?: any;
101770
+ }, {
101771
+ message: string;
101772
+ error?: any;
101773
+ }>;
101744
101774
  };
101745
101775
  path: "telephony-cdr/recent-calls";
101746
101776
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
@@ -101760,6 +101790,86 @@ export declare const telephonyContract: {
101760
101790
  'x-client-timezone'?: string | undefined;
101761
101791
  }>>>;
101762
101792
  };
101793
+ export: {
101794
+ summary: "Get recent telephony cdr.";
101795
+ method: "GET";
101796
+ query: import("zod").ZodObject<{
101797
+ page: import("zod").ZodDefault<import("zod").ZodNumber>;
101798
+ pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
101799
+ type: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
101800
+ status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
101801
+ callFrom: import("zod").ZodOptional<import("zod").ZodString>;
101802
+ callTo: import("zod").ZodOptional<import("zod").ZodString>;
101803
+ result: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
101804
+ callTags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
101805
+ selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
101806
+ agentId: import("zod").ZodOptional<import("zod").ZodString>;
101807
+ contact: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
101808
+ callStatus: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["incoming", "outgoing", "missed", "no_answered"]>, "many">>;
101809
+ queueIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
101810
+ notes: import("zod").ZodOptional<import("zod").ZodString>;
101811
+ }, "strip", import("zod").ZodTypeAny, {
101812
+ page: number;
101813
+ pageSize: number;
101814
+ type?: string[] | undefined;
101815
+ status?: string[] | undefined;
101816
+ callFrom?: string | undefined;
101817
+ callTo?: string | undefined;
101818
+ result?: string[] | undefined;
101819
+ callTags?: string[] | undefined;
101820
+ selectedDate?: string | undefined;
101821
+ agentId?: string | undefined;
101822
+ contact?: string[] | undefined;
101823
+ callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
101824
+ queueIds?: string[] | undefined;
101825
+ notes?: string | undefined;
101826
+ }, {
101827
+ page?: number | undefined;
101828
+ pageSize?: number | undefined;
101829
+ type?: string[] | undefined;
101830
+ status?: string[] | undefined;
101831
+ callFrom?: string | undefined;
101832
+ callTo?: string | undefined;
101833
+ result?: string[] | undefined;
101834
+ callTags?: string[] | undefined;
101835
+ selectedDate?: string | undefined;
101836
+ agentId?: string | undefined;
101837
+ contact?: string[] | undefined;
101838
+ callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
101839
+ queueIds?: string[] | undefined;
101840
+ notes?: string | undefined;
101841
+ }>;
101842
+ responses: {
101843
+ 200: null;
101844
+ 401: import("zod").ZodObject<{
101845
+ message: import("zod").ZodString;
101846
+ error: import("zod").ZodAny;
101847
+ }, "strip", import("zod").ZodTypeAny, {
101848
+ message: string;
101849
+ error?: any;
101850
+ }, {
101851
+ message: string;
101852
+ error?: any;
101853
+ }>;
101854
+ };
101855
+ path: "telephony-cdr/export";
101856
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
101857
+ 'x-tenant': import("zod").ZodString;
101858
+ authorization: import("zod").ZodString;
101859
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
101860
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
101861
+ }, "strip", import("zod").ZodTypeAny, {
101862
+ 'x-tenant': string;
101863
+ authorization: string;
101864
+ 'x-client-timezone': string;
101865
+ 'x-code'?: string | undefined;
101866
+ }, {
101867
+ 'x-tenant': string;
101868
+ authorization: string;
101869
+ 'x-code'?: string | undefined;
101870
+ 'x-client-timezone'?: string | undefined;
101871
+ }>>>;
101872
+ };
101763
101873
  };
101764
101874
  };
101765
101875
  //# sourceMappingURL=contract.d.ts.map