/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; /** * * @export * @interface ApplyTokenRefreshTokenRequest */ export interface ApplyTokenRefreshTokenRequest { /** * Additional information * @type {{ [key: string]: any; }} * @memberof ApplyTokenRefreshTokenRequest */ additionalInfo?: { [key: string]: any; }; /** * Apply token request type. The value is REFRESH_TOKEN * @type {string} * @memberof ApplyTokenRefreshTokenRequest */ grantType: ApplyTokenRefreshTokenRequestGrantTypeEnum; /** * Authorization code. Please refer to https://dashboard.dana.id/api-docs/read/125. Required if grantType is AUTHORIZATION_CODE * @type {string} * @memberof ApplyTokenRefreshTokenRequest */ authCode?: string; /** * This token is used for refresh session if existing token has been expired * @type {string} * @memberof ApplyTokenRefreshTokenRequest */ refreshToken: string; } /** * @export */ export declare const ApplyTokenRefreshTokenRequestGrantTypeEnum: { readonly RefreshToken: "REFRESH_TOKEN"; }; export type ApplyTokenRefreshTokenRequestGrantTypeEnum = typeof ApplyTokenRefreshTokenRequestGrantTypeEnum[keyof typeof ApplyTokenRefreshTokenRequestGrantTypeEnum] | ''; /** * Check if a given object implements the ApplyTokenRefreshTokenRequest interface. */ export declare function instanceOfApplyTokenRefreshTokenRequest(value: object): value is ApplyTokenRefreshTokenRequest; export declare function ApplyTokenRefreshTokenRequestFromJSON(json: any): ApplyTokenRefreshTokenRequest; export declare function ApplyTokenRefreshTokenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplyTokenRefreshTokenRequest; export declare function ApplyTokenRefreshTokenRequestToJSON(json: any): ApplyTokenRefreshTokenRequest; export declare function ApplyTokenRefreshTokenRequestToJSONTyped(value?: ApplyTokenRefreshTokenRequest | null, ignoreDiscriminator?: boolean): any; export declare function validateApplyTokenRefreshTokenRequest(value: ApplyTokenRefreshTokenRequest): ValidationErrorContext[];