@epilot/blueprint-manifest-client 2.3.0 → 2.3.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/README.md +4 -4
- package/dist/definition.js +1 -1
- package/dist/index.js +0 -1
- package/dist/openapi-runtime.json +42 -6
- package/dist/openapi.d.ts +406 -23
- package/dist/openapi.json +340 -116
- package/package.json +4 -4
- package/LICENSE +0 -21
package/dist/openapi.json
CHANGED
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "Import",
|
|
19
|
-
"description": "
|
|
19
|
+
"description": "Install or update a Blueprint Manifest"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "Manifests",
|
|
23
|
+
"description": "Manage installed Manifests"
|
|
20
24
|
}
|
|
21
25
|
],
|
|
22
26
|
"security": [
|
|
@@ -64,7 +68,7 @@
|
|
|
64
68
|
"post": {
|
|
65
69
|
"operationId": "createExport",
|
|
66
70
|
"summary": "createExport",
|
|
67
|
-
"description": "Creates a new Export Job with a list of available resources to export from the passed root resource.\n",
|
|
71
|
+
"description": "Creates a new Export Job with a list of available resources to export from the passed root resource.\n\nMultiple root resources can be added by calling this multiple times with the same jobId\n",
|
|
68
72
|
"tags": [
|
|
69
73
|
"Export"
|
|
70
74
|
],
|
|
@@ -75,25 +79,7 @@
|
|
|
75
79
|
"type": "object",
|
|
76
80
|
"properties": {
|
|
77
81
|
"resourceType": {
|
|
78
|
-
"
|
|
79
|
-
"enum": [
|
|
80
|
-
"journey",
|
|
81
|
-
"product",
|
|
82
|
-
"price",
|
|
83
|
-
"tax",
|
|
84
|
-
"automation_flow",
|
|
85
|
-
"designbuilder",
|
|
86
|
-
"file",
|
|
87
|
-
"emailtemplate",
|
|
88
|
-
"entity",
|
|
89
|
-
"schema",
|
|
90
|
-
"schema_attribute",
|
|
91
|
-
"schema_capability",
|
|
92
|
-
"schema_group",
|
|
93
|
-
"workflow_definition",
|
|
94
|
-
"closing_reason",
|
|
95
|
-
"taxonomy_classification"
|
|
96
|
-
]
|
|
82
|
+
"$ref": "#/components/schemas/ResourceNodeType"
|
|
97
83
|
},
|
|
98
84
|
"resourceIds": {
|
|
99
85
|
"type": "array",
|
|
@@ -103,12 +89,12 @@
|
|
|
103
89
|
"minItems": 1,
|
|
104
90
|
"maxItems": 25
|
|
105
91
|
},
|
|
92
|
+
"jobId": {
|
|
93
|
+
"$ref": "#/components/schemas/JobID"
|
|
94
|
+
},
|
|
106
95
|
"isExportingMultipleResources": {
|
|
107
96
|
"type": "boolean",
|
|
108
97
|
"description": "Temporary flag to indicate if multiple resources are being exported"
|
|
109
|
-
},
|
|
110
|
-
"jobId": {
|
|
111
|
-
"type": "string"
|
|
112
98
|
}
|
|
113
99
|
}
|
|
114
100
|
}
|
|
@@ -237,7 +223,7 @@
|
|
|
237
223
|
"post": {
|
|
238
224
|
"operationId": "createPlan",
|
|
239
225
|
"summary": "createPlan",
|
|
240
|
-
"description": "Creates a new import job from an uploaded manifest file and returns the plan",
|
|
226
|
+
"description": "Creates a new import job from an uploaded manifest file and returns the plan.\n\nCreates an updated plan for an installed manifest when `manifest_id` is passed\n",
|
|
241
227
|
"tags": [
|
|
242
228
|
"Import"
|
|
243
229
|
],
|
|
@@ -245,14 +231,50 @@
|
|
|
245
231
|
"content": {
|
|
246
232
|
"application/json": {
|
|
247
233
|
"schema": {
|
|
248
|
-
"
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
|
|
234
|
+
"oneOf": [
|
|
235
|
+
{
|
|
236
|
+
"type": "object",
|
|
237
|
+
"properties": {
|
|
238
|
+
"s3ref": {
|
|
239
|
+
"allOf": [
|
|
240
|
+
{
|
|
241
|
+
"description": "s3ref of manifest file uploaded via `uploadManifest`"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"$ref": "#/components/schemas/S3Reference"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"manifest_id": {
|
|
249
|
+
"allOf": [
|
|
250
|
+
{
|
|
251
|
+
"description": "Update an existing manifest (optional)"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"$ref": "#/components/schemas/ManifestID"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"required": [
|
|
260
|
+
"s3ref"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"type": "object",
|
|
265
|
+
"properties": {
|
|
266
|
+
"manifestFilePath": {
|
|
267
|
+
"deprecated": true,
|
|
268
|
+
"description": "Manifest file key uploaded via `uploadManifest`",
|
|
269
|
+
"type": "string",
|
|
270
|
+
"example": "example.tf"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"manifestFilePath"
|
|
275
|
+
]
|
|
254
276
|
}
|
|
255
|
-
|
|
277
|
+
]
|
|
256
278
|
}
|
|
257
279
|
}
|
|
258
280
|
}
|
|
@@ -281,7 +303,7 @@
|
|
|
281
303
|
"post": {
|
|
282
304
|
"operationId": "applyPlan",
|
|
283
305
|
"summary": "applyPlan",
|
|
284
|
-
"description": "Apply a plan returned by `createPlan
|
|
306
|
+
"description": "Apply a plan returned by `createPlan`.",
|
|
285
307
|
"tags": [
|
|
286
308
|
"Import"
|
|
287
309
|
],
|
|
@@ -307,11 +329,112 @@
|
|
|
307
329
|
},
|
|
308
330
|
"responses": {
|
|
309
331
|
"200": {
|
|
310
|
-
"description": "
|
|
332
|
+
"description": "Applied Import Job ID",
|
|
311
333
|
"content": {
|
|
312
334
|
"application/json": {
|
|
313
335
|
"schema": {
|
|
314
|
-
"type": "
|
|
336
|
+
"type": "object",
|
|
337
|
+
"properties": {
|
|
338
|
+
"jobId": {
|
|
339
|
+
"$ref": "#/components/schemas/JobID"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"/v1/blueprint-manifest/manifests": {
|
|
350
|
+
"get": {
|
|
351
|
+
"operationId": "listInstalledManifests",
|
|
352
|
+
"summary": "listInstalledManifests",
|
|
353
|
+
"description": "List Blueprint Manifests installed to the organization",
|
|
354
|
+
"tags": [
|
|
355
|
+
"Manifests"
|
|
356
|
+
],
|
|
357
|
+
"responses": {
|
|
358
|
+
"200": {
|
|
359
|
+
"description": "Installed Blueprint Manifests in the organization",
|
|
360
|
+
"content": {
|
|
361
|
+
"application/json": {
|
|
362
|
+
"schema": {
|
|
363
|
+
"type": "object",
|
|
364
|
+
"properties": {
|
|
365
|
+
"total": {
|
|
366
|
+
"type": "integer",
|
|
367
|
+
"example": 1
|
|
368
|
+
},
|
|
369
|
+
"results": {
|
|
370
|
+
"type": "array",
|
|
371
|
+
"items": {
|
|
372
|
+
"$ref": "#/components/schemas/ManifestItem"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"/v1/blueprint-manifest/manifests/{manifest_id}": {
|
|
384
|
+
"get": {
|
|
385
|
+
"operationId": "getManifest",
|
|
386
|
+
"summary": "getManifest",
|
|
387
|
+
"description": "Get installed Manifest by ID",
|
|
388
|
+
"tags": [
|
|
389
|
+
"Manifests"
|
|
390
|
+
],
|
|
391
|
+
"parameters": [
|
|
392
|
+
{
|
|
393
|
+
"in": "path",
|
|
394
|
+
"required": true,
|
|
395
|
+
"name": "manifest_id",
|
|
396
|
+
"schema": {
|
|
397
|
+
"$ref": "#/components/schemas/ManifestID"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"responses": {
|
|
402
|
+
"200": {
|
|
403
|
+
"description": "Installed Blueprint Manifest in the Organization",
|
|
404
|
+
"content": {
|
|
405
|
+
"application/json": {
|
|
406
|
+
"schema": {
|
|
407
|
+
"$ref": "#/components/schemas/Manifest"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"delete": {
|
|
415
|
+
"operationId": "deleteManifest",
|
|
416
|
+
"summary": "deleteManifest",
|
|
417
|
+
"description": "Remove installed manifest from the org\n\nNote that this does not delete the installed resources of the Manifest!\n",
|
|
418
|
+
"tags": [
|
|
419
|
+
"Manifests"
|
|
420
|
+
],
|
|
421
|
+
"parameters": [
|
|
422
|
+
{
|
|
423
|
+
"in": "path",
|
|
424
|
+
"required": true,
|
|
425
|
+
"name": "manifest_id",
|
|
426
|
+
"schema": {
|
|
427
|
+
"$ref": "#/components/schemas/ManifestID"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"responses": {
|
|
432
|
+
"200": {
|
|
433
|
+
"description": "The deleted Manifest",
|
|
434
|
+
"content": {
|
|
435
|
+
"application/json": {
|
|
436
|
+
"schema": {
|
|
437
|
+
"$ref": "#/components/schemas/Manifest"
|
|
315
438
|
}
|
|
316
439
|
}
|
|
317
440
|
}
|
|
@@ -322,6 +445,42 @@
|
|
|
322
445
|
},
|
|
323
446
|
"components": {
|
|
324
447
|
"schemas": {
|
|
448
|
+
"ManifestID": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"description": "ID of an imported / installed manifest",
|
|
451
|
+
"example": "c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341"
|
|
452
|
+
},
|
|
453
|
+
"JobID": {
|
|
454
|
+
"type": "string",
|
|
455
|
+
"description": "ID of an import or export job (state machine)",
|
|
456
|
+
"example": "4854bb2a-94f9-424d-a968-3fb17fb0bf89"
|
|
457
|
+
},
|
|
458
|
+
"Manifest": {
|
|
459
|
+
"allOf": [
|
|
460
|
+
{
|
|
461
|
+
"$ref": "#/components/schemas/CommonManifestFields"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"$ref": "#/components/schemas/CommonMarkdownFields"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"$ref": "#/components/schemas/CommonImportFields"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"$ref": "#/components/schemas/ManifestTimestampFields"
|
|
471
|
+
}
|
|
472
|
+
]
|
|
473
|
+
},
|
|
474
|
+
"ManifestItem": {
|
|
475
|
+
"allOf": [
|
|
476
|
+
{
|
|
477
|
+
"$ref": "#/components/schemas/CommonManifestFields"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"$ref": "#/components/schemas/ManifestTimestampFields"
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
},
|
|
325
484
|
"JobStatus": {
|
|
326
485
|
"type": "string",
|
|
327
486
|
"enum": [
|
|
@@ -351,7 +510,8 @@
|
|
|
351
510
|
"schema_group",
|
|
352
511
|
"workflow_definition",
|
|
353
512
|
"closing_reason",
|
|
354
|
-
"taxonomy_classification"
|
|
513
|
+
"taxonomy_classification",
|
|
514
|
+
"webhook"
|
|
355
515
|
]
|
|
356
516
|
},
|
|
357
517
|
"RootResourceNode": {
|
|
@@ -473,67 +633,148 @@
|
|
|
473
633
|
"type"
|
|
474
634
|
]
|
|
475
635
|
},
|
|
476
|
-
"JobID": {
|
|
477
|
-
"type": "string",
|
|
478
|
-
"description": "ID of an import or export job",
|
|
479
|
-
"example": "4854bb2a-94f9-424d-a968-3fb17fb0bf89"
|
|
480
|
-
},
|
|
481
636
|
"Job": {
|
|
482
|
-
"
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
"
|
|
637
|
+
"allOf": [
|
|
638
|
+
{
|
|
639
|
+
"type": "object",
|
|
640
|
+
"properties": {
|
|
641
|
+
"job_id": {
|
|
642
|
+
"$ref": "#/components/schemas/JobID"
|
|
643
|
+
},
|
|
644
|
+
"job_status": {
|
|
645
|
+
"$ref": "#/components/schemas/JobStatus"
|
|
646
|
+
},
|
|
647
|
+
"message": {
|
|
648
|
+
"type": "string"
|
|
649
|
+
},
|
|
650
|
+
"timestamp": {
|
|
651
|
+
"type": "string",
|
|
652
|
+
"format": "date-time"
|
|
653
|
+
},
|
|
654
|
+
"plan_file_content": {
|
|
655
|
+
"type": "string",
|
|
656
|
+
"description": "An URL to download the plan file"
|
|
657
|
+
},
|
|
658
|
+
"resources_to_export": {
|
|
659
|
+
"description": "An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import",
|
|
660
|
+
"oneOf": [
|
|
661
|
+
{
|
|
662
|
+
"type": "array",
|
|
663
|
+
"items": {
|
|
664
|
+
"$ref": "#/components/schemas/RootResourceNode"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"$ref": "#/components/schemas/RootResourceNode"
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
},
|
|
672
|
+
"large_resources_to_export_url": {
|
|
673
|
+
"type": "string",
|
|
674
|
+
"description": "An URL to download the resources to export when the resources are too large to be included in the response"
|
|
675
|
+
},
|
|
676
|
+
"resources_to_import": {
|
|
677
|
+
"description": "An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import",
|
|
678
|
+
"oneOf": [
|
|
679
|
+
{
|
|
680
|
+
"type": "array",
|
|
681
|
+
"items": {
|
|
682
|
+
"$ref": "#/components/schemas/RootResourceNode"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"$ref": "#/components/schemas/RootResourceNode"
|
|
687
|
+
}
|
|
688
|
+
]
|
|
689
|
+
},
|
|
690
|
+
"large_resources_to_import_url": {
|
|
691
|
+
"type": "string",
|
|
692
|
+
"description": "An URL to download the resources to import when the resources are too large to be included in the response"
|
|
693
|
+
}
|
|
694
|
+
}
|
|
486
695
|
},
|
|
487
|
-
|
|
488
|
-
"$ref": "#/components/schemas/
|
|
696
|
+
{
|
|
697
|
+
"$ref": "#/components/schemas/CommonImportFields"
|
|
489
698
|
},
|
|
490
|
-
|
|
491
|
-
"
|
|
699
|
+
{
|
|
700
|
+
"$ref": "#/components/schemas/CommonMarkdownFields"
|
|
492
701
|
},
|
|
493
|
-
|
|
702
|
+
{
|
|
703
|
+
"$ref": "#/components/schemas/CommonManifestFields"
|
|
704
|
+
}
|
|
705
|
+
]
|
|
706
|
+
},
|
|
707
|
+
"UploadFilePayload": {
|
|
708
|
+
"type": "object",
|
|
709
|
+
"properties": {
|
|
710
|
+
"filename": {
|
|
494
711
|
"type": "string",
|
|
495
|
-
"
|
|
712
|
+
"example": "main.tf"
|
|
496
713
|
},
|
|
497
|
-
"
|
|
714
|
+
"mime_type": {
|
|
715
|
+
"description": "MIME type of file",
|
|
498
716
|
"type": "string",
|
|
499
|
-
"
|
|
717
|
+
"example": "application/pdf",
|
|
718
|
+
"default": "application/octet-stream"
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"required": [
|
|
722
|
+
"filename"
|
|
723
|
+
]
|
|
724
|
+
},
|
|
725
|
+
"S3Reference": {
|
|
726
|
+
"type": "object",
|
|
727
|
+
"properties": {
|
|
728
|
+
"bucket": {
|
|
729
|
+
"type": "string",
|
|
730
|
+
"example": "blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw"
|
|
500
731
|
},
|
|
501
|
-
"
|
|
502
|
-
"
|
|
503
|
-
"
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
}
|
|
513
|
-
]
|
|
732
|
+
"key": {
|
|
733
|
+
"type": "string",
|
|
734
|
+
"example": "templates/main.tf"
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"CommonManifestFields": {
|
|
739
|
+
"type": "object",
|
|
740
|
+
"properties": {
|
|
741
|
+
"manifest_id": {
|
|
742
|
+
"$ref": "#/components/schemas/ManifestID"
|
|
514
743
|
},
|
|
515
|
-
"
|
|
744
|
+
"source_blueprint_name": {
|
|
516
745
|
"type": "string",
|
|
517
|
-
"
|
|
746
|
+
"example": "Solar B2B"
|
|
518
747
|
},
|
|
519
|
-
"
|
|
520
|
-
"
|
|
521
|
-
"
|
|
522
|
-
|
|
523
|
-
"type": "array",
|
|
524
|
-
"items": {
|
|
525
|
-
"$ref": "#/components/schemas/RootResourceNode"
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"$ref": "#/components/schemas/RootResourceNode"
|
|
530
|
-
}
|
|
531
|
-
]
|
|
748
|
+
"source_blueprint_slug": {
|
|
749
|
+
"type": "string",
|
|
750
|
+
"description": "URL slug of a blueprint from the epilot marketplace",
|
|
751
|
+
"example": "solar-b2b"
|
|
532
752
|
},
|
|
533
|
-
"
|
|
753
|
+
"source_blueprint_version": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"description": "Version of the blueprint (semver)",
|
|
756
|
+
"example": "1.0.0"
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"ManifestTimestampFields": {
|
|
761
|
+
"type": "object",
|
|
762
|
+
"properties": {
|
|
763
|
+
"created_at": {
|
|
764
|
+
"description": "When the manifest was first installed (applied)",
|
|
534
765
|
"type": "string",
|
|
535
|
-
"
|
|
766
|
+
"format": "date-time"
|
|
536
767
|
},
|
|
768
|
+
"updated_at": {
|
|
769
|
+
"description": "When the manifest was last updated (applied)",
|
|
770
|
+
"type": "string",
|
|
771
|
+
"format": "date-time"
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"CommonImportFields": {
|
|
776
|
+
"type": "object",
|
|
777
|
+
"properties": {
|
|
537
778
|
"imported_resources": {
|
|
538
779
|
"description": "An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import",
|
|
539
780
|
"oneOf": [
|
|
@@ -550,13 +791,27 @@
|
|
|
550
791
|
},
|
|
551
792
|
"large_imported_resources_url": {
|
|
552
793
|
"type": "string",
|
|
553
|
-
"
|
|
554
|
-
|
|
794
|
+
"format": "uri",
|
|
795
|
+
"description": "An URL to download the imported resources when the resources are too large to be included in the response",
|
|
796
|
+
"example": "https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/large.json"
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"CommonMarkdownFields": {
|
|
801
|
+
"type": "object",
|
|
802
|
+
"properties": {
|
|
555
803
|
"markdown": {
|
|
556
804
|
"type": "object",
|
|
805
|
+
"description": "Markdown content part of a manifest file",
|
|
557
806
|
"properties": {
|
|
807
|
+
"manifest": {
|
|
808
|
+
"type": "string",
|
|
809
|
+
"description": "Markdown content shown before installing the manifest",
|
|
810
|
+
"example": "This is the content of the manifest.md file which contains the manifest descripton. \n"
|
|
811
|
+
},
|
|
558
812
|
"preinstall": {
|
|
559
813
|
"type": "string",
|
|
814
|
+
"deprecated": true,
|
|
560
815
|
"description": "Markdown content to be displayed when showing the plan to install blueprint",
|
|
561
816
|
"example": "This is the content of the preinstall.md file\n"
|
|
562
817
|
},
|
|
@@ -568,37 +823,6 @@
|
|
|
568
823
|
}
|
|
569
824
|
}
|
|
570
825
|
}
|
|
571
|
-
},
|
|
572
|
-
"UploadFilePayload": {
|
|
573
|
-
"type": "object",
|
|
574
|
-
"properties": {
|
|
575
|
-
"filename": {
|
|
576
|
-
"type": "string",
|
|
577
|
-
"example": "main.tf"
|
|
578
|
-
},
|
|
579
|
-
"mime_type": {
|
|
580
|
-
"description": "MIME type of file",
|
|
581
|
-
"type": "string",
|
|
582
|
-
"example": "application/pdf",
|
|
583
|
-
"default": "application/octet-stream"
|
|
584
|
-
}
|
|
585
|
-
},
|
|
586
|
-
"required": [
|
|
587
|
-
"filename"
|
|
588
|
-
]
|
|
589
|
-
},
|
|
590
|
-
"S3Reference": {
|
|
591
|
-
"type": "object",
|
|
592
|
-
"properties": {
|
|
593
|
-
"bucket": {
|
|
594
|
-
"type": "string",
|
|
595
|
-
"example": "epilot-dev-blueprints"
|
|
596
|
-
},
|
|
597
|
-
"key": {
|
|
598
|
-
"type": "string",
|
|
599
|
-
"example": "templates/main.tf"
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
826
|
}
|
|
603
827
|
},
|
|
604
828
|
"parameters": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Client for epilot Terraform Blueprint Manifest API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"keywords": [
|
|
19
19
|
"blueprint",
|
|
20
20
|
"manifest",
|
|
21
|
-
"tf-blueprints",
|
|
22
21
|
"terraform"
|
|
23
22
|
],
|
|
24
23
|
"scripts": {
|
|
@@ -27,7 +26,8 @@
|
|
|
27
26
|
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/blueprint-manifest.yaml",
|
|
28
27
|
"openapi:local": "node ../../scripts/update-openapi.js ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
|
|
29
28
|
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
30
|
-
"build": "tsc && npm run bundle-definition",
|
|
29
|
+
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
30
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
31
31
|
"build:watch": "npm run build && tsc -w",
|
|
32
32
|
"prepublishOnly": "npm run typegen && npm run build",
|
|
33
33
|
"lint": "../../node_modules/eslint/bin/eslint.js src"
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"webpack": "^5.18.0",
|
|
72
72
|
"webpack-cli": "^4.4.0"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
75
75
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 epilot GmbH
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|