@remnawave/backend-contract 2.1.33 → 2.1.35

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.
@@ -3,5 +3,6 @@ export declare const HWID_ROUTES: {
3
3
  readonly CREATE_USER_HWID_DEVICE: "devices";
4
4
  readonly GET_USER_HWID_DEVICES: (userUuid: string) => string;
5
5
  readonly DELETE_USER_HWID_DEVICE: "devices/delete";
6
+ readonly DELETE_ALL_USER_HWID_DEVICES: "devices/delete-all";
6
7
  };
7
8
  //# sourceMappingURL=hwid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hwid.d.ts","sourceRoot":"","sources":["../../../../api/controllers/hwid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;+CAEc,MAAM;;CAElC,CAAC"}
1
+ {"version":3,"file":"hwid.d.ts","sourceRoot":"","sources":["../../../../api/controllers/hwid.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;+CAEc,MAAM;;;CAGlC,CAAC"}
@@ -6,4 +6,5 @@ exports.HWID_ROUTES = {
6
6
  CREATE_USER_HWID_DEVICE: 'devices',
7
7
  GET_USER_HWID_DEVICES: (userUuid) => `devices/${userUuid}`,
8
8
  DELETE_USER_HWID_DEVICE: 'devices/delete',
9
+ DELETE_ALL_USER_HWID_DEVICES: 'devices/delete-all',
9
10
  };
@@ -129,6 +129,7 @@ export declare const REST_API: {
129
129
  readonly CREATE_USER_HWID_DEVICE: "/api/hwid/devices";
130
130
  readonly GET_USER_HWID_DEVICES: (userUuid: string) => string;
131
131
  readonly DELETE_USER_HWID_DEVICE: "/api/hwid/devices/delete";
132
+ readonly DELETE_ALL_USER_HWID_DEVICES: "/api/hwid/devices/delete-all";
132
133
  };
133
134
  readonly SUBSCRIPTIONS: {
134
135
  readonly GET: "/api/subscriptions/";
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;;qCAIX,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+BD,MAAM;;;;;;;;;mDAYQ,MAAM;;;;;;0CASf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;;;;;qCAUlB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;CAGnC,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;gCAcE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;oCAIF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;;;;;iDAUM,MAAM;;;;;;;;gCAWvB,MAAM;qCAGD,MAAM;0CAED,MAAM;;qCAIX,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;6CAOV,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;gDAmBU,MAAM;;;;;;;kCAWpB,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCA+BD,MAAM;;;;;;;;;mDAYQ,MAAM;;;;;;;0CAUf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;;;;;qCAUlB,MAAM;gCAIX,MAAM;sDAIgB,MAAM;;;;;;;qCAUvB,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;yCASP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;CAGnC,CAAC"}
@@ -166,6 +166,7 @@ exports.REST_API = {
166
166
  CREATE_USER_HWID_DEVICE: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.CREATE_USER_HWID_DEVICE}`,
167
167
  GET_USER_HWID_DEVICES: (userUuid) => `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.GET_USER_HWID_DEVICES(userUuid)}`,
168
168
  DELETE_USER_HWID_DEVICE: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.DELETE_USER_HWID_DEVICE}`,
169
+ DELETE_ALL_USER_HWID_DEVICES: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.DELETE_ALL_USER_HWID_DEVICES}`,
169
170
  },
170
171
  SUBSCRIPTIONS: {
171
172
  GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.GET}`,
@@ -0,0 +1,101 @@
1
+ import { z } from 'zod';
2
+ export declare namespace DeleteAllUserHwidDevicesCommand {
3
+ const url: "/api/hwid/devices/delete-all";
4
+ const TSQ_url: "/api/hwid/devices/delete-all";
5
+ const endpointDetails: import("../../constants").EndpointDetails;
6
+ const RequestSchema: z.ZodObject<{
7
+ userUuid: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ userUuid: string;
10
+ }, {
11
+ userUuid: string;
12
+ }>;
13
+ type Request = z.infer<typeof RequestSchema>;
14
+ const ResponseSchema: z.ZodObject<{
15
+ response: z.ZodObject<{
16
+ total: z.ZodNumber;
17
+ devices: z.ZodArray<z.ZodObject<{
18
+ hwid: z.ZodString;
19
+ userUuid: z.ZodString;
20
+ platform: z.ZodNullable<z.ZodString>;
21
+ osVersion: z.ZodNullable<z.ZodString>;
22
+ deviceModel: z.ZodNullable<z.ZodString>;
23
+ userAgent: z.ZodNullable<z.ZodString>;
24
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
25
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ hwid: string;
28
+ createdAt: Date;
29
+ updatedAt: Date;
30
+ userUuid: string;
31
+ platform: string | null;
32
+ osVersion: string | null;
33
+ deviceModel: string | null;
34
+ userAgent: string | null;
35
+ }, {
36
+ hwid: string;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ userUuid: string;
40
+ platform: string | null;
41
+ osVersion: string | null;
42
+ deviceModel: string | null;
43
+ userAgent: string | null;
44
+ }>, "many">;
45
+ }, "strip", z.ZodTypeAny, {
46
+ devices: {
47
+ hwid: string;
48
+ createdAt: Date;
49
+ updatedAt: Date;
50
+ userUuid: string;
51
+ platform: string | null;
52
+ osVersion: string | null;
53
+ deviceModel: string | null;
54
+ userAgent: string | null;
55
+ }[];
56
+ total: number;
57
+ }, {
58
+ devices: {
59
+ hwid: string;
60
+ createdAt: string;
61
+ updatedAt: string;
62
+ userUuid: string;
63
+ platform: string | null;
64
+ osVersion: string | null;
65
+ deviceModel: string | null;
66
+ userAgent: string | null;
67
+ }[];
68
+ total: number;
69
+ }>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ response: {
72
+ devices: {
73
+ hwid: string;
74
+ createdAt: Date;
75
+ updatedAt: Date;
76
+ userUuid: string;
77
+ platform: string | null;
78
+ osVersion: string | null;
79
+ deviceModel: string | null;
80
+ userAgent: string | null;
81
+ }[];
82
+ total: number;
83
+ };
84
+ }, {
85
+ response: {
86
+ devices: {
87
+ hwid: string;
88
+ createdAt: string;
89
+ updatedAt: string;
90
+ userUuid: string;
91
+ platform: string | null;
92
+ osVersion: string | null;
93
+ deviceModel: string | null;
94
+ userAgent: string | null;
95
+ }[];
96
+ total: number;
97
+ };
98
+ }>;
99
+ type Response = z.infer<typeof ResponseSchema>;
100
+ }
101
+ //# sourceMappingURL=delete-all-user-hwid-devices.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-all-user-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/delete-all-user-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,gCAA6C,CAAC;IACvD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAllUserHwidDevicesCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../constants");
6
+ const models_1 = require("../../models");
7
+ const api_1 = require("../../api");
8
+ var DeleteAllUserHwidDevicesCommand;
9
+ (function (DeleteAllUserHwidDevicesCommand) {
10
+ DeleteAllUserHwidDevicesCommand.url = api_1.REST_API.HWID.DELETE_ALL_USER_HWID_DEVICES;
11
+ DeleteAllUserHwidDevicesCommand.TSQ_url = DeleteAllUserHwidDevicesCommand.url;
12
+ DeleteAllUserHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.DELETE_ALL_USER_HWID_DEVICES, 'post', 'Delete all user HWID devices');
13
+ DeleteAllUserHwidDevicesCommand.RequestSchema = zod_1.z.object({
14
+ userUuid: zod_1.z.string().uuid(),
15
+ });
16
+ DeleteAllUserHwidDevicesCommand.ResponseSchema = zod_1.z.object({
17
+ response: zod_1.z.object({
18
+ total: zod_1.z.number(),
19
+ devices: zod_1.z.array(models_1.HwidUserDeviceSchema),
20
+ }),
21
+ });
22
+ })(DeleteAllUserHwidDevicesCommand || (exports.DeleteAllUserHwidDevicesCommand = DeleteAllUserHwidDevicesCommand = {}));
@@ -1,4 +1,5 @@
1
1
  export * from './create-user-hwid-device.command';
2
+ export * from './delete-all-user-hwid-devices.command';
2
3
  export * from './delete-user-hwid-device.command';
3
4
  export * from './get-user-hwid-devices.command';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC"}
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-user-hwid-device.command"), exports);
18
+ __exportStar(require("./delete-all-user-hwid-devices.command"), exports);
18
19
  __exportStar(require("./delete-user-hwid-device.command"), exports);
19
20
  __exportStar(require("./get-user-hwid-devices.command"), exports);
@@ -799,5 +799,10 @@ export declare const ERRORS: {
799
799
  readonly message: "Get internal squad accessible nodes error";
800
800
  readonly httpCode: 500;
801
801
  };
802
+ readonly DELETE_HWID_USER_DEVICES_ERROR: {
803
+ readonly code: "A155";
804
+ readonly message: "Delete hwid user devices error";
805
+ readonly httpCode: 500;
806
+ };
802
807
  };
803
808
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqd3B,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0d3B,CAAC"}
@@ -770,4 +770,9 @@ exports.ERRORS = {
770
770
  message: 'Get internal squad accessible nodes error',
771
771
  httpCode: 500,
772
772
  },
773
+ DELETE_HWID_USER_DEVICES_ERROR: {
774
+ code: 'A155',
775
+ message: 'Delete hwid user devices error',
776
+ httpCode: 500,
777
+ },
773
778
  };
@@ -6,4 +6,5 @@ exports.HWID_ROUTES = {
6
6
  CREATE_USER_HWID_DEVICE: 'devices',
7
7
  GET_USER_HWID_DEVICES: (userUuid) => `devices/${userUuid}`,
8
8
  DELETE_USER_HWID_DEVICE: 'devices/delete',
9
+ DELETE_ALL_USER_HWID_DEVICES: 'devices/delete-all',
9
10
  };
@@ -166,6 +166,7 @@ exports.REST_API = {
166
166
  CREATE_USER_HWID_DEVICE: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.CREATE_USER_HWID_DEVICE}`,
167
167
  GET_USER_HWID_DEVICES: (userUuid) => `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.GET_USER_HWID_DEVICES(userUuid)}`,
168
168
  DELETE_USER_HWID_DEVICE: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.DELETE_USER_HWID_DEVICE}`,
169
+ DELETE_ALL_USER_HWID_DEVICES: `${exports.ROOT}/${CONTROLLERS.HWID_CONTROLLER}/${CONTROLLERS.HWID_ROUTES.DELETE_ALL_USER_HWID_DEVICES}`,
169
170
  },
170
171
  SUBSCRIPTIONS: {
171
172
  GET: `${exports.ROOT}/${CONTROLLERS.SUBSCRIPTIONS_CONTROLLER}/${CONTROLLERS.SUBSCRIPTIONS_ROUTES.GET}`,
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAllUserHwidDevicesCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../constants");
6
+ const models_1 = require("../../models");
7
+ const api_1 = require("../../api");
8
+ var DeleteAllUserHwidDevicesCommand;
9
+ (function (DeleteAllUserHwidDevicesCommand) {
10
+ DeleteAllUserHwidDevicesCommand.url = api_1.REST_API.HWID.DELETE_ALL_USER_HWID_DEVICES;
11
+ DeleteAllUserHwidDevicesCommand.TSQ_url = DeleteAllUserHwidDevicesCommand.url;
12
+ DeleteAllUserHwidDevicesCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HWID_ROUTES.DELETE_ALL_USER_HWID_DEVICES, 'post', 'Delete all user HWID devices');
13
+ DeleteAllUserHwidDevicesCommand.RequestSchema = zod_1.z.object({
14
+ userUuid: zod_1.z.string().uuid(),
15
+ });
16
+ DeleteAllUserHwidDevicesCommand.ResponseSchema = zod_1.z.object({
17
+ response: zod_1.z.object({
18
+ total: zod_1.z.number(),
19
+ devices: zod_1.z.array(models_1.HwidUserDeviceSchema),
20
+ }),
21
+ });
22
+ })(DeleteAllUserHwidDevicesCommand || (exports.DeleteAllUserHwidDevicesCommand = DeleteAllUserHwidDevicesCommand = {}));
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-user-hwid-device.command"), exports);
18
+ __exportStar(require("./delete-all-user-hwid-devices.command"), exports);
18
19
  __exportStar(require("./delete-user-hwid-device.command"), exports);
19
20
  __exportStar(require("./get-user-hwid-devices.command"), exports);
@@ -770,4 +770,9 @@ exports.ERRORS = {
770
770
  message: 'Get internal squad accessible nodes error',
771
771
  httpCode: 500,
772
772
  },
773
+ DELETE_HWID_USER_DEVICES_ERROR: {
774
+ code: 'A155',
775
+ message: 'Delete hwid user devices error',
776
+ httpCode: 500,
777
+ },
773
778
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.1.33",
3
+ "version": "2.1.35",
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.",