diff --git a/package-lock.json b/package-lock.json index 064383d..4549263 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@seamapi/fake-seam-connect": "^1.71.0", - "@seamapi/types": "1.209.0", + "@seamapi/types": "1.227.0", "@types/eslint": "^8.44.2", "@types/node": "^20.8.10", "ava": "^5.0.1", @@ -47,7 +47,7 @@ "npm": ">= 9.0.0" }, "peerDependencies": { - "@seamapi/types": "^1.209.0" + "@seamapi/types": "^1.227.0" }, "peerDependenciesMeta": { "@seamapi/types": { @@ -1049,9 +1049,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.209.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.209.0.tgz", - "integrity": "sha512-qUKOOJe5Vxbx++w9i31oVO8WJfd7QBzPu2mKQMpvjG52OIGnIEpN7tdO3//Y8x6yeau8KUde0W3JJpNgguX19w==", + "version": "1.227.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.227.0.tgz", + "integrity": "sha512-LjeBNke3FHivFUinmdtL44NvFono+AASSVykaIkTqcD2KemRSP+nTVYPJCo6Fmd77j8j14jRDY9IJH6iCwu5vg==", "dev": true, "engines": { "node": ">=18.12.0", diff --git a/package.json b/package.json index 6757ff8..9438f28 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "npm": ">= 9.0.0" }, "peerDependencies": { - "@seamapi/types": "^1.209.0" + "@seamapi/types": "^1.227.0" }, "peerDependenciesMeta": { "@seamapi/types": { @@ -99,7 +99,7 @@ }, "devDependencies": { "@seamapi/fake-seam-connect": "^1.71.0", - "@seamapi/types": "1.209.0", + "@seamapi/types": "1.227.0", "@types/eslint": "^8.44.2", "@types/node": "^20.8.10", "ava": "^5.0.1", diff --git a/src/lib/seam/connect/routes/acs-access-groups.ts b/src/lib/seam/connect/routes/acs-access-groups.ts index ec869a8..97daca6 100644 --- a/src/lib/seam/connect/routes/acs-access-groups.ts +++ b/src/lib/seam/connect/routes/acs-access-groups.ts @@ -185,6 +185,20 @@ export class SeamHttpAcsAccessGroups { }) } + listAccessibleEntrances( + body?: AcsAccessGroupsListAccessibleEntrancesParams, + ): SeamHttpRequest< + AcsAccessGroupsListAccessibleEntrancesResponse, + 'acs_entrances' + > { + return new SeamHttpRequest(this, { + path: '/acs/access_groups/list_accessible_entrances', + method: 'post', + body, + responseKey: 'acs_entrances', + }) + } + listUsers( body?: AcsAccessGroupsListUsersParams, ): SeamHttpRequest { @@ -235,6 +249,15 @@ export type AcsAccessGroupsListResponse = SetNonNullable< export type AcsAccessGroupsListOptions = never +export type AcsAccessGroupsListAccessibleEntrancesParams = + RouteRequestBody<'/acs/access_groups/list_accessible_entrances'> + +export type AcsAccessGroupsListAccessibleEntrancesResponse = SetNonNullable< + Required> +> + +export type AcsAccessGroupsListAccessibleEntrancesOptions = never + export type AcsAccessGroupsListUsersParams = RouteRequestBody<'/acs/access_groups/list_users'>