@kl1/contracts 1.3.27 → 1.3.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -26041,7 +26041,8 @@ export declare const apiContract: {
26041
26041
  }>>>;
26042
26042
  };
26043
26043
  exportRoomTagCounts: {
26044
- body: import("zod").ZodObject<{
26044
+ method: "GET";
26045
+ query: import("zod").ZodObject<{
26045
26046
  automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
26046
26047
  selectedDate: import("zod").ZodString;
26047
26048
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -26057,7 +26058,6 @@ export declare const apiContract: {
26057
26058
  automationQueueId?: string | undefined;
26058
26059
  channelIds?: string[] | undefined;
26059
26060
  }>;
26060
- method: "POST";
26061
26061
  responses: {
26062
26062
  200: import("zod").ZodObject<{
26063
26063
  requestId: import("zod").ZodString;
@@ -26550,7 +26550,8 @@ export declare const apiContract: {
26550
26550
  }>>>;
26551
26551
  };
26552
26552
  exportMessageAverageData: {
26553
- body: import("zod").ZodObject<{
26553
+ method: "GET";
26554
+ query: import("zod").ZodObject<{
26554
26555
  selectedDate: import("zod").ZodString;
26555
26556
  automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
26556
26557
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -26566,7 +26567,6 @@ export declare const apiContract: {
26566
26567
  automationQueueId?: string | undefined;
26567
26568
  channelIds?: string[] | undefined;
26568
26569
  }>;
26569
- method: "POST";
26570
26570
  responses: {
26571
26571
  200: import("zod").ZodObject<{
26572
26572
  requestId: import("zod").ZodString;
@@ -26650,7 +26650,8 @@ export declare const apiContract: {
26650
26650
  }>>>;
26651
26651
  };
26652
26652
  exportRoomChannelCounts: {
26653
- body: import("zod").ZodObject<{
26653
+ method: "GET";
26654
+ query: import("zod").ZodObject<{
26654
26655
  automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
26655
26656
  selectedDate: import("zod").ZodString;
26656
26657
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -26666,7 +26667,6 @@ export declare const apiContract: {
26666
26667
  automationQueueId?: string | undefined;
26667
26668
  channelIds?: string[] | undefined;
26668
26669
  }>;
26669
- method: "POST";
26670
26670
  responses: {
26671
26671
  200: import("zod").ZodObject<{
26672
26672
  requestId: import("zod").ZodString;
@@ -26750,7 +26750,8 @@ export declare const apiContract: {
26750
26750
  }>>>;
26751
26751
  };
26752
26752
  exportRoomDispositionCounts: {
26753
- body: import("zod").ZodObject<{
26753
+ method: "GET";
26754
+ query: import("zod").ZodObject<{
26754
26755
  automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
26755
26756
  selectedDate: import("zod").ZodString;
26756
26757
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -26766,7 +26767,6 @@ export declare const apiContract: {
26766
26767
  automationQueueId?: string | undefined;
26767
26768
  channelIds?: string[] | undefined;
26768
26769
  }>;
26769
- method: "POST";
26770
26770
  responses: {
26771
26771
  200: import("zod").ZodObject<{
26772
26772
  requestId: import("zod").ZodString;
@@ -26929,7 +26929,8 @@ export declare const apiContract: {
26929
26929
  }>>>;
26930
26930
  };
26931
26931
  exportIncomingMessageCounts: {
26932
- body: import("zod").ZodObject<{
26932
+ method: "GET";
26933
+ query: import("zod").ZodObject<{
26933
26934
  automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
26934
26935
  selectedDate: import("zod").ZodString;
26935
26936
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -26945,7 +26946,6 @@ export declare const apiContract: {
26945
26946
  automationQueueId?: string | undefined;
26946
26947
  channelIds?: string[] | undefined;
26947
26948
  }>;
26948
- method: "POST";
26949
26949
  responses: {
26950
26950
  200: import("zod").ZodObject<{
26951
26951
  requestId: import("zod").ZodString;
@@ -27303,7 +27303,8 @@ export declare const apiContract: {
27303
27303
  path: "ms/dashboard/agent-message-statistics";
27304
27304
  };
27305
27305
  exportAgentMessageStatistics: {
27306
- body: import("zod").ZodObject<{
27306
+ method: "GET";
27307
+ query: import("zod").ZodObject<{
27307
27308
  automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
27308
27309
  selectedDate: import("zod").ZodString;
27309
27310
  channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -27319,7 +27320,6 @@ export declare const apiContract: {
27319
27320
  automationQueueId?: string | undefined;
27320
27321
  channelIds?: string[] | undefined;
27321
27322
  }>;
27322
- method: "POST";
27323
27323
  responses: {
27324
27324
  200: import("zod").ZodObject<{
27325
27325
  requestId: import("zod").ZodString;
@@ -27452,7 +27452,8 @@ export declare const apiContract: {
27452
27452
  path: "ms/dashboard/user-check-in-logs-with-days";
27453
27453
  };
27454
27454
  exportUserCheckInLogs: {
27455
- body: import("zod").ZodObject<{
27455
+ method: "GET";
27456
+ query: import("zod").ZodObject<{
27456
27457
  automationQueueId: import("zod").ZodOptional<import("zod").ZodString>;
27457
27458
  selectedDate: import("zod").ZodString;
27458
27459
  keyword: import("zod").ZodOptional<import("zod").ZodString>;
@@ -27468,7 +27469,6 @@ export declare const apiContract: {
27468
27469
  automationQueueId?: string | undefined;
27469
27470
  keyword?: string | undefined;
27470
27471
  }>;
27471
- method: "POST";
27472
27472
  responses: {
27473
27473
  200: import("zod").ZodObject<{
27474
27474
  requestId: import("zod").ZodString;
@@ -27725,7 +27725,8 @@ export declare const apiContract: {
27725
27725
  path: "ms/dashboard/user-check-in-logs-by-user-id";
27726
27726
  };
27727
27727
  exportUserCheckInLogsByUserId: {
27728
- body: import("zod").ZodObject<{
27728
+ method: "GET";
27729
+ query: import("zod").ZodObject<{
27729
27730
  userId: import("zod").ZodString;
27730
27731
  selectedDate: import("zod").ZodString;
27731
27732
  fileExtension: import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>;
@@ -27738,7 +27739,6 @@ export declare const apiContract: {
27738
27739
  selectedDate: string;
27739
27740
  fileExtension: "csv" | "xlsx";
27740
27741
  }>;
27741
- method: "POST";
27742
27742
  responses: {
27743
27743
  200: import("zod").ZodObject<{
27744
27744
  requestId: import("zod").ZodString;
@@ -1240,7 +1240,8 @@ export declare const dashboardContract: {
1240
1240
  }>>>;
1241
1241
  };
1242
1242
  exportRoomTagCounts: {
1243
- body: z.ZodObject<{
1243
+ method: "GET";
1244
+ query: z.ZodObject<{
1244
1245
  automationQueueId: z.ZodOptional<z.ZodString>;
1245
1246
  selectedDate: z.ZodString;
1246
1247
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1256,7 +1257,6 @@ export declare const dashboardContract: {
1256
1257
  automationQueueId?: string | undefined;
1257
1258
  channelIds?: string[] | undefined;
1258
1259
  }>;
1259
- method: "POST";
1260
1260
  responses: {
1261
1261
  200: z.ZodObject<{
1262
1262
  requestId: z.ZodString;
@@ -1749,7 +1749,8 @@ export declare const dashboardContract: {
1749
1749
  }>>>;
1750
1750
  };
1751
1751
  exportMessageAverageData: {
1752
- body: z.ZodObject<{
1752
+ method: "GET";
1753
+ query: z.ZodObject<{
1753
1754
  selectedDate: z.ZodString;
1754
1755
  automationQueueId: z.ZodOptional<z.ZodString>;
1755
1756
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1765,7 +1766,6 @@ export declare const dashboardContract: {
1765
1766
  automationQueueId?: string | undefined;
1766
1767
  channelIds?: string[] | undefined;
1767
1768
  }>;
1768
- method: "POST";
1769
1769
  responses: {
1770
1770
  200: z.ZodObject<{
1771
1771
  requestId: z.ZodString;
@@ -1849,7 +1849,8 @@ export declare const dashboardContract: {
1849
1849
  }>>>;
1850
1850
  };
1851
1851
  exportRoomChannelCounts: {
1852
- body: z.ZodObject<{
1852
+ method: "GET";
1853
+ query: z.ZodObject<{
1853
1854
  automationQueueId: z.ZodOptional<z.ZodString>;
1854
1855
  selectedDate: z.ZodString;
1855
1856
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1865,7 +1866,6 @@ export declare const dashboardContract: {
1865
1866
  automationQueueId?: string | undefined;
1866
1867
  channelIds?: string[] | undefined;
1867
1868
  }>;
1868
- method: "POST";
1869
1869
  responses: {
1870
1870
  200: z.ZodObject<{
1871
1871
  requestId: z.ZodString;
@@ -1949,7 +1949,8 @@ export declare const dashboardContract: {
1949
1949
  }>>>;
1950
1950
  };
1951
1951
  exportRoomDispositionCounts: {
1952
- body: z.ZodObject<{
1952
+ method: "GET";
1953
+ query: z.ZodObject<{
1953
1954
  automationQueueId: z.ZodOptional<z.ZodString>;
1954
1955
  selectedDate: z.ZodString;
1955
1956
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1965,7 +1966,6 @@ export declare const dashboardContract: {
1965
1966
  automationQueueId?: string | undefined;
1966
1967
  channelIds?: string[] | undefined;
1967
1968
  }>;
1968
- method: "POST";
1969
1969
  responses: {
1970
1970
  200: z.ZodObject<{
1971
1971
  requestId: z.ZodString;
@@ -2128,7 +2128,8 @@ export declare const dashboardContract: {
2128
2128
  }>>>;
2129
2129
  };
2130
2130
  exportIncomingMessageCounts: {
2131
- body: z.ZodObject<{
2131
+ method: "GET";
2132
+ query: z.ZodObject<{
2132
2133
  automationQueueId: z.ZodOptional<z.ZodString>;
2133
2134
  selectedDate: z.ZodString;
2134
2135
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2144,7 +2145,6 @@ export declare const dashboardContract: {
2144
2145
  automationQueueId?: string | undefined;
2145
2146
  channelIds?: string[] | undefined;
2146
2147
  }>;
2147
- method: "POST";
2148
2148
  responses: {
2149
2149
  200: z.ZodObject<{
2150
2150
  requestId: z.ZodString;
@@ -2502,7 +2502,8 @@ export declare const dashboardContract: {
2502
2502
  path: "ms/dashboard/agent-message-statistics";
2503
2503
  };
2504
2504
  exportAgentMessageStatistics: {
2505
- body: z.ZodObject<{
2505
+ method: "GET";
2506
+ query: z.ZodObject<{
2506
2507
  automationQueueId: z.ZodOptional<z.ZodString>;
2507
2508
  selectedDate: z.ZodString;
2508
2509
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2518,7 +2519,6 @@ export declare const dashboardContract: {
2518
2519
  automationQueueId?: string | undefined;
2519
2520
  channelIds?: string[] | undefined;
2520
2521
  }>;
2521
- method: "POST";
2522
2522
  responses: {
2523
2523
  200: z.ZodObject<{
2524
2524
  requestId: z.ZodString;
@@ -2651,7 +2651,8 @@ export declare const dashboardContract: {
2651
2651
  path: "ms/dashboard/user-check-in-logs-with-days";
2652
2652
  };
2653
2653
  exportUserCheckInLogs: {
2654
- body: z.ZodObject<{
2654
+ method: "GET";
2655
+ query: z.ZodObject<{
2655
2656
  automationQueueId: z.ZodOptional<z.ZodString>;
2656
2657
  selectedDate: z.ZodString;
2657
2658
  keyword: z.ZodOptional<z.ZodString>;
@@ -2667,7 +2668,6 @@ export declare const dashboardContract: {
2667
2668
  automationQueueId?: string | undefined;
2668
2669
  keyword?: string | undefined;
2669
2670
  }>;
2670
- method: "POST";
2671
2671
  responses: {
2672
2672
  200: z.ZodObject<{
2673
2673
  requestId: z.ZodString;
@@ -2924,7 +2924,8 @@ export declare const dashboardContract: {
2924
2924
  path: "ms/dashboard/user-check-in-logs-by-user-id";
2925
2925
  };
2926
2926
  exportUserCheckInLogsByUserId: {
2927
- body: z.ZodObject<{
2927
+ method: "GET";
2928
+ query: z.ZodObject<{
2928
2929
  userId: z.ZodString;
2929
2930
  selectedDate: z.ZodString;
2930
2931
  fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
@@ -2937,7 +2938,6 @@ export declare const dashboardContract: {
2937
2938
  selectedDate: string;
2938
2939
  fileExtension: "csv" | "xlsx";
2939
2940
  }>;
2940
- method: "POST";
2941
2941
  responses: {
2942
2942
  200: z.ZodObject<{
2943
2943
  requestId: z.ZodString;
package/dist/index.js CHANGED
@@ -4711,9 +4711,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
4711
4711
  }
4712
4712
  },
4713
4713
  exportRoomTagCounts: {
4714
- method: "POST",
4714
+ method: "GET",
4715
4715
  path: "/export-room-tag-counts",
4716
- body: DashboardGlobalFiltersSchema.extend({
4716
+ query: DashboardGlobalFiltersSchema.extend({
4717
4717
  fileExtension: ExportFileExtensionSchema
4718
4718
  }),
4719
4719
  responses: {
@@ -4787,9 +4787,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
4787
4787
  }
4788
4788
  },
4789
4789
  exportMessageAverageData: {
4790
- method: "POST",
4790
+ method: "GET",
4791
4791
  path: "/export-message-average-data",
4792
- body: import_zod56.default.object({
4792
+ query: import_zod56.default.object({
4793
4793
  selectedDate: import_zod56.default.string().min(1),
4794
4794
  automationQueueId: import_zod56.default.string().uuid().optional(),
4795
4795
  channelIds: import_zod56.default.array(import_zod56.default.string().uuid()).optional(),
@@ -4813,9 +4813,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
4813
4813
  }
4814
4814
  },
4815
4815
  exportRoomChannelCounts: {
4816
- method: "POST",
4816
+ method: "GET",
4817
4817
  path: "/export-room-channel-counts",
4818
- body: DashboardGlobalFiltersSchema.extend({
4818
+ query: DashboardGlobalFiltersSchema.extend({
4819
4819
  fileExtension: ExportFileExtensionSchema
4820
4820
  }),
4821
4821
  responses: {
@@ -4840,9 +4840,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
4840
4840
  }
4841
4841
  },
4842
4842
  exportRoomDispositionCounts: {
4843
- method: "POST",
4843
+ method: "GET",
4844
4844
  path: "/export-room-disposition-counts",
4845
- body: DashboardGlobalFiltersSchema.extend({
4845
+ query: DashboardGlobalFiltersSchema.extend({
4846
4846
  fileExtension: ExportFileExtensionSchema
4847
4847
  }),
4848
4848
  responses: {
@@ -4876,9 +4876,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
4876
4876
  }
4877
4877
  },
4878
4878
  exportIncomingMessageCounts: {
4879
- method: "POST",
4879
+ method: "GET",
4880
4880
  path: "/export-incoming-message-counts",
4881
- body: DashboardGlobalFiltersSchema.extend({
4881
+ query: DashboardGlobalFiltersSchema.extend({
4882
4882
  fileExtension: ExportFileExtensionSchema
4883
4883
  }),
4884
4884
  responses: {
@@ -4947,9 +4947,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
4947
4947
  }
4948
4948
  },
4949
4949
  exportAgentMessageStatistics: {
4950
- method: "POST",
4950
+ method: "GET",
4951
4951
  path: "/export-agent-message-statistics",
4952
- body: MessageDashboardDetailsQuerySchema.extend({
4952
+ query: MessageDashboardDetailsQuerySchema.extend({
4953
4953
  fileExtension: ExportFileExtensionSchema
4954
4954
  }),
4955
4955
  responses: {
@@ -4976,9 +4976,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
4976
4976
  }
4977
4977
  },
4978
4978
  exportUserCheckInLogs: {
4979
- method: "POST",
4979
+ method: "GET",
4980
4980
  path: "/export-user-check-in-logs",
4981
- body: import_zod56.default.object({
4981
+ query: import_zod56.default.object({
4982
4982
  automationQueueId: import_zod56.default.string().uuid().optional(),
4983
4983
  selectedDate: import_zod56.default.string().min(1),
4984
4984
  keyword: import_zod56.default.string().optional(),
@@ -5060,9 +5060,9 @@ var dashboardContract = (0, import_core13.initContract)().router(
5060
5060
  }
5061
5061
  },
5062
5062
  exportUserCheckInLogsByUserId: {
5063
- method: "POST",
5063
+ method: "GET",
5064
5064
  path: "/export-user-check-in-logs-by-user-id",
5065
- body: import_zod56.default.object({
5065
+ query: import_zod56.default.object({
5066
5066
  userId: import_zod56.default.string().uuid(),
5067
5067
  selectedDate: import_zod56.default.string().min(1),
5068
5068
  fileExtension: ExportFileExtensionSchema