@remnawave/backend-contract 2.0.0-alpha.27 → 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.
- package/build/backend/api/controllers/index.d.ts +0 -1
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +0 -1
- package/build/backend/api/controllers/internal-squads.d.ts +0 -4
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +0 -5
- package/build/backend/api/controllers/users.d.ts +0 -1
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +0 -1
- package/build/backend/api/routes.d.ts +0 -19
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +0 -19
- package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +10 -26
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +10 -26
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +10 -26
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +10 -26
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +10 -26
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +19 -47
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +13 -13
- package/build/backend/commands/hosts/get-all.command.d.ts +10 -26
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +10 -26
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +2 -10
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +21 -57
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +11 -10
- package/build/backend/commands/index.d.ts +0 -1
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +0 -1
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.d.ts → get-internal-squad-by-uuid..d.ts} +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +1 -0
- package/build/backend/commands/internal-squads/index.d.ts +1 -2
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +1 -2
- package/build/backend/commands/nodes/actions/disable.command.d.ts +64 -157
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +64 -157
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +88 -230
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +70 -178
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +4 -7
- package/build/backend/commands/nodes/get-all.command.d.ts +64 -157
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +64 -157
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +94 -251
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +4 -9
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/users/index.d.ts +0 -1
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +0 -1
- package/build/backend/constants/errors/errors.d.ts +0 -95
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +0 -95
- package/build/backend/constants/events/events.d.ts +0 -11
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +0 -10
- package/build/backend/constants/templates/template-keys.d.ts +1 -1
- package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
- package/build/backend/constants/templates/template-keys.js +0 -1
- package/build/backend/models/{extended-users.schema.d.ts → extented-users.schema.d.ts} +1 -1
- package/build/backend/models/{extended-users.schema.d.ts.map → extented-users.schema.d.ts.map} +1 -1
- package/build/backend/models/hosts.schema.d.ts +6 -18
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +2 -4
- package/build/backend/models/index.d.ts +1 -5
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -5
- package/build/backend/models/nodes.schema.d.ts +44 -115
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +2 -7
- package/build/frontend/api/controllers/index.js +0 -1
- package/build/frontend/api/controllers/internal-squads.js +0 -5
- package/build/frontend/api/controllers/users.js +0 -1
- package/build/frontend/api/routes.js +0 -19
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/frontend/commands/hosts/create.command.js +13 -13
- package/build/frontend/commands/hosts/update.command.js +11 -10
- package/build/frontend/commands/index.js +0 -1
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/frontend/commands/internal-squads/index.js +1 -2
- package/build/frontend/commands/nodes/create.command.js +4 -7
- package/build/frontend/commands/nodes/update.command.js +4 -9
- package/build/frontend/commands/users/index.js +0 -1
- package/build/frontend/constants/errors/errors.js +0 -95
- package/build/frontend/constants/events/events.js +0 -10
- package/build/frontend/constants/templates/template-keys.js +0 -1
- package/build/frontend/models/hosts.schema.js +2 -4
- package/build/frontend/models/index.js +1 -5
- package/build/frontend/models/nodes.schema.js +2 -7
- package/package.json +1 -1
- package/build/backend/api/controllers/infra-billing.d.ts +0 -16
- package/build/backend/api/controllers/infra-billing.d.ts.map +0 -1
- package/build/backend/api/controllers/infra-billing.js +0 -18
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +0 -125
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.js +0 -30
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +0 -465
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.js +0 -38
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +0 -123
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +0 -24
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +0 -119
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +0 -459
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +0 -33
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +0 -122
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.js +0 -31
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +0 -451
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +0 -26
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +0 -117
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +0 -156
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/get-infra-providers.command.js +0 -19
- package/build/backend/commands/infra-billing/index.d.ts +0 -13
- package/build/backend/commands/infra-billing/index.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/index.js +0 -28
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +0 -462
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.js +0 -35
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +0 -126
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +0 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +0 -26
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +0 -33
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +0 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +0 -33
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +0 -1
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +0 -3
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +0 -1
- package/build/backend/commands/internal-squads/bulk-actions/index.js +0 -18
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +0 -114
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +0 -31
- package/build/backend/models/infra-billing-available-node.schema.d.ts +0 -116
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +0 -1
- package/build/backend/models/infra-billing-available-node.schema.js +0 -9
- package/build/backend/models/infra-billing-history-record.schema.d.ts +0 -44
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +0 -1
- package/build/backend/models/infra-billing-history-record.schema.js +0 -19
- package/build/backend/models/infra-billing-node.schema.d.ts +0 -179
- package/build/backend/models/infra-billing-node.schema.d.ts.map +0 -1
- package/build/backend/models/infra-billing-node.schema.js +0 -34
- package/build/backend/models/infra-provider.schema.d.ts +0 -87
- package/build/backend/models/infra-provider.schema.d.ts.map +0 -1
- package/build/backend/models/infra-provider.schema.js +0 -41
- package/build/frontend/api/controllers/infra-billing.js +0 -18
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +0 -30
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +0 -38
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +0 -24
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +0 -22
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +0 -29
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +0 -20
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +0 -31
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +0 -26
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +0 -19
- package/build/frontend/commands/infra-billing/get-infra-providers.command.js +0 -19
- package/build/frontend/commands/infra-billing/index.js +0 -28
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +0 -35
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +0 -26
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +0 -20
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +0 -20
- package/build/frontend/commands/internal-squads/bulk-actions/index.js +0 -18
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +0 -31
- package/build/frontend/models/infra-billing-available-node.schema.js +0 -9
- package/build/frontend/models/infra-billing-history-record.schema.js +0 -19
- package/build/frontend/models/infra-billing-node.schema.js +0 -34
- package/build/frontend/models/infra-provider.schema.js +0 -41
- /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid.js → get-internal-squad-by-uuid..js} +0 -0
- /package/build/backend/models/{extended-users.schema.js → extented-users.schema.js} +0 -0
- /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid.js → get-internal-squad-by-uuid..js} +0 -0
- /package/build/frontend/models/{extended-users.schema.js → extented-users.schema.js} +0 -0
@@ -13,39 +13,23 @@ export declare namespace CreateNodeCommand {
|
|
13
13
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
14
14
|
countryCode: z.ZodDefault<z.ZodString>;
|
15
15
|
consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
16
|
-
|
17
|
-
|
18
|
-
activeInbounds: z.ZodArray<z.ZodString, "many">;
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
20
|
-
activeConfigProfileUuid: string;
|
21
|
-
activeInbounds: string[];
|
22
|
-
}, {
|
23
|
-
activeConfigProfileUuid: string;
|
24
|
-
activeInbounds: string[];
|
25
|
-
}>;
|
26
|
-
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
16
|
+
activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
|
17
|
+
activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
27
18
|
}, "strip", z.ZodTypeAny, {
|
28
19
|
name: string;
|
29
20
|
countryCode: string;
|
30
21
|
address: string;
|
31
22
|
isTrafficTrackingActive: boolean;
|
32
|
-
configProfile: {
|
33
|
-
activeConfigProfileUuid: string;
|
34
|
-
activeInbounds: string[];
|
35
|
-
};
|
36
23
|
port?: number | undefined;
|
37
24
|
trafficLimitBytes?: number | undefined;
|
38
25
|
trafficResetDay?: number | undefined;
|
39
26
|
notifyPercent?: number | undefined;
|
40
27
|
consumptionMultiplier?: number | undefined;
|
41
|
-
|
28
|
+
activeConfigProfileUuid?: string | undefined;
|
29
|
+
activeInbounds?: string[] | undefined;
|
42
30
|
}, {
|
43
31
|
name: string;
|
44
32
|
address: string;
|
45
|
-
configProfile: {
|
46
|
-
activeConfigProfileUuid: string;
|
47
|
-
activeInbounds: string[];
|
48
|
-
};
|
49
33
|
port?: number | undefined;
|
50
34
|
countryCode?: string | undefined;
|
51
35
|
trafficLimitBytes?: number | undefined;
|
@@ -53,7 +37,8 @@ export declare namespace CreateNodeCommand {
|
|
53
37
|
trafficResetDay?: number | undefined;
|
54
38
|
notifyPercent?: number | undefined;
|
55
39
|
consumptionMultiplier?: number | undefined;
|
56
|
-
|
40
|
+
activeConfigProfileUuid?: string | undefined;
|
41
|
+
activeInbounds?: string[] | undefined;
|
57
42
|
}>;
|
58
43
|
type Request = z.infer<typeof RequestSchema>;
|
59
44
|
const ResponseSchema: z.ZodObject<{
|
@@ -85,84 +70,35 @@ export declare namespace CreateNodeCommand {
|
|
85
70
|
totalRam: z.ZodNullable<z.ZodString>;
|
86
71
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
87
72
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
88
|
-
|
89
|
-
|
90
|
-
activeInbounds: z.ZodArray<z.ZodObject<{
|
91
|
-
uuid: z.ZodString;
|
92
|
-
profileUuid: z.ZodString;
|
93
|
-
tag: z.ZodString;
|
94
|
-
type: z.ZodString;
|
95
|
-
network: z.ZodNullable<z.ZodString>;
|
96
|
-
security: z.ZodNullable<z.ZodString>;
|
97
|
-
port: z.ZodNullable<z.ZodNumber>;
|
98
|
-
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
99
|
-
}, "strip", z.ZodTypeAny, {
|
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
|
-
type: string;
|
110
|
-
uuid: string;
|
111
|
-
profileUuid: string;
|
112
|
-
tag: string;
|
113
|
-
network: string | null;
|
114
|
-
security: string | null;
|
115
|
-
port: number | null;
|
116
|
-
rawInbound?: unknown;
|
117
|
-
}>, "many">;
|
118
|
-
}, "strip", z.ZodTypeAny, {
|
119
|
-
activeConfigProfileUuid: string | null;
|
120
|
-
activeInbounds: {
|
121
|
-
type: string;
|
122
|
-
uuid: string;
|
123
|
-
profileUuid: string;
|
124
|
-
tag: string;
|
125
|
-
network: string | null;
|
126
|
-
security: string | null;
|
127
|
-
port: number | null;
|
128
|
-
rawInbound?: unknown;
|
129
|
-
}[];
|
130
|
-
}, {
|
131
|
-
activeConfigProfileUuid: string | null;
|
132
|
-
activeInbounds: {
|
133
|
-
type: string;
|
134
|
-
uuid: string;
|
135
|
-
profileUuid: string;
|
136
|
-
tag: string;
|
137
|
-
network: string | null;
|
138
|
-
security: string | null;
|
139
|
-
port: number | null;
|
140
|
-
rawInbound?: unknown;
|
141
|
-
}[];
|
142
|
-
}>;
|
143
|
-
providerUuid: z.ZodNullable<z.ZodString>;
|
144
|
-
provider: z.ZodNullable<z.ZodObject<{
|
73
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
74
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
145
75
|
uuid: z.ZodString;
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
76
|
+
profileUuid: z.ZodString;
|
77
|
+
tag: z.ZodString;
|
78
|
+
type: z.ZodString;
|
79
|
+
network: z.ZodNullable<z.ZodString>;
|
80
|
+
security: z.ZodNullable<z.ZodString>;
|
81
|
+
port: z.ZodNullable<z.ZodNumber>;
|
82
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
151
83
|
}, "strip", z.ZodTypeAny, {
|
84
|
+
type: string;
|
152
85
|
uuid: string;
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
86
|
+
profileUuid: string;
|
87
|
+
tag: string;
|
88
|
+
network: string | null;
|
89
|
+
security: string | null;
|
90
|
+
port: number | null;
|
91
|
+
rawInbound?: unknown;
|
158
92
|
}, {
|
93
|
+
type: string;
|
159
94
|
uuid: string;
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
95
|
+
profileUuid: string;
|
96
|
+
tag: string;
|
97
|
+
network: string | null;
|
98
|
+
security: string | null;
|
99
|
+
port: number | null;
|
100
|
+
rawInbound?: unknown;
|
101
|
+
}>, "many">>;
|
166
102
|
}, "strip", z.ZodTypeAny, {
|
167
103
|
uuid: string;
|
168
104
|
createdAt: Date;
|
@@ -191,28 +127,17 @@ export declare namespace CreateNodeCommand {
|
|
191
127
|
cpuCount: number | null;
|
192
128
|
cpuModel: string | null;
|
193
129
|
totalRam: string | null;
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
type: string;
|
198
|
-
uuid: string;
|
199
|
-
profileUuid: string;
|
200
|
-
tag: string;
|
201
|
-
network: string | null;
|
202
|
-
security: string | null;
|
203
|
-
port: number | null;
|
204
|
-
rawInbound?: unknown;
|
205
|
-
}[];
|
206
|
-
};
|
207
|
-
providerUuid: string | null;
|
208
|
-
provider: {
|
130
|
+
activeConfigProfileUuid: string | null;
|
131
|
+
activeInbounds: {
|
132
|
+
type: string;
|
209
133
|
uuid: string;
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
134
|
+
profileUuid: string;
|
135
|
+
tag: string;
|
136
|
+
network: string | null;
|
137
|
+
security: string | null;
|
138
|
+
port: number | null;
|
139
|
+
rawInbound?: unknown;
|
140
|
+
}[] | null;
|
216
141
|
}, {
|
217
142
|
uuid: string;
|
218
143
|
createdAt: string;
|
@@ -241,28 +166,17 @@ export declare namespace CreateNodeCommand {
|
|
241
166
|
cpuCount: number | null;
|
242
167
|
cpuModel: string | null;
|
243
168
|
totalRam: string | null;
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
type: string;
|
248
|
-
uuid: string;
|
249
|
-
profileUuid: string;
|
250
|
-
tag: string;
|
251
|
-
network: string | null;
|
252
|
-
security: string | null;
|
253
|
-
port: number | null;
|
254
|
-
rawInbound?: unknown;
|
255
|
-
}[];
|
256
|
-
};
|
257
|
-
providerUuid: string | null;
|
258
|
-
provider: {
|
169
|
+
activeConfigProfileUuid: string | null;
|
170
|
+
activeInbounds: {
|
171
|
+
type: string;
|
259
172
|
uuid: string;
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
173
|
+
profileUuid: string;
|
174
|
+
tag: string;
|
175
|
+
network: string | null;
|
176
|
+
security: string | null;
|
177
|
+
port: number | null;
|
178
|
+
rawInbound?: unknown;
|
179
|
+
}[] | null;
|
266
180
|
}>;
|
267
181
|
}, "strip", z.ZodTypeAny, {
|
268
182
|
response: {
|
@@ -293,28 +207,17 @@ export declare namespace CreateNodeCommand {
|
|
293
207
|
cpuCount: number | null;
|
294
208
|
cpuModel: string | null;
|
295
209
|
totalRam: string | null;
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
type: string;
|
300
|
-
uuid: string;
|
301
|
-
profileUuid: string;
|
302
|
-
tag: string;
|
303
|
-
network: string | null;
|
304
|
-
security: string | null;
|
305
|
-
port: number | null;
|
306
|
-
rawInbound?: unknown;
|
307
|
-
}[];
|
308
|
-
};
|
309
|
-
providerUuid: string | null;
|
310
|
-
provider: {
|
210
|
+
activeConfigProfileUuid: string | null;
|
211
|
+
activeInbounds: {
|
212
|
+
type: string;
|
311
213
|
uuid: string;
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
214
|
+
profileUuid: string;
|
215
|
+
tag: string;
|
216
|
+
network: string | null;
|
217
|
+
security: string | null;
|
218
|
+
port: number | null;
|
219
|
+
rawInbound?: unknown;
|
220
|
+
}[] | null;
|
318
221
|
};
|
319
222
|
}, {
|
320
223
|
response: {
|
@@ -345,28 +248,17 @@ export declare namespace CreateNodeCommand {
|
|
345
248
|
cpuCount: number | null;
|
346
249
|
cpuModel: string | null;
|
347
250
|
totalRam: string | null;
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
type: string;
|
352
|
-
uuid: string;
|
353
|
-
profileUuid: string;
|
354
|
-
tag: string;
|
355
|
-
network: string | null;
|
356
|
-
security: string | null;
|
357
|
-
port: number | null;
|
358
|
-
rawInbound?: unknown;
|
359
|
-
}[];
|
360
|
-
};
|
361
|
-
providerUuid: string | null;
|
362
|
-
provider: {
|
251
|
+
activeConfigProfileUuid: string | null;
|
252
|
+
activeInbounds: {
|
253
|
+
type: string;
|
363
254
|
uuid: string;
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
255
|
+
profileUuid: string;
|
256
|
+
tag: string;
|
257
|
+
network: string | null;
|
258
|
+
security: string | null;
|
259
|
+
port: number | null;
|
260
|
+
rawInbound?: unknown;
|
261
|
+
}[] | null;
|
370
262
|
};
|
371
263
|
}>;
|
372
264
|
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;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
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,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -35,13 +35,10 @@ var CreateNodeCommand;
|
|
35
35
|
.number()
|
36
36
|
.min(0.1, 'Consumption multiplier must be greater than 0')
|
37
37
|
.transform((n) => Number(n.toFixed(1)))),
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
}),
|
43
|
-
}),
|
44
|
-
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
38
|
+
activeConfigProfileUuid: zod_1.z.optional(zod_1.z.string().uuid()),
|
39
|
+
activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
40
|
+
invalid_type_error: 'Active inbounds must be an array of UUIDs',
|
41
|
+
})),
|
45
42
|
});
|
46
43
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
47
44
|
response: models_1.NodesSchema,
|
@@ -32,84 +32,35 @@ export declare namespace GetAllNodesCommand {
|
|
32
32
|
totalRam: z.ZodNullable<z.ZodString>;
|
33
33
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
34
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
35
|
-
|
36
|
-
|
37
|
-
activeInbounds: z.ZodArray<z.ZodObject<{
|
38
|
-
uuid: z.ZodString;
|
39
|
-
profileUuid: z.ZodString;
|
40
|
-
tag: z.ZodString;
|
41
|
-
type: z.ZodString;
|
42
|
-
network: z.ZodNullable<z.ZodString>;
|
43
|
-
security: z.ZodNullable<z.ZodString>;
|
44
|
-
port: z.ZodNullable<z.ZodNumber>;
|
45
|
-
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
46
|
-
}, "strip", z.ZodTypeAny, {
|
47
|
-
type: string;
|
48
|
-
uuid: string;
|
49
|
-
profileUuid: string;
|
50
|
-
tag: string;
|
51
|
-
network: string | null;
|
52
|
-
security: string | null;
|
53
|
-
port: number | null;
|
54
|
-
rawInbound?: unknown;
|
55
|
-
}, {
|
56
|
-
type: string;
|
57
|
-
uuid: string;
|
58
|
-
profileUuid: string;
|
59
|
-
tag: string;
|
60
|
-
network: string | null;
|
61
|
-
security: string | null;
|
62
|
-
port: number | null;
|
63
|
-
rawInbound?: unknown;
|
64
|
-
}>, "many">;
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
66
|
-
activeConfigProfileUuid: string | null;
|
67
|
-
activeInbounds: {
|
68
|
-
type: string;
|
69
|
-
uuid: string;
|
70
|
-
profileUuid: string;
|
71
|
-
tag: string;
|
72
|
-
network: string | null;
|
73
|
-
security: string | null;
|
74
|
-
port: number | null;
|
75
|
-
rawInbound?: unknown;
|
76
|
-
}[];
|
77
|
-
}, {
|
78
|
-
activeConfigProfileUuid: string | null;
|
79
|
-
activeInbounds: {
|
80
|
-
type: string;
|
81
|
-
uuid: string;
|
82
|
-
profileUuid: string;
|
83
|
-
tag: string;
|
84
|
-
network: string | null;
|
85
|
-
security: string | null;
|
86
|
-
port: number | null;
|
87
|
-
rawInbound?: unknown;
|
88
|
-
}[];
|
89
|
-
}>;
|
90
|
-
providerUuid: z.ZodNullable<z.ZodString>;
|
91
|
-
provider: z.ZodNullable<z.ZodObject<{
|
35
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
36
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
92
37
|
uuid: z.ZodString;
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
38
|
+
profileUuid: z.ZodString;
|
39
|
+
tag: z.ZodString;
|
40
|
+
type: z.ZodString;
|
41
|
+
network: z.ZodNullable<z.ZodString>;
|
42
|
+
security: z.ZodNullable<z.ZodString>;
|
43
|
+
port: z.ZodNullable<z.ZodNumber>;
|
44
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
98
45
|
}, "strip", z.ZodTypeAny, {
|
46
|
+
type: string;
|
99
47
|
uuid: string;
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
48
|
+
profileUuid: string;
|
49
|
+
tag: string;
|
50
|
+
network: string | null;
|
51
|
+
security: string | null;
|
52
|
+
port: number | null;
|
53
|
+
rawInbound?: unknown;
|
105
54
|
}, {
|
55
|
+
type: string;
|
106
56
|
uuid: string;
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
57
|
+
profileUuid: string;
|
58
|
+
tag: string;
|
59
|
+
network: string | null;
|
60
|
+
security: string | null;
|
61
|
+
port: number | null;
|
62
|
+
rawInbound?: unknown;
|
63
|
+
}>, "many">>;
|
113
64
|
}, "strip", z.ZodTypeAny, {
|
114
65
|
uuid: string;
|
115
66
|
createdAt: Date;
|
@@ -138,28 +89,17 @@ export declare namespace GetAllNodesCommand {
|
|
138
89
|
cpuCount: number | null;
|
139
90
|
cpuModel: string | null;
|
140
91
|
totalRam: string | null;
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
type: string;
|
145
|
-
uuid: string;
|
146
|
-
profileUuid: string;
|
147
|
-
tag: string;
|
148
|
-
network: string | null;
|
149
|
-
security: string | null;
|
150
|
-
port: number | null;
|
151
|
-
rawInbound?: unknown;
|
152
|
-
}[];
|
153
|
-
};
|
154
|
-
providerUuid: string | null;
|
155
|
-
provider: {
|
92
|
+
activeConfigProfileUuid: string | null;
|
93
|
+
activeInbounds: {
|
94
|
+
type: string;
|
156
95
|
uuid: string;
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
96
|
+
profileUuid: string;
|
97
|
+
tag: string;
|
98
|
+
network: string | null;
|
99
|
+
security: string | null;
|
100
|
+
port: number | null;
|
101
|
+
rawInbound?: unknown;
|
102
|
+
}[] | null;
|
163
103
|
}, {
|
164
104
|
uuid: string;
|
165
105
|
createdAt: string;
|
@@ -188,28 +128,17 @@ export declare namespace GetAllNodesCommand {
|
|
188
128
|
cpuCount: number | null;
|
189
129
|
cpuModel: string | null;
|
190
130
|
totalRam: string | null;
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
type: string;
|
195
|
-
uuid: string;
|
196
|
-
profileUuid: string;
|
197
|
-
tag: string;
|
198
|
-
network: string | null;
|
199
|
-
security: string | null;
|
200
|
-
port: number | null;
|
201
|
-
rawInbound?: unknown;
|
202
|
-
}[];
|
203
|
-
};
|
204
|
-
providerUuid: string | null;
|
205
|
-
provider: {
|
131
|
+
activeConfigProfileUuid: string | null;
|
132
|
+
activeInbounds: {
|
133
|
+
type: string;
|
206
134
|
uuid: string;
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
135
|
+
profileUuid: string;
|
136
|
+
tag: string;
|
137
|
+
network: string | null;
|
138
|
+
security: string | null;
|
139
|
+
port: number | null;
|
140
|
+
rawInbound?: unknown;
|
141
|
+
}[] | null;
|
213
142
|
}>, "many">;
|
214
143
|
}, "strip", z.ZodTypeAny, {
|
215
144
|
response: {
|
@@ -240,28 +169,17 @@ export declare namespace GetAllNodesCommand {
|
|
240
169
|
cpuCount: number | null;
|
241
170
|
cpuModel: string | null;
|
242
171
|
totalRam: string | null;
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
type: string;
|
247
|
-
uuid: string;
|
248
|
-
profileUuid: string;
|
249
|
-
tag: string;
|
250
|
-
network: string | null;
|
251
|
-
security: string | null;
|
252
|
-
port: number | null;
|
253
|
-
rawInbound?: unknown;
|
254
|
-
}[];
|
255
|
-
};
|
256
|
-
providerUuid: string | null;
|
257
|
-
provider: {
|
172
|
+
activeConfigProfileUuid: string | null;
|
173
|
+
activeInbounds: {
|
174
|
+
type: string;
|
258
175
|
uuid: string;
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
176
|
+
profileUuid: string;
|
177
|
+
tag: string;
|
178
|
+
network: string | null;
|
179
|
+
security: string | null;
|
180
|
+
port: number | null;
|
181
|
+
rawInbound?: unknown;
|
182
|
+
}[] | null;
|
265
183
|
}[];
|
266
184
|
}, {
|
267
185
|
response: {
|
@@ -292,28 +210,17 @@ export declare namespace GetAllNodesCommand {
|
|
292
210
|
cpuCount: number | null;
|
293
211
|
cpuModel: string | null;
|
294
212
|
totalRam: string | null;
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
type: string;
|
299
|
-
uuid: string;
|
300
|
-
profileUuid: string;
|
301
|
-
tag: string;
|
302
|
-
network: string | null;
|
303
|
-
security: string | null;
|
304
|
-
port: number | null;
|
305
|
-
rawInbound?: unknown;
|
306
|
-
}[];
|
307
|
-
};
|
308
|
-
providerUuid: string | null;
|
309
|
-
provider: {
|
213
|
+
activeConfigProfileUuid: string | null;
|
214
|
+
activeInbounds: {
|
215
|
+
type: string;
|
310
216
|
uuid: string;
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
217
|
+
profileUuid: string;
|
218
|
+
tag: string;
|
219
|
+
network: string | null;
|
220
|
+
security: string | null;
|
221
|
+
port: number | null;
|
222
|
+
rawInbound?: unknown;
|
223
|
+
}[] | null;
|
317
224
|
}[];
|
318
225
|
}>;
|
319
226
|
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;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc
|
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;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|