/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; /** * * @export * @interface EnvInfo */ export interface EnvInfo { /** * Session identifier * @type {string} * @memberof EnvInfo */ sessionId?: string; /** * Token identifier * @type {string} * @memberof EnvInfo */ tokenId?: string; /** * Website language * @type {string} * @memberof EnvInfo */ websiteLanguage?: string; /** * Client IP address * @type {string} * @memberof EnvInfo */ clientIp?: string; /** * Operating system type * @type {string} * @memberof EnvInfo */ osType?: string; /** * App version * @type {string} * @memberof EnvInfo */ appVersion?: string; /** * SDK version * @type {string} * @memberof EnvInfo */ sdkVersion?: string; /** * The source platform is always independent payment gateway (IPG) * @type {string} * @memberof EnvInfo */ sourcePlatform: EnvInfoSourcePlatformEnum; /** * Order operating system type * @type {string} * @memberof EnvInfo */ orderOsType?: string; /** * Merchant App version * @type {string} * @memberof EnvInfo */ merchantAppVersion?: string; /** * Terminal type. The enums:
* * APP - Mobile Application
* * WEB - Browser Web
* * WAP - Mobile Wap
* * SYSTEM - System Call
* * @type {string} * @memberof EnvInfo */ terminalType: EnvInfoTerminalTypeEnum; /** * Order terminal type. The enums:
* * APP - Mobile Application
* * WEB - Browser Web
* * WAP - Mobile Wap
* * SYSTEM - System Call
* * @type {string} * @memberof EnvInfo */ orderTerminalType?: EnvInfoOrderTerminalTypeEnum; /** * Extend information * @type {string} * @memberof EnvInfo */ extendInfo?: string; /** * Unique identifier for partner was generated by DANA * @type {string} * @memberof EnvInfo */ clientKey?: string; } /** * @export */ export declare const EnvInfoSourcePlatformEnum: { readonly Ipg: "IPG"; }; export type EnvInfoSourcePlatformEnum = typeof EnvInfoSourcePlatformEnum[keyof typeof EnvInfoSourcePlatformEnum] | ''; /** * @export */ export declare const EnvInfoTerminalTypeEnum: { readonly App: "APP"; readonly Web: "WEB"; readonly Wap: "WAP"; readonly System: "SYSTEM"; }; export type EnvInfoTerminalTypeEnum = typeof EnvInfoTerminalTypeEnum[keyof typeof EnvInfoTerminalTypeEnum] | ''; /** * @export */ export declare const EnvInfoOrderTerminalTypeEnum: { readonly App: "APP"; readonly Web: "WEB"; readonly Wap: "WAP"; readonly System: "SYSTEM"; }; export type EnvInfoOrderTerminalTypeEnum = typeof EnvInfoOrderTerminalTypeEnum[keyof typeof EnvInfoOrderTerminalTypeEnum] | ''; /** * Check if a given object implements the EnvInfo interface. */ export declare function instanceOfEnvInfo(value: object): value is EnvInfo; export declare function EnvInfoFromJSON(json: any): EnvInfo; export declare function EnvInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvInfo; export declare function EnvInfoToJSON(json: any): EnvInfo; export declare function EnvInfoToJSONTyped(value?: EnvInfo | null, ignoreDiscriminator?: boolean): any; export declare function validateEnvInfo(value: EnvInfo): ValidationErrorContext[];