@epilot/sdk 2.8.0-rc.0 → 2.8.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/README.md +0 -1
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +744 -20
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +317 -26
- package/definitions/design.json +51 -1
- package/definitions/event-catalog-runtime.json +1 -1
- package/definitions/event-catalog.json +168 -12
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +152 -4
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +782 -13
- package/definitions/notes-runtime.json +1 -1
- package/definitions/notes.json +123 -1
- package/definitions/pricing.json +224 -406
- package/definitions/targeting-runtime.json +1 -1
- package/definitions/targeting.json +257 -7
- package/definitions/webhooks.json +31 -0
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-YTOJUFGD.js → _index-5FB6F5YY.js} +0 -3
- package/dist/{_index-HTUXYSTD.cjs → _index-DB2VV4PQ.cjs} +1 -4
- 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 +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/event-catalog.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +2 -2
- package/dist/apis/file.cjs +8 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +2 -2
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- 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 +8 -8
- package/dist/apis/notes.d.cts +2 -2
- package/dist/apis/notes.d.ts +2 -2
- package/dist/apis/notes.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- 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-4M5V6BIT.cjs +14 -0
- package/dist/chunk-4YBWMDFP.js +14 -0
- package/dist/{chunk-KJPOUJBU.cjs → chunk-5ZXGKLB6.cjs} +1 -1
- package/dist/{chunk-PTEJYAYJ.js → chunk-774ASAAH.js} +1 -1
- package/dist/{chunk-WM74R3BD.js → chunk-7V7ECXTZ.js} +1 -1
- package/dist/chunk-FDS727SL.cjs +14 -0
- package/dist/{chunk-4FFGRWLS.cjs → chunk-I53TWOTX.cjs} +1 -1
- package/dist/chunk-LSPXLT3A.js +14 -0
- package/dist/chunk-M4FO2MI4.js +14 -0
- package/dist/chunk-MCK2QUSD.cjs +14 -0
- package/dist/{chunk-F5Z6I7TF.cjs → chunk-N3P24HUW.cjs} +20 -22
- package/dist/chunk-NGHCQ2FA.cjs +14 -0
- package/dist/{chunk-54KWFSCM.js → chunk-OOERPBL3.js} +20 -22
- package/dist/chunk-RDVFQOCQ.js +14 -0
- package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
- package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
- package/dist/customer-portal-4DXHY42V.js +7 -0
- package/dist/customer-portal-5OSGSYGF.cjs +7 -0
- package/dist/{customer-portal-runtime-IYHJ3RME.cjs → customer-portal-runtime-HA6CPWB4.cjs} +2 -2
- package/dist/{customer-portal-runtime-ZYU3WIXY.js → customer-portal-runtime-TDHV2YVY.js} +1 -1
- package/dist/{customer-portal.d-CTTCBAZI.d.cts → customer-portal.d-BRwiQehb.d.cts} +763 -31
- package/dist/{customer-portal.d-CTTCBAZI.d.ts → customer-portal.d-BRwiQehb.d.ts} +763 -31
- package/dist/data-governance-2U5UU4GM.cjs +7 -0
- package/dist/data-governance-36Y33JVG.js +7 -0
- package/dist/design-DUFBH5ZB.js +7 -0
- package/dist/design-W3D3UPGB.cjs +7 -0
- package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.cts} +41 -3
- package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.ts} +41 -3
- package/dist/event-catalog-3YOQ46ZW.js +7 -0
- package/dist/event-catalog-HLWUT7RM.cjs +7 -0
- package/dist/{event-catalog-runtime-N262TQ3Y.js → event-catalog-runtime-JUSLF3UR.js} +1 -1
- package/dist/{event-catalog-runtime-B2BPKQVG.cjs → event-catalog-runtime-RH7542GL.cjs} +2 -2
- package/dist/{event-catalog.d-mQJLSYUo.d.cts → event-catalog.d-CXbUn8T1.d.cts} +199 -36
- package/dist/{event-catalog.d-mQJLSYUo.d.ts → event-catalog.d-CXbUn8T1.d.ts} +199 -36
- package/dist/file-2MSILSPP.cjs +7 -0
- package/dist/file-JVFTT5RZ.js +7 -0
- package/dist/file-runtime-7AWKNQU6.cjs +5 -0
- package/dist/{file-runtime-BIRMXYRH.js → file-runtime-DKGFS44O.js} +1 -1
- package/dist/{file.d-DTlrbI40.d.cts → file.d-BjlMgTwj.d.cts} +218 -5
- package/dist/{file.d-DTlrbI40.d.ts → file.d-BjlMgTwj.d.ts} +218 -5
- package/dist/index.cjs +27 -35
- package/dist/index.d.cts +55 -57
- package/dist/index.d.ts +55 -57
- package/dist/index.js +16 -24
- package/dist/integration-toolkit-27Z3VZBZ.cjs +7 -0
- package/dist/integration-toolkit-NRLZZFVS.js +7 -0
- package/dist/{integration-toolkit-runtime-YHTU4X5J.cjs → integration-toolkit-runtime-FY7QVFL6.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-YR4CIMKH.js → integration-toolkit-runtime-HCJ5QLCR.js} +1 -1
- package/dist/{integration-toolkit.d-BstNqiJb.d.cts → integration-toolkit.d-BW9RK5G-.d.cts} +1672 -27
- package/dist/{integration-toolkit.d-BstNqiJb.d.ts → integration-toolkit.d-BW9RK5G-.d.ts} +1672 -27
- package/dist/notes-6JESMRLW.js +7 -0
- package/dist/notes-SLEUSNP4.cjs +7 -0
- package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
- package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
- package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
- package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
- package/dist/pricing-5Y7TZHMR.js +7 -0
- package/dist/pricing-BJUABPHU.cjs +7 -0
- package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-gPt5L7wp.d.cts} +151 -280
- package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-gPt5L7wp.d.ts} +151 -280
- package/dist/targeting-DAFJBPIZ.cjs +7 -0
- package/dist/targeting-TGPCRRI6.js +7 -0
- package/dist/{targeting-runtime-M2VSTKFT.js → targeting-runtime-D5YUPZQM.js} +1 -1
- package/dist/{targeting-runtime-6JFMP262.cjs → targeting-runtime-MLMOM7CK.cjs} +2 -2
- package/dist/{targeting.d-BNmcVsNS.d.cts → targeting.d-DxHQbn7-.d.cts} +197 -3
- package/dist/{targeting.d-BNmcVsNS.d.ts → targeting.d-DxHQbn7-.d.ts} +197 -3
- package/dist/webhooks-6CUXSTPH.cjs +7 -0
- package/dist/webhooks-DTNKNJEN.js +7 -0
- package/dist/{webhooks.d-ByePoUWs.d.cts → webhooks.d-DKZOMj1P.d.cts} +37 -0
- package/dist/{webhooks.d-ByePoUWs.d.ts → webhooks.d-DKZOMj1P.d.ts} +37 -0
- package/docs/blueprint-manifest.md +728 -68
- package/docs/customer-portal.md +465 -56
- package/docs/data-governance.md +17 -17
- package/docs/design.md +80 -3
- package/docs/event-catalog.md +126 -13
- package/docs/file.md +113 -0
- package/docs/integration-toolkit.md +488 -19
- package/docs/notes.md +47 -1
- package/docs/pricing.md +290 -219
- package/docs/targeting.md +158 -4
- package/docs/webhooks.md +11 -2
- package/package.json +1 -10
- package/dist/README-37TXN4EL.cjs +0 -7
- package/dist/README-Z2WITBOR.js +0 -7
- package/dist/apis/focus-pocus.cjs +0 -38
- package/dist/apis/focus-pocus.d.cts +0 -18
- package/dist/apis/focus-pocus.d.ts +0 -18
- package/dist/apis/focus-pocus.js +0 -38
- package/dist/blueprint-manifest-DBEY5PPI.js +0 -7
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +0 -7
- package/dist/chunk-3APTSPY4.js +0 -14
- package/dist/chunk-5WNEYQII.cjs +0 -14
- package/dist/chunk-A6FYGWQ7.cjs +0 -14
- package/dist/chunk-BTTPWE2P.js +0 -14
- package/dist/chunk-CBDKPGO5.cjs +0 -14
- package/dist/chunk-L544VG3B.cjs +0 -14
- package/dist/chunk-O2YVXGPZ.js +0 -14
- package/dist/chunk-OCMIXJWC.js +0 -14
- package/dist/chunk-OPXGJKZR.cjs +0 -14
- package/dist/chunk-P42Q6HOW.js +0 -14
- package/dist/customer-portal-DR6XFCTQ.js +0 -7
- package/dist/customer-portal-PNFBVIAH.cjs +0 -7
- package/dist/data-governance-QYFHBCNB.cjs +0 -7
- package/dist/data-governance-YS2NA6W4.js +0 -7
- package/dist/design-EWZQZ5KX.js +0 -7
- package/dist/design-MUUYXB2J.cjs +0 -7
- package/dist/event-catalog-37B6JC7G.js +0 -7
- package/dist/event-catalog-5JBHJJ2I.cjs +0 -7
- package/dist/file-P2FUUER2.js +0 -7
- package/dist/file-XTY74SIX.cjs +0 -7
- package/dist/file-runtime-24S3QPA7.cjs +0 -5
- package/dist/focus-pocus-JGXH42OF.cjs +0 -7
- package/dist/focus-pocus-XVDVUYL6.js +0 -7
- package/dist/focus-pocus-runtime-QXBBYVX7.js +0 -5
- package/dist/focus-pocus-runtime-X6GQ3WI4.cjs +0 -5
- package/dist/focus-pocus.d-BRFGe53G.d.cts +0 -489
- package/dist/focus-pocus.d-BRFGe53G.d.ts +0 -489
- package/dist/integration-toolkit-3I3IPVFN.cjs +0 -7
- package/dist/integration-toolkit-XAFQXNQY.js +0 -7
- package/dist/notes-K2IIFCX3.cjs +0 -7
- package/dist/notes-Q7JGS7O3.js +0 -7
- package/dist/notes-runtime-E3YYF74V.cjs +0 -5
- package/dist/pricing-R5ENSVPQ.cjs +0 -7
- package/dist/pricing-X27CCRI6.js +0 -7
- package/dist/targeting-74BV7F7H.cjs +0 -7
- package/dist/targeting-W5EKJYR2.js +0 -7
- package/dist/webhooks-NZHJBT64.js +0 -7
- package/dist/webhooks-SK2STDKR.cjs +0 -7
- package/docs/focus-pocus.md +0 -460
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.2",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Blueprint Manifest API",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.7.0",
|
|
6
6
|
"description": "Service to create and install Blueprint Manifest files"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
{
|
|
38
38
|
"name": "Marketplace Listing Versions",
|
|
39
39
|
"description": "Manage versions for marketplace listings"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "Patches",
|
|
43
|
+
"description": "Manage blueprint patches for mass rollouts"
|
|
40
44
|
}
|
|
41
45
|
],
|
|
42
46
|
"security": [
|
|
@@ -924,6 +928,14 @@
|
|
|
924
928
|
"destination_blueprint_id": {
|
|
925
929
|
"$ref": "#/components/schemas/BlueprintID"
|
|
926
930
|
},
|
|
931
|
+
"source_auth_token": {
|
|
932
|
+
"type": "string",
|
|
933
|
+
"description": "Auth token with access to the source org. Required for cross-org auto-verification when the caller's bearer token belongs to the destination org."
|
|
934
|
+
},
|
|
935
|
+
"destination_auth_token": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"description": "Auth token with access to the destination org. Defaults to the caller's bearer token."
|
|
938
|
+
},
|
|
927
939
|
"options": {
|
|
928
940
|
"$ref": "#/components/schemas/BlueprintInstallationJobOptions"
|
|
929
941
|
},
|
|
@@ -1224,6 +1236,365 @@
|
|
|
1224
1236
|
}
|
|
1225
1237
|
}
|
|
1226
1238
|
},
|
|
1239
|
+
"/v2/blueprint-manifest/blueprints/{blueprint_id}/patches:detect": {
|
|
1240
|
+
"post": {
|
|
1241
|
+
"operationId": "detectPatchChanges",
|
|
1242
|
+
"summary": "detectPatchChanges",
|
|
1243
|
+
"description": "Detect changes between the current state of a blueprint's resources and its tfstate baseline.\nReturns field-level diffs for resources that have been modified since the blueprint was last installed/exported.\n",
|
|
1244
|
+
"tags": [
|
|
1245
|
+
"Patches"
|
|
1246
|
+
],
|
|
1247
|
+
"parameters": [
|
|
1248
|
+
{
|
|
1249
|
+
"in": "path",
|
|
1250
|
+
"required": true,
|
|
1251
|
+
"name": "blueprint_id",
|
|
1252
|
+
"schema": {
|
|
1253
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
"requestBody": {
|
|
1258
|
+
"content": {
|
|
1259
|
+
"application/json": {
|
|
1260
|
+
"schema": {
|
|
1261
|
+
"type": "object",
|
|
1262
|
+
"properties": {
|
|
1263
|
+
"source_org_id": {
|
|
1264
|
+
"type": "string",
|
|
1265
|
+
"description": "Organization ID of the source org where changes were made"
|
|
1266
|
+
},
|
|
1267
|
+
"dest_org_id": {
|
|
1268
|
+
"type": "string",
|
|
1269
|
+
"description": "Organization ID of a destination org (used to load tfstate baseline)"
|
|
1270
|
+
},
|
|
1271
|
+
"dest_blueprint_id": {
|
|
1272
|
+
"type": "string",
|
|
1273
|
+
"description": "Blueprint ID in the destination org (used to locate tfstate in S3)"
|
|
1274
|
+
},
|
|
1275
|
+
"rollout_id": {
|
|
1276
|
+
"type": "string",
|
|
1277
|
+
"description": "ID of the mass rollout"
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
"responses": {
|
|
1285
|
+
"200": {
|
|
1286
|
+
"description": "Detected changes",
|
|
1287
|
+
"content": {
|
|
1288
|
+
"application/json": {
|
|
1289
|
+
"schema": {
|
|
1290
|
+
"$ref": "#/components/schemas/DetectChangesResult"
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
"/v2/blueprint-manifest/blueprints/{blueprint_id}/patches": {
|
|
1299
|
+
"post": {
|
|
1300
|
+
"operationId": "createPatch",
|
|
1301
|
+
"summary": "createPatch",
|
|
1302
|
+
"description": "Create a new patch for a blueprint.",
|
|
1303
|
+
"tags": [
|
|
1304
|
+
"Patches"
|
|
1305
|
+
],
|
|
1306
|
+
"parameters": [
|
|
1307
|
+
{
|
|
1308
|
+
"in": "path",
|
|
1309
|
+
"required": true,
|
|
1310
|
+
"name": "blueprint_id",
|
|
1311
|
+
"schema": {
|
|
1312
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
],
|
|
1316
|
+
"requestBody": {
|
|
1317
|
+
"required": true,
|
|
1318
|
+
"content": {
|
|
1319
|
+
"application/json": {
|
|
1320
|
+
"schema": {
|
|
1321
|
+
"type": "object",
|
|
1322
|
+
"required": [
|
|
1323
|
+
"blueprint_id",
|
|
1324
|
+
"rollout_id",
|
|
1325
|
+
"source_org_id",
|
|
1326
|
+
"name",
|
|
1327
|
+
"resources"
|
|
1328
|
+
],
|
|
1329
|
+
"properties": {
|
|
1330
|
+
"blueprint_id": {
|
|
1331
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1332
|
+
},
|
|
1333
|
+
"rollout_id": {
|
|
1334
|
+
"type": "string"
|
|
1335
|
+
},
|
|
1336
|
+
"source_org_id": {
|
|
1337
|
+
"type": "string"
|
|
1338
|
+
},
|
|
1339
|
+
"name": {
|
|
1340
|
+
"type": "string"
|
|
1341
|
+
},
|
|
1342
|
+
"description": {
|
|
1343
|
+
"type": "string"
|
|
1344
|
+
},
|
|
1345
|
+
"resources": {
|
|
1346
|
+
"type": "array",
|
|
1347
|
+
"items": {
|
|
1348
|
+
"$ref": "#/components/schemas/PatchResourceDiff"
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"changelog": {
|
|
1352
|
+
"type": "string"
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
"responses": {
|
|
1360
|
+
"201": {
|
|
1361
|
+
"description": "Patch created",
|
|
1362
|
+
"content": {
|
|
1363
|
+
"application/json": {
|
|
1364
|
+
"schema": {
|
|
1365
|
+
"$ref": "#/components/schemas/BlueprintPatch"
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"get": {
|
|
1373
|
+
"operationId": "listPatches",
|
|
1374
|
+
"summary": "listPatches",
|
|
1375
|
+
"description": "List all patches for a blueprint.",
|
|
1376
|
+
"tags": [
|
|
1377
|
+
"Patches"
|
|
1378
|
+
],
|
|
1379
|
+
"parameters": [
|
|
1380
|
+
{
|
|
1381
|
+
"in": "path",
|
|
1382
|
+
"required": true,
|
|
1383
|
+
"name": "blueprint_id",
|
|
1384
|
+
"schema": {
|
|
1385
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
],
|
|
1389
|
+
"responses": {
|
|
1390
|
+
"200": {
|
|
1391
|
+
"description": "List of patches",
|
|
1392
|
+
"content": {
|
|
1393
|
+
"application/json": {
|
|
1394
|
+
"schema": {
|
|
1395
|
+
"type": "object",
|
|
1396
|
+
"properties": {
|
|
1397
|
+
"total": {
|
|
1398
|
+
"type": "integer"
|
|
1399
|
+
},
|
|
1400
|
+
"results": {
|
|
1401
|
+
"type": "array",
|
|
1402
|
+
"items": {
|
|
1403
|
+
"$ref": "#/components/schemas/BlueprintPatch"
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
"/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}": {
|
|
1415
|
+
"get": {
|
|
1416
|
+
"operationId": "getPatch",
|
|
1417
|
+
"summary": "getPatch",
|
|
1418
|
+
"description": "Get a patch by ID, including per-org execution results.",
|
|
1419
|
+
"tags": [
|
|
1420
|
+
"Patches"
|
|
1421
|
+
],
|
|
1422
|
+
"parameters": [
|
|
1423
|
+
{
|
|
1424
|
+
"in": "path",
|
|
1425
|
+
"required": true,
|
|
1426
|
+
"name": "blueprint_id",
|
|
1427
|
+
"schema": {
|
|
1428
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"in": "path",
|
|
1433
|
+
"required": true,
|
|
1434
|
+
"name": "patch_id",
|
|
1435
|
+
"schema": {
|
|
1436
|
+
"type": "string"
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
],
|
|
1440
|
+
"responses": {
|
|
1441
|
+
"200": {
|
|
1442
|
+
"description": "Patch details",
|
|
1443
|
+
"content": {
|
|
1444
|
+
"application/json": {
|
|
1445
|
+
"schema": {
|
|
1446
|
+
"$ref": "#/components/schemas/BlueprintPatchWithResults"
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
"404": {
|
|
1452
|
+
"description": "Patch not found"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
"/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}:apply": {
|
|
1458
|
+
"post": {
|
|
1459
|
+
"operationId": "applyPatch",
|
|
1460
|
+
"summary": "applyPatch",
|
|
1461
|
+
"description": "Apply a patch to a single destination org.",
|
|
1462
|
+
"tags": [
|
|
1463
|
+
"Patches"
|
|
1464
|
+
],
|
|
1465
|
+
"parameters": [
|
|
1466
|
+
{
|
|
1467
|
+
"in": "path",
|
|
1468
|
+
"required": true,
|
|
1469
|
+
"name": "blueprint_id",
|
|
1470
|
+
"schema": {
|
|
1471
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"in": "path",
|
|
1476
|
+
"required": true,
|
|
1477
|
+
"name": "patch_id",
|
|
1478
|
+
"schema": {
|
|
1479
|
+
"type": "string"
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
],
|
|
1483
|
+
"requestBody": {
|
|
1484
|
+
"required": true,
|
|
1485
|
+
"content": {
|
|
1486
|
+
"application/json": {
|
|
1487
|
+
"schema": {
|
|
1488
|
+
"type": "object",
|
|
1489
|
+
"required": [
|
|
1490
|
+
"org_id",
|
|
1491
|
+
"org_name",
|
|
1492
|
+
"dest_blueprint_id"
|
|
1493
|
+
],
|
|
1494
|
+
"properties": {
|
|
1495
|
+
"org_id": {
|
|
1496
|
+
"type": "string"
|
|
1497
|
+
},
|
|
1498
|
+
"org_name": {
|
|
1499
|
+
"type": "string"
|
|
1500
|
+
},
|
|
1501
|
+
"dest_blueprint_id": {
|
|
1502
|
+
"type": "string"
|
|
1503
|
+
},
|
|
1504
|
+
"dest_org_id": {
|
|
1505
|
+
"type": "string"
|
|
1506
|
+
},
|
|
1507
|
+
"destination_auth_token": {
|
|
1508
|
+
"type": "string",
|
|
1509
|
+
"description": "Auth token with access to the destination org (e.g. pipeline token)"
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
"responses": {
|
|
1517
|
+
"200": {
|
|
1518
|
+
"description": "Patch execution result",
|
|
1519
|
+
"content": {
|
|
1520
|
+
"application/json": {
|
|
1521
|
+
"schema": {
|
|
1522
|
+
"$ref": "#/components/schemas/OrgPatchExecution"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}/orgs/{org_id}:retry": {
|
|
1531
|
+
"post": {
|
|
1532
|
+
"operationId": "retryPatchOrg",
|
|
1533
|
+
"summary": "retryPatchOrg",
|
|
1534
|
+
"description": "Retry a failed patch execution for a specific org.",
|
|
1535
|
+
"tags": [
|
|
1536
|
+
"Patches"
|
|
1537
|
+
],
|
|
1538
|
+
"parameters": [
|
|
1539
|
+
{
|
|
1540
|
+
"in": "path",
|
|
1541
|
+
"required": true,
|
|
1542
|
+
"name": "blueprint_id",
|
|
1543
|
+
"schema": {
|
|
1544
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"in": "path",
|
|
1549
|
+
"required": true,
|
|
1550
|
+
"name": "patch_id",
|
|
1551
|
+
"schema": {
|
|
1552
|
+
"type": "string"
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"in": "path",
|
|
1557
|
+
"required": true,
|
|
1558
|
+
"name": "org_id",
|
|
1559
|
+
"schema": {
|
|
1560
|
+
"type": "string"
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
],
|
|
1564
|
+
"requestBody": {
|
|
1565
|
+
"content": {
|
|
1566
|
+
"application/json": {
|
|
1567
|
+
"schema": {
|
|
1568
|
+
"type": "object",
|
|
1569
|
+
"properties": {
|
|
1570
|
+
"org_name": {
|
|
1571
|
+
"type": "string"
|
|
1572
|
+
},
|
|
1573
|
+
"dest_blueprint_id": {
|
|
1574
|
+
"type": "string"
|
|
1575
|
+
},
|
|
1576
|
+
"destination_auth_token": {
|
|
1577
|
+
"type": "string"
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
"responses": {
|
|
1585
|
+
"200": {
|
|
1586
|
+
"description": "Retry execution result",
|
|
1587
|
+
"content": {
|
|
1588
|
+
"application/json": {
|
|
1589
|
+
"schema": {
|
|
1590
|
+
"$ref": "#/components/schemas/OrgPatchExecution"
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1227
1598
|
"/v2/blueprint-manifest/blueprints/{blueprint_id}:export": {
|
|
1228
1599
|
"post": {
|
|
1229
1600
|
"operationId": "exportBlueprint",
|
|
@@ -1434,33 +1805,65 @@
|
|
|
1434
1805
|
"content": {
|
|
1435
1806
|
"application/json": {
|
|
1436
1807
|
"schema": {
|
|
1437
|
-
"type": "object",
|
|
1438
|
-
"required": [
|
|
1439
|
-
"text"
|
|
1440
|
-
],
|
|
1441
|
-
"properties": {
|
|
1442
|
-
"text": {
|
|
1443
|
-
"type": "string",
|
|
1444
|
-
"description": "Plain text to format as markdown"
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1808
|
+
"type": "object",
|
|
1809
|
+
"required": [
|
|
1810
|
+
"text"
|
|
1811
|
+
],
|
|
1812
|
+
"properties": {
|
|
1813
|
+
"text": {
|
|
1814
|
+
"type": "string",
|
|
1815
|
+
"description": "Plain text to format as markdown"
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
},
|
|
1822
|
+
"responses": {
|
|
1823
|
+
"200": {
|
|
1824
|
+
"description": "Successfully formatted description",
|
|
1825
|
+
"content": {
|
|
1826
|
+
"application/json": {
|
|
1827
|
+
"schema": {
|
|
1828
|
+
"type": "object",
|
|
1829
|
+
"properties": {
|
|
1830
|
+
"markdown": {
|
|
1831
|
+
"type": "string",
|
|
1832
|
+
"description": "AI-formatted markdown content"
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
"/v2/blueprint-manifest/blueprints:suggest-resources": {
|
|
1843
|
+
"post": {
|
|
1844
|
+
"operationId": "suggestBlueprintResources",
|
|
1845
|
+
"summary": "suggestBlueprintResources",
|
|
1846
|
+
"description": "Suggest resources to add to a blueprint based on a natural-language prompt.\n\nWalks anchor resource types in priority order (journey > workflow_definition >\nautomation_flow > schema > entity-backed types) and returns matches per\nanchor using each upstream API's text search. Suggestions are marked\n`is_root: true` so callers can pass `add_dependencies=true` to\nbulkAddBlueprintResources and have transitive dependencies resolved\nserver-side — which means a single matched journey can stand in for its\nfull product/schema/template bundle.\n\nNo side effects on the blueprint — the caller persists the chosen resources\nvia the existing create/bulk-add endpoints.\n",
|
|
1847
|
+
"tags": [
|
|
1848
|
+
"Blueprints"
|
|
1849
|
+
],
|
|
1850
|
+
"requestBody": {
|
|
1851
|
+
"required": true,
|
|
1852
|
+
"content": {
|
|
1853
|
+
"application/json": {
|
|
1854
|
+
"schema": {
|
|
1855
|
+
"$ref": "#/components/schemas/SuggestBlueprintResourcesRequest"
|
|
1447
1856
|
}
|
|
1448
1857
|
}
|
|
1449
1858
|
}
|
|
1450
1859
|
},
|
|
1451
1860
|
"responses": {
|
|
1452
1861
|
"200": {
|
|
1453
|
-
"description": "
|
|
1862
|
+
"description": "Suggested resources",
|
|
1454
1863
|
"content": {
|
|
1455
1864
|
"application/json": {
|
|
1456
1865
|
"schema": {
|
|
1457
|
-
"
|
|
1458
|
-
"properties": {
|
|
1459
|
-
"markdown": {
|
|
1460
|
-
"type": "string",
|
|
1461
|
-
"description": "AI-formatted markdown content"
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1866
|
+
"$ref": "#/components/schemas/SuggestBlueprintResourcesResponse"
|
|
1464
1867
|
}
|
|
1465
1868
|
}
|
|
1466
1869
|
}
|
|
@@ -2468,6 +2871,21 @@
|
|
|
2468
2871
|
"application/json": {
|
|
2469
2872
|
"schema": {
|
|
2470
2873
|
"type": "object",
|
|
2874
|
+
"oneOf": [
|
|
2875
|
+
{
|
|
2876
|
+
"required": [
|
|
2877
|
+
"source_org_id",
|
|
2878
|
+
"source_blueprint_id",
|
|
2879
|
+
"destination_org_id"
|
|
2880
|
+
]
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"required": [
|
|
2884
|
+
"source_blueprint_file",
|
|
2885
|
+
"destination_org_id"
|
|
2886
|
+
]
|
|
2887
|
+
}
|
|
2888
|
+
],
|
|
2471
2889
|
"properties": {
|
|
2472
2890
|
"source_org_id": {
|
|
2473
2891
|
"type": "string"
|
|
@@ -2527,6 +2945,21 @@
|
|
|
2527
2945
|
}
|
|
2528
2946
|
}
|
|
2529
2947
|
}
|
|
2948
|
+
},
|
|
2949
|
+
"400": {
|
|
2950
|
+
"description": "Missing required source or destination fields",
|
|
2951
|
+
"content": {
|
|
2952
|
+
"application/json": {
|
|
2953
|
+
"schema": {
|
|
2954
|
+
"type": "object",
|
|
2955
|
+
"properties": {
|
|
2956
|
+
"message": {
|
|
2957
|
+
"type": "string"
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2530
2963
|
}
|
|
2531
2964
|
}
|
|
2532
2965
|
}
|
|
@@ -2610,6 +3043,177 @@
|
|
|
2610
3043
|
}
|
|
2611
3044
|
}
|
|
2612
3045
|
},
|
|
3046
|
+
"PatchFieldDiff": {
|
|
3047
|
+
"type": "object",
|
|
3048
|
+
"properties": {
|
|
3049
|
+
"path": {
|
|
3050
|
+
"type": "string"
|
|
3051
|
+
},
|
|
3052
|
+
"op": {
|
|
3053
|
+
"type": "string",
|
|
3054
|
+
"enum": [
|
|
3055
|
+
"changed",
|
|
3056
|
+
"added",
|
|
3057
|
+
"removed"
|
|
3058
|
+
]
|
|
3059
|
+
},
|
|
3060
|
+
"baseline_value": {},
|
|
3061
|
+
"current_value": {}
|
|
3062
|
+
}
|
|
3063
|
+
},
|
|
3064
|
+
"PatchResourceDiff": {
|
|
3065
|
+
"type": "object",
|
|
3066
|
+
"properties": {
|
|
3067
|
+
"type": {
|
|
3068
|
+
"type": "string"
|
|
3069
|
+
},
|
|
3070
|
+
"source_id": {
|
|
3071
|
+
"type": "string"
|
|
3072
|
+
},
|
|
3073
|
+
"address": {
|
|
3074
|
+
"type": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"name": {
|
|
3077
|
+
"type": "string"
|
|
3078
|
+
},
|
|
3079
|
+
"changes": {
|
|
3080
|
+
"type": "array",
|
|
3081
|
+
"items": {
|
|
3082
|
+
"$ref": "#/components/schemas/PatchFieldDiff"
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
},
|
|
3087
|
+
"DetectChangesResult": {
|
|
3088
|
+
"type": "object",
|
|
3089
|
+
"properties": {
|
|
3090
|
+
"resources": {
|
|
3091
|
+
"type": "array",
|
|
3092
|
+
"items": {
|
|
3093
|
+
"$ref": "#/components/schemas/PatchResourceDiff"
|
|
3094
|
+
}
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
|
+
"BlueprintPatch": {
|
|
3099
|
+
"type": "object",
|
|
3100
|
+
"properties": {
|
|
3101
|
+
"patch_id": {
|
|
3102
|
+
"type": "string"
|
|
3103
|
+
},
|
|
3104
|
+
"version": {
|
|
3105
|
+
"type": "integer"
|
|
3106
|
+
},
|
|
3107
|
+
"blueprint_id": {
|
|
3108
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
3109
|
+
},
|
|
3110
|
+
"rollout_id": {
|
|
3111
|
+
"type": "string"
|
|
3112
|
+
},
|
|
3113
|
+
"source_org_id": {
|
|
3114
|
+
"type": "string"
|
|
3115
|
+
},
|
|
3116
|
+
"name": {
|
|
3117
|
+
"type": "string"
|
|
3118
|
+
},
|
|
3119
|
+
"description": {
|
|
3120
|
+
"type": "string"
|
|
3121
|
+
},
|
|
3122
|
+
"status": {
|
|
3123
|
+
"type": "string",
|
|
3124
|
+
"enum": [
|
|
3125
|
+
"draft",
|
|
3126
|
+
"ready",
|
|
3127
|
+
"applying",
|
|
3128
|
+
"applied",
|
|
3129
|
+
"partial"
|
|
3130
|
+
]
|
|
3131
|
+
},
|
|
3132
|
+
"resources": {
|
|
3133
|
+
"type": "array",
|
|
3134
|
+
"items": {
|
|
3135
|
+
"$ref": "#/components/schemas/PatchResourceDiff"
|
|
3136
|
+
}
|
|
3137
|
+
},
|
|
3138
|
+
"changelog": {
|
|
3139
|
+
"type": "string"
|
|
3140
|
+
},
|
|
3141
|
+
"created_by": {
|
|
3142
|
+
"type": "string"
|
|
3143
|
+
},
|
|
3144
|
+
"created_at": {
|
|
3145
|
+
"type": "string",
|
|
3146
|
+
"format": "date-time"
|
|
3147
|
+
},
|
|
3148
|
+
"applied_at": {
|
|
3149
|
+
"type": "string",
|
|
3150
|
+
"format": "date-time"
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
"OrgPatchExecution": {
|
|
3155
|
+
"type": "object",
|
|
3156
|
+
"properties": {
|
|
3157
|
+
"patch_id": {
|
|
3158
|
+
"type": "string"
|
|
3159
|
+
},
|
|
3160
|
+
"version": {
|
|
3161
|
+
"type": "integer"
|
|
3162
|
+
},
|
|
3163
|
+
"org_id": {
|
|
3164
|
+
"type": "string"
|
|
3165
|
+
},
|
|
3166
|
+
"org_name": {
|
|
3167
|
+
"type": "string"
|
|
3168
|
+
},
|
|
3169
|
+
"dest_blueprint_id": {
|
|
3170
|
+
"type": "string"
|
|
3171
|
+
},
|
|
3172
|
+
"status": {
|
|
3173
|
+
"type": "string",
|
|
3174
|
+
"enum": [
|
|
3175
|
+
"pending",
|
|
3176
|
+
"in_progress",
|
|
3177
|
+
"success",
|
|
3178
|
+
"failed"
|
|
3179
|
+
]
|
|
3180
|
+
},
|
|
3181
|
+
"error": {
|
|
3182
|
+
"type": "string"
|
|
3183
|
+
},
|
|
3184
|
+
"applied_at": {
|
|
3185
|
+
"type": "string",
|
|
3186
|
+
"format": "date-time"
|
|
3187
|
+
},
|
|
3188
|
+
"retries": {
|
|
3189
|
+
"type": "integer"
|
|
3190
|
+
},
|
|
3191
|
+
"changes_applied": {
|
|
3192
|
+
"type": "array",
|
|
3193
|
+
"items": {
|
|
3194
|
+
"$ref": "#/components/schemas/PatchFieldDiff"
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
}
|
|
3198
|
+
},
|
|
3199
|
+
"BlueprintPatchWithResults": {
|
|
3200
|
+
"allOf": [
|
|
3201
|
+
{
|
|
3202
|
+
"$ref": "#/components/schemas/BlueprintPatch"
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
"type": "object",
|
|
3206
|
+
"properties": {
|
|
3207
|
+
"org_results": {
|
|
3208
|
+
"type": "array",
|
|
3209
|
+
"items": {
|
|
3210
|
+
"$ref": "#/components/schemas/OrgPatchExecution"
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
]
|
|
3216
|
+
},
|
|
2613
3217
|
"BlueprintID": {
|
|
2614
3218
|
"type": "string",
|
|
2615
3219
|
"description": "ID of a blueprint",
|
|
@@ -2667,6 +3271,10 @@
|
|
|
2667
3271
|
"destination_blueprint_id": {
|
|
2668
3272
|
"type": "string"
|
|
2669
3273
|
},
|
|
3274
|
+
"job_id": {
|
|
3275
|
+
"type": "string",
|
|
3276
|
+
"description": "Blueprint installation job that created or updated this deployment record"
|
|
3277
|
+
},
|
|
2670
3278
|
"triggered_at": {
|
|
2671
3279
|
"type": "string",
|
|
2672
3280
|
"format": "date-time"
|
|
@@ -2674,6 +3282,16 @@
|
|
|
2674
3282
|
"note": {
|
|
2675
3283
|
"type": "string",
|
|
2676
3284
|
"description": "User-provided note about this synchronization"
|
|
3285
|
+
},
|
|
3286
|
+
"status": {
|
|
3287
|
+
"type": "string",
|
|
3288
|
+
"description": "Outcome of this deployment",
|
|
3289
|
+
"enum": [
|
|
3290
|
+
"IN_PROGRESS",
|
|
3291
|
+
"SUCCESS",
|
|
3292
|
+
"PARTIAL_SUCCESS",
|
|
3293
|
+
"FAILED"
|
|
3294
|
+
]
|
|
2677
3295
|
}
|
|
2678
3296
|
}
|
|
2679
3297
|
}
|
|
@@ -2775,6 +3393,55 @@
|
|
|
2775
3393
|
"title"
|
|
2776
3394
|
]
|
|
2777
3395
|
},
|
|
3396
|
+
"SuggestBlueprintResourcesRequest": {
|
|
3397
|
+
"type": "object",
|
|
3398
|
+
"required": [
|
|
3399
|
+
"prompt"
|
|
3400
|
+
],
|
|
3401
|
+
"properties": {
|
|
3402
|
+
"prompt": {
|
|
3403
|
+
"type": "string",
|
|
3404
|
+
"description": "Natural-language description of what to include.",
|
|
3405
|
+
"example": "everything for the hausanschluss use case"
|
|
3406
|
+
},
|
|
3407
|
+
"blueprint_id": {
|
|
3408
|
+
"allOf": [
|
|
3409
|
+
{
|
|
3410
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
3411
|
+
}
|
|
3412
|
+
],
|
|
3413
|
+
"description": "When provided, suggestions are scoped as additions to this existing\nblueprint — resources already in it are excluded from the response.\n"
|
|
3414
|
+
}
|
|
3415
|
+
}
|
|
3416
|
+
},
|
|
3417
|
+
"SuggestBlueprintResourcesResponse": {
|
|
3418
|
+
"type": "object",
|
|
3419
|
+
"required": [
|
|
3420
|
+
"resources"
|
|
3421
|
+
],
|
|
3422
|
+
"properties": {
|
|
3423
|
+
"resources": {
|
|
3424
|
+
"type": "array",
|
|
3425
|
+
"description": "Suggested resources to add. All marked is_root so the caller can request transitive dependency resolution.",
|
|
3426
|
+
"items": {
|
|
3427
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
3428
|
+
}
|
|
3429
|
+
},
|
|
3430
|
+
"suggested_blueprint_name": {
|
|
3431
|
+
"type": "string",
|
|
3432
|
+
"description": "Short title derived from the prompt. Useful when the caller is\ncreating a new blueprint as a result of the suggestion — saves the\nuser from naming it themselves.\n",
|
|
3433
|
+
"example": "Hausanschluss"
|
|
3434
|
+
},
|
|
3435
|
+
"explanation": {
|
|
3436
|
+
"type": "string",
|
|
3437
|
+
"description": "Short human-readable summary of what was matched and why."
|
|
3438
|
+
},
|
|
3439
|
+
"add_dependencies_recommended": {
|
|
3440
|
+
"type": "boolean",
|
|
3441
|
+
"description": "Hint to the caller: persist via bulkAddBlueprintResources with\n?add_dependencies=true so anchor resources (journeys, workflows)\npull their transitive dependencies.\n"
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
},
|
|
2778
3445
|
"BlueprintResource": {
|
|
2779
3446
|
"type": "object",
|
|
2780
3447
|
"properties": {
|
|
@@ -3273,6 +3940,21 @@
|
|
|
3273
3940
|
"type": "string",
|
|
3274
3941
|
"description": "Blueprint slug for marketplace blueprints"
|
|
3275
3942
|
},
|
|
3943
|
+
"sync_engine": {
|
|
3944
|
+
"type": "string",
|
|
3945
|
+
"enum": [
|
|
3946
|
+
"terraform",
|
|
3947
|
+
"v3"
|
|
3948
|
+
],
|
|
3949
|
+
"description": "Engine used for this install job"
|
|
3950
|
+
},
|
|
3951
|
+
"resource_progress": {
|
|
3952
|
+
"type": "array",
|
|
3953
|
+
"description": "Per-resource live status. Populated only for V3 installs.",
|
|
3954
|
+
"items": {
|
|
3955
|
+
"$ref": "#/components/schemas/V3ResourceProgressEntry"
|
|
3956
|
+
}
|
|
3957
|
+
},
|
|
3276
3958
|
"status": {
|
|
3277
3959
|
"type": "string",
|
|
3278
3960
|
"enum": [
|
|
@@ -3288,6 +3970,45 @@
|
|
|
3288
3970
|
}
|
|
3289
3971
|
]
|
|
3290
3972
|
},
|
|
3973
|
+
"V3ResourceProgressEntry": {
|
|
3974
|
+
"type": "object",
|
|
3975
|
+
"required": [
|
|
3976
|
+
"lineage_id",
|
|
3977
|
+
"type",
|
|
3978
|
+
"address",
|
|
3979
|
+
"status"
|
|
3980
|
+
],
|
|
3981
|
+
"properties": {
|
|
3982
|
+
"lineage_id": {
|
|
3983
|
+
"type": "string"
|
|
3984
|
+
},
|
|
3985
|
+
"type": {
|
|
3986
|
+
"type": "string"
|
|
3987
|
+
},
|
|
3988
|
+
"address": {
|
|
3989
|
+
"type": "string"
|
|
3990
|
+
},
|
|
3991
|
+
"name": {
|
|
3992
|
+
"type": "string"
|
|
3993
|
+
},
|
|
3994
|
+
"status": {
|
|
3995
|
+
"type": "string",
|
|
3996
|
+
"enum": [
|
|
3997
|
+
"pending",
|
|
3998
|
+
"in_progress",
|
|
3999
|
+
"done",
|
|
4000
|
+
"failed",
|
|
4001
|
+
"skipped"
|
|
4002
|
+
]
|
|
4003
|
+
},
|
|
4004
|
+
"target_id": {
|
|
4005
|
+
"type": "string"
|
|
4006
|
+
},
|
|
4007
|
+
"error_message": {
|
|
4008
|
+
"type": "string"
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
},
|
|
3291
4012
|
"BlueprintJob": {
|
|
3292
4013
|
"oneOf": [
|
|
3293
4014
|
{
|
|
@@ -3689,7 +4410,10 @@
|
|
|
3689
4410
|
"flow_template",
|
|
3690
4411
|
"taxonomy",
|
|
3691
4412
|
"notification_template",
|
|
3692
|
-
"environment_variable"
|
|
4413
|
+
"environment_variable",
|
|
4414
|
+
"datasource",
|
|
4415
|
+
"family",
|
|
4416
|
+
"permission"
|
|
3693
4417
|
]
|
|
3694
4418
|
},
|
|
3695
4419
|
"PlanChanges": {
|