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

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 (211) 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 +95 -0
  122. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  123. package/build/backend/constants/errors/errors.js +95 -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 +1 -0
  134. package/build/backend/constants/index.d.ts.map +1 -1
  135. package/build/backend/constants/index.js +1 -0
  136. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  137. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  138. package/build/backend/constants/templates/template-keys.js +1 -0
  139. package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
  140. package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
  141. package/build/backend/models/hosts.schema.d.ts +21 -6
  142. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  143. package/build/backend/models/hosts.schema.js +5 -2
  144. package/build/backend/models/index.d.ts +5 -1
  145. package/build/backend/models/index.d.ts.map +1 -1
  146. package/build/backend/models/index.js +5 -1
  147. package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
  148. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  149. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  150. package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
  151. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
  152. package/build/backend/models/infra-billing-history-record.schema.js +19 -0
  153. package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
  154. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  155. package/build/backend/models/infra-billing-node.schema.js +34 -0
  156. package/build/backend/models/infra-provider.schema.d.ts +87 -0
  157. package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
  158. package/build/backend/models/infra-provider.schema.js +41 -0
  159. package/build/backend/models/nodes.schema.d.ts +118 -44
  160. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  161. package/build/backend/models/nodes.schema.js +8 -2
  162. package/build/frontend/api/controllers/index.js +1 -0
  163. package/build/frontend/api/controllers/infra-billing.js +18 -0
  164. package/build/frontend/api/controllers/internal-squads.js +5 -0
  165. package/build/frontend/api/controllers/users.js +1 -0
  166. package/build/frontend/api/routes.js +19 -0
  167. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  168. package/build/frontend/commands/hosts/create.command.js +13 -13
  169. package/build/frontend/commands/hosts/update.command.js +10 -11
  170. package/build/frontend/commands/index.js +1 -0
  171. package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
  172. package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
  173. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
  174. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
  175. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
  176. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
  177. package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
  178. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
  179. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
  180. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
  181. package/build/frontend/commands/infra-billing/index.js +28 -0
  182. package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
  183. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
  184. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
  185. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
  186. package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
  187. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  188. package/build/frontend/commands/internal-squads/index.js +2 -1
  189. package/build/frontend/commands/nodes/create.command.js +7 -4
  190. package/build/frontend/commands/nodes/update.command.js +9 -4
  191. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +31 -0
  192. package/build/frontend/commands/users/index.js +1 -0
  193. package/build/frontend/constants/errors/errors.js +95 -0
  194. package/build/frontend/constants/events/events.js +10 -0
  195. package/build/frontend/constants/headers/headers.contants.js +5 -0
  196. package/build/frontend/constants/headers/index.js +17 -0
  197. package/build/frontend/constants/index.js +1 -0
  198. package/build/frontend/constants/templates/template-keys.js +1 -0
  199. package/build/frontend/models/hosts.schema.js +5 -2
  200. package/build/frontend/models/index.js +5 -1
  201. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  202. package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
  203. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  204. package/build/frontend/models/infra-provider.schema.js +41 -0
  205. package/build/frontend/models/nodes.schema.js +8 -2
  206. package/package.json +1 -1
  207. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
  208. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  209. /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
  210. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
  211. /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -3,6 +3,7 @@ export * from './auth';
3
3
  export * from './config-profiles';
4
4
  export * from './hosts';
5
5
  export * from './hwid';
6
+ export * from './infra-billing';
6
7
  export * from './internal-squads';
7
8
  export * from './keygen';
8
9
  export * from './nodes';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -19,6 +19,7 @@ __exportStar(require("./auth"), exports);
19
19
  __exportStar(require("./config-profiles"), exports);
20
20
  __exportStar(require("./hosts"), exports);
21
21
  __exportStar(require("./hwid"), exports);
22
+ __exportStar(require("./infra-billing"), exports);
22
23
  __exportStar(require("./internal-squads"), exports);
23
24
  __exportStar(require("./keygen"), exports);
24
25
  __exportStar(require("./nodes"), exports);
@@ -0,0 +1,16 @@
1
+ export declare const INFRA_BILLING_CONTROLLER: "infra-billing";
2
+ export declare const INFRA_BILLING_ROUTES: {
3
+ readonly GET_PROVIDERS: "providers";
4
+ readonly CREATE_PROVIDER: "providers";
5
+ readonly UPDATE_PROVIDER: "providers";
6
+ readonly DELETE_PROVIDER: (uuid: string) => string;
7
+ readonly GET_PROVIDER_BY_UUID: (uuid: string) => string;
8
+ readonly GET_BILLING_NODES: "nodes";
9
+ readonly CREATE_BILLING_NODE: "nodes";
10
+ readonly UPDATE_BILLING_NODE: "nodes";
11
+ readonly DELETE_BILLING_NODE: (uuid: string) => string;
12
+ readonly GET_BILLING_HISTORY: "history";
13
+ readonly CREATE_BILLING_HISTORY: "history";
14
+ readonly DELETE_BILLING_HISTORY: (uuid: string) => string;
15
+ };
16
+ //# sourceMappingURL=infra-billing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infra-billing.d.ts","sourceRoot":"","sources":["../../../../api/controllers/infra-billing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;qCAIL,MAAM;0CACD,MAAM;;;;yCAKP,MAAM;;;4CAIH,MAAM;CAC/B,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.INFRA_BILLING_ROUTES = exports.INFRA_BILLING_CONTROLLER = void 0;
4
+ exports.INFRA_BILLING_CONTROLLER = 'infra-billing';
5
+ exports.INFRA_BILLING_ROUTES = {
6
+ GET_PROVIDERS: 'providers', // Get list of all providers // get
7
+ CREATE_PROVIDER: 'providers', // Create new provider // post
8
+ UPDATE_PROVIDER: 'providers', // Update provider by uuid // patch
9
+ DELETE_PROVIDER: (uuid) => `providers/${uuid}`, // Delete provider by uuid // delete
10
+ GET_PROVIDER_BY_UUID: (uuid) => `providers/${uuid}`, // Get provider by uuid // get
11
+ GET_BILLING_NODES: 'nodes', // Get list of all nodes billing // get
12
+ CREATE_BILLING_NODE: 'nodes', // Create new node billing // post
13
+ UPDATE_BILLING_NODE: 'nodes', // Update node billing by uuid // patch
14
+ DELETE_BILLING_NODE: (uuid) => `nodes/${uuid}`, // Delete node billing by uuid // delete
15
+ GET_BILLING_HISTORY: 'history', // Get list of all nodes billing history // get
16
+ CREATE_BILLING_HISTORY: 'history', // Create new node billing history // post
17
+ DELETE_BILLING_HISTORY: (uuid) => `history/${uuid}`, // Delete node billing history by uuid // delete
18
+ };
@@ -5,5 +5,9 @@ export declare const INTERNAL_SQUADS_ROUTES: {
5
5
  readonly UPDATE: "";
6
6
  readonly GET_BY_UUID: (uuid: string) => string;
7
7
  readonly DELETE: (uuid: string) => string;
8
+ readonly BULK_ACTIONS: {
9
+ readonly ADD_USERS: (uuid: string) => string;
10
+ readonly REMOVE_USERS: (uuid: string) => string;
11
+ };
8
12
  };
9
13
  //# sourceMappingURL=internal-squads.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal-squads.d.ts","sourceRoot":"","sources":["../../../../api/controllers/internal-squads.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAErE,eAAO,MAAM,sBAAsB;;;;iCAIX,MAAM;4BACX,MAAM;CACf,CAAC"}
1
+ {"version":3,"file":"internal-squads.d.ts","sourceRoot":"","sources":["../../../../api/controllers/internal-squads.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAIrE,eAAO,MAAM,sBAAsB;;;;iCAIX,MAAM;4BACX,MAAM;;mCAGC,MAAM;sCACH,MAAM;;CAEzB,CAAC"}
@@ -2,10 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.INTERNAL_SQUADS_ROUTES = exports.INTERNAL_SQUADS_CONTROLLER = void 0;
4
4
  exports.INTERNAL_SQUADS_CONTROLLER = 'internal-squads';
5
+ const BULK_ACTIONS_ROUTE = 'bulk-actions';
5
6
  exports.INTERNAL_SQUADS_ROUTES = {
6
7
  GET: '', // Get list of all internal squads // get
7
8
  CREATE: '', // Create new internal squad // post
8
9
  UPDATE: '', // Update internal squad by uuid // patch
9
10
  GET_BY_UUID: (uuid) => `${uuid}`, // Get internal squad by uuid // get
10
11
  DELETE: (uuid) => `${uuid}`, // Delete internal squad by uuid // delete
12
+ BULK_ACTIONS: {
13
+ ADD_USERS: (uuid) => `${uuid}/${BULK_ACTIONS_ROUTE}/add-users`, // Add users to internal squad // post
14
+ REMOVE_USERS: (uuid) => `${uuid}/${BULK_ACTIONS_ROUTE}/remove-users`, // Remove users from internal squad // delete
15
+ },
11
16
  };
@@ -6,6 +6,7 @@ export declare const USERS_ROUTES: {
6
6
  readonly GET: "";
7
7
  readonly DELETE: (uuid: string) => string;
8
8
  readonly GET_BY_UUID: (uuid: string) => string;
9
+ readonly ACCESSIBLE_NODES: (uuid: string) => string;
9
10
  readonly ACTIONS: {
10
11
  readonly ENABLE: (uuid: string) => string;
11
12
  readonly DISABLE: (uuid: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAG,SAAkB,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;4BAIN,MAAM;iCACD,MAAM;;gCAEP,MAAM;iCACL,MAAM;uCACA,MAAM;6CACA,MAAM;;;yCAGV,MAAM;sCACT,MAAM;uDACW,MAAM;2CAClB,MAAM;gCACjB,MAAM;4BACV,MAAM;;;;;;;;;;;;;;;4CAiBU,MAAM;;;;;CAM/B,CAAC"}
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../api/controllers/users.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAG,SAAkB,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;4BAIN,MAAM;iCACD,MAAM;sCACD,MAAM;;gCAEZ,MAAM;iCACL,MAAM;uCACA,MAAM;6CACA,MAAM;;;yCAGV,MAAM;sCACT,MAAM;uDACW,MAAM;2CAClB,MAAM;gCACjB,MAAM;4BACV,MAAM;;;;;;;;;;;;;;;4CAiBU,MAAM;;;;;CAM/B,CAAC"}
@@ -9,6 +9,7 @@ exports.USERS_ROUTES = {
9
9
  GET: '',
10
10
  DELETE: (uuid) => `${uuid}`,
11
11
  GET_BY_UUID: (uuid) => `${uuid}`,
12
+ ACCESSIBLE_NODES: (uuid) => `${uuid}/accessible-nodes`,
12
13
  ACTIONS: {
13
14
  ENABLE: (uuid) => `${uuid}/${exports.USERS_ACTIONS_ROUTE}/enable`,
14
15
  DISABLE: (uuid) => `${uuid}/${exports.USERS_ACTIONS_ROUTE}/disable`,
@@ -43,6 +43,7 @@ export declare const REST_API: {
43
43
  readonly GET: "/api/users/";
44
44
  readonly DELETE: (uuid: string) => string;
45
45
  readonly GET_BY_UUID: (uuid: string) => string;
46
+ readonly ACCESSIBLE_NODES: (uuid: string) => string;
46
47
  readonly ACTIONS: {
47
48
  readonly DISABLE: (uuid: string) => string;
48
49
  readonly ENABLE: (uuid: string) => string;
@@ -140,6 +141,24 @@ export declare const REST_API: {
140
141
  readonly UPDATE: "/api/internal-squads/";
141
142
  readonly GET_BY_UUID: (uuid: string) => string;
142
143
  readonly DELETE: (uuid: string) => string;
144
+ readonly BULK_ACTIONS: {
145
+ readonly ADD_USERS: (uuid: string) => string;
146
+ readonly REMOVE_USERS: (uuid: string) => string;
147
+ };
148
+ };
149
+ readonly INFRA_BILLING: {
150
+ readonly GET_PROVIDERS: "/api/infra-billing/providers";
151
+ readonly CREATE_PROVIDER: "/api/infra-billing/providers";
152
+ readonly UPDATE_PROVIDER: "/api/infra-billing/providers";
153
+ readonly DELETE_PROVIDER: (uuid: string) => string;
154
+ readonly GET_PROVIDER_BY_UUID: (uuid: string) => string;
155
+ readonly GET_BILLING_NODES: "/api/infra-billing/nodes";
156
+ readonly CREATE_BILLING_NODE: "/api/infra-billing/nodes";
157
+ readonly UPDATE_BILLING_NODE: "/api/infra-billing/nodes";
158
+ readonly DELETE_BILLING_NODE: (uuid: string) => string;
159
+ readonly GET_BILLING_HISTORY: "/api/infra-billing/history";
160
+ readonly CREATE_BILLING_HISTORY: "/api/infra-billing/history";
161
+ readonly DELETE_BILLING_HISTORY: (uuid: string) => string;
143
162
  };
144
163
  };
145
164
  //# sourceMappingURL=routes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;gCAYE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;;qCAIN,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;qCAuBD,MAAM;;;;;;;;;mDAYQ,MAAM;;;;;;0CASf,MAAM;;;;;;;qCAUX,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;;CAKnB,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;gCAYE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;;qCAIX,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;qCAuBD,MAAM;;;;;;;;;mDAYQ,MAAM;;;;;;0CASf,MAAM;;;;;;;qCAUX,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;;uCAMC,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;CAGnC,CAAC"}
@@ -80,6 +80,7 @@ exports.REST_API = {
80
80
  GET: `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET}`,
81
81
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.DELETE(uuid)}`,
82
82
  GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.GET_BY_UUID(uuid)}`,
83
+ ACCESSIBLE_NODES: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.ACCESSIBLE_NODES(uuid)}`,
83
84
  ACTIONS: {
84
85
  DISABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.ACTIONS.DISABLE(uuid)}`,
85
86
  ENABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.ACTIONS.ENABLE(uuid)}`,
@@ -177,5 +178,23 @@ exports.REST_API = {
177
178
  UPDATE: `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.UPDATE}`,
178
179
  GET_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.GET_BY_UUID(uuid)}`,
179
180
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.DELETE(uuid)}`,
181
+ BULK_ACTIONS: {
182
+ ADD_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.ADD_USERS(uuid)}`,
183
+ REMOVE_USERS: (uuid) => `${exports.ROOT}/${CONTROLLERS.INTERNAL_SQUADS_CONTROLLER}/${CONTROLLERS.INTERNAL_SQUADS_ROUTES.BULK_ACTIONS.REMOVE_USERS(uuid)}`,
184
+ },
185
+ },
186
+ INFRA_BILLING: {
187
+ GET_PROVIDERS: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDERS}`,
188
+ CREATE_PROVIDER: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_PROVIDER}`,
189
+ UPDATE_PROVIDER: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.UPDATE_PROVIDER}`,
190
+ DELETE_PROVIDER: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_PROVIDER(uuid)}`,
191
+ GET_PROVIDER_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_PROVIDER_BY_UUID(uuid)}`,
192
+ GET_BILLING_NODES: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_BILLING_NODES}`,
193
+ CREATE_BILLING_NODE: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_BILLING_NODE}`,
194
+ UPDATE_BILLING_NODE: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE}`,
195
+ DELETE_BILLING_NODE: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_BILLING_NODE(uuid)}`,
196
+ GET_BILLING_HISTORY: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.GET_BILLING_HISTORY}`,
197
+ CREATE_BILLING_HISTORY: `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.CREATE_BILLING_HISTORY}`,
198
+ DELETE_BILLING_HISTORY: (uuid) => `${exports.ROOT}/${CONTROLLERS.INFRA_BILLING_CONTROLLER}/${CONTROLLERS.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(uuid)}`,
180
199
  },
181
200
  };
@@ -13,8 +13,8 @@ var CreateConfigProfileCommand;
13
13
  CreateConfigProfileCommand.RequestSchema = zod_1.z.object({
14
14
  name: zod_1.z
15
15
  .string()
16
- .min(6, 'Name must be at least 6 characters')
17
- .max(16, 'Name must be less than 16 characters')
16
+ .min(2, 'Name must be at least 2 characters')
17
+ .max(20, 'Name must be less than 20 characters')
18
18
  .regex(/^[A-Za-z0-9_-]+$/, 'Name can only contain letters, numbers, underscores and dashes'),
19
19
  config: zod_1.z.object({}).passthrough(),
20
20
  });
@@ -30,8 +30,17 @@ export declare namespace BulkDeleteHostsCommand {
30
30
  readonly NONE: "NONE";
31
31
  }>>;
32
32
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
33
- configProfileUuid: z.ZodNullable<z.ZodString>;
34
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
33
+ inbound: z.ZodObject<{
34
+ configProfileUuid: z.ZodNullable<z.ZodString>;
35
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ configProfileUuid: string | null;
38
+ configProfileInboundUuid: string | null;
39
+ }, {
40
+ configProfileUuid: string | null;
41
+ configProfileInboundUuid: string | null;
42
+ }>;
43
+ serverDescription: z.ZodNullable<z.ZodString>;
35
44
  }, "strip", z.ZodTypeAny, {
36
45
  path: string | null;
37
46
  uuid: string;
@@ -45,8 +54,11 @@ export declare namespace BulkDeleteHostsCommand {
45
54
  fingerprint: string | null;
46
55
  isDisabled: boolean;
47
56
  securityLayer: "DEFAULT" | "TLS" | "NONE";
48
- configProfileUuid: string | null;
49
- configProfileInboundUuid: string | null;
57
+ inbound: {
58
+ configProfileUuid: string | null;
59
+ configProfileInboundUuid: string | null;
60
+ };
61
+ serverDescription: string | null;
50
62
  xHttpExtraParams?: unknown;
51
63
  }, {
52
64
  path: string | null;
@@ -59,8 +71,11 @@ export declare namespace BulkDeleteHostsCommand {
59
71
  host: string | null;
60
72
  alpn: string | null;
61
73
  fingerprint: string | null;
62
- configProfileUuid: string | null;
63
- configProfileInboundUuid: string | null;
74
+ inbound: {
75
+ configProfileUuid: string | null;
76
+ configProfileInboundUuid: string | null;
77
+ };
78
+ serverDescription: string | null;
64
79
  isDisabled?: boolean | undefined;
65
80
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
66
81
  xHttpExtraParams?: unknown;
@@ -79,8 +94,11 @@ export declare namespace BulkDeleteHostsCommand {
79
94
  fingerprint: string | null;
80
95
  isDisabled: boolean;
81
96
  securityLayer: "DEFAULT" | "TLS" | "NONE";
82
- configProfileUuid: string | null;
83
- configProfileInboundUuid: string | null;
97
+ inbound: {
98
+ configProfileUuid: string | null;
99
+ configProfileInboundUuid: string | null;
100
+ };
101
+ serverDescription: string | null;
84
102
  xHttpExtraParams?: unknown;
85
103
  }[];
86
104
  }, {
@@ -95,8 +113,11 @@ export declare namespace BulkDeleteHostsCommand {
95
113
  host: string | null;
96
114
  alpn: string | null;
97
115
  fingerprint: string | null;
98
- configProfileUuid: string | null;
99
- configProfileInboundUuid: string | null;
116
+ inbound: {
117
+ configProfileUuid: string | null;
118
+ configProfileInboundUuid: string | null;
119
+ };
120
+ serverDescription: string | null;
100
121
  isDisabled?: boolean | undefined;
101
122
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
102
123
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/delete-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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":"delete-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/delete-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
@@ -30,8 +30,17 @@ export declare namespace BulkDisableHostsCommand {
30
30
  readonly NONE: "NONE";
31
31
  }>>;
32
32
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
33
- configProfileUuid: z.ZodNullable<z.ZodString>;
34
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
33
+ inbound: z.ZodObject<{
34
+ configProfileUuid: z.ZodNullable<z.ZodString>;
35
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ configProfileUuid: string | null;
38
+ configProfileInboundUuid: string | null;
39
+ }, {
40
+ configProfileUuid: string | null;
41
+ configProfileInboundUuid: string | null;
42
+ }>;
43
+ serverDescription: z.ZodNullable<z.ZodString>;
35
44
  }, "strip", z.ZodTypeAny, {
36
45
  path: string | null;
37
46
  uuid: string;
@@ -45,8 +54,11 @@ export declare namespace BulkDisableHostsCommand {
45
54
  fingerprint: string | null;
46
55
  isDisabled: boolean;
47
56
  securityLayer: "DEFAULT" | "TLS" | "NONE";
48
- configProfileUuid: string | null;
49
- configProfileInboundUuid: string | null;
57
+ inbound: {
58
+ configProfileUuid: string | null;
59
+ configProfileInboundUuid: string | null;
60
+ };
61
+ serverDescription: string | null;
50
62
  xHttpExtraParams?: unknown;
51
63
  }, {
52
64
  path: string | null;
@@ -59,8 +71,11 @@ export declare namespace BulkDisableHostsCommand {
59
71
  host: string | null;
60
72
  alpn: string | null;
61
73
  fingerprint: string | null;
62
- configProfileUuid: string | null;
63
- configProfileInboundUuid: string | null;
74
+ inbound: {
75
+ configProfileUuid: string | null;
76
+ configProfileInboundUuid: string | null;
77
+ };
78
+ serverDescription: string | null;
64
79
  isDisabled?: boolean | undefined;
65
80
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
66
81
  xHttpExtraParams?: unknown;
@@ -79,8 +94,11 @@ export declare namespace BulkDisableHostsCommand {
79
94
  fingerprint: string | null;
80
95
  isDisabled: boolean;
81
96
  securityLayer: "DEFAULT" | "TLS" | "NONE";
82
- configProfileUuid: string | null;
83
- configProfileInboundUuid: string | null;
97
+ inbound: {
98
+ configProfileUuid: string | null;
99
+ configProfileInboundUuid: string | null;
100
+ };
101
+ serverDescription: string | null;
84
102
  xHttpExtraParams?: unknown;
85
103
  }[];
86
104
  }, {
@@ -95,8 +113,11 @@ export declare namespace BulkDisableHostsCommand {
95
113
  host: string | null;
96
114
  alpn: string | null;
97
115
  fingerprint: string | null;
98
- configProfileUuid: string | null;
99
- configProfileInboundUuid: string | null;
116
+ inbound: {
117
+ configProfileUuid: string | null;
118
+ configProfileInboundUuid: string | null;
119
+ };
120
+ serverDescription: string | null;
100
121
  isDisabled?: boolean | undefined;
101
122
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
102
123
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
@@ -30,8 +30,17 @@ export declare namespace BulkEnableHostsCommand {
30
30
  readonly NONE: "NONE";
31
31
  }>>;
32
32
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
33
- configProfileUuid: z.ZodNullable<z.ZodString>;
34
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
33
+ inbound: z.ZodObject<{
34
+ configProfileUuid: z.ZodNullable<z.ZodString>;
35
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ configProfileUuid: string | null;
38
+ configProfileInboundUuid: string | null;
39
+ }, {
40
+ configProfileUuid: string | null;
41
+ configProfileInboundUuid: string | null;
42
+ }>;
43
+ serverDescription: z.ZodNullable<z.ZodString>;
35
44
  }, "strip", z.ZodTypeAny, {
36
45
  path: string | null;
37
46
  uuid: string;
@@ -45,8 +54,11 @@ export declare namespace BulkEnableHostsCommand {
45
54
  fingerprint: string | null;
46
55
  isDisabled: boolean;
47
56
  securityLayer: "DEFAULT" | "TLS" | "NONE";
48
- configProfileUuid: string | null;
49
- configProfileInboundUuid: string | null;
57
+ inbound: {
58
+ configProfileUuid: string | null;
59
+ configProfileInboundUuid: string | null;
60
+ };
61
+ serverDescription: string | null;
50
62
  xHttpExtraParams?: unknown;
51
63
  }, {
52
64
  path: string | null;
@@ -59,8 +71,11 @@ export declare namespace BulkEnableHostsCommand {
59
71
  host: string | null;
60
72
  alpn: string | null;
61
73
  fingerprint: string | null;
62
- configProfileUuid: string | null;
63
- configProfileInboundUuid: string | null;
74
+ inbound: {
75
+ configProfileUuid: string | null;
76
+ configProfileInboundUuid: string | null;
77
+ };
78
+ serverDescription: string | null;
64
79
  isDisabled?: boolean | undefined;
65
80
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
66
81
  xHttpExtraParams?: unknown;
@@ -79,8 +94,11 @@ export declare namespace BulkEnableHostsCommand {
79
94
  fingerprint: string | null;
80
95
  isDisabled: boolean;
81
96
  securityLayer: "DEFAULT" | "TLS" | "NONE";
82
- configProfileUuid: string | null;
83
- configProfileInboundUuid: string | null;
97
+ inbound: {
98
+ configProfileUuid: string | null;
99
+ configProfileInboundUuid: string | null;
100
+ };
101
+ serverDescription: string | null;
84
102
  xHttpExtraParams?: unknown;
85
103
  }[];
86
104
  }, {
@@ -95,8 +113,11 @@ export declare namespace BulkEnableHostsCommand {
95
113
  host: string | null;
96
114
  alpn: string | null;
97
115
  fingerprint: string | null;
98
- configProfileUuid: string | null;
99
- configProfileInboundUuid: string | null;
116
+ inbound: {
117
+ configProfileUuid: string | null;
118
+ configProfileInboundUuid: string | null;
119
+ };
120
+ serverDescription: string | null;
100
121
  isDisabled?: boolean | undefined;
101
122
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
102
123
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
@@ -36,8 +36,17 @@ export declare namespace SetInboundToManyHostsCommand {
36
36
  readonly NONE: "NONE";
37
37
  }>>;
38
38
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
39
- configProfileUuid: z.ZodNullable<z.ZodString>;
40
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
39
+ inbound: z.ZodObject<{
40
+ configProfileUuid: z.ZodNullable<z.ZodString>;
41
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ configProfileUuid: string | null;
44
+ configProfileInboundUuid: string | null;
45
+ }, {
46
+ configProfileUuid: string | null;
47
+ configProfileInboundUuid: string | null;
48
+ }>;
49
+ serverDescription: z.ZodNullable<z.ZodString>;
41
50
  }, "strip", z.ZodTypeAny, {
42
51
  path: string | null;
43
52
  uuid: string;
@@ -51,8 +60,11 @@ export declare namespace SetInboundToManyHostsCommand {
51
60
  fingerprint: string | null;
52
61
  isDisabled: boolean;
53
62
  securityLayer: "DEFAULT" | "TLS" | "NONE";
54
- configProfileUuid: string | null;
55
- configProfileInboundUuid: string | null;
63
+ inbound: {
64
+ configProfileUuid: string | null;
65
+ configProfileInboundUuid: string | null;
66
+ };
67
+ serverDescription: string | null;
56
68
  xHttpExtraParams?: unknown;
57
69
  }, {
58
70
  path: string | null;
@@ -65,8 +77,11 @@ export declare namespace SetInboundToManyHostsCommand {
65
77
  host: string | null;
66
78
  alpn: string | null;
67
79
  fingerprint: string | null;
68
- configProfileUuid: string | null;
69
- configProfileInboundUuid: string | null;
80
+ inbound: {
81
+ configProfileUuid: string | null;
82
+ configProfileInboundUuid: string | null;
83
+ };
84
+ serverDescription: string | null;
70
85
  isDisabled?: boolean | undefined;
71
86
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
72
87
  xHttpExtraParams?: unknown;
@@ -85,8 +100,11 @@ export declare namespace SetInboundToManyHostsCommand {
85
100
  fingerprint: string | null;
86
101
  isDisabled: boolean;
87
102
  securityLayer: "DEFAULT" | "TLS" | "NONE";
88
- configProfileUuid: string | null;
89
- configProfileInboundUuid: string | null;
103
+ inbound: {
104
+ configProfileUuid: string | null;
105
+ configProfileInboundUuid: string | null;
106
+ };
107
+ serverDescription: string | null;
90
108
  xHttpExtraParams?: unknown;
91
109
  }[];
92
110
  }, {
@@ -101,8 +119,11 @@ export declare namespace SetInboundToManyHostsCommand {
101
119
  host: string | null;
102
120
  alpn: string | null;
103
121
  fingerprint: string | null;
104
- configProfileUuid: string | null;
105
- configProfileInboundUuid: string | null;
122
+ inbound: {
123
+ configProfileUuid: string | null;
124
+ configProfileInboundUuid: string | null;
125
+ };
126
+ serverDescription: string | null;
106
127
  isDisabled?: boolean | undefined;
107
128
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
108
129
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,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":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,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"}
@@ -33,8 +33,17 @@ export declare namespace SetPortToManyHostsCommand {
33
33
  readonly NONE: "NONE";
34
34
  }>>;
35
35
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
36
- configProfileUuid: z.ZodNullable<z.ZodString>;
37
- configProfileInboundUuid: z.ZodNullable<z.ZodString>;
36
+ inbound: z.ZodObject<{
37
+ configProfileUuid: z.ZodNullable<z.ZodString>;
38
+ configProfileInboundUuid: z.ZodNullable<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ configProfileUuid: string | null;
41
+ configProfileInboundUuid: string | null;
42
+ }, {
43
+ configProfileUuid: string | null;
44
+ configProfileInboundUuid: string | null;
45
+ }>;
46
+ serverDescription: z.ZodNullable<z.ZodString>;
38
47
  }, "strip", z.ZodTypeAny, {
39
48
  path: string | null;
40
49
  uuid: string;
@@ -48,8 +57,11 @@ export declare namespace SetPortToManyHostsCommand {
48
57
  fingerprint: string | null;
49
58
  isDisabled: boolean;
50
59
  securityLayer: "DEFAULT" | "TLS" | "NONE";
51
- configProfileUuid: string | null;
52
- configProfileInboundUuid: string | null;
60
+ inbound: {
61
+ configProfileUuid: string | null;
62
+ configProfileInboundUuid: string | null;
63
+ };
64
+ serverDescription: string | null;
53
65
  xHttpExtraParams?: unknown;
54
66
  }, {
55
67
  path: string | null;
@@ -62,8 +74,11 @@ export declare namespace SetPortToManyHostsCommand {
62
74
  host: string | null;
63
75
  alpn: string | null;
64
76
  fingerprint: string | null;
65
- configProfileUuid: string | null;
66
- configProfileInboundUuid: string | null;
77
+ inbound: {
78
+ configProfileUuid: string | null;
79
+ configProfileInboundUuid: string | null;
80
+ };
81
+ serverDescription: string | null;
67
82
  isDisabled?: boolean | undefined;
68
83
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
69
84
  xHttpExtraParams?: unknown;
@@ -82,8 +97,11 @@ export declare namespace SetPortToManyHostsCommand {
82
97
  fingerprint: string | null;
83
98
  isDisabled: boolean;
84
99
  securityLayer: "DEFAULT" | "TLS" | "NONE";
85
- configProfileUuid: string | null;
86
- configProfileInboundUuid: string | null;
100
+ inbound: {
101
+ configProfileUuid: string | null;
102
+ configProfileInboundUuid: string | null;
103
+ };
104
+ serverDescription: string | null;
87
105
  xHttpExtraParams?: unknown;
88
106
  }[];
89
107
  }, {
@@ -98,8 +116,11 @@ export declare namespace SetPortToManyHostsCommand {
98
116
  host: string | null;
99
117
  alpn: string | null;
100
118
  fingerprint: string | null;
101
- configProfileUuid: string | null;
102
- configProfileInboundUuid: string | null;
119
+ inbound: {
120
+ configProfileUuid: string | null;
121
+ configProfileInboundUuid: string | null;
122
+ };
123
+ serverDescription: string | null;
103
124
  isDisabled?: boolean | undefined;
104
125
  securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
105
126
  xHttpExtraParams?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,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":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,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"}