/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; /** * * @export * @interface QueryUserProfileRequest */ export interface QueryUserProfileRequest { /** * The resource type list that the merchant server wants to get from DANA * @type {Array} * @memberof QueryUserProfileRequest */ userResources: Array; /** * Access token required for user profile query * @type {string} * @memberof QueryUserProfileRequest */ accessToken: string; } /** * @export */ export declare const QueryUserProfileRequestUserResourcesEnum: { 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 QueryUserProfileRequestUserResourcesEnum = typeof QueryUserProfileRequestUserResourcesEnum[keyof typeof QueryUserProfileRequestUserResourcesEnum] | ''; /** * Check if a given object implements the QueryUserProfileRequest interface. */ export declare function instanceOfQueryUserProfileRequest(value: object): value is QueryUserProfileRequest; export declare function QueryUserProfileRequestFromJSON(json: any): QueryUserProfileRequest; export declare function QueryUserProfileRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryUserProfileRequest; export declare function QueryUserProfileRequestToJSON(json: any): QueryUserProfileRequest; export declare function QueryUserProfileRequestToJSONTyped(value?: QueryUserProfileRequest | null, ignoreDiscriminator?: boolean): any; export declare function validateQueryUserProfileRequest(value: QueryUserProfileRequest): ValidationErrorContext[];