@trii/types 2.10.763 → 2.10.764

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 (180) hide show
  1. package/dist/Automations/Events/Event.d.ts +3 -3
  2. package/dist/Contacts/CommunicationEndpoint.d.ts +8 -8
  3. package/dist/Conversations/Classifications/ConversationClassificationEvents.d.ts +2 -2
  4. package/dist/Conversations/Conversation.d.ts +11 -11
  5. package/dist/Conversations/InboxQueries.d.ts +3 -73
  6. package/dist/Conversations/Routing.d.ts +10 -10
  7. package/dist/Events/DomainEventTypes.d.ts +23 -23
  8. package/dist/Spaces/spaces.d.ts +2 -2
  9. package/dist/Tickets/Dashboard.d.ts +4 -0
  10. package/dist/Tickets/Dashboard.js +3 -0
  11. package/dist/Tickets/Routing.d.ts +8 -21
  12. package/dist/Tickets/Routing.js +8 -0
  13. package/dist/Tickets/Sla.d.ts +2 -0
  14. package/dist/Tickets/Sla.js +2 -0
  15. package/dist/src/Common/Channels/Channel.d.ts +1 -26
  16. package/dist/src/Contacts/contacts.d.ts +2 -2
  17. package/dist/src/Conversations/Conversation.d.ts +48 -241
  18. package/dist/src/Conversations/Conversation.js +34 -14
  19. package/dist/src/Conversations/DashBoard/dashboard.d.ts +2 -2
  20. package/dist/src/Conversations/DashBoard/dashboardForms.d.ts +44 -0
  21. package/dist/src/Conversations/DashBoard/dashboardForms.js +24 -0
  22. package/dist/src/Conversations/Flows/Workflows/Workflow.d.ts +123 -280
  23. package/dist/src/Conversations/Flows/Workflows/Workflow.js +35 -85
  24. package/dist/src/Conversations/Groups/Group.d.ts +8 -2
  25. package/dist/src/Conversations/Groups/Group.js +6 -0
  26. package/dist/src/Conversations/Label.d.ts +1 -1
  27. package/dist/src/Conversations/WebHook.d.ts +1 -1
  28. package/dist/src/Conversations/index.d.ts +1 -9
  29. package/dist/src/Conversations/index.js +1 -9
  30. package/dist/src/Tickets/Category.d.ts +0 -18
  31. package/dist/src/Tickets/Dashboard.d.ts +0 -77
  32. package/dist/src/Tickets/Dashboard.js +1 -13
  33. package/dist/src/Tickets/Fields.d.ts +0 -1
  34. package/dist/src/Tickets/Layouts.d.ts +1 -3
  35. package/dist/src/Tickets/Workflow.d.ts +0 -20
  36. package/dist/src/Users/UserTrii.d.ts +0 -10
  37. package/dist/src/Users/UserTrii.js +1 -8
  38. package/dist/src/index.d.ts +0 -3
  39. package/dist/src/index.js +1 -4
  40. package/package.json +1 -1
  41. package/dist/AI/MapPolygon.d.ts +0 -22
  42. package/dist/AI/MapPolygon.js +0 -2
  43. package/dist/Conversations/Flows/Nodes/NodeAIChatBot.d.ts +0 -0
  44. package/dist/Conversations/Flows/Nodes/NodeAIChatBot.js +0 -0
  45. package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +0 -2
  46. package/dist/Conversations/Flows/Nodes/NodeApi.js +0 -183
  47. package/dist/Conversations/Flows/Nodes/NodeBotIA.d.ts +0 -15
  48. package/dist/Conversations/Flows/Nodes/NodeBotIA.js +0 -6
  49. package/dist/Conversations/Flows/Nodes/NodeChatBotIA.d.ts +0 -15
  50. package/dist/Conversations/Flows/Nodes/NodeChatBotIA.js +0 -6
  51. package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +0 -0
  52. package/dist/Conversations/Flows/Nodes/NodeConditional.js +0 -0
  53. package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +0 -0
  54. package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +0 -0
  55. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +0 -0
  56. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +0 -0
  57. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +0 -0
  58. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +0 -0
  59. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +0 -0
  60. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +0 -0
  61. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +0 -0
  62. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +0 -0
  63. package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +0 -0
  64. package/dist/Conversations/Flows/Nodes/NodeFillForm.js +0 -0
  65. package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +0 -1
  66. package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +0 -9
  67. package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.d.ts +0 -20
  68. package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.js +0 -2
  69. package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.d.ts +0 -12
  70. package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.js +0 -6
  71. package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.d.ts +0 -15
  72. package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.js +0 -2
  73. package/dist/Conversations/Flows/Nodes/NodeMsgReply.d.ts +0 -0
  74. package/dist/Conversations/Flows/Nodes/NodeMsgReply.js +0 -0
  75. package/dist/Conversations/Flows/Nodes/NodeMsgSend.d.ts +0 -0
  76. package/dist/Conversations/Flows/Nodes/NodeMsgSend.js +0 -0
  77. package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +0 -1
  78. package/dist/Conversations/Flows/Nodes/NodeMsgText.js +0 -27
  79. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +0 -0
  80. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +0 -0
  81. package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +0 -0
  82. package/dist/Conversations/Flows/Nodes/NodeRedirect.js +0 -0
  83. package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +0 -0
  84. package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +0 -0
  85. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +0 -0
  86. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +0 -0
  87. package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +0 -0
  88. package/dist/Conversations/Flows/Nodes/NodeStart.js +0 -0
  89. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +0 -0
  90. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +0 -0
  91. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +0 -0
  92. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +0 -0
  93. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +0 -0
  94. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +0 -0
  95. package/dist/Conversations/Flows/Nodes/NodeToolCalculator.d.ts +0 -2
  96. package/dist/Conversations/Flows/Nodes/NodeToolCalculator.js +0 -37
  97. package/dist/Conversations/Flows/Nodes/NodeToolContacts.d.ts +0 -2
  98. package/dist/Conversations/Flows/Nodes/NodeToolContacts.js +0 -59
  99. package/dist/Conversations/Flows/Nodes/NodeToolFunction.d.ts +0 -2
  100. package/dist/Conversations/Flows/Nodes/NodeToolFunction.js +0 -45
  101. package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.d.ts +0 -2
  102. package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.js +0 -87
  103. package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.d.ts +0 -1
  104. package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.js +0 -2
  105. package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.d.ts +0 -2
  106. package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.js +0 -52
  107. package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.d.ts +0 -2
  108. package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.js +0 -59
  109. package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.d.ts +0 -2
  110. package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.js +0 -45
  111. package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.d.ts +0 -2
  112. package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.js +0 -81
  113. package/dist/Conversations/Flows/Nodes/index.d.ts +0 -24
  114. package/dist/Conversations/Flows/Nodes/index.js +0 -40
  115. package/dist/Presence/ChannelRoutingState.d.ts +0 -17
  116. package/dist/Presence/ChannelRoutingState.js +0 -9
  117. package/dist/Tickets/AccessLevel.d.ts +0 -5
  118. package/dist/Tickets/AccessLevel.js +0 -9
  119. package/dist/src/Automations/Capabilities/Capability.d.ts +0 -48
  120. package/dist/src/Automations/Capabilities/Capability.js +0 -9
  121. package/dist/src/Automations/Capabilities/index.d.ts +0 -1
  122. package/dist/src/Automations/Capabilities/index.js +0 -17
  123. package/dist/src/Automations/Common.d.ts +0 -47
  124. package/dist/src/Automations/Common.js +0 -18
  125. package/dist/src/Automations/Events/Event.d.ts +0 -41
  126. package/dist/src/Automations/Events/Event.js +0 -2
  127. package/dist/src/Automations/Events/index.d.ts +0 -1
  128. package/dist/src/Automations/Events/index.js +0 -17
  129. package/dist/src/Automations/Executions/Execution.d.ts +0 -114
  130. package/dist/src/Automations/Executions/Execution.js +0 -23
  131. package/dist/src/Automations/Executions/index.d.ts +0 -1
  132. package/dist/src/Automations/Executions/index.js +0 -17
  133. package/dist/src/Automations/Flows/Canvas.d.ts +0 -86
  134. package/dist/src/Automations/Flows/Canvas.js +0 -34
  135. package/dist/src/Automations/Flows/Flow.d.ts +0 -102
  136. package/dist/src/Automations/Flows/Flow.js +0 -34
  137. package/dist/src/Automations/Flows/Requests.d.ts +0 -71
  138. package/dist/src/Automations/Flows/Requests.js +0 -2
  139. package/dist/src/Automations/Flows/Validation.d.ts +0 -28
  140. package/dist/src/Automations/Flows/Validation.js +0 -9
  141. package/dist/src/Automations/Flows/index.d.ts +0 -4
  142. package/dist/src/Automations/Flows/index.js +0 -20
  143. package/dist/src/Automations/Nodes/Node.d.ts +0 -75
  144. package/dist/src/Automations/Nodes/Node.js +0 -18
  145. package/dist/src/Automations/Nodes/index.d.ts +0 -1
  146. package/dist/src/Automations/Nodes/index.js +0 -17
  147. package/dist/src/Automations/index.d.ts +0 -6
  148. package/dist/src/Automations/index.js +0 -22
  149. package/dist/src/Chats/Chat.d.ts +0 -61
  150. package/dist/src/Chats/Chat.js +0 -28
  151. package/dist/src/Conversations/Assignment.d.ts +0 -81
  152. package/dist/src/Conversations/Assignment.js +0 -4
  153. package/dist/src/Conversations/Outbox.d.ts +0 -24
  154. package/dist/src/Conversations/Outbox.js +0 -4
  155. package/dist/src/Conversations/Queue.d.ts +0 -107
  156. package/dist/src/Conversations/Queue.js +0 -4
  157. package/dist/src/Conversations/Routing.d.ts +0 -164
  158. package/dist/src/Conversations/Routing.js +0 -2
  159. package/dist/src/Conversations/Sla.d.ts +0 -227
  160. package/dist/src/Conversations/Sla.js +0 -6
  161. package/dist/src/Conversations/Transfer.d.ts +0 -73
  162. package/dist/src/Conversations/Transfer.js +0 -2
  163. package/dist/src/Forms/API.d.ts +0 -53
  164. package/dist/src/Forms/API.js +0 -2
  165. package/dist/src/Forms/SubmittedForm.d.ts +0 -56
  166. package/dist/src/Forms/SubmittedForm.js +0 -9
  167. package/dist/src/Forms/index.d.ts +0 -2
  168. package/dist/src/Forms/index.js +0 -18
  169. package/dist/src/Presence/AgentPause.d.ts +0 -24
  170. package/dist/src/Presence/AgentPause.js +0 -19
  171. package/dist/src/Presence/QueueParticipation.d.ts +0 -17
  172. package/dist/src/Presence/QueueParticipation.js +0 -2
  173. package/dist/src/Presence/QueueRoutingState.d.ts +0 -27
  174. package/dist/src/Presence/QueueRoutingState.js +0 -9
  175. package/dist/src/Presence/index.d.ts +0 -3
  176. package/dist/src/Presence/index.js +0 -19
  177. /package/dist/{src/Conversations → Conversations}/InboxMongo.d.ts +0 -0
  178. /package/dist/{src/Conversations → Conversations}/InboxMongo.js +0 -0
  179. /package/dist/{src/Conversations → Conversations}/InboxProjection.d.ts +0 -0
  180. /package/dist/{src/Conversations → Conversations}/InboxProjection.js +0 -0
@@ -1,8 +1,8 @@
1
1
  import { AutomationCustomer, AutomationJsonObject, AutomationJsonSchema, AutomationResourceReference, AutomationSourceApplication } from '../Common';
2
2
  export declare const AUTOMATION_MESSAGE_SCHEMAS: {
3
- readonly DOMAIN_EVENT_V1: "automations.domain-event/v1";
4
- readonly START_REQUEST_V1: "automations.start-request/v1";
5
- readonly EXECUTION_WORK_ITEM_V1: "automations.execution.work-item/v1";
3
+ readonly DOMAIN_EVENT_V1: 'automations.domain-event/v1';
4
+ readonly START_REQUEST_V1: 'automations.start-request/v1';
5
+ readonly EXECUTION_WORK_ITEM_V1: 'automations.execution.work-item/v1';
6
6
  };
7
7
  export interface AutomationEventDefinition {
8
8
  eventType: string;
@@ -9,22 +9,22 @@ export declare enum CommunicationEndpointKind {
9
9
  */
10
10
  export declare const providerIdentityNamespaces: {
11
11
  readonly meta: {
12
- readonly instagramUser: "instagram_user";
13
- readonly messengerUser: "messenger_user";
14
- readonly whatsappUser: "whatsapp_user";
12
+ readonly instagramUser: 'instagram_user';
13
+ readonly messengerUser: 'messenger_user';
14
+ readonly whatsappUser: 'whatsapp_user';
15
15
  };
16
16
  readonly telegram: {
17
- readonly user: "user";
18
- readonly chat: "chat";
17
+ readonly user: 'user';
18
+ readonly chat: 'chat';
19
19
  };
20
20
  readonly trii: {
21
- readonly webchatVisitor: "webchat_visitor";
21
+ readonly webchatVisitor: 'webchat_visitor';
22
22
  };
23
23
  readonly mercadolibre: {
24
- readonly buyer: "buyer";
24
+ readonly buyer: 'buyer';
25
25
  };
26
26
  readonly google: {
27
- readonly businessMessagesUser: "business_messages_user";
27
+ readonly businessMessagesUser: 'business_messages_user';
28
28
  };
29
29
  };
30
30
  export type KnownIdentityProvider = keyof typeof providerIdentityNamespaces;
@@ -1,7 +1,7 @@
1
1
  import type { ConversationClassificationEvaluationStatus } from './ConversationClassificationEvaluation';
2
2
  export declare const CONVERSATION_CLASSIFICATION_EVENT_TYPES: {
3
- readonly CONVERSATION_RESOLVED_FOR_EVALUATION: "conversation.resolved-for-classification";
4
- readonly EVALUATION_FINISHED: "conversation.classification-evaluation-finished";
3
+ readonly CONVERSATION_RESOLVED_FOR_EVALUATION: 'conversation.resolved-for-classification';
4
+ readonly EVALUATION_FINISHED: 'conversation.classification-evaluation-finished';
5
5
  };
6
6
  export declare const CONVERSATION_CLASSIFICATION_EVENT_SCHEMA_VERSION: 1;
7
7
  /**
@@ -11,7 +11,6 @@ import { IEnding } from "./Ending";
11
11
  import { ChatType } from "../Chats/Chat";
12
12
  import { TransferConversationCommand, TransferConversationResult } from "./Transfer";
13
13
  import { AcceptConversationAssignmentCommand, AcceptConversationAssignmentResult, DeclineConversationAssignmentCommand, DeclineConversationAssignmentResult, CancelConversationAssignmentCommand, CancelConversationAssignmentResult } from "./Assignment";
14
- import { InboxPaginationSort, InboxSortDirection } from "./InboxQueries";
15
14
  export interface IConversation {
16
15
  id: string;
17
16
  spaceId: string;
@@ -259,35 +258,35 @@ export type ConversationAssignmentSnapshot = {
259
258
  offerExpiresAt?: never;
260
259
  assignedAt?: never;
261
260
  acceptedAt?: never;
262
- } | QueuedConversationAssignmentBase & {
261
+ } | (QueuedConversationAssignmentBase & {
263
262
  status: 'queued' | 'routing';
264
263
  owner: NoConversationOwner;
265
264
  offeredAt?: never;
266
265
  offerExpiresAt?: never;
267
266
  assignedAt?: never;
268
267
  acceptedAt?: never;
269
- } | QueuedConversationAssignmentBase & {
268
+ }) | (QueuedConversationAssignmentBase & {
270
269
  status: 'offered';
271
270
  owner: UserConversationOwner;
272
271
  offeredAt: Date;
273
272
  offerExpiresAt?: Date;
274
273
  assignedAt?: never;
275
274
  acceptedAt?: never;
276
- } | QueuedConversationAssignmentBase & {
275
+ }) | (QueuedConversationAssignmentBase & {
277
276
  status: 'assigned';
278
277
  owner: UserConversationOwner;
279
278
  offeredAt?: Date;
280
279
  offerExpiresAt?: Date;
281
280
  assignedAt: Date;
282
281
  acceptedAt?: never;
283
- } | QueuedConversationAssignmentBase & {
282
+ }) | (QueuedConversationAssignmentBase & {
284
283
  status: 'accepted';
285
284
  owner: UserConversationOwner;
286
285
  offeredAt?: Date;
287
286
  offerExpiresAt?: Date;
288
287
  assignedAt: Date;
289
288
  acceptedAt: Date;
290
- };
289
+ });
291
290
  export type ActorType = 'user' | 'contact' | 'bot' | 'flow' | 'system';
292
291
  export type ParticipantRole = 'owner' | 'collaborator' | 'follower' | 'mentioned' | 'supervisor' | 'bot' | 'flow' | 'historical';
293
292
  export type ConversationEventType = 'conversation_created' | 'queued' | 'assigned' | 'accepted' | 'transferred' | 'consult_requested' | 'collaborator_added' | 'participant_added' | 'participant_removed' | 'participation_abandoned' | 'follow_started' | 'follow_stopped' | 'message_sent' | 'message_received' | 'internal_note_added' | 'bot_started' | 'bot_finished' | 'flow_started' | 'flow_finished' | 'status_changed' | 'resolved' | 'reopened' | 'sla_warning' | 'sla_breached' | 'sla_started' | 'sla_paused' | 'sla_resumed' | 'sla_met' | 'sla_overridden';
@@ -321,15 +320,15 @@ interface ConversationSubscriptionBase {
321
320
  * A subscription is persistent product intent. Assignment or participation
322
321
  * visibility must not create it unless an explicit auto-follow policy applies.
323
322
  */
324
- export type ConversationSubscription = ConversationSubscriptionBase & {
323
+ export type ConversationSubscription = (ConversationSubscriptionBase & {
325
324
  status: 'following';
326
325
  followedAt: Date;
327
326
  unfollowedAt?: never;
328
- } | ConversationSubscriptionBase & {
327
+ }) | (ConversationSubscriptionBase & {
329
328
  status: 'unfollowed';
330
329
  followedAt: Date;
331
330
  unfollowedAt: Date;
332
- };
331
+ });
333
332
  export interface PutConversationSubscriptionRequest {
334
333
  expectedVersion?: number;
335
334
  notifications: ConversationSubscriptionNotifications;
@@ -388,8 +387,9 @@ export interface InboxFilterDto {
388
387
  to?: Date;
389
388
  };
390
389
  sort: {
391
- type: InboxPaginationSort;
392
- direction?: InboxSortDirection;
390
+ type: 'activity';
391
+ } | {
392
+ type: 'priority';
393
393
  };
394
394
  }
395
395
  export interface InboxFacetOptionDto {
@@ -1,33 +1,23 @@
1
- import type { ID, InboxViewId, InboxFilterDto, IConversation, ConversationStatus, InteractionKind } from './Conversation';
2
- export type InboxPaginationSort = 'activity' | 'priority' | 'created';
3
- export type InboxSortDirection = 'asc' | 'desc';
1
+ import type { ID, InboxViewId, InboxFilterDto } from './Conversation';
2
+ export type InboxPaginationSort = 'activity' | 'priority';
4
3
  /** Cursor over current authorized conversations, after filtering.
5
4
  * Bind to tenant/user/view/filter/sort; live updates may move rows between pages.
6
5
  */
7
6
  export interface InboxActivityCursor {
8
7
  sort: 'activity';
9
- direction?: InboxSortDirection;
10
8
  pinned: boolean;
11
9
  lastActivityAt: Date;
12
10
  conversationId: ID;
13
11
  }
14
12
  export interface InboxPriorityCursor {
15
13
  sort: 'priority';
16
- direction?: InboxSortDirection;
17
14
  pinned: boolean;
18
15
  /** Explicit rank urgent > high > normal > low, not lexical order. */
19
16
  priority: 'low' | 'normal' | 'high' | 'urgent';
20
17
  lastActivityAt: Date;
21
18
  conversationId: ID;
22
19
  }
23
- export interface InboxCreatedCursor {
24
- sort: 'created';
25
- direction?: InboxSortDirection;
26
- pinned: boolean;
27
- createdAt: Date;
28
- conversationId: ID;
29
- }
30
- export type InboxPaginationCursor = InboxActivityCursor | InboxPriorityCursor | InboxCreatedCursor;
20
+ export type InboxPaginationCursor = InboxActivityCursor | InboxPriorityCursor;
31
21
  export interface InboxPageQuery {
32
22
  /** Trusted server context, not client authorization claims. */
33
23
  spaceId: ID;
@@ -38,63 +28,3 @@ export interface InboxPageQuery {
38
28
  /** Must match filter.sort. */
39
29
  cursor?: InboxPaginationCursor | null;
40
30
  }
41
- /** Complete authorized personal lists for local-first inbox navigation. */
42
- export interface PersonalInboxSnapshot {
43
- schemaVersion: 1;
44
- generatedAt: string;
45
- snapshotId: string;
46
- views: PersonalInboxMembership;
47
- items: PersonalInboxItem[];
48
- }
49
- export interface PersonalInboxMembership {
50
- pending: ID[];
51
- following: ID[];
52
- }
53
- export interface PersonalInboxItem {
54
- id: ID;
55
- version: number;
56
- chatName: string;
57
- contactName: string | null;
58
- contactId: ID | null;
59
- contactIsBusiness: boolean | null;
60
- chatImage: string | null;
61
- channelType: string;
62
- channelName: string | null;
63
- status: ConversationStatus;
64
- priority: IConversation['priority'];
65
- lastMessagePreview: string;
66
- lastMessageId: ID | null;
67
- wallRootCommentId: ID | null;
68
- lastActivityAt: string;
69
- createdAt: string;
70
- pinned: boolean;
71
- requiresAction: boolean;
72
- unreadCount: number;
73
- isUnread: boolean;
74
- readState: IConversation['readState'];
75
- slaStatus: IConversation['sla']['status'];
76
- slaDeadlineAt: string | null;
77
- queueId: ID | null;
78
- ownerUserId: ID | null;
79
- ownerName: string | null;
80
- ownerAvatarUrl: string | null;
81
- interactionKind: InteractionKind;
82
- participants: {
83
- id: ID;
84
- name: string;
85
- imageUrl: string | null;
86
- }[];
87
- labels: {
88
- id: ID;
89
- name: string | null;
90
- color: string | null;
91
- }[];
92
- }
93
- export interface ResolvePersonalInboxItemsRequest {
94
- conversationIds: ID[];
95
- }
96
- export interface ResolvedPersonalInboxItems {
97
- views: PersonalInboxMembership;
98
- items: PersonalInboxItem[];
99
- removedIds: ID[];
100
- }
@@ -18,27 +18,27 @@ export interface PartyOwnerAssigneeResolver {
18
18
  mode: 'prefer' | 'required';
19
19
  }
20
20
  export type QueueOwnerAssigneeResolver = PartyOwnerAssigneeResolver;
21
- export type QueueRoutingPolicy = QueueRoutingPolicyBase & {
21
+ export type QueueRoutingPolicy = (QueueRoutingPolicyBase & {
22
22
  distributionMode: 'shared';
23
23
  strategy?: never;
24
24
  ownerResolver?: never;
25
- } | QueueRoutingPolicyBase & {
25
+ }) | (QueueRoutingPolicyBase & {
26
26
  distributionMode: 'manual_pull';
27
27
  strategy?: never;
28
28
  ownerResolver?: never;
29
- } | QueueRoutingPolicyBase & {
29
+ }) | (QueueRoutingPolicyBase & {
30
30
  distributionMode: 'exclusive';
31
31
  strategy: QueueRoutingStrategy;
32
- ownerResolver?: undefined | PartyOwnerAssigneeResolver & {
32
+ ownerResolver?: undefined | (PartyOwnerAssigneeResolver & {
33
33
  mode: 'prefer';
34
- };
35
- } | QueueRoutingPolicyBase & {
34
+ });
35
+ }) | (QueueRoutingPolicyBase & {
36
36
  distributionMode: 'exclusive';
37
37
  strategy?: never;
38
38
  ownerResolver: PartyOwnerAssigneeResolver & {
39
39
  mode: 'required';
40
40
  };
41
- };
41
+ });
42
42
  export type QueueRoutingConfig = QueueRoutingPolicy & {
43
43
  queueId: string;
44
44
  spaceId: string;
@@ -125,15 +125,15 @@ export type PartyOwnerAssigneeEvaluation = {
125
125
  }>;
126
126
  outcome: 'selected';
127
127
  nextStep?: never;
128
- } | FailedPartyOwnerEvaluation & {
128
+ } | (FailedPartyOwnerEvaluation & {
129
129
  type: 'party_owner';
130
130
  mode: 'prefer';
131
131
  nextStep: 'strategy';
132
- } | FailedPartyOwnerEvaluation & {
132
+ }) | (FailedPartyOwnerEvaluation & {
133
133
  type: 'party_owner';
134
134
  mode: 'required';
135
135
  nextStep: 'fallback';
136
- };
136
+ });
137
137
  export interface RoutingDecision {
138
138
  decisionId: string;
139
139
  spaceId: string;
@@ -9,39 +9,39 @@
9
9
  */
10
10
  export declare const DOMAIN_EVENT_TYPES: {
11
11
  readonly AUTOMATIONS: {
12
- readonly MANUAL: "automations.manual";
13
- readonly SCHEDULE_TICK: "automations.schedule.tick";
12
+ readonly MANUAL: 'automations.manual';
13
+ readonly SCHEDULE_TICK: 'automations.schedule.tick';
14
14
  };
15
15
  readonly CONTACTS: {
16
- readonly CONTACT_CREATED: "contacts.contact.created";
17
- readonly BUSINESS_CREATED: "contacts.business.created";
18
- readonly PROPERTY_CHANGED: "contacts.property.changed";
19
- readonly TAG_ADDED: "contacts.tag.added";
20
- readonly TAG_REMOVED: "contacts.tag.removed";
21
- readonly PROPERTY_DATE_REACHED: "contacts.property.date_reached";
16
+ readonly CONTACT_CREATED: 'contacts.contact.created';
17
+ readonly BUSINESS_CREATED: 'contacts.business.created';
18
+ readonly PROPERTY_CHANGED: 'contacts.property.changed';
19
+ readonly TAG_ADDED: 'contacts.tag.added';
20
+ readonly TAG_REMOVED: 'contacts.tag.removed';
21
+ readonly PROPERTY_DATE_REACHED: 'contacts.property.date_reached';
22
22
  };
23
23
  readonly CONVERSATIONS: {
24
- readonly CONVERSATION_CREATED: "conversations.conversation.created";
25
- readonly CONVERSATION_CLOSED: "conversations.conversation.closed";
26
- readonly MESSAGE_RECEIVED: "conversations.message.received";
27
- readonly AGENT_INTERVENED: "conversations.agent.intervened";
24
+ readonly CONVERSATION_CREATED: 'conversations.conversation.created';
25
+ readonly CONVERSATION_CLOSED: 'conversations.conversation.closed';
26
+ readonly MESSAGE_RECEIVED: 'conversations.message.received';
27
+ readonly AGENT_INTERVENED: 'conversations.agent.intervened';
28
28
  };
29
29
  readonly TICKETS: {
30
- readonly CREATED: "tickets.created";
31
- readonly STATUS_CHANGED: "tickets.status_changed";
32
- readonly PRIORITY_CHANGED: "tickets.priority_changed";
33
- readonly ASSIGNED: "tickets.assigned";
34
- readonly CUSTOMER_REPLIED: "tickets.customer_replied";
35
- readonly SLA_WARNING: "tickets.sla_warning";
36
- readonly SLA_BREACHED: "tickets.sla_breached";
37
- readonly CLOSED: "tickets.closed";
38
- readonly REOPENED: "tickets.reopened";
30
+ readonly CREATED: 'tickets.created';
31
+ readonly STATUS_CHANGED: 'tickets.status_changed';
32
+ readonly PRIORITY_CHANGED: 'tickets.priority_changed';
33
+ readonly ASSIGNED: 'tickets.assigned';
34
+ readonly CUSTOMER_REPLIED: 'tickets.customer_replied';
35
+ readonly SLA_WARNING: 'tickets.sla_warning';
36
+ readonly SLA_BREACHED: 'tickets.sla_breached';
37
+ readonly CLOSED: 'tickets.closed';
38
+ readonly REOPENED: 'tickets.reopened';
39
39
  };
40
40
  readonly FORMS: {
41
- readonly SUBMITTED: "forms.submitted";
41
+ readonly SUBMITTED: 'forms.submitted';
42
42
  };
43
43
  readonly INTEGRATIONS: {
44
- readonly WEBHOOK_RECEIVED: "integrations.webhook.received";
44
+ readonly WEBHOOK_RECEIVED: 'integrations.webhook.received';
45
45
  };
46
46
  };
47
47
  type Values<T> = T extends unknown ? T[keyof T] : never;
@@ -50,13 +50,13 @@ export declare const RegionInfo: {
50
50
  Value: number;
51
51
  DisplayName: string;
52
52
  RegionalDisplayName: string;
53
- };
53
+ } | null;
54
54
  getInfo_from_Value: (Value: number) => {
55
55
  Name: string;
56
56
  Value: number;
57
57
  DisplayName: string;
58
58
  RegionalDisplayName: string;
59
- };
59
+ } | null;
60
60
  };
61
61
  export interface ISpace {
62
62
  id: string;
@@ -123,6 +123,7 @@ export declare enum TicketMetricCode {
123
123
  NEXT_RESPONSE_TIME = "NEXT_RESPONSE_TIME",
124
124
  RESOLUTION_TIME = "RESOLUTION_TIME",
125
125
  ASSIGNMENT_TIME = "ASSIGNMENT_TIME",
126
+ /** @deprecated Assignment is direct: there is no acceptance to measure. Use ASSIGNMENT_TIME. */
126
127
  ACCEPTANCE_TIME = "ACCEPTANCE_TIME",
127
128
  HANDLE_TIME = "HANDLE_TIME",
128
129
  WAITING_CUSTOMER_TIME = "WAITING_CUSTOMER_TIME",
@@ -149,7 +150,9 @@ export declare enum TicketMetricCode {
149
150
  AGENT_CAPACITY_UTILIZATION = "AGENT_CAPACITY_UTILIZATION",
150
151
  AGENT_AVAILABILITY_TIME = "AGENT_AVAILABILITY_TIME",
151
152
  AGENT_OCCUPANCY_RATE = "AGENT_OCCUPANCY_RATE",
153
+ /** @deprecated Assignment is direct: nothing is accepted or declined. */
152
154
  AGENT_ACCEPTANCE_RATE = "AGENT_ACCEPTANCE_RATE",
155
+ /** @deprecated Assignment is direct: nothing is accepted or declined. */
153
156
  AGENT_DECLINE_RATE = "AGENT_DECLINE_RATE",
154
157
  AGENT_PRODUCTIVITY = "AGENT_PRODUCTIVITY",
155
158
  QUEUE_SIZE = "QUEUE_SIZE",
@@ -551,6 +554,7 @@ export interface IAgentDashboardMetrics {
551
554
  qualityGoals: {
552
555
  firstResponseSla: IAgentDashboardQualityGoal;
553
556
  resolutionSla: IAgentDashboardQualityGoal;
557
+ /** @deprecated Assignment is direct: nothing is accepted, so this rate has no source. */
554
558
  assignmentAcceptanceRate: IAgentDashboardQualityGoal;
555
559
  };
556
560
  csatScore: IAgentDashboardQualityGoal;
@@ -132,6 +132,7 @@ var TicketMetricCode;
132
132
  TicketMetricCode["NEXT_RESPONSE_TIME"] = "NEXT_RESPONSE_TIME";
133
133
  TicketMetricCode["RESOLUTION_TIME"] = "RESOLUTION_TIME";
134
134
  TicketMetricCode["ASSIGNMENT_TIME"] = "ASSIGNMENT_TIME";
135
+ /** @deprecated Assignment is direct: there is no acceptance to measure. Use ASSIGNMENT_TIME. */
135
136
  TicketMetricCode["ACCEPTANCE_TIME"] = "ACCEPTANCE_TIME";
136
137
  TicketMetricCode["HANDLE_TIME"] = "HANDLE_TIME";
137
138
  TicketMetricCode["WAITING_CUSTOMER_TIME"] = "WAITING_CUSTOMER_TIME";
@@ -158,7 +159,9 @@ var TicketMetricCode;
158
159
  TicketMetricCode["AGENT_CAPACITY_UTILIZATION"] = "AGENT_CAPACITY_UTILIZATION";
159
160
  TicketMetricCode["AGENT_AVAILABILITY_TIME"] = "AGENT_AVAILABILITY_TIME";
160
161
  TicketMetricCode["AGENT_OCCUPANCY_RATE"] = "AGENT_OCCUPANCY_RATE";
162
+ /** @deprecated Assignment is direct: nothing is accepted or declined. */
161
163
  TicketMetricCode["AGENT_ACCEPTANCE_RATE"] = "AGENT_ACCEPTANCE_RATE";
164
+ /** @deprecated Assignment is direct: nothing is accepted or declined. */
162
165
  TicketMetricCode["AGENT_DECLINE_RATE"] = "AGENT_DECLINE_RATE";
163
166
  TicketMetricCode["AGENT_PRODUCTIVITY"] = "AGENT_PRODUCTIVITY";
164
167
  TicketMetricCode["QUEUE_SIZE"] = "QUEUE_SIZE";
@@ -14,9 +14,13 @@ export declare enum TicketRoutingStatus {
14
14
  NOT_ROUTED = "NOT_ROUTED",
15
15
  QUEUED = "QUEUED",
16
16
  ROUTING = "ROUTING",
17
+ /** @deprecated Assignment is direct: there is no offer/accept flow. Never produced. */
17
18
  OFFERED = "OFFERED",
19
+ /** @deprecated Assignment is direct (born ACCEPTED). Never produced. */
18
20
  ASSIGNED = "ASSIGNED",
21
+ /** Every assignment (pull, manual, automatic) is direct and lands here. */
19
22
  ACCEPTED = "ACCEPTED",
23
+ /** @deprecated There is no offer to decline. Never produced. */
20
24
  DECLINED = "DECLINED",
21
25
  RETURNED = "RETURNED",
22
26
  ESCALATED = "ESCALATED",
@@ -50,10 +54,12 @@ export declare enum TicketSkillRelaxationMode {
50
54
  }
51
55
  export declare enum TicketEscalationTrigger {
52
56
  QUEUE_WAIT = "QUEUE_WAIT",
57
+ /** @deprecated Assignment is direct: there are no offers to time out. */
53
58
  OFFER_TIMEOUT = "OFFER_TIMEOUT",
54
59
  SLA_WARNING = "SLA_WARNING",
55
60
  SLA_BREACH = "SLA_BREACH",
56
61
  NO_ELIGIBLE_AGENT = "NO_ELIGIBLE_AGENT",
62
+ /** @deprecated Assignment is direct: there is no offer to decline. */
57
63
  DECLINED = "DECLINED"
58
64
  }
59
65
  export declare enum TicketEscalationActionType {
@@ -71,7 +77,9 @@ export declare enum TicketAssignmentEndReason {
71
77
  COMPLETED = "COMPLETED",
72
78
  REASSIGNED = "REASSIGNED",
73
79
  RETURNED = "RETURNED",
80
+ /** @deprecated Assignment is direct: there is no offer to decline. Never produced. */
74
81
  DECLINED = "DECLINED",
82
+ /** @deprecated Assignment is direct: there are no offers to expire. Never produced. */
75
83
  EXPIRED = "EXPIRED",
76
84
  MANUAL = "MANUAL"
77
85
  }
@@ -139,7 +147,6 @@ export interface ITicketQueue extends ITicketAuditedEntity {
139
147
  strategy: TicketRoutingStrategy;
140
148
  ordering: ITicketQueueOrder[];
141
149
  skillRequirements?: ITicketSkillRequirement[];
142
- offerTimeoutSeconds?: number;
143
150
  maximumWaitMinutes?: number;
144
151
  escalationPolicyId?: string;
145
152
  }
@@ -187,8 +194,6 @@ export interface ITicketAssignment {
187
194
  groupId?: string;
188
195
  agentId?: string;
189
196
  status: TicketRoutingStatus;
190
- offeredAt?: Date;
191
- offerExpiresAt?: Date;
192
197
  assignedAt?: Date;
193
198
  acceptedAt?: Date;
194
199
  endedAt?: Date;
@@ -251,8 +256,6 @@ export interface ITicketRoutingState {
251
256
  policyId?: string;
252
257
  currentAssignmentId?: string;
253
258
  enqueuedAt?: Date;
254
- offeredAt?: Date;
255
- offerExpiresAt?: Date;
256
259
  assignedAt?: Date;
257
260
  acceptedAt?: Date;
258
261
  priorityScore?: number;
@@ -270,21 +273,6 @@ export interface IEnqueueTicketDto {
270
273
  queueId?: string;
271
274
  reason?: string;
272
275
  }
273
- export interface IAcceptTicketAssignmentDto {
274
- expectedVersion: number;
275
- assignmentId: string;
276
- }
277
- export interface IDeclineTicketAssignmentDto {
278
- expectedVersion: number;
279
- assignmentId: string;
280
- reason: string;
281
- }
282
- export interface IReturnTicketToQueueDto {
283
- expectedVersion: number;
284
- assignmentId: string;
285
- reason?: string;
286
- queueId?: string;
287
- }
288
276
  export interface IManualRouteTicketDto {
289
277
  expectedVersion: number;
290
278
  queueId?: string;
@@ -302,7 +290,6 @@ export interface ICreateTicketQueueDto {
302
290
  strategy: TicketRoutingStrategy;
303
291
  ordering: ITicketQueueOrder[];
304
292
  skillRequirements?: ITicketSkillRequirement[];
305
- offerTimeoutSeconds?: number;
306
293
  maximumWaitMinutes?: number;
307
294
  escalationPolicyId?: string;
308
295
  }
@@ -16,9 +16,13 @@ var TicketRoutingStatus;
16
16
  TicketRoutingStatus["NOT_ROUTED"] = "NOT_ROUTED";
17
17
  TicketRoutingStatus["QUEUED"] = "QUEUED";
18
18
  TicketRoutingStatus["ROUTING"] = "ROUTING";
19
+ /** @deprecated Assignment is direct: there is no offer/accept flow. Never produced. */
19
20
  TicketRoutingStatus["OFFERED"] = "OFFERED";
21
+ /** @deprecated Assignment is direct (born ACCEPTED). Never produced. */
20
22
  TicketRoutingStatus["ASSIGNED"] = "ASSIGNED";
23
+ /** Every assignment (pull, manual, automatic) is direct and lands here. */
21
24
  TicketRoutingStatus["ACCEPTED"] = "ACCEPTED";
25
+ /** @deprecated There is no offer to decline. Never produced. */
22
26
  TicketRoutingStatus["DECLINED"] = "DECLINED";
23
27
  TicketRoutingStatus["RETURNED"] = "RETURNED";
24
28
  TicketRoutingStatus["ESCALATED"] = "ESCALATED";
@@ -58,10 +62,12 @@ var TicketSkillRelaxationMode;
58
62
  var TicketEscalationTrigger;
59
63
  (function (TicketEscalationTrigger) {
60
64
  TicketEscalationTrigger["QUEUE_WAIT"] = "QUEUE_WAIT";
65
+ /** @deprecated Assignment is direct: there are no offers to time out. */
61
66
  TicketEscalationTrigger["OFFER_TIMEOUT"] = "OFFER_TIMEOUT";
62
67
  TicketEscalationTrigger["SLA_WARNING"] = "SLA_WARNING";
63
68
  TicketEscalationTrigger["SLA_BREACH"] = "SLA_BREACH";
64
69
  TicketEscalationTrigger["NO_ELIGIBLE_AGENT"] = "NO_ELIGIBLE_AGENT";
70
+ /** @deprecated Assignment is direct: there is no offer to decline. */
65
71
  TicketEscalationTrigger["DECLINED"] = "DECLINED";
66
72
  })(TicketEscalationTrigger || (exports.TicketEscalationTrigger = TicketEscalationTrigger = {}));
67
73
  var TicketEscalationActionType;
@@ -81,7 +87,9 @@ var TicketAssignmentEndReason;
81
87
  TicketAssignmentEndReason["COMPLETED"] = "COMPLETED";
82
88
  TicketAssignmentEndReason["REASSIGNED"] = "REASSIGNED";
83
89
  TicketAssignmentEndReason["RETURNED"] = "RETURNED";
90
+ /** @deprecated Assignment is direct: there is no offer to decline. Never produced. */
84
91
  TicketAssignmentEndReason["DECLINED"] = "DECLINED";
92
+ /** @deprecated Assignment is direct: there are no offers to expire. Never produced. */
85
93
  TicketAssignmentEndReason["EXPIRED"] = "EXPIRED";
86
94
  TicketAssignmentEndReason["MANUAL"] = "MANUAL";
87
95
  })(TicketAssignmentEndReason || (exports.TicketAssignmentEndReason = TicketAssignmentEndReason = {}));
@@ -9,6 +9,7 @@ export declare enum SlaMetricType {
9
9
  NEXT_RESPONSE = "NEXT_RESPONSE",
10
10
  RESOLUTION = "RESOLUTION",
11
11
  ASSIGNMENT = "ASSIGNMENT",
12
+ /** @deprecated Assignment is direct: nothing is ever accepted, so this clock never closes. Use ASSIGNMENT. */
12
13
  ACCEPTANCE = "ACCEPTANCE",
13
14
  PERIODIC_UPDATE = "PERIODIC_UPDATE",
14
15
  STATUS_TIME = "STATUS_TIME",
@@ -41,6 +42,7 @@ export declare enum SlaEventType {
41
42
  STATUS_ENTERED = "STATUS_ENTERED",
42
43
  STATUS_EXITED = "STATUS_EXITED",
43
44
  ASSIGNED = "ASSIGNED",
45
+ /** @deprecated Assignment is direct: no event ever produces this. Use ASSIGNED. */
44
46
  ASSIGNMENT_ACCEPTED = "ASSIGNMENT_ACCEPTED",
45
47
  PUBLIC_MESSAGE_RECEIVED = "PUBLIC_MESSAGE_RECEIVED",
46
48
  PUBLIC_AGENT_RESPONSE_SENT = "PUBLIC_AGENT_RESPONSE_SENT",
@@ -12,6 +12,7 @@ var SlaMetricType;
12
12
  SlaMetricType["NEXT_RESPONSE"] = "NEXT_RESPONSE";
13
13
  SlaMetricType["RESOLUTION"] = "RESOLUTION";
14
14
  SlaMetricType["ASSIGNMENT"] = "ASSIGNMENT";
15
+ /** @deprecated Assignment is direct: nothing is ever accepted, so this clock never closes. Use ASSIGNMENT. */
15
16
  SlaMetricType["ACCEPTANCE"] = "ACCEPTANCE";
16
17
  SlaMetricType["PERIODIC_UPDATE"] = "PERIODIC_UPDATE";
17
18
  SlaMetricType["STATUS_TIME"] = "STATUS_TIME";
@@ -49,6 +50,7 @@ var SlaEventType;
49
50
  SlaEventType["STATUS_ENTERED"] = "STATUS_ENTERED";
50
51
  SlaEventType["STATUS_EXITED"] = "STATUS_EXITED";
51
52
  SlaEventType["ASSIGNED"] = "ASSIGNED";
53
+ /** @deprecated Assignment is direct: no event ever produces this. Use ASSIGNED. */
52
54
  SlaEventType["ASSIGNMENT_ACCEPTED"] = "ASSIGNMENT_ACCEPTED";
53
55
  SlaEventType["PUBLIC_MESSAGE_RECEIVED"] = "PUBLIC_MESSAGE_RECEIVED";
54
56
  SlaEventType["PUBLIC_AGENT_RESPONSE_SENT"] = "PUBLIC_AGENT_RESPONSE_SENT";
@@ -37,16 +37,6 @@ interface IChannelInfo {
37
37
  */
38
38
  status?: string;
39
39
  }
40
- /**
41
- * Fallback routing used only when no published Flow entry point matches the
42
- * channel, or when the selected Flow cannot produce a valid disposition.
43
- *
44
- * Flow-to-channel bindings remain authoritative in FlowEntryPoint.
45
- */
46
- interface ChannelConversationRoutingConfig {
47
- /** Stable id of a ConversationQueue in the same space as the channel. */
48
- defaultQueueId: string;
49
- }
50
40
  interface IChannel {
51
41
  id?: string | null;
52
42
  spaceId?: string | null;
@@ -54,28 +44,13 @@ interface IChannel {
54
44
  description?: string | null;
55
45
  type?: ChannelType | null;
56
46
  permissions?: Permission[] | null;
57
- /**
58
- * @deprecated Legacy channel assignment configuration. Use QueueRoutingConfig.
59
- */
60
47
  assignTo?: ConversationAssigned;
61
- /**
62
- * @deprecated Legacy channel assignment configuration. Use QueueRoutingConfig.
63
- */
64
48
  assignMethod: AssignMethod;
65
- /**
66
- * @deprecated Ownership is produced by the routing decision.
67
- */
68
49
  assignToOwner?: boolean;
69
50
  /**
70
51
  * habilita la creacion de conversaciones para este canal, si esta en false, los mensajes entrantes no generaran conversaciones
71
52
  */
72
53
  conversationsEnabled: boolean | false;
73
- /**
74
- * Default Queue for newly-created conversations that are not handled by a
75
- * Flow. Store only the Queue id; Queue configuration remains authoritative
76
- * in the Conversations domain.
77
- */
78
- conversationRouting?: ChannelConversationRoutingConfig | null;
79
54
  /**
80
55
  * Gets or sets a value indicating whether webhook notifications are enabled.
81
56
  * Redirects incoming messages to the specified webhook URL when set to true.
@@ -121,4 +96,4 @@ declare enum channelStatus {
121
96
  SUSPENDED = 7,
122
97
  CONFIGURATION_PENDING = 9
123
98
  }
124
- export { IChannel, IChannelInfo, ChannelConversationRoutingConfig, channelStatus, MessagingAvailability };
99
+ export { IChannel, IChannelInfo, channelStatus, MessagingAvailability };
@@ -14,7 +14,7 @@ export interface IBusiness {
14
14
  counters?: ICounters;
15
15
  name: string;
16
16
  imageUrl: string;
17
- ownerUserId?: string;
17
+ owner?: string;
18
18
  membersId: string[];
19
19
  members: IContactInfo[];
20
20
  phones: IContactAddress[];
@@ -54,7 +54,7 @@ export interface IContact {
54
54
  lastName: string;
55
55
  imageUrl: string;
56
56
  birthDate?: Date | null;
57
- ownerUserId?: string;
57
+ owner?: string;
58
58
  businessId?: string;
59
59
  businessName?: string;
60
60
  phones: IContactAddress[];