@epilot/blueprint-manifest-client 3.0.0-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/openapi.d.ts +57 -75
- package/dist/openapi.json +52 -144
- package/package.json +1 -1
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 {
|
|
@@ -145,9 +145,24 @@ declare namespace Components {
|
|
|
145
145
|
*/
|
|
146
146
|
is_root?: boolean;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
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
|
|
149
149
|
*/
|
|
150
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")[];
|
|
151
166
|
}
|
|
152
167
|
/**
|
|
153
168
|
* ID of a blueprint resource
|
|
@@ -208,6 +223,10 @@ declare namespace Components {
|
|
|
208
223
|
};
|
|
209
224
|
version?: string;
|
|
210
225
|
latest_download_file?: S3Reference;
|
|
226
|
+
/**
|
|
227
|
+
* Whether the blueprint is verified by epilot
|
|
228
|
+
*/
|
|
229
|
+
is_verified?: boolean;
|
|
211
230
|
created_at?: string; // date-time
|
|
212
231
|
updated_at?: string; // date-time
|
|
213
232
|
created_by?: CallerIdentity;
|
|
@@ -416,11 +435,15 @@ declare namespace Components {
|
|
|
416
435
|
};
|
|
417
436
|
version?: string;
|
|
418
437
|
latest_download_file?: S3Reference;
|
|
438
|
+
/**
|
|
439
|
+
* Whether the blueprint is verified by epilot
|
|
440
|
+
*/
|
|
441
|
+
is_verified?: boolean;
|
|
419
442
|
created_at?: string; // date-time
|
|
420
443
|
updated_at?: string; // date-time
|
|
421
444
|
created_by?: CallerIdentity;
|
|
422
445
|
updated_by?: CallerIdentity;
|
|
423
|
-
resources?:
|
|
446
|
+
resources?: BlueprintResource[];
|
|
424
447
|
source_type: "custom";
|
|
425
448
|
}
|
|
426
449
|
export interface DeployedBlueprint {
|
|
@@ -450,35 +473,16 @@ declare namespace Components {
|
|
|
450
473
|
};
|
|
451
474
|
version?: string;
|
|
452
475
|
latest_download_file?: S3Reference;
|
|
476
|
+
/**
|
|
477
|
+
* Whether the blueprint is verified by epilot
|
|
478
|
+
*/
|
|
479
|
+
is_verified?: boolean;
|
|
453
480
|
created_at?: string; // date-time
|
|
454
481
|
updated_at?: string; // date-time
|
|
455
482
|
created_by?: CallerIdentity;
|
|
456
483
|
updated_by?: CallerIdentity;
|
|
457
484
|
source_type: "deploy";
|
|
458
|
-
resources?:
|
|
459
|
-
}
|
|
460
|
-
export interface EditableBlueprintResource {
|
|
461
|
-
id: /**
|
|
462
|
-
* ID of a blueprint resource
|
|
463
|
-
* example:
|
|
464
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
465
|
-
*/
|
|
466
|
-
BlueprintResourceID;
|
|
467
|
-
name?: string;
|
|
468
|
-
type: /* Type of the resource */ ResourceNodeType;
|
|
469
|
-
address?: string;
|
|
470
|
-
/**
|
|
471
|
-
* When a resource is marked as root, we'll be able to keep track of it's dependencies
|
|
472
|
-
*/
|
|
473
|
-
is_root?: boolean;
|
|
474
|
-
/**
|
|
475
|
-
* 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
|
|
476
|
-
*/
|
|
477
|
-
is_ready?: boolean;
|
|
478
|
-
/**
|
|
479
|
-
* An internal note to help remember what's missing to export the resource
|
|
480
|
-
*/
|
|
481
|
-
note?: string;
|
|
485
|
+
resources?: BlueprintResource[];
|
|
482
486
|
}
|
|
483
487
|
export interface FileBlueprint {
|
|
484
488
|
id?: /**
|
|
@@ -507,16 +511,16 @@ declare namespace Components {
|
|
|
507
511
|
};
|
|
508
512
|
version?: string;
|
|
509
513
|
latest_download_file?: S3Reference;
|
|
510
|
-
created_at?: string; // date-time
|
|
511
|
-
updated_at?: string; // date-time
|
|
512
|
-
created_by?: CallerIdentity;
|
|
513
|
-
updated_by?: CallerIdentity;
|
|
514
514
|
/**
|
|
515
515
|
* Whether the blueprint is verified by epilot
|
|
516
516
|
*/
|
|
517
517
|
is_verified?: boolean;
|
|
518
|
+
created_at?: string; // date-time
|
|
519
|
+
updated_at?: string; // date-time
|
|
520
|
+
created_by?: CallerIdentity;
|
|
521
|
+
updated_by?: CallerIdentity;
|
|
518
522
|
source_type: "file";
|
|
519
|
-
resources?:
|
|
523
|
+
resources?: BlueprintResource[];
|
|
520
524
|
}
|
|
521
525
|
export interface FormattedError {
|
|
522
526
|
error?: string | {
|
|
@@ -533,26 +537,6 @@ declare namespace Components {
|
|
|
533
537
|
type?: string;
|
|
534
538
|
};
|
|
535
539
|
}
|
|
536
|
-
export interface InstalledBlueprintResource {
|
|
537
|
-
id: /**
|
|
538
|
-
* ID of a blueprint resource
|
|
539
|
-
* example:
|
|
540
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
541
|
-
*/
|
|
542
|
-
BlueprintResourceID;
|
|
543
|
-
name?: string;
|
|
544
|
-
type: /* Type of the resource */ ResourceNodeType;
|
|
545
|
-
address?: string;
|
|
546
|
-
/**
|
|
547
|
-
* When a resource is marked as root, we'll be able to keep track of it's dependencies
|
|
548
|
-
*/
|
|
549
|
-
is_root?: boolean;
|
|
550
|
-
/**
|
|
551
|
-
* 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
|
|
552
|
-
*/
|
|
553
|
-
is_ready?: boolean;
|
|
554
|
-
impact_on_install?: "create" | "update" | "no-op" | "delete";
|
|
555
|
-
}
|
|
556
540
|
export interface Job {
|
|
557
541
|
job_id?: /**
|
|
558
542
|
* ID of an import or export job (state machine)
|
|
@@ -1056,6 +1040,10 @@ declare namespace Components {
|
|
|
1056
1040
|
};
|
|
1057
1041
|
version?: string;
|
|
1058
1042
|
latest_download_file?: S3Reference;
|
|
1043
|
+
/**
|
|
1044
|
+
* Whether the blueprint is verified by epilot
|
|
1045
|
+
*/
|
|
1046
|
+
is_verified?: boolean;
|
|
1059
1047
|
created_at?: string; // date-time
|
|
1060
1048
|
updated_at?: string; // date-time
|
|
1061
1049
|
created_by?: CallerIdentity;
|
|
@@ -1064,12 +1052,8 @@ declare namespace Components {
|
|
|
1064
1052
|
* URL to the blueprint documentation
|
|
1065
1053
|
*/
|
|
1066
1054
|
docs_url?: string;
|
|
1067
|
-
/**
|
|
1068
|
-
* Whether the blueprint is verified by epilot
|
|
1069
|
-
*/
|
|
1070
|
-
is_verified?: boolean;
|
|
1071
1055
|
source_type: "marketplace";
|
|
1072
|
-
resources?:
|
|
1056
|
+
resources?: BlueprintResource[];
|
|
1073
1057
|
}
|
|
1074
1058
|
export type PlanChanges = ("create" | "update" | "no-op" | "delete")[];
|
|
1075
1059
|
export interface PutManifestPayload {
|
|
@@ -1133,7 +1117,7 @@ declare namespace Components {
|
|
|
1133
1117
|
/**
|
|
1134
1118
|
* Type of the resource
|
|
1135
1119
|
*/
|
|
1136
|
-
export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "dashboard" | "custom_variable" | "coupon" | "usergroup" | "saved_view" | "app" | "role";
|
|
1120
|
+
export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "dashboard" | "custom_variable" | "coupon" | "usergroup" | "saved_view" | "app" | "role" | "portal_config";
|
|
1137
1121
|
export interface ResourceReplacement {
|
|
1138
1122
|
/**
|
|
1139
1123
|
* Original resource ID to be replaced
|
|
@@ -1252,10 +1236,10 @@ declare namespace Paths {
|
|
|
1252
1236
|
export interface QueryParameters {
|
|
1253
1237
|
add_dependencies?: /* Whether to add this resource dependencies to the blueprint automatically */ Parameters.AddDependencies;
|
|
1254
1238
|
}
|
|
1255
|
-
export type RequestBody = Components.Schemas.
|
|
1239
|
+
export type RequestBody = Components.Schemas.BlueprintResource;
|
|
1256
1240
|
namespace Responses {
|
|
1257
1241
|
export interface $200 {
|
|
1258
|
-
resources?:
|
|
1242
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1259
1243
|
}
|
|
1260
1244
|
}
|
|
1261
1245
|
}
|
|
@@ -1311,10 +1295,10 @@ declare namespace Paths {
|
|
|
1311
1295
|
export interface QueryParameters {
|
|
1312
1296
|
add_dependencies?: /* Whether to add this resource dependencies to the blueprint automatically */ Parameters.AddDependencies;
|
|
1313
1297
|
}
|
|
1314
|
-
export type RequestBody =
|
|
1298
|
+
export type RequestBody = Components.Schemas.BlueprintResource[];
|
|
1315
1299
|
namespace Responses {
|
|
1316
1300
|
export interface $200 {
|
|
1317
|
-
resources?:
|
|
1301
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1318
1302
|
}
|
|
1319
1303
|
}
|
|
1320
1304
|
}
|
|
@@ -1338,7 +1322,7 @@ declare namespace Paths {
|
|
|
1338
1322
|
Components.Schemas.BlueprintResourceID[];
|
|
1339
1323
|
namespace Responses {
|
|
1340
1324
|
export interface $200 {
|
|
1341
|
-
resources?:
|
|
1325
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1342
1326
|
}
|
|
1343
1327
|
}
|
|
1344
1328
|
}
|
|
@@ -1354,10 +1338,10 @@ declare namespace Paths {
|
|
|
1354
1338
|
export interface PathParameters {
|
|
1355
1339
|
blueprint_id: Parameters.BlueprintId;
|
|
1356
1340
|
}
|
|
1357
|
-
export type RequestBody =
|
|
1341
|
+
export type RequestBody = Components.Schemas.BlueprintResource[];
|
|
1358
1342
|
namespace Responses {
|
|
1359
1343
|
export interface $200 {
|
|
1360
|
-
resources?:
|
|
1344
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1361
1345
|
}
|
|
1362
1346
|
}
|
|
1363
1347
|
}
|
|
@@ -1569,7 +1553,7 @@ declare namespace Paths {
|
|
|
1569
1553
|
}
|
|
1570
1554
|
namespace Responses {
|
|
1571
1555
|
export interface $200 {
|
|
1572
|
-
resources?:
|
|
1556
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1573
1557
|
}
|
|
1574
1558
|
}
|
|
1575
1559
|
}
|
|
@@ -1813,7 +1797,7 @@ declare namespace Paths {
|
|
|
1813
1797
|
}
|
|
1814
1798
|
namespace Responses {
|
|
1815
1799
|
export interface $200 {
|
|
1816
|
-
resources?:
|
|
1800
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1817
1801
|
}
|
|
1818
1802
|
}
|
|
1819
1803
|
}
|
|
@@ -1853,10 +1837,10 @@ declare namespace Paths {
|
|
|
1853
1837
|
blueprint_id: Parameters.BlueprintId;
|
|
1854
1838
|
resource_id: Parameters.ResourceId;
|
|
1855
1839
|
}
|
|
1856
|
-
export type RequestBody = Components.Schemas.
|
|
1840
|
+
export type RequestBody = Components.Schemas.BlueprintResource;
|
|
1857
1841
|
namespace Responses {
|
|
1858
1842
|
export interface $200 {
|
|
1859
|
-
resources?:
|
|
1843
|
+
resources?: Components.Schemas.BlueprintResource[];
|
|
1860
1844
|
}
|
|
1861
1845
|
}
|
|
1862
1846
|
}
|
|
@@ -2548,12 +2532,10 @@ export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
|
|
|
2548
2532
|
export type CommonResourceNode = Components.Schemas.CommonResourceNode;
|
|
2549
2533
|
export type CustomBlueprint = Components.Schemas.CustomBlueprint;
|
|
2550
2534
|
export type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
|
|
2551
|
-
export type EditableBlueprintResource = Components.Schemas.EditableBlueprintResource;
|
|
2552
2535
|
export type FileBlueprint = Components.Schemas.FileBlueprint;
|
|
2553
2536
|
export type FormattedError = Components.Schemas.FormattedError;
|
|
2554
2537
|
export type FormattedErrorCodes = Components.Schemas.FormattedErrorCodes;
|
|
2555
2538
|
export type FormattedErrorData = Components.Schemas.FormattedErrorData;
|
|
2556
|
-
export type InstalledBlueprintResource = Components.Schemas.InstalledBlueprintResource;
|
|
2557
2539
|
export type Job = Components.Schemas.Job;
|
|
2558
2540
|
export type JobID = Components.Schemas.JobID;
|
|
2559
2541
|
export type JobStatus = Components.Schemas.JobStatus;
|
package/dist/openapi.json
CHANGED
|
@@ -1002,14 +1002,7 @@
|
|
|
1002
1002
|
"content": {
|
|
1003
1003
|
"application/json": {
|
|
1004
1004
|
"schema": {
|
|
1005
|
-
"
|
|
1006
|
-
{
|
|
1007
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1008
|
-
},
|
|
1009
|
-
{
|
|
1010
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1011
|
-
}
|
|
1012
|
-
]
|
|
1005
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1013
1006
|
}
|
|
1014
1007
|
}
|
|
1015
1008
|
}
|
|
@@ -1025,14 +1018,7 @@
|
|
|
1025
1018
|
"resources": {
|
|
1026
1019
|
"type": "array",
|
|
1027
1020
|
"items": {
|
|
1028
|
-
"
|
|
1029
|
-
{
|
|
1030
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1034
|
-
}
|
|
1035
|
-
]
|
|
1021
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1036
1022
|
}
|
|
1037
1023
|
}
|
|
1038
1024
|
}
|
|
@@ -1072,14 +1058,7 @@
|
|
|
1072
1058
|
"resources": {
|
|
1073
1059
|
"type": "array",
|
|
1074
1060
|
"items": {
|
|
1075
|
-
"
|
|
1076
|
-
{
|
|
1077
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1081
|
-
}
|
|
1082
|
-
]
|
|
1061
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1083
1062
|
}
|
|
1084
1063
|
}
|
|
1085
1064
|
}
|
|
@@ -1123,14 +1102,7 @@
|
|
|
1123
1102
|
"schema": {
|
|
1124
1103
|
"type": "array",
|
|
1125
1104
|
"items": {
|
|
1126
|
-
"
|
|
1127
|
-
{
|
|
1128
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1132
|
-
}
|
|
1133
|
-
]
|
|
1105
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1134
1106
|
}
|
|
1135
1107
|
}
|
|
1136
1108
|
}
|
|
@@ -1147,14 +1119,7 @@
|
|
|
1147
1119
|
"resources": {
|
|
1148
1120
|
"type": "array",
|
|
1149
1121
|
"items": {
|
|
1150
|
-
"
|
|
1151
|
-
{
|
|
1152
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1156
|
-
}
|
|
1157
|
-
]
|
|
1122
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1158
1123
|
}
|
|
1159
1124
|
}
|
|
1160
1125
|
}
|
|
@@ -1187,14 +1152,7 @@
|
|
|
1187
1152
|
"schema": {
|
|
1188
1153
|
"type": "array",
|
|
1189
1154
|
"items": {
|
|
1190
|
-
"
|
|
1191
|
-
{
|
|
1192
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1193
|
-
},
|
|
1194
|
-
{
|
|
1195
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1196
|
-
}
|
|
1197
|
-
]
|
|
1155
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1198
1156
|
}
|
|
1199
1157
|
}
|
|
1200
1158
|
}
|
|
@@ -1211,14 +1169,7 @@
|
|
|
1211
1169
|
"resources": {
|
|
1212
1170
|
"type": "array",
|
|
1213
1171
|
"items": {
|
|
1214
|
-
"
|
|
1215
|
-
{
|
|
1216
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1217
|
-
},
|
|
1218
|
-
{
|
|
1219
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1220
|
-
}
|
|
1221
|
-
]
|
|
1172
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1222
1173
|
}
|
|
1223
1174
|
}
|
|
1224
1175
|
}
|
|
@@ -1268,14 +1219,7 @@
|
|
|
1268
1219
|
"resources": {
|
|
1269
1220
|
"type": "array",
|
|
1270
1221
|
"items": {
|
|
1271
|
-
"
|
|
1272
|
-
{
|
|
1273
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1274
|
-
},
|
|
1275
|
-
{
|
|
1276
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1277
|
-
}
|
|
1278
|
-
]
|
|
1222
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1279
1223
|
}
|
|
1280
1224
|
}
|
|
1281
1225
|
}
|
|
@@ -1316,14 +1260,7 @@
|
|
|
1316
1260
|
"content": {
|
|
1317
1261
|
"application/json": {
|
|
1318
1262
|
"schema": {
|
|
1319
|
-
"
|
|
1320
|
-
{
|
|
1321
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1322
|
-
},
|
|
1323
|
-
{
|
|
1324
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1325
|
-
}
|
|
1326
|
-
]
|
|
1263
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1327
1264
|
}
|
|
1328
1265
|
}
|
|
1329
1266
|
}
|
|
@@ -1339,14 +1276,7 @@
|
|
|
1339
1276
|
"resources": {
|
|
1340
1277
|
"type": "array",
|
|
1341
1278
|
"items": {
|
|
1342
|
-
"
|
|
1343
|
-
{
|
|
1344
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1348
|
-
}
|
|
1349
|
-
]
|
|
1279
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1350
1280
|
}
|
|
1351
1281
|
}
|
|
1352
1282
|
}
|
|
@@ -1392,14 +1322,7 @@
|
|
|
1392
1322
|
"resources": {
|
|
1393
1323
|
"type": "array",
|
|
1394
1324
|
"items": {
|
|
1395
|
-
"
|
|
1396
|
-
{
|
|
1397
|
-
"$ref": "#/components/schemas/EditableBlueprintResource"
|
|
1398
|
-
},
|
|
1399
|
-
{
|
|
1400
|
-
"$ref": "#/components/schemas/InstalledBlueprintResource"
|
|
1401
|
-
}
|
|
1402
|
-
]
|
|
1325
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1403
1326
|
}
|
|
1404
1327
|
}
|
|
1405
1328
|
}
|
|
@@ -1586,6 +1509,10 @@
|
|
|
1586
1509
|
"latest_download_file": {
|
|
1587
1510
|
"$ref": "#/components/schemas/S3Reference"
|
|
1588
1511
|
},
|
|
1512
|
+
"is_verified": {
|
|
1513
|
+
"type": "boolean",
|
|
1514
|
+
"description": "Whether the blueprint is verified by epilot"
|
|
1515
|
+
},
|
|
1589
1516
|
"created_at": {
|
|
1590
1517
|
"type": "string",
|
|
1591
1518
|
"format": "date-time"
|
|
@@ -1626,49 +1553,41 @@
|
|
|
1626
1553
|
},
|
|
1627
1554
|
"is_ready": {
|
|
1628
1555
|
"type": "boolean",
|
|
1629
|
-
"description": "
|
|
1630
|
-
}
|
|
1631
|
-
},
|
|
1632
|
-
"required": [
|
|
1633
|
-
"id",
|
|
1634
|
-
"type"
|
|
1635
|
-
]
|
|
1636
|
-
},
|
|
1637
|
-
"EditableBlueprintResource": {
|
|
1638
|
-
"allOf": [
|
|
1639
|
-
{
|
|
1640
|
-
"$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"
|
|
1641
1557
|
},
|
|
1642
|
-
{
|
|
1643
|
-
"type": "
|
|
1644
|
-
"
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
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"
|
|
1649
1566
|
}
|
|
1650
|
-
}
|
|
1651
|
-
]
|
|
1652
|
-
},
|
|
1653
|
-
"InstalledBlueprintResource": {
|
|
1654
|
-
"allOf": [
|
|
1655
|
-
{
|
|
1656
|
-
"$ref": "#/components/schemas/BlueprintResource"
|
|
1657
1567
|
},
|
|
1658
|
-
{
|
|
1659
|
-
"type": "
|
|
1660
|
-
"
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
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
|
+
]
|
|
1670
1585
|
}
|
|
1671
1586
|
}
|
|
1587
|
+
},
|
|
1588
|
+
"required": [
|
|
1589
|
+
"id",
|
|
1590
|
+
"type"
|
|
1672
1591
|
]
|
|
1673
1592
|
},
|
|
1674
1593
|
"CustomBlueprint": {
|
|
@@ -1682,7 +1601,7 @@
|
|
|
1682
1601
|
"resources": {
|
|
1683
1602
|
"type": "array",
|
|
1684
1603
|
"items": {
|
|
1685
|
-
"$ref": "#/components/schemas/
|
|
1604
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1686
1605
|
}
|
|
1687
1606
|
},
|
|
1688
1607
|
"source_type": {
|
|
@@ -1704,10 +1623,6 @@
|
|
|
1704
1623
|
{
|
|
1705
1624
|
"type": "object",
|
|
1706
1625
|
"properties": {
|
|
1707
|
-
"is_verified": {
|
|
1708
|
-
"type": "boolean",
|
|
1709
|
-
"description": "Whether the blueprint is verified by epilot"
|
|
1710
|
-
},
|
|
1711
1626
|
"source_type": {
|
|
1712
1627
|
"type": "string",
|
|
1713
1628
|
"const": "file"
|
|
@@ -1715,7 +1630,7 @@
|
|
|
1715
1630
|
"resources": {
|
|
1716
1631
|
"type": "array",
|
|
1717
1632
|
"items": {
|
|
1718
|
-
"$ref": "#/components/schemas/
|
|
1633
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1719
1634
|
}
|
|
1720
1635
|
}
|
|
1721
1636
|
}
|
|
@@ -1737,10 +1652,6 @@
|
|
|
1737
1652
|
"type": "string",
|
|
1738
1653
|
"description": "URL to the blueprint documentation"
|
|
1739
1654
|
},
|
|
1740
|
-
"is_verified": {
|
|
1741
|
-
"type": "boolean",
|
|
1742
|
-
"description": "Whether the blueprint is verified by epilot"
|
|
1743
|
-
},
|
|
1744
1655
|
"source_type": {
|
|
1745
1656
|
"type": "string",
|
|
1746
1657
|
"const": "marketplace"
|
|
@@ -1748,7 +1659,7 @@
|
|
|
1748
1659
|
"resources": {
|
|
1749
1660
|
"type": "array",
|
|
1750
1661
|
"items": {
|
|
1751
|
-
"$ref": "#/components/schemas/
|
|
1662
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1752
1663
|
}
|
|
1753
1664
|
}
|
|
1754
1665
|
}
|
|
@@ -1773,7 +1684,7 @@
|
|
|
1773
1684
|
"resources": {
|
|
1774
1685
|
"type": "array",
|
|
1775
1686
|
"items": {
|
|
1776
|
-
"$ref": "#/components/schemas/
|
|
1687
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1777
1688
|
}
|
|
1778
1689
|
}
|
|
1779
1690
|
}
|
|
@@ -1791,10 +1702,6 @@
|
|
|
1791
1702
|
{
|
|
1792
1703
|
"type": "object",
|
|
1793
1704
|
"properties": {
|
|
1794
|
-
"is_verified": {
|
|
1795
|
-
"type": "boolean",
|
|
1796
|
-
"description": "Whether the blueprint is verified by epilot"
|
|
1797
|
-
},
|
|
1798
1705
|
"source_type": {
|
|
1799
1706
|
"type": "string",
|
|
1800
1707
|
"const": "app"
|
|
@@ -1802,7 +1709,7 @@
|
|
|
1802
1709
|
"resources": {
|
|
1803
1710
|
"type": "array",
|
|
1804
1711
|
"items": {
|
|
1805
|
-
"$ref": "#/components/schemas/
|
|
1712
|
+
"$ref": "#/components/schemas/BlueprintResource"
|
|
1806
1713
|
}
|
|
1807
1714
|
}
|
|
1808
1715
|
}
|
|
@@ -2077,7 +1984,8 @@
|
|
|
2077
1984
|
"usergroup",
|
|
2078
1985
|
"saved_view",
|
|
2079
1986
|
"app",
|
|
2080
|
-
"role"
|
|
1987
|
+
"role",
|
|
1988
|
+
"portal_config"
|
|
2081
1989
|
]
|
|
2082
1990
|
},
|
|
2083
1991
|
"PlanChanges": {
|