@epilot/blueprint-manifest-client 3.8.1 → 3.9.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/definition.js +1 -1
- package/dist/openapi-runtime.json +5 -0
- package/dist/openapi.d.ts +39 -3
- package/dist/openapi.json +38 -0
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
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})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -686,7 +686,7 @@ declare namespace Components {
|
|
|
686
686
|
resources?: string[];
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
|
-
export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch";
|
|
689
|
+
export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch";
|
|
690
690
|
export interface FormattedErrorData {
|
|
691
691
|
id?: string;
|
|
692
692
|
name?: string;
|
|
@@ -730,6 +730,16 @@ declare namespace Components {
|
|
|
730
730
|
* v2.0.0
|
|
731
731
|
*/
|
|
732
732
|
latest_marketplace_version?: string;
|
|
733
|
+
/**
|
|
734
|
+
* URL to install/update the blueprint from the marketplace
|
|
735
|
+
*/
|
|
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;
|
|
733
743
|
}
|
|
734
744
|
export interface Job {
|
|
735
745
|
job_id?: /**
|
|
@@ -1301,6 +1311,26 @@ declare namespace Components {
|
|
|
1301
1311
|
* List of compatible app IDs for the blueprint
|
|
1302
1312
|
*/
|
|
1303
1313
|
compatible_apps?: string[];
|
|
1314
|
+
/**
|
|
1315
|
+
* Whether a newer version is available in the marketplace. Only present when include_marketplace_info=true.
|
|
1316
|
+
*/
|
|
1317
|
+
has_update_available?: boolean;
|
|
1318
|
+
/**
|
|
1319
|
+
* The latest version available in the marketplace. Only present when include_marketplace_info=true.
|
|
1320
|
+
* example:
|
|
1321
|
+
* v2.0.0
|
|
1322
|
+
*/
|
|
1323
|
+
latest_marketplace_version?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* URL to install/update the blueprint from the marketplace. Only present when include_marketplace_info=true.
|
|
1326
|
+
*/
|
|
1327
|
+
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;
|
|
1304
1334
|
}
|
|
1305
1335
|
export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete")[];
|
|
1306
1336
|
/**
|
|
@@ -1925,10 +1955,14 @@ declare namespace Paths {
|
|
|
1925
1955
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
1926
1956
|
*/
|
|
1927
1957
|
Components.Schemas.BlueprintID;
|
|
1958
|
+
export type IncludeMarketplaceInfo = boolean;
|
|
1928
1959
|
}
|
|
1929
1960
|
export interface PathParameters {
|
|
1930
1961
|
blueprint_id: Parameters.BlueprintId;
|
|
1931
1962
|
}
|
|
1963
|
+
export interface QueryParameters {
|
|
1964
|
+
include_marketplace_info?: Parameters.IncludeMarketplaceInfo;
|
|
1965
|
+
}
|
|
1932
1966
|
namespace Responses {
|
|
1933
1967
|
export type $200 = Components.Schemas.Blueprint;
|
|
1934
1968
|
}
|
|
@@ -2191,6 +2225,7 @@ declare namespace Paths {
|
|
|
2191
2225
|
}
|
|
2192
2226
|
}
|
|
2193
2227
|
|
|
2228
|
+
|
|
2194
2229
|
export interface OperationMethods {
|
|
2195
2230
|
/**
|
|
2196
2231
|
* getJob - getJob
|
|
@@ -2362,7 +2397,7 @@ export interface OperationMethods {
|
|
|
2362
2397
|
* Get Blueprint by ID
|
|
2363
2398
|
*/
|
|
2364
2399
|
'getBlueprint'(
|
|
2365
|
-
parameters?: Parameters<Paths.GetBlueprint.PathParameters> | null,
|
|
2400
|
+
parameters?: Parameters<Paths.GetBlueprint.QueryParameters & Paths.GetBlueprint.PathParameters> | null,
|
|
2366
2401
|
data?: any,
|
|
2367
2402
|
config?: AxiosRequestConfig
|
|
2368
2403
|
): OperationResponse<Paths.GetBlueprint.Responses.$200>
|
|
@@ -2705,7 +2740,7 @@ export interface PathsDictionary {
|
|
|
2705
2740
|
* Get Blueprint by ID
|
|
2706
2741
|
*/
|
|
2707
2742
|
'get'(
|
|
2708
|
-
parameters?: Parameters<Paths.GetBlueprint.PathParameters> | null,
|
|
2743
|
+
parameters?: Parameters<Paths.GetBlueprint.QueryParameters & Paths.GetBlueprint.PathParameters> | null,
|
|
2709
2744
|
data?: any,
|
|
2710
2745
|
config?: AxiosRequestConfig
|
|
2711
2746
|
): OperationResponse<Paths.GetBlueprint.Responses.$200>
|
|
@@ -2873,6 +2908,7 @@ export interface PathsDictionary {
|
|
|
2873
2908
|
|
|
2874
2909
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2875
2910
|
|
|
2911
|
+
|
|
2876
2912
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
2877
2913
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
2878
2914
|
export type BlueprintDependenciesSyncJob = Components.Schemas.BlueprintDependenciesSyncJob;
|
package/dist/openapi.json
CHANGED
|
@@ -947,6 +947,16 @@
|
|
|
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)"
|
|
950
960
|
}
|
|
951
961
|
],
|
|
952
962
|
"responses": {
|
|
@@ -1861,6 +1871,24 @@
|
|
|
1861
1871
|
"type": "string"
|
|
1862
1872
|
},
|
|
1863
1873
|
"description": "List of compatible app IDs for the blueprint"
|
|
1874
|
+
},
|
|
1875
|
+
"has_update_available": {
|
|
1876
|
+
"type": "boolean",
|
|
1877
|
+
"description": "Whether a newer version is available in the marketplace. Only present when include_marketplace_info=true."
|
|
1878
|
+
},
|
|
1879
|
+
"latest_marketplace_version": {
|
|
1880
|
+
"type": "string",
|
|
1881
|
+
"description": "The latest version available in the marketplace. Only present when include_marketplace_info=true.",
|
|
1882
|
+
"example": "v2.0.0"
|
|
1883
|
+
},
|
|
1884
|
+
"installation_link": {
|
|
1885
|
+
"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"
|
|
1864
1892
|
}
|
|
1865
1893
|
}
|
|
1866
1894
|
}
|
|
@@ -1909,6 +1937,15 @@
|
|
|
1909
1937
|
"type": "string",
|
|
1910
1938
|
"description": "The latest version available in the marketplace",
|
|
1911
1939
|
"example": "v2.0.0"
|
|
1940
|
+
},
|
|
1941
|
+
"installation_link": {
|
|
1942
|
+
"type": "string",
|
|
1943
|
+
"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"
|
|
1912
1949
|
}
|
|
1913
1950
|
},
|
|
1914
1951
|
"required": [
|
|
@@ -2798,6 +2835,7 @@
|
|
|
2798
2835
|
"generic_error",
|
|
2799
2836
|
"bad_request",
|
|
2800
2837
|
"forbidden",
|
|
2838
|
+
"conflict",
|
|
2801
2839
|
"not_found",
|
|
2802
2840
|
"undeclared_resource",
|
|
2803
2841
|
"invalid_readonly_attribute",
|