@webitel/ui-sdk 26.8.146 → 26.8.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/{clients-C8iQUpKL.js → clients-Czz3NjJo.js} +651 -61
  2. package/dist/{components-DDe2Hor4.js → components-BtmD0hC5.js} +3 -3
  3. package/dist/ui-sdk.css +1 -1
  4. package/dist/ui-sdk.js +1 -1
  5. package/dist/ui-sdk.umd.cjs +718 -696
  6. package/dist/{wt-chat-emoji-qxtZmAHe.js → wt-chat-emoji-MsObqyU0.js} +1 -1
  7. package/dist/{wt-display-chip-items-ChCoDhQE.js → wt-display-chip-items-Y1SE_tA1.js} +1 -1
  8. package/dist/{wt-send-message-popup-0lqmtkJP.js → wt-send-message-popup-DBrNMe7E.js} +2 -2
  9. package/dist/{wt-tree-table-K5UphR9W.js → wt-tree-table-CAbPVuSj.js} +2 -2
  10. package/dist/{wt-type-extension-value-input-D2k5q8tl.js → wt-type-extension-value-input-CDSzvRGt.js} +2 -2
  11. package/dist/{wt-vidstack-player-CZi8PLJN.js → wt-vidstack-player-BlgiRlg8.js} +1 -1
  12. package/package.json +1 -1
  13. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +2 -2
  14. package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +14 -1
  15. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +0 -3
  16. package/src/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue +4 -2
  17. package/src/modules/AuditForm/components/form-questions/options/audit-form-question-options.vue +21 -2
  18. package/src/modules/AuditForm/components/form-questions/score/audit-form-question-score.vue +27 -3
  19. package/src/modules/AuditForm/components/form-questions/yes/audit-form-question-yes.vue +37 -3
  20. package/types/.tsbuildinfo +1 -1
  21. package/types/modules/AuditForm/components/form-questions/yes/audit-form-question-yes.vue.d.ts +4 -1
@@ -1,7 +1,7 @@
1
1
  import { c as e } from "./dist-EXdgfpvN.js";
2
2
  import { a as t, i as n, n as r, t as i } from "./genClient-CvWlQ0TZ.js";
3
3
  import { i as a, r as o } from "./caseConverters-DGri4uJo.js";
4
- import { E as s, w as c } from "./components-DDe2Hor4.js";
4
+ import { E as s, w as c } from "./components-BtmD0hC5.js";
5
5
  import { a as l, c as u, r as d, u as f } from "./convertDuration-CIPonKKW.js";
6
6
  import { S as p, T as m, v as ee } from "./enums-CKer6GJR.js";
7
7
  import { t as te } from "./deep-copy-BJdHBMNZ.js";
@@ -22486,6 +22486,33 @@ v.array(Fe), v.object({
22486
22486
  id: v.string().optional(),
22487
22487
  list_id: v.string().optional(),
22488
22488
  number: v.string().optional()
22489
+ }), v.object({ list_id: v.string() }), v.object({ items: v.array(v.object({
22490
+ description: v.string().optional(),
22491
+ expire_at: v.string().optional(),
22492
+ number: v.string().optional()
22493
+ })).optional() }), v.object({
22494
+ data: v.array(v.object({
22495
+ description: v.string().optional(),
22496
+ expire_at: v.string().optional(),
22497
+ id: v.string().optional(),
22498
+ list_id: v.string().optional(),
22499
+ number: v.string().optional()
22500
+ })).optional(),
22501
+ failures: v.array(v.object({
22502
+ error: v.object({
22503
+ code: v.int().optional(),
22504
+ details: v.array(v.object({ "@type": v.string().optional() })).optional(),
22505
+ message: v.string().optional()
22506
+ }).optional(),
22507
+ index: v.int().optional(),
22508
+ item: v.object({
22509
+ description: v.string().optional(),
22510
+ expire_at: v.string().optional(),
22511
+ id: v.string().optional(),
22512
+ list_id: v.string().optional(),
22513
+ number: v.string().optional()
22514
+ }).optional()
22515
+ })).optional()
22489
22516
  }), v.object({
22490
22517
  list_id: v.string(),
22491
22518
  id: v.string()
@@ -31626,18 +31653,18 @@ v.array(Je), v.object({
31626
31653
  q: v.string().optional(),
31627
31654
  sort: v.string().optional(),
31628
31655
  fields: v.array(v.string()).optional(),
31629
- name: v.array(v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split("."))).optional().describe("Filter by setting names")
31656
+ name: v.array(v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split("."))).optional().describe("Filter by setting names")
31630
31657
  }), v.object({
31631
31658
  items: v.array(v.object({
31632
31659
  id: v.int().optional(),
31633
- name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
31660
+ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split(".")).default("empty_system_settings_name")
31634
31661
  })).optional(),
31635
31662
  next: v.boolean().optional()
31636
31663
  });
31637
- var Ye = v.object({ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name") });
31664
+ var Ye = v.object({ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split(".")).default("empty_system_settings_name") });
31638
31665
  v.object({
31639
31666
  id: v.int().optional(),
31640
- name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
31667
+ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split(".")).default("empty_system_settings_name")
31641
31668
  }), v.object({
31642
31669
  page: v.int().optional(),
31643
31670
  size: v.int().optional(),
@@ -31649,16 +31676,16 @@ v.object({
31649
31676
  next: v.boolean().optional()
31650
31677
  }), v.object({ id: v.int() }), v.object({
31651
31678
  id: v.int().optional(),
31652
- name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
31679
+ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split(".")).default("empty_system_settings_name")
31653
31680
  }), v.object({ id: v.int() }), v.object({
31654
31681
  id: v.int().optional(),
31655
- name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
31682
+ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split(".")).default("empty_system_settings_name")
31656
31683
  }), v.object({ id: v.int() }), v.object({ fields: v.array(v.string()).optional() }), v.object({
31657
31684
  id: v.int().optional(),
31658
- name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
31685
+ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split(".")).default("empty_system_settings_name")
31659
31686
  }), v.object({ id: v.int() }), v.looseObject({}), v.object({
31660
31687
  id: v.int().optional(),
31661
- name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
31688
+ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification.record_all_calls".split(".")).default("empty_system_settings_name")
31662
31689
  }), v.object({
31663
31690
  page: v.int().optional(),
31664
31691
  size: v.int().optional()
@@ -35472,6 +35499,55 @@ v.object({
35472
35499
  url: v.string().optional().describe("Public signed URL for downloading the document.")
35473
35500
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
35474
35501
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
35502
+ failures: v.array(v.object({
35503
+ error: v.object({
35504
+ code: v.string().optional(),
35505
+ message: v.string().optional()
35506
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
35507
+ member: v.object({
35508
+ contact: v.object({
35509
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
35510
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
35511
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
35512
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
35513
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
35514
+ name: v.string().optional().describe("Display name of the contact."),
35515
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
35516
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
35517
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
35518
+ username: v.string().optional().describe("Technical username or handle."),
35519
+ vias: v.array(v.object({
35520
+ contact_id: v.string().optional(),
35521
+ created_at: v.string().optional(),
35522
+ disable: v.boolean().optional(),
35523
+ disable_reason: v.string().optional(),
35524
+ metadata: v.looseObject({}).optional(),
35525
+ updated_at: v.string().optional(),
35526
+ via: v.string().optional()
35527
+ })).optional()
35528
+ }).optional().describe("Contact represents an external messaging identity."),
35529
+ id: v.string().optional(),
35530
+ permissions: v.object({
35531
+ can_add_members: v.boolean().optional(),
35532
+ can_change_members_permissions: v.boolean().optional(),
35533
+ can_change_thread_info: v.boolean().optional(),
35534
+ can_delete_messages: v.boolean().optional(),
35535
+ can_remove_members: v.boolean().optional(),
35536
+ can_send_messages: v.boolean().optional(),
35537
+ created_at: v.string().optional(),
35538
+ id: v.string().optional(),
35539
+ member_id: v.string().optional(),
35540
+ updated_at: v.string().optional()
35541
+ }).optional(),
35542
+ role: v.enum([
35543
+ "ROLE_UNSPECIFIED",
35544
+ "ROLE_MEMBER",
35545
+ "ROLE_ADMIN",
35546
+ "ROLE_OWNER",
35547
+ "ROLE_SUPERVISOR"
35548
+ ]).default("ROLE_UNSPECIFIED")
35549
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
35550
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
35475
35551
  forward_origin: v.object({
35476
35552
  kind: v.enum([
35477
35553
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -35847,6 +35923,55 @@ v.object({
35847
35923
  url: v.string().optional().describe("Public signed URL for downloading the document.")
35848
35924
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
35849
35925
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
35926
+ failures: v.array(v.object({
35927
+ error: v.object({
35928
+ code: v.string().optional(),
35929
+ message: v.string().optional()
35930
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
35931
+ member: v.object({
35932
+ contact: v.object({
35933
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
35934
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
35935
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
35936
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
35937
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
35938
+ name: v.string().optional().describe("Display name of the contact."),
35939
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
35940
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
35941
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
35942
+ username: v.string().optional().describe("Technical username or handle."),
35943
+ vias: v.array(v.object({
35944
+ contact_id: v.string().optional(),
35945
+ created_at: v.string().optional(),
35946
+ disable: v.boolean().optional(),
35947
+ disable_reason: v.string().optional(),
35948
+ metadata: v.looseObject({}).optional(),
35949
+ updated_at: v.string().optional(),
35950
+ via: v.string().optional()
35951
+ })).optional()
35952
+ }).optional().describe("Contact represents an external messaging identity."),
35953
+ id: v.string().optional(),
35954
+ permissions: v.object({
35955
+ can_add_members: v.boolean().optional(),
35956
+ can_change_members_permissions: v.boolean().optional(),
35957
+ can_change_thread_info: v.boolean().optional(),
35958
+ can_delete_messages: v.boolean().optional(),
35959
+ can_remove_members: v.boolean().optional(),
35960
+ can_send_messages: v.boolean().optional(),
35961
+ created_at: v.string().optional(),
35962
+ id: v.string().optional(),
35963
+ member_id: v.string().optional(),
35964
+ updated_at: v.string().optional()
35965
+ }).optional(),
35966
+ role: v.enum([
35967
+ "ROLE_UNSPECIFIED",
35968
+ "ROLE_MEMBER",
35969
+ "ROLE_ADMIN",
35970
+ "ROLE_OWNER",
35971
+ "ROLE_SUPERVISOR"
35972
+ ]).default("ROLE_UNSPECIFIED")
35973
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
35974
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
35850
35975
  forward_origin: v.object({
35851
35976
  kind: v.enum([
35852
35977
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -36168,6 +36293,55 @@ v.object({
36168
36293
  url: v.string().optional().describe("Public signed URL for downloading the document.")
36169
36294
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
36170
36295
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
36296
+ failures: v.array(v.object({
36297
+ error: v.object({
36298
+ code: v.string().optional(),
36299
+ message: v.string().optional()
36300
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
36301
+ member: v.object({
36302
+ contact: v.object({
36303
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
36304
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
36305
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
36306
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
36307
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
36308
+ name: v.string().optional().describe("Display name of the contact."),
36309
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
36310
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
36311
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
36312
+ username: v.string().optional().describe("Technical username or handle."),
36313
+ vias: v.array(v.object({
36314
+ contact_id: v.string().optional(),
36315
+ created_at: v.string().optional(),
36316
+ disable: v.boolean().optional(),
36317
+ disable_reason: v.string().optional(),
36318
+ metadata: v.looseObject({}).optional(),
36319
+ updated_at: v.string().optional(),
36320
+ via: v.string().optional()
36321
+ })).optional()
36322
+ }).optional().describe("Contact represents an external messaging identity."),
36323
+ id: v.string().optional(),
36324
+ permissions: v.object({
36325
+ can_add_members: v.boolean().optional(),
36326
+ can_change_members_permissions: v.boolean().optional(),
36327
+ can_change_thread_info: v.boolean().optional(),
36328
+ can_delete_messages: v.boolean().optional(),
36329
+ can_remove_members: v.boolean().optional(),
36330
+ can_send_messages: v.boolean().optional(),
36331
+ created_at: v.string().optional(),
36332
+ id: v.string().optional(),
36333
+ member_id: v.string().optional(),
36334
+ updated_at: v.string().optional()
36335
+ }).optional(),
36336
+ role: v.enum([
36337
+ "ROLE_UNSPECIFIED",
36338
+ "ROLE_MEMBER",
36339
+ "ROLE_ADMIN",
36340
+ "ROLE_OWNER",
36341
+ "ROLE_SUPERVISOR"
36342
+ ]).default("ROLE_UNSPECIFIED")
36343
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
36344
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
36171
36345
  forward_origin: v.object({
36172
36346
  kind: v.enum([
36173
36347
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -36428,7 +36602,8 @@ v.object({
36428
36602
  size: v.int().optional().describe("Maximum number of threads to return per page.\nMust be greater than 0 and less than or equal to 100."),
36429
36603
  sort: v.string().optional().describe("Sorting field.\nOptional \"+\" or \"-\" prefix indicates ascending or descending order.\nExample: \"-created_at\", \"subject\""),
36430
36604
  page: v.int().optional().describe("Page number (1-based)."),
36431
- contact_ids: v.array(v.string()).optional().describe("Filter threads by participant contact IDs.")
36605
+ contact_ids: v.array(v.string()).optional().describe("Filter threads by participant contact IDs."),
36606
+ unread: v.boolean().optional().describe("Return only threads where the caller has at least one unread message.\nIgnored when false.")
36432
36607
  }), v.object({
36433
36608
  items: v.array(v.object({
36434
36609
  created_at: v.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
@@ -36498,6 +36673,55 @@ v.object({
36498
36673
  url: v.string().optional().describe("Public signed URL for downloading the document.")
36499
36674
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
36500
36675
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
36676
+ failures: v.array(v.object({
36677
+ error: v.object({
36678
+ code: v.string().optional(),
36679
+ message: v.string().optional()
36680
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
36681
+ member: v.object({
36682
+ contact: v.object({
36683
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
36684
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
36685
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
36686
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
36687
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
36688
+ name: v.string().optional().describe("Display name of the contact."),
36689
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
36690
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
36691
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
36692
+ username: v.string().optional().describe("Technical username or handle."),
36693
+ vias: v.array(v.object({
36694
+ contact_id: v.string().optional(),
36695
+ created_at: v.string().optional(),
36696
+ disable: v.boolean().optional(),
36697
+ disable_reason: v.string().optional(),
36698
+ metadata: v.looseObject({}).optional(),
36699
+ updated_at: v.string().optional(),
36700
+ via: v.string().optional()
36701
+ })).optional()
36702
+ }).optional().describe("Contact represents an external messaging identity."),
36703
+ id: v.string().optional(),
36704
+ permissions: v.object({
36705
+ can_add_members: v.boolean().optional(),
36706
+ can_change_members_permissions: v.boolean().optional(),
36707
+ can_change_thread_info: v.boolean().optional(),
36708
+ can_delete_messages: v.boolean().optional(),
36709
+ can_remove_members: v.boolean().optional(),
36710
+ can_send_messages: v.boolean().optional(),
36711
+ created_at: v.string().optional(),
36712
+ id: v.string().optional(),
36713
+ member_id: v.string().optional(),
36714
+ updated_at: v.string().optional()
36715
+ }).optional(),
36716
+ role: v.enum([
36717
+ "ROLE_UNSPECIFIED",
36718
+ "ROLE_MEMBER",
36719
+ "ROLE_ADMIN",
36720
+ "ROLE_OWNER",
36721
+ "ROLE_SUPERVISOR"
36722
+ ]).default("ROLE_UNSPECIFIED")
36723
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
36724
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
36501
36725
  forward_origin: v.object({
36502
36726
  kind: v.enum([
36503
36727
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -36954,6 +37178,55 @@ v.object({
36954
37178
  url: v.string().optional().describe("Public signed URL for downloading the document.")
36955
37179
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
36956
37180
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
37181
+ failures: v.array(v.object({
37182
+ error: v.object({
37183
+ code: v.string().optional(),
37184
+ message: v.string().optional()
37185
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
37186
+ member: v.object({
37187
+ contact: v.object({
37188
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
37189
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
37190
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
37191
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
37192
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
37193
+ name: v.string().optional().describe("Display name of the contact."),
37194
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
37195
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
37196
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
37197
+ username: v.string().optional().describe("Technical username or handle."),
37198
+ vias: v.array(v.object({
37199
+ contact_id: v.string().optional(),
37200
+ created_at: v.string().optional(),
37201
+ disable: v.boolean().optional(),
37202
+ disable_reason: v.string().optional(),
37203
+ metadata: v.looseObject({}).optional(),
37204
+ updated_at: v.string().optional(),
37205
+ via: v.string().optional()
37206
+ })).optional()
37207
+ }).optional().describe("Contact represents an external messaging identity."),
37208
+ id: v.string().optional(),
37209
+ permissions: v.object({
37210
+ can_add_members: v.boolean().optional(),
37211
+ can_change_members_permissions: v.boolean().optional(),
37212
+ can_change_thread_info: v.boolean().optional(),
37213
+ can_delete_messages: v.boolean().optional(),
37214
+ can_remove_members: v.boolean().optional(),
37215
+ can_send_messages: v.boolean().optional(),
37216
+ created_at: v.string().optional(),
37217
+ id: v.string().optional(),
37218
+ member_id: v.string().optional(),
37219
+ updated_at: v.string().optional()
37220
+ }).optional(),
37221
+ role: v.enum([
37222
+ "ROLE_UNSPECIFIED",
37223
+ "ROLE_MEMBER",
37224
+ "ROLE_ADMIN",
37225
+ "ROLE_OWNER",
37226
+ "ROLE_SUPERVISOR"
37227
+ ]).default("ROLE_UNSPECIFIED")
37228
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
37229
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
36957
37230
  forward_origin: v.object({
36958
37231
  kind: v.enum([
36959
37232
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -37414,6 +37687,55 @@ v.object({
37414
37687
  url: v.string().optional().describe("Public signed URL for downloading the document.")
37415
37688
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
37416
37689
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
37690
+ failures: v.array(v.object({
37691
+ error: v.object({
37692
+ code: v.string().optional(),
37693
+ message: v.string().optional()
37694
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
37695
+ member: v.object({
37696
+ contact: v.object({
37697
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
37698
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
37699
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
37700
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
37701
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
37702
+ name: v.string().optional().describe("Display name of the contact."),
37703
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
37704
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
37705
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
37706
+ username: v.string().optional().describe("Technical username or handle."),
37707
+ vias: v.array(v.object({
37708
+ contact_id: v.string().optional(),
37709
+ created_at: v.string().optional(),
37710
+ disable: v.boolean().optional(),
37711
+ disable_reason: v.string().optional(),
37712
+ metadata: v.looseObject({}).optional(),
37713
+ updated_at: v.string().optional(),
37714
+ via: v.string().optional()
37715
+ })).optional()
37716
+ }).optional().describe("Contact represents an external messaging identity."),
37717
+ id: v.string().optional(),
37718
+ permissions: v.object({
37719
+ can_add_members: v.boolean().optional(),
37720
+ can_change_members_permissions: v.boolean().optional(),
37721
+ can_change_thread_info: v.boolean().optional(),
37722
+ can_delete_messages: v.boolean().optional(),
37723
+ can_remove_members: v.boolean().optional(),
37724
+ can_send_messages: v.boolean().optional(),
37725
+ created_at: v.string().optional(),
37726
+ id: v.string().optional(),
37727
+ member_id: v.string().optional(),
37728
+ updated_at: v.string().optional()
37729
+ }).optional(),
37730
+ role: v.enum([
37731
+ "ROLE_UNSPECIFIED",
37732
+ "ROLE_MEMBER",
37733
+ "ROLE_ADMIN",
37734
+ "ROLE_OWNER",
37735
+ "ROLE_SUPERVISOR"
37736
+ ]).default("ROLE_UNSPECIFIED")
37737
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
37738
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
37417
37739
  forward_origin: v.object({
37418
37740
  kind: v.enum([
37419
37741
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -37867,6 +38189,55 @@ v.object({
37867
38189
  url: v.string().optional().describe("Public signed URL for downloading the document.")
37868
38190
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
37869
38191
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
38192
+ failures: v.array(v.object({
38193
+ error: v.object({
38194
+ code: v.string().optional(),
38195
+ message: v.string().optional()
38196
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
38197
+ member: v.object({
38198
+ contact: v.object({
38199
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
38200
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
38201
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
38202
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
38203
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
38204
+ name: v.string().optional().describe("Display name of the contact."),
38205
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
38206
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
38207
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
38208
+ username: v.string().optional().describe("Technical username or handle."),
38209
+ vias: v.array(v.object({
38210
+ contact_id: v.string().optional(),
38211
+ created_at: v.string().optional(),
38212
+ disable: v.boolean().optional(),
38213
+ disable_reason: v.string().optional(),
38214
+ metadata: v.looseObject({}).optional(),
38215
+ updated_at: v.string().optional(),
38216
+ via: v.string().optional()
38217
+ })).optional()
38218
+ }).optional().describe("Contact represents an external messaging identity."),
38219
+ id: v.string().optional(),
38220
+ permissions: v.object({
38221
+ can_add_members: v.boolean().optional(),
38222
+ can_change_members_permissions: v.boolean().optional(),
38223
+ can_change_thread_info: v.boolean().optional(),
38224
+ can_delete_messages: v.boolean().optional(),
38225
+ can_remove_members: v.boolean().optional(),
38226
+ can_send_messages: v.boolean().optional(),
38227
+ created_at: v.string().optional(),
38228
+ id: v.string().optional(),
38229
+ member_id: v.string().optional(),
38230
+ updated_at: v.string().optional()
38231
+ }).optional(),
38232
+ role: v.enum([
38233
+ "ROLE_UNSPECIFIED",
38234
+ "ROLE_MEMBER",
38235
+ "ROLE_ADMIN",
38236
+ "ROLE_OWNER",
38237
+ "ROLE_SUPERVISOR"
38238
+ ]).default("ROLE_UNSPECIFIED")
38239
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
38240
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
37870
38241
  forward_origin: v.object({
37871
38242
  kind: v.enum([
37872
38243
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -38313,6 +38684,12 @@ v.object({
38313
38684
  sub: v.string().optional(),
38314
38685
  via: v.string().optional()
38315
38686
  }).optional(),
38687
+ initiator: v.object({
38688
+ chat_name: v.string().optional().describe("chat_name is the name external clients see instead of the real one."),
38689
+ iss: v.string().optional(),
38690
+ sub: v.string().optional(),
38691
+ via: v.string().optional()
38692
+ }).optional().describe("Member the thread is transferred from. Honored only for trusted service\ncallers (schema/engine); user calls always transfer from the caller."),
38316
38693
  role: v.enum([
38317
38694
  "ROLE_UNSPECIFIED",
38318
38695
  "ROLE_MEMBER",
@@ -38516,7 +38893,123 @@ v.object({
38516
38893
  id: v.string().optional(),
38517
38894
  member_id: v.string().optional(),
38518
38895
  updated_at: v.string().optional()
38519
- }).optional() }), v.object({
38896
+ }).optional() }), v.object({ thread_id: v.string() }), v.object({
38897
+ contact: v.object({
38898
+ chat_name: v.string().optional().describe("chat_name is the name external clients see instead of the real one."),
38899
+ iss: v.string().optional(),
38900
+ sub: v.string().optional(),
38901
+ via: v.string().optional()
38902
+ }).optional().describe("The contact receiving the preview."),
38903
+ duration_ms: v.string().optional().describe("Preview lifetime from now, in milliseconds.")
38904
+ }), v.object({ preview: v.object({
38905
+ contact: v.object({
38906
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
38907
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
38908
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
38909
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
38910
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
38911
+ name: v.string().optional().describe("Display name of the contact."),
38912
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
38913
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
38914
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
38915
+ username: v.string().optional().describe("Technical username or handle."),
38916
+ vias: v.array(v.object({
38917
+ contact_id: v.string().optional(),
38918
+ created_at: v.string().optional(),
38919
+ disable: v.boolean().optional(),
38920
+ disable_reason: v.string().optional(),
38921
+ metadata: v.looseObject({}).optional(),
38922
+ updated_at: v.string().optional(),
38923
+ via: v.string().optional()
38924
+ })).optional()
38925
+ }).optional().describe("Contact represents an external messaging identity."),
38926
+ created_at: v.string().optional().describe("Unix milliseconds."),
38927
+ expires_at: v.string().optional().describe("Unix milliseconds; the preview stops granting access at this moment."),
38928
+ id: v.string().optional(),
38929
+ initiator: v.object({
38930
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
38931
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
38932
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
38933
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
38934
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
38935
+ name: v.string().optional().describe("Display name of the contact."),
38936
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
38937
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
38938
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
38939
+ username: v.string().optional().describe("Technical username or handle."),
38940
+ vias: v.array(v.object({
38941
+ contact_id: v.string().optional(),
38942
+ created_at: v.string().optional(),
38943
+ disable: v.boolean().optional(),
38944
+ disable_reason: v.string().optional(),
38945
+ metadata: v.looseObject({}).optional(),
38946
+ updated_at: v.string().optional(),
38947
+ via: v.string().optional()
38948
+ })).optional()
38949
+ }).optional().describe("Contact represents an external messaging identity."),
38950
+ thread_id: v.string().optional()
38951
+ }).optional() }), v.object({ thread_id: v.string() }), v.object({ contact: v.object({
38952
+ chat_name: v.string().optional().describe("chat_name is the name external clients see instead of the real one."),
38953
+ iss: v.string().optional(),
38954
+ sub: v.string().optional(),
38955
+ via: v.string().optional()
38956
+ }).optional().describe("The contact whose preview is revoked.") }), v.looseObject({}), v.object({ thread_id: v.string() }), v.object({
38957
+ contact: v.object({
38958
+ chat_name: v.string().optional().describe("chat_name is the name external clients see instead of the real one."),
38959
+ iss: v.string().optional(),
38960
+ sub: v.string().optional(),
38961
+ via: v.string().optional()
38962
+ }).optional().describe("The contact to upgrade to a full member."),
38963
+ role: v.enum([
38964
+ "ROLE_UNSPECIFIED",
38965
+ "ROLE_MEMBER",
38966
+ "ROLE_ADMIN",
38967
+ "ROLE_OWNER",
38968
+ "ROLE_SUPERVISOR"
38969
+ ]).default("ROLE_UNSPECIFIED")
38970
+ }), v.object({ member: v.object({
38971
+ contact: v.object({
38972
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
38973
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
38974
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
38975
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
38976
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
38977
+ name: v.string().optional().describe("Display name of the contact."),
38978
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
38979
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
38980
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
38981
+ username: v.string().optional().describe("Technical username or handle."),
38982
+ vias: v.array(v.object({
38983
+ contact_id: v.string().optional(),
38984
+ created_at: v.string().optional(),
38985
+ disable: v.boolean().optional(),
38986
+ disable_reason: v.string().optional(),
38987
+ metadata: v.looseObject({}).optional(),
38988
+ updated_at: v.string().optional(),
38989
+ via: v.string().optional()
38990
+ })).optional()
38991
+ }).optional().describe("Contact represents an external messaging identity."),
38992
+ id: v.string().optional(),
38993
+ permissions: v.object({
38994
+ can_add_members: v.boolean().optional(),
38995
+ can_change_members_permissions: v.boolean().optional(),
38996
+ can_change_thread_info: v.boolean().optional(),
38997
+ can_delete_messages: v.boolean().optional(),
38998
+ can_remove_members: v.boolean().optional(),
38999
+ can_send_messages: v.boolean().optional(),
39000
+ created_at: v.string().optional(),
39001
+ id: v.string().optional(),
39002
+ member_id: v.string().optional(),
39003
+ updated_at: v.string().optional()
39004
+ }).optional(),
39005
+ role: v.enum([
39006
+ "ROLE_UNSPECIFIED",
39007
+ "ROLE_MEMBER",
39008
+ "ROLE_ADMIN",
39009
+ "ROLE_OWNER",
39010
+ "ROLE_SUPERVISOR"
39011
+ ]).default("ROLE_UNSPECIFIED")
39012
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.") }), v.object({
38520
39013
  page: v.int().optional(),
38521
39014
  size: v.int().optional()
38522
39015
  }), v.object({
@@ -38600,6 +39093,55 @@ v.object({
38600
39093
  url: v.string().optional().describe("Public signed URL for downloading the document.")
38601
39094
  }).describe("Document represents a file attachment\nassociated with a message.")).optional().describe("List of document attachments."),
38602
39095
  edited_at: v.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
39096
+ failures: v.array(v.object({
39097
+ error: v.object({
39098
+ code: v.string().optional(),
39099
+ message: v.string().optional()
39100
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
39101
+ member: v.object({
39102
+ contact: v.object({
39103
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
39104
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
39105
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
39106
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
39107
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
39108
+ name: v.string().optional().describe("Display name of the contact."),
39109
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
39110
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
39111
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
39112
+ username: v.string().optional().describe("Technical username or handle."),
39113
+ vias: v.array(v.object({
39114
+ contact_id: v.string().optional(),
39115
+ created_at: v.string().optional(),
39116
+ disable: v.boolean().optional(),
39117
+ disable_reason: v.string().optional(),
39118
+ metadata: v.looseObject({}).optional(),
39119
+ updated_at: v.string().optional(),
39120
+ via: v.string().optional()
39121
+ })).optional()
39122
+ }).optional().describe("Contact represents an external messaging identity."),
39123
+ id: v.string().optional(),
39124
+ permissions: v.object({
39125
+ can_add_members: v.boolean().optional(),
39126
+ can_change_members_permissions: v.boolean().optional(),
39127
+ can_change_thread_info: v.boolean().optional(),
39128
+ can_delete_messages: v.boolean().optional(),
39129
+ can_remove_members: v.boolean().optional(),
39130
+ can_send_messages: v.boolean().optional(),
39131
+ created_at: v.string().optional(),
39132
+ id: v.string().optional(),
39133
+ member_id: v.string().optional(),
39134
+ updated_at: v.string().optional()
39135
+ }).optional(),
39136
+ role: v.enum([
39137
+ "ROLE_UNSPECIFIED",
39138
+ "ROLE_MEMBER",
39139
+ "ROLE_ADMIN",
39140
+ "ROLE_OWNER",
39141
+ "ROLE_SUPERVISOR"
39142
+ ]).default("ROLE_UNSPECIFIED")
39143
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
39144
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone; an entry is dropped once a later delivery succeeds."),
38603
39145
  forward_origin: v.object({
38604
39146
  kind: v.enum([
38605
39147
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -38981,56 +39523,6 @@ v.object({
38981
39523
  }).describe("VariableEntry represents a single variable value\nalong with metadata about who and when it was set.")).optional().describe("Key-value map of variables.\nKey is the variable name, value contains data and metadata.")
38982
39524
  }).optional().describe("Optional variables associated with the thread.")
38983
39525
  }).optional().describe("The thread itself, set when it is new to the caller (created or joined since cursor).\nSame model as the thread list, except last_msg and updates_cursor are never set here."),
38984
- failures: v.array(v.object({
38985
- error: v.object({
38986
- code: v.string().optional(),
38987
- message: v.string().optional()
38988
- }).optional(),
38989
- member: v.object({
38990
- contact: v.object({
38991
- app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
38992
- created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
38993
- is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
38994
- iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
38995
- metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
38996
- name: v.string().optional().describe("Display name of the contact."),
38997
- sub: v.string().optional().describe("Associated internal system subject/identifier."),
38998
- type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
38999
- updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
39000
- username: v.string().optional().describe("Technical username or handle."),
39001
- vias: v.array(v.object({
39002
- contact_id: v.string().optional(),
39003
- created_at: v.string().optional(),
39004
- disable: v.boolean().optional(),
39005
- disable_reason: v.string().optional(),
39006
- metadata: v.looseObject({}).optional(),
39007
- updated_at: v.string().optional(),
39008
- via: v.string().optional()
39009
- })).optional()
39010
- }).optional().describe("Contact represents an external messaging identity."),
39011
- id: v.string().optional(),
39012
- permissions: v.object({
39013
- can_add_members: v.boolean().optional(),
39014
- can_change_members_permissions: v.boolean().optional(),
39015
- can_change_thread_info: v.boolean().optional(),
39016
- can_delete_messages: v.boolean().optional(),
39017
- can_remove_members: v.boolean().optional(),
39018
- can_send_messages: v.boolean().optional(),
39019
- created_at: v.string().optional(),
39020
- id: v.string().optional(),
39021
- member_id: v.string().optional(),
39022
- updated_at: v.string().optional()
39023
- }).optional(),
39024
- role: v.enum([
39025
- "ROLE_UNSPECIFIED",
39026
- "ROLE_MEMBER",
39027
- "ROLE_ADMIN",
39028
- "ROLE_OWNER",
39029
- "ROLE_SUPERVISOR"
39030
- ]).default("ROLE_UNSPECIFIED")
39031
- }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
39032
- message_id: v.string().optional()
39033
- }).describe("MessageFailure is a message that could not be delivered to a member.")).optional().describe("Messages that failed to reach a member since the cursor."),
39034
39526
  left: v.boolean().optional().describe("The caller is no longer a member: drop the thread."),
39035
39527
  member_changes: v.array(v.object({
39036
39528
  action: v.enum([
@@ -39144,6 +39636,55 @@ v.object({
39144
39636
  url: v.string().optional().describe("Public signed URL for downloading the document.")
39145
39637
  }).describe("Document represents a file attachment\nassociated with a message.")).optional(),
39146
39638
  edited_at: v.string().optional().describe("Set when the message was edited."),
39639
+ failures: v.array(v.object({
39640
+ error: v.object({
39641
+ code: v.string().optional(),
39642
+ message: v.string().optional()
39643
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
39644
+ member: v.object({
39645
+ contact: v.object({
39646
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
39647
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
39648
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
39649
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
39650
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
39651
+ name: v.string().optional().describe("Display name of the contact."),
39652
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
39653
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
39654
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
39655
+ username: v.string().optional().describe("Technical username or handle."),
39656
+ vias: v.array(v.object({
39657
+ contact_id: v.string().optional(),
39658
+ created_at: v.string().optional(),
39659
+ disable: v.boolean().optional(),
39660
+ disable_reason: v.string().optional(),
39661
+ metadata: v.looseObject({}).optional(),
39662
+ updated_at: v.string().optional(),
39663
+ via: v.string().optional()
39664
+ })).optional()
39665
+ }).optional().describe("Contact represents an external messaging identity."),
39666
+ id: v.string().optional(),
39667
+ permissions: v.object({
39668
+ can_add_members: v.boolean().optional(),
39669
+ can_change_members_permissions: v.boolean().optional(),
39670
+ can_change_thread_info: v.boolean().optional(),
39671
+ can_delete_messages: v.boolean().optional(),
39672
+ can_remove_members: v.boolean().optional(),
39673
+ can_send_messages: v.boolean().optional(),
39674
+ created_at: v.string().optional(),
39675
+ id: v.string().optional(),
39676
+ member_id: v.string().optional(),
39677
+ updated_at: v.string().optional()
39678
+ }).optional(),
39679
+ role: v.enum([
39680
+ "ROLE_UNSPECIFIED",
39681
+ "ROLE_MEMBER",
39682
+ "ROLE_ADMIN",
39683
+ "ROLE_OWNER",
39684
+ "ROLE_SUPERVISOR"
39685
+ ]).default("ROLE_UNSPECIFIED")
39686
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
39687
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone."),
39147
39688
  forward_origin: v.object({
39148
39689
  kind: v.enum([
39149
39690
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -39405,6 +39946,55 @@ v.object({
39405
39946
  url: v.string().optional().describe("Public signed URL for downloading the document.")
39406
39947
  }).describe("Document represents a file attachment\nassociated with a message.")).optional(),
39407
39948
  edited_at: v.string().optional().describe("Set when the message was edited."),
39949
+ failures: v.array(v.object({
39950
+ error: v.object({
39951
+ code: v.string().optional(),
39952
+ message: v.string().optional()
39953
+ }).optional().describe("DeliveryError is a provider's delivery failure, e.g. {code: \"403\", message: \"bot was blocked by the user\"}."),
39954
+ member: v.object({
39955
+ contact: v.object({
39956
+ app_id: v.string().optional().describe("Identifier of the specific integration app or bot."),
39957
+ created_at: v.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
39958
+ is_bot: v.boolean().optional().describe("Represents if usere is real person or automatic script."),
39959
+ iss: v.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
39960
+ metadata: v.record(v.string(), v.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
39961
+ name: v.string().optional().describe("Display name of the contact."),
39962
+ sub: v.string().optional().describe("Associated internal system subject/identifier."),
39963
+ type: v.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
39964
+ updated_at: v.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
39965
+ username: v.string().optional().describe("Technical username or handle."),
39966
+ vias: v.array(v.object({
39967
+ contact_id: v.string().optional(),
39968
+ created_at: v.string().optional(),
39969
+ disable: v.boolean().optional(),
39970
+ disable_reason: v.string().optional(),
39971
+ metadata: v.looseObject({}).optional(),
39972
+ updated_at: v.string().optional(),
39973
+ via: v.string().optional()
39974
+ })).optional()
39975
+ }).optional().describe("Contact represents an external messaging identity."),
39976
+ id: v.string().optional(),
39977
+ permissions: v.object({
39978
+ can_add_members: v.boolean().optional(),
39979
+ can_change_members_permissions: v.boolean().optional(),
39980
+ can_change_thread_info: v.boolean().optional(),
39981
+ can_delete_messages: v.boolean().optional(),
39982
+ can_remove_members: v.boolean().optional(),
39983
+ can_send_messages: v.boolean().optional(),
39984
+ created_at: v.string().optional(),
39985
+ id: v.string().optional(),
39986
+ member_id: v.string().optional(),
39987
+ updated_at: v.string().optional()
39988
+ }).optional(),
39989
+ role: v.enum([
39990
+ "ROLE_UNSPECIFIED",
39991
+ "ROLE_MEMBER",
39992
+ "ROLE_ADMIN",
39993
+ "ROLE_OWNER",
39994
+ "ROLE_SUPERVISOR"
39995
+ ]).default("ROLE_UNSPECIFIED")
39996
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings.")
39997
+ }).describe("DeliveryFailure is one member a message could not be delivered to.")).optional().describe("Members the message could not be delivered to, with the provider's reason.\nEmpty when it reached everyone."),
39408
39998
  forward_origin: v.object({
39409
39999
  kind: v.enum([
39410
40000
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",