@epilot/blueprint-manifest-client 3.9.0 → 3.10.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.
@@ -1 +1 @@
1
- (()=>{"use strict";var e={390: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},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","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"responses":{}}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","deprecated":true,"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","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/manifests":{"get":{"operationId":"listInstalledManifests","deprecated":true,"responses":{}}},"/v1/blueprint-manifest/manifests/{manifest_id}":{"get":{"operationId":"getManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}},"put":{"operationId":"updateManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteManifest","deprecated":true,"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/blueprints:marketplace":{"get":{"operationId":"listInstalledMarketplaceBlueprints","responses":{}}},"/v2/blueprint-manifest/blueprints:pre-install":{"post":{"operationId":"preInstallBlueprint","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"},{"in":"query","name":"include_marketplace_info","required":false}],"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"}],"requestBody":{"required":false,"content":{"application/json":{}}},"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"}],"requestBody":{"required":false,"content":{"application/json":{}}},"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}}}}')}},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}(390),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={330: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},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","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"responses":{}}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","deprecated":true,"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","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/manifests":{"get":{"operationId":"listInstalledManifests","deprecated":true,"responses":{}}},"/v1/blueprint-manifest/manifests/{manifest_id}":{"get":{"operationId":"getManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}},"put":{"operationId":"updateManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteManifest","deprecated":true,"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/blueprints:marketplace":{"get":{"operationId":"listInstalledMarketplaceBlueprints","responses":{}}},"/v2/blueprint-manifest/blueprints:pre-install":{"post":{"operationId":"preInstallBlueprint","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"}],"requestBody":{"required":false,"content":{"application/json":{}}},"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"}],"requestBody":{"required":false,"content":{"application/json":{}}},"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}}}}')}},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}(330),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
@@ -193,11 +193,6 @@
193
193
  "in": "path",
194
194
  "required": true,
195
195
  "name": "blueprint_id"
196
- },
197
- {
198
- "in": "query",
199
- "name": "include_marketplace_info",
200
- "required": false
201
196
  }
202
197
  ],
203
198
  "responses": {}
package/dist/openapi.d.ts CHANGED
@@ -734,12 +734,6 @@ declare namespace Components {
734
734
  * URL to install/update the blueprint from the marketplace
735
735
  */
736
736
  installation_link?: string;
737
- /**
738
- * Localized slug of the blueprint from the epilot marketplace used to reconstruct the details page URL in the frontend
739
- * example:
740
- * solar-b2b-de
741
- */
742
- localized_slug?: string;
743
737
  }
744
738
  export interface Job {
745
739
  job_id?: /**
@@ -1312,25 +1306,19 @@ declare namespace Components {
1312
1306
  */
1313
1307
  compatible_apps?: string[];
1314
1308
  /**
1315
- * Whether a newer version is available in the marketplace. Only present when include_marketplace_info=true.
1309
+ * Whether a newer version is available in the marketplace.
1316
1310
  */
1317
1311
  has_update_available?: boolean;
1318
1312
  /**
1319
- * The latest version available in the marketplace. Only present when include_marketplace_info=true.
1313
+ * The latest version available in the marketplace.
1320
1314
  * example:
1321
1315
  * v2.0.0
1322
1316
  */
1323
1317
  latest_marketplace_version?: string;
1324
1318
  /**
1325
- * URL to install/update the blueprint from the marketplace. Only present when include_marketplace_info=true.
1319
+ * URL to install/update the blueprint from the marketplace.
1326
1320
  */
1327
1321
  installation_link?: string;
1328
- /**
1329
- * Localized slug of the blueprint from the epilot marketplace used to reconstruct the details page URL in the frontend. Only present when include_marketplace_info=true.
1330
- * example:
1331
- * solar-b2b-de
1332
- */
1333
- localized_slug?: string;
1334
1322
  }
1335
1323
  export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete")[];
1336
1324
  /**
@@ -1955,14 +1943,10 @@ declare namespace Paths {
1955
1943
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
1956
1944
  */
1957
1945
  Components.Schemas.BlueprintID;
1958
- export type IncludeMarketplaceInfo = boolean;
1959
1946
  }
1960
1947
  export interface PathParameters {
1961
1948
  blueprint_id: Parameters.BlueprintId;
1962
1949
  }
1963
- export interface QueryParameters {
1964
- include_marketplace_info?: Parameters.IncludeMarketplaceInfo;
1965
- }
1966
1950
  namespace Responses {
1967
1951
  export type $200 = Components.Schemas.Blueprint;
1968
1952
  }
@@ -2397,7 +2381,7 @@ export interface OperationMethods {
2397
2381
  * Get Blueprint by ID
2398
2382
  */
2399
2383
  'getBlueprint'(
2400
- parameters?: Parameters<Paths.GetBlueprint.QueryParameters & Paths.GetBlueprint.PathParameters> | null,
2384
+ parameters?: Parameters<Paths.GetBlueprint.PathParameters> | null,
2401
2385
  data?: any,
2402
2386
  config?: AxiosRequestConfig
2403
2387
  ): OperationResponse<Paths.GetBlueprint.Responses.$200>
@@ -2740,7 +2724,7 @@ export interface PathsDictionary {
2740
2724
  * Get Blueprint by ID
2741
2725
  */
2742
2726
  'get'(
2743
- parameters?: Parameters<Paths.GetBlueprint.QueryParameters & Paths.GetBlueprint.PathParameters> | null,
2727
+ parameters?: Parameters<Paths.GetBlueprint.PathParameters> | null,
2744
2728
  data?: any,
2745
2729
  config?: AxiosRequestConfig
2746
2730
  ): OperationResponse<Paths.GetBlueprint.Responses.$200>
package/dist/openapi.json CHANGED
@@ -947,16 +947,6 @@
947
947
  "schema": {
948
948
  "$ref": "#/components/schemas/BlueprintID"
949
949
  }
950
- },
951
- {
952
- "in": "query",
953
- "name": "include_marketplace_info",
954
- "required": false,
955
- "schema": {
956
- "type": "boolean",
957
- "default": false
958
- },
959
- "description": "When true and the blueprint is a marketplace blueprint, includes marketplace CMS item info fields (has_update_available, latest_marketplace_version, installation_link)"
960
950
  }
961
951
  ],
962
952
  "responses": {
@@ -1874,21 +1864,16 @@
1874
1864
  },
1875
1865
  "has_update_available": {
1876
1866
  "type": "boolean",
1877
- "description": "Whether a newer version is available in the marketplace. Only present when include_marketplace_info=true."
1867
+ "description": "Whether a newer version is available in the marketplace."
1878
1868
  },
1879
1869
  "latest_marketplace_version": {
1880
1870
  "type": "string",
1881
- "description": "The latest version available in the marketplace. Only present when include_marketplace_info=true.",
1871
+ "description": "The latest version available in the marketplace.",
1882
1872
  "example": "v2.0.0"
1883
1873
  },
1884
1874
  "installation_link": {
1885
1875
  "type": "string",
1886
- "description": "URL to install/update the blueprint from the marketplace. Only present when include_marketplace_info=true."
1887
- },
1888
- "localized_slug": {
1889
- "type": "string",
1890
- "description": "Localized slug of the blueprint from the epilot marketplace used to reconstruct the details page URL in the frontend. Only present when include_marketplace_info=true.",
1891
- "example": "solar-b2b-de"
1876
+ "description": "URL to install/update the blueprint from the marketplace."
1892
1877
  }
1893
1878
  }
1894
1879
  }
@@ -1941,11 +1926,6 @@
1941
1926
  "installation_link": {
1942
1927
  "type": "string",
1943
1928
  "description": "URL to install/update the blueprint from the marketplace"
1944
- },
1945
- "localized_slug": {
1946
- "type": "string",
1947
- "description": "Localized slug of the blueprint from the epilot marketplace used to reconstruct the details page URL in the frontend",
1948
- "example": "solar-b2b-de"
1949
1929
  }
1950
1930
  },
1951
1931
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",