@epilot/blueprint-manifest-client 4.5.2 → 4.6.1

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/client.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { Client } from './openapi';
1
+ import type { Client } from './openapi';
2
2
  export declare const getClient: () => Client;
3
3
  export declare const createClient: () => Client;
@@ -1 +1 @@
1
- (()=>{"use strict";var e={330(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(466));t.default=i.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","parameters":[{"name":"archived","in":"query","required":false}],"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/blueprints:preview/{preview_id}":{"get":{"operationId":"getBlueprintPreview","parameters":[{"in":"path","required":true,"name":"preview_id"}],"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}/validate":{"post":{"operationId":"validateBlueprint","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}:format-description":{"post":{"operationId":"formatBlueprintDescription","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"required":true,"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 i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}(330),n=exports;for(var i in r)n[i]=r[i];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={330(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(466));t.default=i.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","parameters":[{"name":"archived","in":"query","required":false}],"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/blueprints:preview/{preview_id}":{"get":{"operationId":"getBlueprintPreview","parameters":[{"in":"path","required":true,"name":"preview_id"}],"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}/validate":{"post":{"operationId":"validateBlueprint","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/marketplace/slugs":{"get":{"operationId":"listMarketplaceSlugs","responses":{}}},"/v2/blueprint-manifest/blueprints:publish":{"post":{"operationId":"publishBlueprint","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description":{"post":{"operationId":"formatBlueprintDescription","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"required":true,"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 i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}(330),n=exports;for(var i in r)n[i]=r[i];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
@@ -277,6 +277,24 @@
277
277
  "responses": {}
278
278
  }
279
279
  },
280
+ "/v2/blueprint-manifest/marketplace/slugs": {
281
+ "get": {
282
+ "operationId": "listMarketplaceSlugs",
283
+ "responses": {}
284
+ }
285
+ },
286
+ "/v2/blueprint-manifest/blueprints:publish": {
287
+ "post": {
288
+ "operationId": "publishBlueprint",
289
+ "requestBody": {
290
+ "required": true,
291
+ "content": {
292
+ "application/json": {}
293
+ }
294
+ },
295
+ "responses": {}
296
+ }
297
+ },
280
298
  "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description": {
281
299
  "post": {
282
300
  "operationId": "formatBlueprintDescription",
package/dist/openapi.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- /* eslint-disable */
2
-
3
1
  import type {
4
2
  OpenAPIClient,
5
3
  Parameters,
@@ -2381,6 +2379,34 @@ declare namespace Paths {
2381
2379
  }
2382
2380
  }
2383
2381
  }
2382
+ namespace ListMarketplaceSlugs {
2383
+ namespace Responses {
2384
+ export interface $200 {
2385
+ results?: {
2386
+ /**
2387
+ * example:
2388
+ * wallbox_b2c
2389
+ */
2390
+ slug?: string;
2391
+ /**
2392
+ * example:
2393
+ * v1.0.0
2394
+ */
2395
+ version?: string;
2396
+ /**
2397
+ * example:
2398
+ * Wallbox B2C
2399
+ */
2400
+ name?: string;
2401
+ /**
2402
+ * example:
2403
+ * https://portal.epilot.cloud/app/blueprints/install/marketplace/wallbox_b2c?s3Ref=https://example.com/blueprint.zip
2404
+ */
2405
+ installation_link?: string;
2406
+ }[];
2407
+ }
2408
+ }
2409
+ }
2384
2410
  namespace PreInstallBlueprint {
2385
2411
  export interface RequestBody {
2386
2412
  /**
@@ -2397,6 +2423,38 @@ declare namespace Paths {
2397
2423
  export type $200 = /* Preview data for a blueprint before installation. Stored temporarily with TTL. */ Components.Schemas.BlueprintPreview;
2398
2424
  }
2399
2425
  }
2426
+ namespace PublishBlueprint {
2427
+ export interface RequestBody {
2428
+ blueprint_id: /**
2429
+ * ID of a blueprint
2430
+ * example:
2431
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2432
+ */
2433
+ Components.Schemas.BlueprintID;
2434
+ /**
2435
+ * The marketplace installation slug for the Webflow CMS item
2436
+ */
2437
+ slug: string;
2438
+ /**
2439
+ * The version string to set on the marketplace CMS item (e.g. "1.0.0")
2440
+ */
2441
+ version?: string;
2442
+ /**
2443
+ * The display name for the blueprint on the marketplace CMS item
2444
+ */
2445
+ name?: string;
2446
+ }
2447
+ namespace Responses {
2448
+ export interface $202 {
2449
+ job_id?: /**
2450
+ * ID of a job
2451
+ * example:
2452
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2453
+ */
2454
+ Components.Schemas.BlueprintJobID;
2455
+ }
2456
+ }
2457
+ }
2400
2458
  namespace SyncDependencies {
2401
2459
  namespace Parameters {
2402
2460
  export type BlueprintId = /**
@@ -2749,6 +2807,29 @@ export interface OperationMethods {
2749
2807
  data?: Paths.ExportBlueprint.RequestBody,
2750
2808
  config?: AxiosRequestConfig
2751
2809
  ): OperationResponse<Paths.ExportBlueprint.Responses.$202>
2810
+ /**
2811
+ * listMarketplaceSlugs - listMarketplaceSlugs
2812
+ *
2813
+ * List all available marketplace blueprint slugs from Webflow CMS.
2814
+ * Returns cached results when available.
2815
+ *
2816
+ */
2817
+ 'listMarketplaceSlugs'(
2818
+ parameters?: Parameters<UnknownParamsObject> | null,
2819
+ data?: any,
2820
+ config?: AxiosRequestConfig
2821
+ ): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
2822
+ /**
2823
+ * publishBlueprint - publishBlueprint
2824
+ *
2825
+ * Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
2826
+ *
2827
+ */
2828
+ 'publishBlueprint'(
2829
+ parameters?: Parameters<UnknownParamsObject> | null,
2830
+ data?: Paths.PublishBlueprint.RequestBody,
2831
+ config?: AxiosRequestConfig
2832
+ ): OperationResponse<Paths.PublishBlueprint.Responses.$202>
2752
2833
  /**
2753
2834
  * formatBlueprintDescription - formatBlueprintDescription
2754
2835
  *
@@ -3132,6 +3213,33 @@ export interface PathsDictionary {
3132
3213
  config?: AxiosRequestConfig
3133
3214
  ): OperationResponse<Paths.ExportBlueprint.Responses.$202>
3134
3215
  }
3216
+ ['/v2/blueprint-manifest/marketplace/slugs']: {
3217
+ /**
3218
+ * listMarketplaceSlugs - listMarketplaceSlugs
3219
+ *
3220
+ * List all available marketplace blueprint slugs from Webflow CMS.
3221
+ * Returns cached results when available.
3222
+ *
3223
+ */
3224
+ 'get'(
3225
+ parameters?: Parameters<UnknownParamsObject> | null,
3226
+ data?: any,
3227
+ config?: AxiosRequestConfig
3228
+ ): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
3229
+ }
3230
+ ['/v2/blueprint-manifest/blueprints:publish']: {
3231
+ /**
3232
+ * publishBlueprint - publishBlueprint
3233
+ *
3234
+ * Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
3235
+ *
3236
+ */
3237
+ 'post'(
3238
+ parameters?: Parameters<UnknownParamsObject> | null,
3239
+ data?: Paths.PublishBlueprint.RequestBody,
3240
+ config?: AxiosRequestConfig
3241
+ ): OperationResponse<Paths.PublishBlueprint.Responses.$202>
3242
+ }
3135
3243
  ['/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description']: {
3136
3244
  /**
3137
3245
  * formatBlueprintDescription - formatBlueprintDescription
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": "4.5.0",
5
+ "version": "4.6.1",
6
6
  "description": "Service to create and install Blueprint Manifest files"
7
7
  },
8
8
  "tags": [
@@ -1191,6 +1191,120 @@
1191
1191
  }
1192
1192
  }
1193
1193
  },
1194
+ "/v2/blueprint-manifest/marketplace/slugs": {
1195
+ "get": {
1196
+ "operationId": "listMarketplaceSlugs",
1197
+ "summary": "listMarketplaceSlugs",
1198
+ "description": "List all available marketplace blueprint slugs from Webflow CMS.\nReturns cached results when available.\n",
1199
+ "tags": [
1200
+ "Blueprints"
1201
+ ],
1202
+ "responses": {
1203
+ "200": {
1204
+ "description": "List of marketplace slugs",
1205
+ "content": {
1206
+ "application/json": {
1207
+ "schema": {
1208
+ "type": "object",
1209
+ "properties": {
1210
+ "results": {
1211
+ "type": "array",
1212
+ "items": {
1213
+ "type": "object",
1214
+ "properties": {
1215
+ "slug": {
1216
+ "type": "string",
1217
+ "example": "wallbox_b2c"
1218
+ },
1219
+ "version": {
1220
+ "type": "string",
1221
+ "example": "v1.0.0"
1222
+ },
1223
+ "name": {
1224
+ "type": "string",
1225
+ "example": "Wallbox B2C"
1226
+ },
1227
+ "installation_link": {
1228
+ "type": "string",
1229
+ "example": "https://portal.epilot.cloud/app/blueprints/install/marketplace/wallbox_b2c?s3Ref=https://example.com/blueprint.zip"
1230
+ }
1231
+ }
1232
+ }
1233
+ }
1234
+ }
1235
+ }
1236
+ }
1237
+ }
1238
+ }
1239
+ }
1240
+ }
1241
+ },
1242
+ "/v2/blueprint-manifest/blueprints:publish": {
1243
+ "post": {
1244
+ "operationId": "publishBlueprint",
1245
+ "summary": "publishBlueprint",
1246
+ "description": "Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.\n",
1247
+ "tags": [
1248
+ "Blueprints"
1249
+ ],
1250
+ "requestBody": {
1251
+ "required": true,
1252
+ "content": {
1253
+ "application/json": {
1254
+ "schema": {
1255
+ "type": "object",
1256
+ "required": [
1257
+ "blueprint_id",
1258
+ "slug"
1259
+ ],
1260
+ "properties": {
1261
+ "blueprint_id": {
1262
+ "$ref": "#/components/schemas/BlueprintID"
1263
+ },
1264
+ "slug": {
1265
+ "type": "string",
1266
+ "description": "The marketplace installation slug for the Webflow CMS item"
1267
+ },
1268
+ "version": {
1269
+ "type": "string",
1270
+ "description": "The version string to set on the marketplace CMS item (e.g. \"1.0.0\")"
1271
+ },
1272
+ "name": {
1273
+ "type": "string",
1274
+ "description": "The display name for the blueprint on the marketplace CMS item"
1275
+ }
1276
+ }
1277
+ }
1278
+ }
1279
+ }
1280
+ },
1281
+ "responses": {
1282
+ "202": {
1283
+ "description": "Blueprint publish job started",
1284
+ "headers": {
1285
+ "Location": {
1286
+ "description": "URL to poll the job",
1287
+ "schema": {
1288
+ "type": "string"
1289
+ }
1290
+ }
1291
+ },
1292
+ "content": {
1293
+ "application/json": {
1294
+ "schema": {
1295
+ "type": "object",
1296
+ "properties": {
1297
+ "job_id": {
1298
+ "$ref": "#/components/schemas/BlueprintJobID"
1299
+ }
1300
+ }
1301
+ }
1302
+ }
1303
+ }
1304
+ }
1305
+ }
1306
+ }
1307
+ },
1194
1308
  "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description": {
1195
1309
  "post": {
1196
1310
  "operationId": "formatBlueprintDescription",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "4.5.2",
3
+ "version": "4.6.1",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,16 +22,16 @@
22
22
  "terraform"
23
23
  ],
24
24
  "scripts": {
25
- "test": "jest",
25
+ "test": "vitest",
26
26
  "bundle-definition": "webpack",
27
27
  "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/blueprint-manifest.yaml",
28
28
  "openapi:local": "node ../../scripts/update-openapi.js ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
29
- "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
29
+ "typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
30
30
  "build": "tsc && npm run build:patch && npm run bundle-definition",
31
31
  "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
32
32
  "build:watch": "npm run build && tsc -w",
33
33
  "prepublishOnly": "npm run typegen && npm run build",
34
- "lint": "pnpm exec eslint src"
34
+ "lint": "biome check src"
35
35
  },
36
36
  "files": [
37
37
  "*.js",
@@ -59,13 +59,10 @@
59
59
  "util": "^0.12.3"
60
60
  },
61
61
  "devDependencies": {
62
- "@types/jest": "^26.0.20",
63
62
  "axios": "^1.11.0",
64
63
  "copy-webpack-plugin": "^7.0.0",
65
- "jest": "^29.6.2",
66
64
  "json-loader": "^0.5.7",
67
65
  "openapicmd": "^2.7.0",
68
- "ts-jest": "^29.4.1",
69
66
  "ts-loader": "^8.0.14",
70
67
  "ts-node": "^10.9.1",
71
68
  "typescript": "^4.1.3",