@rocket.chat/rest-typings 7.13.2 → 8.0.0-rc.0

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 (69) hide show
  1. package/dist/apps/index.d.ts +0 -32
  2. package/dist/apps/index.d.ts.map +1 -1
  3. package/dist/default/index.d.ts +1 -4
  4. package/dist/default/index.d.ts.map +1 -1
  5. package/dist/index.d.ts +1 -5
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +0 -2
  8. package/dist/index.js.map +1 -1
  9. package/dist/v1/banners.d.ts +0 -10
  10. package/dist/v1/banners.d.ts.map +1 -1
  11. package/dist/v1/banners.js +0 -15
  12. package/dist/v1/banners.js.map +1 -1
  13. package/dist/v1/chat.d.ts +1 -9
  14. package/dist/v1/chat.d.ts.map +1 -1
  15. package/dist/v1/chat.js +0 -16
  16. package/dist/v1/chat.js.map +1 -1
  17. package/dist/v1/dm/im.d.ts +4 -2
  18. package/dist/v1/dm/im.d.ts.map +1 -1
  19. package/dist/v1/me.d.ts +1 -1
  20. package/dist/v1/me.d.ts.map +1 -1
  21. package/dist/v1/misc.d.ts +0 -9
  22. package/dist/v1/misc.d.ts.map +1 -1
  23. package/dist/v1/omnichannel.d.ts +95 -42
  24. package/dist/v1/omnichannel.d.ts.map +1 -1
  25. package/dist/v1/omnichannel.js +238 -37
  26. package/dist/v1/omnichannel.js.map +1 -1
  27. package/dist/v1/roles.d.ts +2 -4
  28. package/dist/v1/roles.d.ts.map +1 -1
  29. package/dist/v1/roles.js +0 -10
  30. package/dist/v1/roles.js.map +1 -1
  31. package/dist/v1/rooms.d.ts +10 -17
  32. package/dist/v1/rooms.d.ts.map +1 -1
  33. package/dist/v1/rooms.js +16 -0
  34. package/dist/v1/rooms.js.map +1 -1
  35. package/dist/v1/statistics.d.ts +1 -5
  36. package/dist/v1/statistics.d.ts.map +1 -1
  37. package/dist/v1/statistics.js.map +1 -1
  38. package/dist/v1/users/UsersListStatusParamsGET.d.ts +1 -0
  39. package/dist/v1/users/UsersListStatusParamsGET.d.ts.map +1 -1
  40. package/dist/v1/users/UsersListStatusParamsGET.js +7 -0
  41. package/dist/v1/users/UsersListStatusParamsGET.js.map +1 -1
  42. package/dist/v1/users.d.ts +0 -12
  43. package/dist/v1/users.d.ts.map +1 -1
  44. package/dist/v1/users.js.map +1 -1
  45. package/package.json +17 -19
  46. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.d.ts +0 -6
  47. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.d.ts.map +0 -1
  48. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.js +0 -19
  49. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.js.map +0 -1
  50. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.d.ts +0 -6
  51. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.d.ts.map +0 -1
  52. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.js +0 -19
  53. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.js.map +0 -1
  54. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.d.ts +0 -5
  55. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.d.ts.map +0 -1
  56. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.js +0 -15
  57. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.js.map +0 -1
  58. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.d.ts +0 -6
  59. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.d.ts.map +0 -1
  60. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.js +0 -20
  61. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.js.map +0 -1
  62. package/dist/v1/voip-freeswitch/index.d.ts +0 -36
  63. package/dist/v1/voip-freeswitch/index.d.ts.map +0 -1
  64. package/dist/v1/voip-freeswitch/index.js +0 -5
  65. package/dist/v1/voip-freeswitch/index.js.map +0 -1
  66. package/dist/v1/voip.d.ts +0 -181
  67. package/dist/v1/voip.d.ts.map +0 -1
  68. package/dist/v1/voip.js +0 -392
  69. package/dist/v1/voip.js.map +0 -1
@@ -1,5 +0,0 @@
1
- export * from './VoipFreeSwitchExtensionAssignProps';
2
- export * from './VoipFreeSwitchExtensionGetDetailsProps';
3
- export * from './VoipFreeSwitchExtensionGetInfoProps';
4
- export * from './VoipFreeSwitchExtensionListProps';
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/voip-freeswitch/index.ts"],"names":[],"mappings":"AAOA,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC"}
package/dist/v1/voip.d.ts DELETED
@@ -1,181 +0,0 @@
1
- import type { IQueueSummary, ILivechatAgent, IVoipRoom, IUser, IQueueMembershipDetails, IQueueMembershipSubscription, IVoipExtensionWithAgentInfo, IManagementServerConnectionStatus, IRegistrationInfo, IVoipConnectorResult } from '@rocket.chat/core-typings';
2
- import { VoipClientEvents } from '@rocket.chat/core-typings';
3
- import type { PaginatedRequest } from '../helpers/PaginatedRequest';
4
- import type { PaginatedResult } from '../helpers/PaginatedResult';
5
- type ConnectorExtensionGetRegistrationInfoByUserId = {
6
- id: string;
7
- };
8
- export declare const isConnectorExtensionGetRegistrationInfoByUserIdProps: import("ajv").ValidateFunction<ConnectorExtensionGetRegistrationInfoByUserId>;
9
- type VoipQueuesGetQueuedCallsForThisExtension = {
10
- extension: string;
11
- };
12
- export declare const isVoipQueuesGetQueuedCallsForThisExtensionProps: import("ajv").ValidateFunction<VoipQueuesGetQueuedCallsForThisExtension>;
13
- type VoipQueuesGetMembershipSubscription = {
14
- extension: string;
15
- };
16
- export declare const isVoipQueuesGetMembershipSubscriptionProps: import("ajv").ValidateFunction<VoipQueuesGetMembershipSubscription>;
17
- type OmnichannelExtensions = PaginatedRequest<{
18
- status?: string;
19
- agentId?: string;
20
- queues?: string[];
21
- extension?: string;
22
- }>;
23
- export declare const isOmnichannelExtensionsProps: import("ajv").ValidateFunction<OmnichannelExtensions>;
24
- type OmnichannelExtension = {
25
- userId: string;
26
- type: 'free' | 'allocated' | 'available';
27
- } | {
28
- username: string;
29
- type: 'free' | 'allocated' | 'available';
30
- };
31
- export declare const isOmnichannelExtensionProps: import("ajv").ValidateFunction<OmnichannelExtension>;
32
- type OmnichannelAgentExtensionGET = {
33
- username: string;
34
- };
35
- export declare const isOmnichannelAgentExtensionGETProps: import("ajv").ValidateFunction<OmnichannelAgentExtensionGET>;
36
- type OmnichannelAgentExtensionPOST = {
37
- userId: string;
38
- extension: string;
39
- } | {
40
- username: string;
41
- extension: string;
42
- };
43
- export declare const isOmnichannelAgentExtensionPOSTProps: import("ajv").ValidateFunction<OmnichannelAgentExtensionPOST>;
44
- type OmnichannelAgentExtensionDELETE = {
45
- username: string;
46
- };
47
- export declare const isOmnichannelAgentExtensionDELETEProps: import("ajv").ValidateFunction<OmnichannelAgentExtensionDELETE>;
48
- type OmnichannelAgentsAvailable = PaginatedRequest<{
49
- text?: string;
50
- includeExtension?: string;
51
- }>;
52
- export declare const isOmnichannelAgentsAvailableProps: import("ajv").ValidateFunction<OmnichannelAgentsAvailable>;
53
- type VoipEvents = {
54
- event: VoipClientEvents;
55
- rid: string;
56
- comment?: string;
57
- };
58
- export declare const isVoipEventsProps: import("ajv").ValidateFunction<VoipEvents>;
59
- type VoipRoom = {
60
- token: string;
61
- agentId: ILivechatAgent['_id'];
62
- direction: IVoipRoom['direction'];
63
- } | {
64
- rid: string;
65
- token: string;
66
- };
67
- export declare const isVoipRoomProps: import("ajv").ValidateFunction<VoipRoom>;
68
- type VoipManagementServerCheckConnection = {
69
- host: string;
70
- port: string;
71
- username: string;
72
- password: string;
73
- };
74
- export declare const isVoipManagementServerCheckConnectionProps: import("ajv").ValidateFunction<VoipManagementServerCheckConnection>;
75
- type VoipCallServerCheckConnection = {
76
- websocketUrl: string;
77
- host: string;
78
- port: string;
79
- path: string;
80
- };
81
- export declare const isVoipCallServerCheckConnectionProps: import("ajv").ValidateFunction<VoipCallServerCheckConnection>;
82
- type VoipRooms = PaginatedRequest<{
83
- agents?: string[];
84
- open?: 'true' | 'false';
85
- createdAt?: string;
86
- closedAt?: string;
87
- tags?: string[];
88
- queue?: string;
89
- visitorId?: string;
90
- roomName?: string;
91
- direction?: IVoipRoom['direction'];
92
- }>;
93
- export declare const isVoipRoomsProps: import("ajv").ValidateFunction<VoipRooms>;
94
- type VoipRoomClose = {
95
- rid: string;
96
- token: string;
97
- options: {
98
- comment?: string;
99
- tags?: string[];
100
- };
101
- };
102
- export declare const isVoipRoomCloseProps: import("ajv").ValidateFunction<VoipRoomClose>;
103
- export type VoipEndpoints = {
104
- '/v1/connector.extension.getRegistrationInfoByUserId': {
105
- GET: (params: ConnectorExtensionGetRegistrationInfoByUserId) => IRegistrationInfo | {
106
- result: string;
107
- };
108
- };
109
- '/v1/voip/queues.getSummary': {
110
- GET: () => {
111
- summary: IQueueSummary[];
112
- };
113
- };
114
- '/v1/voip/queues.getQueuedCallsForThisExtension': {
115
- GET: (params: VoipQueuesGetQueuedCallsForThisExtension) => IQueueMembershipDetails;
116
- };
117
- '/v1/voip/queues.getMembershipSubscription': {
118
- GET: (params: VoipQueuesGetMembershipSubscription) => IQueueMembershipSubscription;
119
- };
120
- '/v1/omnichannel/extensions': {
121
- GET: (params: OmnichannelExtensions) => PaginatedResult<{
122
- extensions: IVoipExtensionWithAgentInfo[];
123
- }>;
124
- };
125
- '/v1/omnichannel/extension': {
126
- GET: (params: OmnichannelExtension) => {
127
- extensions: string[];
128
- };
129
- };
130
- '/v1/omnichannel/agent/extension': {
131
- POST: (params: OmnichannelAgentExtensionPOST) => void;
132
- };
133
- '/v1/omnichannel/agent/extension/:username': {
134
- GET: () => {
135
- extension: Pick<IUser, '_id' | 'username' | 'extension'>;
136
- };
137
- DELETE: () => void;
138
- };
139
- '/v1/omnichannel/agents/available': {
140
- GET: (params: OmnichannelAgentsAvailable) => PaginatedResult<{
141
- agents: ILivechatAgent[];
142
- }>;
143
- };
144
- '/v1/voip/events': {
145
- POST: (params: VoipEvents) => void;
146
- };
147
- '/v1/voip/room': {
148
- GET: (params: VoipRoom) => {
149
- room: IVoipRoom;
150
- newRoom: boolean;
151
- };
152
- };
153
- '/v1/voip/managementServer/checkConnection': {
154
- GET: (params: VoipManagementServerCheckConnection) => IManagementServerConnectionStatus;
155
- };
156
- '/v1/voip/callServer/checkConnection': {
157
- GET: (params: VoipCallServerCheckConnection) => IManagementServerConnectionStatus;
158
- };
159
- '/v1/voip/rooms': {
160
- GET: (params: VoipRooms) => PaginatedResult<{
161
- rooms: IVoipRoom[];
162
- }>;
163
- };
164
- '/v1/voip/room.close': {
165
- POST: (params: VoipRoomClose) => {
166
- rid: string;
167
- };
168
- };
169
- '/v1/connector.extension.getDetails': {
170
- GET: (params: {
171
- extension: string;
172
- }) => IVoipConnectorResult;
173
- };
174
- '/v1/connector.extension.getRegistrationInfoByExtension': {
175
- GET: (params: {
176
- extension: string;
177
- }) => IRegistrationInfo;
178
- };
179
- };
180
- export {};
181
- //# sourceMappingURL=voip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"voip.d.ts","sourceRoot":"","sources":["../../src/v1/voip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,cAAc,EACd,SAAS,EACT,KAAK,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,EAC3B,iCAAiC,EACjC,iBAAiB,EACjB,oBAAoB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAI7D,OAAO,KAAK,E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AAI,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE,CAAC;KACjD,CAAC;IACF,oCAAoC,EAAE;QACrC,GAAG,EAAE,CAAC,MAAM,EAAE;YAAE,SAAS,EAAE,MAAM,CAAA;SAAE,KAAK,oBAAoB,CAAC;KAC7D,CAAC;IACF,wDAAwD,EAAE;QACzD,GAAG,EAAE,CAAC,MAAM,EAAE;YAAE,SAAS,EAAE,MAAM,CAAA;SAAE,KAAK,iBAAiB,CAAC;KAC1D,CAAC;CACF,CAAC"}
package/dist/v1/voip.js DELETED
@@ -1,392 +0,0 @@
1
- import { VoipClientEvents } from '@rocket.chat/core-typings';
2
- import Ajv from 'ajv';
3
- const ajv = new Ajv({
4
- coerceTypes: true,
5
- });
6
- const ConnectorExtensionGetRegistrationInfoByUserIdSchema = {
7
- type: 'object',
8
- properties: {
9
- id: {
10
- type: 'string',
11
- },
12
- },
13
- required: ['id'],
14
- additionalProperties: false,
15
- };
16
- export const isConnectorExtensionGetRegistrationInfoByUserIdProps = ajv.compile(ConnectorExtensionGetRegistrationInfoByUserIdSchema);
17
- const VoipQueuesGetQueuedCallsForThisExtensionSchema = {
18
- type: 'object',
19
- properties: {
20
- extension: {
21
- type: 'string',
22
- },
23
- },
24
- required: ['extension'],
25
- additionalProperties: false,
26
- };
27
- export const isVoipQueuesGetQueuedCallsForThisExtensionProps = ajv.compile(VoipQueuesGetQueuedCallsForThisExtensionSchema);
28
- const VoipQueuesGetMembershipSubscriptionSchema = {
29
- type: 'object',
30
- properties: {
31
- extension: {
32
- type: 'string',
33
- },
34
- },
35
- required: ['extension'],
36
- additionalProperties: false,
37
- };
38
- export const isVoipQueuesGetMembershipSubscriptionProps = ajv.compile(VoipQueuesGetMembershipSubscriptionSchema);
39
- const OmnichannelExtensionsSchema = {
40
- type: 'object',
41
- properties: {
42
- status: {
43
- type: 'string',
44
- nullable: true,
45
- },
46
- agentId: {
47
- type: 'string',
48
- nullable: true,
49
- },
50
- queues: {
51
- type: 'array',
52
- items: {
53
- type: 'string',
54
- },
55
- nullable: true,
56
- },
57
- extension: {
58
- type: 'string',
59
- nullable: true,
60
- },
61
- count: {
62
- type: 'number',
63
- nullable: true,
64
- },
65
- offset: {
66
- type: 'number',
67
- nullable: true,
68
- },
69
- sort: {
70
- type: 'string',
71
- nullable: true,
72
- },
73
- query: {
74
- type: 'string',
75
- nullable: true,
76
- },
77
- },
78
- required: [],
79
- additionalProperties: false,
80
- };
81
- export const isOmnichannelExtensionsProps = ajv.compile(OmnichannelExtensionsSchema);
82
- const OmnichannelExtensionSchema = {
83
- oneOf: [
84
- {
85
- type: 'object',
86
- properties: {
87
- userId: {
88
- type: 'string',
89
- },
90
- type: {
91
- type: 'string',
92
- enum: ['free', 'allocated', 'available'],
93
- },
94
- },
95
- required: ['userId', 'type'],
96
- additionalProperties: false,
97
- },
98
- {
99
- type: 'object',
100
- properties: {
101
- username: {
102
- type: 'string',
103
- },
104
- type: {
105
- type: 'string',
106
- enum: ['free', 'allocated', 'available'],
107
- },
108
- },
109
- required: ['username', 'type'],
110
- additionalProperties: false,
111
- },
112
- ],
113
- };
114
- export const isOmnichannelExtensionProps = ajv.compile(OmnichannelExtensionSchema);
115
- const OmnichannelAgentExtensionGETSchema = {
116
- type: 'object',
117
- properties: {
118
- username: {
119
- type: 'string',
120
- },
121
- },
122
- required: ['username'],
123
- additionalProperties: false,
124
- };
125
- export const isOmnichannelAgentExtensionGETProps = ajv.compile(OmnichannelAgentExtensionGETSchema);
126
- const OmnichannelAgentExtensionPOSTSchema = {
127
- oneOf: [
128
- {
129
- type: 'object',
130
- properties: {
131
- userId: {
132
- type: 'string',
133
- },
134
- extension: {
135
- type: 'string',
136
- },
137
- },
138
- required: ['userId', 'extension'],
139
- additionalProperties: false,
140
- },
141
- {
142
- type: 'object',
143
- properties: {
144
- username: {
145
- type: 'string',
146
- },
147
- extension: {
148
- type: 'string',
149
- },
150
- },
151
- required: ['username', 'extension'],
152
- additionalProperties: false,
153
- },
154
- ],
155
- };
156
- export const isOmnichannelAgentExtensionPOSTProps = ajv.compile(OmnichannelAgentExtensionPOSTSchema);
157
- const OmnichannelAgentExtensionDELETESchema = {
158
- type: 'object',
159
- properties: {
160
- username: {
161
- type: 'string',
162
- },
163
- },
164
- required: ['username'],
165
- additionalProperties: false,
166
- };
167
- export const isOmnichannelAgentExtensionDELETEProps = ajv.compile(OmnichannelAgentExtensionDELETESchema);
168
- const OmnichannelAgentsAvailableSchema = {
169
- type: 'object',
170
- properties: {
171
- count: {
172
- type: 'number',
173
- nullable: true,
174
- },
175
- offset: {
176
- type: 'number',
177
- nullable: true,
178
- },
179
- sort: {
180
- type: 'string',
181
- nullable: true,
182
- },
183
- query: {
184
- type: 'string',
185
- nullable: true,
186
- },
187
- text: {
188
- type: 'string',
189
- nullable: true,
190
- },
191
- includeExtension: {
192
- type: 'string',
193
- nullable: true,
194
- },
195
- },
196
- required: [],
197
- additionalProperties: false,
198
- };
199
- export const isOmnichannelAgentsAvailableProps = ajv.compile(OmnichannelAgentsAvailableSchema);
200
- const VoipEventsSchema = {
201
- type: 'object',
202
- properties: {
203
- event: {
204
- type: 'string',
205
- enum: Object.values(VoipClientEvents),
206
- },
207
- rid: {
208
- type: 'string',
209
- },
210
- comment: {
211
- type: 'string',
212
- nullable: true,
213
- },
214
- },
215
- required: ['event', 'rid'],
216
- additionalProperties: false,
217
- };
218
- export const isVoipEventsProps = ajv.compile(VoipEventsSchema);
219
- const VoipRoomSchema = {
220
- oneOf: [
221
- {
222
- type: 'object',
223
- properties: {
224
- token: {
225
- type: 'string',
226
- },
227
- agentId: {
228
- type: 'string',
229
- },
230
- direction: {
231
- type: 'string',
232
- enum: ['inbound', 'outbound'],
233
- },
234
- },
235
- required: ['token', 'agentId'],
236
- additionalProperties: false,
237
- },
238
- {
239
- type: 'object',
240
- properties: {
241
- rid: {
242
- type: 'string',
243
- },
244
- token: {
245
- type: 'string',
246
- },
247
- },
248
- required: ['rid', 'token'],
249
- additionalProperties: false,
250
- },
251
- ],
252
- };
253
- export const isVoipRoomProps = ajv.compile(VoipRoomSchema);
254
- const VoipManagementServerCheckConnectionSchema = {
255
- type: 'object',
256
- properties: {
257
- host: {
258
- type: 'string',
259
- },
260
- port: {
261
- type: 'string',
262
- },
263
- username: {
264
- type: 'string',
265
- },
266
- password: {
267
- type: 'string',
268
- },
269
- },
270
- required: ['host', 'port', 'username', 'password'],
271
- additionalProperties: false,
272
- };
273
- export const isVoipManagementServerCheckConnectionProps = ajv.compile(VoipManagementServerCheckConnectionSchema);
274
- const VoipCallServerCheckConnectionSchema = {
275
- type: 'object',
276
- properties: {
277
- websocketUrl: {
278
- type: 'string',
279
- },
280
- host: {
281
- type: 'string',
282
- },
283
- port: {
284
- type: 'string',
285
- },
286
- path: {
287
- type: 'string',
288
- },
289
- },
290
- required: ['websocketUrl', 'host', 'port', 'path'],
291
- additionalProperties: false,
292
- };
293
- export const isVoipCallServerCheckConnectionProps = ajv.compile(VoipCallServerCheckConnectionSchema);
294
- const VoipRoomsSchema = {
295
- type: 'object',
296
- properties: {
297
- agents: {
298
- type: 'array',
299
- items: {
300
- type: 'string',
301
- },
302
- nullable: true,
303
- },
304
- open: {
305
- type: 'string',
306
- enum: ['true', 'false'],
307
- nullable: true,
308
- },
309
- createdAt: {
310
- type: 'string',
311
- nullable: true,
312
- },
313
- closedAt: {
314
- type: 'string',
315
- nullable: true,
316
- },
317
- tags: {
318
- type: 'array',
319
- items: {
320
- type: 'string',
321
- },
322
- nullable: true,
323
- },
324
- queue: {
325
- type: 'string',
326
- nullable: true,
327
- },
328
- visitorId: {
329
- type: 'string',
330
- nullable: true,
331
- },
332
- direction: {
333
- type: 'string',
334
- enum: ['inbound', 'outbound'],
335
- nullable: true,
336
- },
337
- roomName: {
338
- type: 'string',
339
- nullable: true,
340
- },
341
- count: {
342
- type: 'number',
343
- nullable: true,
344
- },
345
- offset: {
346
- type: 'number',
347
- nullable: true,
348
- },
349
- sort: {
350
- type: 'string',
351
- nullable: true,
352
- },
353
- query: {
354
- type: 'string',
355
- nullable: true,
356
- },
357
- },
358
- required: [],
359
- additionalProperties: false,
360
- };
361
- export const isVoipRoomsProps = ajv.compile(VoipRoomsSchema);
362
- const VoipRoomCloseSchema = {
363
- type: 'object',
364
- properties: {
365
- rid: {
366
- type: 'string',
367
- },
368
- token: {
369
- type: 'string',
370
- },
371
- options: {
372
- type: 'object',
373
- properties: {
374
- comment: {
375
- type: 'string',
376
- nullable: true,
377
- },
378
- tags: {
379
- type: 'array',
380
- items: {
381
- type: 'string',
382
- },
383
- nullable: true,
384
- },
385
- },
386
- },
387
- },
388
- required: ['rid', 'token'],
389
- additionalProperties: false,
390
- };
391
- export const isVoipRoomCloseProps = ajv.compile(VoipRoomCloseSchema);
392
- //# sourceMappingURL=voip.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"voip.js","sourceRoot":"","sources":["../../src/v1/voip.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAIH,MAAM,mDAAmD,GAAkE;IAC1H,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,EAAE,EAAE;YACH,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,IAAI,CAAC;IAChB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,oDAAoD,GAAG,GAAG,CAAC,OAAO,CAC9E,mDAAmD,CACnD,CAAC;AAIF,MAAM,8CAA8C,GAA6D;IAChH,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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