@epilot/blueprint-manifest-client 3.0.1-beta.3 → 3.0.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definition.js +1 -1
- package/dist/openapi.d.ts +76 -76
- package/dist/openapi.json +75 -147
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={466:e=>{e.exports=JSON.parse('{"openapi":"3.1.0","info":{"title":"","version":""},"servers":[{"url":"https://blueprint-manifest.sls.epilot.io"}],"paths":{"/v1/blueprint-manifest/jobs/{job_id}":{"get":{"operationId":"getJob","parameters":[{"$ref":"#/components/parameters/JobID"}],"responses":{}}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest:uploadManifest":{"post":{"operationId":"uploadManifest","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs:createPlan":{"post":{"operationId":"createPlan","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/manifests":{"get":{"operationId":"listInstalledManifests","responses":{}}},"/v1/blueprint-manifest/manifests/{manifest_id}":{"get":{"operationId":"getManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}},"put":{"operationId":"updateManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints":{"get":{"operationId":"listBlueprints","responses":{}},"post":{"operationId":"createBlueprint","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprint:install":{"post":{"operationId":"installBlueprint","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}":{"get":{"operationId":"getBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}},"put":{"operationId":"updateBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}:export":{"post":{"operationId":"exportBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources":{"post":{"operationId":"addBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"query","name":"add_dependencies"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies":{"post":{"operationId":"syncDependencies","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk":{"post":{"operationId":"bulkAddBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"query","name":"add_dependencies"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"put":{"operationId":"bulkUpdateBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"bulkDeleteBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}":{"put":{"operationId":"updateBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"path","required":true,"name":"resource_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"path","required":true,"name":"resource_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs":{"get":{"operationId":"listBlueprintJobs","responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}":{"get":{"operationId":"getBlueprintJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}:continue":{"post":{"operationId":"continueInstallationJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}:cancel":{"post":{"operationId":"cancelBlueprintJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}}},"components":{"parameters":{"JobID":{"name":"job_id","in":"path","required":true}}}}')},757:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(r(466));t.default=s.default}},t={},r=function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}(757),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -48,16 +48,16 @@ declare namespace Components {
|
|
|
48
48
|
};
|
|
49
49
|
version?: string;
|
|
50
50
|
latest_download_file?: S3Reference;
|
|
51
|
-
created_at?: string; // date-time
|
|
52
|
-
updated_at?: string; // date-time
|
|
53
|
-
created_by?: CallerIdentity;
|
|
54
|
-
updated_by?: CallerIdentity;
|
|
55
51
|
/**
|
|
56
52
|
* Whether the blueprint is verified by epilot
|
|
57
53
|
*/
|
|
58
54
|
is_verified?: boolean;
|
|
55
|
+
created_at?: string; // date-time
|
|
56
|
+
updated_at?: string; // date-time
|
|
57
|
+
created_by?: CallerIdentity;
|
|
58
|
+
updated_by?: CallerIdentity;
|
|
59
59
|
source_type: "app";
|
|
60
|
-
resources?:
|
|
60
|
+
resources?: BlueprintResource[];
|
|
61
61
|
}
|
|
62
62
|
export type Blueprint = CustomBlueprint | FileBlueprint | MarketplaceBlueprint | DeployedBlueprint | AppBlueprint;
|
|
63
63
|
export interface BlueprintExportJob {
|
|
@@ -104,6 +104,7 @@ declare namespace Components {
|
|
|
104
104
|
BlueprintID;
|
|
105
105
|
source_blueprint_type?: "custom" | "file" | "marketplace" | "deploy" | "app";
|
|
106
106
|
source_org_id?: string;
|
|
107
|
+
source_blueprint_file?: string;
|
|
107
108
|
destination_blueprint_id?: /**
|
|
108
109
|
* ID of a blueprint
|
|
109
110
|
* example:
|
|
@@ -144,9 +145,24 @@ declare namespace Components {
|
|
|
144
145
|
*/
|
|
145
146
|
is_root?: boolean;
|
|
146
147
|
/**
|
|
147
|
-
*
|
|
148
|
+
* when editing a blueprint, this indicates if the resource is ready to be exported and when installing a blueprint, this indicates if the resource is ready to be used
|
|
148
149
|
*/
|
|
149
150
|
is_ready?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* When a resource is marked as hidden, it's used to hide it from the UI
|
|
153
|
+
*/
|
|
154
|
+
is_hidden?: boolean;
|
|
155
|
+
hard_dependencies?: /* Type of the resource */ ResourceNodeType[];
|
|
156
|
+
/**
|
|
157
|
+
* Used to automatically remove resources with hard dependencies and to block deletion of resources with hard dependencies
|
|
158
|
+
*/
|
|
159
|
+
parent_resource_ids?: /**
|
|
160
|
+
* ID of a blueprint resource
|
|
161
|
+
* example:
|
|
162
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
163
|
+
*/
|
|
164
|
+
BlueprintResourceID[];
|
|
165
|
+
impact_on_install?: ("create" | "update" | "no-op" | "delete")[];
|
|
150
166
|
}
|
|
151
167
|
/**
|
|
152
168
|
* ID of a blueprint resource
|
|
@@ -207,6 +223,10 @@ declare namespace Components {
|
|
|
207
223
|
};
|
|
208
224
|
version?: string;
|
|
209
225
|
latest_download_file?: S3Reference;
|
|
226
|
+
/**
|
|
227
|
+
* Whether the blueprint is verified by epilot
|
|
228
|
+
*/
|
|
229
|
+
is_verified?: boolean;
|
|
210
230
|
created_at?: string; // date-time
|
|
211
231
|
updated_at?: string; // date-time
|
|
212
232
|
created_by?: CallerIdentity;
|
|
@@ -415,11 +435,15 @@ declare namespace Components {
|
|
|
415
435
|
};
|
|
416
436
|
version?: string;
|
|
417
437
|
latest_download_file?: S3Reference;
|
|
438
|
+
/**
|
|
439
|
+
* Whether the blueprint is verified by epilot
|
|
440
|
+
*/
|
|
441
|
+
is_verified?: boolean;
|
|
418
442
|
created_at?: string; // date-time
|
|
419
443
|
updated_at?: string; // date-time
|
|
420
444
|
created_by?: CallerIdentity;
|
|
421
445
|
updated_by?: CallerIdentity;
|
|
422
|
-
resources?:
|
|
446
|
+
resources?: BlueprintResource[];
|
|
423
447
|
source_type: "custom";
|
|
424
448
|
}
|
|
425
449
|
export interface DeployedBlueprint {
|
|
@@ -449,35 +473,16 @@ declare namespace Components {
|
|
|
449
473
|
};
|
|
450
474
|
version?: string;
|
|
451
475
|
latest_download_file?: S3Reference;
|
|
476
|
+
/**
|
|
477
|
+
* Whether the blueprint is verified by epilot
|
|
478
|
+
*/
|
|
479
|
+
is_verified?: boolean;
|
|
452
480
|
created_at?: string; // date-time
|
|
453
481
|
updated_at?: string; // date-time
|
|
454
482
|
created_by?: CallerIdentity;
|
|
455
483
|
updated_by?: CallerIdentity;
|
|
456
484
|
source_type: "deploy";
|
|
457
|
-
resources?:
|
|
458
|
-
}
|
|
459
|
-
export interface EditableBlueprintResource {
|
|
460
|
-
id: /**
|
|
461
|
-
* ID of a blueprint resource
|
|
462
|
-
* example:
|
|
463
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
464
|
-
*/
|
|
465
|
-
BlueprintResourceID;
|
|
466
|
-
name?: string;
|
|
467
|
-
type: /* Type of the resource */ ResourceNodeType;
|
|
468
|
-
address?: string;
|
|
469
|
-
/**
|
|
470
|
-
* When a resource is marked as root, we'll be able to keep track of it's dependencies
|
|
471
|
-
*/
|
|
472
|
-
is_root?: boolean;
|
|
473
|
-
/**
|
|
474
|
-
* on EditableBlueprintResources, this indicates if the resource is ready to be exported and on InstalledBlueprintResources, this indicates if the resource is ready to be used
|
|
475
|
-
*/
|
|
476
|
-
is_ready?: boolean;
|
|
477
|
-
/**
|
|
478
|
-
* An internal note to help remember what's missing to export the resource
|
|
479
|
-
*/
|
|
480
|
-
note?: string;
|
|
485
|
+
resources?: BlueprintResource[];
|
|
481
486
|
}
|
|
482
487
|
export interface FileBlueprint {
|
|
483
488
|
id?: /**
|
|
@@ -506,16 +511,16 @@ declare namespace Components {
|
|
|
506
511
|
};
|
|
507
512
|
version?: string;
|
|
508
513
|
latest_download_file?: S3Reference;
|
|
509
|
-
created_at?: string; // date-time
|
|
510
|
-
updated_at?: string; // date-time
|
|
511
|
-
created_by?: CallerIdentity;
|
|
512
|
-
updated_by?: CallerIdentity;
|
|
513
514
|
/**
|
|
514
515
|
* Whether the blueprint is verified by epilot
|
|
515
516
|
*/
|
|
516
517
|
is_verified?: boolean;
|
|
518
|
+
created_at?: string; // date-time
|
|
519
|
+
updated_at?: string; // date-time
|
|
520
|
+
created_by?: CallerIdentity;
|
|
521
|
+
updated_by?: CallerIdentity;
|
|
517
522
|
source_type: "file";
|
|
518
|
-
resources?:
|
|
523
|
+
resources?: BlueprintResource[];
|
|
519
524
|
}
|
|
520
525
|
export interface FormattedError {
|
|
521
526
|
error?: string | {
|
|
@@ -532,26 +537,6 @@ declare namespace Components {
|
|
|
532
537
|
type?: string;
|
|
533
538
|
};
|
|
534
539
|
}
|
|
535
|
-
export interface InstalledBlueprintResource {
|
|
536
|
-
id: /**
|
|
537
|
-
* ID of a blueprint resource
|
|
538
|
-
* example:
|
|
539
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
540
|
-
*/
|
|
541
|
-
BlueprintResourceID;
|
|
542
|
-
name?: string;
|
|
543
|
-
type: /* Type of the resource */ ResourceNodeType;
|
|
544
|
-
address?: string;
|
|
545
|
-
/**
|
|
546
|
-
* When a resource is marked as root, we'll be able to keep track of it's dependencies
|
|
547
|
-
*/
|
|
548
|
-
is_root?: boolean;
|
|
549
|
-
/**
|
|
550
|
-
* on EditableBlueprintResources, this indicates if the resource is ready to be exported and on InstalledBlueprintResources, this indicates if the resource is ready to be used
|
|
551
|
-
*/
|
|
552
|
-
is_ready?: boolean;
|
|
553
|
-
impact_on_install?: "create" | "update" | "no-op" | "delete";
|
|
554
|
-
}
|
|
555
540
|
export interface Job {
|
|
556
541
|
job_id?: /**
|
|
557
542
|
* ID of an import or export job (state machine)
|
|
@@ -1055,6 +1040,10 @@ declare namespace Components {
|
|
|
1055
1040
|
};
|
|
1056
1041
|
version?: string;
|
|
1057
1042
|
latest_download_file?: S3Reference;
|
|
1043
|
+
/**
|
|
1044
|
+
* Whether the blueprint is verified by epilot
|
|
1045
|
+
*/
|
|
1046
|
+
is_verified?: boolean;
|
|
1058
1047
|
created_at?: string; // date-time
|
|
1059
1048
|
updated_at?: string; // date-time
|
|
1060
1049
|
created_by?: CallerIdentity;
|
|
@@ -1063,12 +1052,8 @@ declare namespace Components {
|
|
|
1063
1052
|
* URL to the blueprint documentation
|
|
1064
1053
|
*/
|
|
1065
1054
|
docs_url?: string;
|
|
1066
|
-
/**
|
|
1067
|
-
* Whether the blueprint is verified by epilot
|
|
1068
|
-
*/
|
|
1069
|
-
is_verified?: boolean;
|
|
1070
1055
|
source_type: "marketplace";
|
|
1071
|
-
resources?:
|
|
1056
|
+
resources?: BlueprintResource[];
|
|
1072
1057
|
}
|
|
1073
1058
|
export type PlanChanges = ("create" | "update" | "no-op" | "delete")[];
|
|
1074
1059
|
export interface PutManifestPayload {
|
|
@@ -1251,10 +1236,10 @@ declare namespace Paths {
|
|
|
1251
1236
|
export interface QueryParameters {
|
|
1252
1237
|
add_dependencies?: /* Whether to add this resource dependencies to the blueprint automatically */ Parameters.AddDependencies;
|
|
1253
1238
|
}
|
|
1254
|
-
export type RequestBody = Components.Schemas.
|
|
1239
|
+
export type RequestBody = Components.Schemas.BlueprintResource;
|
|
1255
1240
|
namespace Responses {
|
|
1256
1241
|
export interface $200 {
|
|
1257
|
-
resources?:
|
|
1242
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1258
1243
|
}
|
|
1259
1244
|
}
|
|
1260
1245
|
}
|
|
@@ -1310,10 +1295,10 @@ declare namespace Paths {
|
|
|
1310
1295
|
export interface QueryParameters {
|
|
1311
1296
|
add_dependencies?: /* Whether to add this resource dependencies to the blueprint automatically */ Parameters.AddDependencies;
|
|
1312
1297
|
}
|
|
1313
|
-
export type RequestBody =
|
|
1298
|
+
export type RequestBody = Components.Schemas.BlueprintResource[];
|
|
1314
1299
|
namespace Responses {
|
|
1315
1300
|
export interface $200 {
|
|
1316
|
-
resources?:
|
|
1301
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1317
1302
|
}
|
|
1318
1303
|
}
|
|
1319
1304
|
}
|
|
@@ -1337,7 +1322,7 @@ declare namespace Paths {
|
|
|
1337
1322
|
Components.Schemas.BlueprintResourceID[];
|
|
1338
1323
|
namespace Responses {
|
|
1339
1324
|
export interface $200 {
|
|
1340
|
-
resources?:
|
|
1325
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1341
1326
|
}
|
|
1342
1327
|
}
|
|
1343
1328
|
}
|
|
@@ -1353,10 +1338,10 @@ declare namespace Paths {
|
|
|
1353
1338
|
export interface PathParameters {
|
|
1354
1339
|
blueprint_id: Parameters.BlueprintId;
|
|
1355
1340
|
}
|
|
1356
|
-
export type RequestBody =
|
|
1341
|
+
export type RequestBody = Components.Schemas.BlueprintResource[];
|
|
1357
1342
|
namespace Responses {
|
|
1358
1343
|
export interface $200 {
|
|
1359
|
-
resources?:
|
|
1344
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1360
1345
|
}
|
|
1361
1346
|
}
|
|
1362
1347
|
}
|
|
@@ -1568,7 +1553,7 @@ declare namespace Paths {
|
|
|
1568
1553
|
}
|
|
1569
1554
|
namespace Responses {
|
|
1570
1555
|
export interface $200 {
|
|
1571
|
-
resources?:
|
|
1556
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1572
1557
|
}
|
|
1573
1558
|
}
|
|
1574
1559
|
}
|
|
@@ -1728,6 +1713,7 @@ declare namespace Paths {
|
|
|
1728
1713
|
}
|
|
1729
1714
|
namespace InstallBlueprint {
|
|
1730
1715
|
export interface RequestBody {
|
|
1716
|
+
source_org_id?: string;
|
|
1731
1717
|
source_blueprint_id?: /**
|
|
1732
1718
|
* ID of a blueprint
|
|
1733
1719
|
* example:
|
|
@@ -1737,7 +1723,14 @@ declare namespace Paths {
|
|
|
1737
1723
|
/**
|
|
1738
1724
|
* URL to the blueprint zip file
|
|
1739
1725
|
*/
|
|
1740
|
-
|
|
1726
|
+
source_blueprint_file?: string;
|
|
1727
|
+
destination_org_id?: string;
|
|
1728
|
+
destination_blueprint_id?: /**
|
|
1729
|
+
* ID of a blueprint
|
|
1730
|
+
* example:
|
|
1731
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
1732
|
+
*/
|
|
1733
|
+
Components.Schemas.BlueprintID;
|
|
1741
1734
|
/**
|
|
1742
1735
|
* Installation mode
|
|
1743
1736
|
*/
|
|
@@ -1756,7 +1749,14 @@ declare namespace Paths {
|
|
|
1756
1749
|
}
|
|
1757
1750
|
namespace ListBlueprintJobs {
|
|
1758
1751
|
namespace Responses {
|
|
1759
|
-
export
|
|
1752
|
+
export interface $200 {
|
|
1753
|
+
/**
|
|
1754
|
+
* example:
|
|
1755
|
+
* 1
|
|
1756
|
+
*/
|
|
1757
|
+
total?: number;
|
|
1758
|
+
results?: Components.Schemas.BlueprintJob[];
|
|
1759
|
+
}
|
|
1760
1760
|
}
|
|
1761
1761
|
}
|
|
1762
1762
|
namespace ListBlueprints {
|
|
@@ -1797,7 +1797,7 @@ declare namespace Paths {
|
|
|
1797
1797
|
}
|
|
1798
1798
|
namespace Responses {
|
|
1799
1799
|
export interface $200 {
|
|
1800
|
-
resources?:
|
|
1800
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
@@ -1837,10 +1837,10 @@ declare namespace Paths {
|
|
|
1837
1837
|
blueprint_id: Parameters.BlueprintId;
|
|
1838
1838
|
resource_id: Parameters.ResourceId;
|
|
1839
1839
|
}
|
|
1840
|
-
export type RequestBody = Components.Schemas.
|
|
1840
|
+
export type RequestBody = Components.Schemas.BlueprintResource;
|
|
1841
1841
|
namespace Responses {
|
|
1842
1842
|
export interface $200 {
|
|
1843
|
-
resources?:
|
|
1843
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1844
1844
|
}
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
@@ -1876,6 +1876,7 @@ declare namespace Paths {
|
|
|
1876
1876
|
}
|
|
1877
1877
|
}
|
|
1878
1878
|
|
|
1879
|
+
|
|
1879
1880
|
export interface OperationMethods {
|
|
1880
1881
|
/**
|
|
1881
1882
|
* getJob - getJob
|
|
@@ -2510,6 +2511,7 @@ export interface PathsDictionary {
|
|
|
2510
2511
|
|
|
2511
2512
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2512
2513
|
|
|
2514
|
+
|
|
2513
2515
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
2514
2516
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
2515
2517
|
export type BlueprintExportJob = Components.Schemas.BlueprintExportJob;
|
|
@@ -2530,12 +2532,10 @@ export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
|
|
|
2530
2532
|
export type CommonResourceNode = Components.Schemas.CommonResourceNode;
|
|
2531
2533
|
export type CustomBlueprint = Components.Schemas.CustomBlueprint;
|
|
2532
2534
|
export type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
|
|
2533
|
-
export type EditableBlueprintResource = Components.Schemas.EditableBlueprintResource;
|
|
2534
2535
|
export type FileBlueprint = Components.Schemas.FileBlueprint;
|
|
2535
2536
|
export type FormattedError = Components.Schemas.FormattedError;
|
|
2536
2537
|
export type FormattedErrorCodes = Components.Schemas.FormattedErrorCodes;
|
|
2537
2538
|
export type FormattedErrorData = Components.Schemas.FormattedErrorData;
|
|
2538
|
-
export type InstalledBlueprintResource = Components.Schemas.InstalledBlueprintResource;
|
|
2539
2539
|
export type Job = Components.Schemas.Job;
|
|
2540
2540
|
export type JobID = Components.Schemas.JobID;
|
|
2541
2541
|
export type JobStatus = Components.Schemas.JobStatus;
|
package/dist/openapi.json
CHANGED
|
@@ -766,13 +766,22 @@
|
|
|
766
766
|
"schema": {
|
|
767
767
|
"type": "object",
|
|
768
768
|
"properties": {
|
|
769
|
+
"source_org_id": {
|
|
770
|
+
"type": "string"
|
|
771
|
+
},
|
|
769
772
|
"source_blueprint_id": {
|
|
770
773
|
"$ref": "#/components/schemas/BlueprintID"
|
|
771
774
|
},
|
|
772
|
-
"
|
|
775
|
+
"source_blueprint_file": {
|
|
773
776
|
"type": "string",
|
|
774
777
|
"description": "URL to the blueprint zip file"
|
|
775
778
|
},
|
|
779
|
+
"destination_org_id": {
|
|
780
|
+
"type": "string"
|
|
781
|
+
},
|
|
782
|
+
"destination_blueprint_id": {
|
|
783
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
784
|
+
},
|
|
776
785
|
"mode": {
|
|
777
786
|
"type": "string",
|
|
778
787
|
"enum": [
|
|
@@ -993,14 +1002,7 @@
|
|
|
993
1002
|
"content": {
|
|
994
1003
|
"application/json": {
|
|
995
1004
|
"schema": {
|
|
996
|
-
"
|
|
997
|
-
{
|
|
998
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1002
|
-
}
|
|
1003
|
-
]
|
|
1005
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1004
1006
|
}
|
|
1005
1007
|
}
|
|
1006
1008
|
}
|
|
@@ -1016,14 +1018,7 @@
|
|
|
1016
1018
|
"resources": {
|
|
1017
1019
|
"type": "array",
|
|
1018
1020
|
"items": {
|
|
1019
|
-
"
|
|
1020
|
-
{
|
|
1021
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1025
|
-
}
|
|
1026
|
-
]
|
|
1021
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1027
1022
|
}
|
|
1028
1023
|
}
|
|
1029
1024
|
}
|
|
@@ -1063,14 +1058,7 @@
|
|
|
1063
1058
|
"resources": {
|
|
1064
1059
|
"type": "array",
|
|
1065
1060
|
"items": {
|
|
1066
|
-
"
|
|
1067
|
-
{
|
|
1068
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1072
|
-
}
|
|
1073
|
-
]
|
|
1061
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1074
1062
|
}
|
|
1075
1063
|
}
|
|
1076
1064
|
}
|
|
@@ -1114,14 +1102,7 @@
|
|
|
1114
1102
|
"schema": {
|
|
1115
1103
|
"type": "array",
|
|
1116
1104
|
"items": {
|
|
1117
|
-
"
|
|
1118
|
-
{
|
|
1119
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1120
|
-
},
|
|
1121
|
-
{
|
|
1122
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1123
|
-
}
|
|
1124
|
-
]
|
|
1105
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1125
1106
|
}
|
|
1126
1107
|
}
|
|
1127
1108
|
}
|
|
@@ -1138,14 +1119,7 @@
|
|
|
1138
1119
|
"resources": {
|
|
1139
1120
|
"type": "array",
|
|
1140
1121
|
"items": {
|
|
1141
|
-
"
|
|
1142
|
-
{
|
|
1143
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1147
|
-
}
|
|
1148
|
-
]
|
|
1122
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1149
1123
|
}
|
|
1150
1124
|
}
|
|
1151
1125
|
}
|
|
@@ -1178,14 +1152,7 @@
|
|
|
1178
1152
|
"schema": {
|
|
1179
1153
|
"type": "array",
|
|
1180
1154
|
"items": {
|
|
1181
|
-
"
|
|
1182
|
-
{
|
|
1183
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1187
|
-
}
|
|
1188
|
-
]
|
|
1155
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1189
1156
|
}
|
|
1190
1157
|
}
|
|
1191
1158
|
}
|
|
@@ -1202,14 +1169,7 @@
|
|
|
1202
1169
|
"resources": {
|
|
1203
1170
|
"type": "array",
|
|
1204
1171
|
"items": {
|
|
1205
|
-
"
|
|
1206
|
-
{
|
|
1207
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1211
|
-
}
|
|
1212
|
-
]
|
|
1172
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1213
1173
|
}
|
|
1214
1174
|
}
|
|
1215
1175
|
}
|
|
@@ -1259,14 +1219,7 @@
|
|
|
1259
1219
|
"resources": {
|
|
1260
1220
|
"type": "array",
|
|
1261
1221
|
"items": {
|
|
1262
|
-
"
|
|
1263
|
-
{
|
|
1264
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1268
|
-
}
|
|
1269
|
-
]
|
|
1222
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1270
1223
|
}
|
|
1271
1224
|
}
|
|
1272
1225
|
}
|
|
@@ -1307,14 +1260,7 @@
|
|
|
1307
1260
|
"content": {
|
|
1308
1261
|
"application/json": {
|
|
1309
1262
|
"schema": {
|
|
1310
|
-
"
|
|
1311
|
-
{
|
|
1312
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1313
|
-
},
|
|
1314
|
-
{
|
|
1315
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1316
|
-
}
|
|
1317
|
-
]
|
|
1263
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1318
1264
|
}
|
|
1319
1265
|
}
|
|
1320
1266
|
}
|
|
@@ -1330,14 +1276,7 @@
|
|
|
1330
1276
|
"resources": {
|
|
1331
1277
|
"type": "array",
|
|
1332
1278
|
"items": {
|
|
1333
|
-
"
|
|
1334
|
-
{
|
|
1335
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1339
|
-
}
|
|
1340
|
-
]
|
|
1279
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1341
1280
|
}
|
|
1342
1281
|
}
|
|
1343
1282
|
}
|
|
@@ -1383,14 +1322,7 @@
|
|
|
1383
1322
|
"resources": {
|
|
1384
1323
|
"type": "array",
|
|
1385
1324
|
"items": {
|
|
1386
|
-
"
|
|
1387
|
-
{
|
|
1388
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1392
|
-
}
|
|
1393
|
-
]
|
|
1325
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1394
1326
|
}
|
|
1395
1327
|
}
|
|
1396
1328
|
}
|
|
@@ -1415,9 +1347,18 @@
|
|
|
1415
1347
|
"content": {
|
|
1416
1348
|
"application/json": {
|
|
1417
1349
|
"schema": {
|
|
1418
|
-
"type": "
|
|
1419
|
-
"
|
|
1420
|
-
"
|
|
1350
|
+
"type": "object",
|
|
1351
|
+
"properties": {
|
|
1352
|
+
"total": {
|
|
1353
|
+
"type": "integer",
|
|
1354
|
+
"example": 1
|
|
1355
|
+
},
|
|
1356
|
+
"results": {
|
|
1357
|
+
"type": "array",
|
|
1358
|
+
"items": {
|
|
1359
|
+
"$ref": "#/components/schemas/BlueprintJob"
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1421
1362
|
}
|
|
1422
1363
|
}
|
|
1423
1364
|
}
|
|
@@ -1568,6 +1509,10 @@
|
|
|
1568
1509
|
"latest_download_file": {
|
|
1569
1510
|
"$ref": "#/components/schemas/S3Reference"
|
|
1570
1511
|
},
|
|
1512
|
+
"is_verified": {
|
|
1513
|
+
"type": "boolean",
|
|
1514
|
+
"description": "Whether the blueprint is verified by epilot"
|
|
1515
|
+
},
|
|
1571
1516
|
"created_at": {
|
|
1572
1517
|
"type": "string",
|
|
1573
1518
|
"format": "date-time"
|
|
@@ -1608,49 +1553,41 @@
|
|
|
1608
1553
|
},
|
|
1609
1554
|
"is_ready": {
|
|
1610
1555
|
"type": "boolean",
|
|
1611
|
-
"description": "
|
|
1612
|
-
}
|
|
1613
|
-
},
|
|
1614
|
-
"required": [
|
|
1615
|
-
"id",
|
|
1616
|
-
"type"
|
|
1617
|
-
]
|
|
1618
|
-
},
|
|
1619
|
-
"EditableBlueprintResource": {
|
|
1620
|
-
"allOf": [
|
|
1621
|
-
{
|
|
1622
|
-
"$ref": "#/components/schemas/BlueprintResource"
|
|
1556
|
+
"description": "when editing a blueprint, this indicates if the resource is ready to be exported and when installing a blueprint, this indicates if the resource is ready to be used"
|
|
1623
1557
|
},
|
|
1624
|
-
{
|
|
1625
|
-
"type": "
|
|
1626
|
-
"
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1558
|
+
"is_hidden": {
|
|
1559
|
+
"type": "boolean",
|
|
1560
|
+
"description": "When a resource is marked as hidden, it's used to hide it from the UI"
|
|
1561
|
+
},
|
|
1562
|
+
"hard_dependencies": {
|
|
1563
|
+
"type": "array",
|
|
1564
|
+
"items": {
|
|
1565
|
+
"$ref": "#/components/schemas/ResourceNodeType"
|
|
1631
1566
|
}
|
|
1632
|
-
}
|
|
1633
|
-
]
|
|
1634
|
-
},
|
|
1635
|
-
"InstalledBlueprintResource": {
|
|
1636
|
-
"allOf": [
|
|
1637
|
-
{
|
|
1638
|
-
"$ref": "#/components/schemas/BlueprintResource"
|
|
1639
1567
|
},
|
|
1640
|
-
{
|
|
1641
|
-
"type": "
|
|
1642
|
-
"
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1568
|
+
"parent_resource_ids": {
|
|
1569
|
+
"type": "array",
|
|
1570
|
+
"description": "Used to automatically remove resources with hard dependencies and to block deletion of resources with hard dependencies",
|
|
1571
|
+
"items": {
|
|
1572
|
+
"$ref": "#/components/schemas/BlueprintResourceID"
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
"impact_on_install": {
|
|
1576
|
+
"type": "array",
|
|
1577
|
+
"items": {
|
|
1578
|
+
"type": "string",
|
|
1579
|
+
"enum": [
|
|
1580
|
+
"create",
|
|
1581
|
+
"update",
|
|
1582
|
+
"no-op",
|
|
1583
|
+
"delete"
|
|
1584
|
+
]
|
|
1652
1585
|
}
|
|
1653
1586
|
}
|
|
1587
|
+
},
|
|
1588
|
+
"required": [
|
|
1589
|
+
"id",
|
|
1590
|
+
"type"
|
|
1654
1591
|
]
|
|
1655
1592
|
},
|
|
1656
1593
|
"CustomBlueprint": {
|
|
@@ -1664,7 +1601,7 @@
|
|
|
1664
1601
|
"resources": {
|
|
1665
1602
|
"type": "array",
|
|
1666
1603
|
"items": {
|
|
1667
|
-
"$ref": "#/components/schemas/
|
|
1604
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1668
1605
|
}
|
|
1669
1606
|
},
|
|
1670
1607
|
"source_type": {
|
|
@@ -1686,10 +1623,6 @@
|
|
|
1686
1623
|
{
|
|
1687
1624
|
"type": "object",
|
|
1688
1625
|
"properties": {
|
|
1689
|
-
"is_verified": {
|
|
1690
|
-
"type": "boolean",
|
|
1691
|
-
"description": "Whether the blueprint is verified by epilot"
|
|
1692
|
-
},
|
|
1693
1626
|
"source_type": {
|
|
1694
1627
|
"type": "string",
|
|
1695
1628
|
"const": "file"
|
|
@@ -1697,7 +1630,7 @@
|
|
|
1697
1630
|
"resources": {
|
|
1698
1631
|
"type": "array",
|
|
1699
1632
|
"items": {
|
|
1700
|
-
"$ref": "#/components/schemas/
|
|
1633
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1701
1634
|
}
|
|
1702
1635
|
}
|
|
1703
1636
|
}
|
|
@@ -1719,10 +1652,6 @@
|
|
|
1719
1652
|
"type": "string",
|
|
1720
1653
|
"description": "URL to the blueprint documentation"
|
|
1721
1654
|
},
|
|
1722
|
-
"is_verified": {
|
|
1723
|
-
"type": "boolean",
|
|
1724
|
-
"description": "Whether the blueprint is verified by epilot"
|
|
1725
|
-
},
|
|
1726
1655
|
"source_type": {
|
|
1727
1656
|
"type": "string",
|
|
1728
1657
|
"const": "marketplace"
|
|
@@ -1730,7 +1659,7 @@
|
|
|
1730
1659
|
"resources": {
|
|
1731
1660
|
"type": "array",
|
|
1732
1661
|
"items": {
|
|
1733
|
-
"$ref": "#/components/schemas/
|
|
1662
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1734
1663
|
}
|
|
1735
1664
|
}
|
|
1736
1665
|
}
|
|
@@ -1755,7 +1684,7 @@
|
|
|
1755
1684
|
"resources": {
|
|
1756
1685
|
"type": "array",
|
|
1757
1686
|
"items": {
|
|
1758
|
-
"$ref": "#/components/schemas/
|
|
1687
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1759
1688
|
}
|
|
1760
1689
|
}
|
|
1761
1690
|
}
|
|
@@ -1773,10 +1702,6 @@
|
|
|
1773
1702
|
{
|
|
1774
1703
|
"type": "object",
|
|
1775
1704
|
"properties": {
|
|
1776
|
-
"is_verified": {
|
|
1777
|
-
"type": "boolean",
|
|
1778
|
-
"description": "Whether the blueprint is verified by epilot"
|
|
1779
|
-
},
|
|
1780
1705
|
"source_type": {
|
|
1781
1706
|
"type": "string",
|
|
1782
1707
|
"const": "app"
|
|
@@ -1784,7 +1709,7 @@
|
|
|
1784
1709
|
"resources": {
|
|
1785
1710
|
"type": "array",
|
|
1786
1711
|
"items": {
|
|
1787
|
-
"$ref": "#/components/schemas/
|
|
1712
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1788
1713
|
}
|
|
1789
1714
|
}
|
|
1790
1715
|
}
|
|
@@ -1890,6 +1815,9 @@
|
|
|
1890
1815
|
"source_org_id": {
|
|
1891
1816
|
"type": "string"
|
|
1892
1817
|
},
|
|
1818
|
+
"source_blueprint_file": {
|
|
1819
|
+
"type": "string"
|
|
1820
|
+
},
|
|
1893
1821
|
"destination_blueprint_id": {
|
|
1894
1822
|
"$ref": "#/components/schemas/BlueprintID"
|
|
1895
1823
|
},
|