From 939effedd09b297a633b7e30c8849e0f8f5a9c36 Mon Sep 17 00:00:00 2001 From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com> Date: Wed, 9 Apr 2025 02:07:51 +0000 Subject: [PATCH] Add canonical name to Active Directory object schemas and API Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/0114e6ad-d6fe-4d14-87ed-fc354706c842.jpg --- server/swagger.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/server/swagger.ts b/server/swagger.ts index 3ff4b31..7cd66db 100644 --- a/server/swagger.ts +++ b/server/swagger.ts @@ -92,7 +92,10 @@ const swaggerOptions = { properties: { id: { type: "integer" }, connectionId: { type: "integer" }, + objectGUID: { type: "string" }, distinguishedName: { type: "string" }, + canonicalName: { type: "string" }, + cn: { type: "string" }, sAMAccountName: { type: "string" }, userPrincipalName: { type: "string" }, givenName: { type: "string" }, @@ -110,7 +113,10 @@ const swaggerOptions = { properties: { id: { type: "integer" }, connectionId: { type: "integer" }, + objectGUID: { type: "string" }, distinguishedName: { type: "string" }, + canonicalName: { type: "string" }, + cn: { type: "string" }, sAMAccountName: { type: "string" }, groupType: { type: "string" }, description: { type: "string" }, @@ -123,7 +129,10 @@ const swaggerOptions = { properties: { id: { type: "integer" }, connectionId: { type: "integer" }, + objectGUID: { type: "string" }, distinguishedName: { type: "string" }, + canonicalName: { type: "string" }, + cn: { type: "string" }, name: { type: "string" }, description: { type: "string" }, adProperties: { type: "object" }, @@ -134,7 +143,10 @@ const swaggerOptions = { properties: { id: { type: "integer" }, connectionId: { type: "integer" }, + objectGUID: { type: "string" }, distinguishedName: { type: "string" }, + canonicalName: { type: "string" }, + cn: { type: "string" }, name: { type: "string" }, dnsHostName: { type: "string" }, operatingSystem: { type: "string" }, @@ -149,7 +161,10 @@ const swaggerOptions = { properties: { id: { type: "integer" }, connectionId: { type: "integer" }, + objectGUID: { type: "string" }, distinguishedName: { type: "string" }, + canonicalName: { type: "string" }, + cn: { type: "string" }, name: { type: "string" }, netBIOSName: { type: "string" }, forestName: { type: "string" },