diff --git a/types/aws-lambda/common/api-gateway.d.ts b/types/aws-lambda/common/api-gateway.d.ts index 8cb6a398f3f093..2d1c1c255a3541 100644 --- a/types/aws-lambda/common/api-gateway.d.ts +++ b/types/aws-lambda/common/api-gateway.d.ts @@ -80,4 +80,6 @@ export interface APIGatewayEventIdentity { user: string | null; userAgent: string | null; userArn: string | null; + vpcId: string | null; + vpceId: string | null; } diff --git a/types/aws-lambda/test/api-gateway-tests.ts b/types/aws-lambda/test/api-gateway-tests.ts index 55223c2c7b99e1..982f802209dcb2 100644 --- a/types/aws-lambda/test/api-gateway-tests.ts +++ b/types/aws-lambda/test/api-gateway-tests.ts @@ -152,6 +152,8 @@ let proxyHandler: APIGatewayProxyHandler = async (event, context, callback) => { strOrNull = requestContext.identity.user; strOrNull = requestContext.identity.userAgent; strOrNull = requestContext.identity.userArn; + strOrNull = requestContext.identity.vpcId; + strOrNull = requestContext.identity.vpceId; strOrUndefined = requestContext.messageDirection; strOrUndefinedOrNull = requestContext.messageId; str = requestContext.path; diff --git a/types/googlepay/googlepay-tests.ts b/types/googlepay/googlepay-tests.ts index bd47de0bd54a83..6c99453fbe24fc 100644 --- a/types/googlepay/googlepay-tests.ts +++ b/types/googlepay/googlepay-tests.ts @@ -26,6 +26,12 @@ const allowedPaymentMethods = new Array( + "DEFAULT", + "COMPLETE_IMMEDIATE_PURCHASE", + "CONTINUE_TO_REVIEW", +); + // @ts-expect-error allowedPaymentMethods[0].tokenizationSpecification = { type: "DIRECT", diff --git a/types/googlepay/index.d.ts b/types/googlepay/index.d.ts index ef75c1e629e054..56784d45b04e03 100644 --- a/types/googlepay/index.d.ts +++ b/types/googlepay/index.d.ts @@ -1623,8 +1623,13 @@ declare namespace google.payments.api { * [[TransactionInfo.totalPriceStatus|`TransactionInfo.totalPriceStatus`]] * is set to [[TotalPriceStatus|`FINAL`]]. Otherwise, * a payment data request will fail. + * + * - `CONTINUE_TO_REVIEW`: + * Use the 'Continue to Review Order' button for a buy flow in the + * payments sheet. Once loadPaymentData completes, the integrator should + * show an order confirmation screen to finalize the purchase. */ - type CheckoutOption = "DEFAULT" | "COMPLETE_IMMEDIATE_PURCHASE"; + type CheckoutOption = "DEFAULT" | "COMPLETE_IMMEDIATE_PURCHASE" | "CONTINUE_TO_REVIEW"; /** * Enum string of a display item.