@pageproof/sdk-pr 281.0.1602190868209 → 283.0.1603155681848

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pageproof/sdk-pr",
3
3
  "description": "The official PageProof SDK",
4
- "version": "281.0.1602190868209",
4
+ "version": "283.0.1603155681848",
5
5
  "main": "lib/index.js",
6
6
  "browser": "lib/pageproof.js",
7
7
  "dependencies": {
@@ -1,10 +0,0 @@
1
- export default TeamIntegrations;
2
- declare class TeamIntegrations extends API {
3
- /** @private */
4
- constructor(client: any);
5
- /**
6
- * The Admin Team monday.com API.
7
- */
8
- mondayDotCom: any;
9
- }
10
- import API from "../API";
@@ -1,47 +0,0 @@
1
- 'use strict';
2
-
3
- exports.__esModule = true;
4
-
5
- var _API2 = require('../API');
6
-
7
- var _API3 = _interopRequireDefault(_API2);
8
-
9
- var _TeamMondayDotCom = require('./TeamMondayDotCom');
10
-
11
- var _TeamMondayDotCom2 = _interopRequireDefault(_TeamMondayDotCom);
12
-
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
-
15
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
-
17
- 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; }
18
-
19
- 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; } /* Copyright (C) 2018 PageProof Holdings Limited - All Rights Reserved.
20
- * Unauthorized copying of this file, via any medium is strictly prohibited.
21
- * Proprietary and confidential.
22
- */
23
-
24
-
25
- var TeamIntegrations = function (_API) {
26
- _inherits(TeamIntegrations, _API);
27
-
28
- /** @private */
29
- function TeamIntegrations(client) {
30
- _classCallCheck(this, TeamIntegrations);
31
-
32
- // Nested APIs
33
- var _this = _possibleConstructorReturn(this, _API.call(this, client));
34
-
35
- _this.mondayDotCom = new _TeamMondayDotCom2.default(client);
36
- return _this;
37
- }
38
- /**
39
- * The Admin Team monday.com API.
40
- */
41
-
42
-
43
- return TeamIntegrations;
44
- }(_API3.default);
45
-
46
- exports.default = TeamIntegrations;
47
- //# sourceMappingURL=TeamIntegrations.js.map
@@ -1,15 +0,0 @@
1
- export default TeamMondayDotCom;
2
- declare class TeamMondayDotCom extends API {
3
- constructor(client: any);
4
- /**
5
- * Gets URL used to authenticate against monday.com.
6
- *
7
- * @example
8
- * const admin = await client.admin();
9
- * const authUrl = await admin.team.integrations.mondayDotCom.getAuthUrl();
10
- *
11
- * @returns {Promise<string>}
12
- */
13
- getAuthUrl(): Promise<string>;
14
- }
15
- import API from "../API";
@@ -1,52 +0,0 @@
1
- 'use strict';
2
-
3
- exports.__esModule = true;
4
-
5
- var _API2 = require('../API');
6
-
7
- var _API3 = _interopRequireDefault(_API2);
8
-
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
-
11
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
-
13
- 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; }
14
-
15
- 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; } /* Copyright (C) 2018 PageProof Holdings Limited - All Rights Reserved.
16
- * Unauthorized copying of this file, via any medium is strictly prohibited.
17
- * Proprietary and confidential.
18
- */
19
-
20
-
21
- var TeamMondayDotCom = function (_API) {
22
- _inherits(TeamMondayDotCom, _API);
23
-
24
- function TeamMondayDotCom() {
25
- _classCallCheck(this, TeamMondayDotCom);
26
-
27
- return _possibleConstructorReturn(this, _API.apply(this, arguments));
28
- }
29
-
30
- /**
31
- * Gets URL used to authenticate against monday.com.
32
- *
33
- * @example
34
- * const admin = await client.admin();
35
- * const authUrl = await admin.team.integrations.mondayDotCom.getAuthUrl();
36
- *
37
- * @returns {Promise<string>}
38
- */
39
- TeamMondayDotCom.prototype.getAuthUrl = function getAuthUrl() {
40
- return this.client.request('admin.team.integrations.monday-dot-com.get-request-url').then(function (response) {
41
- if (response.data) {
42
- return response.data.url;
43
- }
44
- return null;
45
- });
46
- };
47
-
48
- return TeamMondayDotCom;
49
- }(_API3.default);
50
-
51
- exports.default = TeamMondayDotCom;
52
- //# sourceMappingURL=TeamMondayDotCom.js.map