package com.friday.operation.api.tooldriver.constant;

/**
 * @Author YaoYao
 * @Date Created In 17:06 2022/12/1
 * @Description
 * @Modified By
 */
public class DriverConstant {
    public static final String SmartRpaRobotStateCache = "Taie-smart-rpa-robot";
    public static final int SmartRobotStateCacheExpiration = 1;//day
    public static final String UiPathTenantTokenCache = "Taie-uipath-tenant-token";
    public static final int UiPathTenantTokenCacheExpiration = 25 ;//s
    public static final String UiPathOcBaseUrlCache = "Taie-uipath-oc-base-url";
    public static final int UiPathOcBaseUrlCacheExpiration = 1 ;//day
    public static final String INFODATOR_TENANT_TOKEN_CACHE = "Taie-infodator-tenant-token";
    public static final int INFODATOR_TENANT_TOKEN_CACHE_EXPIRATION = 25;
    public static final String EMPTY_STRING = "";
    public static final String UIPATH_PKG_SUFFIX = ".nupkg";
    public static final String UIPATH_FORM_FILE_KEY = "file";
    public static final String INFODATOR_FORM_FILE_KEY = "multipartFile";
    public static final String UIPATH_ORG_UNIT_KEY = "X-UIPATH-OrganizationUnitId";
    public static final String AUTH_PREFIX = "Bearer ";
    public static final String AUTH_KEY = "Authorization";
//    public static final String UIPATH_RUNTIME_LICENSE_ROBOT_KEY = "UiPathLicenseRuntimeRobotKey";
    public static final String UIPATH_USER_KEY = "UiPathUserKey";
    public static final String UIPATH_USER_SESSION_KEY = "UiPathUserSessionKey";
    public static final String UIPATH_RUNTIME_LICENSE_KEY = "UiPathRuntimeLicenseKey";
    public static final String UIPATH_MACHINE_KEY = "UiPathMachineKey";
    public static final String UIPATH_MACHINE_SESSION_KEY = "UiPathMachineSessionKey";

    public static final String YES = "Y";

    public static final String NO = "N";

}
