@kl1/contracts 1.2.8-uat → 1.2.10-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/channel/index.d.ts +121 -0
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +8 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +8 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +230 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +54 -0
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +79 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +664 -0
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +11 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +9 -0
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +106 -0
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +7 -0
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +83 -0
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +75 -0
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +9 -0
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +276 -0
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +399 -1470
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +47 -0
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +10 -1404
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +139 -0
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +83 -0
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +5 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +21 -0
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +5 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/validation.d.ts +3 -0
- package/dist/api-contracts/src/sms/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +61 -0
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +40 -0
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +21 -0
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/index.js +71 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +71 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -35107,1414 +35107,20 @@ export declare const mailContract: {
|
|
35107
35107
|
200: import("zod").ZodObject<{
|
35108
35108
|
requestId: import("zod").ZodString;
|
35109
35109
|
data: import("zod").ZodObject<{
|
35110
|
-
|
35111
|
-
|
35112
|
-
|
35113
|
-
|
35114
|
-
|
35115
|
-
|
35116
|
-
|
35117
|
-
|
35118
|
-
|
35119
|
-
|
35120
|
-
|
35121
|
-
|
35122
|
-
|
35123
|
-
|
35124
|
-
action: import("zod").ZodString;
|
35125
|
-
unseen: import("zod").ZodBoolean;
|
35126
|
-
sendAt: import("zod").ZodDate;
|
35127
|
-
starred: import("zod").ZodBoolean;
|
35128
|
-
seemsLikeNew: import("zod").ZodBoolean;
|
35129
|
-
from: import("zod").ZodArray<import("zod").ZodObject<{
|
35130
|
-
id: import("zod").ZodString;
|
35131
|
-
createdAt: import("zod").ZodDate;
|
35132
|
-
updatedAt: import("zod").ZodDate;
|
35133
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35134
|
-
roomId: import("zod").ZodString;
|
35135
|
-
messageId: import("zod").ZodString;
|
35136
|
-
mailUserId: import("zod").ZodString;
|
35137
|
-
mailUser: import("zod").ZodObject<{
|
35138
|
-
id: import("zod").ZodString;
|
35139
|
-
createdAt: import("zod").ZodDate;
|
35140
|
-
updatedAt: import("zod").ZodDate;
|
35141
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35142
|
-
name: import("zod").ZodString;
|
35143
|
-
address: import("zod").ZodString;
|
35144
|
-
contactId: import("zod").ZodString;
|
35145
|
-
contact: import("zod").ZodObject<{
|
35146
|
-
id: import("zod").ZodString;
|
35147
|
-
createdAt: import("zod").ZodDate;
|
35148
|
-
updatedAt: import("zod").ZodDate;
|
35149
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35150
|
-
name: import("zod").ZodString;
|
35151
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
35152
|
-
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
35153
|
-
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
35154
|
-
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
35155
|
-
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
35156
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35157
|
-
id: string;
|
35158
|
-
channel: string | null;
|
35159
|
-
address: string | null;
|
35160
|
-
name: string;
|
35161
|
-
createdAt: Date;
|
35162
|
-
updatedAt: Date;
|
35163
|
-
deletedAt: Date | null;
|
35164
|
-
notes: string | null;
|
35165
|
-
contactProfile: string | null;
|
35166
|
-
socialProfileUrl: string | null;
|
35167
|
-
}, {
|
35168
|
-
id: string;
|
35169
|
-
channel: string | null;
|
35170
|
-
address: string | null;
|
35171
|
-
name: string;
|
35172
|
-
createdAt: Date;
|
35173
|
-
updatedAt: Date;
|
35174
|
-
deletedAt: Date | null;
|
35175
|
-
notes: string | null;
|
35176
|
-
contactProfile: string | null;
|
35177
|
-
socialProfileUrl: string | null;
|
35178
|
-
}>;
|
35179
|
-
isNewContact: import("zod").ZodBoolean;
|
35180
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35181
|
-
id: string;
|
35182
|
-
address: string;
|
35183
|
-
name: string;
|
35184
|
-
createdAt: Date;
|
35185
|
-
updatedAt: Date;
|
35186
|
-
deletedAt: Date | null;
|
35187
|
-
contact: {
|
35188
|
-
id: string;
|
35189
|
-
channel: string | null;
|
35190
|
-
address: string | null;
|
35191
|
-
name: string;
|
35192
|
-
createdAt: Date;
|
35193
|
-
updatedAt: Date;
|
35194
|
-
deletedAt: Date | null;
|
35195
|
-
notes: string | null;
|
35196
|
-
contactProfile: string | null;
|
35197
|
-
socialProfileUrl: string | null;
|
35198
|
-
};
|
35199
|
-
contactId: string;
|
35200
|
-
isNewContact: boolean;
|
35201
|
-
}, {
|
35202
|
-
id: string;
|
35203
|
-
address: string;
|
35204
|
-
name: string;
|
35205
|
-
createdAt: Date;
|
35206
|
-
updatedAt: Date;
|
35207
|
-
deletedAt: Date | null;
|
35208
|
-
contact: {
|
35209
|
-
id: string;
|
35210
|
-
channel: string | null;
|
35211
|
-
address: string | null;
|
35212
|
-
name: string;
|
35213
|
-
createdAt: Date;
|
35214
|
-
updatedAt: Date;
|
35215
|
-
deletedAt: Date | null;
|
35216
|
-
notes: string | null;
|
35217
|
-
contactProfile: string | null;
|
35218
|
-
socialProfileUrl: string | null;
|
35219
|
-
};
|
35220
|
-
contactId: string;
|
35221
|
-
isNewContact: boolean;
|
35222
|
-
}>;
|
35223
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35224
|
-
id: string;
|
35225
|
-
createdAt: Date;
|
35226
|
-
updatedAt: Date;
|
35227
|
-
deletedAt: Date | null;
|
35228
|
-
roomId: string;
|
35229
|
-
messageId: string;
|
35230
|
-
mailUserId: string;
|
35231
|
-
mailUser: {
|
35232
|
-
id: string;
|
35233
|
-
address: string;
|
35234
|
-
name: string;
|
35235
|
-
createdAt: Date;
|
35236
|
-
updatedAt: Date;
|
35237
|
-
deletedAt: Date | null;
|
35238
|
-
contact: {
|
35239
|
-
id: string;
|
35240
|
-
channel: string | null;
|
35241
|
-
address: string | null;
|
35242
|
-
name: string;
|
35243
|
-
createdAt: Date;
|
35244
|
-
updatedAt: Date;
|
35245
|
-
deletedAt: Date | null;
|
35246
|
-
notes: string | null;
|
35247
|
-
contactProfile: string | null;
|
35248
|
-
socialProfileUrl: string | null;
|
35249
|
-
};
|
35250
|
-
contactId: string;
|
35251
|
-
isNewContact: boolean;
|
35252
|
-
};
|
35253
|
-
}, {
|
35254
|
-
id: string;
|
35255
|
-
createdAt: Date;
|
35256
|
-
updatedAt: Date;
|
35257
|
-
deletedAt: Date | null;
|
35258
|
-
roomId: string;
|
35259
|
-
messageId: string;
|
35260
|
-
mailUserId: string;
|
35261
|
-
mailUser: {
|
35262
|
-
id: string;
|
35263
|
-
address: string;
|
35264
|
-
name: string;
|
35265
|
-
createdAt: Date;
|
35266
|
-
updatedAt: Date;
|
35267
|
-
deletedAt: Date | null;
|
35268
|
-
contact: {
|
35269
|
-
id: string;
|
35270
|
-
channel: string | null;
|
35271
|
-
address: string | null;
|
35272
|
-
name: string;
|
35273
|
-
createdAt: Date;
|
35274
|
-
updatedAt: Date;
|
35275
|
-
deletedAt: Date | null;
|
35276
|
-
notes: string | null;
|
35277
|
-
contactProfile: string | null;
|
35278
|
-
socialProfileUrl: string | null;
|
35279
|
-
};
|
35280
|
-
contactId: string;
|
35281
|
-
isNewContact: boolean;
|
35282
|
-
};
|
35283
|
-
}>, "many">;
|
35284
|
-
to: import("zod").ZodArray<import("zod").ZodObject<{
|
35285
|
-
id: import("zod").ZodString;
|
35286
|
-
createdAt: import("zod").ZodDate;
|
35287
|
-
updatedAt: import("zod").ZodDate;
|
35288
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35289
|
-
roomId: import("zod").ZodString;
|
35290
|
-
messageId: import("zod").ZodString;
|
35291
|
-
mailUserId: import("zod").ZodString;
|
35292
|
-
mailUser: import("zod").ZodObject<{
|
35293
|
-
id: import("zod").ZodString;
|
35294
|
-
createdAt: import("zod").ZodDate;
|
35295
|
-
updatedAt: import("zod").ZodDate;
|
35296
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35297
|
-
name: import("zod").ZodString;
|
35298
|
-
address: import("zod").ZodString;
|
35299
|
-
contactId: import("zod").ZodString;
|
35300
|
-
contact: import("zod").ZodObject<{
|
35301
|
-
id: import("zod").ZodString;
|
35302
|
-
createdAt: import("zod").ZodDate;
|
35303
|
-
updatedAt: import("zod").ZodDate;
|
35304
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35305
|
-
name: import("zod").ZodString;
|
35306
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
35307
|
-
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
35308
|
-
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
35309
|
-
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
35310
|
-
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
35311
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35312
|
-
id: string;
|
35313
|
-
channel: string | null;
|
35314
|
-
address: string | null;
|
35315
|
-
name: string;
|
35316
|
-
createdAt: Date;
|
35317
|
-
updatedAt: Date;
|
35318
|
-
deletedAt: Date | null;
|
35319
|
-
notes: string | null;
|
35320
|
-
contactProfile: string | null;
|
35321
|
-
socialProfileUrl: string | null;
|
35322
|
-
}, {
|
35323
|
-
id: string;
|
35324
|
-
channel: string | null;
|
35325
|
-
address: string | null;
|
35326
|
-
name: string;
|
35327
|
-
createdAt: Date;
|
35328
|
-
updatedAt: Date;
|
35329
|
-
deletedAt: Date | null;
|
35330
|
-
notes: string | null;
|
35331
|
-
contactProfile: string | null;
|
35332
|
-
socialProfileUrl: string | null;
|
35333
|
-
}>;
|
35334
|
-
isNewContact: import("zod").ZodBoolean;
|
35335
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35336
|
-
id: string;
|
35337
|
-
address: string;
|
35338
|
-
name: string;
|
35339
|
-
createdAt: Date;
|
35340
|
-
updatedAt: Date;
|
35341
|
-
deletedAt: Date | null;
|
35342
|
-
contact: {
|
35343
|
-
id: string;
|
35344
|
-
channel: string | null;
|
35345
|
-
address: string | null;
|
35346
|
-
name: string;
|
35347
|
-
createdAt: Date;
|
35348
|
-
updatedAt: Date;
|
35349
|
-
deletedAt: Date | null;
|
35350
|
-
notes: string | null;
|
35351
|
-
contactProfile: string | null;
|
35352
|
-
socialProfileUrl: string | null;
|
35353
|
-
};
|
35354
|
-
contactId: string;
|
35355
|
-
isNewContact: boolean;
|
35356
|
-
}, {
|
35357
|
-
id: string;
|
35358
|
-
address: string;
|
35359
|
-
name: string;
|
35360
|
-
createdAt: Date;
|
35361
|
-
updatedAt: Date;
|
35362
|
-
deletedAt: Date | null;
|
35363
|
-
contact: {
|
35364
|
-
id: string;
|
35365
|
-
channel: string | null;
|
35366
|
-
address: string | null;
|
35367
|
-
name: string;
|
35368
|
-
createdAt: Date;
|
35369
|
-
updatedAt: Date;
|
35370
|
-
deletedAt: Date | null;
|
35371
|
-
notes: string | null;
|
35372
|
-
contactProfile: string | null;
|
35373
|
-
socialProfileUrl: string | null;
|
35374
|
-
};
|
35375
|
-
contactId: string;
|
35376
|
-
isNewContact: boolean;
|
35377
|
-
}>;
|
35378
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35379
|
-
id: string;
|
35380
|
-
createdAt: Date;
|
35381
|
-
updatedAt: Date;
|
35382
|
-
deletedAt: Date | null;
|
35383
|
-
roomId: string;
|
35384
|
-
messageId: string;
|
35385
|
-
mailUserId: string;
|
35386
|
-
mailUser: {
|
35387
|
-
id: string;
|
35388
|
-
address: string;
|
35389
|
-
name: string;
|
35390
|
-
createdAt: Date;
|
35391
|
-
updatedAt: Date;
|
35392
|
-
deletedAt: Date | null;
|
35393
|
-
contact: {
|
35394
|
-
id: string;
|
35395
|
-
channel: string | null;
|
35396
|
-
address: string | null;
|
35397
|
-
name: string;
|
35398
|
-
createdAt: Date;
|
35399
|
-
updatedAt: Date;
|
35400
|
-
deletedAt: Date | null;
|
35401
|
-
notes: string | null;
|
35402
|
-
contactProfile: string | null;
|
35403
|
-
socialProfileUrl: string | null;
|
35404
|
-
};
|
35405
|
-
contactId: string;
|
35406
|
-
isNewContact: boolean;
|
35407
|
-
};
|
35408
|
-
}, {
|
35409
|
-
id: string;
|
35410
|
-
createdAt: Date;
|
35411
|
-
updatedAt: Date;
|
35412
|
-
deletedAt: Date | null;
|
35413
|
-
roomId: string;
|
35414
|
-
messageId: string;
|
35415
|
-
mailUserId: string;
|
35416
|
-
mailUser: {
|
35417
|
-
id: string;
|
35418
|
-
address: string;
|
35419
|
-
name: string;
|
35420
|
-
createdAt: Date;
|
35421
|
-
updatedAt: Date;
|
35422
|
-
deletedAt: Date | null;
|
35423
|
-
contact: {
|
35424
|
-
id: string;
|
35425
|
-
channel: string | null;
|
35426
|
-
address: string | null;
|
35427
|
-
name: string;
|
35428
|
-
createdAt: Date;
|
35429
|
-
updatedAt: Date;
|
35430
|
-
deletedAt: Date | null;
|
35431
|
-
notes: string | null;
|
35432
|
-
contactProfile: string | null;
|
35433
|
-
socialProfileUrl: string | null;
|
35434
|
-
};
|
35435
|
-
contactId: string;
|
35436
|
-
isNewContact: boolean;
|
35437
|
-
};
|
35438
|
-
}>, "many">;
|
35439
|
-
cc: import("zod").ZodArray<import("zod").ZodObject<{
|
35440
|
-
id: import("zod").ZodString;
|
35441
|
-
createdAt: import("zod").ZodDate;
|
35442
|
-
updatedAt: import("zod").ZodDate;
|
35443
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35444
|
-
roomId: import("zod").ZodString;
|
35445
|
-
messageId: import("zod").ZodString;
|
35446
|
-
mailUserId: import("zod").ZodString;
|
35447
|
-
mailUser: import("zod").ZodObject<{
|
35448
|
-
id: import("zod").ZodString;
|
35449
|
-
createdAt: import("zod").ZodDate;
|
35450
|
-
updatedAt: import("zod").ZodDate;
|
35451
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35452
|
-
name: import("zod").ZodString;
|
35453
|
-
address: import("zod").ZodString;
|
35454
|
-
contactId: import("zod").ZodString;
|
35455
|
-
contact: import("zod").ZodObject<{
|
35456
|
-
id: import("zod").ZodString;
|
35457
|
-
createdAt: import("zod").ZodDate;
|
35458
|
-
updatedAt: import("zod").ZodDate;
|
35459
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35460
|
-
name: import("zod").ZodString;
|
35461
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
35462
|
-
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
35463
|
-
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
35464
|
-
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
35465
|
-
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
35466
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35467
|
-
id: string;
|
35468
|
-
channel: string | null;
|
35469
|
-
address: string | null;
|
35470
|
-
name: string;
|
35471
|
-
createdAt: Date;
|
35472
|
-
updatedAt: Date;
|
35473
|
-
deletedAt: Date | null;
|
35474
|
-
notes: string | null;
|
35475
|
-
contactProfile: string | null;
|
35476
|
-
socialProfileUrl: string | null;
|
35477
|
-
}, {
|
35478
|
-
id: string;
|
35479
|
-
channel: string | null;
|
35480
|
-
address: string | null;
|
35481
|
-
name: string;
|
35482
|
-
createdAt: Date;
|
35483
|
-
updatedAt: Date;
|
35484
|
-
deletedAt: Date | null;
|
35485
|
-
notes: string | null;
|
35486
|
-
contactProfile: string | null;
|
35487
|
-
socialProfileUrl: string | null;
|
35488
|
-
}>;
|
35489
|
-
isNewContact: import("zod").ZodBoolean;
|
35490
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35491
|
-
id: string;
|
35492
|
-
address: string;
|
35493
|
-
name: string;
|
35494
|
-
createdAt: Date;
|
35495
|
-
updatedAt: Date;
|
35496
|
-
deletedAt: Date | null;
|
35497
|
-
contact: {
|
35498
|
-
id: string;
|
35499
|
-
channel: string | null;
|
35500
|
-
address: string | null;
|
35501
|
-
name: string;
|
35502
|
-
createdAt: Date;
|
35503
|
-
updatedAt: Date;
|
35504
|
-
deletedAt: Date | null;
|
35505
|
-
notes: string | null;
|
35506
|
-
contactProfile: string | null;
|
35507
|
-
socialProfileUrl: string | null;
|
35508
|
-
};
|
35509
|
-
contactId: string;
|
35510
|
-
isNewContact: boolean;
|
35511
|
-
}, {
|
35512
|
-
id: string;
|
35513
|
-
address: string;
|
35514
|
-
name: string;
|
35515
|
-
createdAt: Date;
|
35516
|
-
updatedAt: Date;
|
35517
|
-
deletedAt: Date | null;
|
35518
|
-
contact: {
|
35519
|
-
id: string;
|
35520
|
-
channel: string | null;
|
35521
|
-
address: string | null;
|
35522
|
-
name: string;
|
35523
|
-
createdAt: Date;
|
35524
|
-
updatedAt: Date;
|
35525
|
-
deletedAt: Date | null;
|
35526
|
-
notes: string | null;
|
35527
|
-
contactProfile: string | null;
|
35528
|
-
socialProfileUrl: string | null;
|
35529
|
-
};
|
35530
|
-
contactId: string;
|
35531
|
-
isNewContact: boolean;
|
35532
|
-
}>;
|
35533
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35534
|
-
id: string;
|
35535
|
-
createdAt: Date;
|
35536
|
-
updatedAt: Date;
|
35537
|
-
deletedAt: Date | null;
|
35538
|
-
roomId: string;
|
35539
|
-
messageId: string;
|
35540
|
-
mailUserId: string;
|
35541
|
-
mailUser: {
|
35542
|
-
id: string;
|
35543
|
-
address: string;
|
35544
|
-
name: string;
|
35545
|
-
createdAt: Date;
|
35546
|
-
updatedAt: Date;
|
35547
|
-
deletedAt: Date | null;
|
35548
|
-
contact: {
|
35549
|
-
id: string;
|
35550
|
-
channel: string | null;
|
35551
|
-
address: string | null;
|
35552
|
-
name: string;
|
35553
|
-
createdAt: Date;
|
35554
|
-
updatedAt: Date;
|
35555
|
-
deletedAt: Date | null;
|
35556
|
-
notes: string | null;
|
35557
|
-
contactProfile: string | null;
|
35558
|
-
socialProfileUrl: string | null;
|
35559
|
-
};
|
35560
|
-
contactId: string;
|
35561
|
-
isNewContact: boolean;
|
35562
|
-
};
|
35563
|
-
}, {
|
35564
|
-
id: string;
|
35565
|
-
createdAt: Date;
|
35566
|
-
updatedAt: Date;
|
35567
|
-
deletedAt: Date | null;
|
35568
|
-
roomId: string;
|
35569
|
-
messageId: string;
|
35570
|
-
mailUserId: string;
|
35571
|
-
mailUser: {
|
35572
|
-
id: string;
|
35573
|
-
address: string;
|
35574
|
-
name: string;
|
35575
|
-
createdAt: Date;
|
35576
|
-
updatedAt: Date;
|
35577
|
-
deletedAt: Date | null;
|
35578
|
-
contact: {
|
35579
|
-
id: string;
|
35580
|
-
channel: string | null;
|
35581
|
-
address: string | null;
|
35582
|
-
name: string;
|
35583
|
-
createdAt: Date;
|
35584
|
-
updatedAt: Date;
|
35585
|
-
deletedAt: Date | null;
|
35586
|
-
notes: string | null;
|
35587
|
-
contactProfile: string | null;
|
35588
|
-
socialProfileUrl: string | null;
|
35589
|
-
};
|
35590
|
-
contactId: string;
|
35591
|
-
isNewContact: boolean;
|
35592
|
-
};
|
35593
|
-
}>, "many">;
|
35594
|
-
bcc: import("zod").ZodArray<import("zod").ZodObject<{
|
35595
|
-
id: import("zod").ZodString;
|
35596
|
-
createdAt: import("zod").ZodDate;
|
35597
|
-
updatedAt: import("zod").ZodDate;
|
35598
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35599
|
-
roomId: import("zod").ZodString;
|
35600
|
-
messageId: import("zod").ZodString;
|
35601
|
-
mailUserId: import("zod").ZodString;
|
35602
|
-
mailUser: import("zod").ZodObject<{
|
35603
|
-
id: import("zod").ZodString;
|
35604
|
-
createdAt: import("zod").ZodDate;
|
35605
|
-
updatedAt: import("zod").ZodDate;
|
35606
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35607
|
-
name: import("zod").ZodString;
|
35608
|
-
address: import("zod").ZodString;
|
35609
|
-
contactId: import("zod").ZodString;
|
35610
|
-
contact: import("zod").ZodObject<{
|
35611
|
-
id: import("zod").ZodString;
|
35612
|
-
createdAt: import("zod").ZodDate;
|
35613
|
-
updatedAt: import("zod").ZodDate;
|
35614
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35615
|
-
name: import("zod").ZodString;
|
35616
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
35617
|
-
channel: import("zod").ZodNullable<import("zod").ZodString>;
|
35618
|
-
notes: import("zod").ZodNullable<import("zod").ZodString>;
|
35619
|
-
contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
|
35620
|
-
socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
35621
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35622
|
-
id: string;
|
35623
|
-
channel: string | null;
|
35624
|
-
address: string | null;
|
35625
|
-
name: string;
|
35626
|
-
createdAt: Date;
|
35627
|
-
updatedAt: Date;
|
35628
|
-
deletedAt: Date | null;
|
35629
|
-
notes: string | null;
|
35630
|
-
contactProfile: string | null;
|
35631
|
-
socialProfileUrl: string | null;
|
35632
|
-
}, {
|
35633
|
-
id: string;
|
35634
|
-
channel: string | null;
|
35635
|
-
address: string | null;
|
35636
|
-
name: string;
|
35637
|
-
createdAt: Date;
|
35638
|
-
updatedAt: Date;
|
35639
|
-
deletedAt: Date | null;
|
35640
|
-
notes: string | null;
|
35641
|
-
contactProfile: string | null;
|
35642
|
-
socialProfileUrl: string | null;
|
35643
|
-
}>;
|
35644
|
-
isNewContact: import("zod").ZodBoolean;
|
35645
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35646
|
-
id: string;
|
35647
|
-
address: string;
|
35648
|
-
name: string;
|
35649
|
-
createdAt: Date;
|
35650
|
-
updatedAt: Date;
|
35651
|
-
deletedAt: Date | null;
|
35652
|
-
contact: {
|
35653
|
-
id: string;
|
35654
|
-
channel: string | null;
|
35655
|
-
address: string | null;
|
35656
|
-
name: string;
|
35657
|
-
createdAt: Date;
|
35658
|
-
updatedAt: Date;
|
35659
|
-
deletedAt: Date | null;
|
35660
|
-
notes: string | null;
|
35661
|
-
contactProfile: string | null;
|
35662
|
-
socialProfileUrl: string | null;
|
35663
|
-
};
|
35664
|
-
contactId: string;
|
35665
|
-
isNewContact: boolean;
|
35666
|
-
}, {
|
35667
|
-
id: string;
|
35668
|
-
address: string;
|
35669
|
-
name: string;
|
35670
|
-
createdAt: Date;
|
35671
|
-
updatedAt: Date;
|
35672
|
-
deletedAt: Date | null;
|
35673
|
-
contact: {
|
35674
|
-
id: string;
|
35675
|
-
channel: string | null;
|
35676
|
-
address: string | null;
|
35677
|
-
name: string;
|
35678
|
-
createdAt: Date;
|
35679
|
-
updatedAt: Date;
|
35680
|
-
deletedAt: Date | null;
|
35681
|
-
notes: string | null;
|
35682
|
-
contactProfile: string | null;
|
35683
|
-
socialProfileUrl: string | null;
|
35684
|
-
};
|
35685
|
-
contactId: string;
|
35686
|
-
isNewContact: boolean;
|
35687
|
-
}>;
|
35688
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35689
|
-
id: string;
|
35690
|
-
createdAt: Date;
|
35691
|
-
updatedAt: Date;
|
35692
|
-
deletedAt: Date | null;
|
35693
|
-
roomId: string;
|
35694
|
-
messageId: string;
|
35695
|
-
mailUserId: string;
|
35696
|
-
mailUser: {
|
35697
|
-
id: string;
|
35698
|
-
address: string;
|
35699
|
-
name: string;
|
35700
|
-
createdAt: Date;
|
35701
|
-
updatedAt: Date;
|
35702
|
-
deletedAt: Date | null;
|
35703
|
-
contact: {
|
35704
|
-
id: string;
|
35705
|
-
channel: string | null;
|
35706
|
-
address: string | null;
|
35707
|
-
name: string;
|
35708
|
-
createdAt: Date;
|
35709
|
-
updatedAt: Date;
|
35710
|
-
deletedAt: Date | null;
|
35711
|
-
notes: string | null;
|
35712
|
-
contactProfile: string | null;
|
35713
|
-
socialProfileUrl: string | null;
|
35714
|
-
};
|
35715
|
-
contactId: string;
|
35716
|
-
isNewContact: boolean;
|
35717
|
-
};
|
35718
|
-
}, {
|
35719
|
-
id: string;
|
35720
|
-
createdAt: Date;
|
35721
|
-
updatedAt: Date;
|
35722
|
-
deletedAt: Date | null;
|
35723
|
-
roomId: string;
|
35724
|
-
messageId: string;
|
35725
|
-
mailUserId: string;
|
35726
|
-
mailUser: {
|
35727
|
-
id: string;
|
35728
|
-
address: string;
|
35729
|
-
name: string;
|
35730
|
-
createdAt: Date;
|
35731
|
-
updatedAt: Date;
|
35732
|
-
deletedAt: Date | null;
|
35733
|
-
contact: {
|
35734
|
-
id: string;
|
35735
|
-
channel: string | null;
|
35736
|
-
address: string | null;
|
35737
|
-
name: string;
|
35738
|
-
createdAt: Date;
|
35739
|
-
updatedAt: Date;
|
35740
|
-
deletedAt: Date | null;
|
35741
|
-
notes: string | null;
|
35742
|
-
contactProfile: string | null;
|
35743
|
-
socialProfileUrl: string | null;
|
35744
|
-
};
|
35745
|
-
contactId: string;
|
35746
|
-
isNewContact: boolean;
|
35747
|
-
};
|
35748
|
-
}>, "many">;
|
35749
|
-
attachments: import("zod").ZodArray<import("zod").ZodObject<{
|
35750
|
-
id: import("zod").ZodString;
|
35751
|
-
createdAt: import("zod").ZodDate;
|
35752
|
-
updatedAt: import("zod").ZodDate;
|
35753
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35754
|
-
roomId: import("zod").ZodString;
|
35755
|
-
messageId: import("zod").ZodString;
|
35756
|
-
fileName: import("zod").ZodString;
|
35757
|
-
fileType: import("zod").ZodString;
|
35758
|
-
emailEngineAttachmentId: import("zod").ZodString;
|
35759
|
-
uploadId: import("zod").ZodString;
|
35760
|
-
upload: import("zod").ZodObject<{
|
35761
|
-
id: import("zod").ZodString;
|
35762
|
-
createdAt: import("zod").ZodDate;
|
35763
|
-
updatedAt: import("zod").ZodDate;
|
35764
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
35765
|
-
bucketName: import("zod").ZodString;
|
35766
|
-
fileName: import("zod").ZodString;
|
35767
|
-
fileKey: import("zod").ZodString;
|
35768
|
-
fileSize: import("zod").ZodNumber;
|
35769
|
-
fileUrl: import("zod").ZodString;
|
35770
|
-
extensionName: import("zod").ZodString;
|
35771
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35772
|
-
id: string;
|
35773
|
-
createdAt: Date;
|
35774
|
-
updatedAt: Date;
|
35775
|
-
deletedAt: Date | null;
|
35776
|
-
extensionName: string;
|
35777
|
-
fileName: string;
|
35778
|
-
fileKey: string;
|
35779
|
-
bucketName: string;
|
35780
|
-
fileSize: number;
|
35781
|
-
fileUrl: string;
|
35782
|
-
}, {
|
35783
|
-
id: string;
|
35784
|
-
createdAt: Date;
|
35785
|
-
updatedAt: Date;
|
35786
|
-
deletedAt: Date | null;
|
35787
|
-
extensionName: string;
|
35788
|
-
fileName: string;
|
35789
|
-
fileKey: string;
|
35790
|
-
bucketName: string;
|
35791
|
-
fileSize: number;
|
35792
|
-
fileUrl: string;
|
35793
|
-
}>;
|
35794
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35795
|
-
id: string;
|
35796
|
-
createdAt: Date;
|
35797
|
-
updatedAt: Date;
|
35798
|
-
deletedAt: Date | null;
|
35799
|
-
fileName: string;
|
35800
|
-
fileType: string;
|
35801
|
-
uploadId: string;
|
35802
|
-
upload: {
|
35803
|
-
id: string;
|
35804
|
-
createdAt: Date;
|
35805
|
-
updatedAt: Date;
|
35806
|
-
deletedAt: Date | null;
|
35807
|
-
extensionName: string;
|
35808
|
-
fileName: string;
|
35809
|
-
fileKey: string;
|
35810
|
-
bucketName: string;
|
35811
|
-
fileSize: number;
|
35812
|
-
fileUrl: string;
|
35813
|
-
};
|
35814
|
-
roomId: string;
|
35815
|
-
messageId: string;
|
35816
|
-
emailEngineAttachmentId: string;
|
35817
|
-
}, {
|
35818
|
-
id: string;
|
35819
|
-
createdAt: Date;
|
35820
|
-
updatedAt: Date;
|
35821
|
-
deletedAt: Date | null;
|
35822
|
-
fileName: string;
|
35823
|
-
fileType: string;
|
35824
|
-
uploadId: string;
|
35825
|
-
upload: {
|
35826
|
-
id: string;
|
35827
|
-
createdAt: Date;
|
35828
|
-
updatedAt: Date;
|
35829
|
-
deletedAt: Date | null;
|
35830
|
-
extensionName: string;
|
35831
|
-
fileName: string;
|
35832
|
-
fileKey: string;
|
35833
|
-
bucketName: string;
|
35834
|
-
fileSize: number;
|
35835
|
-
fileUrl: string;
|
35836
|
-
};
|
35837
|
-
roomId: string;
|
35838
|
-
messageId: string;
|
35839
|
-
emailEngineAttachmentId: string;
|
35840
|
-
}>, "many">;
|
35841
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35842
|
-
id: string;
|
35843
|
-
direction: string;
|
35844
|
-
action: string;
|
35845
|
-
date: Date;
|
35846
|
-
createdAt: Date;
|
35847
|
-
updatedAt: Date;
|
35848
|
-
deletedAt: Date | null;
|
35849
|
-
roomId: string;
|
35850
|
-
from: {
|
35851
|
-
id: string;
|
35852
|
-
createdAt: Date;
|
35853
|
-
updatedAt: Date;
|
35854
|
-
deletedAt: Date | null;
|
35855
|
-
roomId: string;
|
35856
|
-
messageId: string;
|
35857
|
-
mailUserId: string;
|
35858
|
-
mailUser: {
|
35859
|
-
id: string;
|
35860
|
-
address: string;
|
35861
|
-
name: string;
|
35862
|
-
createdAt: Date;
|
35863
|
-
updatedAt: Date;
|
35864
|
-
deletedAt: Date | null;
|
35865
|
-
contact: {
|
35866
|
-
id: string;
|
35867
|
-
channel: string | null;
|
35868
|
-
address: string | null;
|
35869
|
-
name: string;
|
35870
|
-
createdAt: Date;
|
35871
|
-
updatedAt: Date;
|
35872
|
-
deletedAt: Date | null;
|
35873
|
-
notes: string | null;
|
35874
|
-
contactProfile: string | null;
|
35875
|
-
socialProfileUrl: string | null;
|
35876
|
-
};
|
35877
|
-
contactId: string;
|
35878
|
-
isNewContact: boolean;
|
35879
|
-
};
|
35880
|
-
}[];
|
35881
|
-
attachments: {
|
35882
|
-
id: string;
|
35883
|
-
createdAt: Date;
|
35884
|
-
updatedAt: Date;
|
35885
|
-
deletedAt: Date | null;
|
35886
|
-
fileName: string;
|
35887
|
-
fileType: string;
|
35888
|
-
uploadId: string;
|
35889
|
-
upload: {
|
35890
|
-
id: string;
|
35891
|
-
createdAt: Date;
|
35892
|
-
updatedAt: Date;
|
35893
|
-
deletedAt: Date | null;
|
35894
|
-
extensionName: string;
|
35895
|
-
fileName: string;
|
35896
|
-
fileKey: string;
|
35897
|
-
bucketName: string;
|
35898
|
-
fileSize: number;
|
35899
|
-
fileUrl: string;
|
35900
|
-
};
|
35901
|
-
roomId: string;
|
35902
|
-
messageId: string;
|
35903
|
-
emailEngineAttachmentId: string;
|
35904
|
-
}[];
|
35905
|
-
subject: string;
|
35906
|
-
to: {
|
35907
|
-
id: string;
|
35908
|
-
createdAt: Date;
|
35909
|
-
updatedAt: Date;
|
35910
|
-
deletedAt: Date | null;
|
35911
|
-
roomId: string;
|
35912
|
-
messageId: string;
|
35913
|
-
mailUserId: string;
|
35914
|
-
mailUser: {
|
35915
|
-
id: string;
|
35916
|
-
address: string;
|
35917
|
-
name: string;
|
35918
|
-
createdAt: Date;
|
35919
|
-
updatedAt: Date;
|
35920
|
-
deletedAt: Date | null;
|
35921
|
-
contact: {
|
35922
|
-
id: string;
|
35923
|
-
channel: string | null;
|
35924
|
-
address: string | null;
|
35925
|
-
name: string;
|
35926
|
-
createdAt: Date;
|
35927
|
-
updatedAt: Date;
|
35928
|
-
deletedAt: Date | null;
|
35929
|
-
notes: string | null;
|
35930
|
-
contactProfile: string | null;
|
35931
|
-
socialProfileUrl: string | null;
|
35932
|
-
};
|
35933
|
-
contactId: string;
|
35934
|
-
isNewContact: boolean;
|
35935
|
-
};
|
35936
|
-
}[];
|
35937
|
-
cc: {
|
35938
|
-
id: string;
|
35939
|
-
createdAt: Date;
|
35940
|
-
updatedAt: Date;
|
35941
|
-
deletedAt: Date | null;
|
35942
|
-
roomId: string;
|
35943
|
-
messageId: string;
|
35944
|
-
mailUserId: string;
|
35945
|
-
mailUser: {
|
35946
|
-
id: string;
|
35947
|
-
address: string;
|
35948
|
-
name: string;
|
35949
|
-
createdAt: Date;
|
35950
|
-
updatedAt: Date;
|
35951
|
-
deletedAt: Date | null;
|
35952
|
-
contact: {
|
35953
|
-
id: string;
|
35954
|
-
channel: string | null;
|
35955
|
-
address: string | null;
|
35956
|
-
name: string;
|
35957
|
-
createdAt: Date;
|
35958
|
-
updatedAt: Date;
|
35959
|
-
deletedAt: Date | null;
|
35960
|
-
notes: string | null;
|
35961
|
-
contactProfile: string | null;
|
35962
|
-
socialProfileUrl: string | null;
|
35963
|
-
};
|
35964
|
-
contactId: string;
|
35965
|
-
isNewContact: boolean;
|
35966
|
-
};
|
35967
|
-
}[];
|
35968
|
-
bcc: {
|
35969
|
-
id: string;
|
35970
|
-
createdAt: Date;
|
35971
|
-
updatedAt: Date;
|
35972
|
-
deletedAt: Date | null;
|
35973
|
-
roomId: string;
|
35974
|
-
messageId: string;
|
35975
|
-
mailUserId: string;
|
35976
|
-
mailUser: {
|
35977
|
-
id: string;
|
35978
|
-
address: string;
|
35979
|
-
name: string;
|
35980
|
-
createdAt: Date;
|
35981
|
-
updatedAt: Date;
|
35982
|
-
deletedAt: Date | null;
|
35983
|
-
contact: {
|
35984
|
-
id: string;
|
35985
|
-
channel: string | null;
|
35986
|
-
address: string | null;
|
35987
|
-
name: string;
|
35988
|
-
createdAt: Date;
|
35989
|
-
updatedAt: Date;
|
35990
|
-
deletedAt: Date | null;
|
35991
|
-
notes: string | null;
|
35992
|
-
contactProfile: string | null;
|
35993
|
-
socialProfileUrl: string | null;
|
35994
|
-
};
|
35995
|
-
contactId: string;
|
35996
|
-
isNewContact: boolean;
|
35997
|
-
};
|
35998
|
-
}[];
|
35999
|
-
sendAt: Date;
|
36000
|
-
textPlain: string;
|
36001
|
-
textHtml: string;
|
36002
|
-
textId: string;
|
36003
|
-
emailEngineEmailId: string;
|
36004
|
-
emailEngineMessageId: string;
|
36005
|
-
emailEngineReplyTo: string | null;
|
36006
|
-
unseen: boolean;
|
36007
|
-
starred: boolean;
|
36008
|
-
seemsLikeNew: boolean;
|
36009
|
-
}, {
|
36010
|
-
id: string;
|
36011
|
-
direction: string;
|
36012
|
-
action: string;
|
36013
|
-
date: Date;
|
36014
|
-
createdAt: Date;
|
36015
|
-
updatedAt: Date;
|
36016
|
-
deletedAt: Date | null;
|
36017
|
-
roomId: string;
|
36018
|
-
from: {
|
36019
|
-
id: string;
|
36020
|
-
createdAt: Date;
|
36021
|
-
updatedAt: Date;
|
36022
|
-
deletedAt: Date | null;
|
36023
|
-
roomId: string;
|
36024
|
-
messageId: string;
|
36025
|
-
mailUserId: string;
|
36026
|
-
mailUser: {
|
36027
|
-
id: string;
|
36028
|
-
address: string;
|
36029
|
-
name: string;
|
36030
|
-
createdAt: Date;
|
36031
|
-
updatedAt: Date;
|
36032
|
-
deletedAt: Date | null;
|
36033
|
-
contact: {
|
36034
|
-
id: string;
|
36035
|
-
channel: string | null;
|
36036
|
-
address: string | null;
|
36037
|
-
name: string;
|
36038
|
-
createdAt: Date;
|
36039
|
-
updatedAt: Date;
|
36040
|
-
deletedAt: Date | null;
|
36041
|
-
notes: string | null;
|
36042
|
-
contactProfile: string | null;
|
36043
|
-
socialProfileUrl: string | null;
|
36044
|
-
};
|
36045
|
-
contactId: string;
|
36046
|
-
isNewContact: boolean;
|
36047
|
-
};
|
36048
|
-
}[];
|
36049
|
-
attachments: {
|
36050
|
-
id: string;
|
36051
|
-
createdAt: Date;
|
36052
|
-
updatedAt: Date;
|
36053
|
-
deletedAt: Date | null;
|
36054
|
-
fileName: string;
|
36055
|
-
fileType: string;
|
36056
|
-
uploadId: string;
|
36057
|
-
upload: {
|
36058
|
-
id: string;
|
36059
|
-
createdAt: Date;
|
36060
|
-
updatedAt: Date;
|
36061
|
-
deletedAt: Date | null;
|
36062
|
-
extensionName: string;
|
36063
|
-
fileName: string;
|
36064
|
-
fileKey: string;
|
36065
|
-
bucketName: string;
|
36066
|
-
fileSize: number;
|
36067
|
-
fileUrl: string;
|
36068
|
-
};
|
36069
|
-
roomId: string;
|
36070
|
-
messageId: string;
|
36071
|
-
emailEngineAttachmentId: string;
|
36072
|
-
}[];
|
36073
|
-
subject: string;
|
36074
|
-
to: {
|
36075
|
-
id: string;
|
36076
|
-
createdAt: Date;
|
36077
|
-
updatedAt: Date;
|
36078
|
-
deletedAt: Date | null;
|
36079
|
-
roomId: string;
|
36080
|
-
messageId: string;
|
36081
|
-
mailUserId: string;
|
36082
|
-
mailUser: {
|
36083
|
-
id: string;
|
36084
|
-
address: string;
|
36085
|
-
name: string;
|
36086
|
-
createdAt: Date;
|
36087
|
-
updatedAt: Date;
|
36088
|
-
deletedAt: Date | null;
|
36089
|
-
contact: {
|
36090
|
-
id: string;
|
36091
|
-
channel: string | null;
|
36092
|
-
address: string | null;
|
36093
|
-
name: string;
|
36094
|
-
createdAt: Date;
|
36095
|
-
updatedAt: Date;
|
36096
|
-
deletedAt: Date | null;
|
36097
|
-
notes: string | null;
|
36098
|
-
contactProfile: string | null;
|
36099
|
-
socialProfileUrl: string | null;
|
36100
|
-
};
|
36101
|
-
contactId: string;
|
36102
|
-
isNewContact: boolean;
|
36103
|
-
};
|
36104
|
-
}[];
|
36105
|
-
cc: {
|
36106
|
-
id: string;
|
36107
|
-
createdAt: Date;
|
36108
|
-
updatedAt: Date;
|
36109
|
-
deletedAt: Date | null;
|
36110
|
-
roomId: string;
|
36111
|
-
messageId: string;
|
36112
|
-
mailUserId: string;
|
36113
|
-
mailUser: {
|
36114
|
-
id: string;
|
36115
|
-
address: string;
|
36116
|
-
name: string;
|
36117
|
-
createdAt: Date;
|
36118
|
-
updatedAt: Date;
|
36119
|
-
deletedAt: Date | null;
|
36120
|
-
contact: {
|
36121
|
-
id: string;
|
36122
|
-
channel: string | null;
|
36123
|
-
address: string | null;
|
36124
|
-
name: string;
|
36125
|
-
createdAt: Date;
|
36126
|
-
updatedAt: Date;
|
36127
|
-
deletedAt: Date | null;
|
36128
|
-
notes: string | null;
|
36129
|
-
contactProfile: string | null;
|
36130
|
-
socialProfileUrl: string | null;
|
36131
|
-
};
|
36132
|
-
contactId: string;
|
36133
|
-
isNewContact: boolean;
|
36134
|
-
};
|
36135
|
-
}[];
|
36136
|
-
bcc: {
|
36137
|
-
id: string;
|
36138
|
-
createdAt: Date;
|
36139
|
-
updatedAt: Date;
|
36140
|
-
deletedAt: Date | null;
|
36141
|
-
roomId: string;
|
36142
|
-
messageId: string;
|
36143
|
-
mailUserId: string;
|
36144
|
-
mailUser: {
|
36145
|
-
id: string;
|
36146
|
-
address: string;
|
36147
|
-
name: string;
|
36148
|
-
createdAt: Date;
|
36149
|
-
updatedAt: Date;
|
36150
|
-
deletedAt: Date | null;
|
36151
|
-
contact: {
|
36152
|
-
id: string;
|
36153
|
-
channel: string | null;
|
36154
|
-
address: string | null;
|
36155
|
-
name: string;
|
36156
|
-
createdAt: Date;
|
36157
|
-
updatedAt: Date;
|
36158
|
-
deletedAt: Date | null;
|
36159
|
-
notes: string | null;
|
36160
|
-
contactProfile: string | null;
|
36161
|
-
socialProfileUrl: string | null;
|
36162
|
-
};
|
36163
|
-
contactId: string;
|
36164
|
-
isNewContact: boolean;
|
36165
|
-
};
|
36166
|
-
}[];
|
36167
|
-
sendAt: Date;
|
36168
|
-
textPlain: string;
|
36169
|
-
textHtml: string;
|
36170
|
-
textId: string;
|
36171
|
-
emailEngineEmailId: string;
|
36172
|
-
emailEngineMessageId: string;
|
36173
|
-
emailEngineReplyTo: string | null;
|
36174
|
-
unseen: boolean;
|
36175
|
-
starred: boolean;
|
36176
|
-
seemsLikeNew: boolean;
|
36177
|
-
}>;
|
36178
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36179
|
-
data: {
|
36180
|
-
id: string;
|
36181
|
-
direction: string;
|
36182
|
-
action: string;
|
36183
|
-
date: Date;
|
36184
|
-
createdAt: Date;
|
36185
|
-
updatedAt: Date;
|
36186
|
-
deletedAt: Date | null;
|
36187
|
-
roomId: string;
|
36188
|
-
from: {
|
36189
|
-
id: string;
|
36190
|
-
createdAt: Date;
|
36191
|
-
updatedAt: Date;
|
36192
|
-
deletedAt: Date | null;
|
36193
|
-
roomId: string;
|
36194
|
-
messageId: string;
|
36195
|
-
mailUserId: string;
|
36196
|
-
mailUser: {
|
36197
|
-
id: string;
|
36198
|
-
address: string;
|
36199
|
-
name: string;
|
36200
|
-
createdAt: Date;
|
36201
|
-
updatedAt: Date;
|
36202
|
-
deletedAt: Date | null;
|
36203
|
-
contact: {
|
36204
|
-
id: string;
|
36205
|
-
channel: string | null;
|
36206
|
-
address: string | null;
|
36207
|
-
name: string;
|
36208
|
-
createdAt: Date;
|
36209
|
-
updatedAt: Date;
|
36210
|
-
deletedAt: Date | null;
|
36211
|
-
notes: string | null;
|
36212
|
-
contactProfile: string | null;
|
36213
|
-
socialProfileUrl: string | null;
|
36214
|
-
};
|
36215
|
-
contactId: string;
|
36216
|
-
isNewContact: boolean;
|
36217
|
-
};
|
36218
|
-
}[];
|
36219
|
-
attachments: {
|
36220
|
-
id: string;
|
36221
|
-
createdAt: Date;
|
36222
|
-
updatedAt: Date;
|
36223
|
-
deletedAt: Date | null;
|
36224
|
-
fileName: string;
|
36225
|
-
fileType: string;
|
36226
|
-
uploadId: string;
|
36227
|
-
upload: {
|
36228
|
-
id: string;
|
36229
|
-
createdAt: Date;
|
36230
|
-
updatedAt: Date;
|
36231
|
-
deletedAt: Date | null;
|
36232
|
-
extensionName: string;
|
36233
|
-
fileName: string;
|
36234
|
-
fileKey: string;
|
36235
|
-
bucketName: string;
|
36236
|
-
fileSize: number;
|
36237
|
-
fileUrl: string;
|
36238
|
-
};
|
36239
|
-
roomId: string;
|
36240
|
-
messageId: string;
|
36241
|
-
emailEngineAttachmentId: string;
|
36242
|
-
}[];
|
36243
|
-
subject: string;
|
36244
|
-
to: {
|
36245
|
-
id: string;
|
36246
|
-
createdAt: Date;
|
36247
|
-
updatedAt: Date;
|
36248
|
-
deletedAt: Date | null;
|
36249
|
-
roomId: string;
|
36250
|
-
messageId: string;
|
36251
|
-
mailUserId: string;
|
36252
|
-
mailUser: {
|
36253
|
-
id: string;
|
36254
|
-
address: string;
|
36255
|
-
name: string;
|
36256
|
-
createdAt: Date;
|
36257
|
-
updatedAt: Date;
|
36258
|
-
deletedAt: Date | null;
|
36259
|
-
contact: {
|
36260
|
-
id: string;
|
36261
|
-
channel: string | null;
|
36262
|
-
address: string | null;
|
36263
|
-
name: string;
|
36264
|
-
createdAt: Date;
|
36265
|
-
updatedAt: Date;
|
36266
|
-
deletedAt: Date | null;
|
36267
|
-
notes: string | null;
|
36268
|
-
contactProfile: string | null;
|
36269
|
-
socialProfileUrl: string | null;
|
36270
|
-
};
|
36271
|
-
contactId: string;
|
36272
|
-
isNewContact: boolean;
|
36273
|
-
};
|
36274
|
-
}[];
|
36275
|
-
cc: {
|
36276
|
-
id: string;
|
36277
|
-
createdAt: Date;
|
36278
|
-
updatedAt: Date;
|
36279
|
-
deletedAt: Date | null;
|
36280
|
-
roomId: string;
|
36281
|
-
messageId: string;
|
36282
|
-
mailUserId: string;
|
36283
|
-
mailUser: {
|
36284
|
-
id: string;
|
36285
|
-
address: string;
|
36286
|
-
name: string;
|
36287
|
-
createdAt: Date;
|
36288
|
-
updatedAt: Date;
|
36289
|
-
deletedAt: Date | null;
|
36290
|
-
contact: {
|
36291
|
-
id: string;
|
36292
|
-
channel: string | null;
|
36293
|
-
address: string | null;
|
36294
|
-
name: string;
|
36295
|
-
createdAt: Date;
|
36296
|
-
updatedAt: Date;
|
36297
|
-
deletedAt: Date | null;
|
36298
|
-
notes: string | null;
|
36299
|
-
contactProfile: string | null;
|
36300
|
-
socialProfileUrl: string | null;
|
36301
|
-
};
|
36302
|
-
contactId: string;
|
36303
|
-
isNewContact: boolean;
|
36304
|
-
};
|
36305
|
-
}[];
|
36306
|
-
bcc: {
|
36307
|
-
id: string;
|
36308
|
-
createdAt: Date;
|
36309
|
-
updatedAt: Date;
|
36310
|
-
deletedAt: Date | null;
|
36311
|
-
roomId: string;
|
36312
|
-
messageId: string;
|
36313
|
-
mailUserId: string;
|
36314
|
-
mailUser: {
|
36315
|
-
id: string;
|
36316
|
-
address: string;
|
36317
|
-
name: string;
|
36318
|
-
createdAt: Date;
|
36319
|
-
updatedAt: Date;
|
36320
|
-
deletedAt: Date | null;
|
36321
|
-
contact: {
|
36322
|
-
id: string;
|
36323
|
-
channel: string | null;
|
36324
|
-
address: string | null;
|
36325
|
-
name: string;
|
36326
|
-
createdAt: Date;
|
36327
|
-
updatedAt: Date;
|
36328
|
-
deletedAt: Date | null;
|
36329
|
-
notes: string | null;
|
36330
|
-
contactProfile: string | null;
|
36331
|
-
socialProfileUrl: string | null;
|
36332
|
-
};
|
36333
|
-
contactId: string;
|
36334
|
-
isNewContact: boolean;
|
36335
|
-
};
|
36336
|
-
}[];
|
36337
|
-
sendAt: Date;
|
36338
|
-
textPlain: string;
|
36339
|
-
textHtml: string;
|
36340
|
-
textId: string;
|
36341
|
-
emailEngineEmailId: string;
|
36342
|
-
emailEngineMessageId: string;
|
36343
|
-
emailEngineReplyTo: string | null;
|
36344
|
-
unseen: boolean;
|
36345
|
-
starred: boolean;
|
36346
|
-
seemsLikeNew: boolean;
|
36347
|
-
};
|
36348
|
-
requestId: string;
|
36349
|
-
}, {
|
36350
|
-
data: {
|
36351
|
-
id: string;
|
36352
|
-
direction: string;
|
36353
|
-
action: string;
|
36354
|
-
date: Date;
|
36355
|
-
createdAt: Date;
|
36356
|
-
updatedAt: Date;
|
36357
|
-
deletedAt: Date | null;
|
36358
|
-
roomId: string;
|
36359
|
-
from: {
|
36360
|
-
id: string;
|
36361
|
-
createdAt: Date;
|
36362
|
-
updatedAt: Date;
|
36363
|
-
deletedAt: Date | null;
|
36364
|
-
roomId: string;
|
36365
|
-
messageId: string;
|
36366
|
-
mailUserId: string;
|
36367
|
-
mailUser: {
|
36368
|
-
id: string;
|
36369
|
-
address: string;
|
36370
|
-
name: string;
|
36371
|
-
createdAt: Date;
|
36372
|
-
updatedAt: Date;
|
36373
|
-
deletedAt: Date | null;
|
36374
|
-
contact: {
|
36375
|
-
id: string;
|
36376
|
-
channel: string | null;
|
36377
|
-
address: string | null;
|
36378
|
-
name: string;
|
36379
|
-
createdAt: Date;
|
36380
|
-
updatedAt: Date;
|
36381
|
-
deletedAt: Date | null;
|
36382
|
-
notes: string | null;
|
36383
|
-
contactProfile: string | null;
|
36384
|
-
socialProfileUrl: string | null;
|
36385
|
-
};
|
36386
|
-
contactId: string;
|
36387
|
-
isNewContact: boolean;
|
36388
|
-
};
|
36389
|
-
}[];
|
36390
|
-
attachments: {
|
36391
|
-
id: string;
|
36392
|
-
createdAt: Date;
|
36393
|
-
updatedAt: Date;
|
36394
|
-
deletedAt: Date | null;
|
36395
|
-
fileName: string;
|
36396
|
-
fileType: string;
|
36397
|
-
uploadId: string;
|
36398
|
-
upload: {
|
36399
|
-
id: string;
|
36400
|
-
createdAt: Date;
|
36401
|
-
updatedAt: Date;
|
36402
|
-
deletedAt: Date | null;
|
36403
|
-
extensionName: string;
|
36404
|
-
fileName: string;
|
36405
|
-
fileKey: string;
|
36406
|
-
bucketName: string;
|
36407
|
-
fileSize: number;
|
36408
|
-
fileUrl: string;
|
36409
|
-
};
|
36410
|
-
roomId: string;
|
36411
|
-
messageId: string;
|
36412
|
-
emailEngineAttachmentId: string;
|
36413
|
-
}[];
|
36414
|
-
subject: string;
|
36415
|
-
to: {
|
36416
|
-
id: string;
|
36417
|
-
createdAt: Date;
|
36418
|
-
updatedAt: Date;
|
36419
|
-
deletedAt: Date | null;
|
36420
|
-
roomId: string;
|
36421
|
-
messageId: string;
|
36422
|
-
mailUserId: string;
|
36423
|
-
mailUser: {
|
36424
|
-
id: string;
|
36425
|
-
address: string;
|
36426
|
-
name: string;
|
36427
|
-
createdAt: Date;
|
36428
|
-
updatedAt: Date;
|
36429
|
-
deletedAt: Date | null;
|
36430
|
-
contact: {
|
36431
|
-
id: string;
|
36432
|
-
channel: string | null;
|
36433
|
-
address: string | null;
|
36434
|
-
name: string;
|
36435
|
-
createdAt: Date;
|
36436
|
-
updatedAt: Date;
|
36437
|
-
deletedAt: Date | null;
|
36438
|
-
notes: string | null;
|
36439
|
-
contactProfile: string | null;
|
36440
|
-
socialProfileUrl: string | null;
|
36441
|
-
};
|
36442
|
-
contactId: string;
|
36443
|
-
isNewContact: boolean;
|
36444
|
-
};
|
36445
|
-
}[];
|
36446
|
-
cc: {
|
36447
|
-
id: string;
|
36448
|
-
createdAt: Date;
|
36449
|
-
updatedAt: Date;
|
36450
|
-
deletedAt: Date | null;
|
36451
|
-
roomId: string;
|
36452
|
-
messageId: string;
|
36453
|
-
mailUserId: string;
|
36454
|
-
mailUser: {
|
36455
|
-
id: string;
|
36456
|
-
address: string;
|
36457
|
-
name: string;
|
36458
|
-
createdAt: Date;
|
36459
|
-
updatedAt: Date;
|
36460
|
-
deletedAt: Date | null;
|
36461
|
-
contact: {
|
36462
|
-
id: string;
|
36463
|
-
channel: string | null;
|
36464
|
-
address: string | null;
|
36465
|
-
name: string;
|
36466
|
-
createdAt: Date;
|
36467
|
-
updatedAt: Date;
|
36468
|
-
deletedAt: Date | null;
|
36469
|
-
notes: string | null;
|
36470
|
-
contactProfile: string | null;
|
36471
|
-
socialProfileUrl: string | null;
|
36472
|
-
};
|
36473
|
-
contactId: string;
|
36474
|
-
isNewContact: boolean;
|
36475
|
-
};
|
36476
|
-
}[];
|
36477
|
-
bcc: {
|
36478
|
-
id: string;
|
36479
|
-
createdAt: Date;
|
36480
|
-
updatedAt: Date;
|
36481
|
-
deletedAt: Date | null;
|
36482
|
-
roomId: string;
|
36483
|
-
messageId: string;
|
36484
|
-
mailUserId: string;
|
36485
|
-
mailUser: {
|
36486
|
-
id: string;
|
36487
|
-
address: string;
|
36488
|
-
name: string;
|
36489
|
-
createdAt: Date;
|
36490
|
-
updatedAt: Date;
|
36491
|
-
deletedAt: Date | null;
|
36492
|
-
contact: {
|
36493
|
-
id: string;
|
36494
|
-
channel: string | null;
|
36495
|
-
address: string | null;
|
36496
|
-
name: string;
|
36497
|
-
createdAt: Date;
|
36498
|
-
updatedAt: Date;
|
36499
|
-
deletedAt: Date | null;
|
36500
|
-
notes: string | null;
|
36501
|
-
contactProfile: string | null;
|
36502
|
-
socialProfileUrl: string | null;
|
36503
|
-
};
|
36504
|
-
contactId: string;
|
36505
|
-
isNewContact: boolean;
|
36506
|
-
};
|
36507
|
-
}[];
|
36508
|
-
sendAt: Date;
|
36509
|
-
textPlain: string;
|
36510
|
-
textHtml: string;
|
36511
|
-
textId: string;
|
36512
|
-
emailEngineEmailId: string;
|
36513
|
-
emailEngineMessageId: string;
|
36514
|
-
emailEngineReplyTo: string | null;
|
36515
|
-
unseen: boolean;
|
36516
|
-
starred: boolean;
|
36517
|
-
seemsLikeNew: boolean;
|
35110
|
+
totalMessagesCount: import("zod").ZodNumber;
|
35111
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35112
|
+
totalMessagesCount: number;
|
35113
|
+
}, {
|
35114
|
+
totalMessagesCount: number;
|
35115
|
+
}>;
|
35116
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35117
|
+
data: {
|
35118
|
+
totalMessagesCount: number;
|
35119
|
+
};
|
35120
|
+
requestId: string;
|
35121
|
+
}, {
|
35122
|
+
data: {
|
35123
|
+
totalMessagesCount: number;
|
36518
35124
|
};
|
36519
35125
|
requestId: string;
|
36520
35126
|
}>;
|
@@ -36663,76 +35269,185 @@ export declare const mailContract: {
|
|
36663
35269
|
deletedAt: Date | null;
|
36664
35270
|
accountId: string;
|
36665
35271
|
mailServerId: string;
|
36666
|
-
mailServer: {
|
36667
|
-
id: string;
|
36668
|
-
name: string;
|
36669
|
-
createdAt: Date;
|
36670
|
-
updatedAt: Date;
|
36671
|
-
deletedAt: Date | null;
|
36672
|
-
smtpHost: string;
|
36673
|
-
smtpPort: number;
|
36674
|
-
smtpTlsPort: number;
|
36675
|
-
useTlsForSmtp: boolean;
|
36676
|
-
imapHost: string;
|
36677
|
-
imapPort: number;
|
36678
|
-
imapTlsPort: number;
|
36679
|
-
useTlsForImap: boolean;
|
36680
|
-
};
|
35272
|
+
mailServer: {
|
35273
|
+
id: string;
|
35274
|
+
name: string;
|
35275
|
+
createdAt: Date;
|
35276
|
+
updatedAt: Date;
|
35277
|
+
deletedAt: Date | null;
|
35278
|
+
smtpHost: string;
|
35279
|
+
smtpPort: number;
|
35280
|
+
smtpTlsPort: number;
|
35281
|
+
useTlsForSmtp: boolean;
|
35282
|
+
imapHost: string;
|
35283
|
+
imapPort: number;
|
35284
|
+
imapTlsPort: number;
|
35285
|
+
useTlsForImap: boolean;
|
35286
|
+
};
|
35287
|
+
}>;
|
35288
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35289
|
+
data: {
|
35290
|
+
id: string;
|
35291
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
35292
|
+
address: string;
|
35293
|
+
name: string;
|
35294
|
+
createdAt: Date;
|
35295
|
+
updatedAt: Date;
|
35296
|
+
deletedAt: Date | null;
|
35297
|
+
accountId: string;
|
35298
|
+
mailServerId: string;
|
35299
|
+
mailServer: {
|
35300
|
+
id: string;
|
35301
|
+
name: string;
|
35302
|
+
createdAt: Date;
|
35303
|
+
updatedAt: Date;
|
35304
|
+
deletedAt: Date | null;
|
35305
|
+
smtpHost: string;
|
35306
|
+
smtpPort: number;
|
35307
|
+
smtpTlsPort: number;
|
35308
|
+
useTlsForSmtp: boolean;
|
35309
|
+
imapHost: string;
|
35310
|
+
imapPort: number;
|
35311
|
+
imapTlsPort: number;
|
35312
|
+
useTlsForImap: boolean;
|
35313
|
+
};
|
35314
|
+
};
|
35315
|
+
requestId: string;
|
35316
|
+
}, {
|
35317
|
+
data: {
|
35318
|
+
id: string;
|
35319
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
35320
|
+
address: string;
|
35321
|
+
name: string;
|
35322
|
+
createdAt: Date;
|
35323
|
+
updatedAt: Date;
|
35324
|
+
deletedAt: Date | null;
|
35325
|
+
accountId: string;
|
35326
|
+
mailServerId: string;
|
35327
|
+
mailServer: {
|
35328
|
+
id: string;
|
35329
|
+
name: string;
|
35330
|
+
createdAt: Date;
|
35331
|
+
updatedAt: Date;
|
35332
|
+
deletedAt: Date | null;
|
35333
|
+
smtpHost: string;
|
35334
|
+
smtpPort: number;
|
35335
|
+
smtpTlsPort: number;
|
35336
|
+
useTlsForSmtp: boolean;
|
35337
|
+
imapHost: string;
|
35338
|
+
imapPort: number;
|
35339
|
+
imapTlsPort: number;
|
35340
|
+
useTlsForImap: boolean;
|
35341
|
+
};
|
35342
|
+
};
|
35343
|
+
requestId: string;
|
35344
|
+
}>;
|
35345
|
+
400: import("zod").ZodObject<{
|
35346
|
+
message: import("zod").ZodString;
|
35347
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35348
|
+
message: string;
|
35349
|
+
}, {
|
35350
|
+
message: string;
|
35351
|
+
}>;
|
35352
|
+
409: import("zod").ZodObject<{
|
35353
|
+
message: import("zod").ZodString;
|
35354
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35355
|
+
message: string;
|
35356
|
+
}, {
|
35357
|
+
message: string;
|
35358
|
+
}>;
|
35359
|
+
500: import("zod").ZodObject<{
|
35360
|
+
message: import("zod").ZodString;
|
35361
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35362
|
+
message: string;
|
35363
|
+
}, {
|
35364
|
+
message: string;
|
35365
|
+
}>;
|
35366
|
+
};
|
35367
|
+
path: "email-service/mail/account";
|
35368
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
35369
|
+
'x-tenant': import("zod").ZodString;
|
35370
|
+
authorization: import("zod").ZodString;
|
35371
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
35372
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
35373
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35374
|
+
'x-tenant': string;
|
35375
|
+
authorization: string;
|
35376
|
+
'x-client-timezone': string;
|
35377
|
+
'x-code'?: string | undefined;
|
35378
|
+
}, {
|
35379
|
+
'x-tenant': string;
|
35380
|
+
authorization: string;
|
35381
|
+
'x-code'?: string | undefined;
|
35382
|
+
'x-client-timezone'?: string | undefined;
|
35383
|
+
}>>>;
|
35384
|
+
};
|
35385
|
+
generateOAuth2AuthenticationLink: {
|
35386
|
+
body: import("zod").ZodObject<{
|
35387
|
+
oAuth2AppId: import("zod").ZodString;
|
35388
|
+
mailServerId: import("zod").ZodString;
|
35389
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35390
|
+
mailServerId: string;
|
35391
|
+
oAuth2AppId: string;
|
35392
|
+
}, {
|
35393
|
+
mailServerId: string;
|
35394
|
+
oAuth2AppId: string;
|
35395
|
+
}>;
|
35396
|
+
summary: "Generate oauth2 authentication form link";
|
35397
|
+
method: "POST";
|
35398
|
+
responses: {
|
35399
|
+
401: import("zod").ZodObject<{
|
35400
|
+
message: import("zod").ZodString;
|
35401
|
+
error: import("zod").ZodAny;
|
35402
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35403
|
+
message: string;
|
35404
|
+
error?: any;
|
35405
|
+
}, {
|
35406
|
+
message: string;
|
35407
|
+
error?: any;
|
35408
|
+
}>;
|
35409
|
+
404: import("zod").ZodObject<{
|
35410
|
+
message: import("zod").ZodString;
|
35411
|
+
error: import("zod").ZodAny;
|
35412
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35413
|
+
message: string;
|
35414
|
+
error?: any;
|
35415
|
+
}, {
|
35416
|
+
message: string;
|
35417
|
+
error?: any;
|
35418
|
+
}>;
|
35419
|
+
422: import("zod").ZodObject<{
|
35420
|
+
message: import("zod").ZodString;
|
35421
|
+
error: import("zod").ZodAny;
|
35422
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35423
|
+
message: string;
|
35424
|
+
error?: any;
|
35425
|
+
}, {
|
35426
|
+
message: string;
|
35427
|
+
error?: any;
|
35428
|
+
}>;
|
35429
|
+
201: import("zod").ZodObject<{
|
35430
|
+
requestId: import("zod").ZodString;
|
35431
|
+
data: import("zod").ZodObject<{
|
35432
|
+
oAuth2AppId: import("zod").ZodString;
|
35433
|
+
mailServerId: import("zod").ZodString;
|
35434
|
+
}, "strip", import("zod").ZodTypeAny, {
|
35435
|
+
mailServerId: string;
|
35436
|
+
oAuth2AppId: string;
|
35437
|
+
}, {
|
35438
|
+
mailServerId: string;
|
35439
|
+
oAuth2AppId: string;
|
36681
35440
|
}>;
|
36682
35441
|
}, "strip", import("zod").ZodTypeAny, {
|
36683
35442
|
data: {
|
36684
|
-
id: string;
|
36685
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
36686
|
-
address: string;
|
36687
|
-
name: string;
|
36688
|
-
createdAt: Date;
|
36689
|
-
updatedAt: Date;
|
36690
|
-
deletedAt: Date | null;
|
36691
|
-
accountId: string;
|
36692
35443
|
mailServerId: string;
|
36693
|
-
|
36694
|
-
id: string;
|
36695
|
-
name: string;
|
36696
|
-
createdAt: Date;
|
36697
|
-
updatedAt: Date;
|
36698
|
-
deletedAt: Date | null;
|
36699
|
-
smtpHost: string;
|
36700
|
-
smtpPort: number;
|
36701
|
-
smtpTlsPort: number;
|
36702
|
-
useTlsForSmtp: boolean;
|
36703
|
-
imapHost: string;
|
36704
|
-
imapPort: number;
|
36705
|
-
imapTlsPort: number;
|
36706
|
-
useTlsForImap: boolean;
|
36707
|
-
};
|
35444
|
+
oAuth2AppId: string;
|
36708
35445
|
};
|
36709
35446
|
requestId: string;
|
36710
35447
|
}, {
|
36711
35448
|
data: {
|
36712
|
-
id: string;
|
36713
|
-
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
36714
|
-
address: string;
|
36715
|
-
name: string;
|
36716
|
-
createdAt: Date;
|
36717
|
-
updatedAt: Date;
|
36718
|
-
deletedAt: Date | null;
|
36719
|
-
accountId: string;
|
36720
35449
|
mailServerId: string;
|
36721
|
-
|
36722
|
-
id: string;
|
36723
|
-
name: string;
|
36724
|
-
createdAt: Date;
|
36725
|
-
updatedAt: Date;
|
36726
|
-
deletedAt: Date | null;
|
36727
|
-
smtpHost: string;
|
36728
|
-
smtpPort: number;
|
36729
|
-
smtpTlsPort: number;
|
36730
|
-
useTlsForSmtp: boolean;
|
36731
|
-
imapHost: string;
|
36732
|
-
imapPort: number;
|
36733
|
-
imapTlsPort: number;
|
36734
|
-
useTlsForImap: boolean;
|
36735
|
-
};
|
35450
|
+
oAuth2AppId: string;
|
36736
35451
|
};
|
36737
35452
|
requestId: string;
|
36738
35453
|
}>;
|
@@ -36758,7 +35473,7 @@ export declare const mailContract: {
|
|
36758
35473
|
message: string;
|
36759
35474
|
}>;
|
36760
35475
|
};
|
36761
|
-
path: "email-service/mail/account";
|
35476
|
+
path: "email-service/mail/account/oauth2_authentication_form_link";
|
36762
35477
|
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
36763
35478
|
'x-tenant': import("zod").ZodString;
|
36764
35479
|
authorization: import("zod").ZodString;
|
@@ -38134,6 +36849,173 @@ export declare const mailContract: {
|
|
38134
36849
|
'x-client-timezone'?: string | undefined;
|
38135
36850
|
}>>>;
|
38136
36851
|
};
|
36852
|
+
createOAuth2Acc: {
|
36853
|
+
body: import("zod").ZodObject<{
|
36854
|
+
account: import("zod").ZodString;
|
36855
|
+
name: import("zod").ZodString;
|
36856
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36857
|
+
name: string;
|
36858
|
+
account: string;
|
36859
|
+
}, {
|
36860
|
+
name: string;
|
36861
|
+
account: string;
|
36862
|
+
}>;
|
36863
|
+
summary: "Register OAuth2 account.";
|
36864
|
+
method: "POST";
|
36865
|
+
responses: {
|
36866
|
+
401: import("zod").ZodObject<{
|
36867
|
+
message: import("zod").ZodString;
|
36868
|
+
error: import("zod").ZodAny;
|
36869
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36870
|
+
message: string;
|
36871
|
+
error?: any;
|
36872
|
+
}, {
|
36873
|
+
message: string;
|
36874
|
+
error?: any;
|
36875
|
+
}>;
|
36876
|
+
404: import("zod").ZodObject<{
|
36877
|
+
message: import("zod").ZodString;
|
36878
|
+
error: import("zod").ZodAny;
|
36879
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36880
|
+
message: string;
|
36881
|
+
error?: any;
|
36882
|
+
}, {
|
36883
|
+
message: string;
|
36884
|
+
error?: any;
|
36885
|
+
}>;
|
36886
|
+
422: import("zod").ZodObject<{
|
36887
|
+
message: import("zod").ZodString;
|
36888
|
+
error: import("zod").ZodAny;
|
36889
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36890
|
+
message: string;
|
36891
|
+
error?: any;
|
36892
|
+
}, {
|
36893
|
+
message: string;
|
36894
|
+
error?: any;
|
36895
|
+
}>;
|
36896
|
+
201: import("zod").ZodObject<{
|
36897
|
+
id: import("zod").ZodString;
|
36898
|
+
createdAt: import("zod").ZodDate;
|
36899
|
+
updatedAt: import("zod").ZodDate;
|
36900
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36901
|
+
name: import("zod").ZodString;
|
36902
|
+
address: import("zod").ZodString;
|
36903
|
+
accountId: import("zod").ZodString;
|
36904
|
+
mailServerId: import("zod").ZodString;
|
36905
|
+
mailServer: import("zod").ZodObject<{
|
36906
|
+
id: import("zod").ZodString;
|
36907
|
+
createdAt: import("zod").ZodDate;
|
36908
|
+
updatedAt: import("zod").ZodDate;
|
36909
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
36910
|
+
name: import("zod").ZodString;
|
36911
|
+
smtpHost: import("zod").ZodString;
|
36912
|
+
smtpPort: import("zod").ZodNumber;
|
36913
|
+
smtpTlsPort: import("zod").ZodNumber;
|
36914
|
+
useTlsForSmtp: import("zod").ZodBoolean;
|
36915
|
+
imapHost: import("zod").ZodString;
|
36916
|
+
imapPort: import("zod").ZodNumber;
|
36917
|
+
imapTlsPort: import("zod").ZodNumber;
|
36918
|
+
useTlsForImap: import("zod").ZodBoolean;
|
36919
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36920
|
+
id: string;
|
36921
|
+
name: string;
|
36922
|
+
createdAt: Date;
|
36923
|
+
updatedAt: Date;
|
36924
|
+
deletedAt: Date | null;
|
36925
|
+
smtpHost: string;
|
36926
|
+
smtpPort: number;
|
36927
|
+
smtpTlsPort: number;
|
36928
|
+
useTlsForSmtp: boolean;
|
36929
|
+
imapHost: string;
|
36930
|
+
imapPort: number;
|
36931
|
+
imapTlsPort: number;
|
36932
|
+
useTlsForImap: boolean;
|
36933
|
+
}, {
|
36934
|
+
id: string;
|
36935
|
+
name: string;
|
36936
|
+
createdAt: Date;
|
36937
|
+
updatedAt: Date;
|
36938
|
+
deletedAt: Date | null;
|
36939
|
+
smtpHost: string;
|
36940
|
+
smtpPort: number;
|
36941
|
+
smtpTlsPort: number;
|
36942
|
+
useTlsForSmtp: boolean;
|
36943
|
+
imapHost: string;
|
36944
|
+
imapPort: number;
|
36945
|
+
imapTlsPort: number;
|
36946
|
+
useTlsForImap: boolean;
|
36947
|
+
}>;
|
36948
|
+
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">]>;
|
36949
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36950
|
+
id: string;
|
36951
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
36952
|
+
address: string;
|
36953
|
+
name: string;
|
36954
|
+
createdAt: Date;
|
36955
|
+
updatedAt: Date;
|
36956
|
+
deletedAt: Date | null;
|
36957
|
+
accountId: string;
|
36958
|
+
mailServerId: string;
|
36959
|
+
mailServer: {
|
36960
|
+
id: string;
|
36961
|
+
name: string;
|
36962
|
+
createdAt: Date;
|
36963
|
+
updatedAt: Date;
|
36964
|
+
deletedAt: Date | null;
|
36965
|
+
smtpHost: string;
|
36966
|
+
smtpPort: number;
|
36967
|
+
smtpTlsPort: number;
|
36968
|
+
useTlsForSmtp: boolean;
|
36969
|
+
imapHost: string;
|
36970
|
+
imapPort: number;
|
36971
|
+
imapTlsPort: number;
|
36972
|
+
useTlsForImap: boolean;
|
36973
|
+
};
|
36974
|
+
}, {
|
36975
|
+
id: string;
|
36976
|
+
state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
|
36977
|
+
address: string;
|
36978
|
+
name: string;
|
36979
|
+
createdAt: Date;
|
36980
|
+
updatedAt: Date;
|
36981
|
+
deletedAt: Date | null;
|
36982
|
+
accountId: string;
|
36983
|
+
mailServerId: string;
|
36984
|
+
mailServer: {
|
36985
|
+
id: string;
|
36986
|
+
name: string;
|
36987
|
+
createdAt: Date;
|
36988
|
+
updatedAt: Date;
|
36989
|
+
deletedAt: Date | null;
|
36990
|
+
smtpHost: string;
|
36991
|
+
smtpPort: number;
|
36992
|
+
smtpTlsPort: number;
|
36993
|
+
useTlsForSmtp: boolean;
|
36994
|
+
imapHost: string;
|
36995
|
+
imapPort: number;
|
36996
|
+
imapTlsPort: number;
|
36997
|
+
useTlsForImap: boolean;
|
36998
|
+
};
|
36999
|
+
}>;
|
37000
|
+
};
|
37001
|
+
path: "email-service/mail/account/oauth2";
|
37002
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
37003
|
+
'x-tenant': import("zod").ZodString;
|
37004
|
+
authorization: import("zod").ZodString;
|
37005
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
37006
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
37007
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37008
|
+
'x-tenant': string;
|
37009
|
+
authorization: string;
|
37010
|
+
'x-client-timezone': string;
|
37011
|
+
'x-code'?: string | undefined;
|
37012
|
+
}, {
|
37013
|
+
'x-tenant': string;
|
37014
|
+
authorization: string;
|
37015
|
+
'x-code'?: string | undefined;
|
37016
|
+
'x-client-timezone'?: string | undefined;
|
37017
|
+
}>>>;
|
37018
|
+
};
|
38137
37019
|
};
|
38138
37020
|
server: {
|
38139
37021
|
create: {
|
@@ -38284,6 +37166,53 @@ export declare const mailContract: {
|
|
38284
37166
|
};
|
38285
37167
|
path: "email-service/mail/server/";
|
38286
37168
|
};
|
37169
|
+
getOAuth2Apps: {
|
37170
|
+
summary: "Get all oauth2 apps";
|
37171
|
+
method: "GET";
|
37172
|
+
responses: {
|
37173
|
+
401: import("zod").ZodObject<{
|
37174
|
+
message: import("zod").ZodString;
|
37175
|
+
error: import("zod").ZodAny;
|
37176
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37177
|
+
message: string;
|
37178
|
+
error?: any;
|
37179
|
+
}, {
|
37180
|
+
message: string;
|
37181
|
+
error?: any;
|
37182
|
+
}>;
|
37183
|
+
404: import("zod").ZodObject<{
|
37184
|
+
message: import("zod").ZodString;
|
37185
|
+
error: import("zod").ZodAny;
|
37186
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37187
|
+
message: string;
|
37188
|
+
error?: any;
|
37189
|
+
}, {
|
37190
|
+
message: string;
|
37191
|
+
error?: any;
|
37192
|
+
}>;
|
37193
|
+
422: import("zod").ZodObject<{
|
37194
|
+
message: import("zod").ZodString;
|
37195
|
+
error: import("zod").ZodAny;
|
37196
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37197
|
+
message: string;
|
37198
|
+
error?: any;
|
37199
|
+
}, {
|
37200
|
+
message: string;
|
37201
|
+
error?: any;
|
37202
|
+
}>;
|
37203
|
+
200: import("zod").ZodObject<{
|
37204
|
+
requestId: import("zod").ZodString;
|
37205
|
+
data: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
|
37206
|
+
}, "strip", import("zod").ZodTypeAny, {
|
37207
|
+
data: unknown[];
|
37208
|
+
requestId: string;
|
37209
|
+
}, {
|
37210
|
+
data: unknown[];
|
37211
|
+
requestId: string;
|
37212
|
+
}>;
|
37213
|
+
};
|
37214
|
+
path: "email-service/mail/server/oauth2/apps";
|
37215
|
+
};
|
38287
37216
|
getById: {
|
38288
37217
|
summary: "Get a mail server by id";
|
38289
37218
|
method: "GET";
|