New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@seamapi/http

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seamapi/http - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

lib/seam/connect/routes/acs-encoders.d.ts

96

lib/seam/connect/resolve-action-attempt.d.ts

@@ -78,2 +78,26 @@ import type { ActionAttempt } from '@seamapi/types/connect';

result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "success";
action_attempt_id: string;
result: {
acs_credential_id: string | null;
card_number: string | null;
};
action_type: "ENCODE_CARD";
} | {
error: {
type: string;
message: string;
};
status: "error";
action_attempt_id: string;
result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "pending";
action_attempt_id: string;
result: null;
action_type: "RESET_SANDBOX_WORKSPACE";

@@ -442,2 +466,26 @@ } | {

result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "success";
action_attempt_id: string;
result: {
acs_credential_id: string | null;
card_number: string | null;
};
action_type: "ENCODE_CARD";
} | {
error: {
type: string;
message: string;
};
status: "error";
action_attempt_id: string;
result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "pending";
action_attempt_id: string;
result: null;
action_type: "RESET_SANDBOX_WORKSPACE";

@@ -808,2 +856,26 @@ } | {

result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "success";
action_attempt_id: string;
result: {
acs_credential_id: string | null;
card_number: string | null;
};
action_type: "ENCODE_CARD";
} | {
error: {
type: string;
message: string;
};
status: "error";
action_attempt_id: string;
result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "pending";
action_attempt_id: string;
result: null;
action_type: "RESET_SANDBOX_WORKSPACE";

@@ -1174,2 +1246,26 @@ } | {

result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "success";
action_attempt_id: string;
result: {
acs_credential_id: string | null;
card_number: string | null;
};
action_type: "ENCODE_CARD";
} | {
error: {
type: string;
message: string;
};
status: "error";
action_attempt_id: string;
result: null;
action_type: "ENCODE_CARD";
} | {
error: null;
status: "pending";
action_attempt_id: string;
result: null;
action_type: "RESET_SANDBOX_WORKSPACE";

@@ -1176,0 +1272,0 @@ } | {

4

lib/seam/connect/routes/acs-credentials.d.ts

@@ -25,3 +25,2 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';

listAccessibleEntrances(body?: AcsCredentialsListAccessibleEntrancesParams): SeamHttpRequest<AcsCredentialsListAccessibleEntrancesResponse, 'acs_entrances'>;
readCard(body?: AcsCredentialsReadCardBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsCredentialsReadCardResponse, 'action_attempt'>;
unassign(body?: AcsCredentialsUnassignBody): SeamHttpRequest<void, undefined>;

@@ -48,5 +47,2 @@ update(body?: AcsCredentialsUpdateBody): SeamHttpRequest<void, undefined>;

export type AcsCredentialsListAccessibleEntrancesOptions = never;
export type AcsCredentialsReadCardBody = RouteRequestBody<'/acs/credentials/read_card'>;
export type AcsCredentialsReadCardResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/read_card'>>>;
export type AcsCredentialsReadCardOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
export type AcsCredentialsUnassignBody = RouteRequestBody<'/acs/credentials/unassign'>;

@@ -53,0 +49,0 @@ export type AcsCredentialsUnassignResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unassign'>>>;

@@ -131,11 +131,2 @@ /*

}
readCard(body, options = {}) {
return new SeamHttpRequest(this, {
path: '/acs/credentials/read_card',
method: 'post',
body,
responseKey: 'action_attempt',
options,
});
}
unassign(body) {

@@ -142,0 +133,0 @@ return new SeamHttpRequest(this, {

@@ -11,2 +11,3 @@ export * from './access-codes.js';

export * from './acs-credentials-unmanaged.js';
export * from './acs-encoders.js';
export * from './acs-entrances.js';

@@ -13,0 +14,0 @@ export * from './acs-systems.js';

@@ -11,2 +11,3 @@ export * from './access-codes.js';

export * from './acs-credentials-unmanaged.js';
export * from './acs-encoders.js';
export * from './acs-entrances.js';

@@ -13,0 +14,0 @@ export * from './acs-systems.js';

@@ -21,3 +21,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';

cool(body?: ThermostatsCoolBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsCoolResponse, 'action_attempt'>;
createClimatePreset(body?: ThermostatsCreateClimatePresetBody): SeamHttpRequest<ThermostatsCreateClimatePresetResponse, 'climate_preset'>;
createClimatePreset(body?: ThermostatsCreateClimatePresetBody): SeamHttpRequest<void, undefined>;
deleteClimatePreset(body?: ThermostatsDeleteClimatePresetBody): SeamHttpRequest<void, undefined>;

@@ -24,0 +24,0 @@ get(body?: ThermostatsGetParams): SeamHttpRequest<ThermostatsGetResponse, 'thermostat'>;

@@ -106,3 +106,3 @@ /*

body,
responseKey: 'climate_preset',
responseKey: undefined,
});

@@ -109,0 +109,0 @@ }

@@ -1,2 +0,2 @@

declare const seamapiJavascriptHttpVersion = "1.6.0";
declare const seamapiJavascriptHttpVersion = "1.7.0";
export default seamapiJavascriptHttpVersion;

@@ -1,3 +0,3 @@

const seamapiJavascriptHttpVersion = '1.6.0';
const seamapiJavascriptHttpVersion = '1.7.0';
export default seamapiJavascriptHttpVersion;
//# sourceMappingURL=version.js.map
{
"name": "@seamapi/http",
"version": "1.6.0",
"version": "1.7.0",
"description": "JavaScript HTTP client for the Seam API written in TypeScript.",

@@ -87,3 +87,3 @@ "type": "module",

"peerDependencies": {
"@seamapi/types": "^1.252.1"
"@seamapi/types": "^1.258.1"
},

@@ -103,3 +103,3 @@ "peerDependenciesMeta": {

"@seamapi/fake-seam-connect": "1.71.0",
"@seamapi/types": "1.252.1",
"@seamapi/types": "1.258.1",
"@types/eslint": "^8.44.2",

@@ -106,0 +106,0 @@ "@types/node": "^20.8.10",

@@ -230,15 +230,2 @@ /*

readCard(
body?: AcsCredentialsReadCardBody,
options: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'> = {},
): SeamHttpRequest<AcsCredentialsReadCardResponse, 'action_attempt'> {
return new SeamHttpRequest(this, {
path: '/acs/credentials/read_card',
method: 'post',
body,
responseKey: 'action_attempt',
options,
})
}
unassign(

@@ -317,14 +304,2 @@ body?: AcsCredentialsUnassignBody,

export type AcsCredentialsReadCardBody =
RouteRequestBody<'/acs/credentials/read_card'>
export type AcsCredentialsReadCardResponse = SetNonNullable<
Required<RouteResponse<'/acs/credentials/read_card'>>
>
export type AcsCredentialsReadCardOptions = Pick<
SeamHttpRequestOptions,
'waitForActionAttempt'
>
export type AcsCredentialsUnassignBody =

@@ -331,0 +306,0 @@ RouteRequestBody<'/acs/credentials/unassign'>

@@ -11,2 +11,3 @@ export * from './access-codes.js'

export * from './acs-credentials-unmanaged.js'
export * from './acs-encoders.js'
export * from './acs-entrances.js'

@@ -13,0 +14,0 @@ export * from './acs-systems.js'

@@ -193,3 +193,3 @@ /*

body?: ThermostatsCreateClimatePresetBody,
): SeamHttpRequest<ThermostatsCreateClimatePresetResponse, 'climate_preset'> {
): SeamHttpRequest<void, undefined> {
return new SeamHttpRequest(this, {

@@ -199,3 +199,3 @@ path: '/thermostats/create_climate_preset',

body,
responseKey: 'climate_preset',
responseKey: undefined,
})

@@ -202,0 +202,0 @@ }

@@ -1,3 +0,3 @@

const seamapiJavascriptHttpVersion = '1.6.0'
const seamapiJavascriptHttpVersion = '1.7.0'
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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc