@remnawave/backend-contract 0.0.63 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. package/build/backend/api/controllers/nodes.d.ts +3 -0
  2. package/build/backend/api/controllers/nodes.d.ts.map +1 -1
  3. package/build/backend/api/controllers/nodes.js +3 -0
  4. package/build/backend/api/index.d.ts +1 -1
  5. package/build/backend/api/index.d.ts.map +1 -1
  6. package/build/backend/api/index.js +1 -1
  7. package/build/backend/api/routes.d.ts +3 -0
  8. package/build/backend/api/routes.d.ts.map +1 -1
  9. package/build/backend/api/routes.js +3 -0
  10. package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
  11. package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -1
  12. package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
  13. package/build/backend/commands/api-tokens/find.command.js +1 -1
  14. package/build/backend/commands/auth/login.command.d.ts.map +1 -1
  15. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/create.command.js +2 -2
  17. package/build/backend/commands/hosts/delete.command.d.ts.map +1 -1
  18. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  19. package/build/backend/commands/hosts/get-all.command.js +1 -1
  20. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  21. package/build/backend/commands/hosts/reorder.command.js +1 -1
  22. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  23. package/build/backend/commands/hosts/update.command.js +2 -2
  24. package/build/backend/commands/inbounds/get-inbounds.command.d.ts.map +1 -1
  25. package/build/backend/commands/inbounds/get-inbounds.command.js +1 -1
  26. package/build/backend/commands/keygen/get-pubkey.command.d.ts.map +1 -1
  27. package/build/backend/commands/nodes/create.command.d.ts +36 -0
  28. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  29. package/build/backend/commands/nodes/create.command.js +4 -1
  30. package/build/backend/commands/nodes/delete.command.d.ts.map +1 -1
  31. package/build/backend/commands/nodes/disable.command.d.ts +33 -0
  32. package/build/backend/commands/nodes/disable.command.d.ts.map +1 -1
  33. package/build/backend/commands/nodes/disable.command.js +1 -1
  34. package/build/backend/commands/nodes/enable.command.d.ts +33 -0
  35. package/build/backend/commands/nodes/enable.command.d.ts.map +1 -1
  36. package/build/backend/commands/nodes/enable.command.js +1 -1
  37. package/build/backend/commands/nodes/get-all.command.d.ts +33 -0
  38. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  39. package/build/backend/commands/nodes/get-all.command.js +1 -1
  40. package/build/backend/commands/nodes/get-nodes-usage-by-range.command.d.ts +70 -0
  41. package/build/backend/commands/nodes/get-nodes-usage-by-range.command.d.ts.map +1 -0
  42. package/build/backend/commands/nodes/get-nodes-usage-by-range.command.js +26 -0
  43. package/build/backend/commands/nodes/get-one.command.d.ts +33 -0
  44. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  45. package/build/backend/commands/nodes/get-one.command.js +1 -1
  46. package/build/backend/commands/nodes/index.d.ts +1 -0
  47. package/build/backend/commands/nodes/index.d.ts.map +1 -1
  48. package/build/backend/commands/nodes/index.js +1 -0
  49. package/build/backend/commands/nodes/restart-all.command.d.ts.map +1 -1
  50. package/build/backend/commands/nodes/restart.command.d.ts.map +1 -1
  51. package/build/backend/commands/nodes/update.command.d.ts +49 -0
  52. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  53. package/build/backend/commands/nodes/update.command.js +4 -1
  54. package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts.map +1 -1
  55. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
  56. package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.js +1 -1
  57. package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -1
  58. package/build/backend/commands/system/get-bandwidth-stats.command.js +1 -1
  59. package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -1
  60. package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
  61. package/build/backend/commands/system/get-stats.command.js +1 -1
  62. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  63. package/build/backend/commands/users/create-user.command.js +1 -1
  64. package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
  65. package/build/backend/commands/users/disable-user.command.ts.d.ts.map +1 -1
  66. package/build/backend/commands/users/disable-user.command.ts.js +1 -1
  67. package/build/backend/commands/users/enable-user.command.d.ts.map +1 -1
  68. package/build/backend/commands/users/enable-user.command.js +1 -1
  69. package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +1 -1
  70. package/build/backend/commands/users/get-all-users-v2.command.js +1 -1
  71. package/build/backend/commands/users/get-all-users.command.d.ts +1 -1
  72. package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
  73. package/build/backend/commands/users/get-all-users.command.js +1 -1
  74. package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -1
  75. package/build/backend/commands/users/get-user-by-short-uuid.command.js +1 -1
  76. package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
  77. package/build/backend/commands/users/get-user-by-subscription-uuid.command.js +1 -1
  78. package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -1
  79. package/build/backend/commands/users/get-user-by-username.command.js +1 -1
  80. package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
  81. package/build/backend/commands/users/get-user-by-uuid.command.js +1 -1
  82. package/build/backend/commands/users/index.d.ts +1 -1
  83. package/build/backend/commands/users/index.d.ts.map +1 -1
  84. package/build/backend/commands/users/index.js +1 -1
  85. package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
  86. package/build/backend/commands/users/revoke-user-subscription.command.js +1 -1
  87. package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
  88. package/build/backend/commands/users/update-user.command.js +1 -1
  89. package/build/backend/commands/xray/get-config.command.d.ts.map +1 -1
  90. package/build/backend/commands/xray/update-config.command.d.ts.map +1 -1
  91. package/build/backend/constants/errors/errors.d.ts +5 -0
  92. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  93. package/build/backend/constants/errors/errors.js +5 -0
  94. package/build/backend/constants/index.d.ts +1 -1
  95. package/build/backend/constants/index.d.ts.map +1 -1
  96. package/build/backend/constants/index.js +1 -1
  97. package/build/backend/constants/nodes/index.d.ts +1 -1
  98. package/build/backend/constants/nodes/index.d.ts.map +1 -1
  99. package/build/backend/constants/nodes/index.js +1 -1
  100. package/build/backend/models/nodes.schema.d.ts +23 -0
  101. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  102. package/build/backend/models/nodes.schema.js +2 -0
  103. package/build/backend/models/users.schema.d.ts.map +1 -1
  104. package/build/frontend/api/controllers/nodes.js +3 -0
  105. package/build/frontend/api/index.js +1 -1
  106. package/build/frontend/api/routes.js +3 -0
  107. package/build/frontend/commands/api-tokens/find.command.js +1 -1
  108. package/build/frontend/commands/hosts/create.command.js +2 -2
  109. package/build/frontend/commands/hosts/get-all.command.js +1 -1
  110. package/build/frontend/commands/hosts/reorder.command.js +1 -1
  111. package/build/frontend/commands/hosts/update.command.js +2 -2
  112. package/build/frontend/commands/inbounds/get-inbounds.command.js +1 -1
  113. package/build/frontend/commands/nodes/create.command.js +4 -1
  114. package/build/frontend/commands/nodes/disable.command.js +1 -1
  115. package/build/frontend/commands/nodes/enable.command.js +1 -1
  116. package/build/frontend/commands/nodes/get-all.command.js +1 -1
  117. package/build/frontend/commands/nodes/get-nodes-usage-by-range.command.js +26 -0
  118. package/build/frontend/commands/nodes/get-one.command.js +1 -1
  119. package/build/frontend/commands/nodes/index.js +1 -0
  120. package/build/frontend/commands/nodes/update.command.js +4 -1
  121. package/build/frontend/commands/subscription/get-subscription-info-by-short-uuid.command.js +1 -1
  122. package/build/frontend/commands/system/get-bandwidth-stats.command.js +1 -1
  123. package/build/frontend/commands/system/get-stats.command.js +1 -1
  124. package/build/frontend/commands/users/create-user.command.js +1 -1
  125. package/build/frontend/commands/users/disable-user.command.ts.js +1 -1
  126. package/build/frontend/commands/users/enable-user.command.js +1 -1
  127. package/build/frontend/commands/users/get-all-users-v2.command.js +1 -1
  128. package/build/frontend/commands/users/get-all-users.command.js +1 -1
  129. package/build/frontend/commands/users/get-user-by-short-uuid.command.js +1 -1
  130. package/build/frontend/commands/users/get-user-by-subscription-uuid.command.js +1 -1
  131. package/build/frontend/commands/users/get-user-by-username.command.js +1 -1
  132. package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
  133. package/build/frontend/commands/users/index.js +1 -1
  134. package/build/frontend/commands/users/revoke-user-subscription.command.js +1 -1
  135. package/build/frontend/commands/users/update-user.command.js +1 -1
  136. package/build/frontend/constants/errors/errors.js +5 -0
  137. package/build/frontend/constants/index.js +1 -1
  138. package/build/frontend/constants/nodes/index.js +1 -1
  139. package/build/frontend/models/nodes.schema.js +2 -0
  140. package/package.json +1 -1
@@ -9,5 +9,8 @@ export declare const NODES_ROUTES: {
9
9
  readonly DISABLE: "disable";
10
10
  readonly GET_ALL: "get-all";
11
11
  readonly GET_ONE: "get-one";
12
+ readonly STATS: {
13
+ readonly USAGE_BY_RANGE: "usage/range";
14
+ };
12
15
  };
13
16
  //# sourceMappingURL=nodes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;;;;;;;CAWf,CAAC"}
1
+ {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAcf,CAAC"}
@@ -12,4 +12,7 @@ exports.NODES_ROUTES = {
12
12
  DISABLE: 'disable',
13
13
  GET_ALL: 'get-all',
14
14
  GET_ONE: 'get-one',
15
+ STATS: {
16
+ USAGE_BY_RANGE: 'usage/range',
17
+ },
15
18
  };
@@ -1,3 +1,3 @@
1
- export * from './routes';
2
1
  export * from './controllers';
2
+ export * from './routes';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./routes"), exports);
18
17
  __exportStar(require("./controllers"), exports);
18
+ __exportStar(require("./routes"), exports);
@@ -21,6 +21,9 @@ export declare const REST_API: {
21
21
  readonly DISABLE: (uuid: string) => string;
22
22
  readonly ENABLE: (uuid: string) => string;
23
23
  readonly RESTART_ALL: "/api/nodes/restart-all";
24
+ readonly STATS: {
25
+ readonly USAGE_BY_RANGE: "/api/nodes/usage/range";
26
+ };
24
27
  };
25
28
  readonly XRAY: {
26
29
  readonly GET_CONFIG: "/api/xray/get-config";
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM;;;;;;;;;;;;qCAaD,MAAM;gDAEK,MAAM;6CAET,MAAM;8DAEW,MAAM;;6CAGvB,MAAM;sCAEb,MAAM;qCAEP,MAAM;qCAEN,MAAM;;;;;kCAMT,MAAM;uCAED,MAAM;;;;;;;;gCASb,MAAM;;;;;;;CAQnB,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;gCAME,MAAM;;;;;;;;gCASN,MAAM;;;iCAIL,MAAM;iCAEN,MAAM;iCAEN,MAAM;gCAEP,MAAM;;;;;;;;;;;;;;;qCAgBD,MAAM;gDAEK,MAAM;6CAET,MAAM;8DAEW,MAAM;;6CAGvB,MAAM;sCAEb,MAAM;qCAEP,MAAM;qCAEN,MAAM;;;;;kCAMT,MAAM;uCAED,MAAM;;;;;;;;gCASb,MAAM;;;;;;;CAQnB,CAAC"}
@@ -58,6 +58,9 @@ exports.REST_API = {
58
58
  DISABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.DISABLE}/${uuid}`,
59
59
  ENABLE: (uuid) => `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.ENABLE}/${uuid}`,
60
60
  RESTART_ALL: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.RESTART_ALL}`,
61
+ STATS: {
62
+ USAGE_BY_RANGE: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.STATS.USAGE_BY_RANGE}`,
63
+ },
61
64
  },
62
65
  XRAY: {
63
66
  GET_CONFIG: `${exports.ROOT}/${CONTROLLERS.XRAY_CONTROLLER}/${CONTROLLERS.XRAY_ROUTES.GET_CONFIG}`,
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,sBAA6B,CAAC;IACvC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,sBAA6B,CAAC;IACvC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,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.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,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 +1 @@
1
- {"version":3,"file":"find.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/find.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,gBAA8B,CAAC;IACxC,MAAM,OAAO,gBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"find.command.d.ts","sourceRoot":"","sources":["../../../../commands/api-tokens/find.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,gBAA8B,CAAC;IACxC,MAAM,OAAO,gBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FindAllApiTokensCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const api_tokens_schema_1 = require("../../models/api-tokens.schema");
6
+ const api_1 = require("../../api");
7
7
  var FindAllApiTokensCommand;
8
8
  (function (FindAllApiTokensCommand) {
9
9
  FindAllApiTokensCommand.url = api_1.REST_API.API_TOKENS.GET_ALL;
@@ -1 +1 @@
1
- {"version":3,"file":"login.command.d.ts","sourceRoot":"","sources":["../../../../commands/auth/login.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,YAAY,CAAC;IACnB,MAAM,GAAG,mBAAsB,CAAC;IAChC,MAAM,OAAO,mBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"login.command.d.ts","sourceRoot":"","sources":["../../../../commands/auth/login.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,YAAY,CAAC;IACnB,MAAM,GAAG,mBAAsB,CAAC;IAChC,MAAM,OAAO,mBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BxB,CAAC;IACH,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":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BxB,CAAC;IACH,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"}
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateHostCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
- const alpn_1 = require("../../constants/hosts/alpn");
7
5
  const fingerprints_1 = require("../../constants/hosts/fingerprints");
6
+ const alpn_1 = require("../../constants/hosts/alpn");
8
7
  const models_1 = require("../../models");
8
+ const api_1 = require("../../api");
9
9
  var CreateHostCommand;
10
10
  (function (CreateHostCommand) {
11
11
  CreateHostCommand.url = api_1.REST_API.HOSTS.CREATE;
@@ -1 +1 @@
1
- {"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAyB,CAAC;IACnC,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAyB,CAAC;IACnC,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAllHostsCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
7
  var GetAllHostsCommand;
8
8
  (function (GetAllHostsCommand) {
9
9
  GetAllHostsCommand.url = api_1.REST_API.HOSTS.GET_ALL;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReorderHostCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
7
  var ReorderHostCommand;
8
8
  (function (ReorderHostCommand) {
9
9
  ReorderHostCommand.url = api_1.REST_API.HOSTS.REORDER;
@@ -1 +1 @@
1
- {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCxB,CAAC;IACH,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"}
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateHostCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
- const alpn_1 = require("../../constants/hosts/alpn");
7
5
  const fingerprints_1 = require("../../constants/hosts/fingerprints");
6
+ const alpn_1 = require("../../constants/hosts/alpn");
8
7
  const models_1 = require("../../models");
8
+ const api_1 = require("../../api");
9
9
  var UpdateHostCommand;
10
10
  (function (UpdateHostCommand) {
11
11
  UpdateHostCommand.url = api_1.REST_API.HOSTS.UPDATE;
@@ -1 +1 @@
1
- {"version":3,"file":"get-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/inbounds/get-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAiC,CAAC;IAC3C,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-inbounds.command.d.ts","sourceRoot":"","sources":["../../../../commands/inbounds/get-inbounds.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,kBAAiC,CAAC;IAC3C,MAAM,OAAO,kBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetInboundsCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const inbounds_schema_1 = require("../../models/inbounds.schema");
6
+ const api_1 = require("../../api");
7
7
  var GetInboundsCommand;
8
8
  (function (GetInboundsCommand) {
9
9
  GetInboundsCommand.url = api_1.REST_API.INBOUNDS.GET_INBOUNDS;
@@ -1 +1 @@
1
- {"version":3,"file":"get-pubkey.command.d.ts","sourceRoot":"","sources":["../../../../commands/keygen/get-pubkey.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,gBAAgB,CAAC;IACvB,MAAM,GAAG,mBAAsB,CAAC;IAChC,MAAM,OAAO,mBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-pubkey.command.d.ts","sourceRoot":"","sources":["../../../../commands/keygen/get-pubkey.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,gBAAgB,CAAC;IACvB,MAAM,GAAG,mBAAsB,CAAC;IAChC,MAAM,OAAO,mBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -10,6 +10,7 @@ export declare namespace CreateNodeCommand {
10
10
  trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
11
11
  notifyPercent: z.ZodOptional<z.ZodNumber>;
12
12
  trafficResetDay: z.ZodOptional<z.ZodNumber>;
13
+ excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
14
  }, "strip", z.ZodTypeAny, {
14
15
  address: string;
15
16
  name: string;
@@ -18,6 +19,7 @@ export declare namespace CreateNodeCommand {
18
19
  trafficResetDay?: number | undefined;
19
20
  trafficLimitBytes?: number | undefined;
20
21
  notifyPercent?: number | undefined;
22
+ excludedInbounds?: string[] | undefined;
21
23
  }, {
22
24
  address: string;
23
25
  name: string;
@@ -26,6 +28,7 @@ export declare namespace CreateNodeCommand {
26
28
  trafficResetDay?: number | undefined;
27
29
  trafficLimitBytes?: number | undefined;
28
30
  notifyPercent?: number | undefined;
31
+ excludedInbounds?: string[] | undefined;
29
32
  }>;
30
33
  type Request = z.infer<typeof RequestSchema>;
31
34
  const ResponseSchema: z.ZodObject<{
@@ -53,6 +56,19 @@ export declare namespace CreateNodeCommand {
53
56
  totalRam: z.ZodNullable<z.ZodString>;
54
57
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
55
58
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
59
+ excludedInbounds: z.ZodArray<z.ZodObject<{
60
+ uuid: z.ZodString;
61
+ tag: z.ZodString;
62
+ type: z.ZodString;
63
+ }, "strip", z.ZodTypeAny, {
64
+ uuid: string;
65
+ type: string;
66
+ tag: string;
67
+ }, {
68
+ uuid: string;
69
+ type: string;
70
+ tag: string;
71
+ }>, "many">;
56
72
  }, "strip", z.ZodTypeAny, {
57
73
  uuid: string;
58
74
  createdAt: Date;
@@ -77,6 +93,11 @@ export declare namespace CreateNodeCommand {
77
93
  cpuCount: number | null;
78
94
  cpuModel: string | null;
79
95
  totalRam: string | null;
96
+ excludedInbounds: {
97
+ uuid: string;
98
+ type: string;
99
+ tag: string;
100
+ }[];
80
101
  }, {
81
102
  uuid: string;
82
103
  createdAt: string;
@@ -101,6 +122,11 @@ export declare namespace CreateNodeCommand {
101
122
  cpuCount: number | null;
102
123
  cpuModel: string | null;
103
124
  totalRam: string | null;
125
+ excludedInbounds: {
126
+ uuid: string;
127
+ type: string;
128
+ tag: string;
129
+ }[];
104
130
  }>;
105
131
  }, "strip", z.ZodTypeAny, {
106
132
  response: {
@@ -127,6 +153,11 @@ export declare namespace CreateNodeCommand {
127
153
  cpuCount: number | null;
128
154
  cpuModel: string | null;
129
155
  totalRam: string | null;
156
+ excludedInbounds: {
157
+ uuid: string;
158
+ type: string;
159
+ tag: string;
160
+ }[];
130
161
  };
131
162
  }, {
132
163
  response: {
@@ -153,6 +184,11 @@ export declare namespace CreateNodeCommand {
153
184
  cpuCount: number | null;
154
185
  cpuModel: string | null;
155
186
  totalRam: string | null;
187
+ excludedInbounds: {
188
+ uuid: string;
189
+ type: string;
190
+ tag: string;
191
+ }[];
156
192
  };
157
193
  }>;
158
194
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;MAsBxB,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":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BxB,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"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateNodeCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
7
  var CreateNodeCommand;
8
8
  (function (CreateNodeCommand) {
9
9
  CreateNodeCommand.url = api_1.REST_API.NODES.CREATE;
@@ -24,6 +24,9 @@ var CreateNodeCommand;
24
24
  .int()
25
25
  .min(1, 'Traffic reset day must be greater than 0')
26
26
  .max(31, 'Traffic reset day must be less than 31')),
27
+ excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
28
+ invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
29
+ })),
27
30
  });
28
31
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
29
32
  response: models_1.NodesSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"delete.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/delete.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -35,6 +35,19 @@ export declare namespace DisableNodeCommand {
35
35
  totalRam: z.ZodNullable<z.ZodString>;
36
36
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
37
37
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
38
+ excludedInbounds: z.ZodArray<z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ tag: z.ZodString;
41
+ type: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ uuid: string;
44
+ type: string;
45
+ tag: string;
46
+ }, {
47
+ uuid: string;
48
+ type: string;
49
+ tag: string;
50
+ }>, "many">;
38
51
  }, "strip", z.ZodTypeAny, {
39
52
  uuid: string;
40
53
  createdAt: Date;
@@ -59,6 +72,11 @@ export declare namespace DisableNodeCommand {
59
72
  cpuCount: number | null;
60
73
  cpuModel: string | null;
61
74
  totalRam: string | null;
75
+ excludedInbounds: {
76
+ uuid: string;
77
+ type: string;
78
+ tag: string;
79
+ }[];
62
80
  }, {
63
81
  uuid: string;
64
82
  createdAt: string;
@@ -83,6 +101,11 @@ export declare namespace DisableNodeCommand {
83
101
  cpuCount: number | null;
84
102
  cpuModel: string | null;
85
103
  totalRam: string | null;
104
+ excludedInbounds: {
105
+ uuid: string;
106
+ type: string;
107
+ tag: string;
108
+ }[];
86
109
  }>;
87
110
  }, "strip", z.ZodTypeAny, {
88
111
  response: {
@@ -109,6 +132,11 @@ export declare namespace DisableNodeCommand {
109
132
  cpuCount: number | null;
110
133
  cpuModel: string | null;
111
134
  totalRam: string | null;
135
+ excludedInbounds: {
136
+ uuid: string;
137
+ type: string;
138
+ tag: string;
139
+ }[];
112
140
  };
113
141
  }, {
114
142
  response: {
@@ -135,6 +163,11 @@ export declare namespace DisableNodeCommand {
135
163
  cpuCount: number | null;
136
164
  cpuModel: string | null;
137
165
  totalRam: string | null;
166
+ excludedInbounds: {
167
+ uuid: string;
168
+ type: string;
169
+ tag: string;
170
+ }[];
138
171
  };
139
172
  }>;
140
173
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAyB,CAAC;IACnC,MAAM,OAAO,QAAe,CAAC;IAE7B,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.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAyB,CAAC;IACnC,MAAM,OAAO,QAAe,CAAC;IAE7B,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"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DisableNodeCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
7
  var DisableNodeCommand;
8
8
  (function (DisableNodeCommand) {
9
9
  DisableNodeCommand.url = api_1.REST_API.NODES.DISABLE;
@@ -35,6 +35,19 @@ export declare namespace EnableNodeCommand {
35
35
  totalRam: z.ZodNullable<z.ZodString>;
36
36
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
37
37
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
38
+ excludedInbounds: z.ZodArray<z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ tag: z.ZodString;
41
+ type: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ uuid: string;
44
+ type: string;
45
+ tag: string;
46
+ }, {
47
+ uuid: string;
48
+ type: string;
49
+ tag: string;
50
+ }>, "many">;
38
51
  }, "strip", z.ZodTypeAny, {
39
52
  uuid: string;
40
53
  createdAt: Date;
@@ -59,6 +72,11 @@ export declare namespace EnableNodeCommand {
59
72
  cpuCount: number | null;
60
73
  cpuModel: string | null;
61
74
  totalRam: string | null;
75
+ excludedInbounds: {
76
+ uuid: string;
77
+ type: string;
78
+ tag: string;
79
+ }[];
62
80
  }, {
63
81
  uuid: string;
64
82
  createdAt: string;
@@ -83,6 +101,11 @@ export declare namespace EnableNodeCommand {
83
101
  cpuCount: number | null;
84
102
  cpuModel: string | null;
85
103
  totalRam: string | null;
104
+ excludedInbounds: {
105
+ uuid: string;
106
+ type: string;
107
+ tag: string;
108
+ }[];
86
109
  }>;
87
110
  }, "strip", z.ZodTypeAny, {
88
111
  response: {
@@ -109,6 +132,11 @@ export declare namespace EnableNodeCommand {
109
132
  cpuCount: number | null;
110
133
  cpuModel: string | null;
111
134
  totalRam: string | null;
135
+ excludedInbounds: {
136
+ uuid: string;
137
+ type: string;
138
+ tag: string;
139
+ }[];
112
140
  };
113
141
  }, {
114
142
  response: {
@@ -135,6 +163,11 @@ export declare namespace EnableNodeCommand {
135
163
  cpuCount: number | null;
136
164
  cpuModel: string | null;
137
165
  totalRam: string | null;
166
+ excludedInbounds: {
167
+ uuid: string;
168
+ type: string;
169
+ tag: string;
170
+ }[];
138
171
  };
139
172
  }>;
140
173
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,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.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,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"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EnableNodeCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
7
  var EnableNodeCommand;
8
8
  (function (EnableNodeCommand) {
9
9
  EnableNodeCommand.url = api_1.REST_API.NODES.ENABLE;
@@ -27,6 +27,19 @@ export declare namespace GetAllNodesCommand {
27
27
  totalRam: z.ZodNullable<z.ZodString>;
28
28
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
29
29
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
30
+ excludedInbounds: z.ZodArray<z.ZodObject<{
31
+ uuid: z.ZodString;
32
+ tag: z.ZodString;
33
+ type: z.ZodString;
34
+ }, "strip", z.ZodTypeAny, {
35
+ uuid: string;
36
+ type: string;
37
+ tag: string;
38
+ }, {
39
+ uuid: string;
40
+ type: string;
41
+ tag: string;
42
+ }>, "many">;
30
43
  }, "strip", z.ZodTypeAny, {
31
44
  uuid: string;
32
45
  createdAt: Date;
@@ -51,6 +64,11 @@ export declare namespace GetAllNodesCommand {
51
64
  cpuCount: number | null;
52
65
  cpuModel: string | null;
53
66
  totalRam: string | null;
67
+ excludedInbounds: {
68
+ uuid: string;
69
+ type: string;
70
+ tag: string;
71
+ }[];
54
72
  }, {
55
73
  uuid: string;
56
74
  createdAt: string;
@@ -75,6 +93,11 @@ export declare namespace GetAllNodesCommand {
75
93
  cpuCount: number | null;
76
94
  cpuModel: string | null;
77
95
  totalRam: string | null;
96
+ excludedInbounds: {
97
+ uuid: string;
98
+ type: string;
99
+ tag: string;
100
+ }[];
78
101
  }>, "many">;
79
102
  }, "strip", z.ZodTypeAny, {
80
103
  response: {
@@ -101,6 +124,11 @@ export declare namespace GetAllNodesCommand {
101
124
  cpuCount: number | null;
102
125
  cpuModel: string | null;
103
126
  totalRam: string | null;
127
+ excludedInbounds: {
128
+ uuid: string;
129
+ type: string;
130
+ tag: string;
131
+ }[];
104
132
  }[];
105
133
  }, {
106
134
  response: {
@@ -127,6 +155,11 @@ export declare namespace GetAllNodesCommand {
127
155
  cpuCount: number | null;
128
156
  cpuModel: string | null;
129
157
  totalRam: string | null;
158
+ excludedInbounds: {
159
+ uuid: string;
160
+ type: string;
161
+ tag: string;
162
+ }[];
130
163
  }[];
131
164
  }>;
132
165
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAllNodesCommand = void 0;
4
4
  const zod_1 = require("zod");
5
- const api_1 = require("../../api");
6
5
  const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
7
  var GetAllNodesCommand;
8
8
  (function (GetAllNodesCommand) {
9
9
  GetAllNodesCommand.url = api_1.REST_API.NODES.GET_ALL;