@rocket.chat/rest-typings 7.0.0-rc.4 → 7.0.0-rc.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/v1/channels/ChannelsMessagesProps.d.ts +4 -0
- package/dist/v1/channels/ChannelsMessagesProps.d.ts.map +1 -1
- package/dist/v1/channels/ChannelsMessagesProps.js +9 -1
- package/dist/v1/channels/ChannelsMessagesProps.js.map +1 -1
- package/dist/v1/dm/DmMessagesProps.d.ts +4 -0
- package/dist/v1/dm/DmMessagesProps.d.ts.map +1 -1
- package/dist/v1/dm/DmMessagesProps.js +18 -0
- package/dist/v1/dm/DmMessagesProps.js.map +1 -1
- package/dist/v1/groups/GroupsMessagesProps.d.ts +11 -0
- package/dist/v1/groups/GroupsMessagesProps.d.ts.map +1 -0
- package/dist/v1/groups/{GroupsMessageProps.js → GroupsMessagesProps.js} +15 -3
- package/dist/v1/groups/GroupsMessagesProps.js.map +1 -0
- package/dist/v1/groups/groups.d.ts +2 -2
- package/dist/v1/groups/groups.d.ts.map +1 -1
- package/dist/v1/groups/index.d.ts +1 -1
- package/dist/v1/groups/index.d.ts.map +1 -1
- package/dist/v1/groups/index.js +1 -1
- package/dist/v1/groups/index.js.map +1 -1
- package/dist/v1/settings.d.ts +7 -1
- package/dist/v1/settings.d.ts.map +1 -1
- package/dist/v1/settings.js +27 -0
- package/dist/v1/settings.js.map +1 -1
- package/package.json +2 -2
- package/dist/v1/groups/GroupsMessageProps.d.ts +0 -5
- package/dist/v1/groups/GroupsMessageProps.d.ts.map +0 -1
- package/dist/v1/groups/GroupsMessageProps.js.map +0 -1
@@ -2,6 +2,10 @@ import type { IRoom } from '@rocket.chat/core-typings';
|
|
2
2
|
import type { PaginatedRequest } from '../../helpers/PaginatedRequest';
|
3
3
|
export type ChannelsMessagesProps = PaginatedRequest<{
|
4
4
|
roomId: IRoom['_id'];
|
5
|
+
mentionIds?: string;
|
6
|
+
starredIds?: string;
|
7
|
+
pinned?: boolean;
|
8
|
+
query?: Record<string, any>;
|
5
9
|
}, 'ts'>;
|
6
10
|
export declare const isChannelsMessagesProps: import("ajv").ValidateFunction<ChannelsMessagesProps>;
|
7
11
|
//# sourceMappingURL=ChannelsMessagesProps.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ChannelsMessagesProps.d.ts","sourceRoot":"","sources":["../../../src/v1/channels/ChannelsMessagesProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"ChannelsMessagesProps.d.ts","sourceRoot":"","sources":["../../../src/v1/channels/ChannelsMessagesProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIvE,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CACnD;IACC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,EACD,IAAI,CACJ,CAAC;AAsCF,eAAO,MAAM,uBAAuB,uDAAkE,CAAC"}
|
@@ -6,9 +6,17 @@ const channelsMessagesPropsSchema = {
|
|
6
6
|
roomId: {
|
7
7
|
type: 'string',
|
8
8
|
},
|
9
|
+
mentionIds: {
|
10
|
+
type: 'string',
|
11
|
+
},
|
12
|
+
starredIds: {
|
13
|
+
type: 'string',
|
14
|
+
},
|
15
|
+
pinned: {
|
16
|
+
type: 'string',
|
17
|
+
},
|
9
18
|
query: {
|
10
19
|
type: 'string',
|
11
|
-
nullable: true,
|
12
20
|
},
|
13
21
|
count: {
|
14
22
|
type: 'number',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ChannelsMessagesProps.js","sourceRoot":"","sources":["../../../src/v1/channels/ChannelsMessagesProps.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"ChannelsMessagesProps.js","sourceRoot":"","sources":["../../../src/v1/channels/ChannelsMessagesProps.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;AAa3C,MAAM,2BAA2B,GAAG;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;SACd;QACD,UAAU,EAAE;YACX,IAAI,EAAE,QAAQ;SACd;QACD,UAAU,EAAE;YACX,IAAI,EAAE,QAAQ;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;SACd;QACD,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;KACD;IAED,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAAwB,2BAA2B,CAAC,CAAC"}
|
@@ -4,6 +4,10 @@ export type DmMessagesProps = PaginatedRequest<({
|
|
4
4
|
} | {
|
5
5
|
username: string;
|
6
6
|
}) & {
|
7
|
+
query?: string;
|
8
|
+
mentionIds?: string;
|
9
|
+
starredIds?: string;
|
10
|
+
pinned?: string;
|
7
11
|
fields?: string;
|
8
12
|
}>;
|
9
13
|
export declare const isDmMessagesProps: import("ajv").ValidateFunction<DmMessagesProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DmMessagesProps.d.ts","sourceRoot":"","sources":["../../../src/v1/dm/DmMessagesProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIvE,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAC7C,
|
1
|
+
{"version":3,"file":"DmMessagesProps.d.ts","sourceRoot":"","sources":["../../../src/v1/dm/DmMessagesProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIvE,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAC7C,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CACD,CAAC;AAEF,eAAO,MAAM,iBAAiB,iDAuE5B,CAAC"}
|
@@ -8,6 +8,15 @@ export const isDmMessagesProps = ajv.compile({
|
|
8
8
|
roomId: {
|
9
9
|
type: 'string',
|
10
10
|
},
|
11
|
+
mentionIds: {
|
12
|
+
type: 'string',
|
13
|
+
},
|
14
|
+
starredIds: {
|
15
|
+
type: 'string',
|
16
|
+
},
|
17
|
+
pinned: {
|
18
|
+
type: 'string',
|
19
|
+
},
|
11
20
|
fields: {
|
12
21
|
type: 'string',
|
13
22
|
},
|
@@ -33,6 +42,15 @@ export const isDmMessagesProps = ajv.compile({
|
|
33
42
|
username: {
|
34
43
|
type: 'string',
|
35
44
|
},
|
45
|
+
mentionIds: {
|
46
|
+
type: 'string',
|
47
|
+
},
|
48
|
+
starredIds: {
|
49
|
+
type: 'string',
|
50
|
+
},
|
51
|
+
pinned: {
|
52
|
+
type: 'string',
|
53
|
+
},
|
36
54
|
query: {
|
37
55
|
type: 'string',
|
38
56
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DmMessagesProps.js","sourceRoot":"","sources":["../../../src/v1/dm/DmMessagesProps.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"DmMessagesProps.js","sourceRoot":"","sources":["../../../src/v1/dm/DmMessagesProps.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;AAY3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAAkB;IAC7D,KAAK,EAAE;QACN;YACC,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACX,MAAM,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACd;gBACD,UAAU,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACd;gBACD,UAAU,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACd;gBACD,MAAM,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACd;gBACD,MAAM,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACd;gBACD,KAAK,EAAE;oBACN,IAAI,EAAE,QAAQ;iBACd;gBACD,IAAI,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACd;gBACD,KAAK,EAAE;oBACN,IAAI,EAAE,QAAQ;iBACd;gBACD,MAAM,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACd;aACD;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,oBAAoB,EAAE,KAAK;SAC3B;QACD;YACC,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACX,QAAQ,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACd;gBACD,UAAU,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACd;gBACD,UAAU,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACd;gBACD,MAAM,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACd;gBACD,KAAK,EAAE;oBACN,IAAI,EAAE,QAAQ;iBACd;gBACD,MAAM,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACd;gBACD,IAAI,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACd;gBACD,KAAK,EAAE;oBACN,IAAI,EAAE,QAAQ;iBACd;gBACD,MAAM,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACd;aACD;YACD,QAAQ,EAAE,CAAC,UAAU,CAAC;YACtB,oBAAoB,EAAE,KAAK;SAC3B;KACD;CACD,CAAC,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { IRoom } from '@rocket.chat/core-typings';
|
2
|
+
import type { PaginatedRequest } from '../../helpers/PaginatedRequest';
|
3
|
+
export type GroupsMessagesProps = PaginatedRequest<{
|
4
|
+
roomId: IRoom['_id'];
|
5
|
+
mentionIds?: string;
|
6
|
+
starredIds?: string;
|
7
|
+
pinned?: boolean;
|
8
|
+
query?: Record<string, any>;
|
9
|
+
}>;
|
10
|
+
export declare const isGroupsMessagesProps: import("ajv").ValidateFunction<GroupsMessagesProps>;
|
11
|
+
//# sourceMappingURL=GroupsMessagesProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"GroupsMessagesProps.d.ts","sourceRoot":"","sources":["../../../src/v1/groups/GroupsMessagesProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAOvE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;IAClD,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC,CAAC;AAiCH,eAAO,MAAM,qBAAqB,qDAA8D,CAAC"}
|
@@ -3,7 +3,19 @@ import { withGroupBaseProperties } from './BaseProps';
|
|
3
3
|
const ajv = new Ajv({
|
4
4
|
coerceTypes: true,
|
5
5
|
});
|
6
|
-
const
|
6
|
+
const GroupsMessagesPropsSchema = withGroupBaseProperties({
|
7
|
+
roomId: {
|
8
|
+
type: 'string',
|
9
|
+
},
|
10
|
+
mentionIds: {
|
11
|
+
type: 'string',
|
12
|
+
},
|
13
|
+
starredIds: {
|
14
|
+
type: 'string',
|
15
|
+
},
|
16
|
+
pinned: {
|
17
|
+
type: 'string',
|
18
|
+
},
|
7
19
|
count: {
|
8
20
|
type: 'number',
|
9
21
|
nullable: true,
|
@@ -21,5 +33,5 @@ const GroupsMessagePropsSchema = withGroupBaseProperties({
|
|
21
33
|
nullable: true,
|
22
34
|
},
|
23
35
|
});
|
24
|
-
export const
|
25
|
-
//# sourceMappingURL=
|
36
|
+
export const isGroupsMessagesProps = ajv.compile(GroupsMessagesPropsSchema);
|
37
|
+
//# sourceMappingURL=GroupsMessagesProps.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"GroupsMessagesProps.js","sourceRoot":"","sources":["../../../src/v1/groups/GroupsMessagesProps.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAUH,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;IACzD,MAAM,EAAE;QACP,IAAI,EAAE,QAAQ;KACd;IACD,UAAU,EAAE;QACX,IAAI,EAAE,QAAQ;KACd;IACD,UAAU,EAAE;QACX,IAAI,EAAE,QAAQ;KACd;IACD,MAAM,EAAE;QACP,IAAI,EAAE,QAAQ;KACd;IACD,KAAK,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;IACD,MAAM,EAAE;QACP,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;IACD,IAAI,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;IACD,KAAK,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC,OAAO,CAAsB,yBAAyB,CAAC,CAAC"}
|
@@ -19,7 +19,7 @@ import type { GroupsKickProps } from './GroupsKickProps';
|
|
19
19
|
import type { GroupsLeaveProps } from './GroupsLeaveProps';
|
20
20
|
import type { GroupsListProps } from './GroupsListProps';
|
21
21
|
import type { GroupsMembersProps } from './GroupsMembersProps';
|
22
|
-
import type {
|
22
|
+
import type { GroupsMessagesProps } from './GroupsMessagesProps';
|
23
23
|
import type { GroupsModeratorsProps } from './GroupsModeratorsProps';
|
24
24
|
import type { GroupsOnlineProps } from './GroupsOnlineProps';
|
25
25
|
import type { GroupsOpenProps } from './GroupsOpenProps';
|
@@ -101,7 +101,7 @@ export type GroupsEndpoints = {
|
|
101
101
|
};
|
102
102
|
};
|
103
103
|
'/v1/groups.messages': {
|
104
|
-
GET: (params:
|
104
|
+
GET: (params: GroupsMessagesProps) => PaginatedResult<{
|
105
105
|
messages: IMessage[];
|
106
106
|
}>;
|
107
107
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../src/v1/groups/groups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE5I,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,O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AK;YACtC,KAAK,EAAE,MAAM,CAAC;SACd,CAAC;KACF,CAAC;IACF,oBAAoB,EAAE;QACrB,IAAI,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK;YACrC,KAAK,EAAE,KAAK,CAAC;SACb,CAAC;KACF,CAAC;IACF,4BAA4B,EAAE;QAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,0BAA0B,KAAK;YAC7C,YAAY,EAAE,MAAM,CAAC;SACrB,CAAC;KACF,CAAC;IACF,uBAAuB,EAAE;QACxB,GAAG,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK;YAAE,UAAU,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,CAAA;SAAE,CAAC;KAC7E,CAAC;IACF,yBAAyB,EAAE;QAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK;YAC1C,KAAK,EAAE,KAAK,CAAC;SACb,CAAC;KACF,CAAC;CACF,CAAC"}
|
@@ -9,7 +9,7 @@ export * from './GroupsFilesProps';
|
|
9
9
|
export * from './GroupsKickProps';
|
10
10
|
export * from './GroupsLeaveProps';
|
11
11
|
export * from './GroupsMembersProps';
|
12
|
-
export * from './
|
12
|
+
export * from './GroupsMessagesProps';
|
13
13
|
export * from './GroupsRolesProps';
|
14
14
|
export * from './GroupsUnarchiveProps';
|
15
15
|
export * from './GroupsAddAllProps';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AAEzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AAEzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC"}
|
package/dist/v1/groups/index.js
CHANGED
@@ -9,7 +9,7 @@ export * from './GroupsFilesProps';
|
|
9
9
|
export * from './GroupsKickProps';
|
10
10
|
export * from './GroupsLeaveProps';
|
11
11
|
export * from './GroupsMembersProps';
|
12
|
-
export * from './
|
12
|
+
export * from './GroupsMessagesProps';
|
13
13
|
export * from './GroupsRolesProps';
|
14
14
|
export * from './GroupsUnarchiveProps';
|
15
15
|
export * from './GroupsAddAllProps';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AAEzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/groups/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AAEzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC"}
|
package/dist/v1/settings.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { ISetting, ISettingColor, LoginServiceConfiguration } from '@rocket.chat/core-typings';
|
2
|
+
import type { PaginatedRequest } from '../helpers/PaginatedRequest';
|
2
3
|
import type { PaginatedResult } from '../helpers/PaginatedResult';
|
3
4
|
type SettingsUpdateProps = SettingsUpdatePropDefault | SettingsUpdatePropsActions | SettingsUpdatePropsColor;
|
4
5
|
type SettingsUpdatePropsActions = {
|
@@ -14,9 +15,14 @@ type SettingsUpdatePropDefault = {
|
|
14
15
|
value: ISetting['value'];
|
15
16
|
};
|
16
17
|
export declare const isSettingsUpdatePropDefault: (props: Partial<SettingsUpdateProps>) => props is SettingsUpdatePropDefault;
|
18
|
+
type SettingsPublicWithPaginationProps = PaginatedRequest<{
|
19
|
+
_id?: string;
|
20
|
+
query?: string;
|
21
|
+
}>;
|
22
|
+
export declare const isSettingsPublicWithPaginationProps: import("ajv").ValidateFunction<SettingsPublicWithPaginationProps>;
|
17
23
|
export type SettingsEndpoints = {
|
18
24
|
'/v1/settings.public': {
|
19
|
-
GET: () => PaginatedResult & {
|
25
|
+
GET: (params: SettingsPublicWithPaginationProps) => PaginatedResult & {
|
20
26
|
settings: Array<ISetting>;
|
21
27
|
};
|
22
28
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/v1/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAEpG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/v1/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAEpG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGlE,KAAK,mBAAmB,GAAG,yBAAyB,GAAG,0BAA0B,GAAG,wBAAwB,CAAC;AAE7G,KAAK,0BAA0B,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAAW,OAAO,CAAC,mBAAmB,CAAC,KAAG,KAAK,IAAI,0BACzE,CAAC;AAEpB,KAAK,wBAAwB,GAAG;IAC/B,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAAW,OAAO,CAAC,mBAAmB,CAAC,KAAG,KAAK,IAAI,wBACpD,CAAC;AAEvC,KAAK,yBAAyB,GAAG;IAChC,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAAW,OAAO,CAAC,mBAAmB,CAAC,KAAG,KAAK,IAAI,yBAA6C,CAAC;AAEzI,KAAK,iCAAiC,GAAG,gBAAgB,CAAC;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AA4B5F,eAAO,MAAM,mCAAmC,mEAAqF,CAAC;AAEtI,MAAM,MAAM,iBAAiB,GAAG;IAC/B,qBAAqB,EAAE;QACtB,GAAG,EAAE,CAAC,MAAM,EAAE,iCAAiC,KAAK,eAAe,GAAG;YACrE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;SAC1B,CAAC;KACF,CAAC;IAEF,oBAAoB,EAAE;QACrB,GAAG,EAAE,MAAM;YACV,QAAQ,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAAE,CAAC;SAC/C,CAAC;KACF,CAAC;IAEF,6BAA6B,EAAE;QAC9B,IAAI,EAAE,CAAC,MAAM,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAC;KACzC,CAAC;IAEF,cAAc,EAAE;QACf,GAAG,EAAE,MAAM;YACV,QAAQ,EAAE,QAAQ,EAAE,CAAC;SACrB,CAAC;KACF,CAAC;IAEF,mBAAmB,EAAE;QACpB,GAAG,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;QAC3C,IAAI,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;KAC5C,CAAC;IAEF,4BAA4B,EAAE;QAC7B,GAAG,EAAE,MAAM;YACV,cAAc,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;SACjD,CAAC;KACF,CAAC;CACF,CAAC"}
|
package/dist/v1/settings.js
CHANGED
@@ -1,4 +1,31 @@
|
|
1
|
+
import { ajv } from './Ajv';
|
1
2
|
export const isSettingsUpdatePropsActions = (props) => 'execute' in props;
|
2
3
|
export const isSettingsUpdatePropsColor = (props) => 'editor' in props && 'value' in props;
|
3
4
|
export const isSettingsUpdatePropDefault = (props) => 'value' in props;
|
5
|
+
const SettingsPublicWithPaginationSchema = {
|
6
|
+
type: 'object',
|
7
|
+
properties: {
|
8
|
+
count: {
|
9
|
+
type: 'number',
|
10
|
+
nullable: true,
|
11
|
+
},
|
12
|
+
offset: {
|
13
|
+
type: 'number',
|
14
|
+
nullable: true,
|
15
|
+
},
|
16
|
+
sort: {
|
17
|
+
type: 'string',
|
18
|
+
nullable: true,
|
19
|
+
},
|
20
|
+
_id: {
|
21
|
+
type: 'string',
|
22
|
+
},
|
23
|
+
query: {
|
24
|
+
type: 'string',
|
25
|
+
},
|
26
|
+
},
|
27
|
+
required: [],
|
28
|
+
additionalProperties: false,
|
29
|
+
};
|
30
|
+
export const isSettingsPublicWithPaginationProps = ajv.compile(SettingsPublicWithPaginationSchema);
|
4
31
|
//# sourceMappingURL=settings.js.map
|
package/dist/v1/settings.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/v1/settings.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/v1/settings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAQ5B,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,KAAmC,EAAuC,EAAE,CACxH,SAAS,IAAI,KAAK,CAAC;AAOpB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAmC,EAAqC,EAAE,CACpH,QAAQ,IAAI,KAAK,IAAI,OAAO,IAAI,KAAK,CAAC;AAMvC,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,KAAmC,EAAsC,EAAE,CAAC,OAAO,IAAI,KAAK,CAAC;AAIzI,MAAM,kCAAkC,GAAG;IAC1C,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,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;SACd;QACD,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG,GAAG,CAAC,OAAO,CAAoC,kCAAkC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rocket.chat/rest-typings",
|
3
|
-
"version": "7.0.0-rc.
|
3
|
+
"version": "7.0.0-rc.5",
|
4
4
|
"devDependencies": {
|
5
5
|
"@rocket.chat/apps-engine": "^1.47.0-rc.0",
|
6
6
|
"@rocket.chat/eslint-config": "~0.7.0",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"/dist"
|
25
25
|
],
|
26
26
|
"dependencies": {
|
27
|
-
"@rocket.chat/core-typings": "^7.0.0-rc.
|
27
|
+
"@rocket.chat/core-typings": "^7.0.0-rc.5",
|
28
28
|
"@rocket.chat/message-parser": "^0.31.31",
|
29
29
|
"@rocket.chat/ui-kit": "~0.37.0-rc.0",
|
30
30
|
"ajv": "^8.11.0",
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import type { PaginatedRequest } from '../../helpers/PaginatedRequest';
|
2
|
-
import type { GroupsBaseProps } from './BaseProps';
|
3
|
-
export type GroupsMessageProps = PaginatedRequest<GroupsBaseProps>;
|
4
|
-
export declare const isGroupsMessageProps: import("ajv").ValidateFunction<GroupsMessageProps>;
|
5
|
-
//# sourceMappingURL=GroupsMessageProps.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"GroupsMessageProps.d.ts","sourceRoot":"","sources":["../../../src/v1/groups/GroupsMessageProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAOnD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAqBnE,eAAO,MAAM,oBAAoB,oDAA4D,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"GroupsMessageProps.js","sourceRoot":"","sources":["../../../src/v1/groups/GroupsMessageProps.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,wBAAwB,GAAG,uBAAuB,CAAC;IACxD,KAAK,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;IACD,MAAM,EAAE;QACP,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;IACD,IAAI,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;IACD,KAAK,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAAqB,wBAAwB,CAAC,CAAC"}
|