@redonvn/redai-backend-api-sdk 0.5.86 → 0.5.88

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 (95) hide show
  1. package/dist/cjs/generated/dynamic-table/services/admin-table-migrations.service.js +64 -0
  2. package/dist/cjs/generated/dynamic-table/services/admin-table-migrations.service.js.map +1 -0
  3. package/dist/cjs/generated/dynamic-table/services/base-members.service.js +2 -2
  4. package/dist/cjs/generated/dynamic-table/services/base-members.service.js.map +1 -1
  5. package/dist/cjs/generated/dynamic-table/services/data-table.service.js +9 -0
  6. package/dist/cjs/generated/dynamic-table/services/data-table.service.js.map +1 -1
  7. package/dist/cjs/generated/dynamic-table/services/index.js +4 -2
  8. package/dist/cjs/generated/dynamic-table/services/index.js.map +1 -1
  9. package/dist/cjs/generated/dynamic-table/services/workspace-members.service.js +2 -2
  10. package/dist/cjs/generated/dynamic-table/services/workspace-members.service.js.map +1 -1
  11. package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
  12. package/dist/cjs/generated/index.js +6 -4
  13. package/dist/cjs/generated/index.js.map +1 -1
  14. package/dist/cjs/generated/multichannel-chat/index.js +5 -2
  15. package/dist/cjs/generated/multichannel-chat/index.js.map +1 -1
  16. package/dist/cjs/generated/multichannel-chat/services/conversation-workspace-user.service.js +55 -0
  17. package/dist/cjs/generated/multichannel-chat/services/conversation-workspace-user.service.js.map +1 -0
  18. package/dist/cjs/generated/multichannel-chat/services/conversation.service.js +18 -0
  19. package/dist/cjs/generated/multichannel-chat/services/conversation.service.js.map +1 -1
  20. package/dist/cjs/generated/multichannel-chat/services/index.js +7 -1
  21. package/dist/cjs/generated/multichannel-chat/services/index.js.map +1 -1
  22. package/dist/cjs/generated/multichannel-chat/services/minimal-conversation.service.js +55 -0
  23. package/dist/cjs/generated/multichannel-chat/services/minimal-conversation.service.js.map +1 -0
  24. package/dist/cjs/generated/multichannel-chat/services/multichannel-dashboard.service.js +136 -0
  25. package/dist/cjs/generated/multichannel-chat/services/multichannel-dashboard.service.js.map +1 -0
  26. package/dist/cjs/generated/multichannel-chat/types.js +32 -14
  27. package/dist/cjs/generated/multichannel-chat/types.js.map +1 -1
  28. package/dist/cjs/generated/shared-types.js +1 -1
  29. package/dist/cjs/generated/shared-types.js.map +1 -1
  30. package/dist/cjs/index.js +4 -0
  31. package/dist/cjs/index.js.map +1 -1
  32. package/dist/esm/generated/dynamic-table/services/admin-table-migrations.service.d.ts +13 -0
  33. package/dist/esm/generated/dynamic-table/services/admin-table-migrations.service.d.ts.map +1 -0
  34. package/dist/esm/generated/dynamic-table/services/admin-table-migrations.service.js +60 -0
  35. package/dist/esm/generated/dynamic-table/services/admin-table-migrations.service.js.map +1 -0
  36. package/dist/esm/generated/dynamic-table/services/base-members.service.d.ts +2 -2
  37. package/dist/esm/generated/dynamic-table/services/base-members.service.d.ts.map +1 -1
  38. package/dist/esm/generated/dynamic-table/services/base-members.service.js +2 -2
  39. package/dist/esm/generated/dynamic-table/services/base-members.service.js.map +1 -1
  40. package/dist/esm/generated/dynamic-table/services/data-table.service.d.ts +7 -6
  41. package/dist/esm/generated/dynamic-table/services/data-table.service.d.ts.map +1 -1
  42. package/dist/esm/generated/dynamic-table/services/data-table.service.js +9 -0
  43. package/dist/esm/generated/dynamic-table/services/data-table.service.js.map +1 -1
  44. package/dist/esm/generated/dynamic-table/services/index.d.ts +1 -0
  45. package/dist/esm/generated/dynamic-table/services/index.d.ts.map +1 -1
  46. package/dist/esm/generated/dynamic-table/services/index.js +1 -0
  47. package/dist/esm/generated/dynamic-table/services/index.js.map +1 -1
  48. package/dist/esm/generated/dynamic-table/services/workspace-members.service.d.ts +2 -2
  49. package/dist/esm/generated/dynamic-table/services/workspace-members.service.d.ts.map +1 -1
  50. package/dist/esm/generated/dynamic-table/services/workspace-members.service.js +2 -2
  51. package/dist/esm/generated/dynamic-table/services/workspace-members.service.js.map +1 -1
  52. package/dist/esm/generated/dynamic-table/types.d.ts +88 -29
  53. package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
  54. package/dist/esm/generated/dynamic-table/types.js.map +1 -1
  55. package/dist/esm/generated/index.d.ts +3 -3
  56. package/dist/esm/generated/index.d.ts.map +1 -1
  57. package/dist/esm/generated/index.js +1 -1
  58. package/dist/esm/generated/index.js.map +1 -1
  59. package/dist/esm/generated/multichannel-chat/index.d.ts +1 -1
  60. package/dist/esm/generated/multichannel-chat/index.d.ts.map +1 -1
  61. package/dist/esm/generated/multichannel-chat/index.js +1 -1
  62. package/dist/esm/generated/multichannel-chat/index.js.map +1 -1
  63. package/dist/esm/generated/multichannel-chat/services/conversation-workspace-user.service.d.ts +12 -0
  64. package/dist/esm/generated/multichannel-chat/services/conversation-workspace-user.service.d.ts.map +1 -0
  65. package/dist/esm/generated/multichannel-chat/services/conversation-workspace-user.service.js +51 -0
  66. package/dist/esm/generated/multichannel-chat/services/conversation-workspace-user.service.js.map +1 -0
  67. package/dist/esm/generated/multichannel-chat/services/conversation.service.d.ts +3 -1
  68. package/dist/esm/generated/multichannel-chat/services/conversation.service.d.ts.map +1 -1
  69. package/dist/esm/generated/multichannel-chat/services/conversation.service.js +18 -0
  70. package/dist/esm/generated/multichannel-chat/services/conversation.service.js.map +1 -1
  71. package/dist/esm/generated/multichannel-chat/services/index.d.ts +3 -0
  72. package/dist/esm/generated/multichannel-chat/services/index.d.ts.map +1 -1
  73. package/dist/esm/generated/multichannel-chat/services/index.js +3 -0
  74. package/dist/esm/generated/multichannel-chat/services/index.js.map +1 -1
  75. package/dist/esm/generated/multichannel-chat/services/minimal-conversation.service.d.ts +12 -0
  76. package/dist/esm/generated/multichannel-chat/services/minimal-conversation.service.d.ts.map +1 -0
  77. package/dist/esm/generated/multichannel-chat/services/minimal-conversation.service.js +51 -0
  78. package/dist/esm/generated/multichannel-chat/services/minimal-conversation.service.js.map +1 -0
  79. package/dist/esm/generated/multichannel-chat/services/multichannel-dashboard.service.d.ts +21 -0
  80. package/dist/esm/generated/multichannel-chat/services/multichannel-dashboard.service.d.ts.map +1 -0
  81. package/dist/esm/generated/multichannel-chat/services/multichannel-dashboard.service.js +132 -0
  82. package/dist/esm/generated/multichannel-chat/services/multichannel-dashboard.service.js.map +1 -0
  83. package/dist/esm/generated/multichannel-chat/types.d.ts +485 -29
  84. package/dist/esm/generated/multichannel-chat/types.d.ts.map +1 -1
  85. package/dist/esm/generated/multichannel-chat/types.js +31 -14
  86. package/dist/esm/generated/multichannel-chat/types.js.map +1 -1
  87. package/dist/esm/generated/shared-types.d.ts +39 -11
  88. package/dist/esm/generated/shared-types.d.ts.map +1 -1
  89. package/dist/esm/generated/shared-types.js +1 -1
  90. package/dist/esm/generated/shared-types.js.map +1 -1
  91. package/dist/esm/index.d.ts +10 -2
  92. package/dist/esm/index.d.ts.map +1 -1
  93. package/dist/esm/index.js +5 -1
  94. package/dist/esm/index.js.map +1 -1
  95. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
- import type { Integration, PaginationMeta, QueryDto } from '../shared-types';
2
- export type { ACB_BANK, ACTIVE, ADMIN, AGENT, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, AI, ALIBABA_CODING_PLAN, ALL, Allow, ANTHROPIC, API, ApiRequestConfig, ApiResponseDto, AppApiResponse, APPEND, ARCHIVED, ARRAY, ASC, AUTH_001, AZURE_AI, BANNED, BASE64, BASE64_DECODE, BASE64_ENCODE, BIDV_BANK, BINARY, Body, BOOLEAN, CARD, CHAT, CLOUD_AWS_S3, CLOUD_AZURE_BLOB, CLOUD_BACKBLAZE_B2, CLOUD_CLOUDFLARE_R2, CLOUD_GOOGLE_CLOUD_STORAGE, CLOUD_MINIO, CLOUD_WASABI, COMMUNITY, CONCAT, ConfigResponseExtraction, ConfigResponseExtractionField, CronScheduleConfig, CUSTOM, CustomScheduleConfig, D, DAILY, DailyScheduleConfig, Danh, DATABASE_MARIADB, DATABASE_MONGODB, DATABASE_MSSQL, DATABASE_MYSQL, DATABASE_ORACLE, DATABASE_POSTGRESQL, DATABASE_REDIS, DATABASE_SQLITE, DATE, DEEPSEEK, Default, DEGRADED, DELETE, DELETED, DESC, DISABLED, DRAFT, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, ERROR, ErrorMapping, Example, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FAILED, FEMALE, FieldResponseMapping, FileDescriptor, FORM_DATA, FRIDAY, GET, GETFLY_CRM, GHN, GHTK, GMAIL, GOOGLE_ADS, GOOGLE_AI_STUDIO, GOOGLE_CALENDAR, GOOGLE_CLOUD_PROJECT, GOOGLE_DOCS, GOOGLE_DRIVE, GOOGLE_SHEETS, GROUP, HDB_BANK, HEALTHY, HOURLY, HourlyScheduleConfig, HTTP, HttpUsageConfig, ID, IIntegrationInputField, IMAGE, IMPORT, IN_SYSTEM, INACTIVE, INFO_RESULT_API, Integration, IntegrationJobErrorTracking, IntegrationProvider, INTERNAL, Invalid, JSON, JSON_PARSE, JSON_STRINGIFY, JsonArray, JsonObject, JsonPrimitive, JsonValue, Khi, KL_BANK, KNOWLEDGE_FILE, LEFT, LIST, LLM_CUSTOM, Lo, LOWERCASE, MALE, Mapping, MB_BANK, MEDIA, MEMBER, MERGE, Metadata, MONDAY, MONTHLY, MonthlyScheduleConfig, NEW, NONE, NUMBER, OBJECT, OCB_BANK, OPENAI, OPENAI_OAUTH, OPENROUTER, OTHER, PaginatedResult, PaginationMeta, PASSWORD, PATCH, PERPLEXITY_AI, POST, PROXY, PUT, Query, QueryDto, RAW, READ, REDAI, REDAI_EXTENSION, REDAI_LLM, REPLACE, S3_KEY, SATURDAY, SCB_BANK, SENT, SHB_BANK, SMS_ESMS, SMS_ESMS_ADVERTISING, SMS_ESMS_CUSTOMER_CARE, SMS_ESMS_VIBER, SMS_FPT, SMS_SPEED, SMS_TWILIO, SMS_VONAGE, SPAM, STB_BANK, STICKER, SuccessCondition, SUNDAY, SYSTEM, T, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TEMPLATE, TEXT, TEXTAREA, Th, THURSDAY, TIKTOK, TO_BOOLEAN, TO_DATE, TO_NUMBER, TO_STRING, TO_TIMESTAMP, ToolUsageConfig, TPB_BANK, TransformDefinition, TRIM, TUESDAY, UPPERCASE, URL, USER, USER_INPUT, VCB_BANK, VERIFIED, VERTEX_AI, VIB_BANK, VIDEO, VPB_BANK, VTB_BANK, WEBSITE, WEDNESDAY, WEEKLY, WeeklyScheduleConfig, WELCOME, X, X_WWW_FORM_URLENCODED, XAI, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
3
- export { BodyType, CronFrequencyType, DayOfWeek, FieldTransformType, FileSourceType, HttpMethod, IntegrationEntityStatus, IntegrationInputFieldSourceType, IntegrationInputFieldType, IntegrationJobHealthStatus, MergeStrategy, OwnedTypeEnum, ProviderEnum, SortDirection, TransformOperation, TransformType, UserCategoryEnum } from '../shared-types';
1
+ import type { Integration, IntegrationAccountResponseDto, PaginationMeta, QueryDto } from '../shared-types';
2
+ import { ResourceType } from '../shared-types';
3
+ export type { ACB_BANK, ACTIVE, ADMIN, AGENT, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, AI, ALIBABA_CODING_PLAN, ALL, Allow, ANTHROPIC, API, ApiRequestConfig, ApiResponseDto, AppApiResponse, APPEND, ARCHIVED, ARRAY, ASC, AUTH_001, AZURE_AI, BANNED, BASE64, BASE64_DECODE, BASE64_ENCODE, BIDV_BANK, BINARY, Body, BOOLEAN, CARD, CHAT, CLOUD_AWS_S3, CLOUD_AZURE_BLOB, CLOUD_BACKBLAZE_B2, CLOUD_CLOUDFLARE_R2, CLOUD_GOOGLE_CLOUD_STORAGE, CLOUD_MINIO, CLOUD_WASABI, COMMUNITY, CONCAT, ConfigResponseExtraction, ConfigResponseExtractionField, CronScheduleConfig, CUSTOM, CustomScheduleConfig, D, DAILY, DailyScheduleConfig, Danh, DATABASE_MARIADB, DATABASE_MONGODB, DATABASE_MSSQL, DATABASE_MYSQL, DATABASE_ORACLE, DATABASE_POSTGRESQL, DATABASE_REDIS, DATABASE_SQLITE, DATE, DEEPSEEK, Default, DEGRADED, DELETE, DELETED, DESC, DISABLED, DRAFT, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, EMBEDDING_CUSTOM, ERROR, ErrorMapping, Example, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FAILED, FEMALE, FieldResponseMapping, FileDescriptor, FORM_DATA, FRIDAY, GET, GETFLY_CRM, GHN, GHTK, GMAIL, GOOGLE_ADS, GOOGLE_AI_STUDIO, GOOGLE_CALENDAR, GOOGLE_CLOUD_PROJECT, GOOGLE_DOCS, GOOGLE_DRIVE, GOOGLE_SHEETS, GOOGLE_YOUTUBE, GROUP, HDB_BANK, HEALTHY, HOURLY, HourlyScheduleConfig, HTTP, HttpUsageConfig, ID, IIntegrationInputField, IMAGE, IMPORT, IN_SYSTEM, INACTIVE, INFO_RESULT_API, Integration, IntegrationAccountResponseDto, IntegrationJobErrorTracking, IntegrationProvider, IntegrationProviderInfoDto, INTERNAL, Invalid, JSON, JSON_PARSE, JSON_STRINGIFY, JsonArray, JsonObject, JsonPrimitive, JsonValue, Khi, KL_BANK, KNOWLEDGE_FILE, LEFT, LIST, LLM_CUSTOM, Lo, LOWERCASE, MALE, Mapping, MB_BANK, MEDIA, MEMBER, MERGE, Metadata, MONDAY, MONTHLY, MonthlyScheduleConfig, NEW, NONE, NUMBER, OBJECT, OCB_BANK, OPENAI, OPENAI_OAUTH, OPENROUTER, OTHER, PaginatedResult, PaginationMeta, PASSWORD, PATCH, PERPLEXITY_AI, POST, PROXY, PUT, Query, QueryDto, RAW, READ, REDAI, REDAI_CLI, REDAI_EXTENSION, REPLACE, S3_KEY, SATURDAY, SCB_BANK, SENT, SHB_BANK, SMS_ESMS, SMS_ESMS_ADVERTISING, SMS_ESMS_CUSTOMER_CARE, SMS_ESMS_VIBER, SMS_FPT, SMS_SPEED, SMS_TWILIO, SMS_VONAGE, SPAM, STB_BANK, STICKER, SuccessCondition, SUNDAY, SYSTEM, T, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TEMPLATE, TEXT, TEXTAREA, Th, THURSDAY, TIKTOK, TIKTOK_ADS, TO_BOOLEAN, TO_DATE, TO_NUMBER, TO_STRING, TO_TIMESTAMP, ToolUsageConfig, TPB_BANK, TransformDefinition, TRIM, TUESDAY, UNREAD, UPPERCASE, URL, USER, USER_INPUT, VCB_BANK, VERIFIED, VERTEX_AI, VIB_BANK, VIDEO, VPB_BANK, VTB_BANK, WEBSITE, WEDNESDAY, WEEKLY, WeeklyScheduleConfig, WELCOME, X, X_WWW_FORM_URLENCODED, XAI, YEAR, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
4
+ export { BodyType, CronFrequencyType, DayOfWeek, FieldTransformType, FileSourceType, HttpMethod, IntegrationEntityStatus, IntegrationInputFieldSourceType, IntegrationInputFieldType, IntegrationJobHealthStatus, MergeStrategy, OwnedTypeEnum, ProviderEnum, ResourceType, SortDirection, TransformOperation, TransformType, UserCategoryEnum } from '../shared-types';
4
5
  export interface AddTagsToConversationDto {
5
6
  tagIds: string[];
6
7
  }
@@ -9,6 +10,13 @@ export interface AdvancedConfigDto {
9
10
  endTime?: number;
10
11
  messageTypes?: 'TEXT' | 'IMAGE' | 'FILE' | 'AUDIO' | 'VIDEO' | 'EMAIL' | 'LOCATION' | 'CONTACT' | 'STICKER' | 'GIF' | 'LINK' | 'BUSINESS_CARD' | 'LIST' | 'SYSTEM' | 'TEMPLATE' | 'QUICK_REPLY' | 'CARD' | 'POLL' | 'EVENT' | 'RECOMMENDATION';
11
12
  }
13
+ export interface AssignConversationWorkspaceUsersDto {
14
+ userIds: (number)[];
15
+ }
16
+ export declare enum AssigneeFilterMode {
17
+ USER = "USER",
18
+ UNASSIGNED = "UNASSIGNED"
19
+ }
12
20
  export interface AssignGroupTagsDto {
13
21
  mode: AssignGroupTagsMode;
14
22
  tagIds: (string)[];
@@ -47,10 +55,29 @@ export declare enum AssignTagsMode {
47
55
  ID = "ID",
48
56
  ALL = "ALL"
49
57
  }
58
+ export interface AutoReplyDefaultItemDto {
59
+ integrationId: string;
60
+ isAutoReplyEnabled: boolean;
61
+ }
50
62
  export interface AutoReplyNotificationFailureDto {
51
63
  conversationId: string;
52
64
  error: string;
53
65
  }
66
+ export interface BaseAssignableUserDto {
67
+ userId: number;
68
+ fullName?: string;
69
+ email?: string;
70
+ phoneNumber?: string;
71
+ avatar?: string;
72
+ createdAt: number;
73
+ }
74
+ export interface BaseAssignableUsersResponseDto {
75
+ workspaceId: string;
76
+ baseId: string;
77
+ users: (BaseAssignableUserDto)[];
78
+ userCount: number;
79
+ updatedAt: number;
80
+ }
54
81
  export interface BaseConversationMetadata {
55
82
  externalConversationId: string;
56
83
  displayName?: string;
@@ -78,7 +105,7 @@ export interface BasePlatformData {
78
105
  }
79
106
  export interface BaseSendMessageDto {
80
107
  type: MessageType;
81
- clientMessageId: string;
108
+ clientMessageId?: string;
82
109
  replyToMessageId?: string;
83
110
  metadata?: MessageMetadata;
84
111
  }
@@ -134,6 +161,32 @@ export declare enum ChannelType {
134
161
  ZALO_OA = "ZALO_OA",
135
162
  FACEBOOK_PAGE = "FACEBOOK_PAGE"
136
163
  }
164
+ export interface ChartDataPointDto {
165
+ key: string;
166
+ label: I18nLabel;
167
+ value: number;
168
+ color?: string;
169
+ }
170
+ export declare enum ChartPeriodType {
171
+ HOUR = "hour",
172
+ DAY = "day",
173
+ WEEK = "week",
174
+ MONTH = "month",
175
+ YEAR = "year"
176
+ }
177
+ export interface ChartQueryDto {
178
+ fromDate?: number;
179
+ toDate?: number;
180
+ }
181
+ export interface ChartResponseDto {
182
+ data: (ChartDataPointDto)[];
183
+ period: ChartPeriodType;
184
+ startDate: number;
185
+ endDate: number;
186
+ chartLabel?: I18nLabel;
187
+ color?: string;
188
+ metadata?: Record<string, any>;
189
+ }
137
190
  export interface ContactData {
138
191
  name: string;
139
192
  phoneNumber?: string;
@@ -244,7 +297,7 @@ export interface ConversationResponseDto {
244
297
  lineNumber: number;
245
298
  systemPrompt: string;
246
299
  messages: (unknown)[];
247
- toolIds: (unknown)[] | null;
300
+ toolIds?: (unknown)[] | null;
248
301
  createdAt: number;
249
302
  updatedAt: number;
250
303
  }
@@ -369,6 +422,22 @@ export declare enum ConversationType {
369
422
  SUPPORT = "SUPPORT",
370
423
  BOT = "BOT"
371
424
  }
425
+ export interface ConversationWorkspaceUserDto {
426
+ userId: number;
427
+ fullName?: string;
428
+ email?: string;
429
+ phoneNumber?: string;
430
+ avatar?: string;
431
+ createdAt: number;
432
+ taggedBy?: number;
433
+ }
434
+ export interface ConversationWorkspaceUsersResponseDto {
435
+ conversationId: string;
436
+ workspaceId: string;
437
+ users: (ConversationWorkspaceUserDto)[];
438
+ userCount: number;
439
+ updatedAt: number;
440
+ }
372
441
  export interface CreateConversationDto {
373
442
  title: string;
374
443
  description?: string;
@@ -534,6 +603,15 @@ export declare enum CustomerPlatformType {
534
603
  EMAIL = "EMAIL",
535
604
  SMS = "SMS"
536
605
  }
606
+ export interface DashboardOverviewResponseDto {
607
+ totalPointsPurchased: number;
608
+ totalPointsConsumed: number;
609
+ currentPointsBalance: number;
610
+ totalRevenue: number;
611
+ totalTransactions: number;
612
+ totalUsers: number;
613
+ invoiceStatistics: InvoiceStatusStatistics;
614
+ }
537
615
  export declare enum DatasetMode {
538
616
  CREATE_NEW = "CREATE_NEW",
539
617
  APPEND = "APPEND"
@@ -615,11 +693,13 @@ export interface FrontendConversationResponseDto {
615
693
  participants: (ParticipantDto)[];
616
694
  customerInfo: CustomerInfoDto;
617
695
  assignedTo?: string;
696
+ workspaceUsers?: (ConversationWorkspaceUserDto)[];
618
697
  createdAt: number;
619
698
  updatedAt: number;
620
699
  metadata?: MessageMetadata;
621
700
  imageUrl?: unknown | null;
622
701
  integrationId?: unknown | null;
702
+ integrationAccount?: IntegrationAccountResponseDto;
623
703
  isAutoReplyEnabled: boolean;
624
704
  tags?: (unknown)[];
625
705
  isAgentConnected: boolean;
@@ -632,6 +712,8 @@ export type FrontendQueryConversationsDto = QueryDto & {
632
712
  status?: ConversationStatus[];
633
713
  type?: ConversationType[];
634
714
  assignedTo?: string;
715
+ assigneeUserId?: number;
716
+ assigneeFilterMode?: AssigneeFilterMode;
635
717
  search?: string;
636
718
  sortBy?: 'lastMessageAt' | 'createdAt' | 'title';
637
719
  integrationIds?: string[];
@@ -678,6 +760,11 @@ export interface GroupConversationZaloGroupDto {
678
760
  integrationId: string;
679
761
  tags: (GroupConversationTagDto)[];
680
762
  }
763
+ export interface I18nLabel {
764
+ vi: string;
765
+ en: string;
766
+ zh: string;
767
+ }
681
768
  export declare enum ImportResourceEnum {
682
769
  WEB = "WEB",
683
770
  MANUAL = "MANUAL",
@@ -731,6 +818,14 @@ export interface InternalPlatformData extends BasePlatformData {
731
818
  department?: string;
732
819
  agentId?: string;
733
820
  }
821
+ export interface InvoiceStatusStatistics {
822
+ pending: number;
823
+ paid: number;
824
+ failed: number;
825
+ cancelled: number;
826
+ refunded: number;
827
+ issued: number;
828
+ }
734
829
  export interface LastMessageDto {
735
830
  id: string;
736
831
  content: string;
@@ -754,12 +849,6 @@ export interface LocationData {
754
849
  name?: string;
755
850
  address?: string;
756
851
  }
757
- export declare enum MaritalStatus {
758
- SINGLE = "SINGLE",
759
- MARRIED = "MARRIED",
760
- DIVORCED = "DIVORCED",
761
- WIDOWED = "WIDOWED"
762
- }
763
852
  export interface MarkConversationReadDto {
764
853
  lastMessageId?: string;
765
854
  readAt?: number;
@@ -924,8 +1013,20 @@ export interface MessageMetadata {
924
1013
  rawMessageField?: string;
925
1014
  serviceType?: string;
926
1015
  chatType?: string;
1016
+ messageThreadId?: number;
1017
+ isTopicMessage?: boolean;
927
1018
  isServiceMessage?: boolean;
928
1019
  isPaidMedia?: boolean;
1020
+ group?: {
1021
+ chatId: string;
1022
+ chatType?: 'group' | 'supergroup';
1023
+ chatTitle?: string;
1024
+ isForum?: boolean;
1025
+ messageThreadId?: number;
1026
+ isTopicMessage?: boolean;
1027
+ senderChatId?: string;
1028
+ actorUserId?: string;
1029
+ };
929
1030
  };
930
1031
  }
931
1032
  export interface MessageReaction {
@@ -1003,6 +1104,156 @@ export interface MessagingCapabilityResponseDto {
1003
1104
  reasons: (MessagingCapabilityReasonDto)[];
1004
1105
  checkedAt: number;
1005
1106
  }
1107
+ export interface MinimalBaseSendMessageDto {
1108
+ type: MessageType;
1109
+ replyToMessageId?: string;
1110
+ }
1111
+ export interface MinimalConversationCustomerPlatformDto {
1112
+ id: string;
1113
+ type: CustomerPlatformType;
1114
+ integrationId?: unknown | null;
1115
+ externalUserId: string;
1116
+ displayName?: unknown | null;
1117
+ avatarUrl?: unknown | null;
1118
+ isActive: boolean;
1119
+ isOnline: boolean;
1120
+ behaviorStatus: CustomerBehaviorStatus;
1121
+ lastSeenAt?: unknown | null;
1122
+ metadata?: {
1123
+ [key: string]: unknown;
1124
+ } | null;
1125
+ platformData?: {
1126
+ [key: string]: unknown;
1127
+ } | null;
1128
+ }
1129
+ export interface MinimalConversationItemDto {
1130
+ id: string;
1131
+ title: string;
1132
+ platform: Platform;
1133
+ type: ConversationType;
1134
+ status: ConversationStatus;
1135
+ integrationId?: unknown | null;
1136
+ assignedTo?: unknown | null;
1137
+ lastMessage?: MinimalConversationLastMessageDto;
1138
+ lastMessageAt: number;
1139
+ unreadCount: number;
1140
+ isAutoReplyEnabled: boolean;
1141
+ isAgentConnected: boolean;
1142
+ online: boolean;
1143
+ participants: MinimalConversationParticipantDto;
1144
+ createdAt: number;
1145
+ updatedAt: number;
1146
+ }
1147
+ export interface MinimalConversationLastMessageDto {
1148
+ content: string;
1149
+ sentAt: number;
1150
+ type?: MessageType;
1151
+ }
1152
+ export interface MinimalConversationParticipantDto {
1153
+ id: number;
1154
+ participantType: ParticipantType;
1155
+ role: ParticipantRole;
1156
+ status: ParticipantStatus;
1157
+ displayName?: unknown | null;
1158
+ customerPlatformId?: unknown | null;
1159
+ customerPlatform?: MinimalConversationCustomerPlatformDto;
1160
+ }
1161
+ export interface MinimalMessageItemDto {
1162
+ id: string;
1163
+ senderId?: string;
1164
+ user?: MinimalMessageUserDto;
1165
+ type: MessageType;
1166
+ content?: string;
1167
+ status: MessageStatus;
1168
+ direction: MessageDirection;
1169
+ replyToMessageId?: string;
1170
+ data?: unknown;
1171
+ sentAt: number;
1172
+ createdAt: number;
1173
+ }
1174
+ export interface MinimalMessagesResponseDto {
1175
+ messages: MinimalMessageItemDto;
1176
+ meta: PaginationMeta;
1177
+ }
1178
+ export interface MinimalMessageUserDto {
1179
+ id: string;
1180
+ displayName?: string;
1181
+ }
1182
+ export interface MinimalMultichannelIntegrationItemDto {
1183
+ id: string;
1184
+ integrationName: string;
1185
+ providerType: ProviderSocialEnum;
1186
+ serviceType?: unknown | null;
1187
+ status: string;
1188
+ imageKey?: unknown | null;
1189
+ createdAt: number;
1190
+ updatedAt?: unknown | null;
1191
+ }
1192
+ export type MinimalQueryConversationsDto = QueryDto & {
1193
+ page: number;
1194
+ limit: number;
1195
+ platform?: Platform[];
1196
+ status?: ConversationStatus[];
1197
+ type?: ConversationType[];
1198
+ assigneeUserId?: number;
1199
+ assigneeFilterMode?: AssigneeFilterMode;
1200
+ search?: string;
1201
+ sortBy?: 'lastMessageAt' | 'createdAt' | 'updatedAt' | 'title';
1202
+ integrationIds?: string[];
1203
+ unreadOnly?: boolean;
1204
+ isAgentConnected?: boolean;
1205
+ customerPlatformIds?: string[];
1206
+ };
1207
+ export type MinimalQueryMessagesDto = QueryDto & {
1208
+ page: number;
1209
+ limit: number;
1210
+ type?: MessageType[];
1211
+ senderRole?: SenderRole[];
1212
+ };
1213
+ export type MinimalSendAudioMessageDto = MinimalBaseSendMessageDto & {
1214
+ type: 'AUDIO';
1215
+ audioUrl: string;
1216
+ duration?: number;
1217
+ waveform?: number[];
1218
+ };
1219
+ export type MinimalSendFileMessageDto = MinimalBaseSendMessageDto & {
1220
+ type: 'FILE';
1221
+ fileUrl: string;
1222
+ fileName: string;
1223
+ fileSize?: number;
1224
+ mimeType?: string;
1225
+ description?: string;
1226
+ };
1227
+ export type MinimalSendImageMessageDto = MinimalBaseSendMessageDto & {
1228
+ type: 'IMAGE';
1229
+ imageUrl: string;
1230
+ caption?: string;
1231
+ thumbnailUrl?: string;
1232
+ };
1233
+ export type MinimalSendMessageDto = MinimalSendTextMessageDto | MinimalSendImageMessageDto | MinimalSendVideoMessageDto | MinimalSendAudioMessageDto | MinimalSendFileMessageDto | MinimalSendStickerMessageDto;
1234
+ export interface MinimalSendMessageResponseDto {
1235
+ conversationId: string;
1236
+ platformMessageId?: string;
1237
+ integrationId?: string;
1238
+ success: boolean;
1239
+ message: string;
1240
+ }
1241
+ export type MinimalSendStickerMessageDto = MinimalBaseSendMessageDto & {
1242
+ type: 'STICKER';
1243
+ id?: number;
1244
+ platformDataId?: string;
1245
+ };
1246
+ export type MinimalSendTextMessageDto = MinimalBaseSendMessageDto & {
1247
+ type: 'TEXT';
1248
+ content: string;
1249
+ };
1250
+ export type MinimalSendVideoMessageDto = MinimalBaseSendMessageDto & {
1251
+ type: 'VIDEO';
1252
+ videoUrl: string;
1253
+ caption?: string;
1254
+ thumbnailUrl?: string;
1255
+ duration?: number;
1256
+ };
1006
1257
  export interface MultichannelConversation {
1007
1258
  id: string;
1008
1259
  title: string;
@@ -1031,6 +1282,26 @@ export interface MultichannelConversation {
1031
1282
  tags?: UserTag[];
1032
1283
  deletedAt?: number;
1033
1284
  }
1285
+ export type MultichannelDashboardBaseQueryDto = ChartQueryDto & {
1286
+ platforms?: Platform[];
1287
+ types?: ConversationType[];
1288
+ statuses?: ConversationStatus[];
1289
+ integrationIds?: (string)[];
1290
+ directions?: MessageDirection[];
1291
+ };
1292
+ export type MultichannelDashboardDistributionQueryDto = MultichannelDashboardBaseQueryDto & {
1293
+ limit?: number;
1294
+ };
1295
+ export type MultichannelDashboardTableQueryDto = MultichannelDashboardBaseQueryDto & {
1296
+ page?: number;
1297
+ limit?: number;
1298
+ sortBy?: MultichannelDashboardTableSortBy;
1299
+ };
1300
+ export declare enum MultichannelDashboardTableSortBy {
1301
+ MESSAGES = "messages",
1302
+ UNREAD = "unread",
1303
+ LAST_MESSAGE_AT = "lastMessageAt"
1304
+ }
1034
1305
  export interface MultichannelMessage {
1035
1306
  id: string;
1036
1307
  conversationId: string;
@@ -1071,7 +1342,7 @@ export interface MultichannelMessage {
1071
1342
  }
1072
1343
  export interface NotifyAutoReplyStatusDto {
1073
1344
  agentId: string;
1074
- text: string;
1345
+ targets: (NotifyAutoReplyStatusTargetDto)[];
1075
1346
  }
1076
1347
  export interface NotifyAutoReplyStatusResponseDto {
1077
1348
  agentId: string;
@@ -1080,6 +1351,10 @@ export interface NotifyAutoReplyStatusResponseDto {
1080
1351
  failureCount: number;
1081
1352
  failures: (AutoReplyNotificationFailureDto)[];
1082
1353
  }
1354
+ export interface NotifyAutoReplyStatusTargetDto {
1355
+ channelId: string;
1356
+ message: string;
1357
+ }
1083
1358
  export interface OptimizedMessageDto {
1084
1359
  id: string;
1085
1360
  conversationId: string;
@@ -1116,8 +1391,10 @@ export interface OptimizedMessageDto {
1116
1391
  };
1117
1392
  }
1118
1393
  export interface OptimizedMessagesResponse {
1119
- users: Record<string, MessageSenderInfoDto>;
1120
- messages: OptimizedMessageDto[];
1394
+ users: {
1395
+ [key: string]: MessageSenderInfoDto;
1396
+ };
1397
+ messages: OptimizedMessageDto;
1121
1398
  meta: PaginationMeta;
1122
1399
  }
1123
1400
  export declare enum OwnerType {
@@ -1176,6 +1453,23 @@ export declare enum ParticipantType {
1176
1453
  AGENT = "agent",
1177
1454
  SYSTEM = "system"
1178
1455
  }
1456
+ export interface PieChartDataDto {
1457
+ key: string;
1458
+ label: I18nLabel;
1459
+ value: number;
1460
+ percentage: number;
1461
+ color: string;
1462
+ }
1463
+ export interface PieChartResponseDto {
1464
+ data: (PieChartDataDto)[];
1465
+ startDate: number;
1466
+ endDate: number;
1467
+ }
1468
+ export interface Placeholder {
1469
+ key: string;
1470
+ label?: string;
1471
+ defaultValue?: string;
1472
+ }
1179
1473
  export declare enum Platform {
1180
1474
  WEBSITE = "WEBSITE",
1181
1475
  FACEBOOK = "FACEBOOK",
@@ -1231,6 +1525,19 @@ export interface PollData {
1231
1525
  isAnonymous?: boolean;
1232
1526
  expiresAt?: number;
1233
1527
  }
1528
+ export declare enum ProviderSocialEnum {
1529
+ WEBSITE = "WEBSITE",
1530
+ ZALO_OA = "ZALO_OA",
1531
+ ZALO_PERSONAL = "ZALO_PERSONAL",
1532
+ ZALO_BOT = "ZALO_BOT",
1533
+ TELEGRAM_BOT = "TELEGRAM_BOT",
1534
+ FACEBOOK_PAGE = "FACEBOOK_PAGE",
1535
+ EMAIL_GMAIL = "EMAIL_GMAIL",
1536
+ GOOGLE_CLOUD_PROJECT = "GOOGLE_CLOUD_PROJECT"
1537
+ }
1538
+ export interface QueryAutoReplyDefaultsDto {
1539
+ integrationIds?: (string)[];
1540
+ }
1234
1541
  export type QueryConversationParticipantsDto = QueryDto & {
1235
1542
  participantType?: ParticipantType;
1236
1543
  role?: ParticipantRole;
@@ -1270,6 +1577,7 @@ export type QueryGroupConversationsDto = FrontendQueryConversationsDto & {
1270
1577
  };
1271
1578
  export type QueryMessagesDto = QueryDto & {
1272
1579
  sortBy?: string;
1580
+ compactMode?: boolean;
1273
1581
  };
1274
1582
  export interface QuickReplyButton {
1275
1583
  id: string;
@@ -1277,6 +1585,9 @@ export interface QuickReplyButton {
1277
1585
  payload: string;
1278
1586
  icon?: string;
1279
1587
  }
1588
+ export interface RemoveConversationWorkspaceUsersDto {
1589
+ userIds: (number)[];
1590
+ }
1280
1591
  export interface RemoveTagsFromConversationDto {
1281
1592
  tagIds: string[];
1282
1593
  }
@@ -1300,11 +1611,6 @@ export interface ReplyMessageSnapshot {
1300
1611
  attachmentPreview?: ReplyAttachmentPreview;
1301
1612
  isDeleted?: boolean;
1302
1613
  }
1303
- export declare enum ResourceType {
1304
- MEDIA = "MEDIA",
1305
- KNOWLEDGE_FILE = "KNOWLEDGE_FILE",
1306
- URL = "URL"
1307
- }
1308
1614
  export type SendAudioMessageDto = BaseSendMessageDto & {
1309
1615
  type: 'AUDIO';
1310
1616
  audioUrl: string;
@@ -1364,6 +1670,9 @@ export type SendVideoMessageDto = BaseSendMessageDto & {
1364
1670
  thumbnailUrl?: string;
1365
1671
  duration?: number;
1366
1672
  };
1673
+ export interface SetConversationWorkspaceUsersDto {
1674
+ userIds: (number)[];
1675
+ }
1367
1676
  export interface SetTagsForConversationDto {
1368
1677
  tagIds: string[];
1369
1678
  }
@@ -1376,6 +1685,22 @@ export interface SMSPlatformData extends BasePlatformData {
1376
1685
  phoneType?: 'mobile' | 'landline' | 'voip';
1377
1686
  isVerified?: boolean;
1378
1687
  }
1688
+ export interface StackedChartDataDto {
1689
+ period: string;
1690
+ items: (StackedItemDto)[];
1691
+ total: number;
1692
+ }
1693
+ export interface StackedChartResponseDto {
1694
+ data: (StackedChartDataDto)[];
1695
+ period: ChartPeriodType;
1696
+ keys: string[];
1697
+ }
1698
+ export interface StackedItemDto {
1699
+ key: string;
1700
+ label: I18nLabel;
1701
+ value: number;
1702
+ color: string;
1703
+ }
1379
1704
  export interface StickerData {
1380
1705
  id: string;
1381
1706
  packageId?: string;
@@ -1390,6 +1715,25 @@ export interface SyncPlatformDataDto {
1390
1715
  integrationIds: (string)[];
1391
1716
  options: SyncOptionsDto;
1392
1717
  }
1718
+ export interface TableAnalyticsResponseDto {
1719
+ columns: (TableColumnDto)[];
1720
+ rows: (TableDataRowDto)[];
1721
+ totalRows: number;
1722
+ currentPage: number;
1723
+ totalPages: number;
1724
+ }
1725
+ export interface TableColumnDto {
1726
+ id: string;
1727
+ header: string;
1728
+ dataType?: string;
1729
+ sortable?: boolean;
1730
+ filterable?: boolean;
1731
+ width?: number;
1732
+ }
1733
+ export interface TableDataRowDto {
1734
+ data: Record<string, any>;
1735
+ id: string;
1736
+ }
1393
1737
  export interface TelegramPlatformData extends BasePlatformData {
1394
1738
  chatId?: string;
1395
1739
  userId?: number;
@@ -1397,6 +1741,13 @@ export interface TelegramPlatformData extends BasePlatformData {
1397
1741
  isBot?: boolean;
1398
1742
  languageCode?: string;
1399
1743
  chatType?: 'private' | 'group' | 'supergroup' | 'channel';
1744
+ lastGroupChatId?: string;
1745
+ groupContext?: {
1746
+ chatId: string;
1747
+ chatType?: 'group' | 'supergroup';
1748
+ title?: string;
1749
+ lastSeenAt?: number;
1750
+ };
1400
1751
  userInfo?: {
1401
1752
  firstName?: string;
1402
1753
  lastName?: string;
@@ -1486,6 +1837,14 @@ export interface TemplateMessageData {
1486
1837
  };
1487
1838
  language?: string;
1488
1839
  }
1840
+ export interface UpdateAutoReplyDefaultsDto {
1841
+ integrationIds: (string)[];
1842
+ isAutoReplyEnabled: boolean;
1843
+ }
1844
+ export interface UpdateAutoReplyDefaultsResponseDto {
1845
+ updatedCount: number;
1846
+ isAutoReplyEnabled: boolean;
1847
+ }
1489
1848
  export interface UpdateAutoReplyDto {
1490
1849
  isAutoReplyEnabled: boolean;
1491
1850
  }
@@ -1553,6 +1912,20 @@ export interface UpdateCustomerPlatformDto {
1553
1912
  export interface UpdateOnlineStatusDto {
1554
1913
  isOnline: boolean;
1555
1914
  }
1915
+ export interface UpsertConversationSummaryDto {
1916
+ summary: string;
1917
+ interestTopics?: (string)[];
1918
+ products?: (ConversationSummaryProductDto)[];
1919
+ customerIntent?: string;
1920
+ internalSummary?: string;
1921
+ confidence?: number;
1922
+ windowStartAt?: number;
1923
+ windowEndAt?: number;
1924
+ windowMessageCount?: number;
1925
+ windowInboundCount?: number;
1926
+ windowOutboundCount?: number;
1927
+ language?: string;
1928
+ }
1556
1929
  export interface UserAudience {
1557
1930
  id: string;
1558
1931
  workspaceId?: string;
@@ -1567,15 +1940,12 @@ export interface UserAudience {
1567
1940
  avatar: string | null;
1568
1941
  address: string | null;
1569
1942
  integrationId: string | null;
1570
- avatarsExternal: string[] | null;
1571
1943
  importResource: ImportResourceEnum | null;
1572
1944
  gender: Gender | null;
1573
1945
  birthDate: Date | null;
1574
- maritalStatus: MaritalStatus | null;
1575
1946
  jobTitle: string | null;
1576
1947
  timezone: string | null;
1577
- lastLoginAt: number | null;
1578
- totalSpent: number | null;
1948
+ isCustomer: boolean;
1579
1949
  utmSource: string | null;
1580
1950
  utmMedium: string | null;
1581
1951
  utmCampaign: string | null;
@@ -1617,7 +1987,7 @@ export interface UserTemplateEmail {
1617
1987
  content: string;
1618
1988
  type?: TemplateEmailType;
1619
1989
  category: string | null;
1620
- placeholders: string[];
1990
+ placeholders: Placeholder[];
1621
1991
  ctaButtons?: CTAButton[];
1622
1992
  contentKeyS3?: string;
1623
1993
  jsonData?: any;
@@ -1735,10 +2105,10 @@ export type CONTACT = unknown;
1735
2105
  export type CREATE_NEW = unknown;
1736
2106
  export type CRM = unknown;
1737
2107
  export type CUSTOMER = unknown;
2108
+ export type DAY = unknown;
1738
2109
  export type DELIVERED = unknown;
1739
2110
  export type DICE = unknown;
1740
2111
  export type DIRECT = unknown;
1741
- export type DIVORCED = unknown;
1742
2112
  export type DTOConversationType = unknown;
1743
2113
  export type EVENT = unknown;
1744
2114
  export type EVENT_INVITATION = unknown;
@@ -1753,21 +2123,23 @@ export type FOR_ME = unknown;
1753
2123
  export type GAME = unknown;
1754
2124
  export type GIF = unknown;
1755
2125
  export type GOODBYE = unknown;
1756
- export type GOOGLE_YOUTUBE = unknown;
1757
2126
  export type GUEST = unknown;
2127
+ export type HOUR = unknown;
1758
2128
  export type INBOUND = unknown;
1759
2129
  export type INTERESTED = unknown;
1760
2130
  export type INVOICE_ISSUED = unknown;
1761
2131
  export type INVOICE_OVERDUE = unknown;
1762
2132
  export type KICKED = unknown;
2133
+ export type LAST_MESSAGE_AT = unknown;
1763
2134
  export type LINK = unknown;
1764
2135
  export type LOCATION = unknown;
1765
2136
  export type LOGIN_ALERT = unknown;
1766
2137
  export type M = unknown;
1767
2138
  export type MANUAL = unknown;
1768
- export type MARRIED = unknown;
2139
+ export type MESSAGES = unknown;
1769
2140
  export type Model = unknown;
1770
2141
  export type MODERATOR = unknown;
2142
+ export type MONTH = unknown;
1771
2143
  export type MUTED = unknown;
1772
2144
  export type NEW_DEVICE_LOGIN = unknown;
1773
2145
  export type NEWSLETTER = unknown;
@@ -1801,7 +2173,6 @@ export type RETURN_REQUESTED = unknown;
1801
2173
  export type RETURNED = unknown;
1802
2174
  export type SECURITY_ALERT = unknown;
1803
2175
  export type SENDING = unknown;
1804
- export type SINGLE = unknown;
1805
2176
  export type SMS = unknown;
1806
2177
  export type STORY = unknown;
1807
2178
  export type SUBSCRIPTION_CANCELED = unknown;
@@ -1815,6 +2186,7 @@ export type SURVEY = unknown;
1815
2186
  export type TERMS_UPDATE = unknown;
1816
2187
  export type TRANSACTIONAL = unknown;
1817
2188
  export type TWO_FACTOR_CODE = unknown;
2189
+ export type UNASSIGNED = unknown;
1818
2190
  export type UNRESPONSIVE = unknown;
1819
2191
  export type UNSUBSCRIBE_CONFIRMATION = unknown;
1820
2192
  export type VENUE = unknown;
@@ -1822,8 +2194,8 @@ export type VERIFY_EMAIL = unknown;
1822
2194
  export type WEB = unknown;
1823
2195
  export type Webhook = unknown;
1824
2196
  export type WEBINAR_CONFIRMATION = unknown;
2197
+ export type WEEK = unknown;
1825
2198
  export type WHATSAPP = unknown;
1826
- export type WIDOWED = unknown;
1827
2199
  export type WINBACK = unknown;
1828
2200
  export type Y = unknown;
1829
2201
  export interface ChannelConfigurationGetChannelConfigurationsParams {
@@ -1861,6 +2233,9 @@ export interface ConversationGenerateConversationSummaryParams {
1861
2233
  authorization?: string;
1862
2234
  };
1863
2235
  }
2236
+ export interface ConversationGetAutoReplyDefaultsParams {
2237
+ query?: QueryAutoReplyDefaultsDto;
2238
+ }
1864
2239
  export interface ConversationGetConversationParams {
1865
2240
  id: string;
1866
2241
  }
@@ -1942,6 +2317,9 @@ export interface ConversationTagUpdateTagParams {
1942
2317
  id: string;
1943
2318
  body: UpdateConversationTagDto;
1944
2319
  }
2320
+ export interface ConversationUpdateAutoReplyDefaultsParams {
2321
+ body: UpdateAutoReplyDefaultsDto;
2322
+ }
1945
2323
  export interface ConversationUpdateAutoReplyParams {
1946
2324
  id: string;
1947
2325
  body: UpdateAutoReplyDto;
@@ -1962,6 +2340,24 @@ export interface ConversationUpdateConversationTitleParams {
1962
2340
  id: string;
1963
2341
  body: UpdateConversationTitleDto;
1964
2342
  }
2343
+ export interface ConversationWorkspaceUserAddConversationWorkspaceUsersParams {
2344
+ conversationId: string;
2345
+ body: AssignConversationWorkspaceUsersDto;
2346
+ }
2347
+ export interface ConversationWorkspaceUserGetBaseAssignableUsersParams {
2348
+ _?: never;
2349
+ }
2350
+ export interface ConversationWorkspaceUserGetConversationWorkspaceUsersParams {
2351
+ conversationId: string;
2352
+ }
2353
+ export interface ConversationWorkspaceUserRemoveConversationWorkspaceUsersParams {
2354
+ conversationId: string;
2355
+ body: RemoveConversationWorkspaceUsersDto;
2356
+ }
2357
+ export interface ConversationWorkspaceUserSetConversationWorkspaceUsersParams {
2358
+ conversationId: string;
2359
+ body: SetConversationWorkspaceUsersDto;
2360
+ }
1965
2361
  export interface CustomerPlatformAssignTagsToCustomerPlatformParams {
1966
2362
  body: AssignTagsByCustomerPlatformDto;
1967
2363
  }
@@ -2052,6 +2448,66 @@ export interface MessageSendMessageParams {
2052
2448
  conversationId: string;
2053
2449
  body: SendMessageDto;
2054
2450
  }
2451
+ export interface MinimalConversationGetMessagesParams {
2452
+ conversationId: string;
2453
+ query?: MinimalQueryMessagesDto;
2454
+ }
2455
+ export interface MinimalConversationGetMinimalConversationsParams {
2456
+ query?: MinimalQueryConversationsDto;
2457
+ }
2458
+ export interface MinimalConversationGetMultichannelIntegrationsParams {
2459
+ _?: never;
2460
+ }
2461
+ export interface MinimalConversationSendMessageParams {
2462
+ conversationId: string;
2463
+ body: MinimalSendMessageDto;
2464
+ }
2465
+ export interface MinimalConversationUpsertConversationSummaryParams {
2466
+ conversationId: string;
2467
+ body: UpsertConversationSummaryDto;
2468
+ }
2469
+ export interface MultichannelDashboardGetConversationByIntegrationParams {
2470
+ query?: MultichannelDashboardDistributionQueryDto;
2471
+ }
2472
+ export interface MultichannelDashboardGetConversationByPlatformParams {
2473
+ query?: MultichannelDashboardDistributionQueryDto;
2474
+ }
2475
+ export interface MultichannelDashboardGetConversationByStatusParams {
2476
+ query?: MultichannelDashboardDistributionQueryDto;
2477
+ }
2478
+ export interface MultichannelDashboardGetConversationByTypeParams {
2479
+ query?: MultichannelDashboardDistributionQueryDto;
2480
+ }
2481
+ export interface MultichannelDashboardGetConversationTrendParams {
2482
+ query?: MultichannelDashboardBaseQueryDto;
2483
+ }
2484
+ export interface MultichannelDashboardGetMessageDirectionDistributionParams {
2485
+ query?: MultichannelDashboardDistributionQueryDto;
2486
+ }
2487
+ export interface MultichannelDashboardGetMessageDirectionStackedParams {
2488
+ query?: MultichannelDashboardBaseQueryDto;
2489
+ }
2490
+ export interface MultichannelDashboardGetMessageTrendParams {
2491
+ query?: MultichannelDashboardBaseQueryDto;
2492
+ }
2493
+ export interface MultichannelDashboardGetOverviewExtendedParams {
2494
+ query?: MultichannelDashboardBaseQueryDto;
2495
+ }
2496
+ export interface MultichannelDashboardGetOverviewParams {
2497
+ query?: MultichannelDashboardBaseQueryDto;
2498
+ }
2499
+ export interface MultichannelDashboardGetResponseTimeTrendParams {
2500
+ query?: MultichannelDashboardBaseQueryDto;
2501
+ }
2502
+ export interface MultichannelDashboardGetTopConversationsParams {
2503
+ query?: MultichannelDashboardTableQueryDto;
2504
+ }
2505
+ export interface MultichannelDashboardGetTopIntegrationsParams {
2506
+ query?: MultichannelDashboardTableQueryDto;
2507
+ }
2508
+ export interface MultichannelDashboardGetTopPlatformsParams {
2509
+ query?: MultichannelDashboardTableQueryDto;
2510
+ }
2055
2511
  export interface PlatformStickerGetStickerByIdParams {
2056
2512
  id: number;
2057
2513
  }