@remnawave/backend-contract 2.3.51 → 2.3.52
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-page-configs/actions/reorder.command.d.ts +2012 -8
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +1082 -5
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +1083 -5
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +4 -2
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +1234 -7
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +2013 -8
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +5 -3
- 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/subscripion-page-config.schema.d.ts +930 -3
- package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscripion-page-config.schema.js +2 -1
- package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +4 -2
- package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +5 -3
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/models/subscripion-page-config.schema.js +2 -1
- package/package.json +1 -1
package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subpage-config.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-page-configs/update-subpage-config.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,mCAA4C,CAAC;IACtD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-subpage-config.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-page-configs/update-subpage-config.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,mCAA4C,CAAC;IACtD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateSubscriptionPageConfigCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
5
|
const models_1 = require("../../models");
|
|
6
|
+
const api_1 = require("../../api");
|
|
7
7
|
const constants_1 = require("../../constants");
|
|
8
8
|
var UpdateSubscriptionPageConfigCommand;
|
|
9
9
|
(function (UpdateSubscriptionPageConfigCommand) {
|
|
@@ -18,9 +18,11 @@ var UpdateSubscriptionPageConfigCommand;
|
|
|
18
18
|
.max(30, 'Name must be less than 30 characters')
|
|
19
19
|
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces')
|
|
20
20
|
.optional(),
|
|
21
|
-
|
|
21
|
+
config: zod_1.z.optional(models_1.SubscriptionPageRawConfigSchema),
|
|
22
22
|
});
|
|
23
23
|
UpdateSubscriptionPageConfigCommand.ResponseSchema = zod_1.z.object({
|
|
24
|
-
response: models_1.SubscriptionPageConfigSchema
|
|
24
|
+
response: models_1.SubscriptionPageConfigSchema.extend({
|
|
25
|
+
config: models_1.SubscriptionPageRawConfigSchema,
|
|
26
|
+
}),
|
|
25
27
|
});
|
|
26
28
|
})(UpdateSubscriptionPageConfigCommand || (exports.UpdateSubscriptionPageConfigCommand = UpdateSubscriptionPageConfigCommand = {}));
|
|
@@ -1109,5 +1109,10 @@ export declare const ERRORS: {
|
|
|
1109
1109
|
readonly message: "Create subscription page config error";
|
|
1110
1110
|
readonly httpCode: 500;
|
|
1111
1111
|
};
|
|
1112
|
+
readonly INVALID_SUBSCRIPTION_PAGE_CONFIG: {
|
|
1113
|
+
readonly code: "A215";
|
|
1114
|
+
readonly message: "Invalid subscription page config";
|
|
1115
|
+
readonly httpCode: 400;
|
|
1116
|
+
};
|
|
1112
1117
|
};
|
|
1113
1118
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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