@pageproof/sdk-pr 312.0.1614633840614 → 312.0.1615325870080

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/CHANGELOG.md CHANGED
@@ -1,11 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## 2.0.0-beta.161
3
+ ## 2.0.0-beta.162
4
4
 
5
- Released on the 25th of February 2021.
5
+ Released on the 10th of March 2021.
6
6
 
7
7
  - [[#303](https://github.com/PageProofCom/sdk/pull/303)] Added support for adding a workflow to multiple proofs. See [Proofs.addWorkflow](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/Proofs.js~Proofs.html#instance-method-addWorkflow).
8
8
 
9
+ ## 2.0.0-beta.161
10
+
11
+ Released on the 10th of March 2021.
12
+
13
+ - [[#314](https://github.com/PageProofCom/sdk/pull/314)] Adds support for loading the ID of the team the user has been invited to. See [TeamInvitation.teamId](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/TeamInvitation.js~TeamInvitation.html#instance-member-teamId).
14
+
9
15
  ## 2.0.0-beta.160
10
16
 
11
17
  Released on the 17th of February 2021.
@@ -491,7 +491,7 @@ declare class Proofs extends API {
491
491
  * @example <caption>Add a workflow to multiple proofs</caption>
492
492
  * await client.proofs.addWorkflow(['PVNM8NTI1VSTCRN5', 'PVNM8NTI1VSTCRN6'], 'WIA76GGP3I4LDJXA');
493
493
  *
494
- * @since v2.0.0-beta.161
494
+ * @since v2.0.0-beta.162
495
495
  * @param {string|Array<string>} proofIdOrIds A proof id or list of proof ids
496
496
  * @param {string} workflowTemplateId The workflow template id
497
497
  * @returns {Promise}
@@ -12,6 +12,13 @@ declare class TeamInvitation {
12
12
  * @type {string}
13
13
  */
14
14
  logo: string;
15
+ /**
16
+ * The ID of the team the user has been invited to.
17
+ *
18
+ * @since v2.0.0-beta.161
19
+ * @type {string}
20
+ */
21
+ teamId: string;
15
22
  /**
16
23
  * @private
17
24
  * @param {object} teamInvitationData The team data
@@ -1 +1 @@
1
- "use strict";exports.__esModule=true;var _transform=require("./transform");var _transform2=_interopRequireDefault(_transform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}var teamInvitationSchema={name:"Name",logo:"Logo"};var TeamInvitation=function(){function TeamInvitation(){_classCallCheck(this,TeamInvitation)}TeamInvitation.prototype.fromTeamInvitation=function fromTeamInvitation(teamInvitationData){(0,_transform2.default)(this,teamInvitationSchema,teamInvitationData);return this};return TeamInvitation}();exports.default=TeamInvitation;
1
+ "use strict";exports.__esModule=true;var _transform=require("./transform");var _transform2=_interopRequireDefault(_transform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}var teamInvitationSchema={name:"Name",logo:"Logo",teamId:"TeamId"};var TeamInvitation=function(){function TeamInvitation(){_classCallCheck(this,TeamInvitation)}TeamInvitation.prototype.fromTeamInvitation=function fromTeamInvitation(teamInvitationData){(0,_transform2.default)(this,teamInvitationSchema,teamInvitationData);return this};return TeamInvitation}();exports.default=TeamInvitation;