@unito/integration-cli 0.58.3 → 0.58.4
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/dist/boilerplate/package-lock.json +3065 -0
- package/dist/boilerplate/package.json +1 -1
- package/dist/src/services/integrationsPlatform.d.ts +1 -1
- package/dist/src/services/integrationsPlatform.js +1 -1
- package/dist/test/commands/invite.test.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +11 -7
|
@@ -31,7 +31,7 @@ export declare function getIntegrationByName(integrationName: string): Promise<I
|
|
|
31
31
|
export declare function getIntegrations(): Promise<IntegrationSummary[]>;
|
|
32
32
|
export declare function publishIntegration(archivePath: string): Promise<Integration>;
|
|
33
33
|
export declare function createIntegration(configuration: Configuration): Promise<Integration>;
|
|
34
|
-
export declare function inviteUserToIntegration(integrationId: number, email: string): Promise<
|
|
34
|
+
export declare function inviteUserToIntegration(integrationId: number, email: string): Promise<void>;
|
|
35
35
|
export declare function getIntegrationEvents(integrationId: number, options?: {
|
|
36
36
|
$from?: number;
|
|
37
37
|
search?: string;
|
|
@@ -94,7 +94,7 @@ async function createIntegration(configuration) {
|
|
|
94
94
|
}
|
|
95
95
|
exports.createIntegration = createIntegration;
|
|
96
96
|
async function inviteUserToIntegration(integrationId, email) {
|
|
97
|
-
|
|
97
|
+
await integrations_platform_client_1.default.inviteUser(integrationId, { email });
|
|
98
98
|
}
|
|
99
99
|
exports.inviteUserToIntegration = inviteUserToIntegration;
|
|
100
100
|
async function getIntegrationEvents(integrationId, options = {}) {
|
|
@@ -15,7 +15,7 @@ describe('invite', () => {
|
|
|
15
15
|
sinon_1.default.stub(IntegrationResource, 'validateIsIntegrationDirectory');
|
|
16
16
|
sinon_1.default.stub(IntegrationsPlatform, 'setEnvironment');
|
|
17
17
|
sinon_1.default.stub(IntegrationsPlatform, 'setApiKey');
|
|
18
|
-
sinon_1.default.stub(IntegrationsPlatform, 'inviteUserToIntegration')
|
|
18
|
+
sinon_1.default.stub(IntegrationsPlatform, 'inviteUserToIntegration');
|
|
19
19
|
sinon_1.default.stub(inquirer_1.default, 'prompt').resolves({ email: 'foo@bar.com' });
|
|
20
20
|
sinon_1.default.stub(IntegrationConfiguration, 'getConfiguration').resolves({ name: 'integrationName' });
|
|
21
21
|
});
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unito/integration-cli",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.4",
|
|
4
4
|
"description": "Integration CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"integration-cli": "./bin/run"
|
|
@@ -36,23 +36,19 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@oclif/core": "3.x",
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@unito/integration-debugger": "0.24.0",
|
|
42
|
-
"@unito/integrations-platform-client": "0.46.1",
|
|
39
|
+
"@unito/integration-debugger": "0.24.3",
|
|
40
|
+
"@unito/integrations-platform-client": "0.48.1",
|
|
43
41
|
"ajv": "8.x",
|
|
44
42
|
"ajv-formats": "2.x",
|
|
45
43
|
"better-ajv-errors": "1.x",
|
|
46
44
|
"chalk": "4.x",
|
|
47
45
|
"cors": "2.x",
|
|
48
|
-
"eslint": "8.x",
|
|
49
46
|
"express": "5.0.0-beta.1",
|
|
50
47
|
"gradient-string": "2.x",
|
|
51
48
|
"inquirer": "8.x",
|
|
52
49
|
"json-colorizer": "2.x",
|
|
53
50
|
"ngrok": "5.0.0-beta.2",
|
|
54
51
|
"openurl": "1.x",
|
|
55
|
-
"prettier": "3.x",
|
|
56
52
|
"tmp": "0.x"
|
|
57
53
|
},
|
|
58
54
|
"devDependencies": {
|
|
@@ -65,10 +61,14 @@
|
|
|
65
61
|
"@types/node": "18.x",
|
|
66
62
|
"@types/openurl": "1.x",
|
|
67
63
|
"@types/tmp": "0.x",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "7.x",
|
|
65
|
+
"@typescript-eslint/parser": "7.x",
|
|
68
66
|
"c8": "9.x",
|
|
67
|
+
"eslint": "8.x",
|
|
69
68
|
"json-schema-to-typescript": "13.x",
|
|
70
69
|
"mocha": "10.x",
|
|
71
70
|
"oclif": "3.x",
|
|
71
|
+
"prettier": "3.x",
|
|
72
72
|
"shx": "0.x",
|
|
73
73
|
"sinon": "16.x",
|
|
74
74
|
"tslib": "2.x",
|
|
@@ -82,6 +82,10 @@
|
|
|
82
82
|
"init": "./dist/src/hooks/init/displayLogo"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
+
"overrides": {
|
|
86
|
+
"minimatch": "5.x",
|
|
87
|
+
"glob": "8.x"
|
|
88
|
+
},
|
|
85
89
|
"keywords": [
|
|
86
90
|
"typescript",
|
|
87
91
|
"unito",
|