ryuu-client 4.2.0-beta-5 → 4.3.0-beta.1
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 +74 -0
- package/LICENSE +14 -0
- package/README.md +46 -0
- package/lib/domoapps-client.d.ts +7 -7
- package/lib/domoapps-client.js +122 -125
- package/lib/domoapps-client.js.map +1 -1
- package/{models → lib/models}/index.d.ts +2 -2
- package/{models → lib/models}/index.js.map +1 -1
- package/lib/models/interfaces/designs.d.ts +89 -0
- package/lib/models/interfaces/designs.js +3 -0
- package/lib/models/interfaces/designs.js.map +1 -0
- package/{models → lib/models}/interfaces/domo-response.d.ts +1 -0
- package/lib/models/interfaces/domo-response.js.map +1 -0
- package/{models → lib/models}/interfaces/domoappstypes.d.ts +3 -3
- package/lib/models/interfaces/domoappstypes.js.map +1 -0
- package/lib/models/interfaces/instances.d.ts +31 -0
- package/lib/models/interfaces/instances.js +3 -0
- package/lib/models/interfaces/instances.js.map +1 -0
- package/lib/models/interfaces/login-data.js.map +1 -0
- package/lib/models/interfaces/manifest.js.map +1 -0
- package/package.json +22 -12
- package/models/interfaces/domo-response.js.map +0 -1
- package/models/interfaces/domoappstypes.js.map +0 -1
- package/models/interfaces/login-data.js.map +0 -1
- package/models/interfaces/manifest.js.map +0 -1
- /package/{models → lib/models}/index.js +0 -0
- /package/{models → lib/models}/interfaces/domo-response.js +0 -0
- /package/{models → lib/models}/interfaces/domoappstypes.js +0 -0
- /package/{models → lib/models}/interfaces/login-data.d.ts +0 -0
- /package/{models → lib/models}/interfaces/login-data.js +0 -0
- /package/{models → lib/models}/interfaces/manifest.d.ts +0 -0
- /package/{models → lib/models}/interfaces/manifest.js +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
### [4.3.4-beta.1](https://github.com/DomoApps/domoapps-client/compare/v4.3.4-beta.0...v4.3.4-beta.1) (2023-12-05)
|
|
6
|
+
|
|
7
|
+
### [4.3.4-beta.0](https://github.com/DomoApps/domoapps-client/compare/v4.3.3...v4.3.4-beta.0) (2023-11-29)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Chore
|
|
11
|
+
|
|
12
|
+
* update security vulnerabilities in axios and semver ([e653e01](https://github.com/DomoApps/domoapps-client/commit/e653e0146063785b22a30aec259749d2516dbf07))
|
|
13
|
+
|
|
14
|
+
### [4.3.3](https://github.com/DomoApps/domoapps-client/compare/v4.3.3-beta.0...v4.3.3) (2023-06-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Documentation
|
|
18
|
+
|
|
19
|
+
* updated license for compatibility ([4565077](https://github.com/DomoApps/domoapps-client/commit/4565077d476e53a7c3b7270da3d49e8493249be7))
|
|
20
|
+
|
|
21
|
+
### [4.3.3-beta.0](https://github.com/DomoApps/domoapps-client/compare/v4.3.2...v4.3.3-beta.0) (2023-06-08)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Documentation
|
|
25
|
+
|
|
26
|
+
* update readme ([ea7ee24](https://github.com/DomoApps/domoapps-client/commit/ea7ee2469f1ac0861dc22bc679eb07bcc5f3f7f0))
|
|
27
|
+
|
|
28
|
+
### [4.3.2](https://github.com/DomoApps/domoapps-client/compare/v4.3.2-beta.4...v4.3.2) (2023-05-15)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* corrected windows executable home path ([b9b814b](https://github.com/DomoApps/domoapps-client/commit/b9b814b0ed073c461cd1cd9d0178cbb574ff30a0))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Chore
|
|
37
|
+
|
|
38
|
+
* delete .DS_Store ([a710fea](https://github.com/DomoApps/domoapps-client/commit/a710fea27fb92092380e3d959cb8c7473a72d0a9))
|
|
39
|
+
|
|
40
|
+
### [4.3.2-beta.4](https://github.com/DomoApps/domoapps-client/compare/v4.3.2-beta.0...v4.3.2-beta.4) (2023-04-18)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Documentation
|
|
44
|
+
|
|
45
|
+
* updated README to contain information about changed npm commands ([a3bb806](https://github.com/DomoApps/domoapps-client/commit/a3bb80694cefced1c8855dde27e672d05088f40f))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Build System
|
|
49
|
+
|
|
50
|
+
* changed file structure and removed remaining parts of bluebird ([43d5eb5](https://github.com/DomoApps/domoapps-client/commit/43d5eb53dd9bc84e42f570d5ce5b3c6138a7557f))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Chore
|
|
54
|
+
|
|
55
|
+
* **release:** 4.3.2-beta.2 ([6742f42](https://github.com/DomoApps/domoapps-client/commit/6742f42a4890f70aafa7ee081d79a0dd0c0f8deb))
|
|
56
|
+
|
|
57
|
+
### [4.3.2-beta.2](https://github.com/DomoApps/domoapps-client/compare/v4.3.2-beta.0...v4.3.2-beta.2) (2023-04-18)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Documentation
|
|
61
|
+
|
|
62
|
+
* updated README to contain information about changed npm commands ([a3bb806](https://github.com/DomoApps/domoapps-client/commit/a3bb80694cefced1c8855dde27e672d05088f40f))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Build System
|
|
66
|
+
|
|
67
|
+
* changed file structure and removed remaining parts of bluebird ([43d5eb5](https://github.com/DomoApps/domoapps-client/commit/43d5eb53dd9bc84e42f570d5ce5b3c6138a7557f))
|
|
68
|
+
|
|
69
|
+
### [4.3.2-beta.0](https://github.com/DomoApps/domoapps-client/compare/v2.10.0...v4.3.2-beta.0) (2023-03-01)
|
|
70
|
+
|
|
71
|
+
### Build System
|
|
72
|
+
|
|
73
|
+
- implemented standard version and associated scripts to properly prepare changelog releases ([dc30818](https://github.com/DomoApps/domoapps-client/commit/dc30818aef3c353a00780436b36e3a6e495968f2))
|
|
74
|
+
- update ryuu-proxy to 4.3.2 as well as a small type addition ([132d29e](https://github.com/DomoApps/domoapps-client/commit/132d29e0178f37d5578abbbecd831dee00c47847))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
DOMO, INC.
|
|
2
|
+
SDK LICENSE AGREEMENT
|
|
3
|
+
This is the Domo Software Development Kit License Agreement
|
|
4
|
+
The Domo Software Development Kit (“SDK”) is licensed to you subject to the terms of this license agreement (“License”). This License forms a legally binding contract between you and Domo, Inc., a corporation with a principal place of business at 772 East Utah Valley Drive, American Fork, UT 84003 (“Domo”) in relation to your use of the SDK. In order to use the SDK, you must first agree to this License. You may not use the SDK if you do not accept this. By using this SDK, you agree to the terms of this License. If you are agreeing to be bound by this License on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License. If you do not have the requisite authority, you may not accept the License or use the SDK on behalf of your employer or other entity. The parties agree as follows:
|
|
5
|
+
|
|
6
|
+
1. LICENSE TO SDK. Subject to the terms of this License, Domo grants you a limited, worldwide, royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop applications to run on the Domo platform. Domo or third parties own all legal right, title and interest in and to the SDK, including any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Domo reserves all rights not expressly granted to you. You may not use the SDK for any purpose not expressly permitted by this License. Except to the extent expressly permitted by applicable third party licenses, you may not redistribute or reverse engineer the SDK or any part of the SDK. You will not distribute, participate in the creation of, or promote in any way a software development kit derived from the SDK. Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License. The form and nature of the SDK that Domo provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. Domo may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Domo's sole discretion, without prior notice to you.
|
|
7
|
+
2. YOUR USE OF THE SDK. You will use the SDK and write applications only for purposes that are permitted by (a) this License and (b) applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Domo Account information, your application may only use that information to access the user's Domo Account when, and for the limited purposes for which, the user has given you permission to do so. You will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Domo or any mobile communications carrier. You are solely responsible for (and Domo has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Domo platform, and for the consequences of your actions (including any loss or damage which Domo may suffer) by doing so. You are solely responsible for (and Domo has no responsibility to you or to any third party for) any breach of your obligations under this License, any applicable third party contract or terms of service, or any applicable law or regulation, and for the consequences (including any loss or damage which Domo or any third party may suffer) of any such breach.
|
|
8
|
+
3. USING APIs. If you use any API to retrieve data from Domo, you acknowledge that the data may be protected by intellectual property rights which are owned by Domo or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional terms of service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant terms of service. If you or your application use any API to retrieve a user's data from Domo, you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
|
|
9
|
+
4. TERM AND TERMINATION. This License will continue to apply until terminated by either you or Domo as set out below. If you want to terminate this License, you may do so by ceasing your use of the SDK. Domo may at any time, terminate this License with you if: (a) you have breached any provision of this License; or (b) Domo is required to do so by law; or (c) the partner with whom Domo offered certain parts of the SDK (such as APIs) to you has terminated its relationship with Domo or ceased to offer certain parts of the SDK to you; or (d) Domo decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Domo is, in Domo's sole discretion, no longer commercially appropriate. When this License comes to an end, all of the legal rights, obligations and liabilities that you and Domo have benefited from, been subject to (or which have accrued over time while this License has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraphs 5, 6, 7, 8 and 9 shall continue to apply to such rights, obligations and liabilities indefinitely.
|
|
10
|
+
5. WARRANTY DISCLAIMER. YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM DOMO. YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. DOMO FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
|
11
|
+
6. LIMITATION OF LIABILITY. YOU EXPRESSLY UNDERSTAND YOU EXPRESSLY UNDERSTAND AND AGREE THAT DOMO, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS ARE NOT LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT DOMO OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
|
|
12
|
+
7. INDEMNIFICATION. To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Domo, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License.
|
|
13
|
+
8. RESERVATION OF RIGHTS. Nothing in this License gives you a right to use any of Domo's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. Domo may make changes to the License as it distributes new versions of the SDK. When these changes are made, Domo will make a new version of the License available on the website where the SDK is made available.
|
|
14
|
+
9. MISCELLANEOUS. This License constitutes the whole legal agreement between you and Domo and governs your use of the SDK (excluding any services which Domo may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Domo in relation to the SDK. If Domo does not exercise or enforce any legal right or remedy which is contained in this License (or which Domo has the benefit of under any applicable law), this will not be taken to be a formal waiver of Domo's rights and those rights or remedies will still be available to Domo. If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License is invalid, then that provision will be removed from this License without affecting the rest of this License. The remaining provisions of this License will continue to be valid and enforceable. THE SDK MAY BE SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. The rights granted in this License may not be assigned or transferred by you without Domo’s prior written approval. This License, and your relationship with Domo under this License, shall be governed by the laws of the State of Utah without regard to its conflict of laws provisions. You and Domo agree to submit to the exclusive jurisdiction of the courts located within Salt Lake County, Utah to resolve any legal matter arising from this License. Notwithstanding this, Domo may apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
|
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Ryuu Client
|
|
2
|
+
|
|
3
|
+
The client (endpoint) repository used by Ryuu/Domo App Platform
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.org/package/ryuu-client)
|
|
6
|
+
[](https://packagephobia.com/result?p=ryuu-client)
|
|
7
|
+
[](https://npm-stat.com/charts.html?package=ryuu-client)
|
|
8
|
+
[](https://snyk.io/test/npm/ryuu-client)
|
|
9
|
+
|
|
10
|
+
See the [developer docs](https://developer.domo.com/docs/dev-studio/dev-studio-overview) for instructions on how to install and use this library (almost solely as a dependancy of Ryuu/Ryuu-Proxy), as well as more information about the complete Domo App Platform.
|
|
11
|
+
|
|
12
|
+
## Building
|
|
13
|
+
|
|
14
|
+
To build ryuu-client, run
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm run build
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
All necessary files will be built/copied into the `lib` folder.
|
|
21
|
+
|
|
22
|
+
## Contributing
|
|
23
|
+
|
|
24
|
+
Recommended Workflow:
|
|
25
|
+
|
|
26
|
+
1. Create new branch (named "DOMO-XXXXXX")
|
|
27
|
+
2. Make Changes
|
|
28
|
+
3. Commit Changes
|
|
29
|
+
4. Test changes (if necessary, version a alpha/beta/tagged version, then release it)
|
|
30
|
+
5. Make pull request
|
|
31
|
+
6. After pull request is merged to master, bump version, then release it to npm
|
|
32
|
+
|
|
33
|
+
## Versioning
|
|
34
|
+
|
|
35
|
+
This project utilizes [standard-version](https://github.com/conventional-changelog/standard-version).
|
|
36
|
+
|
|
37
|
+
- `npm run bump` - Version bumps determined automatically via commits
|
|
38
|
+
- `npm run bumpBeta` or `npm run bump -- --prerelease beta` - 4.0.x-beta.0 (if no current beta) or 4.0.0-beta.x (if current beta exists)
|
|
39
|
+
|
|
40
|
+
### Releasing
|
|
41
|
+
|
|
42
|
+
Versions should be released on NPM and then updated in the ryuu-cli package.json
|
|
43
|
+
|
|
44
|
+
- `npm run release`
|
|
45
|
+
- `npm run releaseAlpha`
|
|
46
|
+
- `npm run releaseBeta`
|
package/lib/domoapps-client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AxiosRequestConfig, AxiosResponse } from
|
|
2
|
-
import HttpsProxyAgent = require(
|
|
3
|
-
import { manifest, DesignAggregate, LoginData } from
|
|
1
|
+
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
import HttpsProxyAgent = require('https-proxy-agent');
|
|
3
|
+
import { manifest, DesignAggregate, LoginData } from './models';
|
|
4
4
|
export = Domo;
|
|
5
5
|
declare class Domo {
|
|
6
6
|
private instance;
|
|
@@ -23,14 +23,14 @@ declare class Domo {
|
|
|
23
23
|
getEnv(): string;
|
|
24
24
|
checkSession(): Promise<void>;
|
|
25
25
|
getDomoappsURL(manifest: manifest): Promise<unknown>;
|
|
26
|
-
download(designId: string, versionParam: string): Promise<AxiosResponse<any>>;
|
|
26
|
+
download(designId: string, versionParam: string): Promise<AxiosResponse<any, any>>;
|
|
27
27
|
deleteDesign(id: string, force: boolean): Promise<unknown>;
|
|
28
28
|
unDeleteDesign(id: string): Promise<unknown>;
|
|
29
29
|
addOwners(designId: string, owners: string[]): Promise<unknown>;
|
|
30
30
|
removeOwners: (designId: string, owners: string[]) => any;
|
|
31
31
|
getOwners(designId: string): Promise<unknown>;
|
|
32
|
-
uploadAsset(designId: string, version: string, file: string, contents?: string): Promise<
|
|
33
|
-
uploadAllAssets(manifest: manifest): Promise<
|
|
32
|
+
uploadAsset(designId: string, version: string, file: string, contents?: string): Promise<File>;
|
|
33
|
+
uploadAllAssets(manifest: manifest): Promise<File[]>;
|
|
34
34
|
getAsset(designId: string, version: string, file: string): Promise<unknown>;
|
|
35
35
|
/**
|
|
36
36
|
* authenticate to a domo instance
|
|
@@ -51,7 +51,7 @@ declare class Domo {
|
|
|
51
51
|
release(designId: string, version: string): Promise<unknown>;
|
|
52
52
|
getUserInfo(): Promise<unknown>;
|
|
53
53
|
processRequest(options: AxiosRequestConfig): Promise<unknown>;
|
|
54
|
-
processRequestRaw(options: AxiosRequestConfig): Promise<AxiosResponse<any>>;
|
|
54
|
+
processRequestRaw(options: AxiosRequestConfig): Promise<AxiosResponse<any, any>>;
|
|
55
55
|
/******************* Static Functions **********************/
|
|
56
56
|
/**
|
|
57
57
|
* get user's home domo directory
|
package/lib/domoapps-client.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -42,7 +42,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
42
42
|
* domoapps-client
|
|
43
43
|
* Node client for interacting with the domoapps services
|
|
44
44
|
*/
|
|
45
|
-
//This is correct usage of Bluebird with Typescript as of most updated packages for both on 2020/10/2
|
|
46
45
|
var axios_1 = __importDefault(require("axios"));
|
|
47
46
|
var fs = require("fs-extra");
|
|
48
47
|
var glob = require("glob");
|
|
@@ -52,44 +51,45 @@ var HttpsProxyAgent = require("https-proxy-agent");
|
|
|
52
51
|
var qs_1 = __importDefault(require("qs"));
|
|
53
52
|
var POLL_INTERVAL = 1000;
|
|
54
53
|
var POLL_TIMEOUT = 30000;
|
|
55
|
-
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
|
56
54
|
var Domo = /** @class */ (function () {
|
|
57
55
|
function Domo(instanceParam, refreshTokenParam, clientIdParam, proxyParams, devTokenParam) {
|
|
58
56
|
this.removeOwners = function (designId, owners) {
|
|
59
57
|
var options = {
|
|
60
58
|
url: this.server +
|
|
61
|
-
|
|
59
|
+
'/domoapps/designs/' +
|
|
62
60
|
designId +
|
|
63
|
-
|
|
61
|
+
'/permissions/ADMINISTRATION?users=' +
|
|
64
62
|
owners,
|
|
65
|
-
method:
|
|
63
|
+
method: 'DELETE',
|
|
66
64
|
headers: {
|
|
67
|
-
Accept:
|
|
65
|
+
Accept: 'application/json',
|
|
68
66
|
},
|
|
69
67
|
};
|
|
70
68
|
return this.processRequest(options);
|
|
71
69
|
};
|
|
72
70
|
this.instance = instanceParam;
|
|
73
|
-
this.server =
|
|
71
|
+
this.server = 'https://' + instanceParam;
|
|
74
72
|
this.refreshToken = refreshTokenParam;
|
|
75
73
|
this.clientId = clientIdParam;
|
|
74
|
+
if (this.instance.endsWith('domorig.io'))
|
|
75
|
+
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
|
76
76
|
if (proxyParams &&
|
|
77
77
|
proxyParams.host != undefined &&
|
|
78
78
|
proxyParams.port != undefined) {
|
|
79
|
-
this.test =
|
|
79
|
+
this.test = 'http://' + proxyParams.host + ':' + proxyParams.port;
|
|
80
80
|
//@ts-ignore
|
|
81
81
|
if (proxyParams.username && proxyParams.password) {
|
|
82
82
|
//@ts-ignore
|
|
83
83
|
this.test =
|
|
84
|
-
|
|
84
|
+
'http://' +
|
|
85
85
|
//@ts-ignore
|
|
86
86
|
proxyParams.username +
|
|
87
|
-
|
|
87
|
+
':' +
|
|
88
88
|
//@ts-ignore
|
|
89
89
|
proxyParams.password +
|
|
90
|
-
|
|
90
|
+
'@' +
|
|
91
91
|
proxyParams.host +
|
|
92
|
-
|
|
92
|
+
':' +
|
|
93
93
|
proxyParams.port;
|
|
94
94
|
//@ts-ignore
|
|
95
95
|
this.agent = new HttpsProxyAgent(this.test);
|
|
@@ -115,46 +115,46 @@ var Domo = /** @class */ (function () {
|
|
|
115
115
|
};
|
|
116
116
|
Domo.prototype.createDesign = function (manifest) {
|
|
117
117
|
var options = {
|
|
118
|
-
url: this.server +
|
|
119
|
-
method:
|
|
118
|
+
url: this.server + '/domoapps/designs?path=manifest.json',
|
|
119
|
+
method: 'POST',
|
|
120
120
|
data: manifest,
|
|
121
121
|
};
|
|
122
122
|
return this.processRequest(options);
|
|
123
123
|
};
|
|
124
124
|
Domo.prototype.getDesign = function (id) {
|
|
125
125
|
var options = {
|
|
126
|
-
url: this.server +
|
|
127
|
-
method:
|
|
126
|
+
url: this.server + '/domoapps/designs/' + id,
|
|
127
|
+
method: 'GET',
|
|
128
128
|
headers: {
|
|
129
|
-
Accept:
|
|
129
|
+
Accept: 'application/json',
|
|
130
130
|
},
|
|
131
131
|
};
|
|
132
132
|
return this.processRequest(options);
|
|
133
133
|
};
|
|
134
134
|
Domo.prototype.getDesigns = function () {
|
|
135
135
|
var options = {
|
|
136
|
-
url: this.server +
|
|
137
|
-
method:
|
|
136
|
+
url: this.server + '/domoapps/designs/',
|
|
137
|
+
method: 'GET',
|
|
138
138
|
headers: {
|
|
139
|
-
Accept:
|
|
139
|
+
Accept: 'application/json',
|
|
140
140
|
},
|
|
141
141
|
};
|
|
142
142
|
return this.processRequest(options);
|
|
143
143
|
};
|
|
144
144
|
Domo.prototype.getSimpleDesigns = function () {
|
|
145
145
|
var options = {
|
|
146
|
-
url: this.server +
|
|
147
|
-
method:
|
|
146
|
+
url: this.server + '/domoapps/designs/simple',
|
|
147
|
+
method: 'GET',
|
|
148
148
|
headers: {
|
|
149
|
-
Accept:
|
|
149
|
+
Accept: 'application/json',
|
|
150
150
|
},
|
|
151
151
|
};
|
|
152
152
|
return this.processRequest(options);
|
|
153
153
|
};
|
|
154
154
|
Domo.prototype.createContext = function (designId, mapping) {
|
|
155
155
|
var options = {
|
|
156
|
-
url: this.server +
|
|
157
|
-
method:
|
|
156
|
+
url: this.server + '/domoapps/apps/v2/contexts',
|
|
157
|
+
method: 'POST',
|
|
158
158
|
data: { designId: designId, mapping: mapping },
|
|
159
159
|
};
|
|
160
160
|
return this.processRequest(options)
|
|
@@ -162,7 +162,7 @@ var Domo = /** @class */ (function () {
|
|
|
162
162
|
return res[0];
|
|
163
163
|
})
|
|
164
164
|
.catch(function (err) {
|
|
165
|
-
console.log(
|
|
165
|
+
console.log('Error: ', JSON.stringify(err));
|
|
166
166
|
return;
|
|
167
167
|
});
|
|
168
168
|
};
|
|
@@ -174,10 +174,9 @@ var Domo = /** @class */ (function () {
|
|
|
174
174
|
Domo.prototype.checkSession = function () {
|
|
175
175
|
var options = {
|
|
176
176
|
url: 'https://' + this.getInstance() + '/auth/validate',
|
|
177
|
-
method: 'GET'
|
|
177
|
+
method: 'GET',
|
|
178
178
|
};
|
|
179
|
-
return this.processRequest(options)
|
|
180
|
-
.then(function (res) {
|
|
179
|
+
return this.processRequest(options).then(function (res) {
|
|
181
180
|
if (res.isValid)
|
|
182
181
|
Promise.resolve(true);
|
|
183
182
|
else
|
|
@@ -190,7 +189,7 @@ var Domo = /** @class */ (function () {
|
|
|
190
189
|
return __generator(this, function (_b) {
|
|
191
190
|
switch (_b.label) {
|
|
192
191
|
case 0:
|
|
193
|
-
if (!manifest[
|
|
192
|
+
if (!manifest['proxyId']) return [3 /*break*/, 1];
|
|
194
193
|
_a = manifest.proxyId;
|
|
195
194
|
return [3 /*break*/, 3];
|
|
196
195
|
case 1: return [4 /*yield*/, this.createApp(manifest.id).then(function (test) {
|
|
@@ -203,18 +202,18 @@ var Domo = /** @class */ (function () {
|
|
|
203
202
|
case 3:
|
|
204
203
|
uuid = _a;
|
|
205
204
|
options = {
|
|
206
|
-
url: this.server +
|
|
205
|
+
url: this.server + '/api/content/v1/mobile/environment',
|
|
207
206
|
};
|
|
208
207
|
return [2 /*return*/, this.processRequest(options)
|
|
209
208
|
.then(function (res) {
|
|
210
209
|
var data = res;
|
|
211
210
|
//@ts-ignore
|
|
212
|
-
data.url = "https://"
|
|
211
|
+
data.url = "https://".concat(uuid, ".").concat(data.domoappsDomain);
|
|
213
212
|
return data;
|
|
214
213
|
})
|
|
215
214
|
.catch(function () {
|
|
216
215
|
// This catch is for running on rigs in which the domoappsDomain wouldn't be accessible/correct
|
|
217
|
-
var data = { url: "https://"
|
|
216
|
+
var data = { url: "https://".concat(uuid, ".domoapps.").concat(this.getEnv()) };
|
|
218
217
|
return data;
|
|
219
218
|
})];
|
|
220
219
|
}
|
|
@@ -222,19 +221,20 @@ var Domo = /** @class */ (function () {
|
|
|
222
221
|
});
|
|
223
222
|
};
|
|
224
223
|
Domo.prototype.download = function (designId, versionParam) {
|
|
225
|
-
var version = versionParam ||
|
|
224
|
+
var version = versionParam || 'latest';
|
|
226
225
|
var options = {
|
|
227
226
|
url: this.server +
|
|
228
|
-
|
|
227
|
+
'/domoapps/designs/' +
|
|
229
228
|
designId +
|
|
230
|
-
|
|
229
|
+
'/versions/' +
|
|
231
230
|
version +
|
|
232
|
-
|
|
233
|
-
method:
|
|
234
|
-
responseType:
|
|
231
|
+
'/assets',
|
|
232
|
+
method: 'GET',
|
|
233
|
+
responseType: 'stream',
|
|
235
234
|
headers: null,
|
|
236
235
|
};
|
|
237
236
|
return getAuthHeader(this.clientId, this.refreshToken, this.server, this.devToken, this.agent).then(function (headers) {
|
|
237
|
+
//@ts-ignore
|
|
238
238
|
options.headers = headers;
|
|
239
239
|
//@ts-ignore
|
|
240
240
|
return (0, axios_1.default)(options);
|
|
@@ -242,20 +242,20 @@ var Domo = /** @class */ (function () {
|
|
|
242
242
|
};
|
|
243
243
|
Domo.prototype.deleteDesign = function (id, force) {
|
|
244
244
|
var options = {
|
|
245
|
-
url: this.server +
|
|
246
|
-
method:
|
|
245
|
+
url: this.server + '/domoapps/designs/' + id + '?force=' + force,
|
|
246
|
+
method: 'DELETE',
|
|
247
247
|
headers: {
|
|
248
|
-
Accept:
|
|
248
|
+
Accept: 'application/json',
|
|
249
249
|
},
|
|
250
250
|
};
|
|
251
251
|
return this.processRequest(options);
|
|
252
252
|
};
|
|
253
253
|
Domo.prototype.unDeleteDesign = function (id) {
|
|
254
254
|
var options = {
|
|
255
|
-
url: this.server +
|
|
256
|
-
method:
|
|
255
|
+
url: this.server + '/domoapps/designs/' + id + '/undelete',
|
|
256
|
+
method: 'PUT',
|
|
257
257
|
headers: {
|
|
258
|
-
Accept:
|
|
258
|
+
Accept: 'application/json',
|
|
259
259
|
},
|
|
260
260
|
};
|
|
261
261
|
return this.processRequest(options);
|
|
@@ -263,14 +263,14 @@ var Domo = /** @class */ (function () {
|
|
|
263
263
|
Domo.prototype.addOwners = function (designId, owners) {
|
|
264
264
|
var options = {
|
|
265
265
|
url: this.server +
|
|
266
|
-
|
|
266
|
+
'/domoapps/designs/' +
|
|
267
267
|
designId +
|
|
268
|
-
|
|
269
|
-
method:
|
|
268
|
+
'/permissions/ADMINISTRATION',
|
|
269
|
+
method: 'POST',
|
|
270
270
|
data: [owners],
|
|
271
271
|
headers: {
|
|
272
|
-
Accept:
|
|
273
|
-
|
|
272
|
+
Accept: 'application/json',
|
|
273
|
+
'Content-Type': 'application/json',
|
|
274
274
|
},
|
|
275
275
|
};
|
|
276
276
|
return this.processRequest(options);
|
|
@@ -278,28 +278,28 @@ var Domo = /** @class */ (function () {
|
|
|
278
278
|
Domo.prototype.getOwners = function (designId) {
|
|
279
279
|
var options = {
|
|
280
280
|
url: this.server +
|
|
281
|
-
|
|
281
|
+
'/domoapps/designs/' +
|
|
282
282
|
designId +
|
|
283
|
-
|
|
284
|
-
method:
|
|
283
|
+
'/permissions/ADMINISTRATION',
|
|
284
|
+
method: 'GET',
|
|
285
285
|
headers: {
|
|
286
|
-
Accept:
|
|
286
|
+
Accept: 'application/json',
|
|
287
287
|
},
|
|
288
288
|
};
|
|
289
289
|
return this.processRequest(options);
|
|
290
290
|
};
|
|
291
291
|
Domo.prototype.uploadAsset = function (designId, version, file, contents) {
|
|
292
|
-
if (file.indexOf(
|
|
292
|
+
if (file.indexOf(' ') !== -1) {
|
|
293
293
|
return new Promise(function (resolve, reject) {
|
|
294
|
-
reject(
|
|
294
|
+
reject('Spaces in file names not allowed. Please rename ' + file);
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
var form = new FormData();
|
|
298
298
|
contents = contents || fs.createReadStream(file);
|
|
299
|
-
form.append(
|
|
299
|
+
form.append('file', contents);
|
|
300
300
|
var options = {
|
|
301
|
-
url: this.server
|
|
302
|
-
method:
|
|
301
|
+
url: "".concat(this.server, "/domoapps/designs/").concat(designId, "/versions/").concat(version, "/assets?path=").concat(file),
|
|
302
|
+
method: 'POST',
|
|
303
303
|
data: form,
|
|
304
304
|
headers: form.getHeaders(),
|
|
305
305
|
maxBodyLength: Infinity,
|
|
@@ -313,7 +313,7 @@ var Domo = /** @class */ (function () {
|
|
|
313
313
|
// TODO: add unit test for this
|
|
314
314
|
Domo.prototype.uploadAllAssets = function (manifest) {
|
|
315
315
|
var _this = this;
|
|
316
|
-
var ignore = [
|
|
316
|
+
var ignore = ['**/*/node_modules/**/*', 'node_modules/**/*'];
|
|
317
317
|
var userIgnore = manifest.ignore;
|
|
318
318
|
if (userIgnore) {
|
|
319
319
|
if (userIgnore instanceof Array) {
|
|
@@ -323,12 +323,12 @@ var Domo = /** @class */ (function () {
|
|
|
323
323
|
return Promise.reject('The manifest.json "ignore" property must be an Array');
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
var manifestUpload = _this.uploadAsset(manifest.id, manifest.version,
|
|
326
|
+
var manifestUpload = _this.uploadAsset(manifest.id, manifest.version, 'manifest.json', JSON.stringify(manifest));
|
|
327
327
|
return manifestUpload.then(function () {
|
|
328
328
|
var rest = glob
|
|
329
|
-
.sync(
|
|
329
|
+
.sync('**/*', { ignore: ignore })
|
|
330
330
|
.filter(function (file) {
|
|
331
|
-
return !fs.lstatSync(file).isDirectory() && file !==
|
|
331
|
+
return !fs.lstatSync(file).isDirectory() && file !== 'manifest.json';
|
|
332
332
|
})
|
|
333
333
|
.map(function (file) {
|
|
334
334
|
//CATCH THE ERROR HERE
|
|
@@ -341,15 +341,15 @@ var Domo = /** @class */ (function () {
|
|
|
341
341
|
Domo.prototype.getAsset = function (designId, version, file) {
|
|
342
342
|
var options = {
|
|
343
343
|
url: this.server +
|
|
344
|
-
|
|
344
|
+
'/domoapps/designs/' +
|
|
345
345
|
designId +
|
|
346
|
-
|
|
346
|
+
'/versions/' +
|
|
347
347
|
version +
|
|
348
|
-
|
|
348
|
+
'/assets/' +
|
|
349
349
|
file,
|
|
350
|
-
method:
|
|
350
|
+
method: 'GET',
|
|
351
351
|
headers: {
|
|
352
|
-
Accept:
|
|
352
|
+
Accept: 'application/json',
|
|
353
353
|
},
|
|
354
354
|
};
|
|
355
355
|
return this.processRequest(options);
|
|
@@ -380,12 +380,12 @@ var Domo = /** @class */ (function () {
|
|
|
380
380
|
};
|
|
381
381
|
Domo.prototype.getNewAuthorization = function () {
|
|
382
382
|
var _self = this;
|
|
383
|
-
var scope =
|
|
383
|
+
var scope = 'domoapps content domo';
|
|
384
384
|
//@ts-ignore
|
|
385
385
|
return getAuthToken(this.server, this.clientId, scope, this.agent).then(function (resp) {
|
|
386
386
|
getAuthorizationPrompt(resp);
|
|
387
|
-
return poll(getRefreshToken, POLL_TIMEOUT, POLL_INTERVAL, _self.clientId, resp[
|
|
388
|
-
_self.refreshToken = data[
|
|
387
|
+
return poll(getRefreshToken, POLL_TIMEOUT, POLL_INTERVAL, _self.clientId, resp['device_code'], _self.server, _self.agent).then(function (data) {
|
|
388
|
+
_self.refreshToken = data['refresh_token'];
|
|
389
389
|
return _self.getLoginUser();
|
|
390
390
|
});
|
|
391
391
|
});
|
|
@@ -393,8 +393,8 @@ var Domo = /** @class */ (function () {
|
|
|
393
393
|
// createApp currently is only used to provide proxyIds when one isn't already in the manifest
|
|
394
394
|
Domo.prototype.createApp = function (designId, domoappId) {
|
|
395
395
|
var options = {
|
|
396
|
-
url: this.server +
|
|
397
|
-
method:
|
|
396
|
+
url: this.server + '/api/apps/v1/instances',
|
|
397
|
+
method: 'POST',
|
|
398
398
|
data: {
|
|
399
399
|
designId: designId,
|
|
400
400
|
id: domoappId ? domoappId : null,
|
|
@@ -414,14 +414,14 @@ var Domo = /** @class */ (function () {
|
|
|
414
414
|
}
|
|
415
415
|
var options = {
|
|
416
416
|
url: this.server +
|
|
417
|
-
|
|
417
|
+
'/domoapps/apps?pageId=' +
|
|
418
418
|
pageId +
|
|
419
|
-
|
|
419
|
+
'&cardTitle=' +
|
|
420
420
|
cardTitle,
|
|
421
|
-
method:
|
|
421
|
+
method: 'POST',
|
|
422
422
|
data: qs_1.default.stringify(data),
|
|
423
423
|
headers: {
|
|
424
|
-
|
|
424
|
+
'Content-Type': 'application/json',
|
|
425
425
|
},
|
|
426
426
|
};
|
|
427
427
|
return this.processRequest(options);
|
|
@@ -431,8 +431,8 @@ var Domo = /** @class */ (function () {
|
|
|
431
431
|
*/
|
|
432
432
|
Domo.prototype.getVersions = function (designId) {
|
|
433
433
|
var options = {
|
|
434
|
-
url: this.server +
|
|
435
|
-
method:
|
|
434
|
+
url: this.server + '/domoapps/designs/' + designId + '/versions',
|
|
435
|
+
method: 'GET',
|
|
436
436
|
};
|
|
437
437
|
return this.processRequest(options);
|
|
438
438
|
};
|
|
@@ -442,18 +442,18 @@ var Domo = /** @class */ (function () {
|
|
|
442
442
|
*/
|
|
443
443
|
Domo.prototype.release = function (designId, version) {
|
|
444
444
|
var options = {
|
|
445
|
-
url: this.server +
|
|
446
|
-
method:
|
|
445
|
+
url: this.server + '/domoapps/designs/' + designId + '/release',
|
|
446
|
+
method: 'POST',
|
|
447
447
|
};
|
|
448
448
|
if (version) {
|
|
449
|
-
options.url +=
|
|
449
|
+
options.url += '?version=' + version;
|
|
450
450
|
}
|
|
451
451
|
return this.processRequest(options);
|
|
452
452
|
};
|
|
453
453
|
Domo.prototype.getUserInfo = function () {
|
|
454
454
|
var options = {
|
|
455
|
-
url: this.server +
|
|
456
|
-
method:
|
|
455
|
+
url: this.server + '/api/content/v2/users/me',
|
|
456
|
+
method: 'GET',
|
|
457
457
|
};
|
|
458
458
|
return this.processRequest(options);
|
|
459
459
|
};
|
|
@@ -467,6 +467,7 @@ var Domo = /** @class */ (function () {
|
|
|
467
467
|
options.headers = Object.assign(options.headers, headers);
|
|
468
468
|
}
|
|
469
469
|
else {
|
|
470
|
+
//@ts-ignore
|
|
470
471
|
options.headers = headers;
|
|
471
472
|
}
|
|
472
473
|
if (agent)
|
|
@@ -491,6 +492,7 @@ var Domo = /** @class */ (function () {
|
|
|
491
492
|
options.headers = Object.assign(options.headers, headers);
|
|
492
493
|
}
|
|
493
494
|
else {
|
|
495
|
+
//@ts-ignore
|
|
494
496
|
options.headers = headers;
|
|
495
497
|
}
|
|
496
498
|
if (agent)
|
|
@@ -510,14 +512,13 @@ var Domo = /** @class */ (function () {
|
|
|
510
512
|
* get user's home domo directory
|
|
511
513
|
*/
|
|
512
514
|
Domo.getHomeDir = function () {
|
|
513
|
-
return (process.env[process.platform ==
|
|
514
|
-
"/.config/configstore");
|
|
515
|
+
return (process.env[process.platform == 'win32' ? 'USERPROFILE' : 'HOME'].replace(/\\/g, '/') + '/.config/configstore');
|
|
515
516
|
};
|
|
516
517
|
/**
|
|
517
518
|
* get user's most recent login instance
|
|
518
519
|
*/
|
|
519
520
|
Domo.getMostRecentLogin = function () {
|
|
520
|
-
var logins = glob.sync(Domo.getHomeDir() +
|
|
521
|
+
var logins = glob.sync(Domo.getHomeDir() + '/*.json');
|
|
521
522
|
if (logins.length === 0)
|
|
522
523
|
return {};
|
|
523
524
|
var recent = logins.reduce(function (prev, next) {
|
|
@@ -530,8 +531,8 @@ var Domo = /** @class */ (function () {
|
|
|
530
531
|
* @deprecated: use createApp
|
|
531
532
|
*/
|
|
532
533
|
Domo.createUUID = function () {
|
|
533
|
-
return
|
|
534
|
-
var r = (Math.random() * 16) | 0, v = c ==
|
|
534
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
535
|
+
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
535
536
|
return v.toString(16);
|
|
536
537
|
});
|
|
537
538
|
};
|
|
@@ -540,14 +541,14 @@ var Domo = /** @class */ (function () {
|
|
|
540
541
|
/****************************OAuth Requests****************************/
|
|
541
542
|
function getAuthorizationPrompt(token) {
|
|
542
543
|
var url = getAuthURL(token);
|
|
543
|
-
console.log(
|
|
544
|
+
console.log('Please authorize this login in the browser window, if not opened automatically, please visit ' +
|
|
544
545
|
url);
|
|
545
546
|
open(url);
|
|
546
547
|
}
|
|
547
548
|
function getAuthToken(server, clientId, scope, agent) {
|
|
548
549
|
var options = {
|
|
549
|
-
url: server +
|
|
550
|
-
method:
|
|
550
|
+
url: server + '/api/oauth2/device_authorization',
|
|
551
|
+
method: 'POST',
|
|
551
552
|
data: qs_1.default.stringify({
|
|
552
553
|
client_id: clientId,
|
|
553
554
|
scope: scope,
|
|
@@ -558,16 +559,16 @@ function getAuthToken(server, clientId, scope, agent) {
|
|
|
558
559
|
return (0, axios_1.default)(options).then(verifyResponse).catch(handleError);
|
|
559
560
|
}
|
|
560
561
|
function getAuthURL(token) {
|
|
561
|
-
var url = token[
|
|
562
|
+
var url = token['verification_uri'] + '?user_code=' + token['user_code'];
|
|
562
563
|
return url;
|
|
563
564
|
}
|
|
564
565
|
function getRefreshToken(clientId, deviceToken, server, agent) {
|
|
565
566
|
var options = {
|
|
566
|
-
url: server +
|
|
567
|
-
method:
|
|
567
|
+
url: server + '/api/oauth2/token',
|
|
568
|
+
method: 'POST',
|
|
568
569
|
data: qs_1.default.stringify({
|
|
569
570
|
client_id: clientId,
|
|
570
|
-
grant_type:
|
|
571
|
+
grant_type: 'device_code',
|
|
571
572
|
device_code: deviceToken,
|
|
572
573
|
}),
|
|
573
574
|
};
|
|
@@ -577,27 +578,27 @@ function getRefreshToken(clientId, deviceToken, server, agent) {
|
|
|
577
578
|
}
|
|
578
579
|
function getAccessToken(clientId, refreshToken, server, agent) {
|
|
579
580
|
var options = {
|
|
580
|
-
url: server +
|
|
581
|
-
method:
|
|
581
|
+
url: server + '/api/oauth2/token',
|
|
582
|
+
method: 'POST',
|
|
582
583
|
data: qs_1.default.stringify({
|
|
583
584
|
client_id: clientId,
|
|
584
|
-
grant_type:
|
|
585
|
+
grant_type: 'refresh_token',
|
|
585
586
|
refresh_token: refreshToken,
|
|
586
587
|
}),
|
|
587
588
|
headers: {
|
|
588
|
-
|
|
589
|
+
'content-type': 'application/x-www-form-urlencoded;charset=utf-8',
|
|
589
590
|
},
|
|
590
591
|
};
|
|
591
592
|
if (agent)
|
|
592
593
|
options.httpsAgent = agent;
|
|
593
|
-
return axios_1.default
|
|
594
|
+
return (0, axios_1.default)(options).then(verifyResponse).catch(handleError);
|
|
594
595
|
}
|
|
595
596
|
function getSID(server, accessToken, agent) {
|
|
596
597
|
var options = {
|
|
597
|
-
url: server +
|
|
598
|
-
method:
|
|
598
|
+
url: server + '/api/oauth2/sid',
|
|
599
|
+
method: 'GET',
|
|
599
600
|
headers: {
|
|
600
|
-
Authorization: "Bearer "
|
|
601
|
+
Authorization: "Bearer ".concat(accessToken),
|
|
601
602
|
},
|
|
602
603
|
};
|
|
603
604
|
options.httpsAgent = agent;
|
|
@@ -608,7 +609,7 @@ function poll(fn, timeout, interval, clientId, token, server, agent) {
|
|
|
608
609
|
interval = interval || 100;
|
|
609
610
|
var checkCondition = function (resolve, reject) {
|
|
610
611
|
var p = fn(clientId, token, server, agent);
|
|
611
|
-
console.log(
|
|
612
|
+
console.log('Waiting for browser authentication...');
|
|
612
613
|
p.then(function (resp) {
|
|
613
614
|
resolve(resp);
|
|
614
615
|
}, function () {
|
|
@@ -616,7 +617,7 @@ function poll(fn, timeout, interval, clientId, token, server, agent) {
|
|
|
616
617
|
setTimeout(checkCondition, interval, resolve, reject);
|
|
617
618
|
}
|
|
618
619
|
else {
|
|
619
|
-
reject(new Error(
|
|
620
|
+
reject(new Error('Timed out for authorization verification'));
|
|
620
621
|
}
|
|
621
622
|
});
|
|
622
623
|
};
|
|
@@ -626,32 +627,28 @@ function getAuthHeader(clientId, refreshToken, server, devToken, agent) {
|
|
|
626
627
|
if (devToken) {
|
|
627
628
|
return getDevTokenHeader(refreshToken);
|
|
628
629
|
}
|
|
629
|
-
return
|
|
630
|
-
//@ts-ignore
|
|
630
|
+
return getAccessToken(clientId, refreshToken, server, agent)
|
|
631
631
|
.then(function (resp) {
|
|
632
|
-
return getSIDHeader(server, resp[
|
|
632
|
+
return getSIDHeader(server, resp['access_token'], agent);
|
|
633
633
|
})
|
|
634
|
-
//@ts-ignore
|
|
635
634
|
.catch(function (err) {
|
|
636
635
|
return Promise.reject(err);
|
|
637
|
-
})
|
|
636
|
+
});
|
|
638
637
|
}
|
|
639
638
|
function getSIDHeader(server, accessToken, agent) {
|
|
640
|
-
return
|
|
641
|
-
|
|
642
|
-
.then(function (resp) {
|
|
643
|
-
var headers = { "X-Domo-Authentication": resp.sid };
|
|
639
|
+
return getSID(server, accessToken, agent).then(function (resp) {
|
|
640
|
+
var headers = { 'X-Domo-Authentication': resp.sid };
|
|
644
641
|
return headers;
|
|
645
|
-
})
|
|
642
|
+
});
|
|
646
643
|
}
|
|
647
644
|
function getDevTokenHeader(token) {
|
|
648
|
-
return Promise.resolve({
|
|
645
|
+
return Promise.resolve({ 'X-Domo-Developer-Token': token });
|
|
649
646
|
}
|
|
650
647
|
function setToken(token) {
|
|
651
648
|
//THIS MIGHT BE BROKEN
|
|
652
649
|
var data = JSON.parse(token);
|
|
653
|
-
if (data[
|
|
654
|
-
return data[
|
|
650
|
+
if (data['refresh_token'])
|
|
651
|
+
return data['refresh_token'];
|
|
655
652
|
}
|
|
656
653
|
function verifyResponse(response) {
|
|
657
654
|
var body = response.data;
|
|
@@ -690,22 +687,22 @@ function handleError(response) {
|
|
|
690
687
|
return Promise.reject(handledError);
|
|
691
688
|
}
|
|
692
689
|
function giveFailureMessage(code, url) {
|
|
693
|
-
var message =
|
|
690
|
+
var message = '';
|
|
694
691
|
if (code != 0) {
|
|
695
692
|
switch (code) {
|
|
696
693
|
case 302: {
|
|
697
694
|
message =
|
|
698
|
-
|
|
695
|
+
'The url ' +
|
|
699
696
|
url +
|
|
700
|
-
|
|
697
|
+
' is not currently in use. There possibly might be a typo, or it was moved.';
|
|
701
698
|
break;
|
|
702
699
|
}
|
|
703
700
|
case 403: {
|
|
704
|
-
message =
|
|
701
|
+
message = 'Authentication failed, please try logging in again.';
|
|
705
702
|
break;
|
|
706
703
|
}
|
|
707
704
|
case 401: {
|
|
708
|
-
message =
|
|
705
|
+
message = 'Authentication failed, please try logging in again.';
|
|
709
706
|
break;
|
|
710
707
|
}
|
|
711
708
|
case 502: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domoapps-client.js","sourceRoot":"","sources":["../../lib/domoapps-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,qGAAqG;AACrG,gDAA6E;AAC7E,6BAAgC;AAChC,2BAA8B;AAC9B,oCAAuC;AACvC,2BAA8B;AAC9B,mDAAsD;AAWtD,0CAAoB;AAEpB,IAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,IAAM,YAAY,GAAG,KAAK,CAAC;AAG3B,OAAO,CAAC,GAAG,CAAC,4BAA4B,GAAG,GAAG,CAAC;AAE/C;IAQE,cACE,aAAqB,EACrB,iBAAyB,EACzB,aAAqB,EACrB,WAAoD,EACpD,aAAuB;QA0MzB,iBAAY,GAAG,UAAU,QAAgB,EAAE,MAAgB;YACzD,IAAM,OAAO,GAAuB;gBAClC,GAAG,EACD,IAAI,CAAC,MAAM;oBACX,oBAAoB;oBACpB,QAAQ;oBACR,oCAAoC;oBACpC,MAAM;gBACR,MAAM,EAAE,QAAQ;gBAChB,OAAO,EAAE;oBACP,MAAM,EAAE,kBAAkB;iBAC3B;aACF,CAAC;YACF,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC,CAAC;QAtNA,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,UAAU,GAAG,aAAa,CAAC;QACzC,IAAI,CAAC,YAAY,GAAG,iBAAiB,CAAC;QACtC,IAAI,CAAC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,CAAC;gBACR,OAAO,GAAG,qDAAqD,CAAC;gBAChE,MAAM;aACP;YACD,KAAK,GAAG,CAAC,CAAC;gBACR,OAAO,GAAG,qDAAqD,CAAC;gBAChE,MAAM;aACP;YACD,KAAK,GAAG,CAAC,CAAC;gBACR,OAAO,GAAG,sDAAsD,CAAC;gBACjE,MAAM;aACP;SACF;KACF;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AA9wBD,iBAAS,IAAI,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DomoResponse, DomoRequestError, DevToken, DomoSIDHeader } from './interfaces/domo-response';
|
|
1
|
+
export { DomoResponse, DomoRequestError, DevToken, DomoSIDHeader, } from './interfaces/domo-response';
|
|
2
2
|
export { LoginData } from './interfaces/login-data';
|
|
3
3
|
export { manifest, DataPoint } from './interfaces/manifest';
|
|
4
|
-
export { DesignAggregate } from './interfaces/domoappstypes';
|
|
4
|
+
export { DesignAggregate, DesignVersion } from './interfaces/domoappstypes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../models/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Instance } from './instances';
|
|
2
|
+
export interface Design {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
owner?: string;
|
|
6
|
+
createdBy?: string;
|
|
7
|
+
createdDate: string;
|
|
8
|
+
updatedBy?: string;
|
|
9
|
+
updatedDate: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
versions?: DesignVersion[];
|
|
12
|
+
latestVersion?: string;
|
|
13
|
+
instances?: Instance[];
|
|
14
|
+
referencingCards?: any;
|
|
15
|
+
owners?: any[];
|
|
16
|
+
creator?: any[];
|
|
17
|
+
deletedDate?: string;
|
|
18
|
+
oauthEnabled: boolean;
|
|
19
|
+
trusted: boolean;
|
|
20
|
+
hasThumbnail: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface DesignVersion {
|
|
23
|
+
id: string;
|
|
24
|
+
designId: string;
|
|
25
|
+
version: string;
|
|
26
|
+
draft: Boolean;
|
|
27
|
+
trusted: Boolean;
|
|
28
|
+
publicAssetsEnabled: boolean;
|
|
29
|
+
scopes: string[];
|
|
30
|
+
datasetsMapping?: DataPoint[];
|
|
31
|
+
collectionsMapping?: any;
|
|
32
|
+
accountsMapping?: any;
|
|
33
|
+
actionsMapping?: any;
|
|
34
|
+
workflowsMapping?: any;
|
|
35
|
+
packagesMapping?: any;
|
|
36
|
+
size: any;
|
|
37
|
+
fullpage: boolean;
|
|
38
|
+
flags: Map<string, Boolean>;
|
|
39
|
+
createdBy?: string;
|
|
40
|
+
createdDate: string;
|
|
41
|
+
updatedBy?: string;
|
|
42
|
+
updatedDate: string;
|
|
43
|
+
releasedDate?: string;
|
|
44
|
+
deletedDate?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface DataPoint {
|
|
47
|
+
dataSetId: string;
|
|
48
|
+
alias: string;
|
|
49
|
+
fields: Field[];
|
|
50
|
+
dql?: boolean;
|
|
51
|
+
}
|
|
52
|
+
export interface Field {
|
|
53
|
+
alias: string;
|
|
54
|
+
columnName: string;
|
|
55
|
+
fieldType?: any;
|
|
56
|
+
beastModeName?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface AppData {
|
|
59
|
+
authorities: string[];
|
|
60
|
+
authorizedAppDomains: string[];
|
|
61
|
+
authorizedDomains: string[];
|
|
62
|
+
buzzAudienceDefaultsObjectChat: string;
|
|
63
|
+
customer: string;
|
|
64
|
+
customerTier: string;
|
|
65
|
+
domoappsDomain: string;
|
|
66
|
+
environment: string;
|
|
67
|
+
features: Object[];
|
|
68
|
+
isSaaSaas: boolean;
|
|
69
|
+
locale: string;
|
|
70
|
+
url: string;
|
|
71
|
+
useDomoAnalytics: true;
|
|
72
|
+
user: User;
|
|
73
|
+
}
|
|
74
|
+
interface User {
|
|
75
|
+
detail: Detail;
|
|
76
|
+
displayName: string;
|
|
77
|
+
id: number;
|
|
78
|
+
invitorUserId: number;
|
|
79
|
+
role: string;
|
|
80
|
+
roleId: number;
|
|
81
|
+
}
|
|
82
|
+
interface Detail {
|
|
83
|
+
active: boolean;
|
|
84
|
+
created: number;
|
|
85
|
+
email: string;
|
|
86
|
+
modified: number;
|
|
87
|
+
pending: boolean;
|
|
88
|
+
}
|
|
89
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"designs.js","sourceRoot":"","sources":["../../../src/models/interfaces/designs.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domo-response.js","sourceRoot":"","sources":["../../../src/models/interfaces/domo-response.ts"],"names":[],"mappings":""}
|
|
@@ -10,9 +10,9 @@ export declare enum Permission {
|
|
|
10
10
|
READ = "READ",
|
|
11
11
|
WRITE = "WRITE"
|
|
12
12
|
}
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
13
|
+
export type SortDirection = 'asc' | 'desc';
|
|
14
|
+
export type DesignRequestOptions = 'versions' | 'owners' | 'apps' | 'cards' | 'none';
|
|
15
|
+
export type AssetSection = 'appstore' | 'domoapps';
|
|
16
16
|
export interface RouteParams {
|
|
17
17
|
designId?: string;
|
|
18
18
|
cardId?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domoappstypes.js","sourceRoot":"","sources":["../../../src/models/interfaces/domoappstypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKT;AALH,WAAY,mBAAmB;IAC3B,2CAAoB,CAAA;IACpB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACrB,CAAC,EALS,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK5B;AAED,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,+CAAiC,CAAA;IACjC,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,6BAAe,CAAA;AACjB,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAoLD;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DataPoint } from './designs';
|
|
2
|
+
export interface InstanceAndCards {
|
|
3
|
+
instance: AppInstance;
|
|
4
|
+
cardProperties: any;
|
|
5
|
+
}
|
|
6
|
+
export interface AppInstance {
|
|
7
|
+
id: string;
|
|
8
|
+
designId: string;
|
|
9
|
+
designVersion?: string;
|
|
10
|
+
datasetsMapping?: DataPoint[];
|
|
11
|
+
collectionsMapping?: any;
|
|
12
|
+
accountsMapping?: any;
|
|
13
|
+
actionsMapping?: any;
|
|
14
|
+
workflowsMapping?: any;
|
|
15
|
+
packagesMapping?: any;
|
|
16
|
+
owner: string;
|
|
17
|
+
createdBy: string;
|
|
18
|
+
createdDate: string;
|
|
19
|
+
updatedBy: string;
|
|
20
|
+
updatedDate: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface Instance {
|
|
24
|
+
id: string;
|
|
25
|
+
context: any;
|
|
26
|
+
owner: string;
|
|
27
|
+
createdBy: string;
|
|
28
|
+
createdDate: string;
|
|
29
|
+
updatedBy: string;
|
|
30
|
+
updatedDate: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instances.js","sourceRoot":"","sources":["../../../src/models/interfaces/instances.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-data.js","sourceRoot":"","sources":["../../../src/models/interfaces/login-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/interfaces/manifest.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,33 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ryuu-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0-beta.1",
|
|
4
4
|
"description": "Node client for ryuu services",
|
|
5
5
|
"author": "Domo",
|
|
6
|
+
"exports": "./lib/domoapps-client.js",
|
|
6
7
|
"main": "lib/domoapps-client.js",
|
|
7
8
|
"types": "lib/domoapps-client.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"lib/**/*",
|
|
11
|
+
"license.doc"
|
|
12
|
+
],
|
|
13
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
8
14
|
"scripts": {
|
|
9
15
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
10
16
|
"copy": "cp \"package.json\" \"./dist/\"",
|
|
11
|
-
"build": "tsc
|
|
12
|
-
"releaseAlpha": "npm run
|
|
13
|
-
"releaseBeta": "npm run
|
|
14
|
-
"release": "npm run
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"releaseAlpha": "npm run bumpalpha && npm publish --tag alpha",
|
|
19
|
+
"releaseBeta": "npm run bumpBeta && npm publish --tag beta",
|
|
20
|
+
"release": "npm run bump && npm publish",
|
|
21
|
+
"bumpAlpha": "npm run build && npm run bump -- --prerelease alpha",
|
|
22
|
+
"bumpBeta": "npm run build && npm run bump -- --prerelease beta",
|
|
23
|
+
"bump": "standard-version"
|
|
15
24
|
},
|
|
16
25
|
"dependencies": {
|
|
17
|
-
"axios": "^
|
|
18
|
-
"bluebird": "^3.7.2",
|
|
26
|
+
"axios": "^1.6.2",
|
|
19
27
|
"form-data": "^4.0.0",
|
|
20
28
|
"fs-extra": "^10.0.0",
|
|
21
29
|
"glob": "^7.2.0",
|
|
22
|
-
"https-proxy-agent": "^5.0.
|
|
23
|
-
"open": "^8.
|
|
24
|
-
"qs": "^6.
|
|
30
|
+
"https-proxy-agent": "^5.0.1",
|
|
31
|
+
"open": "^8.4.0",
|
|
32
|
+
"qs": "^6.11.0"
|
|
25
33
|
},
|
|
26
34
|
"devDependencies": {
|
|
27
|
-
"@types/bluebird": "^3.5.36",
|
|
28
35
|
"@types/fs-extra": "^9.0.13",
|
|
29
36
|
"@types/glob": "^7.1.4",
|
|
30
37
|
"@types/node": "^14.14.35",
|
|
31
|
-
"@types/qs": "^6.9.7"
|
|
38
|
+
"@types/qs": "^6.9.7",
|
|
39
|
+
"prettier": "^2.8.1",
|
|
40
|
+
"standard-version": "^9.5.0",
|
|
41
|
+
"typescript": "^4.9.4"
|
|
32
42
|
}
|
|
33
43
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"domo-response.js","sourceRoot":"","sources":["../../../models/interfaces/domo-response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"domoappstypes.js","sourceRoot":"","sources":["../../../models/interfaces/domoappstypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKT;AALH,WAAY,mBAAmB;IAC3B,2CAAoB,CAAA;IACpB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACrB,CAAC,EALS,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK5B;AAED,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,+CAAiC,CAAA;IACjC,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,6BAAe,CAAA;AACjB,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAoLD;;;;;;;;;;;GAWG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login-data.js","sourceRoot":"","sources":["../../../models/interfaces/login-data.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../models/interfaces/manifest.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|