@remnawave/backend-contract 0.7.13 → 0.7.14
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/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +1 -1
- package/build/backend/commands/users/create-user.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/frontend/commands/subscription-settings/update-subscription-settings.command.js +1 -1
- package/build/frontend/commands/users/create-user.command.js +1 -1
- package/build/frontend/constants/errors/errors.js +5 -0
- package/package.json +1 -1
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+BxB,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"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.js
CHANGED
@@ -27,7 +27,7 @@ var UpdateSubscriptionSettingsCommand;
|
|
27
27
|
expiredUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
28
28
|
limitedUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
29
29
|
disabledUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
30
|
-
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
|
30
|
+
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z.string().regex(/^[!#$%&'*+-.^_`|~0-9a-zA-Z]+$/, 'Invalid header name'), zod_1.z.string())),
|
31
31
|
randomizeHosts: zod_1.z.optional(zod_1.z.boolean()),
|
32
32
|
});
|
33
33
|
UpdateSubscriptionSettingsCommand.ResponseSchema = zod_1.z.object({
|
@@ -86,7 +86,7 @@ var CreateUserCommand;
|
|
86
86
|
invalid_type_error: 'Enabled inbounds must be an array',
|
87
87
|
})
|
88
88
|
.optional()
|
89
|
-
.describe('Optional.Array of UUIDs representing enabled inbound connections.'),
|
89
|
+
.describe('Optional. Array of UUIDs representing enabled inbound connections.'),
|
90
90
|
expireAt: zod_1.z
|
91
91
|
.string({
|
92
92
|
required_error: 'Expiration date is required',
|
@@ -554,5 +554,10 @@ export declare const ERRORS: {
|
|
554
554
|
readonly message: "Trigger threshold notification error";
|
555
555
|
readonly httpCode: 500;
|
556
556
|
};
|
557
|
+
readonly BULK_DELETE_BY_STATUS_ERROR: {
|
558
|
+
readonly code: "A106";
|
559
|
+
readonly message: "Bulk delete by status error";
|
560
|
+
readonly httpCode: 500;
|
561
|
+
};
|
557
562
|
};
|
558
563
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoO3B,CAAC"}
|
package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js
CHANGED
@@ -27,7 +27,7 @@ var UpdateSubscriptionSettingsCommand;
|
|
27
27
|
expiredUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
28
28
|
limitedUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
29
29
|
disabledUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
30
|
-
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
|
30
|
+
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z.string().regex(/^[!#$%&'*+-.^_`|~0-9a-zA-Z]+$/, 'Invalid header name'), zod_1.z.string())),
|
31
31
|
randomizeHosts: zod_1.z.optional(zod_1.z.boolean()),
|
32
32
|
});
|
33
33
|
UpdateSubscriptionSettingsCommand.ResponseSchema = zod_1.z.object({
|
@@ -86,7 +86,7 @@ var CreateUserCommand;
|
|
86
86
|
invalid_type_error: 'Enabled inbounds must be an array',
|
87
87
|
})
|
88
88
|
.optional()
|
89
|
-
.describe('Optional.Array of UUIDs representing enabled inbound connections.'),
|
89
|
+
.describe('Optional. Array of UUIDs representing enabled inbound connections.'),
|
90
90
|
expireAt: zod_1.z
|
91
91
|
.string({
|
92
92
|
required_error: 'Expiration date is required',
|