Rebuild sdks and specs
This commit is contained in:
parent
521eb439b0
commit
55e73c7c67
7 changed files with 34 additions and 18 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -210,11 +210,11 @@
|
|||
* @param {string} password
|
||||
* @param {string} name
|
||||
* @param {string} hash
|
||||
* @param {boolean} ximport
|
||||
* @param {object} hashOptions
|
||||
* @throws {AppwriteException}
|
||||
* @returns {Promise}
|
||||
*/
|
||||
create: (userId, email, password, name, hash, ximport) => __awaiter(this, void 0, void 0, function* () {
|
||||
create: (userId, email, password, name, hash, hashOptions) => __awaiter(this, void 0, void 0, function* () {
|
||||
if (typeof userId === 'undefined') {
|
||||
throw new AppwriteException('Missing required parameter: "userId"');
|
||||
}
|
||||
|
@ -241,8 +241,8 @@
|
|||
if (typeof hash !== 'undefined') {
|
||||
payload['hash'] = hash;
|
||||
}
|
||||
if (typeof ximport !== 'undefined') {
|
||||
payload['import'] = ximport;
|
||||
if (typeof hashOptions !== 'undefined') {
|
||||
payload['hashOptions'] = hashOptions;
|
||||
}
|
||||
const uri = new URL(this.config.endpoint + path);
|
||||
return yield this.call('post', uri, {
|
||||
|
@ -284,10 +284,11 @@
|
|||
* @param {string} email
|
||||
* @param {string} password
|
||||
* @param {string} hash
|
||||
* @param {object} hashOptions
|
||||
* @throws {AppwriteException}
|
||||
* @returns {Promise}
|
||||
*/
|
||||
updateEmail: (email, password, hash) => __awaiter(this, void 0, void 0, function* () {
|
||||
updateEmail: (email, password, hash, hashOptions) => __awaiter(this, void 0, void 0, function* () {
|
||||
if (typeof email === 'undefined') {
|
||||
throw new AppwriteException('Missing required parameter: "email"');
|
||||
}
|
||||
|
@ -305,6 +306,9 @@
|
|||
if (typeof hash !== 'undefined') {
|
||||
payload['hash'] = hash;
|
||||
}
|
||||
if (typeof hashOptions !== 'undefined') {
|
||||
payload['hashOptions'] = hashOptions;
|
||||
}
|
||||
const uri = new URL(this.config.endpoint + path);
|
||||
return yield this.call('patch', uri, {
|
||||
'content-type': 'application/json',
|
||||
|
@ -388,10 +392,11 @@
|
|||
* @param {string} password
|
||||
* @param {string} oldPassword
|
||||
* @param {string} hash
|
||||
* @param {object} hashOptions
|
||||
* @throws {AppwriteException}
|
||||
* @returns {Promise}
|
||||
*/
|
||||
updatePassword: (password, oldPassword, hash) => __awaiter(this, void 0, void 0, function* () {
|
||||
updatePassword: (password, oldPassword, hash, hashOptions) => __awaiter(this, void 0, void 0, function* () {
|
||||
if (typeof password === 'undefined') {
|
||||
throw new AppwriteException('Missing required parameter: "password"');
|
||||
}
|
||||
|
@ -406,6 +411,9 @@
|
|||
if (typeof hash !== 'undefined') {
|
||||
payload['hash'] = hash;
|
||||
}
|
||||
if (typeof hashOptions !== 'undefined') {
|
||||
payload['hashOptions'] = hashOptions;
|
||||
}
|
||||
const uri = new URL(this.config.endpoint + path);
|
||||
return yield this.call('patch', uri, {
|
||||
'content-type': 'application/json',
|
||||
|
@ -507,10 +515,11 @@
|
|||
* @param {string} password
|
||||
* @param {string} passwordAgain
|
||||
* @param {string} hash
|
||||
* @param {object} hashOptions
|
||||
* @throws {AppwriteException}
|
||||
* @returns {Promise}
|
||||
*/
|
||||
updateRecovery: (userId, secret, password, passwordAgain, hash) => __awaiter(this, void 0, void 0, function* () {
|
||||
updateRecovery: (userId, secret, password, passwordAgain, hash, hashOptions) => __awaiter(this, void 0, void 0, function* () {
|
||||
if (typeof userId === 'undefined') {
|
||||
throw new AppwriteException('Missing required parameter: "userId"');
|
||||
}
|
||||
|
@ -540,6 +549,9 @@
|
|||
if (typeof hash !== 'undefined') {
|
||||
payload['hash'] = hash;
|
||||
}
|
||||
if (typeof hashOptions !== 'undefined') {
|
||||
payload['hashOptions'] = hashOptions;
|
||||
}
|
||||
const uri = new URL(this.config.endpoint + path);
|
||||
return yield this.call('put', uri, {
|
||||
'content-type': 'application/json',
|
||||
|
@ -5050,11 +5062,11 @@
|
|||
* @param {string} password
|
||||
* @param {string} name
|
||||
* @param {string} hash
|
||||
* @param {boolean} ximport
|
||||
* @param {object} hashOptions
|
||||
* @throws {AppwriteException}
|
||||
* @returns {Promise}
|
||||
*/
|
||||
create: (userId, email, password, name, hash, ximport) => __awaiter(this, void 0, void 0, function* () {
|
||||
create: (userId, email, password, name, hash, hashOptions) => __awaiter(this, void 0, void 0, function* () {
|
||||
if (typeof userId === 'undefined') {
|
||||
throw new AppwriteException('Missing required parameter: "userId"');
|
||||
}
|
||||
|
@ -5081,8 +5093,8 @@
|
|||
if (typeof hash !== 'undefined') {
|
||||
payload['hash'] = hash;
|
||||
}
|
||||
if (typeof ximport !== 'undefined') {
|
||||
payload['import'] = ximport;
|
||||
if (typeof hashOptions !== 'undefined') {
|
||||
payload['hashOptions'] = hashOptions;
|
||||
}
|
||||
const uri = new URL(this.config.endpoint + path);
|
||||
return yield this.call('post', uri, {
|
||||
|
@ -5242,10 +5254,11 @@
|
|||
* @param {string} userId
|
||||
* @param {string} password
|
||||
* @param {string} hash
|
||||
* @param {object} hashOptions
|
||||
* @throws {AppwriteException}
|
||||
* @returns {Promise}
|
||||
*/
|
||||
updatePassword: (userId, password, hash) => __awaiter(this, void 0, void 0, function* () {
|
||||
updatePassword: (userId, password, hash, hashOptions) => __awaiter(this, void 0, void 0, function* () {
|
||||
if (typeof userId === 'undefined') {
|
||||
throw new AppwriteException('Missing required parameter: "userId"');
|
||||
}
|
||||
|
@ -5260,6 +5273,9 @@
|
|||
if (typeof hash !== 'undefined') {
|
||||
payload['hash'] = hash;
|
||||
}
|
||||
if (typeof hashOptions !== 'undefined') {
|
||||
payload['hashOptions'] = hashOptions;
|
||||
}
|
||||
const uri = new URL(this.config.endpoint + path);
|
||||
return yield this.call('patch', uri, {
|
||||
'content-type': 'application/json',
|
||||
|
|
Loading…
Reference in a new issue