/** * PayPal Server SDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { object, optional, Schema, string } from '../schema.js'; import { OsType, osTypeSchema } from './osType.js'; /** Merchant provided, buyer's native app preferences to app switch to the PayPal consumer app. */ export interface NativeAppContext { /** Operating System type of the device that the buyer is using. */ osType?: OsType; /** Operating System version of the device that the buyer is using. */ osVersion?: string; } export const nativeAppContextSchema: Schema = object({ osType: ['os_type', optional(osTypeSchema)], osVersion: ['os_version', optional(string())], });