@flowcore/sdk 1.10.0 → 1.10.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 +7 -0
- package/esm/commands/api-key/api-key.create.d.ts +4 -0
- package/esm/commands/api-key/api-key.create.d.ts.map +1 -1
- package/esm/commands/api-key/api-key.create.js +9 -0
- package/esm/commands/data-core/data-core.create.d.ts +6 -2
- package/esm/commands/data-core/data-core.create.d.ts.map +1 -1
- package/esm/commands/data-core/data-core.create.js +12 -0
- package/esm/commands/data-core/data-core.delete-request.d.ts +6 -2
- package/esm/commands/data-core/data-core.delete-request.d.ts.map +1 -1
- package/esm/commands/data-core/data-core.delete-request.js +9 -0
- package/esm/commands/data-core/data-core.fetch.d.ts +3 -4
- package/esm/commands/data-core/data-core.fetch.d.ts.map +1 -1
- package/esm/commands/data-core/data-core.list.d.ts +2 -2
- package/esm/commands/data-core/data-core.list.d.ts.map +1 -1
- package/esm/commands/data-core/data-core.update.d.ts +2 -2
- package/esm/commands/data-core/data-core.update.d.ts.map +1 -1
- package/esm/commands/event-type/event-type.create.d.ts +6 -2
- package/esm/commands/event-type/event-type.create.d.ts.map +1 -1
- package/esm/commands/event-type/event-type.create.js +12 -0
- package/esm/commands/event-type/event-type.delete-request.d.ts +6 -2
- package/esm/commands/event-type/event-type.delete-request.d.ts.map +1 -1
- package/esm/commands/event-type/event-type.delete-request.js +9 -0
- package/esm/commands/event-type/event-type.fetch.d.ts +2 -3
- package/esm/commands/event-type/event-type.fetch.d.ts.map +1 -1
- package/esm/commands/event-type/event-type.list.d.ts +2 -2
- package/esm/commands/event-type/event-type.list.d.ts.map +1 -1
- package/esm/commands/flow-type/flow-type.create.d.ts +6 -2
- package/esm/commands/flow-type/flow-type.create.d.ts.map +1 -1
- package/esm/commands/flow-type/flow-type.create.js +12 -0
- package/esm/commands/flow-type/flow-type.delete-request.d.ts +7 -2
- package/esm/commands/flow-type/flow-type.delete-request.d.ts.map +1 -1
- package/esm/commands/flow-type/flow-type.delete-request.js +9 -0
- package/esm/commands/flow-type/flow-type.fetch.d.ts +4 -5
- package/esm/commands/flow-type/flow-type.fetch.d.ts.map +1 -1
- package/esm/commands/flow-type/flow-type.list.d.ts +2 -2
- package/esm/commands/flow-type/flow-type.list.d.ts.map +1 -1
- package/esm/commands/flow-type/flow-type.update.d.ts +2 -2
- package/esm/commands/flow-type/flow-type.update.d.ts.map +1 -1
- package/esm/commands/tenant/tenant.fetch.d.ts +4 -5
- package/esm/commands/tenant/tenant.fetch.d.ts.map +1 -1
- package/esm/common/command.d.ts +5 -0
- package/esm/common/command.d.ts.map +1 -1
- package/esm/common/command.js +10 -0
- package/esm/common/flowcore-client.d.ts.map +1 -1
- package/esm/common/flowcore-client.js +3 -2
- package/package.json +1 -1
- package/script/commands/api-key/api-key.create.d.ts +4 -0
- package/script/commands/api-key/api-key.create.d.ts.map +1 -1
- package/script/commands/api-key/api-key.create.js +9 -0
- package/script/commands/data-core/data-core.create.d.ts +6 -2
- package/script/commands/data-core/data-core.create.d.ts.map +1 -1
- package/script/commands/data-core/data-core.create.js +12 -0
- package/script/commands/data-core/data-core.delete-request.d.ts +6 -2
- package/script/commands/data-core/data-core.delete-request.d.ts.map +1 -1
- package/script/commands/data-core/data-core.delete-request.js +9 -0
- package/script/commands/data-core/data-core.fetch.d.ts +3 -4
- package/script/commands/data-core/data-core.fetch.d.ts.map +1 -1
- package/script/commands/data-core/data-core.list.d.ts +2 -2
- package/script/commands/data-core/data-core.list.d.ts.map +1 -1
- package/script/commands/data-core/data-core.update.d.ts +2 -2
- package/script/commands/data-core/data-core.update.d.ts.map +1 -1
- package/script/commands/event-type/event-type.create.d.ts +6 -2
- package/script/commands/event-type/event-type.create.d.ts.map +1 -1
- package/script/commands/event-type/event-type.create.js +12 -0
- package/script/commands/event-type/event-type.delete-request.d.ts +6 -2
- package/script/commands/event-type/event-type.delete-request.d.ts.map +1 -1
- package/script/commands/event-type/event-type.delete-request.js +9 -0
- package/script/commands/event-type/event-type.fetch.d.ts +2 -3
- package/script/commands/event-type/event-type.fetch.d.ts.map +1 -1
- package/script/commands/event-type/event-type.list.d.ts +2 -2
- package/script/commands/event-type/event-type.list.d.ts.map +1 -1
- package/script/commands/flow-type/flow-type.create.d.ts +6 -2
- package/script/commands/flow-type/flow-type.create.d.ts.map +1 -1
- package/script/commands/flow-type/flow-type.create.js +12 -0
- package/script/commands/flow-type/flow-type.delete-request.d.ts +7 -2
- package/script/commands/flow-type/flow-type.delete-request.d.ts.map +1 -1
- package/script/commands/flow-type/flow-type.delete-request.js +9 -0
- package/script/commands/flow-type/flow-type.fetch.d.ts +4 -5
- package/script/commands/flow-type/flow-type.fetch.d.ts.map +1 -1
- package/script/commands/flow-type/flow-type.list.d.ts +2 -2
- package/script/commands/flow-type/flow-type.list.d.ts.map +1 -1
- package/script/commands/flow-type/flow-type.update.d.ts +2 -2
- package/script/commands/flow-type/flow-type.update.d.ts.map +1 -1
- package/script/commands/tenant/tenant.fetch.d.ts +4 -5
- package/script/commands/tenant/tenant.fetch.d.ts.map +1 -1
- package/script/common/command.d.ts +5 -0
- package/script/common/command.d.ts.map +1 -1
- package/script/common/command.js +10 -0
- package/script/common/flowcore-client.d.ts.map +1 -1
- package/script/common/flowcore-client.js +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.10.1](https://github.com/flowcore-io/flowcore-sdk/compare/v1.10.0...v1.10.1) (2025-02-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* disable retry for create resource commands ([c97f990](https://github.com/flowcore-io/flowcore-sdk/commit/c97f99017aaf6deef7ca431a61b5b4c322c3788f))
|
|
9
|
+
|
|
3
10
|
## [1.10.0](https://github.com/flowcore-io/flowcore-sdk/compare/v1.9.3...v1.10.0) (2025-02-03)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -16,6 +16,10 @@ export interface ApiKeyCreateInput {
|
|
|
16
16
|
export declare class ApiKeyCreateCommand extends GraphQlCommand<ApiKeyCreateInput, ApiKey & {
|
|
17
17
|
value: string;
|
|
18
18
|
}> {
|
|
19
|
+
/**
|
|
20
|
+
* Whether the command should retry on failure
|
|
21
|
+
*/
|
|
22
|
+
protected retryOnFailure: boolean;
|
|
19
23
|
/**
|
|
20
24
|
* The allowed modes for the command
|
|
21
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-key.create.d.ts","sourceRoot":"","sources":["../../../src/commands/api-key/api-key.create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAIrE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;CACb;AA4BD;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;IACpG;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAC9B,WAAW,EAAE,OAAO,GACnB,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;IAiB7B;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAOrD;;OAEG;cACsB,eAAe,CACtC,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GACnC,OAAO,CAAC,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAevC"}
|
|
1
|
+
{"version":3,"file":"api-key.create.d.ts","sourceRoot":"","sources":["../../../src/commands/api-key/api-key.create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAIrE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;CACb;AA4BD;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;IACpG;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAC9B,WAAW,EAAE,OAAO,GACnB,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;IAiB7B;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAOrD;;OAEG;cACsB,eAAe,CACtC,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GACnC,OAAO,CAAC,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAevC"}
|
|
@@ -29,6 +29,15 @@ const responseSchema = Type.Object({
|
|
|
29
29
|
export class ApiKeyCreateCommand extends GraphQlCommand {
|
|
30
30
|
constructor() {
|
|
31
31
|
super(...arguments);
|
|
32
|
+
/**
|
|
33
|
+
* Whether the command should retry on failure
|
|
34
|
+
*/
|
|
35
|
+
Object.defineProperty(this, "retryOnFailure", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
configurable: true,
|
|
38
|
+
writable: true,
|
|
39
|
+
value: false
|
|
40
|
+
});
|
|
32
41
|
/**
|
|
33
42
|
* The allowed modes for the command
|
|
34
43
|
*/
|
|
@@ -3,7 +3,7 @@ import { type DataCore } from "../../contracts/data-core.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the data core create command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface DataCoreCreateInput {
|
|
7
7
|
/** The tenant id */
|
|
8
8
|
tenantId: string;
|
|
9
9
|
/** The name of the data core */
|
|
@@ -14,11 +14,15 @@ export type DataCoreCreateInput = {
|
|
|
14
14
|
accessControl: "public" | "private";
|
|
15
15
|
/** Whether the data core is delete protected */
|
|
16
16
|
deleteProtection: boolean;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
18
|
/**
|
|
19
19
|
* Create a data core
|
|
20
20
|
*/
|
|
21
21
|
export declare class DataCoreCreateCommand extends Command<DataCoreCreateInput, DataCore> {
|
|
22
|
+
/**
|
|
23
|
+
* Whether the command should retry on failure
|
|
24
|
+
*/
|
|
25
|
+
protected retryOnFailure: boolean;
|
|
22
26
|
/**
|
|
23
27
|
* Get the method
|
|
24
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-core.create.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"data-core.create.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,0CAA0C;IAC1C,aAAa,EAAE,QAAQ,GAAG,SAAS,CAAA;IACnC,gDAAgD;IAChD,gBAAgB,EAAE,OAAO,CAAA;CAC1B;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;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
|
|
@@ -5,6 +5,18 @@ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
|
|
|
5
5
|
* Create a data core
|
|
6
6
|
*/
|
|
7
7
|
export class DataCoreCreateCommand extends Command {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
/**
|
|
11
|
+
* Whether the command should retry on failure
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(this, "retryOnFailure", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: false
|
|
18
|
+
});
|
|
19
|
+
}
|
|
8
20
|
/**
|
|
9
21
|
* Get the method
|
|
10
22
|
*/
|
|
@@ -3,16 +3,20 @@ import type { FlowcoreClient } from "../../common/flowcore-client.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the data core delete request command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface DataCoreDeleteRequestInput {
|
|
7
7
|
/** The id of the data core */
|
|
8
8
|
dataCoreId: string;
|
|
9
9
|
/** Wait for the data core to be deleted (default: true) */
|
|
10
10
|
waitForDelete?: boolean;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
/**
|
|
13
13
|
* Request to delete a data core
|
|
14
14
|
*/
|
|
15
15
|
export declare class DataCoreDeleteRequestCommand extends GraphQlCommand<DataCoreDeleteRequestInput, boolean> {
|
|
16
|
+
/**
|
|
17
|
+
* Whether the command should retry on failure
|
|
18
|
+
*/
|
|
19
|
+
protected retryOnFailure: boolean;
|
|
16
20
|
/**
|
|
17
21
|
* Create a new data core delete request command
|
|
18
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-core.delete-request.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.delete-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAKxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAErE;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"data-core.delete-request.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.delete-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAKxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAErE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AA4BD;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,cAAc,CAAC,0BAA0B,EAAE,OAAO,CAAC;IACnG;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;gBACS,KAAK,EAAE,0BAA0B;IAO7C;;OAEG;cACgB,aAAa,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO;IAW5D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAOrD;;OAEG;cACsB,eAAe,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;CAkBtG"}
|
|
@@ -40,6 +40,15 @@ export class DataCoreDeleteRequestCommand extends GraphQlCommand {
|
|
|
40
40
|
...input,
|
|
41
41
|
waitForDelete: input.waitForDelete ?? true,
|
|
42
42
|
});
|
|
43
|
+
/**
|
|
44
|
+
* Whether the command should retry on failure
|
|
45
|
+
*/
|
|
46
|
+
Object.defineProperty(this, "retryOnFailure", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
configurable: true,
|
|
49
|
+
writable: true,
|
|
50
|
+
value: false
|
|
51
|
+
});
|
|
43
52
|
}
|
|
44
53
|
/**
|
|
45
54
|
* Parse the response
|
|
@@ -4,18 +4,18 @@ import type { ClientError } from "../../exceptions/client-error.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* The input for the data core fetch by id command
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
export interface DataCoreFetchByIdInput {
|
|
8
8
|
/** The id of the data core */
|
|
9
9
|
dataCoreId: string;
|
|
10
10
|
/** The name of the data core */
|
|
11
11
|
dataCore?: never;
|
|
12
12
|
/** The tenant id */
|
|
13
13
|
tenantId?: never;
|
|
14
|
-
}
|
|
14
|
+
}
|
|
15
15
|
/**
|
|
16
16
|
* The input for the data core fetch by name command
|
|
17
17
|
*/
|
|
18
|
-
interface DataCoreFetchByNameInput {
|
|
18
|
+
export interface DataCoreFetchByNameInput {
|
|
19
19
|
/** The tenant id */
|
|
20
20
|
tenantId: string;
|
|
21
21
|
/** The name of the data core */
|
|
@@ -52,5 +52,4 @@ export declare class DataCoreFetchCommand extends Command<DataCoreFetchInput, Da
|
|
|
52
52
|
*/
|
|
53
53
|
protected handleClientError(error: ClientError): void;
|
|
54
54
|
}
|
|
55
|
-
export {};
|
|
56
55
|
//# sourceMappingURL=data-core.fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-core.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"data-core.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,wBAAwB,CAAA;AAElF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IAC7E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAUpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;IAYhE;;OAEG;cACgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;CAQ/D"}
|
|
@@ -3,12 +3,12 @@ import { type DataCore } from "../../contracts/data-core.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the data core fetch by name command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface DataCoreListInput {
|
|
7
7
|
/** The tenant id */
|
|
8
8
|
tenantId?: string;
|
|
9
9
|
/** The tenant name */
|
|
10
10
|
tenant?: string;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
/**
|
|
13
13
|
* Fetch all data cores for a tenant
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-core.list.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"data-core.list.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,sBAAsB;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAAC,iBAAiB,EAAE,QAAQ,EAAE,CAAC;IAC7E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAWpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,EAAE;CAGnE"}
|
|
@@ -3,7 +3,7 @@ import { type DataCore } from "../../contracts/data-core.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the data core update command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface DataCoreUpdateInput {
|
|
7
7
|
/** The id of the data core */
|
|
8
8
|
dataCoreId: string;
|
|
9
9
|
/** The description of the data core */
|
|
@@ -12,7 +12,7 @@ export type DataCoreUpdateInput = {
|
|
|
12
12
|
accessControl?: "public" | "private";
|
|
13
13
|
/** Whether the data core is delete protected */
|
|
14
14
|
deleteProtection?: boolean;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
/**
|
|
17
17
|
* Update a data core
|
|
18
18
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-core.update.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"data-core.update.d.ts","sourceRoot":"","sources":["../../../src/commands/data-core/data-core.update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IACpC,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAC/E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAQrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
|
|
@@ -3,18 +3,22 @@ import { type EventType } from "../../contracts/event-type.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the event type create command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface EventTypeCreateInput {
|
|
7
7
|
/** The id of the flow type */
|
|
8
8
|
flowTypeId: string;
|
|
9
9
|
/** The name of the event type */
|
|
10
10
|
name: string;
|
|
11
11
|
/** The description of the event type */
|
|
12
12
|
description: string;
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
14
|
/**
|
|
15
15
|
* Create an event type
|
|
16
16
|
*/
|
|
17
17
|
export declare class EventTypeCreateCommand extends Command<EventTypeCreateInput, EventType> {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the command should retry on failure
|
|
20
|
+
*/
|
|
21
|
+
protected retryOnFailure: boolean;
|
|
18
22
|
/**
|
|
19
23
|
* Get the method
|
|
20
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type.create.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,+BAA+B,CAAA;AAG/E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"event-type.create.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,+BAA+B,CAAA;AAG/E;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,wCAAwC;IACxC,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,OAAO,CAAC,oBAAoB,EAAE,SAAS,CAAC;IAClF;;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;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,SAAS;CAGlE"}
|
|
@@ -5,6 +5,18 @@ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
|
|
|
5
5
|
* Create an event type
|
|
6
6
|
*/
|
|
7
7
|
export class EventTypeCreateCommand extends Command {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
/**
|
|
11
|
+
* Whether the command should retry on failure
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(this, "retryOnFailure", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: false
|
|
18
|
+
});
|
|
19
|
+
}
|
|
8
20
|
/**
|
|
9
21
|
* Get the method
|
|
10
22
|
*/
|
|
@@ -3,16 +3,20 @@ import type { FlowcoreClient } from "../../common/flowcore-client.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the event type delete request command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface EventTypeDeleteRequestInput {
|
|
7
7
|
/** The id of the event type */
|
|
8
8
|
eventTypeId: string;
|
|
9
9
|
/** Wait for the event type to be deleted (default: true) */
|
|
10
10
|
waitForDelete?: boolean;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
/**
|
|
13
13
|
* Request to delete a event type
|
|
14
14
|
*/
|
|
15
15
|
export declare class EventTypeDeleteRequestCommand extends GraphQlCommand<EventTypeDeleteRequestInput, boolean> {
|
|
16
|
+
/**
|
|
17
|
+
* Whether the command should retry on failure
|
|
18
|
+
*/
|
|
19
|
+
protected retryOnFailure: boolean;
|
|
16
20
|
/**
|
|
17
21
|
* The allowed modes for the command
|
|
18
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type.delete-request.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.delete-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAIxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAGrE;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"event-type.delete-request.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.delete-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAIxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAGrE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAA;IAEnB,4DAA4D;IAC5D,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AA+BD;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,cAAc,CAAC,2BAA2B,EAAE,OAAO,CAAC;IACrG;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;gBACS,KAAK,EAAE,2BAA2B;IAO9C;;OAEG;cACgB,aAAa,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO;IAW5D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAQrD;;OAEG;cACsB,eAAe,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;CAkBtG"}
|
|
@@ -43,6 +43,15 @@ export class EventTypeDeleteRequestCommand extends GraphQlCommand {
|
|
|
43
43
|
...input,
|
|
44
44
|
waitForDelete: input.waitForDelete ?? true,
|
|
45
45
|
});
|
|
46
|
+
/**
|
|
47
|
+
* Whether the command should retry on failure
|
|
48
|
+
*/
|
|
49
|
+
Object.defineProperty(this, "retryOnFailure", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
configurable: true,
|
|
52
|
+
writable: true,
|
|
53
|
+
value: false
|
|
54
|
+
});
|
|
46
55
|
/**
|
|
47
56
|
* The allowed modes for the command
|
|
48
57
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command } from "../../common/command.js";
|
|
2
2
|
import { type EventType } from "../../contracts/event-type.js";
|
|
3
3
|
import type { ClientError } from "../../exceptions/client-error.js";
|
|
4
|
-
interface EventTypeFetchByIdInput {
|
|
4
|
+
export interface EventTypeFetchByIdInput {
|
|
5
5
|
/** The id of the event type */
|
|
6
6
|
eventTypeId: string;
|
|
7
7
|
/** The id of the flow type */
|
|
@@ -9,7 +9,7 @@ interface EventTypeFetchByIdInput {
|
|
|
9
9
|
/** The name of the event type */
|
|
10
10
|
eventType?: never;
|
|
11
11
|
}
|
|
12
|
-
interface EventTypeFetchByNameInput {
|
|
12
|
+
export interface EventTypeFetchByNameInput {
|
|
13
13
|
/** The id of the flow type */
|
|
14
14
|
flowTypeId: string;
|
|
15
15
|
/** The name of the event type */
|
|
@@ -46,5 +46,4 @@ export declare class EventTypeFetchCommand extends Command<EventTypeFetchInput,
|
|
|
46
46
|
*/
|
|
47
47
|
protected handleClientError(error: ClientError): void;
|
|
48
48
|
}
|
|
49
|
-
export {};
|
|
50
49
|
//# sourceMappingURL=event-type.fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,+BAA+B,CAAA;AAG/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,
|
|
1
|
+
{"version":3,"file":"event-type.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,+BAA+B,CAAA;AAG/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,MAAM,WAAW,uBAAuB;IACtC,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAA;IACnB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,iCAAiC;IACjC,SAAS,CAAC,EAAE,KAAK,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,KAAK,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,GAAG,yBAAyB,CAAA;AAErF;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,mBAAmB,EAAE,SAAS,CAAC;IAChF;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAUpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,SAAS;IAYjE;;OAEG;cACgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;CAQ/D"}
|
|
@@ -3,10 +3,10 @@ import { type EventType } from "../../contracts/event-type.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the event type list command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface EventTypeListInput {
|
|
7
7
|
/** The flow type id */
|
|
8
8
|
flowTypeId: string;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
/**
|
|
11
11
|
* Fetch all event types for a flow type
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type.list.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,+BAA+B,CAAA;AAG/E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"event-type.list.d.ts","sourceRoot":"","sources":["../../../src/commands/event-type/event-type.list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,+BAA+B,CAAA;AAG/E;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,EAAE,SAAS,EAAE,CAAC;IAChF;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAMpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,SAAS,EAAE;CAIpE"}
|
|
@@ -3,18 +3,22 @@ import { type FlowType } from "../../contracts/flow-type.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the data core create command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface FlowTypeCreateInput {
|
|
7
7
|
/** The id of the data core */
|
|
8
8
|
dataCoreId: string;
|
|
9
9
|
/** The name of the flow type */
|
|
10
10
|
name: string;
|
|
11
11
|
/** The description of the flow type */
|
|
12
12
|
description: string;
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
14
|
/**
|
|
15
15
|
* Create a flow type
|
|
16
16
|
*/
|
|
17
17
|
export declare class FlowTypeCreateCommand extends Command<FlowTypeCreateInput, FlowType> {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the command should retry on failure
|
|
20
|
+
*/
|
|
21
|
+
protected retryOnFailure: boolean;
|
|
18
22
|
/**
|
|
19
23
|
* Get the method
|
|
20
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-type.create.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"flow-type.create.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAA;CACpB;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;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
|
|
@@ -5,6 +5,18 @@ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
|
|
|
5
5
|
* Create a flow type
|
|
6
6
|
*/
|
|
7
7
|
export class FlowTypeCreateCommand extends Command {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
/**
|
|
11
|
+
* Whether the command should retry on failure
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(this, "retryOnFailure", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: false
|
|
18
|
+
});
|
|
19
|
+
}
|
|
8
20
|
/**
|
|
9
21
|
* Get the method
|
|
10
22
|
*/
|
|
@@ -4,16 +4,20 @@ import type { ClientError } from "../../exceptions/client-error.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* The input for the flow type delete request command
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export interface FlowTypeDeleteRequestInput {
|
|
8
8
|
/** The id of the flow type */
|
|
9
9
|
flowTypeId: string;
|
|
10
10
|
/** Whether to wait for the flow type to be deleted */
|
|
11
11
|
waitForDelete?: boolean;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
/**
|
|
14
14
|
* Request to delete a flow type
|
|
15
15
|
*/
|
|
16
16
|
export declare class FlowTypeDeleteRequestCommand extends GraphQlCommand<FlowTypeDeleteRequestInput, boolean> {
|
|
17
|
+
/**
|
|
18
|
+
* Whether the command should retry on failure
|
|
19
|
+
*/
|
|
20
|
+
protected retryOnFailure: boolean;
|
|
17
21
|
/**
|
|
18
22
|
* The allowed modes for the command
|
|
19
23
|
*/
|
|
@@ -36,6 +40,7 @@ export declare class FlowTypeDeleteRequestCommand extends GraphQlCommand<FlowTyp
|
|
|
36
40
|
parseResponse: (response: unknown) => boolean | Promise<boolean>;
|
|
37
41
|
processResponse: (client: FlowcoreClient, response: boolean) => Promise<boolean>;
|
|
38
42
|
handleClientError: (error: ClientError) => void;
|
|
43
|
+
retryOnFailure: boolean;
|
|
39
44
|
}>;
|
|
40
45
|
/**
|
|
41
46
|
* Get the body for the request
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-type.delete-request.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.delete-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAMrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"flow-type.delete-request.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.delete-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAMrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,sDAAsD;IACtD,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAmCD;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,cAAc,CAAC,0BAA0B,EAAE,OAAO,CAAC;IACnG;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;gBACS,KAAK,EAAE,0BAA0B;IAO7C;;OAEG;cACgB,aAAa,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO;IAWtC,UAAU,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAC/D;QACE,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAA;QACrC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;QACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC/B,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,aAAa,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;QAChE,eAAe,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;QAChF,iBAAiB,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;QAC/C,cAAc,EAAE,OAAO,CAAA;KACxB,CACF;IAqBD;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAOrD;;OAEG;cACsB,eAAe,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;CAkBtG"}
|
|
@@ -48,6 +48,15 @@ export class FlowTypeDeleteRequestCommand extends GraphQlCommand {
|
|
|
48
48
|
...input,
|
|
49
49
|
waitForDelete: input.waitForDelete ?? true,
|
|
50
50
|
});
|
|
51
|
+
/**
|
|
52
|
+
* Whether the command should retry on failure
|
|
53
|
+
*/
|
|
54
|
+
Object.defineProperty(this, "retryOnFailure", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
configurable: true,
|
|
57
|
+
writable: true,
|
|
58
|
+
value: false
|
|
59
|
+
});
|
|
51
60
|
/**
|
|
52
61
|
* The allowed modes for the command
|
|
53
62
|
*/
|
|
@@ -4,25 +4,25 @@ import type { ClientError } from "../../exceptions/client-error.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* The input for the flow type fetch by name command
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
export interface FlowTypeFetchByNameInput {
|
|
8
8
|
/** The id of the data core */
|
|
9
9
|
dataCoreId: string;
|
|
10
10
|
/** The name of the flow type */
|
|
11
11
|
flowType: string;
|
|
12
12
|
/** The id of the flow type */
|
|
13
13
|
flowTypeId?: never;
|
|
14
|
-
}
|
|
14
|
+
}
|
|
15
15
|
/**
|
|
16
16
|
* The input for the flow type fetch by id command
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
export interface FlowTypeFetchByIdInput {
|
|
19
19
|
/** The id of the flow type */
|
|
20
20
|
flowTypeId: string;
|
|
21
21
|
/** The id of the data core */
|
|
22
22
|
dataCoreId?: never;
|
|
23
23
|
/** The name of the flow type */
|
|
24
24
|
flowType?: never;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
26
|
/**
|
|
27
27
|
* The input for the flow type fetch command
|
|
28
28
|
*/
|
|
@@ -52,5 +52,4 @@ export declare class FlowTypeFetchCommand extends Command<FlowTypeFetchInput, Fl
|
|
|
52
52
|
*/
|
|
53
53
|
protected handleClientError(error: ClientError): void;
|
|
54
54
|
}
|
|
55
|
-
export {};
|
|
56
55
|
//# sourceMappingURL=flow-type.fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-type.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"flow-type.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,wBAAwB,CAAA;AAElF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IAC7E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAUpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;IAYhE;;OAEG;cACgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;CAQ/D"}
|
|
@@ -3,10 +3,10 @@ import { type FlowType } from "../../contracts/flow-type.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the flow type list command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface FlowTypeListInput {
|
|
7
7
|
/** the data core id */
|
|
8
8
|
dataCoreId: string;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
/**
|
|
11
11
|
* Fetch all flow types for a data core
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-type.list.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"flow-type.list.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAAC,iBAAiB,EAAE,QAAQ,EAAE,CAAC;IAC7E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAMpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,EAAE;CAInE"}
|
|
@@ -3,12 +3,12 @@ import { type FlowType } from "../../contracts/flow-type.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the flow type update command
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export interface FlowTypeUpdateInput {
|
|
7
7
|
/** The id of the data core */
|
|
8
8
|
flowTypeId: string;
|
|
9
9
|
/** The description of the flow type */
|
|
10
10
|
description?: string;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
/**
|
|
13
13
|
* Update a flow type
|
|
14
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-type.update.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"flow-type.update.d.ts","sourceRoot":"","sources":["../../../src/commands/flow-type/flow-type.update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAC/E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAKrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
|
|
@@ -3,21 +3,21 @@ import { type Tenant } from "../../contracts/tenant.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* The input for the tenant fetch by id command
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
export interface TenantFetchByIdInput {
|
|
7
7
|
/** The id of the tenant */
|
|
8
8
|
tenantId: string;
|
|
9
9
|
/** The name of the tenant */
|
|
10
10
|
tenant?: never;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
/**
|
|
13
13
|
* The input for the tenant fetch by name command
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
export interface TenantFetchByNameInput {
|
|
16
16
|
/** The name of the tenant */
|
|
17
17
|
tenant: string;
|
|
18
18
|
/** The id of the tenant */
|
|
19
19
|
tenantId?: never;
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
21
|
/**
|
|
22
22
|
* The input for the tenant fetch command
|
|
23
23
|
*/
|
|
@@ -39,5 +39,4 @@ export declare class TenantFetchCommand extends GraphQlCommand<TenantFetchInput,
|
|
|
39
39
|
*/
|
|
40
40
|
protected getBody(): Record<string, unknown>;
|
|
41
41
|
}
|
|
42
|
-
export {};
|
|
43
42
|
//# sourceMappingURL=tenant.fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/tenant/tenant.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,KAAK,MAAM,EAAoC,MAAM,2BAA2B,CAAA;AAIzF;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"tenant.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/tenant/tenant.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,KAAK,MAAM,EAAoC,MAAM,2BAA2B,CAAA;AAIzF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAA;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,sBAAsB,CAAA;AAmC5E;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,cAAc,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAC9E;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM;IAU9D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAYtD"}
|