@rocket.chat/rest-typings 6.13.0 → 7.0.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/apps/index.d.ts +0 -2
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/v1/banners.d.ts +0 -1
- package/dist/v1/banners.d.ts.map +1 -1
- package/dist/v1/banners.js +4 -13
- package/dist/v1/banners.js.map +1 -1
- package/dist/v1/channels/ChannelsFilesListProps.d.ts +14 -0
- package/dist/v1/channels/ChannelsFilesListProps.d.ts.map +1 -0
- package/dist/v1/channels/ChannelsFilesListProps.js +46 -0
- package/dist/v1/channels/ChannelsFilesListProps.js.map +1 -0
- package/dist/v1/channels/ChannelsListProps.d.ts +5 -2
- package/dist/v1/channels/ChannelsListProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsListProps.js +15 -1
- package/dist/v1/channels/ChannelsListProps.js.map +1 -1
- package/dist/v1/channels/ChannelsOnlineProps.d.ts +1 -0
- package/dist/v1/channels/ChannelsOnlineProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsOnlineProps.js +4 -0
- package/dist/v1/channels/ChannelsOnlineProps.js.map +1 -1
- package/dist/v1/channels/channels.d.ts +6 -12
- package/dist/v1/channels/channels.d.ts.map +1 -1
- package/dist/v1/channels/channels.js +3 -1
- package/dist/v1/channels/channels.js.map +1 -1
- package/dist/v1/chat.d.ts +2 -1
- package/dist/v1/chat.d.ts.map +1 -1
- package/dist/v1/chat.js +13 -0
- package/dist/v1/chat.js.map +1 -1
- package/dist/v1/cloud.d.ts.map +1 -1
- package/dist/v1/cloud.js +1 -5
- package/dist/v1/cloud.js.map +1 -1
- package/dist/v1/customSounds.d.ts +1 -1
- package/dist/v1/customSounds.d.ts.map +1 -1
- package/dist/v1/customSounds.js +6 -1
- package/dist/v1/customSounds.js.map +1 -1
- package/dist/v1/customUserStatus.d.ts +3 -1
- package/dist/v1/customUserStatus.d.ts.map +1 -1
- package/dist/v1/customUserStatus.js +10 -1
- package/dist/v1/customUserStatus.js.map +1 -1
- package/dist/v1/directory.d.ts +6 -1
- package/dist/v1/directory.d.ts.map +1 -1
- package/dist/v1/directory.js +17 -4
- package/dist/v1/directory.js.map +1 -1
- package/dist/v1/e2e.d.ts +11 -1
- package/dist/v1/e2e.d.ts.map +1 -1
- package/dist/v1/e2e.js +24 -0
- package/dist/v1/e2e.js.map +1 -1
- package/dist/v1/emojiCustom.d.ts +3 -1
- package/dist/v1/emojiCustom.d.ts.map +1 -1
- package/dist/v1/emojiCustom.js +7 -1
- package/dist/v1/emojiCustom.js.map +1 -1
- package/dist/v1/groups/GroupsOnlineProps.d.ts +1 -0
- package/dist/v1/groups/GroupsOnlineProps.d.ts.map +1 -1
- package/dist/v1/groups/GroupsOnlineProps.js +6 -2
- package/dist/v1/groups/GroupsOnlineProps.js.map +1 -1
- package/dist/v1/import/StartImportParamsPOST.d.ts +2 -20
- package/dist/v1/import/StartImportParamsPOST.d.ts.map +1 -1
- package/dist/v1/import/StartImportParamsPOST.js +14 -33
- package/dist/v1/import/StartImportParamsPOST.js.map +1 -1
- package/dist/v1/integrations/IntegrationsListProps.d.ts +8 -0
- package/dist/v1/integrations/IntegrationsListProps.d.ts.map +1 -0
- package/dist/v1/integrations/IntegrationsListProps.js +35 -0
- package/dist/v1/integrations/IntegrationsListProps.js.map +1 -0
- package/dist/v1/integrations/IntegrationsUpdateProps.d.ts +2 -2
- package/dist/v1/integrations/IntegrationsUpdateProps.d.ts.map +1 -1
- package/dist/v1/integrations/index.d.ts +1 -0
- package/dist/v1/integrations/index.d.ts.map +1 -1
- package/dist/v1/integrations/index.js +1 -0
- package/dist/v1/integrations/index.js.map +1 -1
- package/dist/v1/integrations/integrations.d.ts +2 -2
- package/dist/v1/integrations/integrations.d.ts.map +1 -1
- package/dist/v1/licenses.d.ts +1 -13
- package/dist/v1/licenses.d.ts.map +1 -1
- package/dist/v1/misc.d.ts +0 -10
- package/dist/v1/misc.d.ts.map +1 -1
- package/dist/v1/misc.js +0 -11
- package/dist/v1/misc.js.map +1 -1
- package/dist/v1/omnichannel.d.ts +19 -20
- package/dist/v1/omnichannel.d.ts.map +1 -1
- package/dist/v1/omnichannel.js +43 -40
- package/dist/v1/omnichannel.js.map +1 -1
- package/dist/v1/users/UsersInfoParamsGet.d.ts +1 -0
- package/dist/v1/users/UsersInfoParamsGet.d.ts.map +1 -1
- package/dist/v1/users/UsersInfoParamsGet.js +9 -0
- package/dist/v1/users/UsersInfoParamsGet.js.map +1 -1
- package/dist/v1/users/UsersUpdateParamsPOST.d.ts +0 -1
- package/dist/v1/users/UsersUpdateParamsPOST.d.ts.map +1 -1
- package/dist/v1/users/UsersUpdateParamsPOST.js +1 -4
- package/dist/v1/users/UsersUpdateParamsPOST.js.map +1 -1
- package/dist/v1/users.d.ts +1 -1
- package/dist/v1/users.d.ts.map +1 -1
- package/dist/v1/users.js.map +1 -1
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.d.ts +6 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.d.ts.map +1 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.js +19 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.js.map +1 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.d.ts +6 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.d.ts.map +1 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.js +19 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.js.map +1 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.d.ts +5 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.d.ts.map +1 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.js +15 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.js.map +1 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.d.ts +6 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.d.ts.map +1 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.js +20 -0
- package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.js.map +1 -0
- package/dist/v1/voip-freeswitch/index.d.ts +36 -0
- package/dist/v1/voip-freeswitch/index.d.ts.map +1 -0
- package/dist/v1/voip-freeswitch/index.js +5 -0
- package/dist/v1/voip-freeswitch/index.js.map +1 -0
- package/dist/v1/voip.d.ts +0 -5
- package/dist/v1/voip.d.ts.map +1 -1
- package/dist/v1/voip.js +0 -24
- package/dist/v1/voip.js.map +1 -1
- package/package.json +6 -6
- package/CHANGELOG.md +0 -1346
package/dist/v1/cloud.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cloud.d.ts","sourceRoot":"","sources":["../../src/v1/cloud.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOjI,KAAK,mBAAmB,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAaF,eAAO,MAAM,0BAA0B,qDAA8D,CAAC;AAEtG,KAAK,6BAA6B,GAAG;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAgBF,eAAO,MAAM,oCAAoC,+DAAkF,CAAC;AAEpI,KAAK,qBAAqB,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;
|
1
|
+
{"version":3,"file":"cloud.d.ts","sourceRoot":"","sources":["../../src/v1/cloud.ts"],"names":[],"m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EAAE,OAAO,CAAA;SAAE,CAAC;KACjC,CAAC;CACF,CAAC"}
|
package/dist/v1/cloud.js
CHANGED
@@ -32,14 +32,10 @@ const CloudConfirmationPollSchema = {
|
|
32
32
|
properties: {
|
33
33
|
deviceCode: {
|
34
34
|
type: 'string',
|
35
|
-
|
36
|
-
resend: {
|
37
|
-
type: 'string',
|
38
|
-
nullable: true,
|
35
|
+
minLength: 1,
|
39
36
|
},
|
40
37
|
},
|
41
38
|
required: ['deviceCode'],
|
42
|
-
optionalProperties: ['resend'],
|
43
39
|
additionalProperties: false,
|
44
40
|
};
|
45
41
|
export const isCloudConfirmationPollProps = ajv.compile(CloudConfirmationPollSchema);
|
package/dist/v1/cloud.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cloud.js","sourceRoot":"","sources":["../../src/v1/cloud.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAMH,MAAM,yBAAyB,GAAG;IACjC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,SAAS,EAAE;YACV,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,WAAW,CAAC;IACvB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,CAAsB,yBAAyB,CAAC,CAAC;AAOtG,MAAM,mCAAmC,GAAG;IAC3C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,MAAM,EAAE;YACP,IAAI,EAAE,SAAS;SACf;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC7B,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,G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AAG,GAAG,CAAC,OAAO,CAAwB,2BAA2B,CAAC,CAAC"}
|
@@ -2,7 +2,7 @@ import type { ICustomSound } from '@rocket.chat/core-typings';
|
|
2
2
|
import type { PaginatedRequest } from '../helpers/PaginatedRequest';
|
3
3
|
import type { PaginatedResult } from '../helpers/PaginatedResult';
|
4
4
|
type CustomSoundsList = PaginatedRequest<{
|
5
|
-
|
5
|
+
name?: string;
|
6
6
|
}>;
|
7
7
|
export declare const isCustomSoundsListProps: import("ajv").ValidateFunction<CustomSoundsList>;
|
8
8
|
export type CustomSoundEndpoint = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customSounds.d.ts","sourceRoot":"","sources":["../../src/v1/customSounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAMlE,KAAK,gBAAgB,GAAG,gBAAgB,CAAC;IAAE,
|
1
|
+
{"version":3,"file":"customSounds.d.ts","sourceRoot":"","sources":["../../src/v1/customSounds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAMlE,KAAK,gBAAgB,GAAG,gBAAgB,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AA8B5D,eAAO,MAAM,uBAAuB,kDAAwD,CAAC;AAE7F,MAAM,MAAM,mBAAmB,GAAG;IACjC,wBAAwB,EAAE;QACzB,GAAG,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,eAAe,CAAC;YAClD,MAAM,EAAE,YAAY,EAAE,CAAC;SACvB,CAAC,CAAC;KACH,CAAC;CACF,CAAC"}
|
package/dist/v1/customSounds.js
CHANGED
@@ -17,11 +17,16 @@ const CustomSoundsListSchema = {
|
|
17
17
|
type: 'string',
|
18
18
|
nullable: true,
|
19
19
|
},
|
20
|
+
name: {
|
21
|
+
type: 'string',
|
22
|
+
nullable: true,
|
23
|
+
},
|
20
24
|
query: {
|
21
25
|
type: 'string',
|
26
|
+
nullable: true,
|
22
27
|
},
|
23
28
|
},
|
24
|
-
required: [
|
29
|
+
required: [],
|
25
30
|
additionalProperties: false,
|
26
31
|
};
|
27
32
|
export const isCustomSoundsListProps = ajv.compile(CustomSoundsListSchema);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customSounds.js","sourceRoot":"","sources":["../../src/v1/customSounds.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,sBAAsB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,
|
1
|
+
{"version":3,"file":"customSounds.js","sourceRoot":"","sources":["../../src/v1/customSounds.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,sBAAsB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAAmB,sBAAsB,CAAC,CAAC"}
|
@@ -2,7 +2,9 @@ import type { ICustomUserStatus, IUserStatus } from '@rocket.chat/core-typings';
|
|
2
2
|
import type { PaginatedRequest } from '../helpers/PaginatedRequest';
|
3
3
|
import type { PaginatedResult } from '../helpers/PaginatedResult';
|
4
4
|
type CustomUserStatusListProps = PaginatedRequest<{
|
5
|
-
|
5
|
+
name?: string;
|
6
|
+
_id?: string;
|
7
|
+
query?: string;
|
6
8
|
}>;
|
7
9
|
export declare const isCustomUserStatusListProps: import("ajv").ValidateFunction<CustomUserStatusListProps>;
|
8
10
|
export type CustomUserStatusEndpoints = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customUserStatus.d.ts","sourceRoot":"","sources":["../../src/v1/customUserStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGhF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAMlE,KAAK,yBAAyB,GAAG,gBAAgB,CAAC;IAAE,KAAK,EAAE,M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;KACF,CAAC;CACF,CAAC"}
|
@@ -17,11 +17,20 @@ const CustomUserStatusListSchema = {
|
|
17
17
|
type: 'string',
|
18
18
|
nullable: true,
|
19
19
|
},
|
20
|
+
name: {
|
21
|
+
type: 'string',
|
22
|
+
nullable: true,
|
23
|
+
},
|
24
|
+
_id: {
|
25
|
+
type: 'string',
|
26
|
+
nullable: true,
|
27
|
+
},
|
20
28
|
query: {
|
21
29
|
type: 'string',
|
30
|
+
nullable: true,
|
22
31
|
},
|
23
32
|
},
|
24
|
-
required: [
|
33
|
+
required: [],
|
25
34
|
additionalProperties: false,
|
26
35
|
};
|
27
36
|
export const isCustomUserStatusListProps = ajv.compile(CustomUserStatusListSchema);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customUserStatus.js","sourceRoot":"","sources":["../../src/v1/customUserStatus.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,0BAA0B,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,
|
1
|
+
{"version":3,"file":"customUserStatus.js","sourceRoot":"","sources":["../../src/v1/customUserStatus.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,0BAA0B,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC,OAAO,CAA4B,0BAA0B,CAAC,CAAC"}
|
package/dist/v1/directory.d.ts
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
import type { IRoom, IUser, ITeam } from '@rocket.chat/core-typings';
|
2
2
|
import type { PaginatedRequest } from '../helpers/PaginatedRequest';
|
3
3
|
import type { PaginatedResult } from '../helpers/PaginatedResult';
|
4
|
-
type DirectoryProps = PaginatedRequest
|
4
|
+
type DirectoryProps = PaginatedRequest<{
|
5
|
+
text?: string;
|
6
|
+
type?: string;
|
7
|
+
workspace?: string;
|
8
|
+
query?: string;
|
9
|
+
}>;
|
5
10
|
export declare const isDirectoryProps: import("ajv").ValidateFunction<DirectoryProps>;
|
6
11
|
export type DirectoryEndpoint = {
|
7
12
|
'/v1/directory': {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"directory.d.ts","sourceRoot":"","sources":["../../src/v1/directory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAMlE,KAAK,cAAc,GAAG,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"directory.d.ts","sourceRoot":"","sources":["../../src/v1/directory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAMlE,KAAK,cAAc,GAAG,gBAAgB,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAsC7G,eAAO,MAAM,gBAAgB,gDAA+C,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG;IAC/B,eAAe,EAAE;QAChB,GAAG,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,eAAe,CAAC;YAAE,MAAM,EAAE,CAAC,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE,CAAA;SAAE,CAAC,CAAC;KACxF,CAAC;CACF,CAAC"}
|
package/dist/v1/directory.js
CHANGED
@@ -5,10 +5,6 @@ const ajv = new Ajv({
|
|
5
5
|
const DirectorySchema = {
|
6
6
|
type: 'object',
|
7
7
|
properties: {
|
8
|
-
query: {
|
9
|
-
type: 'string',
|
10
|
-
nullable: true,
|
11
|
-
},
|
12
8
|
count: {
|
13
9
|
type: 'number',
|
14
10
|
nullable: true,
|
@@ -21,7 +17,24 @@ const DirectorySchema = {
|
|
21
17
|
type: 'string',
|
22
18
|
nullable: true,
|
23
19
|
},
|
20
|
+
text: {
|
21
|
+
type: 'string',
|
22
|
+
nullable: true,
|
23
|
+
},
|
24
|
+
type: {
|
25
|
+
type: 'string',
|
26
|
+
nullable: true,
|
27
|
+
},
|
28
|
+
workspace: {
|
29
|
+
type: 'string',
|
30
|
+
nullable: true,
|
31
|
+
},
|
32
|
+
query: {
|
33
|
+
type: 'string',
|
34
|
+
nullable: true,
|
35
|
+
},
|
24
36
|
},
|
37
|
+
required: [],
|
25
38
|
additionalProperties: false,
|
26
39
|
};
|
27
40
|
export const isDirectoryProps = ajv.compile(DirectorySchema);
|
package/dist/v1/directory.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../src/v1/directory.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,eAAe,GAAG;IACvB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,
|
1
|
+
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../src/v1/directory.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,eAAe,GAAG;IACvB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,SAAS,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAAiB,eAAe,CAAC,CAAC"}
|
package/dist/v1/e2e.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { IRoom, IUser } from '@rocket.chat/core-typings';
|
1
|
+
import type { IRoom, IUser, ISubscription } from '@rocket.chat/core-typings';
|
2
2
|
type E2eSetUserPublicAndPrivateKeysProps = {
|
3
3
|
public_key: string;
|
4
4
|
private_key: string;
|
@@ -24,6 +24,7 @@ type E2EProvideUsersGroupKeyProps = {
|
|
24
24
|
usersSuggestedGroupKeys: Record<IRoom['_id'], {
|
25
25
|
_id: IUser['_id'];
|
26
26
|
key: string;
|
27
|
+
oldKeys: ISubscription['suggestedOldRoomKeys'];
|
27
28
|
}[]>;
|
28
29
|
};
|
29
30
|
export declare const isE2EProvideUsersGroupKeyProps: import("ajv").ValidateFunction<E2EProvideUsersGroupKeyProps>;
|
@@ -31,6 +32,12 @@ type E2EFetchUsersWaitingForGroupKeyProps = {
|
|
31
32
|
roomIds: string[];
|
32
33
|
};
|
33
34
|
export declare const isE2EFetchUsersWaitingForGroupKeyProps: import("ajv").ValidateFunction<E2EFetchUsersWaitingForGroupKeyProps>;
|
35
|
+
type E2EResetRoomKeyProps = {
|
36
|
+
rid: string;
|
37
|
+
e2eKey: string;
|
38
|
+
e2eKeyId: string;
|
39
|
+
};
|
40
|
+
export declare const isE2EResetRoomKeyProps: import("ajv").ValidateFunction<E2EResetRoomKeyProps>;
|
34
41
|
export type E2eEndpoints = {
|
35
42
|
'/v1/e2e.setUserPublicAndPrivateKeys': {
|
36
43
|
POST: (params: E2eSetUserPublicAndPrivateKeysProps) => void;
|
@@ -69,6 +76,9 @@ export type E2eEndpoints = {
|
|
69
76
|
'/v1/e2e.provideUsersSuggestedGroupKeys': {
|
70
77
|
POST: (params: E2EProvideUsersGroupKeyProps) => void;
|
71
78
|
};
|
79
|
+
'/v1/e2e.resetRoomKey': {
|
80
|
+
POST: (params: E2EResetRoomKeyProps) => void;
|
81
|
+
};
|
72
82
|
};
|
73
83
|
export {};
|
74
84
|
//# sourceMappingURL=e2e.d.ts.map
|
package/dist/v1/e2e.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"e2e.d.ts","sourceRoot":"","sources":["../../src/v1/e2e.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"e2e.d.ts","sourceRoot":"","sources":["../../src/v1/e2e.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAO7E,KAAK,mCAAmC,GAAG;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAgBF,eAAO,MAAM,qCAAqC,qEAAyF,CAAC;AAE5I,KAAK,gCAAgC,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAaxD,eAAO,MAAM,kCAAkC,kEAAmF,CAAC;AAEnI,KAAK,sBAAsB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAmBF,eAAO,MAAM,wBAAwB,wDAA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CAAiC,EAAE;QAClC,IAAI,EAAE,CAAC,MAAM,EAAE,gCAAgC,KAAK,IAAI,CAAC;KACzD,CAAC;IACF,sBAAsB,EAAE;QACvB,IAAI,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;KAC7C,CAAC;IACF,qBAAqB,EAAE;QACtB,GAAG,EAAE,MAAM;YAAE,UAAU,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC;KACvD,CAAC;IACF,sCAAsC,EAAE;QACvC,GAAG,EAAE,CAAC,MAAM,EAAE,oCAAoC,KAAK;YACtD,sBAAsB,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;gBAAE,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;gBAAC,UAAU,EAAE,MAAM,CAAA;aAAE,EAAE,CAAC,CAAC;SAC1F,CAAC;KACF,CAAC;IACF,wCAAwC,EAAE;QACzC,IAAI,EAAE,CAAC,MAAM,EAAE,4BAA4B,KAAK,IAAI,CAAC;KACrD,CAAC;IACF,sBAAsB,EAAE;QACvB,IAAI,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;KAC7C,CAAC;CACF,CAAC"}
|
package/dist/v1/e2e.js
CHANGED
@@ -70,6 +70,13 @@ const E2EProvideUsersGroupKeySchema = {
|
|
70
70
|
properties: {
|
71
71
|
_id: { type: 'string' },
|
72
72
|
key: { type: 'string' },
|
73
|
+
oldKeys: {
|
74
|
+
type: 'array',
|
75
|
+
items: {
|
76
|
+
type: 'object',
|
77
|
+
properties: { e2eKeyId: { type: 'string' }, ts: { type: 'string' }, E2EKey: { type: 'string' } },
|
78
|
+
},
|
79
|
+
},
|
73
80
|
},
|
74
81
|
required: ['_id', 'key'],
|
75
82
|
additionalProperties: false,
|
@@ -95,4 +102,21 @@ const E2EFetchUsersWaitingForGroupKeySchema = {
|
|
95
102
|
additionalProperties: false,
|
96
103
|
};
|
97
104
|
export const isE2EFetchUsersWaitingForGroupKeyProps = ajv.compile(E2EFetchUsersWaitingForGroupKeySchema);
|
105
|
+
const E2EResetRoomKeySchema = {
|
106
|
+
type: 'object',
|
107
|
+
properties: {
|
108
|
+
rid: {
|
109
|
+
type: 'string',
|
110
|
+
},
|
111
|
+
e2eKey: {
|
112
|
+
type: 'string',
|
113
|
+
},
|
114
|
+
e2eKeyId: {
|
115
|
+
type: 'string',
|
116
|
+
},
|
117
|
+
},
|
118
|
+
required: ['rid', 'e2eKey', 'e2eKeyId'],
|
119
|
+
additionalProperties: false,
|
120
|
+
};
|
121
|
+
export const isE2EResetRoomKeyProps = ajv.compile(E2EResetRoomKeySchema);
|
98
122
|
//# sourceMappingURL=e2e.js.map
|
package/dist/v1/e2e.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"e2e.js","sourceRoot":"","sources":["../../src/v1/e2e.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAQH,MAAM,oCAAoC,GAAG;IAC5C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,UAAU,EAAE;YACX,IAAI,EAAE,QAAQ;SACd;QACD,WAAW,EAAE;YACZ,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;IACvC,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAAG,GAAG,CAAC,OAAO,CAAsC,oCAAoC,CAAC,CAAC;AAI5I,MAAM,iCAAiC,GAAG;IACzC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;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E;gBACN,IAAI,EAAE,QAAQ;aACd;SACD;KACD;IACD,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,GAAG,CAAC,OAAO,CAChE,qCAAqC,CACrC,CAAC;AAQF,MAAM,qBAAqB,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;SACd;QACD,QAAQ,EAAE;YACT,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,UAAU,CAAC;IACvC,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAC,OAAO,CAAuB,qBAAqB,CAAC,CAAC"}
|
package/dist/v1/emojiCustom.d.ts
CHANGED
@@ -6,8 +6,10 @@ type emojiCustomDeleteProps = {
|
|
6
6
|
};
|
7
7
|
export declare const isEmojiCustomDelete: import("ajv").ValidateFunction<emojiCustomDeleteProps>;
|
8
8
|
type emojiCustomList = {
|
9
|
-
query
|
9
|
+
query?: string;
|
10
10
|
updatedSince?: string;
|
11
|
+
_updatedAt?: string;
|
12
|
+
_id?: string;
|
11
13
|
};
|
12
14
|
export declare const isEmojiCustomList: import("ajv").ValidateFunction<emojiCustomList>;
|
13
15
|
export type EmojiCustomEndpoints = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"emojiCustom.d.ts","sourceRoot":"","sources":["../../src/v1/emojiCustom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,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CAAC;KACF,CAAC;IACF,yBAAyB,EAAE;QAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;KAC/C,CAAC;IACF,yBAAyB,EAAE;QAC1B,IAAI,EAAE,CAAC,MAAM,EAAE;YAAE,KAAK,EAAE,sBAAsB,CAAA;SAAE,KAAK,IAAI,CAAC;KAC1D,CAAC;IACF,yBAAyB,EAAE;QAC1B,IAAI,EAAE,CAAC,MAAM,EAAE;YAAE,KAAK,EAAE,sBAAsB,CAAA;SAAE,KAAK,IAAI,CAAC;KAC1D,CAAC;CACF,CAAC"}
|
package/dist/v1/emojiCustom.js
CHANGED
@@ -23,8 +23,14 @@ const emojiCustomListSchema = {
|
|
23
23
|
type: 'string',
|
24
24
|
nullable: true,
|
25
25
|
},
|
26
|
+
_updatedAt: {
|
27
|
+
type: 'string',
|
28
|
+
},
|
29
|
+
_id: {
|
30
|
+
type: 'string',
|
31
|
+
},
|
26
32
|
},
|
27
|
-
required: [
|
33
|
+
required: [],
|
28
34
|
additionalProperties: false,
|
29
35
|
};
|
30
36
|
export const isEmojiCustomList = ajv.compile(emojiCustomListSchema);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"emojiCustom.js","sourceRoot":"","sources":["../../src/v1/emojiCustom.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAMH,MAAM,4BAA4B,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAAyB,4BAA4B,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"emojiCustom.js","sourceRoot":"","sources":["../../src/v1/emojiCustom.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAMH,MAAM,4BAA4B,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAAyB,4BAA4B,CAAC,CAAC;AAIrG,MAAM,qBAAqB,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;SACd;QACD,YAAY,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,UAAU,EAAE;YACX,IAAI,EAAE,QAAQ;SACd;QACD,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAAkB,qBAAqB,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"GroupsOnlineProps.d.ts","sourceRoot":"","sources":["../../../src/v1/groups/GroupsOnlineProps.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,iBAAiB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,CAAC;
|
1
|
+
{"version":3,"file":"GroupsOnlineProps.d.ts","sourceRoot":"","sources":["../../../src/v1/groups/GroupsOnlineProps.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,iBAAiB,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAAE,CAAC;AAkB9E,eAAO,MAAM,mBAAmB,mDAA0D,CAAC"}
|
@@ -2,9 +2,13 @@ import Ajv from 'ajv';
|
|
2
2
|
const ajv = new Ajv({
|
3
3
|
coerceTypes: true,
|
4
4
|
});
|
5
|
-
const
|
5
|
+
const groupsOnlinePropsSchema = {
|
6
6
|
type: 'object',
|
7
7
|
properties: {
|
8
|
+
_id: {
|
9
|
+
type: 'string',
|
10
|
+
nullable: true,
|
11
|
+
},
|
8
12
|
query: {
|
9
13
|
type: 'string',
|
10
14
|
nullable: true,
|
@@ -13,5 +17,5 @@ const groupsOnlyPropsSchema = {
|
|
13
17
|
required: [],
|
14
18
|
additionalProperties: false,
|
15
19
|
};
|
16
|
-
export const isGroupsOnlineProps = ajv.compile(
|
20
|
+
export const isGroupsOnlineProps = ajv.compile(groupsOnlinePropsSchema);
|
17
21
|
//# sourceMappingURL=GroupsOnlineProps.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"GroupsOnlineProps.js","sourceRoot":"","sources":["../../../src/v1/groups/GroupsOnlineProps.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"GroupsOnlineProps.js","sourceRoot":"","sources":["../../../src/v1/groups/GroupsOnlineProps.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,uBAAuB,GAAG;IAC/B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAAoB,uBAAuB,CAAC,CAAC"}
|
@@ -1,24 +1,6 @@
|
|
1
|
+
import type { IImporterShortSelection } from '@rocket.chat/core-typings';
|
1
2
|
export type StartImportParamsPOST = {
|
2
|
-
input:
|
3
|
-
users: {
|
4
|
-
user_id: string;
|
5
|
-
username: string;
|
6
|
-
email: string;
|
7
|
-
is_deleted: boolean;
|
8
|
-
is_bot: boolean;
|
9
|
-
do_import: boolean;
|
10
|
-
is_email_taken: boolean;
|
11
|
-
}[];
|
12
|
-
channels: {
|
13
|
-
channel_id: string;
|
14
|
-
name: string;
|
15
|
-
creator?: string;
|
16
|
-
is_archived: boolean;
|
17
|
-
do_import: boolean;
|
18
|
-
is_private: boolean;
|
19
|
-
is_direct: boolean;
|
20
|
-
}[];
|
21
|
-
};
|
3
|
+
input: IImporterShortSelection;
|
22
4
|
};
|
23
5
|
export declare const isStartImportParamsPOST: import("ajv").ValidateFunction<StartImportParamsPOST>;
|
24
6
|
//# sourceMappingURL=StartImportParamsPOST.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StartImportParamsPOST.d.ts","sourceRoot":"","sources":["../../../src/v1/import/StartImportParamsPOST.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"StartImportParamsPOST.d.ts","sourceRoot":"","sources":["../../../src/v1/import/StartImportParamsPOST.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,MAAM,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,uBAAuB,CAAC;CAC/B,CAAC;AA8BF,eAAO,MAAM,uBAAuB,uDAAkE,CAAC"}
|
@@ -2,46 +2,27 @@ import Ajv from 'ajv';
|
|
2
2
|
const ajv = new Ajv({
|
3
3
|
coerceTypes: true,
|
4
4
|
});
|
5
|
+
const RecordListSchema = {
|
6
|
+
type: 'object',
|
7
|
+
properties: {
|
8
|
+
all: { type: 'boolean' },
|
9
|
+
list: {
|
10
|
+
type: 'array',
|
11
|
+
items: { type: 'string' },
|
12
|
+
},
|
13
|
+
},
|
14
|
+
required: [],
|
15
|
+
};
|
5
16
|
const StartImportParamsPostSchema = {
|
6
17
|
type: 'object',
|
7
18
|
properties: {
|
8
19
|
input: {
|
9
20
|
type: 'object',
|
10
21
|
properties: {
|
11
|
-
users:
|
12
|
-
|
13
|
-
items: {
|
14
|
-
type: 'object',
|
15
|
-
properties: {
|
16
|
-
user_id: { type: 'string' },
|
17
|
-
username: { type: 'string' },
|
18
|
-
email: { type: 'string', nullable: true },
|
19
|
-
is_deleted: { type: 'boolean' },
|
20
|
-
is_bot: { type: 'boolean' },
|
21
|
-
do_import: { type: 'boolean' },
|
22
|
-
is_email_taken: { type: 'boolean' },
|
23
|
-
},
|
24
|
-
required: ['user_id', 'username', 'is_deleted', 'is_bot', 'do_import', 'is_email_taken'],
|
25
|
-
},
|
26
|
-
},
|
27
|
-
channels: {
|
28
|
-
type: 'array',
|
29
|
-
items: {
|
30
|
-
type: 'object',
|
31
|
-
properties: {
|
32
|
-
channel_id: { type: 'string' },
|
33
|
-
name: { type: 'string' },
|
34
|
-
creator: { type: 'string' },
|
35
|
-
is_archived: { type: 'boolean' },
|
36
|
-
do_import: { type: 'boolean' },
|
37
|
-
is_private: { type: 'boolean' },
|
38
|
-
is_direct: { type: 'boolean' },
|
39
|
-
},
|
40
|
-
required: ['channel_id', 'name', 'is_archived', 'do_import', 'is_private', 'is_direct'],
|
41
|
-
},
|
42
|
-
},
|
22
|
+
users: RecordListSchema,
|
23
|
+
channels: RecordListSchema,
|
43
24
|
},
|
44
|
-
required: [
|
25
|
+
required: [],
|
45
26
|
},
|
46
27
|
},
|
47
28
|
additionalProperties: false,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StartImportParamsPOST.js","sourceRoot":"","sources":["../../../src/v1/import/StartImportParamsPOST.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"StartImportParamsPOST.js","sourceRoot":"","sources":["../../../src/v1/import/StartImportParamsPOST.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAMH,MAAM,gBAAgB,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,GAAG,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QACxB,IAAI,EAAE;YACL,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SACzB;KACD;IACD,QAAQ,EAAE,EAAE;CACZ,CAAC;AAEF,MAAM,2BAA2B,GAAG;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACX,KAAK,EAAE,gBAAgB;gBACvB,QAAQ,EAAE,gBAAgB;aAC1B;YACD,QAAQ,EAAE,EAAE;SACZ;KACD;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAAwB,2BAA2B,CAAC,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { PaginatedRequest } from '../../helpers/PaginatedRequest';
|
2
|
+
export type IntegrationsListProps = PaginatedRequest<{
|
3
|
+
name?: string;
|
4
|
+
type?: string;
|
5
|
+
query?: string;
|
6
|
+
}>;
|
7
|
+
export declare const isIntegrationsListProps: import("ajv").ValidateFunction<IntegrationsListProps>;
|
8
|
+
//# sourceMappingURL=IntegrationsListProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IntegrationsListProps.d.ts","sourceRoot":"","sources":["../../../src/v1/integrations/IntegrationsListProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIvE,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAkCvG,eAAO,MAAM,uBAAuB,uDAA6D,CAAC"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import Ajv from 'ajv';
|
2
|
+
const ajv = new Ajv();
|
3
|
+
const integrationsListSchema = {
|
4
|
+
type: 'object',
|
5
|
+
properties: {
|
6
|
+
count: {
|
7
|
+
type: ['number', 'string'],
|
8
|
+
nullable: true,
|
9
|
+
},
|
10
|
+
offset: {
|
11
|
+
type: ['number', 'string'],
|
12
|
+
nullable: true,
|
13
|
+
},
|
14
|
+
sort: {
|
15
|
+
type: 'string',
|
16
|
+
nullable: true,
|
17
|
+
},
|
18
|
+
name: {
|
19
|
+
type: 'string',
|
20
|
+
nullable: true,
|
21
|
+
},
|
22
|
+
type: {
|
23
|
+
type: 'string',
|
24
|
+
nullable: true,
|
25
|
+
},
|
26
|
+
query: {
|
27
|
+
type: 'string',
|
28
|
+
nullable: true,
|
29
|
+
},
|
30
|
+
},
|
31
|
+
required: [],
|
32
|
+
additionalProperties: false,
|
33
|
+
};
|
34
|
+
export const isIntegrationsListProps = ajv.compile(integrationsListSchema);
|
35
|
+
//# sourceMappingURL=IntegrationsListProps.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IntegrationsListProps.js","sourceRoot":"","sources":["../../../src/v1/integrations/IntegrationsListProps.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;AAItB,MAAM,sBAAsB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;YAC1B,QAAQ,EAAE,IAAI;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;YAC1B,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,IAAI,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAAwB,sBAAsB,CAAC,CAAC"}
|
@@ -4,7 +4,7 @@ export type IntegrationsUpdateProps = {
|
|
4
4
|
integrationId: string;
|
5
5
|
channel: string;
|
6
6
|
scriptEnabled: boolean;
|
7
|
-
scriptEngine: 'isolated-vm'
|
7
|
+
scriptEngine: 'isolated-vm';
|
8
8
|
overrideDestinationChannelEnabled?: boolean;
|
9
9
|
script?: string;
|
10
10
|
name: string;
|
@@ -25,7 +25,7 @@ export type IntegrationsUpdateProps = {
|
|
25
25
|
triggerWordAnywhere?: boolean;
|
26
26
|
token?: string;
|
27
27
|
scriptEnabled: boolean;
|
28
|
-
scriptEngine: 'isolated-vm'
|
28
|
+
scriptEngine: 'isolated-vm';
|
29
29
|
script?: string;
|
30
30
|
runOnEdits?: boolean;
|
31
31
|
retryFailedCalls?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"IntegrationsUpdateProps.d.ts","sourceRoot":"","sources":["../../../src/v1/integrations/IntegrationsUpdateProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAK1E,MAAM,MAAM,uBAAuB,GAChC;IACA,IAAI,EAAE,kBAAkB,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,aAAa,
|
1
|
+
{"version":3,"file":"IntegrationsUpdateProps.d.ts","sourceRoot":"","sources":["../../../src/v1/integrations/IntegrationsUpdateProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAK1E,MAAM,MAAM,uBAAuB,GAChC;IACA,IAAI,EAAE,kBAAkB,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,aAAa,CAAC;IAC5B,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,GACD;IACA,IAAI,EAAE,kBAAkB,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAEhB,KAAK,EAAE,wBAAwB,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,aAAa,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AA+KL,eAAO,MAAM,yBAAyB,yDAAiE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { IIntegration, IIntegrationHistory } from '@rocket.chat/core-typings';
|
2
|
-
import type { PaginatedRequest } from '../../helpers/PaginatedRequest';
|
3
2
|
import type { PaginatedResult } from '../../helpers/PaginatedResult';
|
4
3
|
import type { IntegrationsCreateProps } from './IntegrationsCreateProps';
|
5
4
|
import type { IntegrationsGetProps } from './IntegrationsGetProps';
|
6
5
|
import type { IntegrationsHistoryProps } from './IntegrationsHistoryProps';
|
6
|
+
import type { IntegrationsListProps } from './IntegrationsListProps';
|
7
7
|
import type { IntegrationsRemoveProps } from './IntegrationsRemoveProps';
|
8
8
|
import type { IntegrationsUpdateProps } from './IntegrationsUpdateProps';
|
9
9
|
export type IntegrationsEndpoints = {
|
@@ -19,7 +19,7 @@ export type IntegrationsEndpoints = {
|
|
19
19
|
}>;
|
20
20
|
};
|
21
21
|
'/v1/integrations.list': {
|
22
|
-
GET: (params:
|
22
|
+
GET: (params: IntegrationsListProps) => PaginatedResult<{
|
23
23
|
integrations: IIntegration[];
|
24
24
|
items: number;
|
25
25
|
}>;
|