@codiac.io/codiac-cli 1.3.64 → 1.3.66

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.
Files changed (93) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/api-plus-local/api-client-plus-local.d.ts +31 -0
  3. package/dist/apis/api-plus-local/api-client-plus-local.js +242 -0
  4. package/dist/apis/api-plus-local/api-client-plus-local.js.map +1 -0
  5. package/dist/apis/api-plus-local/asset-where-entity-merger.d.ts +8 -0
  6. package/dist/apis/api-plus-local/asset-where-entity-merger.js +33 -0
  7. package/dist/apis/api-plus-local/asset-where-entity-merger.js.map +1 -0
  8. package/dist/apis/api-plus-local/enterprise-state-entity-merger.d.ts +8 -0
  9. package/dist/apis/api-plus-local/enterprise-state-entity-merger.js +43 -0
  10. package/dist/apis/api-plus-local/enterprise-state-entity-merger.js.map +1 -0
  11. package/dist/apis/api-plus-local/i-entity-merger.d.ts +4 -0
  12. package/dist/apis/api-plus-local/i-entity-merger.js +3 -0
  13. package/dist/apis/api-plus-local/i-entity-merger.js.map +1 -0
  14. package/dist/apis/api-plus-local/root-map-entity-merger.d.ts +8 -0
  15. package/dist/apis/api-plus-local/root-map-entity-merger.js +51 -0
  16. package/dist/apis/api-plus-local/root-map-entity-merger.js.map +1 -0
  17. package/dist/apis/codiac-api/common/api-client-base.js +9 -2
  18. package/dist/apis/codiac-api/common/api-client-base.js.map +1 -1
  19. package/dist/apis/codiac-api/common/api-crud-client-base.d.ts +22 -0
  20. package/dist/apis/codiac-api/common/api-crud-client-base.js +84 -0
  21. package/dist/apis/codiac-api/common/api-crud-client-base.js.map +1 -0
  22. package/dist/apis/codiac-api/gen/client.d.ts +58 -56
  23. package/dist/apis/codiac-api/gen/client.js +745 -11217
  24. package/dist/apis/codiac-api/gen/client.js.map +1 -1
  25. package/dist/apis/codiac-api/gen/contracts.d.ts +84 -67
  26. package/dist/apis/codiac-api/gen/contracts.js +15 -11
  27. package/dist/apis/codiac-api/gen/contracts.js.map +1 -1
  28. package/dist/apis/codiac-relay/common/api-client-base.js +12 -7
  29. package/dist/apis/codiac-relay/common/api-client-base.js.map +1 -1
  30. package/dist/apis/codiac-relay/common/api-crud-client-base.d.ts +22 -0
  31. package/dist/apis/codiac-relay/common/api-crud-client-base.js +84 -0
  32. package/dist/apis/codiac-relay/common/api-crud-client-base.js.map +1 -0
  33. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js +6 -6
  34. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js.map +1 -1
  35. package/dist/apis/codiac-relay/common/utils.js +1 -1
  36. package/dist/apis/codiac-relay/common/utils.js.map +1 -1
  37. package/dist/apis/codiac-relay/gen/client.d.ts +816 -145
  38. package/dist/apis/codiac-relay/gen/client.js +4645 -1162
  39. package/dist/apis/codiac-relay/gen/client.js.map +1 -1
  40. package/dist/apis/codiac-relay/gen/contracts.d.ts +1058 -155
  41. package/dist/apis/codiac-relay/gen/contracts.js +119 -27
  42. package/dist/apis/codiac-relay/gen/contracts.js.map +1 -1
  43. package/dist/codiac-entities/i-local-entity.d.ts +6 -0
  44. package/dist/codiac-entities/i-local-entity.js +3 -0
  45. package/dist/codiac-entities/i-local-entity.js.map +1 -0
  46. package/dist/command-base-enterprise.d.ts +0 -5
  47. package/dist/command-base-enterprise.js +41 -32
  48. package/dist/command-base-enterprise.js.map +1 -1
  49. package/dist/commands/asset/deploy.js +1 -1
  50. package/dist/commands/asset/recycle.js +5 -3
  51. package/dist/commands/asset/recycle.js.map +1 -1
  52. package/dist/commands/asset/undeploy.d.ts +2 -1
  53. package/dist/commands/asset/undeploy.js +33 -4
  54. package/dist/commands/asset/undeploy.js.map +1 -1
  55. package/dist/commands/asset/where.js +1 -1
  56. package/dist/commands/cabinet/obliterate.d.ts +21 -4
  57. package/dist/commands/cabinet/obliterate.js +94 -72
  58. package/dist/commands/cabinet/obliterate.js.map +1 -1
  59. package/dist/commands/config/import.js +3 -1
  60. package/dist/commands/config/import.js.map +1 -1
  61. package/dist/commands/env/add.js +3 -1
  62. package/dist/commands/env/add.js.map +1 -1
  63. package/dist/commands/environment/cluster/attach.js +5 -0
  64. package/dist/commands/environment/cluster/attach.js.map +1 -1
  65. package/dist/commands/environment/list.js +42 -20
  66. package/dist/commands/environment/list.js.map +1 -1
  67. package/dist/commands/filestore/capture.js.map +1 -1
  68. package/dist/commands/imageRegistry/capture.d.ts +1 -1
  69. package/dist/commands/imageRegistry/capture.js +10 -12
  70. package/dist/commands/imageRegistry/capture.js.map +1 -1
  71. package/dist/commands/noc/cluster/capture.js +1 -1
  72. package/dist/commands/noc/cluster/destroy.d.ts +29 -11
  73. package/dist/commands/noc/cluster/destroy.js +137 -124
  74. package/dist/commands/noc/cluster/destroy.js.map +1 -1
  75. package/dist/commands/noc/cluster/list.js +4 -1
  76. package/dist/commands/noc/cluster/list.js.map +1 -1
  77. package/dist/commands/noc/cluster/recreate.js +1 -3
  78. package/dist/commands/noc/cluster/recreate.js.map +1 -1
  79. package/dist/commands/portal.js +11 -11
  80. package/dist/commands/portal.js.map +1 -1
  81. package/dist/ops/entities/cli-config.d.ts +1 -0
  82. package/dist/ops/entities/cli-config.js.map +1 -1
  83. package/dist/relay/relay-container.d.ts +2 -1
  84. package/dist/relay/relay-container.js +18 -6
  85. package/dist/relay/relay-container.js.map +1 -1
  86. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js +1 -0
  87. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +1 -1
  88. package/dist/uilogic/image-registry-contextualizer.js +1 -1
  89. package/dist/uilogic/image-registry-contextualizer.js.map +1 -1
  90. package/dist/uilogic/rootmap-ui-utils.js +5 -5
  91. package/dist/uilogic/rootmap-ui-utils.js.map +1 -1
  92. package/oclif.manifest.json +117 -45
  93. package/package.json +6 -3
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.64",
2
+ "version": "1.3.66",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
@@ -2678,11 +2678,19 @@
2678
2678
  "description": "Show CLI help.",
2679
2679
  "allowNo": false
2680
2680
  },
2681
+ "cabinet": {
2682
+ "name": "cabinet",
2683
+ "type": "option",
2684
+ "char": "c",
2685
+ "description": "REQUIRED: The name of the cabinet",
2686
+ "required": false,
2687
+ "multiple": false
2688
+ },
2681
2689
  "enterprise": {
2682
2690
  "name": "enterprise",
2683
2691
  "type": "option",
2684
2692
  "char": "n",
2685
- "description": "(required only when more than one enterprise exists) The name of the enterprise containing the cabinet.",
2693
+ "description": "REQUIRED: The name of the enterprise containing the cabinet.",
2686
2694
  "required": false,
2687
2695
  "multiple": false
2688
2696
  },
@@ -2690,8 +2698,58 @@
2690
2698
  "name": "environment",
2691
2699
  "type": "option",
2692
2700
  "char": "e",
2693
- "description": "(optional: defaults to that of the current project branch) The name of the environment this cabinet will be grouped under.",
2701
+ "description": "REQUIRED: The name of the environment this cabinet will be grouped under.",
2694
2702
  "multiple": false
2703
+ },
2704
+ "silent": {
2705
+ "name": "silent",
2706
+ "type": "boolean",
2707
+ "char": "s",
2708
+ "description": "Runs the command in silent mode. Requires --enterprise, --environment, and --cabinet flags.",
2709
+ "allowNo": false,
2710
+ "relationships": [
2711
+ {
2712
+ "type": "all",
2713
+ "flags": [
2714
+ "enterprise",
2715
+ "environment",
2716
+ "cabinet"
2717
+ ]
2718
+ }
2719
+ ],
2720
+ "exclusive": [
2721
+ "echo",
2722
+ "to-script"
2723
+ ]
2724
+ },
2725
+ "echo": {
2726
+ "name": "echo",
2727
+ "type": "boolean",
2728
+ "char": "x",
2729
+ "description": "Prints the command that would be executed to the console",
2730
+ "allowNo": false,
2731
+ "exclusive": [
2732
+ "silent",
2733
+ "to-script"
2734
+ ]
2735
+ },
2736
+ "to-script": {
2737
+ "name": "to-script",
2738
+ "type": "boolean",
2739
+ "char": "t",
2740
+ "description": "Prints the command that would be executed to the console and exits",
2741
+ "allowNo": false,
2742
+ "exclusive": [
2743
+ "silent",
2744
+ "echo"
2745
+ ]
2746
+ },
2747
+ "take-defaults": {
2748
+ "name": "take-defaults",
2749
+ "type": "boolean",
2750
+ "char": "d",
2751
+ "description": "Take all defaults for prompts",
2752
+ "allowNo": false
2695
2753
  }
2696
2754
  },
2697
2755
  "args": {
@@ -4393,12 +4451,12 @@
4393
4451
  "required": false,
4394
4452
  "multiple": false,
4395
4453
  "options": [
4454
+ "AwsEbs",
4455
+ "AwsEfs",
4456
+ "AwsS3Bucket",
4396
4457
  "AzureBlobStorage",
4397
4458
  "AzureDisk",
4398
4459
  "AzureFileStorage",
4399
- "AwsEfs",
4400
- "AwsEbs",
4401
- "AwsS3Bucket",
4402
4460
  "HostMachineFolder"
4403
4461
  ]
4404
4462
  },
@@ -4910,14 +4968,12 @@
4910
4968
  },
4911
4969
  "imageRegistry:capture": {
4912
4970
  "id": "imageRegistry:capture",
4913
- "description": "Upserts the primary and secondary pull secret references for the given container registry.",
4971
+ "description": "Saves a reference to an existing container registry.",
4914
4972
  "strict": true,
4915
4973
  "pluginName": "@codiac.io/codiac-cli",
4916
4974
  "pluginAlias": "@codiac.io/codiac-cli",
4917
4975
  "pluginType": "core",
4918
- "aliases": [
4919
- "pullsecret:unset"
4920
- ],
4976
+ "aliases": [],
4921
4977
  "hiddenAliases": [],
4922
4978
  "flags": {
4923
4979
  "url": {
@@ -9074,35 +9130,11 @@
9074
9130
  "description": "Show CLI help.",
9075
9131
  "allowNo": false
9076
9132
  },
9077
- "name": {
9078
- "name": "name",
9079
- "type": "option",
9080
- "char": "n",
9081
- "description": "Name of the cluster.",
9082
- "required": false,
9083
- "multiple": false
9084
- },
9085
- "partials": {
9086
- "name": "partials",
9087
- "type": "boolean",
9088
- "char": "p",
9089
- "description": "Include clusters that were never fully created.",
9090
- "allowNo": false
9091
- },
9092
- "deleteIdentity": {
9093
- "name": "deleteIdentity",
9094
- "type": "boolean",
9095
- "char": "i",
9096
- "description": "(optional: defaults to false) Ensures that identity security account for the cluster shall also be deleted after the cluster itself is destroyed.",
9097
- "required": false,
9098
- "allowNo": false
9099
- },
9100
9133
  "provider": {
9101
9134
  "name": "provider",
9102
9135
  "type": "option",
9103
9136
  "char": "p",
9104
- "description": "Code for the cloud service provider.",
9105
- "required": false,
9137
+ "description": "REQUIRED: Code for the cloud service provider.",
9106
9138
  "multiple": false,
9107
9139
  "options": [
9108
9140
  "artifactHub",
@@ -9112,27 +9144,67 @@
9112
9144
  "other"
9113
9145
  ]
9114
9146
  },
9147
+ "deleteIdentity": {
9148
+ "name": "deleteIdentity",
9149
+ "type": "boolean",
9150
+ "char": "i",
9151
+ "description": "OPTIONAL: Ensures that identity security account for the cluster shall also be deleted after the cluster itself is destroyed.",
9152
+ "allowNo": false
9153
+ },
9154
+ "partials": {
9155
+ "name": "partials",
9156
+ "type": "boolean",
9157
+ "char": "a",
9158
+ "description": "OPTIONAL: Include clusters that were never fully created.",
9159
+ "allowNo": false
9160
+ },
9115
9161
  "silent": {
9116
9162
  "name": "silent",
9117
9163
  "type": "boolean",
9118
- "char": "y",
9119
- "description": "(Optional: defaults to false) Prevents confirmations of user-values. Required: name",
9120
- "required": false,
9164
+ "char": "s",
9165
+ "description": "Runs the command in silent mode. Requires --name and --provider flags.",
9121
9166
  "allowNo": false,
9122
- "dependsOn": [
9123
- "name"
9167
+ "relationships": [
9168
+ {
9169
+ "type": "all",
9170
+ "flags": [
9171
+ "provider"
9172
+ ]
9173
+ }
9174
+ ],
9175
+ "exclusive": [
9176
+ "echo",
9177
+ "to-script"
9124
9178
  ]
9179
+ },
9180
+ "echo": {
9181
+ "name": "echo",
9182
+ "type": "boolean",
9183
+ "char": "e",
9184
+ "description": "Prints the command that would be executed, but does not execute it.",
9185
+ "allowNo": false
9186
+ },
9187
+ "to-script": {
9188
+ "name": "to-script",
9189
+ "type": "boolean",
9190
+ "char": "t",
9191
+ "description": "Prints the command that would be executed and exits.",
9192
+ "allowNo": false
9193
+ },
9194
+ "take-defaults": {
9195
+ "name": "take-defaults",
9196
+ "type": "boolean",
9197
+ "char": "d",
9198
+ "description": "Takes all defaults for prompts.",
9199
+ "allowNo": false
9125
9200
  }
9126
9201
  },
9127
9202
  "args": {
9128
9203
  "name": {
9129
9204
  "name": "name",
9130
- "description": "Proposed name of the cluster"
9205
+ "description": "Name of cluster to destroy"
9131
9206
  }
9132
- },
9133
- "dependsOn": [
9134
- "name"
9135
- ]
9207
+ }
9136
9208
  },
9137
9209
  "noc:cluster:forget": {
9138
9210
  "id": "noc:cluster:forget",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codiac.io/codiac-cli",
3
3
  "description": "Local command line interface for managing enterprise assets and environments. ",
4
- "version": "1.3.64",
4
+ "version": "1.3.66",
5
5
  "author": "Codiac",
6
6
  "bin": {
7
7
  "codiac": "./bin/run",
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@codiac.io/api-client-base": "^1.1.15",
31
31
  "@codiac.io/cli-tools": "^1.1.10",
32
- "@codiac.io/codiac-common": "^1.3.3",
33
- "@codiac.io/codiac-domain": "^1.6.7",
32
+ "@codiac.io/codiac-common": "^1.3.4-1",
33
+ "@codiac.io/codiac-domain": "^1.7.1",
34
34
  "@codiac.io/codiac-ops-common": "^1.2.1",
35
35
  "@codiac.io/codiac-relay-contracts": "^1.2.23",
36
36
  "@codiac.io/jwt-lib": "^1.1.6",
@@ -161,6 +161,9 @@
161
161
  "bucket": "installers-for-cli",
162
162
  "host": "https://installers-for-cli.s3.amazonaws.com"
163
163
  }
164
+ },
165
+ "macos": {
166
+ "identifier": "com.codiac.cli"
164
167
  }
165
168
  },
166
169
  "repository": "codiac/codiac-cli",