@pageproof/sdk-pr 472.0.1668119030238 → 472.0.1668119358537

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.
@@ -35,7 +35,7 @@ declare class TeamFeatures extends API {
35
35
  * @param {object} options.proofs The proofs features
36
36
  * @param {boolean} options.proofs.reference Whether showing the reference field on a proof
37
37
  * @param {boolean} options.proofs.publicProofs Whether the public proofs feature is enabled.
38
- * @param {boolean} options.proofs.defaultDownloadOriginalFile The default value for whether the download option is enabled/disabled on the proof setup page.
38
+ * @param {boolean} options.proofs.defaultCanDownload The default value for whether the download option is enabled/disabled on the proof setup page.
39
39
  * @param {boolean} options.proofs.defaultIsPublic The default value for whether a proof is public on the proof setup page.
40
40
  * @param {boolean} options.proofs.messageToOwners Whether reviewers can send a message to the proof owners.
41
41
  * @param {Array<Decision>} options.proofs.allowedDecisions The array of proof decisions that allowed to the reviewer.
@@ -59,7 +59,7 @@ declare class TeamFeatures extends API {
59
59
  proofs: {
60
60
  reference: boolean;
61
61
  publicProofs: boolean;
62
- defaultDownloadOriginalFile: boolean;
62
+ defaultCanDownload: boolean;
63
63
  defaultIsPublic: boolean;
64
64
  messageToOwners: boolean;
65
65
  allowedDecisions: Decision[];
@@ -73,7 +73,7 @@ var TeamFeatures = function (_API) {
73
73
  * @param {object} options.proofs The proofs features
74
74
  * @param {boolean} options.proofs.reference Whether showing the reference field on a proof
75
75
  * @param {boolean} options.proofs.publicProofs Whether the public proofs feature is enabled.
76
- * @param {boolean} options.proofs.defaultDownloadOriginalFile The default value for whether the download option is enabled/disabled on the proof setup page.
76
+ * @param {boolean} options.proofs.defaultCanDownload The default value for whether the download option is enabled/disabled on the proof setup page.
77
77
  * @param {boolean} options.proofs.defaultIsPublic The default value for whether a proof is public on the proof setup page.
78
78
  * @param {boolean} options.proofs.messageToOwners Whether reviewers can send a message to the proof owners.
79
79
  * @param {Array<Decision>} options.proofs.allowedDecisions The array of proof decisions that allowed to the reviewer.
@@ -99,7 +99,7 @@ var TeamFeatures = function (_API) {
99
99
  var proofReference = proofs && proofs.reference;
100
100
  var publicProofs = proofs && proofs.publicProofs;
101
101
  var defaultProofIsPublic = proofs && proofs.defaultIsPublic;
102
- var defaultDownloadOriginalFile = proofs && proofs.defaultDownloadOriginalFile;
102
+ var defaultDownloadOriginalFile = proofs && proofs.defaultCanDownload;
103
103
  var messageToOwners = proofs && proofs.messageToOwners;
104
104
  var allowedDecisions = proofs && proofs.allowedDecisions;
105
105
  var enableChecklists = proofs && proofs.enableChecklists;
@@ -24,7 +24,7 @@ declare class TeamProofFeatures {
24
24
  *
25
25
  * @type {boolean}
26
26
  */
27
- defaultDownloadOriginalFile: boolean;
27
+ defaultCanDownload: boolean;
28
28
  /**
29
29
  * Whether reviewers can send a message to the proof owners.
30
30
  *
@@ -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 TeamProofFeatureSchema={reference:"ProofReference",publicProofs:"PublicProofs",defaultIsPublic:"DefaultProofIsPublic",defaultDownloadOriginalFile:"DefaultDownloadOriginalFile",messageToOwners:"MessageToOwners",allowedDecisions:"AllowedDecisions",enableChecklists:"EnableChecklists"};var TeamProofFeatures=function(){function TeamProofFeatures(){_classCallCheck(this,TeamProofFeatures)}TeamProofFeatures.prototype.fromTeamProofFeatures=function fromTeamProofFeatures(teamProofFeaturesData){(0,_transform2.default)(this,TeamProofFeatureSchema,teamProofFeaturesData);return this};return TeamProofFeatures}();exports.default=TeamProofFeatures;
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 TeamProofFeatureSchema={reference:"ProofReference",publicProofs:"PublicProofs",defaultIsPublic:"DefaultProofIsPublic",defaultCanDownload:"DefaultDownloadOriginalFile",messageToOwners:"MessageToOwners",allowedDecisions:"AllowedDecisions",enableChecklists:"EnableChecklists"};var TeamProofFeatures=function(){function TeamProofFeatures(){_classCallCheck(this,TeamProofFeatures)}TeamProofFeatures.prototype.fromTeamProofFeatures=function fromTeamProofFeatures(teamProofFeaturesData){(0,_transform2.default)(this,TeamProofFeatureSchema,teamProofFeaturesData);return this};return TeamProofFeatures}();exports.default=TeamProofFeatures;