@webitel/ui-sdk 26.8.110 → 26.8.112
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.
- package/dist/{clients-CCAhrWQ1.js → clients-Be8f1qoM.js} +1044 -88
- package/dist/{components-8QlmRjrA.js → components-GY1xFZWr.js} +9 -9
- package/dist/{sortQueryAdapters-CyYXvnDN.js → sortQueryAdapters-Bb1yt_LD.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2 -2
- package/dist/ui-sdk.umd.cjs +831 -741
- package/dist/{wt-action-bar-ChLl_-jR.js → wt-action-bar-DJ_xvqhE.js} +1 -1
- package/dist/{wt-button-C-BRwWdy.js → wt-button-BmBqpEkp.js} +1 -1
- package/dist/{wt-chat-emoji-DyZNiPnd.js → wt-chat-emoji-E6MiDOCz.js} +3 -3
- package/dist/{wt-display-chip-items-BJEU4Ubm.js → wt-display-chip-items-Dr6QjwFR.js} +1 -1
- package/dist/{wt-icon-B8nQuJZu.js → wt-icon-CZlhT7Yb.js} +2 -1
- package/dist/{wt-icon-action-g26vM7fD.js → wt-icon-action-BXg3jVf6.js} +1 -1
- package/dist/{wt-icon-btn-BFRfANYh.js → wt-icon-btn-C8xuTCJR.js} +1 -1
- package/dist/{wt-notifications-bar-BnCbODMe.js → wt-notifications-bar-BDOKlHao.js} +1 -1
- package/dist/{wt-player-DnoC6Gci.js → wt-player-Dqlccj2F.js} +2 -2
- package/dist/{wt-send-message-popup-BC6n7kax.js → wt-send-message-popup-BL9aJz5t.js} +2 -2
- package/dist/{wt-table-C_91bkNX.js → wt-table-RK0pOlzR.js} +3 -3
- package/dist/{wt-toast-CBQIP-YS.js → wt-toast-DbYB-u-k.js} +1 -1
- package/dist/{wt-tree-table-B24eT18h.js → wt-tree-table-CCaiVeY_.js} +2 -2
- package/dist/{wt-type-extension-value-input-BM3MBBTf.js → wt-type-extension-value-input-DaSIbXbu.js} +2 -2
- package/dist/{wt-vidstack-player-Bm6Pt3g3.js → wt-vidstack-player-u4R9q51f.js} +3 -3
- package/package.json +109 -28
- package/src/assets/icons/sprite/consultative-transfer--filled.svg +4 -0
- package/src/assets/icons/sprite/consultative-transfer.svg +2 -2
- package/src/assets/icons/sprite/index.ts +2 -0
- package/src/components/wt-icon-action/__tests__/WtIconAction.spec.js +1 -1
- package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
- package/src/components/wt-table/wt-table.vue +1 -1
- package/src/locale/en/en.js +1 -1
- package/src/locale/es/es.js +1 -1
- package/src/locale/kz/kz.js +1 -1
- package/src/locale/pl/pl.js +1 -1
- package/src/locale/ro/ro.js +1 -1
- package/src/locale/ru/ru.js +1 -1
- package/src/locale/uk/uk.js +1 -1
- package/src/locale/uz/uz.js +1 -1
- package/src/locale/vi/vi.js +1 -1
- package/src/modules/QueryFilters/mixins/sortFilterMixin.js +1 -1
- package/src/modules/TableStoreModule/store/TableStoreModule.js +1 -1
- package/src/modules/TableStoreModule/store/__tests__/TableStoreModule.spec.js +1 -1
- package/src/scripts/__tests__/{sortQueryAdapters.spec.js → sortQueryAdapters.spec.ts} +6 -1
- package/src/scripts/index.js +2 -2
- package/src/scripts/sortQueryAdapters.ts +45 -0
- package/src/store/new/modules/tableStoreModule/__tests__/tableStoreModule.spec.js +1 -1
- package/src/store/new/modules/tableStoreModule/tableStoreModule.js +1 -1
- package/types/.tsbuildinfo +1 -1
- package/types/scripts/index.d.ts +2 -2
- package/types/scripts/sortQueryAdapters.d.ts +9 -7
- package/src/scripts/sortQueryAdapters.js +0 -38
- package/types/scripts/__tests__/sortQueryAdapters.spec.d.ts +0 -1
|
@@ -516,11 +516,13 @@ h.array(re), h.object({
|
|
|
516
516
|
close_reason: h.string().optional(),
|
|
517
517
|
closed_at: h.string().optional(),
|
|
518
518
|
contact: h.object({
|
|
519
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
519
520
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
520
521
|
name: h.string().optional().describe("Contact display **name**."),
|
|
521
522
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
522
523
|
}).optional().describe("Peer contact."),
|
|
523
524
|
gateway: h.object({
|
|
525
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
524
526
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
525
527
|
name: h.string().optional().describe("Contact display **name**."),
|
|
526
528
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -538,17 +540,20 @@ h.array(re), h.object({
|
|
|
538
540
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
539
541
|
left: h.string().optional(),
|
|
540
542
|
peer: h.object({
|
|
543
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
541
544
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
542
545
|
name: h.string().optional().describe("Contact display **name**."),
|
|
543
546
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
544
547
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
545
548
|
queue: h.object({
|
|
549
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
546
550
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
547
551
|
name: h.string().optional().describe("Contact display **name**."),
|
|
548
552
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
549
553
|
}).optional().describe("Peer contact."),
|
|
550
554
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
551
555
|
via: h.object({
|
|
556
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
552
557
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
553
558
|
name: h.string().optional().describe("Contact display **name**."),
|
|
554
559
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -565,6 +570,7 @@ h.array(re), h.object({
|
|
|
565
570
|
url: h.string().optional()
|
|
566
571
|
}).optional().describe("Message Media. Attachment."),
|
|
567
572
|
from: h.object({
|
|
573
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
568
574
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
569
575
|
name: h.string().optional().describe("Contact display **name**."),
|
|
570
576
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -601,17 +607,20 @@ h.array(re), h.object({
|
|
|
601
607
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
602
608
|
left: h.string().optional(),
|
|
603
609
|
peer: h.object({
|
|
610
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
604
611
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
605
612
|
name: h.string().optional().describe("Contact display **name**."),
|
|
606
613
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
607
614
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
608
615
|
queue: h.object({
|
|
616
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
609
617
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
610
618
|
name: h.string().optional().describe("Contact display **name**."),
|
|
611
619
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
612
620
|
}).optional().describe("Peer contact."),
|
|
613
621
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
614
622
|
via: h.object({
|
|
623
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
615
624
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
616
625
|
name: h.string().optional().describe("Contact display **name**."),
|
|
617
626
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -620,6 +629,7 @@ h.array(re), h.object({
|
|
|
620
629
|
text: h.string().optional().describe("Message Text.")
|
|
621
630
|
}).optional().describe("Chat Message."),
|
|
622
631
|
queue: h.object({
|
|
632
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
623
633
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
624
634
|
name: h.string().optional().describe("Contact display **name**."),
|
|
625
635
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -640,6 +650,19 @@ h.array(re), h.object({
|
|
|
640
650
|
sort: h.string().optional(),
|
|
641
651
|
fields: h.array(h.string()).optional(),
|
|
642
652
|
id: h.array(h.int()).optional()
|
|
653
|
+
}), h.object({
|
|
654
|
+
items: h.array(h.object({
|
|
655
|
+
id: h.int().optional(),
|
|
656
|
+
tag: h.string().optional()
|
|
657
|
+
})).optional(),
|
|
658
|
+
next: h.boolean().optional()
|
|
659
|
+
}), h.object({
|
|
660
|
+
page: h.int().optional(),
|
|
661
|
+
size: h.int().optional(),
|
|
662
|
+
q: h.string().optional(),
|
|
663
|
+
sort: h.string().optional(),
|
|
664
|
+
fields: h.array(h.string()).optional(),
|
|
665
|
+
id: h.array(h.int()).optional()
|
|
643
666
|
}), h.object({
|
|
644
667
|
items: h.array(h.object({
|
|
645
668
|
allow_admin: h.boolean().optional(),
|
|
@@ -3048,16 +3071,27 @@ h.object({
|
|
|
3048
3071
|
id: h.string().optional(),
|
|
3049
3072
|
name: h.string().optional(),
|
|
3050
3073
|
type: h.string().optional()
|
|
3051
|
-
}).optional().describe("User who
|
|
3074
|
+
}).optional().describe("User who attached the file."),
|
|
3052
3075
|
id: h.string().optional().describe("Storage file id."),
|
|
3053
3076
|
mime: h.string().optional().describe("MIME type."),
|
|
3054
3077
|
name: h.string().optional().describe("File name."),
|
|
3055
3078
|
size: h.string().optional().describe("File size in bytes."),
|
|
3056
|
-
source: h.string().optional().describe("Storage source."),
|
|
3057
3079
|
url: h.string().optional().describe("Download url.")
|
|
3058
3080
|
}).describe("File is metadata of a stored file bound to an article.")).optional().describe("Files on this page."),
|
|
3059
3081
|
next: h.boolean().optional().describe("Whether a next page exists.")
|
|
3060
|
-
}).describe("FileList is a page of files."), h.object({
|
|
3082
|
+
}).describe("FileList is a page of files."), h.object({ article_etag: h.string().describe("Concurrency token / locator of the owning article.") }), h.object({ file_id: h.string().optional().describe("Storage file id, as the upload returned it.") }).describe("AttachFileRequest binds a file already uploaded to Storage."), h.object({
|
|
3083
|
+
created_at: h.string().optional().describe("CreatedAt timestamp (epoch ms)."),
|
|
3084
|
+
created_by: h.object({
|
|
3085
|
+
id: h.string().optional(),
|
|
3086
|
+
name: h.string().optional(),
|
|
3087
|
+
type: h.string().optional()
|
|
3088
|
+
}).optional().describe("User who attached the file."),
|
|
3089
|
+
id: h.string().optional().describe("Storage file id."),
|
|
3090
|
+
mime: h.string().optional().describe("MIME type."),
|
|
3091
|
+
name: h.string().optional().describe("File name."),
|
|
3092
|
+
size: h.string().optional().describe("File size in bytes."),
|
|
3093
|
+
url: h.string().optional().describe("Download url.")
|
|
3094
|
+
}).describe("File is metadata of a stored file bound to an article."), h.object({
|
|
3061
3095
|
article_etag: h.string().describe("Concurrency token / locator of the owning article."),
|
|
3062
3096
|
id: h.string().describe("File id.")
|
|
3063
3097
|
}), h.object({
|
|
@@ -3066,12 +3100,11 @@ h.object({
|
|
|
3066
3100
|
id: h.string().optional(),
|
|
3067
3101
|
name: h.string().optional(),
|
|
3068
3102
|
type: h.string().optional()
|
|
3069
|
-
}).optional().describe("User who
|
|
3103
|
+
}).optional().describe("User who attached the file."),
|
|
3070
3104
|
id: h.string().optional().describe("Storage file id."),
|
|
3071
3105
|
mime: h.string().optional().describe("MIME type."),
|
|
3072
3106
|
name: h.string().optional().describe("File name."),
|
|
3073
3107
|
size: h.string().optional().describe("File size in bytes."),
|
|
3074
|
-
source: h.string().optional().describe("Storage source."),
|
|
3075
3108
|
url: h.string().optional().describe("Download url.")
|
|
3076
3109
|
}).describe("File is metadata of a stored file bound to an article."), h.object({
|
|
3077
3110
|
page: h.int().optional(),
|
|
@@ -4786,6 +4819,7 @@ h.object({
|
|
|
4786
4819
|
id: h.string().optional(),
|
|
4787
4820
|
name: h.string().optional()
|
|
4788
4821
|
}).optional(),
|
|
4822
|
+
user_agent: h.string().optional(),
|
|
4789
4823
|
variables: h.record(h.string(), h.string()).optional(),
|
|
4790
4824
|
wait_sec: h.int().optional()
|
|
4791
4825
|
})).optional(),
|
|
@@ -5073,6 +5107,7 @@ h.object({
|
|
|
5073
5107
|
id: h.string().optional(),
|
|
5074
5108
|
name: h.string().optional()
|
|
5075
5109
|
}).optional(),
|
|
5110
|
+
user_agent: h.string().optional(),
|
|
5076
5111
|
variables: h.record(h.string(), h.string()).optional(),
|
|
5077
5112
|
wait_sec: h.int().optional()
|
|
5078
5113
|
})).optional(),
|
|
@@ -5423,9 +5458,129 @@ h.object({
|
|
|
5423
5458
|
id: h.string().optional(),
|
|
5424
5459
|
name: h.string().optional()
|
|
5425
5460
|
}).optional(),
|
|
5461
|
+
user_agent: h.string().optional(),
|
|
5426
5462
|
variables: h.record(h.string(), h.string()).optional(),
|
|
5427
5463
|
wait_sec: h.int().optional()
|
|
5428
|
-
}), h.object({
|
|
5464
|
+
}), h.object({ id: h.string() }), h.object({
|
|
5465
|
+
description: h.string().optional(),
|
|
5466
|
+
variables: h.record(h.string(), h.string()).optional()
|
|
5467
|
+
}), h.object({
|
|
5468
|
+
description: h.string().optional(),
|
|
5469
|
+
id: h.string().optional(),
|
|
5470
|
+
variables: h.record(h.string(), h.string()).optional()
|
|
5471
|
+
}), h.object({ article_id: h.string() }), h.object({
|
|
5472
|
+
page: h.int().optional(),
|
|
5473
|
+
size: h.int().optional()
|
|
5474
|
+
}), h.object({
|
|
5475
|
+
items: h.array(h.object({
|
|
5476
|
+
article: h.object({
|
|
5477
|
+
id: h.string().optional(),
|
|
5478
|
+
name: h.string().optional()
|
|
5479
|
+
}).optional().describe("Knowledge base article; id only."),
|
|
5480
|
+
case: h.object({
|
|
5481
|
+
color: h.string().optional(),
|
|
5482
|
+
etag: h.string().optional(),
|
|
5483
|
+
id: h.string().optional(),
|
|
5484
|
+
name: h.string().optional(),
|
|
5485
|
+
subject: h.string().optional(),
|
|
5486
|
+
ver: h.int().optional()
|
|
5487
|
+
}).optional().describe("Linked case; set on the article side."),
|
|
5488
|
+
created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
|
|
5489
|
+
created_by: h.object({
|
|
5490
|
+
id: h.string().optional(),
|
|
5491
|
+
name: h.string().optional()
|
|
5492
|
+
}).optional().describe("Empty for the close article."),
|
|
5493
|
+
source: h.enum([
|
|
5494
|
+
"CASE_ARTICLE_SOURCE_UNSPECIFIED",
|
|
5495
|
+
"CASE_ARTICLE_SOURCE_MANUAL",
|
|
5496
|
+
"CASE_ARTICLE_SOURCE_RESOLUTION"
|
|
5497
|
+
]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
|
|
5498
|
+
}).describe("Knowledge base article linked to a case.")).optional(),
|
|
5499
|
+
next: h.boolean().optional(),
|
|
5500
|
+
page: h.string().optional()
|
|
5501
|
+
}), h.object({ case_etag: h.string() }), h.object({
|
|
5502
|
+
page: h.int().optional(),
|
|
5503
|
+
size: h.int().optional()
|
|
5504
|
+
}), h.object({
|
|
5505
|
+
items: h.array(h.object({
|
|
5506
|
+
article: h.object({
|
|
5507
|
+
id: h.string().optional(),
|
|
5508
|
+
name: h.string().optional()
|
|
5509
|
+
}).optional().describe("Knowledge base article; id only."),
|
|
5510
|
+
case: h.object({
|
|
5511
|
+
color: h.string().optional(),
|
|
5512
|
+
etag: h.string().optional(),
|
|
5513
|
+
id: h.string().optional(),
|
|
5514
|
+
name: h.string().optional(),
|
|
5515
|
+
subject: h.string().optional(),
|
|
5516
|
+
ver: h.int().optional()
|
|
5517
|
+
}).optional().describe("Linked case; set on the article side."),
|
|
5518
|
+
created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
|
|
5519
|
+
created_by: h.object({
|
|
5520
|
+
id: h.string().optional(),
|
|
5521
|
+
name: h.string().optional()
|
|
5522
|
+
}).optional().describe("Empty for the close article."),
|
|
5523
|
+
source: h.enum([
|
|
5524
|
+
"CASE_ARTICLE_SOURCE_UNSPECIFIED",
|
|
5525
|
+
"CASE_ARTICLE_SOURCE_MANUAL",
|
|
5526
|
+
"CASE_ARTICLE_SOURCE_RESOLUTION"
|
|
5527
|
+
]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
|
|
5528
|
+
}).describe("Knowledge base article linked to a case.")).optional(),
|
|
5529
|
+
next: h.boolean().optional(),
|
|
5530
|
+
page: h.string().optional()
|
|
5531
|
+
}), h.object({ case_etag: h.string() }), h.object({ article: h.object({
|
|
5532
|
+
id: h.string().optional(),
|
|
5533
|
+
name: h.string().optional()
|
|
5534
|
+
}).optional().describe("Knowledge base article to link.") }), h.object({
|
|
5535
|
+
article: h.object({
|
|
5536
|
+
id: h.string().optional(),
|
|
5537
|
+
name: h.string().optional()
|
|
5538
|
+
}).optional().describe("Knowledge base article; id only."),
|
|
5539
|
+
case: h.object({
|
|
5540
|
+
color: h.string().optional(),
|
|
5541
|
+
etag: h.string().optional(),
|
|
5542
|
+
id: h.string().optional(),
|
|
5543
|
+
name: h.string().optional(),
|
|
5544
|
+
subject: h.string().optional(),
|
|
5545
|
+
ver: h.int().optional()
|
|
5546
|
+
}).optional().describe("Linked case; set on the article side."),
|
|
5547
|
+
created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
|
|
5548
|
+
created_by: h.object({
|
|
5549
|
+
id: h.string().optional(),
|
|
5550
|
+
name: h.string().optional()
|
|
5551
|
+
}).optional().describe("Empty for the close article."),
|
|
5552
|
+
source: h.enum([
|
|
5553
|
+
"CASE_ARTICLE_SOURCE_UNSPECIFIED",
|
|
5554
|
+
"CASE_ARTICLE_SOURCE_MANUAL",
|
|
5555
|
+
"CASE_ARTICLE_SOURCE_RESOLUTION"
|
|
5556
|
+
]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
|
|
5557
|
+
}).describe("Knowledge base article linked to a case."), h.object({
|
|
5558
|
+
case_etag: h.string(),
|
|
5559
|
+
article_id: h.string()
|
|
5560
|
+
}), h.object({
|
|
5561
|
+
article: h.object({
|
|
5562
|
+
id: h.string().optional(),
|
|
5563
|
+
name: h.string().optional()
|
|
5564
|
+
}).optional().describe("Knowledge base article; id only."),
|
|
5565
|
+
case: h.object({
|
|
5566
|
+
color: h.string().optional(),
|
|
5567
|
+
etag: h.string().optional(),
|
|
5568
|
+
id: h.string().optional(),
|
|
5569
|
+
name: h.string().optional(),
|
|
5570
|
+
subject: h.string().optional(),
|
|
5571
|
+
ver: h.int().optional()
|
|
5572
|
+
}).optional().describe("Linked case; set on the article side."),
|
|
5573
|
+
created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
|
|
5574
|
+
created_by: h.object({
|
|
5575
|
+
id: h.string().optional(),
|
|
5576
|
+
name: h.string().optional()
|
|
5577
|
+
}).optional().describe("Empty for the close article."),
|
|
5578
|
+
source: h.enum([
|
|
5579
|
+
"CASE_ARTICLE_SOURCE_UNSPECIFIED",
|
|
5580
|
+
"CASE_ARTICLE_SOURCE_MANUAL",
|
|
5581
|
+
"CASE_ARTICLE_SOURCE_RESOLUTION"
|
|
5582
|
+
]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
|
|
5583
|
+
}).describe("Knowledge base article linked to a case."), h.object({ etag: h.string().describe("Identifier of the comment to delete.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to return after deletion.") }), h.object({
|
|
5429
5584
|
author: h.object({
|
|
5430
5585
|
id: h.string().optional(),
|
|
5431
5586
|
name: h.string().optional()
|
|
@@ -6005,6 +6160,10 @@ h.object({
|
|
|
6005
6160
|
id: h.string().optional(),
|
|
6006
6161
|
name: h.string().optional()
|
|
6007
6162
|
}).optional().describe("Author or reporter of the case."),
|
|
6163
|
+
close_article: h.object({
|
|
6164
|
+
id: h.string().optional(),
|
|
6165
|
+
name: h.string().optional()
|
|
6166
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
6008
6167
|
close_reason: h.object({
|
|
6009
6168
|
id: h.string().optional(),
|
|
6010
6169
|
name: h.string().optional()
|
|
@@ -6077,6 +6236,8 @@ h.object({
|
|
|
6077
6236
|
name: h.string().optional(),
|
|
6078
6237
|
type: h.string().optional()
|
|
6079
6238
|
}).optional().describe("Group associated with the case."),
|
|
6239
|
+
has_next: h.boolean().optional(),
|
|
6240
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
6080
6241
|
id: h.string().optional().describe("Unique case ID."),
|
|
6081
6242
|
impacted: h.object({
|
|
6082
6243
|
id: h.string().optional(),
|
|
@@ -6294,6 +6455,10 @@ var ae = h.object({
|
|
|
6294
6455
|
id: h.string().optional(),
|
|
6295
6456
|
name: h.string().optional()
|
|
6296
6457
|
}).optional().describe("Optional assignee ID."),
|
|
6458
|
+
close_article: h.object({
|
|
6459
|
+
id: h.string().optional(),
|
|
6460
|
+
name: h.string().optional()
|
|
6461
|
+
}).optional().describe("Optional knowledge base article chosen as the close reason."),
|
|
6297
6462
|
close_reason: h.object({
|
|
6298
6463
|
id: h.string().optional(),
|
|
6299
6464
|
name: h.string().optional()
|
|
@@ -6380,6 +6545,10 @@ h.object({
|
|
|
6380
6545
|
id: h.string().optional(),
|
|
6381
6546
|
name: h.string().optional()
|
|
6382
6547
|
}).optional().describe("Author or reporter of the case."),
|
|
6548
|
+
close_article: h.object({
|
|
6549
|
+
id: h.string().optional(),
|
|
6550
|
+
name: h.string().optional()
|
|
6551
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
6383
6552
|
close_reason: h.object({
|
|
6384
6553
|
id: h.string().optional(),
|
|
6385
6554
|
name: h.string().optional()
|
|
@@ -6452,6 +6621,8 @@ h.object({
|
|
|
6452
6621
|
name: h.string().optional(),
|
|
6453
6622
|
type: h.string().optional()
|
|
6454
6623
|
}).optional().describe("Group associated with the case."),
|
|
6624
|
+
has_next: h.boolean().optional(),
|
|
6625
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
6455
6626
|
id: h.string().optional().describe("Unique case ID."),
|
|
6456
6627
|
impacted: h.object({
|
|
6457
6628
|
id: h.string().optional(),
|
|
@@ -6684,6 +6855,310 @@ h.object({
|
|
|
6684
6855
|
id: h.string().optional(),
|
|
6685
6856
|
name: h.string().optional()
|
|
6686
6857
|
}).optional().describe("Author or reporter of the case."),
|
|
6858
|
+
close_article: h.object({
|
|
6859
|
+
id: h.string().optional(),
|
|
6860
|
+
name: h.string().optional()
|
|
6861
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
6862
|
+
close_reason: h.object({
|
|
6863
|
+
id: h.string().optional(),
|
|
6864
|
+
name: h.string().optional()
|
|
6865
|
+
}).optional(),
|
|
6866
|
+
close_reason_group: h.object({
|
|
6867
|
+
id: h.string().optional(),
|
|
6868
|
+
name: h.string().optional()
|
|
6869
|
+
}).optional().describe("Close reason group, immutable once set."),
|
|
6870
|
+
close_result: h.string().optional(),
|
|
6871
|
+
comments: h.object({
|
|
6872
|
+
items: h.array(h.object({
|
|
6873
|
+
author: h.object({
|
|
6874
|
+
id: h.string().optional(),
|
|
6875
|
+
name: h.string().optional()
|
|
6876
|
+
}).optional().describe("Contact-author of the comment."),
|
|
6877
|
+
can_edit: h.boolean().optional().describe("Indicates if the comment can be edited by current user."),
|
|
6878
|
+
case_id: h.string().optional().describe("Optional relation to the associated case."),
|
|
6879
|
+
created_at: h.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),
|
|
6880
|
+
created_by: h.object({
|
|
6881
|
+
id: h.string().optional(),
|
|
6882
|
+
name: h.string().optional()
|
|
6883
|
+
}).optional().describe("User who created the comment."),
|
|
6884
|
+
edited: h.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),
|
|
6885
|
+
etag: h.string().optional(),
|
|
6886
|
+
id: h.string().optional().describe("Main identifier for read, update, and delete operations."),
|
|
6887
|
+
role_ids: h.array(h.string()).optional(),
|
|
6888
|
+
text: h.string().optional().describe("The content of the comment."),
|
|
6889
|
+
updated_at: h.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
6890
|
+
updated_by: h.object({
|
|
6891
|
+
id: h.string().optional(),
|
|
6892
|
+
name: h.string().optional()
|
|
6893
|
+
}).optional().describe("User who last updated the comment."),
|
|
6894
|
+
ver: h.int().optional().describe("Version number of the comment, used for concurrency control.")
|
|
6895
|
+
}).describe("Represents a comment associated with a case.")).optional().describe("List of comments on the current page."),
|
|
6896
|
+
next: h.boolean().optional().describe("Flag to indicate if more pages are available."),
|
|
6897
|
+
page: h.string().optional().describe("Current page number.")
|
|
6898
|
+
}).optional().describe("List of comments on the case."),
|
|
6899
|
+
contact_info: h.string().optional().describe("Contact information for the case."),
|
|
6900
|
+
created_at: h.string().optional().describe("Creation timestamp (in milliseconds since Unix epoch)."),
|
|
6901
|
+
created_by: h.object({
|
|
6902
|
+
id: h.string().optional(),
|
|
6903
|
+
name: h.string().optional()
|
|
6904
|
+
}).optional().describe("Creator of the case."),
|
|
6905
|
+
custom: h.looseObject({}).optional().describe("Custom data extension fields .."),
|
|
6906
|
+
dc: h.string().optional(),
|
|
6907
|
+
description: h.string().optional().describe("Detailed description of the case."),
|
|
6908
|
+
difference_in_reaction: h.string().optional(),
|
|
6909
|
+
difference_in_resolve: h.string().optional(),
|
|
6910
|
+
etag: h.string().optional().describe("Unique etag identifier."),
|
|
6911
|
+
files: h.object({
|
|
6912
|
+
items: h.array(h.object({
|
|
6913
|
+
created_at: h.string().optional().describe("Creation timestamp in Unix milliseconds."),
|
|
6914
|
+
created_by: h.object({
|
|
6915
|
+
id: h.string().optional(),
|
|
6916
|
+
name: h.string().optional(),
|
|
6917
|
+
type: h.string().optional()
|
|
6918
|
+
}).optional().describe("Creator of the file."),
|
|
6919
|
+
id: h.string().optional().describe("Storage file ID."),
|
|
6920
|
+
mime: h.string().optional().describe("MIME type of the file."),
|
|
6921
|
+
name: h.string().optional().describe("File name."),
|
|
6922
|
+
size: h.string().optional().describe("File size in bytes."),
|
|
6923
|
+
source: h.string().optional(),
|
|
6924
|
+
url: h.string().optional()
|
|
6925
|
+
}).describe("Metadata for a file associated with a case.")).optional().describe("List of case files."),
|
|
6926
|
+
next: h.boolean().optional().describe("Indicator if there is a next page."),
|
|
6927
|
+
page: h.string().optional().describe("Current page number.")
|
|
6928
|
+
}).optional().describe("List of attached files."),
|
|
6929
|
+
group: h.object({
|
|
6930
|
+
id: h.string().optional(),
|
|
6931
|
+
name: h.string().optional(),
|
|
6932
|
+
type: h.string().optional()
|
|
6933
|
+
}).optional().describe("Group associated with the case."),
|
|
6934
|
+
has_next: h.boolean().optional(),
|
|
6935
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
6936
|
+
id: h.string().optional().describe("Unique case ID."),
|
|
6937
|
+
impacted: h.object({
|
|
6938
|
+
id: h.string().optional(),
|
|
6939
|
+
name: h.string().optional()
|
|
6940
|
+
}).optional().describe("Impacted contact (defaults to reporter if null)."),
|
|
6941
|
+
links: h.object({
|
|
6942
|
+
items: h.array(h.object({
|
|
6943
|
+
author: h.object({
|
|
6944
|
+
id: h.string().optional(),
|
|
6945
|
+
name: h.string().optional()
|
|
6946
|
+
}).optional(),
|
|
6947
|
+
created_at: h.string().optional(),
|
|
6948
|
+
created_by: h.object({
|
|
6949
|
+
id: h.string().optional(),
|
|
6950
|
+
name: h.string().optional()
|
|
6951
|
+
}).optional(),
|
|
6952
|
+
etag: h.string().optional(),
|
|
6953
|
+
id: h.string().optional(),
|
|
6954
|
+
name: h.string().optional(),
|
|
6955
|
+
updated_at: h.string().optional(),
|
|
6956
|
+
updated_by: h.object({
|
|
6957
|
+
id: h.string().optional(),
|
|
6958
|
+
name: h.string().optional()
|
|
6959
|
+
}).optional(),
|
|
6960
|
+
url: h.string().optional(),
|
|
6961
|
+
ver: h.int().optional()
|
|
6962
|
+
})).optional(),
|
|
6963
|
+
next: h.boolean().optional(),
|
|
6964
|
+
page: h.string().optional()
|
|
6965
|
+
}).optional().describe("List of attached links."),
|
|
6966
|
+
name: h.string().optional().describe("Name of the case (may serve as an ID in docs)."),
|
|
6967
|
+
planned_reaction_at: h.string().optional().describe("Planned reaction time (in milliseconds)."),
|
|
6968
|
+
planned_resolve_at: h.string().optional().describe("Planned resolution time (in milliseconds)."),
|
|
6969
|
+
priority: h.object({
|
|
6970
|
+
color: h.string(),
|
|
6971
|
+
created_at: h.string(),
|
|
6972
|
+
created_by: h.object({
|
|
6973
|
+
id: h.string().optional(),
|
|
6974
|
+
name: h.string().optional()
|
|
6975
|
+
}),
|
|
6976
|
+
description: h.string().optional(),
|
|
6977
|
+
id: h.string(),
|
|
6978
|
+
name: h.string(),
|
|
6979
|
+
updated_at: h.string(),
|
|
6980
|
+
updated_by: h.object({
|
|
6981
|
+
id: h.string().optional(),
|
|
6982
|
+
name: h.string().optional()
|
|
6983
|
+
})
|
|
6984
|
+
}).optional().describe("Priority level of the case."),
|
|
6985
|
+
rating: h.string().optional(),
|
|
6986
|
+
rating_comment: h.string().optional(),
|
|
6987
|
+
reacted_at: h.string().optional(),
|
|
6988
|
+
related: h.object({
|
|
6989
|
+
data: h.array(h.object({
|
|
6990
|
+
created_at: h.string().optional().describe("Timestamp (in milliseconds) of when the relation was created."),
|
|
6991
|
+
created_by: h.object({
|
|
6992
|
+
id: h.string().optional(),
|
|
6993
|
+
name: h.string().optional()
|
|
6994
|
+
}).optional().describe("User who created the relation."),
|
|
6995
|
+
etag: h.string().optional().describe("Etag for the related case entity."),
|
|
6996
|
+
id: h.string().optional().describe("Unique identifier for the related case."),
|
|
6997
|
+
primary_case: h.object({
|
|
6998
|
+
color: h.string().optional(),
|
|
6999
|
+
etag: h.string().optional(),
|
|
7000
|
+
id: h.string().optional(),
|
|
7001
|
+
name: h.string().optional(),
|
|
7002
|
+
subject: h.string().optional(),
|
|
7003
|
+
ver: h.int().optional()
|
|
7004
|
+
}).optional().describe("Primary case details."),
|
|
7005
|
+
related_case: h.object({
|
|
7006
|
+
color: h.string().optional(),
|
|
7007
|
+
etag: h.string().optional(),
|
|
7008
|
+
id: h.string().optional(),
|
|
7009
|
+
name: h.string().optional(),
|
|
7010
|
+
subject: h.string().optional(),
|
|
7011
|
+
ver: h.int().optional()
|
|
7012
|
+
}).optional().describe("Related case details."),
|
|
7013
|
+
relation_type: h.enum([
|
|
7014
|
+
"RELATION_TYPE_UNSPECIFIED",
|
|
7015
|
+
"DUPLICATES",
|
|
7016
|
+
"IS_DUPLICATED_BY",
|
|
7017
|
+
"BLOCKS",
|
|
7018
|
+
"IS_BLOCKED_BY",
|
|
7019
|
+
"CAUSES",
|
|
7020
|
+
"IS_CAUSED_BY",
|
|
7021
|
+
"IS_CHILD_OF",
|
|
7022
|
+
"IS_PARENT_OF",
|
|
7023
|
+
"RELATES_TO"
|
|
7024
|
+
]).default("RELATION_TYPE_UNSPECIFIED").describe("Relation type between cases."),
|
|
7025
|
+
updated_at: h.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
7026
|
+
updated_by: h.object({
|
|
7027
|
+
id: h.string().optional(),
|
|
7028
|
+
name: h.string().optional()
|
|
7029
|
+
}).optional().describe("User who last updated the relation."),
|
|
7030
|
+
ver: h.int().optional().describe("Version number of the related case, used for concurrency control.")
|
|
7031
|
+
}).describe("Represents a related case with its relationship details.")).optional().describe("List of related cases on the current page."),
|
|
7032
|
+
next: h.boolean().optional().describe("Flag to indicate if more pages are available."),
|
|
7033
|
+
page: h.string().optional().describe("Current page number.")
|
|
7034
|
+
}).optional().describe("List of related cases."),
|
|
7035
|
+
reporter: h.object({
|
|
7036
|
+
id: h.string().optional(),
|
|
7037
|
+
name: h.string().optional()
|
|
7038
|
+
}).optional().describe("Reporter of the issue (null if anonymous)."),
|
|
7039
|
+
resolved_at: h.string().optional(),
|
|
7040
|
+
role_ids: h.array(h.string()).optional(),
|
|
7041
|
+
service: h.object({
|
|
7042
|
+
assignee: h.object({
|
|
7043
|
+
id: h.string().optional(),
|
|
7044
|
+
name: h.string().optional()
|
|
7045
|
+
}).optional(),
|
|
7046
|
+
catalog_id: h.string().optional(),
|
|
7047
|
+
code: h.string().optional(),
|
|
7048
|
+
created_at: h.string().optional(),
|
|
7049
|
+
created_by: h.object({
|
|
7050
|
+
id: h.string().optional(),
|
|
7051
|
+
name: h.string().optional()
|
|
7052
|
+
}).optional(),
|
|
7053
|
+
default_priority: h.object({
|
|
7054
|
+
color: h.string(),
|
|
7055
|
+
created_at: h.string(),
|
|
7056
|
+
created_by: h.object({
|
|
7057
|
+
id: h.string().optional(),
|
|
7058
|
+
name: h.string().optional()
|
|
7059
|
+
}),
|
|
7060
|
+
description: h.string().optional(),
|
|
7061
|
+
id: h.string(),
|
|
7062
|
+
name: h.string(),
|
|
7063
|
+
updated_at: h.string(),
|
|
7064
|
+
updated_by: h.object({
|
|
7065
|
+
id: h.string().optional(),
|
|
7066
|
+
name: h.string().optional()
|
|
7067
|
+
})
|
|
7068
|
+
}).optional().describe("Priority message represents a priority entity with metadata."),
|
|
7069
|
+
description: h.string().optional(),
|
|
7070
|
+
group: h.object({
|
|
7071
|
+
id: h.string().optional(),
|
|
7072
|
+
name: h.string().optional(),
|
|
7073
|
+
type: h.string().optional()
|
|
7074
|
+
}).optional(),
|
|
7075
|
+
id: h.string().optional(),
|
|
7076
|
+
name: h.string().optional(),
|
|
7077
|
+
root_id: h.string().optional(),
|
|
7078
|
+
searched: h.boolean().optional(),
|
|
7079
|
+
service: h.array(h.unknown()).optional(),
|
|
7080
|
+
sla: h.object({
|
|
7081
|
+
id: h.string().optional(),
|
|
7082
|
+
name: h.string().optional()
|
|
7083
|
+
}).optional(),
|
|
7084
|
+
state: h.boolean().optional(),
|
|
7085
|
+
updated_at: h.string().optional(),
|
|
7086
|
+
updated_by: h.object({
|
|
7087
|
+
id: h.string().optional(),
|
|
7088
|
+
name: h.string().optional()
|
|
7089
|
+
}).optional()
|
|
7090
|
+
}).optional().describe("Service associated with the case."),
|
|
7091
|
+
sla: h.object({
|
|
7092
|
+
id: h.string().optional(),
|
|
7093
|
+
name: h.string().optional()
|
|
7094
|
+
}).optional().describe("SLA associated with the case."),
|
|
7095
|
+
sla_condition: h.object({
|
|
7096
|
+
id: h.string().optional(),
|
|
7097
|
+
name: h.string().optional()
|
|
7098
|
+
}).optional().describe("List of SLA conditions."),
|
|
7099
|
+
source: h.object({
|
|
7100
|
+
id: h.string().optional(),
|
|
7101
|
+
name: h.string().optional(),
|
|
7102
|
+
type: h.enum([
|
|
7103
|
+
"TYPE_UNSPECIFIED",
|
|
7104
|
+
"CALL",
|
|
7105
|
+
"CHAT",
|
|
7106
|
+
"SOCIAL_MEDIA",
|
|
7107
|
+
"EMAIL",
|
|
7108
|
+
"API",
|
|
7109
|
+
"MANUAL"
|
|
7110
|
+
]).default("TYPE_UNSPECIFIED").describe("Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.")
|
|
7111
|
+
}).optional().describe("Source of the case."),
|
|
7112
|
+
status: h.object({
|
|
7113
|
+
id: h.string().optional(),
|
|
7114
|
+
name: h.string().optional()
|
|
7115
|
+
}).optional().describe("Current status of the case."),
|
|
7116
|
+
status_condition: h.object({
|
|
7117
|
+
created_at: h.string().optional(),
|
|
7118
|
+
created_by: h.object({
|
|
7119
|
+
id: h.string().optional(),
|
|
7120
|
+
name: h.string().optional()
|
|
7121
|
+
}).optional(),
|
|
7122
|
+
description: h.string().optional(),
|
|
7123
|
+
final: h.boolean().optional(),
|
|
7124
|
+
id: h.string().optional(),
|
|
7125
|
+
initial: h.boolean().optional(),
|
|
7126
|
+
name: h.string().optional(),
|
|
7127
|
+
status_id: h.string().optional(),
|
|
7128
|
+
updated_at: h.string().optional(),
|
|
7129
|
+
updated_by: h.object({
|
|
7130
|
+
id: h.string().optional(),
|
|
7131
|
+
name: h.string().optional()
|
|
7132
|
+
}).optional()
|
|
7133
|
+
}).optional().describe("Status condition from status lookup."),
|
|
7134
|
+
subject: h.string().optional().describe("Subject of the case."),
|
|
7135
|
+
updated_at: h.string().optional().describe("Last update timestamp (in milliseconds since Unix epoch)."),
|
|
7136
|
+
updated_by: h.object({
|
|
7137
|
+
id: h.string().optional(),
|
|
7138
|
+
name: h.string().optional()
|
|
7139
|
+
}).optional().describe("Last updater of the case."),
|
|
7140
|
+
ver: h.int().optional().describe("Version number of the case.")
|
|
7141
|
+
}).describe("Message representing a case."), h.object({ etag: h.string().describe("Unique etag identifier of the case.") }), h.object({
|
|
7142
|
+
fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
|
|
7143
|
+
q: h.string().optional().describe("filters for next/prev case"),
|
|
7144
|
+
qin: h.string().optional(),
|
|
7145
|
+
sort: h.string().optional(),
|
|
7146
|
+
filters: h.array(h.string()).optional(),
|
|
7147
|
+
filters_v1: h.string().optional(),
|
|
7148
|
+
contact_id: h.string().optional()
|
|
7149
|
+
}), h.object({
|
|
7150
|
+
assignee: h.object({
|
|
7151
|
+
id: h.string().optional(),
|
|
7152
|
+
name: h.string().optional()
|
|
7153
|
+
}).optional().describe("Assignee responsible for resolving the case."),
|
|
7154
|
+
author: h.object({
|
|
7155
|
+
id: h.string().optional(),
|
|
7156
|
+
name: h.string().optional()
|
|
7157
|
+
}).optional().describe("Author or reporter of the case."),
|
|
7158
|
+
close_article: h.object({
|
|
7159
|
+
id: h.string().optional(),
|
|
7160
|
+
name: h.string().optional()
|
|
7161
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
6687
7162
|
close_reason: h.object({
|
|
6688
7163
|
id: h.string().optional(),
|
|
6689
7164
|
name: h.string().optional()
|
|
@@ -6756,6 +7231,8 @@ h.object({
|
|
|
6756
7231
|
name: h.string().optional(),
|
|
6757
7232
|
type: h.string().optional()
|
|
6758
7233
|
}).optional().describe("Group associated with the case."),
|
|
7234
|
+
has_next: h.boolean().optional(),
|
|
7235
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
6759
7236
|
id: h.string().optional().describe("Unique case ID."),
|
|
6760
7237
|
impacted: h.object({
|
|
6761
7238
|
id: h.string().optional(),
|
|
@@ -6961,7 +7438,20 @@ h.object({
|
|
|
6961
7438
|
name: h.string().optional()
|
|
6962
7439
|
}).optional().describe("Last updater of the case."),
|
|
6963
7440
|
ver: h.int().optional().describe("Version number of the case.")
|
|
6964
|
-
}).describe("Message representing a case."), h.object({ etag: h.string().describe("
|
|
7441
|
+
}).describe("Message representing a case."), h.object({ etag: h.string().describe("Etag of the case currently open, to step away from.") }), h.object({
|
|
7442
|
+
direction: h.enum([
|
|
7443
|
+
"CASE_NAV_DIRECTION_UNSPECIFIED",
|
|
7444
|
+
"NEXT",
|
|
7445
|
+
"PREV"
|
|
7446
|
+
]).default("CASE_NAV_DIRECTION_UNSPECIFIED").describe("Required: which way to step."),
|
|
7447
|
+
fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
|
|
7448
|
+
q: h.string().optional().describe("Same list context as LocateCaseRequest, and it must match what that call used."),
|
|
7449
|
+
qin: h.string().optional(),
|
|
7450
|
+
sort: h.string().optional(),
|
|
7451
|
+
filters: h.array(h.string()).optional(),
|
|
7452
|
+
filters_v1: h.string().optional(),
|
|
7453
|
+
contact_id: h.string().optional()
|
|
7454
|
+
}), h.object({
|
|
6965
7455
|
assignee: h.object({
|
|
6966
7456
|
id: h.string().optional(),
|
|
6967
7457
|
name: h.string().optional()
|
|
@@ -6970,6 +7460,10 @@ h.object({
|
|
|
6970
7460
|
id: h.string().optional(),
|
|
6971
7461
|
name: h.string().optional()
|
|
6972
7462
|
}).optional().describe("Author or reporter of the case."),
|
|
7463
|
+
close_article: h.object({
|
|
7464
|
+
id: h.string().optional(),
|
|
7465
|
+
name: h.string().optional()
|
|
7466
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
6973
7467
|
close_reason: h.object({
|
|
6974
7468
|
id: h.string().optional(),
|
|
6975
7469
|
name: h.string().optional()
|
|
@@ -7042,6 +7536,8 @@ h.object({
|
|
|
7042
7536
|
name: h.string().optional(),
|
|
7043
7537
|
type: h.string().optional()
|
|
7044
7538
|
}).optional().describe("Group associated with the case."),
|
|
7539
|
+
has_next: h.boolean().optional(),
|
|
7540
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
7045
7541
|
id: h.string().optional().describe("Unique case ID."),
|
|
7046
7542
|
impacted: h.object({
|
|
7047
7543
|
id: h.string().optional(),
|
|
@@ -7256,6 +7752,10 @@ h.object({
|
|
|
7256
7752
|
id: h.string().optional(),
|
|
7257
7753
|
name: h.string().optional()
|
|
7258
7754
|
}).optional(),
|
|
7755
|
+
close_article: h.object({
|
|
7756
|
+
id: h.string().optional(),
|
|
7757
|
+
name: h.string().optional()
|
|
7758
|
+
}).optional(),
|
|
7259
7759
|
close_reason: h.object({
|
|
7260
7760
|
id: h.string().optional(),
|
|
7261
7761
|
name: h.string().optional()
|
|
@@ -7327,6 +7827,10 @@ h.object({
|
|
|
7327
7827
|
id: h.string().optional(),
|
|
7328
7828
|
name: h.string().optional()
|
|
7329
7829
|
}).optional().describe("Author or reporter of the case."),
|
|
7830
|
+
close_article: h.object({
|
|
7831
|
+
id: h.string().optional(),
|
|
7832
|
+
name: h.string().optional()
|
|
7833
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
7330
7834
|
close_reason: h.object({
|
|
7331
7835
|
id: h.string().optional(),
|
|
7332
7836
|
name: h.string().optional()
|
|
@@ -7399,6 +7903,8 @@ h.object({
|
|
|
7399
7903
|
name: h.string().optional(),
|
|
7400
7904
|
type: h.string().optional()
|
|
7401
7905
|
}).optional().describe("Group associated with the case."),
|
|
7906
|
+
has_next: h.boolean().optional(),
|
|
7907
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
7402
7908
|
id: h.string().optional().describe("Unique case ID."),
|
|
7403
7909
|
impacted: h.object({
|
|
7404
7910
|
id: h.string().optional(),
|
|
@@ -7620,6 +8126,10 @@ var oe = h.object({
|
|
|
7620
8126
|
id: h.string().optional(),
|
|
7621
8127
|
name: h.string().optional()
|
|
7622
8128
|
}).optional(),
|
|
8129
|
+
close_article: h.object({
|
|
8130
|
+
id: h.string().optional(),
|
|
8131
|
+
name: h.string().optional()
|
|
8132
|
+
}).optional(),
|
|
7623
8133
|
close_reason: h.object({
|
|
7624
8134
|
id: h.string().optional(),
|
|
7625
8135
|
name: h.string().optional()
|
|
@@ -7692,6 +8202,10 @@ h.object({
|
|
|
7692
8202
|
id: h.string().optional(),
|
|
7693
8203
|
name: h.string().optional()
|
|
7694
8204
|
}).optional().describe("Author or reporter of the case."),
|
|
8205
|
+
close_article: h.object({
|
|
8206
|
+
id: h.string().optional(),
|
|
8207
|
+
name: h.string().optional()
|
|
8208
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
7695
8209
|
close_reason: h.object({
|
|
7696
8210
|
id: h.string().optional(),
|
|
7697
8211
|
name: h.string().optional()
|
|
@@ -7764,6 +8278,8 @@ h.object({
|
|
|
7764
8278
|
name: h.string().optional(),
|
|
7765
8279
|
type: h.string().optional()
|
|
7766
8280
|
}).optional().describe("Group associated with the case."),
|
|
8281
|
+
has_next: h.boolean().optional(),
|
|
8282
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
7767
8283
|
id: h.string().optional().describe("Unique case ID."),
|
|
7768
8284
|
impacted: h.object({
|
|
7769
8285
|
id: h.string().optional(),
|
|
@@ -7995,6 +8511,10 @@ h.object({
|
|
|
7995
8511
|
id: h.string().optional(),
|
|
7996
8512
|
name: h.string().optional()
|
|
7997
8513
|
}).optional().describe("Author or reporter of the case."),
|
|
8514
|
+
close_article: h.object({
|
|
8515
|
+
id: h.string().optional(),
|
|
8516
|
+
name: h.string().optional()
|
|
8517
|
+
}).optional().describe("Knowledge base article chosen as the close reason; id only."),
|
|
7998
8518
|
close_reason: h.object({
|
|
7999
8519
|
id: h.string().optional(),
|
|
8000
8520
|
name: h.string().optional()
|
|
@@ -8067,6 +8587,8 @@ h.object({
|
|
|
8067
8587
|
name: h.string().optional(),
|
|
8068
8588
|
type: h.string().optional()
|
|
8069
8589
|
}).optional().describe("Group associated with the case."),
|
|
8590
|
+
has_next: h.boolean().optional(),
|
|
8591
|
+
has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
|
|
8070
8592
|
id: h.string().optional().describe("Unique case ID."),
|
|
8071
8593
|
impacted: h.object({
|
|
8072
8594
|
id: h.string().optional(),
|
|
@@ -8298,17 +8820,20 @@ h.object({
|
|
|
8298
8820
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
8299
8821
|
left: h.string().optional(),
|
|
8300
8822
|
peer: h.object({
|
|
8823
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8301
8824
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8302
8825
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8303
8826
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
8304
8827
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
8305
8828
|
queue: h.object({
|
|
8829
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8306
8830
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8307
8831
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8308
8832
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
8309
8833
|
}).optional().describe("Peer contact."),
|
|
8310
8834
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
8311
8835
|
via: h.object({
|
|
8836
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8312
8837
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8313
8838
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8314
8839
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -8326,17 +8851,20 @@ h.object({
|
|
|
8326
8851
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
8327
8852
|
left: h.string().optional(),
|
|
8328
8853
|
peer: h.object({
|
|
8854
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8329
8855
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8330
8856
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8331
8857
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
8332
8858
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
8333
8859
|
queue: h.object({
|
|
8860
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8334
8861
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8335
8862
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8336
8863
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
8337
8864
|
}).optional().describe("Peer contact."),
|
|
8338
8865
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
8339
8866
|
via: h.object({
|
|
8867
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8340
8868
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8341
8869
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8342
8870
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -8353,6 +8881,7 @@ h.object({
|
|
|
8353
8881
|
url: h.string().optional()
|
|
8354
8882
|
}).optional().describe("Message Media. Attachment."),
|
|
8355
8883
|
from: h.object({
|
|
8884
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8356
8885
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8357
8886
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8358
8887
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -8389,17 +8918,20 @@ h.object({
|
|
|
8389
8918
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
8390
8919
|
left: h.string().optional(),
|
|
8391
8920
|
peer: h.object({
|
|
8921
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8392
8922
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8393
8923
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8394
8924
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
8395
8925
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
8396
8926
|
queue: h.object({
|
|
8927
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8397
8928
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8398
8929
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8399
8930
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
8400
8931
|
}).optional().describe("Peer contact."),
|
|
8401
8932
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
8402
8933
|
via: h.object({
|
|
8934
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8403
8935
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8404
8936
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8405
8937
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -8410,6 +8942,7 @@ h.object({
|
|
|
8410
8942
|
next: h.boolean().optional(),
|
|
8411
8943
|
page: h.int().optional().describe("Dataset page number."),
|
|
8412
8944
|
peers: h.array(h.object({
|
|
8945
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
8413
8946
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
8414
8947
|
name: h.string().optional().describe("Contact display **name**."),
|
|
8415
8948
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -12903,6 +13436,7 @@ h.object({
|
|
|
12903
13436
|
video: h.boolean().optional()
|
|
12904
13437
|
}).optional().describe("VoIP / SIP service credentials."),
|
|
12905
13438
|
chat: h.object({ user: h.object({
|
|
13439
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
12906
13440
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
12907
13441
|
name: h.string().optional().describe("Contact display **name**."),
|
|
12908
13442
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -13025,6 +13559,7 @@ h.object({
|
|
|
13025
13559
|
video: h.boolean().optional()
|
|
13026
13560
|
}).optional().describe("VoIP / SIP service credentials."),
|
|
13027
13561
|
chat: h.object({ user: h.object({
|
|
13562
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
13028
13563
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
13029
13564
|
name: h.string().optional().describe("Contact display **name**."),
|
|
13030
13565
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -18395,7 +18930,9 @@ h.object({
|
|
|
18395
18930
|
"SCREENSHOT",
|
|
18396
18931
|
"SCREENSHARING"
|
|
18397
18932
|
]).default("PDF"),
|
|
18398
|
-
channel: h.enum(["SCREENRECORDING", "CALL"]).default("SCREENRECORDING")
|
|
18933
|
+
channel: h.enum(["SCREENRECORDING", "CALL"]).default("SCREENRECORDING"),
|
|
18934
|
+
"start_at.from": h.string().optional(),
|
|
18935
|
+
"start_at.to": h.string().optional()
|
|
18399
18936
|
}), h.object({
|
|
18400
18937
|
items: h.array(h.object({
|
|
18401
18938
|
channel: h.enum([
|
|
@@ -21783,6 +22320,25 @@ h.array(Ce), h.object({
|
|
|
21783
22320
|
})).optional(),
|
|
21784
22321
|
next: h.boolean().optional(),
|
|
21785
22322
|
page: h.int().optional()
|
|
22323
|
+
}), h.object({ id: h.int() }), h.object({
|
|
22324
|
+
action: h.string().optional(),
|
|
22325
|
+
config_id: h.int().optional(),
|
|
22326
|
+
date: h.string().optional(),
|
|
22327
|
+
id: h.int().optional(),
|
|
22328
|
+
new_state: h.string().optional(),
|
|
22329
|
+
object: h.object({
|
|
22330
|
+
id: h.int().optional(),
|
|
22331
|
+
name: h.string().optional()
|
|
22332
|
+
}).optional(),
|
|
22333
|
+
record: h.object({
|
|
22334
|
+
id: h.string().optional(),
|
|
22335
|
+
name: h.string().optional()
|
|
22336
|
+
}).optional(),
|
|
22337
|
+
user: h.object({
|
|
22338
|
+
id: h.int().optional(),
|
|
22339
|
+
name: h.string().optional()
|
|
22340
|
+
}).optional(),
|
|
22341
|
+
user_ip: h.string().optional()
|
|
21786
22342
|
}), h.object({ user_id: h.int().describe("REQUIRED filter") }), h.object({
|
|
21787
22343
|
page: h.int().optional(),
|
|
21788
22344
|
size: h.int().optional(),
|
|
@@ -23379,48 +23935,7 @@ h.array(Ee), h.object({
|
|
|
23379
23935
|
transfer_queue_id: h.string().optional(),
|
|
23380
23936
|
variables: h.record(h.string(), h.string()).optional(),
|
|
23381
23937
|
wait_between_retries: h.int().optional()
|
|
23382
|
-
}), h.object({ status: h.string().optional() })
|
|
23383
|
-
//#endregion
|
|
23384
|
-
//#region packages/api-services/src/gen-wire/messages/messages.ts
|
|
23385
|
-
var I = (e = a) => ({
|
|
23386
|
-
messagesServiceBroadcastMessage: (t, n) => e.post("/chat/broadcast", t, n),
|
|
23387
|
-
catalogGetCustomers: (t, n) => e.get("/chat/customers", {
|
|
23388
|
-
...n,
|
|
23389
|
-
params: {
|
|
23390
|
-
...t,
|
|
23391
|
-
...n?.params
|
|
23392
|
-
}
|
|
23393
|
-
}),
|
|
23394
|
-
catalogGetDialogs: (t, n) => e.get("/chat/dialogs", {
|
|
23395
|
-
...n,
|
|
23396
|
-
params: {
|
|
23397
|
-
...t,
|
|
23398
|
-
...n?.params
|
|
23399
|
-
}
|
|
23400
|
-
}),
|
|
23401
|
-
catalogGetMembers: (t, n, r) => e.get(`/chat/dialogs/${t}/members`, {
|
|
23402
|
-
...r,
|
|
23403
|
-
params: {
|
|
23404
|
-
...n,
|
|
23405
|
-
...r?.params
|
|
23406
|
-
}
|
|
23407
|
-
}),
|
|
23408
|
-
catalogGetHistory: (t, n, r) => e.get(`/chat/dialogs/${t}/messages`, {
|
|
23409
|
-
...r,
|
|
23410
|
-
params: {
|
|
23411
|
-
...n,
|
|
23412
|
-
...r?.params
|
|
23413
|
-
}
|
|
23414
|
-
}),
|
|
23415
|
-
catalogGetHistory2: (t, n, r, i) => e.get(`/chat/${t}/${n}/messages`, {
|
|
23416
|
-
...i,
|
|
23417
|
-
params: {
|
|
23418
|
-
...r,
|
|
23419
|
-
...i?.params
|
|
23420
|
-
}
|
|
23421
|
-
})
|
|
23422
|
-
});
|
|
23423
|
-
h.object({
|
|
23938
|
+
}), h.object({ status: h.string().optional() }), h.object({
|
|
23424
23939
|
message: h.object({
|
|
23425
23940
|
file: h.object({
|
|
23426
23941
|
id: h.string().optional(),
|
|
@@ -23463,7 +23978,8 @@ h.object({
|
|
|
23463
23978
|
type: h.string().optional().describe("The type of contact to filter."),
|
|
23464
23979
|
"via.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23465
23980
|
"via.type": h.string().optional().describe("Contact **type** provider."),
|
|
23466
|
-
"via.name": h.string().optional().describe("Contact display **name**.")
|
|
23981
|
+
"via.name": h.string().optional().describe("Contact display **name**."),
|
|
23982
|
+
"via.etag": h.string().optional().describe("Contact source identifier.")
|
|
23467
23983
|
}), h.object({
|
|
23468
23984
|
next: h.boolean().optional(),
|
|
23469
23985
|
page: h.int().optional().describe("Page number of results."),
|
|
@@ -23472,12 +23988,14 @@ h.object({
|
|
|
23472
23988
|
name: h.string().optional().describe("Customer account **name**."),
|
|
23473
23989
|
type: h.string().optional().describe("Customer account **type**."),
|
|
23474
23990
|
via: h.array(h.object({
|
|
23991
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23475
23992
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23476
23993
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23477
23994
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23478
23995
|
}).describe("Peer contact.")).optional().describe("[VIA] Text gateway associations.")
|
|
23479
23996
|
}).describe("Customer is external chat contact.")).optional().describe("Dataset page of Customer(s)."),
|
|
23480
23997
|
vias: h.array(h.object({
|
|
23998
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23481
23999
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23482
24000
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23483
24001
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23492,9 +24010,11 @@ h.object({
|
|
|
23492
24010
|
"via.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23493
24011
|
"via.type": h.string().optional().describe("Contact **type** provider."),
|
|
23494
24012
|
"via.name": h.string().optional().describe("Contact display **name**."),
|
|
24013
|
+
"via.etag": h.string().optional().describe("Contact source identifier."),
|
|
23495
24014
|
"peer.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23496
24015
|
"peer.type": h.string().optional().describe("Contact **type** provider."),
|
|
23497
24016
|
"peer.name": h.string().optional().describe("Contact display **name**."),
|
|
24017
|
+
"peer.etag": h.string().optional().describe("Contact source identifier."),
|
|
23498
24018
|
"date.since": h.string().optional().describe("Since epochtime (milli).\n**Match**: greater than .."),
|
|
23499
24019
|
"date.until": h.string().optional().describe("Until epochtime (milli).\n**Match**: less or equal .."),
|
|
23500
24020
|
online: h.boolean().optional().describe("Dialogs ONLY that are currently [not] active( closed: ? )."),
|
|
@@ -23508,6 +24028,7 @@ h.object({
|
|
|
23508
24028
|
date: h.string().optional().describe("Timestamp of the latest activity."),
|
|
23509
24029
|
dc: h.string().optional().describe("[D]omain[C]omponent primary ID."),
|
|
23510
24030
|
from: h.object({
|
|
24031
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23511
24032
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23512
24033
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23513
24034
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23524,17 +24045,20 @@ h.object({
|
|
|
23524
24045
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23525
24046
|
left: h.string().optional(),
|
|
23526
24047
|
peer: h.object({
|
|
24048
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23527
24049
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23528
24050
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23529
24051
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23530
24052
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23531
24053
|
queue: h.object({
|
|
24054
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23532
24055
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23533
24056
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23534
24057
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23535
24058
|
}).optional().describe("Peer contact."),
|
|
23536
24059
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23537
24060
|
via: h.object({
|
|
24061
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23538
24062
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23539
24063
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23540
24064
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23552,17 +24076,20 @@ h.object({
|
|
|
23552
24076
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23553
24077
|
left: h.string().optional(),
|
|
23554
24078
|
peer: h.object({
|
|
24079
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23555
24080
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23556
24081
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23557
24082
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23558
24083
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23559
24084
|
queue: h.object({
|
|
24085
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23560
24086
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23561
24087
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23562
24088
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23563
24089
|
}).optional().describe("Peer contact."),
|
|
23564
24090
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23565
24091
|
via: h.object({
|
|
24092
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23566
24093
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23567
24094
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23568
24095
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23579,6 +24106,7 @@ h.object({
|
|
|
23579
24106
|
url: h.string().optional()
|
|
23580
24107
|
}).optional().describe("Message Media. Attachment."),
|
|
23581
24108
|
from: h.object({
|
|
24109
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23582
24110
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23583
24111
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23584
24112
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23615,17 +24143,20 @@ h.object({
|
|
|
23615
24143
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23616
24144
|
left: h.string().optional(),
|
|
23617
24145
|
peer: h.object({
|
|
24146
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23618
24147
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23619
24148
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23620
24149
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23621
24150
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23622
24151
|
queue: h.object({
|
|
24152
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23623
24153
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23624
24154
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23625
24155
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23626
24156
|
}).optional().describe("Peer contact."),
|
|
23627
24157
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23628
24158
|
via: h.object({
|
|
24159
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23629
24160
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23630
24161
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23631
24162
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23634,6 +24165,7 @@ h.object({
|
|
|
23634
24165
|
text: h.string().optional().describe("Message Text.")
|
|
23635
24166
|
}).optional().describe("The latest (top) message."),
|
|
23636
24167
|
queue: h.object({
|
|
24168
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23637
24169
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23638
24170
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23639
24171
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23642,6 +24174,7 @@ h.object({
|
|
|
23642
24174
|
started: h.string().optional().describe("Timestamp when dialog started."),
|
|
23643
24175
|
title: h.string().optional().describe("Title of the dialog."),
|
|
23644
24176
|
via: h.object({
|
|
24177
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23645
24178
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23646
24179
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23647
24180
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23659,9 +24192,11 @@ h.object({
|
|
|
23659
24192
|
"via.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23660
24193
|
"via.type": h.string().optional().describe("Contact **type** provider."),
|
|
23661
24194
|
"via.name": h.string().optional().describe("Contact display **name**."),
|
|
24195
|
+
"via.etag": h.string().optional().describe("Contact source identifier."),
|
|
23662
24196
|
"peer.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23663
24197
|
"peer.type": h.string().optional().describe("Contact **type** provider."),
|
|
23664
24198
|
"peer.name": h.string().optional().describe("Contact display **name**."),
|
|
24199
|
+
"peer.etag": h.string().optional().describe("Contact source identifier."),
|
|
23665
24200
|
"date.since": h.string().optional().describe("Since epochtime (milli).\n**Match**: greater than .."),
|
|
23666
24201
|
"date.until": h.string().optional().describe("Until epochtime (milli).\n**Match**: less or equal .."),
|
|
23667
24202
|
online: h.boolean().optional().describe("Participants ONLY who are currently [not] connected to the chat.\n( left: ( 0 ? online : offline ) )"),
|
|
@@ -23678,17 +24213,20 @@ h.object({
|
|
|
23678
24213
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23679
24214
|
left: h.string().optional(),
|
|
23680
24215
|
peer: h.object({
|
|
24216
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23681
24217
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23682
24218
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23683
24219
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23684
24220
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23685
24221
|
queue: h.object({
|
|
24222
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23686
24223
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23687
24224
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23688
24225
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23689
24226
|
}).optional().describe("Peer contact."),
|
|
23690
24227
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23691
24228
|
via: h.object({
|
|
24229
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23692
24230
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23693
24231
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23694
24232
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23705,6 +24243,7 @@ h.object({
|
|
|
23705
24243
|
"peer.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23706
24244
|
"peer.type": h.string().optional().describe("Contact **type** provider."),
|
|
23707
24245
|
"peer.name": h.string().optional().describe("Contact display **name**."),
|
|
24246
|
+
"peer.etag": h.string().optional().describe("Contact source identifier."),
|
|
23708
24247
|
"group[string]": h.string().optional().describe("Includes the history of ONLY those dialogs\nwhose member channel(s) contain\na specified set of variables.")
|
|
23709
24248
|
}), h.object({
|
|
23710
24249
|
chats: h.array(h.object({
|
|
@@ -23718,17 +24257,20 @@ h.object({
|
|
|
23718
24257
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23719
24258
|
left: h.string().optional(),
|
|
23720
24259
|
peer: h.object({
|
|
24260
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23721
24261
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23722
24262
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23723
24263
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23724
24264
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23725
24265
|
queue: h.object({
|
|
24266
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23726
24267
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23727
24268
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23728
24269
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23729
24270
|
}).optional().describe("Peer contact."),
|
|
23730
24271
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23731
24272
|
via: h.object({
|
|
24273
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23732
24274
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23733
24275
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23734
24276
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23746,17 +24288,20 @@ h.object({
|
|
|
23746
24288
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23747
24289
|
left: h.string().optional(),
|
|
23748
24290
|
peer: h.object({
|
|
24291
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23749
24292
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23750
24293
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23751
24294
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23752
24295
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23753
24296
|
queue: h.object({
|
|
24297
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23754
24298
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23755
24299
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23756
24300
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23757
24301
|
}).optional().describe("Peer contact."),
|
|
23758
24302
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23759
24303
|
via: h.object({
|
|
24304
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23760
24305
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23761
24306
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23762
24307
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23773,6 +24318,7 @@ h.object({
|
|
|
23773
24318
|
url: h.string().optional()
|
|
23774
24319
|
}).optional().describe("Message Media. Attachment."),
|
|
23775
24320
|
from: h.object({
|
|
24321
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23776
24322
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23777
24323
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23778
24324
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23809,17 +24355,20 @@ h.object({
|
|
|
23809
24355
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23810
24356
|
left: h.string().optional(),
|
|
23811
24357
|
peer: h.object({
|
|
24358
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23812
24359
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23813
24360
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23814
24361
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23815
24362
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23816
24363
|
queue: h.object({
|
|
24364
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23817
24365
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23818
24366
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23819
24367
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23820
24368
|
}).optional().describe("Peer contact."),
|
|
23821
24369
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23822
24370
|
via: h.object({
|
|
24371
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23823
24372
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23824
24373
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23825
24374
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23830,6 +24379,7 @@ h.object({
|
|
|
23830
24379
|
next: h.boolean().optional(),
|
|
23831
24380
|
page: h.int().optional().describe("Dataset page number."),
|
|
23832
24381
|
peers: h.array(h.object({
|
|
24382
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23833
24383
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23834
24384
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23835
24385
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23845,6 +24395,7 @@ h.object({
|
|
|
23845
24395
|
fields: h.array(h.string()).optional().describe("Fields to return into result."),
|
|
23846
24396
|
chat_id: h.string().optional().describe("Unique chat dialog"),
|
|
23847
24397
|
"peer.name": h.string().optional().describe("Contact display **name**."),
|
|
24398
|
+
"peer.etag": h.string().optional().describe("Contact source identifier."),
|
|
23848
24399
|
"group[string][string]": h.string().optional().describe("Includes the history of ONLY those dialogs\nwhose member channel(s) contain\na specified set of variables.")
|
|
23849
24400
|
}), h.object({
|
|
23850
24401
|
chats: h.array(h.object({
|
|
@@ -23858,17 +24409,20 @@ h.object({
|
|
|
23858
24409
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23859
24410
|
left: h.string().optional(),
|
|
23860
24411
|
peer: h.object({
|
|
24412
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23861
24413
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23862
24414
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23863
24415
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23864
24416
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23865
24417
|
queue: h.object({
|
|
24418
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23866
24419
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23867
24420
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23868
24421
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23869
24422
|
}).optional().describe("Peer contact."),
|
|
23870
24423
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23871
24424
|
via: h.object({
|
|
24425
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23872
24426
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23873
24427
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23874
24428
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23886,17 +24440,20 @@ h.object({
|
|
|
23886
24440
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23887
24441
|
left: h.string().optional(),
|
|
23888
24442
|
peer: h.object({
|
|
24443
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23889
24444
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23890
24445
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23891
24446
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23892
24447
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23893
24448
|
queue: h.object({
|
|
24449
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23894
24450
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23895
24451
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23896
24452
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23897
24453
|
}).optional().describe("Peer contact."),
|
|
23898
24454
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23899
24455
|
via: h.object({
|
|
24456
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23900
24457
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23901
24458
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23902
24459
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23913,6 +24470,7 @@ h.object({
|
|
|
23913
24470
|
url: h.string().optional()
|
|
23914
24471
|
}).optional().describe("Message Media. Attachment."),
|
|
23915
24472
|
from: h.object({
|
|
24473
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23916
24474
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23917
24475
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23918
24476
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23949,17 +24507,20 @@ h.object({
|
|
|
23949
24507
|
join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
|
|
23950
24508
|
left: h.string().optional(),
|
|
23951
24509
|
peer: h.object({
|
|
24510
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23952
24511
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23953
24512
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23954
24513
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23955
24514
|
}).optional().describe("[FROM]: User identity. Seed."),
|
|
23956
24515
|
queue: h.object({
|
|
24516
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23957
24517
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23958
24518
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23959
24519
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
23960
24520
|
}).optional().describe("Peer contact."),
|
|
23961
24521
|
title: h.string().optional().describe("[TO]: Chat title."),
|
|
23962
24522
|
via: h.object({
|
|
24523
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23963
24524
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23964
24525
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23965
24526
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -23970,6 +24531,7 @@ h.object({
|
|
|
23970
24531
|
next: h.boolean().optional(),
|
|
23971
24532
|
page: h.int().optional().describe("Dataset page number."),
|
|
23972
24533
|
peers: h.array(h.object({
|
|
24534
|
+
etag: h.string().optional().describe("Contact source identifier."),
|
|
23973
24535
|
id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
|
|
23974
24536
|
name: h.string().optional().describe("Contact display **name**."),
|
|
23975
24537
|
type: h.string().optional().describe("Contact **type** provider.")
|
|
@@ -25169,8 +25731,8 @@ h.object({
|
|
|
25169
25731
|
result: h.object({ data: h.string().optional() }).optional()
|
|
25170
25732
|
}), h.object({ call_id: h.string().describe("Unique identifier of the call.") }), h.object({
|
|
25171
25733
|
file_ids: h.array(h.string()).optional().describe("Optional IDs of selected screen recordings."),
|
|
25172
|
-
from: h.string().optional().describe("Start of the
|
|
25173
|
-
to: h.string().optional().describe("End of the
|
|
25734
|
+
from: h.string().optional().describe("Start of the start_at range (Unix millis)."),
|
|
25735
|
+
to: h.string().optional().describe("End of the start_at range (Unix millis).")
|
|
25174
25736
|
}), h.object({
|
|
25175
25737
|
error: h.object({
|
|
25176
25738
|
code: h.int().optional(),
|
|
@@ -25309,7 +25871,7 @@ h.object({
|
|
|
25309
25871
|
next: h.boolean().optional(),
|
|
25310
25872
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
25311
25873
|
}).describe("PhoneNumber dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
25312
|
-
var
|
|
25874
|
+
var I = h.object({
|
|
25313
25875
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
25314
25876
|
number: h.string().describe("The phone number."),
|
|
25315
25877
|
primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
|
|
@@ -25320,7 +25882,7 @@ var L = h.object({
|
|
|
25320
25882
|
}).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
|
|
25321
25883
|
verified: h.boolean().optional()
|
|
25322
25884
|
}).describe("Input of the contact phone number.");
|
|
25323
|
-
h.array(
|
|
25885
|
+
h.array(I), h.object({
|
|
25324
25886
|
data: h.array(h.object({
|
|
25325
25887
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
25326
25888
|
created_by: h.object({
|
|
@@ -28433,9 +28995,11 @@ h.array(je), h.object({
|
|
|
28433
28995
|
name: h.string().optional(),
|
|
28434
28996
|
schema_id: h.array(h.int()).optional(),
|
|
28435
28997
|
pattern: h.string().optional(),
|
|
28436
|
-
description: h.string().optional()
|
|
28998
|
+
description: h.string().optional(),
|
|
28999
|
+
allow_transfer: h.boolean().optional()
|
|
28437
29000
|
}), h.object({
|
|
28438
29001
|
items: h.array(h.object({
|
|
29002
|
+
allow_transfer: h.boolean().optional(),
|
|
28439
29003
|
description: h.string().optional(),
|
|
28440
29004
|
disabled: h.boolean().optional(),
|
|
28441
29005
|
domain_id: h.string().optional(),
|
|
@@ -28450,6 +29014,7 @@ h.array(je), h.object({
|
|
|
28450
29014
|
})).optional(),
|
|
28451
29015
|
next: h.boolean().optional()
|
|
28452
29016
|
}), h.object({
|
|
29017
|
+
allow_transfer: h.boolean().optional(),
|
|
28453
29018
|
description: h.string().optional(),
|
|
28454
29019
|
disabled: h.boolean().optional(),
|
|
28455
29020
|
domain_id: h.string().optional(),
|
|
@@ -28460,6 +29025,7 @@ h.array(je), h.object({
|
|
|
28460
29025
|
name: h.string().optional()
|
|
28461
29026
|
}).optional()
|
|
28462
29027
|
}), h.object({
|
|
29028
|
+
allow_transfer: h.boolean().optional(),
|
|
28463
29029
|
created_at: h.string().optional(),
|
|
28464
29030
|
created_by: h.object({
|
|
28465
29031
|
id: h.string().optional(),
|
|
@@ -28484,6 +29050,7 @@ h.array(je), h.object({
|
|
|
28484
29050
|
from_id: h.string(),
|
|
28485
29051
|
to_id: h.string()
|
|
28486
29052
|
}), h.object({ domain_id: h.string().optional() }), h.object({ success: h.boolean().optional() }), h.object({ id: h.string() }), h.object({ domain_id: h.string().optional() }), h.object({
|
|
29053
|
+
allow_transfer: h.boolean().optional(),
|
|
28487
29054
|
created_at: h.string().optional(),
|
|
28488
29055
|
created_by: h.object({
|
|
28489
29056
|
id: h.string().optional(),
|
|
@@ -28505,6 +29072,7 @@ h.array(je), h.object({
|
|
|
28505
29072
|
name: h.string().optional()
|
|
28506
29073
|
}).optional()
|
|
28507
29074
|
}), h.object({ id: h.string() }), h.object({ domain_id: h.string().optional() }), h.object({
|
|
29075
|
+
allow_transfer: h.boolean().optional(),
|
|
28508
29076
|
created_at: h.string().optional(),
|
|
28509
29077
|
created_by: h.object({
|
|
28510
29078
|
id: h.string().optional(),
|
|
@@ -28526,6 +29094,7 @@ h.array(je), h.object({
|
|
|
28526
29094
|
name: h.string().optional()
|
|
28527
29095
|
}).optional()
|
|
28528
29096
|
}), h.object({ id: h.string() }), h.object({
|
|
29097
|
+
allow_transfer: h.boolean().optional(),
|
|
28529
29098
|
description: h.string().optional(),
|
|
28530
29099
|
disabled: h.boolean().optional(),
|
|
28531
29100
|
domain_id: h.string().optional(),
|
|
@@ -28537,6 +29106,7 @@ h.array(je), h.object({
|
|
|
28537
29106
|
name: h.string().optional()
|
|
28538
29107
|
}).optional()
|
|
28539
29108
|
}), h.object({
|
|
29109
|
+
allow_transfer: h.boolean().optional(),
|
|
28540
29110
|
created_at: h.string().optional(),
|
|
28541
29111
|
created_by: h.object({
|
|
28542
29112
|
id: h.string().optional(),
|
|
@@ -28558,6 +29128,7 @@ h.array(je), h.object({
|
|
|
28558
29128
|
name: h.string().optional()
|
|
28559
29129
|
}).optional()
|
|
28560
29130
|
}), h.object({ id: h.string() }), h.object({
|
|
29131
|
+
allow_transfer: h.boolean().optional(),
|
|
28561
29132
|
description: h.string().optional(),
|
|
28562
29133
|
disabled: h.boolean().optional(),
|
|
28563
29134
|
domain_id: h.string().optional(),
|
|
@@ -28568,6 +29139,7 @@ h.array(je), h.object({
|
|
|
28568
29139
|
name: h.string().optional()
|
|
28569
29140
|
}).optional()
|
|
28570
29141
|
}), h.object({
|
|
29142
|
+
allow_transfer: h.boolean().optional(),
|
|
28571
29143
|
created_at: h.string().optional(),
|
|
28572
29144
|
created_by: h.object({
|
|
28573
29145
|
id: h.string().optional(),
|
|
@@ -28975,7 +29547,7 @@ h.array(je), h.object({
|
|
|
28975
29547
|
next: h.boolean().optional(),
|
|
28976
29548
|
page: h.int().optional()
|
|
28977
29549
|
}), h.object({ fields: h.array(h.string()).optional() });
|
|
28978
|
-
var
|
|
29550
|
+
var L = h.object({
|
|
28979
29551
|
assignee: h.object({
|
|
28980
29552
|
id: h.string().optional(),
|
|
28981
29553
|
name: h.string().optional()
|
|
@@ -30813,6 +31385,34 @@ h.object({
|
|
|
30813
31385
|
q: h.string().optional().describe("Prefix to match."),
|
|
30814
31386
|
size: h.int().optional().describe("Maximum number of suggestions.")
|
|
30815
31387
|
}), h.object({ tags: h.array(h.string()).optional().describe("Matching tags.") }).describe("SuggestTagsResponse returns matching tags."), h.object({ team_id: h.string() }), h.object({
|
|
31388
|
+
page: h.int().optional(),
|
|
31389
|
+
size: h.int().optional(),
|
|
31390
|
+
q: h.string().optional(),
|
|
31391
|
+
sort: h.string().optional(),
|
|
31392
|
+
fields: h.array(h.string()).optional(),
|
|
31393
|
+
id: h.array(h.int()).optional()
|
|
31394
|
+
}), h.object({
|
|
31395
|
+
items: h.array(h.object({
|
|
31396
|
+
id: h.int().optional(),
|
|
31397
|
+
tag: h.string().optional()
|
|
31398
|
+
})).optional(),
|
|
31399
|
+
next: h.boolean().optional()
|
|
31400
|
+
}), h.object({ team_id: h.string() }), h.object({ tag: h.string().optional() }), h.object({
|
|
31401
|
+
id: h.int().optional(),
|
|
31402
|
+
tag: h.string().optional()
|
|
31403
|
+
}), h.object({
|
|
31404
|
+
team_id: h.string(),
|
|
31405
|
+
id: h.int()
|
|
31406
|
+
}), h.object({
|
|
31407
|
+
id: h.int().optional(),
|
|
31408
|
+
tag: h.string().optional()
|
|
31409
|
+
}), h.object({
|
|
31410
|
+
team_id: h.string(),
|
|
31411
|
+
id: h.int()
|
|
31412
|
+
}), h.object({ tag: h.string().optional() }), h.object({
|
|
31413
|
+
id: h.int().optional(),
|
|
31414
|
+
tag: h.string().optional()
|
|
31415
|
+
}), h.object({ team_id: h.string() }), h.object({
|
|
30816
31416
|
page: h.int().optional(),
|
|
30817
31417
|
size: h.int().optional(),
|
|
30818
31418
|
q: h.string().optional(),
|
|
@@ -33441,12 +34041,12 @@ h.array(Re), h.object({ deleted: h.array(h.object({
|
|
|
33441
34041
|
next: h.boolean().optional(),
|
|
33442
34042
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
33443
34043
|
}).describe("Variable dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
33444
|
-
var
|
|
34044
|
+
var R = h.object({
|
|
33445
34045
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
33446
34046
|
key: h.string().regex(/^\w+$/).describe("NEW Key."),
|
|
33447
34047
|
value: h.unknown().optional().describe("NEW Value.")
|
|
33448
34048
|
}).describe("Input of the Contact's variable.");
|
|
33449
|
-
h.array(
|
|
34049
|
+
h.array(R), h.object({
|
|
33450
34050
|
data: h.array(h.object({
|
|
33451
34051
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
33452
34052
|
created_by: h.object({
|
|
@@ -34053,6 +34653,7 @@ h.object({
|
|
|
34053
34653
|
updated_at: h.string().optional()
|
|
34054
34654
|
}).optional() }), h.object({
|
|
34055
34655
|
email: h.string().optional().describe("Email must be valid if provided."),
|
|
34656
|
+
external_id: h.string().optional().describe("Platform message id, when the channel reports one."),
|
|
34056
34657
|
forward_origin: h.object({
|
|
34057
34658
|
kind: h.enum([
|
|
34058
34659
|
"FORWARD_ORIGIN_KIND_UNSPECIFIED",
|
|
@@ -34069,6 +34670,7 @@ h.object({
|
|
|
34069
34670
|
metadata: h.looseObject({}).optional().describe("Arbitrary metadata."),
|
|
34070
34671
|
name: h.string().optional().describe("Full name of the contact."),
|
|
34071
34672
|
phone_number: h.string().optional().describe("Phone number in E.164 format recommended."),
|
|
34673
|
+
reply_to_external_id: h.string().optional().describe("ID of the message this is a reply to, as reported by the external channel."),
|
|
34072
34674
|
reply_to_message_id: h.string().optional(),
|
|
34073
34675
|
send_as: h.object({
|
|
34074
34676
|
chat_name: h.string().optional().describe("chat_name is the name external clients see instead of the real one."),
|
|
@@ -34114,7 +34716,7 @@ h.object({
|
|
|
34114
34716
|
"REASON_CHAT_CLOSED",
|
|
34115
34717
|
"REASON_NOT_ALLOWED"
|
|
34116
34718
|
]).default("REASON_UNSPECIFIED")
|
|
34117
|
-
}).describe("SkippedMessage is one requested message DeleteMessages
|
|
34719
|
+
}).describe("SkippedMessage is one requested message DeleteMessages or ForwardMessages\nleft untouched, with the reason it did.")).optional()
|
|
34118
34720
|
}), h.object({
|
|
34119
34721
|
body: h.string().optional(),
|
|
34120
34722
|
documents: h.array(h.object({
|
|
@@ -34157,7 +34759,8 @@ h.object({
|
|
|
34157
34759
|
}).optional(),
|
|
34158
34760
|
group_id: h.string().optional(),
|
|
34159
34761
|
thread_id: h.string().optional()
|
|
34160
|
-
}).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel.")
|
|
34762
|
+
}).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel."),
|
|
34763
|
+
variables: h.record(h.string(), h.string()).optional().describe("Variables seeded onto the thread when this message is the one that creates\nit; ignored on every later message. Providers fill it from the channel's\nfirst-message payload so a flow schema can route on the caller's own data.")
|
|
34161
34764
|
}).describe("Represents a request to send a message with document."), h.object({
|
|
34162
34765
|
id: h.string().optional(),
|
|
34163
34766
|
to: h.object({
|
|
@@ -34172,7 +34775,6 @@ h.object({
|
|
|
34172
34775
|
thread_id: h.string().optional()
|
|
34173
34776
|
}).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel.")
|
|
34174
34777
|
}).describe("Represents a response to send message with document."), h.object({
|
|
34175
|
-
internal_note: h.string().optional().describe("Optional internal note posted alongside the forward — visible only to\nWebitel users, never delivered to the client."),
|
|
34176
34778
|
message_ids: h.array(h.string()).optional().describe("Sources to copy, in the order they should appear at the destination."),
|
|
34177
34779
|
send_as: h.object({
|
|
34178
34780
|
chat_name: h.string().optional().describe("chat_name is the name external clients see instead of the real one."),
|
|
@@ -34194,7 +34796,17 @@ h.object({
|
|
|
34194
34796
|
}).optional().describe("Recipient of the copies: a user contact or a bot contact (flow schema).")
|
|
34195
34797
|
}), h.object({
|
|
34196
34798
|
ids: h.array(h.string()).optional().describe("Ids of the created copies, in forwarded order."),
|
|
34197
|
-
|
|
34799
|
+
skipped: h.array(h.object({
|
|
34800
|
+
id: h.string().optional(),
|
|
34801
|
+
reason: h.enum([
|
|
34802
|
+
"REASON_UNSPECIFIED",
|
|
34803
|
+
"REASON_NOT_FOUND",
|
|
34804
|
+
"REASON_NOT_AUTHOR",
|
|
34805
|
+
"REASON_ALREADY_DELETED",
|
|
34806
|
+
"REASON_CHAT_CLOSED",
|
|
34807
|
+
"REASON_NOT_ALLOWED"
|
|
34808
|
+
]).default("REASON_UNSPECIFIED")
|
|
34809
|
+
}).describe("SkippedMessage is one requested message DeleteMessages or ForwardMessages\nleft untouched, with the reason it did.")).optional().describe("Sources left unforwarded, one entry per skipped id."),
|
|
34198
34810
|
thread_id: h.string().optional().describe("Direct chat the copies landed in.")
|
|
34199
34811
|
}), h.object({
|
|
34200
34812
|
body: h.string().optional().describe("Body text for the message."),
|
|
@@ -34334,6 +34946,7 @@ h.object({
|
|
|
34334
34946
|
}).optional().describe("Recipient of the message.")
|
|
34335
34947
|
}).describe("SendMessageResponse represents the result of a send operation.\nContains the generated message ID and list of recipients."), h.object({
|
|
34336
34948
|
address: h.string().optional().describe("Optional human-readable address."),
|
|
34949
|
+
external_id: h.string().optional().describe("Platform message id, when the channel reports one."),
|
|
34337
34950
|
forward_origin: h.object({
|
|
34338
34951
|
kind: h.enum([
|
|
34339
34952
|
"FORWARD_ORIGIN_KIND_UNSPECIFIED",
|
|
@@ -34351,6 +34964,7 @@ h.object({
|
|
|
34351
34964
|
longitude: h.number().optional().describe("Longitude in degrees. Must be between -180 and +180."),
|
|
34352
34965
|
metadata: h.looseObject({}).optional().describe("Arbitrary metadata."),
|
|
34353
34966
|
name: h.string().optional().describe("Optional location name (e.g., \"Central Park\")."),
|
|
34967
|
+
reply_to_external_id: h.string().optional().describe("ID of the message this is a reply to, as reported by the external channel."),
|
|
34354
34968
|
reply_to_message_id: h.string().optional(),
|
|
34355
34969
|
send_as: h.object({
|
|
34356
34970
|
chat_name: h.string().optional().describe("chat_name is the name external clients see instead of the real one."),
|
|
@@ -34418,7 +35032,8 @@ h.object({
|
|
|
34418
35032
|
}).optional(),
|
|
34419
35033
|
group_id: h.string().optional(),
|
|
34420
35034
|
thread_id: h.string().optional()
|
|
34421
|
-
}).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel.")
|
|
35035
|
+
}).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel."),
|
|
35036
|
+
variables: h.record(h.string(), h.string()).optional()
|
|
34422
35037
|
}).describe("Represents a request to send a text message."), h.object({
|
|
34423
35038
|
id: h.string().optional(),
|
|
34424
35039
|
to: h.object({
|
|
@@ -34670,8 +35285,8 @@ h.object({
|
|
|
34670
35285
|
attachment_name: h.string().optional(),
|
|
34671
35286
|
body: h.string().optional(),
|
|
34672
35287
|
created_at: h.string().optional(),
|
|
34673
|
-
id: h.string().optional(),
|
|
34674
35288
|
is_deleted: h.boolean().optional(),
|
|
35289
|
+
message_id: h.string().optional(),
|
|
34675
35290
|
sender: h.object({
|
|
34676
35291
|
contact: h.object({
|
|
34677
35292
|
app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -35065,8 +35680,8 @@ h.object({
|
|
|
35065
35680
|
attachment_name: h.string().optional(),
|
|
35066
35681
|
body: h.string().optional(),
|
|
35067
35682
|
created_at: h.string().optional(),
|
|
35068
|
-
id: h.string().optional(),
|
|
35069
35683
|
is_deleted: h.boolean().optional(),
|
|
35684
|
+
message_id: h.string().optional(),
|
|
35070
35685
|
sender: h.object({
|
|
35071
35686
|
contact: h.object({
|
|
35072
35687
|
app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -35406,8 +36021,8 @@ h.object({
|
|
|
35406
36021
|
attachment_name: h.string().optional(),
|
|
35407
36022
|
body: h.string().optional(),
|
|
35408
36023
|
created_at: h.string().optional(),
|
|
35409
|
-
id: h.string().optional(),
|
|
35410
36024
|
is_deleted: h.boolean().optional(),
|
|
36025
|
+
message_id: h.string().optional(),
|
|
35411
36026
|
sender: h.object({
|
|
35412
36027
|
contact: h.object({
|
|
35413
36028
|
app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -35757,8 +36372,8 @@ h.object({
|
|
|
35757
36372
|
attachment_name: h.string().optional(),
|
|
35758
36373
|
body: h.string().optional(),
|
|
35759
36374
|
created_at: h.string().optional(),
|
|
35760
|
-
id: h.string().optional(),
|
|
35761
36375
|
is_deleted: h.boolean().optional(),
|
|
36376
|
+
message_id: h.string().optional(),
|
|
35762
36377
|
sender: h.object({
|
|
35763
36378
|
contact: h.object({
|
|
35764
36379
|
app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -36185,8 +36800,8 @@ h.object({
|
|
|
36185
36800
|
attachment_name: h.string().optional(),
|
|
36186
36801
|
body: h.string().optional(),
|
|
36187
36802
|
created_at: h.string().optional(),
|
|
36188
|
-
id: h.string().optional(),
|
|
36189
36803
|
is_deleted: h.boolean().optional(),
|
|
36804
|
+
message_id: h.string().optional(),
|
|
36190
36805
|
sender: h.object({
|
|
36191
36806
|
contact: h.object({
|
|
36192
36807
|
app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -36618,8 +37233,8 @@ h.object({
|
|
|
36618
37233
|
attachment_name: h.string().optional(),
|
|
36619
37234
|
body: h.string().optional(),
|
|
36620
37235
|
created_at: h.string().optional(),
|
|
36621
|
-
id: h.string().optional(),
|
|
36622
37236
|
is_deleted: h.boolean().optional(),
|
|
37237
|
+
message_id: h.string().optional(),
|
|
36623
37238
|
sender: h.object({
|
|
36624
37239
|
contact: h.object({
|
|
36625
37240
|
app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -37044,8 +37659,8 @@ h.object({
|
|
|
37044
37659
|
attachment_name: h.string().optional(),
|
|
37045
37660
|
body: h.string().optional(),
|
|
37046
37661
|
created_at: h.string().optional(),
|
|
37047
|
-
id: h.string().optional(),
|
|
37048
37662
|
is_deleted: h.boolean().optional(),
|
|
37663
|
+
message_id: h.string().optional(),
|
|
37049
37664
|
sender: h.object({
|
|
37050
37665
|
contact: h.object({
|
|
37051
37666
|
app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -37516,7 +38131,18 @@ h.object({
|
|
|
37516
38131
|
id: h.string().optional(),
|
|
37517
38132
|
member_id: h.string().optional(),
|
|
37518
38133
|
updated_at: h.string().optional()
|
|
37519
|
-
}).optional() }), h.object({
|
|
38134
|
+
}).optional() }), h.object({
|
|
38135
|
+
page: h.int().optional(),
|
|
38136
|
+
size: h.int().optional()
|
|
38137
|
+
}), h.object({
|
|
38138
|
+
tags: h.array(h.string()).optional(),
|
|
38139
|
+
next: h.boolean().optional()
|
|
38140
|
+
}), h.object({ id: h.string() }), h.looseObject({}), h.object({ thread_id: h.string() }), h.object({ tag: h.string().optional() }), h.object({
|
|
38141
|
+
created_at: h.string().optional(),
|
|
38142
|
+
id: h.string().optional(),
|
|
38143
|
+
tag: h.string().optional(),
|
|
38144
|
+
thread_id: h.string().optional()
|
|
38145
|
+
}), h.object({ gate_id: h.string() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.object({ payload: h.string().optional() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.object({
|
|
37520
38146
|
composer_input_disabled: h.boolean().optional(),
|
|
37521
38147
|
items: h.array(h.object({
|
|
37522
38148
|
nested: h.object({ items: h.array(h.unknown()).optional() }).optional(),
|
|
@@ -37674,7 +38300,71 @@ h.object({
|
|
|
37674
38300
|
}), h.object({ meta_app_id: h.string() }), h.object({ extra_scopes: h.array(h.string()).optional() }), h.object({
|
|
37675
38301
|
auth_url: h.string().optional(),
|
|
37676
38302
|
state: h.string().optional()
|
|
38303
|
+
}), h.object({ gate_id: h.string() }), h.object({
|
|
38304
|
+
parameters: h.record(h.string(), h.string()).optional(),
|
|
38305
|
+
language: h.string().optional(),
|
|
38306
|
+
template_id: h.string().optional(),
|
|
38307
|
+
to: h.string().optional()
|
|
38308
|
+
}), h.object({
|
|
38309
|
+
bulk_id: h.string().optional(),
|
|
38310
|
+
message_id: h.string().optional()
|
|
37677
38311
|
}), h.object({ id: h.string() }), h.object({ item: h.object({
|
|
38312
|
+
base_url: h.string().optional(),
|
|
38313
|
+
created_at: h.string().optional(),
|
|
38314
|
+
enabled: h.boolean().optional(),
|
|
38315
|
+
id: h.string().optional(),
|
|
38316
|
+
name: h.string().optional(),
|
|
38317
|
+
sender_name: h.string().optional(),
|
|
38318
|
+
status: h.enum([
|
|
38319
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
38320
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
38321
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
38322
|
+
"PROVIDER_STATUS_ERROR"
|
|
38323
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway."),
|
|
38324
|
+
updated_at: h.string().optional(),
|
|
38325
|
+
webhook_url: h.string().optional()
|
|
38326
|
+
}).optional() }), h.object({ id: h.string() }), h.object({ item: h.object({
|
|
38327
|
+
base_url: h.string().optional(),
|
|
38328
|
+
created_at: h.string().optional(),
|
|
38329
|
+
enabled: h.boolean().optional(),
|
|
38330
|
+
id: h.string().optional(),
|
|
38331
|
+
name: h.string().optional(),
|
|
38332
|
+
sender_name: h.string().optional(),
|
|
38333
|
+
status: h.enum([
|
|
38334
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
38335
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
38336
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
38337
|
+
"PROVIDER_STATUS_ERROR"
|
|
38338
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway."),
|
|
38339
|
+
updated_at: h.string().optional(),
|
|
38340
|
+
webhook_url: h.string().optional()
|
|
38341
|
+
}).optional() }), h.object({ id: h.string() }), h.object({
|
|
38342
|
+
api_key: h.string().optional(),
|
|
38343
|
+
base_url: h.string().optional(),
|
|
38344
|
+
enabled: h.boolean().optional(),
|
|
38345
|
+
name: h.string().optional(),
|
|
38346
|
+
peer: h.object({
|
|
38347
|
+
iss: h.string().optional(),
|
|
38348
|
+
sub: h.string().optional()
|
|
38349
|
+
}).optional(),
|
|
38350
|
+
sender_name: h.string().optional(),
|
|
38351
|
+
webhook_secret: h.string().optional()
|
|
38352
|
+
}), h.object({ item: h.object({
|
|
38353
|
+
base_url: h.string().optional(),
|
|
38354
|
+
created_at: h.string().optional(),
|
|
38355
|
+
enabled: h.boolean().optional(),
|
|
38356
|
+
id: h.string().optional(),
|
|
38357
|
+
name: h.string().optional(),
|
|
38358
|
+
sender_name: h.string().optional(),
|
|
38359
|
+
status: h.enum([
|
|
38360
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
38361
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
38362
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
38363
|
+
"PROVIDER_STATUS_ERROR"
|
|
38364
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway."),
|
|
38365
|
+
updated_at: h.string().optional(),
|
|
38366
|
+
webhook_url: h.string().optional()
|
|
38367
|
+
}).optional() }), h.object({ id: h.string() }), h.object({ item: h.object({
|
|
37678
38368
|
created_at: h.string().optional(),
|
|
37679
38369
|
id: h.string().optional(),
|
|
37680
38370
|
meta_app_id: h.string().optional(),
|
|
@@ -37723,6 +38413,102 @@ h.object({
|
|
|
37723
38413
|
updated_at: h.string().optional(),
|
|
37724
38414
|
waba_id: h.string().optional()
|
|
37725
38415
|
}).optional() }), h.object({
|
|
38416
|
+
allowed_ips: h.array(h.string()).optional(),
|
|
38417
|
+
app_secret: h.string().optional(),
|
|
38418
|
+
callback_url: h.string().optional(),
|
|
38419
|
+
enabled: h.boolean().optional(),
|
|
38420
|
+
name: h.string().optional(),
|
|
38421
|
+
peer: h.object({
|
|
38422
|
+
iss: h.string().optional(),
|
|
38423
|
+
sub: h.string().optional()
|
|
38424
|
+
}).optional(),
|
|
38425
|
+
request_timeout_ms: h.int().optional(),
|
|
38426
|
+
retry_attempts: h.int().optional()
|
|
38427
|
+
}).describe("/ ProviderCreateCustomGateRequest registers an arbitrary external communication\n/ system as a chat channel. Only configuration is required on the Webitel side:\n/ the external system posts signed updates to the generated webhook_url and\n/ receives operator replies on callback_url."), h.object({ item: h.object({
|
|
38428
|
+
allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
|
|
38429
|
+
app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
|
|
38430
|
+
callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
|
|
38431
|
+
created_at: h.string().optional(),
|
|
38432
|
+
enabled: h.boolean().optional(),
|
|
38433
|
+
id: h.string().optional(),
|
|
38434
|
+
name: h.string().optional(),
|
|
38435
|
+
request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
|
|
38436
|
+
retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
|
|
38437
|
+
status: h.enum([
|
|
38438
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
38439
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
38440
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
38441
|
+
"PROVIDER_STATUS_ERROR"
|
|
38442
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
38443
|
+
updated_at: h.string().optional(),
|
|
38444
|
+
webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
|
|
38445
|
+
}).optional() }).describe("/ ProviderCreateCustomGateResponse returns the newly activated custom provider."), h.object({ id: h.string() }), h.object({ item: h.object({
|
|
38446
|
+
allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
|
|
38447
|
+
app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
|
|
38448
|
+
callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
|
|
38449
|
+
created_at: h.string().optional(),
|
|
38450
|
+
enabled: h.boolean().optional(),
|
|
38451
|
+
id: h.string().optional(),
|
|
38452
|
+
name: h.string().optional(),
|
|
38453
|
+
request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
|
|
38454
|
+
retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
|
|
38455
|
+
status: h.enum([
|
|
38456
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
38457
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
38458
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
38459
|
+
"PROVIDER_STATUS_ERROR"
|
|
38460
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
38461
|
+
updated_at: h.string().optional(),
|
|
38462
|
+
webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
|
|
38463
|
+
}).optional() }), h.object({ id: h.string() }), h.object({ item: h.object({
|
|
38464
|
+
allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
|
|
38465
|
+
app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
|
|
38466
|
+
callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
|
|
38467
|
+
created_at: h.string().optional(),
|
|
38468
|
+
enabled: h.boolean().optional(),
|
|
38469
|
+
id: h.string().optional(),
|
|
38470
|
+
name: h.string().optional(),
|
|
38471
|
+
request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
|
|
38472
|
+
retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
|
|
38473
|
+
status: h.enum([
|
|
38474
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
38475
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
38476
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
38477
|
+
"PROVIDER_STATUS_ERROR"
|
|
38478
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
38479
|
+
updated_at: h.string().optional(),
|
|
38480
|
+
webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
|
|
38481
|
+
}).optional() }), h.object({ id: h.string() }), h.object({
|
|
38482
|
+
allowed_ips: h.array(h.string()).optional(),
|
|
38483
|
+
app_secret: h.string().optional(),
|
|
38484
|
+
callback_url: h.string().optional(),
|
|
38485
|
+
enabled: h.boolean().optional(),
|
|
38486
|
+
name: h.string().optional(),
|
|
38487
|
+
peer: h.object({
|
|
38488
|
+
iss: h.string().optional(),
|
|
38489
|
+
sub: h.string().optional()
|
|
38490
|
+
}).optional(),
|
|
38491
|
+
request_timeout_ms: h.int().optional(),
|
|
38492
|
+
retry_attempts: h.int().optional()
|
|
38493
|
+
}).describe("/ ProviderUpdateCustomGateRequest updates custom gateway settings. A non-empty\n/ app_secret rotates the signing secret and breaks the integration until the\n/ external system is updated too."), h.object({ item: h.object({
|
|
38494
|
+
allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
|
|
38495
|
+
app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
|
|
38496
|
+
callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
|
|
38497
|
+
created_at: h.string().optional(),
|
|
38498
|
+
enabled: h.boolean().optional(),
|
|
38499
|
+
id: h.string().optional(),
|
|
38500
|
+
name: h.string().optional(),
|
|
38501
|
+
request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
|
|
38502
|
+
retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
|
|
38503
|
+
status: h.enum([
|
|
38504
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
38505
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
38506
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
38507
|
+
"PROVIDER_STATUS_ERROR"
|
|
38508
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
38509
|
+
updated_at: h.string().optional(),
|
|
38510
|
+
webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
|
|
38511
|
+
}).optional() }).describe("/ ProviderUpdateCustomGateResponse returns the updated custom provider."), h.object({
|
|
37726
38512
|
enabled: h.boolean().optional(),
|
|
37727
38513
|
meta_app_id: h.string().optional(),
|
|
37728
38514
|
name: h.string().optional(),
|
|
@@ -37819,7 +38605,8 @@ h.object({
|
|
|
37819
38605
|
"PROVIDER_TYPE_META_APP",
|
|
37820
38606
|
"PROVIDER_TYPE_FACEBOOK",
|
|
37821
38607
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
37822
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
38608
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
38609
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
37823
38610
|
])).optional().describe("Filter by channel type (Telegram, Facebook, etc.)"),
|
|
37824
38611
|
status: h.enum([
|
|
37825
38612
|
"PROVIDER_STATUS_UNSPECIFIED",
|
|
@@ -37855,7 +38642,8 @@ h.object({
|
|
|
37855
38642
|
"PROVIDER_TYPE_META_APP",
|
|
37856
38643
|
"PROVIDER_TYPE_FACEBOOK",
|
|
37857
38644
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
37858
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
38645
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
38646
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
37859
38647
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging."),
|
|
37860
38648
|
updated_at: h.string().optional(),
|
|
37861
38649
|
webhook_url: h.string().optional()
|
|
@@ -38032,7 +38820,8 @@ h.object({
|
|
|
38032
38820
|
"PROVIDER_TYPE_META_APP",
|
|
38033
38821
|
"PROVIDER_TYPE_FACEBOOK",
|
|
38034
38822
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
38035
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
38823
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
38824
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
38036
38825
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
|
|
38037
38826
|
}).describe("ProviderSendContactRequest sends a contact card."), h.object({
|
|
38038
38827
|
created_at: h.string().optional(),
|
|
@@ -38047,6 +38836,12 @@ h.object({
|
|
|
38047
38836
|
url: h.string().optional()
|
|
38048
38837
|
}).describe("ProviderFile represents a generic file attachment.")).optional(),
|
|
38049
38838
|
domain_id: h.int().optional(),
|
|
38839
|
+
entities: h.array(h.object({
|
|
38840
|
+
length: h.int().optional().describe("Length of the span, in UTF-8 bytes, matching `offset`."),
|
|
38841
|
+
offset: h.int().optional().describe("Start of the span, as a UTF-8 byte offset into the message's text\n(`text` or `caption`). Bounded to reject pathological payloads."),
|
|
38842
|
+
type: h.string().optional().describe("Span kind. Open allow-list -- see message comment above."),
|
|
38843
|
+
value: h.string().optional().describe("Extra data the span kind needs, e.g. the target URL for a LINK entity.\nUnset for kinds that don't need one (BOLD, ITALIC, STRIKETHROUGH, CODE, PRE).")
|
|
38844
|
+
}).describe("Entity is a single formatting span over a message's plain-text content.\nim-gateway-service parses the original markdown exactly once and turns it\ninto a list of these canonical spans (the \"parse-once-at-gateway\" design);\nim-providers-service only relays and renders them for the destination\nchannel -- it does not re-parse markdown.\n\n`type` is an open allow-list, not an enum, so new span kinds can be added\nlater without breaking readers that don't know them yet. Values in use\ntoday: BOLD, ITALIC, STRIKETHROUGH, CODE, PRE, LINK.")).optional().describe("Formatting spans over `caption`, produced once by im-gateway-service when it\nparses the original markdown (parse-once-at-gateway). im-providers-service\nonly relays/renders them for the destination channel; it does not\nre-parse markdown."),
|
|
38050
38845
|
external_user_id: h.string().optional(),
|
|
38051
38846
|
gate_id: h.string().optional(),
|
|
38052
38847
|
message_id: h.string().optional().describe("Internal message context for per-recipient delivery status tracking.\n\nInternal message UUID"),
|
|
@@ -38061,7 +38856,8 @@ h.object({
|
|
|
38061
38856
|
"PROVIDER_TYPE_META_APP",
|
|
38062
38857
|
"PROVIDER_TYPE_FACEBOOK",
|
|
38063
38858
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
38064
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
38859
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
38860
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
38065
38861
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
|
|
38066
38862
|
}).describe("ProviderSendDocumentRequest sends a document with an optional caption."), h.object({
|
|
38067
38863
|
created_at: h.string().optional(),
|
|
@@ -38090,7 +38886,8 @@ h.object({
|
|
|
38090
38886
|
"PROVIDER_TYPE_META_APP",
|
|
38091
38887
|
"PROVIDER_TYPE_FACEBOOK",
|
|
38092
38888
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
38093
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
38889
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
38890
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
38094
38891
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
|
|
38095
38892
|
}).describe("ProviderSendImageRequest sends an image with an optional caption."), h.object({
|
|
38096
38893
|
created_at: h.string().optional(),
|
|
@@ -38160,7 +38957,8 @@ h.object({
|
|
|
38160
38957
|
"PROVIDER_TYPE_META_APP",
|
|
38161
38958
|
"PROVIDER_TYPE_FACEBOOK",
|
|
38162
38959
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
38163
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
38960
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
38961
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
38164
38962
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
|
|
38165
38963
|
}).describe("ProviderSendLocationRequest sends a geographic location."), h.object({
|
|
38166
38964
|
created_at: h.string().optional(),
|
|
@@ -38182,7 +38980,8 @@ h.object({
|
|
|
38182
38980
|
"PROVIDER_TYPE_META_APP",
|
|
38183
38981
|
"PROVIDER_TYPE_FACEBOOK",
|
|
38184
38982
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
38185
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
38983
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
38984
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
38186
38985
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
|
|
38187
38986
|
}).describe("ProviderSendReactionRequest asks a provider to set or clear an emoji reaction\non a message already delivered to the external chat partner."), h.looseObject({}).describe("ProviderSendReactionResponse is intentionally empty: reactions are\nfire-and-forget and best-effort."), h.object({
|
|
38188
38987
|
domain_id: h.int().optional(),
|
|
@@ -38197,6 +38996,12 @@ h.object({
|
|
|
38197
38996
|
external_id: h.string().optional()
|
|
38198
38997
|
}).describe("ProviderSendMessageResponse returns the delivery status and external message ID."), h.object({
|
|
38199
38998
|
domain_id: h.int().optional(),
|
|
38999
|
+
entities: h.array(h.object({
|
|
39000
|
+
length: h.int().optional().describe("Length of the span, in UTF-8 bytes, matching `offset`."),
|
|
39001
|
+
offset: h.int().optional().describe("Start of the span, as a UTF-8 byte offset into the message's text\n(`text` or `caption`). Bounded to reject pathological payloads."),
|
|
39002
|
+
type: h.string().optional().describe("Span kind. Open allow-list -- see message comment above."),
|
|
39003
|
+
value: h.string().optional().describe("Extra data the span kind needs, e.g. the target URL for a LINK entity.\nUnset for kinds that don't need one (BOLD, ITALIC, STRIKETHROUGH, CODE, PRE).")
|
|
39004
|
+
}).describe("Entity is a single formatting span over a message's plain-text content.\nim-gateway-service parses the original markdown exactly once and turns it\ninto a list of these canonical spans (the \"parse-once-at-gateway\" design);\nim-providers-service only relays and renders them for the destination\nchannel -- it does not re-parse markdown.\n\n`type` is an open allow-list, not an enum, so new span kinds can be added\nlater without breaking readers that don't know them yet. Values in use\ntoday: BOLD, ITALIC, STRIKETHROUGH, CODE, PRE, LINK.")).optional().describe("Formatting spans over `text`, produced once by im-gateway-service when it\nparses the original markdown (parse-once-at-gateway). im-providers-service\nonly relays/renders them for the destination channel; it does not\nre-parse markdown."),
|
|
38200
39005
|
external_user_id: h.string().optional(),
|
|
38201
39006
|
gate_id: h.string().optional(),
|
|
38202
39007
|
message_id: h.string().optional().describe("Internal message context for per-recipient delivery status tracking:\nthe provider service persists the provider_message_id mapping on send\nand reports MarkDelivered/MarkRead/MarkFailed receipts back to im-thread.\n\nInternal message UUID"),
|
|
@@ -38213,7 +39018,8 @@ h.object({
|
|
|
38213
39018
|
"PROVIDER_TYPE_META_APP",
|
|
38214
39019
|
"PROVIDER_TYPE_FACEBOOK",
|
|
38215
39020
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
38216
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
39021
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
39022
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
38217
39023
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
|
|
38218
39024
|
}).describe("ProviderSendTextRequest sends a simple text message."), h.object({
|
|
38219
39025
|
created_at: h.string().optional(),
|
|
@@ -38231,10 +39037,123 @@ h.object({
|
|
|
38231
39037
|
"PROVIDER_TYPE_META_APP",
|
|
38232
39038
|
"PROVIDER_TYPE_FACEBOOK",
|
|
38233
39039
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
38234
|
-
"PROVIDER_TYPE_WHATSAPP"
|
|
39040
|
+
"PROVIDER_TYPE_WHATSAPP",
|
|
39041
|
+
"PROVIDER_TYPE_CUSTOM"
|
|
38235
39042
|
]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging."),
|
|
38236
39043
|
typing_on: h.boolean().optional()
|
|
38237
39044
|
}).describe("ProviderSendTypingRequest asks a provider to show/hide a typing indicator\nto the external chat partner."), h.looseObject({}).describe("ProviderSendTypingResponse is intentionally empty: typing is fire-and-forget."), h.object({
|
|
39045
|
+
page: h.int().optional(),
|
|
39046
|
+
size: h.int().optional(),
|
|
39047
|
+
q: h.string().optional()
|
|
39048
|
+
}), h.object({
|
|
39049
|
+
items: h.array(h.object({
|
|
39050
|
+
base_url: h.string().optional(),
|
|
39051
|
+
created_at: h.string().optional(),
|
|
39052
|
+
enabled: h.boolean().optional(),
|
|
39053
|
+
id: h.string().optional(),
|
|
39054
|
+
name: h.string().optional(),
|
|
39055
|
+
sender_name: h.string().optional(),
|
|
39056
|
+
status: h.enum([
|
|
39057
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
39058
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
39059
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
39060
|
+
"PROVIDER_STATUS_ERROR"
|
|
39061
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
39062
|
+
updated_at: h.string().optional(),
|
|
39063
|
+
webhook_url: h.string().optional()
|
|
39064
|
+
}).describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.")).optional(),
|
|
39065
|
+
next: h.boolean().optional()
|
|
39066
|
+
}).describe("/ ProviderListViberBmGatesResponse returns the configured gateways."), h.object({
|
|
39067
|
+
api_key: h.string().optional(),
|
|
39068
|
+
base_url: h.string().optional(),
|
|
39069
|
+
enabled: h.boolean().optional(),
|
|
39070
|
+
name: h.string().optional(),
|
|
39071
|
+
peer: h.object({
|
|
39072
|
+
iss: h.string().optional(),
|
|
39073
|
+
sub: h.string().optional()
|
|
39074
|
+
}).optional(),
|
|
39075
|
+
sender_name: h.string().optional(),
|
|
39076
|
+
webhook_secret: h.string().optional()
|
|
39077
|
+
}).describe("/ ProviderCreateViberBmGateRequest registers an InfoBip Viber BM account."), h.object({ item: h.object({
|
|
39078
|
+
base_url: h.string().optional(),
|
|
39079
|
+
created_at: h.string().optional(),
|
|
39080
|
+
enabled: h.boolean().optional(),
|
|
39081
|
+
id: h.string().optional(),
|
|
39082
|
+
name: h.string().optional(),
|
|
39083
|
+
sender_name: h.string().optional(),
|
|
39084
|
+
status: h.enum([
|
|
39085
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
39086
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
39087
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
39088
|
+
"PROVIDER_STATUS_ERROR"
|
|
39089
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
39090
|
+
updated_at: h.string().optional(),
|
|
39091
|
+
webhook_url: h.string().optional()
|
|
39092
|
+
}).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }).describe("/ ProviderCreateViberBmGateResponse returns the newly activated gateway."), h.object({ gate_id_1: h.string() }), h.object({
|
|
39093
|
+
parameters: h.record(h.string(), h.string()).optional(),
|
|
39094
|
+
language: h.string().optional(),
|
|
39095
|
+
template_id: h.string().optional(),
|
|
39096
|
+
to: h.string().optional()
|
|
39097
|
+
}).describe("/ SendViberBmTemplateRequest sends an approved cold-start template."), h.object({
|
|
39098
|
+
bulk_id: h.string().optional(),
|
|
39099
|
+
message_id: h.string().optional()
|
|
39100
|
+
}).describe("/ SendViberBmTemplateResponse confirms the template dispatch."), h.object({ id_1: h.string() }), h.object({ item: h.object({
|
|
39101
|
+
base_url: h.string().optional(),
|
|
39102
|
+
created_at: h.string().optional(),
|
|
39103
|
+
enabled: h.boolean().optional(),
|
|
39104
|
+
id: h.string().optional(),
|
|
39105
|
+
name: h.string().optional(),
|
|
39106
|
+
sender_name: h.string().optional(),
|
|
39107
|
+
status: h.enum([
|
|
39108
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
39109
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
39110
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
39111
|
+
"PROVIDER_STATUS_ERROR"
|
|
39112
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
39113
|
+
updated_at: h.string().optional(),
|
|
39114
|
+
webhook_url: h.string().optional()
|
|
39115
|
+
}).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }), h.object({ id_1: h.string() }), h.object({ item: h.object({
|
|
39116
|
+
base_url: h.string().optional(),
|
|
39117
|
+
created_at: h.string().optional(),
|
|
39118
|
+
enabled: h.boolean().optional(),
|
|
39119
|
+
id: h.string().optional(),
|
|
39120
|
+
name: h.string().optional(),
|
|
39121
|
+
sender_name: h.string().optional(),
|
|
39122
|
+
status: h.enum([
|
|
39123
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
39124
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
39125
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
39126
|
+
"PROVIDER_STATUS_ERROR"
|
|
39127
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
39128
|
+
updated_at: h.string().optional(),
|
|
39129
|
+
webhook_url: h.string().optional()
|
|
39130
|
+
}).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }), h.object({ id_1: h.string() }), h.object({
|
|
39131
|
+
api_key: h.string().optional(),
|
|
39132
|
+
base_url: h.string().optional(),
|
|
39133
|
+
enabled: h.boolean().optional(),
|
|
39134
|
+
name: h.string().optional(),
|
|
39135
|
+
peer: h.object({
|
|
39136
|
+
iss: h.string().optional(),
|
|
39137
|
+
sub: h.string().optional()
|
|
39138
|
+
}).optional(),
|
|
39139
|
+
sender_name: h.string().optional(),
|
|
39140
|
+
webhook_secret: h.string().optional()
|
|
39141
|
+
}).describe("/ ProviderUpdateViberBmGateRequest updates settings. A non-empty api_key rotates the key."), h.object({ item: h.object({
|
|
39142
|
+
base_url: h.string().optional(),
|
|
39143
|
+
created_at: h.string().optional(),
|
|
39144
|
+
enabled: h.boolean().optional(),
|
|
39145
|
+
id: h.string().optional(),
|
|
39146
|
+
name: h.string().optional(),
|
|
39147
|
+
sender_name: h.string().optional(),
|
|
39148
|
+
status: h.enum([
|
|
39149
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
39150
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
39151
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
39152
|
+
"PROVIDER_STATUS_ERROR"
|
|
39153
|
+
]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
|
|
39154
|
+
updated_at: h.string().optional(),
|
|
39155
|
+
webhook_url: h.string().optional()
|
|
39156
|
+
}).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }).describe("/ ProviderUpdateViberBmGateResponse returns the updated gateway."), h.object({
|
|
38238
39157
|
auth_token: h.string().optional(),
|
|
38239
39158
|
enabled: h.boolean().optional(),
|
|
38240
39159
|
name: h.string().optional(),
|
|
@@ -38882,8 +39801,45 @@ h.object({
|
|
|
38882
39801
|
}).optional()
|
|
38883
39802
|
}).optional() });
|
|
38884
39803
|
//#endregion
|
|
38885
|
-
//#region packages/api-services/src/
|
|
38886
|
-
var
|
|
39804
|
+
//#region packages/api-services/src/gen-wire/list-service/list-service.ts
|
|
39805
|
+
var z = (e = a) => ({
|
|
39806
|
+
messagesServiceBroadcastMessage: (t, n) => e.post("/chat/broadcast", t, n),
|
|
39807
|
+
catalogGetCustomers: (t, n) => e.get("/chat/customers", {
|
|
39808
|
+
...n,
|
|
39809
|
+
params: {
|
|
39810
|
+
...t,
|
|
39811
|
+
...n?.params
|
|
39812
|
+
}
|
|
39813
|
+
}),
|
|
39814
|
+
catalogGetDialogs: (t, n) => e.get("/chat/dialogs", {
|
|
39815
|
+
...n,
|
|
39816
|
+
params: {
|
|
39817
|
+
...t,
|
|
39818
|
+
...n?.params
|
|
39819
|
+
}
|
|
39820
|
+
}),
|
|
39821
|
+
catalogGetMembers: (t, n, r) => e.get(`/chat/dialogs/${t}/members`, {
|
|
39822
|
+
...r,
|
|
39823
|
+
params: {
|
|
39824
|
+
...n,
|
|
39825
|
+
...r?.params
|
|
39826
|
+
}
|
|
39827
|
+
}),
|
|
39828
|
+
catalogGetHistory: (t, n, r) => e.get(`/chat/dialogs/${t}/messages`, {
|
|
39829
|
+
...r,
|
|
39830
|
+
params: {
|
|
39831
|
+
...n,
|
|
39832
|
+
...r?.params
|
|
39833
|
+
}
|
|
39834
|
+
}),
|
|
39835
|
+
catalogGetHistory2: (t, n, r, i) => e.get(`/chat/${t}/${n}/messages`, {
|
|
39836
|
+
...i,
|
|
39837
|
+
params: {
|
|
39838
|
+
...r,
|
|
39839
|
+
...i?.params
|
|
39840
|
+
}
|
|
39841
|
+
})
|
|
39842
|
+
}), Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), B = async (e) => {
|
|
38887
39843
|
let t = (e) => e.map((e) => ({
|
|
38888
39844
|
...e,
|
|
38889
39845
|
statusDuration: He(e.statusDuration)
|
|
@@ -39145,7 +40101,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
|
|
|
39145
40101
|
},
|
|
39146
40102
|
...N(Ve)
|
|
39147
40103
|
};
|
|
39148
|
-
({ ...N("/calendars") }), v(ie), v(
|
|
40104
|
+
({ ...N("/calendars") }), v(ie), v(L), v(L), v(Ne), v(Me), v(oe), v(ae), { ...N("/cases") }, Object.freeze({
|
|
39149
40105
|
VIBER: "viber",
|
|
39150
40106
|
WHATSAPP: "whatsapp",
|
|
39151
40107
|
TELEGRAM: "telegram",
|
|
@@ -39156,7 +40112,7 @@ var Ke = {
|
|
|
39156
40112
|
patch: async (e) => {
|
|
39157
40113
|
let t = S(e, [C()]);
|
|
39158
40114
|
try {
|
|
39159
|
-
return S((await
|
|
40115
|
+
return S((await z().messagesServiceBroadcastMessage(t)).data, [j()]);
|
|
39160
40116
|
} catch (e) {
|
|
39161
40117
|
throw S(e, [k]);
|
|
39162
40118
|
}
|
|
@@ -39164,7 +40120,7 @@ var Ke = {
|
|
|
39164
40120
|
getChatHistory: async ({ chatId: e, ...t }) => {
|
|
39165
40121
|
let n = S(t, [E(x()), C()]);
|
|
39166
40122
|
try {
|
|
39167
|
-
let { messages: t, peers: r, next: i } = S((await
|
|
40123
|
+
let { messages: t, peers: r, next: i } = S((await z().catalogGetHistory(String(e), n)).data, [j(), E(b())]);
|
|
39168
40124
|
return {
|
|
39169
40125
|
messages: t,
|
|
39170
40126
|
peers: r,
|
|
@@ -39175,7 +40131,7 @@ var Ke = {
|
|
|
39175
40131
|
}
|
|
39176
40132
|
}
|
|
39177
40133
|
};
|
|
39178
|
-
v(De), { ...N("/oauth/apps") }, i(), { ...N("/call_center/resource_group") }, { ...N("/call_center/resources") }, v(
|
|
40134
|
+
v(De), { ...N("/oauth/apps") }, i(), { ...N("/call_center/resource_group") }, { ...N("/call_center/resources") }, v(I), v(ke);
|
|
39179
40135
|
//#endregion
|
|
39180
40136
|
//#region packages/api-services/src/validations/_shared/clearableNumber.validations.ts
|
|
39181
40137
|
var H = g.number().nullable().optional(), U = (e = 1) => g.union([g.string().min(e), g.number().min(e)]), W = (e) => ({ params: { i18nKey: e } }), G = (e) => e == null ? !1 : Array.isArray(e) ? e.length > 0 : e instanceof Date ? !Number.isNaN(e.getTime()) : typeof e == "object" ? Object.keys(e).length > 0 : String(e).length > 0, K = g.object({
|
|
@@ -39746,7 +40702,7 @@ g.object({
|
|
|
39746
40702
|
}), g.object({ fields: g.array(g.any()).optional() }), g.object({
|
|
39747
40703
|
key: g.string().min(1),
|
|
39748
40704
|
value: g.string().min(1)
|
|
39749
|
-
}), [...v(vt)], [...v(yt)], [...v(xt)], [...v(St)], [...v(Ct)], d.OFFLINE_QUEUE, d.INBOUND_QUEUE, d.OUTBOUND_IVR_QUEUE, d.PREVIEW_DIALER, d.PROGRESSIVE_DIALER, d.PREDICTIVE_DIALER, d.CHAT_INBOUND_QUEUE, d.IM_CHAT_QUEUE, d.INBOUND_JOB_QUEUE, d.OUTBOUND_JOB_QUEUE, v(_t), { ...N("/call_center/queues") }, { ...N("/call_center/teams") }, i(), { ...N("/users") }, v(
|
|
40705
|
+
}), [...v(vt)], [...v(yt)], [...v(xt)], [...v(St)], [...v(Ct)], d.OFFLINE_QUEUE, d.INBOUND_QUEUE, d.OUTBOUND_IVR_QUEUE, d.PREVIEW_DIALER, d.PROGRESSIVE_DIALER, d.PREDICTIVE_DIALER, d.CHAT_INBOUND_QUEUE, d.IM_CHAT_QUEUE, d.INBOUND_JOB_QUEUE, d.OUTBOUND_JOB_QUEUE, v(_t), { ...N("/call_center/queues") }, { ...N("/call_center/teams") }, i(), { ...N("/users") }, v(R), v(Be), i();
|
|
39750
40706
|
//#endregion
|
|
39751
40707
|
//#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
|
|
39752
40708
|
var Tt = i(), Et = async ({ path: e, display: t, primary: n, ...r }) => {
|