@pageproof/sdk-pr 294.0.1606091471291 → 294.0.1606100796196
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,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 2.0.0-beta.147
|
|
4
|
+
|
|
5
|
+
Released on the 23rd of November 2020.
|
|
6
|
+
|
|
7
|
+
- Allowed including parameters when retrieving options for proof integration references.
|
|
8
|
+
|
|
9
|
+
## 2.0.0-beta.146
|
|
4
10
|
|
|
5
11
|
Released on the 20th of November 2020.
|
|
6
12
|
|
|
7
13
|
- Improved support for the enhancement adapter interface.
|
|
8
14
|
|
|
15
|
+
## 2.0.0-beta.146
|
|
16
|
+
|
|
17
|
+
Released on the 24th of November 2020.
|
|
18
|
+
|
|
19
|
+
- [[#294](https://github.com/PageProofCom/sdk/pull/294)]
|
|
20
|
+
- Support for not allowing reply and edit of replies when to-dos have been requested on proof. See [TeamCommentFeatures.canAddReplies](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/TeamCommentFeatures.js~TeamCommentFeatures.html#instance-member-canAddReplies).
|
|
21
|
+
- Added `canAddReplies` to proof model, to decide whether user can reply/edit replies on a proof or not, when to-dos have been requested. See [Proofs.canAddReplies](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/Proof.js~Proof.html#instance-member-canAddReplies).
|
|
22
|
+
|
|
23
|
+
|
|
9
24
|
## 2.0.0-beta.145
|
|
10
25
|
|
|
11
26
|
Released on the 2nd of November 2020.
|
|
@@ -16,9 +16,10 @@ declare class ProofsIntegrationReferences extends API {
|
|
|
16
16
|
*
|
|
17
17
|
* @since 2.0.0-beta.144
|
|
18
18
|
* @param {string} integrationKey The unique identifier for the integration
|
|
19
|
+
* @param {object} [params] Any additional parameters required for retrieving the options
|
|
19
20
|
* @returns {Promise<Array<object>>}
|
|
20
21
|
*/
|
|
21
|
-
options(
|
|
22
|
+
options(integrationKey: string, params?: any): Promise<any[]>;
|
|
22
23
|
/**
|
|
23
24
|
* Add an integration reference to a proof
|
|
24
25
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.__esModule=true;var _API2=require("./API");var _API3=_interopRequireDefault(_API2);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")}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return call&&(typeof call==="object"||typeof call==="function")?call:self}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass)}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass}var ProofsIntegrationReferences=function(_API){_inherits(ProofsIntegrationReferences,_API);function ProofsIntegrationReferences(){_classCallCheck(this,ProofsIntegrationReferences);return _possibleConstructorReturn(this,_API.apply(this,arguments))}ProofsIntegrationReferences.prototype.availableIntegrations=function availableIntegrations(){return this.client.request("integrations.get-available-reference-integrations").then(function(response){return response.data.integrations})};ProofsIntegrationReferences.prototype.options=function options(
|
|
1
|
+
"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};var _API2=require("./API");var _API3=_interopRequireDefault(_API2);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")}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return call&&(typeof call==="object"||typeof call==="function")?call:self}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass)}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass}var ProofsIntegrationReferences=function(_API){_inherits(ProofsIntegrationReferences,_API);function ProofsIntegrationReferences(){_classCallCheck(this,ProofsIntegrationReferences);return _possibleConstructorReturn(this,_API.apply(this,arguments))}ProofsIntegrationReferences.prototype.availableIntegrations=function availableIntegrations(){return this.client.request("integrations.get-available-reference-integrations").then(function(response){return response.data.integrations})};ProofsIntegrationReferences.prototype.options=function options(integrationKey,params){return this.client.request("integrations.get-available-reference-options",{params:_extends({},params,{integration_key:integrationKey})}).then(function(response){return response.data.optionTypes})};ProofsIntegrationReferences.prototype.add=function add(proofId,integrationReference){return this.client.request("integrations.proof-integration-references.add",{proofId:proofId,integrationReference:integrationReference})};ProofsIntegrationReferences.prototype.remove=function remove(proofId,referenceId){return this.client.request("integrations.proof-integration-references.remove",{proofId:proofId,referenceId:referenceId})};return ProofsIntegrationReferences}(_API3.default);exports.default=ProofsIntegrationReferences;
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
"integrations.get-available-reference-options": {
|
|
754
754
|
"method": "GET",
|
|
755
755
|
"path": "/api/integrations/reference/options",
|
|
756
|
-
"query":
|
|
756
|
+
"query": "params"
|
|
757
757
|
},
|
|
758
758
|
"integrations.proof-integration-references.add": {
|
|
759
759
|
"version": 2,
|