@epilot/sdk 2.7.6 → 2.7.8
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/LICENSE +21 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +744 -20
- package/definitions/targeting.json +49 -0
- 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 +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- 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 +6 -6
- package/dist/apis/entity.js +1 -1
- 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.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- 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.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-QN2IECSA.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-5UN52LW5.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.cts → blueprint-manifest.d-B8yDxagC.d.cts} +572 -6
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.ts → blueprint-manifest.d-B8yDxagC.d.ts} +572 -6
- package/dist/chunk-4YBWMDFP.js +14 -0
- package/dist/chunk-NGHCQ2FA.cjs +14 -0
- package/dist/{chunk-2EZWTUN7.cjs → chunk-NSIKAUXP.cjs} +3 -3
- package/dist/{chunk-CSL5KKTW.js → chunk-ZCQVAPBA.js} +3 -3
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/targeting-5N5DGNHB.js +7 -0
- package/dist/targeting-6U2RIRAE.cjs +7 -0
- package/dist/{targeting.d-DkyEBdtZ.d.cts → targeting.d-BkPe5NmP.d.cts} +56 -0
- package/dist/{targeting.d-DkyEBdtZ.d.ts → targeting.d-BkPe5NmP.d.ts} +56 -0
- package/docs/blueprint-manifest.md +728 -68
- package/docs/targeting.md +38 -1
- package/package.json +11 -12
- package/dist/blueprint-manifest-DBEY5PPI.js +0 -7
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +0 -7
- package/dist/chunk-L544VG3B.cjs +0 -14
- package/dist/chunk-O2YVXGPZ.js +0 -14
- package/dist/targeting-67M7H7T7.cjs +0 -7
- package/dist/targeting-XHHZ2TK4.js +0 -7
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/blueprint-manifest-runtime.json
|
|
6
|
+
var require_blueprint_manifest_runtime = __commonJS({
|
|
7
|
+
"src/definitions/blueprint-manifest-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://blueprint-manifest.sls.epilot.io", o: [["getJob", "get", "/v1/blueprint-manifest/jobs/{job_id}", [["JobID"]]], ["createExport", "post", "/v1/blueprint-manifest/jobs:createExport", null, 1], ["exportManifest", "post", "/v1/blueprint-manifest/jobs/{job_id}:exportManifest", [["JobID"]], 1], ["uploadManifest", "post", "/v1/blueprint-manifest:uploadManifest", null, 1], ["createPlan", "post", "/v1/blueprint-manifest/jobs:createPlan", null, 1], ["applyPlan", "post", "/v1/blueprint-manifest/jobs/{job_id}:applyPlan", [["JobID"]], 1], ["listInstalledManifests", "get", "/v1/blueprint-manifest/manifests"], ["getManifest", "get", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["updateManifest", "put", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]], 1], ["deleteManifest", "delete", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["listBlueprints", "get", "/v2/blueprint-manifest/blueprints", [["archived", "q"]]], ["createBlueprint", "post", "/v2/blueprint-manifest/blueprints", null, 1], ["listInstalledMarketplaceBlueprints", "get", "/v2/blueprint-manifest/blueprints:marketplace"], ["preInstallBlueprint", "post", "/v2/blueprint-manifest/blueprints:pre-install", null, 1], ["getBlueprintPreview", "get", "/v2/blueprint-manifest/blueprints:preview/{preview_id}", [["preview_id", "p", true]]], ["installBlueprint", "post", "/v2/blueprint-manifest/blueprint:install", null, 1], ["getBlueprint", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["updateBlueprint", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]], 1], ["deleteBlueprint", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["validateBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate", [["blueprint_id", "p", true]]], ["verifyBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:verify", [["blueprint_id", "p", true]], 1], ["detectPatchChanges", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches:detect", [["blueprint_id", "p", true]], 1], ["createPatch", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches", [["blueprint_id", "p", true]], 1], ["listPatches", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches", [["blueprint_id", "p", true]]], ["getPatch", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}", [["blueprint_id", "p", true], ["patch_id", "p", true]]], ["applyPatch", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}:apply", [["blueprint_id", "p", true], ["patch_id", "p", true]], 1], ["retryPatchOrg", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}/orgs/{org_id}:retry", [["blueprint_id", "p", true], ["patch_id", "p", true], ["org_id", "p", true]], 1], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 1], ["listMarketplaceSlugs", "get", "/v2/blueprint-manifest/marketplace/slugs"], ["publishBlueprint", "post", "/v2/blueprint-manifest/blueprints:publish", null, 1], ["formatBlueprintDescription", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description", [["blueprint_id", "p", true]], 1], ["suggestBlueprintResources", "post", "/v2/blueprint-manifest/blueprints:suggest-resources", null, 1], ["addBlueprintResource", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["syncDependencies", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies", [["blueprint_id", "p", true]]], ["bulkAddBlueprintResources", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["bulkUpdateBlueprintResources", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["bulkDeleteBlueprintResources", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["updateBlueprintResource", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]], 1], ["deleteBlueprintResource", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]]], ["listBlueprintJobs", "get", "/v2/blueprint-manifest/jobs"], ["getBlueprintJob", "get", "/v2/blueprint-manifest/jobs/{job_id}", [["job_id", "p", true]]], ["continueInstallationJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:continue", [["job_id", "p", true]], 1], ["cancelBlueprintJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:cancel", [["job_id", "p", true]]], ["createMarketplaceListing", "post", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]], 1], ["getMarketplaceListing", "get", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]]], ["listMarketplaceListings", "get", "/v1/marketplace-listings"], ["getMarketplaceListingById", "get", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["updateMarketplaceListing", "patch", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]], 1], ["deleteMarketplaceListing", "delete", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["createMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["listMarketplaceListingVersions", "get", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["updateMarketplaceListingVersion", "patch", "/v1/marketplace-listings/{listing_id}/versions/{version_id}", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["publishMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions/{version_id}/publish", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["installBlueprintV3", "post", "/v3/blueprint-manifest/blueprint:install", null, 1], ["getBlueprintLineageV3", "get", "/v3/blueprint-manifest/blueprints/{blueprint_id}/lineage", [["blueprint_id", "p", true]]]], cp: { JobID: ["job_id", "p", true] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_blueprint_manifest_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/blueprint-manifest-runtime.json
|
|
6
|
+
var require_blueprint_manifest_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
|
+
"src/definitions/blueprint-manifest-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://blueprint-manifest.sls.epilot.io", o: [["getJob", "get", "/v1/blueprint-manifest/jobs/{job_id}", [["JobID"]]], ["createExport", "post", "/v1/blueprint-manifest/jobs:createExport", null, 1], ["exportManifest", "post", "/v1/blueprint-manifest/jobs/{job_id}:exportManifest", [["JobID"]], 1], ["uploadManifest", "post", "/v1/blueprint-manifest:uploadManifest", null, 1], ["createPlan", "post", "/v1/blueprint-manifest/jobs:createPlan", null, 1], ["applyPlan", "post", "/v1/blueprint-manifest/jobs/{job_id}:applyPlan", [["JobID"]], 1], ["listInstalledManifests", "get", "/v1/blueprint-manifest/manifests"], ["getManifest", "get", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["updateManifest", "put", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]], 1], ["deleteManifest", "delete", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["listBlueprints", "get", "/v2/blueprint-manifest/blueprints", [["archived", "q"]]], ["createBlueprint", "post", "/v2/blueprint-manifest/blueprints", null, 1], ["listInstalledMarketplaceBlueprints", "get", "/v2/blueprint-manifest/blueprints:marketplace"], ["preInstallBlueprint", "post", "/v2/blueprint-manifest/blueprints:pre-install", null, 1], ["getBlueprintPreview", "get", "/v2/blueprint-manifest/blueprints:preview/{preview_id}", [["preview_id", "p", true]]], ["installBlueprint", "post", "/v2/blueprint-manifest/blueprint:install", null, 1], ["getBlueprint", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["updateBlueprint", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]], 1], ["deleteBlueprint", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["validateBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate", [["blueprint_id", "p", true]]], ["verifyBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:verify", [["blueprint_id", "p", true]], 1], ["detectPatchChanges", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches:detect", [["blueprint_id", "p", true]], 1], ["createPatch", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches", [["blueprint_id", "p", true]], 1], ["listPatches", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches", [["blueprint_id", "p", true]]], ["getPatch", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}", [["blueprint_id", "p", true], ["patch_id", "p", true]]], ["applyPatch", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}:apply", [["blueprint_id", "p", true], ["patch_id", "p", true]], 1], ["retryPatchOrg", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}/orgs/{org_id}:retry", [["blueprint_id", "p", true], ["patch_id", "p", true], ["org_id", "p", true]], 1], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 1], ["listMarketplaceSlugs", "get", "/v2/blueprint-manifest/marketplace/slugs"], ["publishBlueprint", "post", "/v2/blueprint-manifest/blueprints:publish", null, 1], ["formatBlueprintDescription", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description", [["blueprint_id", "p", true]], 1], ["suggestBlueprintResources", "post", "/v2/blueprint-manifest/blueprints:suggest-resources", null, 1], ["addBlueprintResource", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["syncDependencies", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies", [["blueprint_id", "p", true]]], ["bulkAddBlueprintResources", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["bulkUpdateBlueprintResources", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["bulkDeleteBlueprintResources", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["updateBlueprintResource", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]], 1], ["deleteBlueprintResource", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]]], ["listBlueprintJobs", "get", "/v2/blueprint-manifest/jobs"], ["getBlueprintJob", "get", "/v2/blueprint-manifest/jobs/{job_id}", [["job_id", "p", true]]], ["continueInstallationJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:continue", [["job_id", "p", true]], 1], ["cancelBlueprintJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:cancel", [["job_id", "p", true]]], ["createMarketplaceListing", "post", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]], 1], ["getMarketplaceListing", "get", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]]], ["listMarketplaceListings", "get", "/v1/marketplace-listings"], ["getMarketplaceListingById", "get", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["updateMarketplaceListing", "patch", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]], 1], ["deleteMarketplaceListing", "delete", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["createMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["listMarketplaceListingVersions", "get", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["updateMarketplaceListingVersion", "patch", "/v1/marketplace-listings/{listing_id}/versions/{version_id}", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["publishMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions/{version_id}/publish", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["installBlueprintV3", "post", "/v3/blueprint-manifest/blueprint:install", null, 1], ["getBlueprintLineageV3", "get", "/v3/blueprint-manifest/blueprints/{blueprint_id}/lineage", [["blueprint_id", "p", true]]]], cp: { JobID: ["job_id", "p", true] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.require_blueprint_manifest_runtime = require_blueprint_manifest_runtime;
|
|
@@ -37,7 +37,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
37
37
|
"./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
|
|
38
38
|
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-BMO7ZFTN.cjs"))),
|
|
39
39
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-DUWDISHP.cjs"))),
|
|
40
|
-
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-
|
|
40
|
+
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-GCV7H74X.cjs"))),
|
|
41
41
|
"./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-2YDAYG7S.cjs"))),
|
|
42
42
|
"./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-Q5JBYB52.cjs"))),
|
|
43
43
|
"./docs/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-CS2ZBZX4.cjs"))),
|
|
@@ -74,7 +74,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
74
74
|
"./docs/sharing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./sharing-MR7ANOST.cjs"))),
|
|
75
75
|
"./docs/submission.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./submission-Q24BU4GS.cjs"))),
|
|
76
76
|
"./docs/target.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./target-3RS5BN2B.cjs"))),
|
|
77
|
-
"./docs/targeting.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./targeting-
|
|
77
|
+
"./docs/targeting.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./targeting-6U2RIRAE.cjs"))),
|
|
78
78
|
"./docs/template-variables.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./template-variables-I72B5WS6.cjs"))),
|
|
79
79
|
"./docs/user.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./user-7ZN2XO7G.cjs"))),
|
|
80
80
|
"./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-VDU3CIZV.cjs"))),
|
|
@@ -115,7 +115,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
115
115
|
"./definitions/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-HZASSUCS.cjs"))),
|
|
116
116
|
"./definitions/billing-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-runtime-L4Y7MLM3.cjs"))),
|
|
117
117
|
"./definitions/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-3VZPNG6M.cjs"))),
|
|
118
|
-
"./definitions/blueprint-manifest-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-runtime-
|
|
118
|
+
"./definitions/blueprint-manifest-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-runtime-EIDOROIQ.cjs"))),
|
|
119
119
|
"./definitions/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-5TNVSDKC.cjs"))),
|
|
120
120
|
"./definitions/calendar-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-runtime-G4SN5PDY.cjs"))),
|
|
121
121
|
"./definitions/configuration-hub-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-runtime-QVLJKEZD.cjs"))),
|
|
@@ -37,7 +37,7 @@ var globImport_docs = __glob({
|
|
|
37
37
|
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
38
38
|
"./docs/automation.json": () => import("./automation-MEZTSUR3.js"),
|
|
39
39
|
"./docs/billing.json": () => import("./billing-IPALEAG2.js"),
|
|
40
|
-
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-
|
|
40
|
+
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-6DEYW5MW.js"),
|
|
41
41
|
"./docs/calendar.json": () => import("./calendar-ACFIHQ2N.js"),
|
|
42
42
|
"./docs/configuration-hub.json": () => import("./configuration-hub-E7S4JB2T.js"),
|
|
43
43
|
"./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
|
|
@@ -74,7 +74,7 @@ var globImport_docs = __glob({
|
|
|
74
74
|
"./docs/sharing.json": () => import("./sharing-MNDABPL7.js"),
|
|
75
75
|
"./docs/submission.json": () => import("./submission-7BISSPO6.js"),
|
|
76
76
|
"./docs/target.json": () => import("./target-5MKRXCHX.js"),
|
|
77
|
-
"./docs/targeting.json": () => import("./targeting-
|
|
77
|
+
"./docs/targeting.json": () => import("./targeting-5N5DGNHB.js"),
|
|
78
78
|
"./docs/template-variables.json": () => import("./template-variables-6CLOG67C.js"),
|
|
79
79
|
"./docs/user.json": () => import("./user-ZK7BK6VY.js"),
|
|
80
80
|
"./docs/validation-rules.json": () => import("./validation-rules-P6F5P73P.js"),
|
|
@@ -115,7 +115,7 @@ var globImport_definitions_json = __glob({
|
|
|
115
115
|
"./definitions/automation.json": () => import("./automation-WEVRW77F.js"),
|
|
116
116
|
"./definitions/billing-runtime.json": () => import("./billing-runtime-C6BMGWCX.js"),
|
|
117
117
|
"./definitions/billing.json": () => import("./billing-ASWY7HC3.js"),
|
|
118
|
-
"./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-
|
|
118
|
+
"./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-FRLU3ZSF.js"),
|
|
119
119
|
"./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
|
|
120
120
|
"./definitions/calendar-runtime.json": () => import("./calendar-runtime-6CMMEQMG.js"),
|
|
121
121
|
"./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-CXME7TCX.js"),
|
package/dist/index.cjs
CHANGED
|
@@ -108,7 +108,7 @@ var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
|
|
|
108
108
|
var _chunkG5FKTWUCcjs = require('./chunk-G5FKTWUC.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
var
|
|
111
|
+
var _chunkNGHCQ2FAcjs = require('./chunk-NGHCQ2FA.cjs');
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
var _chunkCKLEBO4Kcjs = require('./chunk-CKLEBO4K.cjs');
|
|
@@ -155,7 +155,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
var
|
|
158
|
+
var _chunkNSIKAUXPcjs = require('./chunk-NSIKAUXP.cjs');
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -222,7 +222,7 @@ var resolveClient = (params) => {
|
|
|
222
222
|
}
|
|
223
223
|
if (!entry.instance) {
|
|
224
224
|
const definition = entry.loader();
|
|
225
|
-
entry.instance =
|
|
225
|
+
entry.instance = _chunkNSIKAUXPcjs.createApiClient.call(void 0, {
|
|
226
226
|
definition,
|
|
227
227
|
token: state.token,
|
|
228
228
|
headers: state.globalHeaders,
|
|
@@ -255,7 +255,7 @@ var resetAllClients = (registry) => {
|
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
// src/apis/_registry.ts
|
|
258
|
-
var expandDef = (mod) =>
|
|
258
|
+
var expandDef = (mod) => _chunkNSIKAUXPcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
259
259
|
var registerBuiltinApis = (registry) => {
|
|
260
260
|
registerApi({
|
|
261
261
|
registry,
|
|
@@ -300,7 +300,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
300
300
|
registerApi({
|
|
301
301
|
registry,
|
|
302
302
|
name: "blueprintManifest",
|
|
303
|
-
loader: () => expandDef(
|
|
303
|
+
loader: () => expandDef(_chunkNGHCQ2FAcjs.require_blueprint_manifest_runtime.call(void 0, ))
|
|
304
304
|
});
|
|
305
305
|
registerApi({
|
|
306
306
|
registry,
|
|
@@ -593,9 +593,9 @@ var createSDK = () => {
|
|
|
593
593
|
const available = [...registry.keys()].join(", ");
|
|
594
594
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
595
595
|
}
|
|
596
|
-
return
|
|
596
|
+
return _chunkNSIKAUXPcjs.createApiHandle.call(void 0, {
|
|
597
597
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
598
|
-
createClient: () =>
|
|
598
|
+
createClient: () => _chunkNSIKAUXPcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
599
599
|
apiName: name
|
|
600
600
|
});
|
|
601
601
|
};
|
|
@@ -643,9 +643,9 @@ var createSDK = () => {
|
|
|
643
643
|
return interceptorUse;
|
|
644
644
|
}
|
|
645
645
|
case "help":
|
|
646
|
-
return (apiName) =>
|
|
646
|
+
return (apiName) => _chunkNSIKAUXPcjs.help.call(void 0, apiName);
|
|
647
647
|
case "openapi":
|
|
648
|
-
return (apiName) =>
|
|
648
|
+
return (apiName) => _chunkNSIKAUXPcjs.openapi.call(void 0, apiName);
|
|
649
649
|
case "then":
|
|
650
650
|
case "catch":
|
|
651
651
|
case "finally":
|
|
@@ -675,4 +675,4 @@ var epilot = createSDK();
|
|
|
675
675
|
|
|
676
676
|
|
|
677
677
|
|
|
678
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
678
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkNSIKAUXPcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkNSIKAUXPcjs.help; exports.openapi = _chunkNSIKAUXPcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ import { C as Client$4 } from './app.d-BOR23dso.cjs';
|
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
12
|
import { C as Client$6 } from './automation.d-Du6-uiz5.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
|
|
14
|
-
import { C as Client$8 } from './blueprint-manifest.d-
|
|
14
|
+
import { C as Client$8 } from './blueprint-manifest.d-B8yDxagC.cjs';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.cjs';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.cjs';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.cjs';
|
|
@@ -46,7 +46,7 @@ import { C as Client$D } from './query.d-Cmp78IhZ.cjs';
|
|
|
46
46
|
import { C as Client$E } from './sandbox.d-BdbOFzDu.cjs';
|
|
47
47
|
import { C as Client$F } from './sharing.d-sOXq-gtz.cjs';
|
|
48
48
|
import { C as Client$G } from './submission.d-BamwfhXw.cjs';
|
|
49
|
-
import { C as Client$H } from './targeting.d-
|
|
49
|
+
import { C as Client$H } from './targeting.d-BkPe5NmP.cjs';
|
|
50
50
|
import { C as Client$I } from './template-variables.d-Ble9TSBa.cjs';
|
|
51
51
|
import { C as Client$J } from './user.d-D18fe97W.cjs';
|
|
52
52
|
import { C as Client$K } from './validation-rules.d-Db5c5zTf.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { C as Client$4 } from './app.d-BOR23dso.js';
|
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
12
|
import { C as Client$6 } from './automation.d-Du6-uiz5.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
14
|
-
import { C as Client$8 } from './blueprint-manifest.d-
|
|
14
|
+
import { C as Client$8 } from './blueprint-manifest.d-B8yDxagC.js';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.js';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.js';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.js';
|
|
@@ -46,7 +46,7 @@ import { C as Client$D } from './query.d-Cmp78IhZ.js';
|
|
|
46
46
|
import { C as Client$E } from './sandbox.d-BdbOFzDu.js';
|
|
47
47
|
import { C as Client$F } from './sharing.d-sOXq-gtz.js';
|
|
48
48
|
import { C as Client$G } from './submission.d-BamwfhXw.js';
|
|
49
|
-
import { C as Client$H } from './targeting.d-
|
|
49
|
+
import { C as Client$H } from './targeting.d-BkPe5NmP.js';
|
|
50
50
|
import { C as Client$I } from './template-variables.d-Ble9TSBa.js';
|
|
51
51
|
import { C as Client$J } from './user.d-D18fe97W.js';
|
|
52
52
|
import { C as Client$K } from './validation-rules.d-Db5c5zTf.js';
|
package/dist/index.js
CHANGED
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
} from "./chunk-CSK5ZUTS.js";
|
|
109
109
|
import {
|
|
110
110
|
require_blueprint_manifest_runtime
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-4YBWMDFP.js";
|
|
112
112
|
import {
|
|
113
113
|
require_calendar_runtime
|
|
114
114
|
} from "./chunk-JNH37UUH.js";
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
expand,
|
|
156
156
|
help,
|
|
157
157
|
openapi
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-ZCQVAPBA.js";
|
|
159
159
|
import {
|
|
160
160
|
__require
|
|
161
161
|
} from "./chunk-YPSWSI3M.js";
|
package/dist/js-yaml-DLCVPJ7G.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/targeting.json
|
|
4
|
+
var targeting_default = '# Targeting API\n\n- **Base URL:** `https://targeting.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/targeting](https://docs.epilot.io/api/targeting)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.targeting.changeCampaignStatus(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/targeting\'\n\nconst targetingClient = getClient()\nauthorize(targetingClient, () => \'<token>\')\nconst { data } = await targetingClient.changeCampaignStatus(...)\n```\n\n## Operations\n\n**Campaign**\n- [`changeCampaignStatus`](#changecampaignstatus)\n- [`getCampaignJobStatus`](#getcampaignjobstatus)\n- [`getCampaignPortals`](#getcampaignportals)\n- [`setupCampaign`](#setupcampaign)\n- [`matchCampaigns`](#matchcampaigns)\n\n**Campaign Delivery**\n- [`retriggerCampaignAutomations`](#retriggercampaignautomations)\n\n**Target**\n- [`matchTargets`](#matchtargets)\n- [`getTargetQueries`](#gettargetqueries)\n\n**Campaign Recipient**\n- [`createRecipient`](#createrecipient)\n- [`updateRecipient`](#updaterecipient)\n- [`updateRecipientPortalStatus`](#updaterecipientportalstatus)\n- [`getRecipients`](#getrecipients)\n\n**Schemas**\n- [`BaseError`](#baseerror)\n- [`ServerError`](#servererror)\n- [`ClientError`](#clienterror)\n- [`BaseUUID`](#baseuuid)\n- [`BaseNanoID`](#basenanoid)\n- [`BaseTags`](#basetags)\n- [`BaseRelation`](#baserelation)\n- [`BaseSystemId`](#basesystemid)\n- [`BaseEntityOwner`](#baseentityowner)\n- [`BaseEntityAcl`](#baseentityacl)\n- [`BaseSystemFields`](#basesystemfields)\n- [`BaseSystemFieldsRequired`](#basesystemfieldsrequired)\n- [`CampaignStatus`](#campaignstatus)\n- [`ExecutionSummaryItem`](#executionsummaryitem)\n- [`JobStatus`](#jobstatus)\n- [`Campaign`](#campaign)\n- [`Target`](#target)\n- [`MatchCampaignParams`](#matchcampaignparams)\n- [`MatchTargetParams`](#matchtargetparams)\n- [`GetTargetQueriesParams`](#gettargetqueriesparams)\n- [`TargetQueryResult`](#targetqueryresult)\n- [`AutomationStatus`](#automationstatus)\n- [`PortalStatus`](#portalstatus)\n- [`Recipient`](#recipient)\n- [`BaseRecipientPayload`](#baserecipientpayload)\n- [`AutomationRecipientPayload`](#automationrecipientpayload)\n- [`PortalRecipientPayload`](#portalrecipientpayload)\n- [`CreateRecipientPayload`](#createrecipientpayload)\n- [`UpdateRecipientPayload`](#updaterecipientpayload)\n- [`RetriggerAutomationsRequest`](#retriggerautomationsrequest)\n- [`RetriggerAutomationsResult`](#retriggerautomationsresult)\n- [`UpdatePortalStatusRequest`](#updateportalstatusrequest)\n- [`SetupCampaignRequest`](#setupcampaignrequest)\n- [`SetupTariffChangeCampaignRequest`](#setuptariffchangecampaignrequest)\n- [`SetupTariffChangeCampaignResponse`](#setuptariffchangecampaignresponse)\n\n### `changeCampaignStatus`\n\nChange the status of a campaign\n\n`POST /v1/campaign/{campaign_id}/status`\n\n```ts\nconst { data } = await client.changeCampaignStatus({\n campaign_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "campaign": {\n "_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_org": "string",\n "_owners": [\n {\n "org_id": "123",\n "user_id": "123"\n }\n ],\n "_schema": "string",\n "_title": "string",\n "_tags": ["string"],\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_acl": {\n "view": ["org:456"],\n "edit": ["org:456"],\n "delete": ["org:456"]\n },\n "name": "string",\n "goal": "string",\n "status": "draft",\n "start_date": "1970-01-01",\n "end_date": "1970-01-01",\n "flow_id": "string",\n "job_id": "string",\n "target": {\n "$relation": [\n {\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_tags": ["string"]\n }\n ]\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `getCampaignJobStatus`\n\nGet the status of a campaign\'s automation job\n\n`GET /v1/campaign/{campaign_id}/job`\n\n```ts\nconst { data } = await client.getCampaignJobStatus({\n campaign_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "queued",\n "execution_summary": [\n {\n "execution_id": "string",\n "execution_status": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getCampaignPortals`\n\nGet portals usage info for a campaign\n\n`GET /v1/campaign/{campaign_id}/portals`\n\n```ts\nconst { data } = await client.getCampaignPortals({\n campaign_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "portal": {\n "origin": "string",\n "domain": "string",\n "name": "string"\n },\n "widgets": [\n {\n "id": "string",\n "headline": {\n "en": "string",\n "de": "string"\n }\n }\n ]\n }\n]\n```\n\n</details>\n\n---\n\n### `retriggerCampaignAutomations`\n\nRetrigger automations for campaign recipients\n\n`POST /v1/campaign/{campaign_id}/automations:retrigger`\n\n```ts\nconst { data } = await client.retriggerCampaignAutomations(\n {\n campaign_id: \'example\',\n },\n {\n recipient_ids: [\'3fa85f64-5717-4562-b3fc-2c963f66afa6\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "results": [\n {\n "recipient_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "result": "success",\n "execution_id": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `setupCampaign`\n\nSet up a campaign with related entities and configurations\n\n`POST /v1/campaign:setup`\n\n```ts\nconst { data } = await client.setupCampaign(\n null,\n {\n type: \'tariff_change\',\n product_recommendation: {\n name: \'string\',\n source_product_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n source_price_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n offers: [\n {\n target_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n items: [\n {\n product_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n price_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n highlight_config: {}\n }\n ]\n }\n ]\n },\n campaign: {\n name: \'string\',\n goal: \'string\',\n target_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n journey: {\n journey_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n design_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\'\n },\n channels: {\n portal_widget: {\n portal_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n block_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n design_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\'\n }\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "tariff_change",\n "product_recommendation_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "campaign_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "journey_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "portal_widget_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84"\n}\n```\n\n</details>\n\n---\n\n### `matchCampaigns`\n\nMatch campaigns\n\n`POST /v1/campaign:match`\n\n```ts\nconst { data } = await client.matchCampaigns(\n null,\n {\n entity_refs: [\n {\n entity_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n entity_schema: \'string\'\n }\n ],\n campaign_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "hits": 0,\n "results": [\n {\n "campaign": {\n "_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_org": "string",\n "_owners": [\n {\n "org_id": "123",\n "user_id": "123"\n }\n ],\n "_schema": "string",\n "_title": "string",\n "_tags": ["string"],\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_acl": {\n "view": ["org:456"],\n "edit": ["org:456"],\n "delete": ["org:456"]\n },\n "name": "string",\n "goal": "string",\n "status": "draft",\n "start_date": "1970-01-01",\n "end_date": "1970-01-01",\n "flow_id": "string",\n "job_id": "string",\n "target": {\n "$relation": [\n {\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_tags": ["string"]\n }\n ]\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `matchTargets`\n\nMatch targets\n\n`POST /v1/target:match`\n\n```ts\nconst { data } = await client.matchTargets(\n null,\n {\n entity_refs: [\n {\n entity_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n entity_schema: \'string\'\n }\n ],\n target_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "hits": 0,\n "results": [\n {\n "target": {\n "_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_org": "string",\n "_owners": [\n {\n "org_id": "123",\n "user_id": "123"\n }\n ],\n "_schema": "string",\n "_title": "string",\n "_tags": ["string"],\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_acl": {\n "view": ["org:456"],\n "edit": ["org:456"],\n "delete": ["org:456"]\n },\n "name": "string",\n "description": "string",\n "entity_schema": "string",\n "entity_filters": {}\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getTargetQueries`\n\nGet target queries\n\n`POST /v1/target/queries`\n\n```ts\nconst { data } = await client.getTargetQueries(\n null,\n {\n target_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "target_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "query": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createRecipient`\n\nCreate a recipient associated with a campaign\n\n`POST /v1/campaign/{campaign_id}/recipient`\n\n```ts\nconst { data } = await client.createRecipient(\n {\n campaign_id: \'example\',\n },\n {\n entity_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n entity_schema: \'string\',\n automation_status: \'pending\',\n automation_execution_id: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateRecipient`\n\nUpdate a recipient\n\n`PATCH /v1/campaign/{campaign_id}/recipient/{recipient_id}`\n\n```ts\nconst { data } = await client.updateRecipient(\n {\n campaign_id: \'example\',\n recipient_id: \'example\',\n },\n {\n automation_status: \'pending\',\n automation_execution_id: \'string\',\n portal_status: \'sent\',\n portal_state: {}\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateRecipientPortalStatus`\n\nUpdate portal status for a campaign recipient\n\n`PATCH /v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status`\n\n```ts\nconst { data } = await client.updateRecipientPortalStatus(\n {\n campaign_id: \'example\',\n recipient_id: \'example\',\n },\n {\n status: \'sent\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `getRecipients`\n\nGet campaign recipients\n\n`GET /v1/campaign/{campaign_id}/recipients`\n\n```ts\nconst { data } = await client.getRecipients({\n campaign_id: \'example\',\n limit: 1,\n next: \'example\',\n q: \'example\',\n automation_status: \'example\',\n portal_status: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ],\n "next": "string",\n "total": 0\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `BaseError`\n\n```ts\ntype BaseError = {\n status: number\n message: string\n}\n```\n\n### `ServerError`\n\n```ts\ntype ServerError = {\n status: number\n message: string\n}\n```\n\n### `ClientError`\n\nDescribes the structure of a client error response, which can be one of several types:\n1. `MessageError`: Contains a \'message\' field for general descriptive errors.\n2. `CodeError`: Contains a \'code\' field for specific, machine-readable error codes.\n3. `StatusedError`: Contains \'error\' and \'status\' f\n\n```ts\ntype ClientError = {\n message: string\n} | {\n code: "CAMPAIGN_NOT_FOUND" | "CAMPAIGN_HAS_NO_TARGET" | "CAMPAIGN_HAS_NO_DELIVERY_METHOD" | "CAMPAIGN_HAS_JOB_IN_PROGRESS" | "CAMPAIGN_HAS_UNEXPECTED_STATUS" | "JOB_TOKEN_MISSING" | "TARGET_WITHOUT_FILTERS"\n} | {\n error: string\n status: number\n}\n```\n\n### `BaseUUID`\n\n```ts\ntype BaseUUID = string // uuid\n```\n\n### `BaseNanoID`\n\n```ts\ntype BaseNanoID = string\n```\n\n### `BaseTags`\n\n```ts\ntype BaseTags = string[]\n```\n\n### `BaseRelation`\n\n```ts\ntype BaseRelation = {\n $relation?: Array<{\n entity_id?: string // uuid\n _tags?: string[]\n }>\n}\n```\n\n### `BaseSystemId`\n\n```ts\ntype BaseSystemId = {\n _id: string // uuid\n}\n```\n\n### `BaseEntityOwner`\n\nThe user / organization owning this entity.\n\nNote: Owner implicitly has access to the entity regardless of ACLs.\n\n\n```ts\ntype BaseEntityOwner = {\n org_id: string\n user_id?: string\n}\n```\n\n### `BaseEntityAcl`\n\nAccess control list (ACL) for an entity. Defines sharing access to external orgs or users.\n\n```ts\ntype BaseEntityAcl = {\n view?: string[]\n edit?: string[]\n delete?: string[]\n}\n```\n\n### `BaseSystemFields`\n\n```ts\ntype BaseSystemFields = {\n _id?: string // uuid\n _org?: string\n _owners?: Array<{\n org_id: string\n user_id?: string\n }>\n _schema?: string\n _title?: string\n _tags?: string[]\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _acl?: {\n view?: string[]\n edit?: string[]\n delete?: string[]\n }\n}\n```\n\n### `BaseSystemFieldsRequired`\n\n```ts\ntype BaseSystemFieldsRequired = object\n```\n\n### `CampaignStatus`\n\n```ts\ntype CampaignStatus = "draft" | "activating" | "active" | "inactive"\n```\n\n### `ExecutionSummaryItem`\n\n```ts\ntype ExecutionSummaryItem = {\n execution_id?: string\n execution_status?: string\n}\n```\n\n### `JobStatus`\n\n```ts\ntype JobStatus = {\n status?: "queued" | "processing" | "finished" | "failed" | "cancelled" | "send_report"\n execution_summary?: Array<{\n execution_id?: string\n execution_status?: string\n }>\n}\n```\n\n### `Campaign`\n\n```ts\ntype Campaign = {\n _id?: string // uuid\n _org?: string\n _owners?: Array<{\n org_id: string\n user_id?: string\n }>\n _schema?: string\n _title?: string\n _tags?: string[]\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _acl?: {\n view?: string[]\n edit?: string[]\n delete?: string[]\n }\n name?: string\n goal?: string\n status?: "draft" | "activating" | "active" | "inactive"\n start_date?: string // date\n end_date?: string // date\n flow_id?: string\n job_id?: string\n target?: {\n $relation?: Array<{\n entity_id?: { ... }\n _tags?: { ... }\n }>\n }\n}\n```\n\n### `Target`\n\n```ts\ntype Target = {\n _id?: string // uuid\n _org?: string\n _owners?: Array<{\n org_id: string\n user_id?: string\n }>\n _schema?: string\n _title?: string\n _tags?: string[]\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _acl?: {\n view?: string[]\n edit?: string[]\n delete?: string[]\n }\n name?: string\n description?: string\n entity_schema?: string\n entity_filters?: Record<string, unknown>\n}\n```\n\n### `MatchCampaignParams`\n\n```ts\ntype MatchCampaignParams = {\n entity_refs: Array<{\n entity_id: string // uuid\n entity_schema: string\n }>\n campaign_ids: string // uuid[]\n}\n```\n\n### `MatchTargetParams`\n\n```ts\ntype MatchTargetParams = {\n entity_refs: Array<{\n entity_id: string // uuid\n entity_schema: string\n }>\n target_ids: string // uuid[]\n}\n```\n\n### `GetTargetQueriesParams`\n\n```ts\ntype GetTargetQueriesParams = {\n target_ids: string // uuid[]\n}\n```\n\n### `TargetQueryResult`\n\n```ts\ntype TargetQueryResult = {\n target_id: string // uuid\n query: string\n error?: string\n}\n```\n\n### `AutomationStatus`\n\n```ts\ntype AutomationStatus = "pending" | "in_progress" | "success" | "failed" | "cancelled"\n```\n\n### `PortalStatus`\n\n```ts\ntype PortalStatus = "sent" | "seen" | "dismissed" | "clicked"\n```\n\n### `Recipient`\n\n```ts\ntype Recipient = {\n entity_id?: string // uuid\n entity_schema?: string\n title?: string\n automation_status?: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id?: string\n portal_status?: "sent" | "seen" | "dismissed" | "clicked"\n portal_status_updated_at?: string // date-time\n portal_state?: Record<string, unknown>\n updated_at?: string // date-time\n}\n```\n\n### `BaseRecipientPayload`\n\n```ts\ntype BaseRecipientPayload = {\n entity_id: string // uuid\n entity_schema: string\n}\n```\n\n### `AutomationRecipientPayload`\n\n```ts\ntype AutomationRecipientPayload = {\n automation_status: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id: string\n}\n```\n\n### `PortalRecipientPayload`\n\n```ts\ntype PortalRecipientPayload = {\n portal_status: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n}\n```\n\n### `CreateRecipientPayload`\n\n```ts\ntype CreateRecipientPayload = {\n entity_id: string // uuid\n entity_schema: string\n automation_status: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id: string\n} | {\n entity_id: string // uuid\n entity_schema: string\n portal_status: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n} | {\n entity_id: string // uuid\n entity_schema: string\n automation_status: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id: string\n portal_status: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n}\n```\n\n### `UpdateRecipientPayload`\n\n```ts\ntype UpdateRecipientPayload = {\n automation_status?: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id?: string\n portal_status?: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n}\n```\n\n### `RetriggerAutomationsRequest`\n\n```ts\ntype RetriggerAutomationsRequest = {\n recipient_ids: string // uuid[]\n}\n```\n\n### `RetriggerAutomationsResult`\n\n```ts\ntype RetriggerAutomationsResult = {\n recipient_id: string // uuid\n result: "success" | "failure" | "not_found" | "invalid_status"\n execution_id?: string\n error?: string\n}\n```\n\n### `UpdatePortalStatusRequest`\n\n```ts\ntype UpdatePortalStatusRequest = {\n status: "sent" | "seen" | "dismissed" | "clicked"\n}\n```\n\n### `SetupCampaignRequest`\n\nDiscriminated by `type`. Each campaign variant has its own request shape;\nnew variants are added by introducing a new schema and extending the `oneOf` list.\n\n\n```ts\ntype SetupCampaignRequest = {\n type: "tariff_change"\n product_recommendation: {\n name?: string\n source_product_id?: string // uuid\n source_price_id?: string // uuid\n offers?: Array<{\n target_id?: { ... }\n items: { ... }\n }>\n }\n campaign: {\n name: string\n goal?: string\n target_ids: string // uuid[]\n }\n journey?: {\n journey_id: string // uuid\n design_id?: string // uuid\n }\n channels?: {\n portal_widget?: {\n portal_id: { ... }\n block_id: { ... }\n design_id?: { ... }\n }\n }\n}\n```\n\n### `SetupTariffChangeCampaignRequest`\n\n```ts\ntype SetupTariffChangeCampaignRequest = {\n type: "tariff_change"\n product_recommendation: {\n name?: string\n source_product_id?: string // uuid\n source_price_id?: string // uuid\n offers?: Array<{\n target_id?: { ... }\n items: { ... }\n }>\n }\n campaign: {\n name: string\n goal?: string\n target_ids: string // uuid[]\n }\n journey?: {\n journey_id: string // uuid\n design_id?: string // uuid\n }\n channels?: {\n portal_widget?: {\n portal_id: { ... }\n block_id: { ... }\n design_id?: { ... }\n }\n }\n}\n```\n\n### `SetupTariffChangeCampaignResponse`\n\n```ts\ntype SetupTariffChangeCampaignResponse = {\n type: "tariff_change"\n product_recommendation_id: string // uuid\n campaign_id: string // uuid\n journey_id?: string // uuid\n portal_widget_id?: string // uuid\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
targeting_default as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/targeting.json
|
|
4
|
+
var targeting_default = '# Targeting API\n\n- **Base URL:** `https://targeting.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/targeting](https://docs.epilot.io/api/targeting)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.targeting.changeCampaignStatus(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/targeting\'\n\nconst targetingClient = getClient()\nauthorize(targetingClient, () => \'<token>\')\nconst { data } = await targetingClient.changeCampaignStatus(...)\n```\n\n## Operations\n\n**Campaign**\n- [`changeCampaignStatus`](#changecampaignstatus)\n- [`getCampaignJobStatus`](#getcampaignjobstatus)\n- [`getCampaignPortals`](#getcampaignportals)\n- [`setupCampaign`](#setupcampaign)\n- [`matchCampaigns`](#matchcampaigns)\n\n**Campaign Delivery**\n- [`retriggerCampaignAutomations`](#retriggercampaignautomations)\n\n**Target**\n- [`matchTargets`](#matchtargets)\n- [`getTargetQueries`](#gettargetqueries)\n\n**Campaign Recipient**\n- [`createRecipient`](#createrecipient)\n- [`updateRecipient`](#updaterecipient)\n- [`updateRecipientPortalStatus`](#updaterecipientportalstatus)\n- [`getRecipients`](#getrecipients)\n\n**Schemas**\n- [`BaseError`](#baseerror)\n- [`ServerError`](#servererror)\n- [`ClientError`](#clienterror)\n- [`BaseUUID`](#baseuuid)\n- [`BaseNanoID`](#basenanoid)\n- [`BaseTags`](#basetags)\n- [`BaseRelation`](#baserelation)\n- [`BaseSystemId`](#basesystemid)\n- [`BaseEntityOwner`](#baseentityowner)\n- [`BaseEntityAcl`](#baseentityacl)\n- [`BaseSystemFields`](#basesystemfields)\n- [`BaseSystemFieldsRequired`](#basesystemfieldsrequired)\n- [`CampaignStatus`](#campaignstatus)\n- [`ExecutionSummaryItem`](#executionsummaryitem)\n- [`JobStatus`](#jobstatus)\n- [`Campaign`](#campaign)\n- [`Target`](#target)\n- [`MatchCampaignParams`](#matchcampaignparams)\n- [`MatchTargetParams`](#matchtargetparams)\n- [`GetTargetQueriesParams`](#gettargetqueriesparams)\n- [`TargetQueryResult`](#targetqueryresult)\n- [`AutomationStatus`](#automationstatus)\n- [`PortalStatus`](#portalstatus)\n- [`Recipient`](#recipient)\n- [`BaseRecipientPayload`](#baserecipientpayload)\n- [`AutomationRecipientPayload`](#automationrecipientpayload)\n- [`PortalRecipientPayload`](#portalrecipientpayload)\n- [`CreateRecipientPayload`](#createrecipientpayload)\n- [`UpdateRecipientPayload`](#updaterecipientpayload)\n- [`RetriggerAutomationsRequest`](#retriggerautomationsrequest)\n- [`RetriggerAutomationsResult`](#retriggerautomationsresult)\n- [`UpdatePortalStatusRequest`](#updateportalstatusrequest)\n- [`SetupCampaignRequest`](#setupcampaignrequest)\n- [`SetupTariffChangeCampaignRequest`](#setuptariffchangecampaignrequest)\n- [`SetupTariffChangeCampaignResponse`](#setuptariffchangecampaignresponse)\n\n### `changeCampaignStatus`\n\nChange the status of a campaign\n\n`POST /v1/campaign/{campaign_id}/status`\n\n```ts\nconst { data } = await client.changeCampaignStatus({\n campaign_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "campaign": {\n "_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_org": "string",\n "_owners": [\n {\n "org_id": "123",\n "user_id": "123"\n }\n ],\n "_schema": "string",\n "_title": "string",\n "_tags": ["string"],\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_acl": {\n "view": ["org:456"],\n "edit": ["org:456"],\n "delete": ["org:456"]\n },\n "name": "string",\n "goal": "string",\n "status": "draft",\n "start_date": "1970-01-01",\n "end_date": "1970-01-01",\n "flow_id": "string",\n "job_id": "string",\n "target": {\n "$relation": [\n {\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_tags": ["string"]\n }\n ]\n }\n }\n}\n```\n\n</details>\n\n---\n\n### `getCampaignJobStatus`\n\nGet the status of a campaign\'s automation job\n\n`GET /v1/campaign/{campaign_id}/job`\n\n```ts\nconst { data } = await client.getCampaignJobStatus({\n campaign_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "status": "queued",\n "execution_summary": [\n {\n "execution_id": "string",\n "execution_status": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getCampaignPortals`\n\nGet portals usage info for a campaign\n\n`GET /v1/campaign/{campaign_id}/portals`\n\n```ts\nconst { data } = await client.getCampaignPortals({\n campaign_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "portal": {\n "origin": "string",\n "domain": "string",\n "name": "string"\n },\n "widgets": [\n {\n "id": "string",\n "headline": {\n "en": "string",\n "de": "string"\n }\n }\n ]\n }\n]\n```\n\n</details>\n\n---\n\n### `retriggerCampaignAutomations`\n\nRetrigger automations for campaign recipients\n\n`POST /v1/campaign/{campaign_id}/automations:retrigger`\n\n```ts\nconst { data } = await client.retriggerCampaignAutomations(\n {\n campaign_id: \'example\',\n },\n {\n recipient_ids: [\'3fa85f64-5717-4562-b3fc-2c963f66afa6\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "results": [\n {\n "recipient_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "result": "success",\n "execution_id": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `setupCampaign`\n\nSet up a campaign with related entities and configurations\n\n`POST /v1/campaign:setup`\n\n```ts\nconst { data } = await client.setupCampaign(\n null,\n {\n type: \'tariff_change\',\n product_recommendation: {\n name: \'string\',\n source_product_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n source_price_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n offers: [\n {\n target_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n items: [\n {\n product_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n price_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n highlight_config: {}\n }\n ]\n }\n ]\n },\n campaign: {\n name: \'string\',\n goal: \'string\',\n target_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n journey: {\n journey_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n design_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\'\n },\n channels: {\n portal_widget: {\n portal_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n block_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n design_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\'\n }\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "tariff_change",\n "product_recommendation_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "campaign_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "journey_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "portal_widget_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84"\n}\n```\n\n</details>\n\n---\n\n### `matchCampaigns`\n\nMatch campaigns\n\n`POST /v1/campaign:match`\n\n```ts\nconst { data } = await client.matchCampaigns(\n null,\n {\n entity_refs: [\n {\n entity_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n entity_schema: \'string\'\n }\n ],\n campaign_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "hits": 0,\n "results": [\n {\n "campaign": {\n "_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_org": "string",\n "_owners": [\n {\n "org_id": "123",\n "user_id": "123"\n }\n ],\n "_schema": "string",\n "_title": "string",\n "_tags": ["string"],\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_acl": {\n "view": ["org:456"],\n "edit": ["org:456"],\n "delete": ["org:456"]\n },\n "name": "string",\n "goal": "string",\n "status": "draft",\n "start_date": "1970-01-01",\n "end_date": "1970-01-01",\n "flow_id": "string",\n "job_id": "string",\n "target": {\n "$relation": [\n {\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_tags": ["string"]\n }\n ]\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `matchTargets`\n\nMatch targets\n\n`POST /v1/target:match`\n\n```ts\nconst { data } = await client.matchTargets(\n null,\n {\n entity_refs: [\n {\n entity_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n entity_schema: \'string\'\n }\n ],\n target_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "hits": 0,\n "results": [\n {\n "target": {\n "_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "_org": "string",\n "_owners": [\n {\n "org_id": "123",\n "user_id": "123"\n }\n ],\n "_schema": "string",\n "_title": "string",\n "_tags": ["string"],\n "_created_at": "1970-01-01T00:00:00.000Z",\n "_updated_at": "1970-01-01T00:00:00.000Z",\n "_acl": {\n "view": ["org:456"],\n "edit": ["org:456"],\n "delete": ["org:456"]\n },\n "name": "string",\n "description": "string",\n "entity_schema": "string",\n "entity_filters": {}\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getTargetQueries`\n\nGet target queries\n\n`POST /v1/target/queries`\n\n```ts\nconst { data } = await client.getTargetQueries(\n null,\n {\n target_ids: [\'b8c01433-5556-4e2b-aad4-6f5348d1df84\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "target_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "query": "string",\n "error": "string"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createRecipient`\n\nCreate a recipient associated with a campaign\n\n`POST /v1/campaign/{campaign_id}/recipient`\n\n```ts\nconst { data } = await client.createRecipient(\n {\n campaign_id: \'example\',\n },\n {\n entity_id: \'b8c01433-5556-4e2b-aad4-6f5348d1df84\',\n entity_schema: \'string\',\n automation_status: \'pending\',\n automation_execution_id: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateRecipient`\n\nUpdate a recipient\n\n`PATCH /v1/campaign/{campaign_id}/recipient/{recipient_id}`\n\n```ts\nconst { data } = await client.updateRecipient(\n {\n campaign_id: \'example\',\n recipient_id: \'example\',\n },\n {\n automation_status: \'pending\',\n automation_execution_id: \'string\',\n portal_status: \'sent\',\n portal_state: {}\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateRecipientPortalStatus`\n\nUpdate portal status for a campaign recipient\n\n`PATCH /v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status`\n\n```ts\nconst { data } = await client.updateRecipientPortalStatus(\n {\n campaign_id: \'example\',\n recipient_id: \'example\',\n },\n {\n status: \'sent\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `getRecipients`\n\nGet campaign recipients\n\n`GET /v1/campaign/{campaign_id}/recipients`\n\n```ts\nconst { data } = await client.getRecipients({\n campaign_id: \'example\',\n limit: 1,\n next: \'example\',\n q: \'example\',\n automation_status: \'example\',\n portal_status: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "entity_id": "b8c01433-5556-4e2b-aad4-6f5348d1df84",\n "entity_schema": "string",\n "title": "string",\n "automation_status": "pending",\n "automation_execution_id": "string",\n "portal_status": "sent",\n "portal_status_updated_at": "1970-01-01T00:00:00.000Z",\n "portal_state": {},\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ],\n "next": "string",\n "total": 0\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `BaseError`\n\n```ts\ntype BaseError = {\n status: number\n message: string\n}\n```\n\n### `ServerError`\n\n```ts\ntype ServerError = {\n status: number\n message: string\n}\n```\n\n### `ClientError`\n\nDescribes the structure of a client error response, which can be one of several types:\n1. `MessageError`: Contains a \'message\' field for general descriptive errors.\n2. `CodeError`: Contains a \'code\' field for specific, machine-readable error codes.\n3. `StatusedError`: Contains \'error\' and \'status\' f\n\n```ts\ntype ClientError = {\n message: string\n} | {\n code: "CAMPAIGN_NOT_FOUND" | "CAMPAIGN_HAS_NO_TARGET" | "CAMPAIGN_HAS_NO_DELIVERY_METHOD" | "CAMPAIGN_HAS_JOB_IN_PROGRESS" | "CAMPAIGN_HAS_UNEXPECTED_STATUS" | "JOB_TOKEN_MISSING" | "TARGET_WITHOUT_FILTERS"\n} | {\n error: string\n status: number\n}\n```\n\n### `BaseUUID`\n\n```ts\ntype BaseUUID = string // uuid\n```\n\n### `BaseNanoID`\n\n```ts\ntype BaseNanoID = string\n```\n\n### `BaseTags`\n\n```ts\ntype BaseTags = string[]\n```\n\n### `BaseRelation`\n\n```ts\ntype BaseRelation = {\n $relation?: Array<{\n entity_id?: string // uuid\n _tags?: string[]\n }>\n}\n```\n\n### `BaseSystemId`\n\n```ts\ntype BaseSystemId = {\n _id: string // uuid\n}\n```\n\n### `BaseEntityOwner`\n\nThe user / organization owning this entity.\n\nNote: Owner implicitly has access to the entity regardless of ACLs.\n\n\n```ts\ntype BaseEntityOwner = {\n org_id: string\n user_id?: string\n}\n```\n\n### `BaseEntityAcl`\n\nAccess control list (ACL) for an entity. Defines sharing access to external orgs or users.\n\n```ts\ntype BaseEntityAcl = {\n view?: string[]\n edit?: string[]\n delete?: string[]\n}\n```\n\n### `BaseSystemFields`\n\n```ts\ntype BaseSystemFields = {\n _id?: string // uuid\n _org?: string\n _owners?: Array<{\n org_id: string\n user_id?: string\n }>\n _schema?: string\n _title?: string\n _tags?: string[]\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _acl?: {\n view?: string[]\n edit?: string[]\n delete?: string[]\n }\n}\n```\n\n### `BaseSystemFieldsRequired`\n\n```ts\ntype BaseSystemFieldsRequired = object\n```\n\n### `CampaignStatus`\n\n```ts\ntype CampaignStatus = "draft" | "activating" | "active" | "inactive"\n```\n\n### `ExecutionSummaryItem`\n\n```ts\ntype ExecutionSummaryItem = {\n execution_id?: string\n execution_status?: string\n}\n```\n\n### `JobStatus`\n\n```ts\ntype JobStatus = {\n status?: "queued" | "processing" | "finished" | "failed" | "cancelled" | "send_report"\n execution_summary?: Array<{\n execution_id?: string\n execution_status?: string\n }>\n}\n```\n\n### `Campaign`\n\n```ts\ntype Campaign = {\n _id?: string // uuid\n _org?: string\n _owners?: Array<{\n org_id: string\n user_id?: string\n }>\n _schema?: string\n _title?: string\n _tags?: string[]\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _acl?: {\n view?: string[]\n edit?: string[]\n delete?: string[]\n }\n name?: string\n goal?: string\n status?: "draft" | "activating" | "active" | "inactive"\n start_date?: string // date\n end_date?: string // date\n flow_id?: string\n job_id?: string\n target?: {\n $relation?: Array<{\n entity_id?: { ... }\n _tags?: { ... }\n }>\n }\n}\n```\n\n### `Target`\n\n```ts\ntype Target = {\n _id?: string // uuid\n _org?: string\n _owners?: Array<{\n org_id: string\n user_id?: string\n }>\n _schema?: string\n _title?: string\n _tags?: string[]\n _created_at?: string // date-time\n _updated_at?: string // date-time\n _acl?: {\n view?: string[]\n edit?: string[]\n delete?: string[]\n }\n name?: string\n description?: string\n entity_schema?: string\n entity_filters?: Record<string, unknown>\n}\n```\n\n### `MatchCampaignParams`\n\n```ts\ntype MatchCampaignParams = {\n entity_refs: Array<{\n entity_id: string // uuid\n entity_schema: string\n }>\n campaign_ids: string // uuid[]\n}\n```\n\n### `MatchTargetParams`\n\n```ts\ntype MatchTargetParams = {\n entity_refs: Array<{\n entity_id: string // uuid\n entity_schema: string\n }>\n target_ids: string // uuid[]\n}\n```\n\n### `GetTargetQueriesParams`\n\n```ts\ntype GetTargetQueriesParams = {\n target_ids: string // uuid[]\n}\n```\n\n### `TargetQueryResult`\n\n```ts\ntype TargetQueryResult = {\n target_id: string // uuid\n query: string\n error?: string\n}\n```\n\n### `AutomationStatus`\n\n```ts\ntype AutomationStatus = "pending" | "in_progress" | "success" | "failed" | "cancelled"\n```\n\n### `PortalStatus`\n\n```ts\ntype PortalStatus = "sent" | "seen" | "dismissed" | "clicked"\n```\n\n### `Recipient`\n\n```ts\ntype Recipient = {\n entity_id?: string // uuid\n entity_schema?: string\n title?: string\n automation_status?: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id?: string\n portal_status?: "sent" | "seen" | "dismissed" | "clicked"\n portal_status_updated_at?: string // date-time\n portal_state?: Record<string, unknown>\n updated_at?: string // date-time\n}\n```\n\n### `BaseRecipientPayload`\n\n```ts\ntype BaseRecipientPayload = {\n entity_id: string // uuid\n entity_schema: string\n}\n```\n\n### `AutomationRecipientPayload`\n\n```ts\ntype AutomationRecipientPayload = {\n automation_status: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id: string\n}\n```\n\n### `PortalRecipientPayload`\n\n```ts\ntype PortalRecipientPayload = {\n portal_status: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n}\n```\n\n### `CreateRecipientPayload`\n\n```ts\ntype CreateRecipientPayload = {\n entity_id: string // uuid\n entity_schema: string\n automation_status: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id: string\n} | {\n entity_id: string // uuid\n entity_schema: string\n portal_status: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n} | {\n entity_id: string // uuid\n entity_schema: string\n automation_status: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id: string\n portal_status: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n}\n```\n\n### `UpdateRecipientPayload`\n\n```ts\ntype UpdateRecipientPayload = {\n automation_status?: "pending" | "in_progress" | "success" | "failed" | "cancelled"\n automation_execution_id?: string\n portal_status?: "sent" | "seen" | "dismissed" | "clicked"\n portal_state?: Record<string, unknown>\n}\n```\n\n### `RetriggerAutomationsRequest`\n\n```ts\ntype RetriggerAutomationsRequest = {\n recipient_ids: string // uuid[]\n}\n```\n\n### `RetriggerAutomationsResult`\n\n```ts\ntype RetriggerAutomationsResult = {\n recipient_id: string // uuid\n result: "success" | "failure" | "not_found" | "invalid_status"\n execution_id?: string\n error?: string\n}\n```\n\n### `UpdatePortalStatusRequest`\n\n```ts\ntype UpdatePortalStatusRequest = {\n status: "sent" | "seen" | "dismissed" | "clicked"\n}\n```\n\n### `SetupCampaignRequest`\n\nDiscriminated by `type`. Each campaign variant has its own request shape;\nnew variants are added by introducing a new schema and extending the `oneOf` list.\n\n\n```ts\ntype SetupCampaignRequest = {\n type: "tariff_change"\n product_recommendation: {\n name?: string\n source_product_id?: string // uuid\n source_price_id?: string // uuid\n offers?: Array<{\n target_id?: { ... }\n items: { ... }\n }>\n }\n campaign: {\n name: string\n goal?: string\n target_ids: string // uuid[]\n }\n journey?: {\n journey_id: string // uuid\n design_id?: string // uuid\n }\n channels?: {\n portal_widget?: {\n portal_id: { ... }\n block_id: { ... }\n design_id?: { ... }\n }\n }\n}\n```\n\n### `SetupTariffChangeCampaignRequest`\n\n```ts\ntype SetupTariffChangeCampaignRequest = {\n type: "tariff_change"\n product_recommendation: {\n name?: string\n source_product_id?: string // uuid\n source_price_id?: string // uuid\n offers?: Array<{\n target_id?: { ... }\n items: { ... }\n }>\n }\n campaign: {\n name: string\n goal?: string\n target_ids: string // uuid[]\n }\n journey?: {\n journey_id: string // uuid\n design_id?: string // uuid\n }\n channels?: {\n portal_widget?: {\n portal_id: { ... }\n block_id: { ... }\n design_id?: { ... }\n }\n }\n}\n```\n\n### `SetupTariffChangeCampaignResponse`\n\n```ts\ntype SetupTariffChangeCampaignResponse = {\n type: "tariff_change"\n product_recommendation_id: string // uuid\n campaign_id: string // uuid\n journey_id?: string // uuid\n portal_widget_id?: string // uuid\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = targeting_default;
|
|
@@ -1544,6 +1544,52 @@ declare namespace Components {
|
|
|
1544
1544
|
*/
|
|
1545
1545
|
BaseUUID /* uuid */[];
|
|
1546
1546
|
};
|
|
1547
|
+
/**
|
|
1548
|
+
* Optional journey configuration selected in the wizard. Only sent by the
|
|
1549
|
+
* consumer once a journey has been chosen.
|
|
1550
|
+
*
|
|
1551
|
+
*/
|
|
1552
|
+
journey?: {
|
|
1553
|
+
journey_id: /**
|
|
1554
|
+
* example:
|
|
1555
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1556
|
+
*/
|
|
1557
|
+
BaseUUID /* uuid */;
|
|
1558
|
+
design_id?: /**
|
|
1559
|
+
* example:
|
|
1560
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1561
|
+
*/
|
|
1562
|
+
BaseUUID /* uuid */;
|
|
1563
|
+
};
|
|
1564
|
+
/**
|
|
1565
|
+
* Optional delivery channel configuration. The email channel is intentionally
|
|
1566
|
+
* excluded for now and is not part of this contract yet.
|
|
1567
|
+
*
|
|
1568
|
+
*/
|
|
1569
|
+
channels?: {
|
|
1570
|
+
/**
|
|
1571
|
+
* Portal widget placement for the product recommendation block. Only sent by
|
|
1572
|
+
* the consumer once both a portal and a block have been selected.
|
|
1573
|
+
*
|
|
1574
|
+
*/
|
|
1575
|
+
portal_widget?: {
|
|
1576
|
+
portal_id: /**
|
|
1577
|
+
* example:
|
|
1578
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1579
|
+
*/
|
|
1580
|
+
BaseUUID /* uuid */;
|
|
1581
|
+
block_id: /**
|
|
1582
|
+
* example:
|
|
1583
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1584
|
+
*/
|
|
1585
|
+
BaseUUID /* uuid */;
|
|
1586
|
+
design_id?: /**
|
|
1587
|
+
* example:
|
|
1588
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1589
|
+
*/
|
|
1590
|
+
BaseUUID /* uuid */;
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1547
1593
|
}
|
|
1548
1594
|
export interface SetupTariffChangeCampaignResponse {
|
|
1549
1595
|
type: "tariff_change";
|
|
@@ -1557,6 +1603,16 @@ declare namespace Components {
|
|
|
1557
1603
|
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1558
1604
|
*/
|
|
1559
1605
|
BaseUUID /* uuid */;
|
|
1606
|
+
journey_id?: /**
|
|
1607
|
+
* example:
|
|
1608
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1609
|
+
*/
|
|
1610
|
+
BaseUUID /* uuid */;
|
|
1611
|
+
portal_widget_id?: /**
|
|
1612
|
+
* example:
|
|
1613
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1614
|
+
*/
|
|
1615
|
+
BaseUUID /* uuid */;
|
|
1560
1616
|
}
|
|
1561
1617
|
export interface Target {
|
|
1562
1618
|
_id?: /**
|
|
@@ -1544,6 +1544,52 @@ declare namespace Components {
|
|
|
1544
1544
|
*/
|
|
1545
1545
|
BaseUUID /* uuid */[];
|
|
1546
1546
|
};
|
|
1547
|
+
/**
|
|
1548
|
+
* Optional journey configuration selected in the wizard. Only sent by the
|
|
1549
|
+
* consumer once a journey has been chosen.
|
|
1550
|
+
*
|
|
1551
|
+
*/
|
|
1552
|
+
journey?: {
|
|
1553
|
+
journey_id: /**
|
|
1554
|
+
* example:
|
|
1555
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1556
|
+
*/
|
|
1557
|
+
BaseUUID /* uuid */;
|
|
1558
|
+
design_id?: /**
|
|
1559
|
+
* example:
|
|
1560
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1561
|
+
*/
|
|
1562
|
+
BaseUUID /* uuid */;
|
|
1563
|
+
};
|
|
1564
|
+
/**
|
|
1565
|
+
* Optional delivery channel configuration. The email channel is intentionally
|
|
1566
|
+
* excluded for now and is not part of this contract yet.
|
|
1567
|
+
*
|
|
1568
|
+
*/
|
|
1569
|
+
channels?: {
|
|
1570
|
+
/**
|
|
1571
|
+
* Portal widget placement for the product recommendation block. Only sent by
|
|
1572
|
+
* the consumer once both a portal and a block have been selected.
|
|
1573
|
+
*
|
|
1574
|
+
*/
|
|
1575
|
+
portal_widget?: {
|
|
1576
|
+
portal_id: /**
|
|
1577
|
+
* example:
|
|
1578
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1579
|
+
*/
|
|
1580
|
+
BaseUUID /* uuid */;
|
|
1581
|
+
block_id: /**
|
|
1582
|
+
* example:
|
|
1583
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1584
|
+
*/
|
|
1585
|
+
BaseUUID /* uuid */;
|
|
1586
|
+
design_id?: /**
|
|
1587
|
+
* example:
|
|
1588
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1589
|
+
*/
|
|
1590
|
+
BaseUUID /* uuid */;
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1547
1593
|
}
|
|
1548
1594
|
export interface SetupTariffChangeCampaignResponse {
|
|
1549
1595
|
type: "tariff_change";
|
|
@@ -1557,6 +1603,16 @@ declare namespace Components {
|
|
|
1557
1603
|
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1558
1604
|
*/
|
|
1559
1605
|
BaseUUID /* uuid */;
|
|
1606
|
+
journey_id?: /**
|
|
1607
|
+
* example:
|
|
1608
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1609
|
+
*/
|
|
1610
|
+
BaseUUID /* uuid */;
|
|
1611
|
+
portal_widget_id?: /**
|
|
1612
|
+
* example:
|
|
1613
|
+
* b8c01433-5556-4e2b-aad4-6f5348d1df84
|
|
1614
|
+
*/
|
|
1615
|
+
BaseUUID /* uuid */;
|
|
1560
1616
|
}
|
|
1561
1617
|
export interface Target {
|
|
1562
1618
|
_id?: /**
|