@rocket.chat/core-typings 6.6.0-rc.6 → 6.9.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,159 @@
1
1
  # @rocket.chat/core-typings
2
2
 
3
+ ## 6.9.0-rc.1
4
+
5
+ ## 6.9.0-rc.0
6
+
7
+ ### Minor Changes
8
+
9
+ - ([#31917](https://github.com/RocketChat/Rocket.Chat/pull/31917)) Introduced a tab layout to the users page and implemented a tab called "All" that lists all users.
10
+
11
+ - ([#32298](https://github.com/RocketChat/Rocket.Chat/pull/32298)) Added "Rocket.Chat Cloud Workspace ID" to workspace statistics page
12
+
13
+ ### Patch Changes
14
+
15
+ - <details><summary>Updated dependencies [ee5cdfc367]:</summary>
16
+
17
+ - @rocket.chat/ui-kit@0.34.0-rc.0
18
+ </details>
19
+
20
+ ## 6.8.0
21
+
22
+ ### Minor Changes
23
+
24
+ - ([#32224](https://github.com/RocketChat/Rocket.Chat/pull/32224)) Allow Custom Fields in Messages. API-only feature. It can be enabled and configured in Workspace Settings.
25
+
26
+ - ([#31976](https://github.com/RocketChat/Rocket.Chat/pull/31976)) Added support for allowing agents to forward inquiries to departments that may not have any online agents given that `Allow department to receive forwarded inquiries even when there's no available agents` is set to `true` in the department configuration.
27
+ This configuration empowers agents to seamlessly direct incoming requests to the designated department, ensuring efficient handling of queries even when departmental resources are not actively online. When an agent becomes available, any pending inquiries will be automatically routed to them if the routing algorithm supports it.
28
+
29
+ ### Patch Changes
30
+
31
+ - ([#32374](https://github.com/RocketChat/Rocket.Chat/pull/32374)) Fixed an issue with some apps that didn't implement executeViewCloseHandler. This causes opened modals to be open forever on UI (unless Esc was clicked). This is because when the UI attempts to close it, it calls the aforementioned handler, and since it didn't exist, apps engine errored out.
32
+
33
+ This returned an empty response to the UI, which ignored the response and continued to show the view.
34
+
35
+ - <details><summary>Updated dependencies []:</summary>
36
+
37
+ - @rocket.chat/message-parser@0.31.29
38
+ - @rocket.chat/ui-kit@0.33.0
39
+ </details>
40
+
41
+ ## 6.8.0-rc.2
42
+
43
+ ### Patch Changes
44
+
45
+ - ([#32374](https://github.com/RocketChat/Rocket.Chat/pull/32374)) Fixed an issue with some apps that didn't implement executeViewCloseHandler. This causes opened modals to be open forever on UI (unless Esc was clicked). This is because when the UI attempts to close it, it calls the aforementioned handler, and since it didn't exist, apps engine errored out.
46
+
47
+ This returned an empty response to the UI, which ignored the response and continued to show the view.
48
+
49
+ ## 6.8.0-rc.1
50
+
51
+ ## 6.8.0-rc.0
52
+
53
+ ### Minor Changes
54
+
55
+ - ([#32224](https://github.com/RocketChat/Rocket.Chat/pull/32224)) Allow Custom Fields in Messages. API-only feature. It can be enabled and configured in Workspace Settings.
56
+
57
+ - ([#31976](https://github.com/RocketChat/Rocket.Chat/pull/31976)) Added support for allowing agents to forward inquiries to departments that may not have any online agents given that `Allow department to receive forwarded inquiries even when there's no available agents` is set to `true` in the department configuration.
58
+ This configuration empowers agents to seamlessly direct incoming requests to the designated department, ensuring efficient handling of queries even when departmental resources are not actively online. When an agent becomes available, any pending inquiries will be automatically routed to them if the routing algorithm supports it.
59
+
60
+ ### Patch Changes
61
+
62
+ - <details><summary>Updated dependencies []:</summary>
63
+
64
+ - @rocket.chat/message-parser@0.31.29
65
+ - @rocket.chat/ui-kit@0.33.0
66
+ </details>
67
+
68
+ ## 6.7.2
69
+
70
+ ## 6.7.1
71
+
72
+ ## 6.7.0
73
+
74
+ ### Minor Changes
75
+
76
+ - ([#31820](https://github.com/RocketChat/Rocket.Chat/pull/31820)) **Added the ability for premium workspaces to hide Rocket.Chat's watermark as well as change the Livechat widget's logo**
77
+
78
+ The new settings (named below) can be found in the Omnichannel workspace settings within the livechat section.
79
+
80
+ - Hide "powered by Rocket.Chat"
81
+ - Livechat widget logo (svg, png, jpg)
82
+
83
+ - ([#31268](https://github.com/RocketChat/Rocket.Chat/pull/31268)) Added new Livechat trigger action "Send message (external service)"
84
+
85
+ ### Patch Changes
86
+
87
+ - ([#31663](https://github.com/RocketChat/Rocket.Chat/pull/31663)) Fixes issue causing the setDepartment Livechat API overriding some triggers conditions
88
+
89
+ - <details><summary>Updated dependencies [5ad65ff3da]:</summary>
90
+
91
+ - @rocket.chat/message-parser@0.31.29
92
+ - @rocket.chat/ui-kit@0.33.0
93
+ </details>
94
+
95
+ ## 6.7.0-rc.4
96
+
97
+ ## 6.7.0-rc.3
98
+
99
+ ## 6.7.0-rc.2
100
+
101
+ ## 6.7.0-rc.1
102
+
103
+ ## 6.7.0-rc.0
104
+
105
+ ### Minor Changes
106
+
107
+ - ([#31820](https://github.com/RocketChat/Rocket.Chat/pull/31820)) **Added the ability for premium workspaces to hide Rocket.Chat's watermark as well as change the Livechat widget's logo**
108
+
109
+ The new settings (named below) can be found in the Omnichannel workspace settings within the livechat section.
110
+
111
+ - Hide "powered by Rocket.Chat"
112
+ - Livechat widget logo (svg, png, jpg)
113
+
114
+ - ([#31268](https://github.com/RocketChat/Rocket.Chat/pull/31268)) Added new Livechat trigger action "Send message (external service)"
115
+
116
+ ### Patch Changes
117
+
118
+ - ([#31663](https://github.com/RocketChat/Rocket.Chat/pull/31663)) Fixes issue causing the setDepartment Livechat API overriding some triggers conditions
119
+
120
+ - <details><summary>Updated dependencies [5ad65ff3da]:</summary>
121
+
122
+ - @rocket.chat/message-parser@0.31.29-rc.0
123
+ - @rocket.chat/ui-kit@0.33.0
124
+ </details>
125
+
126
+ ## 6.6.6
127
+
128
+ ## 6.6.5
129
+
130
+ ## 6.6.4
131
+
132
+ ## 6.6.3
133
+
134
+ ## 6.6.2
135
+
136
+ ## 6.6.1
137
+
138
+ ## 6.6.0
139
+
140
+ ### Patch Changes
141
+
142
+ - ([#31138](https://github.com/RocketChat/Rocket.Chat/pull/31138)) feat(uikit): Move `@rocket.chat/ui-kit` package to the main monorepo
143
+
144
+ - ([#31349](https://github.com/RocketChat/Rocket.Chat/pull/31349) by [@Subhojit-Dey1234](https://github.com/Subhojit-Dey1234)) feat: Implemented InlineCode handling in Bold, Italic and Strike
145
+
146
+ - ([#30478](https://github.com/RocketChat/Rocket.Chat/pull/30478)) Added `chat.getURLPreview` endpoint to enable users to retrieve previews for URL (ready to be provided in message send/update)
147
+
148
+ - ([#31328](https://github.com/RocketChat/Rocket.Chat/pull/31328)) Fixed an issue caused by the `Fallback Forward Department` feature. Feature could be configured by admins in a way that mimis a loop, causing a chat to be forwarded "infinitely" between those departments. System will now prevent Self & 1-level deep circular references from being saved, and a new setting is added to control the maximum number of hops that the system will do between fallback departments before considering a transfer failure.
149
+
150
+ - <details><summary>Updated dependencies [b223cbde14]:</summary>
151
+
152
+ - @rocket.chat/ui-kit@0.33.0
153
+ </details>
154
+
155
+ ## 6.6.0-rc.7
156
+
3
157
  ## 6.6.0-rc.6
4
158
 
5
159
  ## 6.6.0-rc.5
@@ -17,6 +17,7 @@ export interface ILivechatDepartment {
17
17
  departmentsAllowedToForward?: string[];
18
18
  maxNumberSimultaneousChat?: number;
19
19
  ancestors?: string[];
20
+ allowReceiveForwardOffline?: boolean;
20
21
  [k: string]: any;
21
22
  }
22
23
  export type LivechatDepartmentDTO = {
@@ -30,4 +31,5 @@ export type LivechatDepartmentDTO = {
30
31
  chatClosingTags?: string[] | undefined;
31
32
  fallbackForwardDepartment?: string | undefined;
32
33
  departmentsAllowedToForward?: string[] | undefined;
34
+ allowReceiveForwardOffline?: boolean;
33
35
  };
@@ -1,15 +1,10 @@
1
1
  import type { IRocketChatRecord } from './IRocketChatRecord';
2
- export declare enum ILivechatTriggerType {
3
- TIME_ON_SITE = "time-on-site",
4
- PAGE_URL = "page-url",
5
- CHAT_OPENED_BY_VISITOR = "chat-opened-by-visitor",
6
- AFTER_GUEST_REGISTRATION = "after-guest-registration"
7
- }
2
+ export type ILivechatTriggerType = 'time-on-site' | 'page-url' | 'chat-opened-by-visitor' | 'after-guest-registration';
8
3
  export interface ILivechatTriggerCondition {
9
4
  name: ILivechatTriggerType;
10
5
  value?: string | number;
11
6
  }
12
- export interface ILivechatTriggerAction {
7
+ export interface ILivechatSendMessageAction {
13
8
  name: 'send-message';
14
9
  params?: {
15
10
  sender: 'queue' | 'custom';
@@ -17,6 +12,23 @@ export interface ILivechatTriggerAction {
17
12
  name: string;
18
13
  };
19
14
  }
15
+ export interface ILivechatUseExternalServiceAction {
16
+ name: 'use-external-service';
17
+ params?: {
18
+ sender: 'queue' | 'custom';
19
+ name: string;
20
+ serviceUrl: string;
21
+ serviceTimeout: number;
22
+ serviceFallbackMessage: string;
23
+ };
24
+ }
25
+ export declare const isExternalServiceTrigger: (trigger: ILivechatTrigger) => trigger is ILivechatTrigger & {
26
+ actions: ILivechatUseExternalServiceAction[];
27
+ };
28
+ export declare const isSendMessageTrigger: (trigger: ILivechatTrigger) => trigger is ILivechatTrigger & {
29
+ actions: ILivechatSendMessageAction[];
30
+ };
31
+ export type ILivechatTriggerAction = ILivechatSendMessageAction | ILivechatUseExternalServiceAction;
20
32
  export interface ILivechatTrigger extends IRocketChatRecord {
21
33
  name: string;
22
34
  description: string;
@@ -25,3 +37,13 @@ export interface ILivechatTrigger extends IRocketChatRecord {
25
37
  conditions: ILivechatTriggerCondition[];
26
38
  actions: ILivechatTriggerAction[];
27
39
  }
40
+ export interface ILivechatTriggerActionResponse {
41
+ _id: string;
42
+ response: {
43
+ statusCode: number;
44
+ contents: {
45
+ msg: string;
46
+ order: number;
47
+ }[];
48
+ };
49
+ }
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ILivechatTriggerType = void 0;
4
- var ILivechatTriggerType;
5
- (function (ILivechatTriggerType) {
6
- ILivechatTriggerType["TIME_ON_SITE"] = "time-on-site";
7
- ILivechatTriggerType["PAGE_URL"] = "page-url";
8
- ILivechatTriggerType["CHAT_OPENED_BY_VISITOR"] = "chat-opened-by-visitor";
9
- ILivechatTriggerType["AFTER_GUEST_REGISTRATION"] = "after-guest-registration";
10
- })(ILivechatTriggerType || (exports.ILivechatTriggerType = ILivechatTriggerType = {}));
3
+ exports.isSendMessageTrigger = exports.isExternalServiceTrigger = void 0;
4
+ const isExternalServiceTrigger = (trigger) => {
5
+ return trigger.actions.every((action) => action.name === 'use-external-service');
6
+ };
7
+ exports.isExternalServiceTrigger = isExternalServiceTrigger;
8
+ const isSendMessageTrigger = (trigger) => {
9
+ return trigger.actions.every((action) => action.name === 'send-message');
10
+ };
11
+ exports.isSendMessageTrigger = isSendMessageTrigger;
11
12
  //# sourceMappingURL=ILivechatTrigger.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ILivechatTrigger.js","sourceRoot":"","sources":["../src/ILivechatTrigger.ts"],"names":[],"mappings":";;;AAEA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC/B,qDAA6B,CAAA;IAC7B,6CAAqB,CAAA;IACrB,yEAAiD,CAAA;IACjD,6EAAqD,CAAA;AACtD,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B"}
1
+ {"version":3,"file":"ILivechatTrigger.js","sourceRoot":"","sources":["../src/ILivechatTrigger.ts"],"names":[],"mappings":";;;AA6BO,MAAM,wBAAwB,GAAG,CACvC,OAAyB,EACwD,EAAE;IACnF,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAsB,CAAC,CAAC;AAClF,CAAC,CAAC;AAJW,QAAA,wBAAwB,4BAInC;AAEK,MAAM,oBAAoB,GAAG,CACnC,OAAyB,EACiD,EAAE;IAC5E,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,cAAc,CAAC,CAAC;AAC1E,CAAC,CAAC;AAJW,QAAA,oBAAoB,wBAI/B"}
@@ -0,0 +1,20 @@
1
+ export interface IMatrixFederationStatistics {
2
+ enabled: boolean;
3
+ maximumSizeOfPublicRoomsUsers: number;
4
+ biggestRoom: {
5
+ _id: string;
6
+ name: string;
7
+ usersCount: number;
8
+ } | null;
9
+ smallestRoom: {
10
+ _id: string;
11
+ name: string;
12
+ usersCount: number;
13
+ } | null;
14
+ amountOfExternalUsers: number;
15
+ amountOfFederatedRooms: number;
16
+ externalConnectedServers: {
17
+ quantity: number;
18
+ servers: string[];
19
+ };
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IMatrixFederationStatistics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMatrixFederationStatistics.js","sourceRoot":"","sources":["../src/IMatrixFederationStatistics.ts"],"names":[],"mappings":""}
@@ -47,6 +47,8 @@ export type MessageMention = {
47
47
  username?: string;
48
48
  fname?: string;
49
49
  };
50
+ export interface IMessageCustomFields {
51
+ }
50
52
  export interface IMessage extends IRocketChatRecord {
51
53
  rid: RoomID;
52
54
  msg: string;
@@ -128,6 +130,7 @@ export interface IMessage extends IRocketChatRecord {
128
130
  definedBy: Pick<IUser, '_id' | 'username'>;
129
131
  priority?: Pick<ILivechatPriority, 'name' | 'i18n'>;
130
132
  };
133
+ customFields?: IMessageCustomFields;
131
134
  }
132
135
  export type MessageSystem = {
133
136
  t: 'system';
@@ -1 +1 @@
1
- {"version":3,"file":"IMessage.js","sourceRoot":"","sources":["../../src/IMessage/IMessage.ts"],"names":[],"mappings":";;;AAwOO,MAAM,eAAe,GAAG,CAAC,OAAiB,EAA6B,EAAE,CAC/E,UAAU,IAAI,OAAO;IACpB,OAAkC,CAAC,QAAQ,YAAY,IAAI;IAC5D,UAAU,IAAI,OAAO;IACrB,OAAQ,OAAkC,CAAC,QAAQ,KAAK,QAAQ;IAC/D,OAAkC,CAAC,QAAQ,KAAK,IAAI;IACrD,KAAK,IAAK,OAA0B,CAAC,QAAQ;IAC7C,OAAQ,OAA0B,CAAC,QAAQ,CAAC,GAAG,KAAK,QAAQ,CAAC;AAPjD,Q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C1F,MAAM,YAAY,GAAG,CAAC,OAAiB,EAA0B,EAAE,CAAC,OAAO,CAAC,CAAC,KAAK,KAAK,CAAC;AAAlF,QAAA,YAAY,gBAAsE;AACxF,MAAM,eAAe,GAAG,CAAC,OAAiB,EAA6B,EAAE,CAAC,OAAO,CAAC,CAAC,KAAK,SAAS,CAAC;AAA5F,QAAA,eAAe,mBAA6E;AAClG,MAAM,kBAAkB,GAAG,CAAC,OAAiB,EAAgC,EAAE,CAAC,OAAO,CAAC,CAAC,KAAK,WAAW,CAAC;AAApG,QAAA,kBAAkB,sBAAkF"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isQuoteAttachment = void 0;
4
- const isQuoteAttachment = (attachment) => 'message_link' in attachment;
4
+ const isQuoteAttachment = (attachment) => 'message_link' in attachment && attachment.message_link !== undefined;
5
5
  exports.isQuoteAttachment = isQuoteAttachment;
6
6
  //# sourceMappingURL=MessageQuoteAttachment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageQuoteAttachment.js","sourceRoot":"","sources":["../../../src/IMessage/MessageAttachment/MessageQuoteAttachment.ts"],"names":[],"mappings":";;;AAeO,MAAM,iBAAiB,GAAG,CAAC,UAA6B,EAAwC,EAAE,CAAC,cAAc,IAAI,UAAU,CAAC;AAA1H,QAAA,iBAAiB,qBAAyG"}
1
+ {"version":3,"file":"MessageQuoteAttachment.js","sourceRoot":"","sources":["../../../src/IMessage/MessageAttachment/MessageQuoteAttachment.ts"],"names":[],"mappings":";;;AAeO,MAAM,iBAAiB,GAAG,CAAC,UAA6B,EAAwC,EAAE,CACxG,cAAc,IAAI,UAAU,IAAI,UAAU,CAAC,YAAY,KAAK,SAAS,CAAC;AAD1D,QAAA,iBAAiB,qBACyC"}
@@ -50,4 +50,5 @@ export interface IRocketChatAssets {
50
50
  tile_310_square: IRocketChatAsset;
51
51
  tile_310_wide: IRocketChatAsset;
52
52
  safari_pinned: IRocketChatAsset;
53
+ livechat_widget_logo: IRocketChatAsset;
53
54
  }
package/dist/IStats.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
3
  import type { CpuInfo } from 'os';
4
+ import type { IMatrixFederationStatistics } from './IMatrixFederationStatistics';
4
5
  import type { DeviceSessionAggregationResult, OSSessionAggregationResult, UserSessionAggregationResult } from './ISession';
5
6
  import type { ISettingStatisticsObject } from './ISetting';
6
7
  import type { ITeamStats } from './ITeam';
@@ -46,6 +47,8 @@ export interface IStats {
46
47
  totalLivechatAgents: number;
47
48
  totalLivechatManagers: number;
48
49
  totalCustomFields: number;
50
+ totalLivechatPublicCustomFields: number;
51
+ livechatAutomaticForwardingUnansweredChats: boolean;
49
52
  livechatEnabled: boolean;
50
53
  isDepartmentRemovalEnabled: boolean;
51
54
  totalChannelMessages: number;
@@ -163,6 +166,11 @@ export interface IStats {
163
166
  priorities?: number;
164
167
  slas?: number;
165
168
  businessUnits?: number;
169
+ omnichannelPdfTranscriptRequested?: number;
170
+ omnichannelPdfTranscriptSucceeded?: number;
171
+ omnichannelRoomsWithSlas?: number;
172
+ omnichannelRoomsWithPriorities?: number;
173
+ livechatMonitors?: number;
166
174
  };
167
175
  createdAt: Date | string;
168
176
  totalOTR: number;
@@ -224,11 +232,10 @@ export interface IStats {
224
232
  totalWebRTCCalls: number;
225
233
  uncaughtExceptionsCount: number;
226
234
  push: number;
235
+ pushSecured: boolean;
227
236
  dailyPeakConnections: number;
228
237
  maxMonthlyPeakConnections: number;
229
- matrixFederation: {
230
- enabled: boolean;
231
- };
238
+ matrixFederation: IMatrixFederationStatistics;
232
239
  webRTCEnabled: boolean;
233
240
  webRTCEnabledForOmnichannel: boolean;
234
241
  omnichannelWebRTCCalls: number;
package/dist/IUser.d.ts CHANGED
@@ -199,4 +199,5 @@ export type AvatarServiceObject = {
199
199
  url: string;
200
200
  };
201
201
  export type AvatarObject = AvatarReset | AvatarUrlObj | FormData | AvatarServiceObject;
202
+ export type IAdminUserTabs = 'all' | 'active' | 'deactivated' | 'pending';
202
203
  export {};
@@ -9,4 +9,5 @@ export type IWorkspaceInfo = {
9
9
  mobile: string;
10
10
  };
11
11
  version: string;
12
+ cloudWorkspaceId?: string;
12
13
  };
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export * from './UserStatus';
17
17
  export * from './IUserAction';
18
18
  export * from './IBanner';
19
19
  export * from './IStats';
20
+ export * from './IMatrixFederationStatistics';
20
21
  export * from './IServerInfo';
21
22
  export * from './IWorkspaceInfo';
22
23
  export * from './IInstanceStatus';
package/dist/index.js CHANGED
@@ -46,6 +46,7 @@ __exportStar(require("./UserStatus"), exports);
46
46
  __exportStar(require("./IUserAction"), exports);
47
47
  __exportStar(require("./IBanner"), exports);
48
48
  __exportStar(require("./IStats"), exports);
49
+ __exportStar(require("./IMatrixFederationStatistics"), exports);
49
50
  __exportStar(require("./IServerInfo"), exports);
50
51
  __exportStar(require("./IWorkspaceInfo"), exports);
51
52
  __exportStar(require("./IInstanceStatus"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B;AAC/B,gDAA8B;AAC9B,oDAAkC;AAClC,0CAAwB;AACxB,6CAA2B;AAC3B,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,kDAAgC;AAChC,0CAAwB;AACxB,6CAA2B;AAC3B,4CAA0B;AAC1B,sDAAoC;AACpC,+CAA6B;AAC7B,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,0CAAwB;AACxB,0CAAwB;AACxB,iDAA+B;AAC/B,wDAAsC;AACtC,iDAA+B;AAC/B,2C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;AAC7C,sDAAoC;AACpC,oDAAkC;AAClC,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,sDAAoC;AACpC,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAE1B,uCAAuC;AAEvC,yCAAuB;AACvB,kCAAkC;AAElC,6DAA2C;AAC3C,4DAA0C;AAE1C,iDAA+B;AAC/B,8CAA4B;AAC5B,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,yDAAuC;AACvC,iDAA+B;AAC/B,2DAAyC;AACzC,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,mDAAiC;AACjC,8DAA4C;AAC5C,+DAA6C;AAC7C,2DAAyC;AACzC,wDAAsC;AACtC,sDAAoC;AACpC,4DAA0C;AAC1C,mDAAiC;AACjC,yCAAuB;AACvB,8CAA4B;AAC5B,yDAAuC;AACvC,sDAAoC;AACpC,kEAAgD;AAChD,kEAAgD;AAChD,6CAA2B;AAC3B,sDAAoC;AACpC,0CAAwB;AACxB,uEAAqD;AAErD,mDAAiC;AACjC,qDAAmC;AACnC,gEAA8C;AAC9C,2DAAyC;AAEzC,kDAAgC;AAChC,mDAAiC;AAEjC,2CAAyB;AACzB,gDAA8B;AAC9B,+CAA6B;AAC7B,yDAAuC;AACvC,qDAAmC;AAEnC,wDAAsC;AACtC,uDAAqC;AAErC,sDAAoC;AACpC,wDAAsC;AAEtC,iDAAiC"}
@@ -1 +1 @@
1
- export type LicenseModule = 'auditing' | 'canned-responses' | 'ldap-enterprise' | 'livechat-enterprise' | 'voip-enterprise' | 'omnichannel-mobile-enterprise' | 'engagement-dashboard' | 'push-privacy' | 'scalability' | 'teams-mention' | 'saml-enterprise' | 'oauth-enterprise' | 'device-management' | 'federation' | 'videoconference-enterprise' | 'message-read-receipt' | 'outlook-calendar' | 'hide-watermark' | 'custom-roles' | 'accessibility-certification';
1
+ export type LicenseModule = 'auditing' | 'canned-responses' | 'ldap-enterprise' | 'livechat-enterprise' | 'voip-enterprise' | 'omnichannel-mobile-enterprise' | 'engagement-dashboard' | 'push-privacy' | 'scalability' | 'teams-mention' | 'saml-enterprise' | 'oauth-enterprise' | 'device-management' | 'federation' | 'videoconference-enterprise' | 'message-read-receipt' | 'outlook-calendar' | 'hide-watermark' | 'custom-roles' | 'accessibility-certification' | 'unlimited-presence';
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@rocket.chat/core-typings",
4
- "version": "6.6.0-rc.6",
4
+ "version": "6.9.0-rc.1",
5
5
  "devDependencies": {
6
- "@rocket.chat/eslint-config": "^0.6.1-rc.0",
6
+ "@rocket.chat/eslint-config": "^0.7.0",
7
7
  "eslint": "~8.45.0",
8
8
  "mongodb": "^4.17.2",
9
9
  "prettier": "~2.8.8",
10
- "typescript": "~5.3.2"
10
+ "typescript": "~5.3.3"
11
11
  },
12
12
  "scripts": {
13
13
  "lint": "eslint --ext .js,.jsx,.ts,.tsx .",
@@ -22,10 +22,10 @@
22
22
  "/dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@rocket.chat/apps-engine": "1.41.0",
26
- "@rocket.chat/icons": "^0.33.0",
27
- "@rocket.chat/message-parser": "~0.31.28",
28
- "@rocket.chat/ui-kit": "~0.33.0-rc.0"
25
+ "@rocket.chat/apps-engine": "1.42.2",
26
+ "@rocket.chat/icons": "^0.36.0",
27
+ "@rocket.chat/message-parser": "^0.31.29",
28
+ "@rocket.chat/ui-kit": "~0.34.0-rc.0"
29
29
  },
30
30
  "volta": {
31
31
  "extends": "../../package.json"