/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; /** * * @export * @interface UserResourceInfo */ export interface UserResourceInfo { /** * Type of user resource * @type {string} * @memberof UserResourceInfo */ resourceType: UserResourceInfoResourceTypeEnum; /** * Resource value * @type {string} * @memberof UserResourceInfo */ value: string; } /** * @export */ export declare const UserResourceInfoResourceTypeEnum: { readonly Balance: "BALANCE"; readonly TopupUrl: "TOPUP_URL"; readonly TransactionUrl: "TRANSACTION_URL"; readonly Ott: "OTT"; readonly MaskDanaId: "MASK_DANA_ID"; readonly UserKyc: "USER_KYC"; readonly LoginId: "LOGIN_ID"; readonly ClearTextDanaId: "CLEAR_TEXT_DANA_ID"; readonly Nickname: "NICKNAME"; readonly Fullname: "FULLNAME"; readonly KtpNumber: "KTP_NUMBER"; readonly KtpPhotoData: "KTP_PHOTO_DATA"; readonly SelfiePhotoData: "SELFIE_PHOTO_DATA"; readonly AvatarUrl: "AVATAR_URL"; readonly MaskedFullname: "MASKED_FULLNAME"; }; export type UserResourceInfoResourceTypeEnum = typeof UserResourceInfoResourceTypeEnum[keyof typeof UserResourceInfoResourceTypeEnum] | ''; /** * Check if a given object implements the UserResourceInfo interface. */ export declare function instanceOfUserResourceInfo(value: object): value is UserResourceInfo; export declare function UserResourceInfoFromJSON(json: any): UserResourceInfo; export declare function UserResourceInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserResourceInfo; export declare function UserResourceInfoToJSON(json: any): UserResourceInfo; export declare function UserResourceInfoToJSONTyped(value?: UserResourceInfo | null, ignoreDiscriminator?: boolean): any; export declare function validateUserResourceInfo(value: UserResourceInfo): ValidationErrorContext[];