@remnawave/backend-contract 0.3.64 → 0.3.66

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.
@@ -11,6 +11,7 @@ export declare namespace GetSubscriptionSettingsCommand {
11
11
  isProfileWebpageUrlEnabled: z.ZodBoolean;
12
12
  serveJsonAtBaseSubscription: z.ZodBoolean;
13
13
  addUsernameToBaseSubscription: z.ZodBoolean;
14
+ isShowCustomRemarks: z.ZodBoolean;
14
15
  happAnnounce: z.ZodNullable<z.ZodString>;
15
16
  happRouting: z.ZodNullable<z.ZodString>;
16
17
  expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
@@ -28,6 +29,7 @@ export declare namespace GetSubscriptionSettingsCommand {
28
29
  isProfileWebpageUrlEnabled: boolean;
29
30
  serveJsonAtBaseSubscription: boolean;
30
31
  addUsernameToBaseSubscription: boolean;
32
+ isShowCustomRemarks: boolean;
31
33
  happAnnounce: string | null;
32
34
  happRouting: string | null;
33
35
  expiredUsersRemarks: string[];
@@ -43,6 +45,7 @@ export declare namespace GetSubscriptionSettingsCommand {
43
45
  isProfileWebpageUrlEnabled: boolean;
44
46
  serveJsonAtBaseSubscription: boolean;
45
47
  addUsernameToBaseSubscription: boolean;
48
+ isShowCustomRemarks: boolean;
46
49
  happAnnounce: string | null;
47
50
  happRouting: string | null;
48
51
  expiredUsersRemarks: string[];
@@ -60,6 +63,7 @@ export declare namespace GetSubscriptionSettingsCommand {
60
63
  isProfileWebpageUrlEnabled: boolean;
61
64
  serveJsonAtBaseSubscription: boolean;
62
65
  addUsernameToBaseSubscription: boolean;
66
+ isShowCustomRemarks: boolean;
63
67
  happAnnounce: string | null;
64
68
  happRouting: string | null;
65
69
  expiredUsersRemarks: string[];
@@ -77,6 +81,7 @@ export declare namespace GetSubscriptionSettingsCommand {
77
81
  isProfileWebpageUrlEnabled: boolean;
78
82
  serveJsonAtBaseSubscription: boolean;
79
83
  addUsernameToBaseSubscription: boolean;
84
+ isShowCustomRemarks: boolean;
80
85
  happAnnounce: string | null;
81
86
  happRouting: string | null;
82
87
  expiredUsersRemarks: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,kCAA8C,CAAC;IACxD,MAAM,OAAO,kCAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,kCAA8C,CAAC;IACxD,MAAM,OAAO,kCAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -10,6 +10,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
10
10
  isProfileWebpageUrlEnabled: z.ZodOptional<z.ZodBoolean>;
11
11
  serveJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
12
12
  addUsernameToBaseSubscription: z.ZodOptional<z.ZodBoolean>;
13
+ isShowCustomRemarks: z.ZodOptional<z.ZodBoolean>;
13
14
  happAnnounce: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
15
  happRouting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
16
  expiredUsersRemarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -23,6 +24,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
23
24
  isProfileWebpageUrlEnabled?: boolean | undefined;
24
25
  serveJsonAtBaseSubscription?: boolean | undefined;
25
26
  addUsernameToBaseSubscription?: boolean | undefined;
27
+ isShowCustomRemarks?: boolean | undefined;
26
28
  happAnnounce?: string | null | undefined;
27
29
  happRouting?: string | null | undefined;
28
30
  expiredUsersRemarks?: string[] | undefined;
@@ -36,6 +38,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
36
38
  isProfileWebpageUrlEnabled?: boolean | undefined;
37
39
  serveJsonAtBaseSubscription?: boolean | undefined;
38
40
  addUsernameToBaseSubscription?: boolean | undefined;
41
+ isShowCustomRemarks?: boolean | undefined;
39
42
  happAnnounce?: string | null | undefined;
40
43
  happRouting?: string | null | undefined;
41
44
  expiredUsersRemarks?: string[] | undefined;
@@ -52,6 +55,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
52
55
  isProfileWebpageUrlEnabled: z.ZodBoolean;
53
56
  serveJsonAtBaseSubscription: z.ZodBoolean;
54
57
  addUsernameToBaseSubscription: z.ZodBoolean;
58
+ isShowCustomRemarks: z.ZodBoolean;
55
59
  happAnnounce: z.ZodNullable<z.ZodString>;
56
60
  happRouting: z.ZodNullable<z.ZodString>;
57
61
  expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
@@ -69,6 +73,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
69
73
  isProfileWebpageUrlEnabled: boolean;
70
74
  serveJsonAtBaseSubscription: boolean;
71
75
  addUsernameToBaseSubscription: boolean;
76
+ isShowCustomRemarks: boolean;
72
77
  happAnnounce: string | null;
73
78
  happRouting: string | null;
74
79
  expiredUsersRemarks: string[];
@@ -84,6 +89,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
84
89
  isProfileWebpageUrlEnabled: boolean;
85
90
  serveJsonAtBaseSubscription: boolean;
86
91
  addUsernameToBaseSubscription: boolean;
92
+ isShowCustomRemarks: boolean;
87
93
  happAnnounce: string | null;
88
94
  happRouting: string | null;
89
95
  expiredUsersRemarks: string[];
@@ -101,6 +107,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
101
107
  isProfileWebpageUrlEnabled: boolean;
102
108
  serveJsonAtBaseSubscription: boolean;
103
109
  addUsernameToBaseSubscription: boolean;
110
+ isShowCustomRemarks: boolean;
104
111
  happAnnounce: string | null;
105
112
  happRouting: string | null;
106
113
  expiredUsersRemarks: string[];
@@ -118,6 +125,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
118
125
  isProfileWebpageUrlEnabled: boolean;
119
126
  serveJsonAtBaseSubscription: boolean;
120
127
  addUsernameToBaseSubscription: boolean;
128
+ isShowCustomRemarks: boolean;
121
129
  happAnnounce: string | null;
122
130
  happRouting: string | null;
123
131
  expiredUsersRemarks: string[];
@@ -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;AAKxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,qCAAiD,CAAC;IAC3D,MAAM,OAAO,qCAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqBxB,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"}
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;AAKxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,qCAAiD,CAAC;IAC3D,MAAM,OAAO,qCAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsBxB,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"}
@@ -16,6 +16,7 @@ var UpdateSubscriptionSettingsCommand;
16
16
  isProfileWebpageUrlEnabled: zod_1.z.optional(zod_1.z.boolean()),
17
17
  serveJsonAtBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
18
18
  addUsernameToBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
19
+ isShowCustomRemarks: zod_1.z.optional(zod_1.z.boolean()),
19
20
  happAnnounce: zod_1.z.optional(zod_1.z
20
21
  .string()
21
22
  .max(200, { message: 'Announce must be less than 200 characters' })
@@ -7,6 +7,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
7
7
  isProfileWebpageUrlEnabled: z.ZodBoolean;
8
8
  serveJsonAtBaseSubscription: z.ZodBoolean;
9
9
  addUsernameToBaseSubscription: z.ZodBoolean;
10
+ isShowCustomRemarks: z.ZodBoolean;
10
11
  happAnnounce: z.ZodNullable<z.ZodString>;
11
12
  happRouting: z.ZodNullable<z.ZodString>;
12
13
  expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
@@ -24,6 +25,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
24
25
  isProfileWebpageUrlEnabled: boolean;
25
26
  serveJsonAtBaseSubscription: boolean;
26
27
  addUsernameToBaseSubscription: boolean;
28
+ isShowCustomRemarks: boolean;
27
29
  happAnnounce: string | null;
28
30
  happRouting: string | null;
29
31
  expiredUsersRemarks: string[];
@@ -39,6 +41,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
39
41
  isProfileWebpageUrlEnabled: boolean;
40
42
  serveJsonAtBaseSubscription: boolean;
41
43
  addUsernameToBaseSubscription: boolean;
44
+ isShowCustomRemarks: boolean;
42
45
  happAnnounce: string | null;
43
46
  happRouting: string | null;
44
47
  expiredUsersRemarks: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BrC,CAAC"}
1
+ {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BrC,CAAC"}
@@ -13,6 +13,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
13
13
  isProfileWebpageUrlEnabled: zod_1.z.boolean(),
14
14
  serveJsonAtBaseSubscription: zod_1.z.boolean(),
15
15
  addUsernameToBaseSubscription: zod_1.z.boolean(),
16
+ isShowCustomRemarks: zod_1.z.boolean(),
16
17
  happAnnounce: zod_1.z.string().nullable(),
17
18
  happRouting: zod_1.z.string().nullable(),
18
19
  expiredUsersRemarks: zod_1.z.array(zod_1.z.string()),
@@ -16,6 +16,7 @@ var UpdateSubscriptionSettingsCommand;
16
16
  isProfileWebpageUrlEnabled: zod_1.z.optional(zod_1.z.boolean()),
17
17
  serveJsonAtBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
18
18
  addUsernameToBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
19
+ isShowCustomRemarks: zod_1.z.optional(zod_1.z.boolean()),
19
20
  happAnnounce: zod_1.z.optional(zod_1.z
20
21
  .string()
21
22
  .max(200, { message: 'Announce must be less than 200 characters' })
@@ -13,6 +13,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
13
13
  isProfileWebpageUrlEnabled: zod_1.z.boolean(),
14
14
  serveJsonAtBaseSubscription: zod_1.z.boolean(),
15
15
  addUsernameToBaseSubscription: zod_1.z.boolean(),
16
+ isShowCustomRemarks: zod_1.z.boolean(),
16
17
  happAnnounce: zod_1.z.string().nullable(),
17
18
  happRouting: zod_1.z.string().nullable(),
18
19
  expiredUsersRemarks: zod_1.z.array(zod_1.z.string()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.64",
3
+ "version": "0.3.66",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",