Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remnawave/backend-contract

Package Overview
Dependencies
Maintainers
0
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remnawave/backend-contract - npm Package Compare versions

Comparing version 0.0.69 to 0.0.70

16

build/backend/commands/users/create-user.command.d.ts

@@ -14,3 +14,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
trafficLimitStrategy: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>>>, "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined>;
trafficLimitStrategy: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>>>, "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined>;
activeUserInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -23,3 +23,3 @@ expireAt: z.ZodEffects<z.ZodDate, Date, Date>;

status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
expireAt: Date;

@@ -43,3 +43,3 @@ createdAt?: Date | undefined;

shortUuid?: string | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
lastTrafficResetAt?: Date | undefined;

@@ -62,3 +62,3 @@ trojanPassword?: string | undefined;

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -99,3 +99,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -140,3 +140,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -155,3 +155,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -198,3 +198,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -201,0 +201,0 @@ }>;

@@ -23,3 +23,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -60,3 +60,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -101,3 +101,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -116,3 +116,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -159,3 +159,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -162,0 +162,0 @@ }>;

@@ -23,3 +23,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -60,3 +60,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -101,3 +101,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -116,3 +116,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -159,3 +159,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -162,0 +162,0 @@ }>;

@@ -69,3 +69,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -108,3 +108,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -151,3 +151,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>, "many">;

@@ -167,3 +167,3 @@ total: z.ZodNumber;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -213,3 +213,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}[];

@@ -231,3 +231,3 @@ total: number;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -279,3 +279,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}[];

@@ -282,0 +282,0 @@ total: number;

@@ -43,3 +43,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -82,3 +82,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -125,3 +125,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>, "many">;

@@ -141,3 +141,3 @@ total: z.ZodNumber;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -187,3 +187,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}[];

@@ -205,3 +205,3 @@ total: number;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -253,3 +253,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}[];

@@ -256,0 +256,0 @@ total: number;

@@ -23,3 +23,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -60,3 +60,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -101,3 +101,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -116,3 +116,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -159,3 +159,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -162,0 +162,0 @@ }>;

@@ -23,3 +23,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -60,3 +60,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -101,3 +101,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -116,3 +116,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -159,3 +159,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -162,0 +162,0 @@ }>;

@@ -23,3 +23,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -60,3 +60,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -101,3 +101,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -116,3 +116,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -159,3 +159,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -162,0 +162,0 @@ }>;

@@ -23,3 +23,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -62,3 +62,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -105,3 +105,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -120,3 +120,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -165,3 +165,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -168,0 +168,0 @@ }>;

@@ -23,3 +23,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -60,3 +60,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -101,3 +101,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -116,3 +116,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -159,3 +159,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -162,0 +162,0 @@ }>;

@@ -14,3 +14,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -43,3 +43,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
trafficLimitStrategy: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>>>, "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined>;
trafficLimitStrategy: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>>>, "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined>;
activeUserInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -49,3 +49,3 @@ expireAt: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, Date>>;

uuid: string;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;

@@ -59,3 +59,3 @@ trafficLimitBytes?: number | undefined;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
expireAt?: Date | undefined;

@@ -75,3 +75,3 @@ activeUserInbounds?: string[] | undefined;

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -112,3 +112,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -153,3 +153,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;

@@ -168,3 +168,3 @@ }, "strip", z.ZodTypeAny, {

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -211,3 +211,3 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
};

@@ -214,0 +214,0 @@ }>;

@@ -7,5 +7,6 @@ export declare const RESET_PERIODS: {

readonly YEAR: "YEAR";
readonly CALENDAR_MONTH: "CALENDAR_MONTH";
};
export type TResetPeriods = [keyof typeof RESET_PERIODS][number];
export declare const RESET_PERIODS_VALUES: ("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[];
export declare const RESET_PERIODS_VALUES: ("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[];
//# sourceMappingURL=reset-periods.constant.d.ts.map

@@ -10,3 +10,4 @@ "use strict";

YEAR: 'YEAR',
CALENDAR_MONTH: 'CALENDAR_MONTH',
};
exports.RESET_PERIODS_VALUES = Object.values(exports.RESET_PERIODS);

@@ -11,3 +11,3 @@ import { z } from 'zod';

trafficLimitBytes: z.ZodDefault<z.ZodNumber>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK")[]]>>;
trafficLimitStrategy: z.ZodDefault<z.ZodEnum<["MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH", ...("MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH")[]]>>;
subLastUserAgent: z.ZodNullable<z.ZodString>;

@@ -48,3 +48,3 @@ subLastOpenedAt: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;

lifetimeUsedTrafficBytes: number;
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK";
trafficLimitStrategy: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH";
subLastUserAgent: string | null;

@@ -89,4 +89,4 @@ subLastOpenedAt: Date | null;

trafficLimitBytes?: number | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | undefined;
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
}>;
//# sourceMappingURL=users.schema.d.ts.map

@@ -10,3 +10,4 @@ "use strict";

YEAR: 'YEAR',
CALENDAR_MONTH: 'CALENDAR_MONTH',
};
exports.RESET_PERIODS_VALUES = Object.values(exports.RESET_PERIODS);
{
"name": "@remnawave/backend-contract",
"version": "0.0.69",
"version": "0.0.70",
"public": true,

@@ -5,0 +5,0 @@ "description": "A contract library for Remnawave",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc