@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.
@@ -648,49 +648,19 @@ export declare const apiContract: {
648
648
  query: import("zod").ZodObject<{
649
649
  page: import("zod").ZodDefault<import("zod").ZodNumber>;
650
650
  pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
651
- keyword: import("zod").ZodOptional<import("zod").ZodObject<{
652
- value: import("zod").ZodString;
653
- category: import("zod").ZodUnion<[import("zod").ZodLiteral<"contact">, import("zod").ZodLiteral<"message">]>;
654
- }, "strip", import("zod").ZodTypeAny, {
655
- value: string;
656
- category: "message" | "contact";
657
- }, {
658
- value: string;
659
- category: "message" | "contact";
660
- }>>;
661
- contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
662
- channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
663
- date: import("zod").ZodOptional<import("zod").ZodString>;
664
- contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
665
- assignees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
651
+ keyword: import("zod").ZodOptional<import("zod").ZodString>;
666
652
  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">]>>;
667
653
  level2: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodLiteral<"unassign">, import("zod").ZodLiteral<"mine">, import("zod").ZodLiteral<"other">]>>;
668
654
  }, "strip", import("zod").ZodTypeAny, {
669
655
  page: number;
670
656
  pageSize: number;
671
- keyword?: {
672
- value: string;
673
- category: "message" | "contact";
674
- } | undefined;
675
- contactLabels?: string[] | undefined;
676
- channels?: string[] | undefined;
677
- date?: string | undefined;
678
- contacts?: string[] | undefined;
679
- assignees?: string[] | undefined;
657
+ keyword?: string | undefined;
680
658
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
681
659
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
682
660
  }, {
683
661
  page?: number | undefined;
684
662
  pageSize?: number | undefined;
685
- keyword?: {
686
- value: string;
687
- category: "message" | "contact";
688
- } | undefined;
689
- contactLabels?: string[] | undefined;
690
- channels?: string[] | undefined;
691
- date?: string | undefined;
692
- contacts?: string[] | undefined;
693
- assignees?: string[] | undefined;
663
+ keyword?: string | undefined;
694
664
  level1?: "open" | "close" | "inbox" | "sent" | "scheduled" | "starred" | undefined;
695
665
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
696
666
  }>;
@@ -7791,21 +7761,21 @@ export declare const apiContract: {
7791
7761
  };
7792
7762
  update: {
7793
7763
  body: import("zod").ZodObject<{
7794
- 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">]>>>;
7764
+ 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">]>>>;
7795
7765
  assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
7796
7766
  note: import("zod").ZodOptional<import("zod").ZodString>;
7797
7767
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
7798
7768
  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">]>>>;
7799
7769
  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">]>>>;
7800
7770
  }, "strip", import("zod").ZodTypeAny, {
7801
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
7771
+ resolved?: boolean | null | undefined;
7802
7772
  assigneeId?: string | null | undefined;
7803
7773
  note?: string | undefined;
7804
7774
  tags?: string[] | undefined;
7805
7775
  handover?: boolean | null | undefined;
7806
7776
  selfAssign?: boolean | null | undefined;
7807
7777
  }, {
7808
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
7778
+ resolved?: boolean | "false" | "true" | null | undefined;
7809
7779
  assigneeId?: string | null | undefined;
7810
7780
  note?: string | undefined;
7811
7781
  tags?: string[] | undefined;
@@ -11230,782 +11200,287 @@ export declare const apiContract: {
11230
11200
  path: "mail/room/:id";
11231
11201
  };
11232
11202
  markAsRead: {
11233
- body: null;
11234
11203
  summary: "Mark all the un read messages as read";
11204
+ method: "GET";
11205
+ pathParams: import("zod").ZodObject<{
11206
+ id: import("zod").ZodString;
11207
+ }, "strip", import("zod").ZodTypeAny, {
11208
+ id: string;
11209
+ }, {
11210
+ id: string;
11211
+ }>;
11212
+ responses: {
11213
+ 401: import("zod").ZodObject<{
11214
+ message: import("zod").ZodString;
11215
+ error: import("zod").ZodAny;
11216
+ }, "strip", import("zod").ZodTypeAny, {
11217
+ message: string;
11218
+ error?: any;
11219
+ }, {
11220
+ message: string;
11221
+ error?: any;
11222
+ }>;
11223
+ 404: import("zod").ZodObject<{
11224
+ message: import("zod").ZodString;
11225
+ error: import("zod").ZodAny;
11226
+ }, "strip", import("zod").ZodTypeAny, {
11227
+ message: string;
11228
+ error?: any;
11229
+ }, {
11230
+ message: string;
11231
+ error?: any;
11232
+ }>;
11233
+ 422: import("zod").ZodObject<{
11234
+ message: import("zod").ZodString;
11235
+ error: import("zod").ZodAny;
11236
+ }, "strip", import("zod").ZodTypeAny, {
11237
+ message: string;
11238
+ error?: any;
11239
+ }, {
11240
+ message: string;
11241
+ error?: any;
11242
+ }>;
11243
+ 200: import("zod").ZodObject<{
11244
+ requestId: import("zod").ZodString;
11245
+ message: import("zod").ZodString;
11246
+ }, "strip", import("zod").ZodTypeAny, {
11247
+ message: string;
11248
+ requestId: string;
11249
+ }, {
11250
+ message: string;
11251
+ requestId: string;
11252
+ }>;
11253
+ };
11254
+ path: "mail/room/:id";
11255
+ };
11256
+ };
11257
+ message: {
11258
+ submit: {
11259
+ body: import("zod").ZodObject<{
11260
+ subject: import("zod").ZodString;
11261
+ text: import("zod").ZodString;
11262
+ html: import("zod").ZodString;
11263
+ from: import("zod").ZodObject<{
11264
+ name: import("zod").ZodOptional<import("zod").ZodString>;
11265
+ address: import("zod").ZodString;
11266
+ }, "strip", import("zod").ZodTypeAny, {
11267
+ address: string;
11268
+ name?: string | undefined;
11269
+ }, {
11270
+ address: string;
11271
+ name?: string | undefined;
11272
+ }>;
11273
+ to: import("zod").ZodArray<import("zod").ZodObject<{
11274
+ name: import("zod").ZodOptional<import("zod").ZodString>;
11275
+ address: import("zod").ZodString;
11276
+ }, "strip", import("zod").ZodTypeAny, {
11277
+ address: string;
11278
+ name?: string | undefined;
11279
+ }, {
11280
+ address: string;
11281
+ name?: string | undefined;
11282
+ }>, "many">;
11283
+ cc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11284
+ name: import("zod").ZodOptional<import("zod").ZodString>;
11285
+ address: import("zod").ZodString;
11286
+ }, "strip", import("zod").ZodTypeAny, {
11287
+ address: string;
11288
+ name?: string | undefined;
11289
+ }, {
11290
+ address: string;
11291
+ name?: string | undefined;
11292
+ }>, "many">>;
11293
+ bcc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11294
+ name: import("zod").ZodOptional<import("zod").ZodString>;
11295
+ address: import("zod").ZodString;
11296
+ }, "strip", import("zod").ZodTypeAny, {
11297
+ address: string;
11298
+ name?: string | undefined;
11299
+ }, {
11300
+ address: string;
11301
+ name?: string | undefined;
11302
+ }>, "many">>;
11303
+ reference: import("zod").ZodOptional<import("zod").ZodObject<{
11304
+ messageId: import("zod").ZodString;
11305
+ action: import("zod").ZodUnion<[import("zod").ZodLiteral<"reply">, import("zod").ZodLiteral<"forward">]>;
11306
+ }, "strip", import("zod").ZodTypeAny, {
11307
+ action: "forward" | "reply";
11308
+ messageId: string;
11309
+ }, {
11310
+ action: "forward" | "reply";
11311
+ messageId: string;
11312
+ }>>;
11313
+ attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11314
+ fileType: import("zod").ZodString;
11315
+ fileName: import("zod").ZodString;
11316
+ fileKey: import("zod").ZodString;
11317
+ fileSize: import("zod").ZodNumber;
11318
+ bucketName: import("zod").ZodString;
11319
+ presignedUrl: import("zod").ZodString;
11320
+ }, "strip", import("zod").ZodTypeAny, {
11321
+ fileName: string;
11322
+ fileType: string;
11323
+ fileKey: string;
11324
+ bucketName: string;
11325
+ fileSize: number;
11326
+ presignedUrl: string;
11327
+ }, {
11328
+ fileName: string;
11329
+ fileType: string;
11330
+ fileKey: string;
11331
+ bucketName: string;
11332
+ fileSize: number;
11333
+ presignedUrl: string;
11334
+ }>, "many">>;
11335
+ }, "strip", import("zod").ZodTypeAny, {
11336
+ html: string;
11337
+ text: string;
11338
+ subject: string;
11339
+ from: {
11340
+ address: string;
11341
+ name?: string | undefined;
11342
+ };
11343
+ to: {
11344
+ address: string;
11345
+ name?: string | undefined;
11346
+ }[];
11347
+ cc?: {
11348
+ address: string;
11349
+ name?: string | undefined;
11350
+ }[] | undefined;
11351
+ bcc?: {
11352
+ address: string;
11353
+ name?: string | undefined;
11354
+ }[] | undefined;
11355
+ reference?: {
11356
+ action: "forward" | "reply";
11357
+ messageId: string;
11358
+ } | undefined;
11359
+ attachments?: {
11360
+ fileName: string;
11361
+ fileType: string;
11362
+ fileKey: string;
11363
+ bucketName: string;
11364
+ fileSize: number;
11365
+ presignedUrl: string;
11366
+ }[] | undefined;
11367
+ }, {
11368
+ html: string;
11369
+ text: string;
11370
+ subject: string;
11371
+ from: {
11372
+ address: string;
11373
+ name?: string | undefined;
11374
+ };
11375
+ to: {
11376
+ address: string;
11377
+ name?: string | undefined;
11378
+ }[];
11379
+ cc?: {
11380
+ address: string;
11381
+ name?: string | undefined;
11382
+ }[] | undefined;
11383
+ bcc?: {
11384
+ address: string;
11385
+ name?: string | undefined;
11386
+ }[] | undefined;
11387
+ reference?: {
11388
+ action: "forward" | "reply";
11389
+ messageId: string;
11390
+ } | undefined;
11391
+ attachments?: {
11392
+ fileName: string;
11393
+ fileType: string;
11394
+ fileKey: string;
11395
+ bucketName: string;
11396
+ fileSize: number;
11397
+ presignedUrl: string;
11398
+ }[] | undefined;
11399
+ }>;
11400
+ summary: "Submit a message such compose, reply or forward";
11235
11401
  method: "POST";
11236
- pathParams: import("zod").ZodObject<{
11237
- id: import("zod").ZodString;
11238
- }, "strip", import("zod").ZodTypeAny, {
11239
- id: string;
11240
- }, {
11241
- id: string;
11242
- }>;
11243
- responses: {
11244
- 401: import("zod").ZodObject<{
11245
- message: import("zod").ZodString;
11246
- error: import("zod").ZodAny;
11247
- }, "strip", import("zod").ZodTypeAny, {
11248
- message: string;
11249
- error?: any;
11250
- }, {
11251
- message: string;
11252
- error?: any;
11253
- }>;
11254
- 404: import("zod").ZodObject<{
11255
- message: import("zod").ZodString;
11256
- error: import("zod").ZodAny;
11257
- }, "strip", import("zod").ZodTypeAny, {
11258
- message: string;
11259
- error?: any;
11260
- }, {
11261
- message: string;
11262
- error?: any;
11263
- }>;
11264
- 422: import("zod").ZodObject<{
11265
- message: import("zod").ZodString;
11266
- error: import("zod").ZodAny;
11267
- }, "strip", import("zod").ZodTypeAny, {
11268
- message: string;
11269
- error?: any;
11270
- }, {
11271
- message: string;
11272
- error?: any;
11273
- }>;
11274
- 200: import("zod").ZodObject<{
11275
- requestId: import("zod").ZodString;
11276
- message: import("zod").ZodString;
11277
- }, "strip", import("zod").ZodTypeAny, {
11278
- message: string;
11279
- requestId: string;
11280
- }, {
11281
- message: string;
11282
- requestId: string;
11283
- }>;
11284
- };
11285
- path: "mail/room/:id";
11286
- };
11287
- };
11288
- message: {
11289
- submit: {
11290
- body: import("zod").ZodObject<{
11291
- subject: import("zod").ZodString;
11292
- text: import("zod").ZodString;
11293
- html: import("zod").ZodString;
11294
- from: import("zod").ZodObject<{
11295
- name: import("zod").ZodOptional<import("zod").ZodString>;
11296
- address: import("zod").ZodString;
11297
- }, "strip", import("zod").ZodTypeAny, {
11298
- address: string;
11299
- name?: string | undefined;
11300
- }, {
11301
- address: string;
11302
- name?: string | undefined;
11303
- }>;
11304
- to: import("zod").ZodArray<import("zod").ZodObject<{
11305
- name: import("zod").ZodOptional<import("zod").ZodString>;
11306
- address: import("zod").ZodString;
11307
- }, "strip", import("zod").ZodTypeAny, {
11308
- address: string;
11309
- name?: string | undefined;
11310
- }, {
11311
- address: string;
11312
- name?: string | undefined;
11313
- }>, "many">;
11314
- cc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11315
- name: import("zod").ZodOptional<import("zod").ZodString>;
11316
- address: import("zod").ZodString;
11317
- }, "strip", import("zod").ZodTypeAny, {
11318
- address: string;
11319
- name?: string | undefined;
11320
- }, {
11321
- address: string;
11322
- name?: string | undefined;
11323
- }>, "many">>;
11324
- bcc: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11325
- name: import("zod").ZodOptional<import("zod").ZodString>;
11326
- address: import("zod").ZodString;
11327
- }, "strip", import("zod").ZodTypeAny, {
11328
- address: string;
11329
- name?: string | undefined;
11330
- }, {
11331
- address: string;
11332
- name?: string | undefined;
11333
- }>, "many">>;
11334
- reference: import("zod").ZodOptional<import("zod").ZodObject<{
11335
- messageId: import("zod").ZodString;
11336
- action: import("zod").ZodUnion<[import("zod").ZodLiteral<"reply">, import("zod").ZodLiteral<"forward">]>;
11337
- }, "strip", import("zod").ZodTypeAny, {
11338
- action: "forward" | "reply";
11339
- messageId: string;
11340
- }, {
11341
- action: "forward" | "reply";
11342
- messageId: string;
11343
- }>>;
11344
- attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
11345
- fileType: import("zod").ZodString;
11346
- fileName: import("zod").ZodString;
11347
- fileKey: import("zod").ZodString;
11348
- fileSize: import("zod").ZodNumber;
11349
- bucketName: import("zod").ZodString;
11350
- presignedUrl: import("zod").ZodString;
11351
- }, "strip", import("zod").ZodTypeAny, {
11352
- fileName: string;
11353
- fileType: string;
11354
- fileKey: string;
11355
- bucketName: string;
11356
- fileSize: number;
11357
- presignedUrl: string;
11358
- }, {
11359
- fileName: string;
11360
- fileType: string;
11361
- fileKey: string;
11362
- bucketName: string;
11363
- fileSize: number;
11364
- presignedUrl: string;
11365
- }>, "many">>;
11366
- }, "strip", import("zod").ZodTypeAny, {
11367
- html: string;
11368
- text: string;
11369
- subject: string;
11370
- from: {
11371
- address: string;
11372
- name?: string | undefined;
11373
- };
11374
- to: {
11375
- address: string;
11376
- name?: string | undefined;
11377
- }[];
11378
- cc?: {
11379
- address: string;
11380
- name?: string | undefined;
11381
- }[] | undefined;
11382
- bcc?: {
11383
- address: string;
11384
- name?: string | undefined;
11385
- }[] | undefined;
11386
- reference?: {
11387
- action: "forward" | "reply";
11388
- messageId: string;
11389
- } | undefined;
11390
- attachments?: {
11391
- fileName: string;
11392
- fileType: string;
11393
- fileKey: string;
11394
- bucketName: string;
11395
- fileSize: number;
11396
- presignedUrl: string;
11397
- }[] | undefined;
11398
- }, {
11399
- html: string;
11400
- text: string;
11401
- subject: string;
11402
- from: {
11403
- address: string;
11404
- name?: string | undefined;
11405
- };
11406
- to: {
11407
- address: string;
11408
- name?: string | undefined;
11409
- }[];
11410
- cc?: {
11411
- address: string;
11412
- name?: string | undefined;
11413
- }[] | undefined;
11414
- bcc?: {
11415
- address: string;
11416
- name?: string | undefined;
11417
- }[] | undefined;
11418
- reference?: {
11419
- action: "forward" | "reply";
11420
- messageId: string;
11421
- } | undefined;
11422
- attachments?: {
11423
- fileName: string;
11424
- fileType: string;
11425
- fileKey: string;
11426
- bucketName: string;
11427
- fileSize: number;
11428
- presignedUrl: string;
11429
- }[] | undefined;
11430
- }>;
11431
- summary: "Submit a message such as compose, reply or forward";
11432
- method: "POST";
11433
- responses: {
11434
- 500: import("zod").ZodObject<{
11435
- message: import("zod").ZodString;
11436
- error: import("zod").ZodAny;
11437
- }, "strip", import("zod").ZodTypeAny, {
11438
- message: string;
11439
- error?: any;
11440
- }, {
11441
- message: string;
11442
- error?: any;
11443
- }>;
11444
- 401: import("zod").ZodObject<{
11445
- message: import("zod").ZodString;
11446
- error: import("zod").ZodAny;
11447
- }, "strip", import("zod").ZodTypeAny, {
11448
- message: string;
11449
- error?: any;
11450
- }, {
11451
- message: string;
11452
- error?: any;
11453
- }>;
11454
- 404: import("zod").ZodObject<{
11455
- message: import("zod").ZodString;
11456
- error: import("zod").ZodAny;
11457
- }, "strip", import("zod").ZodTypeAny, {
11458
- message: string;
11459
- error?: any;
11460
- }, {
11461
- message: string;
11462
- error?: any;
11463
- }>;
11464
- 422: import("zod").ZodObject<{
11465
- message: import("zod").ZodString;
11466
- error: import("zod").ZodAny;
11467
- }, "strip", import("zod").ZodTypeAny, {
11468
- message: string;
11469
- error?: any;
11470
- }, {
11471
- message: string;
11472
- error?: any;
11473
- }>;
11474
- 200: import("zod").ZodObject<{
11475
- requestId: import("zod").ZodString;
11476
- data: import("zod").ZodObject<{
11477
- response: import("zod").ZodString;
11478
- messageId: import("zod").ZodString;
11479
- sendAt: import("zod").ZodString;
11480
- queueId: import("zod").ZodString;
11481
- }, "strip", import("zod").ZodTypeAny, {
11482
- response: string;
11483
- queueId: string;
11484
- messageId: string;
11485
- sendAt: string;
11486
- }, {
11487
- response: string;
11488
- queueId: string;
11489
- messageId: string;
11490
- sendAt: string;
11491
- }>;
11492
- }, "strip", import("zod").ZodTypeAny, {
11493
- data: {
11494
- response: string;
11495
- queueId: string;
11496
- messageId: string;
11497
- sendAt: string;
11498
- };
11499
- requestId: string;
11500
- }, {
11501
- data: {
11502
- response: string;
11503
- queueId: string;
11504
- messageId: string;
11505
- sendAt: string;
11506
- };
11507
- requestId: string;
11508
- }>;
11509
- };
11510
- path: "mail/message/submit";
11511
- };
11512
- getRoomCounts: {
11513
- summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
11514
- method: "GET";
11515
- responses: {
11516
- 401: import("zod").ZodObject<{
11517
- message: import("zod").ZodString;
11518
- error: import("zod").ZodAny;
11519
- }, "strip", import("zod").ZodTypeAny, {
11520
- message: string;
11521
- error?: any;
11522
- }, {
11523
- message: string;
11524
- error?: any;
11525
- }>;
11526
- 404: import("zod").ZodObject<{
11527
- message: import("zod").ZodString;
11528
- error: import("zod").ZodAny;
11529
- }, "strip", import("zod").ZodTypeAny, {
11530
- message: string;
11531
- error?: any;
11532
- }, {
11533
- message: string;
11534
- error?: any;
11535
- }>;
11536
- 422: import("zod").ZodObject<{
11537
- message: import("zod").ZodString;
11538
- error: import("zod").ZodAny;
11539
- }, "strip", import("zod").ZodTypeAny, {
11540
- message: string;
11541
- error?: any;
11542
- }, {
11543
- message: string;
11544
- error?: any;
11545
- }>;
11546
- 200: import("zod").ZodObject<{
11547
- requestId: import("zod").ZodString;
11548
- data: import("zod").ZodObject<{
11549
- general: import("zod").ZodArray<import("zod").ZodObject<{
11550
- name: import("zod").ZodString;
11551
- count: import("zod").ZodNumber;
11552
- }, "strip", import("zod").ZodTypeAny, {
11553
- name: string;
11554
- count: number;
11555
- }, {
11556
- name: string;
11557
- count: number;
11558
- }>, "many">;
11559
- channels: import("zod").ZodArray<import("zod").ZodObject<{
11560
- channel: import("zod").ZodObject<{
11561
- id: import("zod").ZodString;
11562
- createdAt: import("zod").ZodDate;
11563
- updatedAt: import("zod").ZodDate;
11564
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
11565
- name: import("zod").ZodString;
11566
- address: import("zod").ZodString;
11567
- accountId: import("zod").ZodString;
11568
- mailServerId: import("zod").ZodString;
11569
- mailServer: import("zod").ZodObject<{
11570
- id: import("zod").ZodString;
11571
- createdAt: import("zod").ZodDate;
11572
- updatedAt: import("zod").ZodDate;
11573
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
11574
- name: import("zod").ZodString;
11575
- smtpHost: import("zod").ZodString;
11576
- smtpPort: import("zod").ZodNumber;
11577
- smtpTlsPort: import("zod").ZodNumber;
11578
- useTlsForSmtp: import("zod").ZodBoolean;
11579
- imapHost: import("zod").ZodString;
11580
- imapPort: import("zod").ZodNumber;
11581
- imapTlsPort: import("zod").ZodNumber;
11582
- useTlsForImap: import("zod").ZodBoolean;
11583
- }, "strip", import("zod").ZodTypeAny, {
11584
- id: string;
11585
- name: string;
11586
- createdAt: Date;
11587
- updatedAt: Date;
11588
- deletedAt: Date | null;
11589
- smtpHost: string;
11590
- smtpPort: number;
11591
- smtpTlsPort: number;
11592
- useTlsForSmtp: boolean;
11593
- imapHost: string;
11594
- imapPort: number;
11595
- imapTlsPort: number;
11596
- useTlsForImap: boolean;
11597
- }, {
11598
- id: string;
11599
- name: string;
11600
- createdAt: Date;
11601
- updatedAt: Date;
11602
- deletedAt: Date | null;
11603
- smtpHost: string;
11604
- smtpPort: number;
11605
- smtpTlsPort: number;
11606
- useTlsForSmtp: boolean;
11607
- imapHost: string;
11608
- imapPort: number;
11609
- imapTlsPort: number;
11610
- useTlsForImap: boolean;
11611
- }>;
11612
- 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">]>;
11613
- }, "strip", import("zod").ZodTypeAny, {
11614
- id: string;
11615
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11616
- address: string;
11617
- name: string;
11618
- createdAt: Date;
11619
- updatedAt: Date;
11620
- deletedAt: Date | null;
11621
- accountId: string;
11622
- mailServerId: string;
11623
- mailServer: {
11624
- id: string;
11625
- name: string;
11626
- createdAt: Date;
11627
- updatedAt: Date;
11628
- deletedAt: Date | null;
11629
- smtpHost: string;
11630
- smtpPort: number;
11631
- smtpTlsPort: number;
11632
- useTlsForSmtp: boolean;
11633
- imapHost: string;
11634
- imapPort: number;
11635
- imapTlsPort: number;
11636
- useTlsForImap: boolean;
11637
- };
11638
- }, {
11639
- id: string;
11640
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11641
- address: string;
11642
- name: string;
11643
- createdAt: Date;
11644
- updatedAt: Date;
11645
- deletedAt: Date | null;
11646
- accountId: string;
11647
- mailServerId: string;
11648
- mailServer: {
11649
- id: string;
11650
- name: string;
11651
- createdAt: Date;
11652
- updatedAt: Date;
11653
- deletedAt: Date | null;
11654
- smtpHost: string;
11655
- smtpPort: number;
11656
- smtpTlsPort: number;
11657
- useTlsForSmtp: boolean;
11658
- imapHost: string;
11659
- imapPort: number;
11660
- imapTlsPort: number;
11661
- useTlsForImap: boolean;
11662
- };
11663
- }>;
11664
- count: import("zod").ZodNumber;
11665
- }, "strip", import("zod").ZodTypeAny, {
11666
- channel: {
11667
- id: string;
11668
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11669
- address: string;
11670
- name: string;
11671
- createdAt: Date;
11672
- updatedAt: Date;
11673
- deletedAt: Date | null;
11674
- accountId: string;
11675
- mailServerId: string;
11676
- mailServer: {
11677
- id: string;
11678
- name: string;
11679
- createdAt: Date;
11680
- updatedAt: Date;
11681
- deletedAt: Date | null;
11682
- smtpHost: string;
11683
- smtpPort: number;
11684
- smtpTlsPort: number;
11685
- useTlsForSmtp: boolean;
11686
- imapHost: string;
11687
- imapPort: number;
11688
- imapTlsPort: number;
11689
- useTlsForImap: boolean;
11690
- };
11691
- };
11692
- count: number;
11693
- }, {
11694
- channel: {
11695
- id: string;
11696
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11697
- address: string;
11698
- name: string;
11699
- createdAt: Date;
11700
- updatedAt: Date;
11701
- deletedAt: Date | null;
11702
- accountId: string;
11703
- mailServerId: string;
11704
- mailServer: {
11705
- id: string;
11706
- name: string;
11707
- createdAt: Date;
11708
- updatedAt: Date;
11709
- deletedAt: Date | null;
11710
- smtpHost: string;
11711
- smtpPort: number;
11712
- smtpTlsPort: number;
11713
- useTlsForSmtp: boolean;
11714
- imapHost: string;
11715
- imapPort: number;
11716
- imapTlsPort: number;
11717
- useTlsForImap: boolean;
11718
- };
11719
- };
11720
- count: number;
11721
- }>, "many">;
11722
- contactLabels: import("zod").ZodArray<import("zod").ZodObject<{
11723
- label: import("zod").ZodObject<{
11724
- id: import("zod").ZodString;
11725
- createdAt: import("zod").ZodDate;
11726
- updatedAt: import("zod").ZodDate;
11727
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
11728
- name: import("zod").ZodString;
11729
- }, "strip", import("zod").ZodTypeAny, {
11730
- id: string;
11731
- name: string;
11732
- createdAt: Date;
11733
- updatedAt: Date;
11734
- deletedAt: Date | null;
11735
- }, {
11736
- id: string;
11737
- name: string;
11738
- createdAt: Date;
11739
- updatedAt: Date;
11740
- deletedAt: Date | null;
11741
- }>;
11742
- count: import("zod").ZodNumber;
11743
- }, "strip", import("zod").ZodTypeAny, {
11744
- label: {
11745
- id: string;
11746
- name: string;
11747
- createdAt: Date;
11748
- updatedAt: Date;
11749
- deletedAt: Date | null;
11750
- };
11751
- count: number;
11752
- }, {
11753
- label: {
11754
- id: string;
11755
- name: string;
11756
- createdAt: Date;
11757
- updatedAt: Date;
11758
- deletedAt: Date | null;
11759
- };
11760
- count: number;
11761
- }>, "many">;
11762
- }, "strip", import("zod").ZodTypeAny, {
11763
- general: {
11764
- name: string;
11765
- count: number;
11766
- }[];
11767
- channels: {
11768
- channel: {
11769
- id: string;
11770
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11771
- address: string;
11772
- name: string;
11773
- createdAt: Date;
11774
- updatedAt: Date;
11775
- deletedAt: Date | null;
11776
- accountId: string;
11777
- mailServerId: string;
11778
- mailServer: {
11779
- id: string;
11780
- name: string;
11781
- createdAt: Date;
11782
- updatedAt: Date;
11783
- deletedAt: Date | null;
11784
- smtpHost: string;
11785
- smtpPort: number;
11786
- smtpTlsPort: number;
11787
- useTlsForSmtp: boolean;
11788
- imapHost: string;
11789
- imapPort: number;
11790
- imapTlsPort: number;
11791
- useTlsForImap: boolean;
11792
- };
11793
- };
11794
- count: number;
11795
- }[];
11796
- contactLabels: {
11797
- label: {
11798
- id: string;
11799
- name: string;
11800
- createdAt: Date;
11801
- updatedAt: Date;
11802
- deletedAt: Date | null;
11803
- };
11804
- count: number;
11805
- }[];
11806
- }, {
11807
- general: {
11808
- name: string;
11809
- count: number;
11810
- }[];
11811
- channels: {
11812
- channel: {
11813
- id: string;
11814
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11815
- address: string;
11816
- name: string;
11817
- createdAt: Date;
11818
- updatedAt: Date;
11819
- deletedAt: Date | null;
11820
- accountId: string;
11821
- mailServerId: string;
11822
- mailServer: {
11823
- id: string;
11824
- name: string;
11825
- createdAt: Date;
11826
- updatedAt: Date;
11827
- deletedAt: Date | null;
11828
- smtpHost: string;
11829
- smtpPort: number;
11830
- smtpTlsPort: number;
11831
- useTlsForSmtp: boolean;
11832
- imapHost: string;
11833
- imapPort: number;
11834
- imapTlsPort: number;
11835
- useTlsForImap: boolean;
11836
- };
11837
- };
11838
- count: number;
11839
- }[];
11840
- contactLabels: {
11841
- label: {
11842
- id: string;
11843
- name: string;
11844
- createdAt: Date;
11845
- updatedAt: Date;
11846
- deletedAt: Date | null;
11847
- };
11848
- count: number;
11849
- }[];
11850
- }>;
11851
- }, "strip", import("zod").ZodTypeAny, {
11852
- data: {
11853
- general: {
11854
- name: string;
11855
- count: number;
11856
- }[];
11857
- channels: {
11858
- channel: {
11859
- id: string;
11860
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11861
- address: string;
11862
- name: string;
11863
- createdAt: Date;
11864
- updatedAt: Date;
11865
- deletedAt: Date | null;
11866
- accountId: string;
11867
- mailServerId: string;
11868
- mailServer: {
11869
- id: string;
11870
- name: string;
11871
- createdAt: Date;
11872
- updatedAt: Date;
11873
- deletedAt: Date | null;
11874
- smtpHost: string;
11875
- smtpPort: number;
11876
- smtpTlsPort: number;
11877
- useTlsForSmtp: boolean;
11878
- imapHost: string;
11879
- imapPort: number;
11880
- imapTlsPort: number;
11881
- useTlsForImap: boolean;
11882
- };
11883
- };
11884
- count: number;
11885
- }[];
11886
- contactLabels: {
11887
- label: {
11888
- id: string;
11889
- name: string;
11890
- createdAt: Date;
11891
- updatedAt: Date;
11892
- deletedAt: Date | null;
11893
- };
11894
- count: number;
11895
- }[];
11896
- };
11897
- requestId: string;
11898
- }, {
11899
- data: {
11900
- general: {
11901
- name: string;
11902
- count: number;
11903
- }[];
11904
- channels: {
11905
- channel: {
11906
- id: string;
11907
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
11908
- address: string;
11909
- name: string;
11910
- createdAt: Date;
11911
- updatedAt: Date;
11912
- deletedAt: Date | null;
11913
- accountId: string;
11914
- mailServerId: string;
11915
- mailServer: {
11916
- id: string;
11917
- name: string;
11918
- createdAt: Date;
11919
- updatedAt: Date;
11920
- deletedAt: Date | null;
11921
- smtpHost: string;
11922
- smtpPort: number;
11923
- smtpTlsPort: number;
11924
- useTlsForSmtp: boolean;
11925
- imapHost: string;
11926
- imapPort: number;
11927
- imapTlsPort: number;
11928
- useTlsForImap: boolean;
11929
- };
11930
- };
11931
- count: number;
11932
- }[];
11933
- contactLabels: {
11934
- label: {
11935
- id: string;
11936
- name: string;
11937
- createdAt: Date;
11938
- updatedAt: Date;
11939
- deletedAt: Date | null;
11940
- };
11941
- count: number;
11942
- }[];
11943
- };
11944
- requestId: string;
11945
- }>;
11946
- };
11947
- path: "mail/message/room_counts";
11948
- };
11949
- getTotalUnreadMessageCount: {
11950
- summary: "Get total unread messages counts";
11951
- method: "GET";
11952
- responses: {
11953
- 401: import("zod").ZodObject<{
11954
- message: import("zod").ZodString;
11955
- error: import("zod").ZodAny;
11956
- }, "strip", import("zod").ZodTypeAny, {
11957
- message: string;
11958
- error?: any;
11959
- }, {
11960
- message: string;
11961
- error?: any;
11962
- }>;
11963
- 404: import("zod").ZodObject<{
11964
- message: import("zod").ZodString;
11965
- error: import("zod").ZodAny;
11966
- }, "strip", import("zod").ZodTypeAny, {
11967
- message: string;
11968
- error?: any;
11969
- }, {
11970
- message: string;
11971
- error?: any;
11972
- }>;
11973
- 422: import("zod").ZodObject<{
11974
- message: import("zod").ZodString;
11975
- error: import("zod").ZodAny;
11976
- }, "strip", import("zod").ZodTypeAny, {
11977
- message: string;
11978
- error?: any;
11979
- }, {
11980
- message: string;
11981
- error?: any;
11982
- }>;
11983
- 200: import("zod").ZodObject<{
11984
- requestId: import("zod").ZodString;
11985
- data: import("zod").ZodObject<{
11986
- count: import("zod").ZodNumber;
11987
- }, "strip", import("zod").ZodTypeAny, {
11988
- count: number;
11989
- }, {
11990
- count: number;
11991
- }>;
11992
- }, "strip", import("zod").ZodTypeAny, {
11993
- data: {
11994
- count: number;
11995
- };
11996
- requestId: string;
11997
- }, {
11998
- data: {
11999
- count: number;
12000
- };
12001
- requestId: string;
12002
- }>;
12003
- };
12004
- path: "mail/message/new_message_count";
12005
- };
12006
- getById: {
12007
- summary: "Get a message by id";
12008
- method: "GET";
11402
+ responses: {
11403
+ 500: import("zod").ZodObject<{
11404
+ message: import("zod").ZodString;
11405
+ error: import("zod").ZodAny;
11406
+ }, "strip", import("zod").ZodTypeAny, {
11407
+ message: string;
11408
+ error?: any;
11409
+ }, {
11410
+ message: string;
11411
+ error?: any;
11412
+ }>;
11413
+ 401: import("zod").ZodObject<{
11414
+ message: import("zod").ZodString;
11415
+ error: import("zod").ZodAny;
11416
+ }, "strip", import("zod").ZodTypeAny, {
11417
+ message: string;
11418
+ error?: any;
11419
+ }, {
11420
+ message: string;
11421
+ error?: any;
11422
+ }>;
11423
+ 404: import("zod").ZodObject<{
11424
+ message: import("zod").ZodString;
11425
+ error: import("zod").ZodAny;
11426
+ }, "strip", import("zod").ZodTypeAny, {
11427
+ message: string;
11428
+ error?: any;
11429
+ }, {
11430
+ message: string;
11431
+ error?: any;
11432
+ }>;
11433
+ 422: import("zod").ZodObject<{
11434
+ message: import("zod").ZodString;
11435
+ error: import("zod").ZodAny;
11436
+ }, "strip", import("zod").ZodTypeAny, {
11437
+ message: string;
11438
+ error?: any;
11439
+ }, {
11440
+ message: string;
11441
+ error?: any;
11442
+ }>;
11443
+ 200: import("zod").ZodObject<{
11444
+ requestId: import("zod").ZodString;
11445
+ data: import("zod").ZodObject<{
11446
+ response: import("zod").ZodString;
11447
+ messageId: import("zod").ZodString;
11448
+ sendAt: import("zod").ZodString;
11449
+ queueId: import("zod").ZodString;
11450
+ }, "strip", import("zod").ZodTypeAny, {
11451
+ response: string;
11452
+ queueId: string;
11453
+ messageId: string;
11454
+ sendAt: string;
11455
+ }, {
11456
+ response: string;
11457
+ queueId: string;
11458
+ messageId: string;
11459
+ sendAt: string;
11460
+ }>;
11461
+ }, "strip", import("zod").ZodTypeAny, {
11462
+ data: {
11463
+ response: string;
11464
+ queueId: string;
11465
+ messageId: string;
11466
+ sendAt: string;
11467
+ };
11468
+ requestId: string;
11469
+ }, {
11470
+ data: {
11471
+ response: string;
11472
+ queueId: string;
11473
+ messageId: string;
11474
+ sendAt: string;
11475
+ };
11476
+ requestId: string;
11477
+ }>;
11478
+ };
11479
+ path: "mail/message/submit";
11480
+ };
11481
+ getById: {
11482
+ summary: "Get a message by id";
11483
+ method: "GET";
12009
11484
  pathParams: import("zod").ZodObject<{
12010
11485
  id: import("zod").ZodString;
12011
11486
  }, "strip", import("zod").ZodTypeAny, {
@@ -12653,71 +12128,8 @@ export declare const apiContract: {
12653
12128
  'x-client-timezone'?: string | undefined;
12654
12129
  }>>>;
12655
12130
  };
12656
- sync: {
12657
- summary: "Sync all accounts state from email engine to system";
12658
- method: "GET";
12659
- responses: {
12660
- 401: import("zod").ZodObject<{
12661
- message: import("zod").ZodString;
12662
- error: import("zod").ZodAny;
12663
- }, "strip", import("zod").ZodTypeAny, {
12664
- message: string;
12665
- error?: any;
12666
- }, {
12667
- message: string;
12668
- error?: any;
12669
- }>;
12670
- 404: import("zod").ZodObject<{
12671
- message: import("zod").ZodString;
12672
- error: import("zod").ZodAny;
12673
- }, "strip", import("zod").ZodTypeAny, {
12674
- message: string;
12675
- error?: any;
12676
- }, {
12677
- message: string;
12678
- error?: any;
12679
- }>;
12680
- 422: import("zod").ZodObject<{
12681
- message: import("zod").ZodString;
12682
- error: import("zod").ZodAny;
12683
- }, "strip", import("zod").ZodTypeAny, {
12684
- message: string;
12685
- error?: any;
12686
- }, {
12687
- message: string;
12688
- error?: any;
12689
- }>;
12690
- 200: import("zod").ZodObject<{
12691
- requestId: import("zod").ZodString;
12692
- message: import("zod").ZodString;
12693
- }, "strip", import("zod").ZodTypeAny, {
12694
- message: string;
12695
- requestId: string;
12696
- }, {
12697
- message: string;
12698
- requestId: string;
12699
- }>;
12700
- };
12701
- path: "mail/account/sync";
12702
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
12703
- 'x-tenant': import("zod").ZodString;
12704
- authorization: import("zod").ZodString;
12705
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
12706
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
12707
- }, "strip", import("zod").ZodTypeAny, {
12708
- 'x-tenant': string;
12709
- authorization: string;
12710
- 'x-client-timezone': string;
12711
- 'x-code'?: string | undefined;
12712
- }, {
12713
- 'x-tenant': string;
12714
- authorization: string;
12715
- 'x-code'?: string | undefined;
12716
- 'x-client-timezone'?: string | undefined;
12717
- }>>>;
12718
- };
12719
12131
  getById: {
12720
- summary: "Get an account by id";
12132
+ summary: "Get a account by id";
12721
12133
  method: "GET";
12722
12134
  pathParams: import("zod").ZodObject<{
12723
12135
  id: import("zod").ZodString;
@@ -12942,13 +12354,6 @@ export declare const apiContract: {
12942
12354
  getAll: {
12943
12355
  summary: "Get all accounts";
12944
12356
  method: "GET";
12945
- query: import("zod").ZodOptional<import("zod").ZodObject<{
12946
- state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
12947
- }, "strip", import("zod").ZodTypeAny, {
12948
- state?: "connected" | "disconnected" | undefined;
12949
- }, {
12950
- state?: "connected" | "disconnected" | undefined;
12951
- }>>;
12952
12357
  responses: {
12953
12358
  401: import("zod").ZodObject<{
12954
12359
  message: import("zod").ZodString;
@@ -40879,110 +40284,18 @@ export declare const apiContract: {
40879
40284
  };
40880
40285
  path: "evaluate-forms/";
40881
40286
  };
40882
- };
40883
- upload: {
40884
- rename: {
40885
- body: import("zod").ZodObject<{
40886
- newName: import("zod").ZodString;
40887
- }, "strip", import("zod").ZodTypeAny, {
40888
- newName: string;
40889
- }, {
40890
- newName: string;
40891
- }>;
40892
- summary: "Rename an attachment name";
40893
- method: "POST";
40894
- pathParams: import("zod").ZodObject<{
40895
- id: import("zod").ZodString;
40896
- }, "strip", import("zod").ZodTypeAny, {
40897
- id: string;
40898
- }, {
40899
- id: string;
40900
- }>;
40901
- responses: {
40902
- 201: import("zod").ZodObject<{
40903
- requestId: import("zod").ZodString;
40904
- message: import("zod").ZodString;
40905
- }, "strip", import("zod").ZodTypeAny, {
40906
- message: string;
40907
- requestId: string;
40908
- }, {
40909
- message: string;
40910
- requestId: string;
40911
- }>;
40912
- 400: import("zod").ZodObject<{
40913
- message: import("zod").ZodString;
40914
- }, "strip", import("zod").ZodTypeAny, {
40915
- message: string;
40916
- }, {
40917
- message: string;
40918
- }>;
40919
- 409: import("zod").ZodObject<{
40920
- message: import("zod").ZodString;
40921
- }, "strip", import("zod").ZodTypeAny, {
40922
- message: string;
40923
- }, {
40924
- message: string;
40925
- }>;
40926
- 500: import("zod").ZodObject<{
40927
- message: import("zod").ZodString;
40928
- }, "strip", import("zod").ZodTypeAny, {
40929
- message: string;
40930
- }, {
40931
- message: string;
40932
- }>;
40933
- 401: import("zod").ZodObject<{
40934
- message: import("zod").ZodString;
40935
- error: import("zod").ZodAny;
40936
- }, "strip", import("zod").ZodTypeAny, {
40937
- message: string;
40938
- error?: any;
40939
- }, {
40940
- message: string;
40941
- error?: any;
40942
- }>;
40943
- 404: import("zod").ZodObject<{
40944
- message: import("zod").ZodString;
40945
- error: import("zod").ZodAny;
40946
- }, "strip", import("zod").ZodTypeAny, {
40947
- message: string;
40948
- error?: any;
40949
- }, {
40950
- message: string;
40951
- error?: any;
40952
- }>;
40953
- 422: import("zod").ZodObject<{
40954
- message: import("zod").ZodString;
40955
- error: import("zod").ZodAny;
40956
- }, "strip", import("zod").ZodTypeAny, {
40957
- message: string;
40958
- error?: any;
40959
- }, {
40960
- message: string;
40961
- error?: any;
40962
- }>;
40963
- };
40964
- path: "/upload/:id/rename";
40965
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
40966
- 'x-tenant': import("zod").ZodString;
40967
- authorization: import("zod").ZodString;
40968
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
40969
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
40970
- }, "strip", import("zod").ZodTypeAny, {
40971
- 'x-tenant': string;
40972
- authorization: string;
40973
- 'x-client-timezone': string;
40974
- 'x-code'?: string | undefined;
40975
- }, {
40976
- 'x-tenant': string;
40977
- authorization: string;
40978
- 'x-code'?: string | undefined;
40979
- 'x-client-timezone'?: string | undefined;
40980
- }>>>;
40981
- };
40982
- delete: {
40983
- body: null;
40984
- summary: "Delete an attachment";
40985
- method: "DELETE";
40287
+ };
40288
+ upload: {
40289
+ rename: {
40290
+ body: import("zod").ZodObject<{
40291
+ newName: import("zod").ZodString;
40292
+ }, "strip", import("zod").ZodTypeAny, {
40293
+ newName: string;
40294
+ }, {
40295
+ newName: string;
40296
+ }>;
40297
+ summary: "Rename an attachment name";
40298
+ method: "POST";
40986
40299
  pathParams: import("zod").ZodObject<{
40987
40300
  id: import("zod").ZodString;
40988
40301
  }, "strip", import("zod").ZodTypeAny, {
@@ -41053,7 +40366,7 @@ export declare const apiContract: {
41053
40366
  error?: any;
41054
40367
  }>;
41055
40368
  };
41056
- path: "/upload/:id";
40369
+ path: "/upload/:id/rename";
41057
40370
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
41058
40371
  'x-tenant': import("zod").ZodString;
41059
40372
  authorization: import("zod").ZodString;
@@ -41071,373 +40384,50 @@ export declare const apiContract: {
41071
40384
  'x-client-timezone'?: string | undefined;
41072
40385
  }>>>;
41073
40386
  };
41074
- };
41075
- snippet: {
41076
- createSnippetGroup: {
41077
- body: import("zod").ZodObject<{
41078
- name: import("zod").ZodString;
41079
- platformType: import("zod").ZodString;
40387
+ delete: {
40388
+ body: null;
40389
+ summary: "Delete an attachment";
40390
+ method: "DELETE";
40391
+ pathParams: import("zod").ZodObject<{
40392
+ id: import("zod").ZodString;
41080
40393
  }, "strip", import("zod").ZodTypeAny, {
41081
- name: string;
41082
- platformType: string;
40394
+ id: string;
41083
40395
  }, {
41084
- name: string;
41085
- platformType: string;
40396
+ id: string;
41086
40397
  }>;
41087
- method: "POST";
41088
40398
  responses: {
41089
40399
  201: import("zod").ZodObject<{
41090
40400
  requestId: import("zod").ZodString;
41091
- snippetgroup: import("zod").ZodObject<{
41092
- id: import("zod").ZodString;
41093
- createdAt: import("zod").ZodDate;
41094
- updatedAt: import("zod").ZodDate;
41095
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41096
- name: import("zod").ZodString;
41097
- platformType: import("zod").ZodString;
41098
- }, "strip", import("zod").ZodTypeAny, {
41099
- id: string;
41100
- name: string;
41101
- createdAt: Date;
41102
- updatedAt: Date;
41103
- deletedAt: Date | null;
41104
- platformType: string;
41105
- }, {
41106
- id: string;
41107
- name: string;
41108
- createdAt: Date;
41109
- updatedAt: Date;
41110
- deletedAt: Date | null;
41111
- platformType: string;
41112
- }>;
41113
- }, "strip", import("zod").ZodTypeAny, {
41114
- requestId: string;
41115
- snippetgroup: {
41116
- id: string;
41117
- name: string;
41118
- createdAt: Date;
41119
- updatedAt: Date;
41120
- deletedAt: Date | null;
41121
- platformType: string;
41122
- };
41123
- }, {
41124
- requestId: string;
41125
- snippetgroup: {
41126
- id: string;
41127
- name: string;
41128
- createdAt: Date;
41129
- updatedAt: Date;
41130
- deletedAt: Date | null;
41131
- platformType: string;
41132
- };
41133
- }>;
41134
- 500: import("zod").ZodObject<{
41135
40401
  message: import("zod").ZodString;
41136
- error: import("zod").ZodAny;
41137
40402
  }, "strip", import("zod").ZodTypeAny, {
41138
40403
  message: string;
41139
- error?: any;
41140
- }, {
41141
- message: string;
41142
- error?: any;
41143
- }>;
41144
- };
41145
- path: "snippets/groups";
41146
- };
41147
- getSnippetGroups: {
41148
- method: "GET";
41149
- query: null;
41150
- responses: {
41151
- 200: import("zod").ZodObject<{
41152
- requestId: import("zod").ZodString;
41153
- snippetgroups: import("zod").ZodArray<import("zod").ZodObject<{
41154
- id: import("zod").ZodString;
41155
- createdAt: import("zod").ZodDate;
41156
- updatedAt: import("zod").ZodDate;
41157
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41158
- name: import("zod").ZodString;
41159
- platformType: import("zod").ZodString;
41160
- }, "strip", import("zod").ZodTypeAny, {
41161
- id: string;
41162
- name: string;
41163
- createdAt: Date;
41164
- updatedAt: Date;
41165
- deletedAt: Date | null;
41166
- platformType: string;
41167
- }, {
41168
- id: string;
41169
- name: string;
41170
- createdAt: Date;
41171
- updatedAt: Date;
41172
- deletedAt: Date | null;
41173
- platformType: string;
41174
- }>, "many">;
41175
- }, "strip", import("zod").ZodTypeAny, {
41176
40404
  requestId: string;
41177
- snippetgroups: {
41178
- id: string;
41179
- name: string;
41180
- createdAt: Date;
41181
- updatedAt: Date;
41182
- deletedAt: Date | null;
41183
- platformType: string;
41184
- }[];
41185
40405
  }, {
40406
+ message: string;
41186
40407
  requestId: string;
41187
- snippetgroups: {
41188
- id: string;
41189
- name: string;
41190
- createdAt: Date;
41191
- updatedAt: Date;
41192
- deletedAt: Date | null;
41193
- platformType: string;
41194
- }[];
41195
40408
  }>;
41196
- 500: import("zod").ZodObject<{
40409
+ 400: import("zod").ZodObject<{
41197
40410
  message: import("zod").ZodString;
41198
- error: import("zod").ZodAny;
41199
40411
  }, "strip", import("zod").ZodTypeAny, {
41200
40412
  message: string;
41201
- error?: any;
41202
40413
  }, {
41203
40414
  message: string;
41204
- error?: any;
41205
- }>;
41206
- };
41207
- path: "snippets/groups";
41208
- };
41209
- updateSnippetGroup: {
41210
- body: import("zod").ZodObject<{
41211
- name: import("zod").ZodOptional<import("zod").ZodString>;
41212
- paltformType: import("zod").ZodOptional<import("zod").ZodString>;
41213
- }, "strip", import("zod").ZodTypeAny, {
41214
- name?: string | undefined;
41215
- paltformType?: string | undefined;
41216
- }, {
41217
- name?: string | undefined;
41218
- paltformType?: string | undefined;
41219
- }>;
41220
- method: "PATCH";
41221
- pathParams: import("zod").ZodObject<{
41222
- id: import("zod").ZodString;
41223
- }, "strip", import("zod").ZodTypeAny, {
41224
- id: string;
41225
- }, {
41226
- id: string;
41227
- }>;
41228
- responses: {
41229
- 200: import("zod").ZodObject<{
41230
- requestId: import("zod").ZodString;
41231
- snippetgroup: import("zod").ZodObject<{
41232
- id: import("zod").ZodString;
41233
- createdAt: import("zod").ZodDate;
41234
- updatedAt: import("zod").ZodDate;
41235
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41236
- name: import("zod").ZodString;
41237
- platformType: import("zod").ZodString;
41238
- }, "strip", import("zod").ZodTypeAny, {
41239
- id: string;
41240
- name: string;
41241
- createdAt: Date;
41242
- updatedAt: Date;
41243
- deletedAt: Date | null;
41244
- platformType: string;
41245
- }, {
41246
- id: string;
41247
- name: string;
41248
- createdAt: Date;
41249
- updatedAt: Date;
41250
- deletedAt: Date | null;
41251
- platformType: string;
41252
- }>;
41253
- }, "strip", import("zod").ZodTypeAny, {
41254
- requestId: string;
41255
- snippetgroup: {
41256
- id: string;
41257
- name: string;
41258
- createdAt: Date;
41259
- updatedAt: Date;
41260
- deletedAt: Date | null;
41261
- platformType: string;
41262
- };
41263
- }, {
41264
- requestId: string;
41265
- snippetgroup: {
41266
- id: string;
41267
- name: string;
41268
- createdAt: Date;
41269
- updatedAt: Date;
41270
- deletedAt: Date | null;
41271
- platformType: string;
41272
- };
41273
40415
  }>;
41274
- 500: import("zod").ZodObject<{
40416
+ 409: import("zod").ZodObject<{
41275
40417
  message: import("zod").ZodString;
41276
- error: import("zod").ZodAny;
41277
40418
  }, "strip", import("zod").ZodTypeAny, {
41278
40419
  message: string;
41279
- error?: any;
41280
40420
  }, {
41281
40421
  message: string;
41282
- error?: any;
41283
- }>;
41284
- };
41285
- path: "snippets/groups/:id";
41286
- };
41287
- deleteSnippetGroup: {
41288
- body: null;
41289
- method: "DELETE";
41290
- pathParams: import("zod").ZodObject<{
41291
- id: import("zod").ZodString;
41292
- }, "strip", import("zod").ZodTypeAny, {
41293
- id: string;
41294
- }, {
41295
- id: string;
41296
- }>;
41297
- responses: {
41298
- 200: import("zod").ZodObject<{
41299
- requestId: import("zod").ZodString;
41300
- }, "strip", import("zod").ZodTypeAny, {
41301
- requestId: string;
41302
- }, {
41303
- requestId: string;
41304
40422
  }>;
41305
40423
  500: import("zod").ZodObject<{
41306
40424
  message: import("zod").ZodString;
41307
- error: import("zod").ZodAny;
41308
40425
  }, "strip", import("zod").ZodTypeAny, {
41309
40426
  message: string;
41310
- error?: any;
41311
40427
  }, {
41312
40428
  message: string;
41313
- error?: any;
41314
- }>;
41315
- };
41316
- path: "snippets/groups/:id";
41317
- };
41318
- getSnippets: {
41319
- method: "GET";
41320
- responses: {
41321
- 200: import("zod").ZodObject<{
41322
- requestId: import("zod").ZodString;
41323
- snippets: import("zod").ZodArray<import("zod").ZodObject<{
41324
- id: import("zod").ZodString;
41325
- createdAt: import("zod").ZodDate;
41326
- updatedAt: import("zod").ZodDate;
41327
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41328
- shortcutName: import("zod").ZodString;
41329
- contentType: import("zod").ZodString;
41330
- contentValue: import("zod").ZodNullable<import("zod").ZodString>;
41331
- uploadId: import("zod").ZodNullable<import("zod").ZodString>;
41332
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
41333
- snippetGroupId: import("zod").ZodString;
41334
- snippetGroup: import("zod").ZodObject<{
41335
- id: import("zod").ZodString;
41336
- createdAt: import("zod").ZodDate;
41337
- updatedAt: import("zod").ZodDate;
41338
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41339
- name: import("zod").ZodString;
41340
- platformType: import("zod").ZodString;
41341
- }, "strip", import("zod").ZodTypeAny, {
41342
- id: string;
41343
- name: string;
41344
- createdAt: Date;
41345
- updatedAt: Date;
41346
- deletedAt: Date | null;
41347
- platformType: string;
41348
- }, {
41349
- id: string;
41350
- name: string;
41351
- createdAt: Date;
41352
- updatedAt: Date;
41353
- deletedAt: Date | null;
41354
- platformType: string;
41355
- }>;
41356
- }, "strip", import("zod").ZodTypeAny, {
41357
- id: string;
41358
- createdAt: Date;
41359
- updatedAt: Date;
41360
- deletedAt: Date | null;
41361
- contentType: string;
41362
- uploadId: string | null;
41363
- shortcutName: string;
41364
- contentValue: string | null;
41365
- snippetGroupId: string;
41366
- snippetGroup: {
41367
- id: string;
41368
- name: string;
41369
- createdAt: Date;
41370
- updatedAt: Date;
41371
- deletedAt: Date | null;
41372
- platformType: string;
41373
- };
41374
- order?: number | undefined;
41375
- }, {
41376
- id: string;
41377
- createdAt: Date;
41378
- updatedAt: Date;
41379
- deletedAt: Date | null;
41380
- contentType: string;
41381
- uploadId: string | null;
41382
- shortcutName: string;
41383
- contentValue: string | null;
41384
- snippetGroupId: string;
41385
- snippetGroup: {
41386
- id: string;
41387
- name: string;
41388
- createdAt: Date;
41389
- updatedAt: Date;
41390
- deletedAt: Date | null;
41391
- platformType: string;
41392
- };
41393
- order?: number | undefined;
41394
- }>, "many">;
41395
- }, "strip", import("zod").ZodTypeAny, {
41396
- requestId: string;
41397
- snippets: {
41398
- id: string;
41399
- createdAt: Date;
41400
- updatedAt: Date;
41401
- deletedAt: Date | null;
41402
- contentType: string;
41403
- uploadId: string | null;
41404
- shortcutName: string;
41405
- contentValue: string | null;
41406
- snippetGroupId: string;
41407
- snippetGroup: {
41408
- id: string;
41409
- name: string;
41410
- createdAt: Date;
41411
- updatedAt: Date;
41412
- deletedAt: Date | null;
41413
- platformType: string;
41414
- };
41415
- order?: number | undefined;
41416
- }[];
41417
- }, {
41418
- requestId: string;
41419
- snippets: {
41420
- id: string;
41421
- createdAt: Date;
41422
- updatedAt: Date;
41423
- deletedAt: Date | null;
41424
- contentType: string;
41425
- uploadId: string | null;
41426
- shortcutName: string;
41427
- contentValue: string | null;
41428
- snippetGroupId: string;
41429
- snippetGroup: {
41430
- id: string;
41431
- name: string;
41432
- createdAt: Date;
41433
- updatedAt: Date;
41434
- deletedAt: Date | null;
41435
- platformType: string;
41436
- };
41437
- order?: number | undefined;
41438
- }[];
41439
40429
  }>;
41440
- 500: import("zod").ZodObject<{
40430
+ 401: import("zod").ZodObject<{
41441
40431
  message: import("zod").ZodString;
41442
40432
  error: import("zod").ZodAny;
41443
40433
  }, "strip", import("zod").ZodTypeAny, {
@@ -41447,151 +40437,7 @@ export declare const apiContract: {
41447
40437
  message: string;
41448
40438
  error?: any;
41449
40439
  }>;
41450
- };
41451
- path: "snippets";
41452
- };
41453
- createSnippet: {
41454
- body: import("zod").ZodObject<{
41455
- shortcutName: import("zod").ZodString;
41456
- contentType: import("zod").ZodString;
41457
- contentValue: import("zod").ZodOptional<import("zod").ZodString>;
41458
- snippetGroupId: import("zod").ZodString;
41459
- platformType: import("zod").ZodString;
41460
- }, "strip", import("zod").ZodTypeAny, {
41461
- contentType: string;
41462
- platformType: string;
41463
- shortcutName: string;
41464
- snippetGroupId: string;
41465
- contentValue?: string | undefined;
41466
- }, {
41467
- contentType: string;
41468
- platformType: string;
41469
- shortcutName: string;
41470
- snippetGroupId: string;
41471
- contentValue?: string | undefined;
41472
- }>;
41473
- method: "POST";
41474
- responses: {
41475
- 201: import("zod").ZodObject<{
41476
- requestId: import("zod").ZodString;
41477
- snippet: import("zod").ZodObject<{
41478
- id: import("zod").ZodString;
41479
- createdAt: import("zod").ZodDate;
41480
- updatedAt: import("zod").ZodDate;
41481
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41482
- shortcutName: import("zod").ZodString;
41483
- contentType: import("zod").ZodString;
41484
- contentValue: import("zod").ZodNullable<import("zod").ZodString>;
41485
- uploadId: import("zod").ZodNullable<import("zod").ZodString>;
41486
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
41487
- snippetGroupId: import("zod").ZodString;
41488
- snippetGroup: import("zod").ZodObject<{
41489
- id: import("zod").ZodString;
41490
- createdAt: import("zod").ZodDate;
41491
- updatedAt: import("zod").ZodDate;
41492
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41493
- name: import("zod").ZodString;
41494
- platformType: import("zod").ZodString;
41495
- }, "strip", import("zod").ZodTypeAny, {
41496
- id: string;
41497
- name: string;
41498
- createdAt: Date;
41499
- updatedAt: Date;
41500
- deletedAt: Date | null;
41501
- platformType: string;
41502
- }, {
41503
- id: string;
41504
- name: string;
41505
- createdAt: Date;
41506
- updatedAt: Date;
41507
- deletedAt: Date | null;
41508
- platformType: string;
41509
- }>;
41510
- }, "strip", import("zod").ZodTypeAny, {
41511
- id: string;
41512
- createdAt: Date;
41513
- updatedAt: Date;
41514
- deletedAt: Date | null;
41515
- contentType: string;
41516
- uploadId: string | null;
41517
- shortcutName: string;
41518
- contentValue: string | null;
41519
- snippetGroupId: string;
41520
- snippetGroup: {
41521
- id: string;
41522
- name: string;
41523
- createdAt: Date;
41524
- updatedAt: Date;
41525
- deletedAt: Date | null;
41526
- platformType: string;
41527
- };
41528
- order?: number | undefined;
41529
- }, {
41530
- id: string;
41531
- createdAt: Date;
41532
- updatedAt: Date;
41533
- deletedAt: Date | null;
41534
- contentType: string;
41535
- uploadId: string | null;
41536
- shortcutName: string;
41537
- contentValue: string | null;
41538
- snippetGroupId: string;
41539
- snippetGroup: {
41540
- id: string;
41541
- name: string;
41542
- createdAt: Date;
41543
- updatedAt: Date;
41544
- deletedAt: Date | null;
41545
- platformType: string;
41546
- };
41547
- order?: number | undefined;
41548
- }>;
41549
- }, "strip", import("zod").ZodTypeAny, {
41550
- requestId: string;
41551
- snippet: {
41552
- id: string;
41553
- createdAt: Date;
41554
- updatedAt: Date;
41555
- deletedAt: Date | null;
41556
- contentType: string;
41557
- uploadId: string | null;
41558
- shortcutName: string;
41559
- contentValue: string | null;
41560
- snippetGroupId: string;
41561
- snippetGroup: {
41562
- id: string;
41563
- name: string;
41564
- createdAt: Date;
41565
- updatedAt: Date;
41566
- deletedAt: Date | null;
41567
- platformType: string;
41568
- };
41569
- order?: number | undefined;
41570
- };
41571
- }, {
41572
- requestId: string;
41573
- snippet: {
41574
- id: string;
41575
- createdAt: Date;
41576
- updatedAt: Date;
41577
- deletedAt: Date | null;
41578
- contentType: string;
41579
- uploadId: string | null;
41580
- shortcutName: string;
41581
- contentValue: string | null;
41582
- snippetGroupId: string;
41583
- snippetGroup: {
41584
- id: string;
41585
- name: string;
41586
- createdAt: Date;
41587
- updatedAt: Date;
41588
- deletedAt: Date | null;
41589
- platformType: string;
41590
- };
41591
- order?: number | undefined;
41592
- };
41593
- }>;
41594
- 500: import("zod").ZodObject<{
40440
+ 404: import("zod").ZodObject<{
41595
40441
  message: import("zod").ZodString;
41596
40442
  error: import("zod").ZodAny;
41597
40443
  }, "strip", import("zod").ZodTypeAny, {
@@ -41601,161 +40447,7 @@ export declare const apiContract: {
41601
40447
  message: string;
41602
40448
  error?: any;
41603
40449
  }>;
41604
- };
41605
- path: "snippets";
41606
- };
41607
- updateSnippet: {
41608
- body: import("zod").ZodObject<{
41609
- contentType: import("zod").ZodString;
41610
- platformType: import("zod").ZodString;
41611
- shortcutName: import("zod").ZodString;
41612
- contentValue: import("zod").ZodOptional<import("zod").ZodString>;
41613
- snippetGroupId: import("zod").ZodString;
41614
- snippetId: import("zod").ZodString;
41615
- }, "strip", import("zod").ZodTypeAny, {
41616
- contentType: string;
41617
- platformType: string;
41618
- shortcutName: string;
41619
- snippetGroupId: string;
41620
- snippetId: string;
41621
- contentValue?: string | undefined;
41622
- }, {
41623
- contentType: string;
41624
- platformType: string;
41625
- shortcutName: string;
41626
- snippetGroupId: string;
41627
- snippetId: string;
41628
- contentValue?: string | undefined;
41629
- }>;
41630
- method: "PATCH";
41631
- pathParams: import("zod").ZodObject<{
41632
- id: import("zod").ZodString;
41633
- }, "strip", import("zod").ZodTypeAny, {
41634
- id: string;
41635
- }, {
41636
- id: string;
41637
- }>;
41638
- responses: {
41639
- 200: import("zod").ZodObject<{
41640
- requestId: import("zod").ZodString;
41641
- snippet: import("zod").ZodObject<{
41642
- id: import("zod").ZodString;
41643
- createdAt: import("zod").ZodDate;
41644
- updatedAt: import("zod").ZodDate;
41645
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41646
- shortcutName: import("zod").ZodString;
41647
- contentType: import("zod").ZodString;
41648
- contentValue: import("zod").ZodNullable<import("zod").ZodString>;
41649
- uploadId: import("zod").ZodNullable<import("zod").ZodString>;
41650
- order: import("zod").ZodOptional<import("zod").ZodNumber>;
41651
- snippetGroupId: import("zod").ZodString;
41652
- snippetGroup: import("zod").ZodObject<{
41653
- id: import("zod").ZodString;
41654
- createdAt: import("zod").ZodDate;
41655
- updatedAt: import("zod").ZodDate;
41656
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41657
- name: import("zod").ZodString;
41658
- platformType: import("zod").ZodString;
41659
- }, "strip", import("zod").ZodTypeAny, {
41660
- id: string;
41661
- name: string;
41662
- createdAt: Date;
41663
- updatedAt: Date;
41664
- deletedAt: Date | null;
41665
- platformType: string;
41666
- }, {
41667
- id: string;
41668
- name: string;
41669
- createdAt: Date;
41670
- updatedAt: Date;
41671
- deletedAt: Date | null;
41672
- platformType: string;
41673
- }>;
41674
- }, "strip", import("zod").ZodTypeAny, {
41675
- id: string;
41676
- createdAt: Date;
41677
- updatedAt: Date;
41678
- deletedAt: Date | null;
41679
- contentType: string;
41680
- uploadId: string | null;
41681
- shortcutName: string;
41682
- contentValue: string | null;
41683
- snippetGroupId: string;
41684
- snippetGroup: {
41685
- id: string;
41686
- name: string;
41687
- createdAt: Date;
41688
- updatedAt: Date;
41689
- deletedAt: Date | null;
41690
- platformType: string;
41691
- };
41692
- order?: number | undefined;
41693
- }, {
41694
- id: string;
41695
- createdAt: Date;
41696
- updatedAt: Date;
41697
- deletedAt: Date | null;
41698
- contentType: string;
41699
- uploadId: string | null;
41700
- shortcutName: string;
41701
- contentValue: string | null;
41702
- snippetGroupId: string;
41703
- snippetGroup: {
41704
- id: string;
41705
- name: string;
41706
- createdAt: Date;
41707
- updatedAt: Date;
41708
- deletedAt: Date | null;
41709
- platformType: string;
41710
- };
41711
- order?: number | undefined;
41712
- }>;
41713
- }, "strip", import("zod").ZodTypeAny, {
41714
- requestId: string;
41715
- snippet: {
41716
- id: string;
41717
- createdAt: Date;
41718
- updatedAt: Date;
41719
- deletedAt: Date | null;
41720
- contentType: string;
41721
- uploadId: string | null;
41722
- shortcutName: string;
41723
- contentValue: string | null;
41724
- snippetGroupId: string;
41725
- snippetGroup: {
41726
- id: string;
41727
- name: string;
41728
- createdAt: Date;
41729
- updatedAt: Date;
41730
- deletedAt: Date | null;
41731
- platformType: string;
41732
- };
41733
- order?: number | undefined;
41734
- };
41735
- }, {
41736
- requestId: string;
41737
- snippet: {
41738
- id: string;
41739
- createdAt: Date;
41740
- updatedAt: Date;
41741
- deletedAt: Date | null;
41742
- contentType: string;
41743
- uploadId: string | null;
41744
- shortcutName: string;
41745
- contentValue: string | null;
41746
- snippetGroupId: string;
41747
- snippetGroup: {
41748
- id: string;
41749
- name: string;
41750
- createdAt: Date;
41751
- updatedAt: Date;
41752
- deletedAt: Date | null;
41753
- platformType: string;
41754
- };
41755
- order?: number | undefined;
41756
- };
41757
- }>;
41758
- 500: import("zod").ZodObject<{
40450
+ 422: import("zod").ZodObject<{
41759
40451
  message: import("zod").ZodString;
41760
40452
  error: import("zod").ZodAny;
41761
40453
  }, "strip", import("zod").ZodTypeAny, {
@@ -41766,38 +40458,23 @@ export declare const apiContract: {
41766
40458
  error?: any;
41767
40459
  }>;
41768
40460
  };
41769
- path: "snippets/:id";
41770
- };
41771
- deleteSnippet: {
41772
- body: null;
41773
- method: "DELETE";
41774
- pathParams: import("zod").ZodObject<{
41775
- id: import("zod").ZodString;
40461
+ path: "/upload/:id";
40462
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
40463
+ 'x-tenant': import("zod").ZodString;
40464
+ authorization: import("zod").ZodString;
40465
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
40466
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
41776
40467
  }, "strip", import("zod").ZodTypeAny, {
41777
- id: string;
40468
+ 'x-tenant': string;
40469
+ authorization: string;
40470
+ 'x-client-timezone': string;
40471
+ 'x-code'?: string | undefined;
41778
40472
  }, {
41779
- id: string;
41780
- }>;
41781
- responses: {
41782
- 200: import("zod").ZodObject<{
41783
- requestId: import("zod").ZodString;
41784
- }, "strip", import("zod").ZodTypeAny, {
41785
- requestId: string;
41786
- }, {
41787
- requestId: string;
41788
- }>;
41789
- 500: import("zod").ZodObject<{
41790
- message: import("zod").ZodString;
41791
- error: import("zod").ZodAny;
41792
- }, "strip", import("zod").ZodTypeAny, {
41793
- message: string;
41794
- error?: any;
41795
- }, {
41796
- message: string;
41797
- error?: any;
41798
- }>;
41799
- };
41800
- path: "snippets/:id";
40473
+ 'x-tenant': string;
40474
+ authorization: string;
40475
+ 'x-code'?: string | undefined;
40476
+ 'x-client-timezone'?: string | undefined;
40477
+ }>>>;
41801
40478
  };
41802
40479
  };
41803
40480
  };
@@ -119607,6 +118284,7 @@ export declare const chatContract: {
119607
118284
  type: import("zod").ZodOptional<import("zod").ZodString>;
119608
118285
  sorting: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
119609
118286
  caseId: import("zod").ZodOptional<import("zod").ZodString>;
118287
+ dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
119610
118288
  }, "strip", import("zod").ZodTypeAny, {
119611
118289
  page: number;
119612
118290
  pageSize: number;
@@ -119641,6 +118319,7 @@ export declare const chatContract: {
119641
118319
  tab?: string | undefined;
119642
118320
  type?: string | undefined;
119643
118321
  caseId?: string | undefined;
118322
+ dispositions?: string[] | undefined;
119644
118323
  }, {
119645
118324
  page?: number | undefined;
119646
118325
  pageSize?: number | undefined;
@@ -119675,6 +118354,7 @@ export declare const chatContract: {
119675
118354
  type?: string | undefined;
119676
118355
  sorting?: string | undefined;
119677
118356
  caseId?: string | undefined;
118357
+ dispositions?: string[] | undefined;
119678
118358
  }>;
119679
118359
  responses: {
119680
118360
  200: import("zod").ZodObject<{