The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/definition/rest/v1/cloud.ts

13 lines
479 B

import { CloudRegistrationIntentData, CloudConfirmationPollData } from '../../ICloud';
export type CloudEndpoints = {
'cloud.manualRegister': {
POST: (params: { cloudBlob: string }) => void;
};
'cloud.createRegistrationIntent': {
POST: (params: { resend: boolean; email: string }) => { intentData: CloudRegistrationIntentData };
};
'cloud.confirmationPoll': {
GET: (params: { deviceCode: string; resend?: boolean }) => { pollData: CloudConfirmationPollData };
};
};