From 858f87e4bcd8fc0771f6347a2618f7042f39bf35 Mon Sep 17 00:00:00 2001 From: SDK Distribution Bot Date: Thu, 2 Apr 2026 04:35:08 +0000 Subject: [PATCH] feat: Update SDK from generator (2026-04-02) --- client/types.gen.ts | 20 ++++++++++++++------ package.json | 2 +- payjpv2.ts | 2 +- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/client/types.gen.ts b/client/types.gen.ts index 460a1a4..878481f 100644 --- a/client/types.gen.ts +++ b/client/types.gen.ts @@ -701,9 +701,10 @@ export type CheckoutSessionPaymentMethodOptionsCardRequest = { * | 指定できる値 | * |:---| * | **if_available**: オーソリ期間の延長が可能な場合に延長要求を行います。 | + * | **must_extend**: オーソリ期間の延長を必須とします。延長できない場合はエラーを返します。 | * | **never**: オーソリ期間の延長要求を行いません。 | */ - request_extended_authorization?: 'if_available' | 'never'; + request_extended_authorization?: 'if_available' | 'must_extend' | 'never'; /** * Request Three D Secure * @@ -1464,9 +1465,10 @@ export type PaymentFlowPaymentMethodOptionsCardRequest = { * | 値 | * |:---| * | **if_available**: オーソリ期間の延長が可能な場合に延長要求を行います。 | + * | **must_extend**: オーソリ期間の延長を必須とします。延長できない場合はエラーを返します。 | * | **never**: オーソリ期間の延長要求を行いません。 | */ - request_extended_authorization?: 'if_available' | 'never'; + request_extended_authorization?: 'if_available' | 'must_extend' | 'never'; /** * Request Three D Secure * @@ -1636,6 +1638,12 @@ export type PaymentFlowResponse = { * キャンセル日時 (UTC, ISO 8601 形式) */ canceled_at: string | null; + /** + * Expired At + * + * オーソリの有効期限 (UTC, ISO 8601 形式) + */ + expired_at?: string | null; /** * Metadata * @@ -4751,7 +4759,7 @@ export type CreatePaymentFlowData = { export type CreatePaymentFlowErrors = { /** - * Missing Payment Method
Detached Payment Method Not Usable
Payment Method Not Owned By Customer
Payment Method Type Not Allowed
Apple Pay Disabled In Livemode
Invalid Apple Pay Token
Unacceptable Brand On Apple Pay + * Missing Payment Method
Detached Payment Method Not Usable
Payment Method Not Owned By Customer
Payment Method Type Not Allowed
Extended Authorization Not Available
Apple Pay Disabled In Livemode
Invalid Apple Pay Token
Unacceptable Brand On Apple Pay */ 400: ErrorResponse; /** @@ -4837,7 +4845,7 @@ export type CapturePaymentFlowData = { export type CapturePaymentFlowErrors = { /** - * Invalid Status + * Invalid Status
Payment Flow Expired */ 400: ErrorResponse; /** @@ -4882,7 +4890,7 @@ export type ConfirmPaymentFlowData = { export type ConfirmPaymentFlowErrors = { /** - * Invalid Status
Missing Payment Method
Detached Payment Method Not Usable
Payment Method Not Owned By Customer
Customer Required For Payment Method
Payment Method Type Not Allowed
Apple Pay Disabled In Livemode
Invalid Apple Pay Token
Unacceptable Brand On Apple Pay + * Invalid Status
Missing Payment Method
Detached Payment Method Not Usable
Payment Method Not Owned By Customer
Customer Required For Payment Method
Payment Method Type Not Allowed
Extended Authorization Not Available
Apple Pay Disabled In Livemode
Invalid Apple Pay Token
Unacceptable Brand On Apple Pay */ 400: ErrorResponse; /** @@ -5346,7 +5354,7 @@ export type CreateSetupFlowData = { export type CreateSetupFlowErrors = { /** - * Invalid Request + * Invalid Payment Method Types */ 400: ErrorResponse; /** diff --git a/package.json b/package.json index d313b31..bef40ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@payjp/payjpv2", - "version": "1.0.9", + "version": "1.0.10", "type": "module", "main": "dist/index.cjs", "module": "dist/index.mjs", diff --git a/payjpv2.ts b/payjpv2.ts index ce2088b..4a35fed 100644 --- a/payjpv2.ts +++ b/payjpv2.ts @@ -5,7 +5,7 @@ import { type Client, } from "./client/client"; -const BINDINGS_VERSION = '1.0.9'; +const BINDINGS_VERSION = '1.0.10'; const DEFAULT_BASE_URL = "https://api.pay.jp"; export interface ClientConfig {