@epilot/sdk 2.3.9 → 2.4.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/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/configuration-hub.cjs +8 -8
- package/dist/apis/configuration-hub.d.cts +2 -2
- package/dist/apis/configuration-hub.d.ts +2 -2
- package/dist/apis/configuration-hub.js +2 -2
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.d.cts +2 -2
- package/dist/apis/workflow-definition.d.ts +2 -2
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-OMNMMMRJ.js → chunk-DAFBUTK6.js} +6 -6
- package/dist/chunk-M6Z6ES3I.js +14 -0
- package/dist/chunk-ONOGGR6Q.js +14 -0
- package/dist/chunk-UBQCDPW6.cjs +14 -0
- package/dist/{chunk-L37V2R32.cjs → chunk-Z33PZNHV.cjs} +6 -6
- package/dist/{chunk-VFCH5IEL.cjs → chunk-ZSONBZIF.cjs} +1 -1
- package/dist/configuration-hub-A3S6ND6R.cjs +7 -0
- package/dist/configuration-hub-PMAW44U5.js +7 -0
- package/dist/{configuration-hub-runtime-TY2X2ECO.cjs → configuration-hub-runtime-I5Y67CXD.cjs} +2 -2
- package/dist/{configuration-hub-runtime-5R6Y4KF7.js → configuration-hub-runtime-L6IOERSP.js} +1 -1
- package/dist/{configuration-hub.d-DZE3wTQE.d.cts → configuration-hub.d-Cqaq2F-W.d.cts} +111 -8
- package/dist/{configuration-hub.d-DZE3wTQE.d.ts → configuration-hub.d-Cqaq2F-W.d.ts} +111 -8
- package/dist/entity-VDUN7SYC.cjs +7 -0
- package/dist/entity-WWM2Z7BU.js +7 -0
- package/dist/entity-runtime-3J5EDLXP.cjs +5 -0
- package/dist/{entity-runtime-D4DV5XRM.js → entity-runtime-LNAZILIN.js} +1 -1
- package/dist/{entity.d-ByufVI16.d.cts → entity.d-B43ezu-V.d.cts} +1336 -9
- package/dist/{entity.d-ByufVI16.d.ts → entity.d-B43ezu-V.d.ts} +1336 -9
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/workflow-3WBD74WR.js +7 -0
- package/dist/workflow-WIUZ5TOX.cjs +7 -0
- package/dist/workflow-definition-2VF7S23G.js +7 -0
- package/dist/workflow-definition-U6YXD42W.cjs +7 -0
- package/dist/{workflow-definition.d-ByCJK9_x.d.ts → workflow-definition.d-DOeb0KVV.d.cts} +37 -1
- package/dist/{workflow-definition.d-ByCJK9_x.d.cts → workflow-definition.d-DOeb0KVV.d.ts} +37 -1
- package/dist/{workflow.d-pD8ISOg-.d.ts → workflow.d-CMSKt8oN.d.cts} +22 -1
- package/dist/{workflow.d-pD8ISOg-.d.cts → workflow.d-CMSKt8oN.d.ts} +22 -1
- package/docs/configuration-hub.md +112 -15
- package/docs/entity.md +965 -39
- package/docs/workflow-definition.md +40 -8
- package/docs/workflow.md +57 -11
- package/package.json +1 -1
- package/dist/chunk-AOFZDDXN.js +0 -14
- package/dist/chunk-F7W62NKV.js +0 -14
- package/dist/chunk-QA2OYK7N.cjs +0 -14
- package/dist/configuration-hub-2F636SNK.js +0 -7
- package/dist/configuration-hub-XQGJK2JA.cjs +0 -7
- package/dist/entity-CK76MXVN.js +0 -7
- package/dist/entity-TFMH5VTZ.cjs +0 -7
- package/dist/entity-runtime-DUJTRYLQ.cjs +0 -5
- package/dist/workflow-CQOBZ25C.cjs +0 -7
- package/dist/workflow-G7VFCXY7.js +0 -7
- package/dist/workflow-definition-CVBYKAUY.cjs +0 -7
- package/dist/workflow-definition-GNAKDNG7.js +0 -7
package/dist/apis/workflow.cjs
CHANGED
|
@@ -6,25 +6,25 @@ var _chunkQNZPOA54cjs = require('../chunk-QNZPOA54.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkZ33PZNHVcjs = require('../chunk-Z33PZNHV.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/workflow.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkQNZPOA54cjs.require_workflow_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkZ33PZNHVcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkZ33PZNHVcjs.createApiClient.call(void 0, { definition: def, apiName: "workflow" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkZ33PZNHVcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkZ33PZNHVcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "workflow" }),
|
|
28
28
|
apiName: "workflow"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var workflow = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.authorize =
|
|
38
|
+
exports.authorize = _chunkZ33PZNHVcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflow = workflow;
|
package/dist/apis/workflow.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-ChU9Acbv.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.cjs';
|
|
3
|
-
import { C as Client } from '../workflow.d-
|
|
4
|
-
export { A as ActionSchedule, c as AddTaskReq, d as AgentConfig, e as AgentExecutionInfo, f as AiAgentTask, g as AnalyticsInfo, h as Assignees, i as AutomationConfig, j as AutomationInfo, k as
|
|
3
|
+
import { C as Client } from '../workflow.d-CMSKt8oN.cjs';
|
|
4
|
+
export { A as ActionSchedule, c as AddTaskReq, d as AgentConfig, e as AgentExecutionInfo, f as AiAgentTask, g as AnalyticsInfo, h as Assignees, i as AutomationConfig, j as AutomationInfo, k as AutomationInputContext, l as AutomationTask, m as ClosingReason, n as ClosingReasonResp, a as Components, o as Condition, p as ConditionId, q as CreateStepReq, D as DecisionTask, r as DelayedSchedule, s as DueDateConfig, t as DynamicDueDate, E as ECPDetails, u as Edge, v as EnableRequirement, w as EntityRef, x as EntitySync, y as ErrorResp, z as EvaluationSource, B as ExecutionPaginationDynamo, F as Flow, G as FlowClosingReason, H as FlowContext, I as FlowExecution, J as FlowExecutionId, K as FlowSlim, L as FlowTemplateId, M as FlowTrigger, N as ImmediateSchedule, Q as ItemType, R as LastEvaluatedKey, S as LoopConfig, T as LoopInfo, U as ManualTask, O as OperationMethods, V as Operator, W as PartnerDetails, X as PatchFlowReq, Y as PatchPhaseReq, Z as PatchTaskReq, P as Paths, b as PathsDictionary, _ as Phase, $ as PhaseId, a0 as PhaseInEntity, a1 as RelativeSchedule, a2 as SearchExecutionsReq, a3 as SearchExecutionsResp, a4 as SearchFlowsReq, a5 as SearchPagination, a6 as SearchSorting, a7 as SearchStepsReq, a8 as SearchStepsResp, a9 as Section, aa as SectionSimplified, ab as SectionStatus, ac as StartFlowReq, ad as Statement, ae as Step, af as StepDescription, ag as StepExtended, ah as StepId, ai as StepJourney, aj as StepPositionAt, ak as StepRequirement, al as StepSimplified, am as StepStatus, an as StepType, ao as Task, ap as TaskBase, aq as TaskId, ar as TaskType, as as TimeUnit, at as TriggerMode, au as TriggerType, av as UpdateEntityAttributes, aw as UpdateStepReq, ax as UpdateStepResp, ay as UserId, az as VariableAssignment, aA as WorkflowContext, aB as WorkflowExecution, aC as WorkflowExecutionBase, aD as WorkflowExecutionCreateReq, aE as WorkflowExecutionSlim, aF as WorkflowExecutionUpdateReq, aG as WorkflowInEntity, aH as WorkflowStatus } from '../workflow.d-CMSKt8oN.cjs';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
package/dist/apis/workflow.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-ChU9Acbv.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.js';
|
|
3
|
-
import { C as Client } from '../workflow.d-
|
|
4
|
-
export { A as ActionSchedule, c as AddTaskReq, d as AgentConfig, e as AgentExecutionInfo, f as AiAgentTask, g as AnalyticsInfo, h as Assignees, i as AutomationConfig, j as AutomationInfo, k as
|
|
3
|
+
import { C as Client } from '../workflow.d-CMSKt8oN.js';
|
|
4
|
+
export { A as ActionSchedule, c as AddTaskReq, d as AgentConfig, e as AgentExecutionInfo, f as AiAgentTask, g as AnalyticsInfo, h as Assignees, i as AutomationConfig, j as AutomationInfo, k as AutomationInputContext, l as AutomationTask, m as ClosingReason, n as ClosingReasonResp, a as Components, o as Condition, p as ConditionId, q as CreateStepReq, D as DecisionTask, r as DelayedSchedule, s as DueDateConfig, t as DynamicDueDate, E as ECPDetails, u as Edge, v as EnableRequirement, w as EntityRef, x as EntitySync, y as ErrorResp, z as EvaluationSource, B as ExecutionPaginationDynamo, F as Flow, G as FlowClosingReason, H as FlowContext, I as FlowExecution, J as FlowExecutionId, K as FlowSlim, L as FlowTemplateId, M as FlowTrigger, N as ImmediateSchedule, Q as ItemType, R as LastEvaluatedKey, S as LoopConfig, T as LoopInfo, U as ManualTask, O as OperationMethods, V as Operator, W as PartnerDetails, X as PatchFlowReq, Y as PatchPhaseReq, Z as PatchTaskReq, P as Paths, b as PathsDictionary, _ as Phase, $ as PhaseId, a0 as PhaseInEntity, a1 as RelativeSchedule, a2 as SearchExecutionsReq, a3 as SearchExecutionsResp, a4 as SearchFlowsReq, a5 as SearchPagination, a6 as SearchSorting, a7 as SearchStepsReq, a8 as SearchStepsResp, a9 as Section, aa as SectionSimplified, ab as SectionStatus, ac as StartFlowReq, ad as Statement, ae as Step, af as StepDescription, ag as StepExtended, ah as StepId, ai as StepJourney, aj as StepPositionAt, ak as StepRequirement, al as StepSimplified, am as StepStatus, an as StepType, ao as Task, ap as TaskBase, aq as TaskId, ar as TaskType, as as TimeUnit, at as TriggerMode, au as TriggerType, av as UpdateEntityAttributes, aw as UpdateStepReq, ax as UpdateStepResp, ay as UserId, az as VariableAssignment, aA as WorkflowContext, aB as WorkflowExecution, aC as WorkflowExecutionBase, aD as WorkflowExecutionCreateReq, aE as WorkflowExecutionSlim, aF as WorkflowExecutionUpdateReq, aG as WorkflowInEntity, aH as WorkflowStatus } from '../workflow.d-CMSKt8oN.js';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
package/dist/apis/workflow.js
CHANGED
|
@@ -29,7 +29,7 @@ var globImport_docs = __glob({
|
|
|
29
29
|
"./docs/automation.json": () => import("./automation-GFNNLSIN.js"),
|
|
30
30
|
"./docs/billing.json": () => import("./billing-IPALEAG2.js"),
|
|
31
31
|
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-DBEY5PPI.js"),
|
|
32
|
-
"./docs/configuration-hub.json": () => import("./configuration-hub-
|
|
32
|
+
"./docs/configuration-hub.json": () => import("./configuration-hub-PMAW44U5.js"),
|
|
33
33
|
"./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
|
|
34
34
|
"./docs/customer-portal.json": () => import("./customer-portal-RZACUF4N.js"),
|
|
35
35
|
"./docs/dashboard.json": () => import("./dashboard-UTPGXFW5.js"),
|
|
@@ -40,7 +40,7 @@ var globImport_docs = __glob({
|
|
|
40
40
|
"./docs/email-settings.json": () => import("./email-settings-CKFJU4WZ.js"),
|
|
41
41
|
"./docs/email-template.json": () => import("./email-template-WYROV3UG.js"),
|
|
42
42
|
"./docs/entity-mapping.json": () => import("./entity-mapping-7J3IAGKQ.js"),
|
|
43
|
-
"./docs/entity.json": () => import("./entity-
|
|
43
|
+
"./docs/entity.json": () => import("./entity-WWM2Z7BU.js"),
|
|
44
44
|
"./docs/environments.json": () => import("./environments-PXJOTQVM.js"),
|
|
45
45
|
"./docs/erp-integration.json": () => import("./erp-integration-SBQJ6HEG.js"),
|
|
46
46
|
"./docs/event-catalog.json": () => import("./event-catalog-D7VJ7WRS.js"),
|
|
@@ -69,8 +69,8 @@ var globImport_docs = __glob({
|
|
|
69
69
|
"./docs/user.json": () => import("./user-ZK7BK6VY.js"),
|
|
70
70
|
"./docs/validation-rules.json": () => import("./validation-rules-P6F5P73P.js"),
|
|
71
71
|
"./docs/webhooks.json": () => import("./webhooks-RTOU3MS5.js"),
|
|
72
|
-
"./docs/workflow-definition.json": () => import("./workflow-definition-
|
|
73
|
-
"./docs/workflow.json": () => import("./workflow-
|
|
72
|
+
"./docs/workflow-definition.json": () => import("./workflow-definition-2VF7S23G.js"),
|
|
73
|
+
"./docs/workflow.json": () => import("./workflow-3WBD74WR.js")
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
// src/help.ts
|
|
@@ -107,7 +107,7 @@ var globImport_definitions_json = __glob({
|
|
|
107
107
|
"./definitions/billing.json": () => import("./billing-ASWY7HC3.js"),
|
|
108
108
|
"./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-5UN52LW5.js"),
|
|
109
109
|
"./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
|
|
110
|
-
"./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-
|
|
110
|
+
"./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-L6IOERSP.js"),
|
|
111
111
|
"./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
|
|
112
112
|
"./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
|
|
113
113
|
"./definitions/customer-portal-runtime.json": () => import("./customer-portal-runtime-PSM55KGU.js"),
|
|
@@ -128,7 +128,7 @@ var globImport_definitions_json = __glob({
|
|
|
128
128
|
"./definitions/email-template.json": () => import("./email-template-346NDG4D.js"),
|
|
129
129
|
"./definitions/entity-mapping-runtime.json": () => import("./entity-mapping-runtime-HCOJM6DV.js"),
|
|
130
130
|
"./definitions/entity-mapping.json": () => import("./entity-mapping-UOGYYCZH.js"),
|
|
131
|
-
"./definitions/entity-runtime.json": () => import("./entity-runtime-
|
|
131
|
+
"./definitions/entity-runtime.json": () => import("./entity-runtime-LNAZILIN.js"),
|
|
132
132
|
"./definitions/entity.json": () => import("./entity-HSCBRIOS.js"),
|
|
133
133
|
"./definitions/environments-runtime.json": () => import("./environments-runtime-NKHLZJB3.js"),
|
|
134
134
|
"./definitions/environments.json": () => import("./environments-VCREW73K.js"),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/entity-runtime.json
|
|
6
|
+
var require_entity_runtime = __commonJS({
|
|
7
|
+
"src/definitions/entity-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://entity.sls.epilot.io", o: [["listSchemas", "get", "/v1/entity/schemas", [["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["listSchemasV2", "get", "/v2/entity/schemas", [["full", "q"], ["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["getSchema", "get", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["id", "q"], ["latest", "q"]]], ["putSchema", "put", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["draft", "q"]], 1], ["deleteSchema", "delete", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"]]], ["getJsonSchema", "get", "/v1/entity/schemas/{slug}/json/schema", [["EntitySlugPathParam"], ["dereference", "q"]]], ["getSchemaExample", "get", "/v1/entity/schemas/{slug}/json/example", [["EntitySlugPathParam"]]], ["getSchemaVersions", "get", "/v1/entity/schemas/{slug}/versions", [["EntitySlugPathParam"], ["versions_from", "q"], ["versions_size", "q"], ["drafts_from", "q"], ["drafts_size", "q"], ["fields", "q", false, "form", false]]], ["freezeSchema", "post", "/v1/entity/schemas/{slug}/freeze", [["EntitySlugPathParam"]], 1], ["unfreezeSchema", "post", "/v1/entity/schemas/{slug}/unfreeze", [["EntitySlugPathParam"]]], ["listAvailableCapabilities", "get", "/v1/entity/schemas/{slug}/capabilities/available", [["EntitySlugPathParam"]]], ["listSchemaBlueprints", "get", "/v1/entity/schemas/blueprints"], ["searchEntities", "post", "/v1/entity:search", null, 1], ["listEntities", "post", "/v1/entity:list", null, 1], ["queryEntityGraph", "post", "/v1/entity:graph", null, 1], ["createEntity", "post", "/v1/entity/{slug}", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["validateEntity", "post", "/v1/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["validateEntityV2", "post", "/v2/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["upsertEntity", "patch", "/v1/entity/{slug}:upsert", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["strict", "q"]], 1], ["getEntityV2", "get", "/v2/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"], ["fields", "q", false, "form", false], ["ApplyChangesetsQueryParam"]]], ["restoreEntity", "patch", "/v1/entity/{slug}/{id}:restore", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["ActivityIdQueryParam"]], 1], ["reindexEntity", "post", "/v1/entity/{slug}/{id}:reindex", [["EntityIdPathParam"], ["EntitySlugPathParam"]], 1], ["getEntity", "get", "/v1/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"]]], ["updateEntity", "put", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["DirectQueryParam"]], 1], ["patchEntity", "patch", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["DirectQueryParam"]], 1], ["deleteEntity", "delete", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["purge", "q"]]], ["autocomplete", "get", "/v1/entity:autocomplete", [["input", "q"], ["attribute", "q", true], ["slug", "q"], ["size", "q"]]], ["wipeAllEntities", "post", "/v1/entity:wipeAllEntities", null, 1], ["createActivity", "post", "/v1/entity/activity", [["entities", "q", false, "form", false]], 1], ["getActivity", "get", "/v1/entity/activity/{id}", [["ActivityIdPathParam"], ["operations_size", "q"], ["operations_from", "q"]]], ["attachActivity", "post", "/v1/entity/activity/{id}:attach", [["ActivityIdPathParam"], ["entities", "q", false, "form", false]]], ["applyChangeset", "post", "/v1/entity/{slug}/{id}/changesets/{attribute}:apply", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true]]], ["dismissChangeset", "post", "/v1/entity/{slug}/{id}/changesets/{attribute}:dismiss", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true]], 1], ["listChangesets", "get", "/v1/entity/{slug}/{id}/changesets", [["EntitySlugPathParam"], ["EntityIdPathParam"]]], ["getEntityActivityFeed", "get", "/v1/entity/{slug}/{id}/activity", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["after", "q"], ["before", "q"], ["start_date", "q"], ["end_date", "q"], ["preset_range", "q"], ["FromPageQueryParam"], ["size", "q"], ["type", "q", false, "form", false], ["include_relations", "q"], ["exclude_activity_groups", "q"]]], ["getRelations", "get", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"]]], ["addRelations", "post", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["removeRelations", "delete", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["getRelationsV2", "get", "/v2/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["query", "q"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["fields", "q"]]], ["getRelationsV3", "get", "/v3/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseDeprecatedQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"], ["EntityRelationsModeQueryParam"], ["fields", "q"], ["include_deleted", "q"]]], ["getRelatedEntitiesCount", "get", "/v2/entity/{slug}/{id}/relations/count", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ExcludeSchemasQueryParam"]]], ["updateRelation", "put", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["deleteRelation", "delete", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]]], ["exportEntities", "post", "/v1/entity:export", [["job_id", "q"], ["is_template", "q"], ["language", "q"]], 1], ["importEntities", "post", "/v1/entity:import", [["job_id", "q"]], 1], ["listSavedViews", "get", "/v1/entity/views", [["slug", "q"], ["sort", "q"], ["from", "q"], ["size", "q"], ["fields", "q"]]], ["createSavedView", "post", "/v1/entity/view", null, 1], ["getSavedView", "get", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["updateSavedView", "put", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["patchSavedView", "patch", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["deleteSavedView", "delete", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["listFavoriteViewsForUser", "get", "/v1/entity/views/favorites"], ["listTaxonomies", "get", "/v1/entity/taxonomies", [["include_disabled", "q"], ["type", "q"]]], ["createTaxonomy", "post", "/v1/entity/taxonomies", null, 1], ["getTaxonomy", "get", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]]], ["updateTaxonomy", "put", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]], 1], ["deleteTaxonomy", "delete", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"], ["permanent", "q"]]], ["updateClassificationsForTaxonomy", "post", "/v1/entity/taxonomies/{taxonomySlug}/classifications", [["TaxonomySlugPathParam"]], 1], ["createTaxonomyClassification", "post", "/v2/entity/taxonomies/classifications", null, 1], ["getTaxonomyClassification", "get", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["updateTaxonomyClassification", "put", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]], 1], ["deleteTaxonomyClassification", "delete", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["taxonomyAutocomplete", "get", "/v1/entity/taxonomies/{taxonomySlug}:autocomplete", [["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["taxonomiesClassificationsSearch", "post", "/v1/entity/taxonomies/classifications:search", [["taxonomySlug", "q"], ["query", "q"], ["archived", "q"], ["include_archived", "q"], ["exclude_types", "q"]], 1], ["listTaxonomyClassificationsForSchema", "get", "/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}", [["EntitySlugPathParam"], ["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["getTaxonomyBulkActionJobs", "get", "/v1/entity/taxonomies/bulk-jobs", [["status", "q"], ["size", "q"], ["created_after", "q"], ["sort_pending_first", "q"], ["scope", "q"]]], ["getTaxonomyBulkActionJobById", "get", "/v1/entity/taxonomies/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["cancelBulkAction", "post", "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel", [["job_id", "p", true]]], ["bulkMoveClassifications", "post", "/v1/entity/taxonomies/classifications:move", null, 1], ["bulkMergeClassifications", "post", "/v1/entity/taxonomies/classifications:merge", null, 1], ["bulkDeleteClassifications", "post", "/v1/entity/taxonomies/classifications:delete", null, 1], ["createSchemaAttribute", "post", "/v1/entity/schemas/attributes", null, 1], ["getSchemaAttribute", "get", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["putSchemaAttribute", "put", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaAttribute", "delete", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["createSchemaCapability", "post", "/v1/entity/schemas/capabilities", null, 1], ["getSchemaCapability", "get", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["putSchemaCapability", "put", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaCapability", "delete", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroup", "post", "/v1/entity/schemas/group", null, 1], ["getSchemaGroup", "get", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroup", "put", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroup", "delete", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroupHeadline", "post", "/v1/entity/schemas/headline", null, 1], ["getSchemaGroupHeadline", "get", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroupHeadline", "put", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroupHeadline", "delete", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]]], cp: { EntityIdPathParam: ["id", "p", true], EntitySlugPathParam: ["slug", "p", true], EntitySlugPathPriceParam: ["slug", "p", true], TaxonomySlugQueryParam: ["taxonomySlug", "q", true], TaxonomySlugPathParam: ["taxonomySlug", "p", true], TaxonomySlugQueryParamOptional: ["taxonomySlug", "q"], TaxonomyClassificationSlugPathParam: ["classificationSlug", "p", true], SavedViewIdPathParam: ["id", "p", true], AsyncOperationQueryParam: ["async", "q"], HydrateEntitiesQueryParam: ["hydrate", "q"], ActivityIdQueryParam: ["activity_id", "q"], ActivityIdPathParam: ["id", "p", true], FromPageQueryParam: ["from", "q"], IncludeReverseDeprecatedQueryParam: ["include_reverse", "q"], IncludeReverseQueryParam: ["include_reverse", "q"], IncludeSchemasQueryParam: ["include_schemas", "q", false, "form", false], ExcludeSchemasQueryParam: ["exclude_schemas", "q", false, "form", false], EntityRelationsModeQueryParam: ["mode", "q"], DryRunQueryParam: ["dry_run", "q"], FillActivityQueryParam: ["fill_activity", "q"], ValidateEntityQueryParam: ["validate", "q"], DirectQueryParam: ["direct", "q"], ApplyChangesetsQueryParam: ["apply_changesets", "q"] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_entity_runtime
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/configuration-hub-runtime.json
|
|
6
|
+
var require_configuration_hub_runtime = __commonJS({
|
|
7
|
+
"src/definitions/configuration-hub-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["rebuildIndex", "post", "/v1/configs/index:rebuild"]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_configuration_hub_runtime
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
|
+
|
|
5
|
+
// src/definitions/entity-runtime.json
|
|
6
|
+
var require_entity_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
|
+
"src/definitions/entity-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://entity.sls.epilot.io", o: [["listSchemas", "get", "/v1/entity/schemas", [["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["listSchemasV2", "get", "/v2/entity/schemas", [["full", "q"], ["unpublished", "q"], ["latest", "q"], ["exclude", "q", false, "form", false], ["include", "q", false, "form", false]]], ["getSchema", "get", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["id", "q"], ["latest", "q"]]], ["putSchema", "put", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["draft", "q"]], 1], ["deleteSchema", "delete", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"]]], ["getJsonSchema", "get", "/v1/entity/schemas/{slug}/json/schema", [["EntitySlugPathParam"], ["dereference", "q"]]], ["getSchemaExample", "get", "/v1/entity/schemas/{slug}/json/example", [["EntitySlugPathParam"]]], ["getSchemaVersions", "get", "/v1/entity/schemas/{slug}/versions", [["EntitySlugPathParam"], ["versions_from", "q"], ["versions_size", "q"], ["drafts_from", "q"], ["drafts_size", "q"], ["fields", "q", false, "form", false]]], ["freezeSchema", "post", "/v1/entity/schemas/{slug}/freeze", [["EntitySlugPathParam"]], 1], ["unfreezeSchema", "post", "/v1/entity/schemas/{slug}/unfreeze", [["EntitySlugPathParam"]]], ["listAvailableCapabilities", "get", "/v1/entity/schemas/{slug}/capabilities/available", [["EntitySlugPathParam"]]], ["listSchemaBlueprints", "get", "/v1/entity/schemas/blueprints"], ["searchEntities", "post", "/v1/entity:search", null, 1], ["listEntities", "post", "/v1/entity:list", null, 1], ["queryEntityGraph", "post", "/v1/entity:graph", null, 1], ["createEntity", "post", "/v1/entity/{slug}", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["validateEntity", "post", "/v1/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["validateEntityV2", "post", "/v2/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["upsertEntity", "patch", "/v1/entity/{slug}:upsert", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["strict", "q"]], 1], ["getEntityV2", "get", "/v2/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"], ["fields", "q", false, "form", false], ["ApplyChangesetsQueryParam"]]], ["restoreEntity", "patch", "/v1/entity/{slug}/{id}:restore", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["ActivityIdQueryParam"]], 1], ["reindexEntity", "post", "/v1/entity/{slug}/{id}:reindex", [["EntityIdPathParam"], ["EntitySlugPathParam"]], 1], ["getEntity", "get", "/v1/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"]]], ["updateEntity", "put", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["DirectQueryParam"]], 1], ["patchEntity", "patch", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["DirectQueryParam"]], 1], ["deleteEntity", "delete", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["purge", "q"]]], ["autocomplete", "get", "/v1/entity:autocomplete", [["input", "q"], ["attribute", "q", true], ["slug", "q"], ["size", "q"]]], ["wipeAllEntities", "post", "/v1/entity:wipeAllEntities", null, 1], ["createActivity", "post", "/v1/entity/activity", [["entities", "q", false, "form", false]], 1], ["getActivity", "get", "/v1/entity/activity/{id}", [["ActivityIdPathParam"], ["operations_size", "q"], ["operations_from", "q"]]], ["attachActivity", "post", "/v1/entity/activity/{id}:attach", [["ActivityIdPathParam"], ["entities", "q", false, "form", false]]], ["applyChangeset", "post", "/v1/entity/{slug}/{id}/changesets/{attribute}:apply", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true]]], ["dismissChangeset", "post", "/v1/entity/{slug}/{id}/changesets/{attribute}:dismiss", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true]], 1], ["listChangesets", "get", "/v1/entity/{slug}/{id}/changesets", [["EntitySlugPathParam"], ["EntityIdPathParam"]]], ["getEntityActivityFeed", "get", "/v1/entity/{slug}/{id}/activity", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["after", "q"], ["before", "q"], ["start_date", "q"], ["end_date", "q"], ["preset_range", "q"], ["FromPageQueryParam"], ["size", "q"], ["type", "q", false, "form", false], ["include_relations", "q"], ["exclude_activity_groups", "q"]]], ["getRelations", "get", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"]]], ["addRelations", "post", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["removeRelations", "delete", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["getRelationsV2", "get", "/v2/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["query", "q"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["fields", "q"]]], ["getRelationsV3", "get", "/v3/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseDeprecatedQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"], ["EntityRelationsModeQueryParam"], ["fields", "q"], ["include_deleted", "q"]]], ["getRelatedEntitiesCount", "get", "/v2/entity/{slug}/{id}/relations/count", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ExcludeSchemasQueryParam"]]], ["updateRelation", "put", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["deleteRelation", "delete", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]]], ["exportEntities", "post", "/v1/entity:export", [["job_id", "q"], ["is_template", "q"], ["language", "q"]], 1], ["importEntities", "post", "/v1/entity:import", [["job_id", "q"]], 1], ["listSavedViews", "get", "/v1/entity/views", [["slug", "q"], ["sort", "q"], ["from", "q"], ["size", "q"], ["fields", "q"]]], ["createSavedView", "post", "/v1/entity/view", null, 1], ["getSavedView", "get", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["updateSavedView", "put", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["patchSavedView", "patch", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["deleteSavedView", "delete", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["listFavoriteViewsForUser", "get", "/v1/entity/views/favorites"], ["listTaxonomies", "get", "/v1/entity/taxonomies", [["include_disabled", "q"], ["type", "q"]]], ["createTaxonomy", "post", "/v1/entity/taxonomies", null, 1], ["getTaxonomy", "get", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]]], ["updateTaxonomy", "put", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]], 1], ["deleteTaxonomy", "delete", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"], ["permanent", "q"]]], ["updateClassificationsForTaxonomy", "post", "/v1/entity/taxonomies/{taxonomySlug}/classifications", [["TaxonomySlugPathParam"]], 1], ["createTaxonomyClassification", "post", "/v2/entity/taxonomies/classifications", null, 1], ["getTaxonomyClassification", "get", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["updateTaxonomyClassification", "put", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]], 1], ["deleteTaxonomyClassification", "delete", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["taxonomyAutocomplete", "get", "/v1/entity/taxonomies/{taxonomySlug}:autocomplete", [["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["taxonomiesClassificationsSearch", "post", "/v1/entity/taxonomies/classifications:search", [["taxonomySlug", "q"], ["query", "q"], ["archived", "q"], ["include_archived", "q"], ["exclude_types", "q"]], 1], ["listTaxonomyClassificationsForSchema", "get", "/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}", [["EntitySlugPathParam"], ["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["getTaxonomyBulkActionJobs", "get", "/v1/entity/taxonomies/bulk-jobs", [["status", "q"], ["size", "q"], ["created_after", "q"], ["sort_pending_first", "q"], ["scope", "q"]]], ["getTaxonomyBulkActionJobById", "get", "/v1/entity/taxonomies/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["cancelBulkAction", "post", "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel", [["job_id", "p", true]]], ["bulkMoveClassifications", "post", "/v1/entity/taxonomies/classifications:move", null, 1], ["bulkMergeClassifications", "post", "/v1/entity/taxonomies/classifications:merge", null, 1], ["bulkDeleteClassifications", "post", "/v1/entity/taxonomies/classifications:delete", null, 1], ["createSchemaAttribute", "post", "/v1/entity/schemas/attributes", null, 1], ["getSchemaAttribute", "get", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["putSchemaAttribute", "put", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaAttribute", "delete", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["createSchemaCapability", "post", "/v1/entity/schemas/capabilities", null, 1], ["getSchemaCapability", "get", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["putSchemaCapability", "put", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaCapability", "delete", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroup", "post", "/v1/entity/schemas/group", null, 1], ["getSchemaGroup", "get", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroup", "put", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroup", "delete", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroupHeadline", "post", "/v1/entity/schemas/headline", null, 1], ["getSchemaGroupHeadline", "get", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroupHeadline", "put", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroupHeadline", "delete", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]]], cp: { EntityIdPathParam: ["id", "p", true], EntitySlugPathParam: ["slug", "p", true], EntitySlugPathPriceParam: ["slug", "p", true], TaxonomySlugQueryParam: ["taxonomySlug", "q", true], TaxonomySlugPathParam: ["taxonomySlug", "p", true], TaxonomySlugQueryParamOptional: ["taxonomySlug", "q"], TaxonomyClassificationSlugPathParam: ["classificationSlug", "p", true], SavedViewIdPathParam: ["id", "p", true], AsyncOperationQueryParam: ["async", "q"], HydrateEntitiesQueryParam: ["hydrate", "q"], ActivityIdQueryParam: ["activity_id", "q"], ActivityIdPathParam: ["id", "p", true], FromPageQueryParam: ["from", "q"], IncludeReverseDeprecatedQueryParam: ["include_reverse", "q"], IncludeReverseQueryParam: ["include_reverse", "q"], IncludeSchemasQueryParam: ["include_schemas", "q", false, "form", false], ExcludeSchemasQueryParam: ["exclude_schemas", "q", false, "form", false], EntityRelationsModeQueryParam: ["mode", "q"], DryRunQueryParam: ["dry_run", "q"], FillActivityQueryParam: ["fill_activity", "q"], ValidateEntityQueryParam: ["validate", "q"], DirectQueryParam: ["direct", "q"], ApplyChangesetsQueryParam: ["apply_changesets", "q"] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.require_entity_runtime = require_entity_runtime;
|
|
@@ -29,7 +29,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
29
29
|
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-IOCVCTKR.cjs"))),
|
|
30
30
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-DUWDISHP.cjs"))),
|
|
31
31
|
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-IEQ6YBY7.cjs"))),
|
|
32
|
-
"./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-
|
|
32
|
+
"./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-A3S6ND6R.cjs"))),
|
|
33
33
|
"./docs/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-CS2ZBZX4.cjs"))),
|
|
34
34
|
"./docs/customer-portal.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-5LMHNBMD.cjs"))),
|
|
35
35
|
"./docs/dashboard.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./dashboard-UHYR5RTY.cjs"))),
|
|
@@ -40,7 +40,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
40
40
|
"./docs/email-settings.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./email-settings-NQJJKS2P.cjs"))),
|
|
41
41
|
"./docs/email-template.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./email-template-M2VVL4TI.cjs"))),
|
|
42
42
|
"./docs/entity-mapping.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-mapping-ZNMFCUKK.cjs"))),
|
|
43
|
-
"./docs/entity.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-
|
|
43
|
+
"./docs/entity.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-VDUN7SYC.cjs"))),
|
|
44
44
|
"./docs/environments.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./environments-QJ4UMJ5C.cjs"))),
|
|
45
45
|
"./docs/erp-integration.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./erp-integration-PAVHSUDM.cjs"))),
|
|
46
46
|
"./docs/event-catalog.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./event-catalog-C45ISVMP.cjs"))),
|
|
@@ -69,8 +69,8 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
69
69
|
"./docs/user.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./user-7ZN2XO7G.cjs"))),
|
|
70
70
|
"./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-VDU3CIZV.cjs"))),
|
|
71
71
|
"./docs/webhooks.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./webhooks-H3RT33BF.cjs"))),
|
|
72
|
-
"./docs/workflow-definition.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-definition-
|
|
73
|
-
"./docs/workflow.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-
|
|
72
|
+
"./docs/workflow-definition.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-definition-U6YXD42W.cjs"))),
|
|
73
|
+
"./docs/workflow.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-WIUZ5TOX.cjs")))
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
// src/help.ts
|
|
@@ -107,7 +107,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
107
107
|
"./definitions/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-3VZPNG6M.cjs"))),
|
|
108
108
|
"./definitions/blueprint-manifest-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-runtime-QN2IECSA.cjs"))),
|
|
109
109
|
"./definitions/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-5TNVSDKC.cjs"))),
|
|
110
|
-
"./definitions/configuration-hub-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-runtime-
|
|
110
|
+
"./definitions/configuration-hub-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-runtime-I5Y67CXD.cjs"))),
|
|
111
111
|
"./definitions/consent-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-runtime-KZ5D4XZU.cjs"))),
|
|
112
112
|
"./definitions/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-6SIH4NQS.cjs"))),
|
|
113
113
|
"./definitions/customer-portal-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-runtime-DULJLR7F.cjs"))),
|
|
@@ -128,7 +128,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
128
128
|
"./definitions/email-template.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./email-template-26SANLRD.cjs"))),
|
|
129
129
|
"./definitions/entity-mapping-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-mapping-runtime-734TTUA2.cjs"))),
|
|
130
130
|
"./definitions/entity-mapping.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-mapping-PK2XAARN.cjs"))),
|
|
131
|
-
"./definitions/entity-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-runtime-
|
|
131
|
+
"./definitions/entity-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-runtime-3J5EDLXP.cjs"))),
|
|
132
132
|
"./definitions/entity.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-UKAWTND4.cjs"))),
|
|
133
133
|
"./definitions/environments-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./environments-runtime-QC2BUHBW.cjs"))),
|
|
134
134
|
"./definitions/environments.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./environments-5IS2ZJYQ.cjs"))),
|
|
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
|
5
5
|
// src/definitions/configuration-hub-runtime.json
|
|
6
6
|
var require_configuration_hub_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/configuration-hub-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["rebuildIndex", "post", "/v1/index
|
|
8
|
+
module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["rebuildIndex", "post", "/v1/configs/index:rebuild"]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"] } };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/configuration-hub.json
|
|
4
|
+
var configuration_hub_default = '# Configuration Hub API\n\n- **Base URL:** `https://configuration-hub.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/configuration-hub](https://docs.epilot.io/api/configuration-hub)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.configurationHub.listConfigTypes(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/configuration-hub\'\n\nconst configurationHubClient = getClient()\nauthorize(configurationHubClient, () => \'<token>\')\nconst { data } = await configurationHubClient.listConfigTypes(...)\n```\n\n## Operations\n\n**Configs**\n- [`listConfigTypes`](#listconfigtypes)\n- [`listConfigs`](#listconfigs)\n- [`getConfigDependencies`](#getconfigdependencies)\n- [`getConfigUsedBy`](#getconfigusedby)\n- [`getIndex`](#getindex)\n- [`rebuildIndex`](#rebuildindex)\n\n**Schemas**\n- [`ResourceType`](#resourcetype)\n- [`ConfigTypeInfo`](#configtypeinfo)\n- [`ConfigNode`](#confignode)\n- [`ConfigListResponse`](#configlistresponse)\n- [`ConfigDependenciesResponse`](#configdependenciesresponse)\n- [`IndexRebuildResponse`](#indexrebuildresponse)\n- [`IndexStatusResponse`](#indexstatusresponse)\n- [`ErrorResponse`](#errorresponse)\n\n### `listConfigTypes`\n\nReturns the static list of available configuration types with display metadata.\nThis is a cheap call \u2014 no fan-out to downstream APIs. Returns all known types\nwith labels and icons. The frontend should\n\n`GET /v1/configs/types`\n\n```ts\nconst { data } = await client.listConfigTypes()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "type": "journey",\n "label": "Journeys",\n "icon": "Route",\n "source_api": "https://journey.sls.epilot.io",\n "sdk_client": "@epilot/sdk/journey"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listConfigs`\n\nList configs of a given type with pagination. Returns summary metadata only\n(not full payloads). The frontend calls this per type folder when expanding.\n\n`GET /v1/configs/{type}`\n\n```ts\nconst { data } = await client.listConfigs({\n type: \'example\',\n cursor: \'example\',\n size: 1,\n q: \'example\',\n updated_after: \'example\',\n updated_before: \'example\',\n purposes: \'example\',\n blueprint_ids: \'example\',\n sort: \'example\',\n active_only: true,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "label": "string",\n "icon": "string",\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigDependencies`\n\nGet configs that are referenced by the given config.\nUsed to render children when expanding a config node in the tree.\n\n`GET /v1/configs/{type}/{id}/dependencies`\n\n```ts\nconst { data } = await client.getConfigDependencies({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigUsedBy`\n\nGet configs that reference the given config (reverse dependencies).\nScans the indexed config items for references to this config\'s ID or aliases.\n\n`GET /v1/configs/{type}/{id}/used_by`\n\n```ts\nconst { data } = await client.getConfigUsedBy({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getIndex`\n\nReturn the current index build state for the caller\'s organization.\nClients poll this to decide whether to show a "building" indicator\nand when to refetch data.\n\n`GET /v1/configs/index`\n\n```ts\nconst { data } = await client.getIndex()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "missing",\n "last_built_at": "1970-01-01T00:00:00.000Z",\n "total_items": 0,\n "build_duration_ms": 0\n}\n```\n\n</details>\n\n---\n\n### `rebuildIndex`\n\nRebuild the configuration index for the caller\'s organization.\nFire-and-forget: invokes the async worker and returns immediately.\nA new rebuild will cancel any in-flight build (see `build_token`).\n\n`POST /v1/configs/index:rebuild`\n\n```ts\nconst { data } = await client.rebuildIndex()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "ready",\n "last_built_at": "1970-01-01T00:00:00.000Z",\n "total_items": 0,\n "build_duration_ms": 0,\n "failed_types": ["string"]\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `ResourceType`\n\nConfiguration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n\n\n```ts\ntype ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n```\n\n### `ConfigTypeInfo`\n\nStatic metadata for a config type folder in the tree.\nNo downstream API calls \u2014 just type + label + icon + source API info.\n\n\n```ts\ntype ConfigTypeInfo = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n label: string\n icon: string\n source_api: string\n sdk_client: string\n}\n```\n\n### `ConfigNode`\n\nSummary metadata for a single configuration item in the tree\n\n```ts\ntype ConfigNode = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n metadata?: Record<string, unknown>\n}\n```\n\n### `ConfigListResponse`\n\nCursor-paginated list of configs for a specific type\n\n```ts\ntype ConfigListResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n label: string\n icon: string\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n metadata?: Record<string, unknown>\n }>\n}\n```\n\n### `ConfigDependenciesResponse`\n\nCursor-paginated list of configs referenced by a given config\n\n```ts\ntype ConfigDependenciesResponse = {\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n metadata?: Record<string, unknown>\n }>\n}\n```\n\n### `IndexRebuildResponse`\n\nResult of an index rebuild operation\n\n```ts\ntype IndexRebuildResponse = {\n status: "ready" | "building" | "failed" | "already_building"\n last_built_at?: string // date-time\n total_items?: number\n build_duration_ms?: number\n failed_types?: string[]\n}\n```\n\n### `IndexStatusResponse`\n\nCurrent index build state\n\n```ts\ntype IndexStatusResponse = {\n status: "missing" | "building" | "ready" | "failed"\n last_built_at?: string // date-time\n total_items?: number\n build_duration_ms?: number\n}\n```\n\n### `ErrorResponse`\n\n```ts\ntype ErrorResponse = {\n status: number\n error: string\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = configuration_hub_default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/configuration-hub.json
|
|
4
|
+
var configuration_hub_default = '# Configuration Hub API\n\n- **Base URL:** `https://configuration-hub.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/configuration-hub](https://docs.epilot.io/api/configuration-hub)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.configurationHub.listConfigTypes(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/configuration-hub\'\n\nconst configurationHubClient = getClient()\nauthorize(configurationHubClient, () => \'<token>\')\nconst { data } = await configurationHubClient.listConfigTypes(...)\n```\n\n## Operations\n\n**Configs**\n- [`listConfigTypes`](#listconfigtypes)\n- [`listConfigs`](#listconfigs)\n- [`getConfigDependencies`](#getconfigdependencies)\n- [`getConfigUsedBy`](#getconfigusedby)\n- [`getIndex`](#getindex)\n- [`rebuildIndex`](#rebuildindex)\n\n**Schemas**\n- [`ResourceType`](#resourcetype)\n- [`ConfigTypeInfo`](#configtypeinfo)\n- [`ConfigNode`](#confignode)\n- [`ConfigListResponse`](#configlistresponse)\n- [`ConfigDependenciesResponse`](#configdependenciesresponse)\n- [`IndexRebuildResponse`](#indexrebuildresponse)\n- [`IndexStatusResponse`](#indexstatusresponse)\n- [`ErrorResponse`](#errorresponse)\n\n### `listConfigTypes`\n\nReturns the static list of available configuration types with display metadata.\nThis is a cheap call \u2014 no fan-out to downstream APIs. Returns all known types\nwith labels and icons. The frontend should\n\n`GET /v1/configs/types`\n\n```ts\nconst { data } = await client.listConfigTypes()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "type": "journey",\n "label": "Journeys",\n "icon": "Route",\n "source_api": "https://journey.sls.epilot.io",\n "sdk_client": "@epilot/sdk/journey"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listConfigs`\n\nList configs of a given type with pagination. Returns summary metadata only\n(not full payloads). The frontend calls this per type folder when expanding.\n\n`GET /v1/configs/{type}`\n\n```ts\nconst { data } = await client.listConfigs({\n type: \'example\',\n cursor: \'example\',\n size: 1,\n q: \'example\',\n updated_after: \'example\',\n updated_before: \'example\',\n purposes: \'example\',\n blueprint_ids: \'example\',\n sort: \'example\',\n active_only: true,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "label": "string",\n "icon": "string",\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigDependencies`\n\nGet configs that are referenced by the given config.\nUsed to render children when expanding a config node in the tree.\n\n`GET /v1/configs/{type}/{id}/dependencies`\n\n```ts\nconst { data } = await client.getConfigDependencies({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigUsedBy`\n\nGet configs that reference the given config (reverse dependencies).\nScans the indexed config items for references to this config\'s ID or aliases.\n\n`GET /v1/configs/{type}/{id}/used_by`\n\n```ts\nconst { data } = await client.getConfigUsedBy({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "aliases": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path",\n "metadata": {}\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getIndex`\n\nReturn the current index build state for the caller\'s organization.\nClients poll this to decide whether to show a "building" indicator\nand when to refetch data.\n\n`GET /v1/configs/index`\n\n```ts\nconst { data } = await client.getIndex()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "missing",\n "last_built_at": "1970-01-01T00:00:00.000Z",\n "total_items": 0,\n "build_duration_ms": 0\n}\n```\n\n</details>\n\n---\n\n### `rebuildIndex`\n\nRebuild the configuration index for the caller\'s organization.\nFire-and-forget: invokes the async worker and returns immediately.\nA new rebuild will cancel any in-flight build (see `build_token`).\n\n`POST /v1/configs/index:rebuild`\n\n```ts\nconst { data } = await client.rebuildIndex()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "ready",\n "last_built_at": "1970-01-01T00:00:00.000Z",\n "total_items": 0,\n "build_duration_ms": 0,\n "failed_types": ["string"]\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `ResourceType`\n\nConfiguration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n\n\n```ts\ntype ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n```\n\n### `ConfigTypeInfo`\n\nStatic metadata for a config type folder in the tree.\nNo downstream API calls \u2014 just type + label + icon + source API info.\n\n\n```ts\ntype ConfigTypeInfo = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n label: string\n icon: string\n source_api: string\n sdk_client: string\n}\n```\n\n### `ConfigNode`\n\nSummary metadata for a single configuration item in the tree\n\n```ts\ntype ConfigNode = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n metadata?: Record<string, unknown>\n}\n```\n\n### `ConfigListResponse`\n\nCursor-paginated list of configs for a specific type\n\n```ts\ntype ConfigListResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n label: string\n icon: string\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n metadata?: Record<string, unknown>\n }>\n}\n```\n\n### `ConfigDependenciesResponse`\n\nCursor-paginated list of configs referenced by a given config\n\n```ts\ntype ConfigDependenciesResponse = {\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "document_template" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation" | "access_token"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n aliases?: string[]\n purposes?: string[]\n link?: string // uri\n metadata?: Record<string, unknown>\n }>\n}\n```\n\n### `IndexRebuildResponse`\n\nResult of an index rebuild operation\n\n```ts\ntype IndexRebuildResponse = {\n status: "ready" | "building" | "failed" | "already_building"\n last_built_at?: string // date-time\n total_items?: number\n build_duration_ms?: number\n failed_types?: string[]\n}\n```\n\n### `IndexStatusResponse`\n\nCurrent index build state\n\n```ts\ntype IndexStatusResponse = {\n status: "missing" | "building" | "ready" | "failed"\n last_built_at?: string // date-time\n total_items?: number\n build_duration_ms?: number\n}\n```\n\n### `ErrorResponse`\n\n```ts\ntype ErrorResponse = {\n status: number\n error: string\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
configuration_hub_default as default
|
|
7
|
+
};
|
package/dist/{configuration-hub-runtime-TY2X2ECO.cjs → configuration-hub-runtime-I5Y67CXD.cjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkZSONBZIFcjs = require('./chunk-ZSONBZIF.cjs');
|
|
4
4
|
require('./chunk-NJK5F5TF.cjs');
|
|
5
|
-
exports. default =
|
|
5
|
+
exports. default = _chunkZSONBZIFcjs.require_configuration_hub_runtime.call(void 0, );
|