@epilot/cli 0.1.12 → 0.1.16
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 +5 -1
- package/definitions/blueprint-manifest.json +239 -12
- package/definitions/configuration-hub.json +399 -0
- package/definitions/customer-portal.json +373 -4
- package/definitions/design.json +257 -4
- package/definitions/environments.json +183 -7
- package/definitions/query.json +3178 -0
- package/definitions/target.json +609 -0
- package/definitions/user.json +52 -0
- package/dist/bin/epilot.js +8 -6
- package/dist/{chunk-F6KWKTQJ.js → chunk-XQLUS2BD.js} +52 -4
- package/dist/{completion-QP4IYMVI.js → completion-KA3HJ6PR.js} +1 -1
- package/dist/configuration-hub-Y7W22GBW.js +54 -0
- package/dist/query-IYW42QLU.js +54 -0
- package/dist/{upgrade-SYSSIAQC.js → upgrade-Z7XJXIDK.js} +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ npm install -g @epilot/cli
|
|
|
29
29
|
|
|
30
30
|
<!-- usage-help -->
|
|
31
31
|
```
|
|
32
|
-
epilot v0.1.
|
|
32
|
+
epilot v0.1.16 — CLI for epilot APIs
|
|
33
33
|
|
|
34
34
|
USAGE
|
|
35
35
|
epilot <api> <operationId> [params...] [flags]
|
|
@@ -70,6 +70,7 @@ APIs
|
|
|
70
70
|
automation Automation API
|
|
71
71
|
billing Billing API
|
|
72
72
|
blueprint-manifest Blueprint Manifest API
|
|
73
|
+
configuration-hub Configuration Hub API
|
|
73
74
|
consent Consent API
|
|
74
75
|
customer-portal Portal API
|
|
75
76
|
dashboard Dashboard API
|
|
@@ -98,6 +99,7 @@ APIs
|
|
|
98
99
|
pricing Pricing API
|
|
99
100
|
pricing-tier Pricing Tier API
|
|
100
101
|
purpose Purpose API
|
|
102
|
+
query Query API
|
|
101
103
|
sandbox Sandbox API
|
|
102
104
|
sharing Sharing API
|
|
103
105
|
submission Submission API
|
|
@@ -323,6 +325,7 @@ Full documentation with sample calls and responses for all APIs:
|
|
|
323
325
|
| Automation API | `epilot automation` | [docs](./docs/automation.md) |
|
|
324
326
|
| Billing API | `epilot billing` | [docs](./docs/billing.md) |
|
|
325
327
|
| Blueprint Manifest API | `epilot blueprint-manifest` | [docs](./docs/blueprint-manifest.md) |
|
|
328
|
+
| Configuration Hub API | `epilot configuration-hub` | [docs](./docs/configuration-hub.md) |
|
|
326
329
|
| Consent API | `epilot consent` | [docs](./docs/consent.md) |
|
|
327
330
|
| Portal API | `epilot customer-portal` | [docs](./docs/customer-portal.md) |
|
|
328
331
|
| Dashboard API | `epilot dashboard` | [docs](./docs/dashboard.md) |
|
|
@@ -351,6 +354,7 @@ Full documentation with sample calls and responses for all APIs:
|
|
|
351
354
|
| Pricing API | `epilot pricing` | [docs](./docs/pricing.md) |
|
|
352
355
|
| Pricing Tier API | `epilot pricing-tier` | [docs](./docs/pricing-tier.md) |
|
|
353
356
|
| Purpose API | `epilot purpose` | [docs](./docs/purpose.md) |
|
|
357
|
+
| Query API | `epilot query` | [docs](./docs/query.md) |
|
|
354
358
|
| Sandbox API | `epilot sandbox` | [docs](./docs/sandbox.md) |
|
|
355
359
|
| Sharing API | `epilot sharing` | [docs](./docs/sharing.md) |
|
|
356
360
|
| Submission API | `epilot submission` | [docs](./docs/submission.md) |
|
|
@@ -1184,6 +1184,10 @@
|
|
|
1184
1184
|
"source_auth_token": {
|
|
1185
1185
|
"type": "string",
|
|
1186
1186
|
"description": "Auth token with access to the source org (e.g. pipeline token). If not provided, the caller's bearer token is used for both orgs."
|
|
1187
|
+
},
|
|
1188
|
+
"destination_auth_token": {
|
|
1189
|
+
"type": "string",
|
|
1190
|
+
"description": "Auth token with access to the destination org. Required for cross-org verification when the caller token only has access to the source org. If not provided, the caller's bearer token is used for both orgs."
|
|
1187
1191
|
}
|
|
1188
1192
|
}
|
|
1189
1193
|
}
|
|
@@ -2078,6 +2082,41 @@
|
|
|
2078
2082
|
}
|
|
2079
2083
|
}
|
|
2080
2084
|
},
|
|
2085
|
+
"/v1/marketplace-listings": {
|
|
2086
|
+
"get": {
|
|
2087
|
+
"operationId": "listMarketplaceListings",
|
|
2088
|
+
"summary": "listMarketplaceListings",
|
|
2089
|
+
"description": "List all marketplace listings for the authenticated organization",
|
|
2090
|
+
"tags": [
|
|
2091
|
+
"Marketplace Listings"
|
|
2092
|
+
],
|
|
2093
|
+
"security": [
|
|
2094
|
+
{
|
|
2095
|
+
"EpilotAuth": []
|
|
2096
|
+
}
|
|
2097
|
+
],
|
|
2098
|
+
"responses": {
|
|
2099
|
+
"200": {
|
|
2100
|
+
"description": "List of marketplace listings",
|
|
2101
|
+
"content": {
|
|
2102
|
+
"application/json": {
|
|
2103
|
+
"schema": {
|
|
2104
|
+
"type": "object",
|
|
2105
|
+
"properties": {
|
|
2106
|
+
"listings": {
|
|
2107
|
+
"type": "array",
|
|
2108
|
+
"items": {
|
|
2109
|
+
"$ref": "#/components/schemas/MarketplaceListing"
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2081
2120
|
"/v1/marketplace-listings/{listing_id}": {
|
|
2082
2121
|
"get": {
|
|
2083
2122
|
"operationId": "getMarketplaceListingById",
|
|
@@ -2414,10 +2453,163 @@
|
|
|
2414
2453
|
}
|
|
2415
2454
|
}
|
|
2416
2455
|
}
|
|
2456
|
+
},
|
|
2457
|
+
"/v3/blueprint-manifest/blueprint:install": {
|
|
2458
|
+
"post": {
|
|
2459
|
+
"operationId": "installBlueprintV3",
|
|
2460
|
+
"summary": "Install Blueprint V3",
|
|
2461
|
+
"description": "Install a blueprint using the V3 engine (direct API calls, no Terraform).\nCreates resources in topological order with global ID replacement.\nSupports checkpoint-based resume on failure.\n",
|
|
2462
|
+
"tags": [
|
|
2463
|
+
"Blueprints"
|
|
2464
|
+
],
|
|
2465
|
+
"requestBody": {
|
|
2466
|
+
"required": true,
|
|
2467
|
+
"content": {
|
|
2468
|
+
"application/json": {
|
|
2469
|
+
"schema": {
|
|
2470
|
+
"type": "object",
|
|
2471
|
+
"properties": {
|
|
2472
|
+
"source_org_id": {
|
|
2473
|
+
"type": "string"
|
|
2474
|
+
},
|
|
2475
|
+
"source_blueprint_id": {
|
|
2476
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
2477
|
+
},
|
|
2478
|
+
"source_blueprint_file": {
|
|
2479
|
+
"type": "string",
|
|
2480
|
+
"description": "S3 key to the blueprint zip file"
|
|
2481
|
+
},
|
|
2482
|
+
"destination_org_id": {
|
|
2483
|
+
"type": "string"
|
|
2484
|
+
},
|
|
2485
|
+
"destination_blueprint_id": {
|
|
2486
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
2487
|
+
},
|
|
2488
|
+
"destination_auth_token": {
|
|
2489
|
+
"type": "string",
|
|
2490
|
+
"description": "Auth token for the destination org. Required for cross-org installs where the caller's token belongs to the source org. Defaults to the caller's bearer token."
|
|
2491
|
+
},
|
|
2492
|
+
"options": {
|
|
2493
|
+
"$ref": "#/components/schemas/BlueprintInstallationJobOptions"
|
|
2494
|
+
},
|
|
2495
|
+
"slug": {
|
|
2496
|
+
"type": "string",
|
|
2497
|
+
"description": "Slug for marketplace blueprint consistency"
|
|
2498
|
+
}
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
"responses": {
|
|
2505
|
+
"202": {
|
|
2506
|
+
"description": "V3 install job started",
|
|
2507
|
+
"headers": {
|
|
2508
|
+
"Location": {
|
|
2509
|
+
"description": "URL to poll the job",
|
|
2510
|
+
"schema": {
|
|
2511
|
+
"type": "string"
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
},
|
|
2515
|
+
"content": {
|
|
2516
|
+
"application/json": {
|
|
2517
|
+
"schema": {
|
|
2518
|
+
"type": "object",
|
|
2519
|
+
"properties": {
|
|
2520
|
+
"job_id": {
|
|
2521
|
+
"$ref": "#/components/schemas/BlueprintJobID"
|
|
2522
|
+
},
|
|
2523
|
+
"destination_blueprint_id": {
|
|
2524
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
},
|
|
2534
|
+
"/v3/blueprint-manifest/blueprints/{blueprint_id}/lineage": {
|
|
2535
|
+
"get": {
|
|
2536
|
+
"operationId": "getBlueprintLineageV3",
|
|
2537
|
+
"summary": "Get Blueprint Lineage V3",
|
|
2538
|
+
"description": "Returns the lineage registry entries for a blueprint's resources in the current org.\nShows the mapping between source lineage IDs and target resource IDs.\n",
|
|
2539
|
+
"tags": [
|
|
2540
|
+
"Blueprints"
|
|
2541
|
+
],
|
|
2542
|
+
"parameters": [
|
|
2543
|
+
{
|
|
2544
|
+
"in": "path",
|
|
2545
|
+
"required": true,
|
|
2546
|
+
"name": "blueprint_id",
|
|
2547
|
+
"schema": {
|
|
2548
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
],
|
|
2552
|
+
"responses": {
|
|
2553
|
+
"200": {
|
|
2554
|
+
"description": "Lineage entries for the blueprint",
|
|
2555
|
+
"content": {
|
|
2556
|
+
"application/json": {
|
|
2557
|
+
"schema": {
|
|
2558
|
+
"type": "object",
|
|
2559
|
+
"properties": {
|
|
2560
|
+
"total": {
|
|
2561
|
+
"type": "integer"
|
|
2562
|
+
},
|
|
2563
|
+
"entries": {
|
|
2564
|
+
"type": "array",
|
|
2565
|
+
"items": {
|
|
2566
|
+
"$ref": "#/components/schemas/LineageEntry"
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2417
2576
|
}
|
|
2418
2577
|
},
|
|
2419
2578
|
"components": {
|
|
2420
2579
|
"schemas": {
|
|
2580
|
+
"LineageEntry": {
|
|
2581
|
+
"type": "object",
|
|
2582
|
+
"properties": {
|
|
2583
|
+
"lineage_id": {
|
|
2584
|
+
"type": "string",
|
|
2585
|
+
"description": "Immutable resource identity across orgs"
|
|
2586
|
+
},
|
|
2587
|
+
"target_id": {
|
|
2588
|
+
"type": "string",
|
|
2589
|
+
"description": "Resource ID in the destination org"
|
|
2590
|
+
},
|
|
2591
|
+
"resource_type": {
|
|
2592
|
+
"$ref": "#/components/schemas/ResourceNodeType"
|
|
2593
|
+
},
|
|
2594
|
+
"blueprint_instance_ids": {
|
|
2595
|
+
"type": "array",
|
|
2596
|
+
"items": {
|
|
2597
|
+
"type": "string"
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
"fidelity": {
|
|
2601
|
+
"type": "string",
|
|
2602
|
+
"enum": [
|
|
2603
|
+
"full",
|
|
2604
|
+
"partial"
|
|
2605
|
+
]
|
|
2606
|
+
},
|
|
2607
|
+
"last_synced_at": {
|
|
2608
|
+
"type": "string",
|
|
2609
|
+
"format": "date-time"
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
},
|
|
2421
2613
|
"BlueprintID": {
|
|
2422
2614
|
"type": "string",
|
|
2423
2615
|
"description": "ID of a blueprint",
|
|
@@ -2490,6 +2682,16 @@
|
|
|
2490
2682
|
"type": "boolean",
|
|
2491
2683
|
"description": "Whether the blueprint is verified by epilot"
|
|
2492
2684
|
},
|
|
2685
|
+
"latest_verification": {
|
|
2686
|
+
"$ref": "#/components/schemas/LatestBlueprintVerification"
|
|
2687
|
+
},
|
|
2688
|
+
"ignored_resource_addresses": {
|
|
2689
|
+
"type": "array",
|
|
2690
|
+
"description": "Resource addresses excluded during the latest install/update and ignored by verification.",
|
|
2691
|
+
"items": {
|
|
2692
|
+
"type": "string"
|
|
2693
|
+
}
|
|
2694
|
+
},
|
|
2493
2695
|
"installation_status": {
|
|
2494
2696
|
"type": "string",
|
|
2495
2697
|
"enum": [
|
|
@@ -3078,6 +3280,7 @@
|
|
|
3078
3280
|
"WAITING_USER_ACTION",
|
|
3079
3281
|
"CANCELED",
|
|
3080
3282
|
"SUCCESS",
|
|
3283
|
+
"PARTIAL_SUCCESS",
|
|
3081
3284
|
"FAILED"
|
|
3082
3285
|
]
|
|
3083
3286
|
}
|
|
@@ -3207,6 +3410,41 @@
|
|
|
3207
3410
|
}
|
|
3208
3411
|
]
|
|
3209
3412
|
},
|
|
3413
|
+
"LatestBlueprintVerification": {
|
|
3414
|
+
"type": "object",
|
|
3415
|
+
"properties": {
|
|
3416
|
+
"job_id": {
|
|
3417
|
+
"$ref": "#/components/schemas/BlueprintJobID"
|
|
3418
|
+
},
|
|
3419
|
+
"status": {
|
|
3420
|
+
"type": "string",
|
|
3421
|
+
"enum": [
|
|
3422
|
+
"IN_PROGRESS",
|
|
3423
|
+
"SUCCESS",
|
|
3424
|
+
"FAILED"
|
|
3425
|
+
]
|
|
3426
|
+
},
|
|
3427
|
+
"triggered_at": {
|
|
3428
|
+
"type": "string",
|
|
3429
|
+
"format": "date-time"
|
|
3430
|
+
},
|
|
3431
|
+
"source_org_id": {
|
|
3432
|
+
"type": "string"
|
|
3433
|
+
},
|
|
3434
|
+
"source_blueprint_id": {
|
|
3435
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
3436
|
+
},
|
|
3437
|
+
"destination_org_id": {
|
|
3438
|
+
"type": "string"
|
|
3439
|
+
},
|
|
3440
|
+
"destination_blueprint_id": {
|
|
3441
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
3442
|
+
},
|
|
3443
|
+
"summary": {
|
|
3444
|
+
"$ref": "#/components/schemas/VerificationSummary"
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3210
3448
|
"VerificationSummary": {
|
|
3211
3449
|
"type": "object",
|
|
3212
3450
|
"properties": {
|
|
@@ -3222,9 +3460,6 @@
|
|
|
3222
3460
|
"missing_in_destination": {
|
|
3223
3461
|
"type": "integer"
|
|
3224
3462
|
},
|
|
3225
|
-
"missing_in_source": {
|
|
3226
|
-
"type": "integer"
|
|
3227
|
-
},
|
|
3228
3463
|
"fetch_errors": {
|
|
3229
3464
|
"type": "integer"
|
|
3230
3465
|
}
|
|
@@ -3251,7 +3486,6 @@
|
|
|
3251
3486
|
"matched",
|
|
3252
3487
|
"mismatched",
|
|
3253
3488
|
"missing_in_destination",
|
|
3254
|
-
"missing_in_source",
|
|
3255
3489
|
"fetch_error"
|
|
3256
3490
|
]
|
|
3257
3491
|
},
|
|
@@ -3413,6 +3647,7 @@
|
|
|
3413
3647
|
"CANCELED",
|
|
3414
3648
|
"IN_PROGRESS",
|
|
3415
3649
|
"SUCCESS",
|
|
3650
|
+
"PARTIAL_SUCCESS",
|
|
3416
3651
|
"FAILED"
|
|
3417
3652
|
]
|
|
3418
3653
|
},
|
|
@@ -4255,10 +4490,6 @@
|
|
|
4255
4490
|
},
|
|
4256
4491
|
"nullable": true
|
|
4257
4492
|
},
|
|
4258
|
-
"documentation_link": {
|
|
4259
|
-
"type": "string",
|
|
4260
|
-
"nullable": true
|
|
4261
|
-
},
|
|
4262
4493
|
"resources_section_description": {
|
|
4263
4494
|
"type": "string",
|
|
4264
4495
|
"nullable": true
|
|
@@ -4432,10 +4663,6 @@
|
|
|
4432
4663
|
},
|
|
4433
4664
|
"nullable": true
|
|
4434
4665
|
},
|
|
4435
|
-
"documentation_link": {
|
|
4436
|
-
"type": "string",
|
|
4437
|
-
"nullable": true
|
|
4438
|
-
},
|
|
4439
4666
|
"resources_section_description": {
|
|
4440
4667
|
"type": "string",
|
|
4441
4668
|
"nullable": true
|