backendless 6.3.11 → 6.3.13

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.
package/backendless.d.ts CHANGED
@@ -362,7 +362,7 @@ declare module Backendless {
362
362
 
363
363
  function disableUser(userId: string): Promise<void>;
364
364
 
365
- function getAuthorizationUrlLink(providerCode: string, fieldsMapping?: object, scope?: string, redirect?: boolean, redirectAfterLoginUrl?: string): Promise<string>;
365
+ function getAuthorizationUrlLink(providerCode: string, fieldsMapping?: object, scope?: string, redirect?: boolean, redirectAfterLoginUrl?: string, callbackUrlDomain?: string): Promise<string>;
366
366
  }
367
367
 
368
368
  /**
@@ -1219,7 +1219,7 @@ declare module Backendless {
1219
1219
 
1220
1220
  removeCommandListener(callback: (command: Object) => void): ChannelClass;
1221
1221
 
1222
- removeCommandListeners(): ChannelClass;
1222
+ removeCommandListeners(callback?: (command: Object) => void): ChannelClass;
1223
1223
 
1224
1224
  addUserStatusListener(callback: (userStates: Object) => void, onError?: (error: Object) => void): ChannelClass;
1225
1225
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ********************************************************************************************************************
3
- * Backendless SDK for JavaScript. Version: 6.3.11
3
+ * Backendless SDK for JavaScript. Version: 6.3.13
4
4
  *
5
5
  * Copyright 2012-2022 BACKENDLESS.COM. All Rights Reserved.
6
6
  *
@@ -18998,6 +18998,12 @@ var Channel = (_dec = _rt.RTScopeConnector.connectionRequired(), (_class = /*#__
18998
18998
  (0, _get2["default"])((0, _getPrototypeOf2["default"])(Channel.prototype), "addUserStatusListener", this).call(this, callback, onError);
18999
18999
  return this;
19000
19000
  }
19001
+ }, {
19002
+ key: "removeCommandListener",
19003
+ value: function removeCommandListener(callback) {
19004
+ (0, _get2["default"])((0, _getPrototypeOf2["default"])(Channel.prototype), "removeCommandListeners", this).call(this, callback);
19005
+ return this;
19006
+ }
19001
19007
  }, {
19002
19008
  key: "removeCommandListeners",
19003
19009
  value: function removeCommandListeners(callback) {
@@ -20391,6 +20397,12 @@ var RemoteSharedObject = (_dec = _rt.RTScopeConnector.connectionRequired(), _dec
20391
20397
  (0, _get2["default"])((0, _getPrototypeOf2["default"])(RemoteSharedObject.prototype), "addCommandListener", this).call(this, callback, onError);
20392
20398
  return this;
20393
20399
  }
20400
+ }, {
20401
+ key: "removeCommandListener",
20402
+ value: function removeCommandListener(callback) {
20403
+ (0, _get2["default"])((0, _getPrototypeOf2["default"])(RemoteSharedObject.prototype), "removeCommandListeners", this).call(this, callback);
20404
+ return this;
20405
+ }
20394
20406
  }, {
20395
20407
  key: "removeCommandListeners",
20396
20408
  value: function removeCommandListeners(callback) {
@@ -23369,14 +23381,15 @@ var Users = /*#__PURE__*/function () {
23369
23381
  }()
23370
23382
  }, {
23371
23383
  key: "getAuthorizationUrlLink",
23372
- value: function getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl) {
23384
+ value: function getAuthorizationUrlLink(providerCode, fieldsMapping, scope, redirect, redirectAfterLoginUrl, callbackUrlDomain) {
23373
23385
  return this.app.request.post({
23374
23386
  url: this.app.urls.userAuthorizationURL(providerCode),
23375
23387
  data: {
23376
23388
  fieldsMapping: fieldsMapping,
23377
23389
  permissions: scope,
23378
23390
  redirect: redirect,
23379
- redirectAfterLoginUrl: redirectAfterLoginUrl
23391
+ redirectAfterLoginUrl: redirectAfterLoginUrl,
23392
+ callbackUrlDomain: callbackUrlDomain
23380
23393
  }
23381
23394
  });
23382
23395
  }