@epilot/blueprint-manifest-client 2.3.0 → 2.3.2

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
@@ -11,7 +11,7 @@ import type {
11
11
  declare namespace Components {
12
12
  namespace Parameters {
13
13
  export type JobID = /**
14
- * ID of an import or export job
14
+ * ID of an import or export job (state machine)
15
15
  * example:
16
16
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
17
17
  */
@@ -21,14 +21,101 @@ declare namespace Components {
21
21
  JobID?: Parameters.JobID;
22
22
  }
23
23
  namespace Schemas {
24
+ export interface CommonImportFields {
25
+ /**
26
+ * An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import
27
+ */
28
+ imported_resources?: /* An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import */ RootResourceNode[] | RootResourceNode;
29
+ /**
30
+ * An URL to download the imported resources when the resources are too large to be included in the response
31
+ * example:
32
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/large.json
33
+ */
34
+ large_imported_resources_url?: string; // uri
35
+ }
36
+ export interface CommonManifestFields {
37
+ manifest_id?: /**
38
+ * ID of an imported / installed manifest
39
+ * example:
40
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
41
+ */
42
+ ManifestID;
43
+ /**
44
+ * example:
45
+ * Solar B2B
46
+ */
47
+ source_blueprint_name?: string;
48
+ /**
49
+ * URL slug of a blueprint from the epilot marketplace
50
+ * example:
51
+ * solar-b2b
52
+ */
53
+ source_blueprint_slug?: string;
54
+ /**
55
+ * Version of the blueprint (semver)
56
+ * example:
57
+ * 1.0.0
58
+ */
59
+ source_blueprint_version?: string;
60
+ }
61
+ export interface CommonMarkdownFields {
62
+ /**
63
+ * Markdown content part of a manifest file
64
+ */
65
+ markdown?: {
66
+ /**
67
+ * Markdown content shown before installing the manifest
68
+ * example:
69
+ * This is the content of the manifest.md file which contains the manifest descripton.
70
+ *
71
+ */
72
+ manifest?: string;
73
+ /**
74
+ * Markdown content to be displayed when showing the plan to install blueprint
75
+ * example:
76
+ * This is the content of the preinstall.md file
77
+ *
78
+ */
79
+ preinstall?: string;
80
+ /**
81
+ * Markdown content to be displayed when showing the plan to install blueprint
82
+ * example:
83
+ * This is the content of the postinstall.md file
84
+ *
85
+ */
86
+ postinstall?: string;
87
+ };
88
+ }
89
+ export interface CommonResourceNode {
90
+ /**
91
+ * ID of the resource
92
+ */
93
+ id: string;
94
+ /**
95
+ * Type of the resource
96
+ */
97
+ type: ResourceNodeType;
98
+ /**
99
+ * Name of the resource
100
+ */
101
+ name?: string;
102
+ /**
103
+ * Source ID of the resource
104
+ */
105
+ source_id?: string;
106
+ /**
107
+ * Whether the resource is virtual
108
+ */
109
+ is_virtual?: boolean;
110
+ }
24
111
  export interface Job {
25
- job_status?: JobStatus;
26
112
  job_id?: /**
27
- * ID of an import or export job
113
+ * ID of an import or export job (state machine)
28
114
  * example:
29
115
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
30
116
  */
31
117
  JobID;
118
+ job_status?: JobStatus;
32
119
  message?: string;
33
120
  timestamp?: string; // date-time
34
121
  /**
@@ -57,9 +144,21 @@ declare namespace Components {
57
144
  imported_resources?: /* An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import */ RootResourceNode[] | RootResourceNode;
58
145
  /**
59
146
  * An URL to download the imported resources when the resources are too large to be included in the response
147
+ * example:
148
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/large.json
149
+ */
150
+ large_imported_resources_url?: string; // uri
151
+ /**
152
+ * Markdown content part of a manifest file
60
153
  */
61
- large_imported_resources_url?: string;
62
154
  markdown?: {
155
+ /**
156
+ * Markdown content shown before installing the manifest
157
+ * example:
158
+ * This is the content of the manifest.md file which contains the manifest descripton.
159
+ *
160
+ */
161
+ manifest?: string;
63
162
  /**
64
163
  * Markdown content to be displayed when showing the plan to install blueprint
65
164
  * example:
@@ -75,67 +174,255 @@ declare namespace Components {
75
174
  */
76
175
  postinstall?: string;
77
176
  };
177
+ manifest_id?: /**
178
+ * ID of an imported / installed manifest
179
+ * example:
180
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
181
+ */
182
+ ManifestID;
183
+ /**
184
+ * example:
185
+ * Solar B2B
186
+ */
187
+ source_blueprint_name?: string;
188
+ /**
189
+ * URL slug of a blueprint from the epilot marketplace
190
+ * example:
191
+ * solar-b2b
192
+ */
193
+ source_blueprint_slug?: string;
194
+ /**
195
+ * Version of the blueprint (semver)
196
+ * example:
197
+ * 1.0.0
198
+ */
199
+ source_blueprint_version?: string;
78
200
  }
79
201
  /**
80
- * ID of an import or export job
202
+ * ID of an import or export job (state machine)
81
203
  * example:
82
204
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
83
205
  */
84
206
  export type JobID = string;
85
207
  export type JobStatus = "STARTED" | "WAITING_USER_ACTION" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "FAILED";
208
+ export interface Manifest {
209
+ manifest_id?: /**
210
+ * ID of an imported / installed manifest
211
+ * example:
212
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
213
+ */
214
+ ManifestID;
215
+ /**
216
+ * example:
217
+ * Solar B2B
218
+ */
219
+ source_blueprint_name?: string;
220
+ /**
221
+ * URL slug of a blueprint from the epilot marketplace
222
+ * example:
223
+ * solar-b2b
224
+ */
225
+ source_blueprint_slug?: string;
226
+ /**
227
+ * Version of the blueprint (semver)
228
+ * example:
229
+ * 1.0.0
230
+ */
231
+ source_blueprint_version?: string;
232
+ /**
233
+ * Markdown content part of a manifest file
234
+ */
235
+ markdown?: {
236
+ /**
237
+ * Markdown content shown before installing the manifest
238
+ * example:
239
+ * This is the content of the manifest.md file which contains the manifest descripton.
240
+ *
241
+ */
242
+ manifest?: string;
243
+ /**
244
+ * Markdown content to be displayed when showing the plan to install blueprint
245
+ * example:
246
+ * This is the content of the preinstall.md file
247
+ *
248
+ */
249
+ preinstall?: string;
250
+ /**
251
+ * Markdown content to be displayed when showing the plan to install blueprint
252
+ * example:
253
+ * This is the content of the postinstall.md file
254
+ *
255
+ */
256
+ postinstall?: string;
257
+ };
258
+ /**
259
+ * An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import
260
+ */
261
+ imported_resources?: /* An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import */ RootResourceNode[] | RootResourceNode;
262
+ /**
263
+ * An URL to download the imported resources when the resources are too large to be included in the response
264
+ * example:
265
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/large.json
266
+ */
267
+ large_imported_resources_url?: string; // uri
268
+ /**
269
+ * When the manifest was first installed (applied)
270
+ */
271
+ created_at?: string; // date-time
272
+ /**
273
+ * When the manifest was last updated (applied)
274
+ */
275
+ updated_at?: string; // date-time
276
+ }
277
+ /**
278
+ * ID of an imported / installed manifest
279
+ * example:
280
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
281
+ */
282
+ export type ManifestID = string;
283
+ export interface ManifestItem {
284
+ manifest_id?: /**
285
+ * ID of an imported / installed manifest
286
+ * example:
287
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
288
+ */
289
+ ManifestID;
290
+ /**
291
+ * example:
292
+ * Solar B2B
293
+ */
294
+ source_blueprint_name?: string;
295
+ /**
296
+ * URL slug of a blueprint from the epilot marketplace
297
+ * example:
298
+ * solar-b2b
299
+ */
300
+ source_blueprint_slug?: string;
301
+ /**
302
+ * Version of the blueprint (semver)
303
+ * example:
304
+ * 1.0.0
305
+ */
306
+ source_blueprint_version?: string;
307
+ /**
308
+ * When the manifest was first installed (applied)
309
+ */
310
+ created_at?: string; // date-time
311
+ /**
312
+ * When the manifest was last updated (applied)
313
+ */
314
+ updated_at?: string; // date-time
315
+ }
316
+ export interface ManifestTimestampFields {
317
+ /**
318
+ * When the manifest was first installed (applied)
319
+ */
320
+ created_at?: string; // date-time
321
+ /**
322
+ * When the manifest was last updated (applied)
323
+ */
324
+ updated_at?: string; // date-time
325
+ }
326
+ export type PlanChanges = ("create" | "update" | "no-op" | "delete")[];
86
327
  export interface ResourceNode {
328
+ /**
329
+ * ID of the resource
330
+ */
87
331
  id: string;
88
332
  type: ResourceNodeType;
333
+ /**
334
+ * Name of the resource
335
+ */
89
336
  name?: string;
337
+ /**
338
+ * Original ID of the exported resource
339
+ */
90
340
  source_id?: string;
341
+ /**
342
+ * Whether the resource is virtual
343
+ */
344
+ is_virtual?: boolean;
345
+ /**
346
+ * Terraform address of the resource
347
+ */
91
348
  address?: string;
92
- changes?: ("create" | "update" | "no-op" | "delete")[];
349
+ /**
350
+ * Dependencies of the resource
351
+ */
352
+ dependencies?: ResourceNode[] | null;
93
353
  parents?: {
94
354
  id?: string;
95
355
  type?: ResourceNodeType;
96
356
  }[];
357
+ changes?: PlanChanges;
97
358
  }
98
- export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "workflow_definition" | "closing_reason" | "taxonomy_classification";
359
+ export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook";
99
360
  export interface RootResourceNode {
361
+ /**
362
+ * ID of the resource
363
+ */
100
364
  id: string;
101
365
  type: ResourceNodeType;
366
+ /**
367
+ * Name of the resource
368
+ */
102
369
  name?: string;
370
+ /**
371
+ * Source ID of the resource
372
+ */
103
373
  source_id?: string;
374
+ /**
375
+ * Whether the resource is virtual
376
+ */
377
+ is_virtual?: boolean;
378
+ /**
379
+ * Terraform address of the resource
380
+ */
104
381
  address?: string;
105
- dependencies?: VirtualResourceNodeGroup[];
106
- changes?: ("create" | "update" | "no-op" | "delete")[];
382
+ /**
383
+ * Dependencies of the resource
384
+ */
385
+ dependencies?: VirtualResourceNodeGroup[] | null;
386
+ changes?: PlanChanges;
107
387
  }
108
388
  export interface S3Reference {
109
389
  /**
110
390
  * example:
111
- * epilot-dev-blueprints
391
+ * blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw
112
392
  */
113
- bucket?: string;
393
+ bucket: string;
114
394
  /**
115
395
  * example:
116
396
  * templates/main.tf
117
397
  */
118
- key?: string;
398
+ key: string;
119
399
  }
120
400
  export interface UploadFilePayload {
121
401
  /**
122
402
  * example:
123
- * main.tf
403
+ * example.manifest.zip
124
404
  */
125
405
  filename: string;
126
- /**
127
- * MIME type of file
128
- * example:
129
- * application/pdf
130
- */
131
- mime_type?: string;
132
406
  }
133
407
  export interface VirtualResourceNodeGroup {
408
+ /**
409
+ * ID of the resource
410
+ */
134
411
  id: string;
135
412
  type: ResourceNodeType;
413
+ /**
414
+ * Name of the resource
415
+ */
136
416
  name?: string;
417
+ /**
418
+ * Source ID of the resource
419
+ */
420
+ source_id?: string;
421
+ /**
422
+ * Whether the resource is virtual
423
+ */
424
+ is_virtual?: true;
137
425
  dependencies?: ResourceNode[];
138
- is_virtual?: boolean;
139
426
  }
140
427
  }
141
428
  }
@@ -143,7 +430,7 @@ declare namespace Paths {
143
430
  namespace ApplyPlan {
144
431
  namespace Parameters {
145
432
  export type JobId = /**
146
- * ID of an import or export job
433
+ * ID of an import or export job (state machine)
147
434
  * example:
148
435
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
149
436
  */
@@ -160,13 +447,20 @@ declare namespace Paths {
160
447
  manifestFilePath?: string;
161
448
  }
162
449
  namespace Responses {
163
- export type $200 = string;
450
+ export interface $200 {
451
+ jobId?: /**
452
+ * ID of an import or export job (state machine)
453
+ * example:
454
+ * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
455
+ */
456
+ Components.Schemas.JobID;
457
+ }
164
458
  }
165
459
  }
166
460
  namespace CreateExport {
167
461
  export interface RequestBody {
168
- resourceType?: "journey" | "product" | "price" | "tax" | "automation_flow" | "designbuilder" | "file" | "emailtemplate" | "entity" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "workflow_definition" | "closing_reason" | "taxonomy_classification";
169
- resourceIds?: [
462
+ resourceType: Components.Schemas.ResourceNodeType;
463
+ resourceIds: [
170
464
  string,
171
465
  string?,
172
466
  string?,
@@ -193,16 +487,21 @@ declare namespace Paths {
193
487
  string?,
194
488
  string?
195
489
  ];
490
+ jobId?: /**
491
+ * ID of an import or export job (state machine)
492
+ * example:
493
+ * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
494
+ */
495
+ Components.Schemas.JobID;
196
496
  /**
197
497
  * Temporary flag to indicate if multiple resources are being exported
198
498
  */
199
499
  isExportingMultipleResources?: boolean;
200
- jobId?: string;
201
500
  }
202
501
  namespace Responses {
203
502
  export interface $200 {
204
503
  jobId?: /**
205
- * ID of an import or export job
504
+ * ID of an import or export job (state machine)
206
505
  * example:
207
506
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
208
507
  */
@@ -211,14 +510,40 @@ declare namespace Paths {
211
510
  }
212
511
  }
213
512
  namespace CreatePlan {
214
- export interface RequestBody {
513
+ export type RequestBody = {
514
+ /**
515
+ * s3ref of manifest file uploaded via `uploadManifest`
516
+ */
517
+ s3ref: {
518
+ /**
519
+ * example:
520
+ * blueprint-manifest-prod-blueprintsv2bucket-sybpsryropzw
521
+ */
522
+ bucket: string;
523
+ /**
524
+ * example:
525
+ * templates/main.tf
526
+ */
527
+ key: string;
528
+ };
215
529
  /**
216
- * Path to the manifest file uploaded via `uploadManifest`
530
+ * ID of an imported / installed manifest
217
531
  * example:
218
- * example.tf
532
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
219
533
  */
220
- manifestFilePath?: string;
221
- }
534
+ manifest_id?: string;
535
+ } | {
536
+ /**
537
+ * Manifest s3 key uploaded via `uploadManifest`
538
+ */
539
+ manifestFilePath: string;
540
+ /**
541
+ * ID of an imported / installed manifest
542
+ * example:
543
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
544
+ */
545
+ manifest_id?: string;
546
+ };
222
547
  namespace Responses {
223
548
  export interface $200 {
224
549
  /**
@@ -229,10 +554,26 @@ declare namespace Paths {
229
554
  }
230
555
  }
231
556
  }
557
+ namespace DeleteManifest {
558
+ namespace Parameters {
559
+ export type ManifestId = /**
560
+ * ID of an imported / installed manifest
561
+ * example:
562
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
563
+ */
564
+ Components.Schemas.ManifestID;
565
+ }
566
+ export interface PathParameters {
567
+ manifest_id: Parameters.ManifestId;
568
+ }
569
+ namespace Responses {
570
+ export type $200 = Components.Schemas.Manifest;
571
+ }
572
+ }
232
573
  namespace ExportManifest {
233
574
  namespace Parameters {
234
575
  export type JobId = /**
235
- * ID of an import or export job
576
+ * ID of an import or export job (state machine)
236
577
  * example:
237
578
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
238
579
  */
@@ -245,12 +586,12 @@ declare namespace Paths {
245
586
  /**
246
587
  * An array of resource IDs to export
247
588
  */
248
- selectedResourceIds?: string[];
589
+ selectedResourceIds: string[];
249
590
  /**
250
591
  * example:
251
592
  * journey_HouseConnectionJourney
252
593
  */
253
- resourceName?: string;
594
+ resourceName: string;
254
595
  /**
255
596
  * Temporary flag to indicate if multiple resources are being exported
256
597
  */
@@ -259,7 +600,7 @@ declare namespace Paths {
259
600
  namespace Responses {
260
601
  export interface $200 {
261
602
  jobId?: /**
262
- * ID of an import or export job
603
+ * ID of an import or export job (state machine)
263
604
  * example:
264
605
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
265
606
  */
@@ -270,7 +611,7 @@ declare namespace Paths {
270
611
  namespace GetJob {
271
612
  namespace Parameters {
272
613
  export type JobId = /**
273
- * ID of an import or export job
614
+ * ID of an import or export job (state machine)
274
615
  * example:
275
616
  * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
276
617
  */
@@ -283,6 +624,34 @@ declare namespace Paths {
283
624
  export type $200 = Components.Schemas.Job;
284
625
  }
285
626
  }
627
+ namespace GetManifest {
628
+ namespace Parameters {
629
+ export type ManifestId = /**
630
+ * ID of an imported / installed manifest
631
+ * example:
632
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
633
+ */
634
+ Components.Schemas.ManifestID;
635
+ }
636
+ export interface PathParameters {
637
+ manifest_id: Parameters.ManifestId;
638
+ }
639
+ namespace Responses {
640
+ export type $200 = Components.Schemas.Manifest;
641
+ }
642
+ }
643
+ namespace ListInstalledManifests {
644
+ namespace Responses {
645
+ export interface $200 {
646
+ /**
647
+ * example:
648
+ * 1
649
+ */
650
+ total?: number;
651
+ results?: Components.Schemas.ManifestItem[];
652
+ }
653
+ }
654
+ }
286
655
  namespace UploadManifest {
287
656
  export type RequestBody = Components.Schemas.UploadFilePayload;
288
657
  namespace Responses {
@@ -314,6 +683,8 @@ export interface OperationMethods {
314
683
  *
315
684
  * Creates a new Export Job with a list of available resources to export from the passed root resource.
316
685
  *
686
+ * Multiple root resources can be added by calling this multiple times with the same jobId
687
+ *
317
688
  */
318
689
  'createExport'(
319
690
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -344,7 +715,10 @@ export interface OperationMethods {
344
715
  /**
345
716
  * createPlan - createPlan
346
717
  *
347
- * Creates a new import job from an uploaded manifest file and returns the plan
718
+ * Creates a new import job from an uploaded manifest file and returns the plan.
719
+ *
720
+ * Creates an updated plan for an installed manifest when `manifest_id` is passed
721
+ *
348
722
  */
349
723
  'createPlan'(
350
724
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -354,13 +728,46 @@ export interface OperationMethods {
354
728
  /**
355
729
  * applyPlan - applyPlan
356
730
  *
357
- * Apply a plan returned by `createPlan`
731
+ * Apply a plan returned by `createPlan`.
358
732
  */
359
733
  'applyPlan'(
360
734
  parameters?: Parameters<Paths.ApplyPlan.PathParameters> | null,
361
735
  data?: Paths.ApplyPlan.RequestBody,
362
736
  config?: AxiosRequestConfig
363
737
  ): OperationResponse<Paths.ApplyPlan.Responses.$200>
738
+ /**
739
+ * listInstalledManifests - listInstalledManifests
740
+ *
741
+ * List Blueprint Manifests installed to the organization
742
+ */
743
+ 'listInstalledManifests'(
744
+ parameters?: Parameters<UnknownParamsObject> | null,
745
+ data?: any,
746
+ config?: AxiosRequestConfig
747
+ ): OperationResponse<Paths.ListInstalledManifests.Responses.$200>
748
+ /**
749
+ * getManifest - getManifest
750
+ *
751
+ * Get installed Manifest by ID
752
+ */
753
+ 'getManifest'(
754
+ parameters?: Parameters<Paths.GetManifest.PathParameters> | null,
755
+ data?: any,
756
+ config?: AxiosRequestConfig
757
+ ): OperationResponse<Paths.GetManifest.Responses.$200>
758
+ /**
759
+ * deleteManifest - deleteManifest
760
+ *
761
+ * Remove installed manifest from the org
762
+ *
763
+ * Note that this does not delete the installed resources of the Manifest!
764
+ *
765
+ */
766
+ 'deleteManifest'(
767
+ parameters?: Parameters<Paths.DeleteManifest.PathParameters> | null,
768
+ data?: any,
769
+ config?: AxiosRequestConfig
770
+ ): OperationResponse<Paths.DeleteManifest.Responses.$200>
364
771
  }
365
772
 
366
773
  export interface PathsDictionary {
@@ -382,6 +789,8 @@ export interface PathsDictionary {
382
789
  *
383
790
  * Creates a new Export Job with a list of available resources to export from the passed root resource.
384
791
  *
792
+ * Multiple root resources can be added by calling this multiple times with the same jobId
793
+ *
385
794
  */
386
795
  'post'(
387
796
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -418,7 +827,10 @@ export interface PathsDictionary {
418
827
  /**
419
828
  * createPlan - createPlan
420
829
  *
421
- * Creates a new import job from an uploaded manifest file and returns the plan
830
+ * Creates a new import job from an uploaded manifest file and returns the plan.
831
+ *
832
+ * Creates an updated plan for an installed manifest when `manifest_id` is passed
833
+ *
422
834
  */
423
835
  'post'(
424
836
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -430,7 +842,7 @@ export interface PathsDictionary {
430
842
  /**
431
843
  * applyPlan - applyPlan
432
844
  *
433
- * Apply a plan returned by `createPlan`
845
+ * Apply a plan returned by `createPlan`.
434
846
  */
435
847
  'post'(
436
848
  parameters?: Parameters<Paths.ApplyPlan.PathParameters> | null,
@@ -438,13 +850,59 @@ export interface PathsDictionary {
438
850
  config?: AxiosRequestConfig
439
851
  ): OperationResponse<Paths.ApplyPlan.Responses.$200>
440
852
  }
853
+ ['/v1/blueprint-manifest/manifests']: {
854
+ /**
855
+ * listInstalledManifests - listInstalledManifests
856
+ *
857
+ * List Blueprint Manifests installed to the organization
858
+ */
859
+ 'get'(
860
+ parameters?: Parameters<UnknownParamsObject> | null,
861
+ data?: any,
862
+ config?: AxiosRequestConfig
863
+ ): OperationResponse<Paths.ListInstalledManifests.Responses.$200>
864
+ }
865
+ ['/v1/blueprint-manifest/manifests/{manifest_id}']: {
866
+ /**
867
+ * getManifest - getManifest
868
+ *
869
+ * Get installed Manifest by ID
870
+ */
871
+ 'get'(
872
+ parameters?: Parameters<Paths.GetManifest.PathParameters> | null,
873
+ data?: any,
874
+ config?: AxiosRequestConfig
875
+ ): OperationResponse<Paths.GetManifest.Responses.$200>
876
+ /**
877
+ * deleteManifest - deleteManifest
878
+ *
879
+ * Remove installed manifest from the org
880
+ *
881
+ * Note that this does not delete the installed resources of the Manifest!
882
+ *
883
+ */
884
+ 'delete'(
885
+ parameters?: Parameters<Paths.DeleteManifest.PathParameters> | null,
886
+ data?: any,
887
+ config?: AxiosRequestConfig
888
+ ): OperationResponse<Paths.DeleteManifest.Responses.$200>
889
+ }
441
890
  }
442
891
 
443
892
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
444
893
 
894
+ export type CommonImportFields = Components.Schemas.CommonImportFields;
895
+ export type CommonManifestFields = Components.Schemas.CommonManifestFields;
896
+ export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
897
+ export type CommonResourceNode = Components.Schemas.CommonResourceNode;
445
898
  export type Job = Components.Schemas.Job;
446
899
  export type JobID = Components.Schemas.JobID;
447
900
  export type JobStatus = Components.Schemas.JobStatus;
901
+ export type Manifest = Components.Schemas.Manifest;
902
+ export type ManifestID = Components.Schemas.ManifestID;
903
+ export type ManifestItem = Components.Schemas.ManifestItem;
904
+ export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
905
+ export type PlanChanges = Components.Schemas.PlanChanges;
448
906
  export type ResourceNode = Components.Schemas.ResourceNode;
449
907
  export type ResourceNodeType = Components.Schemas.ResourceNodeType;
450
908
  export type RootResourceNode = Components.Schemas.RootResourceNode;