@epilot/blueprint-manifest-client 3.5.1 → 3.6.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
@@ -207,6 +207,10 @@ declare namespace Components {
207
207
  * When a resource is marked as hidden, it's used to hide it from the UI
208
208
  */
209
209
  is_hidden?: boolean;
210
+ /**
211
+ * When a resource is marked as disabled, it will be skipped during export
212
+ */
213
+ is_disabled?: boolean;
210
214
  hard_dependencies?: /* Type of the resource */ ResourceNodeType[];
211
215
  /**
212
216
  * Used to automatically remove resources with hard dependencies and to block deletion of resources with hard dependencies
@@ -675,15 +679,18 @@ declare namespace Components {
675
679
  [key: string]: any;
676
680
  };
677
681
  code?: FormattedErrorCodes;
678
- data?: FormattedErrorData;
682
+ data?: {
683
+ formattedResource?: FormattedErrorData;
684
+ resource?: string;
685
+ resourceDependency?: string;
686
+ resources?: string[];
687
+ };
679
688
  }
680
- export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error";
689
+ export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "forbidden" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch";
681
690
  export interface FormattedErrorData {
682
- resource?: {
683
- id?: string;
684
- name?: string;
685
- type?: string;
686
- };
691
+ id?: string;
692
+ name?: string;
693
+ type?: string;
687
694
  }
688
695
  export interface Job {
689
696
  job_id?: /**
package/dist/openapi.json CHANGED
@@ -1697,6 +1697,11 @@
1697
1697
  "type": "boolean",
1698
1698
  "description": "When a resource is marked as hidden, it's used to hide it from the UI"
1699
1699
  },
1700
+ "is_disabled": {
1701
+ "type": "boolean",
1702
+ "default": false,
1703
+ "description": "When a resource is marked as disabled, it will be skipped during export"
1704
+ },
1700
1705
  "hard_dependencies": {
1701
1706
  "type": "array",
1702
1707
  "items": {
@@ -2700,25 +2705,29 @@
2700
2705
  "terraform_plan_error",
2701
2706
  "terraform_apply_error",
2702
2707
  "terraform_show_error",
2703
- "generic_error"
2708
+ "generic_error",
2709
+ "forbidden",
2710
+ "not_found",
2711
+ "undeclared_resource",
2712
+ "invalid_readonly_attribute",
2713
+ "invalid_attribute_value",
2714
+ "unsupported_attribute",
2715
+ "self_referential_block",
2716
+ "circular_dependency",
2717
+ "state_mismatch"
2704
2718
  ]
2705
2719
  },
2706
2720
  "FormattedErrorData": {
2707
2721
  "type": "object",
2708
2722
  "properties": {
2709
- "resource": {
2710
- "type": "object",
2711
- "properties": {
2712
- "id": {
2713
- "type": "string"
2714
- },
2715
- "name": {
2716
- "type": "string"
2717
- },
2718
- "type": {
2719
- "type": "string"
2720
- }
2721
- }
2723
+ "id": {
2724
+ "type": "string"
2725
+ },
2726
+ "name": {
2727
+ "type": "string"
2728
+ },
2729
+ "type": {
2730
+ "type": "string"
2722
2731
  }
2723
2732
  }
2724
2733
  },
@@ -2739,7 +2748,24 @@
2739
2748
  "$ref": "#/components/schemas/FormattedErrorCodes"
2740
2749
  },
2741
2750
  "data": {
2742
- "$ref": "#/components/schemas/FormattedErrorData"
2751
+ "type": "object",
2752
+ "properties": {
2753
+ "formattedResource": {
2754
+ "$ref": "#/components/schemas/FormattedErrorData"
2755
+ },
2756
+ "resource": {
2757
+ "type": "string"
2758
+ },
2759
+ "resourceDependency": {
2760
+ "type": "string"
2761
+ },
2762
+ "resources": {
2763
+ "type": "array",
2764
+ "items": {
2765
+ "type": "string"
2766
+ }
2767
+ }
2768
+ }
2743
2769
  }
2744
2770
  }
2745
2771
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "3.5.1",
3
+ "version": "3.6.2",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",