@seamapi/http
Advanced tools
Comparing version 1.0.0-rc.0 to 1.0.0-rc.1
@@ -22,2 +22,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
list(body?: AcsCredentialsListParams): SeamHttpRequest<AcsCredentialsListResponse, 'acs_credentials'>; | ||
listAccessibleEntrances(body?: AcsCredentialsListAccessibleEntrancesParams): SeamHttpRequest<AcsCredentialsListAccessibleEntrancesResponse, 'acs_entrances'>; | ||
unassign(body?: AcsCredentialsUnassignBody): SeamHttpRequest<void, undefined>; | ||
@@ -41,2 +42,5 @@ update(body?: AcsCredentialsUpdateBody): SeamHttpRequest<void, undefined>; | ||
export type AcsCredentialsListOptions = never; | ||
export type AcsCredentialsListAccessibleEntrancesParams = RouteRequestBody<'/acs/credentials/list_accessible_entrances'>; | ||
export type AcsCredentialsListAccessibleEntrancesResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/list_accessible_entrances'>>>; | ||
export type AcsCredentialsListAccessibleEntrancesOptions = never; | ||
export type AcsCredentialsUnassignBody = RouteRequestBody<'/acs/credentials/unassign'>; | ||
@@ -43,0 +47,0 @@ export type AcsCredentialsUnassignResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unassign'>>>; |
@@ -119,2 +119,10 @@ /* | ||
} | ||
listAccessibleEntrances(body) { | ||
return new SeamHttpRequest(this, { | ||
path: '/acs/credentials/list_accessible_entrances', | ||
method: 'post', | ||
body, | ||
responseKey: 'acs_entrances', | ||
}); | ||
} | ||
unassign(body) { | ||
@@ -121,0 +129,0 @@ return new SeamHttpRequest(this, { |
@@ -19,2 +19,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
list(body?: AcsSystemsListParams): SeamHttpRequest<AcsSystemsListResponse, 'acs_systems'>; | ||
listCompatibleCredentialManagerAcsSystems(body?: AcsSystemsListCompatibleCredentialManagerAcsSystemsParams): SeamHttpRequest<AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, 'acs_systems'>; | ||
} | ||
@@ -27,1 +28,4 @@ export type AcsSystemsGetParams = RouteRequestBody<'/acs/systems/get'>; | ||
export type AcsSystemsListOptions = never; | ||
export type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams = RouteRequestBody<'/acs/systems/list_compatible_credential_manager_acs_systems'>; | ||
export type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse = SetNonNullable<Required<RouteResponse<'/acs/systems/list_compatible_credential_manager_acs_systems'>>>; | ||
export type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions = never; |
@@ -95,3 +95,11 @@ /* | ||
} | ||
listCompatibleCredentialManagerAcsSystems(body) { | ||
return new SeamHttpRequest(this, { | ||
path: '/acs/systems/list_compatible_credential_manager_acs_systems', | ||
method: 'post', | ||
body, | ||
responseKey: 'acs_systems', | ||
}); | ||
} | ||
} | ||
//# sourceMappingURL=acs-systems.js.map |
@@ -1,2 +0,2 @@ | ||
declare const seamapiJavascriptHttpVersion = "1.0.0-rc.0"; | ||
declare const seamapiJavascriptHttpVersion = "1.0.0-rc.1"; | ||
export default seamapiJavascriptHttpVersion; |
@@ -1,3 +0,3 @@ | ||
const seamapiJavascriptHttpVersion = '1.0.0-rc.0'; | ||
const seamapiJavascriptHttpVersion = '1.0.0-rc.1'; | ||
export default seamapiJavascriptHttpVersion; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@seamapi/http", | ||
"version": "1.0.0-rc.0", | ||
"version": "1.0.0-rc.1", | ||
"description": "JavaScript HTTP client for the Seam API written in TypeScript.", | ||
@@ -87,3 +87,3 @@ "type": "module", | ||
"peerDependencies": { | ||
"@seamapi/types": "^1.157.2" | ||
"@seamapi/types": "^1.173.0" | ||
}, | ||
@@ -103,3 +103,3 @@ "peerDependenciesMeta": { | ||
"@seamapi/fake-seam-connect": "^1.44.2", | ||
"@seamapi/types": "1.157.2", | ||
"@seamapi/types": "1.173.0", | ||
"@types/eslint": "^8.44.2", | ||
@@ -106,0 +106,0 @@ "@types/node": "^20.8.10", |
@@ -354,3 +354,3 @@ # Seam HTTP Client | ||
In addition the various authentication options, | ||
In addition to the various authentication options, | ||
the constructor takes some advanced options that affect behavior. | ||
@@ -357,0 +357,0 @@ |
@@ -208,2 +208,16 @@ /* | ||
listAccessibleEntrances( | ||
body?: AcsCredentialsListAccessibleEntrancesParams, | ||
): SeamHttpRequest< | ||
AcsCredentialsListAccessibleEntrancesResponse, | ||
'acs_entrances' | ||
> { | ||
return new SeamHttpRequest(this, { | ||
path: '/acs/credentials/list_accessible_entrances', | ||
method: 'post', | ||
body, | ||
responseKey: 'acs_entrances', | ||
}) | ||
} | ||
unassign( | ||
@@ -273,2 +287,11 @@ body?: AcsCredentialsUnassignBody, | ||
export type AcsCredentialsListAccessibleEntrancesParams = | ||
RouteRequestBody<'/acs/credentials/list_accessible_entrances'> | ||
export type AcsCredentialsListAccessibleEntrancesResponse = SetNonNullable< | ||
Required<RouteResponse<'/acs/credentials/list_accessible_entrances'>> | ||
> | ||
export type AcsCredentialsListAccessibleEntrancesOptions = never | ||
export type AcsCredentialsUnassignBody = | ||
@@ -275,0 +298,0 @@ RouteRequestBody<'/acs/credentials/unassign'> |
@@ -178,2 +178,16 @@ /* | ||
} | ||
listCompatibleCredentialManagerAcsSystems( | ||
body?: AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, | ||
): SeamHttpRequest< | ||
AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, | ||
'acs_systems' | ||
> { | ||
return new SeamHttpRequest(this, { | ||
path: '/acs/systems/list_compatible_credential_manager_acs_systems', | ||
method: 'post', | ||
body, | ||
responseKey: 'acs_systems', | ||
}) | ||
} | ||
} | ||
@@ -196,1 +210,13 @@ | ||
export type AcsSystemsListOptions = never | ||
export type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams = | ||
RouteRequestBody<'/acs/systems/list_compatible_credential_manager_acs_systems'> | ||
export type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse = | ||
SetNonNullable< | ||
Required< | ||
RouteResponse<'/acs/systems/list_compatible_credential_manager_acs_systems'> | ||
> | ||
> | ||
export type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions = never |
@@ -1,3 +0,3 @@ | ||
const seamapiJavascriptHttpVersion = '1.0.0-rc.0' | ||
const seamapiJavascriptHttpVersion = '1.0.0-rc.1' | ||
export default seamapiJavascriptHttpVersion |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1544304
18659