Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge remote-tracking branch 'origin/main' into feat/gateway-v2

Sheen Capadnganb7dcc107318a
diff --cc backend/src/@types/fastify.d.ts
index 941ea36d78,b0a5fbb452..8ca4288b55
--- a/backend/src/@types/fastify.d.ts
+++ b/backend/src/@types/fastify.d.ts
@@@ -297,6 -296,6 +298,8 @@@ declare module "fastify"
secretRotationV2: TSecretRotationV2ServiceFactory;
microsoftTeams: TMicrosoftTeamsServiceFactory;
assumePrivileges: TAssumePrivilegeServiceFactory;
++ relay: TRelayServiceFactory;
++ gatewayV2: TGatewayV2ServiceFactory;
githubOrgSync: TGithubOrgSyncServiceFactory;
folderCommit: TFolderCommitServiceFactory;
pit: TPitServiceFactory;
diff --cc backend/src/@types/knex.d.ts
index 5888ac7a8a,525ad1619f..00d4eb2de2
--- a/backend/src/@types/knex.d.ts
+++ b/backend/src/@types/knex.d.ts
@@@ -1248,6 -1238,6 +1253,17 @@@ declare module "knex/types/tables"
TSecretScanningResourcesInsert,
TSecretScanningResourcesUpdate
>;
++ [TableName.InstanceRelayConfig]: KnexOriginal.CompositeTableType<
++ TInstanceRelayConfig,
++ TInstanceRelayConfigInsert,
++ TInstanceRelayConfigUpdate
++ >;
++ [TableName.OrgRelayConfig]: KnexOriginal.CompositeTableType<
++ TOrgRelayConfig,
++ TOrgRelayConfigInsert,
++ TOrgRelayConfigUpdate
++ >;
++ [TableName.Relay]: KnexOriginal.CompositeTableType<TRelays, TRelaysInsert, TRelaysUpdate>;
[TableName.SecretScanningScan]: KnexOriginal.CompositeTableType<
TSecretScanningScans,
TSecretScanningScansInsert,
@@@ -1269,22 -1259,10 +1285,16 @@@
TRemindersRecipientsInsert,
TRemindersRecipientsUpdate
>;
+ [TableName.OrgGatewayConfigV2]: KnexOriginal.CompositeTableType<
+ TOrgGatewayConfigV2,
+ TOrgGatewayConfigV2Insert,
+ TOrgGatewayConfigV2Update
+ >;
+ [TableName.GatewayV2]: KnexOriginal.CompositeTableType<TGatewaysV2, TGatewaysV2Insert, TGatewaysV2Update>;
- [TableName.InstanceRelayConfig]: KnexOriginal.CompositeTableType<
- TInstanceRelayConfig,
- TInstanceRelayConfigInsert,
- TInstanceRelayConfigUpdate
+ [TableName.UserNotifications]: KnexOriginal.CompositeTableType<
+ TUserNotifications,
+ TUserNotificationsInsert,
+ TUserNotificationsUpdate
>;
- [TableName.OrgRelayConfig]: KnexOriginal.CompositeTableType<
- TOrgRelayConfig,
- TOrgRelayConfigInsert,
- TOrgRelayConfigUpdate
- >;
- [TableName.Relay]: KnexOriginal.CompositeTableType<TRelays, TRelaysInsert, TRelaysUpdate>;
}
}
diff --cc backend/src/server/routes/index.ts
index 29c25dc48f,64c9b33892..68cf05dce7
--- a/backend/src/server/routes/index.ts
+++ b/backend/src/server/routes/index.ts
@@@ -2143,6 -2115,6 +2156,8 @@@ export const registerRoutes = async
kmip: kmipService,
kmipOperation: kmipOperationService,
gateway: gatewayService,
++ relay: relayService,
++ gatewayV2: gatewayV2Service,
secretRotationV2: secretRotationV2Service,
microsoftTeams: microsoftTeamsService,
assumePrivileges: assumePrivilegeService,