@flowcore/sdk 1.52.0 → 1.54.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +2 -2
  3. package/esm/commands/api-key/api-key.create.d.ts +20 -23
  4. package/esm/commands/api-key/api-key.create.d.ts.map +1 -1
  5. package/esm/commands/api-key/api-key.create.js +21 -62
  6. package/esm/commands/api-key/api-key.delete.d.ts +22 -12
  7. package/esm/commands/api-key/api-key.delete.d.ts.map +1 -1
  8. package/esm/commands/api-key/api-key.delete.js +27 -41
  9. package/esm/commands/api-key/api-key.edit.d.ts +41 -0
  10. package/esm/commands/api-key/api-key.edit.d.ts.map +1 -0
  11. package/esm/commands/api-key/api-key.edit.js +40 -0
  12. package/esm/commands/api-key/api-key.list.d.ts +20 -8
  13. package/esm/commands/api-key/api-key.list.d.ts.map +1 -1
  14. package/esm/commands/api-key/api-key.list.js +27 -36
  15. package/esm/commands/index.d.ts +3 -0
  16. package/esm/commands/index.d.ts.map +1 -1
  17. package/esm/commands/index.js +3 -0
  18. package/esm/commands/secret/secret.create.d.ts +23 -8
  19. package/esm/commands/secret/secret.create.d.ts.map +1 -1
  20. package/esm/commands/secret/secret.create.js +27 -39
  21. package/esm/commands/secret/secret.delete.d.ts +20 -8
  22. package/esm/commands/secret/secret.delete.d.ts.map +1 -1
  23. package/esm/commands/secret/secret.delete.js +27 -41
  24. package/esm/commands/secret/secret.edit.d.ts +45 -0
  25. package/esm/commands/secret/secret.edit.d.ts.map +1 -0
  26. package/esm/commands/secret/secret.edit.js +40 -0
  27. package/esm/commands/secret/secret.list.d.ts +20 -7
  28. package/esm/commands/secret/secret.list.d.ts.map +1 -1
  29. package/esm/commands/secret/secret.list.js +27 -41
  30. package/esm/commands/variable/variable.create.d.ts +21 -7
  31. package/esm/commands/variable/variable.create.d.ts.map +1 -1
  32. package/esm/commands/variable/variable.create.js +26 -44
  33. package/esm/commands/variable/variable.delete.d.ts +20 -8
  34. package/esm/commands/variable/variable.delete.d.ts.map +1 -1
  35. package/esm/commands/variable/variable.delete.js +27 -44
  36. package/esm/commands/variable/variable.edit.d.ts +45 -0
  37. package/esm/commands/variable/variable.edit.d.ts.map +1 -0
  38. package/esm/commands/variable/variable.edit.js +40 -0
  39. package/esm/commands/variable/variable.list.d.ts +19 -7
  40. package/esm/commands/variable/variable.list.d.ts.map +1 -1
  41. package/esm/commands/variable/variable.list.js +27 -47
  42. package/esm/contracts/api-key.d.ts +22 -1
  43. package/esm/contracts/api-key.d.ts.map +1 -1
  44. package/esm/contracts/api-key.js +17 -0
  45. package/esm/contracts/secret.d.ts +16 -0
  46. package/esm/contracts/secret.d.ts.map +1 -0
  47. package/esm/contracts/secret.js +11 -0
  48. package/esm/contracts/variable.d.ts +5 -1
  49. package/esm/contracts/variable.d.ts.map +1 -1
  50. package/esm/contracts/variable.js +4 -0
  51. package/package.json +1 -1
  52. package/script/commands/api-key/api-key.create.d.ts +20 -23
  53. package/script/commands/api-key/api-key.create.d.ts.map +1 -1
  54. package/script/commands/api-key/api-key.create.js +21 -62
  55. package/script/commands/api-key/api-key.delete.d.ts +22 -12
  56. package/script/commands/api-key/api-key.delete.d.ts.map +1 -1
  57. package/script/commands/api-key/api-key.delete.js +27 -41
  58. package/script/commands/api-key/api-key.edit.d.ts +41 -0
  59. package/script/commands/api-key/api-key.edit.d.ts.map +1 -0
  60. package/script/commands/api-key/api-key.edit.js +44 -0
  61. package/script/commands/api-key/api-key.list.d.ts +20 -8
  62. package/script/commands/api-key/api-key.list.d.ts.map +1 -1
  63. package/script/commands/api-key/api-key.list.js +27 -36
  64. package/script/commands/index.d.ts +3 -0
  65. package/script/commands/index.d.ts.map +1 -1
  66. package/script/commands/index.js +3 -0
  67. package/script/commands/secret/secret.create.d.ts +23 -8
  68. package/script/commands/secret/secret.create.d.ts.map +1 -1
  69. package/script/commands/secret/secret.create.js +27 -39
  70. package/script/commands/secret/secret.delete.d.ts +20 -8
  71. package/script/commands/secret/secret.delete.d.ts.map +1 -1
  72. package/script/commands/secret/secret.delete.js +27 -41
  73. package/script/commands/secret/secret.edit.d.ts +45 -0
  74. package/script/commands/secret/secret.edit.d.ts.map +1 -0
  75. package/script/commands/secret/secret.edit.js +44 -0
  76. package/script/commands/secret/secret.list.d.ts +20 -7
  77. package/script/commands/secret/secret.list.d.ts.map +1 -1
  78. package/script/commands/secret/secret.list.js +27 -41
  79. package/script/commands/variable/variable.create.d.ts +21 -7
  80. package/script/commands/variable/variable.create.d.ts.map +1 -1
  81. package/script/commands/variable/variable.create.js +26 -44
  82. package/script/commands/variable/variable.delete.d.ts +20 -8
  83. package/script/commands/variable/variable.delete.d.ts.map +1 -1
  84. package/script/commands/variable/variable.delete.js +27 -44
  85. package/script/commands/variable/variable.edit.d.ts +45 -0
  86. package/script/commands/variable/variable.edit.d.ts.map +1 -0
  87. package/script/commands/variable/variable.edit.js +44 -0
  88. package/script/commands/variable/variable.list.d.ts +19 -7
  89. package/script/commands/variable/variable.list.d.ts.map +1 -1
  90. package/script/commands/variable/variable.list.js +27 -47
  91. package/script/contracts/api-key.d.ts +22 -1
  92. package/script/contracts/api-key.d.ts.map +1 -1
  93. package/script/contracts/api-key.js +18 -1
  94. package/script/contracts/secret.d.ts +16 -0
  95. package/script/contracts/secret.d.ts.map +1 -0
  96. package/script/contracts/secret.js +14 -0
  97. package/script/contracts/variable.d.ts +5 -1
  98. package/script/contracts/variable.d.ts.map +1 -1
  99. package/script/contracts/variable.js +4 -0
@@ -1,17 +1,31 @@
1
- import { GraphQlCommand } from "../../common/command-graphql.js";
1
+ import { Command } from "../../common/command.js";
2
2
  /**
3
- * The input for the API key delete command
3
+ * The input for the api key delete command
4
4
  */
5
5
  export interface ApiKeyDeleteInput {
6
- /** The id of the tenant */
7
- tenantId: string;
8
- /** The id of the API key */
6
+ /** The api key id */
9
7
  apiKeyId: string;
10
8
  }
11
9
  /**
12
- * Delete an API key
10
+ * Delete an api key
13
11
  */
14
- export declare class ApiKeyDeleteCommand extends GraphQlCommand<ApiKeyDeleteInput, boolean> {
12
+ export declare class ApiKeyDeleteCommand extends Command<ApiKeyDeleteInput, boolean> {
13
+ /**
14
+ * Whether the command should retry on failure
15
+ */
16
+ protected retryOnFailure: boolean;
17
+ /**
18
+ * Get the method
19
+ */
20
+ protected getMethod(): string;
21
+ /**
22
+ * Get the base url
23
+ */
24
+ protected getBaseUrl(): string;
25
+ /**
26
+ * Get the path
27
+ */
28
+ protected getPath(): string;
15
29
  /**
16
30
  * The allowed modes for the command
17
31
  */
@@ -19,10 +33,6 @@ export declare class ApiKeyDeleteCommand extends GraphQlCommand<ApiKeyDeleteInpu
19
33
  /**
20
34
  * Parse the response
21
35
  */
22
- protected parseResponse(rawResponse: unknown): boolean;
23
- /**
24
- * Get the body for the request
25
- */
26
- protected getBody(): Record<string, unknown>;
36
+ protected parseResponse(_rawResponse: unknown): boolean;
27
37
  }
28
38
  //# sourceMappingURL=api-key.delete.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.delete.d.ts","sourceRoot":"","sources":["../../../src/commands/api-key/api-key.delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAIhE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAyBD;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACjF;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO;IAW/D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMtD"}
1
+ {"version":3,"file":"api-key.delete.d.ts","sourceRoot":"","sources":["../../../src/commands/api-key/api-key.delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,qBAAqB;IACrB,QAAQ,EAAE,MAAM,CAAA;CACjB;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,56 +1,42 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApiKeyDeleteCommand = void 0;
4
- const typebox_1 = require("@sinclair/typebox");
5
- const command_graphql_js_1 = require("../../common/command-graphql.js");
6
- const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
7
- const command_error_js_1 = require("../../exceptions/command-error.js");
8
- const graphQlQueryById = `
9
- mutation FLOWCORE_SDK_API_KEY_DELETE($tenantId: ID!, $apiKeyId: ID!) {
10
- organization(id: $tenantId) {
11
- deleteApiKey(id: $apiKeyId)
12
- }
13
- }
14
- `;
15
- const responseSchema = typebox_1.Type.Object({
16
- errors: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Object({
17
- message: typebox_1.Type.String(),
18
- }))),
19
- data: typebox_1.Type.Object({
20
- organization: typebox_1.Type.Object({
21
- deleteApiKey: typebox_1.Type.Union([typebox_1.Type.Boolean(), typebox_1.Type.Null()]),
22
- }),
23
- }),
24
- });
4
+ const command_js_1 = require("../../common/command.js");
25
5
  /**
26
- * Delete an API key
6
+ * Delete an api key
27
7
  */
28
- class ApiKeyDeleteCommand extends command_graphql_js_1.GraphQlCommand {
8
+ class ApiKeyDeleteCommand extends command_js_1.Command {
29
9
  /**
30
- * The allowed modes for the command
10
+ * Whether the command should retry on failure
31
11
  */
32
- allowedModes = ["bearer"];
12
+ retryOnFailure = false;
33
13
  /**
34
- * Parse the response
14
+ * Get the method
35
15
  */
36
- parseResponse(rawResponse) {
37
- const response = (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, rawResponse);
38
- if (response.errors) {
39
- throw new command_error_js_1.CommandError(this.constructor.name, response.errors[0].message);
40
- }
41
- if (response.data.organization.deleteApiKey !== true) {
42
- throw new command_error_js_1.CommandError(this.constructor.name, "Failed to delete API key");
43
- }
44
- return response.data.organization.deleteApiKey;
16
+ getMethod() {
17
+ return "DELETE";
45
18
  }
46
19
  /**
47
- * Get the body for the request
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/api-keys/${this.input.apiKeyId}`;
30
+ }
31
+ /**
32
+ * The allowed modes for the command
33
+ */
34
+ allowedModes = ["bearer"];
35
+ /**
36
+ * Parse the response
48
37
  */
49
- getBody() {
50
- return {
51
- query: graphQlQueryById,
52
- variables: this.input,
53
- };
38
+ parseResponse(_rawResponse) {
39
+ return true;
54
40
  }
55
41
  }
56
42
  exports.ApiKeyDeleteCommand = ApiKeyDeleteCommand;
@@ -0,0 +1,41 @@
1
+ import { Command } from "../../common/command.js";
2
+ import { type ApiKey } from "../../contracts/api-key.js";
3
+ /**
4
+ * The input for the api key edit command
5
+ */
6
+ export interface ApiKeyEditInput {
7
+ /** The api key id */
8
+ apiKeyId: string;
9
+ /** The description of the api key */
10
+ description: string;
11
+ }
12
+ /**
13
+ * Edit an api key
14
+ */
15
+ export declare class ApiKeyEditCommand extends Command<ApiKeyEditInput, ApiKey> {
16
+ /**
17
+ * Whether the command should retry on failure
18
+ */
19
+ protected retryOnFailure: boolean;
20
+ /**
21
+ * Get the method
22
+ */
23
+ protected getMethod(): string;
24
+ /**
25
+ * Get the base url
26
+ */
27
+ protected getBaseUrl(): string;
28
+ /**
29
+ * Get the path
30
+ */
31
+ protected getPath(): string;
32
+ /**
33
+ * The allowed modes for the command
34
+ */
35
+ protected allowedModes: ("apiKey" | "bearer")[];
36
+ /**
37
+ * Parse the response
38
+ */
39
+ protected parseResponse(rawResponse: unknown): ApiKey;
40
+ }
41
+ //# sourceMappingURL=api-key.edit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key.edit.d.ts","sourceRoot":"","sources":["../../../src/commands/api-key/api-key.edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,4BAA4B,CAAA;AAEtE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,qBAAqB;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAA;CACpB;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,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApiKeyEditCommand = void 0;
4
+ const command_js_1 = require("../../common/command.js");
5
+ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
6
+ const api_key_js_1 = require("../../contracts/api-key.js");
7
+ /**
8
+ * Edit an api key
9
+ */
10
+ class ApiKeyEditCommand extends command_js_1.Command {
11
+ /**
12
+ * Whether the command should retry on failure
13
+ */
14
+ retryOnFailure = false;
15
+ /**
16
+ * Get the method
17
+ */
18
+ getMethod() {
19
+ return "PATCH";
20
+ }
21
+ /**
22
+ * Get the base url
23
+ */
24
+ getBaseUrl() {
25
+ return "https://tenant-store.api.flowcore.io";
26
+ }
27
+ /**
28
+ * Get the path
29
+ */
30
+ getPath() {
31
+ return `/api/v1/api-keys/${this.input.apiKeyId}`;
32
+ }
33
+ /**
34
+ * The allowed modes for the command
35
+ */
36
+ allowedModes = ["bearer"];
37
+ /**
38
+ * Parse the response
39
+ */
40
+ parseResponse(rawResponse) {
41
+ return (0, parse_response_helper_js_1.parseResponseHelper)(api_key_js_1.ApiKeySchema, rawResponse);
42
+ }
43
+ }
44
+ exports.ApiKeyEditCommand = ApiKeyEditCommand;
@@ -1,7 +1,7 @@
1
- import { GraphQlCommand } from "../../common/command-graphql.js";
2
- import type { ApiKey } from "../../contracts/api-key.js";
1
+ import { Command } from "../../common/command.js";
2
+ import { type ApiKey } from "../../contracts/api-key.js";
3
3
  /**
4
- * The input for the API key list command
4
+ * The input for the api key list command
5
5
  */
6
6
  export interface ApiKeyListInput {
7
7
  /** The tenant id */
@@ -10,7 +10,23 @@ export interface ApiKeyListInput {
10
10
  /**
11
11
  * List api keys
12
12
  */
13
- export declare class ApiKeyListCommand extends GraphQlCommand<ApiKeyListInput, ApiKey[]> {
13
+ export declare class ApiKeyListCommand extends Command<ApiKeyListInput, ApiKey[]> {
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;
14
30
  /**
15
31
  * The allowed modes for the command
16
32
  */
@@ -19,9 +35,5 @@ export declare class ApiKeyListCommand extends GraphQlCommand<ApiKeyListInput, A
19
35
  * Parse the response
20
36
  */
21
37
  protected parseResponse(rawResponse: unknown): ApiKey[];
22
- /**
23
- * Get the body for the request
24
- */
25
- protected getBody(): Record<string, unknown>;
26
38
  }
27
39
  //# sourceMappingURL=api-key.list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-key.list.d.ts","sourceRoot":"","sources":["../../../src/commands/api-key/api-key.list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB;AA0BD;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC9E;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM,EAAE;IAKhE;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMtD"}
1
+ {"version":3,"file":"api-key.list.d.ts","sourceRoot":"","sources":["../../../src/commands/api-key/api-key.list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAGjD,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,4BAA4B,CAAA;AAEtE;;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,35 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApiKeyListCommand = void 0;
4
- const typebox_1 = require("@sinclair/typebox");
5
- const command_graphql_js_1 = require("../../common/command-graphql.js");
4
+ const command_js_1 = require("../../common/command.js");
6
5
  const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
7
- const graphQlQueryById = `
8
- query FLOWCORE_SDK_API_KEY_LIST($tenantId: ID!) {
9
- organization(search: {id: $tenantId}) {
10
- apiKeys {
11
- id
12
- name
13
- createdAt
14
- }
15
- }
16
- }
17
- `;
18
- const responseSchema = typebox_1.Type.Object({
19
- data: typebox_1.Type.Object({
20
- organization: typebox_1.Type.Object({
21
- apiKeys: typebox_1.Type.Array(typebox_1.Type.Object({
22
- id: typebox_1.Type.String(),
23
- name: typebox_1.Type.String(),
24
- createdAt: typebox_1.Type.String(),
25
- })),
26
- }),
27
- }),
28
- });
6
+ const typebox_1 = require("@sinclair/typebox");
7
+ const api_key_js_1 = require("../../contracts/api-key.js");
29
8
  /**
30
9
  * List api keys
31
10
  */
32
- class ApiKeyListCommand extends command_graphql_js_1.GraphQlCommand {
11
+ class ApiKeyListCommand extends command_js_1.Command {
12
+ /**
13
+ * Whether the command should retry on failure
14
+ */
15
+ retryOnFailure = false;
16
+ /**
17
+ * Get the method
18
+ */
19
+ getMethod() {
20
+ return "GET";
21
+ }
22
+ /**
23
+ * Get the base url
24
+ */
25
+ getBaseUrl() {
26
+ return "https://tenant-store.api.flowcore.io";
27
+ }
28
+ /**
29
+ * Get the path
30
+ */
31
+ getPath() {
32
+ return `/api/v1/api-keys?tenantId=${this.input.tenantId}`;
33
+ }
33
34
  /**
34
35
  * The allowed modes for the command
35
36
  */
@@ -38,17 +39,7 @@ class ApiKeyListCommand extends command_graphql_js_1.GraphQlCommand {
38
39
  * Parse the response
39
40
  */
40
41
  parseResponse(rawResponse) {
41
- const response = (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, rawResponse);
42
- return response.data.organization.apiKeys;
43
- }
44
- /**
45
- * Get the body for the request
46
- */
47
- getBody() {
48
- return {
49
- query: graphQlQueryById,
50
- variables: this.input,
51
- };
42
+ return (0, parse_response_helper_js_1.parseResponseHelper)(typebox_1.Type.Array(api_key_js_1.ApiKeySchema), rawResponse);
52
43
  }
53
44
  }
54
45
  exports.ApiKeyListCommand = ApiKeyListCommand;
@@ -5,13 +5,16 @@ export * from "./tenant/tenant.list.js";
5
5
  export * from "./tenant/tenant.translate-name-to-id.js";
6
6
  export * from "./adapter/reset-adapter.js";
7
7
  export * from "./api-key/api-key.create.js";
8
+ export * from "./api-key/api-key.edit.js";
8
9
  export * from "./api-key/api-key.delete.js";
9
10
  export * from "./api-key/api-key.list.js";
10
11
  export * from "./secret/secret.create.js";
11
12
  export * from "./secret/secret.delete.js";
13
+ export * from "./secret/secret.edit.js";
12
14
  export * from "./secret/secret.list.js";
13
15
  export * from "./variable/variable.create.js";
14
16
  export * from "./variable/variable.delete.js";
17
+ export * from "./variable/variable.edit.js";
15
18
  export * from "./variable/variable.list.js";
16
19
  export * from "./data-core/data-core.create.js";
17
20
  export * from "./data-core/data-core.exists.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AACA,cAAc,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AE3D,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"}
@@ -24,15 +24,18 @@ __exportStar(require("./tenant/tenant.translate-name-to-id.js"), exports);
24
24
  __exportStar(require("./adapter/reset-adapter.js"), exports);
25
25
  // Api Key
26
26
  __exportStar(require("./api-key/api-key.create.js"), exports);
27
+ __exportStar(require("./api-key/api-key.edit.js"), exports);
27
28
  __exportStar(require("./api-key/api-key.delete.js"), exports);
28
29
  __exportStar(require("./api-key/api-key.list.js"), exports);
29
30
  // Secret
30
31
  __exportStar(require("./secret/secret.create.js"), exports);
31
32
  __exportStar(require("./secret/secret.delete.js"), exports);
33
+ __exportStar(require("./secret/secret.edit.js"), exports);
32
34
  __exportStar(require("./secret/secret.list.js"), exports);
33
35
  // Variable
34
36
  __exportStar(require("./variable/variable.create.js"), exports);
35
37
  __exportStar(require("./variable/variable.delete.js"), exports);
38
+ __exportStar(require("./variable/variable.edit.js"), exports);
36
39
  __exportStar(require("./variable/variable.list.js"), exports);
37
40
  // Data Core
38
41
  __exportStar(require("./data-core/data-core.create.js"), exports);
@@ -1,4 +1,5 @@
1
- import { GraphQlCommand } from "../../common/command-graphql.js";
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
- * List secrets
17
+ * Create a secret
15
18
  */
16
- export declare class SecretCreateCommand extends GraphQlCommand<SecretCreateInput, boolean> {
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): boolean;
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":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAIhE;;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;CACd;AAyBD;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACjF;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO;IAW/D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMtD"}
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,31 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SecretCreateCommand = void 0;
4
- const typebox_1 = require("@sinclair/typebox");
5
- const command_graphql_js_1 = require("../../common/command-graphql.js");
4
+ const command_js_1 = require("../../common/command.js");
6
5
  const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
7
- const command_error_js_1 = require("../../exceptions/command-error.js");
8
- const graphQlQueryById = `
9
- mutation FLOWCORE_SDK_SECRET_CREATE($tenantId: ID!, $key: String!, $value: String!) {
10
- organization(id: $tenantId) {
11
- createSecret(key: $key, value: $value)
12
- }
13
- }
14
- `;
15
- const responseSchema = typebox_1.Type.Object({
16
- errors: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Object({
17
- message: typebox_1.Type.String(),
18
- }))),
19
- data: typebox_1.Type.Object({
20
- organization: typebox_1.Type.Object({
21
- createSecret: typebox_1.Type.Union([typebox_1.Type.Boolean(), typebox_1.Type.Null()]),
22
- }),
23
- }),
24
- });
6
+ const secret_js_1 = require("../../contracts/secret.js");
25
7
  /**
26
- * List secrets
8
+ * Create a secret
27
9
  */
28
- class SecretCreateCommand extends command_graphql_js_1.GraphQlCommand {
10
+ class SecretCreateCommand extends command_js_1.Command {
11
+ /**
12
+ * Whether the command should retry on failure
13
+ */
14
+ retryOnFailure = false;
15
+ /**
16
+ * Get the method
17
+ */
18
+ getMethod() {
19
+ return "POST";
20
+ }
21
+ /**
22
+ * Get the base url
23
+ */
24
+ getBaseUrl() {
25
+ return "https://tenant-store.api.flowcore.io";
26
+ }
27
+ /**
28
+ * Get the path
29
+ */
30
+ getPath() {
31
+ return `/api/v1/tenants/${this.input.tenantId}/secrets`;
32
+ }
29
33
  /**
30
34
  * The allowed modes for the command
31
35
  */
@@ -34,23 +38,7 @@ class SecretCreateCommand extends command_graphql_js_1.GraphQlCommand {
34
38
  * Parse the response
35
39
  */
36
40
  parseResponse(rawResponse) {
37
- const response = (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, rawResponse);
38
- if (response.errors) {
39
- throw new command_error_js_1.CommandError(this.constructor.name, response.errors[0].message);
40
- }
41
- if (response.data.organization.createSecret === null) {
42
- throw new command_error_js_1.CommandError(this.constructor.name, "Failed to create secret");
43
- }
44
- return response.data.organization.createSecret;
45
- }
46
- /**
47
- * Get the body for the request
48
- */
49
- getBody() {
50
- return {
51
- query: graphQlQueryById,
52
- variables: this.input,
53
- };
41
+ return (0, parse_response_helper_js_1.parseResponseHelper)(secret_js_1.SecretSchema, rawResponse);
54
42
  }
55
43
  }
56
44
  exports.SecretCreateCommand = SecretCreateCommand;
@@ -1,4 +1,4 @@
1
- import { GraphQlCommand } from "../../common/command-graphql.js";
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
- * List secrets
12
+ * Delete a secret
13
13
  */
14
- export declare class SecretDeleteCommand extends GraphQlCommand<SecretDeleteInput, boolean> {
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(rawResponse: unknown): boolean;
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":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAIhE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;CACZ;AAyBD;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACjF;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO;IAW/D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMtD"}
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"}