@remnawave/backend-contract 2.0.0-alpha.9 → 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/infra-billing.d.ts +1 -1
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -1
- package/build/backend/api/controllers/infra-billing.js +1 -5
- 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 +9 -1
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +9 -1
- 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/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/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 +59 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +1 -1
- 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/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 +59 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +77 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.d.ts +7 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.js +7 -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 +59 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +1 -1
- 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/{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 +140 -101
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +140 -101
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +194 -128
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +158 -107
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +6 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +140 -101
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +140 -101
- 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 +212 -134
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +8 -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 +85 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +85 -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 +4 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +4 -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 +63 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
- package/build/backend/models/infra-provider.schema.js +24 -1
- package/build/backend/models/nodes.schema.d.ts +96 -63
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +6 -3
- package/build/frontend/api/controllers/auth.js +2 -0
- package/build/frontend/api/controllers/infra-billing.js +1 -5
- 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 +9 -1
- 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/hosts/create.command.js +13 -13
- package/build/frontend/commands/hosts/update.command.js +10 -11
- 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 +1 -1
- 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/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/index.js +7 -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 +1 -1
- 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/index.js +2 -1
- package/build/frontend/commands/nodes/create.command.js +6 -4
- package/build/frontend/commands/nodes/update.command.js +8 -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 +85 -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 +4 -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 +24 -1
- package/build/frontend/models/nodes.schema.js +6 -3
- 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
@@ -30,8 +30,17 @@ export declare namespace BulkDisableHostsCommand {
|
|
30
30
|
readonly NONE: "NONE";
|
31
31
|
}>>;
|
32
32
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
33
|
-
|
34
|
-
|
33
|
+
inbound: z.ZodObject<{
|
34
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
35
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
37
|
+
configProfileUuid: string | null;
|
38
|
+
configProfileInboundUuid: string | null;
|
39
|
+
}, {
|
40
|
+
configProfileUuid: string | null;
|
41
|
+
configProfileInboundUuid: string | null;
|
42
|
+
}>;
|
43
|
+
serverDescription: z.ZodNullable<z.ZodString>;
|
35
44
|
}, "strip", z.ZodTypeAny, {
|
36
45
|
path: string | null;
|
37
46
|
uuid: string;
|
@@ -45,8 +54,11 @@ export declare namespace BulkDisableHostsCommand {
|
|
45
54
|
fingerprint: string | null;
|
46
55
|
isDisabled: boolean;
|
47
56
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
48
|
-
|
49
|
-
|
57
|
+
inbound: {
|
58
|
+
configProfileUuid: string | null;
|
59
|
+
configProfileInboundUuid: string | null;
|
60
|
+
};
|
61
|
+
serverDescription: string | null;
|
50
62
|
xHttpExtraParams?: unknown;
|
51
63
|
}, {
|
52
64
|
path: string | null;
|
@@ -59,8 +71,11 @@ export declare namespace BulkDisableHostsCommand {
|
|
59
71
|
host: string | null;
|
60
72
|
alpn: string | null;
|
61
73
|
fingerprint: string | null;
|
62
|
-
|
63
|
-
|
74
|
+
inbound: {
|
75
|
+
configProfileUuid: string | null;
|
76
|
+
configProfileInboundUuid: string | null;
|
77
|
+
};
|
78
|
+
serverDescription: string | null;
|
64
79
|
isDisabled?: boolean | undefined;
|
65
80
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
66
81
|
xHttpExtraParams?: unknown;
|
@@ -79,8 +94,11 @@ export declare namespace BulkDisableHostsCommand {
|
|
79
94
|
fingerprint: string | null;
|
80
95
|
isDisabled: boolean;
|
81
96
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
82
|
-
|
83
|
-
|
97
|
+
inbound: {
|
98
|
+
configProfileUuid: string | null;
|
99
|
+
configProfileInboundUuid: string | null;
|
100
|
+
};
|
101
|
+
serverDescription: string | null;
|
84
102
|
xHttpExtraParams?: unknown;
|
85
103
|
}[];
|
86
104
|
}, {
|
@@ -95,8 +113,11 @@ export declare namespace BulkDisableHostsCommand {
|
|
95
113
|
host: string | null;
|
96
114
|
alpn: string | null;
|
97
115
|
fingerprint: string | null;
|
98
|
-
|
99
|
-
|
116
|
+
inbound: {
|
117
|
+
configProfileUuid: string | null;
|
118
|
+
configProfileInboundUuid: string | null;
|
119
|
+
};
|
120
|
+
serverDescription: string | null;
|
100
121
|
isDisabled?: boolean | undefined;
|
101
122
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
102
123
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -30,8 +30,17 @@ export declare namespace BulkEnableHostsCommand {
|
|
30
30
|
readonly NONE: "NONE";
|
31
31
|
}>>;
|
32
32
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
33
|
-
|
34
|
-
|
33
|
+
inbound: z.ZodObject<{
|
34
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
35
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
37
|
+
configProfileUuid: string | null;
|
38
|
+
configProfileInboundUuid: string | null;
|
39
|
+
}, {
|
40
|
+
configProfileUuid: string | null;
|
41
|
+
configProfileInboundUuid: string | null;
|
42
|
+
}>;
|
43
|
+
serverDescription: z.ZodNullable<z.ZodString>;
|
35
44
|
}, "strip", z.ZodTypeAny, {
|
36
45
|
path: string | null;
|
37
46
|
uuid: string;
|
@@ -45,8 +54,11 @@ export declare namespace BulkEnableHostsCommand {
|
|
45
54
|
fingerprint: string | null;
|
46
55
|
isDisabled: boolean;
|
47
56
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
48
|
-
|
49
|
-
|
57
|
+
inbound: {
|
58
|
+
configProfileUuid: string | null;
|
59
|
+
configProfileInboundUuid: string | null;
|
60
|
+
};
|
61
|
+
serverDescription: string | null;
|
50
62
|
xHttpExtraParams?: unknown;
|
51
63
|
}, {
|
52
64
|
path: string | null;
|
@@ -59,8 +71,11 @@ export declare namespace BulkEnableHostsCommand {
|
|
59
71
|
host: string | null;
|
60
72
|
alpn: string | null;
|
61
73
|
fingerprint: string | null;
|
62
|
-
|
63
|
-
|
74
|
+
inbound: {
|
75
|
+
configProfileUuid: string | null;
|
76
|
+
configProfileInboundUuid: string | null;
|
77
|
+
};
|
78
|
+
serverDescription: string | null;
|
64
79
|
isDisabled?: boolean | undefined;
|
65
80
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
66
81
|
xHttpExtraParams?: unknown;
|
@@ -79,8 +94,11 @@ export declare namespace BulkEnableHostsCommand {
|
|
79
94
|
fingerprint: string | null;
|
80
95
|
isDisabled: boolean;
|
81
96
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
82
|
-
|
83
|
-
|
97
|
+
inbound: {
|
98
|
+
configProfileUuid: string | null;
|
99
|
+
configProfileInboundUuid: string | null;
|
100
|
+
};
|
101
|
+
serverDescription: string | null;
|
84
102
|
xHttpExtraParams?: unknown;
|
85
103
|
}[];
|
86
104
|
}, {
|
@@ -95,8 +113,11 @@ export declare namespace BulkEnableHostsCommand {
|
|
95
113
|
host: string | null;
|
96
114
|
alpn: string | null;
|
97
115
|
fingerprint: string | null;
|
98
|
-
|
99
|
-
|
116
|
+
inbound: {
|
117
|
+
configProfileUuid: string | null;
|
118
|
+
configProfileInboundUuid: string | null;
|
119
|
+
};
|
120
|
+
serverDescription: string | null;
|
100
121
|
isDisabled?: boolean | undefined;
|
101
122
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
102
123
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -36,8 +36,17 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
36
36
|
readonly NONE: "NONE";
|
37
37
|
}>>;
|
38
38
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
39
|
-
|
40
|
-
|
39
|
+
inbound: z.ZodObject<{
|
40
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
41
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
43
|
+
configProfileUuid: string | null;
|
44
|
+
configProfileInboundUuid: string | null;
|
45
|
+
}, {
|
46
|
+
configProfileUuid: string | null;
|
47
|
+
configProfileInboundUuid: string | null;
|
48
|
+
}>;
|
49
|
+
serverDescription: z.ZodNullable<z.ZodString>;
|
41
50
|
}, "strip", z.ZodTypeAny, {
|
42
51
|
path: string | null;
|
43
52
|
uuid: string;
|
@@ -51,8 +60,11 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
51
60
|
fingerprint: string | null;
|
52
61
|
isDisabled: boolean;
|
53
62
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
54
|
-
|
55
|
-
|
63
|
+
inbound: {
|
64
|
+
configProfileUuid: string | null;
|
65
|
+
configProfileInboundUuid: string | null;
|
66
|
+
};
|
67
|
+
serverDescription: string | null;
|
56
68
|
xHttpExtraParams?: unknown;
|
57
69
|
}, {
|
58
70
|
path: string | null;
|
@@ -65,8 +77,11 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
65
77
|
host: string | null;
|
66
78
|
alpn: string | null;
|
67
79
|
fingerprint: string | null;
|
68
|
-
|
69
|
-
|
80
|
+
inbound: {
|
81
|
+
configProfileUuid: string | null;
|
82
|
+
configProfileInboundUuid: string | null;
|
83
|
+
};
|
84
|
+
serverDescription: string | null;
|
70
85
|
isDisabled?: boolean | undefined;
|
71
86
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
72
87
|
xHttpExtraParams?: unknown;
|
@@ -85,8 +100,11 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
85
100
|
fingerprint: string | null;
|
86
101
|
isDisabled: boolean;
|
87
102
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
88
|
-
|
89
|
-
|
103
|
+
inbound: {
|
104
|
+
configProfileUuid: string | null;
|
105
|
+
configProfileInboundUuid: string | null;
|
106
|
+
};
|
107
|
+
serverDescription: string | null;
|
90
108
|
xHttpExtraParams?: unknown;
|
91
109
|
}[];
|
92
110
|
}, {
|
@@ -101,8 +119,11 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
101
119
|
host: string | null;
|
102
120
|
alpn: string | null;
|
103
121
|
fingerprint: string | null;
|
104
|
-
|
105
|
-
|
122
|
+
inbound: {
|
123
|
+
configProfileUuid: string | null;
|
124
|
+
configProfileInboundUuid: string | null;
|
125
|
+
};
|
126
|
+
serverDescription: string | null;
|
106
127
|
isDisabled?: boolean | undefined;
|
107
128
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
108
129
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -33,8 +33,17 @@ export declare namespace SetPortToManyHostsCommand {
|
|
33
33
|
readonly NONE: "NONE";
|
34
34
|
}>>;
|
35
35
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
36
|
-
|
37
|
-
|
36
|
+
inbound: z.ZodObject<{
|
37
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
38
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
40
|
+
configProfileUuid: string | null;
|
41
|
+
configProfileInboundUuid: string | null;
|
42
|
+
}, {
|
43
|
+
configProfileUuid: string | null;
|
44
|
+
configProfileInboundUuid: string | null;
|
45
|
+
}>;
|
46
|
+
serverDescription: z.ZodNullable<z.ZodString>;
|
38
47
|
}, "strip", z.ZodTypeAny, {
|
39
48
|
path: string | null;
|
40
49
|
uuid: string;
|
@@ -48,8 +57,11 @@ export declare namespace SetPortToManyHostsCommand {
|
|
48
57
|
fingerprint: string | null;
|
49
58
|
isDisabled: boolean;
|
50
59
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
51
|
-
|
52
|
-
|
60
|
+
inbound: {
|
61
|
+
configProfileUuid: string | null;
|
62
|
+
configProfileInboundUuid: string | null;
|
63
|
+
};
|
64
|
+
serverDescription: string | null;
|
53
65
|
xHttpExtraParams?: unknown;
|
54
66
|
}, {
|
55
67
|
path: string | null;
|
@@ -62,8 +74,11 @@ export declare namespace SetPortToManyHostsCommand {
|
|
62
74
|
host: string | null;
|
63
75
|
alpn: string | null;
|
64
76
|
fingerprint: string | null;
|
65
|
-
|
66
|
-
|
77
|
+
inbound: {
|
78
|
+
configProfileUuid: string | null;
|
79
|
+
configProfileInboundUuid: string | null;
|
80
|
+
};
|
81
|
+
serverDescription: string | null;
|
67
82
|
isDisabled?: boolean | undefined;
|
68
83
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
69
84
|
xHttpExtraParams?: unknown;
|
@@ -82,8 +97,11 @@ export declare namespace SetPortToManyHostsCommand {
|
|
82
97
|
fingerprint: string | null;
|
83
98
|
isDisabled: boolean;
|
84
99
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
85
|
-
|
86
|
-
|
100
|
+
inbound: {
|
101
|
+
configProfileUuid: string | null;
|
102
|
+
configProfileInboundUuid: string | null;
|
103
|
+
};
|
104
|
+
serverDescription: string | null;
|
87
105
|
xHttpExtraParams?: unknown;
|
88
106
|
}[];
|
89
107
|
}, {
|
@@ -98,8 +116,11 @@ export declare namespace SetPortToManyHostsCommand {
|
|
98
116
|
host: string | null;
|
99
117
|
alpn: string | null;
|
100
118
|
fingerprint: string | null;
|
101
|
-
|
102
|
-
|
119
|
+
inbound: {
|
120
|
+
configProfileUuid: string | null;
|
121
|
+
configProfileInboundUuid: string | null;
|
122
|
+
};
|
123
|
+
serverDescription: string | null;
|
103
124
|
isDisabled?: boolean | undefined;
|
104
125
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
105
126
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -4,8 +4,16 @@ export declare namespace CreateHostCommand {
|
|
4
4
|
const TSQ_url: "/api/hosts/";
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
6
6
|
const RequestSchema: z.ZodObject<{
|
7
|
-
|
8
|
-
|
7
|
+
inbound: z.ZodObject<{
|
8
|
+
configProfileUuid: z.ZodString;
|
9
|
+
configProfileInboundUuid: z.ZodString;
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
11
|
+
configProfileUuid: string;
|
12
|
+
configProfileInboundUuid: string;
|
13
|
+
}, {
|
14
|
+
configProfileUuid: string;
|
15
|
+
configProfileInboundUuid: string;
|
16
|
+
}>;
|
9
17
|
remark: z.ZodString;
|
10
18
|
address: z.ZodString;
|
11
19
|
port: z.ZodNumber;
|
@@ -31,7 +39,6 @@ export declare namespace CreateHostCommand {
|
|
31
39
|
readonly RANDOM: "random";
|
32
40
|
readonly RANDOMIZED: "randomized";
|
33
41
|
}>>>;
|
34
|
-
allowInsecure: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
35
42
|
isDisabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
36
43
|
securityLayer: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<{
|
37
44
|
readonly DEFAULT: "DEFAULT";
|
@@ -39,10 +46,15 @@ export declare namespace CreateHostCommand {
|
|
39
46
|
readonly NONE: "NONE";
|
40
47
|
}>>>;
|
41
48
|
xHttpExtraParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
49
|
+
serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
42
50
|
}, "strip", z.ZodTypeAny, {
|
43
51
|
port: number;
|
44
52
|
remark: string;
|
45
53
|
address: string;
|
54
|
+
inbound: {
|
55
|
+
configProfileUuid: string;
|
56
|
+
configProfileInboundUuid: string;
|
57
|
+
};
|
46
58
|
path?: string | undefined;
|
47
59
|
sni?: string | undefined;
|
48
60
|
host?: string | undefined;
|
@@ -51,13 +63,15 @@ export declare namespace CreateHostCommand {
|
|
51
63
|
isDisabled?: boolean | undefined;
|
52
64
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
53
65
|
xHttpExtraParams?: unknown;
|
54
|
-
|
55
|
-
configProfileInboundUuid?: string | undefined;
|
56
|
-
allowInsecure?: boolean | undefined;
|
66
|
+
serverDescription?: string | null | undefined;
|
57
67
|
}, {
|
58
68
|
port: number;
|
59
69
|
remark: string;
|
60
70
|
address: string;
|
71
|
+
inbound: {
|
72
|
+
configProfileUuid: string;
|
73
|
+
configProfileInboundUuid: string;
|
74
|
+
};
|
61
75
|
path?: string | undefined;
|
62
76
|
sni?: string | undefined;
|
63
77
|
host?: string | undefined;
|
@@ -66,9 +80,7 @@ export declare namespace CreateHostCommand {
|
|
66
80
|
isDisabled?: boolean | undefined;
|
67
81
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
68
82
|
xHttpExtraParams?: unknown;
|
69
|
-
|
70
|
-
configProfileInboundUuid?: string | undefined;
|
71
|
-
allowInsecure?: boolean | undefined;
|
83
|
+
serverDescription?: string | null | undefined;
|
72
84
|
}>;
|
73
85
|
type Request = z.infer<typeof RequestSchema>;
|
74
86
|
const ResponseSchema: z.ZodObject<{
|
@@ -90,8 +102,17 @@ export declare namespace CreateHostCommand {
|
|
90
102
|
readonly NONE: "NONE";
|
91
103
|
}>>;
|
92
104
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
93
|
-
|
94
|
-
|
105
|
+
inbound: z.ZodObject<{
|
106
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
107
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
109
|
+
configProfileUuid: string | null;
|
110
|
+
configProfileInboundUuid: string | null;
|
111
|
+
}, {
|
112
|
+
configProfileUuid: string | null;
|
113
|
+
configProfileInboundUuid: string | null;
|
114
|
+
}>;
|
115
|
+
serverDescription: z.ZodNullable<z.ZodString>;
|
95
116
|
}, "strip", z.ZodTypeAny, {
|
96
117
|
path: string | null;
|
97
118
|
uuid: string;
|
@@ -105,8 +126,11 @@ export declare namespace CreateHostCommand {
|
|
105
126
|
fingerprint: string | null;
|
106
127
|
isDisabled: boolean;
|
107
128
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
108
|
-
|
109
|
-
|
129
|
+
inbound: {
|
130
|
+
configProfileUuid: string | null;
|
131
|
+
configProfileInboundUuid: string | null;
|
132
|
+
};
|
133
|
+
serverDescription: string | null;
|
110
134
|
xHttpExtraParams?: unknown;
|
111
135
|
}, {
|
112
136
|
path: string | null;
|
@@ -119,8 +143,11 @@ export declare namespace CreateHostCommand {
|
|
119
143
|
host: string | null;
|
120
144
|
alpn: string | null;
|
121
145
|
fingerprint: string | null;
|
122
|
-
|
123
|
-
|
146
|
+
inbound: {
|
147
|
+
configProfileUuid: string | null;
|
148
|
+
configProfileInboundUuid: string | null;
|
149
|
+
};
|
150
|
+
serverDescription: string | null;
|
124
151
|
isDisabled?: boolean | undefined;
|
125
152
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
126
153
|
xHttpExtraParams?: unknown;
|
@@ -139,8 +166,11 @@ export declare namespace CreateHostCommand {
|
|
139
166
|
fingerprint: string | null;
|
140
167
|
isDisabled: boolean;
|
141
168
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
142
|
-
|
143
|
-
|
169
|
+
inbound: {
|
170
|
+
configProfileUuid: string | null;
|
171
|
+
configProfileInboundUuid: string | null;
|
172
|
+
};
|
173
|
+
serverDescription: string | null;
|
144
174
|
xHttpExtraParams?: unknown;
|
145
175
|
};
|
146
176
|
}, {
|
@@ -155,8 +185,11 @@ export declare namespace CreateHostCommand {
|
|
155
185
|
host: string | null;
|
156
186
|
alpn: string | null;
|
157
187
|
fingerprint: string | null;
|
158
|
-
|
159
|
-
|
188
|
+
inbound: {
|
189
|
+
configProfileUuid: string | null;
|
190
|
+
configProfileInboundUuid: string | null;
|
191
|
+
};
|
192
|
+
serverDescription: string | null;
|
160
193
|
isDisabled?: boolean | undefined;
|
161
194
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
162
195
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,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/hosts/create.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,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwCxB,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"}
|
@@ -11,21 +11,16 @@ var CreateHostCommand;
|
|
11
11
|
CreateHostCommand.TSQ_url = CreateHostCommand.url;
|
12
12
|
CreateHostCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HOSTS_ROUTES.CREATE, 'post', 'Create a new host');
|
13
13
|
CreateHostCommand.RequestSchema = zod_1.z.object({
|
14
|
-
|
15
|
-
.string(
|
16
|
-
|
17
|
-
})
|
18
|
-
.uuid('Config Profile UUID must be a valid UUID')
|
19
|
-
.optional(),
|
20
|
-
configProfileInboundUuid: zod_1.z
|
21
|
-
.string({
|
22
|
-
invalid_type_error: 'Inbound UUID must be a string',
|
23
|
-
})
|
24
|
-
.uuid('Inbound UUID must be a valid UUID')
|
25
|
-
.optional(),
|
14
|
+
inbound: zod_1.z.object({
|
15
|
+
configProfileUuid: zod_1.z.string().uuid(),
|
16
|
+
configProfileInboundUuid: zod_1.z.string().uuid(),
|
17
|
+
}),
|
26
18
|
remark: zod_1.z
|
27
19
|
.string({
|
28
20
|
invalid_type_error: 'Remark must be a string',
|
21
|
+
})
|
22
|
+
.min(1, {
|
23
|
+
message: 'Remark must be at least 1 character',
|
29
24
|
})
|
30
25
|
.max(40, {
|
31
26
|
message: 'Remark must be less than 40 characters',
|
@@ -43,10 +38,15 @@ var CreateHostCommand;
|
|
43
38
|
host: zod_1.z.string().optional(),
|
44
39
|
alpn: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.ALPN).nullable()),
|
45
40
|
fingerprint: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.FINGERPRINTS).nullable()),
|
46
|
-
allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
47
41
|
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
48
42
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS).default(constants_1.SECURITY_LAYERS.DEFAULT)),
|
49
43
|
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
44
|
+
serverDescription: zod_1.z.optional(zod_1.z
|
45
|
+
.string()
|
46
|
+
.max(30, {
|
47
|
+
message: 'Server description must be less than 30 characters',
|
48
|
+
})
|
49
|
+
.nullable()),
|
50
50
|
});
|
51
51
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
52
52
|
response: models_1.HostsSchema,
|
@@ -22,8 +22,17 @@ export declare namespace GetAllHostsCommand {
|
|
22
22
|
readonly NONE: "NONE";
|
23
23
|
}>>;
|
24
24
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
25
|
-
|
26
|
-
|
25
|
+
inbound: z.ZodObject<{
|
26
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
27
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
29
|
+
configProfileUuid: string | null;
|
30
|
+
configProfileInboundUuid: string | null;
|
31
|
+
}, {
|
32
|
+
configProfileUuid: string | null;
|
33
|
+
configProfileInboundUuid: string | null;
|
34
|
+
}>;
|
35
|
+
serverDescription: z.ZodNullable<z.ZodString>;
|
27
36
|
}, "strip", z.ZodTypeAny, {
|
28
37
|
path: string | null;
|
29
38
|
uuid: string;
|
@@ -37,8 +46,11 @@ export declare namespace GetAllHostsCommand {
|
|
37
46
|
fingerprint: string | null;
|
38
47
|
isDisabled: boolean;
|
39
48
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
40
|
-
|
41
|
-
|
49
|
+
inbound: {
|
50
|
+
configProfileUuid: string | null;
|
51
|
+
configProfileInboundUuid: string | null;
|
52
|
+
};
|
53
|
+
serverDescription: string | null;
|
42
54
|
xHttpExtraParams?: unknown;
|
43
55
|
}, {
|
44
56
|
path: string | null;
|
@@ -51,8 +63,11 @@ export declare namespace GetAllHostsCommand {
|
|
51
63
|
host: string | null;
|
52
64
|
alpn: string | null;
|
53
65
|
fingerprint: string | null;
|
54
|
-
|
55
|
-
|
66
|
+
inbound: {
|
67
|
+
configProfileUuid: string | null;
|
68
|
+
configProfileInboundUuid: string | null;
|
69
|
+
};
|
70
|
+
serverDescription: string | null;
|
56
71
|
isDisabled?: boolean | undefined;
|
57
72
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
58
73
|
xHttpExtraParams?: unknown;
|
@@ -71,8 +86,11 @@ export declare namespace GetAllHostsCommand {
|
|
71
86
|
fingerprint: string | null;
|
72
87
|
isDisabled: boolean;
|
73
88
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
74
|
-
|
75
|
-
|
89
|
+
inbound: {
|
90
|
+
configProfileUuid: string | null;
|
91
|
+
configProfileInboundUuid: string | null;
|
92
|
+
};
|
93
|
+
serverDescription: string | null;
|
76
94
|
xHttpExtraParams?: unknown;
|
77
95
|
}[];
|
78
96
|
}, {
|
@@ -87,8 +105,11 @@ export declare namespace GetAllHostsCommand {
|
|
87
105
|
host: string | null;
|
88
106
|
alpn: string | null;
|
89
107
|
fingerprint: string | null;
|
90
|
-
|
91
|
-
|
108
|
+
inbound: {
|
109
|
+
configProfileUuid: string | null;
|
110
|
+
configProfileInboundUuid: string | null;
|
111
|
+
};
|
112
|
+
serverDescription: string | null;
|
92
113
|
isDisabled?: boolean | undefined;
|
93
114
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
94
115
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;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/hosts/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"}
|