@remnawave/backend-contract 2.8.30 → 2.8.31

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.
@@ -1237,6 +1237,22 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
1237
1237
  uuid: string;
1238
1238
  action: "CREATED" | "UPDATED" | "DELETED";
1239
1239
  }>>;
1240
+ apiToken: z.ZodOptional<z.ZodObject<{
1241
+ name: z.ZodString;
1242
+ uuid: z.ZodString;
1243
+ expireAt: z.ZodEffects<z.ZodString, Date, string>;
1244
+ scopes: z.ZodArray<z.ZodString, "many">;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ scopes: string[];
1247
+ uuid: string;
1248
+ name: string;
1249
+ expireAt: Date;
1250
+ }, {
1251
+ scopes: string[];
1252
+ uuid: string;
1253
+ name: string;
1254
+ expireAt: string;
1255
+ }>>;
1240
1256
  }, "strip", z.ZodTypeAny, {
1241
1257
  loginAttempt?: {
1242
1258
  username: string;
@@ -1250,6 +1266,12 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
1250
1266
  uuid: string;
1251
1267
  action: "CREATED" | "UPDATED" | "DELETED";
1252
1268
  } | undefined;
1269
+ apiToken?: {
1270
+ scopes: string[];
1271
+ uuid: string;
1272
+ name: string;
1273
+ expireAt: Date;
1274
+ } | undefined;
1253
1275
  }, {
1254
1276
  loginAttempt?: {
1255
1277
  username: string;
@@ -1263,6 +1285,12 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
1263
1285
  uuid: string;
1264
1286
  action: "CREATED" | "UPDATED" | "DELETED";
1265
1287
  } | undefined;
1288
+ apiToken?: {
1289
+ scopes: string[];
1290
+ uuid: string;
1291
+ name: string;
1292
+ expireAt: string;
1293
+ } | undefined;
1266
1294
  }>;
1267
1295
  }, "strip", z.ZodTypeAny, {
1268
1296
  data: {
@@ -1278,6 +1306,12 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
1278
1306
  uuid: string;
1279
1307
  action: "CREATED" | "UPDATED" | "DELETED";
1280
1308
  } | undefined;
1309
+ apiToken?: {
1310
+ scopes: string[];
1311
+ uuid: string;
1312
+ name: string;
1313
+ expireAt: Date;
1314
+ } | undefined;
1281
1315
  };
1282
1316
  scope: "service";
1283
1317
  event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
@@ -1296,6 +1330,12 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
1296
1330
  uuid: string;
1297
1331
  action: "CREATED" | "UPDATED" | "DELETED";
1298
1332
  } | undefined;
1333
+ apiToken?: {
1334
+ scopes: string[];
1335
+ uuid: string;
1336
+ name: string;
1337
+ expireAt: string;
1338
+ } | undefined;
1299
1339
  };
1300
1340
  scope: "service";
1301
1341
  event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
@@ -3856,6 +3896,22 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3856
3896
  uuid: string;
3857
3897
  action: "CREATED" | "UPDATED" | "DELETED";
3858
3898
  }>>;
3899
+ apiToken: z.ZodOptional<z.ZodObject<{
3900
+ name: z.ZodString;
3901
+ uuid: z.ZodString;
3902
+ expireAt: z.ZodEffects<z.ZodString, Date, string>;
3903
+ scopes: z.ZodArray<z.ZodString, "many">;
3904
+ }, "strip", z.ZodTypeAny, {
3905
+ scopes: string[];
3906
+ uuid: string;
3907
+ name: string;
3908
+ expireAt: Date;
3909
+ }, {
3910
+ scopes: string[];
3911
+ uuid: string;
3912
+ name: string;
3913
+ expireAt: string;
3914
+ }>>;
3859
3915
  }, "strip", z.ZodTypeAny, {
3860
3916
  loginAttempt?: {
3861
3917
  username: string;
@@ -3869,6 +3925,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3869
3925
  uuid: string;
3870
3926
  action: "CREATED" | "UPDATED" | "DELETED";
3871
3927
  } | undefined;
3928
+ apiToken?: {
3929
+ scopes: string[];
3930
+ uuid: string;
3931
+ name: string;
3932
+ expireAt: Date;
3933
+ } | undefined;
3872
3934
  }, {
3873
3935
  loginAttempt?: {
3874
3936
  username: string;
@@ -3882,6 +3944,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3882
3944
  uuid: string;
3883
3945
  action: "CREATED" | "UPDATED" | "DELETED";
3884
3946
  } | undefined;
3947
+ apiToken?: {
3948
+ scopes: string[];
3949
+ uuid: string;
3950
+ name: string;
3951
+ expireAt: string;
3952
+ } | undefined;
3885
3953
  }>;
3886
3954
  }, "strip", z.ZodTypeAny, {
3887
3955
  data: {
@@ -3897,6 +3965,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3897
3965
  uuid: string;
3898
3966
  action: "CREATED" | "UPDATED" | "DELETED";
3899
3967
  } | undefined;
3968
+ apiToken?: {
3969
+ scopes: string[];
3970
+ uuid: string;
3971
+ name: string;
3972
+ expireAt: Date;
3973
+ } | undefined;
3900
3974
  };
3901
3975
  scope: "service";
3902
3976
  event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
@@ -3915,6 +3989,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3915
3989
  uuid: string;
3916
3990
  action: "CREATED" | "UPDATED" | "DELETED";
3917
3991
  } | undefined;
3992
+ apiToken?: {
3993
+ scopes: string[];
3994
+ uuid: string;
3995
+ name: string;
3996
+ expireAt: string;
3997
+ } | undefined;
3918
3998
  };
3919
3999
  scope: "service";
3920
4000
  event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed" | "service.api_token_created" | "service.api_token_deleted";
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.schema.d.ts","sourceRoot":"","sources":["../../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CAAC,CAAC,KAAK,CACtD,OAAO,oCAAoC,CAC9C,CAAC"}
@@ -69,6 +69,17 @@ exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
69
69
  uuid: zod_1.default.string().uuid(),
70
70
  })
71
71
  .optional(),
72
+ apiToken: zod_1.default
73
+ .object({
74
+ name: zod_1.default.string(),
75
+ uuid: zod_1.default.string().uuid(),
76
+ expireAt: zod_1.default
77
+ .string()
78
+ .datetime()
79
+ .transform((str) => new Date(str)),
80
+ scopes: zod_1.default.array(zod_1.default.string()),
81
+ })
82
+ .optional(),
72
83
  }),
73
84
  });
74
85
  exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
@@ -69,6 +69,17 @@ exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
69
69
  uuid: zod_1.default.string().uuid(),
70
70
  })
71
71
  .optional(),
72
+ apiToken: zod_1.default
73
+ .object({
74
+ name: zod_1.default.string(),
75
+ uuid: zod_1.default.string().uuid(),
76
+ expireAt: zod_1.default
77
+ .string()
78
+ .datetime()
79
+ .transform((str) => new Date(str)),
80
+ scopes: zod_1.default.array(zod_1.default.string()),
81
+ })
82
+ .optional(),
72
83
  }),
73
84
  });
74
85
  exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.8.30",
3
+ "version": "2.8.31",
4
4
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/remnawave",