@remnawave/backend-contract 2.3.19 → 2.3.21

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.
Files changed (21) hide show
  1. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +1 -1
  2. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -1
  3. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +2 -2
  4. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +1 -1
  5. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  6. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +2 -2
  7. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +1 -1
  8. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -1
  9. package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +2 -2
  10. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +1 -1
  11. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -1
  12. package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +2 -2
  13. package/build/backend/constants/errors/errors.d.ts +5 -0
  14. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  15. package/build/backend/constants/errors/errors.js +5 -0
  16. package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +2 -2
  17. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +2 -2
  18. package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +2 -2
  19. package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +2 -2
  20. package/build/frontend/constants/errors/errors.js +5 -0
  21. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare namespace DeleteInfraBillingHistoryRecordCommand {
3
- const url: string;
3
+ const url: (uuid: string) => string;
4
4
  const TSQ_url: string;
5
5
  const endpointDetails: import("../../constants").EndpointDetails;
6
6
  const RequestSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"delete-bill-record-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-bill-record-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sCAAsC,CAAC;IAC7C,MAAM,GAAG,QAAyD,CAAC;IACnE,MAAM,OAAO,QAAM,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"}
1
+ {"version":3,"file":"delete-bill-record-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-bill-record-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sCAAsC,CAAC;IAC7C,MAAM,GAAG,0BAAgD,CAAC;IAC1D,MAAM,OAAO,QAAe,CAAC;IAE7B,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"}
@@ -7,8 +7,8 @@ const api_1 = require("../../api");
7
7
  const constants_1 = require("../../constants");
8
8
  var DeleteInfraBillingHistoryRecordCommand;
9
9
  (function (DeleteInfraBillingHistoryRecordCommand) {
10
- DeleteInfraBillingHistoryRecordCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_HISTORY(':uuid');
11
- DeleteInfraBillingHistoryRecordCommand.TSQ_url = DeleteInfraBillingHistoryRecordCommand.url;
10
+ DeleteInfraBillingHistoryRecordCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_HISTORY;
11
+ DeleteInfraBillingHistoryRecordCommand.TSQ_url = DeleteInfraBillingHistoryRecordCommand.url(':uuid');
12
12
  DeleteInfraBillingHistoryRecordCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(':uuid'), 'delete', 'Delete infra billing history');
13
13
  DeleteInfraBillingHistoryRecordCommand.RequestSchema = zod_1.z.object({
14
14
  uuid: zod_1.z.string().uuid(),
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare namespace DeleteInfraBillingNodeByUuidCommand {
3
- const url: string;
3
+ const url: (uuid: string) => string;
4
4
  const TSQ_url: string;
5
5
  const endpointDetails: import("../../constants").EndpointDetails;
6
6
  const RequestSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -7,8 +7,8 @@ const api_1 = require("../../api");
7
7
  const constants_1 = require("../../constants");
8
8
  var DeleteInfraBillingNodeByUuidCommand;
9
9
  (function (DeleteInfraBillingNodeByUuidCommand) {
10
- DeleteInfraBillingNodeByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_NODE(':uuid');
11
- DeleteInfraBillingNodeByUuidCommand.TSQ_url = DeleteInfraBillingNodeByUuidCommand.url;
10
+ DeleteInfraBillingNodeByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_NODE;
11
+ DeleteInfraBillingNodeByUuidCommand.TSQ_url = DeleteInfraBillingNodeByUuidCommand.url(':uuid');
12
12
  DeleteInfraBillingNodeByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_NODE(':uuid'), 'delete', 'Delete infra billing node');
13
13
  DeleteInfraBillingNodeByUuidCommand.RequestSchema = zod_1.z.object({
14
14
  uuid: zod_1.z.string().uuid(),
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare namespace DeleteInfraProviderByUuidCommand {
3
- const url: string;
3
+ const url: (uuid: string) => string;
4
4
  const TSQ_url: string;
5
5
  const endpointDetails: import("../../constants").EndpointDetails;
6
6
  const RequestSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"delete-infra-provider-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-infra-provider-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,QAAkD,CAAC;IAC5D,MAAM,OAAO,QAAM,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;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"delete-infra-provider-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-infra-provider-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,gCAAgC,CAAC;IACvC,MAAM,GAAG,0BAAyC,CAAC;IACnD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -6,8 +6,8 @@ const api_1 = require("../../api");
6
6
  const constants_1 = require("../../constants");
7
7
  var DeleteInfraProviderByUuidCommand;
8
8
  (function (DeleteInfraProviderByUuidCommand) {
9
- DeleteInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_PROVIDER(':uuid');
10
- DeleteInfraProviderByUuidCommand.TSQ_url = DeleteInfraProviderByUuidCommand.url;
9
+ DeleteInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_PROVIDER;
10
+ DeleteInfraProviderByUuidCommand.TSQ_url = DeleteInfraProviderByUuidCommand.url(':uuid');
11
11
  DeleteInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_PROVIDER(':uuid'), 'delete', 'Delete infra provider by uuid');
12
12
  DeleteInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
13
13
  uuid: zod_1.z.string().uuid(),
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare namespace GetInfraProviderByUuidCommand {
3
- const url: string;
3
+ const url: (uuid: string) => string;
4
4
  const TSQ_url: string;
5
5
  const endpointDetails: import("../../constants").EndpointDetails;
6
6
  const RequestSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"get-infra-provider-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-infra-provider-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,QAAuD,CAAC;IACjE,MAAM,OAAO,QAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-infra-provider-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-infra-provider-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA8C,CAAC;IACxD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
@@ -7,8 +7,8 @@ const constants_1 = require("../../constants");
7
7
  const models_1 = require("../../models");
8
8
  var GetInfraProviderByUuidCommand;
9
9
  (function (GetInfraProviderByUuidCommand) {
10
- GetInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDER_BY_UUID(':uuid');
11
- GetInfraProviderByUuidCommand.TSQ_url = GetInfraProviderByUuidCommand.url;
10
+ GetInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDER_BY_UUID;
11
+ GetInfraProviderByUuidCommand.TSQ_url = GetInfraProviderByUuidCommand.url(':uuid');
12
12
  GetInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_PROVIDER_BY_UUID(':uuid'), 'get', 'Get infra provider by uuid');
13
13
  GetInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
14
14
  uuid: zod_1.z.string().uuid(),
@@ -1054,5 +1054,10 @@ export declare const ERRORS: {
1054
1054
  readonly message: "Generic reorder error";
1055
1055
  readonly httpCode: 500;
1056
1056
  };
1057
+ readonly HWID_DEVICE_NOT_FOUND: {
1058
+ readonly code: "A204";
1059
+ readonly message: "HWID device not found";
1060
+ readonly httpCode: 404;
1061
+ };
1057
1062
  };
1058
1063
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0rBN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B3B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0rBN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B3B,CAAC"}
@@ -1025,4 +1025,9 @@ exports.ERRORS = {
1025
1025
  message: 'Generic reorder error',
1026
1026
  httpCode: 500,
1027
1027
  },
1028
+ HWID_DEVICE_NOT_FOUND: {
1029
+ code: 'A204',
1030
+ message: 'HWID device not found',
1031
+ httpCode: 404,
1032
+ },
1028
1033
  };
@@ -7,8 +7,8 @@ const api_1 = require("../../api");
7
7
  const constants_1 = require("../../constants");
8
8
  var DeleteInfraBillingHistoryRecordCommand;
9
9
  (function (DeleteInfraBillingHistoryRecordCommand) {
10
- DeleteInfraBillingHistoryRecordCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_HISTORY(':uuid');
11
- DeleteInfraBillingHistoryRecordCommand.TSQ_url = DeleteInfraBillingHistoryRecordCommand.url;
10
+ DeleteInfraBillingHistoryRecordCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_HISTORY;
11
+ DeleteInfraBillingHistoryRecordCommand.TSQ_url = DeleteInfraBillingHistoryRecordCommand.url(':uuid');
12
12
  DeleteInfraBillingHistoryRecordCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_HISTORY(':uuid'), 'delete', 'Delete infra billing history');
13
13
  DeleteInfraBillingHistoryRecordCommand.RequestSchema = zod_1.z.object({
14
14
  uuid: zod_1.z.string().uuid(),
@@ -7,8 +7,8 @@ const api_1 = require("../../api");
7
7
  const constants_1 = require("../../constants");
8
8
  var DeleteInfraBillingNodeByUuidCommand;
9
9
  (function (DeleteInfraBillingNodeByUuidCommand) {
10
- DeleteInfraBillingNodeByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_NODE(':uuid');
11
- DeleteInfraBillingNodeByUuidCommand.TSQ_url = DeleteInfraBillingNodeByUuidCommand.url;
10
+ DeleteInfraBillingNodeByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_BILLING_NODE;
11
+ DeleteInfraBillingNodeByUuidCommand.TSQ_url = DeleteInfraBillingNodeByUuidCommand.url(':uuid');
12
12
  DeleteInfraBillingNodeByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_BILLING_NODE(':uuid'), 'delete', 'Delete infra billing node');
13
13
  DeleteInfraBillingNodeByUuidCommand.RequestSchema = zod_1.z.object({
14
14
  uuid: zod_1.z.string().uuid(),
@@ -6,8 +6,8 @@ const api_1 = require("../../api");
6
6
  const constants_1 = require("../../constants");
7
7
  var DeleteInfraProviderByUuidCommand;
8
8
  (function (DeleteInfraProviderByUuidCommand) {
9
- DeleteInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_PROVIDER(':uuid');
10
- DeleteInfraProviderByUuidCommand.TSQ_url = DeleteInfraProviderByUuidCommand.url;
9
+ DeleteInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_PROVIDER;
10
+ DeleteInfraProviderByUuidCommand.TSQ_url = DeleteInfraProviderByUuidCommand.url(':uuid');
11
11
  DeleteInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_PROVIDER(':uuid'), 'delete', 'Delete infra provider by uuid');
12
12
  DeleteInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
13
13
  uuid: zod_1.z.string().uuid(),
@@ -7,8 +7,8 @@ const constants_1 = require("../../constants");
7
7
  const models_1 = require("../../models");
8
8
  var GetInfraProviderByUuidCommand;
9
9
  (function (GetInfraProviderByUuidCommand) {
10
- GetInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDER_BY_UUID(':uuid');
11
- GetInfraProviderByUuidCommand.TSQ_url = GetInfraProviderByUuidCommand.url;
10
+ GetInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDER_BY_UUID;
11
+ GetInfraProviderByUuidCommand.TSQ_url = GetInfraProviderByUuidCommand.url(':uuid');
12
12
  GetInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_PROVIDER_BY_UUID(':uuid'), 'get', 'Get infra provider by uuid');
13
13
  GetInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
14
14
  uuid: zod_1.z.string().uuid(),
@@ -1025,4 +1025,9 @@ exports.ERRORS = {
1025
1025
  message: 'Generic reorder error',
1026
1026
  httpCode: 500,
1027
1027
  },
1028
+ HWID_DEVICE_NOT_FOUND: {
1029
+ code: 'A204',
1030
+ message: 'HWID device not found',
1031
+ httpCode: 404,
1032
+ },
1028
1033
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.3.19",
3
+ "version": "2.3.21",
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.",