@remnawave/backend-contract 2.0.0-alpha.8 → 2.0.0

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 (280) hide show
  1. package/build/backend/api/controllers/auth.d.ts +2 -0
  2. package/build/backend/api/controllers/auth.d.ts.map +1 -1
  3. package/build/backend/api/controllers/auth.js +2 -0
  4. package/build/backend/api/controllers/index.d.ts +1 -0
  5. package/build/backend/api/controllers/index.d.ts.map +1 -1
  6. package/build/backend/api/controllers/index.js +1 -0
  7. package/build/backend/api/controllers/infra-billing.d.ts +16 -0
  8. package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
  9. package/build/backend/api/controllers/infra-billing.js +18 -0
  10. package/build/backend/api/controllers/internal-squads.d.ts +4 -0
  11. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  12. package/build/backend/api/controllers/internal-squads.js +5 -0
  13. package/build/backend/api/controllers/subscription.d.ts +1 -0
  14. package/build/backend/api/controllers/subscription.d.ts.map +1 -1
  15. package/build/backend/api/controllers/subscription.js +1 -0
  16. package/build/backend/api/controllers/system.d.ts +1 -0
  17. package/build/backend/api/controllers/system.d.ts.map +1 -1
  18. package/build/backend/api/controllers/system.js +1 -0
  19. package/build/backend/api/routes.d.ts +22 -0
  20. package/build/backend/api/routes.d.ts.map +1 -1
  21. package/build/backend/api/routes.js +22 -0
  22. package/build/backend/commands/api-tokens/create.command.d.ts +0 -3
  23. package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
  24. package/build/backend/commands/api-tokens/create.command.js +0 -1
  25. package/build/backend/commands/api-tokens/find.command.d.ts +0 -7
  26. package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
  27. package/build/backend/commands/auth/get-status.command.d.ts +23 -0
  28. package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
  29. package/build/backend/commands/auth/get-status.command.js +3 -0
  30. package/build/backend/commands/auth/oauth2/authorize.command.d.ts +36 -0
  31. package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -0
  32. package/build/backend/commands/auth/oauth2/authorize.command.js +20 -0
  33. package/build/backend/commands/auth/oauth2/callback.command.d.ts +43 -0
  34. package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -0
  35. package/build/backend/commands/auth/oauth2/callback.command.js +22 -0
  36. package/build/backend/commands/auth/oauth2/index.d.ts +2 -0
  37. package/build/backend/commands/auth/oauth2/index.d.ts.map +1 -1
  38. package/build/backend/commands/auth/oauth2/index.js +2 -0
  39. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  40. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +31 -10
  41. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  42. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +31 -10
  43. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  44. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +31 -10
  45. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  46. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +31 -10
  47. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  48. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +31 -10
  49. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  50. package/build/backend/commands/hosts/create.command.d.ts +52 -19
  51. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  52. package/build/backend/commands/hosts/create.command.js +13 -13
  53. package/build/backend/commands/hosts/get-all.command.d.ts +31 -10
  54. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  55. package/build/backend/commands/hosts/get-one.command.d.ts +31 -10
  56. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  57. package/build/backend/commands/hosts/reorder.command.d.ts +11 -2
  58. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  59. package/build/backend/commands/hosts/update.command.d.ts +63 -21
  60. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  61. package/build/backend/commands/hosts/update.command.js +10 -11
  62. package/build/backend/commands/index.d.ts +1 -0
  63. package/build/backend/commands/index.d.ts.map +1 -1
  64. package/build/backend/commands/index.js +1 -0
  65. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
  66. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
  67. package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
  68. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
  69. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
  70. package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
  71. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +123 -0
  72. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
  73. package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
  74. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
  75. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
  76. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  77. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
  78. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
  79. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  80. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
  81. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
  82. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  83. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
  84. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
  85. package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
  86. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
  87. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
  88. package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  89. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
  90. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
  91. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  92. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
  93. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
  94. package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
  95. package/build/backend/commands/infra-billing/index.d.ts +13 -0
  96. package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
  97. package/build/backend/commands/infra-billing/index.js +28 -0
  98. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
  99. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
  100. package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
  101. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
  102. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
  103. package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
  104. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
  105. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
  106. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  107. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
  108. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
  109. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  110. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
  111. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
  112. package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
  113. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  114. package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
  115. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
  116. package/build/backend/commands/internal-squads/index.d.ts +2 -1
  117. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  118. package/build/backend/commands/internal-squads/index.js +2 -1
  119. package/build/backend/commands/nodes/actions/disable.command.d.ts +166 -68
  120. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  121. package/build/backend/commands/nodes/actions/enable.command.d.ts +166 -68
  122. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  123. package/build/backend/commands/nodes/actions/reorder.command.d.ts +240 -92
  124. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  125. package/build/backend/commands/nodes/create.command.d.ts +187 -74
  126. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  127. package/build/backend/commands/nodes/create.command.js +7 -4
  128. package/build/backend/commands/nodes/get-all.command.d.ts +166 -68
  129. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  130. package/build/backend/commands/nodes/get-one.command.d.ts +166 -68
  131. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  132. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  133. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  134. package/build/backend/commands/nodes/update.command.d.ts +261 -98
  135. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  136. package/build/backend/commands/nodes/update.command.js +9 -4
  137. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts +354 -0
  138. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -0
  139. package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +67 -0
  140. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +4 -4
  141. package/build/backend/commands/subscription/index.d.ts +1 -0
  142. package/build/backend/commands/subscription/index.d.ts.map +1 -1
  143. package/build/backend/commands/subscription/index.js +1 -0
  144. package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +6 -6
  145. package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +4 -4
  146. package/build/backend/commands/system/get-nodes-metrics.command.d.ts +153 -0
  147. package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -0
  148. package/build/backend/commands/system/get-nodes-metrics.command.js +33 -0
  149. package/build/backend/commands/system/index.d.ts +1 -0
  150. package/build/backend/commands/system/index.d.ts.map +1 -1
  151. package/build/backend/commands/system/index.js +1 -0
  152. package/build/backend/commands/users/create-user.command.d.ts +6 -6
  153. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  154. package/build/backend/commands/users/create-user.command.js +2 -4
  155. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  156. package/build/backend/constants/errors/errors.d.ts +115 -0
  157. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  158. package/build/backend/constants/errors/errors.js +115 -0
  159. package/build/backend/constants/events/events.d.ts +11 -0
  160. package/build/backend/constants/events/events.d.ts.map +1 -1
  161. package/build/backend/constants/events/events.js +10 -0
  162. package/build/backend/constants/headers/headers.constants.d.ts +3 -0
  163. package/build/backend/constants/headers/headers.constants.d.ts.map +1 -0
  164. package/build/backend/constants/headers/headers.constants.js +5 -0
  165. package/build/backend/constants/headers/index.d.ts +2 -0
  166. package/build/backend/constants/headers/index.d.ts.map +1 -0
  167. package/build/backend/constants/headers/index.js +17 -0
  168. package/build/backend/constants/index.d.ts +3 -0
  169. package/build/backend/constants/index.d.ts.map +1 -1
  170. package/build/backend/constants/index.js +3 -0
  171. package/build/backend/constants/messaging/index.d.ts +2 -0
  172. package/build/backend/constants/messaging/index.d.ts.map +1 -0
  173. package/build/backend/constants/messaging/index.js +17 -0
  174. package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
  175. package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
  176. package/build/backend/constants/messaging/messaging.constants.js +19 -0
  177. package/build/backend/constants/metrics/metric-names.constant.d.ts +17 -0
  178. package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
  179. package/build/backend/constants/metrics/metric-names.constant.js +17 -0
  180. package/build/backend/constants/oauth2/index.d.ts +2 -0
  181. package/build/backend/constants/oauth2/index.d.ts.map +1 -0
  182. package/build/backend/constants/oauth2/index.js +17 -0
  183. package/build/backend/constants/oauth2/providers.contants.d.ts +9 -0
  184. package/build/backend/constants/oauth2/providers.contants.d.ts.map +1 -0
  185. package/build/backend/constants/oauth2/providers.contants.js +9 -0
  186. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  187. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  188. package/build/backend/constants/templates/template-keys.js +1 -0
  189. package/build/backend/models/api-tokens.schema.d.ts +0 -3
  190. package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
  191. package/build/backend/models/api-tokens.schema.js +0 -1
  192. package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
  193. package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
  194. package/build/backend/models/hosts.schema.d.ts +21 -6
  195. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  196. package/build/backend/models/hosts.schema.js +5 -2
  197. package/build/backend/models/index.d.ts +5 -1
  198. package/build/backend/models/index.d.ts.map +1 -1
  199. package/build/backend/models/index.js +5 -1
  200. package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
  201. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  202. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  203. package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
  204. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
  205. package/build/backend/models/infra-billing-history-record.schema.js +19 -0
  206. package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
  207. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  208. package/build/backend/models/infra-billing-node.schema.js +34 -0
  209. package/build/backend/models/infra-provider.schema.d.ts +87 -0
  210. package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
  211. package/build/backend/models/infra-provider.schema.js +41 -0
  212. package/build/backend/models/nodes.schema.d.ts +120 -46
  213. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  214. package/build/backend/models/nodes.schema.js +8 -2
  215. package/build/frontend/api/controllers/auth.js +2 -0
  216. package/build/frontend/api/controllers/index.js +1 -0
  217. package/build/frontend/api/controllers/infra-billing.js +18 -0
  218. package/build/frontend/api/controllers/internal-squads.js +5 -0
  219. package/build/frontend/api/controllers/subscription.js +1 -0
  220. package/build/frontend/api/controllers/system.js +1 -0
  221. package/build/frontend/api/routes.js +22 -0
  222. package/build/frontend/commands/api-tokens/create.command.js +0 -1
  223. package/build/frontend/commands/auth/get-status.command.js +3 -0
  224. package/build/frontend/commands/auth/oauth2/authorize.command.js +20 -0
  225. package/build/frontend/commands/auth/oauth2/callback.command.js +22 -0
  226. package/build/frontend/commands/auth/oauth2/index.js +2 -0
  227. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  228. package/build/frontend/commands/hosts/create.command.js +13 -13
  229. package/build/frontend/commands/hosts/update.command.js +10 -11
  230. package/build/frontend/commands/index.js +1 -0
  231. package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
  232. package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
  233. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
  234. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  235. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  236. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  237. package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
  238. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  239. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  240. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
  241. package/build/frontend/commands/infra-billing/index.js +28 -0
  242. package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
  243. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
  244. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  245. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  246. package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
  247. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  248. package/build/frontend/commands/internal-squads/index.js +2 -1
  249. package/build/frontend/commands/nodes/create.command.js +7 -4
  250. package/build/frontend/commands/nodes/update.command.js +9 -4
  251. package/build/frontend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +67 -0
  252. package/build/frontend/commands/subscription/index.js +1 -0
  253. package/build/frontend/commands/system/get-nodes-metrics.command.js +33 -0
  254. package/build/frontend/commands/system/index.js +1 -0
  255. package/build/frontend/commands/users/create-user.command.js +2 -4
  256. package/build/frontend/constants/errors/errors.js +115 -0
  257. package/build/frontend/constants/events/events.js +10 -0
  258. package/build/frontend/constants/headers/headers.constants.js +5 -0
  259. package/build/frontend/constants/headers/index.js +17 -0
  260. package/build/frontend/constants/index.js +3 -0
  261. package/build/frontend/constants/messaging/index.js +17 -0
  262. package/build/frontend/constants/messaging/messaging.constants.js +19 -0
  263. package/build/frontend/constants/metrics/metric-names.constant.js +17 -0
  264. package/build/frontend/constants/oauth2/index.js +17 -0
  265. package/build/frontend/constants/oauth2/providers.contants.js +9 -0
  266. package/build/frontend/constants/templates/template-keys.js +1 -0
  267. package/build/frontend/models/api-tokens.schema.js +0 -1
  268. package/build/frontend/models/hosts.schema.js +5 -2
  269. package/build/frontend/models/index.js +5 -1
  270. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  271. package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
  272. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  273. package/build/frontend/models/infra-provider.schema.js +41 -0
  274. package/build/frontend/models/nodes.schema.js +8 -2
  275. package/package.json +2 -2
  276. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
  277. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  278. /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
  279. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  280. /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -33,30 +33,30 @@ export declare namespace GetNodeUserUsageByRangeCommand {
33
33
  date: Date;
34
34
  username: string;
35
35
  userUuid: string;
36
- total: number;
37
36
  nodeUuid: string;
37
+ total: number;
38
38
  }, {
39
39
  date: string;
40
40
  username: string;
41
41
  userUuid: string;
42
- total: number;
43
42
  nodeUuid: string;
43
+ total: number;
44
44
  }>, "many">;
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  response: {
47
47
  date: Date;
48
48
  username: string;
49
49
  userUuid: string;
50
- total: number;
51
50
  nodeUuid: string;
51
+ total: number;
52
52
  }[];
53
53
  }, {
54
54
  response: {
55
55
  date: string;
56
56
  username: string;
57
57
  userUuid: string;
58
- total: number;
59
58
  nodeUuid: string;
59
+ total: number;
60
60
  }[];
61
61
  }>;
62
62
  type Response = z.infer<typeof ResponseSchema>;
@@ -28,8 +28,8 @@ export declare namespace GetNodesUsageByRangeCommand {
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  date: Date;
30
30
  nodeName: string;
31
- total: number;
32
31
  nodeUuid: string;
32
+ total: number;
33
33
  totalDownload: number;
34
34
  totalUpload: number;
35
35
  humanReadableTotal: string;
@@ -38,8 +38,8 @@ export declare namespace GetNodesUsageByRangeCommand {
38
38
  }, {
39
39
  date: string;
40
40
  nodeName: string;
41
- total: number;
42
41
  nodeUuid: string;
42
+ total: number;
43
43
  totalDownload: number;
44
44
  totalUpload: number;
45
45
  humanReadableTotal: string;
@@ -50,8 +50,8 @@ export declare namespace GetNodesUsageByRangeCommand {
50
50
  response: {
51
51
  date: Date;
52
52
  nodeName: string;
53
- total: number;
54
53
  nodeUuid: string;
54
+ total: number;
55
55
  totalDownload: number;
56
56
  totalUpload: number;
57
57
  humanReadableTotal: string;
@@ -62,8 +62,8 @@ export declare namespace GetNodesUsageByRangeCommand {
62
62
  response: {
63
63
  date: string;
64
64
  nodeName: string;
65
- total: number;
66
65
  nodeUuid: string;
66
+ total: number;
67
67
  totalDownload: number;
68
68
  totalUpload: number;
69
69
  humanReadableTotal: string;
@@ -16,6 +16,7 @@ export declare namespace UpdateNodeCommand {
16
16
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
17
17
  lastStatusMessage: z.ZodNullable<z.ZodString>;
18
18
  xrayVersion: z.ZodNullable<z.ZodString>;
19
+ nodeVersion: z.ZodNullable<z.ZodString>;
19
20
  xrayUptime: z.ZodString;
20
21
  isTrafficTrackingActive: z.ZodBoolean;
21
22
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
@@ -31,35 +32,84 @@ export declare namespace UpdateNodeCommand {
31
32
  totalRam: z.ZodNullable<z.ZodString>;
32
33
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
33
34
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
34
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
35
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
35
+ configProfile: z.ZodObject<{
36
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
37
+ activeInbounds: z.ZodArray<z.ZodObject<{
38
+ uuid: z.ZodString;
39
+ profileUuid: z.ZodString;
40
+ tag: z.ZodString;
41
+ type: z.ZodString;
42
+ network: z.ZodNullable<z.ZodString>;
43
+ security: z.ZodNullable<z.ZodString>;
44
+ port: z.ZodNullable<z.ZodNumber>;
45
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ type: string;
48
+ uuid: string;
49
+ profileUuid: string;
50
+ tag: string;
51
+ network: string | null;
52
+ security: string | null;
53
+ port: number | null;
54
+ rawInbound?: unknown;
55
+ }, {
56
+ type: string;
57
+ uuid: string;
58
+ profileUuid: string;
59
+ tag: string;
60
+ network: string | null;
61
+ security: string | null;
62
+ port: number | null;
63
+ rawInbound?: unknown;
64
+ }>, "many">;
65
+ }, "strip", z.ZodTypeAny, {
66
+ activeConfigProfileUuid: string | null;
67
+ activeInbounds: {
68
+ type: string;
69
+ uuid: string;
70
+ profileUuid: string;
71
+ tag: string;
72
+ network: string | null;
73
+ security: string | null;
74
+ port: number | null;
75
+ rawInbound?: unknown;
76
+ }[];
77
+ }, {
78
+ activeConfigProfileUuid: string | null;
79
+ activeInbounds: {
80
+ type: string;
81
+ uuid: string;
82
+ profileUuid: string;
83
+ tag: string;
84
+ network: string | null;
85
+ security: string | null;
86
+ port: number | null;
87
+ rawInbound?: unknown;
88
+ }[];
89
+ }>;
90
+ providerUuid: z.ZodNullable<z.ZodString>;
91
+ provider: z.ZodNullable<z.ZodObject<{
36
92
  uuid: z.ZodString;
37
- profileUuid: z.ZodString;
38
- tag: z.ZodString;
39
- type: z.ZodString;
40
- network: z.ZodNullable<z.ZodString>;
41
- security: z.ZodNullable<z.ZodString>;
42
- port: z.ZodNullable<z.ZodNumber>;
43
- rawInbound: z.ZodNullable<z.ZodUnknown>;
93
+ name: z.ZodString;
94
+ faviconLink: z.ZodNullable<z.ZodString>;
95
+ loginUrl: z.ZodNullable<z.ZodString>;
96
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
97
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
44
98
  }, "strip", z.ZodTypeAny, {
45
- type: string;
46
99
  uuid: string;
47
- profileUuid: string;
48
- tag: string;
49
- network: string | null;
50
- security: string | null;
51
- port: number | null;
52
- rawInbound?: unknown;
100
+ createdAt: Date;
101
+ updatedAt: Date;
102
+ name: string;
103
+ faviconLink: string | null;
104
+ loginUrl: string | null;
53
105
  }, {
54
- type: string;
55
106
  uuid: string;
56
- profileUuid: string;
57
- tag: string;
58
- network: string | null;
59
- security: string | null;
60
- port: number | null;
61
- rawInbound?: unknown;
62
- }>, "many">>;
107
+ createdAt: string;
108
+ updatedAt: string;
109
+ name: string;
110
+ faviconLink: string | null;
111
+ loginUrl: string | null;
112
+ }>>;
63
113
  }, "uuid"> & {
64
114
  name: z.ZodOptional<z.ZodString>;
65
115
  address: z.ZodOptional<z.ZodString>;
@@ -70,8 +120,17 @@ export declare namespace UpdateNodeCommand {
70
120
  trafficResetDay: z.ZodOptional<z.ZodNumber>;
71
121
  countryCode: z.ZodOptional<z.ZodString>;
72
122
  consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
73
- activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
74
- activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
+ configProfile: z.ZodOptional<z.ZodObject<{
124
+ activeConfigProfileUuid: z.ZodString;
125
+ activeInbounds: z.ZodArray<z.ZodString, "many">;
126
+ }, "strip", z.ZodTypeAny, {
127
+ activeConfigProfileUuid: string;
128
+ activeInbounds: string[];
129
+ }, {
130
+ activeConfigProfileUuid: string;
131
+ activeInbounds: string[];
132
+ }>>;
133
+ providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
134
  }, "strip", z.ZodTypeAny, {
76
135
  uuid: string;
77
136
  name?: string | undefined;
@@ -83,8 +142,11 @@ export declare namespace UpdateNodeCommand {
83
142
  trafficResetDay?: number | undefined;
84
143
  notifyPercent?: number | undefined;
85
144
  consumptionMultiplier?: number | undefined;
86
- activeConfigProfileUuid?: string | undefined;
87
- activeInbounds?: string[] | undefined;
145
+ configProfile?: {
146
+ activeConfigProfileUuid: string;
147
+ activeInbounds: string[];
148
+ } | undefined;
149
+ providerUuid?: string | null | undefined;
88
150
  }, {
89
151
  uuid: string;
90
152
  name?: string | undefined;
@@ -96,8 +158,11 @@ export declare namespace UpdateNodeCommand {
96
158
  trafficResetDay?: number | undefined;
97
159
  notifyPercent?: number | undefined;
98
160
  consumptionMultiplier?: number | undefined;
99
- activeConfigProfileUuid?: string | undefined;
100
- activeInbounds?: string[] | undefined;
161
+ configProfile?: {
162
+ activeConfigProfileUuid: string;
163
+ activeInbounds: string[];
164
+ } | undefined;
165
+ providerUuid?: string | null | undefined;
101
166
  }>;
102
167
  type Request = z.infer<typeof RequestSchema>;
103
168
  const ResponseSchema: z.ZodObject<{
@@ -114,6 +179,7 @@ export declare namespace UpdateNodeCommand {
114
179
  lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
115
180
  lastStatusMessage: z.ZodNullable<z.ZodString>;
116
181
  xrayVersion: z.ZodNullable<z.ZodString>;
182
+ nodeVersion: z.ZodNullable<z.ZodString>;
117
183
  xrayUptime: z.ZodString;
118
184
  isTrafficTrackingActive: z.ZodBoolean;
119
185
  trafficResetDay: z.ZodNullable<z.ZodNumber>;
@@ -129,39 +195,96 @@ export declare namespace UpdateNodeCommand {
129
195
  totalRam: z.ZodNullable<z.ZodString>;
130
196
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
131
197
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
132
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
133
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
198
+ configProfile: z.ZodObject<{
199
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
200
+ activeInbounds: z.ZodArray<z.ZodObject<{
201
+ uuid: z.ZodString;
202
+ profileUuid: z.ZodString;
203
+ tag: z.ZodString;
204
+ type: z.ZodString;
205
+ network: z.ZodNullable<z.ZodString>;
206
+ security: z.ZodNullable<z.ZodString>;
207
+ port: z.ZodNullable<z.ZodNumber>;
208
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
209
+ }, "strip", z.ZodTypeAny, {
210
+ type: string;
211
+ uuid: string;
212
+ profileUuid: string;
213
+ tag: string;
214
+ network: string | null;
215
+ security: string | null;
216
+ port: number | null;
217
+ rawInbound?: unknown;
218
+ }, {
219
+ type: string;
220
+ uuid: string;
221
+ profileUuid: string;
222
+ tag: string;
223
+ network: string | null;
224
+ security: string | null;
225
+ port: number | null;
226
+ rawInbound?: unknown;
227
+ }>, "many">;
228
+ }, "strip", z.ZodTypeAny, {
229
+ activeConfigProfileUuid: string | null;
230
+ activeInbounds: {
231
+ type: string;
232
+ uuid: string;
233
+ profileUuid: string;
234
+ tag: string;
235
+ network: string | null;
236
+ security: string | null;
237
+ port: number | null;
238
+ rawInbound?: unknown;
239
+ }[];
240
+ }, {
241
+ activeConfigProfileUuid: string | null;
242
+ activeInbounds: {
243
+ type: string;
244
+ uuid: string;
245
+ profileUuid: string;
246
+ tag: string;
247
+ network: string | null;
248
+ security: string | null;
249
+ port: number | null;
250
+ rawInbound?: unknown;
251
+ }[];
252
+ }>;
253
+ providerUuid: z.ZodNullable<z.ZodString>;
254
+ provider: z.ZodNullable<z.ZodObject<{
134
255
  uuid: z.ZodString;
135
- profileUuid: z.ZodString;
136
- tag: z.ZodString;
137
- type: z.ZodString;
138
- network: z.ZodNullable<z.ZodString>;
139
- security: z.ZodNullable<z.ZodString>;
140
- port: z.ZodNullable<z.ZodNumber>;
141
- rawInbound: z.ZodNullable<z.ZodUnknown>;
256
+ name: z.ZodString;
257
+ faviconLink: z.ZodNullable<z.ZodString>;
258
+ loginUrl: z.ZodNullable<z.ZodString>;
259
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
260
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
142
261
  }, "strip", z.ZodTypeAny, {
143
- type: string;
144
262
  uuid: string;
145
- profileUuid: string;
146
- tag: string;
147
- network: string | null;
148
- security: string | null;
149
- port: number | null;
150
- rawInbound?: unknown;
263
+ createdAt: Date;
264
+ updatedAt: Date;
265
+ name: string;
266
+ faviconLink: string | null;
267
+ loginUrl: string | null;
151
268
  }, {
152
- type: string;
153
269
  uuid: string;
154
- profileUuid: string;
155
- tag: string;
156
- network: string | null;
157
- security: string | null;
158
- port: number | null;
159
- rawInbound?: unknown;
160
- }>, "many">>;
270
+ createdAt: string;
271
+ updatedAt: string;
272
+ name: string;
273
+ faviconLink: string | null;
274
+ loginUrl: string | null;
275
+ }>>;
161
276
  }, "strip", z.ZodTypeAny, {
162
277
  uuid: string;
163
278
  createdAt: Date;
164
279
  updatedAt: Date;
280
+ provider: {
281
+ uuid: string;
282
+ createdAt: Date;
283
+ updatedAt: Date;
284
+ name: string;
285
+ faviconLink: string | null;
286
+ loginUrl: string | null;
287
+ } | null;
165
288
  name: string;
166
289
  port: number | null;
167
290
  countryCode: string;
@@ -176,6 +299,7 @@ export declare namespace UpdateNodeCommand {
176
299
  lastStatusChange: Date | null;
177
300
  lastStatusMessage: string | null;
178
301
  xrayVersion: string | null;
302
+ nodeVersion: string | null;
179
303
  xrayUptime: string;
180
304
  isTrafficTrackingActive: boolean;
181
305
  trafficResetDay: number | null;
@@ -186,21 +310,32 @@ export declare namespace UpdateNodeCommand {
186
310
  cpuCount: number | null;
187
311
  cpuModel: string | null;
188
312
  totalRam: string | null;
189
- activeConfigProfileUuid: string | null;
190
- activeInbounds: {
191
- type: string;
192
- uuid: string;
193
- profileUuid: string;
194
- tag: string;
195
- network: string | null;
196
- security: string | null;
197
- port: number | null;
198
- rawInbound?: unknown;
199
- }[] | null;
313
+ configProfile: {
314
+ activeConfigProfileUuid: string | null;
315
+ activeInbounds: {
316
+ type: string;
317
+ uuid: string;
318
+ profileUuid: string;
319
+ tag: string;
320
+ network: string | null;
321
+ security: string | null;
322
+ port: number | null;
323
+ rawInbound?: unknown;
324
+ }[];
325
+ };
326
+ providerUuid: string | null;
200
327
  }, {
201
328
  uuid: string;
202
329
  createdAt: string;
203
330
  updatedAt: string;
331
+ provider: {
332
+ uuid: string;
333
+ createdAt: string;
334
+ updatedAt: string;
335
+ name: string;
336
+ faviconLink: string | null;
337
+ loginUrl: string | null;
338
+ } | null;
204
339
  name: string;
205
340
  port: number | null;
206
341
  countryCode: string;
@@ -215,6 +350,7 @@ export declare namespace UpdateNodeCommand {
215
350
  lastStatusChange: string | null;
216
351
  lastStatusMessage: string | null;
217
352
  xrayVersion: string | null;
353
+ nodeVersion: string | null;
218
354
  xrayUptime: string;
219
355
  isTrafficTrackingActive: boolean;
220
356
  trafficResetDay: number | null;
@@ -225,23 +361,34 @@ export declare namespace UpdateNodeCommand {
225
361
  cpuCount: number | null;
226
362
  cpuModel: string | null;
227
363
  totalRam: string | null;
228
- activeConfigProfileUuid: string | null;
229
- activeInbounds: {
230
- type: string;
231
- uuid: string;
232
- profileUuid: string;
233
- tag: string;
234
- network: string | null;
235
- security: string | null;
236
- port: number | null;
237
- rawInbound?: unknown;
238
- }[] | null;
364
+ configProfile: {
365
+ activeConfigProfileUuid: string | null;
366
+ activeInbounds: {
367
+ type: string;
368
+ uuid: string;
369
+ profileUuid: string;
370
+ tag: string;
371
+ network: string | null;
372
+ security: string | null;
373
+ port: number | null;
374
+ rawInbound?: unknown;
375
+ }[];
376
+ };
377
+ providerUuid: string | null;
239
378
  }>;
240
379
  }, "strip", z.ZodTypeAny, {
241
380
  response: {
242
381
  uuid: string;
243
382
  createdAt: Date;
244
383
  updatedAt: Date;
384
+ provider: {
385
+ uuid: string;
386
+ createdAt: Date;
387
+ updatedAt: Date;
388
+ name: string;
389
+ faviconLink: string | null;
390
+ loginUrl: string | null;
391
+ } | null;
245
392
  name: string;
246
393
  port: number | null;
247
394
  countryCode: string;
@@ -256,6 +403,7 @@ export declare namespace UpdateNodeCommand {
256
403
  lastStatusChange: Date | null;
257
404
  lastStatusMessage: string | null;
258
405
  xrayVersion: string | null;
406
+ nodeVersion: string | null;
259
407
  xrayUptime: string;
260
408
  isTrafficTrackingActive: boolean;
261
409
  trafficResetDay: number | null;
@@ -266,23 +414,34 @@ export declare namespace UpdateNodeCommand {
266
414
  cpuCount: number | null;
267
415
  cpuModel: string | null;
268
416
  totalRam: string | null;
269
- activeConfigProfileUuid: string | null;
270
- activeInbounds: {
271
- type: string;
272
- uuid: string;
273
- profileUuid: string;
274
- tag: string;
275
- network: string | null;
276
- security: string | null;
277
- port: number | null;
278
- rawInbound?: unknown;
279
- }[] | null;
417
+ configProfile: {
418
+ activeConfigProfileUuid: string | null;
419
+ activeInbounds: {
420
+ type: string;
421
+ uuid: string;
422
+ profileUuid: string;
423
+ tag: string;
424
+ network: string | null;
425
+ security: string | null;
426
+ port: number | null;
427
+ rawInbound?: unknown;
428
+ }[];
429
+ };
430
+ providerUuid: string | null;
280
431
  };
281
432
  }, {
282
433
  response: {
283
434
  uuid: string;
284
435
  createdAt: string;
285
436
  updatedAt: string;
437
+ provider: {
438
+ uuid: string;
439
+ createdAt: string;
440
+ updatedAt: string;
441
+ name: string;
442
+ faviconLink: string | null;
443
+ loginUrl: string | null;
444
+ } | null;
286
445
  name: string;
287
446
  port: number | null;
288
447
  countryCode: string;
@@ -297,6 +456,7 @@ export declare namespace UpdateNodeCommand {
297
456
  lastStatusChange: string | null;
298
457
  lastStatusMessage: string | null;
299
458
  xrayVersion: string | null;
459
+ nodeVersion: string | null;
300
460
  xrayUptime: string;
301
461
  isTrafficTrackingActive: boolean;
302
462
  trafficResetDay: number | null;
@@ -307,17 +467,20 @@ export declare namespace UpdateNodeCommand {
307
467
  cpuCount: number | null;
308
468
  cpuModel: string | null;
309
469
  totalRam: string | null;
310
- activeConfigProfileUuid: string | null;
311
- activeInbounds: {
312
- type: string;
313
- uuid: string;
314
- profileUuid: string;
315
- tag: string;
316
- network: string | null;
317
- security: string | null;
318
- port: number | null;
319
- rawInbound?: unknown;
320
- }[] | null;
470
+ configProfile: {
471
+ activeConfigProfileUuid: string | null;
472
+ activeInbounds: {
473
+ type: string;
474
+ uuid: string;
475
+ profileUuid: string;
476
+ tag: string;
477
+ network: string | null;
478
+ security: string | null;
479
+ port: number | null;
480
+ rawInbound?: unknown;
481
+ }[];
482
+ };
483
+ providerUuid: string | null;
321
484
  };
322
485
  }>;
323
486
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -31,10 +31,15 @@ var UpdateNodeCommand;
31
31
  .number()
32
32
  .min(0.1, 'Consumption multiplier must be greater than 0')
33
33
  .transform((n) => Number(n.toFixed(1)))),
34
- activeConfigProfileUuid: zod_1.z.optional(zod_1.z.string().uuid()),
35
- activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
36
- invalid_type_error: 'Active inbounds must be an array of UUIDs',
37
- })),
34
+ configProfile: zod_1.z
35
+ .object({
36
+ activeConfigProfileUuid: zod_1.z.string().uuid(),
37
+ activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
38
+ invalid_type_error: 'Must be an array of UUIDs',
39
+ }),
40
+ })
41
+ .optional(),
42
+ providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
38
43
  });
39
44
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
40
45
  response: models_1.NodesSchema,