@remnawave/backend-contract 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
package/api/controllers/users.ts
CHANGED
@@ -6,9 +6,9 @@ export const USERS_ROUTES = {
|
|
6
6
|
GET_BY_SHORT_UUID: 'short-uuid/:shortUuid',
|
7
7
|
GET_BY_SUBSCRIPTION_UUID: 'sub-uuid/:subscriptionUuid',
|
8
8
|
GET_ALL: '',
|
9
|
-
REVOKE_SUBSCRIPTION: '
|
10
|
-
DISABLE_USER: '
|
11
|
-
ENABLE_USER: '
|
12
|
-
DELETE_USER: '
|
13
|
-
UPDATE: '
|
9
|
+
REVOKE_SUBSCRIPTION: 'revoke/:uuid',
|
10
|
+
DISABLE_USER: 'disable/:uuid',
|
11
|
+
ENABLE_USER: 'enable/:uuid',
|
12
|
+
DELETE_USER: 'delete/:uuid',
|
13
|
+
UPDATE: 'update',
|
14
14
|
} as const;
|
@@ -8,9 +8,9 @@ exports.USERS_ROUTES = {
|
|
8
8
|
GET_BY_SHORT_UUID: 'short-uuid/:shortUuid',
|
9
9
|
GET_BY_SUBSCRIPTION_UUID: 'sub-uuid/:subscriptionUuid',
|
10
10
|
GET_ALL: '',
|
11
|
-
REVOKE_SUBSCRIPTION: '
|
12
|
-
DISABLE_USER: '
|
13
|
-
ENABLE_USER: '
|
14
|
-
DELETE_USER: '
|
15
|
-
UPDATE: '
|
11
|
+
REVOKE_SUBSCRIPTION: 'revoke/:uuid',
|
12
|
+
DISABLE_USER: 'disable/:uuid',
|
13
|
+
ENABLE_USER: 'enable/:uuid',
|
14
|
+
DELETE_USER: 'delete/:uuid',
|
15
|
+
UPDATE: 'update',
|
16
16
|
};
|