@kl1/contracts 1.1.5-uat → 1.1.16-uat

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.
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/line/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAA"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/line/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/line/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DhC,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/line/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DhC,CAAC"}
@@ -54,22 +54,49 @@ export declare const mailContract: {
54
54
  query: import("zod").ZodObject<{
55
55
  page: import("zod").ZodDefault<import("zod").ZodNumber>;
56
56
  pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
57
- keyword: import("zod").ZodOptional<import("zod").ZodString>;
57
+ keyword: import("zod").ZodOptional<import("zod").ZodObject<{
58
+ value: import("zod").ZodString;
59
+ category: import("zod").ZodUnion<[import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"message">]>;
60
+ }, "strip", import("zod").ZodTypeAny, {
61
+ value: string;
62
+ category: "message" | "contact";
63
+ }, {
64
+ value: string;
65
+ category: "message" | "contact";
66
+ }>>;
58
67
  contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
68
+ channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
69
+ date: import("zod").ZodOptional<import("zod").ZodString>;
70
+ contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
71
+ assignees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
59
72
  level1: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"open">, import("zod").ZodLiteral<"close">, import("zod").ZodLiteral<"inbox">, import("zod").ZodLiteral<"sent">, import("zod").ZodLiteral<"scheduled">, import("zod").ZodLiteral<"starred">]>>;
60
73
  level2: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodLiteral<"unassign">, import("zod").ZodLiteral<"mine">, import("zod").ZodLiteral<"other">]>>;
61
74
  }, "strip", import("zod").ZodTypeAny, {
62
75
  page: number;
63
76
  pageSize: number;
64
- keyword?: string | undefined;
77
+ keyword?: {
78
+ value: string;
79
+ category: "message" | "contact";
80
+ } | undefined;
65
81
  contactLabels?: string[] | undefined;
82
+ channels?: string[] | undefined;
83
+ date?: string | undefined;
84
+ contacts?: string[] | undefined;
85
+ assignees?: string[] | undefined;
66
86
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
67
87
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
68
88
  }, {
69
89
  page?: number | undefined;
70
90
  pageSize?: number | undefined;
71
- keyword?: string | undefined;
91
+ keyword?: {
92
+ value: string;
93
+ category: "message" | "contact";
94
+ } | undefined;
72
95
  contactLabels?: string[] | undefined;
96
+ channels?: string[] | undefined;
97
+ date?: string | undefined;
98
+ contacts?: string[] | undefined;
99
+ assignees?: string[] | undefined;
73
100
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
74
101
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
75
102
  }>;
@@ -7170,21 +7197,21 @@ export declare const mailContract: {
7170
7197
  };
7171
7198
  update: {
7172
7199
  body: import("zod").ZodObject<{
7173
- resolved: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
7200
+ disposition: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"resolved">, import("zod").ZodLiteral<"follow_up">, import("zod").ZodLiteral<"escalated">, import("zod").ZodLiteral<"dropped">, import("zod").ZodLiteral<"prank">, import("zod").ZodLiteral<"blank">]>>>;
7174
7201
  assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
7175
7202
  note: import("zod").ZodOptional<import("zod").ZodString>;
7176
7203
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
7177
7204
  handover: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
7178
7205
  selfAssign: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
7179
7206
  }, "strip", import("zod").ZodTypeAny, {
7180
- resolved?: boolean | null | undefined;
7207
+ disposition?: "resolved" | "follow_up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
7181
7208
  assigneeId?: string | null | undefined;
7182
7209
  note?: string | undefined;
7183
7210
  tags?: string[] | undefined;
7184
7211
  handover?: boolean | null | undefined;
7185
7212
  selfAssign?: boolean | null | undefined;
7186
7213
  }, {
7187
- resolved?: boolean | "false" | "true" | null | undefined;
7214
+ disposition?: "resolved" | "follow_up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
7188
7215
  assigneeId?: string | null | undefined;
7189
7216
  note?: string | undefined;
7190
7217
  tags?: string[] | undefined;
@@ -10806,7 +10833,7 @@ export declare const mailContract: {
10806
10833
  presignedUrl: string;
10807
10834
  }[] | undefined;
10808
10835
  }>;
10809
- summary: "Submit a message such compose, reply or forward";
10836
+ summary: "Submit a message such as compose, reply or forward";
10810
10837
  method: "POST";
10811
10838
  responses: {
10812
10839
  500: import("zod").ZodObject<{
@@ -10887,6 +10914,500 @@ export declare const mailContract: {
10887
10914
  };
10888
10915
  path: "mail/message/submit";
10889
10916
  };
10917
+ getRoomCounts: {
10918
+ summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
10919
+ method: "GET";
10920
+ responses: {
10921
+ 401: import("zod").ZodObject<{
10922
+ message: import("zod").ZodString;
10923
+ error: import("zod").ZodAny;
10924
+ }, "strip", import("zod").ZodTypeAny, {
10925
+ message: string;
10926
+ error?: any;
10927
+ }, {
10928
+ message: string;
10929
+ error?: any;
10930
+ }>;
10931
+ 404: import("zod").ZodObject<{
10932
+ message: import("zod").ZodString;
10933
+ error: import("zod").ZodAny;
10934
+ }, "strip", import("zod").ZodTypeAny, {
10935
+ message: string;
10936
+ error?: any;
10937
+ }, {
10938
+ message: string;
10939
+ error?: any;
10940
+ }>;
10941
+ 422: import("zod").ZodObject<{
10942
+ message: import("zod").ZodString;
10943
+ error: import("zod").ZodAny;
10944
+ }, "strip", import("zod").ZodTypeAny, {
10945
+ message: string;
10946
+ error?: any;
10947
+ }, {
10948
+ message: string;
10949
+ error?: any;
10950
+ }>;
10951
+ 200: import("zod").ZodObject<{
10952
+ requestId: import("zod").ZodString;
10953
+ data: import("zod").ZodObject<{
10954
+ general: import("zod").ZodArray<import("zod").ZodObject<{
10955
+ name: import("zod").ZodString;
10956
+ count: import("zod").ZodNumber;
10957
+ }, "strip", import("zod").ZodTypeAny, {
10958
+ name: string;
10959
+ count: number;
10960
+ }, {
10961
+ name: string;
10962
+ count: number;
10963
+ }>, "many">;
10964
+ channels: import("zod").ZodArray<import("zod").ZodObject<{
10965
+ channel: import("zod").ZodObject<{
10966
+ id: import("zod").ZodString;
10967
+ createdAt: import("zod").ZodDate;
10968
+ updatedAt: import("zod").ZodDate;
10969
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10970
+ name: import("zod").ZodString;
10971
+ address: import("zod").ZodString;
10972
+ accountId: import("zod").ZodString;
10973
+ mailServerId: import("zod").ZodString;
10974
+ mailServer: import("zod").ZodObject<{
10975
+ id: import("zod").ZodString;
10976
+ createdAt: import("zod").ZodDate;
10977
+ updatedAt: import("zod").ZodDate;
10978
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10979
+ name: import("zod").ZodString;
10980
+ smtpHost: import("zod").ZodString;
10981
+ smtpPort: import("zod").ZodNumber;
10982
+ smtpTlsPort: import("zod").ZodNumber;
10983
+ useTlsForSmtp: import("zod").ZodBoolean;
10984
+ imapHost: import("zod").ZodString;
10985
+ imapPort: import("zod").ZodNumber;
10986
+ imapTlsPort: import("zod").ZodNumber;
10987
+ useTlsForImap: import("zod").ZodBoolean;
10988
+ }, "strip", import("zod").ZodTypeAny, {
10989
+ id: string;
10990
+ name: string;
10991
+ createdAt: Date;
10992
+ updatedAt: Date;
10993
+ deletedAt: Date | null;
10994
+ smtpHost: string;
10995
+ smtpPort: number;
10996
+ smtpTlsPort: number;
10997
+ useTlsForSmtp: boolean;
10998
+ imapHost: string;
10999
+ imapPort: number;
11000
+ imapTlsPort: number;
11001
+ useTlsForImap: boolean;
11002
+ }, {
11003
+ id: string;
11004
+ name: string;
11005
+ createdAt: Date;
11006
+ updatedAt: Date;
11007
+ deletedAt: Date | null;
11008
+ smtpHost: string;
11009
+ smtpPort: number;
11010
+ smtpTlsPort: number;
11011
+ useTlsForSmtp: boolean;
11012
+ imapHost: string;
11013
+ imapPort: number;
11014
+ imapTlsPort: number;
11015
+ useTlsForImap: boolean;
11016
+ }>;
11017
+ state: import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>;
11018
+ }, "strip", import("zod").ZodTypeAny, {
11019
+ id: string;
11020
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11021
+ address: string;
11022
+ name: string;
11023
+ createdAt: Date;
11024
+ updatedAt: Date;
11025
+ deletedAt: Date | null;
11026
+ accountId: string;
11027
+ mailServerId: string;
11028
+ mailServer: {
11029
+ id: string;
11030
+ name: string;
11031
+ createdAt: Date;
11032
+ updatedAt: Date;
11033
+ deletedAt: Date | null;
11034
+ smtpHost: string;
11035
+ smtpPort: number;
11036
+ smtpTlsPort: number;
11037
+ useTlsForSmtp: boolean;
11038
+ imapHost: string;
11039
+ imapPort: number;
11040
+ imapTlsPort: number;
11041
+ useTlsForImap: boolean;
11042
+ };
11043
+ }, {
11044
+ id: string;
11045
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11046
+ address: string;
11047
+ name: string;
11048
+ createdAt: Date;
11049
+ updatedAt: Date;
11050
+ deletedAt: Date | null;
11051
+ accountId: string;
11052
+ mailServerId: string;
11053
+ mailServer: {
11054
+ id: string;
11055
+ name: string;
11056
+ createdAt: Date;
11057
+ updatedAt: Date;
11058
+ deletedAt: Date | null;
11059
+ smtpHost: string;
11060
+ smtpPort: number;
11061
+ smtpTlsPort: number;
11062
+ useTlsForSmtp: boolean;
11063
+ imapHost: string;
11064
+ imapPort: number;
11065
+ imapTlsPort: number;
11066
+ useTlsForImap: boolean;
11067
+ };
11068
+ }>;
11069
+ count: import("zod").ZodNumber;
11070
+ }, "strip", import("zod").ZodTypeAny, {
11071
+ channel: {
11072
+ id: string;
11073
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11074
+ address: string;
11075
+ name: string;
11076
+ createdAt: Date;
11077
+ updatedAt: Date;
11078
+ deletedAt: Date | null;
11079
+ accountId: string;
11080
+ mailServerId: string;
11081
+ mailServer: {
11082
+ id: string;
11083
+ name: string;
11084
+ createdAt: Date;
11085
+ updatedAt: Date;
11086
+ deletedAt: Date | null;
11087
+ smtpHost: string;
11088
+ smtpPort: number;
11089
+ smtpTlsPort: number;
11090
+ useTlsForSmtp: boolean;
11091
+ imapHost: string;
11092
+ imapPort: number;
11093
+ imapTlsPort: number;
11094
+ useTlsForImap: boolean;
11095
+ };
11096
+ };
11097
+ count: number;
11098
+ }, {
11099
+ channel: {
11100
+ id: string;
11101
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11102
+ address: string;
11103
+ name: string;
11104
+ createdAt: Date;
11105
+ updatedAt: Date;
11106
+ deletedAt: Date | null;
11107
+ accountId: string;
11108
+ mailServerId: string;
11109
+ mailServer: {
11110
+ id: string;
11111
+ name: string;
11112
+ createdAt: Date;
11113
+ updatedAt: Date;
11114
+ deletedAt: Date | null;
11115
+ smtpHost: string;
11116
+ smtpPort: number;
11117
+ smtpTlsPort: number;
11118
+ useTlsForSmtp: boolean;
11119
+ imapHost: string;
11120
+ imapPort: number;
11121
+ imapTlsPort: number;
11122
+ useTlsForImap: boolean;
11123
+ };
11124
+ };
11125
+ count: number;
11126
+ }>, "many">;
11127
+ contactLabels: import("zod").ZodArray<import("zod").ZodObject<{
11128
+ label: import("zod").ZodObject<{
11129
+ id: import("zod").ZodString;
11130
+ createdAt: import("zod").ZodDate;
11131
+ updatedAt: import("zod").ZodDate;
11132
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
11133
+ name: import("zod").ZodString;
11134
+ }, "strip", import("zod").ZodTypeAny, {
11135
+ id: string;
11136
+ name: string;
11137
+ createdAt: Date;
11138
+ updatedAt: Date;
11139
+ deletedAt: Date | null;
11140
+ }, {
11141
+ id: string;
11142
+ name: string;
11143
+ createdAt: Date;
11144
+ updatedAt: Date;
11145
+ deletedAt: Date | null;
11146
+ }>;
11147
+ count: import("zod").ZodNumber;
11148
+ }, "strip", import("zod").ZodTypeAny, {
11149
+ label: {
11150
+ id: string;
11151
+ name: string;
11152
+ createdAt: Date;
11153
+ updatedAt: Date;
11154
+ deletedAt: Date | null;
11155
+ };
11156
+ count: number;
11157
+ }, {
11158
+ label: {
11159
+ id: string;
11160
+ name: string;
11161
+ createdAt: Date;
11162
+ updatedAt: Date;
11163
+ deletedAt: Date | null;
11164
+ };
11165
+ count: number;
11166
+ }>, "many">;
11167
+ }, "strip", import("zod").ZodTypeAny, {
11168
+ general: {
11169
+ name: string;
11170
+ count: number;
11171
+ }[];
11172
+ channels: {
11173
+ channel: {
11174
+ id: string;
11175
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11176
+ address: string;
11177
+ name: string;
11178
+ createdAt: Date;
11179
+ updatedAt: Date;
11180
+ deletedAt: Date | null;
11181
+ accountId: string;
11182
+ mailServerId: string;
11183
+ mailServer: {
11184
+ id: string;
11185
+ name: string;
11186
+ createdAt: Date;
11187
+ updatedAt: Date;
11188
+ deletedAt: Date | null;
11189
+ smtpHost: string;
11190
+ smtpPort: number;
11191
+ smtpTlsPort: number;
11192
+ useTlsForSmtp: boolean;
11193
+ imapHost: string;
11194
+ imapPort: number;
11195
+ imapTlsPort: number;
11196
+ useTlsForImap: boolean;
11197
+ };
11198
+ };
11199
+ count: number;
11200
+ }[];
11201
+ contactLabels: {
11202
+ label: {
11203
+ id: string;
11204
+ name: string;
11205
+ createdAt: Date;
11206
+ updatedAt: Date;
11207
+ deletedAt: Date | null;
11208
+ };
11209
+ count: number;
11210
+ }[];
11211
+ }, {
11212
+ general: {
11213
+ name: string;
11214
+ count: number;
11215
+ }[];
11216
+ channels: {
11217
+ channel: {
11218
+ id: string;
11219
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11220
+ address: string;
11221
+ name: string;
11222
+ createdAt: Date;
11223
+ updatedAt: Date;
11224
+ deletedAt: Date | null;
11225
+ accountId: string;
11226
+ mailServerId: string;
11227
+ mailServer: {
11228
+ id: string;
11229
+ name: string;
11230
+ createdAt: Date;
11231
+ updatedAt: Date;
11232
+ deletedAt: Date | null;
11233
+ smtpHost: string;
11234
+ smtpPort: number;
11235
+ smtpTlsPort: number;
11236
+ useTlsForSmtp: boolean;
11237
+ imapHost: string;
11238
+ imapPort: number;
11239
+ imapTlsPort: number;
11240
+ useTlsForImap: boolean;
11241
+ };
11242
+ };
11243
+ count: number;
11244
+ }[];
11245
+ contactLabels: {
11246
+ label: {
11247
+ id: string;
11248
+ name: string;
11249
+ createdAt: Date;
11250
+ updatedAt: Date;
11251
+ deletedAt: Date | null;
11252
+ };
11253
+ count: number;
11254
+ }[];
11255
+ }>;
11256
+ }, "strip", import("zod").ZodTypeAny, {
11257
+ data: {
11258
+ general: {
11259
+ name: string;
11260
+ count: number;
11261
+ }[];
11262
+ channels: {
11263
+ channel: {
11264
+ id: string;
11265
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11266
+ address: string;
11267
+ name: string;
11268
+ createdAt: Date;
11269
+ updatedAt: Date;
11270
+ deletedAt: Date | null;
11271
+ accountId: string;
11272
+ mailServerId: string;
11273
+ mailServer: {
11274
+ id: string;
11275
+ name: string;
11276
+ createdAt: Date;
11277
+ updatedAt: Date;
11278
+ deletedAt: Date | null;
11279
+ smtpHost: string;
11280
+ smtpPort: number;
11281
+ smtpTlsPort: number;
11282
+ useTlsForSmtp: boolean;
11283
+ imapHost: string;
11284
+ imapPort: number;
11285
+ imapTlsPort: number;
11286
+ useTlsForImap: boolean;
11287
+ };
11288
+ };
11289
+ count: number;
11290
+ }[];
11291
+ contactLabels: {
11292
+ label: {
11293
+ id: string;
11294
+ name: string;
11295
+ createdAt: Date;
11296
+ updatedAt: Date;
11297
+ deletedAt: Date | null;
11298
+ };
11299
+ count: number;
11300
+ }[];
11301
+ };
11302
+ requestId: string;
11303
+ }, {
11304
+ data: {
11305
+ general: {
11306
+ name: string;
11307
+ count: number;
11308
+ }[];
11309
+ channels: {
11310
+ channel: {
11311
+ id: string;
11312
+ state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11313
+ address: string;
11314
+ name: string;
11315
+ createdAt: Date;
11316
+ updatedAt: Date;
11317
+ deletedAt: Date | null;
11318
+ accountId: string;
11319
+ mailServerId: string;
11320
+ mailServer: {
11321
+ id: string;
11322
+ name: string;
11323
+ createdAt: Date;
11324
+ updatedAt: Date;
11325
+ deletedAt: Date | null;
11326
+ smtpHost: string;
11327
+ smtpPort: number;
11328
+ smtpTlsPort: number;
11329
+ useTlsForSmtp: boolean;
11330
+ imapHost: string;
11331
+ imapPort: number;
11332
+ imapTlsPort: number;
11333
+ useTlsForImap: boolean;
11334
+ };
11335
+ };
11336
+ count: number;
11337
+ }[];
11338
+ contactLabels: {
11339
+ label: {
11340
+ id: string;
11341
+ name: string;
11342
+ createdAt: Date;
11343
+ updatedAt: Date;
11344
+ deletedAt: Date | null;
11345
+ };
11346
+ count: number;
11347
+ }[];
11348
+ };
11349
+ requestId: string;
11350
+ }>;
11351
+ };
11352
+ path: "mail/message/room_counts";
11353
+ };
11354
+ getTotalUnreadMessageCount: {
11355
+ summary: "Get total unread messages counts";
11356
+ method: "GET";
11357
+ responses: {
11358
+ 401: import("zod").ZodObject<{
11359
+ message: import("zod").ZodString;
11360
+ error: import("zod").ZodAny;
11361
+ }, "strip", import("zod").ZodTypeAny, {
11362
+ message: string;
11363
+ error?: any;
11364
+ }, {
11365
+ message: string;
11366
+ error?: any;
11367
+ }>;
11368
+ 404: import("zod").ZodObject<{
11369
+ message: import("zod").ZodString;
11370
+ error: import("zod").ZodAny;
11371
+ }, "strip", import("zod").ZodTypeAny, {
11372
+ message: string;
11373
+ error?: any;
11374
+ }, {
11375
+ message: string;
11376
+ error?: any;
11377
+ }>;
11378
+ 422: import("zod").ZodObject<{
11379
+ message: import("zod").ZodString;
11380
+ error: import("zod").ZodAny;
11381
+ }, "strip", import("zod").ZodTypeAny, {
11382
+ message: string;
11383
+ error?: any;
11384
+ }, {
11385
+ message: string;
11386
+ error?: any;
11387
+ }>;
11388
+ 200: import("zod").ZodObject<{
11389
+ requestId: import("zod").ZodString;
11390
+ data: import("zod").ZodObject<{
11391
+ count: import("zod").ZodNumber;
11392
+ }, "strip", import("zod").ZodTypeAny, {
11393
+ count: number;
11394
+ }, {
11395
+ count: number;
11396
+ }>;
11397
+ }, "strip", import("zod").ZodTypeAny, {
11398
+ data: {
11399
+ count: number;
11400
+ };
11401
+ requestId: string;
11402
+ }, {
11403
+ data: {
11404
+ count: number;
11405
+ };
11406
+ requestId: string;
11407
+ }>;
11408
+ };
11409
+ path: "mail/message/new_message_count";
11410
+ };
10890
11411
  getById: {
10891
11412
  summary: "Get a message by id";
10892
11413
  method: "GET";