@remnawave/backend-contract 2.0.0-alpha.3 → 2.0.0-alpha.31

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 (223) hide show
  1. package/build/backend/api/controllers/index.d.ts +1 -0
  2. package/build/backend/api/controllers/index.d.ts.map +1 -1
  3. package/build/backend/api/controllers/index.js +1 -0
  4. package/build/backend/api/controllers/infra-billing.d.ts +16 -0
  5. package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
  6. package/build/backend/api/controllers/infra-billing.js +18 -0
  7. package/build/backend/api/controllers/internal-squads.d.ts +4 -0
  8. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  9. package/build/backend/api/controllers/internal-squads.js +5 -0
  10. package/build/backend/api/controllers/users.d.ts +1 -0
  11. package/build/backend/api/controllers/users.d.ts.map +1 -1
  12. package/build/backend/api/controllers/users.js +1 -0
  13. package/build/backend/api/routes.d.ts +19 -0
  14. package/build/backend/api/routes.d.ts.map +1 -1
  15. package/build/backend/api/routes.js +19 -0
  16. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  17. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +31 -10
  18. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  19. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +31 -10
  20. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  21. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +31 -10
  22. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  23. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +31 -10
  24. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  25. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +31 -10
  26. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  27. package/build/backend/commands/hosts/create.command.d.ts +52 -19
  28. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  29. package/build/backend/commands/hosts/create.command.js +13 -13
  30. package/build/backend/commands/hosts/get-all.command.d.ts +31 -10
  31. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  32. package/build/backend/commands/hosts/get-one.command.d.ts +31 -10
  33. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  34. package/build/backend/commands/hosts/reorder.command.d.ts +11 -2
  35. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  36. package/build/backend/commands/hosts/update.command.d.ts +63 -21
  37. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  38. package/build/backend/commands/hosts/update.command.js +10 -11
  39. package/build/backend/commands/index.d.ts +1 -0
  40. package/build/backend/commands/index.d.ts.map +1 -1
  41. package/build/backend/commands/index.js +1 -0
  42. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
  43. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
  44. package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
  45. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
  46. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
  47. package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
  48. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +123 -0
  49. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
  50. package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
  51. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
  52. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
  53. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  54. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
  55. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
  56. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  57. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
  58. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
  59. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  60. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
  61. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
  62. package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
  63. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
  64. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
  65. package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  66. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
  67. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
  68. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  69. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
  70. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
  71. package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
  72. package/build/backend/commands/infra-billing/index.d.ts +13 -0
  73. package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
  74. package/build/backend/commands/infra-billing/index.js +28 -0
  75. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
  76. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
  77. package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
  78. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
  79. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
  80. package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
  81. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
  82. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
  83. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  84. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
  85. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
  86. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  87. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
  88. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
  89. package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
  90. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  91. package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
  92. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
  93. package/build/backend/commands/internal-squads/index.d.ts +2 -1
  94. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  95. package/build/backend/commands/internal-squads/index.js +2 -1
  96. package/build/backend/commands/nodes/actions/disable.command.d.ts +162 -64
  97. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  98. package/build/backend/commands/nodes/actions/enable.command.d.ts +162 -64
  99. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  100. package/build/backend/commands/nodes/actions/reorder.command.d.ts +236 -88
  101. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  102. package/build/backend/commands/nodes/create.command.d.ts +183 -70
  103. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  104. package/build/backend/commands/nodes/create.command.js +7 -4
  105. package/build/backend/commands/nodes/get-all.command.d.ts +162 -64
  106. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  107. package/build/backend/commands/nodes/get-one.command.d.ts +162 -64
  108. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  109. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  110. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  111. package/build/backend/commands/nodes/update.command.d.ts +257 -94
  112. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  113. package/build/backend/commands/nodes/update.command.js +9 -4
  114. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +114 -0
  115. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -0
  116. package/build/backend/commands/users/get-user-accessible-nodes.command.js +31 -0
  117. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  118. package/build/backend/commands/users/index.d.ts +1 -0
  119. package/build/backend/commands/users/index.d.ts.map +1 -1
  120. package/build/backend/commands/users/index.js +1 -0
  121. package/build/backend/constants/errors/errors.d.ts +105 -0
  122. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  123. package/build/backend/constants/errors/errors.js +105 -0
  124. package/build/backend/constants/events/events.d.ts +11 -0
  125. package/build/backend/constants/events/events.d.ts.map +1 -1
  126. package/build/backend/constants/events/events.js +10 -0
  127. package/build/backend/constants/headers/headers.contants.d.ts +3 -0
  128. package/build/backend/constants/headers/headers.contants.d.ts.map +1 -0
  129. package/build/backend/constants/headers/headers.contants.js +5 -0
  130. package/build/backend/constants/headers/index.d.ts +2 -0
  131. package/build/backend/constants/headers/index.d.ts.map +1 -0
  132. package/build/backend/constants/headers/index.js +17 -0
  133. package/build/backend/constants/index.d.ts +2 -0
  134. package/build/backend/constants/index.d.ts.map +1 -1
  135. package/build/backend/constants/index.js +2 -0
  136. package/build/backend/constants/messaging/index.d.ts +2 -0
  137. package/build/backend/constants/messaging/index.d.ts.map +1 -0
  138. package/build/backend/constants/messaging/index.js +17 -0
  139. package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
  140. package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
  141. package/build/backend/constants/messaging/messaging.constants.js +19 -0
  142. package/build/backend/constants/metrics/metric-names.constant.d.ts +16 -0
  143. package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
  144. package/build/backend/constants/metrics/metric-names.constant.js +16 -0
  145. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  146. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  147. package/build/backend/constants/templates/template-keys.js +1 -0
  148. package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
  149. package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
  150. package/build/backend/models/hosts.schema.d.ts +21 -6
  151. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  152. package/build/backend/models/hosts.schema.js +5 -2
  153. package/build/backend/models/index.d.ts +5 -1
  154. package/build/backend/models/index.d.ts.map +1 -1
  155. package/build/backend/models/index.js +5 -1
  156. package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
  157. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  158. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  159. package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
  160. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
  161. package/build/backend/models/infra-billing-history-record.schema.js +19 -0
  162. package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
  163. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  164. package/build/backend/models/infra-billing-node.schema.js +34 -0
  165. package/build/backend/models/infra-provider.schema.d.ts +87 -0
  166. package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
  167. package/build/backend/models/infra-provider.schema.js +41 -0
  168. package/build/backend/models/nodes.schema.d.ts +118 -44
  169. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  170. package/build/backend/models/nodes.schema.js +8 -2
  171. package/build/frontend/api/controllers/index.js +1 -0
  172. package/build/frontend/api/controllers/infra-billing.js +18 -0
  173. package/build/frontend/api/controllers/internal-squads.js +5 -0
  174. package/build/frontend/api/controllers/users.js +1 -0
  175. package/build/frontend/api/routes.js +19 -0
  176. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  177. package/build/frontend/commands/hosts/create.command.js +13 -13
  178. package/build/frontend/commands/hosts/update.command.js +10 -11
  179. package/build/frontend/commands/index.js +1 -0
  180. package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
  181. package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
  182. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
  183. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  184. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  185. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  186. package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
  187. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  188. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  189. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
  190. package/build/frontend/commands/infra-billing/index.js +28 -0
  191. package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
  192. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
  193. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  194. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  195. package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
  196. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  197. package/build/frontend/commands/internal-squads/index.js +2 -1
  198. package/build/frontend/commands/nodes/create.command.js +7 -4
  199. package/build/frontend/commands/nodes/update.command.js +9 -4
  200. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +31 -0
  201. package/build/frontend/commands/users/index.js +1 -0
  202. package/build/frontend/constants/errors/errors.js +105 -0
  203. package/build/frontend/constants/events/events.js +10 -0
  204. package/build/frontend/constants/headers/headers.contants.js +5 -0
  205. package/build/frontend/constants/headers/index.js +17 -0
  206. package/build/frontend/constants/index.js +2 -0
  207. package/build/frontend/constants/messaging/index.js +17 -0
  208. package/build/frontend/constants/messaging/messaging.constants.js +19 -0
  209. package/build/frontend/constants/metrics/metric-names.constant.js +16 -0
  210. package/build/frontend/constants/templates/template-keys.js +1 -0
  211. package/build/frontend/models/hosts.schema.js +5 -2
  212. package/build/frontend/models/index.js +5 -1
  213. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  214. package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
  215. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  216. package/build/frontend/models/infra-provider.schema.js +41 -0
  217. package/build/frontend/models/nodes.schema.js +8 -2
  218. package/package.json +2 -2
  219. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
  220. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  221. /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
  222. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  223. /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBtB,CAAC"}
1
+ {"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBtB,CAAC"}
@@ -17,6 +17,9 @@ exports.HostsSchema = zod_1.z.object({
17
17
  isDisabled: zod_1.z.boolean().default(false),
18
18
  securityLayer: zod_1.z.nativeEnum(hosts_1.SECURITY_LAYERS).default(hosts_1.SECURITY_LAYERS.DEFAULT),
19
19
  xHttpExtraParams: zod_1.z.nullable(zod_1.z.unknown()),
20
- configProfileUuid: zod_1.z.string().uuid().nullable(),
21
- configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
20
+ inbound: zod_1.z.object({
21
+ configProfileUuid: zod_1.z.string().uuid().nullable(),
22
+ configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
23
+ }),
24
+ serverDescription: zod_1.z.string().nullable(),
22
25
  });
@@ -4,10 +4,14 @@ export * from './base-internal-squad.schema';
4
4
  export * from './base-stat.schema';
5
5
  export * from './config-profile-inbounds.schema';
6
6
  export * from './config-profile.schema';
7
- export * from './extented-users.schema';
7
+ export * from './extended-users.schema';
8
8
  export * from './happ.schema';
9
9
  export * from './hosts.schema';
10
10
  export * from './hwid-user-device.schema';
11
+ export * from './infra-billing-available-node.schema';
12
+ export * from './infra-billing-history-record.schema';
13
+ export * from './infra-billing-node.schema';
14
+ export * from './infra-provider.schema';
11
15
  export * from './internal-squad.schema';
12
16
  export * from './last-connected-node.schema';
13
17
  export * from './nodes.schema';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC"}
@@ -20,10 +20,14 @@ __exportStar(require("./base-internal-squad.schema"), exports);
20
20
  __exportStar(require("./base-stat.schema"), exports);
21
21
  __exportStar(require("./config-profile-inbounds.schema"), exports);
22
22
  __exportStar(require("./config-profile.schema"), exports);
23
- __exportStar(require("./extented-users.schema"), exports);
23
+ __exportStar(require("./extended-users.schema"), exports);
24
24
  __exportStar(require("./happ.schema"), exports);
25
25
  __exportStar(require("./hosts.schema"), exports);
26
26
  __exportStar(require("./hwid-user-device.schema"), exports);
27
+ __exportStar(require("./infra-billing-available-node.schema"), exports);
28
+ __exportStar(require("./infra-billing-history-record.schema"), exports);
29
+ __exportStar(require("./infra-billing-node.schema"), exports);
30
+ __exportStar(require("./infra-provider.schema"), exports);
27
31
  __exportStar(require("./internal-squad.schema"), exports);
28
32
  __exportStar(require("./last-connected-node.schema"), exports);
29
33
  __exportStar(require("./nodes.schema"), exports);
@@ -0,0 +1,117 @@
1
+ export declare const InfraBillingAvailableNodeSchema: import("zod").ZodObject<Pick<{
2
+ uuid: import("zod").ZodString;
3
+ name: import("zod").ZodString;
4
+ address: import("zod").ZodString;
5
+ port: import("zod").ZodNullable<import("zod").ZodNumber>;
6
+ isConnected: import("zod").ZodBoolean;
7
+ isDisabled: import("zod").ZodBoolean;
8
+ isConnecting: import("zod").ZodBoolean;
9
+ isNodeOnline: import("zod").ZodBoolean;
10
+ isXrayRunning: import("zod").ZodBoolean;
11
+ lastStatusChange: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, Date, string>>;
12
+ lastStatusMessage: import("zod").ZodNullable<import("zod").ZodString>;
13
+ xrayVersion: import("zod").ZodNullable<import("zod").ZodString>;
14
+ nodeVersion: import("zod").ZodNullable<import("zod").ZodString>;
15
+ xrayUptime: import("zod").ZodString;
16
+ isTrafficTrackingActive: import("zod").ZodBoolean;
17
+ trafficResetDay: import("zod").ZodNullable<import("zod").ZodNumber>;
18
+ trafficLimitBytes: import("zod").ZodNullable<import("zod").ZodNumber>;
19
+ trafficUsedBytes: import("zod").ZodNullable<import("zod").ZodNumber>;
20
+ notifyPercent: import("zod").ZodNullable<import("zod").ZodNumber>;
21
+ usersOnline: import("zod").ZodNullable<import("zod").ZodNumber>;
22
+ viewPosition: import("zod").ZodNumber;
23
+ countryCode: import("zod").ZodString;
24
+ consumptionMultiplier: import("zod").ZodNumber;
25
+ cpuCount: import("zod").ZodNullable<import("zod").ZodNumber>;
26
+ cpuModel: import("zod").ZodNullable<import("zod").ZodString>;
27
+ totalRam: import("zod").ZodNullable<import("zod").ZodString>;
28
+ createdAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
29
+ updatedAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
30
+ configProfile: import("zod").ZodObject<{
31
+ activeConfigProfileUuid: import("zod").ZodNullable<import("zod").ZodString>;
32
+ activeInbounds: import("zod").ZodArray<import("zod").ZodObject<{
33
+ uuid: import("zod").ZodString;
34
+ profileUuid: import("zod").ZodString;
35
+ tag: import("zod").ZodString;
36
+ type: import("zod").ZodString;
37
+ network: import("zod").ZodNullable<import("zod").ZodString>;
38
+ security: import("zod").ZodNullable<import("zod").ZodString>;
39
+ port: import("zod").ZodNullable<import("zod").ZodNumber>;
40
+ rawInbound: import("zod").ZodNullable<import("zod").ZodUnknown>;
41
+ }, "strip", import("zod").ZodTypeAny, {
42
+ type: string;
43
+ uuid: string;
44
+ profileUuid: string;
45
+ tag: string;
46
+ network: string | null;
47
+ security: string | null;
48
+ port: number | null;
49
+ rawInbound?: unknown;
50
+ }, {
51
+ type: string;
52
+ uuid: string;
53
+ profileUuid: string;
54
+ tag: string;
55
+ network: string | null;
56
+ security: string | null;
57
+ port: number | null;
58
+ rawInbound?: unknown;
59
+ }>, "many">;
60
+ }, "strip", import("zod").ZodTypeAny, {
61
+ activeConfigProfileUuid: string | null;
62
+ activeInbounds: {
63
+ type: string;
64
+ uuid: string;
65
+ profileUuid: string;
66
+ tag: string;
67
+ network: string | null;
68
+ security: string | null;
69
+ port: number | null;
70
+ rawInbound?: unknown;
71
+ }[];
72
+ }, {
73
+ activeConfigProfileUuid: string | null;
74
+ activeInbounds: {
75
+ type: string;
76
+ uuid: string;
77
+ profileUuid: string;
78
+ tag: string;
79
+ network: string | null;
80
+ security: string | null;
81
+ port: number | null;
82
+ rawInbound?: unknown;
83
+ }[];
84
+ }>;
85
+ providerUuid: import("zod").ZodNullable<import("zod").ZodString>;
86
+ provider: import("zod").ZodNullable<import("zod").ZodObject<{
87
+ uuid: import("zod").ZodString;
88
+ name: import("zod").ZodString;
89
+ faviconLink: import("zod").ZodNullable<import("zod").ZodString>;
90
+ loginUrl: import("zod").ZodNullable<import("zod").ZodString>;
91
+ createdAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
92
+ updatedAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
93
+ }, "strip", import("zod").ZodTypeAny, {
94
+ uuid: string;
95
+ createdAt: Date;
96
+ updatedAt: Date;
97
+ name: string;
98
+ faviconLink: string | null;
99
+ loginUrl: string | null;
100
+ }, {
101
+ uuid: string;
102
+ createdAt: string;
103
+ updatedAt: string;
104
+ name: string;
105
+ faviconLink: string | null;
106
+ loginUrl: string | null;
107
+ }>>;
108
+ }, "uuid" | "name" | "countryCode">, "strip", import("zod").ZodTypeAny, {
109
+ uuid: string;
110
+ name: string;
111
+ countryCode: string;
112
+ }, {
113
+ uuid: string;
114
+ name: string;
115
+ countryCode: string;
116
+ }>;
117
+ //# sourceMappingURL=infra-billing-available-node.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfraBillingAvailableNodeSchema = void 0;
4
+ const nodes_schema_1 = require("./nodes.schema");
5
+ exports.InfraBillingAvailableNodeSchema = nodes_schema_1.NodesSchema.pick({
6
+ uuid: true,
7
+ name: true,
8
+ countryCode: true,
9
+ });
@@ -0,0 +1,44 @@
1
+ import { z } from 'zod';
2
+ export declare const InfraBillingHistoryRecordSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ providerUuid: z.ZodString;
5
+ amount: z.ZodNumber;
6
+ billedAt: z.ZodEffects<z.ZodString, Date, string>;
7
+ provider: z.ZodObject<Omit<{
8
+ uuid: z.ZodString;
9
+ name: z.ZodString;
10
+ faviconLink: z.ZodNullable<z.ZodString>;
11
+ loginUrl: z.ZodNullable<z.ZodString>;
12
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
13
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
14
+ }, "createdAt" | "updatedAt" | "loginUrl">, "strip", z.ZodTypeAny, {
15
+ uuid: string;
16
+ name: string;
17
+ faviconLink: string | null;
18
+ }, {
19
+ uuid: string;
20
+ name: string;
21
+ faviconLink: string | null;
22
+ }>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ uuid: string;
25
+ providerUuid: string;
26
+ provider: {
27
+ uuid: string;
28
+ name: string;
29
+ faviconLink: string | null;
30
+ };
31
+ amount: number;
32
+ billedAt: Date;
33
+ }, {
34
+ uuid: string;
35
+ providerUuid: string;
36
+ provider: {
37
+ uuid: string;
38
+ name: string;
39
+ faviconLink: string | null;
40
+ };
41
+ amount: number;
42
+ billedAt: string;
43
+ }>;
44
+ //# sourceMappingURL=infra-billing-history-record.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infra-billing-history-record.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-history-record.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa1C,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfraBillingHistoryRecordSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const infra_provider_schema_1 = require("./infra-provider.schema");
6
+ exports.InfraBillingHistoryRecordSchema = zod_1.z.object({
7
+ uuid: zod_1.z.string().uuid(),
8
+ providerUuid: zod_1.z.string().uuid(),
9
+ amount: zod_1.z.number(),
10
+ billedAt: zod_1.z
11
+ .string()
12
+ .datetime()
13
+ .transform((str) => new Date(str)),
14
+ provider: infra_provider_schema_1.PartialInfraProviderSchema.omit({
15
+ createdAt: true,
16
+ updatedAt: true,
17
+ loginUrl: true,
18
+ }),
19
+ });
@@ -0,0 +1,180 @@
1
+ import { z } from 'zod';
2
+ export declare const InfraBillingNodeSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ nodeUuid: z.ZodString;
5
+ providerUuid: z.ZodString;
6
+ provider: z.ZodObject<Pick<{
7
+ uuid: z.ZodString;
8
+ name: z.ZodString;
9
+ faviconLink: z.ZodNullable<z.ZodString>;
10
+ loginUrl: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
12
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
13
+ }, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
14
+ uuid: string;
15
+ name: string;
16
+ faviconLink: string | null;
17
+ loginUrl: string | null;
18
+ }, {
19
+ uuid: string;
20
+ name: string;
21
+ faviconLink: string | null;
22
+ loginUrl: string | null;
23
+ }>;
24
+ node: z.ZodObject<Pick<{
25
+ uuid: z.ZodString;
26
+ name: z.ZodString;
27
+ address: z.ZodString;
28
+ port: z.ZodNullable<z.ZodNumber>;
29
+ isConnected: z.ZodBoolean;
30
+ isDisabled: z.ZodBoolean;
31
+ isConnecting: z.ZodBoolean;
32
+ isNodeOnline: z.ZodBoolean;
33
+ isXrayRunning: z.ZodBoolean;
34
+ lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
35
+ lastStatusMessage: z.ZodNullable<z.ZodString>;
36
+ xrayVersion: z.ZodNullable<z.ZodString>;
37
+ nodeVersion: z.ZodNullable<z.ZodString>;
38
+ xrayUptime: z.ZodString;
39
+ isTrafficTrackingActive: z.ZodBoolean;
40
+ trafficResetDay: z.ZodNullable<z.ZodNumber>;
41
+ trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
42
+ trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
43
+ notifyPercent: z.ZodNullable<z.ZodNumber>;
44
+ usersOnline: z.ZodNullable<z.ZodNumber>;
45
+ viewPosition: z.ZodNumber;
46
+ countryCode: z.ZodString;
47
+ consumptionMultiplier: z.ZodNumber;
48
+ cpuCount: z.ZodNullable<z.ZodNumber>;
49
+ cpuModel: z.ZodNullable<z.ZodString>;
50
+ totalRam: z.ZodNullable<z.ZodString>;
51
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
52
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
53
+ configProfile: z.ZodObject<{
54
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
55
+ activeInbounds: z.ZodArray<z.ZodObject<{
56
+ uuid: z.ZodString;
57
+ profileUuid: z.ZodString;
58
+ tag: z.ZodString;
59
+ type: z.ZodString;
60
+ network: z.ZodNullable<z.ZodString>;
61
+ security: z.ZodNullable<z.ZodString>;
62
+ port: z.ZodNullable<z.ZodNumber>;
63
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ type: string;
66
+ uuid: string;
67
+ profileUuid: string;
68
+ tag: string;
69
+ network: string | null;
70
+ security: string | null;
71
+ port: number | null;
72
+ rawInbound?: unknown;
73
+ }, {
74
+ type: string;
75
+ uuid: string;
76
+ profileUuid: string;
77
+ tag: string;
78
+ network: string | null;
79
+ security: string | null;
80
+ port: number | null;
81
+ rawInbound?: unknown;
82
+ }>, "many">;
83
+ }, "strip", z.ZodTypeAny, {
84
+ activeConfigProfileUuid: string | null;
85
+ activeInbounds: {
86
+ type: string;
87
+ uuid: string;
88
+ profileUuid: string;
89
+ tag: string;
90
+ network: string | null;
91
+ security: string | null;
92
+ port: number | null;
93
+ rawInbound?: unknown;
94
+ }[];
95
+ }, {
96
+ activeConfigProfileUuid: string | null;
97
+ activeInbounds: {
98
+ type: string;
99
+ uuid: string;
100
+ profileUuid: string;
101
+ tag: string;
102
+ network: string | null;
103
+ security: string | null;
104
+ port: number | null;
105
+ rawInbound?: unknown;
106
+ }[];
107
+ }>;
108
+ providerUuid: z.ZodNullable<z.ZodString>;
109
+ provider: z.ZodNullable<z.ZodObject<{
110
+ uuid: z.ZodString;
111
+ name: z.ZodString;
112
+ faviconLink: z.ZodNullable<z.ZodString>;
113
+ loginUrl: z.ZodNullable<z.ZodString>;
114
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
115
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ uuid: string;
118
+ createdAt: Date;
119
+ updatedAt: Date;
120
+ name: string;
121
+ faviconLink: string | null;
122
+ loginUrl: string | null;
123
+ }, {
124
+ uuid: string;
125
+ createdAt: string;
126
+ updatedAt: string;
127
+ name: string;
128
+ faviconLink: string | null;
129
+ loginUrl: string | null;
130
+ }>>;
131
+ }, "uuid" | "name" | "countryCode">, "strip", z.ZodTypeAny, {
132
+ uuid: string;
133
+ name: string;
134
+ countryCode: string;
135
+ }, {
136
+ uuid: string;
137
+ name: string;
138
+ countryCode: string;
139
+ }>;
140
+ nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
141
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
142
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ uuid: string;
145
+ createdAt: Date;
146
+ updatedAt: Date;
147
+ nodeUuid: string;
148
+ providerUuid: string;
149
+ provider: {
150
+ uuid: string;
151
+ name: string;
152
+ faviconLink: string | null;
153
+ loginUrl: string | null;
154
+ };
155
+ node: {
156
+ uuid: string;
157
+ name: string;
158
+ countryCode: string;
159
+ };
160
+ nextBillingAt: Date;
161
+ }, {
162
+ uuid: string;
163
+ createdAt: string;
164
+ updatedAt: string;
165
+ nodeUuid: string;
166
+ providerUuid: string;
167
+ provider: {
168
+ uuid: string;
169
+ name: string;
170
+ faviconLink: string | null;
171
+ loginUrl: string | null;
172
+ };
173
+ node: {
174
+ uuid: string;
175
+ name: string;
176
+ countryCode: string;
177
+ };
178
+ nextBillingAt: string;
179
+ }>;
180
+ //# sourceMappingURL=infra-billing-node.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfraBillingNodeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const infra_provider_schema_1 = require("./infra-provider.schema");
6
+ const nodes_schema_1 = require("./nodes.schema");
7
+ exports.InfraBillingNodeSchema = zod_1.z.object({
8
+ uuid: zod_1.z.string().uuid(),
9
+ nodeUuid: zod_1.z.string().uuid(),
10
+ providerUuid: zod_1.z.string().uuid(),
11
+ provider: infra_provider_schema_1.PartialInfraProviderSchema.pick({
12
+ uuid: true,
13
+ name: true,
14
+ loginUrl: true,
15
+ faviconLink: true,
16
+ }),
17
+ node: nodes_schema_1.NodesSchema.pick({
18
+ uuid: true,
19
+ name: true,
20
+ countryCode: true,
21
+ }),
22
+ nextBillingAt: zod_1.z
23
+ .string()
24
+ .datetime()
25
+ .transform((str) => new Date(str)),
26
+ createdAt: zod_1.z
27
+ .string()
28
+ .datetime()
29
+ .transform((str) => new Date(str)),
30
+ updatedAt: zod_1.z
31
+ .string()
32
+ .datetime()
33
+ .transform((str) => new Date(str)),
34
+ });
@@ -0,0 +1,87 @@
1
+ import { z } from 'zod';
2
+ export declare const InfraProviderSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ name: z.ZodString;
5
+ faviconLink: z.ZodNullable<z.ZodString>;
6
+ loginUrl: z.ZodNullable<z.ZodString>;
7
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
8
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
9
+ billingHistory: z.ZodObject<{
10
+ totalAmount: z.ZodNumber;
11
+ totalBills: z.ZodNumber;
12
+ }, "strip", z.ZodTypeAny, {
13
+ totalAmount: number;
14
+ totalBills: number;
15
+ }, {
16
+ totalAmount: number;
17
+ totalBills: number;
18
+ }>;
19
+ billingNodes: z.ZodArray<z.ZodObject<{
20
+ nodeUuid: z.ZodString;
21
+ name: z.ZodString;
22
+ countryCode: z.ZodString;
23
+ }, "strip", z.ZodTypeAny, {
24
+ name: string;
25
+ countryCode: string;
26
+ nodeUuid: string;
27
+ }, {
28
+ name: string;
29
+ countryCode: string;
30
+ nodeUuid: string;
31
+ }>, "many">;
32
+ }, "strip", z.ZodTypeAny, {
33
+ uuid: string;
34
+ createdAt: Date;
35
+ updatedAt: Date;
36
+ name: string;
37
+ faviconLink: string | null;
38
+ loginUrl: string | null;
39
+ billingHistory: {
40
+ totalAmount: number;
41
+ totalBills: number;
42
+ };
43
+ billingNodes: {
44
+ name: string;
45
+ countryCode: string;
46
+ nodeUuid: string;
47
+ }[];
48
+ }, {
49
+ uuid: string;
50
+ createdAt: string;
51
+ updatedAt: string;
52
+ name: string;
53
+ faviconLink: string | null;
54
+ loginUrl: string | null;
55
+ billingHistory: {
56
+ totalAmount: number;
57
+ totalBills: number;
58
+ };
59
+ billingNodes: {
60
+ name: string;
61
+ countryCode: string;
62
+ nodeUuid: string;
63
+ }[];
64
+ }>;
65
+ export declare const PartialInfraProviderSchema: z.ZodObject<{
66
+ uuid: z.ZodString;
67
+ name: z.ZodString;
68
+ faviconLink: z.ZodNullable<z.ZodString>;
69
+ loginUrl: z.ZodNullable<z.ZodString>;
70
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
71
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ uuid: string;
74
+ createdAt: Date;
75
+ updatedAt: Date;
76
+ name: string;
77
+ faviconLink: string | null;
78
+ loginUrl: string | null;
79
+ }, {
80
+ uuid: string;
81
+ createdAt: string;
82
+ updatedAt: string;
83
+ name: string;
84
+ faviconLink: string | null;
85
+ loginUrl: string | null;
86
+ }>;
87
+ //# sourceMappingURL=infra-provider.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infra-provider.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-provider.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0B9B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAcrC,CAAC"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartialInfraProviderSchema = exports.InfraProviderSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.InfraProviderSchema = zod_1.z.object({
6
+ uuid: zod_1.z.string().uuid(),
7
+ name: zod_1.z.string(),
8
+ faviconLink: zod_1.z.nullable(zod_1.z.string()),
9
+ loginUrl: zod_1.z.nullable(zod_1.z.string()),
10
+ createdAt: zod_1.z
11
+ .string()
12
+ .datetime()
13
+ .transform((str) => new Date(str)),
14
+ updatedAt: zod_1.z
15
+ .string()
16
+ .datetime()
17
+ .transform((str) => new Date(str)),
18
+ billingHistory: zod_1.z.object({
19
+ totalAmount: zod_1.z.number(),
20
+ totalBills: zod_1.z.number(),
21
+ }),
22
+ billingNodes: zod_1.z.array(zod_1.z.object({
23
+ nodeUuid: zod_1.z.string(),
24
+ name: zod_1.z.string(),
25
+ countryCode: zod_1.z.string(),
26
+ })),
27
+ });
28
+ exports.PartialInfraProviderSchema = zod_1.z.object({
29
+ uuid: zod_1.z.string().uuid(),
30
+ name: zod_1.z.string(),
31
+ faviconLink: zod_1.z.nullable(zod_1.z.string()),
32
+ loginUrl: zod_1.z.nullable(zod_1.z.string()),
33
+ createdAt: zod_1.z
34
+ .string()
35
+ .datetime()
36
+ .transform((str) => new Date(str)),
37
+ updatedAt: zod_1.z
38
+ .string()
39
+ .datetime()
40
+ .transform((str) => new Date(str)),
41
+ });