@flightctl/types 1.0.2 → 1.1.0-rc3

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 (305) hide show
  1. package/dist/imagebuilder/index.d.ts +30 -0
  2. package/dist/imagebuilder/index.d.ts.map +1 -0
  3. package/dist/imagebuilder/index.js +15 -0
  4. package/dist/imagebuilder/index.js.map +1 -0
  5. package/dist/imagebuilder/models/ApiVersion.d.ts +8 -0
  6. package/dist/imagebuilder/models/ApiVersion.d.ts.map +1 -0
  7. package/dist/imagebuilder/models/ApiVersion.js +13 -0
  8. package/dist/imagebuilder/models/ApiVersion.js.map +1 -0
  9. package/dist/imagebuilder/models/BindingType.d.ts +8 -0
  10. package/dist/imagebuilder/models/BindingType.d.ts.map +1 -0
  11. package/dist/imagebuilder/models/BindingType.js +13 -0
  12. package/dist/imagebuilder/models/BindingType.js.map +1 -0
  13. package/dist/imagebuilder/models/EarlyBinding.d.ts +10 -0
  14. package/dist/imagebuilder/models/EarlyBinding.d.ts.map +1 -0
  15. package/dist/imagebuilder/models/EarlyBinding.js +2 -0
  16. package/dist/imagebuilder/models/EarlyBinding.js.map +1 -0
  17. package/dist/imagebuilder/models/ExportFormatType.d.ts +10 -0
  18. package/dist/imagebuilder/models/ExportFormatType.d.ts.map +1 -0
  19. package/dist/imagebuilder/models/ExportFormatType.js +15 -0
  20. package/dist/imagebuilder/models/ExportFormatType.js.map +1 -0
  21. package/dist/imagebuilder/models/ImageBuild.d.ts +23 -0
  22. package/dist/imagebuilder/models/ImageBuild.d.ts.map +1 -0
  23. package/dist/imagebuilder/models/ImageBuild.js +2 -0
  24. package/dist/imagebuilder/models/ImageBuild.js.map +1 -0
  25. package/dist/imagebuilder/models/ImageBuildBinding.d.ts +7 -0
  26. package/dist/imagebuilder/models/ImageBuildBinding.d.ts.map +1 -0
  27. package/dist/imagebuilder/models/ImageBuildBinding.js +2 -0
  28. package/dist/imagebuilder/models/ImageBuildBinding.js.map +1 -0
  29. package/dist/imagebuilder/models/ImageBuildCondition.d.ts +9 -0
  30. package/dist/imagebuilder/models/ImageBuildCondition.d.ts.map +1 -0
  31. package/dist/imagebuilder/models/ImageBuildCondition.js +2 -0
  32. package/dist/imagebuilder/models/ImageBuildCondition.js.map +1 -0
  33. package/dist/imagebuilder/models/ImageBuildConditionReason.d.ts +13 -0
  34. package/dist/imagebuilder/models/ImageBuildConditionReason.d.ts.map +1 -0
  35. package/dist/imagebuilder/models/ImageBuildConditionReason.js +18 -0
  36. package/dist/imagebuilder/models/ImageBuildConditionReason.js.map +1 -0
  37. package/dist/imagebuilder/models/ImageBuildConditionType.d.ts +7 -0
  38. package/dist/imagebuilder/models/ImageBuildConditionType.d.ts.map +1 -0
  39. package/dist/imagebuilder/models/ImageBuildConditionType.js +12 -0
  40. package/dist/imagebuilder/models/ImageBuildConditionType.js.map +1 -0
  41. package/dist/imagebuilder/models/ImageBuildDestination.d.ts +18 -0
  42. package/dist/imagebuilder/models/ImageBuildDestination.d.ts.map +1 -0
  43. package/dist/imagebuilder/models/ImageBuildDestination.js +2 -0
  44. package/dist/imagebuilder/models/ImageBuildDestination.js.map +1 -0
  45. package/dist/imagebuilder/models/ImageBuildList.d.ts +19 -0
  46. package/dist/imagebuilder/models/ImageBuildList.d.ts.map +1 -0
  47. package/dist/imagebuilder/models/ImageBuildList.js +2 -0
  48. package/dist/imagebuilder/models/ImageBuildList.js.map +1 -0
  49. package/dist/imagebuilder/models/ImageBuildRefSource.d.ts +14 -0
  50. package/dist/imagebuilder/models/ImageBuildRefSource.d.ts.map +1 -0
  51. package/dist/imagebuilder/models/ImageBuildRefSource.js +2 -0
  52. package/dist/imagebuilder/models/ImageBuildRefSource.js.map +1 -0
  53. package/dist/imagebuilder/models/ImageBuildSource.d.ts +18 -0
  54. package/dist/imagebuilder/models/ImageBuildSource.d.ts.map +1 -0
  55. package/dist/imagebuilder/models/ImageBuildSource.js +2 -0
  56. package/dist/imagebuilder/models/ImageBuildSource.js.map +1 -0
  57. package/dist/imagebuilder/models/ImageBuildSpec.d.ts +14 -0
  58. package/dist/imagebuilder/models/ImageBuildSpec.d.ts.map +1 -0
  59. package/dist/imagebuilder/models/ImageBuildSpec.js +2 -0
  60. package/dist/imagebuilder/models/ImageBuildSpec.js.map +1 -0
  61. package/dist/imagebuilder/models/ImageBuildStatus.d.ts +27 -0
  62. package/dist/imagebuilder/models/ImageBuildStatus.d.ts.map +1 -0
  63. package/dist/imagebuilder/models/ImageBuildStatus.js +2 -0
  64. package/dist/imagebuilder/models/ImageBuildStatus.js.map +1 -0
  65. package/dist/imagebuilder/models/ImageBuildUserConfiguration.d.ts +14 -0
  66. package/dist/imagebuilder/models/ImageBuildUserConfiguration.d.ts.map +1 -0
  67. package/dist/imagebuilder/models/ImageBuildUserConfiguration.js +2 -0
  68. package/dist/imagebuilder/models/ImageBuildUserConfiguration.js.map +1 -0
  69. package/dist/imagebuilder/models/ImageExport.d.ts +18 -0
  70. package/dist/imagebuilder/models/ImageExport.d.ts.map +1 -0
  71. package/dist/imagebuilder/models/ImageExport.js +2 -0
  72. package/dist/imagebuilder/models/ImageExport.js.map +1 -0
  73. package/dist/imagebuilder/models/ImageExportCondition.d.ts +9 -0
  74. package/dist/imagebuilder/models/ImageExportCondition.d.ts.map +1 -0
  75. package/dist/imagebuilder/models/ImageExportCondition.js +2 -0
  76. package/dist/imagebuilder/models/ImageExportCondition.js.map +1 -0
  77. package/dist/imagebuilder/models/ImageExportConditionReason.d.ts +13 -0
  78. package/dist/imagebuilder/models/ImageExportConditionReason.d.ts.map +1 -0
  79. package/dist/imagebuilder/models/ImageExportConditionReason.js +18 -0
  80. package/dist/imagebuilder/models/ImageExportConditionReason.js.map +1 -0
  81. package/dist/imagebuilder/models/ImageExportConditionType.d.ts +7 -0
  82. package/dist/imagebuilder/models/ImageExportConditionType.d.ts.map +1 -0
  83. package/dist/imagebuilder/models/ImageExportConditionType.js +12 -0
  84. package/dist/imagebuilder/models/ImageExportConditionType.js.map +1 -0
  85. package/dist/imagebuilder/models/ImageExportFormatPhase.d.ts +11 -0
  86. package/dist/imagebuilder/models/ImageExportFormatPhase.d.ts.map +1 -0
  87. package/dist/imagebuilder/models/ImageExportFormatPhase.js +16 -0
  88. package/dist/imagebuilder/models/ImageExportFormatPhase.js.map +1 -0
  89. package/dist/imagebuilder/models/ImageExportList.d.ts +19 -0
  90. package/dist/imagebuilder/models/ImageExportList.d.ts.map +1 -0
  91. package/dist/imagebuilder/models/ImageExportList.js +2 -0
  92. package/dist/imagebuilder/models/ImageExportList.js.map +1 -0
  93. package/dist/imagebuilder/models/ImageExportSource.d.ts +6 -0
  94. package/dist/imagebuilder/models/ImageExportSource.d.ts.map +1 -0
  95. package/dist/imagebuilder/models/ImageExportSource.js +2 -0
  96. package/dist/imagebuilder/models/ImageExportSource.js.map +1 -0
  97. package/dist/imagebuilder/models/ImageExportSourceType.d.ts +7 -0
  98. package/dist/imagebuilder/models/ImageExportSourceType.d.ts.map +1 -0
  99. package/dist/imagebuilder/models/ImageExportSourceType.js +12 -0
  100. package/dist/imagebuilder/models/ImageExportSourceType.js.map +1 -0
  101. package/dist/imagebuilder/models/ImageExportSpec.d.ts +10 -0
  102. package/dist/imagebuilder/models/ImageExportSpec.d.ts.map +1 -0
  103. package/dist/imagebuilder/models/ImageExportSpec.js +2 -0
  104. package/dist/imagebuilder/models/ImageExportSpec.js.map +1 -0
  105. package/dist/imagebuilder/models/ImageExportStatus.d.ts +19 -0
  106. package/dist/imagebuilder/models/ImageExportStatus.d.ts.map +1 -0
  107. package/dist/imagebuilder/models/ImageExportStatus.js +2 -0
  108. package/dist/imagebuilder/models/ImageExportStatus.js.map +1 -0
  109. package/dist/imagebuilder/models/LateBinding.d.ts +10 -0
  110. package/dist/imagebuilder/models/LateBinding.d.ts.map +1 -0
  111. package/dist/imagebuilder/models/LateBinding.js +2 -0
  112. package/dist/imagebuilder/models/LateBinding.js.map +1 -0
  113. package/dist/imagebuilder/models/ResourceKind.d.ts +8 -0
  114. package/dist/imagebuilder/models/ResourceKind.d.ts.map +1 -0
  115. package/dist/imagebuilder/models/ResourceKind.js +13 -0
  116. package/dist/imagebuilder/models/ResourceKind.js.map +1 -0
  117. package/dist/imagebuilder/models/Status.d.ts +28 -0
  118. package/dist/imagebuilder/models/Status.d.ts.map +1 -0
  119. package/dist/imagebuilder/models/Status.js +2 -0
  120. package/dist/imagebuilder/models/Status.js.map +1 -0
  121. package/dist/index.d.ts +15 -2
  122. package/dist/index.d.ts.map +1 -1
  123. package/dist/index.js +4 -0
  124. package/dist/index.js.map +1 -1
  125. package/dist/models/ApiVersion.d.ts +9 -0
  126. package/dist/models/ApiVersion.d.ts.map +1 -0
  127. package/dist/models/ApiVersion.js +14 -0
  128. package/dist/models/ApiVersion.js.map +1 -0
  129. package/dist/models/AppType.d.ts +2 -1
  130. package/dist/models/AppType.d.ts.map +1 -1
  131. package/dist/models/AppType.js +1 -0
  132. package/dist/models/AppType.js.map +1 -1
  133. package/dist/models/ApplicationProviderBase.d.ts +12 -0
  134. package/dist/models/ApplicationProviderBase.d.ts.map +1 -0
  135. package/dist/models/ApplicationProviderBase.js +2 -0
  136. package/dist/models/ApplicationProviderBase.js.map +1 -0
  137. package/dist/models/ApplicationProviderSpec.d.ts +5 -11
  138. package/dist/models/ApplicationProviderSpec.d.ts.map +1 -1
  139. package/dist/models/ApplicationUser.d.ts +7 -0
  140. package/dist/models/ApplicationUser.d.ts.map +1 -0
  141. package/dist/models/ApplicationUser.js +2 -0
  142. package/dist/models/ApplicationUser.js.map +1 -0
  143. package/dist/models/ApplicationVolume.d.ts +2 -0
  144. package/dist/models/ApplicationVolume.d.ts.map +1 -1
  145. package/dist/models/ApplicationVolumeReclaimPolicy.d.ts +7 -0
  146. package/dist/models/ApplicationVolumeReclaimPolicy.d.ts.map +1 -0
  147. package/dist/models/ApplicationVolumeReclaimPolicy.js +12 -0
  148. package/dist/models/ApplicationVolumeReclaimPolicy.js.map +1 -0
  149. package/dist/models/AuthConfig.d.ts +2 -4
  150. package/dist/models/AuthConfig.d.ts.map +1 -1
  151. package/dist/models/AuthProvider.d.ts +2 -4
  152. package/dist/models/AuthProvider.d.ts.map +1 -1
  153. package/dist/models/AuthProviderList.d.ts +2 -4
  154. package/dist/models/AuthProviderList.d.ts.map +1 -1
  155. package/dist/models/CertificateSigningRequest.d.ts +2 -4
  156. package/dist/models/CertificateSigningRequest.d.ts.map +1 -1
  157. package/dist/models/CertificateSigningRequestList.d.ts +2 -4
  158. package/dist/models/CertificateSigningRequestList.d.ts.map +1 -1
  159. package/dist/models/ComposeApplication.d.ts +7 -0
  160. package/dist/models/ComposeApplication.d.ts.map +1 -0
  161. package/dist/models/ComposeApplication.js +2 -0
  162. package/dist/models/ComposeApplication.js.map +1 -0
  163. package/dist/models/Condition.d.ts +3 -20
  164. package/dist/models/Condition.d.ts.map +1 -1
  165. package/dist/models/ConditionBase.d.ts +24 -0
  166. package/dist/models/ConditionBase.d.ts.map +1 -0
  167. package/dist/models/ConditionBase.js +2 -0
  168. package/dist/models/ConditionBase.js.map +1 -0
  169. package/dist/models/ContainerApplication.d.ts +18 -0
  170. package/dist/models/ContainerApplication.d.ts.map +1 -0
  171. package/dist/models/ContainerApplication.js +2 -0
  172. package/dist/models/ContainerApplication.js.map +1 -0
  173. package/dist/models/ContainerApplicationProperties.d.ts +13 -0
  174. package/dist/models/ContainerApplicationProperties.d.ts.map +1 -0
  175. package/dist/models/ContainerApplicationProperties.js +2 -0
  176. package/dist/models/ContainerApplicationProperties.js.map +1 -0
  177. package/dist/models/Device.d.ts +2 -4
  178. package/dist/models/Device.d.ts.map +1 -1
  179. package/dist/models/DeviceApplicationStatus.d.ts +4 -0
  180. package/dist/models/DeviceApplicationStatus.d.ts.map +1 -1
  181. package/dist/models/DeviceList.d.ts +2 -4
  182. package/dist/models/DeviceList.d.ts.map +1 -1
  183. package/dist/models/DockerAuth.d.ts +15 -0
  184. package/dist/models/DockerAuth.d.ts.map +1 -0
  185. package/dist/models/DockerAuth.js +2 -0
  186. package/dist/models/DockerAuth.js.map +1 -0
  187. package/dist/models/EnrollmentRequest.d.ts +2 -4
  188. package/dist/models/EnrollmentRequest.d.ts.map +1 -1
  189. package/dist/models/EnrollmentRequestList.d.ts +2 -4
  190. package/dist/models/EnrollmentRequestList.d.ts.map +1 -1
  191. package/dist/models/Event.d.ts +2 -4
  192. package/dist/models/Event.d.ts.map +1 -1
  193. package/dist/models/Event.js.map +1 -1
  194. package/dist/models/EventList.d.ts +2 -4
  195. package/dist/models/EventList.d.ts.map +1 -1
  196. package/dist/models/Fleet.d.ts +2 -4
  197. package/dist/models/Fleet.d.ts.map +1 -1
  198. package/dist/models/FleetList.d.ts +2 -4
  199. package/dist/models/FleetList.d.ts.map +1 -1
  200. package/dist/models/GitRepoSpec.d.ts +18 -0
  201. package/dist/models/GitRepoSpec.d.ts.map +1 -0
  202. package/dist/models/GitRepoSpec.js +2 -0
  203. package/dist/models/GitRepoSpec.js.map +1 -0
  204. package/dist/models/HelmApplication.d.ts +20 -0
  205. package/dist/models/HelmApplication.d.ts.map +1 -0
  206. package/dist/models/HelmApplication.js +2 -0
  207. package/dist/models/HelmApplication.js.map +1 -0
  208. package/dist/models/HttpRepoSpec.d.ts +9 -4
  209. package/dist/models/HttpRepoSpec.d.ts.map +1 -1
  210. package/dist/models/ImageApplicationProviderSpec.d.ts +2 -10
  211. package/dist/models/ImageApplicationProviderSpec.d.ts.map +1 -1
  212. package/dist/models/InlineApplicationProviderSpec.d.ts +2 -3
  213. package/dist/models/InlineApplicationProviderSpec.d.ts.map +1 -1
  214. package/dist/models/K8sProviderSpec.d.ts +4 -0
  215. package/dist/models/K8sProviderSpec.d.ts.map +1 -1
  216. package/dist/models/KubernetesSecretProviderSpec.d.ts +8 -0
  217. package/dist/models/KubernetesSecretProviderSpec.d.ts.map +1 -1
  218. package/dist/models/OciAuth.d.ts +6 -0
  219. package/dist/models/OciAuth.d.ts.map +1 -0
  220. package/dist/models/OciAuth.js +2 -0
  221. package/dist/models/OciAuth.js.map +1 -0
  222. package/dist/models/OciAuthType.d.ts +7 -0
  223. package/dist/models/OciAuthType.d.ts.map +1 -0
  224. package/dist/models/OciAuthType.js +12 -0
  225. package/dist/models/OciAuthType.js.map +1 -0
  226. package/dist/models/OciRepoSpec.d.ts +48 -0
  227. package/dist/models/OciRepoSpec.d.ts.map +1 -0
  228. package/dist/models/OciRepoSpec.js +20 -0
  229. package/dist/models/OciRepoSpec.js.map +1 -0
  230. package/dist/models/OpenShiftProviderSpec.d.ts +8 -0
  231. package/dist/models/OpenShiftProviderSpec.d.ts.map +1 -1
  232. package/dist/models/Organization.d.ts +2 -4
  233. package/dist/models/Organization.d.ts.map +1 -1
  234. package/dist/models/OrganizationList.d.ts +2 -4
  235. package/dist/models/OrganizationList.d.ts.map +1 -1
  236. package/dist/models/QuadletApplication.d.ts +8 -0
  237. package/dist/models/QuadletApplication.d.ts.map +1 -0
  238. package/dist/models/QuadletApplication.js +2 -0
  239. package/dist/models/QuadletApplication.js.map +1 -0
  240. package/dist/models/RepoSpecType.d.ts +3 -2
  241. package/dist/models/RepoSpecType.d.ts.map +1 -1
  242. package/dist/models/RepoSpecType.js +3 -2
  243. package/dist/models/RepoSpecType.js.map +1 -1
  244. package/dist/models/Repository.d.ts +2 -4
  245. package/dist/models/Repository.d.ts.map +1 -1
  246. package/dist/models/RepositoryList.d.ts +2 -4
  247. package/dist/models/RepositoryList.d.ts.map +1 -1
  248. package/dist/models/RepositorySpec.d.ts +3 -3
  249. package/dist/models/RepositorySpec.d.ts.map +1 -1
  250. package/dist/models/ResourceSync.d.ts +2 -4
  251. package/dist/models/ResourceSync.d.ts.map +1 -1
  252. package/dist/models/ResourceSyncList.d.ts +2 -4
  253. package/dist/models/ResourceSyncList.d.ts.map +1 -1
  254. package/dist/models/Status.d.ts +2 -4
  255. package/dist/models/Status.d.ts.map +1 -1
  256. package/dist/models/TemplateVersion.d.ts +2 -4
  257. package/dist/models/TemplateVersion.d.ts.map +1 -1
  258. package/dist/models/TemplateVersionList.d.ts +2 -4
  259. package/dist/models/TemplateVersionList.d.ts.map +1 -1
  260. package/dist/scripts/openapi-typescript.js +127 -17
  261. package/dist/scripts/openapi-typescript.js.map +1 -1
  262. package/dist/scripts/openapi-utils.d.ts +23 -0
  263. package/dist/scripts/openapi-utils.d.ts.map +1 -0
  264. package/dist/scripts/openapi-utils.js +213 -0
  265. package/dist/scripts/openapi-utils.js.map +1 -0
  266. package/imagebuilder/index.ts +34 -0
  267. package/imagebuilder/models/ApiVersion.ts +11 -0
  268. package/imagebuilder/models/BindingType.ts +11 -0
  269. package/imagebuilder/models/EarlyBinding.ts +14 -0
  270. package/imagebuilder/models/ExportFormatType.ts +13 -0
  271. package/imagebuilder/models/ImageBuild.ts +27 -0
  272. package/imagebuilder/models/ImageBuildBinding.ts +11 -0
  273. package/imagebuilder/models/ImageBuildCondition.ts +13 -0
  274. package/imagebuilder/models/ImageBuildConditionReason.ts +16 -0
  275. package/imagebuilder/models/ImageBuildConditionType.ts +10 -0
  276. package/imagebuilder/models/ImageBuildDestination.ts +22 -0
  277. package/imagebuilder/models/ImageBuildList.ts +23 -0
  278. package/imagebuilder/models/ImageBuildRefSource.ts +18 -0
  279. package/imagebuilder/models/ImageBuildSource.ts +22 -0
  280. package/imagebuilder/models/ImageBuildSpec.ts +18 -0
  281. package/imagebuilder/models/ImageBuildStatus.ts +31 -0
  282. package/imagebuilder/models/ImageBuildUserConfiguration.ts +18 -0
  283. package/imagebuilder/models/ImageExport.ts +22 -0
  284. package/imagebuilder/models/ImageExportCondition.ts +13 -0
  285. package/imagebuilder/models/ImageExportConditionReason.ts +16 -0
  286. package/imagebuilder/models/ImageExportConditionType.ts +10 -0
  287. package/imagebuilder/models/ImageExportFormatPhase.ts +14 -0
  288. package/imagebuilder/models/ImageExportList.ts +23 -0
  289. package/imagebuilder/models/ImageExportSource.ts +10 -0
  290. package/imagebuilder/models/ImageExportSourceType.ts +10 -0
  291. package/imagebuilder/models/ImageExportSpec.ts +14 -0
  292. package/imagebuilder/models/ImageExportStatus.ts +23 -0
  293. package/imagebuilder/models/LateBinding.ts +14 -0
  294. package/imagebuilder/models/ResourceKind.ts +11 -0
  295. package/imagebuilder/models/Status.ts +32 -0
  296. package/index.ts +15 -2
  297. package/package.json +9 -3
  298. package/dist/models/GenericRepoSpec.d.ts +0 -9
  299. package/dist/models/GenericRepoSpec.d.ts.map +0 -1
  300. package/dist/models/GenericRepoSpec.js +0 -2
  301. package/dist/models/GenericRepoSpec.js.map +0 -1
  302. package/dist/models/SshRepoSpec.d.ts +0 -11
  303. package/dist/models/SshRepoSpec.d.ts.map +0 -1
  304. package/dist/models/SshRepoSpec.js +0 -2
  305. package/dist/models/SshRepoSpec.js.map +0 -1
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ImageBuildDestination specifies the destination for the built image.
7
+ */
8
+ export type ImageBuildDestination = {
9
+ /**
10
+ * The name of the Repository resource of type OCI to push the built image to.
11
+ */
12
+ repository: string;
13
+ /**
14
+ * The name of the output image.
15
+ */
16
+ imageName: string;
17
+ /**
18
+ * The tag of the output image.
19
+ */
20
+ imageTag: string;
21
+ };
22
+
@@ -0,0 +1,23 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiVersion } from './ApiVersion';
6
+ import type { ListMeta } from '../../models/ListMeta';
7
+ import type { ImageBuild } from './ImageBuild';
8
+ /**
9
+ * ImageBuildList is a list of ImageBuild resources.
10
+ */
11
+ export type ImageBuildList = {
12
+ apiVersion: ApiVersion;
13
+ /**
14
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds.
15
+ */
16
+ kind: string;
17
+ metadata: ListMeta;
18
+ /**
19
+ * List of ImageBuild resources.
20
+ */
21
+ items: Array<ImageBuild>;
22
+ };
23
+
@@ -0,0 +1,18 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ImageBuildRefSource specifies a source image from an ImageBuild resource.
7
+ */
8
+ export type ImageBuildRefSource = {
9
+ /**
10
+ * The type of source.
11
+ */
12
+ type: 'imageBuild';
13
+ /**
14
+ * The name of the ImageBuild resource to use as source.
15
+ */
16
+ imageBuildRef: string;
17
+ };
18
+
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ImageBuildSource specifies the source image for the build.
7
+ */
8
+ export type ImageBuildSource = {
9
+ /**
10
+ * The name of the Repository resource of type OCI containing the source image.
11
+ */
12
+ repository: string;
13
+ /**
14
+ * The name of the source image.
15
+ */
16
+ imageName: string;
17
+ /**
18
+ * The tag of the source image.
19
+ */
20
+ imageTag: string;
21
+ };
22
+
@@ -0,0 +1,18 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ImageBuildBinding } from './ImageBuildBinding';
6
+ import type { ImageBuildDestination } from './ImageBuildDestination';
7
+ import type { ImageBuildSource } from './ImageBuildSource';
8
+ import type { ImageBuildUserConfiguration } from './ImageBuildUserConfiguration';
9
+ /**
10
+ * ImageBuildSpec describes the specification for an image build.
11
+ */
12
+ export type ImageBuildSpec = {
13
+ source: ImageBuildSource;
14
+ destination: ImageBuildDestination;
15
+ binding: ImageBuildBinding;
16
+ userConfiguration?: ImageBuildUserConfiguration;
17
+ };
18
+
@@ -0,0 +1,31 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ImageBuildCondition } from './ImageBuildCondition';
6
+ /**
7
+ * ImageBuildStatus represents the current status of an ImageBuild.
8
+ */
9
+ export type ImageBuildStatus = {
10
+ /**
11
+ * Current conditions of the ImageBuild.
12
+ */
13
+ conditions?: Array<ImageBuildCondition>;
14
+ /**
15
+ * The full image reference of the built image (e.g., quay.io/org/imagename:tag).
16
+ */
17
+ imageReference?: string;
18
+ /**
19
+ * The architecture of the built image.
20
+ */
21
+ architecture?: string;
22
+ /**
23
+ * The digest of the built image manifest.
24
+ */
25
+ manifestDigest?: string;
26
+ /**
27
+ * The last time the build was seen (heartbeat).
28
+ */
29
+ lastSeen?: string;
30
+ };
31
+
@@ -0,0 +1,18 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * ImageBuildUserConfiguration specifies user configuration for the build.
7
+ */
8
+ export type ImageBuildUserConfiguration = {
9
+ /**
10
+ * The username for the user configuration.
11
+ */
12
+ username: string;
13
+ /**
14
+ * The public key for the user configuration.
15
+ */
16
+ publickey: string;
17
+ };
18
+
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiVersion } from './ApiVersion';
6
+ import type { ObjectMeta } from '../../models/ObjectMeta';
7
+ import type { ImageExportSpec } from './ImageExportSpec';
8
+ import type { ImageExportStatus } from './ImageExportStatus';
9
+ /**
10
+ * ImageExport represents an export request to convert and push images to different formats.
11
+ */
12
+ export type ImageExport = {
13
+ apiVersion: ApiVersion;
14
+ /**
15
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds.
16
+ */
17
+ kind: string;
18
+ metadata: ObjectMeta;
19
+ spec: ImageExportSpec;
20
+ status?: ImageExportStatus;
21
+ };
22
+
@@ -0,0 +1,13 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ConditionBase } from '../../models/ConditionBase';
6
+ import type { ImageExportConditionType } from './ImageExportConditionType';
7
+ /**
8
+ * Condition for ImageExport resources.
9
+ */
10
+ export type ImageExportCondition = (ConditionBase & {
11
+ type: ImageExportConditionType;
12
+ });
13
+
@@ -0,0 +1,16 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Reason for the ImageExport Ready condition.
7
+ */
8
+ export enum ImageExportConditionReason {
9
+ ImageExportConditionReasonPending = 'Pending',
10
+ ImageExportConditionReasonConverting = 'Converting',
11
+ ImageExportConditionReasonPushing = 'Pushing',
12
+ ImageExportConditionReasonCompleted = 'Completed',
13
+ ImageExportConditionReasonFailed = 'Failed',
14
+ ImageExportConditionReasonCanceling = 'Canceling',
15
+ ImageExportConditionReasonCanceled = 'Canceled',
16
+ }
@@ -0,0 +1,10 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Type of ImageExport condition.
7
+ */
8
+ export enum ImageExportConditionType {
9
+ ImageExportConditionTypeReady = 'Ready',
10
+ }
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * The phase of a single format conversion.
7
+ */
8
+ export enum ImageExportFormatPhase {
9
+ ImageExportFormatPhaseQueued = 'queued',
10
+ ImageExportFormatPhaseConverting = 'converting',
11
+ ImageExportFormatPhasePushing = 'pushing',
12
+ ImageExportFormatPhaseComplete = 'complete',
13
+ ImageExportFormatPhaseFailed = 'failed',
14
+ }
@@ -0,0 +1,23 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiVersion } from './ApiVersion';
6
+ import type { ListMeta } from '../../models/ListMeta';
7
+ import type { ImageExport } from './ImageExport';
8
+ /**
9
+ * ImageExportList is a list of ImageExport resources.
10
+ */
11
+ export type ImageExportList = {
12
+ apiVersion: ApiVersion;
13
+ /**
14
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds.
15
+ */
16
+ kind: string;
17
+ metadata: ListMeta;
18
+ /**
19
+ * List of ImageExport resources.
20
+ */
21
+ items: Array<ImageExport>;
22
+ };
23
+
@@ -0,0 +1,10 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ImageBuildRefSource } from './ImageBuildRefSource';
6
+ /**
7
+ * ImageExportSource specifies the source image for the export.
8
+ */
9
+ export type ImageExportSource = ImageBuildRefSource;
10
+
@@ -0,0 +1,10 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * The type of source for the image export.
7
+ */
8
+ export enum ImageExportSourceType {
9
+ ImageExportSourceTypeImageBuild = 'imageBuild',
10
+ }
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ExportFormatType } from './ExportFormatType';
6
+ import type { ImageExportSource } from './ImageExportSource';
7
+ /**
8
+ * ImageExportSpec describes the specification for an image export.
9
+ */
10
+ export type ImageExportSpec = {
11
+ source: ImageExportSource;
12
+ format: ExportFormatType;
13
+ };
14
+
@@ -0,0 +1,23 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ImageExportCondition } from './ImageExportCondition';
6
+ /**
7
+ * ImageExportStatus represents the current status of an ImageExport.
8
+ */
9
+ export type ImageExportStatus = {
10
+ /**
11
+ * Current conditions of the ImageExport.
12
+ */
13
+ conditions?: Array<ImageExportCondition>;
14
+ /**
15
+ * The digest of the exported image manifest for this format.
16
+ */
17
+ manifestDigest?: string;
18
+ /**
19
+ * The last time the export was seen (heartbeat).
20
+ */
21
+ lastSeen?: string;
22
+ };
23
+
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Late binding configuration - device binds at first boot.
7
+ */
8
+ export type LateBinding = {
9
+ /**
10
+ * The type of binding.
11
+ */
12
+ type: 'late';
13
+ };
14
+
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ /**
6
+ * Resource types exposed via the ImageBuilder API.
7
+ */
8
+ export enum ResourceKind {
9
+ IMAGE_BUILD = 'ImageBuild',
10
+ IMAGE_EXPORT = 'ImageExport',
11
+ }
@@ -0,0 +1,32 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiVersion } from './ApiVersion';
6
+ /**
7
+ * Status is a return value for calls that don't return other objects.
8
+ */
9
+ export type Status = {
10
+ apiVersion: ApiVersion;
11
+ /**
12
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds.
13
+ */
14
+ kind: string;
15
+ /**
16
+ * Suggested HTTP return code for this status, 0 if not set.
17
+ */
18
+ code: number;
19
+ /**
20
+ * A human-readable description of the status of this operation.
21
+ */
22
+ message: string;
23
+ /**
24
+ * A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
25
+ */
26
+ reason: string;
27
+ /**
28
+ * Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
29
+ */
30
+ status: string;
31
+ };
32
+
package/index.ts CHANGED
@@ -5,16 +5,20 @@
5
5
 
6
6
  export type { AapProviderSpec } from './models/AapProviderSpec';
7
7
  export type { AbsolutePath } from './models/AbsolutePath';
8
+ export { ApiVersion } from './models/ApiVersion';
8
9
  export type { ApplicationContent } from './models/ApplicationContent';
9
10
  export type { ApplicationEnvVars } from './models/ApplicationEnvVars';
10
11
  export type { ApplicationPort } from './models/ApplicationPort';
12
+ export type { ApplicationProviderBase } from './models/ApplicationProviderBase';
11
13
  export type { ApplicationProviderSpec } from './models/ApplicationProviderSpec';
12
14
  export type { ApplicationResourceLimits } from './models/ApplicationResourceLimits';
13
15
  export type { ApplicationResources } from './models/ApplicationResources';
14
16
  export { ApplicationsSummaryStatusType } from './models/ApplicationsSummaryStatusType';
15
17
  export { ApplicationStatusType } from './models/ApplicationStatusType';
18
+ export type { ApplicationUser } from './models/ApplicationUser';
16
19
  export type { ApplicationVolume } from './models/ApplicationVolume';
17
20
  export type { ApplicationVolumeProviderSpec } from './models/ApplicationVolumeProviderSpec';
21
+ export { ApplicationVolumeReclaimPolicy } from './models/ApplicationVolumeReclaimPolicy';
18
22
  export type { ApplicationVolumeStatus } from './models/ApplicationVolumeStatus';
19
23
  export { AppType } from './models/AppType';
20
24
  export type { AuthConfig } from './models/AuthConfig';
@@ -34,10 +38,14 @@ export type { CertificateSigningRequest } from './models/CertificateSigningReque
34
38
  export type { CertificateSigningRequestList } from './models/CertificateSigningRequestList';
35
39
  export type { CertificateSigningRequestSpec } from './models/CertificateSigningRequestSpec';
36
40
  export type { CertificateSigningRequestStatus } from './models/CertificateSigningRequestStatus';
41
+ export type { ComposeApplication } from './models/ComposeApplication';
37
42
  export type { Condition } from './models/Condition';
43
+ export type { ConditionBase } from './models/ConditionBase';
38
44
  export { ConditionStatus } from './models/ConditionStatus';
39
45
  export { ConditionType } from './models/ConditionType';
40
46
  export type { ConfigProviderSpec } from './models/ConfigProviderSpec';
47
+ export type { ContainerApplication } from './models/ContainerApplication';
48
+ export type { ContainerApplicationProperties } from './models/ContainerApplicationProperties';
41
49
  export type { CpuResourceMonitorSpec } from './models/CpuResourceMonitorSpec';
42
50
  export type { CronExpression } from './models/CronExpression';
43
51
  export type { CustomDeviceInfo } from './models/CustomDeviceInfo';
@@ -77,6 +85,7 @@ export { DeviceUpdatedStatusType } from './models/DeviceUpdatedStatusType';
77
85
  export type { DeviceUpdatePolicySpec } from './models/DeviceUpdatePolicySpec';
78
86
  export type { DiskResourceMonitorSpec } from './models/DiskResourceMonitorSpec';
79
87
  export type { DisruptionBudget } from './models/DisruptionBudget';
88
+ export type { DockerAuth } from './models/DockerAuth';
80
89
  export type { Duration } from './models/Duration';
81
90
  export { EncodingType } from './models/EncodingType';
82
91
  export type { EnrollmentConfig } from './models/EnrollmentConfig';
@@ -108,9 +117,10 @@ export { FleetRolloutStartedDetails } from './models/FleetRolloutStartedDetails'
108
117
  export type { FleetRolloutStatus } from './models/FleetRolloutStatus';
109
118
  export type { FleetSpec } from './models/FleetSpec';
110
119
  export type { FleetStatus } from './models/FleetStatus';
111
- export type { GenericRepoSpec } from './models/GenericRepoSpec';
112
120
  export type { GitConfigProviderSpec } from './models/GitConfigProviderSpec';
113
121
  export type { GitHubIntrospectionSpec } from './models/GitHubIntrospectionSpec';
122
+ export type { GitRepoSpec } from './models/GitRepoSpec';
123
+ export type { HelmApplication } from './models/HelmApplication';
114
124
  export type { HookAction } from './models/HookAction';
115
125
  export type { HookActionRun } from './models/HookActionRun';
116
126
  export type { HookCondition } from './models/HookCondition';
@@ -142,6 +152,9 @@ export type { OAuth2Introspection } from './models/OAuth2Introspection';
142
152
  export type { OAuth2ProviderSpec } from './models/OAuth2ProviderSpec';
143
153
  export type { ObjectMeta } from './models/ObjectMeta';
144
154
  export type { ObjectReference } from './models/ObjectReference';
155
+ export type { OciAuth } from './models/OciAuth';
156
+ export { OciAuthType } from './models/OciAuthType';
157
+ export { OciRepoSpec } from './models/OciRepoSpec';
145
158
  export type { OIDCProviderSpec } from './models/OIDCProviderSpec';
146
159
  export type { OpenShiftProviderSpec } from './models/OpenShiftProviderSpec';
147
160
  export type { Organization } from './models/Organization';
@@ -151,6 +164,7 @@ export type { PatchRequest } from './models/PatchRequest';
151
164
  export type { Percentage } from './models/Percentage';
152
165
  export type { Permission } from './models/Permission';
153
166
  export type { PermissionList } from './models/PermissionList';
167
+ export type { QuadletApplication } from './models/QuadletApplication';
154
168
  export type { ReferencedRepositoryUpdatedDetails } from './models/ReferencedRepositoryUpdatedDetails';
155
169
  export type { RelativePath } from './models/RelativePath';
156
170
  export type { Repository } from './models/Repository';
@@ -174,7 +188,6 @@ export type { RolloutDeviceSelection } from './models/RolloutDeviceSelection';
174
188
  export type { RolloutPolicy } from './models/RolloutPolicy';
175
189
  export { RolloutStrategy } from './models/RolloutStrategy';
176
190
  export type { SshConfig } from './models/SshConfig';
177
- export type { SshRepoSpec } from './models/SshRepoSpec';
178
191
  export type { Status } from './models/Status';
179
192
  export { SystemdActiveStateType } from './models/SystemdActiveStateType';
180
193
  export { SystemdEnableStateType } from './models/SystemdEnableStateType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flightctl/types",
3
- "version": "1.0.2",
3
+ "version": "1.1.0-rc3",
4
4
  "description": "Types for Flightctl UI",
5
5
  "repository": "https://github.com/flightctl/flightctl-ui.git",
6
6
  "homepage": "https://github.com/flightctl/flightctl-ui.git",
@@ -11,16 +11,22 @@
11
11
  "source": "./index.ts",
12
12
  "types": "./dist/index.d.ts",
13
13
  "default": "./dist/index.js"
14
+ },
15
+ "./imagebuilder": {
16
+ "source": "./imagebuilder/index.ts",
17
+ "types": "./dist/imagebuilder/index.d.ts",
18
+ "default": "./dist/imagebuilder/index.js"
14
19
  }
15
20
  },
16
21
  "files": [
17
22
  "dist",
18
- "index.ts"
23
+ "index.ts",
24
+ "imagebuilder"
19
25
  ],
20
26
  "scripts": {
21
27
  "prebuild": "tsc --noEmit && rimraf dist",
22
28
  "build": "tsc --build",
23
- "gen-types": "rimraf ./models && node ./scripts/openapi-typescript.js && rsync -a --remove-source-files tmp-types/ ./ && npm run build",
29
+ "gen-types": "node ./scripts/openapi-typescript.js && npm run build",
24
30
  "ts-node": "ts-node -O '{\"module\":\"commonjs\"}'"
25
31
  },
26
32
  "devDependencies": {
@@ -1,9 +0,0 @@
1
- import type { RepoSpecType } from './RepoSpecType';
2
- export type GenericRepoSpec = {
3
- /**
4
- * The (possibly remote) repository URL.
5
- */
6
- url: string;
7
- type: RepoSpecType;
8
- };
9
- //# sourceMappingURL=GenericRepoSpec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenericRepoSpec.d.ts","sourceRoot":"","sources":["../../models/GenericRepoSpec.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=GenericRepoSpec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenericRepoSpec.js","sourceRoot":"","sources":["../../models/GenericRepoSpec.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- import type { RepoSpecType } from './RepoSpecType';
2
- import type { SshConfig } from './SshConfig';
3
- export type SshRepoSpec = {
4
- /**
5
- * The SSH Git repository URL to clone from.
6
- */
7
- url: string;
8
- type: RepoSpecType;
9
- sshConfig: SshConfig;
10
- };
11
- //# sourceMappingURL=SshRepoSpec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SshRepoSpec.d.ts","sourceRoot":"","sources":["../../models/SshRepoSpec.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=SshRepoSpec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SshRepoSpec.js","sourceRoot":"","sources":["../../models/SshRepoSpec.ts"],"names":[],"mappings":""}