From 1fcc692087027427363ac40de3a2b62f1fcfef59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 06:19:33 +0000 Subject: [PATCH 1/2] feat(deps-dev): bump @seamapi/types in the seam group Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.286.3 to 1.288.1 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.286.3...v1.288.1) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index a059a44..bd85c1b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@seamapi/fake-seam-connect": "1.71.0", - "@seamapi/types": "1.286.3", + "@seamapi/types": "1.288.1", "@types/eslint": "^8.44.2", "@types/node": "^20.8.10", "ava": "^5.0.1", @@ -1147,9 +1147,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.286.3", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.286.3.tgz", - "integrity": "sha512-SVHy6r0MkxllxgmL18oNWdKt6iQXxAgi1RJfymyDsKFnUpEO18qre1IIPGyG59YE86vyHNEvcxf22ELte72mbw==", + "version": "1.288.1", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.288.1.tgz", + "integrity": "sha512-zCsjhueYHwPj5nySFpZF6FZYxoRcVLuU1neikWfsBqir22B5ngk7iS4uVNBSv0D7OFhotiAQ5rn2RtEIZPOSbg==", "dev": true, "engines": { "node": ">=18.12.0", diff --git a/package.json b/package.json index 7e0877a..af042b3 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ }, "devDependencies": { "@seamapi/fake-seam-connect": "1.71.0", - "@seamapi/types": "1.286.3", + "@seamapi/types": "1.288.1", "@types/eslint": "^8.44.2", "@types/node": "^20.8.10", "ava": "^5.0.1", From de98bace0803547f50c08555c86d11110c54cb50 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 5 Nov 2024 06:20:40 +0000 Subject: [PATCH 2/2] ci: Generate code --- package-lock.json | 2 +- package.json | 2 +- src/lib/seam/connect/routes/acs-encoders.ts | 36 ++++++++++----------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index bd85c1b..3d5b716 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "npm": ">= 9.0.0" }, "peerDependencies": { - "@seamapi/types": "^1.286.3" + "@seamapi/types": "^1.288.1" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/package.json b/package.json index af042b3..16064b6 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "npm": ">= 9.0.0" }, "peerDependencies": { - "@seamapi/types": "^1.286.3" + "@seamapi/types": "^1.288.1" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/src/lib/seam/connect/routes/acs-encoders.ts b/src/lib/seam/connect/routes/acs-encoders.ts index 59137f7..8f4b289 100644 --- a/src/lib/seam/connect/routes/acs-encoders.ts +++ b/src/lib/seam/connect/routes/acs-encoders.ts @@ -154,12 +154,12 @@ export class SeamHttpAcsEncoders { await clientSessions.get() } - encodeCredential( - body?: AcsEncodersEncodeCredentialBody, + encodeCard( + body?: AcsEncodersEncodeCardBody, options: Pick = {}, - ): SeamHttpRequest { + ): SeamHttpRequest { return new SeamHttpRequest(this, { - path: '/acs/encoders/encode_credential', + path: '/acs/encoders/encode_card', method: 'post', body, responseKey: 'action_attempt', @@ -178,12 +178,12 @@ export class SeamHttpAcsEncoders { }) } - scanCredential( - body?: AcsEncodersScanCredentialBody, + scanCard( + body?: AcsEncodersScanCardBody, options: Pick = {}, - ): SeamHttpRequest { + ): SeamHttpRequest { return new SeamHttpRequest(this, { - path: '/acs/encoders/scan_credential', + path: '/acs/encoders/scan_card', method: 'post', body, responseKey: 'action_attempt', @@ -192,14 +192,14 @@ export class SeamHttpAcsEncoders { } } -export type AcsEncodersEncodeCredentialBody = - RouteRequestBody<'/acs/encoders/encode_credential'> +export type AcsEncodersEncodeCardBody = + RouteRequestBody<'/acs/encoders/encode_card'> -export type AcsEncodersEncodeCredentialResponse = SetNonNullable< - Required> +export type AcsEncodersEncodeCardResponse = SetNonNullable< + Required> > -export type AcsEncodersEncodeCredentialOptions = Pick< +export type AcsEncodersEncodeCardOptions = Pick< SeamHttpRequestOptions, 'waitForActionAttempt' > @@ -212,14 +212,14 @@ export type AcsEncodersListResponse = SetNonNullable< export type AcsEncodersListOptions = never -export type AcsEncodersScanCredentialBody = - RouteRequestBody<'/acs/encoders/scan_credential'> +export type AcsEncodersScanCardBody = + RouteRequestBody<'/acs/encoders/scan_card'> -export type AcsEncodersScanCredentialResponse = SetNonNullable< - Required> +export type AcsEncodersScanCardResponse = SetNonNullable< + Required> > -export type AcsEncodersScanCredentialOptions = Pick< +export type AcsEncodersScanCardOptions = Pick< SeamHttpRequestOptions, 'waitForActionAttempt' >