@epilot/blueprint-manifest-client 3.0.6 → 3.0.8

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 CHANGED
@@ -47,7 +47,6 @@ declare namespace Components {
47
47
  postinstall?: string;
48
48
  };
49
49
  version?: string;
50
- latest_download_file?: S3Reference;
51
50
  deployments?: {
52
51
  source_org_id?: string;
53
52
  source_blueprint_id?: string;
@@ -59,6 +58,7 @@ declare namespace Components {
59
58
  * Whether the blueprint is verified by epilot
60
59
  */
61
60
  is_verified?: boolean;
61
+ installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
62
62
  created_at?: string; // date-time
63
63
  updated_at?: string; // date-time
64
64
  created_by?: CallerIdentity;
@@ -251,7 +251,6 @@ declare namespace Components {
251
251
  postinstall?: string;
252
252
  };
253
253
  version?: string;
254
- latest_download_file?: S3Reference;
255
254
  deployments?: {
256
255
  source_org_id?: string;
257
256
  source_blueprint_id?: string;
@@ -263,6 +262,7 @@ declare namespace Components {
263
262
  * Whether the blueprint is verified by epilot
264
263
  */
265
264
  is_verified?: boolean;
265
+ installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
266
266
  created_at?: string; // date-time
267
267
  updated_at?: string; // date-time
268
268
  created_by?: CallerIdentity;
@@ -317,6 +317,16 @@ declare namespace Components {
317
317
  * 1.0.0
318
318
  */
319
319
  source_blueprint_version?: string;
320
+ pre_install_requirements?: /**
321
+ * List of feature settings that must be enabled before installing the blueprint
322
+ * example:
323
+ * [
324
+ * "journey_automation",
325
+ * "ticket-entities",
326
+ * "advanced_permissions"
327
+ * ]
328
+ */
329
+ PreInstallRequirements;
320
330
  /**
321
331
  * A URL to download the source blueprint file used to import the blueprint
322
332
  * example:
@@ -470,7 +480,6 @@ declare namespace Components {
470
480
  postinstall?: string;
471
481
  };
472
482
  version?: string;
473
- latest_download_file?: S3Reference;
474
483
  deployments?: {
475
484
  source_org_id?: string;
476
485
  source_blueprint_id?: string;
@@ -482,6 +491,7 @@ declare namespace Components {
482
491
  * Whether the blueprint is verified by epilot
483
492
  */
484
493
  is_verified?: boolean;
494
+ installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
485
495
  created_at?: string; // date-time
486
496
  updated_at?: string; // date-time
487
497
  created_by?: CallerIdentity;
@@ -515,7 +525,6 @@ declare namespace Components {
515
525
  postinstall?: string;
516
526
  };
517
527
  version?: string;
518
- latest_download_file?: S3Reference;
519
528
  deployments?: {
520
529
  source_org_id?: string;
521
530
  source_blueprint_id?: string;
@@ -527,6 +536,7 @@ declare namespace Components {
527
536
  * Whether the blueprint is verified by epilot
528
537
  */
529
538
  is_verified?: boolean;
539
+ installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
530
540
  created_at?: string; // date-time
531
541
  updated_at?: string; // date-time
532
542
  created_by?: CallerIdentity;
@@ -560,7 +570,6 @@ declare namespace Components {
560
570
  postinstall?: string;
561
571
  };
562
572
  version?: string;
563
- latest_download_file?: S3Reference;
564
573
  deployments?: {
565
574
  source_org_id?: string;
566
575
  source_blueprint_id?: string;
@@ -572,6 +581,7 @@ declare namespace Components {
572
581
  * Whether the blueprint is verified by epilot
573
582
  */
574
583
  is_verified?: boolean;
584
+ installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
575
585
  created_at?: string; // date-time
576
586
  updated_at?: string; // date-time
577
587
  created_by?: CallerIdentity;
@@ -694,6 +704,16 @@ declare namespace Components {
694
704
  * 1.0.0
695
705
  */
696
706
  source_blueprint_version?: string;
707
+ pre_install_requirements?: /**
708
+ * List of feature settings that must be enabled before installing the blueprint
709
+ * example:
710
+ * [
711
+ * "journey_automation",
712
+ * "ticket-entities",
713
+ * "advanced_permissions"
714
+ * ]
715
+ */
716
+ PreInstallRequirements;
697
717
  /**
698
718
  * A URL to download the source blueprint file used to import the blueprint
699
719
  * example:
@@ -816,6 +836,16 @@ declare namespace Components {
816
836
  * 1.0.0
817
837
  */
818
838
  source_blueprint_version?: string;
839
+ pre_install_requirements?: /**
840
+ * List of feature settings that must be enabled before installing the blueprint
841
+ * example:
842
+ * [
843
+ * "journey_automation",
844
+ * "ticket-entities",
845
+ * "advanced_permissions"
846
+ * ]
847
+ */
848
+ PreInstallRequirements;
819
849
  /**
820
850
  * A URL to download the source blueprint file used to import the blueprint
821
851
  * example:
@@ -971,6 +1001,16 @@ declare namespace Components {
971
1001
  * 1.0.0
972
1002
  */
973
1003
  source_blueprint_version?: string;
1004
+ pre_install_requirements?: /**
1005
+ * List of feature settings that must be enabled before installing the blueprint
1006
+ * example:
1007
+ * [
1008
+ * "journey_automation",
1009
+ * "ticket-entities",
1010
+ * "advanced_permissions"
1011
+ * ]
1012
+ */
1013
+ PreInstallRequirements;
974
1014
  /**
975
1015
  * A URL to download the source blueprint file used to import the blueprint
976
1016
  * example:
@@ -1096,7 +1136,6 @@ declare namespace Components {
1096
1136
  postinstall?: string;
1097
1137
  };
1098
1138
  version?: string;
1099
- latest_download_file?: S3Reference;
1100
1139
  deployments?: {
1101
1140
  source_org_id?: string;
1102
1141
  source_blueprint_id?: string;
@@ -1108,6 +1147,7 @@ declare namespace Components {
1108
1147
  * Whether the blueprint is verified by epilot
1109
1148
  */
1110
1149
  is_verified?: boolean;
1150
+ installation_status?: "IN_PROGRESS" | "CANCELED" | "PARTIAL" | "SUCCESS" | "FAILED";
1111
1151
  created_at?: string; // date-time
1112
1152
  updated_at?: string; // date-time
1113
1153
  created_by?: CallerIdentity;
@@ -1120,6 +1160,16 @@ declare namespace Components {
1120
1160
  resources?: BlueprintResource[];
1121
1161
  }
1122
1162
  export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete")[];
1163
+ /**
1164
+ * List of feature settings that must be enabled before installing the blueprint
1165
+ * example:
1166
+ * [
1167
+ * "journey_automation",
1168
+ * "ticket-entities",
1169
+ * "advanced_permissions"
1170
+ * ]
1171
+ */
1172
+ export type PreInstallRequirements = string[];
1123
1173
  export interface PutManifestPayload {
1124
1174
  /**
1125
1175
  * Name of the source blueprint
@@ -1177,6 +1227,10 @@ declare namespace Components {
1177
1227
  type?: /* Type of the resource */ ResourceNodeType;
1178
1228
  }[];
1179
1229
  changes?: PlanChanges;
1230
+ /**
1231
+ * Fields causing the updates / internal updates on a resource install
1232
+ */
1233
+ changes_reason?: string[];
1180
1234
  }
1181
1235
  /**
1182
1236
  * Type of the resource
@@ -1223,6 +1277,10 @@ declare namespace Components {
1223
1277
  */
1224
1278
  dependencies?: VirtualResourceNodeGroup[] | null;
1225
1279
  changes?: PlanChanges;
1280
+ /**
1281
+ * Fields causing the updates / internal updates on a resource install
1282
+ */
1283
+ changes_reason?: string[];
1226
1284
  }
1227
1285
  export interface S3Reference {
1228
1286
  /**
@@ -2623,6 +2681,7 @@ export type ManifestSource = Components.Schemas.ManifestSource;
2623
2681
  export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
2624
2682
  export type MarketplaceBlueprint = Components.Schemas.MarketplaceBlueprint;
2625
2683
  export type PlanChanges = Components.Schemas.PlanChanges;
2684
+ export type PreInstallRequirements = Components.Schemas.PreInstallRequirements;
2626
2685
  export type PutManifestPayload = Components.Schemas.PutManifestPayload;
2627
2686
  export type ResourceNode = Components.Schemas.ResourceNode;
2628
2687
  export type ResourceNodeType = Components.Schemas.ResourceNodeType;
package/dist/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Blueprint Manifest API",
5
- "version": "2.1.1",
5
+ "version": "2.1.2",
6
6
  "description": "Service to create and install Blueprint Manifest files"
7
7
  },
8
8
  "tags": [
@@ -1540,9 +1540,6 @@
1540
1540
  "version": {
1541
1541
  "type": "string"
1542
1542
  },
1543
- "latest_download_file": {
1544
- "$ref": "#/components/schemas/S3Reference"
1545
- },
1546
1543
  "deployments": {
1547
1544
  "type": "array",
1548
1545
  "items": {
@@ -1571,6 +1568,16 @@
1571
1568
  "type": "boolean",
1572
1569
  "description": "Whether the blueprint is verified by epilot"
1573
1570
  },
1571
+ "installation_status": {
1572
+ "type": "string",
1573
+ "enum": [
1574
+ "IN_PROGRESS",
1575
+ "CANCELED",
1576
+ "PARTIAL",
1577
+ "SUCCESS",
1578
+ "FAILED"
1579
+ ]
1580
+ },
1574
1581
  "created_at": {
1575
1582
  "type": "string",
1576
1583
  "format": "date-time"
@@ -2139,6 +2146,13 @@
2139
2146
  },
2140
2147
  "changes": {
2141
2148
  "$ref": "#/components/schemas/PlanChanges"
2149
+ },
2150
+ "changes_reason": {
2151
+ "type": "array",
2152
+ "description": "Fields causing the updates / internal updates on a resource install",
2153
+ "items": {
2154
+ "type": "string"
2155
+ }
2142
2156
  }
2143
2157
  }
2144
2158
  }
@@ -2208,6 +2222,13 @@
2208
2222
  },
2209
2223
  "changes": {
2210
2224
  "$ref": "#/components/schemas/PlanChanges"
2225
+ },
2226
+ "changes_reason": {
2227
+ "type": "array",
2228
+ "description": "Fields causing the updates / internal updates on a resource install",
2229
+ "items": {
2230
+ "type": "string"
2231
+ }
2211
2232
  }
2212
2233
  }
2213
2234
  }
@@ -2356,6 +2377,9 @@
2356
2377
  "description": "Version of the blueprint (semver)",
2357
2378
  "example": "1.0.0"
2358
2379
  },
2380
+ "pre_install_requirements": {
2381
+ "$ref": "#/components/schemas/PreInstallRequirements"
2382
+ },
2359
2383
  "source_blueprint_file": {
2360
2384
  "type": "string",
2361
2385
  "deprecated": true,
@@ -2529,6 +2553,18 @@
2529
2553
  }
2530
2554
  }
2531
2555
  },
2556
+ "PreInstallRequirements": {
2557
+ "type": "array",
2558
+ "items": {
2559
+ "type": "string"
2560
+ },
2561
+ "description": "List of feature settings that must be enabled before installing the blueprint",
2562
+ "example": [
2563
+ "journey_automation",
2564
+ "ticket-entities",
2565
+ "advanced_permissions"
2566
+ ]
2567
+ },
2532
2568
  "BlueprintInstallStatus": {
2533
2569
  "type": "string",
2534
2570
  "enum": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "3.0.6",
3
+ "version": "3.0.8",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",