@kl1/contracts 1.1.19-uat → 1.1.20

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.
@@ -54,49 +54,19 @@ 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").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
- }>>;
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">>;
57
+ keyword: import("zod").ZodOptional<import("zod").ZodString>;
72
58
  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">]>>;
73
59
  level2: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodLiteral<"unassign">, import("zod").ZodLiteral<"mine">, import("zod").ZodLiteral<"other">]>>;
74
60
  }, "strip", import("zod").ZodTypeAny, {
75
61
  page: number;
76
62
  pageSize: number;
77
- keyword?: {
78
- value: string;
79
- category: "message" | "contact";
80
- } | undefined;
81
- contactLabels?: string[] | undefined;
82
- channels?: string[] | undefined;
83
- date?: string | undefined;
84
- contacts?: string[] | undefined;
85
- assignees?: string[] | undefined;
63
+ keyword?: string | undefined;
86
64
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
87
65
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
88
66
  }, {
89
67
  page?: number | undefined;
90
68
  pageSize?: number | undefined;
91
- keyword?: {
92
- value: string;
93
- category: "message" | "contact";
94
- } | undefined;
95
- contactLabels?: string[] | undefined;
96
- channels?: string[] | undefined;
97
- date?: string | undefined;
98
- contacts?: string[] | undefined;
99
- assignees?: string[] | undefined;
69
+ keyword?: string | undefined;
100
70
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
101
71
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
102
72
  }>;
@@ -7197,21 +7167,21 @@ export declare const mailContract: {
7197
7167
  };
7198
7168
  update: {
7199
7169
  body: import("zod").ZodObject<{
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">]>>>;
7170
+ 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">]>>>;
7201
7171
  assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
7202
7172
  note: import("zod").ZodOptional<import("zod").ZodString>;
7203
7173
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
7204
7174
  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">]>>>;
7205
7175
  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">]>>>;
7206
7176
  }, "strip", import("zod").ZodTypeAny, {
7207
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
7177
+ resolved?: boolean | null | undefined;
7208
7178
  assigneeId?: string | null | undefined;
7209
7179
  note?: string | undefined;
7210
7180
  tags?: string[] | undefined;
7211
7181
  handover?: boolean | null | undefined;
7212
7182
  selfAssign?: boolean | null | undefined;
7213
7183
  }, {
7214
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
7184
+ resolved?: boolean | "false" | "true" | null | undefined;
7215
7185
  assigneeId?: string | null | undefined;
7216
7186
  note?: string | undefined;
7217
7187
  tags?: string[] | undefined;
@@ -10636,9 +10606,8 @@ export declare const mailContract: {
10636
10606
  path: "mail/room/:id";
10637
10607
  };
10638
10608
  markAsRead: {
10639
- body: null;
10640
10609
  summary: "Mark all the un read messages as read";
10641
- method: "POST";
10610
+ method: "GET";
10642
10611
  pathParams: import("zod").ZodObject<{
10643
10612
  id: import("zod").ZodString;
10644
10613
  }, "strip", import("zod").ZodTypeAny, {
@@ -10834,7 +10803,7 @@ export declare const mailContract: {
10834
10803
  presignedUrl: string;
10835
10804
  }[] | undefined;
10836
10805
  }>;
10837
- summary: "Submit a message such as compose, reply or forward";
10806
+ summary: "Submit a message such compose, reply or forward";
10838
10807
  method: "POST";
10839
10808
  responses: {
10840
10809
  500: import("zod").ZodObject<{
@@ -10915,500 +10884,6 @@ export declare const mailContract: {
10915
10884
  };
10916
10885
  path: "mail/message/submit";
10917
10886
  };
10918
- getRoomCounts: {
10919
- summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
10920
- method: "GET";
10921
- responses: {
10922
- 401: import("zod").ZodObject<{
10923
- message: import("zod").ZodString;
10924
- error: import("zod").ZodAny;
10925
- }, "strip", import("zod").ZodTypeAny, {
10926
- message: string;
10927
- error?: any;
10928
- }, {
10929
- message: string;
10930
- error?: any;
10931
- }>;
10932
- 404: import("zod").ZodObject<{
10933
- message: import("zod").ZodString;
10934
- error: import("zod").ZodAny;
10935
- }, "strip", import("zod").ZodTypeAny, {
10936
- message: string;
10937
- error?: any;
10938
- }, {
10939
- message: string;
10940
- error?: any;
10941
- }>;
10942
- 422: import("zod").ZodObject<{
10943
- message: import("zod").ZodString;
10944
- error: import("zod").ZodAny;
10945
- }, "strip", import("zod").ZodTypeAny, {
10946
- message: string;
10947
- error?: any;
10948
- }, {
10949
- message: string;
10950
- error?: any;
10951
- }>;
10952
- 200: import("zod").ZodObject<{
10953
- requestId: import("zod").ZodString;
10954
- data: import("zod").ZodObject<{
10955
- general: import("zod").ZodArray<import("zod").ZodObject<{
10956
- name: import("zod").ZodString;
10957
- count: import("zod").ZodNumber;
10958
- }, "strip", import("zod").ZodTypeAny, {
10959
- name: string;
10960
- count: number;
10961
- }, {
10962
- name: string;
10963
- count: number;
10964
- }>, "many">;
10965
- channels: import("zod").ZodArray<import("zod").ZodObject<{
10966
- channel: import("zod").ZodObject<{
10967
- id: import("zod").ZodString;
10968
- createdAt: import("zod").ZodDate;
10969
- updatedAt: import("zod").ZodDate;
10970
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10971
- name: import("zod").ZodString;
10972
- address: import("zod").ZodString;
10973
- accountId: import("zod").ZodString;
10974
- mailServerId: import("zod").ZodString;
10975
- mailServer: import("zod").ZodObject<{
10976
- id: import("zod").ZodString;
10977
- createdAt: import("zod").ZodDate;
10978
- updatedAt: import("zod").ZodDate;
10979
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10980
- name: import("zod").ZodString;
10981
- smtpHost: import("zod").ZodString;
10982
- smtpPort: import("zod").ZodNumber;
10983
- smtpTlsPort: import("zod").ZodNumber;
10984
- useTlsForSmtp: import("zod").ZodBoolean;
10985
- imapHost: import("zod").ZodString;
10986
- imapPort: import("zod").ZodNumber;
10987
- imapTlsPort: import("zod").ZodNumber;
10988
- useTlsForImap: import("zod").ZodBoolean;
10989
- }, "strip", import("zod").ZodTypeAny, {
10990
- id: string;
10991
- name: string;
10992
- createdAt: Date;
10993
- updatedAt: Date;
10994
- deletedAt: Date | null;
10995
- smtpHost: string;
10996
- smtpPort: number;
10997
- smtpTlsPort: number;
10998
- useTlsForSmtp: boolean;
10999
- imapHost: string;
11000
- imapPort: number;
11001
- imapTlsPort: number;
11002
- useTlsForImap: boolean;
11003
- }, {
11004
- id: string;
11005
- name: string;
11006
- createdAt: Date;
11007
- updatedAt: Date;
11008
- deletedAt: Date | null;
11009
- smtpHost: string;
11010
- smtpPort: number;
11011
- smtpTlsPort: number;
11012
- useTlsForSmtp: boolean;
11013
- imapHost: string;
11014
- imapPort: number;
11015
- imapTlsPort: number;
11016
- useTlsForImap: boolean;
11017
- }>;
11018
- 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">]>;
11019
- }, "strip", import("zod").ZodTypeAny, {
11020
- id: string;
11021
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11022
- address: string;
11023
- name: string;
11024
- createdAt: Date;
11025
- updatedAt: Date;
11026
- deletedAt: Date | null;
11027
- accountId: string;
11028
- mailServerId: string;
11029
- mailServer: {
11030
- id: string;
11031
- name: string;
11032
- createdAt: Date;
11033
- updatedAt: Date;
11034
- deletedAt: Date | null;
11035
- smtpHost: string;
11036
- smtpPort: number;
11037
- smtpTlsPort: number;
11038
- useTlsForSmtp: boolean;
11039
- imapHost: string;
11040
- imapPort: number;
11041
- imapTlsPort: number;
11042
- useTlsForImap: boolean;
11043
- };
11044
- }, {
11045
- id: string;
11046
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11047
- address: string;
11048
- name: string;
11049
- createdAt: Date;
11050
- updatedAt: Date;
11051
- deletedAt: Date | null;
11052
- accountId: string;
11053
- mailServerId: string;
11054
- mailServer: {
11055
- id: string;
11056
- name: string;
11057
- createdAt: Date;
11058
- updatedAt: Date;
11059
- deletedAt: Date | null;
11060
- smtpHost: string;
11061
- smtpPort: number;
11062
- smtpTlsPort: number;
11063
- useTlsForSmtp: boolean;
11064
- imapHost: string;
11065
- imapPort: number;
11066
- imapTlsPort: number;
11067
- useTlsForImap: boolean;
11068
- };
11069
- }>;
11070
- count: import("zod").ZodNumber;
11071
- }, "strip", import("zod").ZodTypeAny, {
11072
- channel: {
11073
- id: string;
11074
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11075
- address: string;
11076
- name: string;
11077
- createdAt: Date;
11078
- updatedAt: Date;
11079
- deletedAt: Date | null;
11080
- accountId: string;
11081
- mailServerId: string;
11082
- mailServer: {
11083
- id: string;
11084
- name: string;
11085
- createdAt: Date;
11086
- updatedAt: Date;
11087
- deletedAt: Date | null;
11088
- smtpHost: string;
11089
- smtpPort: number;
11090
- smtpTlsPort: number;
11091
- useTlsForSmtp: boolean;
11092
- imapHost: string;
11093
- imapPort: number;
11094
- imapTlsPort: number;
11095
- useTlsForImap: boolean;
11096
- };
11097
- };
11098
- count: number;
11099
- }, {
11100
- channel: {
11101
- id: string;
11102
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11103
- address: string;
11104
- name: string;
11105
- createdAt: Date;
11106
- updatedAt: Date;
11107
- deletedAt: Date | null;
11108
- accountId: string;
11109
- mailServerId: string;
11110
- mailServer: {
11111
- id: string;
11112
- name: string;
11113
- createdAt: Date;
11114
- updatedAt: Date;
11115
- deletedAt: Date | null;
11116
- smtpHost: string;
11117
- smtpPort: number;
11118
- smtpTlsPort: number;
11119
- useTlsForSmtp: boolean;
11120
- imapHost: string;
11121
- imapPort: number;
11122
- imapTlsPort: number;
11123
- useTlsForImap: boolean;
11124
- };
11125
- };
11126
- count: number;
11127
- }>, "many">;
11128
- contactLabels: import("zod").ZodArray<import("zod").ZodObject<{
11129
- label: import("zod").ZodObject<{
11130
- id: import("zod").ZodString;
11131
- createdAt: import("zod").ZodDate;
11132
- updatedAt: import("zod").ZodDate;
11133
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
11134
- name: import("zod").ZodString;
11135
- }, "strip", import("zod").ZodTypeAny, {
11136
- id: string;
11137
- name: string;
11138
- createdAt: Date;
11139
- updatedAt: Date;
11140
- deletedAt: Date | null;
11141
- }, {
11142
- id: string;
11143
- name: string;
11144
- createdAt: Date;
11145
- updatedAt: Date;
11146
- deletedAt: Date | null;
11147
- }>;
11148
- count: import("zod").ZodNumber;
11149
- }, "strip", import("zod").ZodTypeAny, {
11150
- label: {
11151
- id: string;
11152
- name: string;
11153
- createdAt: Date;
11154
- updatedAt: Date;
11155
- deletedAt: Date | null;
11156
- };
11157
- count: number;
11158
- }, {
11159
- label: {
11160
- id: string;
11161
- name: string;
11162
- createdAt: Date;
11163
- updatedAt: Date;
11164
- deletedAt: Date | null;
11165
- };
11166
- count: number;
11167
- }>, "many">;
11168
- }, "strip", import("zod").ZodTypeAny, {
11169
- general: {
11170
- name: string;
11171
- count: number;
11172
- }[];
11173
- channels: {
11174
- channel: {
11175
- id: string;
11176
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11177
- address: string;
11178
- name: string;
11179
- createdAt: Date;
11180
- updatedAt: Date;
11181
- deletedAt: Date | null;
11182
- accountId: string;
11183
- mailServerId: string;
11184
- mailServer: {
11185
- id: string;
11186
- name: string;
11187
- createdAt: Date;
11188
- updatedAt: Date;
11189
- deletedAt: Date | null;
11190
- smtpHost: string;
11191
- smtpPort: number;
11192
- smtpTlsPort: number;
11193
- useTlsForSmtp: boolean;
11194
- imapHost: string;
11195
- imapPort: number;
11196
- imapTlsPort: number;
11197
- useTlsForImap: boolean;
11198
- };
11199
- };
11200
- count: number;
11201
- }[];
11202
- contactLabels: {
11203
- label: {
11204
- id: string;
11205
- name: string;
11206
- createdAt: Date;
11207
- updatedAt: Date;
11208
- deletedAt: Date | null;
11209
- };
11210
- count: number;
11211
- }[];
11212
- }, {
11213
- general: {
11214
- name: string;
11215
- count: number;
11216
- }[];
11217
- channels: {
11218
- channel: {
11219
- id: string;
11220
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11221
- address: string;
11222
- name: string;
11223
- createdAt: Date;
11224
- updatedAt: Date;
11225
- deletedAt: Date | null;
11226
- accountId: string;
11227
- mailServerId: string;
11228
- mailServer: {
11229
- id: string;
11230
- name: string;
11231
- createdAt: Date;
11232
- updatedAt: Date;
11233
- deletedAt: Date | null;
11234
- smtpHost: string;
11235
- smtpPort: number;
11236
- smtpTlsPort: number;
11237
- useTlsForSmtp: boolean;
11238
- imapHost: string;
11239
- imapPort: number;
11240
- imapTlsPort: number;
11241
- useTlsForImap: boolean;
11242
- };
11243
- };
11244
- count: number;
11245
- }[];
11246
- contactLabels: {
11247
- label: {
11248
- id: string;
11249
- name: string;
11250
- createdAt: Date;
11251
- updatedAt: Date;
11252
- deletedAt: Date | null;
11253
- };
11254
- count: number;
11255
- }[];
11256
- }>;
11257
- }, "strip", import("zod").ZodTypeAny, {
11258
- data: {
11259
- general: {
11260
- name: string;
11261
- count: number;
11262
- }[];
11263
- channels: {
11264
- channel: {
11265
- id: string;
11266
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11267
- address: string;
11268
- name: string;
11269
- createdAt: Date;
11270
- updatedAt: Date;
11271
- deletedAt: Date | null;
11272
- accountId: string;
11273
- mailServerId: string;
11274
- mailServer: {
11275
- id: string;
11276
- name: string;
11277
- createdAt: Date;
11278
- updatedAt: Date;
11279
- deletedAt: Date | null;
11280
- smtpHost: string;
11281
- smtpPort: number;
11282
- smtpTlsPort: number;
11283
- useTlsForSmtp: boolean;
11284
- imapHost: string;
11285
- imapPort: number;
11286
- imapTlsPort: number;
11287
- useTlsForImap: boolean;
11288
- };
11289
- };
11290
- count: number;
11291
- }[];
11292
- contactLabels: {
11293
- label: {
11294
- id: string;
11295
- name: string;
11296
- createdAt: Date;
11297
- updatedAt: Date;
11298
- deletedAt: Date | null;
11299
- };
11300
- count: number;
11301
- }[];
11302
- };
11303
- requestId: string;
11304
- }, {
11305
- data: {
11306
- general: {
11307
- name: string;
11308
- count: number;
11309
- }[];
11310
- channels: {
11311
- channel: {
11312
- id: string;
11313
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11314
- address: string;
11315
- name: string;
11316
- createdAt: Date;
11317
- updatedAt: Date;
11318
- deletedAt: Date | null;
11319
- accountId: string;
11320
- mailServerId: string;
11321
- mailServer: {
11322
- id: string;
11323
- name: string;
11324
- createdAt: Date;
11325
- updatedAt: Date;
11326
- deletedAt: Date | null;
11327
- smtpHost: string;
11328
- smtpPort: number;
11329
- smtpTlsPort: number;
11330
- useTlsForSmtp: boolean;
11331
- imapHost: string;
11332
- imapPort: number;
11333
- imapTlsPort: number;
11334
- useTlsForImap: boolean;
11335
- };
11336
- };
11337
- count: number;
11338
- }[];
11339
- contactLabels: {
11340
- label: {
11341
- id: string;
11342
- name: string;
11343
- createdAt: Date;
11344
- updatedAt: Date;
11345
- deletedAt: Date | null;
11346
- };
11347
- count: number;
11348
- }[];
11349
- };
11350
- requestId: string;
11351
- }>;
11352
- };
11353
- path: "mail/message/room_counts";
11354
- };
11355
- getTotalUnreadMessageCount: {
11356
- summary: "Get total unread messages counts";
11357
- method: "GET";
11358
- responses: {
11359
- 401: import("zod").ZodObject<{
11360
- message: import("zod").ZodString;
11361
- error: import("zod").ZodAny;
11362
- }, "strip", import("zod").ZodTypeAny, {
11363
- message: string;
11364
- error?: any;
11365
- }, {
11366
- message: string;
11367
- error?: any;
11368
- }>;
11369
- 404: import("zod").ZodObject<{
11370
- message: import("zod").ZodString;
11371
- error: import("zod").ZodAny;
11372
- }, "strip", import("zod").ZodTypeAny, {
11373
- message: string;
11374
- error?: any;
11375
- }, {
11376
- message: string;
11377
- error?: any;
11378
- }>;
11379
- 422: import("zod").ZodObject<{
11380
- message: import("zod").ZodString;
11381
- error: import("zod").ZodAny;
11382
- }, "strip", import("zod").ZodTypeAny, {
11383
- message: string;
11384
- error?: any;
11385
- }, {
11386
- message: string;
11387
- error?: any;
11388
- }>;
11389
- 200: import("zod").ZodObject<{
11390
- requestId: import("zod").ZodString;
11391
- data: import("zod").ZodObject<{
11392
- count: import("zod").ZodNumber;
11393
- }, "strip", import("zod").ZodTypeAny, {
11394
- count: number;
11395
- }, {
11396
- count: number;
11397
- }>;
11398
- }, "strip", import("zod").ZodTypeAny, {
11399
- data: {
11400
- count: number;
11401
- };
11402
- requestId: string;
11403
- }, {
11404
- data: {
11405
- count: number;
11406
- };
11407
- requestId: string;
11408
- }>;
11409
- };
11410
- path: "mail/message/new_message_count";
11411
- };
11412
10887
  getById: {
11413
10888
  summary: "Get a message by id";
11414
10889
  method: "GET";
@@ -12059,71 +11534,8 @@ export declare const mailContract: {
12059
11534
  'x-client-timezone'?: string | undefined;
12060
11535
  }>>>;
12061
11536
  };
12062
- sync: {
12063
- summary: "Sync all accounts state from email engine to system";
12064
- method: "GET";
12065
- responses: {
12066
- 401: import("zod").ZodObject<{
12067
- message: import("zod").ZodString;
12068
- error: import("zod").ZodAny;
12069
- }, "strip", import("zod").ZodTypeAny, {
12070
- message: string;
12071
- error?: any;
12072
- }, {
12073
- message: string;
12074
- error?: any;
12075
- }>;
12076
- 404: import("zod").ZodObject<{
12077
- message: import("zod").ZodString;
12078
- error: import("zod").ZodAny;
12079
- }, "strip", import("zod").ZodTypeAny, {
12080
- message: string;
12081
- error?: any;
12082
- }, {
12083
- message: string;
12084
- error?: any;
12085
- }>;
12086
- 422: import("zod").ZodObject<{
12087
- message: import("zod").ZodString;
12088
- error: import("zod").ZodAny;
12089
- }, "strip", import("zod").ZodTypeAny, {
12090
- message: string;
12091
- error?: any;
12092
- }, {
12093
- message: string;
12094
- error?: any;
12095
- }>;
12096
- 200: import("zod").ZodObject<{
12097
- requestId: import("zod").ZodString;
12098
- message: import("zod").ZodString;
12099
- }, "strip", import("zod").ZodTypeAny, {
12100
- message: string;
12101
- requestId: string;
12102
- }, {
12103
- message: string;
12104
- requestId: string;
12105
- }>;
12106
- };
12107
- path: "mail/account/sync";
12108
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
12109
- 'x-tenant': import("zod").ZodString;
12110
- authorization: import("zod").ZodString;
12111
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
12112
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
12113
- }, "strip", import("zod").ZodTypeAny, {
12114
- 'x-tenant': string;
12115
- authorization: string;
12116
- 'x-client-timezone': string;
12117
- 'x-code'?: string | undefined;
12118
- }, {
12119
- 'x-tenant': string;
12120
- authorization: string;
12121
- 'x-code'?: string | undefined;
12122
- 'x-client-timezone'?: string | undefined;
12123
- }>>>;
12124
- };
12125
11537
  getById: {
12126
- summary: "Get an account by id";
11538
+ summary: "Get a account by id";
12127
11539
  method: "GET";
12128
11540
  pathParams: import("zod").ZodObject<{
12129
11541
  id: import("zod").ZodString;
@@ -12348,13 +11760,6 @@ export declare const mailContract: {
12348
11760
  getAll: {
12349
11761
  summary: "Get all accounts";
12350
11762
  method: "GET";
12351
- query: import("zod").ZodOptional<import("zod").ZodObject<{
12352
- state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
12353
- }, "strip", import("zod").ZodTypeAny, {
12354
- state?: "connected" | "disconnected" | undefined;
12355
- }, {
12356
- state?: "connected" | "disconnected" | undefined;
12357
- }>>;
12358
11763
  responses: {
12359
11764
  401: import("zod").ZodObject<{
12360
11765
  message: import("zod").ZodString;