@epilot/blueprint-manifest-client 3.10.0 → 4.0.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/dist/openapi.d.ts CHANGED
@@ -185,6 +185,36 @@ declare namespace Components {
185
185
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
186
186
  */
187
187
  export type BlueprintJobID = string;
188
+ /**
189
+ * Preview data for a blueprint before installation. Stored temporarily with TTL.
190
+ */
191
+ export interface BlueprintPreview {
192
+ /**
193
+ * Unique preview ID
194
+ */
195
+ id: string;
196
+ /**
197
+ * Organization ID
198
+ */
199
+ org_id: string;
200
+ title: string;
201
+ description?: {
202
+ preinstall?: string;
203
+ };
204
+ version?: string;
205
+ slug?: string;
206
+ source_type: "marketplace" | "file";
207
+ /**
208
+ * S3 key of the blueprint zip file
209
+ */
210
+ blueprint_file_s3_key: string;
211
+ is_verified: boolean;
212
+ docs_url?: string;
213
+ compatible_apps?: string[];
214
+ created_at: string; // date-time
215
+ created_by: CallerIdentity;
216
+ resources: BlueprintResource[];
217
+ }
188
218
  export interface BlueprintResource {
189
219
  id: /**
190
220
  * ID of a blueprint resource
@@ -2108,7 +2138,7 @@ declare namespace Paths {
2108
2138
  slug?: string;
2109
2139
  }
2110
2140
  namespace Responses {
2111
- export type $200 = Components.Schemas.Blueprint;
2141
+ export type $200 = /* Preview data for a blueprint before installation. Stored temporarily with TTL. */ Components.Schemas.BlueprintPreview;
2112
2142
  }
2113
2143
  }
2114
2144
  namespace SyncDependencies {
@@ -2904,6 +2934,7 @@ export type BlueprintInstallationJobOptions = Components.Schemas.BlueprintInstal
2904
2934
  export type BlueprintJob = Components.Schemas.BlueprintJob;
2905
2935
  export type BlueprintJobEvent = Components.Schemas.BlueprintJobEvent;
2906
2936
  export type BlueprintJobID = Components.Schemas.BlueprintJobID;
2937
+ export type BlueprintPreview = Components.Schemas.BlueprintPreview;
2907
2938
  export type BlueprintResource = Components.Schemas.BlueprintResource;
2908
2939
  export type BlueprintResourceID = Components.Schemas.BlueprintResourceID;
2909
2940
  export type CallerIdentity = Components.Schemas.CallerIdentity;
package/dist/openapi.json CHANGED
@@ -829,11 +829,11 @@
829
829
  },
830
830
  "responses": {
831
831
  "200": {
832
- "description": "Pre-installed Blueprint",
832
+ "description": "Blueprint preview data for UI display",
833
833
  "content": {
834
834
  "application/json": {
835
835
  "schema": {
836
- "$ref": "#/components/schemas/Blueprint"
836
+ "$ref": "#/components/schemas/BlueprintPreview"
837
837
  }
838
838
  }
839
839
  }
@@ -1783,6 +1783,84 @@
1783
1783
  "type"
1784
1784
  ]
1785
1785
  },
1786
+ "BlueprintPreview": {
1787
+ "type": "object",
1788
+ "description": "Preview data for a blueprint before installation. Stored temporarily with TTL.",
1789
+ "properties": {
1790
+ "id": {
1791
+ "type": "string",
1792
+ "description": "Unique preview ID"
1793
+ },
1794
+ "org_id": {
1795
+ "type": "string",
1796
+ "description": "Organization ID"
1797
+ },
1798
+ "title": {
1799
+ "type": "string"
1800
+ },
1801
+ "description": {
1802
+ "type": "object",
1803
+ "properties": {
1804
+ "preinstall": {
1805
+ "type": "string"
1806
+ }
1807
+ }
1808
+ },
1809
+ "version": {
1810
+ "type": "string"
1811
+ },
1812
+ "slug": {
1813
+ "type": "string"
1814
+ },
1815
+ "source_type": {
1816
+ "type": "string",
1817
+ "enum": [
1818
+ "marketplace",
1819
+ "file"
1820
+ ]
1821
+ },
1822
+ "blueprint_file_s3_key": {
1823
+ "type": "string",
1824
+ "description": "S3 key of the blueprint zip file"
1825
+ },
1826
+ "is_verified": {
1827
+ "type": "boolean"
1828
+ },
1829
+ "docs_url": {
1830
+ "type": "string"
1831
+ },
1832
+ "compatible_apps": {
1833
+ "type": "array",
1834
+ "items": {
1835
+ "type": "string"
1836
+ }
1837
+ },
1838
+ "created_at": {
1839
+ "type": "string",
1840
+ "format": "date-time"
1841
+ },
1842
+ "created_by": {
1843
+ "$ref": "#/components/schemas/CallerIdentity"
1844
+ },
1845
+ "resources": {
1846
+ "type": "array",
1847
+ "items": {
1848
+ "$ref": "#/components/schemas/BlueprintResource"
1849
+ }
1850
+ }
1851
+ },
1852
+ "required": [
1853
+ "id",
1854
+ "org_id",
1855
+ "title",
1856
+ "source_type",
1857
+ "blueprint_file_s3_key",
1858
+ "is_verified",
1859
+ "created_at",
1860
+ "created_by",
1861
+ "resources"
1862
+ ]
1863
+ },
1786
1864
  "CustomBlueprint": {
1787
1865
  "allOf": [
1788
1866
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "3.10.0",
3
+ "version": "4.0.0",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",