@flowcore/sdk 1.52.0 → 1.53.0
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 +13 -0
- package/README.md +2 -2
- package/esm/commands/index.d.ts +2 -0
- package/esm/commands/index.d.ts.map +1 -1
- package/esm/commands/index.js +2 -0
- package/esm/commands/secret/secret.create.d.ts +23 -8
- package/esm/commands/secret/secret.create.d.ts.map +1 -1
- package/esm/commands/secret/secret.create.js +27 -39
- package/esm/commands/secret/secret.delete.d.ts +20 -8
- package/esm/commands/secret/secret.delete.d.ts.map +1 -1
- package/esm/commands/secret/secret.delete.js +27 -41
- package/esm/commands/secret/secret.edit.d.ts +45 -0
- package/esm/commands/secret/secret.edit.d.ts.map +1 -0
- package/esm/commands/secret/secret.edit.js +40 -0
- package/esm/commands/secret/secret.list.d.ts +20 -7
- package/esm/commands/secret/secret.list.d.ts.map +1 -1
- package/esm/commands/secret/secret.list.js +27 -41
- package/esm/commands/variable/variable.create.d.ts +21 -7
- package/esm/commands/variable/variable.create.d.ts.map +1 -1
- package/esm/commands/variable/variable.create.js +26 -44
- package/esm/commands/variable/variable.delete.d.ts +20 -8
- package/esm/commands/variable/variable.delete.d.ts.map +1 -1
- package/esm/commands/variable/variable.delete.js +27 -44
- package/esm/commands/variable/variable.edit.d.ts +45 -0
- package/esm/commands/variable/variable.edit.d.ts.map +1 -0
- package/esm/commands/variable/variable.edit.js +40 -0
- package/esm/commands/variable/variable.list.d.ts +19 -7
- package/esm/commands/variable/variable.list.d.ts.map +1 -1
- package/esm/commands/variable/variable.list.js +27 -47
- package/esm/contracts/secret.d.ts +16 -0
- package/esm/contracts/secret.d.ts.map +1 -0
- package/esm/contracts/secret.js +11 -0
- package/esm/contracts/variable.d.ts +5 -1
- package/esm/contracts/variable.d.ts.map +1 -1
- package/esm/contracts/variable.js +4 -0
- package/package.json +1 -1
- package/script/commands/index.d.ts +2 -0
- package/script/commands/index.d.ts.map +1 -1
- package/script/commands/index.js +2 -0
- package/script/commands/secret/secret.create.d.ts +23 -8
- package/script/commands/secret/secret.create.d.ts.map +1 -1
- package/script/commands/secret/secret.create.js +27 -39
- package/script/commands/secret/secret.delete.d.ts +20 -8
- package/script/commands/secret/secret.delete.d.ts.map +1 -1
- package/script/commands/secret/secret.delete.js +27 -41
- package/script/commands/secret/secret.edit.d.ts +45 -0
- package/script/commands/secret/secret.edit.d.ts.map +1 -0
- package/script/commands/secret/secret.edit.js +44 -0
- package/script/commands/secret/secret.list.d.ts +20 -7
- package/script/commands/secret/secret.list.d.ts.map +1 -1
- package/script/commands/secret/secret.list.js +27 -41
- package/script/commands/variable/variable.create.d.ts +21 -7
- package/script/commands/variable/variable.create.d.ts.map +1 -1
- package/script/commands/variable/variable.create.js +26 -44
- package/script/commands/variable/variable.delete.d.ts +20 -8
- package/script/commands/variable/variable.delete.d.ts.map +1 -1
- package/script/commands/variable/variable.delete.js +27 -44
- package/script/commands/variable/variable.edit.d.ts +45 -0
- package/script/commands/variable/variable.edit.d.ts.map +1 -0
- package/script/commands/variable/variable.edit.js +44 -0
- package/script/commands/variable/variable.list.d.ts +19 -7
- package/script/commands/variable/variable.list.d.ts.map +1 -1
- package/script/commands/variable/variable.list.js +27 -47
- package/script/contracts/secret.d.ts +16 -0
- package/script/contracts/secret.d.ts.map +1 -0
- package/script/contracts/secret.js +14 -0
- package/script/contracts/variable.d.ts +5 -1
- package/script/contracts/variable.d.ts.map +1 -1
- package/script/contracts/variable.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.53.0](https://github.com/flowcore-io/flowcore-sdk/compare/v1.52.0...v1.53.0) (2025-07-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* change tenant variable and secret commands to use new rest api ([10a89aa](https://github.com/flowcore-io/flowcore-sdk/commit/10a89aac505ff2be4771586385cc86dc161c4c72))
|
|
9
|
+
* change tenant variable and secret commands to use new rest api ([93eef31](https://github.com/flowcore-io/flowcore-sdk/commit/93eef31d217b5dc367c5c18d04e1b68218876488))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* typo ([7876235](https://github.com/flowcore-io/flowcore-sdk/commit/78762351af7dd4c8a9394270c5bdda8127d003b2))
|
|
15
|
+
|
|
3
16
|
## [1.52.0](https://github.com/flowcore-io/flowcore-sdk/compare/v1.51.0...v1.52.0) (2025-06-23)
|
|
4
17
|
|
|
5
18
|
|
package/README.md
CHANGED
|
@@ -643,9 +643,9 @@ const result = await client.execute(command)
|
|
|
643
643
|
#### Truncate an Event Type
|
|
644
644
|
|
|
645
645
|
```typescript
|
|
646
|
-
import {
|
|
646
|
+
import { EventTypeRequestTruncateCommand, FlowcoreClient } from "@flowcore/sdk"
|
|
647
647
|
|
|
648
|
-
const command = new
|
|
648
|
+
const command = new EventTypeRequestTruncateCommand({
|
|
649
649
|
eventTypeId: "your-event-type-id",
|
|
650
650
|
waitForTruncate: true // Optional: Wait for truncation to complete (default: true)
|
|
651
651
|
})
|
package/esm/commands/index.d.ts
CHANGED
|
@@ -9,9 +9,11 @@ export * from "./api-key/api-key.delete.js";
|
|
|
9
9
|
export * from "./api-key/api-key.list.js";
|
|
10
10
|
export * from "./secret/secret.create.js";
|
|
11
11
|
export * from "./secret/secret.delete.js";
|
|
12
|
+
export * from "./secret/secret.edit.js";
|
|
12
13
|
export * from "./secret/secret.list.js";
|
|
13
14
|
export * from "./variable/variable.create.js";
|
|
14
15
|
export * from "./variable/variable.delete.js";
|
|
16
|
+
export * from "./variable/variable.edit.js";
|
|
15
17
|
export * from "./variable/variable.list.js";
|
|
16
18
|
export * from "./data-core/data-core.create.js";
|
|
17
19
|
export * from "./data-core/data-core.exists.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":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cAAc,6CAA6C,CAAA;AAE3D,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAE7C,cAAc,gDAAgD,CAAA;AAE9D,cAAc,gCAAgC,CAAA;AAC9C,cAAc,iCAAiC,CAAA"}
|
package/esm/commands/index.js
CHANGED
|
@@ -13,10 +13,12 @@ export * from "./api-key/api-key.list.js";
|
|
|
13
13
|
// Secret
|
|
14
14
|
export * from "./secret/secret.create.js";
|
|
15
15
|
export * from "./secret/secret.delete.js";
|
|
16
|
+
export * from "./secret/secret.edit.js";
|
|
16
17
|
export * from "./secret/secret.list.js";
|
|
17
18
|
// Variable
|
|
18
19
|
export * from "./variable/variable.create.js";
|
|
19
20
|
export * from "./variable/variable.delete.js";
|
|
21
|
+
export * from "./variable/variable.edit.js";
|
|
20
22
|
export * from "./variable/variable.list.js";
|
|
21
23
|
// Data Core
|
|
22
24
|
export * from "./data-core/data-core.create.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
2
|
+
import { type Secret } from "../../contracts/secret.js";
|
|
2
3
|
/**
|
|
3
4
|
* The input for the secret create command
|
|
4
5
|
*/
|
|
@@ -9,11 +10,29 @@ export interface SecretCreateInput {
|
|
|
9
10
|
key: string;
|
|
10
11
|
/** The value of the secret */
|
|
11
12
|
value: string;
|
|
13
|
+
/** The description of the secret */
|
|
14
|
+
description?: string;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
|
-
*
|
|
17
|
+
* Create a secret
|
|
15
18
|
*/
|
|
16
|
-
export declare class SecretCreateCommand extends
|
|
19
|
+
export declare class SecretCreateCommand extends Command<SecretCreateInput, Secret> {
|
|
20
|
+
/**
|
|
21
|
+
* Whether the command should retry on failure
|
|
22
|
+
*/
|
|
23
|
+
protected retryOnFailure: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Get the method
|
|
26
|
+
*/
|
|
27
|
+
protected getMethod(): string;
|
|
28
|
+
/**
|
|
29
|
+
* Get the base url
|
|
30
|
+
*/
|
|
31
|
+
protected getBaseUrl(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Get the path
|
|
34
|
+
*/
|
|
35
|
+
protected getPath(): string;
|
|
17
36
|
/**
|
|
18
37
|
* The allowed modes for the command
|
|
19
38
|
*/
|
|
@@ -21,10 +40,6 @@ export declare class SecretCreateCommand extends GraphQlCommand<SecretCreateInpu
|
|
|
21
40
|
/**
|
|
22
41
|
* Parse the response
|
|
23
42
|
*/
|
|
24
|
-
protected parseResponse(rawResponse: unknown):
|
|
25
|
-
/**
|
|
26
|
-
* Get the body for the request
|
|
27
|
-
*/
|
|
28
|
-
protected getBody(): Record<string, unknown>;
|
|
43
|
+
protected parseResponse(rawResponse: unknown): Secret;
|
|
29
44
|
}
|
|
30
45
|
//# sourceMappingURL=secret.create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.create.d.ts","sourceRoot":"","sources":["../../../src/commands/secret/secret.create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secret.create.d.ts","sourceRoot":"","sources":["../../../src/commands/secret/secret.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,2BAA2B,CAAA;AAErE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACzE;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM;CAG/D"}
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GraphQlCommand } from "../../common/command-graphql.js";
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
3
2
|
import { parseResponseHelper } from "../../utils/parse-response-helper.js";
|
|
4
|
-
import {
|
|
5
|
-
const graphQlQueryById = `
|
|
6
|
-
mutation FLOWCORE_SDK_SECRET_CREATE($tenantId: ID!, $key: String!, $value: String!) {
|
|
7
|
-
organization(id: $tenantId) {
|
|
8
|
-
createSecret(key: $key, value: $value)
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
`;
|
|
12
|
-
const responseSchema = Type.Object({
|
|
13
|
-
errors: Type.Optional(Type.Array(Type.Object({
|
|
14
|
-
message: Type.String(),
|
|
15
|
-
}))),
|
|
16
|
-
data: Type.Object({
|
|
17
|
-
organization: Type.Object({
|
|
18
|
-
createSecret: Type.Union([Type.Boolean(), Type.Null()]),
|
|
19
|
-
}),
|
|
20
|
-
}),
|
|
21
|
-
});
|
|
3
|
+
import { SecretSchema } from "../../contracts/secret.js";
|
|
22
4
|
/**
|
|
23
|
-
*
|
|
5
|
+
* Create a secret
|
|
24
6
|
*/
|
|
25
|
-
export class SecretCreateCommand extends
|
|
7
|
+
export class SecretCreateCommand extends Command {
|
|
8
|
+
/**
|
|
9
|
+
* Whether the command should retry on failure
|
|
10
|
+
*/
|
|
11
|
+
retryOnFailure = false;
|
|
12
|
+
/**
|
|
13
|
+
* Get the method
|
|
14
|
+
*/
|
|
15
|
+
getMethod() {
|
|
16
|
+
return "POST";
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Get the base url
|
|
20
|
+
*/
|
|
21
|
+
getBaseUrl() {
|
|
22
|
+
return "https://tenant-store.api.flowcore.io";
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get the path
|
|
26
|
+
*/
|
|
27
|
+
getPath() {
|
|
28
|
+
return `/api/v1/tenants/${this.input.tenantId}/secrets`;
|
|
29
|
+
}
|
|
26
30
|
/**
|
|
27
31
|
* The allowed modes for the command
|
|
28
32
|
*/
|
|
@@ -31,22 +35,6 @@ export class SecretCreateCommand extends GraphQlCommand {
|
|
|
31
35
|
* Parse the response
|
|
32
36
|
*/
|
|
33
37
|
parseResponse(rawResponse) {
|
|
34
|
-
|
|
35
|
-
if (response.errors) {
|
|
36
|
-
throw new CommandError(this.constructor.name, response.errors[0].message);
|
|
37
|
-
}
|
|
38
|
-
if (response.data.organization.createSecret === null) {
|
|
39
|
-
throw new CommandError(this.constructor.name, "Failed to create secret");
|
|
40
|
-
}
|
|
41
|
-
return response.data.organization.createSecret;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Get the body for the request
|
|
45
|
-
*/
|
|
46
|
-
getBody() {
|
|
47
|
-
return {
|
|
48
|
-
query: graphQlQueryById,
|
|
49
|
-
variables: this.input,
|
|
50
|
-
};
|
|
38
|
+
return parseResponseHelper(SecretSchema, rawResponse);
|
|
51
39
|
}
|
|
52
40
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
2
2
|
/**
|
|
3
3
|
* The input for the secret delete command
|
|
4
4
|
*/
|
|
@@ -9,9 +9,25 @@ export interface SecretDeleteInput {
|
|
|
9
9
|
key: string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Delete a secret
|
|
13
13
|
*/
|
|
14
|
-
export declare class SecretDeleteCommand extends
|
|
14
|
+
export declare class SecretDeleteCommand extends Command<SecretDeleteInput, boolean> {
|
|
15
|
+
/**
|
|
16
|
+
* Whether the command should retry on failure
|
|
17
|
+
*/
|
|
18
|
+
protected retryOnFailure: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Get the method
|
|
21
|
+
*/
|
|
22
|
+
protected getMethod(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Get the base url
|
|
25
|
+
*/
|
|
26
|
+
protected getBaseUrl(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Get the path
|
|
29
|
+
*/
|
|
30
|
+
protected getPath(): string;
|
|
15
31
|
/**
|
|
16
32
|
* The allowed modes for the command
|
|
17
33
|
*/
|
|
@@ -19,10 +35,6 @@ export declare class SecretDeleteCommand extends GraphQlCommand<SecretDeleteInpu
|
|
|
19
35
|
/**
|
|
20
36
|
* Parse the response
|
|
21
37
|
*/
|
|
22
|
-
protected parseResponse(
|
|
23
|
-
/**
|
|
24
|
-
* Get the body for the request
|
|
25
|
-
*/
|
|
26
|
-
protected getBody(): Record<string, unknown>;
|
|
38
|
+
protected parseResponse(_rawResponse: unknown): boolean;
|
|
27
39
|
}
|
|
28
40
|
//# sourceMappingURL=secret.delete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.delete.d.ts","sourceRoot":"","sources":["../../../src/commands/secret/secret.delete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secret.delete.d.ts","sourceRoot":"","sources":["../../../src/commands/secret/secret.delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAAC,iBAAiB,EAAE,OAAO,CAAC;IAC1E;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,YAAY,EAAE,OAAO,GAAG,OAAO;CAGjE"}
|
|
@@ -1,52 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GraphQlCommand } from "../../common/command-graphql.js";
|
|
3
|
-
import { parseResponseHelper } from "../../utils/parse-response-helper.js";
|
|
4
|
-
import { CommandError } from "../../exceptions/command-error.js";
|
|
5
|
-
const graphQlQueryById = `
|
|
6
|
-
mutation FLOWCORE_SDK_SECRET_DELETE($tenantId: ID!, $key: String!) {
|
|
7
|
-
organization(id: $tenantId) {
|
|
8
|
-
removeSecret(key: $key)
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
`;
|
|
12
|
-
const responseSchema = Type.Object({
|
|
13
|
-
errors: Type.Optional(Type.Array(Type.Object({
|
|
14
|
-
message: Type.String(),
|
|
15
|
-
}))),
|
|
16
|
-
data: Type.Object({
|
|
17
|
-
organization: Type.Object({
|
|
18
|
-
removeSecret: Type.Union([Type.Boolean(), Type.Null()]),
|
|
19
|
-
}),
|
|
20
|
-
}),
|
|
21
|
-
});
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
22
2
|
/**
|
|
23
|
-
*
|
|
3
|
+
* Delete a secret
|
|
24
4
|
*/
|
|
25
|
-
export class SecretDeleteCommand extends
|
|
5
|
+
export class SecretDeleteCommand extends Command {
|
|
26
6
|
/**
|
|
27
|
-
*
|
|
7
|
+
* Whether the command should retry on failure
|
|
28
8
|
*/
|
|
29
|
-
|
|
9
|
+
retryOnFailure = false;
|
|
30
10
|
/**
|
|
31
|
-
*
|
|
11
|
+
* Get the method
|
|
32
12
|
*/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
if (response.errors) {
|
|
36
|
-
throw new CommandError(this.constructor.name, response.errors[0].message);
|
|
37
|
-
}
|
|
38
|
-
if (response.data.organization.removeSecret !== true) {
|
|
39
|
-
throw new CommandError(this.constructor.name, "Failed to delete secret");
|
|
40
|
-
}
|
|
41
|
-
return response.data.organization.removeSecret;
|
|
13
|
+
getMethod() {
|
|
14
|
+
return "DELETE";
|
|
42
15
|
}
|
|
43
16
|
/**
|
|
44
|
-
* Get the
|
|
17
|
+
* Get the base url
|
|
18
|
+
*/
|
|
19
|
+
getBaseUrl() {
|
|
20
|
+
return "https://tenant-store.api.flowcore.io";
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get the path
|
|
24
|
+
*/
|
|
25
|
+
getPath() {
|
|
26
|
+
return `/api/v1/tenants/${this.input.tenantId}/secrets/${this.input.key}`;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The allowed modes for the command
|
|
30
|
+
*/
|
|
31
|
+
allowedModes = ["bearer"];
|
|
32
|
+
/**
|
|
33
|
+
* Parse the response
|
|
45
34
|
*/
|
|
46
|
-
|
|
47
|
-
return
|
|
48
|
-
query: graphQlQueryById,
|
|
49
|
-
variables: this.input,
|
|
50
|
-
};
|
|
35
|
+
parseResponse(_rawResponse) {
|
|
36
|
+
return true;
|
|
51
37
|
}
|
|
52
38
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
2
|
+
import { type Secret } from "../../contracts/secret.js";
|
|
3
|
+
/**
|
|
4
|
+
* The input for the secret edit command
|
|
5
|
+
*/
|
|
6
|
+
export interface SecretEditInput {
|
|
7
|
+
/** The tenant id */
|
|
8
|
+
tenantId: string;
|
|
9
|
+
/** The key of the secret */
|
|
10
|
+
key: string;
|
|
11
|
+
/** The value of the secret */
|
|
12
|
+
value?: string;
|
|
13
|
+
/** The description of the secret */
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Edit a secret
|
|
18
|
+
*/
|
|
19
|
+
export declare class SecretEditCommand extends Command<SecretEditInput, Secret> {
|
|
20
|
+
/**
|
|
21
|
+
* Whether the command should retry on failure
|
|
22
|
+
*/
|
|
23
|
+
protected retryOnFailure: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Get the method
|
|
26
|
+
*/
|
|
27
|
+
protected getMethod(): string;
|
|
28
|
+
/**
|
|
29
|
+
* Get the base url
|
|
30
|
+
*/
|
|
31
|
+
protected getBaseUrl(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Get the path
|
|
34
|
+
*/
|
|
35
|
+
protected getPath(): string;
|
|
36
|
+
/**
|
|
37
|
+
* The allowed modes for the command
|
|
38
|
+
*/
|
|
39
|
+
protected allowedModes: ("apiKey" | "bearer")[];
|
|
40
|
+
/**
|
|
41
|
+
* Parse the response
|
|
42
|
+
*/
|
|
43
|
+
protected parseResponse(rawResponse: unknown): Secret;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=secret.edit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret.edit.d.ts","sourceRoot":"","sources":["../../../src/commands/secret/secret.edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,2BAA2B,CAAA;AAErE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oCAAoC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC;IACrE;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM;CAG/D"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
2
|
+
import { parseResponseHelper } from "../../utils/parse-response-helper.js";
|
|
3
|
+
import { SecretSchema } from "../../contracts/secret.js";
|
|
4
|
+
/**
|
|
5
|
+
* Edit a secret
|
|
6
|
+
*/
|
|
7
|
+
export class SecretEditCommand extends Command {
|
|
8
|
+
/**
|
|
9
|
+
* Whether the command should retry on failure
|
|
10
|
+
*/
|
|
11
|
+
retryOnFailure = false;
|
|
12
|
+
/**
|
|
13
|
+
* Get the method
|
|
14
|
+
*/
|
|
15
|
+
getMethod() {
|
|
16
|
+
return "PATCH";
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Get the base url
|
|
20
|
+
*/
|
|
21
|
+
getBaseUrl() {
|
|
22
|
+
return "https://tenant-store.api.flowcore.io";
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get the path
|
|
26
|
+
*/
|
|
27
|
+
getPath() {
|
|
28
|
+
return `/api/v1/tenants/${this.input.tenantId}/secrets/${this.input.key}`;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The allowed modes for the command
|
|
32
|
+
*/
|
|
33
|
+
allowedModes = ["bearer"];
|
|
34
|
+
/**
|
|
35
|
+
* Parse the response
|
|
36
|
+
*/
|
|
37
|
+
parseResponse(rawResponse) {
|
|
38
|
+
return parseResponseHelper(SecretSchema, rawResponse);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
2
|
+
import { type Secret } from "../../contracts/secret.js";
|
|
2
3
|
/**
|
|
3
4
|
* The input for the secret list command
|
|
4
5
|
*/
|
|
@@ -9,7 +10,23 @@ export interface SecretListInput {
|
|
|
9
10
|
/**
|
|
10
11
|
* List secrets
|
|
11
12
|
*/
|
|
12
|
-
export declare class SecretListCommand extends
|
|
13
|
+
export declare class SecretListCommand extends Command<SecretListInput, Secret[]> {
|
|
14
|
+
/**
|
|
15
|
+
* Whether the command should retry on failure
|
|
16
|
+
*/
|
|
17
|
+
protected retryOnFailure: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Get the method
|
|
20
|
+
*/
|
|
21
|
+
protected getMethod(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Get the base url
|
|
24
|
+
*/
|
|
25
|
+
protected getBaseUrl(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Get the path
|
|
28
|
+
*/
|
|
29
|
+
protected getPath(): string;
|
|
13
30
|
/**
|
|
14
31
|
* The allowed modes for the command
|
|
15
32
|
*/
|
|
@@ -17,10 +34,6 @@ export declare class SecretListCommand extends GraphQlCommand<SecretListInput, s
|
|
|
17
34
|
/**
|
|
18
35
|
* Parse the response
|
|
19
36
|
*/
|
|
20
|
-
protected parseResponse(rawResponse: unknown):
|
|
21
|
-
/**
|
|
22
|
-
* Get the body for the request
|
|
23
|
-
*/
|
|
24
|
-
protected getBody(): Record<string, unknown>;
|
|
37
|
+
protected parseResponse(rawResponse: unknown): Secret[];
|
|
25
38
|
}
|
|
26
39
|
//# sourceMappingURL=secret.list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.list.d.ts","sourceRoot":"","sources":["../../../src/commands/secret/secret.list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secret.list.d.ts","sourceRoot":"","sources":["../../../src/commands/secret/secret.list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,2BAA2B,CAAA;AAGrE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,OAAO,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;IACvE;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM,EAAE;CAGjE"}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GraphQlCommand } from "../../common/command-graphql.js";
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
3
2
|
import { parseResponseHelper } from "../../utils/parse-response-helper.js";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
query FLOWCORE_SDK_SECRET_LIST($tenantId: ID!) {
|
|
7
|
-
organization(search: {id: $tenantId}) {
|
|
8
|
-
secrets
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
`;
|
|
12
|
-
const responseSchema = Type.Object({
|
|
13
|
-
errors: Type.Optional(Type.Array(Type.Object({
|
|
14
|
-
message: Type.String(),
|
|
15
|
-
}))),
|
|
16
|
-
data: Type.Object({
|
|
17
|
-
organization: Type.Object({
|
|
18
|
-
secrets: Type.Union([
|
|
19
|
-
Type.Array(Type.String()),
|
|
20
|
-
Type.Null(),
|
|
21
|
-
]),
|
|
22
|
-
}),
|
|
23
|
-
}),
|
|
24
|
-
});
|
|
3
|
+
import { SecretSchema } from "../../contracts/secret.js";
|
|
4
|
+
import { Type } from "@sinclair/typebox";
|
|
25
5
|
/**
|
|
26
6
|
* List secrets
|
|
27
7
|
*/
|
|
28
|
-
export class SecretListCommand extends
|
|
8
|
+
export class SecretListCommand extends Command {
|
|
9
|
+
/**
|
|
10
|
+
* Whether the command should retry on failure
|
|
11
|
+
*/
|
|
12
|
+
retryOnFailure = false;
|
|
13
|
+
/**
|
|
14
|
+
* Get the method
|
|
15
|
+
*/
|
|
16
|
+
getMethod() {
|
|
17
|
+
return "GET";
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the base url
|
|
21
|
+
*/
|
|
22
|
+
getBaseUrl() {
|
|
23
|
+
return "https://tenant-store.api.flowcore.io";
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the path
|
|
27
|
+
*/
|
|
28
|
+
getPath() {
|
|
29
|
+
return `/api/v1/tenants/${this.input.tenantId}/secrets`;
|
|
30
|
+
}
|
|
29
31
|
/**
|
|
30
32
|
* The allowed modes for the command
|
|
31
33
|
*/
|
|
@@ -34,22 +36,6 @@ export class SecretListCommand extends GraphQlCommand {
|
|
|
34
36
|
* Parse the response
|
|
35
37
|
*/
|
|
36
38
|
parseResponse(rawResponse) {
|
|
37
|
-
|
|
38
|
-
if (response.errors) {
|
|
39
|
-
throw new CommandError(this.constructor.name, response.errors[0].message);
|
|
40
|
-
}
|
|
41
|
-
if (response.data.organization.secrets === null) {
|
|
42
|
-
throw new CommandError(this.constructor.name, "Failed to list secrets");
|
|
43
|
-
}
|
|
44
|
-
return response.data.organization.secrets;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Get the body for the request
|
|
48
|
-
*/
|
|
49
|
-
getBody() {
|
|
50
|
-
return {
|
|
51
|
-
query: graphQlQueryById,
|
|
52
|
-
variables: this.input,
|
|
53
|
-
};
|
|
39
|
+
return parseResponseHelper(Type.Array(SecretSchema), rawResponse);
|
|
54
40
|
}
|
|
55
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type
|
|
1
|
+
import { Command } from "../../common/command.js";
|
|
2
|
+
import { type Variable } from "../../contracts/variable.js";
|
|
3
3
|
/**
|
|
4
4
|
* The input for the variable create command
|
|
5
5
|
*/
|
|
@@ -10,11 +10,29 @@ export interface VariableCreateInput {
|
|
|
10
10
|
key: string;
|
|
11
11
|
/** The value of the variable */
|
|
12
12
|
value: string;
|
|
13
|
+
/** The description of the variable */
|
|
14
|
+
description?: string;
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
17
|
* Create a variable
|
|
16
18
|
*/
|
|
17
|
-
export declare class VariableCreateCommand extends
|
|
19
|
+
export declare class VariableCreateCommand extends Command<VariableCreateInput, Variable> {
|
|
20
|
+
/**
|
|
21
|
+
* Whether the command should retry on failure
|
|
22
|
+
*/
|
|
23
|
+
protected retryOnFailure: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Get the method
|
|
26
|
+
*/
|
|
27
|
+
protected getMethod(): string;
|
|
28
|
+
/**
|
|
29
|
+
* Get the base url
|
|
30
|
+
*/
|
|
31
|
+
protected getBaseUrl(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Get the path
|
|
34
|
+
*/
|
|
35
|
+
protected getPath(): string;
|
|
18
36
|
/**
|
|
19
37
|
* The allowed modes for the command
|
|
20
38
|
*/
|
|
@@ -23,9 +41,5 @@ export declare class VariableCreateCommand extends GraphQlCommand<VariableCreate
|
|
|
23
41
|
* Parse the response
|
|
24
42
|
*/
|
|
25
43
|
protected parseResponse(rawResponse: unknown): Variable;
|
|
26
|
-
/**
|
|
27
|
-
* Get the body for the request
|
|
28
|
-
*/
|
|
29
|
-
protected getBody(): Record<string, unknown>;
|
|
30
44
|
}
|
|
31
45
|
//# sourceMappingURL=variable.create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable.create.d.ts","sourceRoot":"","sources":["../../../src/commands/variable/variable.create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"variable.create.d.ts","sourceRoot":"","sources":["../../../src/commands/variable/variable.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,6BAA6B,CAAA;AAE3E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,8BAA8B;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAC/E;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
|