@flowcore/sdk 1.48.0 → 1.50.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 +35 -0
- package/README.md +47 -0
- package/esm/_dnt.shims.d.ts +1 -1
- package/esm/commands/adapter/reset-adapter.d.ts +52 -0
- package/esm/commands/adapter/reset-adapter.d.ts.map +1 -0
- package/esm/commands/adapter/reset-adapter.js +38 -0
- package/esm/commands/ai-agent-coordinator/conversation-stream.command.js +1 -6
- package/esm/commands/api-key/api-key.create.js +8 -21
- package/esm/commands/api-key/api-key.delete.js +4 -12
- package/esm/commands/api-key/api-key.list.js +4 -12
- package/esm/commands/data-core/data-core.create.js +4 -12
- package/esm/commands/data-core/data-core.request-delete.js +4 -12
- package/esm/commands/event-type/event-type.create.js +4 -12
- package/esm/commands/event-type/event-type.request-delete.js +4 -12
- package/esm/commands/event-type/event-type.request-truncate.js +4 -12
- package/esm/commands/events/event.list.js +4 -12
- package/esm/commands/events/events.fetch-time-buckets-by-names.js +4 -12
- package/esm/commands/events/events.fetch.js +4 -12
- package/esm/commands/events/time-bucket.list.js +4 -12
- package/esm/commands/flow-type/flow-type.create.js +4 -12
- package/esm/commands/flow-type/flow-type.request-delete.js +4 -12
- package/esm/commands/index.d.ts +1 -7
- package/esm/commands/index.d.ts.map +1 -1
- package/esm/commands/index.js +2 -8
- package/esm/commands/ingestion/ingest.batch.js +5 -18
- package/esm/commands/ingestion/ingest.event.js +5 -18
- package/esm/commands/scenario/scenario.create.js +4 -12
- package/esm/commands/scenario/scenario.delete.js +4 -12
- package/esm/commands/scenario/scenario.fetch.d.ts +22 -4
- package/esm/commands/scenario/scenario.fetch.d.ts.map +1 -1
- package/esm/commands/scenario/scenario.fetch.js +29 -13
- package/esm/commands/scenario/scenario.list.js +4 -12
- package/esm/commands/scenario/scenario.update.d.ts +4 -2
- package/esm/commands/scenario/scenario.update.d.ts.map +1 -1
- package/esm/commands/scenario/scenario.update.js +13 -12
- package/esm/commands/secret/secret.create.js +4 -12
- package/esm/commands/secret/secret.delete.js +4 -12
- package/esm/commands/secret/secret.list.js +4 -12
- package/esm/commands/security/pat.create.js +4 -12
- package/esm/commands/security/pat.delete.js +4 -12
- package/esm/commands/security/pat.exchange.js +4 -12
- package/esm/commands/security/pat.get.js +4 -12
- package/esm/commands/security/pat.list.js +4 -12
- package/esm/commands/tenant/tenant.list.js +4 -12
- package/esm/commands/variable/variable.create.js +4 -12
- package/esm/commands/variable/variable.delete.js +4 -12
- package/esm/commands/variable/variable.list.js +4 -12
- package/esm/common/command-graphql.js +4 -12
- package/esm/common/command.js +20 -45
- package/esm/common/flowcore-client.js +4 -18
- package/esm/common/notification-client.js +15 -72
- package/esm/common/websocket-client.js +16 -80
- package/esm/exceptions/client-error.js +6 -18
- package/esm/exceptions/invalid-response.js +2 -6
- package/esm/utils/local-cache.js +5 -19
- package/package.json +1 -1
- package/script/_dnt.shims.d.ts +1 -1
- package/script/commands/adapter/reset-adapter.d.ts +52 -0
- package/script/commands/adapter/reset-adapter.d.ts.map +1 -0
- package/script/commands/adapter/reset-adapter.js +42 -0
- package/script/commands/ai-agent-coordinator/conversation-stream.command.js +1 -6
- package/script/commands/api-key/api-key.create.js +8 -21
- package/script/commands/api-key/api-key.delete.js +4 -12
- package/script/commands/api-key/api-key.list.js +4 -12
- package/script/commands/data-core/data-core.create.js +4 -12
- package/script/commands/data-core/data-core.request-delete.js +4 -12
- package/script/commands/event-type/event-type.create.js +4 -12
- package/script/commands/event-type/event-type.request-delete.js +4 -12
- package/script/commands/event-type/event-type.request-truncate.js +4 -12
- package/script/commands/events/event.list.js +4 -12
- package/script/commands/events/events.fetch-time-buckets-by-names.js +4 -12
- package/script/commands/events/events.fetch.js +4 -12
- package/script/commands/events/time-bucket.list.js +4 -12
- package/script/commands/flow-type/flow-type.create.js +4 -12
- package/script/commands/flow-type/flow-type.request-delete.js +4 -12
- package/script/commands/index.d.ts +1 -7
- package/script/commands/index.d.ts.map +1 -1
- package/script/commands/index.js +2 -8
- package/script/commands/ingestion/ingest.batch.js +5 -18
- package/script/commands/ingestion/ingest.event.js +5 -18
- package/script/commands/scenario/scenario.create.js +4 -12
- package/script/commands/scenario/scenario.delete.js +4 -12
- package/script/commands/scenario/scenario.fetch.d.ts +22 -4
- package/script/commands/scenario/scenario.fetch.d.ts.map +1 -1
- package/script/commands/scenario/scenario.fetch.js +29 -13
- package/script/commands/scenario/scenario.list.js +4 -12
- package/script/commands/scenario/scenario.update.d.ts +4 -2
- package/script/commands/scenario/scenario.update.d.ts.map +1 -1
- package/script/commands/scenario/scenario.update.js +13 -12
- package/script/commands/secret/secret.create.js +4 -12
- package/script/commands/secret/secret.delete.js +4 -12
- package/script/commands/secret/secret.list.js +4 -12
- package/script/commands/security/pat.create.js +4 -12
- package/script/commands/security/pat.delete.js +4 -12
- package/script/commands/security/pat.exchange.js +4 -12
- package/script/commands/security/pat.get.js +4 -12
- package/script/commands/security/pat.list.js +4 -12
- package/script/commands/tenant/tenant.list.js +4 -12
- package/script/commands/variable/variable.create.js +4 -12
- package/script/commands/variable/variable.delete.js +4 -12
- package/script/commands/variable/variable.list.js +4 -12
- package/script/common/command-graphql.js +4 -12
- package/script/common/command.js +20 -45
- package/script/common/flowcore-client.js +4 -18
- package/script/common/notification-client.js +15 -72
- package/script/common/websocket-client.js +16 -80
- package/script/exceptions/client-error.js +6 -18
- package/script/exceptions/invalid-response.js +2 -6
- package/script/utils/local-cache.js +5 -19
- package/esm/commands/iam/api-key-role-association.create.d.ts +0 -45
- package/esm/commands/iam/api-key-role-association.create.d.ts.map +0 -1
- package/esm/commands/iam/api-key-role-association.create.js +0 -44
- package/esm/commands/iam/api-key-role-association.delete.d.ts +0 -45
- package/esm/commands/iam/api-key-role-association.delete.d.ts.map +0 -1
- package/esm/commands/iam/api-key-role-association.delete.js +0 -44
- package/esm/commands/iam/api-key-role-association.list.d.ts +0 -31
- package/esm/commands/iam/api-key-role-association.list.d.ts.map +0 -1
- package/esm/commands/iam/api-key-role-association.list.js +0 -37
- package/esm/commands/iam/role.list.d.ts +0 -33
- package/esm/commands/iam/role.list.d.ts.map +0 -1
- package/esm/commands/iam/role.list.js +0 -41
- package/esm/commands/iam/user-role-association.create.d.ts +0 -42
- package/esm/commands/iam/user-role-association.create.d.ts.map +0 -1
- package/esm/commands/iam/user-role-association.create.js +0 -40
- package/esm/commands/iam/user-role-association.delete.d.ts +0 -42
- package/esm/commands/iam/user-role-association.delete.d.ts.map +0 -1
- package/esm/commands/iam/user-role-association.delete.js +0 -40
- package/esm/commands/iam/user-role-association.list.d.ts +0 -33
- package/esm/commands/iam/user-role-association.list.d.ts.map +0 -1
- package/esm/commands/iam/user-role-association.list.js +0 -39
- package/esm/contracts/iam.d.ts +0 -13
- package/esm/contracts/iam.d.ts.map +0 -1
- package/esm/contracts/iam.js +0 -9
- package/script/commands/iam/api-key-role-association.create.d.ts +0 -45
- package/script/commands/iam/api-key-role-association.create.d.ts.map +0 -1
- package/script/commands/iam/api-key-role-association.create.js +0 -48
- package/script/commands/iam/api-key-role-association.delete.d.ts +0 -45
- package/script/commands/iam/api-key-role-association.delete.d.ts.map +0 -1
- package/script/commands/iam/api-key-role-association.delete.js +0 -48
- package/script/commands/iam/api-key-role-association.list.d.ts +0 -31
- package/script/commands/iam/api-key-role-association.list.d.ts.map +0 -1
- package/script/commands/iam/api-key-role-association.list.js +0 -41
- package/script/commands/iam/role.list.d.ts +0 -33
- package/script/commands/iam/role.list.d.ts.map +0 -1
- package/script/commands/iam/role.list.js +0 -45
- package/script/commands/iam/user-role-association.create.d.ts +0 -42
- package/script/commands/iam/user-role-association.create.d.ts.map +0 -1
- package/script/commands/iam/user-role-association.create.js +0 -44
- package/script/commands/iam/user-role-association.delete.d.ts +0 -42
- package/script/commands/iam/user-role-association.delete.d.ts.map +0 -1
- package/script/commands/iam/user-role-association.delete.js +0 -44
- package/script/commands/iam/user-role-association.list.d.ts +0 -33
- package/script/commands/iam/user-role-association.list.d.ts.map +0 -1
- package/script/commands/iam/user-role-association.list.js +0 -43
- package/script/contracts/iam.d.ts +0 -13
- package/script/contracts/iam.d.ts.map +0 -1
- package/script/contracts/iam.js +0 -12
|
@@ -16,18 +16,10 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
16
16
|
* Fetch time buckets for an event type
|
|
17
17
|
*/
|
|
18
18
|
class EventListCommand extends command_js_1.Command {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*/
|
|
24
|
-
Object.defineProperty(this, "dedicatedSubdomain", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
configurable: true,
|
|
27
|
-
writable: true,
|
|
28
|
-
value: "event-source"
|
|
29
|
-
});
|
|
30
|
-
}
|
|
19
|
+
/**
|
|
20
|
+
* The dedicated subdomain for the command
|
|
21
|
+
*/
|
|
22
|
+
dedicatedSubdomain = "event-source";
|
|
31
23
|
/**
|
|
32
24
|
* Get the method for the request
|
|
33
25
|
*/
|
|
@@ -15,18 +15,10 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
15
15
|
* Fetch time buckets for an event type
|
|
16
16
|
*/
|
|
17
17
|
class EventsFetchTimeBucketsByNamesCommand extends command_js_1.Command {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
Object.defineProperty(this, "dedicatedSubdomain", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true,
|
|
26
|
-
writable: true,
|
|
27
|
-
value: "event-source"
|
|
28
|
-
});
|
|
29
|
-
}
|
|
18
|
+
/**
|
|
19
|
+
* The dedicated subdomain for the command
|
|
20
|
+
*/
|
|
21
|
+
dedicatedSubdomain = "event-source";
|
|
30
22
|
/**
|
|
31
23
|
* Get the base url for the request
|
|
32
24
|
*/
|
|
@@ -16,18 +16,10 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
16
16
|
* Fetch time buckets for an event type
|
|
17
17
|
*/
|
|
18
18
|
class EventsFetchCommand extends command_js_1.Command {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*/
|
|
24
|
-
Object.defineProperty(this, "dedicatedSubdomain", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
configurable: true,
|
|
27
|
-
writable: true,
|
|
28
|
-
value: "event-source"
|
|
29
|
-
});
|
|
30
|
-
}
|
|
19
|
+
/**
|
|
20
|
+
* The dedicated subdomain for the command
|
|
21
|
+
*/
|
|
22
|
+
dedicatedSubdomain = "event-source";
|
|
31
23
|
/**
|
|
32
24
|
* Get the base url for the request
|
|
33
25
|
*/
|
|
@@ -15,18 +15,10 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
15
15
|
* Fetch time buckets for an event type
|
|
16
16
|
*/
|
|
17
17
|
class TimeBucketListCommand extends command_js_1.Command {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
Object.defineProperty(this, "dedicatedSubdomain", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true,
|
|
26
|
-
writable: true,
|
|
27
|
-
value: "event-source"
|
|
28
|
-
});
|
|
29
|
-
}
|
|
18
|
+
/**
|
|
19
|
+
* The dedicated subdomain for the command
|
|
20
|
+
*/
|
|
21
|
+
dedicatedSubdomain = "event-source";
|
|
30
22
|
/**
|
|
31
23
|
* Get the method for the request
|
|
32
24
|
*/
|
|
@@ -8,18 +8,10 @@ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js
|
|
|
8
8
|
* Create a flow type
|
|
9
9
|
*/
|
|
10
10
|
class FlowTypeCreateCommand extends command_js_1.Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true,
|
|
20
|
-
value: false
|
|
21
|
-
});
|
|
22
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether the command should retry on failure
|
|
13
|
+
*/
|
|
14
|
+
retryOnFailure = false;
|
|
23
15
|
/**
|
|
24
16
|
* Get the method
|
|
25
17
|
*/
|
|
@@ -10,18 +10,10 @@ const flow_type_exists_js_1 = require("./flow-type.exists.js");
|
|
|
10
10
|
* Request to delete a flow type
|
|
11
11
|
*/
|
|
12
12
|
class FlowTypeRequestDeleteCommand extends command_js_1.Command {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*/
|
|
18
|
-
Object.defineProperty(this, "dedicatedSubdomain", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
configurable: true,
|
|
21
|
-
writable: true,
|
|
22
|
-
value: "delete-manager"
|
|
23
|
-
});
|
|
24
|
-
}
|
|
13
|
+
/**
|
|
14
|
+
* The dedicated subdomain for the command
|
|
15
|
+
*/
|
|
16
|
+
dedicatedSubdomain = "delete-manager";
|
|
25
17
|
/**
|
|
26
18
|
* Get the method
|
|
27
19
|
*/
|
|
@@ -3,6 +3,7 @@ export * from "./tenant/tenant.enable-sensitive-data.js";
|
|
|
3
3
|
export * from "./tenant/tenant.fetch.js";
|
|
4
4
|
export * from "./tenant/tenant.list.js";
|
|
5
5
|
export * from "./tenant/tenant.translate-name-to-id.js";
|
|
6
|
+
export * from "./adapter/reset-adapter.js";
|
|
6
7
|
export * from "./api-key/api-key.create.js";
|
|
7
8
|
export * from "./api-key/api-key.delete.js";
|
|
8
9
|
export * from "./api-key/api-key.list.js";
|
|
@@ -36,13 +37,6 @@ export * from "./event-type/event-type.request-truncate.js";
|
|
|
36
37
|
export * from "./event-type/event-type.update.js";
|
|
37
38
|
export * from "./ingestion/ingest.batch.js";
|
|
38
39
|
export * from "./ingestion/ingest.event.js";
|
|
39
|
-
export * from "./iam/api-key-role-association.create.js";
|
|
40
|
-
export * from "./iam/api-key-role-association.delete.js";
|
|
41
|
-
export * from "./iam/api-key-role-association.list.js";
|
|
42
|
-
export * from "./iam/role.list.js";
|
|
43
|
-
export * from "./iam/user-role-association.create.js";
|
|
44
|
-
export * from "./iam/user-role-association.delete.js";
|
|
45
|
-
export * from "./iam/user-role-association.list.js";
|
|
46
40
|
export * from "./events/event.list.js";
|
|
47
41
|
export * from "./events/events.fetch-time-buckets-by-names.js";
|
|
48
42
|
export * from "./events/events.fetch.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AACA,cAAc,2CAA2C,CAAA;AACzD,cAAc,0CAA0C,CAAA;AACxD,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yCAAyC,CAAA;AAGvD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AAGzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AAGvC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAG3C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yCAAyC,CAAA;AACvD,cAAc,iCAAiC,CAAA;AAG/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yCAAyC,CAAA;AACvD,cAAc,iCAAiC,CAAA;AAG/C,cAAc,mCAAmC,CAAA;AACjD,cAAc,mCAAmC,CAAA;AACjD,cAAc,kCAAkC,CAAA;AAChD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,iCAAiC,CAAA;AAC/C,cAAc,kDAAkD,CAAA;AAChE,cAAc,2CAA2C,CAAA;AACzD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,mCAAmC,CAAA;AAGjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAG3C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AACA,cAAc,2CAA2C,CAAA;AACzD,cAAc,0CAA0C,CAAA;AACxD,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yCAAyC,CAAA;AAGvD,cAAc,4BAA4B,CAAA;AAG1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AAGzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AAGvC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAG3C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yCAAyC,CAAA;AACvD,cAAc,iCAAiC,CAAA;AAG/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yCAAyC,CAAA;AACvD,cAAc,iCAAiC,CAAA;AAG/C,cAAc,mCAAmC,CAAA;AACjD,cAAc,mCAAmC,CAAA;AACjD,cAAc,kCAAkC,CAAA;AAChD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,iCAAiC,CAAA;AAC/C,cAAc,kDAAkD,CAAA;AAChE,cAAc,2CAA2C,CAAA;AACzD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,mCAAmC,CAAA;AAGjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAG3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAG5C,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,kDAAkD,CAAA;AAChE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AAGjE,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,gCAAgC,CAAA;AAG9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA"}
|
package/script/commands/index.js
CHANGED
|
@@ -20,6 +20,8 @@ __exportStar(require("./tenant/tenant.enable-sensitive-data.js"), exports);
|
|
|
20
20
|
__exportStar(require("./tenant/tenant.fetch.js"), exports);
|
|
21
21
|
__exportStar(require("./tenant/tenant.list.js"), exports);
|
|
22
22
|
__exportStar(require("./tenant/tenant.translate-name-to-id.js"), exports);
|
|
23
|
+
// Adapter
|
|
24
|
+
__exportStar(require("./adapter/reset-adapter.js"), exports);
|
|
23
25
|
// Api Key
|
|
24
26
|
__exportStar(require("./api-key/api-key.create.js"), exports);
|
|
25
27
|
__exportStar(require("./api-key/api-key.delete.js"), exports);
|
|
@@ -60,14 +62,6 @@ __exportStar(require("./event-type/event-type.update.js"), exports);
|
|
|
60
62
|
// Ingestion
|
|
61
63
|
__exportStar(require("./ingestion/ingest.batch.js"), exports);
|
|
62
64
|
__exportStar(require("./ingestion/ingest.event.js"), exports);
|
|
63
|
-
// IAM
|
|
64
|
-
__exportStar(require("./iam/api-key-role-association.create.js"), exports);
|
|
65
|
-
__exportStar(require("./iam/api-key-role-association.delete.js"), exports);
|
|
66
|
-
__exportStar(require("./iam/api-key-role-association.list.js"), exports);
|
|
67
|
-
__exportStar(require("./iam/role.list.js"), exports);
|
|
68
|
-
__exportStar(require("./iam/user-role-association.create.js"), exports);
|
|
69
|
-
__exportStar(require("./iam/user-role-association.delete.js"), exports);
|
|
70
|
-
__exportStar(require("./iam/user-role-association.list.js"), exports);
|
|
71
65
|
// Events
|
|
72
66
|
__exportStar(require("./events/event.list.js"), exports);
|
|
73
67
|
__exportStar(require("./events/events.fetch-time-buckets-by-names.js"), exports);
|
|
@@ -15,24 +15,11 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
15
15
|
* Ingest a batch of events
|
|
16
16
|
*/
|
|
17
17
|
class IngestBatchCommand extends command_js_1.Command {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Object.defineProperty(this, "dedicatedSubdomain", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true,
|
|
26
|
-
writable: true,
|
|
27
|
-
value: "webhook"
|
|
28
|
-
});
|
|
29
|
-
Object.defineProperty(this, "allowedModes", {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true,
|
|
32
|
-
writable: true,
|
|
33
|
-
value: ["apiKey"]
|
|
34
|
-
});
|
|
35
|
-
}
|
|
18
|
+
/**
|
|
19
|
+
* The dedicated subdomain for the command
|
|
20
|
+
*/
|
|
21
|
+
dedicatedSubdomain = "webhook";
|
|
22
|
+
allowedModes = ["apiKey"];
|
|
36
23
|
getMethod() {
|
|
37
24
|
return "POST";
|
|
38
25
|
}
|
|
@@ -15,24 +15,11 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
15
15
|
* Ingest an event
|
|
16
16
|
*/
|
|
17
17
|
class IngestEventCommand extends command_js_1.Command {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Object.defineProperty(this, "dedicatedSubdomain", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true,
|
|
26
|
-
writable: true,
|
|
27
|
-
value: "webhook"
|
|
28
|
-
});
|
|
29
|
-
Object.defineProperty(this, "allowedModes", {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true,
|
|
32
|
-
writable: true,
|
|
33
|
-
value: ["apiKey"]
|
|
34
|
-
});
|
|
35
|
-
}
|
|
18
|
+
/**
|
|
19
|
+
* The dedicated subdomain for the command
|
|
20
|
+
*/
|
|
21
|
+
dedicatedSubdomain = "webhook";
|
|
22
|
+
allowedModes = ["apiKey"];
|
|
36
23
|
getMethod() {
|
|
37
24
|
return "POST";
|
|
38
25
|
}
|
|
@@ -8,18 +8,10 @@ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js
|
|
|
8
8
|
* Create a scenario
|
|
9
9
|
*/
|
|
10
10
|
class ScenarioCreateCommand extends command_js_1.Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true,
|
|
20
|
-
value: false
|
|
21
|
-
});
|
|
22
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether the command should retry on failure
|
|
13
|
+
*/
|
|
14
|
+
retryOnFailure = false;
|
|
23
15
|
/**
|
|
24
16
|
* Get the method
|
|
25
17
|
*/
|
|
@@ -11,18 +11,10 @@ const ScenarioDeleteOutputSchema = typebox_1.Type.Object({
|
|
|
11
11
|
* Delete a scenario
|
|
12
12
|
*/
|
|
13
13
|
class ScenarioDeleteCommand extends command_js_1.Command {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
configurable: true,
|
|
22
|
-
writable: true,
|
|
23
|
-
value: false
|
|
24
|
-
});
|
|
25
|
-
}
|
|
14
|
+
/**
|
|
15
|
+
* Whether the command should retry on failure
|
|
16
|
+
*/
|
|
17
|
+
retryOnFailure = false;
|
|
26
18
|
/**
|
|
27
19
|
* Get the method
|
|
28
20
|
*/
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
import { Command } from "../../common/command.js";
|
|
2
2
|
import { type Scenario } from "../../contracts/scenario.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*/
|
|
6
|
-
export interface ScenarioFetchInput {
|
|
3
|
+
import type { ClientError } from "../../exceptions/client-error.js";
|
|
4
|
+
export interface ScenarioFetchByIdInput {
|
|
7
5
|
/** The scenario id */
|
|
8
6
|
scenarioId: string;
|
|
7
|
+
/** The tenant id */
|
|
8
|
+
tenantId?: never;
|
|
9
|
+
/** scenario name */
|
|
10
|
+
name?: never;
|
|
11
|
+
}
|
|
12
|
+
export interface ScenarioFetchByNameInput {
|
|
13
|
+
/** The scenario id */
|
|
14
|
+
scenarioId?: never;
|
|
15
|
+
/** The tenant id */
|
|
16
|
+
tenantId: string;
|
|
17
|
+
/** scenario name */
|
|
18
|
+
name: string;
|
|
9
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* The input for the scenario fetch command
|
|
22
|
+
*/
|
|
23
|
+
export type ScenarioFetchInput = ScenarioFetchByIdInput | ScenarioFetchByNameInput;
|
|
10
24
|
/**
|
|
11
25
|
* fetch a scenario
|
|
12
26
|
*/
|
|
@@ -31,5 +45,9 @@ export declare class ScenarioFetchCommand extends Command<ScenarioFetchInput, Sc
|
|
|
31
45
|
* Parse the response
|
|
32
46
|
*/
|
|
33
47
|
protected parseResponse(rawResponse: unknown): Scenario;
|
|
48
|
+
/**
|
|
49
|
+
* Handle the client error
|
|
50
|
+
*/
|
|
51
|
+
protected handleClientError(error: ClientError): void;
|
|
34
52
|
}
|
|
35
53
|
//# sourceMappingURL=scenario.fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scenario.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/scenario/scenario.fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"scenario.fetch.d.ts","sourceRoot":"","sources":["../../../src/commands/scenario/scenario.fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,6BAA6B,CAAA;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAInE,MAAM,WAAW,sBAAsB;IACrC,sBAAsB;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,oBAAoB;IACpB,IAAI,CAAC,EAAE,KAAK,CAAA;CACb;AAED,MAAM,WAAW,wBAAwB;IACvC,sBAAsB;IACtB,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAA;CACb;AAUD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,wBAAwB,CAAA;AAElF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IAC7E;;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;IAOpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;IAIhE;;OAEG;cACgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;CAU/D"}
|
|
@@ -3,23 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ScenarioFetchCommand = void 0;
|
|
4
4
|
const command_js_1 = require("../../common/command.js");
|
|
5
5
|
const scenario_js_1 = require("../../contracts/scenario.js");
|
|
6
|
+
const not_found_js_1 = require("../../exceptions/not-found.js");
|
|
6
7
|
const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
|
|
8
|
+
function isScenarioFetchByIdInput(input) {
|
|
9
|
+
return "scenarioId" in input;
|
|
10
|
+
}
|
|
11
|
+
function isScenarioFetchByNameAndTenantInput(input) {
|
|
12
|
+
return "tenantId" in input;
|
|
13
|
+
}
|
|
7
14
|
/**
|
|
8
15
|
* fetch a scenario
|
|
9
16
|
*/
|
|
10
17
|
class ScenarioFetchCommand extends command_js_1.Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true,
|
|
20
|
-
value: false
|
|
21
|
-
});
|
|
22
|
-
}
|
|
18
|
+
/**
|
|
19
|
+
* Whether the command should retry on failure
|
|
20
|
+
*/
|
|
21
|
+
retryOnFailure = false;
|
|
23
22
|
/**
|
|
24
23
|
* Get the method
|
|
25
24
|
*/
|
|
@@ -36,7 +35,10 @@ class ScenarioFetchCommand extends command_js_1.Command {
|
|
|
36
35
|
* Get the path
|
|
37
36
|
*/
|
|
38
37
|
getPath() {
|
|
39
|
-
|
|
38
|
+
if (this.input.scenarioId) {
|
|
39
|
+
return `/api/v1/scenarios/${this.input.scenarioId}`;
|
|
40
|
+
}
|
|
41
|
+
return `/api/v1/scenarios/tenant/${this.input.tenantId}/name/${this.input.name}`;
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
44
|
* Parse the response
|
|
@@ -44,5 +46,19 @@ class ScenarioFetchCommand extends command_js_1.Command {
|
|
|
44
46
|
parseResponse(rawResponse) {
|
|
45
47
|
return (0, parse_response_helper_js_1.parseResponseHelper)(scenario_js_1.ScenarioSchema, rawResponse);
|
|
46
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Handle the client error
|
|
51
|
+
*/
|
|
52
|
+
handleClientError(error) {
|
|
53
|
+
if (error.status === 404) {
|
|
54
|
+
if (isScenarioFetchByIdInput(this.input)) {
|
|
55
|
+
throw new not_found_js_1.NotFoundException("Scenario", { id: this.input.scenarioId });
|
|
56
|
+
}
|
|
57
|
+
else if (isScenarioFetchByNameAndTenantInput(this.input)) {
|
|
58
|
+
throw new not_found_js_1.NotFoundException("Scenario", { name: this.input.name, tenantId: this.input.tenantId });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
throw error;
|
|
62
|
+
}
|
|
47
63
|
}
|
|
48
64
|
exports.ScenarioFetchCommand = ScenarioFetchCommand;
|
|
@@ -13,18 +13,10 @@ const ScenarioListOutputSchema = typebox_1.Type.Object({
|
|
|
13
13
|
* list all scenarios
|
|
14
14
|
*/
|
|
15
15
|
class ScenarioListCommand extends command_js_1.Command {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
21
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
configurable: true,
|
|
24
|
-
writable: true,
|
|
25
|
-
value: false
|
|
26
|
-
});
|
|
27
|
-
}
|
|
16
|
+
/**
|
|
17
|
+
* Whether the command should retry on failure
|
|
18
|
+
*/
|
|
19
|
+
retryOnFailure = false;
|
|
28
20
|
/**
|
|
29
21
|
* Get the method
|
|
30
22
|
*/
|
|
@@ -4,8 +4,6 @@ import { type Scenario } from "../../contracts/scenario.js";
|
|
|
4
4
|
* The input for the scenario update command
|
|
5
5
|
*/
|
|
6
6
|
export interface ScenarioUpdateInput {
|
|
7
|
-
/** The tenant id */
|
|
8
|
-
tenantId: string;
|
|
9
7
|
/** The scenario id */
|
|
10
8
|
scenarioId: string;
|
|
11
9
|
/** The description of the scenario */
|
|
@@ -29,6 +27,10 @@ export declare class ScenarioUpdateCommand extends Command<ScenarioUpdateInput,
|
|
|
29
27
|
* Get the base url
|
|
30
28
|
*/
|
|
31
29
|
protected getBaseUrl(): string;
|
|
30
|
+
/**
|
|
31
|
+
* Get the body
|
|
32
|
+
*/
|
|
33
|
+
protected getBody(): Record<string, unknown> | Array<unknown> | undefined;
|
|
32
34
|
/**
|
|
33
35
|
* Get the path
|
|
34
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scenario.update.d.ts","sourceRoot":"","sources":["../../../src/commands/scenario/scenario.update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,6BAA6B,CAAA;AAG3E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,
|
|
1
|
+
{"version":3,"file":"scenario.update.d.ts","sourceRoot":"","sources":["../../../src/commands/scenario/scenario.update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,6BAA6B,CAAA;AAG3E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,sBAAsB;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uCAAuC;IACvC,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,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,SAAS;IAOlF;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
|
|
@@ -8,18 +8,10 @@ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js
|
|
|
8
8
|
* Update a scenario
|
|
9
9
|
*/
|
|
10
10
|
class ScenarioUpdateCommand extends command_js_1.Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true,
|
|
20
|
-
value: false
|
|
21
|
-
});
|
|
22
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether the command should retry on failure
|
|
13
|
+
*/
|
|
14
|
+
retryOnFailure = false;
|
|
23
15
|
/**
|
|
24
16
|
* Get the method
|
|
25
17
|
*/
|
|
@@ -32,6 +24,15 @@ class ScenarioUpdateCommand extends command_js_1.Command {
|
|
|
32
24
|
getBaseUrl() {
|
|
33
25
|
return "https://scenario-2.api.flowcore.io";
|
|
34
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Get the body
|
|
29
|
+
*/
|
|
30
|
+
getBody() {
|
|
31
|
+
return {
|
|
32
|
+
...(this.input.description && { description: this.input.description }),
|
|
33
|
+
...(this.input.displayName && { displayName: this.input.displayName }),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
35
36
|
/**
|
|
36
37
|
* Get the path
|
|
37
38
|
*/
|
|
@@ -26,18 +26,10 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
26
26
|
* List secrets
|
|
27
27
|
*/
|
|
28
28
|
class SecretCreateCommand extends command_graphql_js_1.GraphQlCommand {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
*/
|
|
34
|
-
Object.defineProperty(this, "allowedModes", {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
configurable: true,
|
|
37
|
-
writable: true,
|
|
38
|
-
value: ["bearer"]
|
|
39
|
-
});
|
|
40
|
-
}
|
|
29
|
+
/**
|
|
30
|
+
* The allowed modes for the command
|
|
31
|
+
*/
|
|
32
|
+
allowedModes = ["bearer"];
|
|
41
33
|
/**
|
|
42
34
|
* Parse the response
|
|
43
35
|
*/
|
|
@@ -26,18 +26,10 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
26
26
|
* List secrets
|
|
27
27
|
*/
|
|
28
28
|
class SecretDeleteCommand extends command_graphql_js_1.GraphQlCommand {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
*/
|
|
34
|
-
Object.defineProperty(this, "allowedModes", {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
configurable: true,
|
|
37
|
-
writable: true,
|
|
38
|
-
value: ["bearer"]
|
|
39
|
-
});
|
|
40
|
-
}
|
|
29
|
+
/**
|
|
30
|
+
* The allowed modes for the command
|
|
31
|
+
*/
|
|
32
|
+
allowedModes = ["bearer"];
|
|
41
33
|
/**
|
|
42
34
|
* Parse the response
|
|
43
35
|
*/
|
|
@@ -29,18 +29,10 @@ const responseSchema = typebox_1.Type.Object({
|
|
|
29
29
|
* List secrets
|
|
30
30
|
*/
|
|
31
31
|
class SecretListCommand extends command_graphql_js_1.GraphQlCommand {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*/
|
|
37
|
-
Object.defineProperty(this, "allowedModes", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
configurable: true,
|
|
40
|
-
writable: true,
|
|
41
|
-
value: ["bearer"]
|
|
42
|
-
});
|
|
43
|
-
}
|
|
32
|
+
/**
|
|
33
|
+
* The allowed modes for the command
|
|
34
|
+
*/
|
|
35
|
+
allowedModes = ["bearer"];
|
|
44
36
|
/**
|
|
45
37
|
* Parse the response
|
|
46
38
|
*/
|
|
@@ -8,18 +8,10 @@ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js
|
|
|
8
8
|
* Create a Personal Access Token (PAT)
|
|
9
9
|
*/
|
|
10
10
|
class SecurityCreatePATCommand extends command_js_1.Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true,
|
|
20
|
-
value: false
|
|
21
|
-
});
|
|
22
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether the command should retry on failure
|
|
13
|
+
*/
|
|
14
|
+
retryOnFailure = false;
|
|
23
15
|
/**
|
|
24
16
|
* Get the method
|
|
25
17
|
*/
|
|
@@ -8,18 +8,10 @@ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js
|
|
|
8
8
|
* Delete a Personal Access Token (PAT)
|
|
9
9
|
*/
|
|
10
10
|
class SecurityDeletePATCommand extends command_js_1.Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true,
|
|
20
|
-
value: false
|
|
21
|
-
});
|
|
22
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether the command should retry on failure
|
|
13
|
+
*/
|
|
14
|
+
retryOnFailure = false;
|
|
23
15
|
/**
|
|
24
16
|
* Get the method
|
|
25
17
|
*/
|
|
@@ -8,18 +8,10 @@ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js
|
|
|
8
8
|
* Exchange a Personal Access Token (PAT) for an access token
|
|
9
9
|
*/
|
|
10
10
|
class SecurityExchangePATCommand extends command_js_1.Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(this, "retryOnFailure", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true,
|
|
20
|
-
value: false
|
|
21
|
-
});
|
|
22
|
-
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether the command should retry on failure
|
|
13
|
+
*/
|
|
14
|
+
retryOnFailure = false;
|
|
23
15
|
/**
|
|
24
16
|
* Get the method
|
|
25
17
|
*/
|