@remnawave/backend-contract 2.0.0-alpha.7 → 2.0.0-alpha.9
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.
- package/build/backend/api/controllers/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- package/build/backend/api/controllers/infra-billing.d.ts +16 -0
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
- package/build/backend/api/controllers/infra-billing.js +22 -0
- package/build/backend/api/routes.d.ts +14 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +14 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +64 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +58 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +79 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/backend/commands/infra-billing/index.d.ts +6 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/index.js +21 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +67 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/backend/commands/nodes/actions/disable.command.d.ts +59 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +59 -0
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +82 -0
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +62 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +1 -0
- package/build/backend/commands/nodes/get-all.command.d.ts +59 -0
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +59 -0
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +85 -0
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +1 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +39 -93
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +5 -9
- package/build/backend/constants/errors/errors.d.ts +30 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +30 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/infra-provider.schema.d.ts +24 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
- package/build/backend/models/infra-provider.schema.js +18 -0
- package/build/backend/models/nodes.schema.d.ts +41 -0
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +3 -0
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/infra-billing.js +22 -0
- package/build/frontend/api/routes.js +14 -0
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/frontend/commands/infra-billing/index.js +21 -0
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/frontend/commands/nodes/create.command.js +1 -0
- package/build/frontend/commands/nodes/update.command.js +1 -0
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +5 -9
- package/build/frontend/constants/errors/errors.js +30 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/infra-provider.schema.js +18 -0
- package/build/frontend/models/nodes.schema.js +3 -0
- package/package.json +1 -1
@@ -13,8 +13,8 @@ var CreateConfigProfileCommand;
|
|
13
13
|
CreateConfigProfileCommand.RequestSchema = zod_1.z.object({
|
14
14
|
name: zod_1.z
|
15
15
|
.string()
|
16
|
-
.min(
|
17
|
-
.max(
|
16
|
+
.min(2, 'Name must be at least 2 characters')
|
17
|
+
.max(20, 'Name must be less than 20 characters')
|
18
18
|
.regex(/^[A-Za-z0-9_-]+$/, 'Name can only contain letters, numbers, underscores and dashes'),
|
19
19
|
config: zod_1.z.object({}).passthrough(),
|
20
20
|
});
|
@@ -19,6 +19,7 @@ __exportStar(require("./auth"), exports);
|
|
19
19
|
__exportStar(require("./config-profiles"), exports);
|
20
20
|
__exportStar(require("./hosts"), exports);
|
21
21
|
__exportStar(require("./hwid"), exports);
|
22
|
+
__exportStar(require("./infra-billing"), exports);
|
22
23
|
__exportStar(require("./internal-squads"), exports);
|
23
24
|
__exportStar(require("./keygen"), exports);
|
24
25
|
__exportStar(require("./nodes"), exports);
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateInfraProviderCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
const constants_1 = require("../../constants");
|
7
|
+
const models_1 = require("../../models");
|
8
|
+
var CreateInfraProviderCommand;
|
9
|
+
(function (CreateInfraProviderCommand) {
|
10
|
+
CreateInfraProviderCommand.url = api_1.REST_API.INFRA_BILLING.CREATE_PROVIDER;
|
11
|
+
CreateInfraProviderCommand.TSQ_url = CreateInfraProviderCommand.url;
|
12
|
+
CreateInfraProviderCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.CREATE_PROVIDER, 'post', 'Create infra provider');
|
13
|
+
CreateInfraProviderCommand.RequestSchema = zod_1.z.object({
|
14
|
+
name: zod_1.z
|
15
|
+
.string()
|
16
|
+
.min(2, 'Name must be at least 2 characters')
|
17
|
+
.max(30, 'Name must be less than 255 characters'),
|
18
|
+
faviconLink: zod_1.z.string().url().optional(),
|
19
|
+
loginUrl: zod_1.z.string().url().optional(),
|
20
|
+
});
|
21
|
+
CreateInfraProviderCommand.ResponseSchema = zod_1.z.object({
|
22
|
+
response: models_1.InfraProviderSchema,
|
23
|
+
});
|
24
|
+
})(CreateInfraProviderCommand || (exports.CreateInfraProviderCommand = CreateInfraProviderCommand = {}));
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeleteInfraProviderByUuidCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
const constants_1 = require("../../constants");
|
7
|
+
var DeleteInfraProviderByUuidCommand;
|
8
|
+
(function (DeleteInfraProviderByUuidCommand) {
|
9
|
+
DeleteInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.DELETE_PROVIDER(':uuid');
|
10
|
+
DeleteInfraProviderByUuidCommand.TSQ_url = DeleteInfraProviderByUuidCommand.url;
|
11
|
+
DeleteInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.DELETE_PROVIDER(':uuid'), 'delete', 'Delete infra provider by uuid');
|
12
|
+
DeleteInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
14
|
+
});
|
15
|
+
DeleteInfraProviderByUuidCommand.ResponseSchema = zod_1.z.object({
|
16
|
+
response: zod_1.z.object({
|
17
|
+
isDeleted: zod_1.z.boolean(),
|
18
|
+
}),
|
19
|
+
});
|
20
|
+
})(DeleteInfraProviderByUuidCommand || (exports.DeleteInfraProviderByUuidCommand = DeleteInfraProviderByUuidCommand = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetInfraProviderByUuidCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
const constants_1 = require("../../constants");
|
7
|
+
const models_1 = require("../../models");
|
8
|
+
var GetInfraProviderByUuidCommand;
|
9
|
+
(function (GetInfraProviderByUuidCommand) {
|
10
|
+
GetInfraProviderByUuidCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDER_BY_UUID(':uuid');
|
11
|
+
GetInfraProviderByUuidCommand.TSQ_url = GetInfraProviderByUuidCommand.url;
|
12
|
+
GetInfraProviderByUuidCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_PROVIDER_BY_UUID(':uuid'), 'get', 'Get infra provider by uuid');
|
13
|
+
GetInfraProviderByUuidCommand.RequestSchema = zod_1.z.object({
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
15
|
+
});
|
16
|
+
GetInfraProviderByUuidCommand.ResponseSchema = zod_1.z.object({
|
17
|
+
response: models_1.InfraProviderSchema,
|
18
|
+
});
|
19
|
+
})(GetInfraProviderByUuidCommand || (exports.GetInfraProviderByUuidCommand = GetInfraProviderByUuidCommand = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetInfraProvidersCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
const constants_1 = require("../../constants");
|
7
|
+
const models_1 = require("../../models");
|
8
|
+
var GetInfraProvidersCommand;
|
9
|
+
(function (GetInfraProvidersCommand) {
|
10
|
+
GetInfraProvidersCommand.url = api_1.REST_API.INFRA_BILLING.GET_PROVIDERS;
|
11
|
+
GetInfraProvidersCommand.TSQ_url = GetInfraProvidersCommand.url;
|
12
|
+
GetInfraProvidersCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.GET_PROVIDERS, 'get', 'Get all infra providers');
|
13
|
+
GetInfraProvidersCommand.ResponseSchema = zod_1.z.object({
|
14
|
+
response: zod_1.z.object({
|
15
|
+
total: zod_1.z.number(),
|
16
|
+
providers: zod_1.z.array(models_1.InfraProviderSchema),
|
17
|
+
}),
|
18
|
+
});
|
19
|
+
})(GetInfraProvidersCommand || (exports.GetInfraProvidersCommand = GetInfraProvidersCommand = {}));
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./create-infra-provider.command"), exports);
|
18
|
+
__exportStar(require("./delete-infra-provider-by-uuid.command"), exports);
|
19
|
+
__exportStar(require("./get-infra-provider-by-uuid.command"), exports);
|
20
|
+
__exportStar(require("./get-infra-providers.command"), exports);
|
21
|
+
__exportStar(require("./update-infra-provider.command"), exports);
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateInfraProviderCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
const constants_1 = require("../../constants");
|
7
|
+
const models_1 = require("../../models");
|
8
|
+
var UpdateInfraProviderCommand;
|
9
|
+
(function (UpdateInfraProviderCommand) {
|
10
|
+
UpdateInfraProviderCommand.url = api_1.REST_API.INFRA_BILLING.UPDATE_PROVIDER;
|
11
|
+
UpdateInfraProviderCommand.TSQ_url = UpdateInfraProviderCommand.url;
|
12
|
+
UpdateInfraProviderCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_PROVIDER, 'patch', 'Update infra provider');
|
13
|
+
UpdateInfraProviderCommand.RequestSchema = zod_1.z.object({
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
15
|
+
name: zod_1.z
|
16
|
+
.string()
|
17
|
+
.min(2, 'Name must be at least 2 characters')
|
18
|
+
.max(30, 'Name must be less than 255 characters')
|
19
|
+
.optional(),
|
20
|
+
faviconLink: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().url())),
|
21
|
+
loginUrl: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().url())),
|
22
|
+
});
|
23
|
+
UpdateInfraProviderCommand.ResponseSchema = zod_1.z.object({
|
24
|
+
response: models_1.InfraProviderSchema,
|
25
|
+
});
|
26
|
+
})(UpdateInfraProviderCommand || (exports.UpdateInfraProviderCommand = UpdateInfraProviderCommand = {}));
|
@@ -13,8 +13,8 @@ var CreateInternalSquadCommand;
|
|
13
13
|
CreateInternalSquadCommand.RequestSchema = zod_1.z.object({
|
14
14
|
name: zod_1.z
|
15
15
|
.string()
|
16
|
-
.min(
|
17
|
-
.max(
|
16
|
+
.min(2, 'Name must be at least 2 characters')
|
17
|
+
.max(20, 'Name must be less than 20 characters')
|
18
18
|
.regex(/^[A-Za-z0-9_-]+$/, 'Name can only contain letters, numbers, underscores and dashes'),
|
19
19
|
inbounds: zod_1.z.array(zod_1.z.string().uuid()),
|
20
20
|
});
|
@@ -39,6 +39,7 @@ var CreateNodeCommand;
|
|
39
39
|
activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
40
40
|
invalid_type_error: 'Active inbounds must be an array of UUIDs',
|
41
41
|
})),
|
42
|
+
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
42
43
|
});
|
43
44
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
44
45
|
response: models_1.NodesSchema,
|
@@ -35,6 +35,7 @@ var UpdateNodeCommand;
|
|
35
35
|
activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
36
36
|
invalid_type_error: 'Active inbounds must be an array of UUIDs',
|
37
37
|
})),
|
38
|
+
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
38
39
|
});
|
39
40
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
40
41
|
response: models_1.NodesSchema,
|
@@ -19,15 +19,11 @@ var GetUserAccessibleNodesCommand;
|
|
19
19
|
uuid: zod_1.z.string().uuid(),
|
20
20
|
nodeName: zod_1.z.string(),
|
21
21
|
countryCode: zod_1.z.string(),
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
activeInbounds: zod_1.z.array(zod_1.z.object({
|
28
|
-
inboundTag: zod_1.z.string(),
|
29
|
-
})),
|
30
|
-
})),
|
22
|
+
configProfileUuid: zod_1.z.string().uuid(),
|
23
|
+
configProfileName: zod_1.z.string(),
|
24
|
+
activeSquads: zod_1.z.array(zod_1.z.object({
|
25
|
+
squadName: zod_1.z.string(),
|
26
|
+
activeInbounds: zod_1.z.array(zod_1.z.string()),
|
31
27
|
})),
|
32
28
|
})),
|
33
29
|
}),
|
@@ -625,4 +625,34 @@ exports.ERRORS = {
|
|
625
625
|
message: 'Get user accessible nodes error',
|
626
626
|
httpCode: 500,
|
627
627
|
},
|
628
|
+
GET_INFRA_PROVIDERS_ERROR: {
|
629
|
+
code: 'A126',
|
630
|
+
message: 'Get infra providers error',
|
631
|
+
httpCode: 500,
|
632
|
+
},
|
633
|
+
GET_INFRA_PROVIDER_BY_UUID_ERROR: {
|
634
|
+
code: 'A127',
|
635
|
+
message: 'Get infra provider by UUID error',
|
636
|
+
httpCode: 500,
|
637
|
+
},
|
638
|
+
INFRA_PROVIDER_NOT_FOUND: {
|
639
|
+
code: 'A128',
|
640
|
+
message: 'Infra provider not found',
|
641
|
+
httpCode: 404,
|
642
|
+
},
|
643
|
+
DELETE_INFRA_PROVIDER_BY_UUID_ERROR: {
|
644
|
+
code: 'A129',
|
645
|
+
message: 'Delete infra provider by UUID error',
|
646
|
+
httpCode: 500,
|
647
|
+
},
|
648
|
+
CREATE_INFRA_PROVIDER_ERROR: {
|
649
|
+
code: 'A130',
|
650
|
+
message: 'Create infra provider error',
|
651
|
+
httpCode: 500,
|
652
|
+
},
|
653
|
+
UPDATE_INFRA_PROVIDER_ERROR: {
|
654
|
+
code: 'A131',
|
655
|
+
message: 'Update infra provider error',
|
656
|
+
httpCode: 500,
|
657
|
+
},
|
628
658
|
};
|
@@ -24,6 +24,7 @@ __exportStar(require("./extented-users.schema"), exports);
|
|
24
24
|
__exportStar(require("./happ.schema"), exports);
|
25
25
|
__exportStar(require("./hosts.schema"), exports);
|
26
26
|
__exportStar(require("./hwid-user-device.schema"), exports);
|
27
|
+
__exportStar(require("./infra-provider.schema"), exports);
|
27
28
|
__exportStar(require("./internal-squad.schema"), exports);
|
28
29
|
__exportStar(require("./last-connected-node.schema"), exports);
|
29
30
|
__exportStar(require("./nodes.schema"), exports);
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InfraProviderSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
exports.InfraProviderSchema = zod_1.z.object({
|
6
|
+
uuid: zod_1.z.string().uuid(),
|
7
|
+
name: zod_1.z.string(),
|
8
|
+
faviconLink: zod_1.z.nullable(zod_1.z.string()),
|
9
|
+
loginUrl: zod_1.z.nullable(zod_1.z.string()),
|
10
|
+
createdAt: zod_1.z
|
11
|
+
.string()
|
12
|
+
.datetime()
|
13
|
+
.transform((str) => new Date(str)),
|
14
|
+
updatedAt: zod_1.z
|
15
|
+
.string()
|
16
|
+
.datetime()
|
17
|
+
.transform((str) => new Date(str)),
|
18
|
+
});
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NodesSchema = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
5
|
const config_profile_inbounds_schema_1 = require("./config-profile-inbounds.schema");
|
6
|
+
const infra_provider_schema_1 = require("./infra-provider.schema");
|
6
7
|
exports.NodesSchema = zod_1.z.object({
|
7
8
|
uuid: zod_1.z.string().uuid(),
|
8
9
|
name: zod_1.z.string(),
|
@@ -42,4 +43,6 @@ exports.NodesSchema = zod_1.z.object({
|
|
42
43
|
.transform((str) => new Date(str)),
|
43
44
|
activeConfigProfileUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
|
44
45
|
activeInbounds: zod_1.z.nullable(zod_1.z.array(config_profile_inbounds_schema_1.ConfigProfileInboundsSchema)),
|
46
|
+
providerUuid: zod_1.z.nullable(zod_1.z.string().uuid()),
|
47
|
+
provider: zod_1.z.nullable(infra_provider_schema_1.InfraProviderSchema),
|
45
48
|
});
|
package/package.json
CHANGED