@kl1/contracts 1.3.10 → 1.3.12
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/dist/api-contracts/src/contract.d.ts +171 -10
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +171 -10
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/index.js +66 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +66 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1239,6 +1239,32 @@ export declare const dashboardContract: {
|
|
1239
1239
|
'x-client-timezone'?: string | undefined;
|
1240
1240
|
}>>>;
|
1241
1241
|
};
|
1242
|
+
exportRoomTagCounts: {
|
1243
|
+
body: z.ZodObject<{
|
1244
|
+
automationQueueId: z.ZodOptional<z.ZodString>;
|
1245
|
+
selectedDate: z.ZodString;
|
1246
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1247
|
+
}, "strip", z.ZodTypeAny, {
|
1248
|
+
selectedDate: string;
|
1249
|
+
automationQueueId?: string | undefined;
|
1250
|
+
channelIds?: string[] | undefined;
|
1251
|
+
}, {
|
1252
|
+
selectedDate: string;
|
1253
|
+
automationQueueId?: string | undefined;
|
1254
|
+
channelIds?: string[] | undefined;
|
1255
|
+
}>;
|
1256
|
+
method: "POST";
|
1257
|
+
responses: {
|
1258
|
+
200: z.ZodObject<{
|
1259
|
+
requestId: z.ZodString;
|
1260
|
+
}, "strip", z.ZodTypeAny, {
|
1261
|
+
requestId: string;
|
1262
|
+
}, {
|
1263
|
+
requestId: string;
|
1264
|
+
}>;
|
1265
|
+
};
|
1266
|
+
path: "ms/dashboard/export-room-tag-counts";
|
1267
|
+
};
|
1242
1268
|
getCallTagData: {
|
1243
1269
|
summary: "Get call tag data";
|
1244
1270
|
method: "GET";
|
@@ -1720,8 +1746,7 @@ export declare const dashboardContract: {
|
|
1720
1746
|
}>>>;
|
1721
1747
|
};
|
1722
1748
|
exportMessageAverageData: {
|
1723
|
-
|
1724
|
-
query: z.ZodObject<{
|
1749
|
+
body: z.ZodObject<{
|
1725
1750
|
selectedDate: z.ZodString;
|
1726
1751
|
automationQueueId: z.ZodOptional<z.ZodString>;
|
1727
1752
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1734,6 +1759,7 @@ export declare const dashboardContract: {
|
|
1734
1759
|
automationQueueId?: string | undefined;
|
1735
1760
|
channelIds?: string[] | undefined;
|
1736
1761
|
}>;
|
1762
|
+
method: "POST";
|
1737
1763
|
responses: {
|
1738
1764
|
200: z.ZodObject<{
|
1739
1765
|
requestId: z.ZodString;
|
@@ -1817,8 +1843,7 @@ export declare const dashboardContract: {
|
|
1817
1843
|
}>>>;
|
1818
1844
|
};
|
1819
1845
|
exportRoomChannelCounts: {
|
1820
|
-
|
1821
|
-
query: z.ZodObject<{
|
1846
|
+
body: z.ZodObject<{
|
1822
1847
|
automationQueueId: z.ZodOptional<z.ZodString>;
|
1823
1848
|
selectedDate: z.ZodString;
|
1824
1849
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1831,6 +1856,7 @@ export declare const dashboardContract: {
|
|
1831
1856
|
automationQueueId?: string | undefined;
|
1832
1857
|
channelIds?: string[] | undefined;
|
1833
1858
|
}>;
|
1859
|
+
method: "POST";
|
1834
1860
|
responses: {
|
1835
1861
|
200: z.ZodObject<{
|
1836
1862
|
requestId: z.ZodString;
|
@@ -1913,6 +1939,32 @@ export declare const dashboardContract: {
|
|
1913
1939
|
'x-client-timezone'?: string | undefined;
|
1914
1940
|
}>>>;
|
1915
1941
|
};
|
1942
|
+
exportRoomDispositionCounts: {
|
1943
|
+
body: z.ZodObject<{
|
1944
|
+
automationQueueId: z.ZodOptional<z.ZodString>;
|
1945
|
+
selectedDate: z.ZodString;
|
1946
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1947
|
+
}, "strip", z.ZodTypeAny, {
|
1948
|
+
selectedDate: string;
|
1949
|
+
automationQueueId?: string | undefined;
|
1950
|
+
channelIds?: string[] | undefined;
|
1951
|
+
}, {
|
1952
|
+
selectedDate: string;
|
1953
|
+
automationQueueId?: string | undefined;
|
1954
|
+
channelIds?: string[] | undefined;
|
1955
|
+
}>;
|
1956
|
+
method: "POST";
|
1957
|
+
responses: {
|
1958
|
+
200: z.ZodObject<{
|
1959
|
+
requestId: z.ZodString;
|
1960
|
+
}, "strip", z.ZodTypeAny, {
|
1961
|
+
requestId: string;
|
1962
|
+
}, {
|
1963
|
+
requestId: string;
|
1964
|
+
}>;
|
1965
|
+
};
|
1966
|
+
path: "ms/dashboard/export-room-disposition-counts";
|
1967
|
+
};
|
1916
1968
|
getIncomingMessageByPlatform: {
|
1917
1969
|
summary: "Get incoming message by platform";
|
1918
1970
|
method: "GET";
|
@@ -2064,8 +2116,7 @@ export declare const dashboardContract: {
|
|
2064
2116
|
}>>>;
|
2065
2117
|
};
|
2066
2118
|
exportIncomingMessageCounts: {
|
2067
|
-
|
2068
|
-
query: z.ZodObject<{
|
2119
|
+
body: z.ZodObject<{
|
2069
2120
|
automationQueueId: z.ZodOptional<z.ZodString>;
|
2070
2121
|
selectedDate: z.ZodString;
|
2071
2122
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -2078,6 +2129,7 @@ export declare const dashboardContract: {
|
|
2078
2129
|
automationQueueId?: string | undefined;
|
2079
2130
|
channelIds?: string[] | undefined;
|
2080
2131
|
}>;
|
2132
|
+
method: "POST";
|
2081
2133
|
responses: {
|
2082
2134
|
200: z.ZodObject<{
|
2083
2135
|
requestId: z.ZodString;
|
@@ -2429,8 +2481,7 @@ export declare const dashboardContract: {
|
|
2429
2481
|
path: "ms/dashboard/agent-message-statistics";
|
2430
2482
|
};
|
2431
2483
|
exportAgentMessageStatistics: {
|
2432
|
-
|
2433
|
-
query: z.ZodObject<{
|
2484
|
+
body: z.ZodObject<{
|
2434
2485
|
automationQueueId: z.ZodOptional<z.ZodString>;
|
2435
2486
|
selectedDate: z.ZodString;
|
2436
2487
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -2443,6 +2494,7 @@ export declare const dashboardContract: {
|
|
2443
2494
|
automationQueueId?: string | undefined;
|
2444
2495
|
channelIds?: string[] | undefined;
|
2445
2496
|
}>;
|
2497
|
+
method: "POST";
|
2446
2498
|
responses: {
|
2447
2499
|
200: z.ZodObject<{
|
2448
2500
|
requestId: z.ZodString;
|
@@ -2572,8 +2624,7 @@ export declare const dashboardContract: {
|
|
2572
2624
|
path: "ms/dashboard/user-check-in-logs-with-days";
|
2573
2625
|
};
|
2574
2626
|
exportUserCheckInLogs: {
|
2575
|
-
|
2576
|
-
query: z.ZodObject<{
|
2627
|
+
body: z.ZodObject<{
|
2577
2628
|
automationQueueId: z.ZodOptional<z.ZodString>;
|
2578
2629
|
selectedDate: z.ZodString;
|
2579
2630
|
keyword: z.ZodOptional<z.ZodString>;
|
@@ -2586,6 +2637,7 @@ export declare const dashboardContract: {
|
|
2586
2637
|
automationQueueId?: string | undefined;
|
2587
2638
|
keyword?: string | undefined;
|
2588
2639
|
}>;
|
2640
|
+
method: "POST";
|
2589
2641
|
responses: {
|
2590
2642
|
200: z.ZodObject<{
|
2591
2643
|
requestId: z.ZodString;
|
@@ -2632,20 +2684,106 @@ export declare const dashboardContract: {
|
|
2632
2684
|
};
|
2633
2685
|
path: "ms/dashboard/room-status-counts-by-user-id";
|
2634
2686
|
};
|
2687
|
+
getPresenceStatusDurations: {
|
2688
|
+
method: "GET";
|
2689
|
+
query: z.ZodObject<{
|
2690
|
+
userId: z.ZodString;
|
2691
|
+
selectedDate: z.ZodString;
|
2692
|
+
page: z.ZodNumber;
|
2693
|
+
pageSize: z.ZodNumber;
|
2694
|
+
}, "strip", z.ZodTypeAny, {
|
2695
|
+
page: number;
|
2696
|
+
pageSize: number;
|
2697
|
+
userId: string;
|
2698
|
+
selectedDate: string;
|
2699
|
+
}, {
|
2700
|
+
page: number;
|
2701
|
+
pageSize: number;
|
2702
|
+
userId: string;
|
2703
|
+
selectedDate: string;
|
2704
|
+
}>;
|
2705
|
+
responses: {
|
2706
|
+
200: z.ZodObject<{
|
2707
|
+
requestId: z.ZodString;
|
2708
|
+
presenceStatusDurations: z.ZodArray<z.ZodObject<{
|
2709
|
+
formattedDate: z.ZodString;
|
2710
|
+
date: z.ZodDate;
|
2711
|
+
durations: z.ZodArray<z.ZodObject<{
|
2712
|
+
presenceStatusName: z.ZodString;
|
2713
|
+
durationSeconds: z.ZodNumber;
|
2714
|
+
formattedDuration: z.ZodString;
|
2715
|
+
}, "strip", z.ZodTypeAny, {
|
2716
|
+
formattedDuration: string;
|
2717
|
+
presenceStatusName: string;
|
2718
|
+
durationSeconds: number;
|
2719
|
+
}, {
|
2720
|
+
formattedDuration: string;
|
2721
|
+
presenceStatusName: string;
|
2722
|
+
durationSeconds: number;
|
2723
|
+
}>, "many">;
|
2724
|
+
}, "strip", z.ZodTypeAny, {
|
2725
|
+
date: Date;
|
2726
|
+
formattedDate: string;
|
2727
|
+
durations: {
|
2728
|
+
formattedDuration: string;
|
2729
|
+
presenceStatusName: string;
|
2730
|
+
durationSeconds: number;
|
2731
|
+
}[];
|
2732
|
+
}, {
|
2733
|
+
date: Date;
|
2734
|
+
formattedDate: string;
|
2735
|
+
durations: {
|
2736
|
+
formattedDuration: string;
|
2737
|
+
presenceStatusName: string;
|
2738
|
+
durationSeconds: number;
|
2739
|
+
}[];
|
2740
|
+
}>, "many">;
|
2741
|
+
}, "strip", z.ZodTypeAny, {
|
2742
|
+
requestId: string;
|
2743
|
+
presenceStatusDurations: {
|
2744
|
+
date: Date;
|
2745
|
+
formattedDate: string;
|
2746
|
+
durations: {
|
2747
|
+
formattedDuration: string;
|
2748
|
+
presenceStatusName: string;
|
2749
|
+
durationSeconds: number;
|
2750
|
+
}[];
|
2751
|
+
}[];
|
2752
|
+
}, {
|
2753
|
+
requestId: string;
|
2754
|
+
presenceStatusDurations: {
|
2755
|
+
date: Date;
|
2756
|
+
formattedDate: string;
|
2757
|
+
durations: {
|
2758
|
+
formattedDuration: string;
|
2759
|
+
presenceStatusName: string;
|
2760
|
+
durationSeconds: number;
|
2761
|
+
}[];
|
2762
|
+
}[];
|
2763
|
+
}>;
|
2764
|
+
};
|
2765
|
+
path: "ms/dashboard/presence-status-durations";
|
2766
|
+
};
|
2635
2767
|
getUserCheckInLogsByUserId: {
|
2636
2768
|
method: "GET";
|
2637
2769
|
query: z.ZodObject<{
|
2770
|
+
automationQueueId: z.ZodOptional<z.ZodString>;
|
2638
2771
|
userId: z.ZodString;
|
2639
2772
|
selectedDate: z.ZodString;
|
2773
|
+
page: z.ZodNumber;
|
2640
2774
|
pageSize: z.ZodNumber;
|
2641
2775
|
}, "strip", z.ZodTypeAny, {
|
2776
|
+
page: number;
|
2642
2777
|
pageSize: number;
|
2643
2778
|
userId: string;
|
2644
2779
|
selectedDate: string;
|
2780
|
+
automationQueueId?: string | undefined;
|
2645
2781
|
}, {
|
2782
|
+
page: number;
|
2646
2783
|
pageSize: number;
|
2647
2784
|
userId: string;
|
2648
2785
|
selectedDate: string;
|
2786
|
+
automationQueueId?: string | undefined;
|
2649
2787
|
}>;
|
2650
2788
|
responses: {
|
2651
2789
|
200: z.ZodObject<{
|
@@ -2737,5 +2875,28 @@ export declare const dashboardContract: {
|
|
2737
2875
|
};
|
2738
2876
|
path: "ms/dashboard/user-check-in-logs-by-user-id";
|
2739
2877
|
};
|
2878
|
+
exportUserCheckInLogsByUserId: {
|
2879
|
+
body: z.ZodObject<{
|
2880
|
+
userId: z.ZodString;
|
2881
|
+
selectedDate: z.ZodString;
|
2882
|
+
}, "strip", z.ZodTypeAny, {
|
2883
|
+
userId: string;
|
2884
|
+
selectedDate: string;
|
2885
|
+
}, {
|
2886
|
+
userId: string;
|
2887
|
+
selectedDate: string;
|
2888
|
+
}>;
|
2889
|
+
method: "POST";
|
2890
|
+
responses: {
|
2891
|
+
200: z.ZodObject<{
|
2892
|
+
requestId: z.ZodString;
|
2893
|
+
}, "strip", z.ZodTypeAny, {
|
2894
|
+
requestId: string;
|
2895
|
+
}, {
|
2896
|
+
requestId: string;
|
2897
|
+
}>;
|
2898
|
+
};
|
2899
|
+
path: "ms/dashboard/export-user-check-in-logs-by-user-id";
|
2900
|
+
};
|
2740
2901
|
};
|
2741
2902
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,0BAA0B,EAE1B,4BAA4B,EAC7B,MAAM,cAAc,CAAC;AACtB,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,iCAAiC,EACjC,sCAAsC,EACtC,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,cAAc,EAGd,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2B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
import {
|
2
|
+
import { TPresenceStatusOption, PresenceStatusSchema } from './schema';
|
3
3
|
import { CreatePresenceStatusSchema, UpdatePresenceStatusSchema } from './validation';
|
4
4
|
export type CreatePresenceStatusRequest = z.infer<typeof CreatePresenceStatusSchema>;
|
5
5
|
export type UpdatePresenceStatusRequest = z.infer<typeof UpdatePresenceStatusSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC5E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FlC,CAAC"}
|
package/dist/index.js
CHANGED
@@ -4687,6 +4687,14 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4687
4687
|
401: DefaultUnauthorizedSchema
|
4688
4688
|
}
|
4689
4689
|
},
|
4690
|
+
exportRoomTagCounts: {
|
4691
|
+
method: "POST",
|
4692
|
+
path: "/export-room-tag-counts",
|
4693
|
+
body: DashboardGlobalFiltersSchema,
|
4694
|
+
responses: {
|
4695
|
+
200: DefaultSuccessResponseSchema
|
4696
|
+
}
|
4697
|
+
},
|
4690
4698
|
getCallTagData: {
|
4691
4699
|
method: "GET",
|
4692
4700
|
path: "/call/tag",
|
@@ -4754,9 +4762,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4754
4762
|
}
|
4755
4763
|
},
|
4756
4764
|
exportMessageAverageData: {
|
4757
|
-
method: "
|
4765
|
+
method: "POST",
|
4758
4766
|
path: "/export-message-average-data",
|
4759
|
-
|
4767
|
+
body: import_zod55.default.object({
|
4760
4768
|
selectedDate: import_zod55.default.string().min(1),
|
4761
4769
|
automationQueueId: import_zod55.default.string().uuid().optional(),
|
4762
4770
|
channelIds: import_zod55.default.array(import_zod55.default.string().uuid()).optional()
|
@@ -4779,9 +4787,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4779
4787
|
}
|
4780
4788
|
},
|
4781
4789
|
exportRoomChannelCounts: {
|
4782
|
-
method: "
|
4790
|
+
method: "POST",
|
4783
4791
|
path: "/export-room-channel-counts",
|
4784
|
-
|
4792
|
+
body: DashboardGlobalFiltersSchema,
|
4785
4793
|
responses: {
|
4786
4794
|
200: DefaultSuccessResponseSchema
|
4787
4795
|
}
|
@@ -4803,6 +4811,14 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4803
4811
|
401: DefaultUnauthorizedSchema
|
4804
4812
|
}
|
4805
4813
|
},
|
4814
|
+
exportRoomDispositionCounts: {
|
4815
|
+
method: "POST",
|
4816
|
+
path: "/export-room-disposition-counts",
|
4817
|
+
body: DashboardGlobalFiltersSchema,
|
4818
|
+
responses: {
|
4819
|
+
200: DefaultSuccessResponseSchema
|
4820
|
+
}
|
4821
|
+
},
|
4806
4822
|
getIncomingMessageByPlatform: {
|
4807
4823
|
method: "GET",
|
4808
4824
|
path: "/message/incoming",
|
@@ -4830,9 +4846,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4830
4846
|
}
|
4831
4847
|
},
|
4832
4848
|
exportIncomingMessageCounts: {
|
4833
|
-
method: "
|
4849
|
+
method: "POST",
|
4834
4850
|
path: "/export-incoming-message-counts",
|
4835
|
-
|
4851
|
+
body: DashboardGlobalFiltersSchema,
|
4836
4852
|
responses: {
|
4837
4853
|
200: DefaultSuccessResponseSchema
|
4838
4854
|
}
|
@@ -4897,9 +4913,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4897
4913
|
}
|
4898
4914
|
},
|
4899
4915
|
exportAgentMessageStatistics: {
|
4900
|
-
method: "
|
4916
|
+
method: "POST",
|
4901
4917
|
path: "/export-agent-message-statistics",
|
4902
|
-
|
4918
|
+
body: MessageDashboardDetailsQuerySchema,
|
4903
4919
|
responses: {
|
4904
4920
|
200: DefaultSuccessResponseSchema
|
4905
4921
|
}
|
@@ -4923,9 +4939,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4923
4939
|
}
|
4924
4940
|
},
|
4925
4941
|
exportUserCheckInLogs: {
|
4926
|
-
method: "
|
4942
|
+
method: "POST",
|
4927
4943
|
path: "/export-user-check-in-logs",
|
4928
|
-
|
4944
|
+
body: import_zod55.default.object({
|
4929
4945
|
automationQueueId: import_zod55.default.string().uuid().optional(),
|
4930
4946
|
selectedDate: import_zod55.default.string().min(1),
|
4931
4947
|
keyword: import_zod55.default.string().optional()
|
@@ -4950,12 +4966,41 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4950
4966
|
})
|
4951
4967
|
}
|
4952
4968
|
},
|
4969
|
+
getPresenceStatusDurations: {
|
4970
|
+
method: "GET",
|
4971
|
+
path: "/presence-status-durations",
|
4972
|
+
query: import_zod55.default.object({
|
4973
|
+
userId: import_zod55.default.string().uuid(),
|
4974
|
+
selectedDate: import_zod55.default.string().min(1),
|
4975
|
+
page: import_zod55.default.coerce.number().positive(),
|
4976
|
+
pageSize: import_zod55.default.coerce.number().positive()
|
4977
|
+
}),
|
4978
|
+
responses: {
|
4979
|
+
200: DefaultSuccessResponseSchema.extend({
|
4980
|
+
presenceStatusDurations: import_zod55.default.array(
|
4981
|
+
import_zod55.default.object({
|
4982
|
+
formattedDate: import_zod55.default.string(),
|
4983
|
+
date: import_zod55.default.date(),
|
4984
|
+
durations: import_zod55.default.array(
|
4985
|
+
import_zod55.default.object({
|
4986
|
+
presenceStatusName: import_zod55.default.string(),
|
4987
|
+
durationSeconds: import_zod55.default.number().positive(),
|
4988
|
+
formattedDuration: import_zod55.default.string()
|
4989
|
+
})
|
4990
|
+
)
|
4991
|
+
})
|
4992
|
+
)
|
4993
|
+
})
|
4994
|
+
}
|
4995
|
+
},
|
4953
4996
|
getUserCheckInLogsByUserId: {
|
4954
4997
|
method: "GET",
|
4955
4998
|
path: "/user-check-in-logs-by-user-id",
|
4956
4999
|
query: import_zod55.default.object({
|
5000
|
+
automationQueueId: import_zod55.default.string().uuid().optional(),
|
4957
5001
|
userId: import_zod55.default.string().uuid(),
|
4958
5002
|
selectedDate: import_zod55.default.string().min(1),
|
5003
|
+
page: import_zod55.default.coerce.number().positive(),
|
4959
5004
|
pageSize: import_zod55.default.coerce.number().positive()
|
4960
5005
|
}),
|
4961
5006
|
responses: {
|
@@ -4969,6 +5014,17 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4969
5014
|
)
|
4970
5015
|
})
|
4971
5016
|
}
|
5017
|
+
},
|
5018
|
+
exportUserCheckInLogsByUserId: {
|
5019
|
+
method: "POST",
|
5020
|
+
path: "/export-user-check-in-logs-by-user-id",
|
5021
|
+
body: import_zod55.default.object({
|
5022
|
+
userId: import_zod55.default.string().uuid(),
|
5023
|
+
selectedDate: import_zod55.default.string().min(1)
|
5024
|
+
}),
|
5025
|
+
responses: {
|
5026
|
+
200: DefaultSuccessResponseSchema
|
5027
|
+
}
|
4972
5028
|
}
|
4973
5029
|
},
|
4974
5030
|
{
|