@flowcore/sdk 1.47.1 → 1.49.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 +22 -0
- package/README.md +114 -0
- package/esm/commands/index.d.ts +5 -0
- package/esm/commands/index.d.ts.map +1 -1
- package/esm/commands/index.js +6 -0
- package/esm/commands/scenario/scenario.create.d.ts +41 -0
- package/esm/commands/scenario/scenario.create.d.ts.map +1 -0
- package/esm/commands/scenario/scenario.create.js +44 -0
- package/esm/commands/scenario/scenario.delete.d.ts +37 -0
- package/esm/commands/scenario/scenario.delete.d.ts.map +1 -0
- package/esm/commands/scenario/scenario.delete.js +47 -0
- package/esm/commands/scenario/scenario.fetch.d.ts +53 -0
- package/esm/commands/scenario/scenario.fetch.d.ts.map +1 -0
- package/esm/commands/scenario/scenario.fetch.js +68 -0
- package/esm/commands/scenario/scenario.list.d.ts +44 -0
- package/esm/commands/scenario/scenario.list.d.ts.map +1 -0
- package/esm/commands/scenario/scenario.list.js +49 -0
- package/esm/commands/scenario/scenario.update.d.ts +43 -0
- package/esm/commands/scenario/scenario.update.d.ts.map +1 -0
- package/esm/commands/scenario/scenario.update.js +53 -0
- package/esm/contracts/scenario.d.ts +18 -0
- package/esm/contracts/scenario.d.ts.map +1 -0
- package/esm/contracts/scenario.js +20 -0
- package/package.json +1 -1
- package/script/commands/index.d.ts +5 -0
- package/script/commands/index.d.ts.map +1 -1
- package/script/commands/index.js +6 -0
- package/script/commands/scenario/scenario.create.d.ts +41 -0
- package/script/commands/scenario/scenario.create.d.ts.map +1 -0
- package/script/commands/scenario/scenario.create.js +48 -0
- package/script/commands/scenario/scenario.delete.d.ts +37 -0
- package/script/commands/scenario/scenario.delete.d.ts.map +1 -0
- package/script/commands/scenario/scenario.delete.js +51 -0
- package/script/commands/scenario/scenario.fetch.d.ts +53 -0
- package/script/commands/scenario/scenario.fetch.d.ts.map +1 -0
- package/script/commands/scenario/scenario.fetch.js +72 -0
- package/script/commands/scenario/scenario.list.d.ts +44 -0
- package/script/commands/scenario/scenario.list.d.ts.map +1 -0
- package/script/commands/scenario/scenario.list.js +53 -0
- package/script/commands/scenario/scenario.update.d.ts +43 -0
- package/script/commands/scenario/scenario.update.d.ts.map +1 -0
- package/script/commands/scenario/scenario.update.js +57 -0
- package/script/contracts/scenario.d.ts +18 -0
- package/script/contracts/scenario.d.ts.map +1 -0
- package/script/contracts/scenario.js +23 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Static, type TObject, type TOptional, type TString } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* The schema for an event type
|
|
4
|
+
*/
|
|
5
|
+
export declare const ScenarioSchema: TObject<{
|
|
6
|
+
id: TString;
|
|
7
|
+
tenantId: TString;
|
|
8
|
+
name: TString;
|
|
9
|
+
displayName: TOptional<TString>;
|
|
10
|
+
description: TOptional<TString>;
|
|
11
|
+
createdAt: TString;
|
|
12
|
+
updatedAt: TString;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* The type for an event type
|
|
16
|
+
*/
|
|
17
|
+
export type Scenario = Static<typeof ScenarioSchema>;
|
|
18
|
+
//# sourceMappingURL=scenario.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scenario.d.ts","sourceRoot":"","sources":["../../src/contracts/scenario.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEjG;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC;IACnC,EAAE,EAAE,OAAO,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC/B,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC/B,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;CACnB,CAeC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScenarioSchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for an event type
|
|
7
|
+
*/
|
|
8
|
+
exports.ScenarioSchema = typebox_1.Type.Object({
|
|
9
|
+
/** Unique identifier for the event type */
|
|
10
|
+
id: typebox_1.Type.String(),
|
|
11
|
+
/** ID of the tenant that owns this event type */
|
|
12
|
+
tenantId: typebox_1.Type.String(),
|
|
13
|
+
/** Name of the event type */
|
|
14
|
+
name: typebox_1.Type.String(),
|
|
15
|
+
/** Display name of the event type */
|
|
16
|
+
displayName: typebox_1.Type.Optional(typebox_1.Type.String()),
|
|
17
|
+
/** Description of the event type */
|
|
18
|
+
description: typebox_1.Type.Optional(typebox_1.Type.String()),
|
|
19
|
+
/** Creation timestamp */
|
|
20
|
+
createdAt: typebox_1.Type.String(),
|
|
21
|
+
/** Last update timestamp */
|
|
22
|
+
updatedAt: typebox_1.Type.String(),
|
|
23
|
+
});
|