@vertesia/common 0.51.0 → 0.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.
- package/package.json +3 -3
- package/src/apikey.ts +1 -1
- package/src/common.ts +3 -0
- package/src/index.ts +1 -1
- package/src/integrations.ts +1 -1
- package/src/interaction.ts +263 -40
- package/src/meters.ts +9 -3
- package/src/payload.ts +15 -3
- package/src/plugin.ts +12 -0
- package/src/project.ts +8 -0
- package/src/prompt.ts +1 -1
- package/src/query.ts +5 -3
- package/src/runs.ts +11 -2
- package/src/store/activity-catalog.ts +2 -2
- package/src/store/agent.ts +1 -1
- package/src/store/collections.ts +9 -3
- package/src/store/common.ts +21 -1
- package/src/store/doc-analyzer.ts +80 -20
- package/src/store/dsl-workflow.ts +9 -9
- package/src/store/index.ts +1 -0
- package/src/store/signals.ts +5 -0
- package/src/store/store.ts +118 -52
- package/src/store/workflow.ts +173 -67
- package/src/user.ts +0 -2
- package/src/utils/schemas.ts +18 -1
- package/lib/cjs/Progress.js +0 -61
- package/lib/cjs/Progress.js.map +0 -1
- package/lib/cjs/access-control.js +0 -39
- package/lib/cjs/access-control.js.map +0 -1
- package/lib/cjs/analytics.js +0 -3
- package/lib/cjs/analytics.js.map +0 -1
- package/lib/cjs/apikey.js +0 -15
- package/lib/cjs/apikey.js.map +0 -1
- package/lib/cjs/common.js +0 -3
- package/lib/cjs/common.js.map +0 -1
- package/lib/cjs/environment.js +0 -116
- package/lib/cjs/environment.js.map +0 -1
- package/lib/cjs/facets.js +0 -3
- package/lib/cjs/facets.js.map +0 -1
- package/lib/cjs/index.js +0 -40
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/integrations.js +0 -11
- package/lib/cjs/integrations.js.map +0 -1
- package/lib/cjs/interaction.js +0 -63
- package/lib/cjs/interaction.js.map +0 -1
- package/lib/cjs/meters.js +0 -13
- package/lib/cjs/meters.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/payload.js +0 -3
- package/lib/cjs/payload.js.map +0 -1
- package/lib/cjs/project.js +0 -50
- package/lib/cjs/project.js.map +0 -1
- package/lib/cjs/prompt.js +0 -21
- package/lib/cjs/prompt.js.map +0 -1
- package/lib/cjs/query.js +0 -3
- package/lib/cjs/query.js.map +0 -1
- package/lib/cjs/refs.js +0 -12
- package/lib/cjs/refs.js.map +0 -1
- package/lib/cjs/runs.js +0 -3
- package/lib/cjs/runs.js.map +0 -1
- package/lib/cjs/store/activity-catalog.js +0 -3
- package/lib/cjs/store/activity-catalog.js.map +0 -1
- package/lib/cjs/store/agent.js +0 -3
- package/lib/cjs/store/agent.js.map +0 -1
- package/lib/cjs/store/collections.js +0 -9
- package/lib/cjs/store/collections.js.map +0 -1
- package/lib/cjs/store/common.js +0 -3
- package/lib/cjs/store/common.js.map +0 -1
- package/lib/cjs/store/doc-analyzer.js +0 -3
- package/lib/cjs/store/doc-analyzer.js.map +0 -1
- package/lib/cjs/store/dsl-workflow.js +0 -5
- package/lib/cjs/store/dsl-workflow.js.map +0 -1
- package/lib/cjs/store/index.js +0 -27
- package/lib/cjs/store/index.js.map +0 -1
- package/lib/cjs/store/object-types.js +0 -98
- package/lib/cjs/store/object-types.js.map +0 -1
- package/lib/cjs/store/store.js +0 -18
- package/lib/cjs/store/store.js.map +0 -1
- package/lib/cjs/store/temporalio.js +0 -44
- package/lib/cjs/store/temporalio.js.map +0 -1
- package/lib/cjs/store/workflow.js +0 -24
- package/lib/cjs/store/workflow.js.map +0 -1
- package/lib/cjs/training.js +0 -14
- package/lib/cjs/training.js.map +0 -1
- package/lib/cjs/transient-tokens.js +0 -9
- package/lib/cjs/transient-tokens.js.map +0 -1
- package/lib/cjs/user.js +0 -17
- package/lib/cjs/user.js.map +0 -1
- package/lib/cjs/utils/advanced-content-processing.js +0 -25
- package/lib/cjs/utils/advanced-content-processing.js.map +0 -1
- package/lib/cjs/utils/auth.js +0 -15
- package/lib/cjs/utils/auth.js.map +0 -1
- package/lib/cjs/utils/schemas.js +0 -48
- package/lib/cjs/utils/schemas.js.map +0 -1
- package/lib/esm/Progress.js +0 -57
- package/lib/esm/Progress.js.map +0 -1
- package/lib/esm/access-control.js +0 -36
- package/lib/esm/access-control.js.map +0 -1
- package/lib/esm/analytics.js +0 -2
- package/lib/esm/analytics.js.map +0 -1
- package/lib/esm/apikey.js +0 -12
- package/lib/esm/apikey.js.map +0 -1
- package/lib/esm/common.js +0 -2
- package/lib/esm/common.js.map +0 -1
- package/lib/esm/environment.js +0 -113
- package/lib/esm/environment.js.map +0 -1
- package/lib/esm/facets.js +0 -2
- package/lib/esm/facets.js.map +0 -1
- package/lib/esm/index.js +0 -24
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/integrations.js +0 -8
- package/lib/esm/integrations.js.map +0 -1
- package/lib/esm/interaction.js +0 -60
- package/lib/esm/interaction.js.map +0 -1
- package/lib/esm/meters.js +0 -10
- package/lib/esm/meters.js.map +0 -1
- package/lib/esm/payload.js +0 -2
- package/lib/esm/payload.js.map +0 -1
- package/lib/esm/project.js +0 -46
- package/lib/esm/project.js.map +0 -1
- package/lib/esm/prompt.js +0 -18
- package/lib/esm/prompt.js.map +0 -1
- package/lib/esm/query.js +0 -2
- package/lib/esm/query.js.map +0 -1
- package/lib/esm/refs.js +0 -9
- package/lib/esm/refs.js.map +0 -1
- package/lib/esm/runs.js +0 -2
- package/lib/esm/runs.js.map +0 -1
- package/lib/esm/store/activity-catalog.js +0 -2
- package/lib/esm/store/activity-catalog.js.map +0 -1
- package/lib/esm/store/agent.js +0 -2
- package/lib/esm/store/agent.js.map +0 -1
- package/lib/esm/store/collections.js +0 -6
- package/lib/esm/store/collections.js.map +0 -1
- package/lib/esm/store/common.js +0 -2
- package/lib/esm/store/common.js.map +0 -1
- package/lib/esm/store/doc-analyzer.js +0 -2
- package/lib/esm/store/doc-analyzer.js.map +0 -1
- package/lib/esm/store/dsl-workflow.js +0 -2
- package/lib/esm/store/dsl-workflow.js.map +0 -1
- package/lib/esm/store/index.js +0 -11
- package/lib/esm/store/index.js.map +0 -1
- package/lib/esm/store/object-types.js +0 -95
- package/lib/esm/store/object-types.js.map +0 -1
- package/lib/esm/store/store.js +0 -15
- package/lib/esm/store/store.js.map +0 -1
- package/lib/esm/store/temporalio.js +0 -41
- package/lib/esm/store/temporalio.js.map +0 -1
- package/lib/esm/store/workflow.js +0 -21
- package/lib/esm/store/workflow.js.map +0 -1
- package/lib/esm/training.js +0 -11
- package/lib/esm/training.js.map +0 -1
- package/lib/esm/transient-tokens.js +0 -6
- package/lib/esm/transient-tokens.js.map +0 -1
- package/lib/esm/user.js +0 -14
- package/lib/esm/user.js.map +0 -1
- package/lib/esm/utils/advanced-content-processing.js +0 -19
- package/lib/esm/utils/advanced-content-processing.js.map +0 -1
- package/lib/esm/utils/auth.js +0 -11
- package/lib/esm/utils/auth.js.map +0 -1
- package/lib/esm/utils/schemas.js +0 -44
- package/lib/esm/utils/schemas.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/Progress.d.ts +0 -22
- package/lib/types/Progress.d.ts.map +0 -1
- package/lib/types/access-control.d.ts +0 -57
- package/lib/types/access-control.d.ts.map +0 -1
- package/lib/types/analytics.d.ts +0 -37
- package/lib/types/analytics.d.ts.map +0 -1
- package/lib/types/apikey.d.ts +0 -55
- package/lib/types/apikey.d.ts.map +0 -1
- package/lib/types/common.d.ts +0 -29
- package/lib/types/common.d.ts.map +0 -1
- package/lib/types/environment.d.ts +0 -81
- package/lib/types/environment.d.ts.map +0 -1
- package/lib/types/facets.d.ts +0 -35
- package/lib/types/facets.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -24
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/integrations.d.ts +0 -24
- package/lib/types/integrations.d.ts.map +0 -1
- package/lib/types/interaction.d.ts +0 -230
- package/lib/types/interaction.d.ts.map +0 -1
- package/lib/types/meters.d.ts +0 -17
- package/lib/types/meters.d.ts.map +0 -1
- package/lib/types/payload.d.ts +0 -50
- package/lib/types/payload.d.ts.map +0 -1
- package/lib/types/project.d.ts +0 -96
- package/lib/types/project.d.ts.map +0 -1
- package/lib/types/prompt.d.ts +0 -71
- package/lib/types/prompt.d.ts.map +0 -1
- package/lib/types/query.d.ts +0 -77
- package/lib/types/query.d.ts.map +0 -1
- package/lib/types/refs.d.ts +0 -20
- package/lib/types/refs.d.ts.map +0 -1
- package/lib/types/runs.d.ts +0 -25
- package/lib/types/runs.d.ts.map +0 -1
- package/lib/types/store/activity-catalog.d.ts +0 -27
- package/lib/types/store/activity-catalog.d.ts.map +0 -1
- package/lib/types/store/agent.d.ts +0 -19
- package/lib/types/store/agent.d.ts.map +0 -1
- package/lib/types/store/collections.d.ts +0 -55
- package/lib/types/store/collections.d.ts.map +0 -1
- package/lib/types/store/common.d.ts +0 -11
- package/lib/types/store/common.d.ts.map +0 -1
- package/lib/types/store/doc-analyzer.d.ts +0 -84
- package/lib/types/store/doc-analyzer.d.ts.map +0 -1
- package/lib/types/store/dsl-workflow.d.ts +0 -239
- package/lib/types/store/dsl-workflow.d.ts.map +0 -1
- package/lib/types/store/index.d.ts +0 -11
- package/lib/types/store/index.d.ts.map +0 -1
- package/lib/types/store/object-types.d.ts +0 -24
- package/lib/types/store/object-types.d.ts.map +0 -1
- package/lib/types/store/store.d.ts +0 -211
- package/lib/types/store/store.d.ts.map +0 -1
- package/lib/types/store/temporalio.d.ts +0 -17
- package/lib/types/store/temporalio.d.ts.map +0 -1
- package/lib/types/store/workflow.d.ts +0 -147
- package/lib/types/store/workflow.d.ts.map +0 -1
- package/lib/types/training.d.ts +0 -39
- package/lib/types/training.d.ts.map +0 -1
- package/lib/types/transient-tokens.d.ts +0 -28
- package/lib/types/transient-tokens.d.ts.map +0 -1
- package/lib/types/user.d.ts +0 -116
- package/lib/types/user.d.ts.map +0 -1
- package/lib/types/utils/advanced-content-processing.d.ts +0 -16
- package/lib/types/utils/advanced-content-processing.d.ts.map +0 -1
- package/lib/types/utils/auth.d.ts +0 -4
- package/lib/types/utils/auth.d.ts.map +0 -1
- package/lib/types/utils/schemas.d.ts +0 -6
- package/lib/types/utils/schemas.d.ts.map +0 -1
package/lib/cjs/index.js
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./access-control.js"), exports);
|
18
|
-
__exportStar(require("./analytics.js"), exports);
|
19
|
-
__exportStar(require("./apikey.js"), exports);
|
20
|
-
__exportStar(require("./common.js"), exports);
|
21
|
-
__exportStar(require("./environment.js"), exports);
|
22
|
-
__exportStar(require("./facets.js"), exports);
|
23
|
-
__exportStar(require("./integrations.js"), exports);
|
24
|
-
__exportStar(require("./interaction.js"), exports);
|
25
|
-
__exportStar(require("./meters.js"), exports);
|
26
|
-
__exportStar(require("./payload.js"), exports);
|
27
|
-
__exportStar(require("./Progress.js"), exports);
|
28
|
-
__exportStar(require("./project.js"), exports);
|
29
|
-
__exportStar(require("./prompt.js"), exports);
|
30
|
-
__exportStar(require("./query.js"), exports);
|
31
|
-
__exportStar(require("./refs.js"), exports);
|
32
|
-
__exportStar(require("./runs.js"), exports);
|
33
|
-
__exportStar(require("./store/index.js"), exports);
|
34
|
-
__exportStar(require("./training.js"), exports);
|
35
|
-
__exportStar(require("./transient-tokens.js"), exports);
|
36
|
-
__exportStar(require("./user.js"), exports);
|
37
|
-
__exportStar(require("./utils/advanced-content-processing.js"), exports);
|
38
|
-
__exportStar(require("./utils/auth.js"), exports);
|
39
|
-
__exportStar(require("./utils/schemas.js"), exports);
|
40
|
-
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,mDAAiC;AACjC,8CAA4B;AAC5B,oDAAkC;AAClC,mDAAiC;AACjC,8CAA4B;AAC5B,+CAA6B;AAC7B,gDAA8B;AAC9B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,4CAA0B;AAC1B,yEAAuD;AACvD,kDAAgC;AAChC,qDAAmC"}
|
package/lib/cjs/integrations.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SupportedIntegrations = void 0;
|
4
|
-
var SupportedIntegrations;
|
5
|
-
(function (SupportedIntegrations) {
|
6
|
-
SupportedIntegrations["gladia"] = "gladia";
|
7
|
-
SupportedIntegrations["github"] = "github";
|
8
|
-
SupportedIntegrations["aws"] = "aws";
|
9
|
-
SupportedIntegrations["magic_pdf"] = "magic_pdf";
|
10
|
-
})(SupportedIntegrations || (exports.SupportedIntegrations = SupportedIntegrations = {}));
|
11
|
-
//# sourceMappingURL=integrations.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/integrations.ts"],"names":[],"mappings":";;;AA0BA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,0CAAiB,CAAA;IACjB,oCAAW,CAAA;IACX,gDAAuB,CAAA;AAC3B,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
package/lib/cjs/interaction.js
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ConfigModesOptions = exports.ConfigModesDescription = exports.ConfigModes = exports.ExecutionRunRefSelect = exports.RunSourceTypes = exports.RunDataStorageOptions = exports.RunDataStorageDescription = exports.RunDataStorageLevel = exports.ExecutionRunStatus = exports.InteractionStatus = exports.InteractionRefPopulate = void 0;
|
4
|
-
exports.InteractionRefPopulate = "id name parent description status version visibility tags updated_at prompts";
|
5
|
-
var InteractionStatus;
|
6
|
-
(function (InteractionStatus) {
|
7
|
-
InteractionStatus["draft"] = "draft";
|
8
|
-
InteractionStatus["published"] = "published";
|
9
|
-
InteractionStatus["archived"] = "archived";
|
10
|
-
})(InteractionStatus || (exports.InteractionStatus = InteractionStatus = {}));
|
11
|
-
var ExecutionRunStatus;
|
12
|
-
(function (ExecutionRunStatus) {
|
13
|
-
ExecutionRunStatus["created"] = "created";
|
14
|
-
ExecutionRunStatus["processing"] = "processing";
|
15
|
-
ExecutionRunStatus["completed"] = "completed";
|
16
|
-
ExecutionRunStatus["failed"] = "failed";
|
17
|
-
})(ExecutionRunStatus || (exports.ExecutionRunStatus = ExecutionRunStatus = {}));
|
18
|
-
var RunDataStorageLevel;
|
19
|
-
(function (RunDataStorageLevel) {
|
20
|
-
RunDataStorageLevel["STANDARD"] = "STANDARD";
|
21
|
-
RunDataStorageLevel["RESTRICTED"] = "RESTRICTED";
|
22
|
-
RunDataStorageLevel["DEBUG"] = "DEBUG";
|
23
|
-
})(RunDataStorageLevel || (exports.RunDataStorageLevel = RunDataStorageLevel = {}));
|
24
|
-
var RunDataStorageDescription;
|
25
|
-
(function (RunDataStorageDescription) {
|
26
|
-
RunDataStorageDescription["STANDARD"] = "Run data is stored for both the model inputs and output.";
|
27
|
-
RunDataStorageDescription["RESTRICTED"] = "No run data is stored for the model inputs \u2014 only the model output.";
|
28
|
-
RunDataStorageDescription["DEBUG"] = "Run data is stored for the model inputs and output, schema, and final prompt.";
|
29
|
-
})(RunDataStorageDescription || (exports.RunDataStorageDescription = RunDataStorageDescription = {}));
|
30
|
-
exports.RunDataStorageOptions = {
|
31
|
-
[RunDataStorageLevel.STANDARD]: RunDataStorageDescription.STANDARD,
|
32
|
-
[RunDataStorageLevel.RESTRICTED]: RunDataStorageDescription.RESTRICTED,
|
33
|
-
[RunDataStorageLevel.DEBUG]: RunDataStorageDescription.DEBUG,
|
34
|
-
};
|
35
|
-
var RunSourceTypes;
|
36
|
-
(function (RunSourceTypes) {
|
37
|
-
RunSourceTypes["api"] = "api";
|
38
|
-
RunSourceTypes["cli"] = "cli";
|
39
|
-
RunSourceTypes["ui"] = "ui";
|
40
|
-
RunSourceTypes["webhook"] = "webhook";
|
41
|
-
RunSourceTypes["test"] = "test-data";
|
42
|
-
RunSourceTypes["system"] = "system";
|
43
|
-
})(RunSourceTypes || (exports.RunSourceTypes = RunSourceTypes = {}));
|
44
|
-
exports.ExecutionRunRefSelect = "-result -parameters -result_schema -prompt";
|
45
|
-
var ConfigModes;
|
46
|
-
(function (ConfigModes) {
|
47
|
-
ConfigModes["RUN_AND_INTERACTION_CONFIG"] = "RUN_AND_INTERACTION_CONFIG";
|
48
|
-
ConfigModes["RUN_CONFIG_ONLY"] = "RUN_CONFIG_ONLY";
|
49
|
-
ConfigModes["INTERACTION_CONFIG_ONLY"] = "INTERACTION_CONFIG_ONLY";
|
50
|
-
})(ConfigModes || (exports.ConfigModes = ConfigModes = {}));
|
51
|
-
;
|
52
|
-
var ConfigModesDescription;
|
53
|
-
(function (ConfigModesDescription) {
|
54
|
-
ConfigModesDescription["RUN_AND_INTERACTION_CONFIG"] = "This run configuration is used. Undefined options are filled with interaction configuration.";
|
55
|
-
ConfigModesDescription["RUN_CONFIG_ONLY"] = "Only this run configuration is used. Undefined options remain undefined.";
|
56
|
-
ConfigModesDescription["INTERACTION_CONFIG_ONLY"] = "Only interaction configuration is used.";
|
57
|
-
})(ConfigModesDescription || (exports.ConfigModesDescription = ConfigModesDescription = {}));
|
58
|
-
exports.ConfigModesOptions = {
|
59
|
-
[ConfigModes.RUN_AND_INTERACTION_CONFIG]: ConfigModesDescription.RUN_AND_INTERACTION_CONFIG,
|
60
|
-
[ConfigModes.RUN_CONFIG_ONLY]: ConfigModesDescription.RUN_CONFIG_ONLY,
|
61
|
-
[ConfigModes.INTERACTION_CONFIG_ONLY]: ConfigModesDescription.INTERACTION_CONFIG_ONLY,
|
62
|
-
};
|
63
|
-
//# sourceMappingURL=interaction.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interaction.js","sourceRoot":"","sources":["../../src/interaction.ts"],"names":[],"mappings":";;;AA4Ba,QAAA,sBAAsB,GAAG,8EAA8E,CAAC;AAuBrH,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IACzB,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,0CAAqB,CAAA;AACzB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B;AAED,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,6CAAuB,CAAA;IACvB,uCAAiB,CAAA;AACrB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,4CAAqB,CAAA;IACrB,gDAAyB,CAAA;IACzB,sCAAe,CAAA;AACnB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,kGAAqE,CAAA;IACrE,oH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ames = void 0;
|
4
|
-
var MeterNames;
|
5
|
-
(function (MeterNames) {
|
6
|
-
MeterNames["analyzed_pages"] = "analyzed_pages";
|
7
|
-
MeterNames["extracted_tables"] = "extracted_tables";
|
8
|
-
MeterNames["analyzed_images"] = "analyzed_images";
|
9
|
-
MeterNames["input_token_used"] = "input_token_used";
|
10
|
-
MeterNames["output_token_used"] = "output_token_used";
|
11
|
-
MeterNames["task_run"] = "task_run";
|
12
|
-
})(MeterNames || (exports.MeterNames = MeterNames = {}));
|
13
|
-
//# sourceMappingURL=meters.js.map
|
package/lib/cjs/meters.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"meters.js","sourceRoot":"","sources":["../../src/meters.ts"],"names":[],"mappings":";;;AAgBA,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,+CAAiC,CAAA;IACjC,mDAAqC,CAAA;IACrC,iDAAmC,CAAA;IACnC,mDAAqC,CAAA;IACrC,qDAAuC,CAAA;IACvC,mCAAqB,CAAA;AACzB,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB"}
|
package/lib/cjs/package.json
DELETED
package/lib/cjs/payload.js
DELETED
package/lib/cjs/payload.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../src/payload.ts"],"names":[],"mappings":""}
|
package/lib/cjs/project.js
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ProjectRefPopulate = exports.SupportedEmbeddingTypes = exports.ResourceVisibility = exports.ProjectRoles = void 0;
|
4
|
-
exports.isRoleIncludedIn = isRoleIncludedIn;
|
5
|
-
var ProjectRoles;
|
6
|
-
(function (ProjectRoles) {
|
7
|
-
ProjectRoles["owner"] = "owner";
|
8
|
-
ProjectRoles["admin"] = "admin";
|
9
|
-
ProjectRoles["project_admin"] = "project_admin";
|
10
|
-
ProjectRoles["developer"] = "developer";
|
11
|
-
ProjectRoles["application"] = "application";
|
12
|
-
ProjectRoles["executor"] = "executor";
|
13
|
-
ProjectRoles["reader"] = "reader";
|
14
|
-
ProjectRoles["billing"] = "billing";
|
15
|
-
ProjectRoles["member"] = "member";
|
16
|
-
})(ProjectRoles || (exports.ProjectRoles = ProjectRoles = {}));
|
17
|
-
function isRoleIncludedIn(role, includingRole) {
|
18
|
-
switch (includingRole) {
|
19
|
-
case ProjectRoles.owner:
|
20
|
-
return true; // includes billing to?
|
21
|
-
case ProjectRoles.admin:
|
22
|
-
return role !== ProjectRoles.billing && role !== ProjectRoles.owner;
|
23
|
-
case ProjectRoles.developer:
|
24
|
-
return role === ProjectRoles.developer;
|
25
|
-
case ProjectRoles.billing:
|
26
|
-
return role === ProjectRoles.billing;
|
27
|
-
default:
|
28
|
-
return false;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
var ResourceVisibility;
|
32
|
-
(function (ResourceVisibility) {
|
33
|
-
ResourceVisibility["public"] = "public";
|
34
|
-
ResourceVisibility["account"] = "account";
|
35
|
-
ResourceVisibility["project"] = "project";
|
36
|
-
})(ResourceVisibility || (exports.ResourceVisibility = ResourceVisibility = {}));
|
37
|
-
// export interface ProjectConfigurationEmbeddings {
|
38
|
-
// environment: string;
|
39
|
-
// max_tokens: number;
|
40
|
-
// dimensions: number;
|
41
|
-
// model?: string;
|
42
|
-
// }
|
43
|
-
var SupportedEmbeddingTypes;
|
44
|
-
(function (SupportedEmbeddingTypes) {
|
45
|
-
SupportedEmbeddingTypes["text"] = "text";
|
46
|
-
SupportedEmbeddingTypes["image"] = "image";
|
47
|
-
SupportedEmbeddingTypes["properties"] = "properties";
|
48
|
-
})(SupportedEmbeddingTypes || (exports.SupportedEmbeddingTypes = SupportedEmbeddingTypes = {}));
|
49
|
-
exports.ProjectRefPopulate = "id name account";
|
50
|
-
//# sourceMappingURL=project.js.map
|
package/lib/cjs/project.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file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"}
|
package/lib/cjs/prompt.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TemplateType = exports.PromptSegmentDefType = exports.PromptStatus = void 0;
|
4
|
-
var PromptStatus;
|
5
|
-
(function (PromptStatus) {
|
6
|
-
PromptStatus["draft"] = "draft";
|
7
|
-
PromptStatus["published"] = "published";
|
8
|
-
PromptStatus["archived"] = "archived";
|
9
|
-
})(PromptStatus || (exports.PromptStatus = PromptStatus = {}));
|
10
|
-
var PromptSegmentDefType;
|
11
|
-
(function (PromptSegmentDefType) {
|
12
|
-
PromptSegmentDefType["chat"] = "chat";
|
13
|
-
PromptSegmentDefType["template"] = "template";
|
14
|
-
})(PromptSegmentDefType || (exports.PromptSegmentDefType = PromptSegmentDefType = {}));
|
15
|
-
var TemplateType;
|
16
|
-
(function (TemplateType) {
|
17
|
-
TemplateType["text"] = "text";
|
18
|
-
TemplateType["js"] = "js";
|
19
|
-
TemplateType["jst"] = "jst";
|
20
|
-
})(TemplateType || (exports.TemplateType = TemplateType = {}));
|
21
|
-
//# sourceMappingURL=prompt.js.map
|
package/lib/cjs/prompt.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/prompt.ts"],"names":[],"mappings":";;;AAUA,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+BAAe,CAAA;IACf,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACzB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAGD,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,6CAAqB,CAAA;AACzB,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AA2BD,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,6BAAa,CAAA;IACb,yBAAS,CAAA;IACT,2BAAW,CAAA;AACf,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
|
package/lib/cjs/query.js
DELETED
package/lib/cjs/query.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/query.ts"],"names":[],"mappings":""}
|
package/lib/cjs/refs.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResolvableRefType = void 0;
|
4
|
-
var ResolvableRefType;
|
5
|
-
(function (ResolvableRefType) {
|
6
|
-
ResolvableRefType["project"] = "Project";
|
7
|
-
ResolvableRefType["environment"] = "Environment";
|
8
|
-
ResolvableRefType["user"] = "User";
|
9
|
-
ResolvableRefType["account"] = "Account";
|
10
|
-
ResolvableRefType["interaction"] = "Interaction";
|
11
|
-
})(ResolvableRefType || (exports.ResolvableRefType = ResolvableRefType = {}));
|
12
|
-
//# sourceMappingURL=refs.js.map
|
package/lib/cjs/refs.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"refs.js","sourceRoot":"","sources":["../../src/refs.ts"],"names":[],"mappings":";;;AAEA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;IAC3B,kCAAa,CAAA;IACb,wCAAmB,CAAA;IACnB,gDAA2B,CAAA;AAC/B,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B"}
|
package/lib/cjs/runs.js
DELETED
package/lib/cjs/runs.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../src/runs.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"activity-catalog.js","sourceRoot":"","sources":["../../../src/store/activity-catalog.ts"],"names":[],"mappings":""}
|
package/lib/cjs/store/agent.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../src/store/agent.ts"],"names":[],"mappings":""}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CollectionStatus = void 0;
|
4
|
-
var CollectionStatus;
|
5
|
-
(function (CollectionStatus) {
|
6
|
-
CollectionStatus["active"] = "active";
|
7
|
-
CollectionStatus["archived"] = "archived";
|
8
|
-
})(CollectionStatus || (exports.CollectionStatus = CollectionStatus = {}));
|
9
|
-
//# sourceMappingURL=collections.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/store/collections.ts"],"names":[],"mappings":";;;AAGA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;AACzB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
package/lib/cjs/store/common.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/store/common.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"doc-analyzer.js","sourceRoot":"","sources":["../../../src/store/doc-analyzer.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"dsl-workflow.js","sourceRoot":"","sources":["../../../src/store/dsl-workflow.ts"],"names":[],"mappings":";;;AAyRa,QAAA,6BAA6B,GAAG,gDAAgD,CAAA"}
|
package/lib/cjs/store/index.js
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./activity-catalog.js"), exports);
|
18
|
-
__exportStar(require("./agent.js"), exports);
|
19
|
-
__exportStar(require("./collections.js"), exports);
|
20
|
-
__exportStar(require("./common.js"), exports);
|
21
|
-
__exportStar(require("./doc-analyzer.js"), exports);
|
22
|
-
__exportStar(require("./dsl-workflow.js"), exports);
|
23
|
-
__exportStar(require("./object-types.js"), exports);
|
24
|
-
__exportStar(require("./store.js"), exports);
|
25
|
-
__exportStar(require("./temporalio.js"), exports);
|
26
|
-
__exportStar(require("./workflow.js"), exports);
|
27
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,6CAA2B;AAC3B,mDAAiC;AACjC,8CAA4B;AAC5B,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,6CAA2B;AAC3B,kDAAgC;AAChC,gDAA8B"}
|
@@ -1,98 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DocumentPartSchema = exports.RenditionSchema = void 0;
|
4
|
-
exports.RenditionSchema = {
|
5
|
-
type: "object",
|
6
|
-
description: "Represent a rendition of a file stored in an object. It will be stored as a separate object in the database.",
|
7
|
-
properties: {
|
8
|
-
mime_type: {
|
9
|
-
type: "string",
|
10
|
-
description: "The format of the rendition. This is a MIME type."
|
11
|
-
},
|
12
|
-
source_etag: {
|
13
|
-
type: "string",
|
14
|
-
description: "The ETag of the file used for the rendition.",
|
15
|
-
nullable: true
|
16
|
-
},
|
17
|
-
height: {
|
18
|
-
type: "integer",
|
19
|
-
description: "The height of the rendition",
|
20
|
-
nullable: true
|
21
|
-
},
|
22
|
-
width: {
|
23
|
-
type: "integer",
|
24
|
-
description: "The width of the rendition",
|
25
|
-
nullable: true
|
26
|
-
},
|
27
|
-
multipart: {
|
28
|
-
type: "boolean",
|
29
|
-
description: "If the rendition is a multi-part rendition",
|
30
|
-
nullable: true,
|
31
|
-
default: false
|
32
|
-
},
|
33
|
-
total_parts: {
|
34
|
-
type: "integer",
|
35
|
-
description: "The total number of parts in the rendition",
|
36
|
-
nullable: true
|
37
|
-
}
|
38
|
-
},
|
39
|
-
required: ["mime_type"],
|
40
|
-
};
|
41
|
-
exports.DocumentPartSchema = {
|
42
|
-
type: "object",
|
43
|
-
description: "Represent a semantic chunk of a document",
|
44
|
-
properties: {
|
45
|
-
source_etag: {
|
46
|
-
type: "string",
|
47
|
-
description: "The ETag of the file used for the rendition.",
|
48
|
-
nullable: true
|
49
|
-
},
|
50
|
-
part_number: {
|
51
|
-
type: "integer",
|
52
|
-
description: "The part number of the chunk",
|
53
|
-
},
|
54
|
-
title: {
|
55
|
-
type: "string",
|
56
|
-
description: "The title of the chunk",
|
57
|
-
nullable: true
|
58
|
-
},
|
59
|
-
source_line_start: {
|
60
|
-
type: "integer",
|
61
|
-
description: "The line number where the chunk starts",
|
62
|
-
nullable: true
|
63
|
-
},
|
64
|
-
source_line_end: {
|
65
|
-
type: "integer",
|
66
|
-
description: "The line number where the chunk ends",
|
67
|
-
nullable: true
|
68
|
-
},
|
69
|
-
type: {
|
70
|
-
type: "string",
|
71
|
-
description: "The type of the chunk",
|
72
|
-
enum: ['text', 'image', 'table', 'chart', 'diagram', 'code', 'other'],
|
73
|
-
nullable: true
|
74
|
-
},
|
75
|
-
page_number: {
|
76
|
-
type: "integer",
|
77
|
-
description: "The page number of the document part",
|
78
|
-
nullable: true
|
79
|
-
},
|
80
|
-
description: {
|
81
|
-
type: "string",
|
82
|
-
description: "The description of the document part, if it's an image, the exhaustive description of the image",
|
83
|
-
nullable: true
|
84
|
-
},
|
85
|
-
height: {
|
86
|
-
type: "integer",
|
87
|
-
description: "The height of the rendition",
|
88
|
-
nullable: true
|
89
|
-
},
|
90
|
-
width: {
|
91
|
-
type: "integer",
|
92
|
-
description: "The width of the rendition",
|
93
|
-
nullable: true
|
94
|
-
}
|
95
|
-
},
|
96
|
-
required: ["part_number"],
|
97
|
-
};
|
98
|
-
//# sourceMappingURL=object-types.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"object-types.js","sourceRoot":"","sources":["../../../src/store/object-types.ts"],"names":[],"mappings":";;;AAaa,QAAA,eAAe,GAAwC;IAEhE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,8GAA8G;IAC3H,UAAU,EAAE;QACR,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mDAAmD;SACnE;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,E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C;CAC5B,CAAA"}
|
package/lib/cjs/store/store.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.WorkflowRuleInputType = exports.ContentObjectStatus = void 0;
|
4
|
-
var ContentObjectStatus;
|
5
|
-
(function (ContentObjectStatus) {
|
6
|
-
ContentObjectStatus["created"] = "created";
|
7
|
-
ContentObjectStatus["processing"] = "processing";
|
8
|
-
ContentObjectStatus["completed"] = "completed";
|
9
|
-
ContentObjectStatus["failed"] = "failed";
|
10
|
-
ContentObjectStatus["archived"] = "archived";
|
11
|
-
})(ContentObjectStatus || (exports.ContentObjectStatus = ContentObjectStatus = {}));
|
12
|
-
var WorkflowRuleInputType;
|
13
|
-
(function (WorkflowRuleInputType) {
|
14
|
-
WorkflowRuleInputType["single"] = "single";
|
15
|
-
WorkflowRuleInputType["multiple"] = "multiple";
|
16
|
-
WorkflowRuleInputType["none"] = "none";
|
17
|
-
})(WorkflowRuleInputType || (exports.WorkflowRuleInputType = WorkflowRuleInputType = {}));
|
18
|
-
//# sourceMappingURL=store.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/store/store.ts"],"names":[],"mappings":";;;AAMA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,gDAAyB,CAAA;IACzB,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACzB,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AA0LD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;IACrB,sCAAa,CAAA;AACjB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ParentClosePolicy = void 0;
|
4
|
-
exports.ParentClosePolicy = {
|
5
|
-
/**
|
6
|
-
* When the Parent is Closed, the Child is Terminated.
|
7
|
-
*
|
8
|
-
* @default
|
9
|
-
*/
|
10
|
-
TERMINATE: "TERMINATE",
|
11
|
-
/**
|
12
|
-
* When the Parent is Closed, nothing is done to the Child.
|
13
|
-
*/
|
14
|
-
ABANDON: "ABANDON",
|
15
|
-
/**
|
16
|
-
* When the Parent is Closed, the Child is Cancelled.
|
17
|
-
*/
|
18
|
-
REQUEST_CANCEL: "REQUEST_CANCEL",
|
19
|
-
/**
|
20
|
-
* If a `ParentClosePolicy` is set to this, or is not set at all, the server default value will be used.
|
21
|
-
*
|
22
|
-
* @deprecated Either leave property `undefined`, or set an explicit policy instead.
|
23
|
-
*/
|
24
|
-
PARENT_CLOSE_POLICY_UNSPECIFIED: undefined,
|
25
|
-
/**
|
26
|
-
* When the Parent is Closed, the Child is Terminated.
|
27
|
-
*
|
28
|
-
* @deprecated Use {@link ParentClosePolicy.TERMINATE} instead.
|
29
|
-
*/
|
30
|
-
PARENT_CLOSE_POLICY_TERMINATE: "TERMINATE",
|
31
|
-
/**
|
32
|
-
* When the Parent is Closed, nothing is done to the Child.
|
33
|
-
*
|
34
|
-
* @deprecated Use {@link ParentClosePolicy.ABANDON} instead.
|
35
|
-
*/
|
36
|
-
PARENT_CLOSE_POLICY_ABANDON: "ABANDON",
|
37
|
-
/**
|
38
|
-
* When the Parent is Closed, the Child is Cancelled.
|
39
|
-
*
|
40
|
-
* @deprecated Use {@link ParentClosePolicy.REQUEST_CANCEL} instead.
|
41
|
-
*/
|
42
|
-
PARENT_CLOSE_POLICY_REQUEST_CANCEL: "REQUEST_CANCEL"
|
43
|
-
};
|
44
|
-
//# sourceMappingURL=temporalio.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"temporalio.js","sourceRoot":"","sources":["../../../src/store/temporalio.ts"],"names":[],"mappings":";;;AAca,QAAA,iBAAiB,GAAG;IAC7B;;;;OAIG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,cAAc,EAAE,gBAAgB;IAChC;;;;OAIG;IACH,+BAA+B,EAAE,SAAS;IAC1C;;;;OAIG;IACH,6BAA6B,EAAE,WAAW;IAC1C;;;;OAIG;IACH,2BAA2B,EAAE,SAAS;IACtC;;;;OAIG;IACH,kCAAkC,EAAE,gBAAgB;CACjC,CAAC"}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.WorkflowExecutionStatus = exports.ContentEventName = void 0;
|
4
|
-
var ContentEventName;
|
5
|
-
(function (ContentEventName) {
|
6
|
-
ContentEventName["create"] = "create";
|
7
|
-
ContentEventName["change_type"] = "change_type";
|
8
|
-
ContentEventName["update"] = "update";
|
9
|
-
ContentEventName["delete"] = "delete";
|
10
|
-
ContentEventName["workflow_finished"] = "workflow_finished";
|
11
|
-
ContentEventName["workflow_execution_request"] = "workflow_execution_request";
|
12
|
-
})(ContentEventName || (exports.ContentEventName = ContentEventName = {}));
|
13
|
-
var WorkflowExecutionStatus;
|
14
|
-
(function (WorkflowExecutionStatus) {
|
15
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["UNKNOWN"] = 0] = "UNKNOWN";
|
16
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["RUNNING"] = 1] = "RUNNING";
|
17
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["COMPLETED"] = 2] = "COMPLETED";
|
18
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["FAILED"] = 3] = "FAILED";
|
19
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["CANCELED"] = 4] = "CANCELED";
|
20
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["TERMINATED"] = 5] = "TERMINATED";
|
21
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["CONTINUED_AS_NEW"] = 6] = "CONTINUED_AS_NEW";
|
22
|
-
WorkflowExecutionStatus[WorkflowExecutionStatus["TIMED_OUT"] = 7] = "TIMED_OUT";
|
23
|
-
})(WorkflowExecutionStatus || (exports.WorkflowExecutionStatus = WorkflowExecutionStatus = {}));
|
24
|
-
//# sourceMappingURL=workflow.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../../src/store/workflow.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IACxB,qCAAiB,CAAA;IACjB,+CAA2B,CAAA;IAC3B,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,2DAAuC,CAAA;IACvC,6EAAyD,CAAA;AAC7D,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAiKD,IAAY,uBASX;AATD,WAAY,uBAAuB;IAC/B,2EAAW,CAAA;IACX,2EAAW,CAAA;IACX,+EAAa,CAAA;IACb,yEAAU,CAAA;IACV,6EAAY,CAAA;IACZ,iFAAc,CAAA;IACd,6FAAoB,CAAA;IACpB,+EAAa,CAAA;AACjB,CAAC,EATW,uBAAuB,uCAAvB,uBAAuB,QASlC"}
|
package/lib/cjs/training.js
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TrainingSessionStatus = void 0;
|
4
|
-
var TrainingSessionStatus;
|
5
|
-
(function (TrainingSessionStatus) {
|
6
|
-
TrainingSessionStatus["created"] = "created";
|
7
|
-
TrainingSessionStatus["building"] = "building";
|
8
|
-
TrainingSessionStatus["prepared"] = "prepared";
|
9
|
-
TrainingSessionStatus["processing"] = "processing";
|
10
|
-
TrainingSessionStatus["completed"] = "completed";
|
11
|
-
TrainingSessionStatus["cancelled"] = "cancelled";
|
12
|
-
TrainingSessionStatus["failed"] = "failed";
|
13
|
-
})(TrainingSessionStatus || (exports.TrainingSessionStatus = TrainingSessionStatus = {}));
|
14
|
-
//# sourceMappingURL=training.js.map
|
package/lib/cjs/training.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"training.js","sourceRoot":"","sources":["../../src/training.ts"],"names":[],"mappings":";;;AAGA,IAAY,qBAQX;AARD,WAAY,qBAAqB;IAC7B,4CAAqB,CAAA;IACrB,8CAAuB,CAAA;IACvB,8CAAuB,CAAA;IACvB,kDAA2B,CAAA;IAC3B,gDAAyB,CAAA;IACzB,gDAAyB,CAAA;IACzB,0CAAmB,CAAA;AACvB,CAAC,EARW,qBAAqB,qCAArB,qBAAqB,QAQhC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TransientTokenType = void 0;
|
4
|
-
var TransientTokenType;
|
5
|
-
(function (TransientTokenType) {
|
6
|
-
TransientTokenType["userInvite"] = "user-invite";
|
7
|
-
TransientTokenType["migration"] = "migration";
|
8
|
-
})(TransientTokenType || (exports.TransientTokenType = TransientTokenType = {}));
|
9
|
-
//# sourceMappingURL=transient-tokens.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"transient-tokens.js","sourceRoot":"","sources":["../../src/transient-tokens.ts"],"names":[],"mappings":";;;AAIA,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,gDAA0B,CAAA;IAC1B,6CAAuB,CAAA;AAC3B,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B"}
|