@epilot/blueprint-manifest-client 2.8.8 → 2.8.9
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 +93 -9
- package/dist/openapi.json +82 -35
- package/package.json +2 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -129,6 +129,23 @@ declare namespace Components {
|
|
|
129
129
|
* https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
|
|
130
130
|
*/
|
|
131
131
|
ready_imported_resources_url?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Information about the manifest that was deployed from, used to update existing deployments instead of always creating new ones
|
|
134
|
+
*/
|
|
135
|
+
deployed_from?: {
|
|
136
|
+
/**
|
|
137
|
+
* ID of the organization that deployed the manifest
|
|
138
|
+
*/
|
|
139
|
+
source_organization_id?: string;
|
|
140
|
+
/**
|
|
141
|
+
* ID of the manifest that was deployed
|
|
142
|
+
*/
|
|
143
|
+
source_manifest_id?: string;
|
|
144
|
+
/**
|
|
145
|
+
* When the deployment was last triggered
|
|
146
|
+
*/
|
|
147
|
+
last_triggered_at?: string; // date-time
|
|
148
|
+
};
|
|
132
149
|
}
|
|
133
150
|
export interface CommonMarkdownFields {
|
|
134
151
|
/**
|
|
@@ -200,6 +217,10 @@ declare namespace Components {
|
|
|
200
217
|
*/
|
|
201
218
|
JobID;
|
|
202
219
|
job_status?: JobStatus;
|
|
220
|
+
/**
|
|
221
|
+
* The S3 key of the manifest file
|
|
222
|
+
*/
|
|
223
|
+
manifest_file_path?: string;
|
|
203
224
|
message?: string;
|
|
204
225
|
timestamp?: string; // date-time
|
|
205
226
|
/**
|
|
@@ -327,6 +348,23 @@ declare namespace Components {
|
|
|
327
348
|
* https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
|
|
328
349
|
*/
|
|
329
350
|
ready_imported_resources_url?: string;
|
|
351
|
+
/**
|
|
352
|
+
* Information about the manifest that was deployed from, used to update existing deployments instead of always creating new ones
|
|
353
|
+
*/
|
|
354
|
+
deployed_from?: {
|
|
355
|
+
/**
|
|
356
|
+
* ID of the organization that deployed the manifest
|
|
357
|
+
*/
|
|
358
|
+
source_organization_id?: string;
|
|
359
|
+
/**
|
|
360
|
+
* ID of the manifest that was deployed
|
|
361
|
+
*/
|
|
362
|
+
source_manifest_id?: string;
|
|
363
|
+
/**
|
|
364
|
+
* When the deployment was last triggered
|
|
365
|
+
*/
|
|
366
|
+
last_triggered_at?: string; // date-time
|
|
367
|
+
};
|
|
330
368
|
}
|
|
331
369
|
/**
|
|
332
370
|
* ID of an import or export job (state machine)
|
|
@@ -417,6 +455,23 @@ declare namespace Components {
|
|
|
417
455
|
* https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
|
|
418
456
|
*/
|
|
419
457
|
ready_imported_resources_url?: string;
|
|
458
|
+
/**
|
|
459
|
+
* Information about the manifest that was deployed from, used to update existing deployments instead of always creating new ones
|
|
460
|
+
*/
|
|
461
|
+
deployed_from?: {
|
|
462
|
+
/**
|
|
463
|
+
* ID of the organization that deployed the manifest
|
|
464
|
+
*/
|
|
465
|
+
source_organization_id?: string;
|
|
466
|
+
/**
|
|
467
|
+
* ID of the manifest that was deployed
|
|
468
|
+
*/
|
|
469
|
+
source_manifest_id?: string;
|
|
470
|
+
/**
|
|
471
|
+
* When the deployment was last triggered
|
|
472
|
+
*/
|
|
473
|
+
last_triggered_at?: string; // date-time
|
|
474
|
+
};
|
|
420
475
|
/**
|
|
421
476
|
* Markdown content part of a manifest file
|
|
422
477
|
*/
|
|
@@ -536,6 +591,23 @@ declare namespace Components {
|
|
|
536
591
|
* https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
|
|
537
592
|
*/
|
|
538
593
|
ready_imported_resources_url?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Information about the manifest that was deployed from, used to update existing deployments instead of always creating new ones
|
|
596
|
+
*/
|
|
597
|
+
deployed_from?: {
|
|
598
|
+
/**
|
|
599
|
+
* ID of the organization that deployed the manifest
|
|
600
|
+
*/
|
|
601
|
+
source_organization_id?: string;
|
|
602
|
+
/**
|
|
603
|
+
* ID of the manifest that was deployed
|
|
604
|
+
*/
|
|
605
|
+
source_manifest_id?: string;
|
|
606
|
+
/**
|
|
607
|
+
* When the deployment was last triggered
|
|
608
|
+
*/
|
|
609
|
+
last_triggered_at?: string; // date-time
|
|
610
|
+
};
|
|
539
611
|
/**
|
|
540
612
|
* When the manifest was first installed (applied)
|
|
541
613
|
*/
|
|
@@ -561,7 +633,7 @@ declare namespace Components {
|
|
|
561
633
|
/**
|
|
562
634
|
* Name of the source blueprint
|
|
563
635
|
*/
|
|
564
|
-
source_blueprint_name
|
|
636
|
+
source_blueprint_name?: string;
|
|
565
637
|
/**
|
|
566
638
|
* Markdown content of the manifest
|
|
567
639
|
*/
|
|
@@ -606,7 +678,7 @@ declare namespace Components {
|
|
|
606
678
|
/**
|
|
607
679
|
* Type of the resource
|
|
608
680
|
*/
|
|
609
|
-
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" | "custom_variable" | "coupon" | "usergroup" | "saved_view";
|
|
681
|
+
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" | "custom_variable" | "coupon" | "usergroup" | "saved_view" | "app";
|
|
610
682
|
export interface ResourceReplacement {
|
|
611
683
|
/**
|
|
612
684
|
* Original resource ID to be replaced
|
|
@@ -715,12 +787,6 @@ declare namespace Paths {
|
|
|
715
787
|
job_id: Parameters.JobId;
|
|
716
788
|
}
|
|
717
789
|
export interface RequestBody {
|
|
718
|
-
/**
|
|
719
|
-
* This is no longer used
|
|
720
|
-
* example:
|
|
721
|
-
* example.tf
|
|
722
|
-
*/
|
|
723
|
-
manifestFilePath?: string | null;
|
|
724
790
|
/**
|
|
725
791
|
* List of resources to ignore changes for
|
|
726
792
|
*/
|
|
@@ -882,6 +948,10 @@ declare namespace Paths {
|
|
|
882
948
|
* List of resource replacements to apply during import
|
|
883
949
|
*/
|
|
884
950
|
resourceReplacements?: Components.Schemas.ResourceReplacement[];
|
|
951
|
+
deployedFrom?: {
|
|
952
|
+
sourceOrganizationId: string;
|
|
953
|
+
sourceManifestId: string;
|
|
954
|
+
};
|
|
885
955
|
} | {
|
|
886
956
|
/**
|
|
887
957
|
* Manifest s3 key uploaded via `uploadManifest`
|
|
@@ -905,6 +975,10 @@ declare namespace Paths {
|
|
|
905
975
|
* List of resource replacements to apply during import
|
|
906
976
|
*/
|
|
907
977
|
resourceReplacements?: Components.Schemas.ResourceReplacement[];
|
|
978
|
+
deployedFrom?: {
|
|
979
|
+
sourceOrganizationId: string;
|
|
980
|
+
sourceManifestId: string;
|
|
981
|
+
};
|
|
908
982
|
};
|
|
909
983
|
namespace Responses {
|
|
910
984
|
export interface $200 {
|
|
@@ -954,7 +1028,17 @@ declare namespace Paths {
|
|
|
954
1028
|
* journey_HouseConnectionJourney
|
|
955
1029
|
*/
|
|
956
1030
|
resourceName: string;
|
|
957
|
-
metadata?:
|
|
1031
|
+
metadata?: {
|
|
1032
|
+
markdown?: {
|
|
1033
|
+
manifest?: string;
|
|
1034
|
+
preinstall?: string;
|
|
1035
|
+
postinstall?: string;
|
|
1036
|
+
};
|
|
1037
|
+
docs_link?: string;
|
|
1038
|
+
source_blueprint_name?: string;
|
|
1039
|
+
source_blueprint_slug?: string;
|
|
1040
|
+
source_blueprint_version?: string;
|
|
1041
|
+
};
|
|
958
1042
|
/**
|
|
959
1043
|
* Temporary flag to indicate if multiple resources are being exported
|
|
960
1044
|
*/
|
package/dist/openapi.json
CHANGED
|
@@ -201,31 +201,34 @@
|
|
|
201
201
|
"example": "journey_HouseConnectionJourney"
|
|
202
202
|
},
|
|
203
203
|
"metadata": {
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
204
|
+
"type": "object",
|
|
205
|
+
"properties": {
|
|
206
|
+
"markdown": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"manifest": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"preinstall": {
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"postinstall": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
}
|
|
215
218
|
}
|
|
219
|
+
},
|
|
220
|
+
"docs_link": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"source_blueprint_name": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
},
|
|
226
|
+
"source_blueprint_slug": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"source_blueprint_version": {
|
|
230
|
+
"type": "string"
|
|
216
231
|
}
|
|
217
|
-
},
|
|
218
|
-
"docs_link": {
|
|
219
|
-
"type": "string"
|
|
220
|
-
},
|
|
221
|
-
"source_blueprint_name": {
|
|
222
|
-
"type": "string"
|
|
223
|
-
},
|
|
224
|
-
"source_blueprint_slug": {
|
|
225
|
-
"type": "string"
|
|
226
|
-
},
|
|
227
|
-
"source_blueprint_version": {
|
|
228
|
-
"type": "string"
|
|
229
232
|
}
|
|
230
233
|
},
|
|
231
234
|
"isExportingMultipleResources": {
|
|
@@ -371,6 +374,21 @@
|
|
|
371
374
|
"$ref": "#/components/schemas/ResourceReplacement"
|
|
372
375
|
},
|
|
373
376
|
"description": "List of resource replacements to apply during import"
|
|
377
|
+
},
|
|
378
|
+
"deployedFrom": {
|
|
379
|
+
"type": "object",
|
|
380
|
+
"properties": {
|
|
381
|
+
"sourceOrganizationId": {
|
|
382
|
+
"type": "string"
|
|
383
|
+
},
|
|
384
|
+
"sourceManifestId": {
|
|
385
|
+
"type": "string"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"required": [
|
|
389
|
+
"sourceOrganizationId",
|
|
390
|
+
"sourceManifestId"
|
|
391
|
+
]
|
|
374
392
|
}
|
|
375
393
|
},
|
|
376
394
|
"required": [
|
|
@@ -419,6 +437,21 @@
|
|
|
419
437
|
"$ref": "#/components/schemas/ResourceReplacement"
|
|
420
438
|
},
|
|
421
439
|
"description": "List of resource replacements to apply during import"
|
|
440
|
+
},
|
|
441
|
+
"deployedFrom": {
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"sourceOrganizationId": {
|
|
445
|
+
"type": "string"
|
|
446
|
+
},
|
|
447
|
+
"sourceManifestId": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"required": [
|
|
452
|
+
"sourceOrganizationId",
|
|
453
|
+
"sourceManifestId"
|
|
454
|
+
]
|
|
422
455
|
}
|
|
423
456
|
},
|
|
424
457
|
"required": [
|
|
@@ -469,13 +502,6 @@
|
|
|
469
502
|
"schema": {
|
|
470
503
|
"type": "object",
|
|
471
504
|
"properties": {
|
|
472
|
-
"manifestFilePath": {
|
|
473
|
-
"description": "This is no longer used",
|
|
474
|
-
"type": "string",
|
|
475
|
-
"example": "example.tf",
|
|
476
|
-
"deprecated": true,
|
|
477
|
-
"nullable": true
|
|
478
|
-
},
|
|
479
505
|
"resourcesToIgnore": {
|
|
480
506
|
"type": "array",
|
|
481
507
|
"items": {
|
|
@@ -755,7 +781,8 @@
|
|
|
755
781
|
"custom_variable",
|
|
756
782
|
"coupon",
|
|
757
783
|
"usergroup",
|
|
758
|
-
"saved_view"
|
|
784
|
+
"saved_view",
|
|
785
|
+
"app"
|
|
759
786
|
]
|
|
760
787
|
},
|
|
761
788
|
"PlanChanges": {
|
|
@@ -905,6 +932,10 @@
|
|
|
905
932
|
"job_status": {
|
|
906
933
|
"$ref": "#/components/schemas/JobStatus"
|
|
907
934
|
},
|
|
935
|
+
"manifest_file_path": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"description": "The S3 key of the manifest file"
|
|
938
|
+
},
|
|
908
939
|
"message": {
|
|
909
940
|
"type": "string"
|
|
910
941
|
},
|
|
@@ -1078,6 +1109,25 @@
|
|
|
1078
1109
|
"type": "string",
|
|
1079
1110
|
"description": "All the resources that were marked as ready by the user",
|
|
1080
1111
|
"example": "https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json"
|
|
1112
|
+
},
|
|
1113
|
+
"deployed_from": {
|
|
1114
|
+
"type": "object",
|
|
1115
|
+
"properties": {
|
|
1116
|
+
"source_organization_id": {
|
|
1117
|
+
"type": "string",
|
|
1118
|
+
"description": "ID of the organization that deployed the manifest"
|
|
1119
|
+
},
|
|
1120
|
+
"source_manifest_id": {
|
|
1121
|
+
"type": "string",
|
|
1122
|
+
"description": "ID of the manifest that was deployed"
|
|
1123
|
+
},
|
|
1124
|
+
"last_triggered_at": {
|
|
1125
|
+
"type": "string",
|
|
1126
|
+
"format": "date-time",
|
|
1127
|
+
"description": "When the deployment was last triggered"
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"description": "Information about the manifest that was deployed from, used to update existing deployments instead of always creating new ones"
|
|
1081
1131
|
}
|
|
1082
1132
|
}
|
|
1083
1133
|
},
|
|
@@ -1318,10 +1368,7 @@
|
|
|
1318
1368
|
},
|
|
1319
1369
|
"description": "Array of ids of resources selected to be ready by the user"
|
|
1320
1370
|
}
|
|
1321
|
-
}
|
|
1322
|
-
"required": [
|
|
1323
|
-
"source_blueprint_name"
|
|
1324
|
-
]
|
|
1371
|
+
}
|
|
1325
1372
|
}
|
|
1326
1373
|
},
|
|
1327
1374
|
"parameters": {
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.9",
|
|
4
4
|
"description": "Client for epilot Terraform Blueprint Manifest API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"author": "epilot GmbH",
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"private": false,
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
|
11
12
|
"url": "git+https://github.com/epilot-dev/sdk-js.git",
|