/** * Paze Checkout APILib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, Schema, string } from '../schema.js'; import { CreateSessionResponseData, createSessionResponseDataSchema, } from './createSessionResponseData.js'; export interface CheckoutSessionCreateResponse { clientContext?: string; ewSID: string; timestampISO8601: string; data?: CreateSessionResponseData; } export const checkoutSessionCreateResponseSchema: Schema = lazy( () => object({ clientContext: ['clientContext', optional(string())], ewSID: ['ewSID', string()], timestampISO8601: ['timestampISO8601', string()], data: ['data', optional(createSessionResponseDataSchema)], }) );