@kl1/contracts 1.1.52-uat → 1.1.54-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9620,6 +9620,51 @@ export declare const apiContract: {
9620
9620
  'x-client-timezone'?: string | undefined;
9621
9621
  }>>>;
9622
9622
  };
9623
+ syncSla: {
9624
+ body: null;
9625
+ summary: "Export cx-logs";
9626
+ method: "POST";
9627
+ responses: {
9628
+ 200: null;
9629
+ 401: import("zod").ZodObject<{
9630
+ message: import("zod").ZodString;
9631
+ error: import("zod").ZodAny;
9632
+ }, "strip", import("zod").ZodTypeAny, {
9633
+ message: string;
9634
+ error?: any;
9635
+ }, {
9636
+ message: string;
9637
+ error?: any;
9638
+ }>;
9639
+ 500: import("zod").ZodObject<{
9640
+ message: import("zod").ZodString;
9641
+ error: import("zod").ZodAny;
9642
+ }, "strip", import("zod").ZodTypeAny, {
9643
+ message: string;
9644
+ error?: any;
9645
+ }, {
9646
+ message: string;
9647
+ error?: any;
9648
+ }>;
9649
+ };
9650
+ path: "/cx-logs/sync-sla";
9651
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
9652
+ 'x-tenant': import("zod").ZodString;
9653
+ authorization: import("zod").ZodString;
9654
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
9655
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
9656
+ }, "strip", import("zod").ZodTypeAny, {
9657
+ 'x-tenant': string;
9658
+ authorization: string;
9659
+ 'x-client-timezone': string;
9660
+ 'x-code'?: string | undefined;
9661
+ }, {
9662
+ 'x-tenant': string;
9663
+ authorization: string;
9664
+ 'x-code'?: string | undefined;
9665
+ 'x-client-timezone'?: string | undefined;
9666
+ }>>>;
9667
+ };
9623
9668
  updateSla: {
9624
9669
  body: import("zod").ZodObject<{
9625
9670
  roomId: import("zod").ZodString;
@@ -12262,6 +12307,131 @@ export declare const apiContract: {
12262
12307
  'x-client-timezone'?: string | undefined;
12263
12308
  }>>>;
12264
12309
  };
12310
+ getRoleById: {
12311
+ summary: "Get role by Id";
12312
+ method: "GET";
12313
+ pathParams: import("zod").ZodObject<{
12314
+ id: import("zod").ZodString;
12315
+ }, "strip", import("zod").ZodTypeAny, {
12316
+ id: string;
12317
+ }, {
12318
+ id: string;
12319
+ }>;
12320
+ responses: {
12321
+ 200: import("zod").ZodObject<{
12322
+ id: import("zod").ZodString;
12323
+ createdAt: import("zod").ZodDate;
12324
+ updatedAt: import("zod").ZodDate;
12325
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
12326
+ systemName: import("zod").ZodString;
12327
+ displayName: import("zod").ZodString;
12328
+ description: import("zod").ZodNullable<import("zod").ZodString>;
12329
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
12330
+ id: import("zod").ZodString;
12331
+ createdAt: import("zod").ZodDate;
12332
+ updatedAt: import("zod").ZodDate;
12333
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
12334
+ systemName: import("zod").ZodString;
12335
+ displayName: import("zod").ZodString;
12336
+ description: import("zod").ZodNullable<import("zod").ZodString>;
12337
+ }, "strip", import("zod").ZodTypeAny, {
12338
+ id: string;
12339
+ description: string | null;
12340
+ createdAt: Date;
12341
+ updatedAt: Date;
12342
+ deletedAt: Date | null;
12343
+ systemName: string;
12344
+ displayName: string;
12345
+ }, {
12346
+ id: string;
12347
+ description: string | null;
12348
+ createdAt: Date;
12349
+ updatedAt: Date;
12350
+ deletedAt: Date | null;
12351
+ systemName: string;
12352
+ displayName: string;
12353
+ }>, "many">;
12354
+ }, "strip", import("zod").ZodTypeAny, {
12355
+ id: string;
12356
+ description: string | null;
12357
+ createdAt: Date;
12358
+ updatedAt: Date;
12359
+ deletedAt: Date | null;
12360
+ systemName: string;
12361
+ displayName: string;
12362
+ permissions: {
12363
+ id: string;
12364
+ description: string | null;
12365
+ createdAt: Date;
12366
+ updatedAt: Date;
12367
+ deletedAt: Date | null;
12368
+ systemName: string;
12369
+ displayName: string;
12370
+ }[];
12371
+ }, {
12372
+ id: string;
12373
+ description: string | null;
12374
+ createdAt: Date;
12375
+ updatedAt: Date;
12376
+ deletedAt: Date | null;
12377
+ systemName: string;
12378
+ displayName: string;
12379
+ permissions: {
12380
+ id: string;
12381
+ description: string | null;
12382
+ createdAt: Date;
12383
+ updatedAt: Date;
12384
+ deletedAt: Date | null;
12385
+ systemName: string;
12386
+ displayName: string;
12387
+ }[];
12388
+ }>;
12389
+ 400: import("zod").ZodObject<{
12390
+ message: import("zod").ZodString;
12391
+ }, "strip", import("zod").ZodTypeAny, {
12392
+ message: string;
12393
+ }, {
12394
+ message: string;
12395
+ }>;
12396
+ 401: import("zod").ZodObject<{
12397
+ message: import("zod").ZodString;
12398
+ error: import("zod").ZodAny;
12399
+ }, "strip", import("zod").ZodTypeAny, {
12400
+ message: string;
12401
+ error?: any;
12402
+ }, {
12403
+ message: string;
12404
+ error?: any;
12405
+ }>;
12406
+ 500: import("zod").ZodObject<{
12407
+ message: import("zod").ZodString;
12408
+ error: import("zod").ZodAny;
12409
+ }, "strip", import("zod").ZodTypeAny, {
12410
+ message: string;
12411
+ error?: any;
12412
+ }, {
12413
+ message: string;
12414
+ error?: any;
12415
+ }>;
12416
+ };
12417
+ path: "role/:id";
12418
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
12419
+ 'x-tenant': import("zod").ZodString;
12420
+ authorization: import("zod").ZodString;
12421
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
12422
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
12423
+ }, "strip", import("zod").ZodTypeAny, {
12424
+ 'x-tenant': string;
12425
+ authorization: string;
12426
+ 'x-client-timezone': string;
12427
+ 'x-code'?: string | undefined;
12428
+ }, {
12429
+ 'x-tenant': string;
12430
+ authorization: string;
12431
+ 'x-code'?: string | undefined;
12432
+ 'x-client-timezone'?: string | undefined;
12433
+ }>>>;
12434
+ };
12265
12435
  };
12266
12436
  user: {
12267
12437
  createUser: {
@@ -73967,7 +74137,7 @@ export declare const platformContract: {
73967
74137
  message: import("zod").ZodObject<{
73968
74138
  message: import("zod").ZodOptional<import("zod").ZodString>;
73969
74139
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
73970
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
74140
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
73971
74141
  readAt: import("zod").ZodOptional<import("zod").ZodDate>;
73972
74142
  metadata: import("zod").ZodOptional<import("zod").ZodAny>;
73973
74143
  platformId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -74876,7 +75046,7 @@ export declare const platformContract: {
74876
75046
  id: import("zod").ZodOptional<import("zod").ZodString>;
74877
75047
  message: import("zod").ZodOptional<import("zod").ZodString>;
74878
75048
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
74879
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
75049
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
74880
75050
  readAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>>;
74881
75051
  metadata: import("zod").ZodOptional<import("zod").ZodAny>;
74882
75052
  platformId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -75202,7 +75372,7 @@ export declare const platformContract: {
75202
75372
  200: import("zod").ZodObject<{
75203
75373
  requestId: import("zod").ZodString;
75204
75374
  data: import("zod").ZodObject<{
75205
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
75375
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
75206
75376
  message: import("zod").ZodString;
75207
75377
  id: import("zod").ZodString;
75208
75378
  url: import("zod").ZodString;
@@ -78633,7 +78803,7 @@ export declare const platformContract: {
78633
78803
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
78634
78804
  message: import("zod").ZodString;
78635
78805
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
78636
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
78806
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
78637
78807
  readAt: import("zod").ZodDate;
78638
78808
  metadata: import("zod").ZodAny;
78639
78809
  platformId: import("zod").ZodString;
@@ -79826,7 +79996,7 @@ export declare const platformContract: {
79826
79996
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
79827
79997
  message: import("zod").ZodString;
79828
79998
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
79829
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
79999
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
79830
80000
  readAt: import("zod").ZodDate;
79831
80001
  metadata: import("zod").ZodAny;
79832
80002
  platformId: import("zod").ZodString;
@@ -82818,7 +82988,7 @@ export declare const platformContract: {
82818
82988
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
82819
82989
  message: import("zod").ZodString;
82820
82990
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
82821
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
82991
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
82822
82992
  readAt: import("zod").ZodDate;
82823
82993
  metadata: import("zod").ZodAny;
82824
82994
  platformId: import("zod").ZodString;
@@ -93773,7 +93943,7 @@ export declare const platformContract: {
93773
93943
  id: import("zod").ZodOptional<import("zod").ZodString>;
93774
93944
  message: import("zod").ZodOptional<import("zod").ZodString>;
93775
93945
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
93776
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
93946
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
93777
93947
  readAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>>;
93778
93948
  metadata: import("zod").ZodOptional<import("zod").ZodAny>;
93779
93949
  platformId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -94099,7 +94269,7 @@ export declare const platformContract: {
94099
94269
  200: import("zod").ZodObject<{
94100
94270
  requestId: import("zod").ZodString;
94101
94271
  data: import("zod").ZodObject<{
94102
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
94272
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
94103
94273
  message: import("zod").ZodString;
94104
94274
  id: import("zod").ZodString;
94105
94275
  url: import("zod").ZodString;
@@ -97530,7 +97700,7 @@ export declare const platformContract: {
97530
97700
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
97531
97701
  message: import("zod").ZodString;
97532
97702
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
97533
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
97703
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
97534
97704
  readAt: import("zod").ZodDate;
97535
97705
  metadata: import("zod").ZodAny;
97536
97706
  platformId: import("zod").ZodString;
@@ -98723,7 +98893,7 @@ export declare const platformContract: {
98723
98893
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
98724
98894
  message: import("zod").ZodString;
98725
98895
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
98726
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
98896
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
98727
98897
  readAt: import("zod").ZodDate;
98728
98898
  metadata: import("zod").ZodAny;
98729
98899
  platformId: import("zod").ZodString;
@@ -101715,7 +101885,7 @@ export declare const platformContract: {
101715
101885
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
101716
101886
  message: import("zod").ZodString;
101717
101887
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
101718
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
101888
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
101719
101889
  readAt: import("zod").ZodDate;
101720
101890
  metadata: import("zod").ZodAny;
101721
101891
  platformId: import("zod").ZodString;
@@ -111540,7 +111710,7 @@ export declare const instagramPlatformContract: {
111540
111710
  id: import("zod").ZodOptional<import("zod").ZodString>;
111541
111711
  message: import("zod").ZodOptional<import("zod").ZodString>;
111542
111712
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
111543
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
111713
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
111544
111714
  readAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>>;
111545
111715
  metadata: import("zod").ZodOptional<import("zod").ZodAny>;
111546
111716
  platformId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -111866,7 +112036,7 @@ export declare const instagramPlatformContract: {
111866
112036
  200: import("zod").ZodObject<{
111867
112037
  requestId: import("zod").ZodString;
111868
112038
  data: import("zod").ZodObject<{
111869
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
112039
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
111870
112040
  message: import("zod").ZodString;
111871
112041
  id: import("zod").ZodString;
111872
112042
  url: import("zod").ZodString;
@@ -115297,7 +115467,7 @@ export declare const instagramPlatformContract: {
115297
115467
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
115298
115468
  message: import("zod").ZodString;
115299
115469
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
115300
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
115470
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
115301
115471
  readAt: import("zod").ZodDate;
115302
115472
  metadata: import("zod").ZodAny;
115303
115473
  platformId: import("zod").ZodString;
@@ -116490,7 +116660,7 @@ export declare const instagramPlatformContract: {
116490
116660
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
116491
116661
  message: import("zod").ZodString;
116492
116662
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
116493
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
116663
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
116494
116664
  readAt: import("zod").ZodDate;
116495
116665
  metadata: import("zod").ZodAny;
116496
116666
  platformId: import("zod").ZodString;
@@ -119482,7 +119652,7 @@ export declare const instagramPlatformContract: {
119482
119652
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
119483
119653
  message: import("zod").ZodString;
119484
119654
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
119485
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
119655
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
119486
119656
  readAt: import("zod").ZodDate;
119487
119657
  metadata: import("zod").ZodAny;
119488
119658
  platformId: import("zod").ZodString;
@@ -129938,7 +130108,7 @@ export declare const messengerPlatformContract: {
129938
130108
  id: import("zod").ZodOptional<import("zod").ZodString>;
129939
130109
  message: import("zod").ZodOptional<import("zod").ZodString>;
129940
130110
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
129941
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
130111
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
129942
130112
  readAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>>;
129943
130113
  metadata: import("zod").ZodOptional<import("zod").ZodAny>;
129944
130114
  platformId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -130264,7 +130434,7 @@ export declare const messengerPlatformContract: {
130264
130434
  200: import("zod").ZodObject<{
130265
130435
  requestId: import("zod").ZodString;
130266
130436
  data: import("zod").ZodObject<{
130267
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
130437
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
130268
130438
  message: import("zod").ZodString;
130269
130439
  id: import("zod").ZodString;
130270
130440
  url: import("zod").ZodString;
@@ -133695,7 +133865,7 @@ export declare const messengerPlatformContract: {
133695
133865
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
133696
133866
  message: import("zod").ZodString;
133697
133867
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
133698
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
133868
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
133699
133869
  readAt: import("zod").ZodDate;
133700
133870
  metadata: import("zod").ZodAny;
133701
133871
  platformId: import("zod").ZodString;
@@ -134888,7 +135058,7 @@ export declare const messengerPlatformContract: {
134888
135058
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
134889
135059
  message: import("zod").ZodString;
134890
135060
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
134891
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
135061
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
134892
135062
  readAt: import("zod").ZodDate;
134893
135063
  metadata: import("zod").ZodAny;
134894
135064
  platformId: import("zod").ZodString;
@@ -137880,7 +138050,7 @@ export declare const messengerPlatformContract: {
137880
138050
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
137881
138051
  message: import("zod").ZodString;
137882
138052
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
137883
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
138053
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
137884
138054
  readAt: import("zod").ZodDate;
137885
138055
  metadata: import("zod").ZodAny;
137886
138056
  platformId: import("zod").ZodString;
@@ -150939,7 +151109,7 @@ export declare const facebookFeedContract: {
150939
151109
  id: import("zod").ZodOptional<import("zod").ZodString>;
150940
151110
  message: import("zod").ZodOptional<import("zod").ZodString>;
150941
151111
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
150942
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
151112
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
150943
151113
  readAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>>;
150944
151114
  metadata: import("zod").ZodOptional<import("zod").ZodAny>;
150945
151115
  platformId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -151647,7 +151817,7 @@ export declare const facebookFeedContract: {
151647
151817
  200: import("zod").ZodObject<{
151648
151818
  requestId: import("zod").ZodString;
151649
151819
  data: import("zod").ZodObject<{
151650
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
151820
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
151651
151821
  message: import("zod").ZodString;
151652
151822
  id: import("zod").ZodString;
151653
151823
  url: import("zod").ZodString;
@@ -155078,7 +155248,7 @@ export declare const facebookFeedContract: {
155078
155248
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
155079
155249
  message: import("zod").ZodString;
155080
155250
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
155081
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
155251
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
155082
155252
  readAt: import("zod").ZodDate;
155083
155253
  metadata: import("zod").ZodAny;
155084
155254
  platformId: import("zod").ZodString;
@@ -156271,7 +156441,7 @@ export declare const facebookFeedContract: {
156271
156441
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
156272
156442
  message: import("zod").ZodString;
156273
156443
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
156274
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
156444
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
156275
156445
  readAt: import("zod").ZodDate;
156276
156446
  metadata: import("zod").ZodAny;
156277
156447
  platformId: import("zod").ZodString;
@@ -159263,7 +159433,7 @@ export declare const facebookFeedContract: {
159263
159433
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
159264
159434
  message: import("zod").ZodString;
159265
159435
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
159266
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
159436
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
159267
159437
  readAt: import("zod").ZodDate;
159268
159438
  metadata: import("zod").ZodAny;
159269
159439
  platformId: import("zod").ZodString;
@@ -168308,7 +168478,7 @@ export declare const facebookFeedContract: {
168308
168478
  id: import("zod").ZodOptional<import("zod").ZodString>;
168309
168479
  message: import("zod").ZodOptional<import("zod").ZodString>;
168310
168480
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
168311
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
168481
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
168312
168482
  readAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>>;
168313
168483
  metadata: import("zod").ZodOptional<import("zod").ZodAny>;
168314
168484
  platformId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -168634,7 +168804,7 @@ export declare const facebookFeedContract: {
168634
168804
  200: import("zod").ZodObject<{
168635
168805
  requestId: import("zod").ZodString;
168636
168806
  data: import("zod").ZodObject<{
168637
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
168807
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
168638
168808
  message: import("zod").ZodString;
168639
168809
  id: import("zod").ZodString;
168640
168810
  url: import("zod").ZodString;
@@ -172065,7 +172235,7 @@ export declare const facebookFeedContract: {
172065
172235
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
172066
172236
  message: import("zod").ZodString;
172067
172237
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
172068
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
172238
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
172069
172239
  readAt: import("zod").ZodDate;
172070
172240
  metadata: import("zod").ZodAny;
172071
172241
  platformId: import("zod").ZodString;
@@ -173258,7 +173428,7 @@ export declare const facebookFeedContract: {
173258
173428
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
173259
173429
  message: import("zod").ZodString;
173260
173430
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
173261
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
173431
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
173262
173432
  readAt: import("zod").ZodDate;
173263
173433
  metadata: import("zod").ZodAny;
173264
173434
  platformId: import("zod").ZodString;
@@ -176250,7 +176420,7 @@ export declare const facebookFeedContract: {
176250
176420
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
176251
176421
  message: import("zod").ZodString;
176252
176422
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
176253
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
176423
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
176254
176424
  readAt: import("zod").ZodDate;
176255
176425
  metadata: import("zod").ZodAny;
176256
176426
  platformId: import("zod").ZodString;
@@ -193549,7 +193719,7 @@ export declare const chatContract: {
193549
193719
  page: import("zod").ZodNumber;
193550
193720
  pageSize: import("zod").ZodNumber;
193551
193721
  data: import("zod").ZodArray<import("zod").ZodObject<{
193552
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
193722
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
193553
193723
  message: import("zod").ZodString;
193554
193724
  id: import("zod").ZodString;
193555
193725
  url: import("zod").ZodString;
@@ -196980,7 +197150,7 @@ export declare const chatContract: {
196980
197150
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
196981
197151
  message: import("zod").ZodString;
196982
197152
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
196983
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
197153
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
196984
197154
  readAt: import("zod").ZodDate;
196985
197155
  metadata: import("zod").ZodAny;
196986
197156
  platformId: import("zod").ZodString;
@@ -198174,7 +198344,7 @@ export declare const chatContract: {
198174
198344
  updatedAt: import("zod").ZodDate;
198175
198345
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
198176
198346
  message: import("zod").ZodNullable<import("zod").ZodString>;
198177
- type: import("zod").ZodUnion<[import("zod").ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>, import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>]>;
198347
+ type: import("zod").ZodUnion<[import("zod").ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>, import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>]>;
198178
198348
  metadata: import("zod").ZodAny;
198179
198349
  platformId: import("zod").ZodString;
198180
198350
  platformMessageId: import("zod").ZodString;
@@ -207918,12 +208088,15 @@ export declare const chatContract: {
207918
208088
  body: import("zod").ZodObject<{
207919
208089
  assigneeId: import("zod").ZodString;
207920
208090
  roomId: import("zod").ZodString;
208091
+ actionType: import("zod").ZodDefault<import("zod").ZodEnum<["assign_to_me", "hangover_to_me", "assign_other_agent"]>>;
207921
208092
  }, "strip", import("zod").ZodTypeAny, {
207922
208093
  assigneeId: string;
207923
208094
  roomId: string;
208095
+ actionType: "assign_to_me" | "hangover_to_me" | "assign_other_agent";
207924
208096
  }, {
207925
208097
  assigneeId: string;
207926
208098
  roomId: string;
208099
+ actionType?: "assign_to_me" | "hangover_to_me" | "assign_other_agent" | undefined;
207927
208100
  }>;
207928
208101
  summary: "Update room assignee";
207929
208102
  method: "POST";
@@ -214597,7 +214770,7 @@ export declare const chatContract: {
214597
214770
  latestIncomingMessage: import("zod").ZodObject<{
214598
214771
  message: import("zod").ZodString;
214599
214772
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
214600
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
214773
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
214601
214774
  readAt: import("zod").ZodDate;
214602
214775
  metadata: import("zod").ZodAny;
214603
214776
  platformId: import("zod").ZodString;
@@ -228864,7 +229037,7 @@ export declare const chatMessageContract: {
228864
229037
  sendMessage: {
228865
229038
  body: import("zod").ZodObject<{
228866
229039
  roomId: import("zod").ZodString;
228867
- messageType: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
229040
+ messageType: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
228868
229041
  message: import("zod").ZodOptional<import("zod").ZodString>;
228869
229042
  messageAttachments: import("zod").ZodOptional<import("zod").ZodObject<{
228870
229043
  bucketName: import("zod").ZodString;
@@ -229273,7 +229446,7 @@ export declare const chatMessageContract: {
229273
229446
  200: import("zod").ZodObject<{
229274
229447
  requestId: import("zod").ZodString;
229275
229448
  data: import("zod").ZodObject<{
229276
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
229449
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
229277
229450
  message: import("zod").ZodString;
229278
229451
  id: import("zod").ZodString;
229279
229452
  url: import("zod").ZodString;
@@ -232704,7 +232877,7 @@ export declare const chatMessageContract: {
232704
232877
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
232705
232878
  message: import("zod").ZodString;
232706
232879
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
232707
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
232880
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
232708
232881
  readAt: import("zod").ZodDate;
232709
232882
  metadata: import("zod").ZodAny;
232710
232883
  platformId: import("zod").ZodString;
@@ -233897,7 +234070,7 @@ export declare const chatMessageContract: {
233897
234070
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
233898
234071
  message: import("zod").ZodString;
233899
234072
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
233900
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
234073
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
233901
234074
  readAt: import("zod").ZodDate;
233902
234075
  metadata: import("zod").ZodAny;
233903
234076
  platformId: import("zod").ZodString;
@@ -236889,7 +237062,7 @@ export declare const chatMessageContract: {
236889
237062
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
236890
237063
  message: import("zod").ZodString;
236891
237064
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
236892
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
237065
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
236893
237066
  readAt: import("zod").ZodDate;
236894
237067
  metadata: import("zod").ZodAny;
236895
237068
  platformId: import("zod").ZodString;
@@ -245613,7 +245786,7 @@ export declare const chatMessageContract: {
245613
245786
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
245614
245787
  message: import("zod").ZodString;
245615
245788
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
245616
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
245789
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
245617
245790
  readAt: import("zod").ZodDate;
245618
245791
  metadata: import("zod").ZodAny;
245619
245792
  platformId: import("zod").ZodString;
@@ -248605,7 +248778,7 @@ export declare const chatMessageContract: {
248605
248778
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
248606
248779
  message: import("zod").ZodString;
248607
248780
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
248608
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
248781
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
248609
248782
  readAt: import("zod").ZodDate;
248610
248783
  metadata: import("zod").ZodAny;
248611
248784
  platformId: import("zod").ZodString;
@@ -253092,7 +253265,7 @@ export declare const feedPostContract: {
253092
253265
  updatedAt: import("zod").ZodDate;
253093
253266
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
253094
253267
  message: import("zod").ZodNullable<import("zod").ZodString>;
253095
- type: import("zod").ZodUnion<[import("zod").ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>, import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>]>;
253268
+ type: import("zod").ZodUnion<[import("zod").ZodEnum<["text", "added_photos", "shared_story", "mobile_status_update"]>, import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>]>;
253096
253269
  metadata: import("zod").ZodAny;
253097
253270
  platformId: import("zod").ZodString;
253098
253271
  platformMessageId: import("zod").ZodString;
@@ -255672,7 +255845,7 @@ export declare const feedPostContract: {
255672
255845
  page: import("zod").ZodNumber;
255673
255846
  pageSize: import("zod").ZodNumber;
255674
255847
  data: import("zod").ZodObject<{
255675
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
255848
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
255676
255849
  message: import("zod").ZodString;
255677
255850
  id: import("zod").ZodString;
255678
255851
  url: import("zod").ZodString;
@@ -259103,7 +259276,7 @@ export declare const feedPostContract: {
259103
259276
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
259104
259277
  message: import("zod").ZodString;
259105
259278
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
259106
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
259279
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
259107
259280
  readAt: import("zod").ZodDate;
259108
259281
  metadata: import("zod").ZodAny;
259109
259282
  platformId: import("zod").ZodString;
@@ -261230,7 +261403,7 @@ export declare const feedPostContract: {
261230
261403
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
261231
261404
  message: import("zod").ZodString;
261232
261405
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
261233
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
261406
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
261234
261407
  readAt: import("zod").ZodDate;
261235
261408
  metadata: import("zod").ZodAny;
261236
261409
  platformId: import("zod").ZodString;
@@ -264222,7 +264395,7 @@ export declare const feedPostContract: {
264222
264395
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
264223
264396
  message: import("zod").ZodString;
264224
264397
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
264225
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
264398
+ type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "carousel", "card", "choice", "dropdown", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
264226
264399
  readAt: import("zod").ZodDate;
264227
264400
  metadata: import("zod").ZodAny;
264228
264401
  platformId: import("zod").ZodString;
@@ -352701,6 +352874,131 @@ export declare const roleSettingContract: {
352701
352874
  'x-client-timezone'?: string | undefined;
352702
352875
  }>>>;
352703
352876
  };
352877
+ getRoleById: {
352878
+ summary: "Get role by Id";
352879
+ method: "GET";
352880
+ pathParams: import("zod").ZodObject<{
352881
+ id: import("zod").ZodString;
352882
+ }, "strip", import("zod").ZodTypeAny, {
352883
+ id: string;
352884
+ }, {
352885
+ id: string;
352886
+ }>;
352887
+ responses: {
352888
+ 200: import("zod").ZodObject<{
352889
+ id: import("zod").ZodString;
352890
+ createdAt: import("zod").ZodDate;
352891
+ updatedAt: import("zod").ZodDate;
352892
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
352893
+ systemName: import("zod").ZodString;
352894
+ displayName: import("zod").ZodString;
352895
+ description: import("zod").ZodNullable<import("zod").ZodString>;
352896
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
352897
+ id: import("zod").ZodString;
352898
+ createdAt: import("zod").ZodDate;
352899
+ updatedAt: import("zod").ZodDate;
352900
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
352901
+ systemName: import("zod").ZodString;
352902
+ displayName: import("zod").ZodString;
352903
+ description: import("zod").ZodNullable<import("zod").ZodString>;
352904
+ }, "strip", import("zod").ZodTypeAny, {
352905
+ id: string;
352906
+ description: string | null;
352907
+ createdAt: Date;
352908
+ updatedAt: Date;
352909
+ deletedAt: Date | null;
352910
+ systemName: string;
352911
+ displayName: string;
352912
+ }, {
352913
+ id: string;
352914
+ description: string | null;
352915
+ createdAt: Date;
352916
+ updatedAt: Date;
352917
+ deletedAt: Date | null;
352918
+ systemName: string;
352919
+ displayName: string;
352920
+ }>, "many">;
352921
+ }, "strip", import("zod").ZodTypeAny, {
352922
+ id: string;
352923
+ description: string | null;
352924
+ createdAt: Date;
352925
+ updatedAt: Date;
352926
+ deletedAt: Date | null;
352927
+ systemName: string;
352928
+ displayName: string;
352929
+ permissions: {
352930
+ id: string;
352931
+ description: string | null;
352932
+ createdAt: Date;
352933
+ updatedAt: Date;
352934
+ deletedAt: Date | null;
352935
+ systemName: string;
352936
+ displayName: string;
352937
+ }[];
352938
+ }, {
352939
+ id: string;
352940
+ description: string | null;
352941
+ createdAt: Date;
352942
+ updatedAt: Date;
352943
+ deletedAt: Date | null;
352944
+ systemName: string;
352945
+ displayName: string;
352946
+ permissions: {
352947
+ id: string;
352948
+ description: string | null;
352949
+ createdAt: Date;
352950
+ updatedAt: Date;
352951
+ deletedAt: Date | null;
352952
+ systemName: string;
352953
+ displayName: string;
352954
+ }[];
352955
+ }>;
352956
+ 400: import("zod").ZodObject<{
352957
+ message: import("zod").ZodString;
352958
+ }, "strip", import("zod").ZodTypeAny, {
352959
+ message: string;
352960
+ }, {
352961
+ message: string;
352962
+ }>;
352963
+ 401: import("zod").ZodObject<{
352964
+ message: import("zod").ZodString;
352965
+ error: import("zod").ZodAny;
352966
+ }, "strip", import("zod").ZodTypeAny, {
352967
+ message: string;
352968
+ error?: any;
352969
+ }, {
352970
+ message: string;
352971
+ error?: any;
352972
+ }>;
352973
+ 500: import("zod").ZodObject<{
352974
+ message: import("zod").ZodString;
352975
+ error: import("zod").ZodAny;
352976
+ }, "strip", import("zod").ZodTypeAny, {
352977
+ message: string;
352978
+ error?: any;
352979
+ }, {
352980
+ message: string;
352981
+ error?: any;
352982
+ }>;
352983
+ };
352984
+ path: "settings/role/:id";
352985
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
352986
+ 'x-tenant': import("zod").ZodString;
352987
+ authorization: import("zod").ZodString;
352988
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
352989
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
352990
+ }, "strip", import("zod").ZodTypeAny, {
352991
+ 'x-tenant': string;
352992
+ authorization: string;
352993
+ 'x-client-timezone': string;
352994
+ 'x-code'?: string | undefined;
352995
+ }, {
352996
+ 'x-tenant': string;
352997
+ authorization: string;
352998
+ 'x-code'?: string | undefined;
352999
+ 'x-client-timezone'?: string | undefined;
353000
+ }>>>;
353001
+ };
352704
353002
  };
352705
353003
  };
352706
353004
  export declare const permissionSettingContract: {