@remnawave/backend-contract 2.0.0-alpha.26 → 2.0.0-alpha.27
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/commands/hosts/create.command.d.ts +3 -0
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +6 -0
- package/build/backend/commands/hosts/update.command.d.ts +3 -0
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +6 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.js +1 -1
- package/build/backend/commands/infra-billing/{get-blling-nodes.command.d.ts → get-billing-nodes.command.d.ts} +1 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/index.d.ts +1 -1
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.js +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- 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/index.d.ts +1 -1
- package/build/backend/models/index.js +1 -1
- package/build/frontend/commands/hosts/create.command.js +6 -0
- package/build/frontend/commands/hosts/update.command.js +6 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +1 -1
- package/build/frontend/commands/infra-billing/index.js +1 -1
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/models/index.js +1 -1
- package/package.json +1 -1
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +0 -1
- /package/build/backend/commands/infra-billing/{get-blling-nodes.command.js → get-billing-nodes.command.js} +0 -0
- /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
- /package/build/frontend/commands/infra-billing/{get-blling-nodes.command.js → get-billing-nodes.command.js} +0 -0
- /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -46,6 +46,7 @@ export declare namespace CreateHostCommand {
|
|
46
46
|
readonly NONE: "NONE";
|
47
47
|
}>>>;
|
48
48
|
xHttpExtraParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
49
|
+
serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
49
50
|
}, "strip", z.ZodTypeAny, {
|
50
51
|
port: number;
|
51
52
|
remark: string;
|
@@ -62,6 +63,7 @@ export declare namespace CreateHostCommand {
|
|
62
63
|
isDisabled?: boolean | undefined;
|
63
64
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
64
65
|
xHttpExtraParams?: unknown;
|
66
|
+
serverDescription?: string | null | undefined;
|
65
67
|
}, {
|
66
68
|
port: number;
|
67
69
|
remark: string;
|
@@ -78,6 +80,7 @@ export declare namespace CreateHostCommand {
|
|
78
80
|
isDisabled?: boolean | undefined;
|
79
81
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
80
82
|
xHttpExtraParams?: unknown;
|
83
|
+
serverDescription?: string | null | undefined;
|
81
84
|
}>;
|
82
85
|
type Request = z.infer<typeof RequestSchema>;
|
83
86
|
const ResponseSchema: z.ZodObject<{
|
@@ -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"}
|
@@ -41,6 +41,12 @@ var CreateHostCommand;
|
|
41
41
|
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
42
42
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS).default(constants_1.SECURITY_LAYERS.DEFAULT)),
|
43
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()),
|
44
50
|
});
|
45
51
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
46
52
|
response: models_1.HostsSchema,
|
@@ -74,6 +74,7 @@ export declare namespace UpdateHostCommand {
|
|
74
74
|
readonly NONE: "NONE";
|
75
75
|
}>>;
|
76
76
|
xHttpExtraParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
77
|
+
serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
77
78
|
}, "strip", z.ZodTypeAny, {
|
78
79
|
uuid: string;
|
79
80
|
path?: string | undefined;
|
@@ -91,6 +92,7 @@ export declare namespace UpdateHostCommand {
|
|
91
92
|
configProfileUuid: string;
|
92
93
|
configProfileInboundUuid: string;
|
93
94
|
} | undefined;
|
95
|
+
serverDescription?: string | null | undefined;
|
94
96
|
}, {
|
95
97
|
uuid: string;
|
96
98
|
path?: string | undefined;
|
@@ -108,6 +110,7 @@ export declare namespace UpdateHostCommand {
|
|
108
110
|
configProfileUuid: string;
|
109
111
|
configProfileInboundUuid: string;
|
110
112
|
} | undefined;
|
113
|
+
serverDescription?: string | null | undefined;
|
111
114
|
}>;
|
112
115
|
type Request = z.infer<typeof RequestSchema>;
|
113
116
|
const ResponseSchema: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4CxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -46,6 +46,12 @@ var UpdateHostCommand;
|
|
46
46
|
isDisabled: zod_1.z.optional(zod_1.z.boolean()),
|
47
47
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS)),
|
48
48
|
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
49
|
+
serverDescription: zod_1.z.optional(zod_1.z
|
50
|
+
.string()
|
51
|
+
.max(30, {
|
52
|
+
message: 'Server description must be less than 30 characters',
|
53
|
+
})
|
54
|
+
.nullable()),
|
49
55
|
});
|
50
56
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
51
57
|
response: models_1.HostsSchema,
|
@@ -14,7 +14,7 @@ var CreateInfraProviderCommand;
|
|
14
14
|
name: zod_1.z
|
15
15
|
.string()
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
17
|
-
.max(30, 'Name must be less than
|
17
|
+
.max(30, 'Name must be less than 30 characters'),
|
18
18
|
faviconLink: zod_1.z.string().url().optional(),
|
19
19
|
loginUrl: zod_1.z.string().url().optional(),
|
20
20
|
});
|
@@ -19,7 +19,7 @@ var GetInfraBillingHistoryRecordsCommand;
|
|
19
19
|
.number()
|
20
20
|
.min(1, 'Size (limit) must be greater than 0')
|
21
21
|
.max(500, 'Size (limit) must be less than 500')
|
22
|
-
.describe('Number of
|
22
|
+
.describe('Number of billing records to return, no more than 500')
|
23
23
|
.default(50),
|
24
24
|
});
|
25
25
|
GetInfraBillingHistoryRecordsCommand.ResponseSchema = zod_1.z.object({
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -5,7 +5,7 @@ export * from './delete-bill-record-by-uuid.command';
|
|
5
5
|
export * from './delete-billing-node-by-uuid.command';
|
6
6
|
export * from './delete-infra-provider-by-uuid.command';
|
7
7
|
export * from './get-bill-records.command';
|
8
|
-
export * from './get-
|
8
|
+
export * from './get-billing-nodes.command';
|
9
9
|
export * from './get-infra-provider-by-uuid.command';
|
10
10
|
export * from './get-infra-providers.command';
|
11
11
|
export * from './update-billing-node.command';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC"}
|
@@ -21,7 +21,7 @@ __exportStar(require("./delete-bill-record-by-uuid.command"), exports);
|
|
21
21
|
__exportStar(require("./delete-billing-node-by-uuid.command"), exports);
|
22
22
|
__exportStar(require("./delete-infra-provider-by-uuid.command"), exports);
|
23
23
|
__exportStar(require("./get-bill-records.command"), exports);
|
24
|
-
__exportStar(require("./get-
|
24
|
+
__exportStar(require("./get-billing-nodes.command"), exports);
|
25
25
|
__exportStar(require("./get-infra-provider-by-uuid.command"), exports);
|
26
26
|
__exportStar(require("./get-infra-providers.command"), exports);
|
27
27
|
__exportStar(require("./update-billing-node.command"), exports);
|
@@ -15,7 +15,7 @@ var UpdateInfraProviderCommand;
|
|
15
15
|
name: zod_1.z
|
16
16
|
.string()
|
17
17
|
.min(2, 'Name must be at least 2 characters')
|
18
|
-
.max(30, 'Name must be less than
|
18
|
+
.max(30, 'Name must be less than 30 characters')
|
19
19
|
.optional(),
|
20
20
|
faviconLink: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().url())),
|
21
21
|
loginUrl: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().url())),
|
@@ -739,5 +739,10 @@ export declare const ERRORS: {
|
|
739
739
|
readonly message: "Remove users from internal squad error";
|
740
740
|
readonly httpCode: 500;
|
741
741
|
};
|
742
|
+
readonly DELETE_CONFIG_PROFILE_BY_UUID_ERROR: {
|
743
|
+
readonly code: "A143";
|
744
|
+
readonly message: "Delete config profile by UUID error";
|
745
|
+
readonly httpCode: 500;
|
746
|
+
};
|
742
747
|
};
|
743
748
|
//# sourceMappingURL=errors.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8Z3B,CAAC"}
|
@@ -144,4 +144,4 @@ export declare const ExtendedUsersSchema: z.ZodObject<{
|
|
144
144
|
trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
|
145
145
|
lastTriggeredThreshold?: number | undefined;
|
146
146
|
}>;
|
147
|
-
//# sourceMappingURL=
|
147
|
+
//# sourceMappingURL=extended-users.schema.d.ts.map
|
package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"extended-users.schema.d.ts","sourceRoot":"","sources":["../../../models/extended-users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC"}
|
@@ -4,7 +4,7 @@ export * from './base-internal-squad.schema';
|
|
4
4
|
export * from './base-stat.schema';
|
5
5
|
export * from './config-profile-inbounds.schema';
|
6
6
|
export * from './config-profile.schema';
|
7
|
-
export * from './
|
7
|
+
export * from './extended-users.schema';
|
8
8
|
export * from './happ.schema';
|
9
9
|
export * from './hosts.schema';
|
10
10
|
export * from './hwid-user-device.schema';
|
@@ -20,7 +20,7 @@ __exportStar(require("./base-internal-squad.schema"), exports);
|
|
20
20
|
__exportStar(require("./base-stat.schema"), exports);
|
21
21
|
__exportStar(require("./config-profile-inbounds.schema"), exports);
|
22
22
|
__exportStar(require("./config-profile.schema"), exports);
|
23
|
-
__exportStar(require("./
|
23
|
+
__exportStar(require("./extended-users.schema"), exports);
|
24
24
|
__exportStar(require("./happ.schema"), exports);
|
25
25
|
__exportStar(require("./hosts.schema"), exports);
|
26
26
|
__exportStar(require("./hwid-user-device.schema"), exports);
|
@@ -41,6 +41,12 @@ var CreateHostCommand;
|
|
41
41
|
isDisabled: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
42
42
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS).default(constants_1.SECURITY_LAYERS.DEFAULT)),
|
43
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()),
|
44
50
|
});
|
45
51
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
46
52
|
response: models_1.HostsSchema,
|
@@ -46,6 +46,12 @@ var UpdateHostCommand;
|
|
46
46
|
isDisabled: zod_1.z.optional(zod_1.z.boolean()),
|
47
47
|
securityLayer: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.SECURITY_LAYERS)),
|
48
48
|
xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.unknown())),
|
49
|
+
serverDescription: zod_1.z.optional(zod_1.z
|
50
|
+
.string()
|
51
|
+
.max(30, {
|
52
|
+
message: 'Server description must be less than 30 characters',
|
53
|
+
})
|
54
|
+
.nullable()),
|
49
55
|
});
|
50
56
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
51
57
|
response: models_1.HostsSchema,
|
@@ -14,7 +14,7 @@ var CreateInfraProviderCommand;
|
|
14
14
|
name: zod_1.z
|
15
15
|
.string()
|
16
16
|
.min(2, 'Name must be at least 2 characters')
|
17
|
-
.max(30, 'Name must be less than
|
17
|
+
.max(30, 'Name must be less than 30 characters'),
|
18
18
|
faviconLink: zod_1.z.string().url().optional(),
|
19
19
|
loginUrl: zod_1.z.string().url().optional(),
|
20
20
|
});
|
@@ -19,7 +19,7 @@ var GetInfraBillingHistoryRecordsCommand;
|
|
19
19
|
.number()
|
20
20
|
.min(1, 'Size (limit) must be greater than 0')
|
21
21
|
.max(500, 'Size (limit) must be less than 500')
|
22
|
-
.describe('Number of
|
22
|
+
.describe('Number of billing records to return, no more than 500')
|
23
23
|
.default(50),
|
24
24
|
});
|
25
25
|
GetInfraBillingHistoryRecordsCommand.ResponseSchema = zod_1.z.object({
|
@@ -21,7 +21,7 @@ __exportStar(require("./delete-bill-record-by-uuid.command"), exports);
|
|
21
21
|
__exportStar(require("./delete-billing-node-by-uuid.command"), exports);
|
22
22
|
__exportStar(require("./delete-infra-provider-by-uuid.command"), exports);
|
23
23
|
__exportStar(require("./get-bill-records.command"), exports);
|
24
|
-
__exportStar(require("./get-
|
24
|
+
__exportStar(require("./get-billing-nodes.command"), exports);
|
25
25
|
__exportStar(require("./get-infra-provider-by-uuid.command"), exports);
|
26
26
|
__exportStar(require("./get-infra-providers.command"), exports);
|
27
27
|
__exportStar(require("./update-billing-node.command"), exports);
|
@@ -15,7 +15,7 @@ var UpdateInfraProviderCommand;
|
|
15
15
|
name: zod_1.z
|
16
16
|
.string()
|
17
17
|
.min(2, 'Name must be at least 2 characters')
|
18
|
-
.max(30, 'Name must be less than
|
18
|
+
.max(30, 'Name must be less than 30 characters')
|
19
19
|
.optional(),
|
20
20
|
faviconLink: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().url())),
|
21
21
|
loginUrl: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().url())),
|
@@ -20,7 +20,7 @@ __exportStar(require("./base-internal-squad.schema"), exports);
|
|
20
20
|
__exportStar(require("./base-stat.schema"), exports);
|
21
21
|
__exportStar(require("./config-profile-inbounds.schema"), exports);
|
22
22
|
__exportStar(require("./config-profile.schema"), exports);
|
23
|
-
__exportStar(require("./
|
23
|
+
__exportStar(require("./extended-users.schema"), exports);
|
24
24
|
__exportStar(require("./happ.schema"), exports);
|
25
25
|
__exportStar(require("./hosts.schema"), exports);
|
26
26
|
__exportStar(require("./hwid-user-device.schema"), exports);
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"get-blling-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-blling-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|