@epilot/sdk 2.8.9 → 2.9.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/access-token-runtime.json +1 -1
- package/definitions/access-token.json +1 -155
- package/definitions/automation.json +0 -120
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +1 -571
- package/definitions/focus-pocus-runtime.json +1 -0
- package/definitions/focus-pocus.json +757 -0
- package/definitions/integration-toolkit.json +30 -5
- package/definitions/journey.json +2 -19
- package/definitions/targeting.json +4 -5
- package/definitions/user-runtime.json +1 -1
- package/definitions/user.json +0 -441
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-UY46ZN47.js → _index-5FB6F5YY.js} +0 -3
- package/dist/{_index-D5TTZP5F.cjs → _index-DB2VV4PQ.cjs} +1 -4
- package/dist/access-token-6BJDZSFE.cjs +7 -0
- package/dist/access-token-GSQZLDXR.js +7 -0
- package/dist/{access-token-runtime-2PSLN2U3.js → access-token-runtime-KCKGT4O7.js} +1 -1
- package/dist/{access-token-runtime-B6Z7JLUS.cjs → access-token-runtime-NZWZJPWV.cjs} +2 -2
- package/dist/{access-token.d-CegaQmrK.d.cts → access-token.d-CnmUTOlq.d.cts} +5 -165
- package/dist/{access-token.d-CegaQmrK.d.ts → access-token.d-CnmUTOlq.d.ts} +5 -165
- package/dist/{ai-agents.d-CC5IjXrs.d.ts → ai-agents.d-OkXfr2bz.d.cts} +2 -0
- package/dist/{ai-agents.d-CC5IjXrs.d.cts → ai-agents.d-OkXfr2bz.d.ts} +2 -0
- package/dist/apis/access-token.cjs +8 -8
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- 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.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/user.d.cts +2 -2
- package/dist/apis/user.d.ts +2 -2
- package/dist/apis/user.js +2 -2
- 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/automation-BMO7ZFTN.cjs +7 -0
- package/dist/automation-MEZTSUR3.js +7 -0
- package/dist/{automation.d-DS_YXDE8.d.cts → automation.d-Du6-uiz5.d.cts} +1 -300
- package/dist/{automation.d-DS_YXDE8.d.ts → automation.d-Du6-uiz5.d.ts} +1 -300
- package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-WU5MWPVT.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-2344IUIE.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-2-TORV8o.d.ts → blueprint-manifest.d-B8yDxagC.d.cts} +4 -926
- package/dist/{blueprint-manifest.d-2-TORV8o.d.cts → blueprint-manifest.d-B8yDxagC.d.ts} +4 -926
- package/dist/chunk-3XKBB5AE.js +14 -0
- package/dist/{chunk-UWGWRGGB.js → chunk-4YBWMDFP.js} +1 -1
- package/dist/{chunk-4GI6KGKZ.cjs → chunk-CULH5PIN.cjs} +12 -14
- package/dist/{chunk-T57MT6J5.cjs → chunk-NGHCQ2FA.cjs} +1 -1
- package/dist/{chunk-S5HBBTKM.cjs → chunk-OXJOO2YF.cjs} +1 -1
- package/dist/{chunk-VMKT7UQS.js → chunk-RZ4ABDOF.js} +12 -14
- package/dist/{chunk-OHHHS4HH.js → chunk-XSE4CFSM.js} +1 -1
- package/dist/chunk-Z5TVWG3I.cjs +14 -0
- package/dist/index.cjs +16 -24
- package/dist/index.d.cts +22 -24
- package/dist/index.d.ts +22 -24
- package/dist/index.js +6 -14
- package/dist/integration-toolkit-334NGEOE.cjs +7 -0
- package/dist/integration-toolkit-5VCY6CUN.js +7 -0
- package/dist/{integration-toolkit.d-BW9RK5G-.d.cts → integration-toolkit.d-BSA9RRdq.d.cts} +22 -4
- package/dist/{integration-toolkit.d-BW9RK5G-.d.ts → integration-toolkit.d-BSA9RRdq.d.ts} +22 -4
- package/dist/journey-4DIIPRU4.js +7 -0
- package/dist/journey-ATC3Y5AW.cjs +7 -0
- package/dist/{journey.d-B1sOeMHw.d.cts → journey.d-BenIUWaO.d.cts} +3 -16
- package/dist/{journey.d-B1sOeMHw.d.ts → journey.d-BenIUWaO.d.ts} +3 -16
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/{targeting-WC62BBZN.cjs → targeting-DAFJBPIZ.cjs} +1 -1
- package/dist/{targeting-X4Y2ODBT.js → targeting-TGPCRRI6.js} +1 -1
- package/dist/{targeting.d-0rNF7ErD.d.cts → targeting.d-DxHQbn7-.d.cts} +4 -11
- package/dist/{targeting.d-0rNF7ErD.d.ts → targeting.d-DxHQbn7-.d.ts} +4 -11
- package/dist/user-7ZN2XO7G.cjs +7 -0
- package/dist/user-ZK7BK6VY.js +7 -0
- package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
- package/dist/{user-runtime-6ICV2Y73.js → user-runtime-U4HYUWJU.js} +1 -1
- package/dist/{user.d-L-C7_K84.d.cts → user.d-D18fe97W.d.cts} +1 -421
- package/dist/{user.d-L-C7_K84.d.ts → user.d-D18fe97W.d.ts} +1 -421
- package/docs/access-token.md +3 -111
- package/docs/automation.md +37 -180
- package/docs/blueprint-manifest.md +95 -421
- package/docs/integration-toolkit.md +13 -0
- package/docs/journey.md +8 -28
- package/docs/targeting.md +3 -6
- package/docs/user.md +8 -321
- package/package.json +12 -20
- package/LICENSE +0 -21
- package/definitions/snapshot-runtime.json +0 -1
- package/definitions/snapshot.json +0 -973
- package/dist/README-NBWAQWQS.js +0 -7
- package/dist/README-XCIDDEAE.cjs +0 -7
- package/dist/access-token-GD6REL4U.js +0 -7
- package/dist/access-token-NQ5BLMOW.cjs +0 -7
- package/dist/apis/snapshot.cjs +0 -38
- package/dist/apis/snapshot.d.cts +0 -18
- package/dist/apis/snapshot.d.ts +0 -18
- package/dist/apis/snapshot.js +0 -38
- package/dist/automation-S6NFS5KU.cjs +0 -7
- package/dist/automation-W75XZG7B.js +0 -7
- package/dist/blueprint-manifest-WHYSBU66.cjs +0 -7
- package/dist/blueprint-manifest-WZVBTKUL.js +0 -7
- package/dist/chunk-54QNWEPZ.js +0 -14
- package/dist/chunk-NFIYEMMM.js +0 -14
- package/dist/chunk-OWXEZ56F.cjs +0 -14
- package/dist/chunk-YXJ4PBFQ.cjs +0 -14
- package/dist/integration-toolkit-27Z3VZBZ.cjs +0 -7
- package/dist/integration-toolkit-NRLZZFVS.js +0 -7
- package/dist/journey-LHVSSVTG.cjs +0 -7
- package/dist/journey-NXL264XW.js +0 -7
- package/dist/snapshot-6CCO4NYL.js +0 -7
- package/dist/snapshot-GWB56VPP.cjs +0 -7
- package/dist/snapshot-runtime-6DV42FVY.cjs +0 -5
- package/dist/snapshot-runtime-IW57MINC.js +0 -5
- package/dist/snapshot.d-D5z6-hzE.d.cts +0 -761
- package/dist/snapshot.d-D5z6-hzE.d.ts +0 -761
- package/dist/user-3SLAEEVD.cjs +0 -7
- package/dist/user-PRUYBXQV.js +0 -7
- package/dist/user-runtime-Y3227ETX.cjs +0 -5
- package/docs/snapshot.md +0 -656
|
@@ -52,8 +52,6 @@ const { data } = await blueprintManifestClient.getJob(...)
|
|
|
52
52
|
- [`updateBlueprintResource`](#updateblueprintresource)
|
|
53
53
|
- [`deleteBlueprintResource`](#deleteblueprintresource)
|
|
54
54
|
- [`installBlueprintV3`](#installblueprintv3)
|
|
55
|
-
- [`restoreBlueprintDeploymentV3`](#restoreblueprintdeploymentv3)
|
|
56
|
-
- [`getRestorePreview`](#getrestorepreview)
|
|
57
55
|
- [`getBlueprintLineageV3`](#getblueprintlineagev3)
|
|
58
56
|
|
|
59
57
|
**Patches**
|
|
@@ -84,15 +82,7 @@ const { data } = await blueprintManifestClient.getJob(...)
|
|
|
84
82
|
- [`updateMarketplaceListingVersion`](#updatemarketplacelistingversion)
|
|
85
83
|
- [`publishMarketplaceListingVersion`](#publishmarketplacelistingversion)
|
|
86
84
|
|
|
87
|
-
**Uniqueness Criteria**
|
|
88
|
-
- [`listUniquenessCriteria`](#listuniquenesscriteria)
|
|
89
|
-
- [`getUniquenessCriteria`](#getuniquenesscriteria)
|
|
90
|
-
- [`putUniquenessCriteria`](#putuniquenesscriteria)
|
|
91
|
-
- [`deleteUniquenessCriteria`](#deleteuniquenesscriteria)
|
|
92
|
-
|
|
93
85
|
**Schemas**
|
|
94
|
-
- [`UniquenessCriteriaResourceType`](#uniquenesscriteriaresourcetype)
|
|
95
|
-
- [`UniquenessCriteria`](#uniquenesscriteria)
|
|
96
86
|
- [`LineageEntry`](#lineageentry)
|
|
97
87
|
- [`PatchFieldDiff`](#patchfielddiff)
|
|
98
88
|
- [`PatchResourceDiff`](#patchresourcediff)
|
|
@@ -118,10 +108,7 @@ const { data } = await blueprintManifestClient.getJob(...)
|
|
|
118
108
|
- [`CommonBlueprintJobFields`](#commonblueprintjobfields)
|
|
119
109
|
- [`BlueprintExportJob`](#blueprintexportjob)
|
|
120
110
|
- [`BlueprintInstallationJob`](#blueprintinstallationjob)
|
|
121
|
-
- [`BlueprintRestoreJob`](#blueprintrestorejob)
|
|
122
111
|
- [`V3ResourceProgressEntry`](#v3resourceprogressentry)
|
|
123
|
-
- [`RestoreOutcomeItem`](#restoreoutcomeitem)
|
|
124
|
-
- [`RestoreOutcome`](#restoreoutcome)
|
|
125
112
|
- [`BlueprintJob`](#blueprintjob)
|
|
126
113
|
- [`BlueprintDependenciesSyncJob`](#blueprintdependenciessyncjob)
|
|
127
114
|
- [`BlueprintValidateJob`](#blueprintvalidatejob)
|
|
@@ -219,25 +206,83 @@ const { data } = await client.listBlueprints({
|
|
|
219
206
|
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
220
207
|
"title": "string",
|
|
221
208
|
"slug": "string",
|
|
222
|
-
"description": {
|
|
209
|
+
"description": {
|
|
210
|
+
"preinstall": "This is the content of the preinstall.md file which contains the blueprint description.\n",
|
|
211
|
+
"postinstall": "This is the content of the postinstall.md file\n"
|
|
212
|
+
},
|
|
223
213
|
"version": "string",
|
|
224
|
-
"deployments": [
|
|
214
|
+
"deployments": [
|
|
215
|
+
{
|
|
216
|
+
"source_org_id": "string",
|
|
217
|
+
"source_blueprint_id": "string",
|
|
218
|
+
"destination_org_id": "string",
|
|
219
|
+
"destination_blueprint_id": "string",
|
|
220
|
+
"job_id": "string",
|
|
221
|
+
"triggered_at": "1970-01-01T00:00:00.000Z",
|
|
222
|
+
"note": "string",
|
|
223
|
+
"status": "IN_PROGRESS"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
225
226
|
"is_verified": true,
|
|
226
|
-
"latest_verification": {
|
|
227
|
+
"latest_verification": {
|
|
228
|
+
"job_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
229
|
+
"status": "IN_PROGRESS",
|
|
230
|
+
"triggered_at": "1970-01-01T00:00:00.000Z",
|
|
231
|
+
"source_org_id": "string",
|
|
232
|
+
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
233
|
+
"destination_org_id": "string",
|
|
234
|
+
"destination_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
235
|
+
"summary": {
|
|
236
|
+
"total_resources": 0,
|
|
237
|
+
"matched": 0,
|
|
238
|
+
"mismatched": 0,
|
|
239
|
+
"missing_in_destination": 0,
|
|
240
|
+
"fetch_errors": 0
|
|
241
|
+
}
|
|
242
|
+
},
|
|
227
243
|
"ignored_resource_addresses": ["string"],
|
|
228
244
|
"installation_status": "IN_PROGRESS",
|
|
229
245
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
230
246
|
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
231
|
-
"created_by": {
|
|
232
|
-
|
|
247
|
+
"created_by": {
|
|
248
|
+
"name": "manifest@epilot.cloud",
|
|
249
|
+
"org_id": "911690",
|
|
250
|
+
"user_id": "11001045",
|
|
251
|
+
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
|
|
252
|
+
},
|
|
253
|
+
"updated_by": {
|
|
254
|
+
"name": "manifest@epilot.cloud",
|
|
255
|
+
"org_id": "911690",
|
|
256
|
+
"user_id": "11001045",
|
|
257
|
+
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
|
|
258
|
+
},
|
|
233
259
|
"installation_job_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
|
|
234
260
|
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
235
261
|
"archived": false,
|
|
236
262
|
"docs_url": "string",
|
|
237
263
|
"recommended_apps": ["string"],
|
|
238
|
-
"required_features": {
|
|
264
|
+
"required_features": {
|
|
265
|
+
"enabled": ["string"],
|
|
266
|
+
"disabled": ["string"]
|
|
267
|
+
},
|
|
239
268
|
"zip_file_name": "string",
|
|
240
|
-
"resources": [
|
|
269
|
+
"resources": [
|
|
270
|
+
{
|
|
271
|
+
"id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
272
|
+
"name": "string",
|
|
273
|
+
"type": "designbuilder",
|
|
274
|
+
"address": "string",
|
|
275
|
+
"is_root": true,
|
|
276
|
+
"is_ready": true,
|
|
277
|
+
"is_hidden": true,
|
|
278
|
+
"is_disabled": false,
|
|
279
|
+
"hard_dependencies": ["designbuilder"],
|
|
280
|
+
"parent_resource_ids": ["c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"],
|
|
281
|
+
"depends_on_addresses": ["string"],
|
|
282
|
+
"impact_on_install": ["create"],
|
|
283
|
+
"impact_on_install_reason": ["string"]
|
|
284
|
+
}
|
|
285
|
+
],
|
|
241
286
|
"source_type": "custom"
|
|
242
287
|
}
|
|
243
288
|
]
|
|
@@ -277,11 +322,7 @@ const { data } = await client.createBlueprint(
|
|
|
277
322
|
job_id: 'string',
|
|
278
323
|
triggered_at: '1970-01-01T00:00:00.000Z',
|
|
279
324
|
note: 'string',
|
|
280
|
-
status: 'IN_PROGRESS'
|
|
281
|
-
restore_details: { /* ... */ },
|
|
282
|
-
has_revertible_changes: true,
|
|
283
|
-
last_restore_job_id: 'string',
|
|
284
|
-
restore_status: 'available'
|
|
325
|
+
status: 'IN_PROGRESS'
|
|
285
326
|
}
|
|
286
327
|
],
|
|
287
328
|
is_verified: true,
|
|
@@ -371,11 +412,7 @@ const { data } = await client.createBlueprint(
|
|
|
371
412
|
"job_id": "string",
|
|
372
413
|
"triggered_at": "1970-01-01T00:00:00.000Z",
|
|
373
414
|
"note": "string",
|
|
374
|
-
"status": "IN_PROGRESS"
|
|
375
|
-
"restore_details": {},
|
|
376
|
-
"has_revertible_changes": true,
|
|
377
|
-
"last_restore_job_id": "string",
|
|
378
|
-
"restore_status": "available"
|
|
415
|
+
"status": "IN_PROGRESS"
|
|
379
416
|
}
|
|
380
417
|
],
|
|
381
418
|
"is_verified": true,
|
|
@@ -695,11 +732,7 @@ const { data } = await client.getBlueprint({
|
|
|
695
732
|
"job_id": "string",
|
|
696
733
|
"triggered_at": "1970-01-01T00:00:00.000Z",
|
|
697
734
|
"note": "string",
|
|
698
|
-
"status": "IN_PROGRESS"
|
|
699
|
-
"restore_details": {},
|
|
700
|
-
"has_revertible_changes": true,
|
|
701
|
-
"last_restore_job_id": "string",
|
|
702
|
-
"restore_status": "available"
|
|
735
|
+
"status": "IN_PROGRESS"
|
|
703
736
|
}
|
|
704
737
|
],
|
|
705
738
|
"is_verified": true,
|
|
@@ -801,11 +834,7 @@ const { data } = await client.updateBlueprint(
|
|
|
801
834
|
job_id: 'string',
|
|
802
835
|
triggered_at: '1970-01-01T00:00:00.000Z',
|
|
803
836
|
note: 'string',
|
|
804
|
-
status: 'IN_PROGRESS'
|
|
805
|
-
restore_details: { /* ... */ },
|
|
806
|
-
has_revertible_changes: true,
|
|
807
|
-
last_restore_job_id: 'string',
|
|
808
|
-
restore_status: 'available'
|
|
837
|
+
status: 'IN_PROGRESS'
|
|
809
838
|
}
|
|
810
839
|
],
|
|
811
840
|
is_verified: true,
|
|
@@ -895,11 +924,7 @@ const { data } = await client.updateBlueprint(
|
|
|
895
924
|
"job_id": "string",
|
|
896
925
|
"triggered_at": "1970-01-01T00:00:00.000Z",
|
|
897
926
|
"note": "string",
|
|
898
|
-
"status": "IN_PROGRESS"
|
|
899
|
-
"restore_details": {},
|
|
900
|
-
"has_revertible_changes": true,
|
|
901
|
-
"last_restore_job_id": "string",
|
|
902
|
-
"restore_status": "available"
|
|
927
|
+
"status": "IN_PROGRESS"
|
|
903
928
|
}
|
|
904
929
|
],
|
|
905
930
|
"is_verified": true,
|
|
@@ -1004,11 +1029,7 @@ const { data } = await client.deleteBlueprint({
|
|
|
1004
1029
|
"job_id": "string",
|
|
1005
1030
|
"triggered_at": "1970-01-01T00:00:00.000Z",
|
|
1006
1031
|
"note": "string",
|
|
1007
|
-
"status": "IN_PROGRESS"
|
|
1008
|
-
"restore_details": {},
|
|
1009
|
-
"has_revertible_changes": true,
|
|
1010
|
-
"last_restore_job_id": "string",
|
|
1011
|
-
"restore_status": "available"
|
|
1032
|
+
"status": "IN_PROGRESS"
|
|
1012
1033
|
}
|
|
1013
1034
|
],
|
|
1014
1035
|
"is_verified": true,
|
|
@@ -2025,7 +2046,6 @@ const { data } = await client.listBlueprintJobs()
|
|
|
2025
2046
|
"user_id": "11001045",
|
|
2026
2047
|
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
|
|
2027
2048
|
},
|
|
2028
|
-
"job_type": "export",
|
|
2029
2049
|
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
2030
2050
|
"status": "IN_PROGRESS",
|
|
2031
2051
|
"download_file": {
|
|
@@ -2096,7 +2116,6 @@ const { data } = await client.getBlueprintJob({
|
|
|
2096
2116
|
"user_id": "11001045",
|
|
2097
2117
|
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
|
|
2098
2118
|
},
|
|
2099
|
-
"job_type": "export",
|
|
2100
2119
|
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
2101
2120
|
"status": "IN_PROGRESS",
|
|
2102
2121
|
"download_file": {
|
|
@@ -2170,7 +2189,6 @@ const { data } = await client.continueInstallationJob(
|
|
|
2170
2189
|
"user_id": "11001045",
|
|
2171
2190
|
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
|
|
2172
2191
|
},
|
|
2173
|
-
"job_type": "install",
|
|
2174
2192
|
"source_blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
2175
2193
|
"source_blueprint_type": "custom",
|
|
2176
2194
|
"source_org_id": "string",
|
|
@@ -2253,7 +2271,6 @@ const { data } = await client.cancelBlueprintJob({
|
|
|
2253
2271
|
"user_id": "11001045",
|
|
2254
2272
|
"token_id": "api_5ZugdRXasLfWBypHi93Fk"
|
|
2255
2273
|
},
|
|
2256
|
-
"job_type": "export",
|
|
2257
2274
|
"blueprint_id": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341",
|
|
2258
2275
|
"status": "IN_PROGRESS",
|
|
2259
2276
|
"download_file": {
|
|
@@ -2860,60 +2877,6 @@ const { data } = await client.installBlueprintV3(
|
|
|
2860
2877
|
|
|
2861
2878
|
---
|
|
2862
2879
|
|
|
2863
|
-
### `restoreBlueprintDeploymentV3`
|
|
2864
|
-
|
|
2865
|
-
Restore a specific deployment by job_id
|
|
2866
|
-
|
|
2867
|
-
`POST /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}:restore`
|
|
2868
|
-
|
|
2869
|
-
```ts
|
|
2870
|
-
const { data } = await client.restoreBlueprintDeploymentV3({
|
|
2871
|
-
blueprint_id: 'example',
|
|
2872
|
-
job_id: 'example',
|
|
2873
|
-
})
|
|
2874
|
-
```
|
|
2875
|
-
|
|
2876
|
-
---
|
|
2877
|
-
|
|
2878
|
-
### `getRestorePreview`
|
|
2879
|
-
|
|
2880
|
-
Predicted outcome of reverting a deployment
|
|
2881
|
-
|
|
2882
|
-
`GET /v3/blueprint-manifest/blueprints/{blueprint_id}/deployments/{job_id}/restore-preview`
|
|
2883
|
-
|
|
2884
|
-
```ts
|
|
2885
|
-
const { data } = await client.getRestorePreview({
|
|
2886
|
-
blueprint_id: 'example',
|
|
2887
|
-
job_id: 'example',
|
|
2888
|
-
})
|
|
2889
|
-
```
|
|
2890
|
-
|
|
2891
|
-
<details>
|
|
2892
|
-
<summary>Response</summary>
|
|
2893
|
-
|
|
2894
|
-
```json
|
|
2895
|
-
{
|
|
2896
|
-
"snapshot_id": "string",
|
|
2897
|
-
"resources": [
|
|
2898
|
-
{
|
|
2899
|
-
"lineage_id": "string",
|
|
2900
|
-
"type": "string",
|
|
2901
|
-
"name": "string",
|
|
2902
|
-
"target_id": "string",
|
|
2903
|
-
"action": "restore",
|
|
2904
|
-
"reason": "modified",
|
|
2905
|
-
"last_synced_at": "1970-01-01T00:00:00.000Z",
|
|
2906
|
-
"current_updated_at": "1970-01-01T00:00:00.000Z",
|
|
2907
|
-
"error_message": "string"
|
|
2908
|
-
}
|
|
2909
|
-
]
|
|
2910
|
-
}
|
|
2911
|
-
```
|
|
2912
|
-
|
|
2913
|
-
</details>
|
|
2914
|
-
|
|
2915
|
-
---
|
|
2916
|
-
|
|
2917
2880
|
### `getBlueprintLineageV3`
|
|
2918
2881
|
|
|
2919
2882
|
Get Blueprint Lineage V3
|
|
@@ -2949,140 +2912,8 @@ const { data } = await client.getBlueprintLineageV3({
|
|
|
2949
2912
|
|
|
2950
2913
|
---
|
|
2951
2914
|
|
|
2952
|
-
### `listUniquenessCriteria`
|
|
2953
|
-
|
|
2954
|
-
List all custom uniqueness criteria configured for the caller's organization.
|
|
2955
|
-
These overrides are applied during install (V2 and V3) when matching incoming
|
|
2956
|
-
resources against existing ones in the desti
|
|
2957
|
-
|
|
2958
|
-
`GET /v1/blueprint-manifest/uniqueness-criteria`
|
|
2959
|
-
|
|
2960
|
-
```ts
|
|
2961
|
-
const { data } = await client.listUniquenessCriteria()
|
|
2962
|
-
```
|
|
2963
|
-
|
|
2964
|
-
<details>
|
|
2965
|
-
<summary>Response</summary>
|
|
2966
|
-
|
|
2967
|
-
```json
|
|
2968
|
-
{
|
|
2969
|
-
"results": [
|
|
2970
|
-
{
|
|
2971
|
-
"org_id": "string",
|
|
2972
|
-
"resource_type": "emailtemplate",
|
|
2973
|
-
"fields": ["string"],
|
|
2974
|
-
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
2975
|
-
"updated_by": "string"
|
|
2976
|
-
}
|
|
2977
|
-
]
|
|
2978
|
-
}
|
|
2979
|
-
```
|
|
2980
|
-
|
|
2981
|
-
</details>
|
|
2982
|
-
|
|
2983
|
-
---
|
|
2984
|
-
|
|
2985
|
-
### `getUniquenessCriteria`
|
|
2986
|
-
|
|
2987
|
-
Get the configured uniqueness criteria for a specific resource type, if any.
|
|
2988
|
-
|
|
2989
|
-
`GET /v1/blueprint-manifest/uniqueness-criteria/{resource_type}`
|
|
2990
|
-
|
|
2991
|
-
```ts
|
|
2992
|
-
const { data } = await client.getUniquenessCriteria({
|
|
2993
|
-
resource_type: 'example',
|
|
2994
|
-
})
|
|
2995
|
-
```
|
|
2996
|
-
|
|
2997
|
-
<details>
|
|
2998
|
-
<summary>Response</summary>
|
|
2999
|
-
|
|
3000
|
-
```json
|
|
3001
|
-
{
|
|
3002
|
-
"org_id": "string",
|
|
3003
|
-
"resource_type": "emailtemplate",
|
|
3004
|
-
"fields": ["string"],
|
|
3005
|
-
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
3006
|
-
"updated_by": "string"
|
|
3007
|
-
}
|
|
3008
|
-
```
|
|
3009
|
-
|
|
3010
|
-
</details>
|
|
3011
|
-
|
|
3012
|
-
---
|
|
3013
|
-
|
|
3014
|
-
### `putUniquenessCriteria`
|
|
3015
|
-
|
|
3016
|
-
Set or replace the uniqueness criteria for a resource type. The provided fields
|
|
3017
|
-
must be valid attributes on the resource's schema (the UI typically loads the
|
|
3018
|
-
schema to populate options). All listed fi
|
|
3019
|
-
|
|
3020
|
-
`PUT /v1/blueprint-manifest/uniqueness-criteria/{resource_type}`
|
|
3021
|
-
|
|
3022
|
-
```ts
|
|
3023
|
-
const { data } = await client.putUniquenessCriteria(
|
|
3024
|
-
{
|
|
3025
|
-
resource_type: 'example',
|
|
3026
|
-
},
|
|
3027
|
-
{
|
|
3028
|
-
fields: ['string']
|
|
3029
|
-
},
|
|
3030
|
-
)
|
|
3031
|
-
```
|
|
3032
|
-
|
|
3033
|
-
<details>
|
|
3034
|
-
<summary>Response</summary>
|
|
3035
|
-
|
|
3036
|
-
```json
|
|
3037
|
-
{
|
|
3038
|
-
"org_id": "string",
|
|
3039
|
-
"resource_type": "emailtemplate",
|
|
3040
|
-
"fields": ["string"],
|
|
3041
|
-
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
3042
|
-
"updated_by": "string"
|
|
3043
|
-
}
|
|
3044
|
-
```
|
|
3045
|
-
|
|
3046
|
-
</details>
|
|
3047
|
-
|
|
3048
|
-
---
|
|
3049
|
-
|
|
3050
|
-
### `deleteUniquenessCriteria`
|
|
3051
|
-
|
|
3052
|
-
Remove the custom criteria for a resource type, reverting to the default fields.
|
|
3053
|
-
|
|
3054
|
-
`DELETE /v1/blueprint-manifest/uniqueness-criteria/{resource_type}`
|
|
3055
|
-
|
|
3056
|
-
```ts
|
|
3057
|
-
const { data } = await client.deleteUniquenessCriteria({
|
|
3058
|
-
resource_type: 'example',
|
|
3059
|
-
})
|
|
3060
|
-
```
|
|
3061
|
-
|
|
3062
|
-
---
|
|
3063
|
-
|
|
3064
2915
|
## Schemas
|
|
3065
2916
|
|
|
3066
|
-
### `UniquenessCriteriaResourceType`
|
|
3067
|
-
|
|
3068
|
-
Resource type for which custom uniqueness criteria can be configured.
|
|
3069
|
-
|
|
3070
|
-
```ts
|
|
3071
|
-
type UniquenessCriteriaResourceType = "emailtemplate" | "product" | "price" | "tax" | "coupon" | "product_recommendation" | "file" | "document_template" | "schema" | "taxonomy" | "notification_template" | "family" | "permission" | "journey"
|
|
3072
|
-
```
|
|
3073
|
-
|
|
3074
|
-
### `UniquenessCriteria`
|
|
3075
|
-
|
|
3076
|
-
```ts
|
|
3077
|
-
type UniquenessCriteria = {
|
|
3078
|
-
org_id: string
|
|
3079
|
-
resource_type: "emailtemplate" | "product" | "price" | "tax" | "coupon" | "product_recommendation" | "file" | "document_template" | "schema" | "taxonomy" | "notification_template" | "family" | "permission" | "journey"
|
|
3080
|
-
fields: string[]
|
|
3081
|
-
updated_at: string // date-time
|
|
3082
|
-
updated_by?: string
|
|
3083
|
-
}
|
|
3084
|
-
```
|
|
3085
|
-
|
|
3086
2917
|
### `LineageEntry`
|
|
3087
2918
|
|
|
3088
2919
|
```ts
|
|
@@ -3281,22 +3112,11 @@ type CommonBlueprintFields = {
|
|
|
3281
3112
|
triggered_at?: string // date-time
|
|
3282
3113
|
note?: string
|
|
3283
3114
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3284
|
-
restore_details?: {
|
|
3285
|
-
has_revertible_changes?: { ... }
|
|
3286
|
-
resource_impact_summary?: { ... }
|
|
3287
|
-
last_restore_job_id?: { ... }
|
|
3288
|
-
last_restore_at?: { ... }
|
|
3289
|
-
last_restored_by?: { ... }
|
|
3290
|
-
status?: { ... }
|
|
3291
|
-
}
|
|
3292
|
-
has_revertible_changes?: boolean
|
|
3293
|
-
last_restore_job_id?: string
|
|
3294
|
-
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
|
|
3295
3115
|
}>
|
|
3296
3116
|
is_verified?: boolean
|
|
3297
3117
|
latest_verification?: {
|
|
3298
3118
|
job_id?: string
|
|
3299
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
3119
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
3300
3120
|
triggered_at?: string // date-time
|
|
3301
3121
|
source_org_id?: string
|
|
3302
3122
|
source_blueprint_id?: string
|
|
@@ -3463,22 +3283,11 @@ type CustomBlueprint = {
|
|
|
3463
3283
|
triggered_at?: string // date-time
|
|
3464
3284
|
note?: string
|
|
3465
3285
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3466
|
-
restore_details?: {
|
|
3467
|
-
has_revertible_changes?: { ... }
|
|
3468
|
-
resource_impact_summary?: { ... }
|
|
3469
|
-
last_restore_job_id?: { ... }
|
|
3470
|
-
last_restore_at?: { ... }
|
|
3471
|
-
last_restored_by?: { ... }
|
|
3472
|
-
status?: { ... }
|
|
3473
|
-
}
|
|
3474
|
-
has_revertible_changes?: boolean
|
|
3475
|
-
last_restore_job_id?: string
|
|
3476
|
-
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
|
|
3477
3286
|
}>
|
|
3478
3287
|
is_verified?: boolean
|
|
3479
3288
|
latest_verification?: {
|
|
3480
3289
|
job_id?: string
|
|
3481
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
3290
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
3482
3291
|
triggered_at?: string // date-time
|
|
3483
3292
|
source_org_id?: string
|
|
3484
3293
|
source_blueprint_id?: string
|
|
@@ -3558,22 +3367,11 @@ type FileBlueprint = {
|
|
|
3558
3367
|
triggered_at?: string // date-time
|
|
3559
3368
|
note?: string
|
|
3560
3369
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3561
|
-
restore_details?: {
|
|
3562
|
-
has_revertible_changes?: { ... }
|
|
3563
|
-
resource_impact_summary?: { ... }
|
|
3564
|
-
last_restore_job_id?: { ... }
|
|
3565
|
-
last_restore_at?: { ... }
|
|
3566
|
-
last_restored_by?: { ... }
|
|
3567
|
-
status?: { ... }
|
|
3568
|
-
}
|
|
3569
|
-
has_revertible_changes?: boolean
|
|
3570
|
-
last_restore_job_id?: string
|
|
3571
|
-
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
|
|
3572
3370
|
}>
|
|
3573
3371
|
is_verified?: boolean
|
|
3574
3372
|
latest_verification?: {
|
|
3575
3373
|
job_id?: string
|
|
3576
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
3374
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
3577
3375
|
triggered_at?: string // date-time
|
|
3578
3376
|
source_org_id?: string
|
|
3579
3377
|
source_blueprint_id?: string
|
|
@@ -3653,22 +3451,11 @@ type MarketplaceBlueprint = {
|
|
|
3653
3451
|
triggered_at?: string // date-time
|
|
3654
3452
|
note?: string
|
|
3655
3453
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3656
|
-
restore_details?: {
|
|
3657
|
-
has_revertible_changes?: { ... }
|
|
3658
|
-
resource_impact_summary?: { ... }
|
|
3659
|
-
last_restore_job_id?: { ... }
|
|
3660
|
-
last_restore_at?: { ... }
|
|
3661
|
-
last_restored_by?: { ... }
|
|
3662
|
-
status?: { ... }
|
|
3663
|
-
}
|
|
3664
|
-
has_revertible_changes?: boolean
|
|
3665
|
-
last_restore_job_id?: string
|
|
3666
|
-
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
|
|
3667
3454
|
}>
|
|
3668
3455
|
is_verified?: boolean
|
|
3669
3456
|
latest_verification?: {
|
|
3670
3457
|
job_id?: string
|
|
3671
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
3458
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
3672
3459
|
triggered_at?: string // date-time
|
|
3673
3460
|
source_org_id?: string
|
|
3674
3461
|
source_blueprint_id?: string
|
|
@@ -3780,22 +3567,11 @@ type DeployedBlueprint = {
|
|
|
3780
3567
|
triggered_at?: string // date-time
|
|
3781
3568
|
note?: string
|
|
3782
3569
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3783
|
-
restore_details?: {
|
|
3784
|
-
has_revertible_changes?: { ... }
|
|
3785
|
-
resource_impact_summary?: { ... }
|
|
3786
|
-
last_restore_job_id?: { ... }
|
|
3787
|
-
last_restore_at?: { ... }
|
|
3788
|
-
last_restored_by?: { ... }
|
|
3789
|
-
status?: { ... }
|
|
3790
|
-
}
|
|
3791
|
-
has_revertible_changes?: boolean
|
|
3792
|
-
last_restore_job_id?: string
|
|
3793
|
-
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
|
|
3794
3570
|
}>
|
|
3795
3571
|
is_verified?: boolean
|
|
3796
3572
|
latest_verification?: {
|
|
3797
3573
|
job_id?: string
|
|
3798
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
3574
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
3799
3575
|
triggered_at?: string // date-time
|
|
3800
3576
|
source_org_id?: string
|
|
3801
3577
|
source_blueprint_id?: string
|
|
@@ -3875,22 +3651,11 @@ type AppBlueprint = {
|
|
|
3875
3651
|
triggered_at?: string // date-time
|
|
3876
3652
|
note?: string
|
|
3877
3653
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3878
|
-
restore_details?: {
|
|
3879
|
-
has_revertible_changes?: { ... }
|
|
3880
|
-
resource_impact_summary?: { ... }
|
|
3881
|
-
last_restore_job_id?: { ... }
|
|
3882
|
-
last_restore_at?: { ... }
|
|
3883
|
-
last_restored_by?: { ... }
|
|
3884
|
-
status?: { ... }
|
|
3885
|
-
}
|
|
3886
|
-
has_revertible_changes?: boolean
|
|
3887
|
-
last_restore_job_id?: string
|
|
3888
|
-
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
|
|
3889
3654
|
}>
|
|
3890
3655
|
is_verified?: boolean
|
|
3891
3656
|
latest_verification?: {
|
|
3892
3657
|
job_id?: string
|
|
3893
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
3658
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
3894
3659
|
triggered_at?: string // date-time
|
|
3895
3660
|
source_org_id?: string
|
|
3896
3661
|
source_blueprint_id?: string
|
|
@@ -3970,22 +3735,11 @@ type Blueprint = {
|
|
|
3970
3735
|
triggered_at?: string // date-time
|
|
3971
3736
|
note?: string
|
|
3972
3737
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3973
|
-
restore_details?: {
|
|
3974
|
-
has_revertible_changes?: { ... }
|
|
3975
|
-
resource_impact_summary?: { ... }
|
|
3976
|
-
last_restore_job_id?: { ... }
|
|
3977
|
-
last_restore_at?: { ... }
|
|
3978
|
-
last_restored_by?: { ... }
|
|
3979
|
-
status?: { ... }
|
|
3980
|
-
}
|
|
3981
|
-
has_revertible_changes?: boolean
|
|
3982
|
-
last_restore_job_id?: string
|
|
3983
|
-
restore_status?: "available" | "in_progress" | "restored" | "partially_restored" | "restore_failed" | "unavailable"
|
|
3984
3738
|
}>
|
|
3985
3739
|
is_verified?: boolean
|
|
3986
3740
|
latest_verification?: {
|
|
3987
3741
|
job_id?: string
|
|
3988
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
3742
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
3989
3743
|
triggered_at?: string // date-time
|
|
3990
3744
|
source_org_id?: string
|
|
3991
3745
|
source_blueprint_id?: string
|
|
@@ -4052,6 +3806,17 @@ type Blueprint = {
|
|
|
4052
3806
|
version?: string
|
|
4053
3807
|
deployments?: Array<{
|
|
4054
3808
|
source_org_id?: string
|
|
3809
|
+
source_blueprint_id?: string
|
|
3810
|
+
destination_org_id?: string
|
|
3811
|
+
destination_blueprint_id?: string
|
|
3812
|
+
job_id?: string
|
|
3813
|
+
triggered_at?: string // date-time
|
|
3814
|
+
note?: string
|
|
3815
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
3816
|
+
}>
|
|
3817
|
+
is_verified?: boolean
|
|
3818
|
+
latest_verification?: {
|
|
3819
|
+
job_id?: string
|
|
4055
3820
|
// ...
|
|
4056
3821
|
}
|
|
4057
3822
|
```
|
|
@@ -4121,7 +3886,6 @@ type BlueprintExportJob = {
|
|
|
4121
3886
|
user_id?: string
|
|
4122
3887
|
token_id?: string
|
|
4123
3888
|
}
|
|
4124
|
-
job_type?: "export"
|
|
4125
3889
|
blueprint_id?: string
|
|
4126
3890
|
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
|
|
4127
3891
|
download_file?: {
|
|
@@ -4158,7 +3922,6 @@ type BlueprintInstallationJob = {
|
|
|
4158
3922
|
user_id?: string
|
|
4159
3923
|
token_id?: string
|
|
4160
3924
|
}
|
|
4161
|
-
job_type?: "install"
|
|
4162
3925
|
source_blueprint_id?: string
|
|
4163
3926
|
source_blueprint_type?: "custom" | "file" | "marketplace" | "deploy" | "app"
|
|
4164
3927
|
source_org_id?: string
|
|
@@ -4180,57 +3943,6 @@ type BlueprintInstallationJob = {
|
|
|
4180
3943
|
}
|
|
4181
3944
|
```
|
|
4182
3945
|
|
|
4183
|
-
### `BlueprintRestoreJob`
|
|
4184
|
-
|
|
4185
|
-
```ts
|
|
4186
|
-
type BlueprintRestoreJob = {
|
|
4187
|
-
id?: string
|
|
4188
|
-
events?: Array<{
|
|
4189
|
-
timestamp?: string // date-time
|
|
4190
|
-
message?: string
|
|
4191
|
-
errors?: Array<{
|
|
4192
|
-
error?: { ... }
|
|
4193
|
-
code?: { ... }
|
|
4194
|
-
data?: { ... }
|
|
4195
|
-
}>
|
|
4196
|
-
level?: "info" | "warning" | "error"
|
|
4197
|
-
data?: {
|
|
4198
|
-
installed_blueprint_id?: { ... }
|
|
4199
|
-
export_job_id?: { ... }
|
|
4200
|
-
resources?: { ... }
|
|
4201
|
-
}
|
|
4202
|
-
}>
|
|
4203
|
-
triggered_at?: string // date-time
|
|
4204
|
-
created_by?: {
|
|
4205
|
-
name?: unknown
|
|
4206
|
-
org_id: string
|
|
4207
|
-
user_id?: string
|
|
4208
|
-
token_id?: string
|
|
4209
|
-
}
|
|
4210
|
-
job_type?: "restore"
|
|
4211
|
-
destination_blueprint_id?: string
|
|
4212
|
-
destination_org_id?: string
|
|
4213
|
-
install_job_id?: string
|
|
4214
|
-
snapshot_id?: string
|
|
4215
|
-
sync_engine?: "v3"
|
|
4216
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
|
|
4217
|
-
restore_result?: {
|
|
4218
|
-
snapshot_id?: string
|
|
4219
|
-
resources?: Array<{
|
|
4220
|
-
lineage_id: { ... }
|
|
4221
|
-
type: { ... }
|
|
4222
|
-
name?: { ... }
|
|
4223
|
-
target_id?: { ... }
|
|
4224
|
-
action: { ... }
|
|
4225
|
-
reason?: { ... }
|
|
4226
|
-
last_synced_at?: { ... }
|
|
4227
|
-
current_updated_at?: { ... }
|
|
4228
|
-
error_message?: { ... }
|
|
4229
|
-
}>
|
|
4230
|
-
}
|
|
4231
|
-
}
|
|
4232
|
-
```
|
|
4233
|
-
|
|
4234
3946
|
### `V3ResourceProgressEntry`
|
|
4235
3947
|
|
|
4236
3948
|
```ts
|
|
@@ -4245,41 +3957,6 @@ type V3ResourceProgressEntry = {
|
|
|
4245
3957
|
}
|
|
4246
3958
|
```
|
|
4247
3959
|
|
|
4248
|
-
### `RestoreOutcomeItem`
|
|
4249
|
-
|
|
4250
|
-
```ts
|
|
4251
|
-
type RestoreOutcomeItem = {
|
|
4252
|
-
lineage_id: string
|
|
4253
|
-
type: string
|
|
4254
|
-
name?: string
|
|
4255
|
-
target_id?: string
|
|
4256
|
-
action: "restore" | "delete" | "skip" | "failed"
|
|
4257
|
-
reason?: "modified" | "co_owned" | "delete_unsupported" | "heuristic_match"
|
|
4258
|
-
last_synced_at?: string // date-time
|
|
4259
|
-
current_updated_at?: string // date-time
|
|
4260
|
-
error_message?: string
|
|
4261
|
-
}
|
|
4262
|
-
```
|
|
4263
|
-
|
|
4264
|
-
### `RestoreOutcome`
|
|
4265
|
-
|
|
4266
|
-
```ts
|
|
4267
|
-
type RestoreOutcome = {
|
|
4268
|
-
snapshot_id?: string
|
|
4269
|
-
resources?: Array<{
|
|
4270
|
-
lineage_id: string
|
|
4271
|
-
type: string
|
|
4272
|
-
name?: string
|
|
4273
|
-
target_id?: string
|
|
4274
|
-
action: "restore" | "delete" | "skip" | "failed"
|
|
4275
|
-
reason?: "modified" | "co_owned" | "delete_unsupported" | "heuristic_match"
|
|
4276
|
-
last_synced_at?: string // date-time
|
|
4277
|
-
current_updated_at?: string // date-time
|
|
4278
|
-
error_message?: string
|
|
4279
|
-
}>
|
|
4280
|
-
}
|
|
4281
|
-
```
|
|
4282
|
-
|
|
4283
3960
|
### `BlueprintJob`
|
|
4284
3961
|
|
|
4285
3962
|
```ts
|
|
@@ -4307,7 +3984,6 @@ type BlueprintJob = {
|
|
|
4307
3984
|
user_id?: string
|
|
4308
3985
|
token_id?: string
|
|
4309
3986
|
}
|
|
4310
|
-
job_type?: "export"
|
|
4311
3987
|
blueprint_id?: string
|
|
4312
3988
|
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
|
|
4313
3989
|
download_file?: {
|
|
@@ -4338,7 +4014,6 @@ type BlueprintJob = {
|
|
|
4338
4014
|
user_id?: string
|
|
4339
4015
|
token_id?: string
|
|
4340
4016
|
}
|
|
4341
|
-
job_type?: "install"
|
|
4342
4017
|
source_blueprint_id?: string
|
|
4343
4018
|
source_blueprint_type?: "custom" | "file" | "marketplace" | "deploy" | "app"
|
|
4344
4019
|
source_org_id?: string
|
|
@@ -4381,8 +4056,10 @@ type BlueprintJob = {
|
|
|
4381
4056
|
user_id?: string
|
|
4382
4057
|
token_id?: string
|
|
4383
4058
|
}
|
|
4384
|
-
|
|
4385
|
-
|
|
4059
|
+
blueprint_id?: string
|
|
4060
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
|
|
4061
|
+
} | {
|
|
4062
|
+
id?: string
|
|
4386
4063
|
// ...
|
|
4387
4064
|
}
|
|
4388
4065
|
```
|
|
@@ -4414,7 +4091,6 @@ type BlueprintDependenciesSyncJob = {
|
|
|
4414
4091
|
user_id?: string
|
|
4415
4092
|
token_id?: string
|
|
4416
4093
|
}
|
|
4417
|
-
job_type?: "dependencies_sync"
|
|
4418
4094
|
blueprint_id?: string
|
|
4419
4095
|
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCELED"
|
|
4420
4096
|
}
|
|
@@ -4447,7 +4123,6 @@ type BlueprintValidateJob = {
|
|
|
4447
4123
|
user_id?: string
|
|
4448
4124
|
token_id?: string
|
|
4449
4125
|
}
|
|
4450
|
-
job_type?: "validate"
|
|
4451
4126
|
blueprint_id?: string
|
|
4452
4127
|
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
4453
4128
|
valid?: boolean
|
|
@@ -4493,12 +4168,11 @@ type BlueprintVerificationJob = {
|
|
|
4493
4168
|
user_id?: string
|
|
4494
4169
|
token_id?: string
|
|
4495
4170
|
}
|
|
4496
|
-
job_type?: "verification"
|
|
4497
4171
|
source_org_id?: string
|
|
4498
4172
|
source_blueprint_id?: string
|
|
4499
4173
|
destination_org_id?: string
|
|
4500
4174
|
destination_blueprint_id?: string
|
|
4501
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
4175
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
4502
4176
|
summary?: {
|
|
4503
4177
|
total_resources?: number
|
|
4504
4178
|
matched?: number
|
|
@@ -4529,7 +4203,7 @@ type BlueprintVerificationJob = {
|
|
|
4529
4203
|
```ts
|
|
4530
4204
|
type LatestBlueprintVerification = {
|
|
4531
4205
|
job_id?: string
|
|
4532
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "
|
|
4206
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED"
|
|
4533
4207
|
triggered_at?: string // date-time
|
|
4534
4208
|
source_org_id?: string
|
|
4535
4209
|
source_blueprint_id?: string
|