@sinehypernova-0718/n8n-nodes-coolify 0.0.0-stage → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +442 -2
  3. package/dist/credentials/CoolifyApi.credentials.d.ts +10 -0
  4. package/dist/credentials/CoolifyApi.credentials.js +79 -0
  5. package/dist/credentials/CoolifyApi.credentials.js.map +1 -0
  6. package/dist/icons/coolify.svg +1 -0
  7. package/dist/n8n-logo-black-accent.svg +17 -0
  8. package/dist/nodes/Coolify/Coolify.node.d.ts +5 -0
  9. package/dist/nodes/Coolify/Coolify.node.js +124 -0
  10. package/dist/nodes/Coolify/Coolify.node.js.map +1 -0
  11. package/dist/nodes/Coolify/Coolify.node.json +18 -0
  12. package/dist/nodes/Coolify/descriptions/Application/ApplicationDescription.d.ts +2 -0
  13. package/dist/nodes/Coolify/descriptions/Application/ApplicationDescription.js +2118 -0
  14. package/dist/nodes/Coolify/descriptions/Application/ApplicationDescription.js.map +1 -0
  15. package/dist/nodes/Coolify/descriptions/Application/applicationCreateFields.d.ts +4 -0
  16. package/dist/nodes/Coolify/descriptions/Application/applicationCreateFields.js +61 -0
  17. package/dist/nodes/Coolify/descriptions/Application/applicationCreateFields.js.map +1 -0
  18. package/dist/nodes/Coolify/descriptions/Application/applicationFieldProperties.d.ts +8 -0
  19. package/dist/nodes/Coolify/descriptions/Application/applicationFieldProperties.js +125 -0
  20. package/dist/nodes/Coolify/descriptions/Application/applicationFieldProperties.js.map +1 -0
  21. package/dist/nodes/Coolify/descriptions/Application/applicationUpdateFields.d.ts +3 -0
  22. package/dist/nodes/Coolify/descriptions/Application/applicationUpdateFields.js +45 -0
  23. package/dist/nodes/Coolify/descriptions/Application/applicationUpdateFields.js.map +1 -0
  24. package/dist/nodes/Coolify/descriptions/Application/index.d.ts +4 -0
  25. package/dist/nodes/Coolify/descriptions/Application/index.js +14 -0
  26. package/dist/nodes/Coolify/descriptions/Application/index.js.map +1 -0
  27. package/dist/nodes/Coolify/descriptions/Application/storageBackupScheduleFields.d.ts +2 -0
  28. package/dist/nodes/Coolify/descriptions/Application/storageBackupScheduleFields.js +78 -0
  29. package/dist/nodes/Coolify/descriptions/Application/storageBackupScheduleFields.js.map +1 -0
  30. package/dist/nodes/Coolify/descriptions/AuditEvent/AuditEventDescription.d.ts +2 -0
  31. package/dist/nodes/Coolify/descriptions/AuditEvent/AuditEventDescription.js +132 -0
  32. package/dist/nodes/Coolify/descriptions/AuditEvent/AuditEventDescription.js.map +1 -0
  33. package/dist/nodes/Coolify/descriptions/AuditEvent/index.d.ts +1 -0
  34. package/dist/nodes/Coolify/descriptions/AuditEvent/index.js +6 -0
  35. package/dist/nodes/Coolify/descriptions/AuditEvent/index.js.map +1 -0
  36. package/dist/nodes/Coolify/descriptions/CloudInitScript/CloudInitScriptDescription.d.ts +2 -0
  37. package/dist/nodes/Coolify/descriptions/CloudInitScript/CloudInitScriptDescription.js +123 -0
  38. package/dist/nodes/Coolify/descriptions/CloudInitScript/CloudInitScriptDescription.js.map +1 -0
  39. package/dist/nodes/Coolify/descriptions/CloudInitScript/index.d.ts +1 -0
  40. package/dist/nodes/Coolify/descriptions/CloudInitScript/index.js +6 -0
  41. package/dist/nodes/Coolify/descriptions/CloudInitScript/index.js.map +1 -0
  42. package/dist/nodes/Coolify/descriptions/CloudToken/CloudTokenDescription.d.ts +2 -0
  43. package/dist/nodes/Coolify/descriptions/CloudToken/CloudTokenDescription.js +156 -0
  44. package/dist/nodes/Coolify/descriptions/CloudToken/CloudTokenDescription.js.map +1 -0
  45. package/dist/nodes/Coolify/descriptions/CloudToken/index.d.ts +1 -0
  46. package/dist/nodes/Coolify/descriptions/CloudToken/index.js +6 -0
  47. package/dist/nodes/Coolify/descriptions/CloudToken/index.js.map +1 -0
  48. package/dist/nodes/Coolify/descriptions/index.d.ts +4 -0
  49. package/dist/nodes/Coolify/descriptions/index.js +12 -0
  50. package/dist/nodes/Coolify/descriptions/index.js.map +1 -0
  51. package/dist/nodes/Coolify/requests/application/addDestination.d.ts +3 -0
  52. package/dist/nodes/Coolify/requests/application/addDestination.js +18 -0
  53. package/dist/nodes/Coolify/requests/application/addDestination.js.map +1 -0
  54. package/dist/nodes/Coolify/requests/application/applicationFields.d.ts +49 -0
  55. package/dist/nodes/Coolify/requests/application/applicationFields.js +513 -0
  56. package/dist/nodes/Coolify/requests/application/applicationFields.js.map +1 -0
  57. package/dist/nodes/Coolify/requests/application/applicationUpdateFields.d.ts +21 -0
  58. package/dist/nodes/Coolify/requests/application/applicationUpdateFields.js +315 -0
  59. package/dist/nodes/Coolify/requests/application/applicationUpdateFields.js.map +1 -0
  60. package/dist/nodes/Coolify/requests/application/clone.d.ts +3 -0
  61. package/dist/nodes/Coolify/requests/application/clone.js +26 -0
  62. package/dist/nodes/Coolify/requests/application/clone.js.map +1 -0
  63. package/dist/nodes/Coolify/requests/application/createDockerImage.d.ts +3 -0
  64. package/dist/nodes/Coolify/requests/application/createDockerImage.js +18 -0
  65. package/dist/nodes/Coolify/requests/application/createDockerImage.js.map +1 -0
  66. package/dist/nodes/Coolify/requests/application/createDockerfile.d.ts +3 -0
  67. package/dist/nodes/Coolify/requests/application/createDockerfile.js +19 -0
  68. package/dist/nodes/Coolify/requests/application/createDockerfile.js.map +1 -0
  69. package/dist/nodes/Coolify/requests/application/createEnv.d.ts +3 -0
  70. package/dist/nodes/Coolify/requests/application/createEnv.js +32 -0
  71. package/dist/nodes/Coolify/requests/application/createEnv.js.map +1 -0
  72. package/dist/nodes/Coolify/requests/application/createPreviewDeployment.d.ts +3 -0
  73. package/dist/nodes/Coolify/requests/application/createPreviewDeployment.js +53 -0
  74. package/dist/nodes/Coolify/requests/application/createPreviewDeployment.js.map +1 -0
  75. package/dist/nodes/Coolify/requests/application/createPrivateDeployKey.d.ts +3 -0
  76. package/dist/nodes/Coolify/requests/application/createPrivateDeployKey.js +27 -0
  77. package/dist/nodes/Coolify/requests/application/createPrivateDeployKey.js.map +1 -0
  78. package/dist/nodes/Coolify/requests/application/createPrivateGithubApp.d.ts +3 -0
  79. package/dist/nodes/Coolify/requests/application/createPrivateGithubApp.js +27 -0
  80. package/dist/nodes/Coolify/requests/application/createPrivateGithubApp.js.map +1 -0
  81. package/dist/nodes/Coolify/requests/application/createPublic.d.ts +3 -0
  82. package/dist/nodes/Coolify/requests/application/createPublic.js +24 -0
  83. package/dist/nodes/Coolify/requests/application/createPublic.js.map +1 -0
  84. package/dist/nodes/Coolify/requests/application/createStorage.d.ts +3 -0
  85. package/dist/nodes/Coolify/requests/application/createStorage.js +48 -0
  86. package/dist/nodes/Coolify/requests/application/createStorage.js.map +1 -0
  87. package/dist/nodes/Coolify/requests/application/createTag.d.ts +3 -0
  88. package/dist/nodes/Coolify/requests/application/createTag.js +41 -0
  89. package/dist/nodes/Coolify/requests/application/createTag.js.map +1 -0
  90. package/dist/nodes/Coolify/requests/application/delete.d.ts +3 -0
  91. package/dist/nodes/Coolify/requests/application/delete.js +23 -0
  92. package/dist/nodes/Coolify/requests/application/delete.js.map +1 -0
  93. package/dist/nodes/Coolify/requests/application/deleteEnv.d.ts +3 -0
  94. package/dist/nodes/Coolify/requests/application/deleteEnv.js +17 -0
  95. package/dist/nodes/Coolify/requests/application/deleteEnv.js.map +1 -0
  96. package/dist/nodes/Coolify/requests/application/deletePreviewDeployment.d.ts +3 -0
  97. package/dist/nodes/Coolify/requests/application/deletePreviewDeployment.js +17 -0
  98. package/dist/nodes/Coolify/requests/application/deletePreviewDeployment.js.map +1 -0
  99. package/dist/nodes/Coolify/requests/application/deleteStorage.d.ts +3 -0
  100. package/dist/nodes/Coolify/requests/application/deleteStorage.js +19 -0
  101. package/dist/nodes/Coolify/requests/application/deleteStorage.js.map +1 -0
  102. package/dist/nodes/Coolify/requests/application/deleteStorageBackupSchedule.d.ts +3 -0
  103. package/dist/nodes/Coolify/requests/application/deleteStorageBackupSchedule.js +17 -0
  104. package/dist/nodes/Coolify/requests/application/deleteStorageBackupSchedule.js.map +1 -0
  105. package/dist/nodes/Coolify/requests/application/deleteTag.d.ts +3 -0
  106. package/dist/nodes/Coolify/requests/application/deleteTag.js +19 -0
  107. package/dist/nodes/Coolify/requests/application/deleteTag.js.map +1 -0
  108. package/dist/nodes/Coolify/requests/application/get.d.ts +3 -0
  109. package/dist/nodes/Coolify/requests/application/get.js +12 -0
  110. package/dist/nodes/Coolify/requests/application/get.js.map +1 -0
  111. package/dist/nodes/Coolify/requests/application/getLogs.d.ts +4 -0
  112. package/dist/nodes/Coolify/requests/application/getLogs.js +47 -0
  113. package/dist/nodes/Coolify/requests/application/getLogs.js.map +1 -0
  114. package/dist/nodes/Coolify/requests/application/getPreviewDeployment.d.ts +3 -0
  115. package/dist/nodes/Coolify/requests/application/getPreviewDeployment.js +21 -0
  116. package/dist/nodes/Coolify/requests/application/getPreviewDeployment.js.map +1 -0
  117. package/dist/nodes/Coolify/requests/application/getPreviewLogs.d.ts +3 -0
  118. package/dist/nodes/Coolify/requests/application/getPreviewLogs.js +34 -0
  119. package/dist/nodes/Coolify/requests/application/getPreviewLogs.js.map +1 -0
  120. package/dist/nodes/Coolify/requests/application/index.d.ts +45 -0
  121. package/dist/nodes/Coolify/requests/application/index.js +178 -0
  122. package/dist/nodes/Coolify/requests/application/index.js.map +1 -0
  123. package/dist/nodes/Coolify/requests/application/list.d.ts +3 -0
  124. package/dist/nodes/Coolify/requests/application/list.js +15 -0
  125. package/dist/nodes/Coolify/requests/application/list.js.map +1 -0
  126. package/dist/nodes/Coolify/requests/application/listDestinations.d.ts +3 -0
  127. package/dist/nodes/Coolify/requests/application/listDestinations.js +12 -0
  128. package/dist/nodes/Coolify/requests/application/listDestinations.js.map +1 -0
  129. package/dist/nodes/Coolify/requests/application/listEnvs.d.ts +3 -0
  130. package/dist/nodes/Coolify/requests/application/listEnvs.js +12 -0
  131. package/dist/nodes/Coolify/requests/application/listEnvs.js.map +1 -0
  132. package/dist/nodes/Coolify/requests/application/listPreviewDeployments.d.ts +3 -0
  133. package/dist/nodes/Coolify/requests/application/listPreviewDeployments.js +12 -0
  134. package/dist/nodes/Coolify/requests/application/listPreviewDeployments.js.map +1 -0
  135. package/dist/nodes/Coolify/requests/application/listRollbackImages.d.ts +3 -0
  136. package/dist/nodes/Coolify/requests/application/listRollbackImages.js +12 -0
  137. package/dist/nodes/Coolify/requests/application/listRollbackImages.js.map +1 -0
  138. package/dist/nodes/Coolify/requests/application/listStorages.d.ts +3 -0
  139. package/dist/nodes/Coolify/requests/application/listStorages.js +12 -0
  140. package/dist/nodes/Coolify/requests/application/listStorages.js.map +1 -0
  141. package/dist/nodes/Coolify/requests/application/listTags.d.ts +3 -0
  142. package/dist/nodes/Coolify/requests/application/listTags.js +12 -0
  143. package/dist/nodes/Coolify/requests/application/listTags.js.map +1 -0
  144. package/dist/nodes/Coolify/requests/application/migrate.d.ts +3 -0
  145. package/dist/nodes/Coolify/requests/application/migrate.js +21 -0
  146. package/dist/nodes/Coolify/requests/application/migrate.js.map +1 -0
  147. package/dist/nodes/Coolify/requests/application/move.d.ts +3 -0
  148. package/dist/nodes/Coolify/requests/application/move.js +18 -0
  149. package/dist/nodes/Coolify/requests/application/move.js.map +1 -0
  150. package/dist/nodes/Coolify/requests/application/parameters.d.ts +5 -0
  151. package/dist/nodes/Coolify/requests/application/parameters.js +35 -0
  152. package/dist/nodes/Coolify/requests/application/parameters.js.map +1 -0
  153. package/dist/nodes/Coolify/requests/application/removeDestination.d.ts +3 -0
  154. package/dist/nodes/Coolify/requests/application/removeDestination.js +17 -0
  155. package/dist/nodes/Coolify/requests/application/removeDestination.js.map +1 -0
  156. package/dist/nodes/Coolify/requests/application/restart.d.ts +3 -0
  157. package/dist/nodes/Coolify/requests/application/restart.js +12 -0
  158. package/dist/nodes/Coolify/requests/application/restart.js.map +1 -0
  159. package/dist/nodes/Coolify/requests/application/rollback.d.ts +3 -0
  160. package/dist/nodes/Coolify/requests/application/rollback.js +22 -0
  161. package/dist/nodes/Coolify/requests/application/rollback.js.map +1 -0
  162. package/dist/nodes/Coolify/requests/application/runStorageBackup.d.ts +3 -0
  163. package/dist/nodes/Coolify/requests/application/runStorageBackup.js +19 -0
  164. package/dist/nodes/Coolify/requests/application/runStorageBackup.js.map +1 -0
  165. package/dist/nodes/Coolify/requests/application/setStorageBackupSchedule.d.ts +3 -0
  166. package/dist/nodes/Coolify/requests/application/setStorageBackupSchedule.js +72 -0
  167. package/dist/nodes/Coolify/requests/application/setStorageBackupSchedule.js.map +1 -0
  168. package/dist/nodes/Coolify/requests/application/start.d.ts +3 -0
  169. package/dist/nodes/Coolify/requests/application/start.js +23 -0
  170. package/dist/nodes/Coolify/requests/application/start.js.map +1 -0
  171. package/dist/nodes/Coolify/requests/application/stop.d.ts +3 -0
  172. package/dist/nodes/Coolify/requests/application/stop.js +16 -0
  173. package/dist/nodes/Coolify/requests/application/stop.js.map +1 -0
  174. package/dist/nodes/Coolify/requests/application/storageBackupScheduleFields.d.ts +34 -0
  175. package/dist/nodes/Coolify/requests/application/storageBackupScheduleFields.js +204 -0
  176. package/dist/nodes/Coolify/requests/application/storageBackupScheduleFields.js.map +1 -0
  177. package/dist/nodes/Coolify/requests/application/update.d.ts +3 -0
  178. package/dist/nodes/Coolify/requests/application/update.js +23 -0
  179. package/dist/nodes/Coolify/requests/application/update.js.map +1 -0
  180. package/dist/nodes/Coolify/requests/application/updateEnv.d.ts +3 -0
  181. package/dist/nodes/Coolify/requests/application/updateEnv.js +31 -0
  182. package/dist/nodes/Coolify/requests/application/updateEnv.js.map +1 -0
  183. package/dist/nodes/Coolify/requests/application/updateEnvsBulk.d.ts +3 -0
  184. package/dist/nodes/Coolify/requests/application/updateEnvsBulk.js +43 -0
  185. package/dist/nodes/Coolify/requests/application/updateEnvsBulk.js.map +1 -0
  186. package/dist/nodes/Coolify/requests/application/updatePreviewDomains.d.ts +5 -0
  187. package/dist/nodes/Coolify/requests/application/updatePreviewDomains.js +61 -0
  188. package/dist/nodes/Coolify/requests/application/updatePreviewDomains.js.map +1 -0
  189. package/dist/nodes/Coolify/requests/application/updateStorage.d.ts +3 -0
  190. package/dist/nodes/Coolify/requests/application/updateStorage.js +45 -0
  191. package/dist/nodes/Coolify/requests/application/updateStorage.js.map +1 -0
  192. package/dist/nodes/Coolify/requests/auditEvent/index.d.ts +3 -0
  193. package/dist/nodes/Coolify/requests/auditEvent/index.js +10 -0
  194. package/dist/nodes/Coolify/requests/auditEvent/index.js.map +1 -0
  195. package/dist/nodes/Coolify/requests/auditEvent/listAuditEvents.d.ts +3 -0
  196. package/dist/nodes/Coolify/requests/auditEvent/listAuditEvents.js +52 -0
  197. package/dist/nodes/Coolify/requests/auditEvent/listAuditEvents.js.map +1 -0
  198. package/dist/nodes/Coolify/requests/cloudInitScript/cloudInitScriptFields.d.ts +17 -0
  199. package/dist/nodes/Coolify/requests/cloudInitScript/cloudInitScriptFields.js +85 -0
  200. package/dist/nodes/Coolify/requests/cloudInitScript/cloudInitScriptFields.js.map +1 -0
  201. package/dist/nodes/Coolify/requests/cloudInitScript/create.d.ts +3 -0
  202. package/dist/nodes/Coolify/requests/cloudInitScript/create.js +13 -0
  203. package/dist/nodes/Coolify/requests/cloudInitScript/create.js.map +1 -0
  204. package/dist/nodes/Coolify/requests/cloudInitScript/delete.d.ts +3 -0
  205. package/dist/nodes/Coolify/requests/cloudInitScript/delete.js +13 -0
  206. package/dist/nodes/Coolify/requests/cloudInitScript/delete.js.map +1 -0
  207. package/dist/nodes/Coolify/requests/cloudInitScript/get.d.ts +3 -0
  208. package/dist/nodes/Coolify/requests/cloudInitScript/get.js +12 -0
  209. package/dist/nodes/Coolify/requests/cloudInitScript/get.js.map +1 -0
  210. package/dist/nodes/Coolify/requests/cloudInitScript/index.d.ts +9 -0
  211. package/dist/nodes/Coolify/requests/cloudInitScript/index.js +37 -0
  212. package/dist/nodes/Coolify/requests/cloudInitScript/index.js.map +1 -0
  213. package/dist/nodes/Coolify/requests/cloudInitScript/list.d.ts +3 -0
  214. package/dist/nodes/Coolify/requests/cloudInitScript/list.js +10 -0
  215. package/dist/nodes/Coolify/requests/cloudInitScript/list.js.map +1 -0
  216. package/dist/nodes/Coolify/requests/cloudInitScript/parameters.d.ts +2 -0
  217. package/dist/nodes/Coolify/requests/cloudInitScript/parameters.js +13 -0
  218. package/dist/nodes/Coolify/requests/cloudInitScript/parameters.js.map +1 -0
  219. package/dist/nodes/Coolify/requests/cloudInitScript/update.d.ts +3 -0
  220. package/dist/nodes/Coolify/requests/cloudInitScript/update.js +19 -0
  221. package/dist/nodes/Coolify/requests/cloudInitScript/update.js.map +1 -0
  222. package/dist/nodes/Coolify/requests/cloudToken/cloudTokenFields.d.ts +21 -0
  223. package/dist/nodes/Coolify/requests/cloudToken/cloudTokenFields.js +100 -0
  224. package/dist/nodes/Coolify/requests/cloudToken/cloudTokenFields.js.map +1 -0
  225. package/dist/nodes/Coolify/requests/cloudToken/create.d.ts +3 -0
  226. package/dist/nodes/Coolify/requests/cloudToken/create.js +12 -0
  227. package/dist/nodes/Coolify/requests/cloudToken/create.js.map +1 -0
  228. package/dist/nodes/Coolify/requests/cloudToken/delete.d.ts +3 -0
  229. package/dist/nodes/Coolify/requests/cloudToken/delete.js +11 -0
  230. package/dist/nodes/Coolify/requests/cloudToken/delete.js.map +1 -0
  231. package/dist/nodes/Coolify/requests/cloudToken/get.d.ts +3 -0
  232. package/dist/nodes/Coolify/requests/cloudToken/get.js +11 -0
  233. package/dist/nodes/Coolify/requests/cloudToken/get.js.map +1 -0
  234. package/dist/nodes/Coolify/requests/cloudToken/index.d.ts +12 -0
  235. package/dist/nodes/Coolify/requests/cloudToken/index.js +40 -0
  236. package/dist/nodes/Coolify/requests/cloudToken/index.js.map +1 -0
  237. package/dist/nodes/Coolify/requests/cloudToken/list.d.ts +3 -0
  238. package/dist/nodes/Coolify/requests/cloudToken/list.js +10 -0
  239. package/dist/nodes/Coolify/requests/cloudToken/list.js.map +1 -0
  240. package/dist/nodes/Coolify/requests/cloudToken/parameters.d.ts +2 -0
  241. package/dist/nodes/Coolify/requests/cloudToken/parameters.js +13 -0
  242. package/dist/nodes/Coolify/requests/cloudToken/parameters.js.map +1 -0
  243. package/dist/nodes/Coolify/requests/cloudToken/types.d.ts +2 -0
  244. package/dist/nodes/Coolify/requests/cloudToken/types.js +5 -0
  245. package/dist/nodes/Coolify/requests/cloudToken/types.js.map +1 -0
  246. package/dist/nodes/Coolify/requests/cloudToken/update.d.ts +3 -0
  247. package/dist/nodes/Coolify/requests/cloudToken/update.js +15 -0
  248. package/dist/nodes/Coolify/requests/cloudToken/update.js.map +1 -0
  249. package/dist/nodes/Coolify/requests/cloudToken/validate.d.ts +3 -0
  250. package/dist/nodes/Coolify/requests/cloudToken/validate.js +11 -0
  251. package/dist/nodes/Coolify/requests/cloudToken/validate.js.map +1 -0
  252. package/dist/nodes/Coolify/requests/index.d.ts +5 -0
  253. package/dist/nodes/Coolify/requests/index.js +83 -0
  254. package/dist/nodes/Coolify/requests/index.js.map +1 -0
  255. package/dist/nodes/Coolify/requests/types.d.ts +10 -0
  256. package/dist/nodes/Coolify/requests/types.js +3 -0
  257. package/dist/nodes/Coolify/requests/types.js.map +1 -0
  258. package/dist/nodes/Coolify/shared/apiRequest.d.ts +18 -0
  259. package/dist/nodes/Coolify/shared/apiRequest.js +187 -0
  260. package/dist/nodes/Coolify/shared/apiRequest.js.map +1 -0
  261. package/dist/nodes/Coolify/shared/pathSegment.d.ts +1 -0
  262. package/dist/nodes/Coolify/shared/pathSegment.js +7 -0
  263. package/dist/nodes/Coolify/shared/pathSegment.js.map +1 -0
  264. package/dist/nodes/Coolify/shared/rateLimit.d.ts +35 -0
  265. package/dist/nodes/Coolify/shared/rateLimit.js +282 -0
  266. package/dist/nodes/Coolify/shared/rateLimit.js.map +1 -0
  267. package/dist/package.json +77 -0
  268. package/dist/tsconfig.tsbuildinfo +1 -0
  269. package/package.json +76 -5
@@ -0,0 +1,2118 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.applicationFields = void 0;
4
+ const applicationCreateFields_1 = require("./applicationCreateFields");
5
+ const applicationUpdateFields_1 = require("./applicationUpdateFields");
6
+ const storageBackupScheduleFields_1 = require("./storageBackupScheduleFields");
7
+ exports.applicationFields = [
8
+ {
9
+ displayName: 'Operation',
10
+ name: 'operation',
11
+ type: 'options',
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: {
15
+ resource: ['application'],
16
+ },
17
+ },
18
+ options: [
19
+ {
20
+ name: 'Add Destination',
21
+ value: 'addDestination',
22
+ description: 'Attach an additional destination to an application',
23
+ action: 'Add a destination',
24
+ },
25
+ {
26
+ name: 'Clone',
27
+ value: 'clone',
28
+ description: 'Clone an application to another destination of the team',
29
+ action: 'Clone an application',
30
+ },
31
+ {
32
+ name: 'Create (Docker Image Without Git)',
33
+ value: 'createDockerImage',
34
+ description: 'Create a new application from a prebuilt Docker image',
35
+ action: 'Create an application from a container image',
36
+ },
37
+ {
38
+ name: 'Create (Dockerfile Without Git)',
39
+ value: 'createDockerfile',
40
+ description: 'Create a new application from a Dockerfile',
41
+ action: 'Create an application from a dockerfile',
42
+ },
43
+ {
44
+ name: 'Create (Private - Deploy Key)',
45
+ value: 'createPrivateDeployKey',
46
+ description: 'Create a new application from a private repository through a deploy key',
47
+ action: 'Create an application from a private repository with a deploy key',
48
+ },
49
+ {
50
+ name: 'Create (Private - GH App)',
51
+ value: 'createPrivateGithubApp',
52
+ description: 'Create a new application from a private repository through a GitHub App',
53
+ action: 'Create an application from a private repository with an installed app',
54
+ },
55
+ {
56
+ name: 'Create (Public)',
57
+ value: 'createPublic',
58
+ description: 'Create a new application from a public Git repository',
59
+ action: 'Create an application from a public repository',
60
+ },
61
+ {
62
+ name: 'Create Env',
63
+ value: 'createEnv',
64
+ description: 'Create an environment variable on an application',
65
+ action: 'Create an environment variable',
66
+ },
67
+ {
68
+ name: 'Create Preview Deployment',
69
+ value: 'createPreviewDeployment',
70
+ description: 'Open a preview deployment for a pull request and queue its deployment',
71
+ action: 'Create a preview deployment',
72
+ },
73
+ {
74
+ name: 'Create Storage',
75
+ value: 'createStorage',
76
+ description: 'Create a storage for an application',
77
+ action: 'Create a storage',
78
+ },
79
+ {
80
+ name: 'Create Tag',
81
+ value: 'createTag',
82
+ description: 'Add a tag to an application',
83
+ action: 'Add a tag',
84
+ },
85
+ {
86
+ name: 'Delete',
87
+ value: 'delete',
88
+ description: 'Delete an application by UUID',
89
+ action: 'Delete an application',
90
+ },
91
+ {
92
+ name: 'Delete Env',
93
+ value: 'deleteEnv',
94
+ description: 'Delete an environment variable of an application',
95
+ action: 'Delete an environment variable',
96
+ },
97
+ {
98
+ name: 'Delete Preview Deployment',
99
+ value: 'deletePreviewDeployment',
100
+ description: 'Delete a preview deployment. The running deployments are cancelled, the containers are stopped and the volumes and networks of the preview are removed.',
101
+ action: 'Delete a preview deployment',
102
+ },
103
+ {
104
+ name: 'Delete Storage',
105
+ value: 'deleteStorage',
106
+ description: 'Delete a storage of an application',
107
+ action: 'Delete a storage',
108
+ },
109
+ {
110
+ name: 'Delete Storage Backup Schedule',
111
+ value: 'deleteStorageBackupSchedule',
112
+ description: 'Delete the backup schedule of a storage, together with its existing local and S3 backup archives',
113
+ action: 'Delete a backup schedule',
114
+ },
115
+ {
116
+ name: 'Delete Tag',
117
+ value: 'deleteTag',
118
+ description: 'Remove a tag from an application',
119
+ action: 'Remove a tag',
120
+ },
121
+ {
122
+ name: 'Get',
123
+ value: 'get',
124
+ description: 'Get a single application by UUID',
125
+ action: 'Get an application',
126
+ },
127
+ {
128
+ name: 'Get Application Logs',
129
+ value: 'getLogs',
130
+ description: 'Get the container logs of an application. Requires a token with the read:sensitive or root ability.',
131
+ action: 'Get application logs',
132
+ },
133
+ {
134
+ name: 'Get Preview Application Logs',
135
+ value: 'getPreviewLogs',
136
+ description: 'Get the container logs of a preview deployment. Requires a token with the read:sensitive or root ability and Coolify 4.4.0 or newer.',
137
+ action: 'Get preview application logs',
138
+ },
139
+ {
140
+ name: 'Get Preview Deployment',
141
+ value: 'getPreviewDeployment',
142
+ description: 'Get a preview deployment by pull request ID. Requires Coolify 4.4.0 or newer.',
143
+ action: 'Get a preview deployment',
144
+ },
145
+ {
146
+ name: 'List',
147
+ value: 'list',
148
+ description: 'List the applications of the team',
149
+ action: 'List applications',
150
+ },
151
+ {
152
+ name: 'List Destinations',
153
+ value: 'listDestinations',
154
+ description: 'List the destinations of an application',
155
+ action: 'List destinations',
156
+ },
157
+ {
158
+ name: 'List Envs',
159
+ value: 'listEnvs',
160
+ description: 'List the environment variables of an application',
161
+ action: 'List environment variables',
162
+ },
163
+ {
164
+ name: 'List Preview Deployments',
165
+ value: 'listPreviewDeployments',
166
+ description: 'List the preview deployments of an application. Requires Coolify 4.4.0 or newer.',
167
+ action: 'List preview deployments',
168
+ },
169
+ {
170
+ name: 'List Rollback Images',
171
+ value: 'listRollbackImages',
172
+ description: 'List the images an application can be rolled back to',
173
+ action: 'List rollback images',
174
+ },
175
+ {
176
+ name: 'List Storages',
177
+ value: 'listStorages',
178
+ description: 'List the storages of an application',
179
+ action: 'List storages',
180
+ },
181
+ {
182
+ name: 'List Tags',
183
+ value: 'listTags',
184
+ description: 'List the tags of an application',
185
+ action: 'List tags',
186
+ },
187
+ {
188
+ name: 'Migrate',
189
+ value: 'migrate',
190
+ description: 'Migrate an application to another destination. The application is stopped and has to be deployed again after the migration.',
191
+ action: 'Migrate an application',
192
+ },
193
+ {
194
+ name: 'Move',
195
+ value: 'move',
196
+ description: 'Move an application to another environment. The running containers are not affected.',
197
+ action: 'Move an application',
198
+ },
199
+ {
200
+ name: 'Remove Destination',
201
+ value: 'removeDestination',
202
+ description: 'Detach a destination from an application',
203
+ action: 'Remove a destination',
204
+ },
205
+ {
206
+ name: 'Restart',
207
+ value: 'restart',
208
+ description: 'Restart an application by UUID',
209
+ action: 'Restart an application',
210
+ },
211
+ {
212
+ name: 'Rollback',
213
+ value: 'rollback',
214
+ description: 'Queue a rollback deployment of an application to a previous image',
215
+ action: 'Roll back an application',
216
+ },
217
+ {
218
+ name: 'Run Storage Backup',
219
+ value: 'runStorageBackup',
220
+ description: 'Queue an immediate backup of a storage',
221
+ action: 'Run a storage backup',
222
+ },
223
+ {
224
+ name: 'Set Storage Backup Schedule',
225
+ value: 'setStorageBackupSchedule',
226
+ description: 'Create or replace the backup schedule of a storage',
227
+ action: 'Set a backup schedule',
228
+ },
229
+ {
230
+ name: 'Start',
231
+ value: 'start',
232
+ description: 'Start an application by UUID',
233
+ action: 'Start an application',
234
+ },
235
+ {
236
+ name: 'Stop',
237
+ value: 'stop',
238
+ description: 'Stop an application by UUID',
239
+ action: 'Stop an application',
240
+ },
241
+ {
242
+ name: 'Update',
243
+ value: 'update',
244
+ description: 'Update the settings of an application. Only the settings that are filled in are changed.',
245
+ action: 'Update an application',
246
+ },
247
+ {
248
+ name: 'Update Env',
249
+ value: 'updateEnv',
250
+ description: 'Update an environment variable of an application',
251
+ action: 'Update an environment variable',
252
+ },
253
+ {
254
+ name: 'Update Envs (Bulk)',
255
+ value: 'updateEnvsBulk',
256
+ description: 'Update several environment variables of an application at once',
257
+ action: 'Update several environment variables at once',
258
+ },
259
+ {
260
+ name: 'Update Preview Domains',
261
+ value: 'updatePreviewDomains',
262
+ description: 'Replace the domains of a preview deployment',
263
+ action: 'Update preview domains',
264
+ },
265
+ {
266
+ name: 'Update Storage',
267
+ value: 'updateStorage',
268
+ description: 'Update a storage of an application',
269
+ action: 'Update a storage',
270
+ },
271
+ ],
272
+ default: 'list',
273
+ },
274
+ {
275
+ displayName: 'Tag',
276
+ name: 'tag',
277
+ type: 'string',
278
+ default: '',
279
+ displayOptions: {
280
+ show: {
281
+ resource: ['application'],
282
+ operation: ['list'],
283
+ },
284
+ },
285
+ description: 'Filter the applications by tag name',
286
+ },
287
+ {
288
+ displayName: 'Application UUID',
289
+ name: 'applicationUuid',
290
+ type: 'string',
291
+ default: '',
292
+ required: true,
293
+ displayOptions: {
294
+ show: {
295
+ resource: ['application'],
296
+ operation: ['get'],
297
+ },
298
+ },
299
+ description: 'UUID of the application to retrieve',
300
+ },
301
+ {
302
+ displayName: 'Deleting an application removes it, and optionally its configuration and volumes',
303
+ name: 'deleteWarning',
304
+ type: 'notice',
305
+ typeOptions: {
306
+ width: 400,
307
+ },
308
+ default: '',
309
+ displayOptions: {
310
+ show: {
311
+ resource: ['application'],
312
+ operation: ['delete'],
313
+ },
314
+ },
315
+ },
316
+ {
317
+ displayName: 'Application UUID',
318
+ name: 'applicationUuid',
319
+ type: 'string',
320
+ default: '',
321
+ required: true,
322
+ displayOptions: {
323
+ show: {
324
+ resource: ['application'],
325
+ operation: ['delete'],
326
+ },
327
+ },
328
+ description: 'UUID of the application to delete',
329
+ },
330
+ {
331
+ displayName: 'Delete Configurations',
332
+ name: 'deleteConfigurations',
333
+ type: 'boolean',
334
+ default: true,
335
+ displayOptions: {
336
+ show: {
337
+ resource: ['application'],
338
+ operation: ['delete'],
339
+ },
340
+ },
341
+ description: 'Whether to delete the configuration of the application',
342
+ },
343
+ {
344
+ displayName: 'Delete Volumes',
345
+ name: 'deleteVolumes',
346
+ type: 'boolean',
347
+ default: true,
348
+ displayOptions: {
349
+ show: {
350
+ resource: ['application'],
351
+ operation: ['delete'],
352
+ },
353
+ },
354
+ description: 'Whether to delete the volumes of the application',
355
+ },
356
+ {
357
+ displayName: 'Docker Cleanup',
358
+ name: 'dockerCleanup',
359
+ type: 'boolean',
360
+ default: true,
361
+ displayOptions: {
362
+ show: {
363
+ resource: ['application'],
364
+ operation: ['delete'],
365
+ },
366
+ },
367
+ description: 'Whether to run a Docker cleanup on the server when its disk usage is at or above the cleanup threshold',
368
+ },
369
+ {
370
+ displayName: 'Delete Connected Networks',
371
+ name: 'deleteConnectedNetworks',
372
+ type: 'boolean',
373
+ default: true,
374
+ displayOptions: {
375
+ show: {
376
+ resource: ['application'],
377
+ operation: ['delete'],
378
+ },
379
+ },
380
+ description: 'Whether to delete the networks the application is connected to',
381
+ },
382
+ {
383
+ displayName: 'Application UUID',
384
+ name: 'applicationUuid',
385
+ type: 'string',
386
+ default: '',
387
+ required: true,
388
+ displayOptions: {
389
+ show: {
390
+ resource: ['application'],
391
+ operation: ['listEnvs'],
392
+ },
393
+ },
394
+ description: 'UUID of the application whose environment variables are listed',
395
+ },
396
+ {
397
+ displayName: 'Application UUID',
398
+ name: 'applicationUuid',
399
+ type: 'string',
400
+ default: '',
401
+ required: true,
402
+ displayOptions: {
403
+ show: {
404
+ resource: ['application'],
405
+ operation: ['listStorages'],
406
+ },
407
+ },
408
+ description: 'UUID of the application whose storages are listed',
409
+ },
410
+ {
411
+ displayName: 'Application UUID',
412
+ name: 'applicationUuid',
413
+ type: 'string',
414
+ default: '',
415
+ required: true,
416
+ displayOptions: {
417
+ show: {
418
+ resource: ['application'],
419
+ operation: ['listTags'],
420
+ },
421
+ },
422
+ description: 'UUID of the application whose tags are listed',
423
+ },
424
+ {
425
+ displayName: 'Application UUID',
426
+ name: 'applicationUuid',
427
+ type: 'string',
428
+ default: '',
429
+ required: true,
430
+ displayOptions: {
431
+ show: {
432
+ resource: ['application'],
433
+ operation: ['listDestinations'],
434
+ },
435
+ },
436
+ description: 'UUID of the application whose destinations are listed',
437
+ },
438
+ {
439
+ displayName: 'Application UUID',
440
+ name: 'applicationUuid',
441
+ type: 'string',
442
+ default: '',
443
+ required: true,
444
+ displayOptions: {
445
+ show: {
446
+ resource: ['application'],
447
+ operation: ['listRollbackImages'],
448
+ },
449
+ },
450
+ description: 'UUID of the application whose rollback images are listed',
451
+ },
452
+ {
453
+ displayName: 'Application UUID',
454
+ name: 'applicationUuid',
455
+ type: 'string',
456
+ default: '',
457
+ required: true,
458
+ displayOptions: {
459
+ show: {
460
+ resource: ['application'],
461
+ operation: ['listPreviewDeployments'],
462
+ },
463
+ },
464
+ description: 'UUID of the application whose preview deployments are listed',
465
+ },
466
+ {
467
+ displayName: 'Application UUID',
468
+ name: 'applicationUuid',
469
+ type: 'string',
470
+ default: '',
471
+ required: true,
472
+ displayOptions: {
473
+ show: {
474
+ resource: ['application'],
475
+ operation: ['getPreviewDeployment'],
476
+ },
477
+ },
478
+ description: 'UUID of the application the preview deployment belongs to',
479
+ },
480
+ {
481
+ displayName: 'Pull Request ID',
482
+ name: 'pullRequestId',
483
+ type: 'number',
484
+ typeOptions: {
485
+ minValue: 1,
486
+ maxValue: 2147483647,
487
+ },
488
+ default: 0,
489
+ required: true,
490
+ displayOptions: {
491
+ show: {
492
+ resource: ['application'],
493
+ operation: ['getPreviewDeployment'],
494
+ },
495
+ },
496
+ description: 'ID of the pull request the preview deployment belongs to',
497
+ },
498
+ {
499
+ displayName: 'Application UUID',
500
+ name: 'applicationUuid',
501
+ type: 'string',
502
+ default: '',
503
+ required: true,
504
+ displayOptions: {
505
+ show: {
506
+ resource: ['application'],
507
+ operation: ['createTag'],
508
+ },
509
+ },
510
+ description: 'UUID of the application the tag is added to',
511
+ },
512
+ {
513
+ displayName: 'Tag Name',
514
+ name: 'tagName',
515
+ type: 'string',
516
+ default: '',
517
+ displayOptions: {
518
+ show: {
519
+ resource: ['application'],
520
+ operation: ['createTag'],
521
+ },
522
+ },
523
+ description: 'Name of the tag to add. Provide either Tag Name or Tag Names, not both. Coolify lowercases the name and removes HTML tags before it stores it.',
524
+ },
525
+ {
526
+ displayName: 'Tag Names',
527
+ name: 'tagNames',
528
+ type: 'string',
529
+ typeOptions: {
530
+ multipleValues: true,
531
+ multipleValueButtonText: 'Add Tag Name',
532
+ },
533
+ default: [],
534
+ displayOptions: {
535
+ show: {
536
+ resource: ['application'],
537
+ operation: ['createTag'],
538
+ },
539
+ },
540
+ description: 'Names of the tags to add. Provide either Tag Name or Tag Names, not both. Coolify lowercases the names and removes HTML tags before it stores them.',
541
+ },
542
+ {
543
+ displayName: 'Application UUID',
544
+ name: 'applicationUuid',
545
+ type: 'string',
546
+ default: '',
547
+ required: true,
548
+ displayOptions: {
549
+ show: {
550
+ resource: ['application'],
551
+ operation: ['deleteTag'],
552
+ },
553
+ },
554
+ description: 'UUID of the application the tag is removed from',
555
+ },
556
+ {
557
+ displayName: 'Tag UUID',
558
+ name: 'tagUuid',
559
+ type: 'string',
560
+ default: '',
561
+ required: true,
562
+ displayOptions: {
563
+ show: {
564
+ resource: ['application'],
565
+ operation: ['deleteTag'],
566
+ },
567
+ },
568
+ description: 'UUID of the tag to remove',
569
+ },
570
+ {
571
+ displayName: 'Application UUID',
572
+ name: 'applicationUuid',
573
+ type: 'string',
574
+ default: '',
575
+ required: true,
576
+ displayOptions: {
577
+ show: {
578
+ resource: ['application'],
579
+ operation: ['createEnv'],
580
+ },
581
+ },
582
+ description: 'UUID of the application the environment variable is created on',
583
+ },
584
+ {
585
+ displayName: 'Key',
586
+ name: 'key',
587
+ type: 'string',
588
+ default: '',
589
+ required: true,
590
+ displayOptions: {
591
+ show: {
592
+ resource: ['application'],
593
+ operation: ['createEnv'],
594
+ },
595
+ },
596
+ description: 'Key of the environment variable, it must start with a letter or an underscore and may only contain letters, digits, underscores and dots',
597
+ },
598
+ {
599
+ displayName: 'Value',
600
+ name: 'value',
601
+ type: 'string',
602
+ typeOptions: {
603
+ password: true,
604
+ },
605
+ default: '',
606
+ displayOptions: {
607
+ show: {
608
+ resource: ['application'],
609
+ operation: ['createEnv'],
610
+ },
611
+ },
612
+ description: 'Value of the environment variable, it may contain a secret',
613
+ },
614
+ {
615
+ displayName: 'Is Preview',
616
+ name: 'isPreview',
617
+ type: 'boolean',
618
+ default: false,
619
+ displayOptions: {
620
+ show: {
621
+ resource: ['application'],
622
+ operation: ['createEnv'],
623
+ },
624
+ },
625
+ description: 'Whether the environment variable is used in preview deployments',
626
+ },
627
+ {
628
+ displayName: 'Is Literal',
629
+ name: 'isLiteral',
630
+ type: 'boolean',
631
+ default: false,
632
+ displayOptions: {
633
+ show: {
634
+ resource: ['application'],
635
+ operation: ['createEnv'],
636
+ },
637
+ },
638
+ description: 'Whether the environment variable is a literal that is not expanded',
639
+ },
640
+ {
641
+ displayName: 'Is Multiline',
642
+ name: 'isMultiline',
643
+ type: 'boolean',
644
+ default: false,
645
+ displayOptions: {
646
+ show: {
647
+ resource: ['application'],
648
+ operation: ['createEnv'],
649
+ },
650
+ },
651
+ description: 'Whether the environment variable spans multiple lines',
652
+ },
653
+ {
654
+ displayName: 'Is Shown Once',
655
+ name: 'isShownOnce',
656
+ type: 'boolean',
657
+ default: false,
658
+ displayOptions: {
659
+ show: {
660
+ resource: ['application'],
661
+ operation: ['createEnv'],
662
+ },
663
+ },
664
+ description: 'Whether the saved value is hidden in the Coolify UI and API responses',
665
+ },
666
+ {
667
+ displayName: 'The Coolify API resets the preview, literal, multiline and shown once flags of the variable when they are not part of the request. This is a known limitation of the endpoint, it does not support a partial update that preserves the flags',
668
+ name: 'updateEnvWarning',
669
+ type: 'notice',
670
+ typeOptions: {
671
+ width: 400,
672
+ },
673
+ default: '',
674
+ displayOptions: {
675
+ show: {
676
+ resource: ['application'],
677
+ operation: ['updateEnv'],
678
+ },
679
+ },
680
+ },
681
+ {
682
+ displayName: 'Application UUID',
683
+ name: 'applicationUuid',
684
+ type: 'string',
685
+ default: '',
686
+ required: true,
687
+ displayOptions: {
688
+ show: {
689
+ resource: ['application'],
690
+ operation: ['updateEnv'],
691
+ },
692
+ },
693
+ description: 'UUID of the application the environment variable belongs to',
694
+ },
695
+ {
696
+ displayName: 'Key',
697
+ name: 'key',
698
+ type: 'string',
699
+ default: '',
700
+ required: true,
701
+ displayOptions: {
702
+ show: {
703
+ resource: ['application'],
704
+ operation: ['updateEnv'],
705
+ },
706
+ },
707
+ description: 'Key of the environment variable to update. The Coolify API matches the variable by its key.',
708
+ },
709
+ {
710
+ displayName: 'Value',
711
+ name: 'value',
712
+ type: 'string',
713
+ typeOptions: {
714
+ password: true,
715
+ },
716
+ default: '',
717
+ required: true,
718
+ displayOptions: {
719
+ show: {
720
+ resource: ['application'],
721
+ operation: ['updateEnv'],
722
+ },
723
+ },
724
+ description: 'New value of the environment variable, it may contain a secret',
725
+ },
726
+ {
727
+ displayName: 'Is Preview',
728
+ name: 'isPreview',
729
+ type: 'boolean',
730
+ default: false,
731
+ displayOptions: {
732
+ show: {
733
+ resource: ['application'],
734
+ operation: ['updateEnv'],
735
+ },
736
+ },
737
+ description: 'Whether the environment variable is used in preview deployments',
738
+ },
739
+ {
740
+ displayName: 'Is Literal',
741
+ name: 'isLiteral',
742
+ type: 'boolean',
743
+ default: false,
744
+ displayOptions: {
745
+ show: {
746
+ resource: ['application'],
747
+ operation: ['updateEnv'],
748
+ },
749
+ },
750
+ description: 'Whether the environment variable is a literal that is not expanded',
751
+ },
752
+ {
753
+ displayName: 'Is Multiline',
754
+ name: 'isMultiline',
755
+ type: 'boolean',
756
+ default: false,
757
+ displayOptions: {
758
+ show: {
759
+ resource: ['application'],
760
+ operation: ['updateEnv'],
761
+ },
762
+ },
763
+ description: 'Whether the environment variable spans multiple lines',
764
+ },
765
+ {
766
+ displayName: 'Is Shown Once',
767
+ name: 'isShownOnce',
768
+ type: 'boolean',
769
+ default: false,
770
+ displayOptions: {
771
+ show: {
772
+ resource: ['application'],
773
+ operation: ['updateEnv'],
774
+ },
775
+ },
776
+ description: 'Whether the saved value is hidden in the Coolify UI and API responses',
777
+ },
778
+ {
779
+ displayName: 'Application UUID',
780
+ name: 'applicationUuid',
781
+ type: 'string',
782
+ default: '',
783
+ required: true,
784
+ displayOptions: {
785
+ show: {
786
+ resource: ['application'],
787
+ operation: ['deleteEnv'],
788
+ },
789
+ },
790
+ description: 'UUID of the application the environment variable belongs to',
791
+ },
792
+ {
793
+ displayName: 'Environment Variable UUID',
794
+ name: 'envUuid',
795
+ type: 'string',
796
+ default: '',
797
+ required: true,
798
+ displayOptions: {
799
+ show: {
800
+ resource: ['application'],
801
+ operation: ['deleteEnv'],
802
+ },
803
+ },
804
+ description: 'UUID of the environment variable to delete',
805
+ },
806
+ {
807
+ displayName: 'Application UUID',
808
+ name: 'applicationUuid',
809
+ type: 'string',
810
+ default: '',
811
+ required: true,
812
+ displayOptions: {
813
+ show: {
814
+ resource: ['application'],
815
+ operation: ['start'],
816
+ },
817
+ },
818
+ description: 'UUID of the application to start',
819
+ },
820
+ {
821
+ displayName: 'Force',
822
+ name: 'force',
823
+ type: 'boolean',
824
+ default: false,
825
+ displayOptions: {
826
+ show: {
827
+ resource: ['application'],
828
+ operation: ['start'],
829
+ },
830
+ },
831
+ description: 'Whether to force a rebuild of the application',
832
+ },
833
+ {
834
+ displayName: 'Instant Deploy',
835
+ name: 'instantDeploy',
836
+ type: 'boolean',
837
+ default: false,
838
+ displayOptions: {
839
+ show: {
840
+ resource: ['application'],
841
+ operation: ['start'],
842
+ },
843
+ },
844
+ description: 'Whether to skip the deployment queue',
845
+ },
846
+ {
847
+ displayName: 'Application UUID',
848
+ name: 'applicationUuid',
849
+ type: 'string',
850
+ default: '',
851
+ required: true,
852
+ displayOptions: {
853
+ show: {
854
+ resource: ['application'],
855
+ operation: ['stop'],
856
+ },
857
+ },
858
+ description: 'UUID of the application to stop',
859
+ },
860
+ {
861
+ displayName: 'Docker Cleanup',
862
+ name: 'dockerCleanup',
863
+ type: 'boolean',
864
+ default: true,
865
+ displayOptions: {
866
+ show: {
867
+ resource: ['application'],
868
+ operation: ['stop'],
869
+ },
870
+ },
871
+ description: 'Whether to run a Docker cleanup on the server when its disk usage is at or above the cleanup threshold',
872
+ },
873
+ {
874
+ displayName: 'The Coolify API resets the preview, literal, multiline and shown once flags of every updated variable when they are not part of the request. This is a known limitation of the endpoint, it does not support a partial update that preserves the flags',
875
+ name: 'updateEnvsBulkWarning',
876
+ type: 'notice',
877
+ typeOptions: {
878
+ width: 400,
879
+ },
880
+ default: '',
881
+ displayOptions: {
882
+ show: {
883
+ resource: ['application'],
884
+ operation: ['updateEnvsBulk'],
885
+ },
886
+ },
887
+ },
888
+ {
889
+ displayName: 'Application UUID',
890
+ name: 'applicationUuid',
891
+ type: 'string',
892
+ default: '',
893
+ required: true,
894
+ displayOptions: {
895
+ show: {
896
+ resource: ['application'],
897
+ operation: ['updateEnvsBulk'],
898
+ },
899
+ },
900
+ description: 'UUID of the application the environment variables belong to',
901
+ },
902
+ {
903
+ displayName: 'Environment Variables',
904
+ name: 'data',
905
+ type: 'collection',
906
+ typeOptions: {
907
+ multipleValues: true,
908
+ multipleValueButtonText: 'Add Environment Variable',
909
+ },
910
+ default: [],
911
+ displayOptions: {
912
+ show: {
913
+ resource: ['application'],
914
+ operation: ['updateEnvsBulk'],
915
+ },
916
+ },
917
+ description: 'The environment variables to update, the API creates the ones that do not exist yet',
918
+ options: [
919
+ {
920
+ displayName: 'Is Literal',
921
+ name: 'isLiteral',
922
+ type: 'boolean',
923
+ default: false,
924
+ description: 'Whether the environment variable is a literal that is not expanded',
925
+ },
926
+ {
927
+ displayName: 'Is Multiline',
928
+ name: 'isMultiline',
929
+ type: 'boolean',
930
+ default: false,
931
+ description: 'Whether the environment variable spans multiple lines',
932
+ },
933
+ {
934
+ displayName: 'Is Preview',
935
+ name: 'isPreview',
936
+ type: 'boolean',
937
+ default: false,
938
+ description: 'Whether the environment variable is used in preview deployments',
939
+ },
940
+ {
941
+ displayName: 'Is Shown Once',
942
+ name: 'isShownOnce',
943
+ type: 'boolean',
944
+ default: false,
945
+ description: 'Whether the saved value is hidden in the Coolify UI and API responses',
946
+ },
947
+ {
948
+ displayName: 'Key',
949
+ name: 'key',
950
+ type: 'string',
951
+ default: '',
952
+ description: 'Key of the environment variable, it must start with a letter or an underscore and may only contain letters, digits, underscores and dots',
953
+ },
954
+ {
955
+ displayName: 'Value',
956
+ name: 'value',
957
+ type: 'string',
958
+ typeOptions: {
959
+ password: true,
960
+ },
961
+ default: '',
962
+ description: 'Value of the environment variable, it may contain a secret',
963
+ },
964
+ ],
965
+ },
966
+ {
967
+ displayName: 'Application UUID',
968
+ name: 'applicationUuid',
969
+ type: 'string',
970
+ default: '',
971
+ required: true,
972
+ displayOptions: {
973
+ show: {
974
+ resource: ['application'],
975
+ operation: ['createStorage'],
976
+ },
977
+ },
978
+ description: 'UUID of the application the storage belongs to',
979
+ },
980
+ {
981
+ displayName: 'Type',
982
+ name: 'type',
983
+ type: 'options',
984
+ options: [
985
+ {
986
+ name: 'Persistent',
987
+ value: 'persistent',
988
+ },
989
+ {
990
+ name: 'File',
991
+ value: 'file',
992
+ },
993
+ ],
994
+ default: 'persistent',
995
+ required: true,
996
+ displayOptions: {
997
+ show: {
998
+ resource: ['application'],
999
+ operation: ['createStorage'],
1000
+ },
1001
+ },
1002
+ description: 'Kind of the storage, a volume or a mounted file',
1003
+ },
1004
+ {
1005
+ displayName: 'Mount Path',
1006
+ name: 'mountPath',
1007
+ type: 'string',
1008
+ default: '',
1009
+ required: true,
1010
+ displayOptions: {
1011
+ show: {
1012
+ resource: ['application'],
1013
+ operation: ['createStorage'],
1014
+ },
1015
+ },
1016
+ description: 'Path of the storage inside the container',
1017
+ },
1018
+ {
1019
+ displayName: 'Name',
1020
+ name: 'name',
1021
+ type: 'string',
1022
+ default: '',
1023
+ displayOptions: {
1024
+ show: {
1025
+ resource: ['application'],
1026
+ operation: ['createStorage'],
1027
+ type: ['persistent'],
1028
+ },
1029
+ },
1030
+ description: 'Name of the volume, it must start with a letter or a digit and may only contain letters, digits, dots, underscores and hyphens',
1031
+ },
1032
+ {
1033
+ displayName: 'Content',
1034
+ name: 'content',
1035
+ type: 'string',
1036
+ typeOptions: {
1037
+ rows: 4,
1038
+ },
1039
+ default: '',
1040
+ displayOptions: {
1041
+ show: {
1042
+ resource: ['application'],
1043
+ operation: ['createStorage'],
1044
+ type: ['file'],
1045
+ },
1046
+ },
1047
+ description: 'Content of the mounted file',
1048
+ },
1049
+ {
1050
+ displayName: 'Is Directory',
1051
+ name: 'isDirectory',
1052
+ type: 'boolean',
1053
+ default: false,
1054
+ displayOptions: {
1055
+ show: {
1056
+ resource: ['application'],
1057
+ operation: ['createStorage'],
1058
+ type: ['file'],
1059
+ },
1060
+ },
1061
+ description: 'Whether the storage mounts a directory instead of a file',
1062
+ },
1063
+ {
1064
+ displayName: 'Host Path',
1065
+ name: 'fsPath',
1066
+ type: 'string',
1067
+ default: '',
1068
+ displayOptions: {
1069
+ show: {
1070
+ resource: ['application'],
1071
+ operation: ['createStorage'],
1072
+ type: ['file'],
1073
+ },
1074
+ },
1075
+ description: 'Path on the server, required for a directory mount',
1076
+ },
1077
+ {
1078
+ displayName: 'Application UUID',
1079
+ name: 'applicationUuid',
1080
+ type: 'string',
1081
+ default: '',
1082
+ required: true,
1083
+ displayOptions: {
1084
+ show: {
1085
+ resource: ['application'],
1086
+ operation: ['updateStorage'],
1087
+ },
1088
+ },
1089
+ description: 'UUID of the application the storage belongs to',
1090
+ },
1091
+ {
1092
+ displayName: 'Storage UUID',
1093
+ name: 'storageUuid',
1094
+ type: 'string',
1095
+ default: '',
1096
+ required: true,
1097
+ displayOptions: {
1098
+ show: {
1099
+ resource: ['application'],
1100
+ operation: ['updateStorage'],
1101
+ },
1102
+ },
1103
+ description: 'UUID of the storage to update',
1104
+ },
1105
+ {
1106
+ displayName: 'Type',
1107
+ name: 'type',
1108
+ type: 'options',
1109
+ options: [
1110
+ {
1111
+ name: 'Persistent',
1112
+ value: 'persistent',
1113
+ },
1114
+ {
1115
+ name: 'File',
1116
+ value: 'file',
1117
+ },
1118
+ ],
1119
+ default: 'persistent',
1120
+ required: true,
1121
+ displayOptions: {
1122
+ show: {
1123
+ resource: ['application'],
1124
+ operation: ['updateStorage'],
1125
+ },
1126
+ },
1127
+ description: 'Kind of the storage, a volume or a mounted file',
1128
+ },
1129
+ {
1130
+ displayName: 'Is Preview Suffix Enabled',
1131
+ name: 'isPreviewSuffixEnabled',
1132
+ type: 'boolean',
1133
+ default: false,
1134
+ displayOptions: {
1135
+ show: {
1136
+ resource: ['application'],
1137
+ operation: ['updateStorage'],
1138
+ },
1139
+ },
1140
+ description: 'Whether a suffix is added to the storage for preview deployments',
1141
+ },
1142
+ {
1143
+ displayName: 'Name',
1144
+ name: 'name',
1145
+ type: 'string',
1146
+ default: '',
1147
+ displayOptions: {
1148
+ show: {
1149
+ resource: ['application'],
1150
+ operation: ['updateStorage'],
1151
+ type: ['persistent'],
1152
+ },
1153
+ },
1154
+ description: 'Name of the volume, it must start with a letter or a digit and may only contain letters, digits, dots, underscores and hyphens',
1155
+ },
1156
+ {
1157
+ displayName: 'Mount Path',
1158
+ name: 'mountPath',
1159
+ type: 'string',
1160
+ default: '',
1161
+ displayOptions: {
1162
+ show: {
1163
+ resource: ['application'],
1164
+ operation: ['updateStorage'],
1165
+ },
1166
+ },
1167
+ description: 'Path of the storage inside the container',
1168
+ },
1169
+ {
1170
+ displayName: 'Content',
1171
+ name: 'content',
1172
+ type: 'string',
1173
+ typeOptions: {
1174
+ rows: 4,
1175
+ },
1176
+ default: '',
1177
+ displayOptions: {
1178
+ show: {
1179
+ resource: ['application'],
1180
+ operation: ['updateStorage'],
1181
+ type: ['file'],
1182
+ },
1183
+ },
1184
+ description: 'Content of the mounted file',
1185
+ },
1186
+ {
1187
+ displayName: 'Application UUID',
1188
+ name: 'applicationUuid',
1189
+ type: 'string',
1190
+ default: '',
1191
+ required: true,
1192
+ displayOptions: {
1193
+ show: {
1194
+ resource: ['application'],
1195
+ operation: ['deleteStorage'],
1196
+ },
1197
+ },
1198
+ description: 'UUID of the application the storage belongs to',
1199
+ },
1200
+ {
1201
+ displayName: 'Storage UUID',
1202
+ name: 'storageUuid',
1203
+ type: 'string',
1204
+ default: '',
1205
+ required: true,
1206
+ displayOptions: {
1207
+ show: {
1208
+ resource: ['application'],
1209
+ operation: ['deleteStorage'],
1210
+ },
1211
+ },
1212
+ description: 'UUID of the storage to delete',
1213
+ },
1214
+ {
1215
+ displayName: 'Application UUID',
1216
+ name: 'applicationUuid',
1217
+ type: 'string',
1218
+ default: '',
1219
+ required: true,
1220
+ displayOptions: {
1221
+ show: {
1222
+ resource: ['application'],
1223
+ operation: ['addDestination'],
1224
+ },
1225
+ },
1226
+ description: 'UUID of the application the destination is attached to',
1227
+ },
1228
+ {
1229
+ displayName: 'Destination UUID',
1230
+ name: 'destinationUuid',
1231
+ type: 'string',
1232
+ default: '',
1233
+ required: true,
1234
+ displayOptions: {
1235
+ show: {
1236
+ resource: ['application'],
1237
+ operation: ['addDestination'],
1238
+ },
1239
+ },
1240
+ description: 'UUID of the destination to attach',
1241
+ },
1242
+ {
1243
+ displayName: 'Application UUID',
1244
+ name: 'applicationUuid',
1245
+ type: 'string',
1246
+ default: '',
1247
+ required: true,
1248
+ displayOptions: {
1249
+ show: {
1250
+ resource: ['application'],
1251
+ operation: ['removeDestination'],
1252
+ },
1253
+ },
1254
+ description: 'UUID of the application the destination is detached from',
1255
+ },
1256
+ {
1257
+ displayName: 'Destination UUID',
1258
+ name: 'destinationUuid',
1259
+ type: 'string',
1260
+ default: '',
1261
+ required: true,
1262
+ displayOptions: {
1263
+ show: {
1264
+ resource: ['application'],
1265
+ operation: ['removeDestination'],
1266
+ },
1267
+ },
1268
+ description: 'UUID of the destination to detach',
1269
+ },
1270
+ {
1271
+ displayName: 'Application UUID',
1272
+ name: 'applicationUuid',
1273
+ type: 'string',
1274
+ default: '',
1275
+ required: true,
1276
+ displayOptions: {
1277
+ show: {
1278
+ resource: ['application'],
1279
+ operation: ['restart'],
1280
+ },
1281
+ },
1282
+ description: 'UUID of the application to restart',
1283
+ },
1284
+ {
1285
+ displayName: 'The storage needs a backup schedule, the Coolify API rejects the request otherwise',
1286
+ name: 'runStorageBackupWarning',
1287
+ type: 'notice',
1288
+ typeOptions: {
1289
+ width: 400,
1290
+ },
1291
+ default: '',
1292
+ displayOptions: {
1293
+ show: {
1294
+ resource: ['application'],
1295
+ operation: ['runStorageBackup'],
1296
+ },
1297
+ },
1298
+ },
1299
+ {
1300
+ displayName: 'Application UUID',
1301
+ name: 'applicationUuid',
1302
+ type: 'string',
1303
+ default: '',
1304
+ required: true,
1305
+ displayOptions: {
1306
+ show: {
1307
+ resource: ['application'],
1308
+ operation: ['runStorageBackup'],
1309
+ },
1310
+ },
1311
+ description: 'UUID of the application the storage belongs to',
1312
+ },
1313
+ {
1314
+ displayName: 'Storage UUID',
1315
+ name: 'storageUuid',
1316
+ type: 'string',
1317
+ default: '',
1318
+ required: true,
1319
+ displayOptions: {
1320
+ show: {
1321
+ resource: ['application'],
1322
+ operation: ['runStorageBackup'],
1323
+ },
1324
+ },
1325
+ description: 'UUID of the storage to back up',
1326
+ },
1327
+ {
1328
+ displayName: 'The Coolify API replaces the whole schedule with the values of this form, so every value is sent. Editing an existing schedule resets the timeout and the missing backup notification days to the values shown here',
1329
+ name: 'setStorageBackupScheduleWarning',
1330
+ type: 'notice',
1331
+ typeOptions: {
1332
+ width: 400,
1333
+ },
1334
+ default: '',
1335
+ displayOptions: {
1336
+ show: {
1337
+ resource: ['application'],
1338
+ operation: ['setStorageBackupSchedule'],
1339
+ },
1340
+ },
1341
+ },
1342
+ {
1343
+ displayName: 'Application UUID',
1344
+ name: 'applicationUuid',
1345
+ type: 'string',
1346
+ default: '',
1347
+ required: true,
1348
+ displayOptions: {
1349
+ show: {
1350
+ resource: ['application'],
1351
+ operation: ['setStorageBackupSchedule'],
1352
+ },
1353
+ },
1354
+ description: 'UUID of the application the storage belongs to',
1355
+ },
1356
+ {
1357
+ displayName: 'Storage UUID',
1358
+ name: 'storageUuid',
1359
+ type: 'string',
1360
+ default: '',
1361
+ required: true,
1362
+ displayOptions: {
1363
+ show: {
1364
+ resource: ['application'],
1365
+ operation: ['setStorageBackupSchedule'],
1366
+ },
1367
+ },
1368
+ description: 'UUID of the storage to back up',
1369
+ },
1370
+ {
1371
+ displayName: 'Frequency',
1372
+ name: 'frequency',
1373
+ type: 'string',
1374
+ default: '',
1375
+ required: true,
1376
+ placeholder: '0 2 * * *',
1377
+ displayOptions: {
1378
+ show: {
1379
+ resource: ['application'],
1380
+ operation: ['setStorageBackupSchedule'],
1381
+ },
1382
+ },
1383
+ description: 'Schedule of the backup as a cron or a human expression, Coolify validates the expression',
1384
+ },
1385
+ ...(0, storageBackupScheduleFields_1.storageBackupScheduleDescription)(),
1386
+ {
1387
+ displayName: 'Deleting the backup schedule also deletes the existing local and S3 backup archives of the storage, and the request is rejected while a backup or a recovery is running',
1388
+ name: 'deleteStorageBackupScheduleWarning',
1389
+ type: 'notice',
1390
+ typeOptions: {
1391
+ width: 400,
1392
+ },
1393
+ default: '',
1394
+ displayOptions: {
1395
+ show: {
1396
+ resource: ['application'],
1397
+ operation: ['deleteStorageBackupSchedule'],
1398
+ },
1399
+ },
1400
+ },
1401
+ {
1402
+ displayName: 'Application UUID',
1403
+ name: 'applicationUuid',
1404
+ type: 'string',
1405
+ default: '',
1406
+ required: true,
1407
+ displayOptions: {
1408
+ show: {
1409
+ resource: ['application'],
1410
+ operation: ['deleteStorageBackupSchedule'],
1411
+ },
1412
+ },
1413
+ description: 'UUID of the application the storage belongs to',
1414
+ },
1415
+ {
1416
+ displayName: 'Storage UUID',
1417
+ name: 'storageUuid',
1418
+ type: 'string',
1419
+ default: '',
1420
+ required: true,
1421
+ displayOptions: {
1422
+ show: {
1423
+ resource: ['application'],
1424
+ operation: ['deleteStorageBackupSchedule'],
1425
+ },
1426
+ },
1427
+ description: 'UUID of the storage the backup schedule belongs to',
1428
+ },
1429
+ {
1430
+ displayName: 'Application UUID',
1431
+ name: 'applicationUuid',
1432
+ type: 'string',
1433
+ default: '',
1434
+ required: true,
1435
+ displayOptions: {
1436
+ show: {
1437
+ resource: ['application'],
1438
+ operation: ['createPreviewDeployment'],
1439
+ },
1440
+ },
1441
+ description: 'UUID of the application the preview deployment is created for',
1442
+ },
1443
+ {
1444
+ displayName: 'Pull Request ID',
1445
+ name: 'pullRequestId',
1446
+ type: 'number',
1447
+ typeOptions: {
1448
+ minValue: 1,
1449
+ maxValue: 2147483647,
1450
+ },
1451
+ default: 0,
1452
+ required: true,
1453
+ displayOptions: {
1454
+ show: {
1455
+ resource: ['application'],
1456
+ operation: ['createPreviewDeployment'],
1457
+ },
1458
+ },
1459
+ description: 'ID of the pull request the preview deployment belongs to',
1460
+ },
1461
+ {
1462
+ displayName: 'Pull Request URL',
1463
+ name: 'pullRequestHtmlUrl',
1464
+ type: 'string',
1465
+ default: '',
1466
+ displayOptions: {
1467
+ show: {
1468
+ resource: ['application'],
1469
+ operation: ['createPreviewDeployment'],
1470
+ },
1471
+ },
1472
+ description: 'URL of the pull request, Coolify validates the URL',
1473
+ },
1474
+ {
1475
+ displayName: 'Git Type',
1476
+ name: 'gitType',
1477
+ type: 'options',
1478
+ options: [
1479
+ {
1480
+ name: 'Bitbucket',
1481
+ value: 'bitbucket',
1482
+ },
1483
+ {
1484
+ name: 'Gitea',
1485
+ value: 'gitea',
1486
+ },
1487
+ {
1488
+ name: 'GitHub',
1489
+ value: 'github',
1490
+ },
1491
+ {
1492
+ name: 'GitLab',
1493
+ value: 'gitlab',
1494
+ },
1495
+ {
1496
+ name: 'None',
1497
+ value: '',
1498
+ },
1499
+ ],
1500
+ default: '',
1501
+ displayOptions: {
1502
+ show: {
1503
+ resource: ['application'],
1504
+ operation: ['createPreviewDeployment'],
1505
+ },
1506
+ },
1507
+ description: 'Git provider that hosts the pull request. Required for an application that has no GitHub or GitLab App source.',
1508
+ },
1509
+ {
1510
+ displayName: 'Commit',
1511
+ name: 'commit',
1512
+ type: 'string',
1513
+ default: '',
1514
+ displayOptions: {
1515
+ show: {
1516
+ resource: ['application'],
1517
+ operation: ['createPreviewDeployment'],
1518
+ },
1519
+ },
1520
+ description: 'Commit SHA that is deployed, required for a Bitbucket pull request',
1521
+ },
1522
+ {
1523
+ displayName: 'Docker Tag',
1524
+ name: 'dockerTag',
1525
+ type: 'string',
1526
+ default: '',
1527
+ displayOptions: {
1528
+ show: {
1529
+ resource: ['application'],
1530
+ operation: ['createPreviewDeployment'],
1531
+ },
1532
+ },
1533
+ description: 'Tag of the Docker image that is deployed. Only for an application that is built from a Docker image.',
1534
+ },
1535
+ {
1536
+ displayName: 'Force',
1537
+ name: 'force',
1538
+ type: 'boolean',
1539
+ default: false,
1540
+ displayOptions: {
1541
+ show: {
1542
+ resource: ['application'],
1543
+ operation: ['createPreviewDeployment'],
1544
+ },
1545
+ },
1546
+ description: 'Whether the preview deployment is rebuilt without the build cache',
1547
+ },
1548
+ {
1549
+ displayName: 'Instant Deploy',
1550
+ name: 'instantDeploy',
1551
+ type: 'boolean',
1552
+ default: true,
1553
+ displayOptions: {
1554
+ show: {
1555
+ resource: ['application'],
1556
+ operation: ['createPreviewDeployment'],
1557
+ },
1558
+ },
1559
+ description: 'Whether the deployment is queued. Switch it off to only create the preview, for example to set its domains first.',
1560
+ },
1561
+ {
1562
+ displayName: 'Deleting a preview deployment cancels its running deployments, stops its containers and removes its volumes and networks',
1563
+ name: 'deletePreviewDeploymentWarning',
1564
+ type: 'notice',
1565
+ typeOptions: {
1566
+ width: 400,
1567
+ },
1568
+ default: '',
1569
+ displayOptions: {
1570
+ show: {
1571
+ resource: ['application'],
1572
+ operation: ['deletePreviewDeployment'],
1573
+ },
1574
+ },
1575
+ },
1576
+ {
1577
+ displayName: 'Application UUID',
1578
+ name: 'applicationUuid',
1579
+ type: 'string',
1580
+ default: '',
1581
+ required: true,
1582
+ displayOptions: {
1583
+ show: {
1584
+ resource: ['application'],
1585
+ operation: ['deletePreviewDeployment'],
1586
+ },
1587
+ },
1588
+ description: 'UUID of the application the preview deployment belongs to',
1589
+ },
1590
+ {
1591
+ displayName: 'Pull Request ID',
1592
+ name: 'pullRequestId',
1593
+ type: 'number',
1594
+ typeOptions: {
1595
+ minValue: 1,
1596
+ maxValue: 2147483647,
1597
+ },
1598
+ default: 0,
1599
+ required: true,
1600
+ displayOptions: {
1601
+ show: {
1602
+ resource: ['application'],
1603
+ operation: ['deletePreviewDeployment'],
1604
+ },
1605
+ },
1606
+ description: 'ID of the pull request the preview deployment belongs to',
1607
+ },
1608
+ {
1609
+ displayName: 'The Coolify API replaces the domains of the preview deployment, the current domains are not read and kept. The mode decides which kind of application the request is for, and the API rejects a request of the other kind',
1610
+ name: 'updatePreviewDomainsWarning',
1611
+ type: 'notice',
1612
+ typeOptions: {
1613
+ width: 400,
1614
+ },
1615
+ default: '',
1616
+ displayOptions: {
1617
+ show: {
1618
+ resource: ['application'],
1619
+ operation: ['updatePreviewDomains'],
1620
+ },
1621
+ },
1622
+ },
1623
+ {
1624
+ displayName: 'Application UUID',
1625
+ name: 'applicationUuid',
1626
+ type: 'string',
1627
+ default: '',
1628
+ required: true,
1629
+ displayOptions: {
1630
+ show: {
1631
+ resource: ['application'],
1632
+ operation: ['updatePreviewDomains'],
1633
+ },
1634
+ },
1635
+ description: 'UUID of the application the preview deployment belongs to',
1636
+ },
1637
+ {
1638
+ displayName: 'Pull Request ID',
1639
+ name: 'pullRequestId',
1640
+ type: 'number',
1641
+ typeOptions: {
1642
+ minValue: 1,
1643
+ maxValue: 2147483647,
1644
+ },
1645
+ default: 0,
1646
+ required: true,
1647
+ displayOptions: {
1648
+ show: {
1649
+ resource: ['application'],
1650
+ operation: ['updatePreviewDomains'],
1651
+ },
1652
+ },
1653
+ description: 'ID of the pull request the preview deployment belongs to',
1654
+ },
1655
+ {
1656
+ displayName: 'Mode',
1657
+ name: 'mode',
1658
+ type: 'options',
1659
+ options: [
1660
+ {
1661
+ name: 'Application Domains',
1662
+ value: 'application',
1663
+ },
1664
+ {
1665
+ name: 'Docker Compose Service Domains',
1666
+ value: 'dockerCompose',
1667
+ },
1668
+ ],
1669
+ default: 'application',
1670
+ required: true,
1671
+ displayOptions: {
1672
+ show: {
1673
+ resource: ['application'],
1674
+ operation: ['updatePreviewDomains'],
1675
+ },
1676
+ },
1677
+ description: 'Kind of application the preview deployment belongs to. Use the Docker Compose mode for an application that is built from a Docker Compose file.',
1678
+ },
1679
+ {
1680
+ displayName: 'Domains',
1681
+ name: 'domains',
1682
+ type: 'string',
1683
+ default: '',
1684
+ placeholder: 'https://preview.example.com',
1685
+ displayOptions: {
1686
+ show: {
1687
+ resource: ['application'],
1688
+ operation: ['updatePreviewDomains'],
1689
+ mode: ['application'],
1690
+ removeDomains: [false],
1691
+ },
1692
+ },
1693
+ description: 'Comma-separated list of the URLs of the preview deployment',
1694
+ },
1695
+ {
1696
+ displayName: 'Remove Domains',
1697
+ name: 'removeDomains',
1698
+ type: 'boolean',
1699
+ default: false,
1700
+ displayOptions: {
1701
+ show: {
1702
+ resource: ['application'],
1703
+ operation: ['updatePreviewDomains'],
1704
+ mode: ['application'],
1705
+ },
1706
+ },
1707
+ description: 'Whether the current domains of the preview deployment are removed',
1708
+ },
1709
+ {
1710
+ displayName: 'Docker Compose Domains',
1711
+ name: 'dockerComposeDomains',
1712
+ type: 'collection',
1713
+ typeOptions: {
1714
+ multipleValues: true,
1715
+ multipleValueButtonText: 'Add Service Domain',
1716
+ },
1717
+ default: [],
1718
+ displayOptions: {
1719
+ show: {
1720
+ resource: ['application'],
1721
+ operation: ['updatePreviewDomains'],
1722
+ mode: ['dockerCompose'],
1723
+ },
1724
+ },
1725
+ description: 'Domains per Docker Compose service. The API removes the domain of every service that is not listed here.',
1726
+ options: [
1727
+ {
1728
+ displayName: 'Domain',
1729
+ name: 'domain',
1730
+ type: 'string',
1731
+ default: '',
1732
+ description: 'URL of the domain of the service',
1733
+ },
1734
+ {
1735
+ displayName: 'Name',
1736
+ name: 'name',
1737
+ type: 'string',
1738
+ default: '',
1739
+ description: 'Name of the Docker Compose service the domain belongs to',
1740
+ },
1741
+ {
1742
+ displayName: 'Redirect',
1743
+ name: 'redirect',
1744
+ type: 'options',
1745
+ options: [
1746
+ {
1747
+ name: 'No Redirect',
1748
+ value: '',
1749
+ },
1750
+ {
1751
+ name: 'WWW',
1752
+ value: 'www',
1753
+ },
1754
+ {
1755
+ name: 'Non WWW',
1756
+ value: 'non-www',
1757
+ },
1758
+ {
1759
+ name: 'Both',
1760
+ value: 'both',
1761
+ },
1762
+ ],
1763
+ default: '',
1764
+ description: 'How the redirect between the domain with and without www is set',
1765
+ },
1766
+ ],
1767
+ },
1768
+ {
1769
+ displayName: 'Force Domain Override',
1770
+ name: 'forceDomainOverride',
1771
+ type: 'boolean',
1772
+ default: false,
1773
+ displayOptions: {
1774
+ show: {
1775
+ resource: ['application'],
1776
+ operation: ['updatePreviewDomains'],
1777
+ },
1778
+ },
1779
+ description: 'Whether the domains are used even when a conflict with another resource is detected',
1780
+ },
1781
+ {
1782
+ displayName: 'Application UUID',
1783
+ name: 'applicationUuid',
1784
+ type: 'string',
1785
+ default: '',
1786
+ required: true,
1787
+ displayOptions: {
1788
+ show: {
1789
+ resource: ['application'],
1790
+ operation: ['getLogs'],
1791
+ },
1792
+ },
1793
+ description: 'UUID of the application the logs belong to',
1794
+ },
1795
+ {
1796
+ displayName: 'Lines',
1797
+ name: 'lines',
1798
+ type: 'string',
1799
+ default: '',
1800
+ placeholder: '100 or all',
1801
+ displayOptions: {
1802
+ show: {
1803
+ resource: ['application'],
1804
+ operation: ['getLogs'],
1805
+ },
1806
+ },
1807
+ description: 'Number of lines to show from the end of the log, or all. The API shows the last 100 lines when the field is empty.',
1808
+ },
1809
+ {
1810
+ displayName: 'Show Timestamps',
1811
+ name: 'showTimestamps',
1812
+ type: 'boolean',
1813
+ default: false,
1814
+ displayOptions: {
1815
+ show: {
1816
+ resource: ['application'],
1817
+ operation: ['getLogs'],
1818
+ },
1819
+ },
1820
+ description: 'Whether the lines of the log show their timestamps',
1821
+ },
1822
+ {
1823
+ displayName: 'Service Name',
1824
+ name: 'serviceName',
1825
+ type: 'string',
1826
+ default: '',
1827
+ displayOptions: {
1828
+ show: {
1829
+ resource: ['application'],
1830
+ operation: ['getLogs'],
1831
+ },
1832
+ },
1833
+ description: 'Name of the Docker Compose service the log is read from. The API answers 404 when no running container matches the name.',
1834
+ },
1835
+ {
1836
+ displayName: 'Application UUID',
1837
+ name: 'applicationUuid',
1838
+ type: 'string',
1839
+ default: '',
1840
+ required: true,
1841
+ displayOptions: {
1842
+ show: {
1843
+ resource: ['application'],
1844
+ operation: ['getPreviewLogs'],
1845
+ },
1846
+ },
1847
+ description: 'UUID of the application the preview deployment belongs to',
1848
+ },
1849
+ {
1850
+ displayName: 'Pull Request ID',
1851
+ name: 'pullRequestId',
1852
+ type: 'number',
1853
+ typeOptions: {
1854
+ minValue: 1,
1855
+ maxValue: 2147483647,
1856
+ },
1857
+ default: 0,
1858
+ required: true,
1859
+ displayOptions: {
1860
+ show: {
1861
+ resource: ['application'],
1862
+ operation: ['getPreviewLogs'],
1863
+ },
1864
+ },
1865
+ description: 'ID of the pull request the preview deployment belongs to',
1866
+ },
1867
+ {
1868
+ displayName: 'Lines',
1869
+ name: 'lines',
1870
+ type: 'string',
1871
+ default: '',
1872
+ placeholder: '100 or all',
1873
+ displayOptions: {
1874
+ show: {
1875
+ resource: ['application'],
1876
+ operation: ['getPreviewLogs'],
1877
+ },
1878
+ },
1879
+ description: 'Number of lines to show from the end of the log, or all. The API shows the last 100 lines when the field is empty.',
1880
+ },
1881
+ {
1882
+ displayName: 'Show Timestamps',
1883
+ name: 'showTimestamps',
1884
+ type: 'boolean',
1885
+ default: false,
1886
+ displayOptions: {
1887
+ show: {
1888
+ resource: ['application'],
1889
+ operation: ['getPreviewLogs'],
1890
+ },
1891
+ },
1892
+ description: 'Whether the lines of the log show their timestamps',
1893
+ },
1894
+ {
1895
+ displayName: 'Service Name',
1896
+ name: 'serviceName',
1897
+ type: 'string',
1898
+ default: '',
1899
+ displayOptions: {
1900
+ show: {
1901
+ resource: ['application'],
1902
+ operation: ['getPreviewLogs'],
1903
+ },
1904
+ },
1905
+ description: 'Name of the Docker Compose service the log is read from. The API answers 404 when no running container matches the name.',
1906
+ },
1907
+ {
1908
+ displayName: 'Application UUID',
1909
+ name: 'applicationUuid',
1910
+ type: 'string',
1911
+ default: '',
1912
+ required: true,
1913
+ displayOptions: {
1914
+ show: {
1915
+ resource: ['application'],
1916
+ operation: ['clone'],
1917
+ },
1918
+ },
1919
+ description: 'UUID of the application to clone',
1920
+ },
1921
+ {
1922
+ displayName: 'Destination UUID',
1923
+ name: 'destinationUuid',
1924
+ type: 'string',
1925
+ default: '',
1926
+ required: true,
1927
+ displayOptions: {
1928
+ show: {
1929
+ resource: ['application'],
1930
+ operation: ['clone'],
1931
+ },
1932
+ },
1933
+ description: 'UUID of the destination the application is cloned into',
1934
+ },
1935
+ {
1936
+ displayName: 'Name',
1937
+ name: 'name',
1938
+ type: 'string',
1939
+ default: '',
1940
+ displayOptions: {
1941
+ show: {
1942
+ resource: ['application'],
1943
+ operation: ['clone'],
1944
+ },
1945
+ },
1946
+ description: 'Name of the cloned application. The API keeps the name of the source application when it is left empty.',
1947
+ },
1948
+ {
1949
+ displayName: 'Clone Volumes',
1950
+ name: 'cloneVolumes',
1951
+ type: 'boolean',
1952
+ default: false,
1953
+ displayOptions: {
1954
+ show: {
1955
+ resource: ['application'],
1956
+ operation: ['clone'],
1957
+ },
1958
+ },
1959
+ description: 'Whether the data of the volumes is copied to the cloned application',
1960
+ },
1961
+ {
1962
+ displayName: 'Migrating stops the application, transfers the volume data only when both servers are managed by Coolify, and needs a deployment of the application after it completes',
1963
+ name: 'migrateNotice',
1964
+ type: 'notice',
1965
+ typeOptions: {
1966
+ width: 400,
1967
+ },
1968
+ default: '',
1969
+ displayOptions: {
1970
+ show: {
1971
+ resource: ['application'],
1972
+ operation: ['migrate'],
1973
+ },
1974
+ },
1975
+ },
1976
+ {
1977
+ displayName: 'Application UUID',
1978
+ name: 'applicationUuid',
1979
+ type: 'string',
1980
+ default: '',
1981
+ required: true,
1982
+ displayOptions: {
1983
+ show: {
1984
+ resource: ['application'],
1985
+ operation: ['migrate'],
1986
+ },
1987
+ },
1988
+ description: 'UUID of the application to migrate',
1989
+ },
1990
+ {
1991
+ displayName: 'Destination UUID',
1992
+ name: 'destinationUuid',
1993
+ type: 'string',
1994
+ default: '',
1995
+ required: true,
1996
+ displayOptions: {
1997
+ show: {
1998
+ resource: ['application'],
1999
+ operation: ['migrate'],
2000
+ },
2001
+ },
2002
+ description: 'UUID of the destination the application is migrated to',
2003
+ },
2004
+ {
2005
+ displayName: 'Migrate Volumes',
2006
+ name: 'migrateVolumes',
2007
+ type: 'boolean',
2008
+ default: true,
2009
+ displayOptions: {
2010
+ show: {
2011
+ resource: ['application'],
2012
+ operation: ['migrate'],
2013
+ },
2014
+ },
2015
+ description: 'Whether the data of the volumes is transferred to the destination. It only works when both servers are managed by Coolify.',
2016
+ },
2017
+ {
2018
+ displayName: 'Application UUID',
2019
+ name: 'applicationUuid',
2020
+ type: 'string',
2021
+ default: '',
2022
+ required: true,
2023
+ displayOptions: {
2024
+ show: {
2025
+ resource: ['application'],
2026
+ operation: ['move'],
2027
+ },
2028
+ },
2029
+ description: 'UUID of the application to move',
2030
+ },
2031
+ {
2032
+ displayName: 'Environment UUID',
2033
+ name: 'environmentUuid',
2034
+ type: 'string',
2035
+ default: '',
2036
+ required: true,
2037
+ displayOptions: {
2038
+ show: {
2039
+ resource: ['application'],
2040
+ operation: ['move'],
2041
+ },
2042
+ },
2043
+ description: 'UUID of the environment the application is moved to',
2044
+ },
2045
+ {
2046
+ displayName: 'Application UUID',
2047
+ name: 'applicationUuid',
2048
+ type: 'string',
2049
+ default: '',
2050
+ required: true,
2051
+ displayOptions: {
2052
+ show: {
2053
+ resource: ['application'],
2054
+ operation: ['rollback'],
2055
+ },
2056
+ },
2057
+ description: 'UUID of the application to roll back',
2058
+ },
2059
+ {
2060
+ displayName: 'Commit',
2061
+ name: 'commit',
2062
+ type: 'string',
2063
+ default: '',
2064
+ required: true,
2065
+ displayOptions: {
2066
+ show: {
2067
+ resource: ['application'],
2068
+ operation: ['rollback'],
2069
+ },
2070
+ },
2071
+ description: 'Image tag or commit the application is rolled back to',
2072
+ },
2073
+ {
2074
+ displayName: 'The update only changes the settings that are filled in. The domains are replaced by the given list, and a Docker Compose application needs its domains per service instead',
2075
+ name: 'updateNotice',
2076
+ type: 'notice',
2077
+ typeOptions: {
2078
+ width: 400,
2079
+ },
2080
+ default: '',
2081
+ displayOptions: {
2082
+ show: {
2083
+ resource: ['application'],
2084
+ operation: ['update'],
2085
+ },
2086
+ },
2087
+ },
2088
+ {
2089
+ displayName: 'Application UUID',
2090
+ name: 'applicationUuid',
2091
+ type: 'string',
2092
+ default: '',
2093
+ required: true,
2094
+ displayOptions: {
2095
+ show: {
2096
+ resource: ['application'],
2097
+ operation: ['update'],
2098
+ },
2099
+ },
2100
+ description: 'UUID of the application to update',
2101
+ },
2102
+ {
2103
+ displayName: 'Remove Domains',
2104
+ name: 'removeDomains',
2105
+ type: 'boolean',
2106
+ default: false,
2107
+ displayOptions: {
2108
+ show: {
2109
+ resource: ['application'],
2110
+ operation: ['update'],
2111
+ },
2112
+ },
2113
+ description: 'Whether the current domains of the application are removed. The API only removes them when the server runs a proxy.',
2114
+ },
2115
+ ...(0, applicationUpdateFields_1.applicationUpdateDescription)(),
2116
+ ...(0, applicationCreateFields_1.applicationCreateDescription)(),
2117
+ ];
2118
+ //# sourceMappingURL=ApplicationDescription.js.map