@codiac.io/codiac-cli 1.2.174 → 1.2.202

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 (1276) hide show
  1. package/README.md +4696 -4634
  2. package/bin/dev +16 -16
  3. package/bin/dev.cmd +2 -2
  4. package/bin/run +3 -3
  5. package/bin/run.cmd +3 -3
  6. package/codiac.json +1 -1
  7. package/dist/apis/codiac-api/common/api-client-base.d.ts +165 -0
  8. package/dist/apis/codiac-api/common/api-client-base.js +548 -0
  9. package/dist/apis/codiac-api/common/api-client-base.js.map +1 -0
  10. package/dist/apis/codiac-api/common/api-user-creds.d.ts +7 -0
  11. package/dist/apis/codiac-api/common/api-user-creds.js +19 -0
  12. package/dist/apis/codiac-api/common/api-user-creds.js.map +1 -0
  13. package/dist/apis/codiac-api/common/config-loader.d.ts +6 -0
  14. package/dist/apis/codiac-api/common/config-loader.js +19 -0
  15. package/dist/apis/codiac-api/common/endpoint-spec.d.ts +17 -0
  16. package/dist/apis/codiac-api/common/endpoint-spec.js +28 -0
  17. package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.d.ts +87 -0
  18. package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.js +368 -0
  19. package/dist/apis/codiac-api/common/security/api-auth-methods-legacy.js.map +1 -0
  20. package/dist/apis/codiac-api/common/security/auth-constants.d.ts +15 -0
  21. package/dist/apis/codiac-api/common/security/auth-constants.js +22 -0
  22. package/dist/apis/codiac-api/common/security/i-auth-client.d.ts +44 -0
  23. package/dist/apis/codiac-api/common/security/i-auth-client.js +3 -0
  24. package/dist/apis/codiac-api/common/security/token-holder.d.ts +13 -0
  25. package/dist/apis/codiac-api/common/security/token-holder.js +18 -0
  26. package/dist/apis/codiac-api/common/utils.d.ts +23 -0
  27. package/dist/apis/codiac-api/common/utils.js +83 -0
  28. package/dist/apis/codiac-api/contracts/index.d.ts +1 -0
  29. package/dist/apis/codiac-api/contracts/index.js +5 -0
  30. package/dist/apis/codiac-api/gen/client-config.d.ts +10 -0
  31. package/dist/apis/codiac-api/gen/client-config.js +29 -0
  32. package/dist/apis/codiac-api/gen/client-config.js.map +1 -0
  33. package/dist/apis/codiac-api/gen/client.d.ts +1663 -0
  34. package/dist/apis/codiac-api/gen/client.js +15630 -0
  35. package/dist/apis/codiac-api/gen/client.js.map +1 -0
  36. package/dist/apis/codiac-api/gen/contracts.d.ts +2722 -0
  37. package/dist/apis/codiac-api/gen/contracts.js +403 -0
  38. package/dist/apis/codiac-api/index.d.ts +3 -0
  39. package/dist/apis/codiac-api/index.js +9 -0
  40. package/dist/apis/codiac-relay/common/api-client-base.d.ts +165 -0
  41. package/dist/apis/codiac-relay/common/api-client-base.js +548 -0
  42. package/dist/apis/codiac-relay/common/api-client-base.js.map +1 -0
  43. package/dist/apis/codiac-relay/common/api-user-creds.d.ts +7 -0
  44. package/dist/apis/codiac-relay/common/api-user-creds.js +19 -0
  45. package/dist/apis/codiac-relay/common/api-user-creds.js.map +1 -0
  46. package/dist/apis/codiac-relay/common/config-loader.d.ts +6 -0
  47. package/dist/apis/codiac-relay/common/config-loader.js +19 -0
  48. package/dist/apis/codiac-relay/common/endpoint-spec.d.ts +17 -0
  49. package/dist/apis/codiac-relay/common/endpoint-spec.js +28 -0
  50. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.d.ts +87 -0
  51. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js +368 -0
  52. package/dist/apis/codiac-relay/common/security/api-auth-methods-legacy.js.map +1 -0
  53. package/dist/apis/codiac-relay/common/security/auth-constants.d.ts +15 -0
  54. package/dist/apis/codiac-relay/common/security/auth-constants.js +22 -0
  55. package/dist/apis/codiac-relay/common/security/i-auth-client.d.ts +44 -0
  56. package/dist/apis/codiac-relay/common/security/i-auth-client.js +3 -0
  57. package/dist/apis/codiac-relay/common/security/token-holder.d.ts +13 -0
  58. package/dist/apis/codiac-relay/common/security/token-holder.js +18 -0
  59. package/dist/apis/codiac-relay/common/utils.d.ts +23 -0
  60. package/dist/apis/codiac-relay/common/utils.js +83 -0
  61. package/dist/apis/codiac-relay/contracts/index.d.ts +1 -0
  62. package/dist/apis/codiac-relay/contracts/index.js +5 -0
  63. package/dist/apis/codiac-relay/gen/client-config.d.ts +10 -0
  64. package/dist/apis/codiac-relay/gen/client-config.js +29 -0
  65. package/dist/apis/codiac-relay/gen/client-config.js.map +1 -0
  66. package/dist/apis/codiac-relay/gen/client.d.ts +244 -0
  67. package/dist/apis/codiac-relay/gen/client.js +1863 -0
  68. package/dist/apis/codiac-relay/gen/client.js.map +1 -0
  69. package/dist/apis/codiac-relay/gen/contracts.d.ts +3111 -0
  70. package/dist/apis/codiac-relay/gen/contracts.js +435 -0
  71. package/dist/apis/codiac-relay/index.d.ts +3 -0
  72. package/dist/apis/codiac-relay/index.js +9 -0
  73. package/dist/cli-common/ImagesList.js +67 -0
  74. package/dist/cli-common/argument-manager.d.ts +28 -0
  75. package/dist/cli-common/argument-manager.js +195 -0
  76. package/dist/cli-common/built-in-cli-user-input.d.ts +18 -0
  77. package/dist/cli-common/built-in-cli-user-input.js +310 -0
  78. package/dist/cli-common/built-in-cli-user-input.js.map +1 -0
  79. package/dist/cli-common/cli-interfaces.js +7 -0
  80. package/dist/cli-common/command-base.d.ts +72 -0
  81. package/dist/cli-common/command-base.js +182 -0
  82. package/dist/cli-common/entities/index.d.ts +1 -0
  83. package/dist/cli-common/entities/index.js +5 -0
  84. package/dist/cli-common/entities/prompt-choice.d.ts +7 -0
  85. package/dist/cli-common/entities/prompt-choice.js +3 -0
  86. package/dist/cli-common/file-selector.d.ts +48 -0
  87. package/dist/cli-common/file-selector.js +187 -0
  88. package/dist/cli-common/i-user-input-provider.js +19 -0
  89. package/dist/cli-common/index.d.ts +4 -0
  90. package/dist/cli-common/index.js +11 -0
  91. package/dist/cli-common/mock-ui.d.ts +27 -0
  92. package/dist/cli-common/mock-ui.js +83 -0
  93. package/dist/cli-common/prompt-select-fuzzy.d.ts +19 -0
  94. package/dist/cli-common/prompt-select-fuzzy.js +119 -0
  95. package/dist/cli-common/prompt-select-fuzzy.js.map +1 -0
  96. package/dist/cli-common/tenant-contextualizer.js +436 -0
  97. package/dist/cli-common/test/tenant-contextualizer.spec.js +143 -0
  98. package/dist/cli-entities/output-format-enum.d.ts +7 -0
  99. package/dist/cli-entities/output-format-enum.js +12 -0
  100. package/dist/cli-entities/prompt-choice.js +6 -0
  101. package/dist/codiac-constants.d.ts +35 -0
  102. package/dist/codiac-constants.js +41 -0
  103. package/dist/codiac-entities/asset-binding.d.ts +12 -0
  104. package/dist/codiac-entities/asset-binding.js +18 -0
  105. package/dist/codiac-entities/azure-container-registry.d.ts +4 -0
  106. package/dist/codiac-entities/azure-container-registry.js +3 -0
  107. package/dist/codiac-entities/azure-service-principal.d.ts +23 -0
  108. package/dist/codiac-entities/azure-service-principal.js +24 -0
  109. package/dist/codiac-entities/cloud-account-ref.d.ts +28 -0
  110. package/dist/codiac-entities/cloud-account-ref.js +37 -0
  111. package/dist/codiac-entities/deployment-temp.js +133 -0
  112. package/dist/codiac-entities/i-cloud-account-ref.d.ts +5 -0
  113. package/dist/codiac-entities/i-cloud-account-ref.js +3 -0
  114. package/dist/command-base-enterprise.d.ts +121 -0
  115. package/dist/command-base-enterprise.js +524 -0
  116. package/dist/command-base-tenantless.d.ts +44 -0
  117. package/dist/command-base-tenantless.js +180 -0
  118. package/dist/commands/asset/create.d.ts +42 -0
  119. package/dist/commands/asset/create.js +467 -0
  120. package/dist/commands/asset/destroy.d.ts +20 -0
  121. package/dist/commands/asset/destroy.js +129 -0
  122. package/dist/commands/asset/helm.d.ts +23 -0
  123. package/dist/commands/asset/helm.js +153 -0
  124. package/dist/commands/asset/list.d.ts +28 -0
  125. package/dist/commands/asset/list.js +172 -0
  126. package/dist/commands/asset/probe/create.d.ts +38 -0
  127. package/dist/commands/asset/probe/create.js +187 -0
  128. package/dist/commands/asset/recycle.d.ts +23 -0
  129. package/dist/commands/asset/recycle.js +175 -0
  130. package/dist/commands/asset/view.d.ts +188 -0
  131. package/dist/commands/asset/view.js +1365 -0
  132. package/dist/commands/asset/volume/create.d.ts +23 -0
  133. package/dist/commands/asset/volume/create.js +176 -0
  134. package/dist/commands/asset/volume/delete.d.ts +19 -0
  135. package/dist/commands/asset/volume/delete.js +112 -0
  136. package/dist/commands/asset/volume/list.d.ts +19 -0
  137. package/dist/commands/asset/volume/list.js +70 -0
  138. package/dist/commands/branch/current.d.ts +10 -0
  139. package/dist/commands/branch/current.js +34 -0
  140. package/dist/commands/branch/list.d.ts +15 -0
  141. package/dist/commands/branch/list.js +56 -0
  142. package/dist/commands/branch.d.ts +12 -0
  143. package/dist/commands/branch.js +42 -0
  144. package/dist/commands/build.d.ts +38 -0
  145. package/dist/commands/build.js +120 -0
  146. package/dist/commands/cabinet/create.d.ts +21 -0
  147. package/dist/commands/cabinet/create.js +108 -0
  148. package/dist/commands/cabinet/list.d.ts +23 -0
  149. package/dist/commands/cabinet/list.js +134 -0
  150. package/dist/commands/cabinet/obliterate.d.ts +20 -0
  151. package/dist/commands/cabinet/obliterate.js +83 -0
  152. package/dist/commands/cli.d.ts +10 -0
  153. package/dist/commands/cli.js +100 -0
  154. package/dist/commands/commit.d.ts +11 -0
  155. package/dist/commands/commit.js +40 -0
  156. package/dist/commands/config/add.d.ts +78 -0
  157. package/dist/commands/config/add.js +560 -0
  158. package/dist/commands/config/delete.d.ts +18 -0
  159. package/dist/commands/config/delete.js +119 -0
  160. package/dist/commands/config/deploy.d.ts +22 -0
  161. package/dist/commands/config/deploy.js +125 -0
  162. package/dist/commands/config/import.d.ts +27 -0
  163. package/dist/commands/config/import.js +196 -0
  164. package/dist/commands/config/view.d.ts +25 -0
  165. package/dist/commands/config/view.js +121 -0
  166. package/dist/commands/csp/login.d.ts +18 -0
  167. package/dist/commands/csp/login.js +123 -0
  168. package/dist/commands/csp/login.js.map +1 -0
  169. package/dist/commands/csp/logout.d.ts +15 -0
  170. package/dist/commands/csp/logout.js +74 -0
  171. package/dist/commands/dep/create.d.ts +13 -0
  172. package/dist/commands/dep/create.js +41 -0
  173. package/dist/commands/dep/install.d.ts +9 -0
  174. package/dist/commands/dep/install.js +30 -0
  175. package/dist/commands/dep/list.d.ts +55 -0
  176. package/dist/commands/dep/list.js +98 -0
  177. package/dist/commands/dep/remove.d.ts +12 -0
  178. package/dist/commands/dep/remove.js +62 -0
  179. package/dist/commands/dep/source.d.ts +13 -0
  180. package/dist/commands/dep/source.js +83 -0
  181. package/dist/commands/dep/syncup.d.ts +11 -0
  182. package/dist/commands/dep/syncup.js +54 -0
  183. package/dist/commands/dep/unsource.d.ts +14 -0
  184. package/dist/commands/dep/unsource.js +68 -0
  185. package/dist/commands/dep/upgrade.d.ts +44 -0
  186. package/dist/commands/dep/upgrade.js +244 -0
  187. package/dist/commands/dep.d.ts +12 -0
  188. package/dist/commands/dep.js +51 -0
  189. package/dist/commands/deploy.d.ts +38 -0
  190. package/dist/commands/deploy.js +386 -0
  191. package/dist/commands/deploy.js.map +1 -0
  192. package/dist/commands/enterprise/create.d.ts +20 -0
  193. package/dist/commands/enterprise/create.js +98 -0
  194. package/dist/commands/enterprise/list.d.ts +14 -0
  195. package/dist/commands/enterprise/list.js +84 -0
  196. package/dist/commands/env/add.d.ts +22 -0
  197. package/dist/commands/env/add.js +200 -0
  198. package/dist/commands/environment/create.d.ts +19 -0
  199. package/dist/commands/environment/create.js +89 -0
  200. package/dist/commands/environment/list.d.ts +25 -0
  201. package/dist/commands/environment/list.js +158 -0
  202. package/dist/commands/filestore/capture.d.ts +31 -0
  203. package/dist/commands/filestore/capture.js +342 -0
  204. package/dist/commands/host/map.d.ts +33 -0
  205. package/dist/commands/host/map.js +347 -0
  206. package/dist/commands/identity/delete.d.ts +15 -0
  207. package/dist/commands/identity/delete.js +83 -0
  208. package/dist/commands/identity/list.d.ts +11 -0
  209. package/dist/commands/identity/list.js +43 -0
  210. package/dist/commands/identity.d.ts +22 -0
  211. package/dist/commands/identity.js +77 -0
  212. package/dist/commands/imageRegistry/capture.d.ts +27 -0
  213. package/dist/commands/imageRegistry/capture.js +160 -0
  214. package/dist/commands/imageRegistry/forget.d.ts +23 -0
  215. package/dist/commands/imageRegistry/forget.js +161 -0
  216. package/dist/commands/imageRegistry/pullSecret/set.d.ts +27 -0
  217. package/dist/commands/imageRegistry/pullSecret/set.js +300 -0
  218. package/dist/commands/imageRegistry/pullSecret/unset.d.ts +24 -0
  219. package/dist/commands/imageRegistry/pullSecret/unset.js +243 -0
  220. package/dist/commands/images/add.d.ts +25 -0
  221. package/dist/commands/images/add.js +76 -0
  222. package/dist/commands/images/list.d.ts +14 -0
  223. package/dist/commands/images/list.js +72 -0
  224. package/dist/commands/images/patch.d.ts +14 -0
  225. package/dist/commands/images/patch.js +93 -0
  226. package/dist/commands/images/remove.d.ts +12 -0
  227. package/dist/commands/images/remove.js +38 -0
  228. package/dist/commands/images/version/bump.d.ts +18 -0
  229. package/dist/commands/images/version/bump.js +61 -0
  230. package/dist/commands/images/version.d.ts +16 -0
  231. package/dist/commands/images/version.js +65 -0
  232. package/dist/commands/init.d.ts +17 -0
  233. package/dist/commands/init.js +131 -0
  234. package/dist/commands/kit/create.d.ts +25 -0
  235. package/dist/commands/kit/create.js +142 -0
  236. package/dist/commands/login.d.ts +22 -0
  237. package/dist/commands/login.js +93 -0
  238. package/dist/commands/logout.d.ts +8 -0
  239. package/dist/commands/logout.js +37 -0
  240. package/dist/commands/merge.d.ts +12 -0
  241. package/dist/commands/merge.js +43 -0
  242. package/dist/commands/noc/cluster/create.d.ts +28 -0
  243. package/dist/commands/noc/cluster/create.js +133 -0
  244. package/dist/commands/noc/cluster/deinit.d.ts +17 -0
  245. package/dist/commands/noc/cluster/deinit.js +117 -0
  246. package/dist/commands/noc/cluster/destroy.d.ts +20 -0
  247. package/dist/commands/noc/cluster/destroy.js +138 -0
  248. package/dist/commands/noc/cluster/forget.d.ts +16 -0
  249. package/dist/commands/noc/cluster/forget.js +137 -0
  250. package/dist/commands/noc/cluster/grant.d.ts +24 -0
  251. package/dist/commands/noc/cluster/grant.js +160 -0
  252. package/dist/commands/noc/cluster/init.d.ts +17 -0
  253. package/dist/commands/noc/cluster/init.js +117 -0
  254. package/dist/commands/noc/cluster/list.d.ts +21 -0
  255. package/dist/commands/noc/cluster/list.js +84 -0
  256. package/dist/commands/noc/cluster/recreate.d.ts +28 -0
  257. package/dist/commands/noc/cluster/recreate.js +186 -0
  258. package/dist/commands/pkg/add.d.ts +15 -0
  259. package/dist/commands/pkg/add.js +43 -0
  260. package/dist/commands/pkg/list.d.ts +9 -0
  261. package/dist/commands/pkg/list.js +33 -0
  262. package/dist/commands/pkg/patch.d.ts +13 -0
  263. package/dist/commands/pkg/patch.js +79 -0
  264. package/dist/commands/pkg/remove.d.ts +12 -0
  265. package/dist/commands/pkg/remove.js +70 -0
  266. package/dist/commands/portal.d.ts +11 -0
  267. package/dist/commands/portal.js +82 -0
  268. package/dist/commands/publish.d.ts +21 -0
  269. package/dist/commands/publish.js +52 -0
  270. package/dist/commands/pull.d.ts +13 -0
  271. package/dist/commands/pull.js +30 -0
  272. package/dist/commands/push.d.ts +13 -0
  273. package/dist/commands/push.js +30 -0
  274. package/dist/commands/run.d.ts +35 -0
  275. package/dist/commands/run.js +194 -0
  276. package/dist/commands/secretStore/capture.d.ts +27 -0
  277. package/dist/commands/secretStore/capture.js +175 -0
  278. package/dist/commands/secretStore/forget.d.ts +20 -0
  279. package/dist/commands/secretStore/forget.js +147 -0
  280. package/dist/commands/stage.d.ts +13 -0
  281. package/dist/commands/stage.js +65 -0
  282. package/dist/commands/stash.d.ts +13 -0
  283. package/dist/commands/stash.js +31 -0
  284. package/dist/commands/status.d.ts +12 -0
  285. package/dist/commands/status.js +49 -0
  286. package/dist/commands/stop.d.ts +10 -0
  287. package/dist/commands/stop.js +52 -0
  288. package/dist/commands/switch.d.ts +11 -0
  289. package/dist/commands/switch.js +42 -0
  290. package/dist/commands/sync.d.ts +14 -0
  291. package/dist/commands/sync.js +21 -0
  292. package/dist/commands/tenant/create.d.ts +27 -0
  293. package/dist/commands/tenant/create.js +120 -0
  294. package/dist/commands/tenant/switch.d.ts +24 -0
  295. package/dist/commands/tenant/switch.js +109 -0
  296. package/dist/commands/test.d.ts +13 -0
  297. package/dist/commands/test.js +32 -0
  298. package/dist/commands/test.js.map +1 -0
  299. package/dist/commands/testent.d.ts +13 -0
  300. package/dist/commands/testent.js +33 -0
  301. package/dist/commands/testent.js.map +1 -0
  302. package/dist/commands/unstage.d.ts +12 -0
  303. package/dist/commands/unstage.js +58 -0
  304. package/dist/commands/whereami.d.ts +15 -0
  305. package/dist/commands/whereami.js +123 -0
  306. package/dist/commands/whoami.d.ts +8 -0
  307. package/dist/commands/whoami.js +40 -0
  308. package/dist/errors/NoMembershipError.d.ts +8 -0
  309. package/dist/errors/NoMembershipError.js +15 -0
  310. package/dist/index.d.ts +1 -0
  311. package/dist/index.js +17 -0
  312. package/dist/log-update-wrapper.d.ts +24 -0
  313. package/dist/log-update-wrapper.js +29 -0
  314. package/dist/log4js-logger.d.ts +26 -0
  315. package/dist/log4js-logger.js +138 -0
  316. package/dist/log4js-logger.js.map +1 -0
  317. package/dist/ops/INTERFACES_CLI.d.ts +3 -0
  318. package/dist/ops/INTERFACES_CLI.js +8 -0
  319. package/dist/ops/LocalOps.d.ts +417 -0
  320. package/dist/ops/LocalOps.js +3122 -0
  321. package/dist/ops/LocalOps.js.map +1 -0
  322. package/dist/ops/azure-container-registry-client/azure-container-registry-client.js +148 -0
  323. package/dist/ops/cli-path-walker.js +55 -0
  324. package/dist/ops/codiac-entities/dependency.d.ts +5 -0
  325. package/dist/ops/codiac-entities/dependency.js +11 -0
  326. package/dist/ops/codiac-entities/index.d.ts +1 -0
  327. package/dist/ops/codiac-entities/index.js +5 -0
  328. package/dist/ops/composite-image-registry-client.js +74 -0
  329. package/dist/ops/data/cli-context-repo.d.ts +61 -0
  330. package/dist/ops/data/cli-context-repo.js +270 -0
  331. package/dist/ops/data/cli-context-repo.js.map +1 -0
  332. package/dist/ops/data/index.d.ts +2 -0
  333. package/dist/ops/data/index.js +6 -0
  334. package/dist/ops/data/npm-config-repo.d.ts +13 -0
  335. package/dist/ops/data/npm-config-repo.js +65 -0
  336. package/dist/ops/docker-config.js +131 -0
  337. package/dist/ops/docker-constants.js +22 -0
  338. package/dist/ops/docker-credentials-store.js +238 -0
  339. package/dist/ops/docker-registry-api-client/docker-registry-api-client.js +289 -0
  340. package/dist/ops/docker-registry-api-client/entities/blob-sum.d.ts +7 -0
  341. package/dist/ops/docker-registry-api-client/entities/blob-sum.js +13 -0
  342. package/dist/ops/docker-registry-api-client/entities/docker-access-actions-enum.d.ts +5 -0
  343. package/dist/ops/docker-registry-api-client/entities/docker-access-actions-enum.js +10 -0
  344. package/dist/ops/docker-registry-api-client/entities/docker-auth-token-criteria.d.ts +30 -0
  345. package/dist/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js +36 -0
  346. package/dist/ops/docker-registry-api-client/entities/i-docker-error-response.d.ts +55 -0
  347. package/dist/ops/docker-registry-api-client/entities/i-docker-error-response.js +52 -0
  348. package/dist/ops/docker-registry-api-client/entities/i-docker-list-response.d.ts +7 -0
  349. package/dist/ops/docker-registry-api-client/entities/i-docker-list-response.js +3 -0
  350. package/dist/ops/docker-registry-api-client/entities/image-repository.d.ts +31 -0
  351. package/dist/ops/docker-registry-api-client/entities/image-repository.js +30 -0
  352. package/dist/ops/docker-registry-api-client/entities/image-tag-criteria.d.ts +8 -0
  353. package/dist/ops/docker-registry-api-client/entities/image-tag-criteria.js +14 -0
  354. package/dist/ops/docker-registry-api-client/entities/image-tag-list.d.ts +7 -0
  355. package/dist/ops/docker-registry-api-client/entities/image-tag-list.js +13 -0
  356. package/dist/ops/docker-registry-api-client/entities/manifest-criteria.d.ts +9 -0
  357. package/dist/ops/docker-registry-api-client/entities/manifest-criteria.js +15 -0
  358. package/dist/ops/docker-registry-api-client/entities/manifest.d.ts +15 -0
  359. package/dist/ops/docker-registry-api-client/entities/manifest.js +21 -0
  360. package/dist/ops/docker-registry-api-client/entities/repository-criteria.d.ts +16 -0
  361. package/dist/ops/docker-registry-api-client/entities/repository-criteria.js +24 -0
  362. package/dist/ops/docker-registry-api-client/entities/token-response.d.ts +15 -0
  363. package/dist/ops/docker-registry-api-client/entities/token-response.js +15 -0
  364. package/dist/ops/docker-registry-api-client/entities/token.d.ts +17 -0
  365. package/dist/ops/docker-registry-api-client/entities/token.js +22 -0
  366. package/dist/ops/docker-registry-api-client/entities/version-check-criteria.d.ts +4 -0
  367. package/dist/ops/docker-registry-api-client/entities/version-check-criteria.js +10 -0
  368. package/dist/ops/dx-constants.d.ts +26 -0
  369. package/dist/ops/dx-constants.js +43 -0
  370. package/dist/ops/entities/ImageBuildContext.d.ts +12 -0
  371. package/dist/ops/entities/ImageBuildContext.js +19 -0
  372. package/dist/ops/entities/PipelineContext.d.ts +21 -0
  373. package/dist/ops/entities/PipelineContext.js +23 -0
  374. package/dist/ops/entities/TenantContext.d.ts +10 -0
  375. package/dist/ops/entities/TenantContext.js +16 -0
  376. package/dist/ops/entities/ThaulConfig.js +30 -0
  377. package/dist/ops/entities/azure-service-principal.d.ts +23 -0
  378. package/dist/ops/entities/azure-service-principal.js +24 -0
  379. package/dist/ops/entities/better-logger.js +2 -0
  380. package/dist/ops/entities/branch.d.ts +13 -0
  381. package/dist/ops/entities/branch.js +16 -0
  382. package/dist/ops/entities/cli-config.d.ts +48 -0
  383. package/dist/ops/entities/cli-config.js +61 -0
  384. package/dist/ops/entities/cli-config.js.map +1 -0
  385. package/dist/ops/entities/docker-image.d.ts +60 -0
  386. package/dist/ops/entities/docker-image.js +3 -0
  387. package/dist/ops/entities/helm-spec.d.ts +15 -0
  388. package/dist/ops/entities/helm-spec.js +23 -0
  389. package/dist/ops/entities/index.d.ts +4 -0
  390. package/dist/ops/entities/index.js +12 -0
  391. package/dist/ops/entities/operation-meta.d.ts +8 -0
  392. package/dist/ops/entities/operation-meta.js +19 -0
  393. package/dist/ops/entities/operation-meta.js.map +1 -0
  394. package/dist/ops/entities/scaffolding.d.ts +19 -0
  395. package/dist/ops/entities/scaffolding.js +21 -0
  396. package/dist/ops/extensions/azart-identity-adapter.d.ts +19 -0
  397. package/dist/ops/extensions/azart-identity-adapter.js +97 -0
  398. package/dist/ops/extensions/npm-identity-adapter-base.d.ts +13 -0
  399. package/dist/ops/extensions/npm-identity-adapter-base.js +3 -0
  400. package/dist/ops/extensions/npmjs-identity-adapter.d.ts +13 -0
  401. package/dist/ops/extensions/npmjs-identity-adapter.js +64 -0
  402. package/dist/ops/git-ops.d.ts +8 -0
  403. package/dist/ops/git-ops.js +14 -0
  404. package/dist/ops/i-client-for-image-registry.js +17 -0
  405. package/dist/ops/i-identity-handler.d.ts +33 -0
  406. package/dist/ops/i-identity-handler.js +165 -0
  407. package/dist/ops/i-output-styler.js +17 -0
  408. package/dist/ops/index.d.ts +12 -0
  409. package/dist/ops/index.js +15 -0
  410. package/dist/ops/json-utils.js +59 -0
  411. package/dist/ops/no-style-output-styler.js +30 -0
  412. package/dist/ops/oauth2-client.ts/oauth2-client.d.ts +23 -0
  413. package/dist/ops/oauth2-client.ts/oauth2-client.js +64 -0
  414. package/dist/ops/oauth2-client.ts/oauth2-client.js.map +1 -0
  415. package/dist/ops/project-initializer.d.ts +36 -0
  416. package/dist/ops/project-initializer.js +219 -0
  417. package/dist/ops/scaffolding/base-scaffolding.d.ts +7 -0
  418. package/dist/ops/scaffolding/base-scaffolding.js +21 -0
  419. package/dist/ops/scaffolding/base-scaffolding.js.map +1 -0
  420. package/dist/ops/scaffolding/codiac-api-scaffolding.d.ts +7 -0
  421. package/dist/ops/scaffolding/codiac-api-scaffolding.js +64 -0
  422. package/dist/ops/scaffolding/codiac-api-scaffolding.js.map +1 -0
  423. package/dist/ops/scaffolding/typescript-scaffolding.d.ts +15 -0
  424. package/dist/ops/scaffolding/typescript-scaffolding.js +163 -0
  425. package/dist/ops/scaffolding/typescript-scaffolding.js.map +1 -0
  426. package/dist/ops/test/mock-ui.d.ts +26 -0
  427. package/dist/ops/test/mock-ui.js +88 -0
  428. package/dist/ops/test/test-extensions.d.ts +13 -0
  429. package/dist/ops/test/test-extensions.js +71 -0
  430. package/dist/ops/test/when-a-recursive-file-search-is-run.spec.d.ts +2 -0
  431. package/dist/ops/test/when-a-recursive-file-search-is-run.spec.js +55 -0
  432. package/dist/ops/test/when-git-branchline-is-attempted.spec.d.ts +2 -0
  433. package/dist/ops/test/when-git-branchline-is-attempted.spec.js +38 -0
  434. package/dist/ops/test/when-versions-are-parsed.spec.d.ts +2 -0
  435. package/dist/ops/test/when-versions-are-parsed.spec.js +62 -0
  436. package/dist/ops/throwing-user-input-provider.js +37 -0
  437. package/dist/ops/workspace-versioner.d.ts +122 -0
  438. package/dist/ops/workspace-versioner.js +292 -0
  439. package/dist/ops/workspace-versioner.js.map +1 -0
  440. package/dist/prettify.d.ts +7 -0
  441. package/dist/prettify.js +24 -0
  442. package/dist/read-stdin.d.ts +2 -0
  443. package/dist/read-stdin.js +29 -0
  444. package/dist/relay/contracts/contracts.d.ts +207 -0
  445. package/dist/relay/contracts/contracts.js +230 -0
  446. package/dist/relay/extended-relay-client.d.ts +27 -0
  447. package/dist/relay/extended-relay-client.js +28 -0
  448. package/dist/relay/relay-container.d.ts +41 -0
  449. package/dist/relay/relay-container.js +298 -0
  450. package/dist/relay/relay-container.js.map +1 -0
  451. package/dist/relay/wsclient/relay-socket-listener.d.ts +68 -0
  452. package/dist/relay/wsclient/relay-socket-listener.js +165 -0
  453. package/dist/relay/wsclient/relay-socket-listener.js.map +1 -0
  454. package/dist/relay/wsclient/relay-websocket-client.d.ts +33 -0
  455. package/dist/relay/wsclient/relay-websocket-client.js +179 -0
  456. package/dist/relay/wsclient/relay-websocket-client.js.map +1 -0
  457. package/dist/relay/wsclient/rx-websocket-subject.d.ts +25 -0
  458. package/dist/relay/wsclient/rx-websocket-subject.js +134 -0
  459. package/dist/relay/wsclient/rx-websocket-subject.js.map +1 -0
  460. package/dist/relay/wsclient/socket-contracts.d.ts +22 -0
  461. package/dist/relay/wsclient/socket-contracts.js +3 -0
  462. package/dist/standard-probes.d.ts +5 -0
  463. package/dist/standard-probes.js +22 -0
  464. package/dist/uilogic/build-configurator.d.ts +21 -0
  465. package/dist/uilogic/build-configurator.js +111 -0
  466. package/dist/uilogic/cloud-provider-contextualizer.d.ts +46 -0
  467. package/dist/uilogic/cloud-provider-contextualizer.js +194 -0
  468. package/dist/uilogic/cloud-provider-contextualizer.js.map +1 -0
  469. package/dist/uilogic/cloud-resource-configurator-factory.d.ts +41 -0
  470. package/dist/uilogic/cloud-resource-configurator-factory.js +158 -0
  471. package/dist/uilogic/cloud-resource-configurator-factory.js.map +1 -0
  472. package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.d.ts +38 -0
  473. package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.js +348 -0
  474. package/dist/uilogic/cloud-resource-configurators/aws-resource-configurator.js.map +1 -0
  475. package/dist/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js +78 -0
  476. package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.d.ts +42 -0
  477. package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js +248 -0
  478. package/dist/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js.map +1 -0
  479. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.d.ts +110 -0
  480. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js +782 -0
  481. package/dist/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +1 -0
  482. package/dist/uilogic/cloud-resource-configurators/azure-types.js +10 -0
  483. package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.d.ts +24 -0
  484. package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +106 -0
  485. package/dist/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +1 -0
  486. package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.d.ts +16 -0
  487. package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.js +45 -0
  488. package/dist/uilogic/cloud-resource-configurators/helm-resource-configurator.js.map +1 -0
  489. package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.d.ts +18 -0
  490. package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js +62 -0
  491. package/dist/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js.map +1 -0
  492. package/dist/uilogic/enterprise-contextualizer.d.ts +76 -0
  493. package/dist/uilogic/enterprise-contextualizer.js +671 -0
  494. package/dist/uilogic/environment-contextualizer.d.ts +15 -0
  495. package/dist/uilogic/environment-contextualizer.js +43 -0
  496. package/dist/uilogic/i-cluster-configurator.d.ts +9 -0
  497. package/dist/uilogic/i-cluster-configurator.js +3 -0
  498. package/dist/uilogic/i-login-configurator.d.ts +6 -0
  499. package/dist/uilogic/i-login-configurator.js +3 -0
  500. package/dist/uilogic/i-registry-configurator.d.ts +6 -0
  501. package/dist/uilogic/i-registry-configurator.js +3 -0
  502. package/dist/uilogic/i-secret-store-configurator.d.ts +7 -0
  503. package/dist/uilogic/i-secret-store-configurator.js +3 -0
  504. package/dist/uilogic/image-configurator.d.ts +133 -0
  505. package/dist/uilogic/image-configurator.js +578 -0
  506. package/dist/uilogic/image-configurator.js.map +1 -0
  507. package/dist/uilogic/image-contextualizer.d.ts +24 -0
  508. package/dist/uilogic/image-contextualizer.js +90 -0
  509. package/dist/uilogic/image-contextualizer.js.map +1 -0
  510. package/dist/uilogic/image-registry-contextualizer.d.ts +28 -0
  511. package/dist/uilogic/image-registry-contextualizer.js +127 -0
  512. package/dist/uilogic/image-registry-contextualizer.js.map +1 -0
  513. package/dist/uilogic/index.d.ts +9 -0
  514. package/dist/uilogic/index.js +14 -0
  515. package/dist/uilogic/prompt-select-fuzzy.js +139 -0
  516. package/dist/uilogic/render-methods.d.ts +12 -0
  517. package/dist/uilogic/render-methods.js +65 -0
  518. package/dist/uilogic/tenant-contextualizer.d.ts +79 -0
  519. package/dist/uilogic/tenant-contextualizer.js +578 -0
  520. package/dist/user-context-loader.d.ts +60 -0
  521. package/dist/user-context-loader.js +184 -0
  522. package/oclif.manifest.json +67 -1
  523. package/package.json +149 -150
  524. package/scaffolding/api/.gitignore-scaffolding +68 -68
  525. package/scaffolding/api/.vscode/launch.json +16 -16
  526. package/scaffolding/api/.vscode/settings.json +7 -7
  527. package/scaffolding/api/.vscode/tasks.json +15 -15
  528. package/scaffolding/api/src/app-config.json +2 -2
  529. package/scaffolding/api/src/index.ts-scaffolding +13 -13
  530. package/scaffolding/api/src/myApiDef.ts-scaffolding +25 -25
  531. package/scaffolding/default/.gitignore-scaffolding +2 -2
  532. package/scaffolding/typescript/.gitignore-scaffolding +69 -69
  533. package/scaffolding/typescript/.vscode/launch.json +16 -16
  534. package/scaffolding/typescript/.vscode/settings.json +7 -7
  535. package/scaffolding/typescript/.vscode/tasks.json +15 -15
  536. package/lib/apis/codiac-api/common/api-client-base.d.ts +0 -165
  537. package/lib/apis/codiac-api/common/api-client-base.js +0 -548
  538. package/lib/apis/codiac-api/common/api-client-base.js.map +0 -1
  539. package/lib/apis/codiac-api/common/api-user-creds.d.ts +0 -7
  540. package/lib/apis/codiac-api/common/api-user-creds.js +0 -19
  541. package/lib/apis/codiac-api/common/api-user-creds.js.map +0 -1
  542. package/lib/apis/codiac-api/common/config-loader.d.ts +0 -6
  543. package/lib/apis/codiac-api/common/config-loader.js +0 -19
  544. package/lib/apis/codiac-api/common/endpoint-spec.d.ts +0 -17
  545. package/lib/apis/codiac-api/common/endpoint-spec.js +0 -28
  546. package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.d.ts +0 -87
  547. package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.js +0 -368
  548. package/lib/apis/codiac-api/common/security/api-auth-methods-legacy.js.map +0 -1
  549. package/lib/apis/codiac-api/common/security/auth-constants.d.ts +0 -15
  550. package/lib/apis/codiac-api/common/security/auth-constants.js +0 -22
  551. package/lib/apis/codiac-api/common/security/i-auth-client.d.ts +0 -44
  552. package/lib/apis/codiac-api/common/security/i-auth-client.js +0 -3
  553. package/lib/apis/codiac-api/common/security/token-holder.d.ts +0 -13
  554. package/lib/apis/codiac-api/common/security/token-holder.js +0 -18
  555. package/lib/apis/codiac-api/common/utils.d.ts +0 -23
  556. package/lib/apis/codiac-api/common/utils.js +0 -83
  557. package/lib/apis/codiac-api/contracts/index.d.ts +0 -1
  558. package/lib/apis/codiac-api/contracts/index.js +0 -5
  559. package/lib/apis/codiac-api/gen/client-config.d.ts +0 -10
  560. package/lib/apis/codiac-api/gen/client-config.js +0 -29
  561. package/lib/apis/codiac-api/gen/client-config.js.map +0 -1
  562. package/lib/apis/codiac-api/gen/client.d.ts +0 -1663
  563. package/lib/apis/codiac-api/gen/client.js +0 -15630
  564. package/lib/apis/codiac-api/gen/client.js.map +0 -1
  565. package/lib/apis/codiac-api/gen/contracts.d.ts +0 -2722
  566. package/lib/apis/codiac-api/gen/contracts.js +0 -403
  567. package/lib/apis/codiac-api/index.d.ts +0 -3
  568. package/lib/apis/codiac-api/index.js +0 -9
  569. package/lib/apis/codiac-relay/common/api-client-base.d.ts +0 -165
  570. package/lib/apis/codiac-relay/common/api-client-base.js +0 -548
  571. package/lib/apis/codiac-relay/common/api-client-base.js.map +0 -1
  572. package/lib/apis/codiac-relay/common/api-user-creds.d.ts +0 -7
  573. package/lib/apis/codiac-relay/common/api-user-creds.js +0 -19
  574. package/lib/apis/codiac-relay/common/api-user-creds.js.map +0 -1
  575. package/lib/apis/codiac-relay/common/config-loader.d.ts +0 -6
  576. package/lib/apis/codiac-relay/common/config-loader.js +0 -19
  577. package/lib/apis/codiac-relay/common/endpoint-spec.d.ts +0 -17
  578. package/lib/apis/codiac-relay/common/endpoint-spec.js +0 -28
  579. package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.d.ts +0 -87
  580. package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.js +0 -368
  581. package/lib/apis/codiac-relay/common/security/api-auth-methods-legacy.js.map +0 -1
  582. package/lib/apis/codiac-relay/common/security/auth-constants.d.ts +0 -15
  583. package/lib/apis/codiac-relay/common/security/auth-constants.js +0 -22
  584. package/lib/apis/codiac-relay/common/security/i-auth-client.d.ts +0 -44
  585. package/lib/apis/codiac-relay/common/security/i-auth-client.js +0 -3
  586. package/lib/apis/codiac-relay/common/security/token-holder.d.ts +0 -13
  587. package/lib/apis/codiac-relay/common/security/token-holder.js +0 -18
  588. package/lib/apis/codiac-relay/common/utils.d.ts +0 -23
  589. package/lib/apis/codiac-relay/common/utils.js +0 -83
  590. package/lib/apis/codiac-relay/contracts/index.d.ts +0 -1
  591. package/lib/apis/codiac-relay/contracts/index.js +0 -5
  592. package/lib/apis/codiac-relay/gen/client-config.d.ts +0 -10
  593. package/lib/apis/codiac-relay/gen/client-config.js +0 -29
  594. package/lib/apis/codiac-relay/gen/client-config.js.map +0 -1
  595. package/lib/apis/codiac-relay/gen/client.d.ts +0 -244
  596. package/lib/apis/codiac-relay/gen/client.js +0 -1863
  597. package/lib/apis/codiac-relay/gen/client.js.map +0 -1
  598. package/lib/apis/codiac-relay/gen/contracts.d.ts +0 -3111
  599. package/lib/apis/codiac-relay/gen/contracts.js +0 -435
  600. package/lib/apis/codiac-relay/index.d.ts +0 -3
  601. package/lib/apis/codiac-relay/index.js +0 -9
  602. package/lib/cli-common/ImagesList.js +0 -67
  603. package/lib/cli-common/argument-manager.d.ts +0 -28
  604. package/lib/cli-common/argument-manager.js +0 -195
  605. package/lib/cli-common/built-in-cli-user-input.d.ts +0 -18
  606. package/lib/cli-common/built-in-cli-user-input.js +0 -310
  607. package/lib/cli-common/built-in-cli-user-input.js.map +0 -1
  608. package/lib/cli-common/cli-interfaces.js +0 -7
  609. package/lib/cli-common/command-base.d.ts +0 -72
  610. package/lib/cli-common/command-base.js +0 -182
  611. package/lib/cli-common/entities/index.d.ts +0 -1
  612. package/lib/cli-common/entities/index.js +0 -5
  613. package/lib/cli-common/entities/prompt-choice.d.ts +0 -7
  614. package/lib/cli-common/entities/prompt-choice.js +0 -3
  615. package/lib/cli-common/file-selector.d.ts +0 -48
  616. package/lib/cli-common/file-selector.js +0 -187
  617. package/lib/cli-common/i-user-input-provider.js +0 -19
  618. package/lib/cli-common/index.d.ts +0 -4
  619. package/lib/cli-common/index.js +0 -11
  620. package/lib/cli-common/mock-ui.d.ts +0 -27
  621. package/lib/cli-common/mock-ui.js +0 -83
  622. package/lib/cli-common/prompt-select-fuzzy.d.ts +0 -19
  623. package/lib/cli-common/prompt-select-fuzzy.js +0 -119
  624. package/lib/cli-common/prompt-select-fuzzy.js.map +0 -1
  625. package/lib/cli-common/tenant-contextualizer.js +0 -436
  626. package/lib/cli-common/test/tenant-contextualizer.spec.js +0 -143
  627. package/lib/cli-entities/output-format-enum.d.ts +0 -7
  628. package/lib/cli-entities/output-format-enum.js +0 -12
  629. package/lib/cli-entities/prompt-choice.js +0 -6
  630. package/lib/codiac-constants.d.ts +0 -35
  631. package/lib/codiac-constants.js +0 -41
  632. package/lib/codiac-entities/asset-binding.d.ts +0 -12
  633. package/lib/codiac-entities/asset-binding.js +0 -18
  634. package/lib/codiac-entities/azure-container-registry.d.ts +0 -4
  635. package/lib/codiac-entities/azure-container-registry.js +0 -3
  636. package/lib/codiac-entities/azure-service-principal.d.ts +0 -23
  637. package/lib/codiac-entities/azure-service-principal.js +0 -24
  638. package/lib/codiac-entities/cloud-account-ref.d.ts +0 -28
  639. package/lib/codiac-entities/cloud-account-ref.js +0 -37
  640. package/lib/codiac-entities/deployment-temp.js +0 -133
  641. package/lib/codiac-entities/i-cloud-account-ref.d.ts +0 -5
  642. package/lib/codiac-entities/i-cloud-account-ref.js +0 -3
  643. package/lib/command-base-enterprise.d.ts +0 -121
  644. package/lib/command-base-enterprise.js +0 -524
  645. package/lib/command-base-tenantless.d.ts +0 -44
  646. package/lib/command-base-tenantless.js +0 -180
  647. package/lib/commands/asset/create.d.ts +0 -42
  648. package/lib/commands/asset/create.js +0 -467
  649. package/lib/commands/asset/destroy.d.ts +0 -20
  650. package/lib/commands/asset/destroy.js +0 -129
  651. package/lib/commands/asset/helm.d.ts +0 -23
  652. package/lib/commands/asset/helm.js +0 -153
  653. package/lib/commands/asset/list.d.ts +0 -28
  654. package/lib/commands/asset/list.js +0 -172
  655. package/lib/commands/asset/probe/create.d.ts +0 -38
  656. package/lib/commands/asset/probe/create.js +0 -187
  657. package/lib/commands/asset/recycle.d.ts +0 -23
  658. package/lib/commands/asset/recycle.js +0 -175
  659. package/lib/commands/asset/view.d.ts +0 -188
  660. package/lib/commands/asset/view.js +0 -1365
  661. package/lib/commands/asset/volume/create.d.ts +0 -23
  662. package/lib/commands/asset/volume/create.js +0 -176
  663. package/lib/commands/asset/volume/delete.d.ts +0 -19
  664. package/lib/commands/asset/volume/delete.js +0 -112
  665. package/lib/commands/asset/volume/list.d.ts +0 -19
  666. package/lib/commands/asset/volume/list.js +0 -70
  667. package/lib/commands/branch/current.d.ts +0 -10
  668. package/lib/commands/branch/current.js +0 -34
  669. package/lib/commands/branch/list.d.ts +0 -15
  670. package/lib/commands/branch/list.js +0 -56
  671. package/lib/commands/branch.d.ts +0 -12
  672. package/lib/commands/branch.js +0 -42
  673. package/lib/commands/build.d.ts +0 -38
  674. package/lib/commands/build.js +0 -120
  675. package/lib/commands/cabinet/create.d.ts +0 -21
  676. package/lib/commands/cabinet/create.js +0 -108
  677. package/lib/commands/cabinet/list.d.ts +0 -23
  678. package/lib/commands/cabinet/list.js +0 -134
  679. package/lib/commands/cabinet/obliterate.d.ts +0 -20
  680. package/lib/commands/cabinet/obliterate.js +0 -83
  681. package/lib/commands/cli.d.ts +0 -10
  682. package/lib/commands/cli.js +0 -100
  683. package/lib/commands/commit.d.ts +0 -11
  684. package/lib/commands/commit.js +0 -40
  685. package/lib/commands/config/add.d.ts +0 -78
  686. package/lib/commands/config/add.js +0 -560
  687. package/lib/commands/config/delete.d.ts +0 -18
  688. package/lib/commands/config/delete.js +0 -119
  689. package/lib/commands/config/deploy.d.ts +0 -22
  690. package/lib/commands/config/deploy.js +0 -125
  691. package/lib/commands/config/import.d.ts +0 -27
  692. package/lib/commands/config/import.js +0 -196
  693. package/lib/commands/config/view.d.ts +0 -25
  694. package/lib/commands/config/view.js +0 -121
  695. package/lib/commands/csp/login.d.ts +0 -18
  696. package/lib/commands/csp/login.js +0 -120
  697. package/lib/commands/csp/login.js.map +0 -1
  698. package/lib/commands/csp/logout.d.ts +0 -15
  699. package/lib/commands/csp/logout.js +0 -74
  700. package/lib/commands/dep/create.d.ts +0 -13
  701. package/lib/commands/dep/create.js +0 -41
  702. package/lib/commands/dep/install.d.ts +0 -9
  703. package/lib/commands/dep/install.js +0 -30
  704. package/lib/commands/dep/list.d.ts +0 -55
  705. package/lib/commands/dep/list.js +0 -98
  706. package/lib/commands/dep/remove.d.ts +0 -12
  707. package/lib/commands/dep/remove.js +0 -62
  708. package/lib/commands/dep/source.d.ts +0 -13
  709. package/lib/commands/dep/source.js +0 -83
  710. package/lib/commands/dep/syncup.d.ts +0 -11
  711. package/lib/commands/dep/syncup.js +0 -54
  712. package/lib/commands/dep/unsource.d.ts +0 -14
  713. package/lib/commands/dep/unsource.js +0 -68
  714. package/lib/commands/dep/upgrade.d.ts +0 -44
  715. package/lib/commands/dep/upgrade.js +0 -244
  716. package/lib/commands/dep.d.ts +0 -12
  717. package/lib/commands/dep.js +0 -51
  718. package/lib/commands/deploy.d.ts +0 -38
  719. package/lib/commands/deploy.js +0 -383
  720. package/lib/commands/deploy.js.map +0 -1
  721. package/lib/commands/enterprise/create.d.ts +0 -20
  722. package/lib/commands/enterprise/create.js +0 -98
  723. package/lib/commands/enterprise/list.d.ts +0 -14
  724. package/lib/commands/enterprise/list.js +0 -84
  725. package/lib/commands/env/add.d.ts +0 -22
  726. package/lib/commands/env/add.js +0 -200
  727. package/lib/commands/environment/create.d.ts +0 -19
  728. package/lib/commands/environment/create.js +0 -89
  729. package/lib/commands/environment/list.d.ts +0 -25
  730. package/lib/commands/environment/list.js +0 -158
  731. package/lib/commands/filestore/capture.d.ts +0 -31
  732. package/lib/commands/filestore/capture.js +0 -342
  733. package/lib/commands/host/map.d.ts +0 -33
  734. package/lib/commands/host/map.js +0 -347
  735. package/lib/commands/identity/delete.d.ts +0 -15
  736. package/lib/commands/identity/delete.js +0 -83
  737. package/lib/commands/identity/list.d.ts +0 -11
  738. package/lib/commands/identity/list.js +0 -43
  739. package/lib/commands/identity.d.ts +0 -22
  740. package/lib/commands/identity.js +0 -77
  741. package/lib/commands/imageRegistry/capture.d.ts +0 -27
  742. package/lib/commands/imageRegistry/capture.js +0 -160
  743. package/lib/commands/imageRegistry/forget.d.ts +0 -23
  744. package/lib/commands/imageRegistry/forget.js +0 -161
  745. package/lib/commands/imageRegistry/pullSecret/set.d.ts +0 -27
  746. package/lib/commands/imageRegistry/pullSecret/set.js +0 -300
  747. package/lib/commands/imageRegistry/pullSecret/unset.d.ts +0 -24
  748. package/lib/commands/imageRegistry/pullSecret/unset.js +0 -243
  749. package/lib/commands/images/add.d.ts +0 -25
  750. package/lib/commands/images/add.js +0 -76
  751. package/lib/commands/images/list.d.ts +0 -14
  752. package/lib/commands/images/list.js +0 -72
  753. package/lib/commands/images/patch.d.ts +0 -14
  754. package/lib/commands/images/patch.js +0 -93
  755. package/lib/commands/images/remove.d.ts +0 -12
  756. package/lib/commands/images/remove.js +0 -38
  757. package/lib/commands/images/version/bump.d.ts +0 -18
  758. package/lib/commands/images/version/bump.js +0 -61
  759. package/lib/commands/images/version.d.ts +0 -16
  760. package/lib/commands/images/version.js +0 -65
  761. package/lib/commands/init.d.ts +0 -17
  762. package/lib/commands/init.js +0 -131
  763. package/lib/commands/kit/create.d.ts +0 -25
  764. package/lib/commands/kit/create.js +0 -142
  765. package/lib/commands/login.d.ts +0 -22
  766. package/lib/commands/login.js +0 -93
  767. package/lib/commands/logout.d.ts +0 -8
  768. package/lib/commands/logout.js +0 -37
  769. package/lib/commands/merge.d.ts +0 -12
  770. package/lib/commands/merge.js +0 -43
  771. package/lib/commands/noc/cluster/create.d.ts +0 -28
  772. package/lib/commands/noc/cluster/create.js +0 -133
  773. package/lib/commands/noc/cluster/deinit.d.ts +0 -17
  774. package/lib/commands/noc/cluster/deinit.js +0 -117
  775. package/lib/commands/noc/cluster/destroy.d.ts +0 -20
  776. package/lib/commands/noc/cluster/destroy.js +0 -138
  777. package/lib/commands/noc/cluster/forget.d.ts +0 -16
  778. package/lib/commands/noc/cluster/forget.js +0 -137
  779. package/lib/commands/noc/cluster/grant.d.ts +0 -24
  780. package/lib/commands/noc/cluster/grant.js +0 -160
  781. package/lib/commands/noc/cluster/init.d.ts +0 -17
  782. package/lib/commands/noc/cluster/init.js +0 -117
  783. package/lib/commands/noc/cluster/list.d.ts +0 -21
  784. package/lib/commands/noc/cluster/list.js +0 -84
  785. package/lib/commands/noc/cluster/recreate.d.ts +0 -28
  786. package/lib/commands/noc/cluster/recreate.js +0 -186
  787. package/lib/commands/pkg/add.d.ts +0 -15
  788. package/lib/commands/pkg/add.js +0 -43
  789. package/lib/commands/pkg/list.d.ts +0 -9
  790. package/lib/commands/pkg/list.js +0 -33
  791. package/lib/commands/pkg/patch.d.ts +0 -13
  792. package/lib/commands/pkg/patch.js +0 -79
  793. package/lib/commands/pkg/remove.d.ts +0 -12
  794. package/lib/commands/pkg/remove.js +0 -70
  795. package/lib/commands/portal.d.ts +0 -11
  796. package/lib/commands/portal.js +0 -82
  797. package/lib/commands/publish.d.ts +0 -21
  798. package/lib/commands/publish.js +0 -52
  799. package/lib/commands/pull.d.ts +0 -13
  800. package/lib/commands/pull.js +0 -30
  801. package/lib/commands/push.d.ts +0 -13
  802. package/lib/commands/push.js +0 -30
  803. package/lib/commands/run.d.ts +0 -35
  804. package/lib/commands/run.js +0 -194
  805. package/lib/commands/secretStore/capture.d.ts +0 -27
  806. package/lib/commands/secretStore/capture.js +0 -175
  807. package/lib/commands/secretStore/forget.d.ts +0 -20
  808. package/lib/commands/secretStore/forget.js +0 -147
  809. package/lib/commands/stage.d.ts +0 -13
  810. package/lib/commands/stage.js +0 -65
  811. package/lib/commands/stash.d.ts +0 -13
  812. package/lib/commands/stash.js +0 -31
  813. package/lib/commands/status.d.ts +0 -12
  814. package/lib/commands/status.js +0 -49
  815. package/lib/commands/stop.d.ts +0 -10
  816. package/lib/commands/stop.js +0 -52
  817. package/lib/commands/switch.d.ts +0 -11
  818. package/lib/commands/switch.js +0 -42
  819. package/lib/commands/sync.d.ts +0 -14
  820. package/lib/commands/sync.js +0 -21
  821. package/lib/commands/tenant/create.d.ts +0 -27
  822. package/lib/commands/tenant/create.js +0 -120
  823. package/lib/commands/tenant/switch.d.ts +0 -24
  824. package/lib/commands/tenant/switch.js +0 -109
  825. package/lib/commands/unstage.d.ts +0 -12
  826. package/lib/commands/unstage.js +0 -58
  827. package/lib/commands/whereami.d.ts +0 -15
  828. package/lib/commands/whereami.js +0 -123
  829. package/lib/commands/whoami.d.ts +0 -8
  830. package/lib/commands/whoami.js +0 -40
  831. package/lib/errors/NoMembershipError.d.ts +0 -8
  832. package/lib/errors/NoMembershipError.js +0 -15
  833. package/lib/index.d.ts +0 -1
  834. package/lib/index.js +0 -17
  835. package/lib/log-update-wrapper.d.ts +0 -24
  836. package/lib/log-update-wrapper.js +0 -29
  837. package/lib/log4js-logger.d.ts +0 -26
  838. package/lib/log4js-logger.js +0 -138
  839. package/lib/log4js-logger.js.map +0 -1
  840. package/lib/ops/INTERFACES_CLI.d.ts +0 -3
  841. package/lib/ops/INTERFACES_CLI.js +0 -8
  842. package/lib/ops/LocalOps.d.ts +0 -417
  843. package/lib/ops/LocalOps.js +0 -3122
  844. package/lib/ops/LocalOps.js.map +0 -1
  845. package/lib/ops/azure-container-registry-client/azure-container-registry-client.js +0 -148
  846. package/lib/ops/cli-path-walker.js +0 -55
  847. package/lib/ops/codiac-entities/dependency.d.ts +0 -5
  848. package/lib/ops/codiac-entities/dependency.js +0 -11
  849. package/lib/ops/codiac-entities/index.d.ts +0 -1
  850. package/lib/ops/codiac-entities/index.js +0 -5
  851. package/lib/ops/composite-image-registry-client.js +0 -74
  852. package/lib/ops/data/cli-context-repo.d.ts +0 -61
  853. package/lib/ops/data/cli-context-repo.js +0 -270
  854. package/lib/ops/data/cli-context-repo.js.map +0 -1
  855. package/lib/ops/data/index.d.ts +0 -2
  856. package/lib/ops/data/index.js +0 -6
  857. package/lib/ops/data/npm-config-repo.d.ts +0 -13
  858. package/lib/ops/data/npm-config-repo.js +0 -65
  859. package/lib/ops/docker-config.js +0 -131
  860. package/lib/ops/docker-constants.js +0 -22
  861. package/lib/ops/docker-credentials-store.js +0 -238
  862. package/lib/ops/docker-registry-api-client/docker-registry-api-client.js +0 -289
  863. package/lib/ops/docker-registry-api-client/entities/blob-sum.d.ts +0 -7
  864. package/lib/ops/docker-registry-api-client/entities/blob-sum.js +0 -13
  865. package/lib/ops/docker-registry-api-client/entities/docker-access-actions-enum.d.ts +0 -5
  866. package/lib/ops/docker-registry-api-client/entities/docker-access-actions-enum.js +0 -10
  867. package/lib/ops/docker-registry-api-client/entities/docker-auth-token-criteria.d.ts +0 -30
  868. package/lib/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js +0 -36
  869. package/lib/ops/docker-registry-api-client/entities/i-docker-error-response.d.ts +0 -55
  870. package/lib/ops/docker-registry-api-client/entities/i-docker-error-response.js +0 -52
  871. package/lib/ops/docker-registry-api-client/entities/i-docker-list-response.d.ts +0 -7
  872. package/lib/ops/docker-registry-api-client/entities/i-docker-list-response.js +0 -3
  873. package/lib/ops/docker-registry-api-client/entities/image-repository.d.ts +0 -31
  874. package/lib/ops/docker-registry-api-client/entities/image-repository.js +0 -30
  875. package/lib/ops/docker-registry-api-client/entities/image-tag-criteria.d.ts +0 -8
  876. package/lib/ops/docker-registry-api-client/entities/image-tag-criteria.js +0 -14
  877. package/lib/ops/docker-registry-api-client/entities/image-tag-list.d.ts +0 -7
  878. package/lib/ops/docker-registry-api-client/entities/image-tag-list.js +0 -13
  879. package/lib/ops/docker-registry-api-client/entities/manifest-criteria.d.ts +0 -9
  880. package/lib/ops/docker-registry-api-client/entities/manifest-criteria.js +0 -15
  881. package/lib/ops/docker-registry-api-client/entities/manifest.d.ts +0 -15
  882. package/lib/ops/docker-registry-api-client/entities/manifest.js +0 -21
  883. package/lib/ops/docker-registry-api-client/entities/repository-criteria.d.ts +0 -16
  884. package/lib/ops/docker-registry-api-client/entities/repository-criteria.js +0 -24
  885. package/lib/ops/docker-registry-api-client/entities/token-response.d.ts +0 -15
  886. package/lib/ops/docker-registry-api-client/entities/token-response.js +0 -15
  887. package/lib/ops/docker-registry-api-client/entities/token.d.ts +0 -17
  888. package/lib/ops/docker-registry-api-client/entities/token.js +0 -22
  889. package/lib/ops/docker-registry-api-client/entities/version-check-criteria.d.ts +0 -4
  890. package/lib/ops/docker-registry-api-client/entities/version-check-criteria.js +0 -10
  891. package/lib/ops/dx-constants.d.ts +0 -26
  892. package/lib/ops/dx-constants.js +0 -43
  893. package/lib/ops/entities/ImageBuildContext.d.ts +0 -12
  894. package/lib/ops/entities/ImageBuildContext.js +0 -19
  895. package/lib/ops/entities/PipelineContext.d.ts +0 -21
  896. package/lib/ops/entities/PipelineContext.js +0 -23
  897. package/lib/ops/entities/TenantContext.d.ts +0 -10
  898. package/lib/ops/entities/TenantContext.js +0 -16
  899. package/lib/ops/entities/ThaulConfig.js +0 -30
  900. package/lib/ops/entities/azure-service-principal.d.ts +0 -23
  901. package/lib/ops/entities/azure-service-principal.js +0 -24
  902. package/lib/ops/entities/better-logger.js +0 -2
  903. package/lib/ops/entities/branch.d.ts +0 -13
  904. package/lib/ops/entities/branch.js +0 -16
  905. package/lib/ops/entities/cli-config.d.ts +0 -48
  906. package/lib/ops/entities/cli-config.js +0 -61
  907. package/lib/ops/entities/cli-config.js.map +0 -1
  908. package/lib/ops/entities/docker-image.d.ts +0 -60
  909. package/lib/ops/entities/docker-image.js +0 -3
  910. package/lib/ops/entities/helm-spec.d.ts +0 -15
  911. package/lib/ops/entities/helm-spec.js +0 -23
  912. package/lib/ops/entities/index.d.ts +0 -4
  913. package/lib/ops/entities/index.js +0 -12
  914. package/lib/ops/entities/operation-meta.d.ts +0 -8
  915. package/lib/ops/entities/operation-meta.js +0 -19
  916. package/lib/ops/entities/operation-meta.js.map +0 -1
  917. package/lib/ops/entities/scaffolding.d.ts +0 -19
  918. package/lib/ops/entities/scaffolding.js +0 -21
  919. package/lib/ops/extensions/azart-identity-adapter.d.ts +0 -19
  920. package/lib/ops/extensions/azart-identity-adapter.js +0 -97
  921. package/lib/ops/extensions/npm-identity-adapter-base.d.ts +0 -13
  922. package/lib/ops/extensions/npm-identity-adapter-base.js +0 -3
  923. package/lib/ops/extensions/npmjs-identity-adapter.d.ts +0 -13
  924. package/lib/ops/extensions/npmjs-identity-adapter.js +0 -64
  925. package/lib/ops/git-ops.d.ts +0 -8
  926. package/lib/ops/git-ops.js +0 -14
  927. package/lib/ops/i-client-for-image-registry.js +0 -17
  928. package/lib/ops/i-identity-handler.d.ts +0 -33
  929. package/lib/ops/i-identity-handler.js +0 -165
  930. package/lib/ops/i-output-styler.js +0 -17
  931. package/lib/ops/index.d.ts +0 -12
  932. package/lib/ops/index.js +0 -15
  933. package/lib/ops/json-utils.js +0 -59
  934. package/lib/ops/no-style-output-styler.js +0 -30
  935. package/lib/ops/oauth2-client.ts/oauth2-client.d.ts +0 -23
  936. package/lib/ops/oauth2-client.ts/oauth2-client.js +0 -64
  937. package/lib/ops/oauth2-client.ts/oauth2-client.js.map +0 -1
  938. package/lib/ops/project-initializer.d.ts +0 -36
  939. package/lib/ops/project-initializer.js +0 -219
  940. package/lib/ops/scaffolding/base-scaffolding.d.ts +0 -7
  941. package/lib/ops/scaffolding/base-scaffolding.js +0 -21
  942. package/lib/ops/scaffolding/base-scaffolding.js.map +0 -1
  943. package/lib/ops/scaffolding/codiac-api-scaffolding.d.ts +0 -7
  944. package/lib/ops/scaffolding/codiac-api-scaffolding.js +0 -64
  945. package/lib/ops/scaffolding/codiac-api-scaffolding.js.map +0 -1
  946. package/lib/ops/scaffolding/typescript-scaffolding.d.ts +0 -15
  947. package/lib/ops/scaffolding/typescript-scaffolding.js +0 -163
  948. package/lib/ops/scaffolding/typescript-scaffolding.js.map +0 -1
  949. package/lib/ops/test/mock-ui.d.ts +0 -26
  950. package/lib/ops/test/mock-ui.js +0 -88
  951. package/lib/ops/test/test-extensions.d.ts +0 -13
  952. package/lib/ops/test/test-extensions.js +0 -71
  953. package/lib/ops/test/when-a-recursive-file-search-is-run.spec.d.ts +0 -2
  954. package/lib/ops/test/when-a-recursive-file-search-is-run.spec.js +0 -55
  955. package/lib/ops/test/when-git-branchline-is-attempted.spec.d.ts +0 -2
  956. package/lib/ops/test/when-git-branchline-is-attempted.spec.js +0 -38
  957. package/lib/ops/test/when-versions-are-parsed.spec.d.ts +0 -2
  958. package/lib/ops/test/when-versions-are-parsed.spec.js +0 -62
  959. package/lib/ops/throwing-user-input-provider.js +0 -37
  960. package/lib/ops/workspace-versioner.d.ts +0 -122
  961. package/lib/ops/workspace-versioner.js +0 -292
  962. package/lib/ops/workspace-versioner.js.map +0 -1
  963. package/lib/prettify.d.ts +0 -7
  964. package/lib/prettify.js +0 -24
  965. package/lib/read-stdin.d.ts +0 -2
  966. package/lib/read-stdin.js +0 -29
  967. package/lib/relay/contracts/contracts.d.ts +0 -207
  968. package/lib/relay/contracts/contracts.js +0 -230
  969. package/lib/relay/extended-relay-client.d.ts +0 -27
  970. package/lib/relay/extended-relay-client.js +0 -28
  971. package/lib/relay/relay-container.d.ts +0 -41
  972. package/lib/relay/relay-container.js +0 -298
  973. package/lib/relay/relay-container.js.map +0 -1
  974. package/lib/relay/wsclient/relay-socket-listener.d.ts +0 -68
  975. package/lib/relay/wsclient/relay-socket-listener.js +0 -165
  976. package/lib/relay/wsclient/relay-socket-listener.js.map +0 -1
  977. package/lib/relay/wsclient/relay-websocket-client.d.ts +0 -33
  978. package/lib/relay/wsclient/relay-websocket-client.js +0 -179
  979. package/lib/relay/wsclient/relay-websocket-client.js.map +0 -1
  980. package/lib/relay/wsclient/rx-websocket-subject.d.ts +0 -25
  981. package/lib/relay/wsclient/rx-websocket-subject.js +0 -134
  982. package/lib/relay/wsclient/rx-websocket-subject.js.map +0 -1
  983. package/lib/relay/wsclient/socket-contracts.d.ts +0 -22
  984. package/lib/relay/wsclient/socket-contracts.js +0 -3
  985. package/lib/standard-probes.d.ts +0 -5
  986. package/lib/standard-probes.js +0 -22
  987. package/lib/uilogic/build-configurator.d.ts +0 -21
  988. package/lib/uilogic/build-configurator.js +0 -111
  989. package/lib/uilogic/cloud-provider-contextualizer.d.ts +0 -46
  990. package/lib/uilogic/cloud-provider-contextualizer.js +0 -194
  991. package/lib/uilogic/cloud-provider-contextualizer.js.map +0 -1
  992. package/lib/uilogic/cloud-resource-configurator-factory.d.ts +0 -41
  993. package/lib/uilogic/cloud-resource-configurator-factory.js +0 -158
  994. package/lib/uilogic/cloud-resource-configurator-factory.js.map +0 -1
  995. package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.d.ts +0 -38
  996. package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js +0 -348
  997. package/lib/uilogic/cloud-resource-configurators/aws-resource-configurator.js.map +0 -1
  998. package/lib/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js +0 -78
  999. package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.d.ts +0 -42
  1000. package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js +0 -248
  1001. package/lib/uilogic/cloud-resource-configurators/az-interactive-login-configurator.js.map +0 -1
  1002. package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.d.ts +0 -110
  1003. package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js +0 -782
  1004. package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +0 -1
  1005. package/lib/uilogic/cloud-resource-configurators/azure-types.js +0 -10
  1006. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.d.ts +0 -24
  1007. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +0 -106
  1008. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +0 -1
  1009. package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.d.ts +0 -16
  1010. package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.js +0 -45
  1011. package/lib/uilogic/cloud-resource-configurators/helm-resource-configurator.js.map +0 -1
  1012. package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.d.ts +0 -18
  1013. package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js +0 -62
  1014. package/lib/uilogic/cloud-resource-configurators/unsupported-resource-configurator.js.map +0 -1
  1015. package/lib/uilogic/enterprise-contextualizer.d.ts +0 -76
  1016. package/lib/uilogic/enterprise-contextualizer.js +0 -671
  1017. package/lib/uilogic/environment-contextualizer.d.ts +0 -15
  1018. package/lib/uilogic/environment-contextualizer.js +0 -43
  1019. package/lib/uilogic/i-cluster-configurator.d.ts +0 -9
  1020. package/lib/uilogic/i-cluster-configurator.js +0 -3
  1021. package/lib/uilogic/i-login-configurator.d.ts +0 -6
  1022. package/lib/uilogic/i-login-configurator.js +0 -3
  1023. package/lib/uilogic/i-registry-configurator.d.ts +0 -6
  1024. package/lib/uilogic/i-registry-configurator.js +0 -3
  1025. package/lib/uilogic/i-secret-store-configurator.d.ts +0 -7
  1026. package/lib/uilogic/i-secret-store-configurator.js +0 -3
  1027. package/lib/uilogic/image-configurator.d.ts +0 -133
  1028. package/lib/uilogic/image-configurator.js +0 -578
  1029. package/lib/uilogic/image-configurator.js.map +0 -1
  1030. package/lib/uilogic/image-contextualizer.d.ts +0 -24
  1031. package/lib/uilogic/image-contextualizer.js +0 -90
  1032. package/lib/uilogic/image-contextualizer.js.map +0 -1
  1033. package/lib/uilogic/image-registry-contextualizer.d.ts +0 -28
  1034. package/lib/uilogic/image-registry-contextualizer.js +0 -127
  1035. package/lib/uilogic/image-registry-contextualizer.js.map +0 -1
  1036. package/lib/uilogic/index.d.ts +0 -9
  1037. package/lib/uilogic/index.js +0 -14
  1038. package/lib/uilogic/prompt-select-fuzzy.js +0 -139
  1039. package/lib/uilogic/render-methods.d.ts +0 -12
  1040. package/lib/uilogic/render-methods.js +0 -65
  1041. package/lib/uilogic/tenant-contextualizer.d.ts +0 -79
  1042. package/lib/uilogic/tenant-contextualizer.js +0 -578
  1043. package/lib/user-context-loader.d.ts +0 -60
  1044. package/lib/user-context-loader.js +0 -184
  1045. /package/{lib → dist}/apis/codiac-api/common/config-loader.js.map +0 -0
  1046. /package/{lib → dist}/apis/codiac-api/common/endpoint-spec.js.map +0 -0
  1047. /package/{lib → dist}/apis/codiac-api/common/security/auth-constants.js.map +0 -0
  1048. /package/{lib → dist}/apis/codiac-api/common/security/i-auth-client.js.map +0 -0
  1049. /package/{lib → dist}/apis/codiac-api/common/security/token-holder.js.map +0 -0
  1050. /package/{lib → dist}/apis/codiac-api/common/utils.js.map +0 -0
  1051. /package/{lib → dist}/apis/codiac-api/contracts/index.js.map +0 -0
  1052. /package/{lib → dist}/apis/codiac-api/gen/contracts.js.map +0 -0
  1053. /package/{lib → dist}/apis/codiac-api/index.js.map +0 -0
  1054. /package/{lib → dist}/apis/codiac-relay/common/config-loader.js.map +0 -0
  1055. /package/{lib → dist}/apis/codiac-relay/common/endpoint-spec.js.map +0 -0
  1056. /package/{lib → dist}/apis/codiac-relay/common/security/auth-constants.js.map +0 -0
  1057. /package/{lib → dist}/apis/codiac-relay/common/security/i-auth-client.js.map +0 -0
  1058. /package/{lib → dist}/apis/codiac-relay/common/security/token-holder.js.map +0 -0
  1059. /package/{lib → dist}/apis/codiac-relay/common/utils.js.map +0 -0
  1060. /package/{lib → dist}/apis/codiac-relay/contracts/index.js.map +0 -0
  1061. /package/{lib → dist}/apis/codiac-relay/gen/contracts.js.map +0 -0
  1062. /package/{lib → dist}/apis/codiac-relay/index.js.map +0 -0
  1063. /package/{lib → dist}/cli-common/ImagesList.d.ts +0 -0
  1064. /package/{lib → dist}/cli-common/ImagesList.js.map +0 -0
  1065. /package/{lib → dist}/cli-common/argument-manager.js.map +0 -0
  1066. /package/{lib → dist}/cli-common/cli-interfaces.d.ts +0 -0
  1067. /package/{lib → dist}/cli-common/cli-interfaces.js.map +0 -0
  1068. /package/{lib → dist}/cli-common/command-base.js.map +0 -0
  1069. /package/{lib → dist}/cli-common/entities/index.js.map +0 -0
  1070. /package/{lib → dist}/cli-common/entities/prompt-choice.js.map +0 -0
  1071. /package/{lib → dist}/cli-common/file-selector.js.map +0 -0
  1072. /package/{lib → dist}/cli-common/i-user-input-provider.d.ts +0 -0
  1073. /package/{lib → dist}/cli-common/i-user-input-provider.js.map +0 -0
  1074. /package/{lib → dist}/cli-common/index.js.map +0 -0
  1075. /package/{lib → dist}/cli-common/mock-ui.js.map +0 -0
  1076. /package/{lib → dist}/cli-common/tenant-contextualizer.d.ts +0 -0
  1077. /package/{lib → dist}/cli-common/tenant-contextualizer.js.map +0 -0
  1078. /package/{lib → dist}/cli-common/test/tenant-contextualizer.spec.d.ts +0 -0
  1079. /package/{lib → dist}/cli-common/test/tenant-contextualizer.spec.js.map +0 -0
  1080. /package/{lib → dist}/cli-entities/output-format-enum.js.map +0 -0
  1081. /package/{lib → dist}/cli-entities/prompt-choice.d.ts +0 -0
  1082. /package/{lib → dist}/cli-entities/prompt-choice.js.map +0 -0
  1083. /package/{lib → dist}/codiac-constants.js.map +0 -0
  1084. /package/{lib → dist}/codiac-entities/asset-binding.js.map +0 -0
  1085. /package/{lib → dist}/codiac-entities/azure-container-registry.js.map +0 -0
  1086. /package/{lib → dist}/codiac-entities/azure-service-principal.js.map +0 -0
  1087. /package/{lib → dist}/codiac-entities/cloud-account-ref.js.map +0 -0
  1088. /package/{lib → dist}/codiac-entities/deployment-temp.d.ts +0 -0
  1089. /package/{lib → dist}/codiac-entities/deployment-temp.js.map +0 -0
  1090. /package/{lib → dist}/codiac-entities/i-cloud-account-ref.js.map +0 -0
  1091. /package/{lib → dist}/command-base-enterprise.js.map +0 -0
  1092. /package/{lib → dist}/command-base-tenantless.js.map +0 -0
  1093. /package/{lib → dist}/commands/asset/create.js.map +0 -0
  1094. /package/{lib → dist}/commands/asset/destroy.js.map +0 -0
  1095. /package/{lib → dist}/commands/asset/helm.js.map +0 -0
  1096. /package/{lib → dist}/commands/asset/list.js.map +0 -0
  1097. /package/{lib → dist}/commands/asset/probe/create.js.map +0 -0
  1098. /package/{lib → dist}/commands/asset/recycle.js.map +0 -0
  1099. /package/{lib → dist}/commands/asset/view.js.map +0 -0
  1100. /package/{lib → dist}/commands/asset/volume/create.js.map +0 -0
  1101. /package/{lib → dist}/commands/asset/volume/delete.js.map +0 -0
  1102. /package/{lib → dist}/commands/asset/volume/list.js.map +0 -0
  1103. /package/{lib → dist}/commands/branch/current.js.map +0 -0
  1104. /package/{lib → dist}/commands/branch/list.js.map +0 -0
  1105. /package/{lib → dist}/commands/branch.js.map +0 -0
  1106. /package/{lib → dist}/commands/build.js.map +0 -0
  1107. /package/{lib → dist}/commands/cabinet/create.js.map +0 -0
  1108. /package/{lib → dist}/commands/cabinet/list.js.map +0 -0
  1109. /package/{lib → dist}/commands/cabinet/obliterate.js.map +0 -0
  1110. /package/{lib → dist}/commands/cli.js.map +0 -0
  1111. /package/{lib → dist}/commands/commit.js.map +0 -0
  1112. /package/{lib → dist}/commands/config/add.js.map +0 -0
  1113. /package/{lib → dist}/commands/config/delete.js.map +0 -0
  1114. /package/{lib → dist}/commands/config/deploy.js.map +0 -0
  1115. /package/{lib → dist}/commands/config/import.js.map +0 -0
  1116. /package/{lib → dist}/commands/config/view.js.map +0 -0
  1117. /package/{lib → dist}/commands/csp/logout.js.map +0 -0
  1118. /package/{lib → dist}/commands/dep/create.js.map +0 -0
  1119. /package/{lib → dist}/commands/dep/install.js.map +0 -0
  1120. /package/{lib → dist}/commands/dep/list.js.map +0 -0
  1121. /package/{lib → dist}/commands/dep/remove.js.map +0 -0
  1122. /package/{lib → dist}/commands/dep/source.js.map +0 -0
  1123. /package/{lib → dist}/commands/dep/syncup.js.map +0 -0
  1124. /package/{lib → dist}/commands/dep/unsource.js.map +0 -0
  1125. /package/{lib → dist}/commands/dep/upgrade.js.map +0 -0
  1126. /package/{lib → dist}/commands/dep.js.map +0 -0
  1127. /package/{lib → dist}/commands/enterprise/create.js.map +0 -0
  1128. /package/{lib → dist}/commands/enterprise/list.js.map +0 -0
  1129. /package/{lib → dist}/commands/env/add.js.map +0 -0
  1130. /package/{lib → dist}/commands/environment/create.js.map +0 -0
  1131. /package/{lib → dist}/commands/environment/list.js.map +0 -0
  1132. /package/{lib → dist}/commands/filestore/capture.js.map +0 -0
  1133. /package/{lib → dist}/commands/host/map.js.map +0 -0
  1134. /package/{lib → dist}/commands/identity/delete.js.map +0 -0
  1135. /package/{lib → dist}/commands/identity/list.js.map +0 -0
  1136. /package/{lib → dist}/commands/identity.js.map +0 -0
  1137. /package/{lib → dist}/commands/imageRegistry/capture.js.map +0 -0
  1138. /package/{lib → dist}/commands/imageRegistry/forget.js.map +0 -0
  1139. /package/{lib → dist}/commands/imageRegistry/pullSecret/set.js.map +0 -0
  1140. /package/{lib → dist}/commands/imageRegistry/pullSecret/unset.js.map +0 -0
  1141. /package/{lib → dist}/commands/images/add.js.map +0 -0
  1142. /package/{lib → dist}/commands/images/list.js.map +0 -0
  1143. /package/{lib → dist}/commands/images/patch.js.map +0 -0
  1144. /package/{lib → dist}/commands/images/remove.js.map +0 -0
  1145. /package/{lib → dist}/commands/images/version/bump.js.map +0 -0
  1146. /package/{lib → dist}/commands/images/version.js.map +0 -0
  1147. /package/{lib → dist}/commands/init.js.map +0 -0
  1148. /package/{lib → dist}/commands/kit/create.js.map +0 -0
  1149. /package/{lib → dist}/commands/login.js.map +0 -0
  1150. /package/{lib → dist}/commands/logout.js.map +0 -0
  1151. /package/{lib → dist}/commands/merge.js.map +0 -0
  1152. /package/{lib → dist}/commands/noc/cluster/create.js.map +0 -0
  1153. /package/{lib → dist}/commands/noc/cluster/deinit.js.map +0 -0
  1154. /package/{lib → dist}/commands/noc/cluster/destroy.js.map +0 -0
  1155. /package/{lib → dist}/commands/noc/cluster/forget.js.map +0 -0
  1156. /package/{lib → dist}/commands/noc/cluster/grant.js.map +0 -0
  1157. /package/{lib → dist}/commands/noc/cluster/init.js.map +0 -0
  1158. /package/{lib → dist}/commands/noc/cluster/list.js.map +0 -0
  1159. /package/{lib → dist}/commands/noc/cluster/recreate.js.map +0 -0
  1160. /package/{lib → dist}/commands/pkg/add.js.map +0 -0
  1161. /package/{lib → dist}/commands/pkg/list.js.map +0 -0
  1162. /package/{lib → dist}/commands/pkg/patch.js.map +0 -0
  1163. /package/{lib → dist}/commands/pkg/remove.js.map +0 -0
  1164. /package/{lib → dist}/commands/portal.js.map +0 -0
  1165. /package/{lib → dist}/commands/publish.js.map +0 -0
  1166. /package/{lib → dist}/commands/pull.js.map +0 -0
  1167. /package/{lib → dist}/commands/push.js.map +0 -0
  1168. /package/{lib → dist}/commands/run.js.map +0 -0
  1169. /package/{lib → dist}/commands/secretStore/capture.js.map +0 -0
  1170. /package/{lib → dist}/commands/secretStore/forget.js.map +0 -0
  1171. /package/{lib → dist}/commands/stage.js.map +0 -0
  1172. /package/{lib → dist}/commands/stash.js.map +0 -0
  1173. /package/{lib → dist}/commands/status.js.map +0 -0
  1174. /package/{lib → dist}/commands/stop.js.map +0 -0
  1175. /package/{lib → dist}/commands/switch.js.map +0 -0
  1176. /package/{lib → dist}/commands/sync.js.map +0 -0
  1177. /package/{lib → dist}/commands/tenant/create.js.map +0 -0
  1178. /package/{lib → dist}/commands/tenant/switch.js.map +0 -0
  1179. /package/{lib → dist}/commands/unstage.js.map +0 -0
  1180. /package/{lib → dist}/commands/whereami.js.map +0 -0
  1181. /package/{lib → dist}/commands/whoami.js.map +0 -0
  1182. /package/{lib → dist}/errors/NoMembershipError.js.map +0 -0
  1183. /package/{lib → dist}/index.js.map +0 -0
  1184. /package/{lib → dist}/log-update-wrapper.js.map +0 -0
  1185. /package/{lib → dist}/ops/INTERFACES_CLI.js.map +0 -0
  1186. /package/{lib → dist}/ops/azure-container-registry-client/azure-container-registry-client.d.ts +0 -0
  1187. /package/{lib → dist}/ops/azure-container-registry-client/azure-container-registry-client.js.map +0 -0
  1188. /package/{lib → dist}/ops/cli-path-walker.d.ts +0 -0
  1189. /package/{lib → dist}/ops/cli-path-walker.js.map +0 -0
  1190. /package/{lib → dist}/ops/codiac-entities/dependency.js.map +0 -0
  1191. /package/{lib → dist}/ops/codiac-entities/index.js.map +0 -0
  1192. /package/{lib → dist}/ops/composite-image-registry-client.d.ts +0 -0
  1193. /package/{lib → dist}/ops/composite-image-registry-client.js.map +0 -0
  1194. /package/{lib → dist}/ops/data/index.js.map +0 -0
  1195. /package/{lib → dist}/ops/data/npm-config-repo.js.map +0 -0
  1196. /package/{lib → dist}/ops/docker-config.d.ts +0 -0
  1197. /package/{lib → dist}/ops/docker-config.js.map +0 -0
  1198. /package/{lib → dist}/ops/docker-constants.d.ts +0 -0
  1199. /package/{lib → dist}/ops/docker-constants.js.map +0 -0
  1200. /package/{lib → dist}/ops/docker-credentials-store.d.ts +0 -0
  1201. /package/{lib → dist}/ops/docker-credentials-store.js.map +0 -0
  1202. /package/{lib → dist}/ops/docker-registry-api-client/docker-registry-api-client.d.ts +0 -0
  1203. /package/{lib → dist}/ops/docker-registry-api-client/docker-registry-api-client.js.map +0 -0
  1204. /package/{lib → dist}/ops/docker-registry-api-client/entities/blob-sum.js.map +0 -0
  1205. /package/{lib → dist}/ops/docker-registry-api-client/entities/docker-access-actions-enum.js.map +0 -0
  1206. /package/{lib → dist}/ops/docker-registry-api-client/entities/docker-auth-token-criteria.js.map +0 -0
  1207. /package/{lib → dist}/ops/docker-registry-api-client/entities/i-docker-error-response.js.map +0 -0
  1208. /package/{lib → dist}/ops/docker-registry-api-client/entities/i-docker-list-response.js.map +0 -0
  1209. /package/{lib → dist}/ops/docker-registry-api-client/entities/image-repository.js.map +0 -0
  1210. /package/{lib → dist}/ops/docker-registry-api-client/entities/image-tag-criteria.js.map +0 -0
  1211. /package/{lib → dist}/ops/docker-registry-api-client/entities/image-tag-list.js.map +0 -0
  1212. /package/{lib → dist}/ops/docker-registry-api-client/entities/manifest-criteria.js.map +0 -0
  1213. /package/{lib → dist}/ops/docker-registry-api-client/entities/manifest.js.map +0 -0
  1214. /package/{lib → dist}/ops/docker-registry-api-client/entities/repository-criteria.js.map +0 -0
  1215. /package/{lib → dist}/ops/docker-registry-api-client/entities/token-response.js.map +0 -0
  1216. /package/{lib → dist}/ops/docker-registry-api-client/entities/token.js.map +0 -0
  1217. /package/{lib → dist}/ops/docker-registry-api-client/entities/version-check-criteria.js.map +0 -0
  1218. /package/{lib → dist}/ops/dx-constants.js.map +0 -0
  1219. /package/{lib → dist}/ops/entities/ImageBuildContext.js.map +0 -0
  1220. /package/{lib → dist}/ops/entities/PipelineContext.js.map +0 -0
  1221. /package/{lib → dist}/ops/entities/TenantContext.js.map +0 -0
  1222. /package/{lib → dist}/ops/entities/ThaulConfig.d.ts +0 -0
  1223. /package/{lib → dist}/ops/entities/ThaulConfig.js.map +0 -0
  1224. /package/{lib → dist}/ops/entities/azure-service-principal.js.map +0 -0
  1225. /package/{lib → dist}/ops/entities/better-logger.d.ts +0 -0
  1226. /package/{lib → dist}/ops/entities/better-logger.js.map +0 -0
  1227. /package/{lib → dist}/ops/entities/branch.js.map +0 -0
  1228. /package/{lib → dist}/ops/entities/docker-image.js.map +0 -0
  1229. /package/{lib → dist}/ops/entities/helm-spec.js.map +0 -0
  1230. /package/{lib → dist}/ops/entities/index.js.map +0 -0
  1231. /package/{lib → dist}/ops/entities/scaffolding.js.map +0 -0
  1232. /package/{lib → dist}/ops/extensions/azart-identity-adapter.js.map +0 -0
  1233. /package/{lib → dist}/ops/extensions/npm-identity-adapter-base.js.map +0 -0
  1234. /package/{lib → dist}/ops/extensions/npmjs-identity-adapter.js.map +0 -0
  1235. /package/{lib → dist}/ops/git-ops.js.map +0 -0
  1236. /package/{lib → dist}/ops/i-client-for-image-registry.d.ts +0 -0
  1237. /package/{lib → dist}/ops/i-client-for-image-registry.js.map +0 -0
  1238. /package/{lib → dist}/ops/i-identity-handler.js.map +0 -0
  1239. /package/{lib → dist}/ops/i-output-styler.d.ts +0 -0
  1240. /package/{lib → dist}/ops/i-output-styler.js.map +0 -0
  1241. /package/{lib → dist}/ops/index.js.map +0 -0
  1242. /package/{lib → dist}/ops/json-utils.d.ts +0 -0
  1243. /package/{lib → dist}/ops/json-utils.js.map +0 -0
  1244. /package/{lib → dist}/ops/no-style-output-styler.d.ts +0 -0
  1245. /package/{lib → dist}/ops/no-style-output-styler.js.map +0 -0
  1246. /package/{lib → dist}/ops/project-initializer.js.map +0 -0
  1247. /package/{lib → dist}/ops/test/mock-ui.js.map +0 -0
  1248. /package/{lib → dist}/ops/test/test-extensions.js.map +0 -0
  1249. /package/{lib → dist}/ops/test/when-a-recursive-file-search-is-run.spec.js.map +0 -0
  1250. /package/{lib → dist}/ops/test/when-git-branchline-is-attempted.spec.js.map +0 -0
  1251. /package/{lib → dist}/ops/test/when-versions-are-parsed.spec.js.map +0 -0
  1252. /package/{lib → dist}/ops/throwing-user-input-provider.d.ts +0 -0
  1253. /package/{lib → dist}/ops/throwing-user-input-provider.js.map +0 -0
  1254. /package/{lib → dist}/prettify.js.map +0 -0
  1255. /package/{lib → dist}/read-stdin.js.map +0 -0
  1256. /package/{lib → dist}/relay/contracts/contracts.js.map +0 -0
  1257. /package/{lib → dist}/relay/extended-relay-client.js.map +0 -0
  1258. /package/{lib → dist}/relay/wsclient/socket-contracts.js.map +0 -0
  1259. /package/{lib → dist}/standard-probes.js.map +0 -0
  1260. /package/{lib → dist}/uilogic/build-configurator.js.map +0 -0
  1261. /package/{lib → dist}/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.d.ts +0 -0
  1262. /package/{lib → dist}/uilogic/cloud-resource-configurators/az-acr-cli-authenticator.js.map +0 -0
  1263. /package/{lib → dist}/uilogic/cloud-resource-configurators/azure-types.d.ts +0 -0
  1264. /package/{lib → dist}/uilogic/cloud-resource-configurators/azure-types.js.map +0 -0
  1265. /package/{lib → dist}/uilogic/enterprise-contextualizer.js.map +0 -0
  1266. /package/{lib → dist}/uilogic/environment-contextualizer.js.map +0 -0
  1267. /package/{lib → dist}/uilogic/i-cluster-configurator.js.map +0 -0
  1268. /package/{lib → dist}/uilogic/i-login-configurator.js.map +0 -0
  1269. /package/{lib → dist}/uilogic/i-registry-configurator.js.map +0 -0
  1270. /package/{lib → dist}/uilogic/i-secret-store-configurator.js.map +0 -0
  1271. /package/{lib → dist}/uilogic/index.js.map +0 -0
  1272. /package/{lib → dist}/uilogic/prompt-select-fuzzy.d.ts +0 -0
  1273. /package/{lib → dist}/uilogic/prompt-select-fuzzy.js.map +0 -0
  1274. /package/{lib → dist}/uilogic/render-methods.js.map +0 -0
  1275. /package/{lib → dist}/uilogic/tenant-contextualizer.js.map +0 -0
  1276. /package/{lib → dist}/user-context-loader.js.map +0 -0
@@ -1,2722 +0,0 @@
1
- import { BatchResult } from "@codiac.io/codiac-common/contracts";
2
- /** The security attributes for a user when signed in under a given tenant */
3
- export interface AccessProfile {
4
- tenantCode: string;
5
- inactive?: boolean | undefined;
6
- roles: AuthRole[];
7
- }
8
- /** Historical record of the occurrence of an event. */
9
- export interface ActivityBase {
10
- type: ActivityTypeEnum;
11
- title: string;
12
- by: string;
13
- /** Enables basic storage and retrieval of dates and times. */
14
- performed: Date;
15
- id?: string | undefined;
16
- createdBy: string;
17
- modifiedBy: string;
18
- /** Enables basic storage and retrieval of dates and times. */
19
- created: Date;
20
- /** Enables basic storage and retrieval of dates and times. */
21
- modified: Date;
22
- }
23
- export interface ActivityCriteriaBase {
24
- type?: string | undefined;
25
- title?: string | undefined;
26
- by?: string | undefined;
27
- /** Enables basic storage and retrieval of dates and times. */
28
- performed?: Date | undefined;
29
- cabinet?: string | undefined;
30
- assetsName?: string | undefined;
31
- ids?: string[] | undefined;
32
- all?: boolean | undefined;
33
- /** Specification for the sort order of a query.
34
- *
35
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
36
- *
37
- * Example: ```"color"```
38
- *
39
- * Example: ```[ "color", "lastName" ]``` */
40
- sort?: string[] | "asc" | "desc" | string | undefined;
41
- }
42
- export declare enum ActivityTypeEnum {
43
- cabinetCreate = "cabinetCreate",
44
- cabinetDelete = "cabinetDelete",
45
- codeCommit = "codeCommit",
46
- configDeploy = "configDeploy",
47
- deployment = "deployment",
48
- imageBuild = "imageBuild",
49
- versionCreate = "versionCreate"
50
- } /** Upsert Request for assignment of a new or existing user to the current tenant. */
51
- export interface AddTenantUserRequest {
52
- login: string;
53
- firstName: string;
54
- lastName: string;
55
- roleNames: string[];
56
- email?: string | undefined;
57
- }
58
- /** Boolean logic for string values. Useful for querying on tags */
59
- export interface AndOrNot {
60
- and?: string[] | undefined;
61
- or?: string[] | undefined;
62
- not?: string[] | undefined;
63
- }
64
- /** Boolean logic filter for string values. Useful for querying on tags */
65
- export interface AndOrNotFilter {
66
- property?: string | undefined;
67
- /** DO NOT USE THIS: It is confusing, and it is only here to comply with IFilter. */
68
- $not?: AndOrNotFilter | undefined;
69
- and?: string[] | undefined;
70
- or?: string[] | undefined;
71
- not?: string[] | undefined;
72
- }
73
- export interface ApiReadyState {
74
- currentState: ApiReadyStateEnum;
75
- }
76
- export declare enum ApiReadyStateEnum {
77
- bootstrapping = "bootstrapping",
78
- initializingPlugins = "initializingPlugins",
79
- instantiated = "instantiated",
80
- ready = "ready",
81
- reflecting = "reflecting"
82
- } /** A functional unit that is published as an individual container.
83
- * Could be an api, service, web app, cloud function, or any other type of containerized executable system. */
84
- export interface Asset {
85
- enterprise: string;
86
- code: string;
87
- name: string;
88
- image: Image;
89
- port: number;
90
- hasIngress: boolean;
91
- routedWithoutName: boolean;
92
- id?: string | undefined;
93
- /** An asset may be a constituent of only one product.
94
- * NOTE: This setting applies to product versions moving forward,
95
- * and historical product versions remain intact with whatever assets the product included at the time. */
96
- product?: string | undefined;
97
- /** (Optional: defaults to "service") Differentiator for various asset behaviors (eg: "job" or "helm"). */
98
- type?: "helm" | "job" | "service" | undefined;
99
- /** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
100
- * that belong to this asset among all the other pods in a namespace.
101
- * This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas.
102
- *
103
- * eg: a simple asset just looks for...
104
- * ```
105
- * (p,a) => x.metadata?labels["AssetName"] == a
106
- * ```
107
- *
108
- * eg: an asset, such as cert manager, with multiple kinds of pods, would have multiple custom pod filters, such as...
109
- * ```
110
- * (p,a) => p.metadata?labels["app.kubernetes.io/component"] == "cainjector" && p.metadata?labels["app.kubernetes.io/name"] == "cert-manager"
111
- * (p,a) => p.metadata?labels["app.kubernetes.io/component"] == "webhook" && p.metadata?labels["app.kubernetes.io/name"] == "cert-manager"
112
- * (p,a) => p.metadata?labels["app.kubernetes.io/component"] == "controller" && p.metadata?labels["app.kubernetes.io/name"] == "cert-manager"
113
- * ``` */
114
- customPodFilters?: object[] | undefined;
115
- /** Abstract declarations of folder paths inside the image
116
- * that are to be later mapped (at configuration time) to file store definitions.
117
- *
118
- * NOTE: These reservations only OPTIONALLY reference existing file stores;
119
- * they merely declare a folder path for a file store to be mapped
120
- * later, when the asset gets configured for use in various cabinets. */
121
- reservedFolders?: AssetFolderReservation[] | undefined;
122
- /** Declares means by which the container platform can check health and readiness of the assets at runtime. */
123
- probes?: Probe[] | undefined;
124
- createdBy: string;
125
- modifiedBy: string;
126
- /** Enables basic storage and retrieval of dates and times. */
127
- created: Date;
128
- /** Enables basic storage and retrieval of dates and times. */
129
- modified: Date;
130
- }
131
- export interface AssetCriteria {
132
- id?: StringFilter | undefined;
133
- code?: StringFilter | undefined;
134
- name?: StringFilter | undefined;
135
- assetType?: string | undefined;
136
- enterprise?: string | undefined;
137
- environment?: string | undefined;
138
- cluster?: string | undefined;
139
- hasIngress?: boolean | undefined;
140
- ids?: string[] | undefined;
141
- all?: boolean | undefined;
142
- /** Specification for the sort order of a query.
143
- *
144
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
145
- *
146
- * Example: ```"color"```
147
- *
148
- * Example: ```[ "color", "lastName" ]``` */
149
- sort?: string[] | "asc" | "desc" | string | undefined;
150
- }
151
- /** Abstract declarations of folder paths inside the image
152
- * that are to be later mapped (at configuration time) to file store definitions. */
153
- export interface AssetFolderReservation {
154
- /** Fully qualified path, inside the container, of the folder being mapped as a volume. Must be unique for the asset. */
155
- path: string;
156
- /** Moniker for identifying, retrieving, and accessing this folder mapping. Must be unique for the asset. */
157
- name: string;
158
- /** Any notes or other information to help clarify the intended purpose of this folder,
159
- * to assist during the configuration phase
160
- * when assigning an actual physical file store to it. */
161
- description?: string | undefined;
162
- /** (Optional) The name of an existing FileStoreDef in the enterprise
163
- * to which this folder will get mapped, unless configured otherwise. */
164
- defaultFileStore?: string | undefined;
165
- }
166
- /** Base class for specifying details for the creation of a specific type of asset. */
167
- export interface AssetTemplate {
168
- }
169
- export declare enum AssetTypesEnum {
170
- helm = "helm",
171
- job = "job",
172
- service = "service"
173
- }
174
- export interface AssetVersionConfig {
175
- enterprise: string;
176
- assetName: string;
177
- entityType: string;
178
- entityName: string;
179
- version: string;
180
- tags?: Tag[] | undefined;
181
- contents?: IVersionRef[] | undefined;
182
- contentHash?: string | undefined;
183
- id?: string | undefined;
184
- createdBy: string;
185
- modifiedBy: string;
186
- /** Enables basic storage and retrieval of dates and times. */
187
- created: Date;
188
- /** Enables basic storage and retrieval of dates and times. */
189
- modified: Date;
190
- }
191
- export interface AssetVersionConfigCriteria {
192
- enterprise?: string | undefined;
193
- assetName?: string | undefined;
194
- version?: string | undefined;
195
- contentHash?: string | undefined;
196
- multi?: object[] | undefined;
197
- /** Boolean logic filter for string values. Useful for querying on tags */
198
- tags?: AndOrNotFilter | undefined;
199
- ids?: string[] | undefined;
200
- all?: boolean | undefined;
201
- /** Specification for the sort order of a query.
202
- *
203
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
204
- *
205
- * Example: ```"color"```
206
- *
207
- * Example: ```[ "color", "lastName" ]``` */
208
- sort?: string[] | "asc" | "desc" | string | undefined;
209
- }
210
- export interface AuthenticationRequest {
211
- login: string;
212
- password: string;
213
- tenantCode?: string | undefined;
214
- }
215
- export interface AuthRole {
216
- name: string;
217
- id?: string | undefined;
218
- /** Standard, reliable, expedient way to identify an entity to a human in a single property
219
- * with more pertinent identifying information than its system id.
220
- * For use in logs, quick lists, and abstracted framework components. */
221
- descriptor: string;
222
- /** Enables a hierarchy of roles */
223
- parent?: AuthRole | undefined;
224
- }
225
- export interface AuthRoleCriteria {
226
- ids?: string[] | undefined;
227
- all?: boolean | undefined;
228
- name?: StringFilter | undefined;
229
- descriptor?: StringFilter | undefined;
230
- /** Selects Principals that have a tenant profile
231
- * for the given tenantCode. */
232
- parent?: AuthRoleParentFilter | undefined;
233
- }
234
- /** Selects Principals that have a tenant profile
235
- * for the given tenantCode. */
236
- export interface AuthRoleParentFilter {
237
- role: string;
238
- property?: string | undefined;
239
- $not?: AuthRoleParentFilter | undefined;
240
- }
241
- export interface AuthSubscription {
242
- tenantId: string;
243
- tenantCode: string;
244
- name: string;
245
- enabled: boolean;
246
- status: SubscriptionStatus;
247
- maxUsers: number;
248
- /** Enables basic storage and retrieval of dates and times. */
249
- expiration?: Date | undefined;
250
- id?: string | undefined;
251
- /** Reference to the susbscription that resides within the billing system.
252
- * This object can be used to help a sync for this tenant. */
253
- billingPlan?: IBillingPlanRef | undefined;
254
- /** Standard, reliable, expedient way to identify an entity to a human in a single property
255
- * with more pertinent identifying information than its system id.
256
- * For use in logs, quick lists, and abstracted framework components. */
257
- descriptor: string;
258
- }
259
- export interface AuthTenant {
260
- name: string;
261
- code: string;
262
- currentSubscription?: AuthSubscription | undefined;
263
- id?: string | undefined;
264
- Users?: TenantUser[] | undefined;
265
- }
266
- export interface Buffer {
267
- }
268
- export interface Build {
269
- name: string;
270
- id?: string | undefined;
271
- createdBy: string;
272
- modifiedBy: string;
273
- /** Enables basic storage and retrieval of dates and times. */
274
- created: Date;
275
- /** Enables basic storage and retrieval of dates and times. */
276
- modified: Date;
277
- }
278
- export interface BuildCriteria {
279
- name?: StringFilter | undefined;
280
- ids?: string[] | undefined;
281
- all?: boolean | undefined;
282
- /** Specification for the sort order of a query.
283
- *
284
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
285
- *
286
- * Example: ```"color"```
287
- *
288
- * Example: ```[ "color", "lastName" ]``` */
289
- sort?: string[] | "asc" | "desc" | string | undefined;
290
- }
291
- export interface BuildPipeline {
292
- name: string;
293
- id?: string | undefined;
294
- createdBy: string;
295
- modifiedBy: string;
296
- /** Enables basic storage and retrieval of dates and times. */
297
- created: Date;
298
- /** Enables basic storage and retrieval of dates and times. */
299
- modified: Date;
300
- }
301
- export interface BuildPipelineCriteria {
302
- name?: StringFilter | undefined;
303
- ids?: string[] | undefined;
304
- all?: boolean | undefined;
305
- /** Specification for the sort order of a query.
306
- *
307
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
308
- *
309
- * Example: ```"color"```
310
- *
311
- * Example: ```[ "color", "lastName" ]``` */
312
- sort?: string[] | "asc" | "desc" | string | undefined;
313
- }
314
- /** A placeholder configuring an isolated instance of a fully functional,
315
- * independent implementation of the customer's service inventory.
316
- * A Cabinet declares the target environment and cluster
317
- * to which that inventory instance will be deployed
318
- * and the namespace by which it will be isolated.
319
- * They can come and go as customers' admin users define them. */
320
- export interface Cabinet {
321
- enterpriseCode: string;
322
- environment: string;
323
- name: string;
324
- id?: string | undefined;
325
- /** The name of the branch that targets this cabinet.
326
- * NOTE: This is a NAMESAKE: it applies to ANY REPO.
327
- * NOTE: Child branches may also deploy to this cabinet if they do not have
328
- * another cabinet binding that is closer in their lineage. */
329
- branch?: string | undefined;
330
- /** Name of the target cluster into which the cabinet will be deployed. */
331
- cluster?: string | undefined;
332
- /** A list of this cabinet's deployment specs for each service/component in the customer's service inventory. */
333
- footprints: Partial<ContainerFootprint>[];
334
- /** (Optional) The default resource allocation spec to apply to containers in this cabinet. (compositional?) */
335
- defaultFootprint?: Partial<ContainerFootprint> | undefined;
336
- /** **DEPRECATED: Use hostNaming instead!!!**
337
- *
338
- * Domain names that route ONLY to this cabinet. */
339
- domains?: HostNameConfig[] | undefined;
340
- /** All of the applicable domain names and their strategies for routing assets.
341
- *
342
- * This list is the end result of a smash-merge of all ScopedHostNameConfigs that apply to this cabinet,
343
- * and it is able to be kept in sync by embedding and cascading. */
344
- hostNaming?: SingleHostNameStrategyForCabinet[] | undefined;
345
- /** Details of the actual physical implementation of this cabinet. */
346
- infrx?: CabinetInfrastructure | undefined;
347
- /** The enterprise version number that is to be deployed to this cabinet.
348
- * NOTE: The assignment of this version number does not mean that this version IS intact in this cabinet;
349
- * only that it is intended to be. Look to the EnterpriseRunState for which of the assets of this version are actually deployed. */
350
- version?: string | undefined;
351
- /** Selection requirements for AssetVersionConfigs
352
- * when assembling a new EnterpriseVersionConfig for this cabinet,
353
- * or for selecting an EnterpriseVersionConfig to assign to this cabinet. */
354
- tagFilter?: AndOrNot | undefined;
355
- /** The prefix to apply to all port numbers within this cabinet,
356
- * in order to avoid collisions on a single cluster node (or machine). */
357
- portPrefix?: number | undefined;
358
- createdBy: string;
359
- modifiedBy: string;
360
- /** Enables basic storage and retrieval of dates and times. */
361
- created: Date;
362
- /** Enables basic storage and retrieval of dates and times. */
363
- modified: Date;
364
- }
365
- /** A reference to an cabinet and the cluster it's in. */
366
- export interface CabinetClusterRoot {
367
- name: string;
368
- id?: string | undefined;
369
- cluster?: string | undefined;
370
- version?: string | undefined;
371
- infrx?: CabinetInfrastructure | undefined;
372
- hostNaming?: SingleHostNameStrategyForCabinet[] | undefined;
373
- }
374
- /** A reference to an cabinet and the cluster it's in. */
375
- export interface CabinetClusterScope {
376
- name: string;
377
- cluster?: string | undefined;
378
- }
379
- /** Represents the enterprise configuration currently in play in a given cabinet,
380
- * in terms of versions of the enterprise and its assets.
381
- * This is a composite/hybrid object made up of a Cabinet, EnterpriseVersionConfig and an EnterpriseRunState.
382
- * Compares versions of each asset between the version specified in the assigned enterprise version config
383
- * and the version that is actually physically running in the cabinet. */
384
- export interface CabinetConfigState {
385
- enterprise: string;
386
- environment: string;
387
- cabinet: string;
388
- /** Enables basic storage and retrieval of dates and times. */
389
- timestamp: Date;
390
- /** Undefined if a cluster has not yet been assigned to EITHER the cabinet OR the environment. */
391
- clusterName?: string | undefined;
392
- /** The enterprise configuration assigned to the cabinet. */
393
- versionConfig?: EnterpriseVersionConfig | undefined;
394
- /** A snapshot of the assets actually running in the cabinet. */
395
- runState?: EnterpriseRunState | undefined;
396
- }
397
- export interface CabinetConfigStateRequest {
398
- enterprise: string;
399
- cabinet: string;
400
- forceRefresh?: boolean | undefined;
401
- }
402
- export interface CabinetCreateActivity {
403
- enterprise: string;
404
- environment: string;
405
- cabinet: string;
406
- cluster: string;
407
- type: ActivityTypeEnum;
408
- title: string;
409
- by: string;
410
- /** Enables basic storage and retrieval of dates and times. */
411
- performed: Date;
412
- id?: string | undefined;
413
- createdBy: string;
414
- modifiedBy: string;
415
- /** Enables basic storage and retrieval of dates and times. */
416
- created: Date;
417
- /** Enables basic storage and retrieval of dates and times. */
418
- modified: Date;
419
- }
420
- export interface CabinetCreateActivityCriteria {
421
- enterprise?: string | undefined;
422
- environment?: string | undefined;
423
- cabinet?: string | undefined;
424
- cluster?: string | undefined;
425
- type?: string | undefined;
426
- title?: string | undefined;
427
- by?: string | undefined;
428
- /** Enables basic storage and retrieval of dates and times. */
429
- performed?: Date | undefined;
430
- assetsName?: string | undefined;
431
- ids?: string[] | undefined;
432
- all?: boolean | undefined;
433
- /** Specification for the sort order of a query.
434
- *
435
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
436
- *
437
- * Example: ```"color"```
438
- *
439
- * Example: ```[ "color", "lastName" ]``` */
440
- sort?: string[] | "asc" | "desc" | string | undefined;
441
- }
442
- export interface CabinetCriteria {
443
- name?: StringFilter | undefined;
444
- enterpriseCode?: string | undefined;
445
- environment?: string | undefined;
446
- cluster?: string | undefined;
447
- branch?: StringFilter | undefined;
448
- ids?: string[] | undefined;
449
- all?: boolean | undefined;
450
- /** Specification for the sort order of a query.
451
- *
452
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
453
- *
454
- * Example: ```"color"```
455
- *
456
- * Example: ```[ "color", "lastName" ]``` */
457
- sort?: string[] | "asc" | "desc" | string | undefined;
458
- }
459
- /** The host naming strategies applicable in a given cabinet.
460
- *
461
- * NOTE: This entity is the RESULT of a smash-merge of the applicable ScopedHostNameConfig instances. */
462
- export interface CabinetHostNameConfig {
463
- enterprise: string;
464
- cabinet: string;
465
- naming: HostNameConfig[];
466
- }
467
- /** Requests the host name configuration for each relevant cabinet. */
468
- export interface CabinetHostNameConfigCriteria {
469
- enterprise: string;
470
- cluster?: string | undefined;
471
- environment?: string | undefined;
472
- cabinet?: string | undefined;
473
- domainName?: string | undefined;
474
- strategy?: string | undefined;
475
- ids?: string[] | undefined;
476
- all?: boolean | undefined;
477
- /** Specification for the sort order of a query.
478
- *
479
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
480
- *
481
- * Example: ```"color"```
482
- *
483
- * Example: ```[ "color", "lastName" ]``` */
484
- sort?: string[] | "asc" | "desc" | string | undefined;
485
- }
486
- /** Attributes for referencing and creating actual running resources that comprise the infrastructure for a cabinet.
487
- * That is, this is the pertinent information required to manage an actual physical implementation of a cabinet. */
488
- export interface CabinetInfrastructure {
489
- enterpriseCode: string;
490
- cabinetName: string;
491
- namespace: string;
492
- ingressSpec: CabinetIngressDef;
493
- ingressResourceProperties?: CabinetIngressResourceAttributes | undefined;
494
- }
495
- /** Specifications for ingress controllers and request routing.
496
- * Based on an ingress controller deployed as a Helm chart. */
497
- export interface CabinetIngressDef {
498
- enterpriseCode: string;
499
- cabinet: string;
500
- ingress_default_ruleset_name: string;
501
- cert_secret_name: string;
502
- cert_name: string;
503
- cert_issuer: "prod" | "staging";
504
- id?: string | undefined;
505
- createdBy: string;
506
- modifiedBy: string;
507
- /** Enables basic storage and retrieval of dates and times. */
508
- created: Date;
509
- /** Enables basic storage and retrieval of dates and times. */
510
- modified: Date;
511
- }
512
- /** Typically hydrated by the cloud platform provider during creation of the infrastructure resources;
513
- * the properties of the running ingress infrastructure
514
- * that are NOT part of the spec and are unique to the actual instances of the physical resources
515
- * (eg: unique resource IDs given by the cloud platform). */
516
- export interface CabinetIngressResourceAttributes {
517
- enterpriseCode: string;
518
- cabinetName: string;
519
- }
520
- /** Placeholder request to retrieve available FullyQualifiedCabinetScopes.
521
- * Actual parameters are all retrieved from the current user context,
522
- * not from the request contract. */
523
- export interface CabinetScopesCriteria {
524
- /** Filters for cabinets that are affected by the given scope. */
525
- scope?: Scope | undefined;
526
- ids?: string[] | undefined;
527
- all?: boolean | undefined;
528
- /** Specification for the sort order of a query.
529
- *
530
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
531
- *
532
- * Example: ```"color"```
533
- *
534
- * Example: ```[ "color", "lastName" ]``` */
535
- sort?: string[] | "asc" | "desc" | string | undefined;
536
- }
537
- export interface ChangePasswordRequest {
538
- login: string;
539
- newPassword: string;
540
- oldPassword?: string | undefined;
541
- }
542
- /** Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials. */
543
- export declare enum CloudProviderEnum {
544
- aws = "aws",
545
- azure = "azure",
546
- dockerHub = "dockerHub",
547
- other = "other"
548
- }
549
- export interface Cluster {
550
- name: string;
551
- location: string;
552
- providerSubscription: string;
553
- resourceGroupName: string;
554
- managedResourceGroupName: string;
555
- resourceId: string;
556
- ingressIp?: string | undefined;
557
- serverUrl?: string | undefined;
558
- /** This is the system id for the cluster instance entity,
559
- * NOT the identifier of the concrete cluster instance given by the cloud provider. */
560
- id?: string | undefined;
561
- /** The version of Kubernetes to use as the cluster. */
562
- k8sVersion?: string | undefined;
563
- createdBy: string;
564
- modifiedBy: string;
565
- /** Enables basic storage and retrieval of dates and times. */
566
- created: Date;
567
- /** Enables basic storage and retrieval of dates and times. */
568
- modified: Date;
569
- }
570
- export interface ClusterCriteria {
571
- name?: StringFilter | undefined;
572
- location?: string | undefined;
573
- providerSubscription?: string | undefined;
574
- resourceGroupName?: StringFilter | undefined;
575
- managedResourceGroupName?: StringFilter | undefined;
576
- ids?: string[] | undefined;
577
- all?: boolean | undefined;
578
- /** Specification for the sort order of a query.
579
- *
580
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
581
- *
582
- * Example: ```"color"```
583
- *
584
- * Example: ```[ "color", "lastName" ]``` */
585
- sort?: string[] | "asc" | "desc" | string | undefined;
586
- }
587
- /** The specs for a kubernetes cluster to be managed by the Codiac team.
588
- * This class is used to programmatically put up and take down clusters. */
589
- export interface ClusterDef {
590
- name: string;
591
- provider: CloudProviderEnum;
592
- providerSubscription: string;
593
- locationName: string;
594
- providerGroup: string;
595
- nodeCount?: number | undefined;
596
- ingressDef?: IngressDef | undefined;
597
- privateOwner?: string | undefined;
598
- /** This is the system id for the cluster definition, NOT the identifier of the concrete cluster instance given by the cloud provider. */
599
- id?: string | undefined;
600
- /** The code recognized by the cloud provider for identifying which virtual machine configuration to use as cluster nodes.
601
- * NOTE: There can only be one, and this cannot be changed after the cluster is created. */
602
- nodeSpec: string;
603
- /** The quantity of nodes with which to initialize the cluster. */
604
- startingNodeCount: number;
605
- /** The human-readable name to use for the cloud provider security account
606
- * that will identify the cluster itself. */
607
- identitySpec: object;
608
- /** The actual resource details of the security identity of the cluster itself.
609
- * (In Azure this is either a Service Principal or a Managed Identity). */
610
- identityInstance?: SecurityAccount | undefined;
611
- /** (byref) A reference to the most recent concrete cluster implementation of this def.
612
- * Contains only identifying information; to get actual node counts etc,
613
- * you would have to take a snapshot via azaks/kubectl. */
614
- instance?: Cluster | undefined;
615
- /** (Optional) The default resource allocation spec to apply to containers in this cluster. */
616
- defaultFootprint?: ContainerFootprint | undefined;
617
- /** Node pools in addition to thw default node pool created with the cluster. */
618
- nodePools?: NodePoolDef[] | undefined;
619
- /** User account credentials with which to create new Windows nodes in the cluster.
620
- *
621
- * A Windows node is required to run a windows image,
622
- * a backward compatibility for a legacy image format called "Windows",
623
- * which is required to run outdated Microsoft proprietary software
624
- * such as Microsoft WCF and classic .Net Framework applications.
625
- * This profile must be applied at cluster creation,
626
- * because a cluster cannot be later updated to support windows node pools. */
627
- windowsAdmin?: WindowsAdminProfile | undefined;
628
- /** The resourceId of the subnet in which the cluster resides. */
629
- subnet?: string | undefined;
630
- /** The version of Kubernetes to use as the cluster. */
631
- k8sVersion?: string | undefined;
632
- createdBy: string;
633
- modifiedBy: string;
634
- /** Enables basic storage and retrieval of dates and times. */
635
- created: Date;
636
- /** Enables basic storage and retrieval of dates and times. */
637
- modified: Date;
638
- }
639
- export interface ClusterDefCriteria {
640
- name?: StringFilter | undefined;
641
- providerSubscription?: string | undefined;
642
- providerGroup?: string | undefined;
643
- locationName?: string | undefined;
644
- hasInstance?: boolean | undefined;
645
- privateOwner?: string | undefined;
646
- ids?: string[] | undefined;
647
- all?: boolean | undefined;
648
- /** Specification for the sort order of a query.
649
- *
650
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
651
- *
652
- * Example: ```"color"```
653
- *
654
- * Example: ```[ "color", "lastName" ]``` */
655
- sort?: string[] | "asc" | "desc" | string | undefined;
656
- }
657
- export interface ClusterWithIngress {
658
- name: string;
659
- provider: CloudProviderEnum;
660
- providerSubscriptionId: string;
661
- locationName: string;
662
- ingressIp?: string | undefined;
663
- }
664
- /** Our custom Tenant class. */
665
- export interface CodiacTenant {
666
- name: string;
667
- code: string;
668
- currentSubscription?: AuthSubscription | undefined;
669
- id?: string | undefined;
670
- Users?: TenantUser[] | undefined;
671
- }
672
- /** search contract for our custom Tenant class. */
673
- export interface CodiacTenantCriteria {
674
- ids?: string[] | undefined;
675
- all?: boolean | undefined;
676
- code?: string[] | string | undefined;
677
- userLogin?: string | undefined;
678
- }
679
- /** Our custom user type. */
680
- export interface CodiacUser {
681
- phone: string;
682
- tenantCode: string;
683
- firstName: string;
684
- lastName: string;
685
- email: string;
686
- roles: AuthRole[];
687
- /** Globally unique, immutable system id, used for data integrity (they can NEVER change this). */
688
- id?: string | undefined;
689
- /** Globally unique, mutable, user-defined, human-readable identifier. */
690
- login: string;
691
- /** Obviously passwords are required, but this property is optional to allow it to remain unpopulated */
692
- password?: string | undefined;
693
- /** Standard, reliable, expedient way to identify an entity to a human in a single property
694
- * with more pertinent identifying information than its system id.
695
- * For use in logs, quick lists, and abstracted framework components. */
696
- descriptor: string;
697
- /** (Compositional property: AccessProfiles are most likely embedded and not persisted on their own) */
698
- profiles: AccessProfile[];
699
- }
700
- export interface CodiacUserCriteria {
701
- phone?: StringFilter | undefined;
702
- tenantId?: string | undefined;
703
- /** Selects Principals that have a tenant profile
704
- * for the given tenantCode. */
705
- tenantCode?: UserTenantCodeFilter | undefined;
706
- role?: string | undefined;
707
- ids?: string[] | undefined;
708
- all?: boolean | undefined;
709
- login?: string | undefined;
710
- password?: string | undefined;
711
- }
712
- export interface CodiacUserPatch {
713
- phone?: string | undefined;
714
- /** Globally unique, immutable system id, used for data integrity (they can NEVER change this). */
715
- id: string;
716
- firstName?: string | undefined;
717
- lastName?: string | undefined;
718
- email?: string | undefined;
719
- }
720
- /** An historical record of a change made to the the configuration of the an enterprise for a given cabinet,
721
- * to be used, together with the latest preceeding snapshot and other change events, as the specification for a deployment.
722
- * This entity reflects only a proposed configuration change for the enterprise on its creation date;
723
- * because it was not necessarily deployed, it DOES NOT necessarily reflect the current state of the enterprise running in the targeted cabinet. */
724
- export interface ConfigChange {
725
- enterprise: string;
726
- cabinet: string;
727
- id?: string | undefined;
728
- createdBy: string;
729
- modifiedBy: string;
730
- /** Enables basic storage and retrieval of dates and times. */
731
- created: Date;
732
- /** Enables basic storage and retrieval of dates and times. */
733
- modified: Date;
734
- }
735
- export interface ConfigChangeCriteria {
736
- enterprise?: StringFilter | undefined;
737
- cabinet?: StringFilter | undefined;
738
- ids?: string[] | undefined;
739
- all?: boolean | undefined;
740
- /** Specification for the sort order of a query.
741
- *
742
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
743
- *
744
- * Example: ```"color"```
745
- *
746
- * Example: ```[ "color", "lastName" ]``` */
747
- sort?: string[] | "asc" | "desc" | string | undefined;
748
- }
749
- export interface ConfigDef {
750
- enterprise: string;
751
- asset: string;
752
- type: ConfigDefTypesEnum;
753
- /** This will eventually need to become extensible */
754
- format: ConfigFormatsEnum;
755
- /** (Applies only when type=file) */
756
- targetFile?: string | undefined;
757
- description?: string | undefined;
758
- settings?: ScopedSetting[] | undefined;
759
- id?: string | undefined;
760
- }
761
- export interface ConfigDefCriteria {
762
- enterprise?: string | undefined;
763
- asset?: string | undefined;
764
- type?: "env" | "file" | "filestore" | "footprint" | "helm" | undefined;
765
- targetFile?: string | undefined;
766
- format?: string | undefined;
767
- ids?: string[] | undefined;
768
- all?: boolean | undefined;
769
- /** Specification for the sort order of a query.
770
- *
771
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
772
- *
773
- * Example: ```"color"```
774
- *
775
- * Example: ```[ "color", "lastName" ]``` */
776
- sort?: string[] | "asc" | "desc" | string | undefined;
777
- }
778
- /** Values of ScopedSetting.targetFile for NON-FILE configs. */
779
- export declare enum ConfigDefTypesEnum {
780
- env = "env",
781
- file = "file",
782
- filestore = "filestore",
783
- footprint = "footprint",
784
- helm = "helm"
785
- }
786
- export interface ConfigDeploymentActivity {
787
- deployAttemptId: string;
788
- enterpriseVersion: string;
789
- enterprise: string;
790
- environment: string;
791
- cabinet: string;
792
- cluster: string;
793
- assetName: string;
794
- succeeded: boolean;
795
- errorMessage?: string | undefined;
796
- type: ActivityTypeEnum;
797
- title: string;
798
- by: string;
799
- /** Enables basic storage and retrieval of dates and times. */
800
- performed: Date;
801
- id?: string | undefined;
802
- createdBy: string;
803
- modifiedBy: string;
804
- /** Enables basic storage and retrieval of dates and times. */
805
- created: Date;
806
- /** Enables basic storage and retrieval of dates and times. */
807
- modified: Date;
808
- }
809
- export interface ConfigDeploymentActivityCriteria {
810
- deployAttemptId?: string | undefined;
811
- enterpriseVersion?: string | undefined;
812
- enterprise?: string | undefined;
813
- environment?: string | undefined;
814
- cabinet?: string | undefined;
815
- cluster?: string | undefined;
816
- succeeded?: boolean | undefined;
817
- type?: string | undefined;
818
- title?: string | undefined;
819
- by?: string | undefined;
820
- /** Enables basic storage and retrieval of dates and times. */
821
- performed?: Date | undefined;
822
- assetsName?: string | undefined;
823
- ids?: string[] | undefined;
824
- all?: boolean | undefined;
825
- /** Specification for the sort order of a query.
826
- *
827
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
828
- *
829
- * Example: ```"color"```
830
- *
831
- * Example: ```[ "color", "lastName" ]``` */
832
- sort?: string[] | "asc" | "desc" | string | undefined;
833
- }
834
- /** An object representation of a config file, assembled from ScopedSettings.
835
- * This document can take any form, and is constructed solely from settings and values,
836
- * with all meta information omitted to preserve the integrity of the ultimate config file.
837
- * NOTE: To view the list of un-smashed settings with metadata from which this document is assembled,
838
- * fire the same request object against the ScopedSetting endpoint. */
839
- export interface ConfigDoc {
840
- id?: string | undefined;
841
- }
842
- export interface ConfigDocSpecForOne {
843
- enterprise: string;
844
- asset: string;
845
- targetFile: string;
846
- cabinet: string;
847
- ids?: string[] | undefined;
848
- all?: boolean | undefined;
849
- /** Specification for the sort order of a query.
850
- *
851
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
852
- *
853
- * Example: ```"color"```
854
- *
855
- * Example: ```[ "color", "lastName" ]``` */
856
- sort?: string[] | "asc" | "desc" | string | undefined;
857
- }
858
- /** Serializer declaration for a data document. */
859
- export declare enum ConfigFormatsEnum {
860
- ini = "ini",
861
- json = "json",
862
- toml = "toml",
863
- xml = "xml",
864
- yaml = "yaml"
865
- } /** Structure of settings and their data types supported by an Asset.
866
- * (ie: structure of a config file, environment variable list, Asset attributes, etc.) */
867
- export interface ConfigSchema {
868
- definitions: object;
869
- /** All properties declared here are required.
870
- * NOTE: Property names cannot overlap with optionalProperties. */
871
- properties: object;
872
- /** NOTE: Property names cannot overlap with optionalProperties. */
873
- optionalProperties: object;
874
- /** Indicates that properties may be added that are not defined in the schema. */
875
- additionalProperties?: boolean | undefined;
876
- nullable?: boolean | undefined;
877
- metadata?: any | undefined;
878
- }
879
- /** The resource allocation profile that will be assigned
880
- * to a given app/service/component container in the customer's inventory.
881
- * Declares requested and maximum memory, cpu, and replicas.
882
- * Future: This class is where we would declare container affinity. */
883
- export interface ContainerFootprint {
884
- assetName: string;
885
- replicas: number;
886
- cpuRequest?: string | undefined;
887
- cpuLimit?: string | undefined;
888
- memRequest?: string | undefined;
889
- memLimit?: string | undefined;
890
- id?: string | undefined;
891
- createdBy: string;
892
- modifiedBy: string;
893
- /** Enables basic storage and retrieval of dates and times. */
894
- created: Date;
895
- /** Enables basic storage and retrieval of dates and times. */
896
- modified: Date;
897
- }
898
- export interface ContainerFootprintCriteria {
899
- cabinet?: string | undefined;
900
- componentName?: StringFilter | undefined;
901
- ids?: string[] | undefined;
902
- all?: boolean | undefined;
903
- /** Specification for the sort order of a query.
904
- *
905
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
906
- *
907
- * Example: ```"color"```
908
- *
909
- * Example: ```[ "color", "lastName" ]``` */
910
- sort?: string[] | "asc" | "desc" | string | undefined;
911
- }
912
- export interface DeployAttempt {
913
- name: string;
914
- deploymentId: string;
915
- result?: Result | BatchResult<Partial<Asset>> | undefined;
916
- id?: string | undefined;
917
- createdBy: string;
918
- modifiedBy: string;
919
- /** Enables basic storage and retrieval of dates and times. */
920
- created: Date;
921
- /** Enables basic storage and retrieval of dates and times. */
922
- modified: Date;
923
- }
924
- export interface DeployAttemptCriteria {
925
- name?: StringFilter | undefined;
926
- ids?: string[] | undefined;
927
- all?: boolean | undefined;
928
- /** Specification for the sort order of a query.
929
- *
930
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
931
- *
932
- * Example: ```"color"```
933
- *
934
- * Example: ```[ "color", "lastName" ]``` */
935
- sort?: string[] | "asc" | "desc" | string | undefined;
936
- }
937
- /** The specification for a deployment of an enterprise to a cabinet.
938
- * NOTE:
939
- * Though the deployment does necessarily reflect the comprehensive collection of Snapshot and ConfigChanges to date of its creation,
940
- * it does NOT necessarily reflect the entire enterprise: a deployment can certainly be a partial deployment of an enterprise.
941
- * eg: a deployment may ony be deploying an upgrade to a single service in the enterprise rather than the whole thing.
942
- *
943
- * TODO: Provide for specificying hings other than services: eg ConfigMaps, Secrets, Ingress Routes, Footprint mods? */
944
- export interface Deployment {
945
- name: string;
946
- enterprise: string;
947
- environment: string;
948
- cabinet: string;
949
- version: EnterpriseVersionConfig;
950
- assets?: string[] | undefined;
951
- id?: string | undefined;
952
- createdBy: string;
953
- modifiedBy: string;
954
- /** Enables basic storage and retrieval of dates and times. */
955
- created: Date;
956
- /** Enables basic storage and retrieval of dates and times. */
957
- modified: Date;
958
- }
959
- export interface DeploymentActivity {
960
- deployAttemptId: string;
961
- enterpriseVersion: string;
962
- enterprise: string;
963
- environment: string;
964
- cabinet: string;
965
- cluster: string;
966
- assets: object[];
967
- succeeded: boolean;
968
- errorMessage?: string | undefined;
969
- type: ActivityTypeEnum;
970
- title: string;
971
- by: string;
972
- /** Enables basic storage and retrieval of dates and times. */
973
- performed: Date;
974
- id?: string | undefined;
975
- createdBy: string;
976
- modifiedBy: string;
977
- /** Enables basic storage and retrieval of dates and times. */
978
- created: Date;
979
- /** Enables basic storage and retrieval of dates and times. */
980
- modified: Date;
981
- }
982
- export interface DeploymentActivityCriteria {
983
- deployAttemptId?: string | undefined;
984
- enterpriseVersion?: string | undefined;
985
- enterprise?: string | undefined;
986
- environment?: string | undefined;
987
- cabinet?: string | undefined;
988
- cluster?: string | undefined;
989
- succeeded?: boolean | undefined;
990
- type?: string | undefined;
991
- title?: string | undefined;
992
- by?: string | undefined;
993
- /** Enables basic storage and retrieval of dates and times. */
994
- performed?: Date | undefined;
995
- assetsName?: string | undefined;
996
- ids?: string[] | undefined;
997
- all?: boolean | undefined;
998
- /** Specification for the sort order of a query.
999
- *
1000
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1001
- *
1002
- * Example: ```"color"```
1003
- *
1004
- * Example: ```[ "color", "lastName" ]``` */
1005
- sort?: string[] | "asc" | "desc" | string | undefined;
1006
- }
1007
- export interface DeploymentCriteria {
1008
- id?: StringFilter | undefined;
1009
- name?: StringFilter | undefined;
1010
- enterprise?: StringFilter | undefined;
1011
- cabinet?: StringFilter | undefined;
1012
- ids?: string[] | undefined;
1013
- all?: boolean | undefined;
1014
- /** Specification for the sort order of a query.
1015
- *
1016
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1017
- *
1018
- * Example: ```"color"```
1019
- *
1020
- * Example: ```[ "color", "lastName" ]``` */
1021
- sort?: string[] | "asc" | "desc" | string | undefined;
1022
- }
1023
- export interface DeployPipeline {
1024
- name: string;
1025
- id?: string | undefined;
1026
- createdBy: string;
1027
- modifiedBy: string;
1028
- /** Enables basic storage and retrieval of dates and times. */
1029
- created: Date;
1030
- /** Enables basic storage and retrieval of dates and times. */
1031
- modified: Date;
1032
- }
1033
- export interface DeployPipelineCriteria {
1034
- name?: StringFilter | undefined;
1035
- ids?: string[] | undefined;
1036
- all?: boolean | undefined;
1037
- /** Specification for the sort order of a query.
1038
- *
1039
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1040
- *
1041
- * Example: ```"color"```
1042
- *
1043
- * Example: ```[ "color", "lastName" ]``` */
1044
- sort?: string[] | "asc" | "desc" | string | undefined;
1045
- }
1046
- /** Defines a discriminated (tagged) union of different record types.
1047
- *
1048
- * "Discriminator" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
1049
- export interface DiscriminatorTypeDef {
1050
- /** name of the data member that is the tag of the union. */
1051
- discriminator: string;
1052
- /** the dictionary of schemas that are applied according to the value of the tag member in the data. */
1053
- mapping: object;
1054
- nullable?: boolean | undefined;
1055
- metadata?: any | undefined;
1056
- }
1057
- /** Defines a homogenous array of any size (possibly empty) with the elements that satisfy a given schema.
1058
- *
1059
- * "Elements" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
1060
- export interface ElementsTypeDef {
1061
- elements: NativeTypeDef;
1062
- nullable?: boolean | undefined;
1063
- metadata?: any | undefined;
1064
- }
1065
- /** Defines a data instance that can be of any type, including JSON null.
1066
- *
1067
- * "Empty" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
1068
- export interface EmptyTypeDef {
1069
- nullable?: boolean | undefined;
1070
- metadata?: any | undefined;
1071
- }
1072
- export interface Enterprise {
1073
- code: string;
1074
- subscription: string;
1075
- id?: string | undefined;
1076
- /** The definitive list of services comprising this enterprise. */
1077
- assets: Asset[];
1078
- products: Product[];
1079
- defaultFootprint?: Partial<ContainerFootprint> | undefined;
1080
- domains: HostNameConfig[];
1081
- createdBy: string;
1082
- modifiedBy: string;
1083
- /** Enables basic storage and retrieval of dates and times. */
1084
- created: Date;
1085
- /** Enables basic storage and retrieval of dates and times. */
1086
- modified: Date;
1087
- }
1088
- export interface EnterpriseCriteria {
1089
- code?: StringFilter | undefined;
1090
- subscription?: string | undefined;
1091
- ids?: string[] | undefined;
1092
- all?: boolean | undefined;
1093
- /** Specification for the sort order of a query.
1094
- *
1095
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1096
- *
1097
- * Example: ```"color"```
1098
- *
1099
- * Example: ```[ "color", "lastName" ]``` */
1100
- sort?: string[] | "asc" | "desc" | string | undefined;
1101
- }
1102
- export interface EnterpriseRoot {
1103
- name: string;
1104
- assets: Asset[];
1105
- environments: EnvironmentRoot[];
1106
- }
1107
- /** Runstate is an objective observation that gets diff'ed against an entepriseVersionConfig.
1108
- * As such, it doesn't know what enterprise version is supposed to be delployed,
1109
- * only the actual asset versions that in fact are. */
1110
- export interface EnterpriseRunState {
1111
- enterprise: string;
1112
- cabinet: string;
1113
- entityType: string;
1114
- entityName: string;
1115
- version: string;
1116
- tags?: Tag[] | undefined;
1117
- contents?: IVersionRef[] | undefined;
1118
- contentHash?: string | undefined;
1119
- id?: string | undefined;
1120
- createdBy: string;
1121
- modifiedBy: string;
1122
- /** Enables basic storage and retrieval of dates and times. */
1123
- created: Date;
1124
- /** Enables basic storage and retrieval of dates and times. */
1125
- modified: Date;
1126
- }
1127
- export interface EnterpriseRunStateCriteria {
1128
- enterprise?: string | undefined;
1129
- cabinet?: string | undefined;
1130
- contentHash?: string | undefined;
1131
- ids?: string[] | undefined;
1132
- all?: boolean | undefined;
1133
- /** Specification for the sort order of a query.
1134
- *
1135
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1136
- *
1137
- * Example: ```"color"```
1138
- *
1139
- * Example: ```[ "color", "lastName" ]``` */
1140
- sort?: string[] | "asc" | "desc" | string | undefined;
1141
- }
1142
- /** A reference to an enterprise and its environment scopes. */
1143
- export interface EnterpriseScope {
1144
- name: string;
1145
- environments: EnvironmentScope[];
1146
- id?: string | undefined;
1147
- }
1148
- export interface EnterpriseVersionConfig {
1149
- enterprise: string;
1150
- entityType: string;
1151
- entityName: string;
1152
- version: string;
1153
- tags?: Tag[] | undefined;
1154
- contents?: IVersionRef[] | undefined;
1155
- contentHash?: string | undefined;
1156
- id?: string | undefined;
1157
- createdBy: string;
1158
- modifiedBy: string;
1159
- /** Enables basic storage and retrieval of dates and times. */
1160
- created: Date;
1161
- /** Enables basic storage and retrieval of dates and times. */
1162
- modified: Date;
1163
- }
1164
- export interface EnterpriseVersionConfigCriteria {
1165
- enterprise?: string | undefined;
1166
- version?: string | undefined;
1167
- contentHash?: string | undefined;
1168
- ids?: string[] | undefined;
1169
- all?: boolean | undefined;
1170
- /** Specification for the sort order of a query.
1171
- *
1172
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1173
- *
1174
- * Example: ```"color"```
1175
- *
1176
- * Example: ```[ "color", "lastName" ]``` */
1177
- sort?: string[] | "asc" | "desc" | string | undefined;
1178
- }
1179
- /** Access Control List (ACL) for a single securable object.
1180
- * A list of permissions declared on a single, identifiable concrete entity. */
1181
- export interface EntityAcl {
1182
- entityType: string;
1183
- entityId: string;
1184
- Permissions: Permission[];
1185
- /** This is a composite key enforcing uniqueness on a single instance of the entity type. (ie: there can be only one of these per entity id) */
1186
- id: string;
1187
- createdBy: string;
1188
- modifiedBy: string;
1189
- /** Enables basic storage and retrieval of dates and times. */
1190
- created: Date;
1191
- /** Enables basic storage and retrieval of dates and times. */
1192
- modified: Date;
1193
- }
1194
- export interface EntityAclCriteria {
1195
- ids?: string[] | undefined;
1196
- all?: boolean | undefined;
1197
- entityType?: string | undefined;
1198
- entityId?: string | undefined;
1199
- /** Selects Principals that have a tenant profile
1200
- * for the given tenantCode. */
1201
- role?: EntityAclRoleFilter | undefined;
1202
- }
1203
- /** Selects Principals that have a tenant profile
1204
- * for the given tenantCode. */
1205
- export interface EntityAclRoleFilter {
1206
- role: string;
1207
- property?: string | undefined;
1208
- $not?: EntityAclRoleFilter | undefined;
1209
- }
1210
- /** "Enum" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
1211
- export interface EnumTypeDef {
1212
- enumValue: string[];
1213
- nullable?: boolean | undefined;
1214
- metadata?: any | undefined;
1215
- }
1216
- export interface Environment {
1217
- code: string;
1218
- enterpriseCode: string;
1219
- subscription: string;
1220
- sequence: number;
1221
- id?: string | undefined;
1222
- /** The collection of placeholders for isolated instances of a customer's service inventory. */
1223
- cabinets: Cabinet[];
1224
- /** The collection of predefined specs for the kubernetes clusters in this environment. */
1225
- clusterDefs: ClusterDef[];
1226
- /** (Optional) The default resource allocation spec to apply to containers in this cluster. */
1227
- defaultFootprint?: Partial<ContainerFootprint> | undefined;
1228
- createdBy: string;
1229
- modifiedBy: string;
1230
- /** Enables basic storage and retrieval of dates and times. */
1231
- created: Date;
1232
- /** Enables basic storage and retrieval of dates and times. */
1233
- modified: Date;
1234
- }
1235
- export interface EnvironmentCriteria {
1236
- code?: string | undefined;
1237
- enterpriseCode?: string | undefined;
1238
- subscription?: string | undefined;
1239
- ids?: string[] | undefined;
1240
- all?: boolean | undefined;
1241
- /** Specification for the sort order of a query.
1242
- *
1243
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1244
- *
1245
- * Example: ```"color"```
1246
- *
1247
- * Example: ```[ "color", "lastName" ]``` */
1248
- sort?: string[] | "asc" | "desc" | string | undefined;
1249
- }
1250
- /** A reference to an environment and its cabinets. */
1251
- export interface EnvironmentRoot {
1252
- name: string;
1253
- cabinets: CabinetClusterRoot[];
1254
- id?: string | undefined;
1255
- code?: string | undefined;
1256
- sequence?: number | undefined;
1257
- clusters?: ClusterWithIngress[] | undefined;
1258
- }
1259
- /** A reference to an environment and its cabinets. */
1260
- export interface EnvironmentScope {
1261
- name: string;
1262
- cabinets: CabinetClusterScope[];
1263
- }
1264
- export interface Error {
1265
- name: string;
1266
- message: string;
1267
- stack?: string | undefined;
1268
- }
1269
- export interface FileRequest {
1270
- path: string;
1271
- }
1272
- /** Abstraction and specification for a share on a file store,
1273
- * to be mapped to a reserved folder on an asset.
1274
- *
1275
- * This class can be used as the specification
1276
- * to programmatically put up and take down concrete file stores.
1277
- * As such, it outlives the actual entity described by its "instance" property. */
1278
- export interface FileStoreDef {
1279
- name: string;
1280
- type: FileStoreTypeEnum;
1281
- storageAccount: string;
1282
- shareName: string;
1283
- providerSubscriptionId: string;
1284
- resourceGroup: string;
1285
- instance?: FileStoreInfrx | undefined;
1286
- id?: string | undefined;
1287
- createdBy: string;
1288
- modifiedBy: string;
1289
- /** Enables basic storage and retrieval of dates and times. */
1290
- created: Date;
1291
- /** Enables basic storage and retrieval of dates and times. */
1292
- modified: Date;
1293
- }
1294
- export interface FileStoreDefCriteria {
1295
- name?: StringFilter | undefined;
1296
- /** Supported file store adapters that can be mapped to a reserved folder on an asset. */
1297
- type?: "AzureBlobStorage" | "AzureDisk" | "AzureFileStorage" | "HostMachineFolder" | undefined;
1298
- shareName?: StringFilter | undefined;
1299
- providerSubscriptionId?: StringFilter | undefined;
1300
- ids?: string[] | undefined;
1301
- all?: boolean | undefined;
1302
- /** Specification for the sort order of a query.
1303
- *
1304
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1305
- *
1306
- * Example: ```"color"```
1307
- *
1308
- * Example: ```[ "color", "lastName" ]``` */
1309
- sort?: string[] | "asc" | "desc" | string | undefined;
1310
- }
1311
- /** Metadata describing an existing concrete instance
1312
- * of a FileStoreDef resource within a cloud provider. */
1313
- export interface FileStoreInfrx {
1314
- providerSubscriptionId: string;
1315
- resourceGroup: string;
1316
- resourceId: string;
1317
- accessKey: string;
1318
- }
1319
- /** Supported file store adapters that can be mapped to a reserved folder on an asset. */
1320
- export declare enum FileStoreTypeEnum {
1321
- AzureBlobStorage = "AzureBlobStorage",
1322
- AzureDisk = "AzureDisk",
1323
- AzureFileStorage = "AzureFileStorage",
1324
- HostMachineFolder = "HostMachineFolder"
1325
- } /** Calls out the cabinet and its parent structures. */
1326
- export interface FullyQualifiedCabinetScopes {
1327
- enterprises: EnterpriseScope[];
1328
- clusters: string[];
1329
- }
1330
- export interface HelmAssetTemplate {
1331
- /** Maps a port number to the associated setting (full dot path name) in the chart config. */
1332
- portMappings: object;
1333
- chart: HelmChartSpec;
1334
- assetType: AssetTypesEnum;
1335
- defaultName: string;
1336
- defaultCode: string;
1337
- hasIngress?: boolean | undefined;
1338
- /** List of fileStores required by the asset. Each one requires capture. */
1339
- fileStores?: object[] | undefined;
1340
- /** List of secretStores required by the asset. Each one requires capture. */
1341
- secretStores?: object[] | undefined;
1342
- /** Declaration-time attributes of the Asset itself
1343
- * (used for managing the asset before deploying, not at runtime) */
1344
- properties?: ConfigSchema | undefined;
1345
- /** Config files supported by the asset and their structures.
1346
- *
1347
- * TODO: Need to specify which settings should be secrets. Might need to define that in the metadata or extend the typedefs */
1348
- configs?: object | undefined;
1349
- /** Environment variables supported by the asset. */
1350
- envs?: object | undefined;
1351
- /** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
1352
- * that belong to this asset among all the other pods in a namespace.
1353
- * This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas. */
1354
- customPodFilters?: object[] | undefined;
1355
- /** Abstract declarations of folder paths inside the image
1356
- * that are to be later mapped (at configuration time) to file store definitions. */
1357
- reservedFolders?: AssetFolderReservation[] | undefined;
1358
- }
1359
- /** An unversioned identification of a particular Helm chart. */
1360
- export interface HelmChartSpec {
1361
- chartName: string;
1362
- chartRepoCode: string;
1363
- chartRepoUrl: string;
1364
- chartScope?: string | undefined;
1365
- defaultChartVersion?: string | undefined;
1366
- helmConfig?: ConfigSchema | undefined;
1367
- }
1368
- /** Declaration of a domain name to use and the specification
1369
- * for how host names will be created for services and cabinets.
1370
- *
1371
- * NOTE: This entity is the RESULT of a smash-merge of the applicable ScopedHostNameConfig instances. */
1372
- export interface HostNameConfig {
1373
- domainName: string;
1374
- strategy: object | "cab_dot_cluster_dot_domain_slash_service" | "cab_dot_cluster_dot_enterprise_dot_domain_slash_service" | "cab_dot_domain_slash_service" | "domain_slash_service" | "globally_shared_domain_slash_service" | "service_dot_domain" | "shared_ingress_ip" | "svc_dot_cab_dot_domain"[];
1375
- }
1376
- /** Filter for retrieving all ScopedHostNameConfigs applicable to the given cabinets. */
1377
- export interface HostNameConfigCabinetScopeFilter {
1378
- cabinets: FullyQualifiedCabinetScopes;
1379
- $not?: HostNameConfigCabinetScopeFilter | undefined;
1380
- property?: string | undefined;
1381
- }
1382
- export declare enum HostNameStrategyEnum {
1383
- cab_dot_cluster_dot_domain_slash_service = "cab_dot_cluster_dot_domain_slash_service",
1384
- cab_dot_cluster_dot_enterprise_dot_domain_slash_service = "cab_dot_cluster_dot_enterprise_dot_domain_slash_service",
1385
- cab_dot_domain_slash_service = "cab_dot_domain_slash_service",
1386
- domain_slash_service = "domain_slash_service",
1387
- globally_shared_domain_slash_service = "globally_shared_domain_slash_service",
1388
- service_dot_domain = "service_dot_domain",
1389
- shared_ingress_ip = "shared_ingress_ip",
1390
- svc_dot_cab_dot_domain = "svc_dot_cab_dot_domain"
1391
- } /** Identifying information of the subscription as it is represented in the billing system.
1392
- * This object should get hydrated by a sync task. */
1393
- export interface IBillingPlanRef {
1394
- /** The name for the plan as it appears to a user. */
1395
- friendlyName: string;
1396
- /** The unique plan ID from the billing system. */
1397
- id: string;
1398
- /** The unique identifier for this tenant in the billing system. */
1399
- customerId: string;
1400
- /** Human-readable immutable identitifer for the plan. */
1401
- code: string;
1402
- /** Enables basic storage and retrieval of dates and times. */
1403
- nextRequiredSync?: Date | undefined;
1404
- /** Enables basic storage and retrieval of dates and times. */
1405
- lastSync?: Date | undefined;
1406
- }
1407
- export interface ICommandLineProbeAction {
1408
- /** The command line to execute inside the container.
1409
- *
1410
- * The working directory for the command is root ('/') in the container's filesystem.
1411
- * The command is simply exec'd, it is not run inside a shell,
1412
- * so traditional shell instructions ('|', etc) won't work.
1413
- * To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. */
1414
- command: string[];
1415
- actionType: ProbeActionTypesEnum;
1416
- }
1417
- export interface IGrpcProbeAction {
1418
- /** Port number of the gRPC service. Number must be in the range 1 to 65535. */
1419
- port: number;
1420
- /** Service is the name of the service to place in the gRPC HealthCheckRequest
1421
- * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
1422
- * If this is not specified, the default behavior is defined by gRPC. */
1423
- service: string;
1424
- actionType: ProbeActionTypesEnum;
1425
- }
1426
- export interface IHttpProbeAction {
1427
- /** Scheme to use for connecting to the host. */
1428
- scheme: "http" | "https";
1429
- /** Host name to connect to, defaults to the pod IP. */
1430
- host: string;
1431
- /** Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. */
1432
- port: string | number;
1433
- /** Relative url to access on the HTTP server. */
1434
- path: string;
1435
- /** Custom headers to set in the request. HTTP allows repeated headers. */
1436
- httpHeaders?: object[] | undefined;
1437
- actionType: ProbeActionTypesEnum;
1438
- }
1439
- /** An unversioned reference to an image repository. */
1440
- export interface Image {
1441
- registry: ImageRegistry;
1442
- id?: string | undefined;
1443
- createdBy: string;
1444
- modifiedBy: string;
1445
- /** Enables basic storage and retrieval of dates and times. */
1446
- created: Date;
1447
- /** Enables basic storage and retrieval of dates and times. */
1448
- modified: Date;
1449
- name: string;
1450
- scope?: string | undefined;
1451
- os?: "Linux" | "Windows" | undefined;
1452
- architecture?: "amd64" | "arm32v6" | "arm32v7" | "arm64v8" | "windows-amd64" | undefined;
1453
- }
1454
- export interface ImageCriteria {
1455
- name?: StringFilter | undefined;
1456
- ids?: string[] | undefined;
1457
- all?: boolean | undefined;
1458
- /** Specification for the sort order of a query.
1459
- *
1460
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1461
- *
1462
- * Example: ```"color"```
1463
- *
1464
- * Example: ```[ "color", "lastName" ]``` */
1465
- sort?: string[] | "asc" | "desc" | string | undefined;
1466
- }
1467
- export interface ImageRegistry {
1468
- id?: string | undefined;
1469
- /** The token to be used by the cluster to authenticate when pulling images from this registry.
1470
- * This property references a secret record in a SecretStore. */
1471
- pullSecret?: PullSecretRef | undefined;
1472
- /** The backup token to be used by the cluster to authenticate when pulling images from this registry.
1473
- * This property references a secret record in a SecretStore.
1474
- *
1475
- * NOTE: The secondary pull secret is available for seamless transitions when replacing the primary.
1476
- * The primary and secondary should never have the same expiration dates. */
1477
- pullSecretSecondary?: PullSecretRef | undefined;
1478
- createdBy: string;
1479
- modifiedBy: string;
1480
- /** Enables basic storage and retrieval of dates and times. */
1481
- created: Date;
1482
- /** Enables basic storage and retrieval of dates and times. */
1483
- modified: Date;
1484
- code: string;
1485
- url: string;
1486
- provider: CloudProviderEnum;
1487
- type: ImageRegistryTypes;
1488
- pullRequiresAuth?: boolean | undefined;
1489
- infoUrl?: string | undefined;
1490
- useRemoteFiltering?: boolean | undefined;
1491
- }
1492
- export interface ImageRegistryCriteria {
1493
- code?: StringFilter | undefined;
1494
- url?: StringFilter | undefined;
1495
- ids?: string[] | undefined;
1496
- all?: boolean | undefined;
1497
- /** Specification for the sort order of a query.
1498
- *
1499
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1500
- *
1501
- * Example: ```"color"```
1502
- *
1503
- * Example: ```[ "color", "lastName" ]``` */
1504
- sort?: string[] | "asc" | "desc" | string | undefined;
1505
- }
1506
- /** Matches an ImageRegistry entity, just isnt a domain entity or auditable.
1507
- * This class is for use as a request: it is NOT A DOMAIN ENTITY. */
1508
- export interface ImageRegistrySpec {
1509
- code: string;
1510
- url: string;
1511
- provider: CloudProviderEnum;
1512
- type: ImageRegistryTypes;
1513
- pullRequiresAuth?: boolean | undefined;
1514
- infoUrl?: string | undefined;
1515
- useRemoteFiltering?: boolean | undefined;
1516
- }
1517
- export declare enum ImageRegistryTypes {
1518
- AmazonEcr = "AmazonEcr",
1519
- AzureCr = "AzureCr",
1520
- DockerHub = "DockerHub",
1521
- Other = "Other",
1522
- helm = "helm"
1523
- } /** An unversioned reference to an image repository.
1524
- * Matches an Image entity. This class is for use as a request: it is NOT A DOMAIN ENTITY. */
1525
- export interface ImageSpec {
1526
- name: string;
1527
- registry: ImageRegistrySpec;
1528
- scope?: string | undefined;
1529
- os?: "Linux" | "Windows" | undefined;
1530
- architecture?: "amd64" | "arm32v6" | "arm32v7" | "arm64v8" | "windows-amd64" | undefined;
1531
- }
1532
- /** Specifications for ingress controllers and request routing.
1533
- * Based on an ingress controller deployed as a Helm chart. */
1534
- export interface IngressDef {
1535
- chart_name: string;
1536
- service_name: string;
1537
- service_namespace: string;
1538
- replicas: number;
1539
- ip_name: string;
1540
- cert_secret_name: string;
1541
- cert_name: string;
1542
- id?: string | undefined;
1543
- createdBy: string;
1544
- modifiedBy: string;
1545
- /** Enables basic storage and retrieval of dates and times. */
1546
- created: Date;
1547
- /** Enables basic storage and retrieval of dates and times. */
1548
- modified: Date;
1549
- }
1550
- export interface ISocketProbeAction {
1551
- /** Host name to connect to, defaults to the pod IP. */
1552
- host: string;
1553
- /** Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. */
1554
- port: string | number;
1555
- actionType: ProbeActionTypesEnum;
1556
- }
1557
- export interface ISourcedSetting {
1558
- /** The setting name, using dot notation for hierarchy within the config doc. */
1559
- setting: string;
1560
- /** Specs for where to retrieve the value from. */
1561
- source: KvpReference;
1562
- }
1563
- /** Describes the outcome of an attempt to validate an entity, property or value.
1564
- * The overall status is determined by whether or not its "failure" property is undefined. */
1565
- export interface IValidationStatus {
1566
- /** Descriptor for the entity/property/value that was validated */
1567
- candidate: string;
1568
- /** Description of why the candidate entity failed validation (undefined for successful validations). */
1569
- failure?: string | undefined;
1570
- /** Additional user instructions that may apply despite a successful validation. */
1571
- warning?: string | undefined;
1572
- /** Additional layer of granularity on a validation failure.
1573
- * eg: if the status describes an entity validation failure, the details are the individual property failures.
1574
- * eg: if the status describes a property validation failure, the details may be the various constraints it failed to meet. */
1575
- details?: IValidationStatus[] | undefined;
1576
- }
1577
- export interface IVersionRef {
1578
- entityType: string;
1579
- entityName: string;
1580
- version: string;
1581
- contents?: IVersionRef[] | undefined;
1582
- contentHash?: string | undefined;
1583
- }
1584
- export interface JobAssetTemplate {
1585
- image: ImageSpec;
1586
- defaultPort: number;
1587
- defaultImageVersion?: string | undefined;
1588
- assetType: AssetTypesEnum;
1589
- defaultName: string;
1590
- defaultCode: string;
1591
- hasIngress?: boolean | undefined;
1592
- /** List of fileStores required by the asset. Each one requires capture. */
1593
- fileStores?: object[] | undefined;
1594
- /** List of secretStores required by the asset. Each one requires capture. */
1595
- secretStores?: object[] | undefined;
1596
- /** Declaration-time attributes of the Asset itself
1597
- * (used for managing the asset before deploying, not at runtime) */
1598
- properties?: ConfigSchema | undefined;
1599
- /** Config files supported by the asset and their structures.
1600
- *
1601
- * TODO: Need to specify which settings should be secrets. Might need to define that in the metadata or extend the typedefs */
1602
- configs?: object | undefined;
1603
- /** Environment variables supported by the asset. */
1604
- envs?: object | undefined;
1605
- /** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
1606
- * that belong to this asset among all the other pods in a namespace.
1607
- * This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas. */
1608
- customPodFilters?: object[] | undefined;
1609
- /** Abstract declarations of folder paths inside the image
1610
- * that are to be later mapped (at configuration time) to file store definitions. */
1611
- reservedFolders?: AssetFolderReservation[] | undefined;
1612
- }
1613
- /** A marketplace entity.
1614
- *
1615
- * An abstract specification for an asset,
1616
- * to be used as the instructions for the creation
1617
- * of a concrete asset in an enterprise.
1618
- *
1619
- * Allows the avilability to reuse an asset
1620
- * in separate enterprises (and tenants). */
1621
- export interface Kit {
1622
- name: string;
1623
- library: string;
1624
- version: string;
1625
- tenantCode: string;
1626
- accessibleBy: KitAccessibilityEnum;
1627
- description?: string | undefined;
1628
- disabled?: boolean | undefined;
1629
- assetType: AssetTypesEnum;
1630
- id?: string | undefined;
1631
- template?: AssetTemplate | undefined;
1632
- tags: string[];
1633
- createdBy: string;
1634
- modifiedBy: string;
1635
- /** Enables basic storage and retrieval of dates and times. */
1636
- created: Date;
1637
- /** Enables basic storage and retrieval of dates and times. */
1638
- modified: Date;
1639
- }
1640
- /** Indicates who in the Codiac universe is allowed to view and use a Kit. */
1641
- export declare enum KitAccessibilityEnum {
1642
- friends = "friends",
1643
- private = "private",
1644
- public = "public"
1645
- }
1646
- export interface KitCriteria {
1647
- name?: StringFilter | undefined;
1648
- library?: string | undefined;
1649
- version?: string | undefined;
1650
- tenantCode?: string | undefined;
1651
- disabled?: string | undefined;
1652
- assetType?: "helm" | "job" | "service" | undefined;
1653
- /** Applies constraints to an entity property that is a list of strings. */
1654
- tags?: StringListFilter | undefined;
1655
- ids?: string[] | undefined;
1656
- all?: boolean | undefined;
1657
- /** Specification for the sort order of a query.
1658
- *
1659
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1660
- *
1661
- * Example: ```"color"```
1662
- *
1663
- * Example: ```[ "color", "lastName" ]``` */
1664
- sort?: string[] | "asc" | "desc" | string | undefined;
1665
- }
1666
- /** The information needed to access an individual key value pair
1667
- * from a predefined data store. */
1668
- export interface KvpReference {
1669
- type: KvpStoreTypesEnum;
1670
- name: string;
1671
- key: any;
1672
- }
1673
- /** The specs for a key value store to be managed by the codiac system.
1674
- * This class is used to programmatically put up and take down concrete key value stores. */
1675
- export interface KvpStoreDef {
1676
- /** The friendly identifying name under which the key value store resource is registered within an enterprise.
1677
- * The concrete instance that gets created will use this name
1678
- * (if the instance exists already, this property
1679
- * must match the name of the concrete instance). */
1680
- name: string;
1681
- /** The third party cloud provider service that is hosting this resource. */
1682
- provider: CloudProviderEnum;
1683
- /** Differentiator for key value store resources (eg: KeyVault, etcd, mongo, etc)
1684
- * and their various implementations. */
1685
- type: KvpStoreTypesEnum;
1686
- /** Info describing the concrete instance of this kvp store
1687
- * actually living within a cloud provider subscription. */
1688
- instance?: KvpStoreInfrx | undefined;
1689
- id?: string | undefined;
1690
- createdBy: string;
1691
- modifiedBy: string;
1692
- /** Enables basic storage and retrieval of dates and times. */
1693
- created: Date;
1694
- /** Enables basic storage and retrieval of dates and times. */
1695
- modified: Date;
1696
- }
1697
- export interface KvpStoreDefCriteria {
1698
- name?: string | undefined;
1699
- /** Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials. */
1700
- provider?: "aws" | "azure" | "dockerHub" | "other" | undefined;
1701
- /** List of codenames for supported KeyValue stores.
1702
- * eg: Clients for these types of stores are registered under these values. */
1703
- type?: "awsKeyVault" | "azBlob" | "azKeyVault" | "etcd" | "mongoCollection" | "mongoDocument" | undefined;
1704
- ids?: string[] | undefined;
1705
- all?: boolean | undefined;
1706
- /** Specification for the sort order of a query.
1707
- *
1708
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1709
- *
1710
- * Example: ```"color"```
1711
- *
1712
- * Example: ```[ "color", "lastName" ]``` */
1713
- sort?: string[] | "asc" | "desc" | string | undefined;
1714
- }
1715
- export interface KvpStoreInfrx {
1716
- type: KvpStoreTypesEnum;
1717
- /** The friendly, human-readable identifier of this resource,
1718
- * as it is known by the cloud provider.
1719
- * Its name is unique only within the resource group containing the instance,
1720
- * and it necessarily matches the name of the definition from which it was spawned. */
1721
- name: string;
1722
- /** The third party cloud service provider that is hosting this resource. */
1723
- provider: CloudProviderEnum;
1724
- /** The Id given by the csp. */
1725
- resourceId: string;
1726
- id?: string | undefined;
1727
- createdBy: string;
1728
- modifiedBy: string;
1729
- /** Enables basic storage and retrieval of dates and times. */
1730
- created: Date;
1731
- /** Enables basic storage and retrieval of dates and times. */
1732
- modified: Date;
1733
- }
1734
- /** List of codenames for supported KeyValue stores.
1735
- * eg: Clients for these types of stores are registered under these values. */
1736
- export declare enum KvpStoreTypesEnum {
1737
- awsKeyVault = "awsKeyVault",
1738
- azBlob = "azBlob",
1739
- azKeyVault = "azKeyVault",
1740
- etcd = "etcd",
1741
- mongoCollection = "mongoCollection",
1742
- mongoDocument = "mongoDocument"
1743
- }
1744
- export interface MyTenantRequest {
1745
- }
1746
- export declare enum NativeDataTypeEnum {
1747
- boolean = "boolean",
1748
- float32 = "float32",
1749
- float64 = "float64",
1750
- int16 = "int16",
1751
- int32 = "int32",
1752
- int8 = "int8",
1753
- string = "string",
1754
- timestamp = "timestamp",
1755
- uint16 = "uint16",
1756
- uint32 = "uint32",
1757
- uint8 = "uint8"
1758
- } /** "Type" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
1759
- export interface NativeTypeDef {
1760
- type: NativeDataTypeEnum;
1761
- nullable?: boolean | undefined;
1762
- metadata?: any | undefined;
1763
- }
1764
- /** An arbitrary grouping of OS-specific cluster nodes.
1765
- * All nodes in a pool are of the same vm type. */
1766
- export interface NodePoolDef {
1767
- clusterName: string;
1768
- name: string;
1769
- nodeSpec: string;
1770
- startingNodeCount: number;
1771
- isWindows?: boolean | undefined;
1772
- id?: string | undefined;
1773
- createdBy: string;
1774
- modifiedBy: string;
1775
- /** Enables basic storage and retrieval of dates and times. */
1776
- created: Date;
1777
- /** Enables basic storage and retrieval of dates and times. */
1778
- modified: Date;
1779
- }
1780
- export interface NodePoolDefCriteria {
1781
- clusterName?: StringFilter | undefined;
1782
- name?: StringFilter | undefined;
1783
- nodeSpec?: StringFilter | undefined;
1784
- /** AUTHOR NOTE:
1785
- * This filter approach does NOT provide for:
1786
- *
1787
- * 1) Formula-driven filtering: (property-scoped) function(propVal: number)
1788
- * comparison of calc on the property value ie: WHERE 2 * [Overhead] <= 50,000
1789
- *
1790
- * 2) Entity-scoped formula-driven filtering function (entity: T)
1791
- * comparison of calcs on MANY DIFFERENT property values ie: WHERE [Overhead] < 0.33 * [Revenue] */
1792
- startingNodeCount?: NumericFilter | undefined;
1793
- isWindows?: boolean | undefined;
1794
- ids?: string[] | undefined;
1795
- all?: boolean | undefined;
1796
- /** Specification for the sort order of a query.
1797
- *
1798
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1799
- *
1800
- * Example: ```"color"```
1801
- *
1802
- * Example: ```[ "color", "lastName" ]``` */
1803
- sort?: string[] | "asc" | "desc" | string | undefined;
1804
- }
1805
- /** AUTHOR NOTE:
1806
- * This filter approach does NOT provide for:
1807
- *
1808
- * 1) Formula-driven filtering: (property-scoped) function(propVal: number)
1809
- * comparison of calc on the property value ie: WHERE 2 * [Overhead] <= 50,000
1810
- *
1811
- * 2) Entity-scoped formula-driven filtering function (entity: T)
1812
- * comparison of calcs on MANY DIFFERENT property values ie: WHERE [Overhead] < 0.33 * [Revenue] */
1813
- export interface NumericFilter {
1814
- /** property of the target object to compare (conventional default to the name of the criteria property) */
1815
- property?: string | undefined;
1816
- $equalTo?: number | undefined;
1817
- /** Deprecated: use the $not operator with $equalTo instead */
1818
- $notEqualTo?: number | undefined;
1819
- $greaterThan?: number | undefined;
1820
- $greaterThanOrEqualTo?: number | undefined;
1821
- $lessThan?: number | undefined;
1822
- $lessThanOrEqualTo?: number | undefined;
1823
- /** A span of numbers from the given lower bound to the given upper bound.
1824
- * Used for filtering and comparing of numeric values. */
1825
- $between?: Range | undefined;
1826
- $oneOf?: number[] | undefined;
1827
- /** AUTHOR NOTE:
1828
- * This filter approach does NOT provide for:
1829
- *
1830
- * 1) Formula-driven filtering: (property-scoped) function(propVal: number)
1831
- * comparison of calc on the property value ie: WHERE 2 * [Overhead] <= 50,000
1832
- *
1833
- * 2) Entity-scoped formula-driven filtering function (entity: T)
1834
- * comparison of calcs on MANY DIFFERENT property values ie: WHERE [Overhead] < 0.33 * [Revenue] */
1835
- $not?: NumericFilter | undefined;
1836
- }
1837
- export interface patchOperation {
1838
- op: patchOperationType;
1839
- path: string;
1840
- value: any;
1841
- }
1842
- export declare enum patchOperationType {
1843
- add = "add",
1844
- copy = "copy",
1845
- move = "move",
1846
- remove = "remove",
1847
- replace = "replace",
1848
- test = "test"
1849
- } /** The granting of priveleges to a given Role. */
1850
- export interface Permission {
1851
- role: AuthRole;
1852
- priveleges: Privelege[];
1853
- }
1854
- /** A type of operation that a given Role is allowed to perform on a securable object. */
1855
- export declare enum Privelege {
1856
- "value0" = 0,
1857
- "value1" = 1,
1858
- "value2" = 2,
1859
- "value3" = 3,
1860
- "value4" = 4
1861
- } /** Declares a probe action and when to run it against an asset. */
1862
- export interface Probe {
1863
- enterprise: string;
1864
- asset: string;
1865
- type: ProbeUsageTypesEnum;
1866
- /** EITHER: Immutable unique human-readable identifier for a standard or otherwise predefined probe action.
1867
- *
1868
- * OR: an inline probe action declaration. */
1869
- action: ICommandLineProbeAction | IHttpProbeAction | IGrpcProbeAction | ISocketProbeAction | string;
1870
- /** Semantic version range in which this probe is applicable. */
1871
- versionRange?: string | undefined;
1872
- initialDelaySeconds?: number | undefined;
1873
- periodSeconds?: number | undefined;
1874
- disabled?: boolean | undefined;
1875
- id?: string | undefined;
1876
- createdBy: string;
1877
- modifiedBy: string;
1878
- /** Enables basic storage and retrieval of dates and times. */
1879
- created: Date;
1880
- /** Enables basic storage and retrieval of dates and times. */
1881
- modified: Date;
1882
- }
1883
- /** Type declaration for the Probe sub-class, determining the nature of its behavior and handling. */
1884
- export declare enum ProbeActionTypesEnum {
1885
- exec = "exec",
1886
- grpc = "grpc",
1887
- http = "http",
1888
- socket = "socket"
1889
- }
1890
- export interface ProbeCriteria {
1891
- enterprise?: string | undefined;
1892
- asset?: string | undefined;
1893
- /** Type declaration for the Probe sub-class, determining the nature of its behavior and handling. */
1894
- actionType?: "exec" | "grpc" | "http" | "socket" | undefined;
1895
- disabled?: boolean | undefined;
1896
- ids?: string[] | undefined;
1897
- all?: boolean | undefined;
1898
- /** Specification for the sort order of a query.
1899
- *
1900
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1901
- *
1902
- * Example: ```"color"```
1903
- *
1904
- * Example: ```[ "color", "lastName" ]``` */
1905
- sort?: string[] | "asc" | "desc" | string | undefined;
1906
- }
1907
- /** Declaration of what purpose the probe serves,
1908
- * ie: where a probe is fired in the runtime lifecycle of an asset. */
1909
- export declare enum ProbeUsageTypesEnum {
1910
- liveness = "liveness",
1911
- readiness = "readiness",
1912
- startup = "startup"
1913
- } /** A grouping of assets within an enterprise that are released together. */
1914
- export interface Product {
1915
- enterpriseCode: string;
1916
- name: string;
1917
- assets: Asset[];
1918
- id?: string | undefined;
1919
- createdBy: string;
1920
- modifiedBy: string;
1921
- /** Enables basic storage and retrieval of dates and times. */
1922
- created: Date;
1923
- /** Enables basic storage and retrieval of dates and times. */
1924
- modified: Date;
1925
- }
1926
- export interface ProductCriteria {
1927
- name?: StringFilter | undefined;
1928
- enterprise?: string | undefined;
1929
- /** Applies constraints to an entity property that is a list of strings. */
1930
- assetCodes?: StringListFilter | undefined;
1931
- ids?: string[] | undefined;
1932
- all?: boolean | undefined;
1933
- /** Specification for the sort order of a query.
1934
- *
1935
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1936
- *
1937
- * Example: ```"color"```
1938
- *
1939
- * Example: ```[ "color", "lastName" ]``` */
1940
- sort?: string[] | "asc" | "desc" | string | undefined;
1941
- }
1942
- export interface ProductVersionConfig {
1943
- productName: string;
1944
- enterpriseCode: string;
1945
- releaseName?: string | undefined;
1946
- entityType: string;
1947
- entityName: string;
1948
- version: string;
1949
- tags?: Tag[] | undefined;
1950
- contents?: IVersionRef[] | undefined;
1951
- contentHash?: string | undefined;
1952
- id?: string | undefined;
1953
- createdBy: string;
1954
- modifiedBy: string;
1955
- /** Enables basic storage and retrieval of dates and times. */
1956
- created: Date;
1957
- /** Enables basic storage and retrieval of dates and times. */
1958
- modified: Date;
1959
- }
1960
- export interface ProductVersionConfigCriteria {
1961
- enterpriseCode?: string | undefined;
1962
- productName?: string | undefined;
1963
- releaseName?: string | undefined;
1964
- version?: string | undefined;
1965
- contentHash?: string | undefined;
1966
- multi?: object[] | undefined;
1967
- ids?: string[] | undefined;
1968
- all?: boolean | undefined;
1969
- /** Specification for the sort order of a query.
1970
- *
1971
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
1972
- *
1973
- * Example: ```"color"```
1974
- *
1975
- * Example: ```[ "color", "lastName" ]``` */
1976
- sort?: string[] | "asc" | "desc" | string | undefined;
1977
- }
1978
- /** Defines an object with required and optional properties
1979
- *
1980
- * "Properties" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
1981
- export interface PropertiesTypeDef {
1982
- /** All properties declared here are required.
1983
- * NOTE: Property names cannot overlap with optionalProperties. */
1984
- properties: object;
1985
- /** NOTE: Property names cannot overlap with optionalProperties. */
1986
- optionalProperties: object;
1987
- /** Indicates that properties may be added that are not defined in the schema. */
1988
- additionalProperties?: boolean | undefined;
1989
- nullable?: boolean | undefined;
1990
- metadata?: any | undefined;
1991
- }
1992
- /** Metadata for the credentials that a cluster will use when pulling images from an image registry.
1993
- * This class points to a a specific secret record in a known secret store. */
1994
- export interface PullSecretRef {
1995
- /** Enables basic storage and retrieval of dates and times. */
1996
- expiresOn: Date;
1997
- /** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
1998
- created: Date;
1999
- /** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
2000
- createdBy: string;
2001
- /** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
2002
- modified: Date;
2003
- /** Applies to the creation of this instance of PullSecretRef, not necessarily the same as the secret itself in the secret store. */
2004
- modifiedBy: string;
2005
- type: KvpStoreTypesEnum;
2006
- name: string;
2007
- key: any;
2008
- }
2009
- /** A span of numbers from the given lower bound to the given upper bound.
2010
- * Used for filtering and comparing of numeric values. */
2011
- export interface Range {
2012
- from: number;
2013
- to: number;
2014
- inclusive: RangeBoundary;
2015
- }
2016
- /** Declaration of boundary conditions for a Range instance. */
2017
- export declare enum RangeBoundary {
2018
- "value0" = 0,
2019
- "value1" = 1,
2020
- "value2" = 2,
2021
- "value3" = 3
2022
- }
2023
- export interface ReadyStateRequest {
2024
- }
2025
- /** The token must be submitted in the
2026
- * http header designated in the AuthSettings object for the auth api. */
2027
- export interface RefreshTokenRequest {
2028
- }
2029
- /** defines a reference to the schema that is present in the corresponding key
2030
- * in the definitions member of the root schema.
2031
- *
2032
- * "Ref" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
2033
- export interface RefTypeDef {
2034
- ref: string;
2035
- nullable?: boolean | undefined;
2036
- metadata?: any | undefined;
2037
- }
2038
- export interface ResetPasswordRequest {
2039
- userLogin: string;
2040
- }
2041
- export interface Result {
2042
- success: boolean;
2043
- message?: string | undefined;
2044
- error?: Error | undefined;
2045
- /** Any errors or messages for the consumer about constraints that were not met in order to perform the operation. */
2046
- validation?: IValidationStatus | undefined;
2047
- }
2048
- export interface RoleAssignmentRequest {
2049
- userId: string;
2050
- roleName: string;
2051
- unassign?: boolean | undefined;
2052
- }
2053
- /** All the enterprises, assets, cabinets, environments, and clusters for a given tenant.
2054
- * That is, a semi-detailed list of all the primary entities of a tenant's software organization.
2055
- *
2056
- * NOTE: Though this is a domain entity, it is an emergent entity, so it will never need an id.
2057
- * It gets assembled from the tenant code and is filtered within itself. */
2058
- export interface RootMap {
2059
- enterprises: EnterpriseRoot[];
2060
- clusters: ClusterWithIngress[];
2061
- id?: string | undefined;
2062
- }
2063
- export interface RootMapCriteria {
2064
- cabinet?: string | undefined;
2065
- enterprise?: string | undefined;
2066
- environment?: string | undefined;
2067
- cluster?: string | undefined;
2068
- ids?: string[] | undefined;
2069
- all?: boolean | undefined;
2070
- /** Specification for the sort order of a query.
2071
- *
2072
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2073
- *
2074
- * Example: ```"color"```
2075
- *
2076
- * Example: ```[ "color", "lastName" ]``` */
2077
- sort?: string[] | "asc" | "desc" | string | undefined;
2078
- }
2079
- export interface Scope {
2080
- /** The level of the scope (eg: enterprise, environment, cluster, cabinet, asset, etc).
2081
- * This level gives the value its rank in the hierarchy during a smash-merge resolution.
2082
- * That is, environment values overwrite enterprise values, and cabinet values overwrite environment values. */
2083
- scope: string;
2084
- /** The name of the concrete instance at the given scope level.
2085
- * (eg: "devcab1" for a scope of cabinet, "main" for scope of enterprise) */
2086
- target: string;
2087
- /** (FUTURE: NOT YET SUPPORTED) Indicates that this value shall govern over otherwise higher ranking scopes during evaluation.
2088
- * NOTE: This value can still be overridden by a value in a higher ranking scope whose own governs flag is set. */
2089
- governs?: boolean | undefined;
2090
- }
2091
- /** Meta container for a ConfigDoc.
2092
- * based on the asset and target cabinet that config is built for. */
2093
- export interface ScopedConfig {
2094
- enterprise: string;
2095
- asset: string;
2096
- cabinet: string;
2097
- targetFile: string;
2098
- sourcedSettings?: ISourcedSetting[] | undefined;
2099
- id?: string | undefined;
2100
- /** Enables basic storage and retrieval of dates and times. */
2101
- modified: Date;
2102
- modifiedBy: string;
2103
- /** Enables basic storage and retrieval of dates and times. */
2104
- created: Date;
2105
- createdBy: string;
2106
- /** The contents of the config itself. The config file can be produced by writing this property to a file named by this.targetFile. */
2107
- doc: ConfigDoc;
2108
- }
2109
- export interface ScopedConfigCriteria {
2110
- cluster?: string | undefined;
2111
- enterprise?: string | undefined;
2112
- environment?: string | undefined;
2113
- cabinet?: StringFilter | undefined;
2114
- asset?: StringFilter | undefined;
2115
- targetFile?: StringFilter | undefined;
2116
- ids?: string[] | undefined;
2117
- all?: boolean | undefined;
2118
- /** Specification for the sort order of a query.
2119
- *
2120
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2121
- *
2122
- * Example: ```"color"```
2123
- *
2124
- * Example: ```[ "color", "lastName" ]``` */
2125
- sort?: string[] | "asc" | "desc" | string | undefined;
2126
- }
2127
- /** An assignment of a HostNameStrategy for a single domain at a specific scope. */
2128
- export interface ScopedHostNameConfig {
2129
- /** The level of the scope (eg: enterprise, environment, cluster, cabinet, asset, etc).
2130
- * This level gives the value its rank in the hierarchy during a smash-merge resolution.
2131
- * That is, environment values overwrite enterprise values, and cabinet values overwrite environment values. */
2132
- scope: string;
2133
- /** The name of the concrete instance at the given scope level.
2134
- * (eg: "devcab1" for a scope of cabinet, "main" for scope of enterprise) */
2135
- target: string;
2136
- domainName: string;
2137
- strategy: HostNameStrategyEnum;
2138
- enterprise?: string | undefined;
2139
- id?: string | undefined;
2140
- /** (FUTURE: NOT YET SUPPORTED) Indicates that this value shall govern over otherwise higher ranking scopes during evaluation.
2141
- * NOTE: This value can still be overridden by a value in a higher ranking scope whose own governs flag is set. */
2142
- governs?: boolean | undefined;
2143
- createdBy: string;
2144
- modifiedBy: string;
2145
- /** Enables basic storage and retrieval of dates and times. */
2146
- created: Date;
2147
- /** Enables basic storage and retrieval of dates and times. */
2148
- modified: Date;
2149
- }
2150
- export interface ScopedHostNameConfigCriteria {
2151
- scope?: StringFilter | undefined;
2152
- target?: StringFilter | undefined;
2153
- governs?: boolean | undefined;
2154
- enterprise?: string | undefined;
2155
- domainName?: StringFilter | undefined;
2156
- strategy?: StringFilter | undefined;
2157
- /** Filter for retrieving all ScopedHostNameConfigs applicable to the given cabinets. */
2158
- applicableTo?: HostNameConfigCabinetScopeFilter | undefined;
2159
- ids?: string[] | undefined;
2160
- all?: boolean | undefined;
2161
- /** Specification for the sort order of a query.
2162
- *
2163
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2164
- *
2165
- * Example: ```"color"```
2166
- *
2167
- * Example: ```[ "color", "lastName" ]``` */
2168
- sort?: string[] | "asc" | "desc" | string | undefined;
2169
- }
2170
- /** A single key-value setting within a config for an asset, scoped for its ultimate deployment context.
2171
- * That is, this is the value of one setting within a config file (the targetFile param);
2172
- * the scope/target (eg: "cabinet"/"cab16") tells us where to use it. */
2173
- export interface ScopedSetting {
2174
- setting: string;
2175
- value: any;
2176
- targetFile: string;
2177
- asset: string;
2178
- enterprise: string;
2179
- scope: ScopeLevel;
2180
- target: string;
2181
- description?: string | undefined;
2182
- source?: KvpReference | undefined;
2183
- id?: string | undefined;
2184
- createdBy: string;
2185
- modifiedBy: string;
2186
- /** Enables basic storage and retrieval of dates and times. */
2187
- created: Date;
2188
- /** Enables basic storage and retrieval of dates and times. */
2189
- modified: Date;
2190
- }
2191
- export interface ScopedSettingCriteria {
2192
- setting?: string | undefined;
2193
- targetFile?: StringFilter | undefined;
2194
- asset?: StringFilter | undefined;
2195
- enterprise?: StringFilter | undefined;
2196
- scope?: "cabinet" | "enterprise" | "environment" | undefined;
2197
- target?: string | undefined;
2198
- /** Creates a filter expression that includes
2199
- * all entities whose scopes are relevant input for a smash-merge
2200
- * targeting a given context.
2201
- * That is: given a cabinet, this filter will invoke a query expression
2202
- * that will return all ScopedSettings that are needed
2203
- * to perform a smash-merge into a config doc for that cabinet. */
2204
- targetCabinet?: ScopeFilter | undefined;
2205
- ids?: string[] | undefined;
2206
- all?: boolean | undefined;
2207
- /** Specification for the sort order of a query.
2208
- *
2209
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2210
- *
2211
- * Example: ```"color"```
2212
- *
2213
- * Example: ```[ "color", "lastName" ]``` */
2214
- sort?: string[] | "asc" | "desc" | string | undefined;
2215
- }
2216
- /** Creates a filter expression that includes
2217
- * all entities whose scopes are relevant input for a smash-merge
2218
- * targeting a given context.
2219
- * That is: given a cabinet, this filter will invoke a query expression
2220
- * that will return all ScopedSettings that are needed
2221
- * to perform a smash-merge into a config doc for that cabinet. */
2222
- export interface ScopeFilter {
2223
- enterprise: string;
2224
- cabinet: string;
2225
- environment: string;
2226
- property?: string | undefined;
2227
- $not?: ScopeFilter | undefined;
2228
- }
2229
- export declare enum ScopeLevel {
2230
- cabinet = "cabinet",
2231
- enterprise = "enterprise",
2232
- environment = "environment"
2233
- } /** A cloud provider account for an individual user or application. */
2234
- export interface SecurityAccount {
2235
- /** (guid) The id of the service principal, used when assigining permissions. eg: "bf52a5ea-3663-476c-bb54-aacf9a1b39db", */
2236
- id: string;
2237
- /** The human readable name we give to the service principal. eg: "svc-princ-devcluster1", */
2238
- name: string;
2239
- /** full url by which Azure identifies the service principal. eg: "http://svc-princ-devcluster1", */
2240
- systemName: string;
2241
- /** (guid) NOT PERSISTED WITH THIS ENTITY.
2242
- * This password is typically generated on creation
2243
- * and thus needs to be persisted in a separate secret store for future use
2244
- * (eg: needed when creating a cluster). */
2245
- password?: string | undefined;
2246
- }
2247
- /** The security strategy employed on the cluster,
2248
- * indictating which type of security account
2249
- * will be used to identify the cluster and enforce its authorizations. */
2250
- export declare enum SecurityAccountTypeEnum {
2251
- managedIdentity = "managedIdentity",
2252
- servicePrincipal = "servicePrincipal"
2253
- } /** An asset consisting of a k8s service
2254
- * backed by a pod replica set (generated via a k8s Deployment entity). */
2255
- export interface ServiceAssetTemplate {
2256
- defaultPort: number;
2257
- image: ImageSpec;
2258
- defaultImageVersion?: string | undefined;
2259
- assetType: AssetTypesEnum;
2260
- defaultName: string;
2261
- defaultCode: string;
2262
- hasIngress?: boolean | undefined;
2263
- /** List of fileStores required by the asset. Each one requires capture. */
2264
- fileStores?: object[] | undefined;
2265
- /** List of secretStores required by the asset. Each one requires capture. */
2266
- secretStores?: object[] | undefined;
2267
- /** Declaration-time attributes of the Asset itself
2268
- * (used for managing the asset before deploying, not at runtime) */
2269
- properties?: ConfigSchema | undefined;
2270
- /** Config files supported by the asset and their structures.
2271
- *
2272
- * TODO: Need to specify which settings should be secrets. Might need to define that in the metadata or extend the typedefs */
2273
- configs?: object | undefined;
2274
- /** Environment variables supported by the asset. */
2275
- envs?: object | undefined;
2276
- /** (Optional: defaults to built-in deploymment-labeling convention) Boolean logic by which to recognize the pods
2277
- * that belong to this asset among all the other pods in a namespace.
2278
- * This property is an array type to allow for an asset to have multiple pod specs that each may have their own replicas. */
2279
- customPodFilters?: object[] | undefined;
2280
- /** Abstract declarations of folder paths inside the image
2281
- * that are to be later mapped (at configuration time) to file store definitions. */
2282
- reservedFolders?: AssetFolderReservation[] | undefined;
2283
- }
2284
- /** Component-by-component history of a multi-step infrastructure provisioning operation. */
2285
- export interface SetupJournal {
2286
- resourceId: string;
2287
- id?: string | undefined;
2288
- data: object;
2289
- createdBy: string;
2290
- modifiedBy: string;
2291
- /** Enables basic storage and retrieval of dates and times. */
2292
- created: Date;
2293
- /** Enables basic storage and retrieval of dates and times. */
2294
- modified: Date;
2295
- }
2296
- export interface SetupJournalCriteria {
2297
- resourceId?: string | undefined;
2298
- ids?: string[] | undefined;
2299
- all?: boolean | undefined;
2300
- /** Specification for the sort order of a query.
2301
- *
2302
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2303
- *
2304
- * Example: ```"color"```
2305
- *
2306
- * Example: ```[ "color", "lastName" ]``` */
2307
- sort?: string[] | "asc" | "desc" | string | undefined;
2308
- }
2309
- export interface SetupJournalEntry {
2310
- name: string;
2311
- artifactType: string;
2312
- artifactPartType?: string | undefined;
2313
- details?: any | undefined;
2314
- }
2315
- /** A concrete declaration of a single host naming strategy for a single domain, for a single cabinet.
2316
- *
2317
- * DEV NOTE: We have this entity type so that we can utilize embedding and cascading
2318
- * to affix host naming strategies to concrete cabinet records.
2319
- * This class allows us to surgically update one at a time in a post handler for a ScopedHostNameConfig crud. */
2320
- export interface SingleHostNameStrategyForCabinet {
2321
- isCabinetScoped: boolean;
2322
- domainName: string;
2323
- strategy: HostNameStrategyEnum;
2324
- enterprise: string;
2325
- cabinet: string;
2326
- forAsset?: string[] | string | undefined;
2327
- id?: string | undefined;
2328
- }
2329
- /** An immutable configuration of the an enterprise for a given cabinet,
2330
- * to be used, together with subsequent change events, as the specification for a deployment.
2331
- * This entity reflects only the proposed configuration for the enterprise as of its creation date;
2332
- * the state of the latest PROPOSED configuration can only be reflected
2333
- * by also including subsequent change events.
2334
- * AND unlike the RunState, it DOES NOT reflect the current state of the enterprise running in the targeted cabinet. */
2335
- export interface Snapshot {
2336
- enterprise: string;
2337
- cabinet: string;
2338
- id?: string | undefined;
2339
- createdBy: string;
2340
- modifiedBy: string;
2341
- /** Enables basic storage and retrieval of dates and times. */
2342
- created: Date;
2343
- /** Enables basic storage and retrieval of dates and times. */
2344
- modified: Date;
2345
- }
2346
- export interface SnapshotCriteria {
2347
- enterprise?: StringFilter | undefined;
2348
- cabinet?: StringFilter | undefined;
2349
- ids?: string[] | undefined;
2350
- all?: boolean | undefined;
2351
- /** Specification for the sort order of a query.
2352
- *
2353
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2354
- *
2355
- * Example: ```"color"```
2356
- *
2357
- * Example: ```[ "color", "lastName" ]``` */
2358
- sort?: string[] | "asc" | "desc" | string | undefined;
2359
- }
2360
- export interface SourceRepo {
2361
- name: string;
2362
- id?: string | undefined;
2363
- createdBy: string;
2364
- modifiedBy: string;
2365
- /** Enables basic storage and retrieval of dates and times. */
2366
- created: Date;
2367
- /** Enables basic storage and retrieval of dates and times. */
2368
- modified: Date;
2369
- }
2370
- export interface SourceRepoCriteria {
2371
- name?: StringFilter | undefined;
2372
- ids?: string[] | undefined;
2373
- all?: boolean | undefined;
2374
- /** Specification for the sort order of a query.
2375
- *
2376
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2377
- *
2378
- * Example: ```"color"```
2379
- *
2380
- * Example: ```[ "color", "lastName" ]``` */
2381
- sort?: string[] | "asc" | "desc" | string | undefined;
2382
- }
2383
- export interface StringFilter {
2384
- /** property of the target object to compare (conventional default to the name of the criteria property) */
2385
- property?: string | undefined;
2386
- $eq?: string | undefined;
2387
- $contains?: string | undefined;
2388
- $startsWith?: string | undefined;
2389
- $endsWith?: string | undefined;
2390
- $pattern?: string | undefined;
2391
- $in?: string[] | undefined;
2392
- $not?: StringFilter | undefined;
2393
- }
2394
- /** Applies constraints to an entity property that is a list of strings. */
2395
- export interface StringListFilter {
2396
- /** property of the target object to compare (conventional default to the name of the criteria property) */
2397
- property?: string | undefined;
2398
- /** NOTE: Cannot use a NumericFilter here bc MongoDb does not support such a query, and results in error: "$size needs a number".
2399
- * From https://docs.mongodb.com/manual/reference/operator/query/size/ ,
2400
- * "$size does not accept ranges of values. To select documents based on fields with different numbers of elements,
2401
- * create a counter field that you increment when you add elements to a field."
2402
- * (Then you'd apply a NumericFilter against that counter field instead of the array field itself).
2403
- * TODO: IF WE START TO REALLY NEED NumericFilters ON THE ARRAY LENGTH,
2404
- * THEN consider a conventional syntax for adding a size field on the entity (existing only within the data layer)
2405
- * that this operator will always work against,
2406
- * eg: "myEntity.SIZEOF_myArrayProperty" (it's safe bc MongoDbb wont care if we're looking for it when it doesnt exist).
2407
- * The problem that would result from that is that the numeric filter wont ever really work
2408
- * unless the developer knows enough to go add that field and ensure that it gets updated as required.
2409
- * This could be done via a setting in the MongoDbMap for that entity. */
2410
- length?: number | undefined;
2411
- contains?: StringFilter | undefined;
2412
- doesNotContain?: StringFilter | undefined;
2413
- /** Ensures that the values in the property are matched one-to-one with the given list of values. (Order is irrelevant) */
2414
- containsAny?: string[] | undefined;
2415
- containsEvery?: string[] | undefined;
2416
- equalTo?: string[] | undefined;
2417
- /** Applies constraints to an entity property that is a list of strings. */
2418
- $not?: StringListFilter | undefined;
2419
- }
2420
- /** The concrete collection of all CODIAC services that they are using
2421
- * (not an Azure subx, not their own SaaS offerings).
2422
- * ie: It's their infrastructure implementation with us: services, dbs logging tools, etc) */
2423
- export interface Subscription {
2424
- name: string;
2425
- id?: string | undefined;
2426
- environments: Environment[];
2427
- enterprises: Enterprise[];
2428
- createdBy: string;
2429
- modifiedBy: string;
2430
- /** Enables basic storage and retrieval of dates and times. */
2431
- created: Date;
2432
- /** Enables basic storage and retrieval of dates and times. */
2433
- modified: Date;
2434
- }
2435
- export interface SubscriptionCriteria {
2436
- tenantCode?: string | undefined;
2437
- ids?: string[] | undefined;
2438
- all?: boolean | undefined;
2439
- /** Specification for the sort order of a query.
2440
- *
2441
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2442
- *
2443
- * Example: ```"color"```
2444
- *
2445
- * Example: ```[ "color", "lastName" ]``` */
2446
- sort?: string[] | "asc" | "desc" | string | undefined;
2447
- }
2448
- export declare enum SubscriptionStatus {
2449
- cancelled = "cancelled",
2450
- closed = "closed",
2451
- current = "current",
2452
- overdue = "overdue",
2453
- pending = "pending",
2454
- suspended = "suspended",
2455
- trial = "trial"
2456
- } /** The token must be submitted in the
2457
- * http header designated in the AuthSettings object for the auth api. */
2458
- export interface SwitchTenantRequest {
2459
- newTenantCode: string;
2460
- }
2461
- export interface T {
2462
- }
2463
- export interface T_1 {
2464
- }
2465
- export interface T_2 {
2466
- }
2467
- export interface T_3 {
2468
- }
2469
- export interface Tag {
2470
- name: string;
2471
- ownerType: string;
2472
- ownerId: string;
2473
- enterprise: string;
2474
- id?: string | undefined;
2475
- createdBy: string;
2476
- modifiedBy: string;
2477
- /** Enables basic storage and retrieval of dates and times. */
2478
- created: Date;
2479
- /** Enables basic storage and retrieval of dates and times. */
2480
- modified: Date;
2481
- }
2482
- export interface TagCriteria {
2483
- name?: StringFilter | undefined;
2484
- ownerType?: string | undefined;
2485
- ownerId?: StringFilter | undefined;
2486
- createdBy?: string | undefined;
2487
- ids?: string[] | undefined;
2488
- all?: boolean | undefined;
2489
- /** Specification for the sort order of a query.
2490
- *
2491
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2492
- *
2493
- * Example: ```"color"```
2494
- *
2495
- * Example: ```[ "color", "lastName" ]``` */
2496
- sort?: string[] | "asc" | "desc" | string | undefined;
2497
- }
2498
- export interface TCriteria {
2499
- }
2500
- export interface TenantRegistrationRequest {
2501
- tenantName: string;
2502
- newUser: boolean;
2503
- userName: string;
2504
- /** TODO: Is this an ecrypted password? is it hashed? Is it cleartext? */
2505
- password: string;
2506
- tenantCode?: string | undefined;
2507
- firstName?: string | undefined;
2508
- lastName?: string | undefined;
2509
- email?: string | undefined;
2510
- qtyUsers?: number | undefined;
2511
- }
2512
- export interface TenantStatusChange {
2513
- enabled: boolean;
2514
- newStatus: SubscriptionStatus;
2515
- tenantCode: string;
2516
- }
2517
- export interface TenantSubscriptionCancel {
2518
- }
2519
- export interface TenantSubscriptionUpdate {
2520
- totalSeats?: number | undefined;
2521
- enabled?: boolean | undefined;
2522
- status?: "cancelled" | "closed" | "current" | "overdue" | "pending" | "suspended" | "trial" | undefined;
2523
- /** Enables basic storage and retrieval of dates and times. */
2524
- expiration?: Date | undefined;
2525
- newName?: string | undefined;
2526
- }
2527
- /** User fully equipped with its access profile for the current tenant.
2528
- * NOTE: User.id === Principle.id
2529
- * It's a merge of a user and the current AccessProfile.
2530
- * NOTE: THIS IS AN IN-MEMORY OBJECT - CONTEXTUAL TO CURRENT TENANT.
2531
- * ONLY THE Principle (its base class) SHOULD EVER BE PERSISTED. */
2532
- export interface TenantUser {
2533
- tenantCode: string;
2534
- firstName: string;
2535
- lastName: string;
2536
- email: string;
2537
- roles: AuthRole[];
2538
- /** Globally unique, immutable system id, used for data integrity (they can NEVER change this). */
2539
- id?: string | undefined;
2540
- /** Globally unique, mutable, user-defined, human-readable identifier. */
2541
- login: string;
2542
- /** Obviously passwords are required, but this property is optional to allow it to remain unpopulated */
2543
- password?: string | undefined;
2544
- /** Standard, reliable, expedient way to identify an entity to a human in a single property
2545
- * with more pertinent identifying information than its system id.
2546
- * For use in logs, quick lists, and abstracted framework components. */
2547
- descriptor: string;
2548
- /** (Compositional property: AccessProfiles are most likely embedded and not persisted on their own) */
2549
- profiles: AccessProfile[];
2550
- }
2551
- /** Type definition for config objects
2552
- * (eg: config files, environment variables, Asset properties, etc)
2553
- *
2554
- * (TBD: Duck-typeable/convertible to a Json Type Definition (JTD) or a JsonSchema) */
2555
- export interface TypeDefBase {
2556
- }
2557
- /** Selects Principals that have a tenant profile
2558
- * for the given tenantCode. */
2559
- export interface UserTenantCodeFilter {
2560
- tenantCode: string;
2561
- property?: string | undefined;
2562
- $not?: UserTenantCodeFilter | undefined;
2563
- }
2564
- /** defines a homogenous dictionary where the values of members satisfy a given schema.
2565
- *
2566
- * "Values" form of [RFC8927](https://datatracker.ietf.org/doc/rfc8927/) */
2567
- export interface ValuesTypeDef {
2568
- values: object;
2569
- nullable?: boolean | undefined;
2570
- metadata?: any | undefined;
2571
- }
2572
- export interface VersionConfig {
2573
- name: string;
2574
- enterprise: string;
2575
- assetName: string;
2576
- assetVersion: string;
2577
- id?: string | undefined;
2578
- createdBy: string;
2579
- modifiedBy: string;
2580
- /** Enables basic storage and retrieval of dates and times. */
2581
- created: Date;
2582
- /** Enables basic storage and retrieval of dates and times. */
2583
- modified: Date;
2584
- }
2585
- export interface VersionConfigCriteria {
2586
- cabinet?: string | undefined;
2587
- enterprise?: string | undefined;
2588
- name?: StringFilter | undefined;
2589
- assetName?: StringFilter | undefined;
2590
- assetVersion?: StringFilter | undefined;
2591
- ids?: string[] | undefined;
2592
- all?: boolean | undefined;
2593
- /** Specification for the sort order of a query.
2594
- *
2595
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2596
- *
2597
- * Example: ```"color"```
2598
- *
2599
- * Example: ```[ "color", "lastName" ]``` */
2600
- sort?: string[] | "asc" | "desc" | string | undefined;
2601
- }
2602
- export interface VersionCreateActivity {
2603
- enterpriseVersion: string;
2604
- enterprise: string;
2605
- type: ActivityTypeEnum;
2606
- title: string;
2607
- by: string;
2608
- /** Enables basic storage and retrieval of dates and times. */
2609
- performed: Date;
2610
- id?: string | undefined;
2611
- createdBy: string;
2612
- modifiedBy: string;
2613
- /** Enables basic storage and retrieval of dates and times. */
2614
- created: Date;
2615
- /** Enables basic storage and retrieval of dates and times. */
2616
- modified: Date;
2617
- }
2618
- export interface VersionCreateActivityCriteria {
2619
- enterpriseVersion?: string | undefined;
2620
- enterprise?: string | undefined;
2621
- type?: string | undefined;
2622
- title?: string | undefined;
2623
- by?: string | undefined;
2624
- /** Enables basic storage and retrieval of dates and times. */
2625
- performed?: Date | undefined;
2626
- cabinet?: string | undefined;
2627
- assetsName?: string | undefined;
2628
- ids?: string[] | undefined;
2629
- all?: boolean | undefined;
2630
- /** Specification for the sort order of a query.
2631
- *
2632
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2633
- *
2634
- * Example: ```"color"```
2635
- *
2636
- * Example: ```[ "color", "lastName" ]``` */
2637
- sort?: string[] | "asc" | "desc" | string | undefined;
2638
- }
2639
- export interface VersionGetsertRequest {
2640
- overlays: object[];
2641
- enterpriseCode: string;
2642
- startingEntVersion?: string | undefined;
2643
- targetCabinet?: string | undefined;
2644
- }
2645
- /** A time signature declaring an hour of the day for a day of the week (eg: "Mondays at 8am").
2646
- *
2647
- * This entity is NOT an actual in time, but instead is essentially a template,
2648
- * which, only when applied to an actual calendar,
2649
- * can then produce a concrete point in time. */
2650
- export interface WeeklyTime {
2651
- day: "fr" | "mo" | "sa" | "su" | "th" | "tu" | "we";
2652
- hr24: "0" | "1" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "2" | "20" | "21" | "22" | "23" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
2653
- }
2654
- export interface WhoAmIRequest {
2655
- }
2656
- /** Credentials applied to new Windows VMs to enable administrative capabilities required for cluster management.
2657
- *
2658
- * Backward compatibility for a legacy image format called "Windows",
2659
- * which is required to run outdated Microsoft proprietary software
2660
- * such as Microsoft WCF and classic .Net Framework applications.
2661
- * This is required at cluster creation
2662
- * because a cluster cannot be later updated to support windows node pools. */
2663
- export interface WindowsAdminProfile {
2664
- userName: string;
2665
- password: string;
2666
- }
2667
- export interface WorkFlowStrategy {
2668
- name: string;
2669
- id?: string | undefined;
2670
- createdBy: string;
2671
- modifiedBy: string;
2672
- /** Enables basic storage and retrieval of dates and times. */
2673
- created: Date;
2674
- /** Enables basic storage and retrieval of dates and times. */
2675
- modified: Date;
2676
- }
2677
- export interface WorkFlowStrategyCriteria {
2678
- name?: StringFilter | undefined;
2679
- ids?: string[] | undefined;
2680
- all?: boolean | undefined;
2681
- /** Specification for the sort order of a query.
2682
- *
2683
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2684
- *
2685
- * Example: ```"color"```
2686
- *
2687
- * Example: ```[ "color", "lastName" ]``` */
2688
- sort?: string[] | "asc" | "desc" | string | undefined;
2689
- }
2690
- /** A declaration of a template for a weekly timespan during which the given scope target will be in zombie mode. */
2691
- export interface ZombiePeriod {
2692
- enterprise: string;
2693
- scope: ScopeLevel;
2694
- target: string;
2695
- start: WeeklyTime;
2696
- end: WeeklyTime;
2697
- name?: string | undefined;
2698
- description?: string | undefined;
2699
- id?: string | undefined;
2700
- createdBy: string;
2701
- modifiedBy: string;
2702
- /** Enables basic storage and retrieval of dates and times. */
2703
- created: Date;
2704
- /** Enables basic storage and retrieval of dates and times. */
2705
- modified: Date;
2706
- }
2707
- export interface ZombiePeriodCriteria {
2708
- enterprise?: string | undefined;
2709
- scope?: "cabinet" | "enterprise" | "environment" | undefined;
2710
- target?: string | undefined;
2711
- name?: string | undefined;
2712
- ids?: string[] | undefined;
2713
- all?: boolean | undefined;
2714
- /** Specification for the sort order of a query.
2715
- *
2716
- * Example: ```{ "color": "asc", size: OrderEnum.desc }```
2717
- *
2718
- * Example: ```"color"```
2719
- *
2720
- * Example: ```[ "color", "lastName" ]``` */
2721
- sort?: string[] | "asc" | "desc" | string | undefined;
2722
- }