Skip to content

Commit

Permalink
chore(blueprint-manifest-client): bump client
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Nardo committed Nov 8, 2024
1 parent e15a320 commit 2a985b5
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/blueprint-manifest-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/blueprint-manifest-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/blueprint-manifest-client",
"version": "2.5.5",
"version": "2.5.6",
"description": "Client for epilot Terraform Blueprint Manifest API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
13 changes: 13 additions & 0 deletions clients/blueprint-manifest-client/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ declare namespace Components {
token_id?: string;
}
export interface CommonImportFields {
source_type?: ManifestSource;
/**
* An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import
*/
Expand Down Expand Up @@ -196,6 +197,7 @@ declare namespace Components {
*/
is_verified?: boolean;
errors?: FormattedError[];
source_type?: ManifestSource;
/**
* An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import
*/
Expand Down Expand Up @@ -339,6 +341,7 @@ declare namespace Components {
*/
postinstall?: string;
};
source_type?: ManifestSource;
/**
* An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import
*/
Expand Down Expand Up @@ -409,6 +412,7 @@ declare namespace Components {
*/
updated_at?: string; // date-time
}
export type ManifestSource = "file" | "marketplace" | "sandbox";
export interface ManifestTimestampFields {
/**
* When the manifest was first installed (applied)
Expand Down Expand Up @@ -629,6 +633,10 @@ declare namespace Paths {
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
*/
manifest_id?: string;
/**
* Source of the manifest
*/
source?: "file" | "marketplace" | "sandbox";
} | {
/**
* Manifest s3 key uploaded via `uploadManifest`
Expand All @@ -640,6 +648,10 @@ declare namespace Paths {
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
*/
manifest_id?: string;
/**
* Source of the manifest
*/
source?: "file" | "marketplace" | "sandbox";
};
namespace Responses {
export interface $200 {
Expand Down Expand Up @@ -1002,6 +1014,7 @@ export type JobStatus = Components.Schemas.JobStatus;
export type Manifest = Components.Schemas.Manifest;
export type ManifestID = Components.Schemas.ManifestID;
export type ManifestItem = Components.Schemas.ManifestItem;
export type ManifestSource = Components.Schemas.ManifestSource;
export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
export type PlanChanges = Components.Schemas.PlanChanges;
export type ResourceNode = Components.Schemas.ResourceNode;
Expand Down
31 changes: 31 additions & 0 deletions clients/blueprint-manifest-client/src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,16 @@
"$ref": "#/components/schemas/ManifestID"
}
]
},
"source": {
"allOf": [
{
"description": "Source of the manifest"
},
{
"$ref": "#/components/schemas/ManifestSource"
}
]
}
},
"required": [
Expand All @@ -286,6 +296,16 @@
"$ref": "#/components/schemas/ManifestID"
}
]
},
"source": {
"allOf": [
{
"description": "Source of the manifest"
},
{
"$ref": "#/components/schemas/ManifestSource"
}
]
}
},
"required": [
Expand Down Expand Up @@ -476,6 +496,14 @@
"description": "ID of an import or export job (state machine)",
"example": "4854bb2a-94f9-424d-a968-3fb17fb0bf89"
},
"ManifestSource": {
"type": "string",
"enum": [
"file",
"marketplace",
"sandbox"
]
},
"Manifest": {
"allOf": [
{
Expand Down Expand Up @@ -848,6 +876,9 @@
"CommonImportFields": {
"type": "object",
"properties": {
"source_type": {
"$ref": "#/components/schemas/ManifestSource"
},
"imported_resources": {
"description": "An array of tree-like JSON objects or a singular tree-like JSON object representing the resources to import",
"oneOf": [
Expand Down

0 comments on commit 2a985b5

Please sign in to comment.