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

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 (199) hide show
  1. package/build/backend/api/controllers/index.d.ts +0 -1
  2. package/build/backend/api/controllers/index.d.ts.map +1 -1
  3. package/build/backend/api/controllers/index.js +0 -1
  4. package/build/backend/api/controllers/internal-squads.d.ts +0 -4
  5. package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
  6. package/build/backend/api/controllers/internal-squads.js +0 -5
  7. package/build/backend/api/controllers/users.d.ts +0 -1
  8. package/build/backend/api/controllers/users.d.ts.map +1 -1
  9. package/build/backend/api/controllers/users.js +0 -1
  10. package/build/backend/api/routes.d.ts +0 -19
  11. package/build/backend/api/routes.d.ts.map +1 -1
  12. package/build/backend/api/routes.js +0 -19
  13. package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
  14. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +10 -31
  15. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +10 -31
  17. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  18. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +10 -31
  19. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  20. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +10 -31
  21. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  22. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +10 -31
  23. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  24. package/build/backend/commands/hosts/create.command.d.ts +19 -52
  25. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  26. package/build/backend/commands/hosts/create.command.js +13 -13
  27. package/build/backend/commands/hosts/get-all.command.d.ts +10 -31
  28. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  29. package/build/backend/commands/hosts/get-one.command.d.ts +10 -31
  30. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  31. package/build/backend/commands/hosts/reorder.command.d.ts +2 -11
  32. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  33. package/build/backend/commands/hosts/update.command.d.ts +21 -63
  34. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  35. package/build/backend/commands/hosts/update.command.js +11 -10
  36. package/build/backend/commands/index.d.ts +0 -1
  37. package/build/backend/commands/index.d.ts.map +1 -1
  38. package/build/backend/commands/index.js +0 -1
  39. package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
  40. package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.d.ts → get-internal-squad-by-uuid..d.ts} +1 -1
  41. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +1 -0
  42. package/build/backend/commands/internal-squads/index.d.ts +1 -2
  43. package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
  44. package/build/backend/commands/internal-squads/index.js +1 -2
  45. package/build/backend/commands/nodes/actions/disable.command.d.ts +64 -157
  46. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  47. package/build/backend/commands/nodes/actions/enable.command.d.ts +64 -157
  48. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  49. package/build/backend/commands/nodes/actions/reorder.command.d.ts +88 -230
  50. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  51. package/build/backend/commands/nodes/create.command.d.ts +70 -178
  52. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  53. package/build/backend/commands/nodes/create.command.js +4 -7
  54. package/build/backend/commands/nodes/get-all.command.d.ts +64 -157
  55. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  56. package/build/backend/commands/nodes/get-one.command.d.ts +64 -157
  57. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  58. package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
  59. package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
  60. package/build/backend/commands/nodes/update.command.d.ts +94 -251
  61. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  62. package/build/backend/commands/nodes/update.command.js +4 -9
  63. package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
  64. package/build/backend/commands/users/index.d.ts +0 -1
  65. package/build/backend/commands/users/index.d.ts.map +1 -1
  66. package/build/backend/commands/users/index.js +0 -1
  67. package/build/backend/constants/errors/errors.d.ts +0 -95
  68. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  69. package/build/backend/constants/errors/errors.js +0 -95
  70. package/build/backend/constants/events/events.d.ts +0 -11
  71. package/build/backend/constants/events/events.d.ts.map +1 -1
  72. package/build/backend/constants/events/events.js +0 -10
  73. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  74. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  75. package/build/backend/constants/templates/template-keys.js +0 -1
  76. package/build/backend/models/{extended-users.schema.d.ts → extented-users.schema.d.ts} +1 -1
  77. package/build/backend/models/{extended-users.schema.d.ts.map → extented-users.schema.d.ts.map} +1 -1
  78. package/build/backend/models/hosts.schema.d.ts +6 -21
  79. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  80. package/build/backend/models/hosts.schema.js +2 -5
  81. package/build/backend/models/index.d.ts +1 -5
  82. package/build/backend/models/index.d.ts.map +1 -1
  83. package/build/backend/models/index.js +1 -5
  84. package/build/backend/models/nodes.schema.d.ts +44 -115
  85. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  86. package/build/backend/models/nodes.schema.js +2 -7
  87. package/build/frontend/api/controllers/index.js +0 -1
  88. package/build/frontend/api/controllers/internal-squads.js +0 -5
  89. package/build/frontend/api/controllers/users.js +0 -1
  90. package/build/frontend/api/routes.js +0 -19
  91. package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
  92. package/build/frontend/commands/hosts/create.command.js +13 -13
  93. package/build/frontend/commands/hosts/update.command.js +11 -10
  94. package/build/frontend/commands/index.js +0 -1
  95. package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
  96. package/build/frontend/commands/internal-squads/index.js +1 -2
  97. package/build/frontend/commands/nodes/create.command.js +4 -7
  98. package/build/frontend/commands/nodes/update.command.js +4 -9
  99. package/build/frontend/commands/users/index.js +0 -1
  100. package/build/frontend/constants/errors/errors.js +0 -95
  101. package/build/frontend/constants/events/events.js +0 -10
  102. package/build/frontend/constants/templates/template-keys.js +0 -1
  103. package/build/frontend/models/hosts.schema.js +2 -5
  104. package/build/frontend/models/index.js +1 -5
  105. package/build/frontend/models/nodes.schema.js +2 -7
  106. package/package.json +1 -1
  107. package/build/backend/api/controllers/infra-billing.d.ts +0 -16
  108. package/build/backend/api/controllers/infra-billing.d.ts.map +0 -1
  109. package/build/backend/api/controllers/infra-billing.js +0 -18
  110. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +0 -125
  111. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +0 -1
  112. package/build/backend/commands/infra-billing/create-bill-record.command.js +0 -30
  113. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +0 -465
  114. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +0 -1
  115. package/build/backend/commands/infra-billing/create-billing-node.command.js +0 -38
  116. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +0 -123
  117. package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +0 -1
  118. package/build/backend/commands/infra-billing/create-infra-provider.command.js +0 -24
  119. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +0 -119
  120. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +0 -1
  121. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
  122. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +0 -459
  123. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +0 -1
  124. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
  125. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +0 -33
  126. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +0 -1
  127. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
  128. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +0 -122
  129. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +0 -1
  130. package/build/backend/commands/infra-billing/get-bill-records.command.js +0 -31
  131. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +0 -451
  132. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +0 -1
  133. package/build/backend/commands/infra-billing/get-billing-nodes.command.js +0 -26
  134. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +0 -117
  135. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +0 -1
  136. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
  137. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +0 -156
  138. package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +0 -1
  139. package/build/backend/commands/infra-billing/get-infra-providers.command.js +0 -19
  140. package/build/backend/commands/infra-billing/index.d.ts +0 -13
  141. package/build/backend/commands/infra-billing/index.d.ts.map +0 -1
  142. package/build/backend/commands/infra-billing/index.js +0 -28
  143. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +0 -462
  144. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +0 -1
  145. package/build/backend/commands/infra-billing/update-billing-node.command.js +0 -35
  146. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +0 -126
  147. package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +0 -1
  148. package/build/backend/commands/infra-billing/update-infra-provider.command.js +0 -26
  149. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +0 -33
  150. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +0 -1
  151. package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
  152. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +0 -33
  153. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +0 -1
  154. package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
  155. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +0 -3
  156. package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +0 -1
  157. package/build/backend/commands/internal-squads/bulk-actions/index.js +0 -18
  158. package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +0 -1
  159. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +0 -114
  160. package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +0 -1
  161. package/build/backend/commands/users/get-user-accessible-nodes.command.js +0 -31
  162. package/build/backend/models/infra-billing-available-node.schema.d.ts +0 -116
  163. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +0 -1
  164. package/build/backend/models/infra-billing-available-node.schema.js +0 -9
  165. package/build/backend/models/infra-billing-history-record.schema.d.ts +0 -44
  166. package/build/backend/models/infra-billing-history-record.schema.d.ts.map +0 -1
  167. package/build/backend/models/infra-billing-history-record.schema.js +0 -19
  168. package/build/backend/models/infra-billing-node.schema.d.ts +0 -179
  169. package/build/backend/models/infra-billing-node.schema.d.ts.map +0 -1
  170. package/build/backend/models/infra-billing-node.schema.js +0 -34
  171. package/build/backend/models/infra-provider.schema.d.ts +0 -87
  172. package/build/backend/models/infra-provider.schema.d.ts.map +0 -1
  173. package/build/backend/models/infra-provider.schema.js +0 -41
  174. package/build/frontend/api/controllers/infra-billing.js +0 -18
  175. package/build/frontend/commands/infra-billing/create-bill-record.command.js +0 -30
  176. package/build/frontend/commands/infra-billing/create-billing-node.command.js +0 -38
  177. package/build/frontend/commands/infra-billing/create-infra-provider.command.js +0 -24
  178. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
  179. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
  180. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
  181. package/build/frontend/commands/infra-billing/get-bill-records.command.js +0 -31
  182. package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +0 -26
  183. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
  184. package/build/frontend/commands/infra-billing/get-infra-providers.command.js +0 -19
  185. package/build/frontend/commands/infra-billing/index.js +0 -28
  186. package/build/frontend/commands/infra-billing/update-billing-node.command.js +0 -35
  187. package/build/frontend/commands/infra-billing/update-infra-provider.command.js +0 -26
  188. package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
  189. package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
  190. package/build/frontend/commands/internal-squads/bulk-actions/index.js +0 -18
  191. package/build/frontend/commands/users/get-user-accessible-nodes.command.js +0 -31
  192. package/build/frontend/models/infra-billing-available-node.schema.js +0 -9
  193. package/build/frontend/models/infra-billing-history-record.schema.js +0 -19
  194. package/build/frontend/models/infra-billing-node.schema.js +0 -34
  195. package/build/frontend/models/infra-provider.schema.js +0 -41
  196. /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.js → get-internal-squad-by-uuid..js} +0 -0
  197. /package/build/backend/models/{extended-users.schema.js → extented-users.schema.js} +0 -0
  198. /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid.js → get-internal-squad-by-uuid..js} +0 -0
  199. /package/build/frontend/models/{extended-users.schema.js → extented-users.schema.js} +0 -0
@@ -1,119 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace DeleteInfraBillingHistoryRecordCommand {
3
- const url: string;
4
- const TSQ_url: string;
5
- const endpointDetails: import("../../constants").EndpointDetails;
6
- const RequestSchema: z.ZodObject<{
7
- uuid: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- uuid: string;
10
- }, {
11
- uuid: string;
12
- }>;
13
- type Request = z.infer<typeof RequestSchema>;
14
- const ResponseSchema: z.ZodObject<{
15
- response: z.ZodObject<{
16
- records: z.ZodArray<z.ZodObject<{
17
- uuid: z.ZodString;
18
- providerUuid: z.ZodString;
19
- amount: z.ZodNumber;
20
- billedAt: z.ZodEffects<z.ZodString, Date, string>;
21
- provider: z.ZodObject<Omit<{
22
- uuid: z.ZodString;
23
- name: z.ZodString;
24
- faviconLink: z.ZodNullable<z.ZodString>;
25
- loginUrl: z.ZodNullable<z.ZodString>;
26
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
27
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
28
- }, "createdAt" | "updatedAt" | "loginUrl">, "strip", z.ZodTypeAny, {
29
- uuid: string;
30
- name: string;
31
- faviconLink: string | null;
32
- }, {
33
- uuid: string;
34
- name: string;
35
- faviconLink: string | null;
36
- }>;
37
- }, "strip", z.ZodTypeAny, {
38
- uuid: string;
39
- providerUuid: string;
40
- provider: {
41
- uuid: string;
42
- name: string;
43
- faviconLink: string | null;
44
- };
45
- amount: number;
46
- billedAt: Date;
47
- }, {
48
- uuid: string;
49
- providerUuid: string;
50
- provider: {
51
- uuid: string;
52
- name: string;
53
- faviconLink: string | null;
54
- };
55
- amount: number;
56
- billedAt: string;
57
- }>, "many">;
58
- total: z.ZodNumber;
59
- }, "strip", z.ZodTypeAny, {
60
- total: number;
61
- records: {
62
- uuid: string;
63
- providerUuid: string;
64
- provider: {
65
- uuid: string;
66
- name: string;
67
- faviconLink: string | null;
68
- };
69
- amount: number;
70
- billedAt: Date;
71
- }[];
72
- }, {
73
- total: number;
74
- records: {
75
- uuid: string;
76
- providerUuid: string;
77
- provider: {
78
- uuid: string;
79
- name: string;
80
- faviconLink: string | null;
81
- };
82
- amount: number;
83
- billedAt: string;
84
- }[];
85
- }>;
86
- }, "strip", z.ZodTypeAny, {
87
- response: {
88
- total: number;
89
- records: {
90
- uuid: string;
91
- providerUuid: string;
92
- provider: {
93
- uuid: string;
94
- name: string;
95
- faviconLink: string | null;
96
- };
97
- amount: number;
98
- billedAt: Date;
99
- }[];
100
- };
101
- }, {
102
- response: {
103
- total: number;
104
- records: {
105
- uuid: string;
106
- providerUuid: string;
107
- provider: {
108
- uuid: string;
109
- name: string;
110
- faviconLink: string | null;
111
- };
112
- amount: number;
113
- billedAt: string;
114
- }[];
115
- };
116
- }>;
117
- type Response = z.infer<typeof ResponseSchema>;
118
- }
119
- //# sourceMappingURL=delete-bill-record-by-uuid.command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete-bill-record-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-bill-record-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sCAAsC,CAAC;IAC7C,MAAM,GAAG,QAAyD,CAAC;IACnE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteInfraBillingHistoryRecordCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../models");
6
- const api_1 = require("../../api");
7
- const constants_1 = require("../../constants");
8
- var DeleteInfraBillingHistoryRecordCommand;
9
- (function (DeleteInfraBillingHistoryRecordCommand) {
10
- DeleteInfraBillingHistoryRecordCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_HISTORY(':uuid');
11
- DeleteInfraBillingHistoryRecordCommand.TSQ_url = DeleteInfraBillingHistoryRecordCommand.url;
12
- DeleteInfraBillingHistoryRecordCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(':uuid'), 'delete', 'Delete infra billing history');
13
- DeleteInfraBillingHistoryRecordCommand.RequestSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
15
- });
16
- DeleteInfraBillingHistoryRecordCommand.ResponseSchema = zod_1.z.object({
17
- response: zod_1.z.object({
18
- records: zod_1.z.array(models_1.InfraBillingHistoryRecordSchema),
19
- total: zod_1.z.number(),
20
- }),
21
- });
22
- })(DeleteInfraBillingHistoryRecordCommand || (exports.DeleteInfraBillingHistoryRecordCommand = DeleteInfraBillingHistoryRecordCommand = {}));
@@ -1,459 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace DeleteInfraBillingNodeByUuidCommand {
3
- const url: string;
4
- const TSQ_url: string;
5
- const endpointDetails: import("../../constants").EndpointDetails;
6
- const RequestSchema: z.ZodObject<{
7
- uuid: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- uuid: string;
10
- }, {
11
- uuid: string;
12
- }>;
13
- type Request = z.infer<typeof RequestSchema>;
14
- const ResponseSchema: z.ZodObject<{
15
- response: z.ZodObject<{
16
- totalBillingNodes: z.ZodNumber;
17
- billingNodes: z.ZodArray<z.ZodObject<{
18
- uuid: z.ZodString;
19
- nodeUuid: z.ZodString;
20
- providerUuid: z.ZodString;
21
- provider: z.ZodObject<Pick<{
22
- uuid: z.ZodString;
23
- name: z.ZodString;
24
- faviconLink: z.ZodNullable<z.ZodString>;
25
- loginUrl: z.ZodNullable<z.ZodString>;
26
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
27
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
28
- }, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
29
- uuid: string;
30
- name: string;
31
- faviconLink: string | null;
32
- loginUrl: string | null;
33
- }, {
34
- uuid: string;
35
- name: string;
36
- faviconLink: string | null;
37
- loginUrl: string | null;
38
- }>;
39
- node: z.ZodObject<Pick<{
40
- uuid: z.ZodString;
41
- name: z.ZodString;
42
- address: z.ZodString;
43
- port: z.ZodNullable<z.ZodNumber>;
44
- isConnected: z.ZodBoolean;
45
- isDisabled: z.ZodBoolean;
46
- isConnecting: z.ZodBoolean;
47
- isNodeOnline: z.ZodBoolean;
48
- isXrayRunning: z.ZodBoolean;
49
- lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
50
- lastStatusMessage: z.ZodNullable<z.ZodString>;
51
- xrayVersion: z.ZodNullable<z.ZodString>;
52
- xrayUptime: z.ZodString;
53
- isTrafficTrackingActive: z.ZodBoolean;
54
- trafficResetDay: z.ZodNullable<z.ZodNumber>;
55
- trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
56
- trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
57
- notifyPercent: z.ZodNullable<z.ZodNumber>;
58
- usersOnline: z.ZodNullable<z.ZodNumber>;
59
- viewPosition: z.ZodNumber;
60
- countryCode: z.ZodString;
61
- consumptionMultiplier: z.ZodNumber;
62
- cpuCount: z.ZodNullable<z.ZodNumber>;
63
- cpuModel: z.ZodNullable<z.ZodString>;
64
- totalRam: z.ZodNullable<z.ZodString>;
65
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
66
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
67
- configProfile: z.ZodObject<{
68
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
69
- activeInbounds: z.ZodArray<z.ZodObject<{
70
- uuid: z.ZodString;
71
- profileUuid: z.ZodString;
72
- tag: z.ZodString;
73
- type: z.ZodString;
74
- network: z.ZodNullable<z.ZodString>;
75
- security: z.ZodNullable<z.ZodString>;
76
- port: z.ZodNullable<z.ZodNumber>;
77
- rawInbound: z.ZodNullable<z.ZodUnknown>;
78
- }, "strip", z.ZodTypeAny, {
79
- type: string;
80
- uuid: string;
81
- profileUuid: string;
82
- tag: string;
83
- network: string | null;
84
- security: string | null;
85
- port: number | null;
86
- rawInbound?: unknown;
87
- }, {
88
- type: string;
89
- uuid: string;
90
- profileUuid: string;
91
- tag: string;
92
- network: string | null;
93
- security: string | null;
94
- port: number | null;
95
- rawInbound?: unknown;
96
- }>, "many">;
97
- }, "strip", z.ZodTypeAny, {
98
- activeConfigProfileUuid: string | null;
99
- activeInbounds: {
100
- type: string;
101
- uuid: string;
102
- profileUuid: string;
103
- tag: string;
104
- network: string | null;
105
- security: string | null;
106
- port: number | null;
107
- rawInbound?: unknown;
108
- }[];
109
- }, {
110
- activeConfigProfileUuid: string | null;
111
- activeInbounds: {
112
- type: string;
113
- uuid: string;
114
- profileUuid: string;
115
- tag: string;
116
- network: string | null;
117
- security: string | null;
118
- port: number | null;
119
- rawInbound?: unknown;
120
- }[];
121
- }>;
122
- providerUuid: z.ZodNullable<z.ZodString>;
123
- provider: z.ZodNullable<z.ZodObject<{
124
- uuid: z.ZodString;
125
- name: z.ZodString;
126
- faviconLink: z.ZodNullable<z.ZodString>;
127
- loginUrl: z.ZodNullable<z.ZodString>;
128
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
129
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
130
- }, "strip", z.ZodTypeAny, {
131
- uuid: string;
132
- createdAt: Date;
133
- updatedAt: Date;
134
- name: string;
135
- faviconLink: string | null;
136
- loginUrl: string | null;
137
- }, {
138
- uuid: string;
139
- createdAt: string;
140
- updatedAt: string;
141
- name: string;
142
- faviconLink: string | null;
143
- loginUrl: string | null;
144
- }>>;
145
- }, "uuid" | "name" | "countryCode">, "strip", z.ZodTypeAny, {
146
- uuid: string;
147
- name: string;
148
- countryCode: string;
149
- }, {
150
- uuid: string;
151
- name: string;
152
- countryCode: string;
153
- }>;
154
- nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
155
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
156
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
157
- }, "strip", z.ZodTypeAny, {
158
- uuid: string;
159
- createdAt: Date;
160
- updatedAt: Date;
161
- nodeUuid: string;
162
- providerUuid: string;
163
- provider: {
164
- uuid: string;
165
- name: string;
166
- faviconLink: string | null;
167
- loginUrl: string | null;
168
- };
169
- node: {
170
- uuid: string;
171
- name: string;
172
- countryCode: string;
173
- };
174
- nextBillingAt: Date;
175
- }, {
176
- uuid: string;
177
- createdAt: string;
178
- updatedAt: string;
179
- nodeUuid: string;
180
- providerUuid: string;
181
- provider: {
182
- uuid: string;
183
- name: string;
184
- faviconLink: string | null;
185
- loginUrl: string | null;
186
- };
187
- node: {
188
- uuid: string;
189
- name: string;
190
- countryCode: string;
191
- };
192
- nextBillingAt: string;
193
- }>, "many">;
194
- availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
195
- uuid: z.ZodString;
196
- name: z.ZodString;
197
- address: z.ZodString;
198
- port: z.ZodNullable<z.ZodNumber>;
199
- isConnected: z.ZodBoolean;
200
- isDisabled: z.ZodBoolean;
201
- isConnecting: z.ZodBoolean;
202
- isNodeOnline: z.ZodBoolean;
203
- isXrayRunning: z.ZodBoolean;
204
- lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
205
- lastStatusMessage: z.ZodNullable<z.ZodString>;
206
- xrayVersion: z.ZodNullable<z.ZodString>;
207
- xrayUptime: z.ZodString;
208
- isTrafficTrackingActive: z.ZodBoolean;
209
- trafficResetDay: z.ZodNullable<z.ZodNumber>;
210
- trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
211
- trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
212
- notifyPercent: z.ZodNullable<z.ZodNumber>;
213
- usersOnline: z.ZodNullable<z.ZodNumber>;
214
- viewPosition: z.ZodNumber;
215
- countryCode: z.ZodString;
216
- consumptionMultiplier: z.ZodNumber;
217
- cpuCount: z.ZodNullable<z.ZodNumber>;
218
- cpuModel: z.ZodNullable<z.ZodString>;
219
- totalRam: z.ZodNullable<z.ZodString>;
220
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
221
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
222
- configProfile: z.ZodObject<{
223
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
224
- activeInbounds: z.ZodArray<z.ZodObject<{
225
- uuid: z.ZodString;
226
- profileUuid: z.ZodString;
227
- tag: z.ZodString;
228
- type: z.ZodString;
229
- network: z.ZodNullable<z.ZodString>;
230
- security: z.ZodNullable<z.ZodString>;
231
- port: z.ZodNullable<z.ZodNumber>;
232
- rawInbound: z.ZodNullable<z.ZodUnknown>;
233
- }, "strip", z.ZodTypeAny, {
234
- type: string;
235
- uuid: string;
236
- profileUuid: string;
237
- tag: string;
238
- network: string | null;
239
- security: string | null;
240
- port: number | null;
241
- rawInbound?: unknown;
242
- }, {
243
- type: string;
244
- uuid: string;
245
- profileUuid: string;
246
- tag: string;
247
- network: string | null;
248
- security: string | null;
249
- port: number | null;
250
- rawInbound?: unknown;
251
- }>, "many">;
252
- }, "strip", z.ZodTypeAny, {
253
- activeConfigProfileUuid: string | null;
254
- activeInbounds: {
255
- type: string;
256
- uuid: string;
257
- profileUuid: string;
258
- tag: string;
259
- network: string | null;
260
- security: string | null;
261
- port: number | null;
262
- rawInbound?: unknown;
263
- }[];
264
- }, {
265
- activeConfigProfileUuid: string | null;
266
- activeInbounds: {
267
- type: string;
268
- uuid: string;
269
- profileUuid: string;
270
- tag: string;
271
- network: string | null;
272
- security: string | null;
273
- port: number | null;
274
- rawInbound?: unknown;
275
- }[];
276
- }>;
277
- providerUuid: z.ZodNullable<z.ZodString>;
278
- provider: z.ZodNullable<z.ZodObject<{
279
- uuid: z.ZodString;
280
- name: z.ZodString;
281
- faviconLink: z.ZodNullable<z.ZodString>;
282
- loginUrl: z.ZodNullable<z.ZodString>;
283
- createdAt: z.ZodEffects<z.ZodString, Date, string>;
284
- updatedAt: z.ZodEffects<z.ZodString, Date, string>;
285
- }, "strip", z.ZodTypeAny, {
286
- uuid: string;
287
- createdAt: Date;
288
- updatedAt: Date;
289
- name: string;
290
- faviconLink: string | null;
291
- loginUrl: string | null;
292
- }, {
293
- uuid: string;
294
- createdAt: string;
295
- updatedAt: string;
296
- name: string;
297
- faviconLink: string | null;
298
- loginUrl: string | null;
299
- }>>;
300
- }, "uuid" | "name" | "countryCode">, "strip", z.ZodTypeAny, {
301
- uuid: string;
302
- name: string;
303
- countryCode: string;
304
- }, {
305
- uuid: string;
306
- name: string;
307
- countryCode: string;
308
- }>, "many">;
309
- totalAvailableBillingNodes: z.ZodNumber;
310
- stats: z.ZodObject<{
311
- upcomingNodesCount: z.ZodNumber;
312
- currentMonthPayments: z.ZodNumber;
313
- totalSpent: z.ZodNumber;
314
- }, "strip", z.ZodTypeAny, {
315
- upcomingNodesCount: number;
316
- currentMonthPayments: number;
317
- totalSpent: number;
318
- }, {
319
- upcomingNodesCount: number;
320
- currentMonthPayments: number;
321
- totalSpent: number;
322
- }>;
323
- }, "strip", z.ZodTypeAny, {
324
- stats: {
325
- upcomingNodesCount: number;
326
- currentMonthPayments: number;
327
- totalSpent: number;
328
- };
329
- billingNodes: {
330
- uuid: string;
331
- createdAt: Date;
332
- updatedAt: Date;
333
- nodeUuid: string;
334
- providerUuid: string;
335
- provider: {
336
- uuid: string;
337
- name: string;
338
- faviconLink: string | null;
339
- loginUrl: string | null;
340
- };
341
- node: {
342
- uuid: string;
343
- name: string;
344
- countryCode: string;
345
- };
346
- nextBillingAt: Date;
347
- }[];
348
- totalBillingNodes: number;
349
- availableBillingNodes: {
350
- uuid: string;
351
- name: string;
352
- countryCode: string;
353
- }[];
354
- totalAvailableBillingNodes: number;
355
- }, {
356
- stats: {
357
- upcomingNodesCount: number;
358
- currentMonthPayments: number;
359
- totalSpent: number;
360
- };
361
- billingNodes: {
362
- uuid: string;
363
- createdAt: string;
364
- updatedAt: string;
365
- nodeUuid: string;
366
- providerUuid: string;
367
- provider: {
368
- uuid: string;
369
- name: string;
370
- faviconLink: string | null;
371
- loginUrl: string | null;
372
- };
373
- node: {
374
- uuid: string;
375
- name: string;
376
- countryCode: string;
377
- };
378
- nextBillingAt: string;
379
- }[];
380
- totalBillingNodes: number;
381
- availableBillingNodes: {
382
- uuid: string;
383
- name: string;
384
- countryCode: string;
385
- }[];
386
- totalAvailableBillingNodes: number;
387
- }>;
388
- }, "strip", z.ZodTypeAny, {
389
- response: {
390
- stats: {
391
- upcomingNodesCount: number;
392
- currentMonthPayments: number;
393
- totalSpent: number;
394
- };
395
- billingNodes: {
396
- uuid: string;
397
- createdAt: Date;
398
- updatedAt: Date;
399
- nodeUuid: string;
400
- providerUuid: string;
401
- provider: {
402
- uuid: string;
403
- name: string;
404
- faviconLink: string | null;
405
- loginUrl: string | null;
406
- };
407
- node: {
408
- uuid: string;
409
- name: string;
410
- countryCode: string;
411
- };
412
- nextBillingAt: Date;
413
- }[];
414
- totalBillingNodes: number;
415
- availableBillingNodes: {
416
- uuid: string;
417
- name: string;
418
- countryCode: string;
419
- }[];
420
- totalAvailableBillingNodes: number;
421
- };
422
- }, {
423
- response: {
424
- stats: {
425
- upcomingNodesCount: number;
426
- currentMonthPayments: number;
427
- totalSpent: number;
428
- };
429
- billingNodes: {
430
- uuid: string;
431
- createdAt: string;
432
- updatedAt: string;
433
- nodeUuid: string;
434
- providerUuid: string;
435
- provider: {
436
- uuid: string;
437
- name: string;
438
- faviconLink: string | null;
439
- loginUrl: string | null;
440
- };
441
- node: {
442
- uuid: string;
443
- name: string;
444
- countryCode: string;
445
- };
446
- nextBillingAt: string;
447
- }[];
448
- totalBillingNodes: number;
449
- availableBillingNodes: {
450
- uuid: string;
451
- name: string;
452
- countryCode: string;
453
- }[];
454
- totalAvailableBillingNodes: number;
455
- };
456
- }>;
457
- type Response = z.infer<typeof ResponseSchema>;
458
- }
459
- //# sourceMappingURL=delete-billing-node-by-uuid.command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteInfraBillingNodeByUuidCommand = void 0;
4
- const zod_1 = require("zod");
5
- const models_1 = require("../../models");
6
- const api_1 = require("../../api");
7
- const constants_1 = require("../../constants");
8
- var DeleteInfraBillingNodeByUuidCommand;
9
- (function (DeleteInfraBillingNodeByUuidCommand) {
10
- DeleteInfraBillingNodeByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_NODE(':uuid');
11
- DeleteInfraBillingNodeByUuidCommand.TSQ_url = DeleteInfraBillingNodeByUuidCommand.url;
12
- DeleteInfraBillingNodeByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_NODE(':uuid'), 'delete', 'Delete infra billing node');
13
- DeleteInfraBillingNodeByUuidCommand.RequestSchema = zod_1.z.object({
14
- uuid: zod_1.z.string().uuid(),
15
- });
16
- DeleteInfraBillingNodeByUuidCommand.ResponseSchema = zod_1.z.object({
17
- response: zod_1.z.object({
18
- totalBillingNodes: zod_1.z.number(),
19
- billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
20
- availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
21
- totalAvailableBillingNodes: zod_1.z.number(),
22
- stats: zod_1.z.object({
23
- upcomingNodesCount: zod_1.z.number(),
24
- currentMonthPayments: zod_1.z.number(),
25
- totalSpent: zod_1.z.number(),
26
- }),
27
- }),
28
- });
29
- })(DeleteInfraBillingNodeByUuidCommand || (exports.DeleteInfraBillingNodeByUuidCommand = DeleteInfraBillingNodeByUuidCommand = {}));
@@ -1,33 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace DeleteInfraProviderByUuidCommand {
3
- const url: string;
4
- const TSQ_url: string;
5
- const endpointDetails: import("../../constants").EndpointDetails;
6
- const RequestSchema: z.ZodObject<{
7
- uuid: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- uuid: string;
10
- }, {
11
- uuid: string;
12
- }>;
13
- type Request = z.infer<typeof RequestSchema>;
14
- const ResponseSchema: z.ZodObject<{
15
- response: z.ZodObject<{
16
- isDeleted: z.ZodBoolean;
17
- }, "strip", z.ZodTypeAny, {
18
- isDeleted: boolean;
19
- }, {
20
- isDeleted: boolean;
21
- }>;
22
- }, "strip", z.ZodTypeAny, {
23
- response: {
24
- isDeleted: boolean;
25
- };
26
- }, {
27
- response: {
28
- isDeleted: boolean;
29
- };
30
- }>;
31
- type Response = z.infer<typeof ResponseSchema>;
32
- }
33
- //# sourceMappingURL=delete-infra-provider-by-uuid.command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete-infra-provider-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-infra-provider-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,QAAkD,CAAC;IAC5D,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,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"}