@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.
Files changed (120) hide show
  1. package/dist/apps/index.d.ts +0 -2
  2. package/dist/apps/index.d.ts.map +1 -1
  3. package/dist/index.d.ts +7 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +5 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/v1/banners.d.ts +0 -1
  8. package/dist/v1/banners.d.ts.map +1 -1
  9. package/dist/v1/banners.js +4 -13
  10. package/dist/v1/banners.js.map +1 -1
  11. package/dist/v1/channels/ChannelsFilesListProps.d.ts +14 -0
  12. package/dist/v1/channels/ChannelsFilesListProps.d.ts.map +1 -0
  13. package/dist/v1/channels/ChannelsFilesListProps.js +46 -0
  14. package/dist/v1/channels/ChannelsFilesListProps.js.map +1 -0
  15. package/dist/v1/channels/ChannelsListProps.d.ts +5 -2
  16. package/dist/v1/channels/ChannelsListProps.d.ts.map +1 -1
  17. package/dist/v1/channels/ChannelsListProps.js +15 -1
  18. package/dist/v1/channels/ChannelsListProps.js.map +1 -1
  19. package/dist/v1/channels/ChannelsOnlineProps.d.ts +1 -0
  20. package/dist/v1/channels/ChannelsOnlineProps.d.ts.map +1 -1
  21. package/dist/v1/channels/ChannelsOnlineProps.js +4 -0
  22. package/dist/v1/channels/ChannelsOnlineProps.js.map +1 -1
  23. package/dist/v1/channels/channels.d.ts +6 -12
  24. package/dist/v1/channels/channels.d.ts.map +1 -1
  25. package/dist/v1/channels/channels.js +3 -1
  26. package/dist/v1/channels/channels.js.map +1 -1
  27. package/dist/v1/chat.d.ts +2 -1
  28. package/dist/v1/chat.d.ts.map +1 -1
  29. package/dist/v1/chat.js +13 -0
  30. package/dist/v1/chat.js.map +1 -1
  31. package/dist/v1/cloud.d.ts.map +1 -1
  32. package/dist/v1/cloud.js +1 -5
  33. package/dist/v1/cloud.js.map +1 -1
  34. package/dist/v1/customSounds.d.ts +1 -1
  35. package/dist/v1/customSounds.d.ts.map +1 -1
  36. package/dist/v1/customSounds.js +6 -1
  37. package/dist/v1/customSounds.js.map +1 -1
  38. package/dist/v1/customUserStatus.d.ts +3 -1
  39. package/dist/v1/customUserStatus.d.ts.map +1 -1
  40. package/dist/v1/customUserStatus.js +10 -1
  41. package/dist/v1/customUserStatus.js.map +1 -1
  42. package/dist/v1/directory.d.ts +6 -1
  43. package/dist/v1/directory.d.ts.map +1 -1
  44. package/dist/v1/directory.js +17 -4
  45. package/dist/v1/directory.js.map +1 -1
  46. package/dist/v1/e2e.d.ts +11 -1
  47. package/dist/v1/e2e.d.ts.map +1 -1
  48. package/dist/v1/e2e.js +24 -0
  49. package/dist/v1/e2e.js.map +1 -1
  50. package/dist/v1/emojiCustom.d.ts +3 -1
  51. package/dist/v1/emojiCustom.d.ts.map +1 -1
  52. package/dist/v1/emojiCustom.js +7 -1
  53. package/dist/v1/emojiCustom.js.map +1 -1
  54. package/dist/v1/groups/GroupsOnlineProps.d.ts +1 -0
  55. package/dist/v1/groups/GroupsOnlineProps.d.ts.map +1 -1
  56. package/dist/v1/groups/GroupsOnlineProps.js +6 -2
  57. package/dist/v1/groups/GroupsOnlineProps.js.map +1 -1
  58. package/dist/v1/import/StartImportParamsPOST.d.ts +2 -20
  59. package/dist/v1/import/StartImportParamsPOST.d.ts.map +1 -1
  60. package/dist/v1/import/StartImportParamsPOST.js +14 -33
  61. package/dist/v1/import/StartImportParamsPOST.js.map +1 -1
  62. package/dist/v1/integrations/IntegrationsListProps.d.ts +8 -0
  63. package/dist/v1/integrations/IntegrationsListProps.d.ts.map +1 -0
  64. package/dist/v1/integrations/IntegrationsListProps.js +35 -0
  65. package/dist/v1/integrations/IntegrationsListProps.js.map +1 -0
  66. package/dist/v1/integrations/IntegrationsUpdateProps.d.ts +2 -2
  67. package/dist/v1/integrations/IntegrationsUpdateProps.d.ts.map +1 -1
  68. package/dist/v1/integrations/index.d.ts +1 -0
  69. package/dist/v1/integrations/index.d.ts.map +1 -1
  70. package/dist/v1/integrations/index.js +1 -0
  71. package/dist/v1/integrations/index.js.map +1 -1
  72. package/dist/v1/integrations/integrations.d.ts +2 -2
  73. package/dist/v1/integrations/integrations.d.ts.map +1 -1
  74. package/dist/v1/licenses.d.ts +1 -13
  75. package/dist/v1/licenses.d.ts.map +1 -1
  76. package/dist/v1/misc.d.ts +0 -10
  77. package/dist/v1/misc.d.ts.map +1 -1
  78. package/dist/v1/misc.js +0 -11
  79. package/dist/v1/misc.js.map +1 -1
  80. package/dist/v1/omnichannel.d.ts +19 -20
  81. package/dist/v1/omnichannel.d.ts.map +1 -1
  82. package/dist/v1/omnichannel.js +43 -40
  83. package/dist/v1/omnichannel.js.map +1 -1
  84. package/dist/v1/users/UsersInfoParamsGet.d.ts +1 -0
  85. package/dist/v1/users/UsersInfoParamsGet.d.ts.map +1 -1
  86. package/dist/v1/users/UsersInfoParamsGet.js +9 -0
  87. package/dist/v1/users/UsersInfoParamsGet.js.map +1 -1
  88. package/dist/v1/users/UsersUpdateParamsPOST.d.ts +0 -1
  89. package/dist/v1/users/UsersUpdateParamsPOST.d.ts.map +1 -1
  90. package/dist/v1/users/UsersUpdateParamsPOST.js +1 -4
  91. package/dist/v1/users/UsersUpdateParamsPOST.js.map +1 -1
  92. package/dist/v1/users.d.ts +1 -1
  93. package/dist/v1/users.d.ts.map +1 -1
  94. package/dist/v1/users.js.map +1 -1
  95. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.d.ts +6 -0
  96. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.d.ts.map +1 -0
  97. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.js +19 -0
  98. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionAssignProps.js.map +1 -0
  99. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.d.ts +6 -0
  100. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.d.ts.map +1 -0
  101. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.js +19 -0
  102. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetDetailsProps.js.map +1 -0
  103. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.d.ts +5 -0
  104. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.d.ts.map +1 -0
  105. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.js +15 -0
  106. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionGetInfoProps.js.map +1 -0
  107. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.d.ts +6 -0
  108. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.d.ts.map +1 -0
  109. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.js +20 -0
  110. package/dist/v1/voip-freeswitch/VoipFreeSwitchExtensionListProps.js.map +1 -0
  111. package/dist/v1/voip-freeswitch/index.d.ts +36 -0
  112. package/dist/v1/voip-freeswitch/index.d.ts.map +1 -0
  113. package/dist/v1/voip-freeswitch/index.js +5 -0
  114. package/dist/v1/voip-freeswitch/index.js.map +1 -0
  115. package/dist/v1/voip.d.ts +0 -5
  116. package/dist/v1/voip.d.ts.map +1 -1
  117. package/dist/v1/voip.js +0 -24
  118. package/dist/v1/voip.js.map +1 -1
  119. package/package.json +6 -6
  120. package/CHANGELOG.md +0 -1346
@@ -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;IA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ceCode: {
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);
@@ -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,GAAG,GAAG,CAAC,OAAO,CAAgC,mCAAmC,CAAC,CAAC;AAOpI,MAAM,2BAA2B,GAAG;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,UAAU,EAAE;YACX,IAAI,EAAE,QAAQ;SACd;QACD,MAAM,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;KACD;IACD,Q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F,MAAM,CAAC,MAAM,4BAA4B,GAAG,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
- query: string;
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,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAyB5D,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"}
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"}
@@ -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: ['query'],
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,CAAC,OAAO,CAAC;IACnB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAAmB,sBAAsB,CAAC,CAAC"}
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
- query: string;
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,O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,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAMlE,KAAK,yBAAyB,GAAG,gBAAgB,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAkCnG,eAAO,MAAM,2BAA2B,2DAAqE,CAAC;AAE9G,MAAM,MAAM,yBAAyB,GAAG;IACvC,6BAA6B,EAAE;QAC9B,GAAG,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,eAAe,CAAC;YAC3D,QAAQ,EAAE,WAAW,EAAE,CAAC;SACxB,CAAC,CAAC;KACH,CAAC;IACF,+BAA+B,EAAE;QAChC,IAAI,EAAE,CAAC,MAAM,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK;YACxD,gBAAgB,EAAE,iBAAiB,CAAC;SACpC,CAAC;KACF,CAAC;IACF,+BAA+B,EAAE;QAChC,IAAI,EAAE,CAAC,MAAM,EAAE;YAAE,kBAAkB,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAC;KACvD,CAAC;IACF,+BAA+B,EAAE;QAChC,IAAI,EAAE,CAAC,MAAM,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAC;YAAC,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK;YACrE,gBAAgB,EAAE,iBAAiB,CAAC;SACpC,CAAC;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: ['query'],
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,CAAC,OAAO,CAAC;IACnB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC,OAAO,CAA4B,0BAA0B,CAAC,CAAC"}
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"}
@@ -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;AAyBvC,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"}
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"}
@@ -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);
@@ -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,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;IACD,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAAiB,eAAe,CAAC,CAAC"}
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
@@ -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;AAO9D,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+D,CAAC;AAErG,KAAK,oBAAoB,GAAG;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAgBF,eAAO,MAAM,sBAAsB,sDAA2D,CAAC;AAE/F,KAAK,4BAA4B,GAAG;IACnC,uBAAuB,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QAAE,GAAG,EAAE,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AAK,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
@@ -1 +1 @@
1
- {"version":3,"file":"e2e.js","sourceRoot":"","sources":["../../src/v1/e2e.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GA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ACD;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"}
@@ -6,8 +6,10 @@ type emojiCustomDeleteProps = {
6
6
  };
7
7
  export declare const isEmojiCustomDelete: import("ajv").ValidateFunction<emojiCustomDeleteProps>;
8
8
  type emojiCustomList = {
9
- query: string;
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,EAAE,MAAM,4BAA4B,CAAC;AAMlE,KAAK,sBAAsB,GAAG;IAC7B,OAAO,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;CACvC,CAAC;AAaF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
25
  },
26
+ _updatedAt: {
27
+ type: 'string',
28
+ },
29
+ _id: {
30
+ type: 'string',
31
+ },
26
32
  },
27
- required: ['query'],
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;AAOrG,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;KACD;IACD,QAAQ,EAAE,CAAC,OAAO,CAAC;IACnB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAAkB,qBAAqB,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,4 +1,5 @@
1
1
  export type GroupsOnlineProps = {
2
+ _id?: string;
2
3
  query?: Record<string, any>;
3
4
  };
4
5
  export declare const isGroupsOnlineProps: import("ajv").ValidateFunction<GroupsOnlineProps>;
@@ -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;AAYhE,eAAO,MAAM,mBAAmB,mDAAwD,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 groupsOnlyPropsSchema = {
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(groupsOnlyPropsSchema);
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;AAGH,MAAM,qBAAqB,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACd;KACD;IACD,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAAoB,qBAAqB,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":"AAMA,MAAM,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE;QACN,KAAK,EAAE;YACN,OAAO,EAAE,MAAM,CAAC;YAChB,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE,MAAM,CAAC;YACd,UAAU,EAAE,OAAO,CAAC;YACpB,MAAM,EAAE,OAAO,CAAC;YAChB,SAAS,EAAE,OAAO,CAAC;YACnB,cAAc,EAAE,OAAO,CAAC;SACxB,EAAE,CAAC;QACJ,QAAQ,EAAE;YACT,UAAU,EAAE,MAAM,CAAC;YACnB,IAAI,EAAE,MAAM,CAAC;YACb,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,WAAW,EAAE,OAAO,CAAC;YACrB,SAAS,EAAE,OAAO,CAAC;YACnB,UAAU,EAAE,OAAO,CAAC;YACpB,SAAS,EAAE,OAAO,CAAC;SACnB,EAAE,CAAC;KACJ,CAAC;CACF,CAAC;AAgDF,eAAO,MAAM,uBAAuB,uDAAkE,CAAC"}
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
- type: 'array',
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: ['users', 'channels'],
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":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAyBH,MAAM,2BAA2B,GAAG;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,KAAK,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACX,KAAK,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE;4BACX,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;4BAC3B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;4BAC5B,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;4BACzC,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAC/B,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;4BAC9B,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ACd,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' | 'vm2';
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' | 'vm2';
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,GAAG,KAAK,CAAC;IACpC,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,MA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,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"}
@@ -4,4 +4,5 @@ export * from './IntegrationsHistoryProps';
4
4
  export * from './IntegrationsRemoveProps';
5
5
  export * from './IntegrationsGetProps';
6
6
  export * from './IntegrationsUpdateProps';
7
+ export * from './IntegrationsListProps';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -4,4 +4,5 @@ export * from './IntegrationsHistoryProps';
4
4
  export * from './IntegrationsRemoveProps';
5
5
  export * from './IntegrationsGetProps';
6
6
  export * from './IntegrationsUpdateProps';
7
+ export * from './IntegrationsListProps';
7
8
  //# sourceMappingURL=index.js.map
@@ -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: PaginatedRequest) => PaginatedResult<{
22
+ GET: (params: IntegrationsListProps) => PaginatedResult<{
23
23
  integrations: IIntegration[];
24
24
  items: number;
25
25
  }>;