@remnawave/backend-contract 2.0.0-alpha.8 → 2.0.0
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/auth.d.ts +2 -0
- package/build/backend/api/controllers/auth.d.ts.map +1 -1
- package/build/backend/api/controllers/auth.js +2 -0
- package/build/backend/api/controllers/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- package/build/backend/api/controllers/infra-billing.d.ts +16 -0
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
- package/build/backend/api/controllers/infra-billing.js +18 -0
- package/build/backend/api/controllers/internal-squads.d.ts +4 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +5 -0
- package/build/backend/api/controllers/subscription.d.ts +1 -0
- package/build/backend/api/controllers/subscription.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription.js +1 -0
- package/build/backend/api/controllers/system.d.ts +1 -0
- package/build/backend/api/controllers/system.d.ts.map +1 -1
- package/build/backend/api/controllers/system.js +1 -0
- package/build/backend/api/routes.d.ts +22 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +22 -0
- package/build/backend/commands/api-tokens/create.command.d.ts +0 -3
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +0 -1
- package/build/backend/commands/api-tokens/find.command.d.ts +0 -7
- package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.d.ts +23 -0
- package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.js +3 -0
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts +36 -0
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -0
- package/build/backend/commands/auth/oauth2/authorize.command.js +20 -0
- package/build/backend/commands/auth/oauth2/callback.command.d.ts +43 -0
- package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -0
- package/build/backend/commands/auth/oauth2/callback.command.js +22 -0
- package/build/backend/commands/auth/oauth2/index.d.ts +2 -0
- package/build/backend/commands/auth/oauth2/index.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/index.js +2 -0
- 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 +31 -10
- 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 +31 -10
- 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 +31 -10
- 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 +31 -10
- 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 +31 -10
- 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 +52 -19
- 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 +31 -10
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +31 -10
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +11 -2
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +63 -21
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +10 -11
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +123 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/backend/commands/infra-billing/index.d.ts +13 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/index.js +28 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
- 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 +2 -1
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +2 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +166 -68
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +166 -68
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +240 -92
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +187 -74
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +7 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +166 -68
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +166 -68
- 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 +261 -98
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +9 -4
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts +354 -0
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +67 -0
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +4 -4
- package/build/backend/commands/subscription/index.d.ts +1 -0
- package/build/backend/commands/subscription/index.d.ts.map +1 -1
- package/build/backend/commands/subscription/index.js +1 -0
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +6 -6
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +4 -4
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts +153 -0
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -0
- package/build/backend/commands/system/get-nodes-metrics.command.js +33 -0
- package/build/backend/commands/system/index.d.ts +1 -0
- package/build/backend/commands/system/index.d.ts.map +1 -1
- package/build/backend/commands/system/index.js +1 -0
- package/build/backend/commands/users/create-user.command.d.ts +6 -6
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +2 -4
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/constants/errors/errors.d.ts +115 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +115 -0
- package/build/backend/constants/events/events.d.ts +11 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +10 -0
- package/build/backend/constants/headers/headers.constants.d.ts +3 -0
- package/build/backend/constants/headers/headers.constants.d.ts.map +1 -0
- package/build/backend/constants/headers/headers.constants.js +5 -0
- package/build/backend/constants/headers/index.d.ts +2 -0
- package/build/backend/constants/headers/index.d.ts.map +1 -0
- package/build/backend/constants/headers/index.js +17 -0
- package/build/backend/constants/index.d.ts +3 -0
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +3 -0
- package/build/backend/constants/messaging/index.d.ts +2 -0
- package/build/backend/constants/messaging/index.d.ts.map +1 -0
- package/build/backend/constants/messaging/index.js +17 -0
- package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
- package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
- package/build/backend/constants/messaging/messaging.constants.js +19 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts +17 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
- package/build/backend/constants/metrics/metric-names.constant.js +17 -0
- package/build/backend/constants/oauth2/index.d.ts +2 -0
- package/build/backend/constants/oauth2/index.d.ts.map +1 -0
- package/build/backend/constants/oauth2/index.js +17 -0
- package/build/backend/constants/oauth2/providers.contants.d.ts +9 -0
- package/build/backend/constants/oauth2/providers.contants.d.ts.map +1 -0
- package/build/backend/constants/oauth2/providers.contants.js +9 -0
- 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 +1 -0
- package/build/backend/models/api-tokens.schema.d.ts +0 -3
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.js +0 -1
- package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
- package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
- package/build/backend/models/hosts.schema.d.ts +21 -6
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +5 -2
- package/build/backend/models/index.d.ts +5 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +5 -1
- package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-available-node.schema.js +9 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-history-record.schema.js +19 -0
- package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-node.schema.js +34 -0
- package/build/backend/models/infra-provider.schema.d.ts +87 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
- package/build/backend/models/infra-provider.schema.js +41 -0
- package/build/backend/models/nodes.schema.d.ts +120 -46
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +8 -2
- package/build/frontend/api/controllers/auth.js +2 -0
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/infra-billing.js +18 -0
- package/build/frontend/api/controllers/internal-squads.js +5 -0
- package/build/frontend/api/controllers/subscription.js +1 -0
- package/build/frontend/api/controllers/system.js +1 -0
- package/build/frontend/api/routes.js +22 -0
- package/build/frontend/commands/api-tokens/create.command.js +0 -1
- package/build/frontend/commands/auth/get-status.command.js +3 -0
- package/build/frontend/commands/auth/oauth2/authorize.command.js +20 -0
- package/build/frontend/commands/auth/oauth2/callback.command.js +22 -0
- package/build/frontend/commands/auth/oauth2/index.js +2 -0
- 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 +10 -11
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/frontend/commands/infra-billing/index.js +28 -0
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/frontend/commands/internal-squads/index.js +2 -1
- package/build/frontend/commands/nodes/create.command.js +7 -4
- package/build/frontend/commands/nodes/update.command.js +9 -4
- package/build/frontend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +67 -0
- package/build/frontend/commands/subscription/index.js +1 -0
- package/build/frontend/commands/system/get-nodes-metrics.command.js +33 -0
- package/build/frontend/commands/system/index.js +1 -0
- package/build/frontend/commands/users/create-user.command.js +2 -4
- package/build/frontend/constants/errors/errors.js +115 -0
- package/build/frontend/constants/events/events.js +10 -0
- package/build/frontend/constants/headers/headers.constants.js +5 -0
- package/build/frontend/constants/headers/index.js +17 -0
- package/build/frontend/constants/index.js +3 -0
- package/build/frontend/constants/messaging/index.js +17 -0
- package/build/frontend/constants/messaging/messaging.constants.js +19 -0
- package/build/frontend/constants/metrics/metric-names.constant.js +17 -0
- package/build/frontend/constants/oauth2/index.js +17 -0
- package/build/frontend/constants/oauth2/providers.contants.js +9 -0
- package/build/frontend/constants/templates/template-keys.js +1 -0
- package/build/frontend/models/api-tokens.schema.js +0 -1
- package/build/frontend/models/hosts.schema.js +5 -2
- package/build/frontend/models/index.js +5 -1
- package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
- package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
- package/build/frontend/models/infra-billing-node.schema.js +34 -0
- package/build/frontend/models/infra-provider.schema.js +41 -0
- package/build/frontend/models/nodes.schema.js +8 -2
- package/package.json +2 -2
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
- /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
- /package/build/backend/models/{extented-users.schema.js → extended-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/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -33,30 +33,30 @@ export declare namespace GetNodeUserUsageByRangeCommand {
|
|
33
33
|
date: Date;
|
34
34
|
username: string;
|
35
35
|
userUuid: string;
|
36
|
-
total: number;
|
37
36
|
nodeUuid: string;
|
37
|
+
total: number;
|
38
38
|
}, {
|
39
39
|
date: string;
|
40
40
|
username: string;
|
41
41
|
userUuid: string;
|
42
|
-
total: number;
|
43
42
|
nodeUuid: string;
|
43
|
+
total: number;
|
44
44
|
}>, "many">;
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
46
46
|
response: {
|
47
47
|
date: Date;
|
48
48
|
username: string;
|
49
49
|
userUuid: string;
|
50
|
-
total: number;
|
51
50
|
nodeUuid: string;
|
51
|
+
total: number;
|
52
52
|
}[];
|
53
53
|
}, {
|
54
54
|
response: {
|
55
55
|
date: string;
|
56
56
|
username: string;
|
57
57
|
userUuid: string;
|
58
|
-
total: number;
|
59
58
|
nodeUuid: string;
|
59
|
+
total: number;
|
60
60
|
}[];
|
61
61
|
}>;
|
62
62
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -28,8 +28,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
29
29
|
date: Date;
|
30
30
|
nodeName: string;
|
31
|
-
total: number;
|
32
31
|
nodeUuid: string;
|
32
|
+
total: number;
|
33
33
|
totalDownload: number;
|
34
34
|
totalUpload: number;
|
35
35
|
humanReadableTotal: string;
|
@@ -38,8 +38,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
38
38
|
}, {
|
39
39
|
date: string;
|
40
40
|
nodeName: string;
|
41
|
-
total: number;
|
42
41
|
nodeUuid: string;
|
42
|
+
total: number;
|
43
43
|
totalDownload: number;
|
44
44
|
totalUpload: number;
|
45
45
|
humanReadableTotal: string;
|
@@ -50,8 +50,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
50
50
|
response: {
|
51
51
|
date: Date;
|
52
52
|
nodeName: string;
|
53
|
-
total: number;
|
54
53
|
nodeUuid: string;
|
54
|
+
total: number;
|
55
55
|
totalDownload: number;
|
56
56
|
totalUpload: number;
|
57
57
|
humanReadableTotal: string;
|
@@ -62,8 +62,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
62
62
|
response: {
|
63
63
|
date: string;
|
64
64
|
nodeName: string;
|
65
|
-
total: number;
|
66
65
|
nodeUuid: string;
|
66
|
+
total: number;
|
67
67
|
totalDownload: number;
|
68
68
|
totalUpload: number;
|
69
69
|
humanReadableTotal: string;
|
@@ -16,6 +16,7 @@ export declare namespace UpdateNodeCommand {
|
|
16
16
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
17
17
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
18
18
|
xrayVersion: z.ZodNullable<z.ZodString>;
|
19
|
+
nodeVersion: z.ZodNullable<z.ZodString>;
|
19
20
|
xrayUptime: z.ZodString;
|
20
21
|
isTrafficTrackingActive: z.ZodBoolean;
|
21
22
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
@@ -31,35 +32,84 @@ export declare namespace UpdateNodeCommand {
|
|
31
32
|
totalRam: z.ZodNullable<z.ZodString>;
|
32
33
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
33
34
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
|
-
|
35
|
-
|
35
|
+
configProfile: z.ZodObject<{
|
36
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
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<{
|
36
92
|
uuid: z.ZodString;
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
port: z.ZodNullable<z.ZodNumber>;
|
43
|
-
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
93
|
+
name: z.ZodString;
|
94
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
95
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
96
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
97
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
44
98
|
}, "strip", z.ZodTypeAny, {
|
45
|
-
type: string;
|
46
99
|
uuid: string;
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
rawInbound?: unknown;
|
100
|
+
createdAt: Date;
|
101
|
+
updatedAt: Date;
|
102
|
+
name: string;
|
103
|
+
faviconLink: string | null;
|
104
|
+
loginUrl: string | null;
|
53
105
|
}, {
|
54
|
-
type: string;
|
55
106
|
uuid: string;
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
}>, "many">>;
|
107
|
+
createdAt: string;
|
108
|
+
updatedAt: string;
|
109
|
+
name: string;
|
110
|
+
faviconLink: string | null;
|
111
|
+
loginUrl: string | null;
|
112
|
+
}>>;
|
63
113
|
}, "uuid"> & {
|
64
114
|
name: z.ZodOptional<z.ZodString>;
|
65
115
|
address: z.ZodOptional<z.ZodString>;
|
@@ -70,8 +120,17 @@ export declare namespace UpdateNodeCommand {
|
|
70
120
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
71
121
|
countryCode: z.ZodOptional<z.ZodString>;
|
72
122
|
consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
73
|
-
|
74
|
-
|
123
|
+
configProfile: z.ZodOptional<z.ZodObject<{
|
124
|
+
activeConfigProfileUuid: z.ZodString;
|
125
|
+
activeInbounds: z.ZodArray<z.ZodString, "many">;
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
127
|
+
activeConfigProfileUuid: string;
|
128
|
+
activeInbounds: string[];
|
129
|
+
}, {
|
130
|
+
activeConfigProfileUuid: string;
|
131
|
+
activeInbounds: string[];
|
132
|
+
}>>;
|
133
|
+
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
75
134
|
}, "strip", z.ZodTypeAny, {
|
76
135
|
uuid: string;
|
77
136
|
name?: string | undefined;
|
@@ -83,8 +142,11 @@ export declare namespace UpdateNodeCommand {
|
|
83
142
|
trafficResetDay?: number | undefined;
|
84
143
|
notifyPercent?: number | undefined;
|
85
144
|
consumptionMultiplier?: number | undefined;
|
86
|
-
|
87
|
-
|
145
|
+
configProfile?: {
|
146
|
+
activeConfigProfileUuid: string;
|
147
|
+
activeInbounds: string[];
|
148
|
+
} | undefined;
|
149
|
+
providerUuid?: string | null | undefined;
|
88
150
|
}, {
|
89
151
|
uuid: string;
|
90
152
|
name?: string | undefined;
|
@@ -96,8 +158,11 @@ export declare namespace UpdateNodeCommand {
|
|
96
158
|
trafficResetDay?: number | undefined;
|
97
159
|
notifyPercent?: number | undefined;
|
98
160
|
consumptionMultiplier?: number | undefined;
|
99
|
-
|
100
|
-
|
161
|
+
configProfile?: {
|
162
|
+
activeConfigProfileUuid: string;
|
163
|
+
activeInbounds: string[];
|
164
|
+
} | undefined;
|
165
|
+
providerUuid?: string | null | undefined;
|
101
166
|
}>;
|
102
167
|
type Request = z.infer<typeof RequestSchema>;
|
103
168
|
const ResponseSchema: z.ZodObject<{
|
@@ -114,6 +179,7 @@ export declare namespace UpdateNodeCommand {
|
|
114
179
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
115
180
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
116
181
|
xrayVersion: z.ZodNullable<z.ZodString>;
|
182
|
+
nodeVersion: z.ZodNullable<z.ZodString>;
|
117
183
|
xrayUptime: z.ZodString;
|
118
184
|
isTrafficTrackingActive: z.ZodBoolean;
|
119
185
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
@@ -129,39 +195,96 @@ export declare namespace UpdateNodeCommand {
|
|
129
195
|
totalRam: z.ZodNullable<z.ZodString>;
|
130
196
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
131
197
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
132
|
-
|
133
|
-
|
198
|
+
configProfile: z.ZodObject<{
|
199
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
200
|
+
activeInbounds: z.ZodArray<z.ZodObject<{
|
201
|
+
uuid: z.ZodString;
|
202
|
+
profileUuid: z.ZodString;
|
203
|
+
tag: z.ZodString;
|
204
|
+
type: z.ZodString;
|
205
|
+
network: z.ZodNullable<z.ZodString>;
|
206
|
+
security: z.ZodNullable<z.ZodString>;
|
207
|
+
port: z.ZodNullable<z.ZodNumber>;
|
208
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
210
|
+
type: string;
|
211
|
+
uuid: string;
|
212
|
+
profileUuid: string;
|
213
|
+
tag: string;
|
214
|
+
network: string | null;
|
215
|
+
security: string | null;
|
216
|
+
port: number | null;
|
217
|
+
rawInbound?: unknown;
|
218
|
+
}, {
|
219
|
+
type: string;
|
220
|
+
uuid: string;
|
221
|
+
profileUuid: string;
|
222
|
+
tag: string;
|
223
|
+
network: string | null;
|
224
|
+
security: string | null;
|
225
|
+
port: number | null;
|
226
|
+
rawInbound?: unknown;
|
227
|
+
}>, "many">;
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
229
|
+
activeConfigProfileUuid: string | null;
|
230
|
+
activeInbounds: {
|
231
|
+
type: string;
|
232
|
+
uuid: string;
|
233
|
+
profileUuid: string;
|
234
|
+
tag: string;
|
235
|
+
network: string | null;
|
236
|
+
security: string | null;
|
237
|
+
port: number | null;
|
238
|
+
rawInbound?: unknown;
|
239
|
+
}[];
|
240
|
+
}, {
|
241
|
+
activeConfigProfileUuid: string | null;
|
242
|
+
activeInbounds: {
|
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
|
+
}[];
|
252
|
+
}>;
|
253
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
254
|
+
provider: z.ZodNullable<z.ZodObject<{
|
134
255
|
uuid: z.ZodString;
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
port: z.ZodNullable<z.ZodNumber>;
|
141
|
-
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
256
|
+
name: z.ZodString;
|
257
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
258
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
259
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
260
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
142
261
|
}, "strip", z.ZodTypeAny, {
|
143
|
-
type: string;
|
144
262
|
uuid: string;
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
rawInbound?: unknown;
|
263
|
+
createdAt: Date;
|
264
|
+
updatedAt: Date;
|
265
|
+
name: string;
|
266
|
+
faviconLink: string | null;
|
267
|
+
loginUrl: string | null;
|
151
268
|
}, {
|
152
|
-
type: string;
|
153
269
|
uuid: string;
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
}>, "many">>;
|
270
|
+
createdAt: string;
|
271
|
+
updatedAt: string;
|
272
|
+
name: string;
|
273
|
+
faviconLink: string | null;
|
274
|
+
loginUrl: string | null;
|
275
|
+
}>>;
|
161
276
|
}, "strip", z.ZodTypeAny, {
|
162
277
|
uuid: string;
|
163
278
|
createdAt: Date;
|
164
279
|
updatedAt: Date;
|
280
|
+
provider: {
|
281
|
+
uuid: string;
|
282
|
+
createdAt: Date;
|
283
|
+
updatedAt: Date;
|
284
|
+
name: string;
|
285
|
+
faviconLink: string | null;
|
286
|
+
loginUrl: string | null;
|
287
|
+
} | null;
|
165
288
|
name: string;
|
166
289
|
port: number | null;
|
167
290
|
countryCode: string;
|
@@ -176,6 +299,7 @@ export declare namespace UpdateNodeCommand {
|
|
176
299
|
lastStatusChange: Date | null;
|
177
300
|
lastStatusMessage: string | null;
|
178
301
|
xrayVersion: string | null;
|
302
|
+
nodeVersion: string | null;
|
179
303
|
xrayUptime: string;
|
180
304
|
isTrafficTrackingActive: boolean;
|
181
305
|
trafficResetDay: number | null;
|
@@ -186,21 +310,32 @@ export declare namespace UpdateNodeCommand {
|
|
186
310
|
cpuCount: number | null;
|
187
311
|
cpuModel: string | null;
|
188
312
|
totalRam: string | null;
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
313
|
+
configProfile: {
|
314
|
+
activeConfigProfileUuid: string | null;
|
315
|
+
activeInbounds: {
|
316
|
+
type: string;
|
317
|
+
uuid: string;
|
318
|
+
profileUuid: string;
|
319
|
+
tag: string;
|
320
|
+
network: string | null;
|
321
|
+
security: string | null;
|
322
|
+
port: number | null;
|
323
|
+
rawInbound?: unknown;
|
324
|
+
}[];
|
325
|
+
};
|
326
|
+
providerUuid: string | null;
|
200
327
|
}, {
|
201
328
|
uuid: string;
|
202
329
|
createdAt: string;
|
203
330
|
updatedAt: string;
|
331
|
+
provider: {
|
332
|
+
uuid: string;
|
333
|
+
createdAt: string;
|
334
|
+
updatedAt: string;
|
335
|
+
name: string;
|
336
|
+
faviconLink: string | null;
|
337
|
+
loginUrl: string | null;
|
338
|
+
} | null;
|
204
339
|
name: string;
|
205
340
|
port: number | null;
|
206
341
|
countryCode: string;
|
@@ -215,6 +350,7 @@ export declare namespace UpdateNodeCommand {
|
|
215
350
|
lastStatusChange: string | null;
|
216
351
|
lastStatusMessage: string | null;
|
217
352
|
xrayVersion: string | null;
|
353
|
+
nodeVersion: string | null;
|
218
354
|
xrayUptime: string;
|
219
355
|
isTrafficTrackingActive: boolean;
|
220
356
|
trafficResetDay: number | null;
|
@@ -225,23 +361,34 @@ export declare namespace UpdateNodeCommand {
|
|
225
361
|
cpuCount: number | null;
|
226
362
|
cpuModel: string | null;
|
227
363
|
totalRam: string | null;
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
364
|
+
configProfile: {
|
365
|
+
activeConfigProfileUuid: string | null;
|
366
|
+
activeInbounds: {
|
367
|
+
type: string;
|
368
|
+
uuid: string;
|
369
|
+
profileUuid: string;
|
370
|
+
tag: string;
|
371
|
+
network: string | null;
|
372
|
+
security: string | null;
|
373
|
+
port: number | null;
|
374
|
+
rawInbound?: unknown;
|
375
|
+
}[];
|
376
|
+
};
|
377
|
+
providerUuid: string | null;
|
239
378
|
}>;
|
240
379
|
}, "strip", z.ZodTypeAny, {
|
241
380
|
response: {
|
242
381
|
uuid: string;
|
243
382
|
createdAt: Date;
|
244
383
|
updatedAt: Date;
|
384
|
+
provider: {
|
385
|
+
uuid: string;
|
386
|
+
createdAt: Date;
|
387
|
+
updatedAt: Date;
|
388
|
+
name: string;
|
389
|
+
faviconLink: string | null;
|
390
|
+
loginUrl: string | null;
|
391
|
+
} | null;
|
245
392
|
name: string;
|
246
393
|
port: number | null;
|
247
394
|
countryCode: string;
|
@@ -256,6 +403,7 @@ export declare namespace UpdateNodeCommand {
|
|
256
403
|
lastStatusChange: Date | null;
|
257
404
|
lastStatusMessage: string | null;
|
258
405
|
xrayVersion: string | null;
|
406
|
+
nodeVersion: string | null;
|
259
407
|
xrayUptime: string;
|
260
408
|
isTrafficTrackingActive: boolean;
|
261
409
|
trafficResetDay: number | null;
|
@@ -266,23 +414,34 @@ export declare namespace UpdateNodeCommand {
|
|
266
414
|
cpuCount: number | null;
|
267
415
|
cpuModel: string | null;
|
268
416
|
totalRam: string | null;
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
417
|
+
configProfile: {
|
418
|
+
activeConfigProfileUuid: string | null;
|
419
|
+
activeInbounds: {
|
420
|
+
type: string;
|
421
|
+
uuid: string;
|
422
|
+
profileUuid: string;
|
423
|
+
tag: string;
|
424
|
+
network: string | null;
|
425
|
+
security: string | null;
|
426
|
+
port: number | null;
|
427
|
+
rawInbound?: unknown;
|
428
|
+
}[];
|
429
|
+
};
|
430
|
+
providerUuid: string | null;
|
280
431
|
};
|
281
432
|
}, {
|
282
433
|
response: {
|
283
434
|
uuid: string;
|
284
435
|
createdAt: string;
|
285
436
|
updatedAt: string;
|
437
|
+
provider: {
|
438
|
+
uuid: string;
|
439
|
+
createdAt: string;
|
440
|
+
updatedAt: string;
|
441
|
+
name: string;
|
442
|
+
faviconLink: string | null;
|
443
|
+
loginUrl: string | null;
|
444
|
+
} | null;
|
286
445
|
name: string;
|
287
446
|
port: number | null;
|
288
447
|
countryCode: string;
|
@@ -297,6 +456,7 @@ export declare namespace UpdateNodeCommand {
|
|
297
456
|
lastStatusChange: string | null;
|
298
457
|
lastStatusMessage: string | null;
|
299
458
|
xrayVersion: string | null;
|
459
|
+
nodeVersion: string | null;
|
300
460
|
xrayUptime: string;
|
301
461
|
isTrafficTrackingActive: boolean;
|
302
462
|
trafficResetDay: number | null;
|
@@ -307,17 +467,20 @@ export declare namespace UpdateNodeCommand {
|
|
307
467
|
cpuCount: number | null;
|
308
468
|
cpuModel: string | null;
|
309
469
|
totalRam: string | null;
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
470
|
+
configProfile: {
|
471
|
+
activeConfigProfileUuid: string | null;
|
472
|
+
activeInbounds: {
|
473
|
+
type: string;
|
474
|
+
uuid: string;
|
475
|
+
profileUuid: string;
|
476
|
+
tag: string;
|
477
|
+
network: string | null;
|
478
|
+
security: string | null;
|
479
|
+
port: number | null;
|
480
|
+
rawInbound?: unknown;
|
481
|
+
}[];
|
482
|
+
};
|
483
|
+
providerUuid: string | null;
|
321
484
|
};
|
322
485
|
}>;
|
323
486
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,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"}
|
@@ -31,10 +31,15 @@ var UpdateNodeCommand;
|
|
31
31
|
.number()
|
32
32
|
.min(0.1, 'Consumption multiplier must be greater than 0')
|
33
33
|
.transform((n) => Number(n.toFixed(1)))),
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
configProfile: zod_1.z
|
35
|
+
.object({
|
36
|
+
activeConfigProfileUuid: zod_1.z.string().uuid(),
|
37
|
+
activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
|
38
|
+
invalid_type_error: 'Must be an array of UUIDs',
|
39
|
+
}),
|
40
|
+
})
|
41
|
+
.optional(),
|
42
|
+
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
38
43
|
});
|
39
44
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
40
45
|
response: models_1.NodesSchema,
|