@kl1/contracts 1.4.50 → 1.4.51

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.
Files changed (46) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +9 -9
  2. package/dist/api-contracts/src/botpress/validation.d.ts +9 -9
  3. package/dist/api-contracts/src/channel/index.d.ts +64 -0
  4. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +64 -0
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +6 -3
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +3 -0
  11. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/company/index.d.ts +80 -0
  13. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/company/validation.d.ts +40 -0
  15. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contract.d.ts +271 -439
  17. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  18. package/dist/api-contracts/src/index.d.ts +1 -0
  19. package/dist/api-contracts/src/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/mail/account-contract.d.ts +169 -29
  21. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  22. package/dist/api-contracts/src/mail/index.d.ts +1 -0
  23. package/dist/api-contracts/src/mail/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/mail/mail-contract.d.ts +181 -41
  25. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  26. package/dist/api-contracts/src/mail/room-contract.d.ts +12 -12
  27. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +85 -24
  28. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +3 -3
  30. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +3 -3
  31. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +3 -3
  32. package/dist/api-contracts/src/subscription/index.d.ts +438 -0
  33. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  35. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  37. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  39. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/workflow-rule/index.d.ts +54 -0
  41. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  42. package/dist/index.js +1733 -1636
  43. package/dist/index.js.map +1 -1
  44. package/dist/index.mjs +1732 -1636
  45. package/dist/index.mjs.map +1 -1
  46. package/package.json +1 -1
@@ -32,6 +32,7 @@ export * from './subscription';
32
32
  export * from './botpress';
33
33
  export * from './cx-intelligence';
34
34
  export * from './hold-label';
35
+ export * from './widget';
35
36
  export * from './export';
36
37
  export * from './invoice';
37
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AACh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,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -54,9 +54,6 @@ export declare const accountContract: {
54
54
  requestId: z.ZodString;
55
55
  data: z.ZodObject<{
56
56
  id: z.ZodString;
57
- createdAt: z.ZodDate;
58
- updatedAt: z.ZodDate;
59
- deletedAt: z.ZodNullable<z.ZodDate>;
60
57
  name: z.ZodString;
61
58
  address: z.ZodString;
62
59
  accountId: z.ZodString;
@@ -105,6 +102,9 @@ export declare const accountContract: {
105
102
  useTlsForImap: boolean;
106
103
  }>;
107
104
  state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
105
+ createdAt: z.ZodDate;
106
+ updatedAt: z.ZodDate;
107
+ deletedAt: z.ZodNullable<z.ZodDate>;
108
108
  }, "strip", z.ZodTypeAny, {
109
109
  name: string;
110
110
  id: string;
@@ -253,6 +253,146 @@ export declare const accountContract: {
253
253
  'x-client-timezone'?: string | undefined;
254
254
  }>>>;
255
255
  };
256
+ createWithCustomSmtpAndImap: {
257
+ body: z.ZodObject<{
258
+ email: z.ZodString;
259
+ name: z.ZodString;
260
+ password: z.ZodString;
261
+ imap: z.ZodObject<{
262
+ host: z.ZodString;
263
+ port: z.ZodNumber;
264
+ secure: z.ZodDefault<z.ZodBoolean>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ port: number;
267
+ host: string;
268
+ secure: boolean;
269
+ }, {
270
+ port: number;
271
+ host: string;
272
+ secure?: boolean | undefined;
273
+ }>;
274
+ smtp: z.ZodObject<{
275
+ host: z.ZodString;
276
+ port: z.ZodNumber;
277
+ secure: z.ZodDefault<z.ZodBoolean>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ port: number;
280
+ host: string;
281
+ secure: boolean;
282
+ }, {
283
+ port: number;
284
+ host: string;
285
+ secure?: boolean | undefined;
286
+ }>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ name: string;
289
+ email: string;
290
+ password: string;
291
+ imap: {
292
+ port: number;
293
+ host: string;
294
+ secure: boolean;
295
+ };
296
+ smtp: {
297
+ port: number;
298
+ host: string;
299
+ secure: boolean;
300
+ };
301
+ }, {
302
+ name: string;
303
+ email: string;
304
+ password: string;
305
+ imap: {
306
+ port: number;
307
+ host: string;
308
+ secure?: boolean | undefined;
309
+ };
310
+ smtp: {
311
+ port: number;
312
+ host: string;
313
+ secure?: boolean | undefined;
314
+ };
315
+ }>;
316
+ summary: "Register a new mail account";
317
+ method: "POST";
318
+ responses: {
319
+ 401: z.ZodObject<{
320
+ message: z.ZodString;
321
+ error: z.ZodAny;
322
+ }, "strip", z.ZodTypeAny, {
323
+ message: string;
324
+ error?: any;
325
+ }, {
326
+ message: string;
327
+ error?: any;
328
+ }>;
329
+ 404: z.ZodObject<{
330
+ message: z.ZodString;
331
+ error: z.ZodAny;
332
+ }, "strip", z.ZodTypeAny, {
333
+ message: string;
334
+ error?: any;
335
+ }, {
336
+ message: string;
337
+ error?: any;
338
+ }>;
339
+ 422: z.ZodObject<{
340
+ message: z.ZodString;
341
+ error: z.ZodAny;
342
+ }, "strip", z.ZodTypeAny, {
343
+ message: string;
344
+ error?: any;
345
+ }, {
346
+ message: string;
347
+ error?: any;
348
+ }>;
349
+ 201: z.ZodObject<{
350
+ requestId: z.ZodString;
351
+ }, "strip", z.ZodTypeAny, {
352
+ requestId: string;
353
+ }, {
354
+ requestId: string;
355
+ }>;
356
+ 400: z.ZodObject<{
357
+ message: z.ZodString;
358
+ }, "strip", z.ZodTypeAny, {
359
+ message: string;
360
+ }, {
361
+ message: string;
362
+ }>;
363
+ 409: z.ZodObject<{
364
+ message: z.ZodString;
365
+ }, "strip", z.ZodTypeAny, {
366
+ message: string;
367
+ }, {
368
+ message: string;
369
+ }>;
370
+ 500: z.ZodObject<{
371
+ message: z.ZodString;
372
+ }, "strip", z.ZodTypeAny, {
373
+ message: string;
374
+ }, {
375
+ message: string;
376
+ }>;
377
+ };
378
+ path: "ems/mail/account/smtp-imap";
379
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
380
+ 'x-tenant': z.ZodString;
381
+ 'x-service-token': z.ZodString;
382
+ 'x-code': z.ZodOptional<z.ZodString>;
383
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ 'x-tenant': string;
386
+ 'x-service-token': string;
387
+ 'x-client-timezone': string;
388
+ 'x-code'?: string | undefined;
389
+ }, {
390
+ 'x-tenant': string;
391
+ 'x-service-token': string;
392
+ 'x-code'?: string | undefined;
393
+ 'x-client-timezone'?: string | undefined;
394
+ }>>>;
395
+ };
256
396
  generateOAuth2AuthenticationLink: {
257
397
  body: z.ZodObject<{
258
398
  oAuth2AppId: z.ZodString;
@@ -470,9 +610,6 @@ export declare const accountContract: {
470
610
  requestId: z.ZodString;
471
611
  data: z.ZodObject<{
472
612
  id: z.ZodString;
473
- createdAt: z.ZodDate;
474
- updatedAt: z.ZodDate;
475
- deletedAt: z.ZodNullable<z.ZodDate>;
476
613
  name: z.ZodString;
477
614
  address: z.ZodString;
478
615
  accountId: z.ZodString;
@@ -521,6 +658,9 @@ export declare const accountContract: {
521
658
  useTlsForImap: boolean;
522
659
  }>;
523
660
  state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
661
+ createdAt: z.ZodDate;
662
+ updatedAt: z.ZodDate;
663
+ deletedAt: z.ZodNullable<z.ZodDate>;
524
664
  }, "strip", z.ZodTypeAny, {
525
665
  name: string;
526
666
  id: string;
@@ -696,9 +836,6 @@ export declare const accountContract: {
696
836
  requestId: z.ZodString;
697
837
  data: z.ZodArray<z.ZodObject<{
698
838
  id: z.ZodString;
699
- createdAt: z.ZodDate;
700
- updatedAt: z.ZodDate;
701
- deletedAt: z.ZodNullable<z.ZodDate>;
702
839
  name: z.ZodString;
703
840
  address: z.ZodString;
704
841
  accountId: z.ZodString;
@@ -747,6 +884,9 @@ export declare const accountContract: {
747
884
  useTlsForImap: boolean;
748
885
  }>;
749
886
  state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
887
+ createdAt: z.ZodDate;
888
+ updatedAt: z.ZodDate;
889
+ deletedAt: z.ZodNullable<z.ZodDate>;
750
890
  }, "strip", z.ZodTypeAny, {
751
891
  name: string;
752
892
  id: string;
@@ -877,9 +1017,6 @@ export declare const accountContract: {
877
1017
  update: {
878
1018
  body: z.ZodObject<{
879
1019
  id: z.ZodOptional<z.ZodString>;
880
- createdAt: z.ZodOptional<z.ZodDate>;
881
- updatedAt: z.ZodOptional<z.ZodDate>;
882
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
883
1020
  name: z.ZodOptional<z.ZodString>;
884
1021
  address: z.ZodOptional<z.ZodString>;
885
1022
  accountId: z.ZodOptional<z.ZodString>;
@@ -928,11 +1065,11 @@ export declare const accountContract: {
928
1065
  useTlsForImap: boolean;
929
1066
  }>>;
930
1067
  state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>>;
1068
+ createdAt: z.ZodOptional<z.ZodDate>;
1069
+ updatedAt: z.ZodOptional<z.ZodDate>;
1070
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
931
1071
  }, "strip", z.ZodTypeAny, {
932
1072
  id?: string | undefined;
933
- createdAt?: Date | undefined;
934
- updatedAt?: Date | undefined;
935
- deletedAt?: Date | null | undefined;
936
1073
  name?: string | undefined;
937
1074
  address?: string | undefined;
938
1075
  accountId?: string | undefined;
@@ -953,11 +1090,11 @@ export declare const accountContract: {
953
1090
  useTlsForImap: boolean;
954
1091
  } | undefined;
955
1092
  state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
956
- }, {
957
- id?: string | undefined;
958
1093
  createdAt?: Date | undefined;
959
1094
  updatedAt?: Date | undefined;
960
1095
  deletedAt?: Date | null | undefined;
1096
+ }, {
1097
+ id?: string | undefined;
961
1098
  name?: string | undefined;
962
1099
  address?: string | undefined;
963
1100
  accountId?: string | undefined;
@@ -978,6 +1115,9 @@ export declare const accountContract: {
978
1115
  useTlsForImap: boolean;
979
1116
  } | undefined;
980
1117
  state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
1118
+ createdAt?: Date | undefined;
1119
+ updatedAt?: Date | undefined;
1120
+ deletedAt?: Date | null | undefined;
981
1121
  }>;
982
1122
  summary: "Update a account by id";
983
1123
  method: "PATCH";
@@ -1023,9 +1163,6 @@ export declare const accountContract: {
1023
1163
  requestId: z.ZodString;
1024
1164
  data: z.ZodObject<{
1025
1165
  id: z.ZodString;
1026
- createdAt: z.ZodDate;
1027
- updatedAt: z.ZodDate;
1028
- deletedAt: z.ZodNullable<z.ZodDate>;
1029
1166
  name: z.ZodString;
1030
1167
  address: z.ZodString;
1031
1168
  accountId: z.ZodString;
@@ -1074,6 +1211,9 @@ export declare const accountContract: {
1074
1211
  useTlsForImap: boolean;
1075
1212
  }>;
1076
1213
  state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
1214
+ createdAt: z.ZodDate;
1215
+ updatedAt: z.ZodDate;
1216
+ deletedAt: z.ZodNullable<z.ZodDate>;
1077
1217
  }, "strip", z.ZodTypeAny, {
1078
1218
  name: string;
1079
1219
  id: string;
@@ -1247,9 +1387,6 @@ export declare const accountContract: {
1247
1387
  requestId: z.ZodString;
1248
1388
  data: z.ZodObject<{
1249
1389
  id: z.ZodString;
1250
- createdAt: z.ZodDate;
1251
- updatedAt: z.ZodDate;
1252
- deletedAt: z.ZodNullable<z.ZodDate>;
1253
1390
  name: z.ZodString;
1254
1391
  address: z.ZodString;
1255
1392
  accountId: z.ZodString;
@@ -1298,6 +1435,9 @@ export declare const accountContract: {
1298
1435
  useTlsForImap: boolean;
1299
1436
  }>;
1300
1437
  state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
1438
+ createdAt: z.ZodDate;
1439
+ updatedAt: z.ZodDate;
1440
+ deletedAt: z.ZodNullable<z.ZodDate>;
1301
1441
  }, "strip", z.ZodTypeAny, {
1302
1442
  name: string;
1303
1443
  id: string;
@@ -1471,9 +1611,6 @@ export declare const accountContract: {
1471
1611
  requestId: z.ZodString;
1472
1612
  data: z.ZodObject<{
1473
1613
  id: z.ZodString;
1474
- createdAt: z.ZodDate;
1475
- updatedAt: z.ZodDate;
1476
- deletedAt: z.ZodNullable<z.ZodDate>;
1477
1614
  name: z.ZodString;
1478
1615
  address: z.ZodString;
1479
1616
  accountId: z.ZodString;
@@ -1522,6 +1659,9 @@ export declare const accountContract: {
1522
1659
  useTlsForImap: boolean;
1523
1660
  }>;
1524
1661
  state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
1662
+ createdAt: z.ZodDate;
1663
+ updatedAt: z.ZodDate;
1664
+ deletedAt: z.ZodNullable<z.ZodDate>;
1525
1665
  }, "strip", z.ZodTypeAny, {
1526
1666
  name: string;
1527
1667
  id: string;
@@ -1837,9 +1977,6 @@ export declare const accountContract: {
1837
1977
  }>;
1838
1978
  201: z.ZodObject<{
1839
1979
  id: z.ZodString;
1840
- createdAt: z.ZodDate;
1841
- updatedAt: z.ZodDate;
1842
- deletedAt: z.ZodNullable<z.ZodDate>;
1843
1980
  name: z.ZodString;
1844
1981
  address: z.ZodString;
1845
1982
  accountId: z.ZodString;
@@ -1888,6 +2025,9 @@ export declare const accountContract: {
1888
2025
  useTlsForImap: boolean;
1889
2026
  }>;
1890
2027
  state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
2028
+ createdAt: z.ZodDate;
2029
+ updatedAt: z.ZodDate;
2030
+ deletedAt: z.ZodNullable<z.ZodDate>;
1891
2031
  }, "strip", z.ZodTypeAny, {
1892
2032
  name: string;
1893
2033
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"account-contract.d.ts","sourceRoot":"","sources":["../../../../src/mail/account-contract.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoO3B,CAAC"}
@@ -14,6 +14,7 @@ export type MailRoom = z.infer<typeof MailRoomSchema>;
14
14
  export type MailParticipant = z.infer<typeof MailUserSchema>;
15
15
  export type MessagesAndLogs = z.infer<typeof MessagesAndLogsSchema>;
16
16
  export type AccountCreateRequest = z.infer<typeof AccountContractsValidationSchemas.create.input>;
17
+ export type AccountcreateWithCustomSmtpAndImapRequest = z.infer<typeof AccountContractsValidationSchemas.createWithCustomSmtpAndImap.input>;
17
18
  export type AccountUpdateRequest = z.infer<typeof AccountContractsValidationSchemas.update.input>;
18
19
  export type SubmitMessageRequest = z.infer<typeof MessageContractsValidationsSchema.submit.input>;
19
20
  export type SubmitMessageResponse = z.infer<typeof MessageContractsValidationsSchema.submit.output>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mail/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EAChB,MAAM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