From 6e8681a239dfa92e3d53c9d873b6b1a3bff47d18 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 11 Oct 2024 06:59:46 +0000 Subject: [PATCH] ci: Generate code --- package-lock.json | 2 +- package.json | 2 +- src/lib/seam/connect/routes/acs-encoders.ts | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4bf7384..6c04f36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "npm": ">= 9.0.0" }, "peerDependencies": { - "@seamapi/types": "^1.263.1" + "@seamapi/types": "^1.264.2" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/package.json b/package.json index 5c2420b..11caf32 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "npm": ">= 9.0.0" }, "peerDependencies": { - "@seamapi/types": "^1.263.1" + "@seamapi/types": "^1.264.2" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/src/lib/seam/connect/routes/acs-encoders.ts b/src/lib/seam/connect/routes/acs-encoders.ts index a4b98d0..8f4b289 100644 --- a/src/lib/seam/connect/routes/acs-encoders.ts +++ b/src/lib/seam/connect/routes/acs-encoders.ts @@ -178,12 +178,12 @@ export class SeamHttpAcsEncoders { }) } - readCard( - body?: AcsEncodersReadCardBody, + scanCard( + body?: AcsEncodersScanCardBody, options: Pick = {}, - ): SeamHttpRequest { + ): SeamHttpRequest { return new SeamHttpRequest(this, { - path: '/acs/encoders/read_card', + path: '/acs/encoders/scan_card', method: 'post', body, responseKey: 'action_attempt', @@ -212,14 +212,14 @@ export type AcsEncodersListResponse = SetNonNullable< export type AcsEncodersListOptions = never -export type AcsEncodersReadCardBody = - RouteRequestBody<'/acs/encoders/read_card'> +export type AcsEncodersScanCardBody = + RouteRequestBody<'/acs/encoders/scan_card'> -export type AcsEncodersReadCardResponse = SetNonNullable< - Required> +export type AcsEncodersScanCardResponse = SetNonNullable< + Required> > -export type AcsEncodersReadCardOptions = Pick< +export type AcsEncodersScanCardOptions = Pick< SeamHttpRequestOptions, 'waitForActionAttempt' >