@teqed/interact-ibmi
Version:
Menus for interacting with IBMi AS400 using node-odbc.
318 lines (317 loc) • 9.84 kB
JavaScript
import { DataTypes, Model } from '@sequelize/core';
export class USER_INFO_BASIC extends Model {
static initModel(sequelize) {
return USER_INFO_BASIC.init({
AUTHORIZATION_NAME: {
primaryKey: true,
type: DataTypes.STRING,
allowNull: true,
},
PREVIOUS_SIGNON: {
type: DataTypes.TIME,
allowNull: true,
},
SIGN_ON_ATTEMPTS_NOT_VALID: {
type: DataTypes.INTEGER,
allowNull: true,
},
MAXIMUM_SIGN_ON_ATTEMPTS: {
type: DataTypes.STRING,
allowNull: true,
},
STATUS: {
type: DataTypes.STRING,
allowNull: true,
},
NETSERVER_DISABLED: {
type: DataTypes.STRING,
allowNull: false,
},
PASSWORD_CHANGE_DATE: {
type: DataTypes.TIME,
allowNull: true,
},
NO_PASSWORD_INDICATOR: {
type: DataTypes.STRING,
allowNull: true,
},
PASSWORD_LEVEL_0_1: {
type: DataTypes.STRING,
allowNull: true,
},
PASSWORD_LEVEL_2_3: {
type: DataTypes.STRING,
allowNull: true,
},
PASSWORD_LEVEL_4: {
type: DataTypes.STRING,
allowNull: true,
},
PASSWORD_EXPIRATION_INTERVAL: {
type: DataTypes.SMALLINT,
allowNull: true,
},
DATE_PASSWORD_EXPIRES: {
type: DataTypes.TIME,
allowNull: true,
},
DAYS_UNTIL_PASSWORD_EXPIRES: {
type: DataTypes.INTEGER,
allowNull: true,
},
SET_PASSWORD_TO_EXPIRE: {
type: DataTypes.STRING,
allowNull: true,
},
USER_CLASS_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
SPECIAL_AUTHORITIES: {
type: DataTypes.STRING,
allowNull: true,
},
GROUP_PROFILE_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
SUPPLEMENTAL_GROUP_COUNT: {
type: DataTypes.SMALLINT,
allowNull: true,
},
SUPPLEMENTAL_GROUP_LIST: {
type: DataTypes.STRING,
allowNull: true,
},
OWNER: {
type: DataTypes.STRING,
allowNull: true,
},
GROUP_AUTHORITY: {
type: DataTypes.STRING,
allowNull: true,
},
ASSISTANCE_LEVEL: {
type: DataTypes.STRING,
allowNull: true,
},
CURRENT_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
INITIAL_MENU_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
INITIAL_MENU_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
INITIAL_PROGRAM_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
INITIAL_PROGRAM_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
LIMIT_CAPABILITIES: {
type: DataTypes.STRING,
allowNull: true,
},
TEXT_DESCRIPTION: {
type: DataTypes.STRING,
allowNull: true,
},
DISPLAY_SIGNON_INFORMATION: {
type: DataTypes.STRING,
allowNull: true,
},
LIMIT_DEVICE_SESSIONS: {
type: DataTypes.STRING,
allowNull: true,
},
KEYBOARD_BUFFERING: {
type: DataTypes.STRING,
allowNull: true,
},
MAXIMUM_ALLOWED_STORAGE: {
type: DataTypes.BIGINT,
allowNull: true,
},
STORAGE_USED: {
type: DataTypes.BIGINT,
allowNull: true,
},
HIGHEST_SCHEDULING_PRIORITY: {
type: DataTypes.CHAR,
allowNull: true,
},
JOB_DESCRIPTION_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
JOB_DESCRIPTION_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
ACCOUNTING_CODE: {
type: DataTypes.STRING,
allowNull: true,
},
MESSAGE_QUEUE_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
MESSAGE_QUEUE_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
MESSAGE_QUEUE_DELIVERY_METHOD: {
type: DataTypes.STRING,
allowNull: true,
},
MESSAGE_QUEUE_SEVERITY: {
type: DataTypes.SMALLINT,
allowNull: true,
},
OUTPUT_QUEUE_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
OUTPUT_QUEUE_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
PRINT_DEVICE: {
type: DataTypes.STRING,
allowNull: true,
},
SPECIAL_ENVIRONMENT: {
type: DataTypes.STRING,
allowNull: true,
},
ATTENTION_KEY_HANDLING_PROGRAM_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
ATTENTION_KEY_HANDLING_PROGRAM_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
LANGUAGE_ID: {
type: DataTypes.STRING,
allowNull: true,
},
COUNTRY_OR_REGION_ID: {
type: DataTypes.STRING,
allowNull: true,
},
CHARACTER_CODE_SET_ID: {
type: DataTypes.STRING,
allowNull: true,
},
USER_OPTIONS: {
type: DataTypes.STRING,
allowNull: true,
},
SORT_SEQUENCE_TABLE_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
SORT_SEQUENCE_TABLE_LIBRARY_NAME: {
type: DataTypes.STRING,
allowNull: true,
},
OBJECT_AUDITING_VALUE: {
type: DataTypes.STRING,
allowNull: true,
},
USER_ACTION_AUDIT_LEVEL: {
type: DataTypes.STRING,
allowNull: true,
},
GROUP_AUTHORITY_TYPE: {
type: DataTypes.STRING,
allowNull: true,
},
USER_ID_NUMBER: {
type: DataTypes.BIGINT,
allowNull: true,
},
GROUP_ID_NUMBER: {
type: DataTypes.BIGINT,
allowNull: true,
},
LOCALE_JOB_ATTRIBUTES: {
type: DataTypes.STRING,
allowNull: true,
},
GROUP_MEMBER_INDICATOR: {
type: DataTypes.STRING,
allowNull: true,
},
DIGITAL_CERTIFICATE_INDICATOR: {
type: DataTypes.STRING,
allowNull: true,
},
CHARACTER_IDENTIFIER_CONTROL: {
type: DataTypes.STRING,
allowNull: true,
},
LOCAL_PASSWORD_MANAGEMENT: {
type: DataTypes.STRING,
allowNull: true,
},
BLOCK_PASSWORD_CHANGE: {
type: DataTypes.STRING,
allowNull: true,
},
USER_ENTITLEMENT_REQUIRED: {
type: DataTypes.STRING,
allowNull: true,
},
USER_EXPIRATION_INTERVAL: {
type: DataTypes.SMALLINT,
allowNull: true,
},
USER_EXPIRATION_DATE: {
type: DataTypes.TIME,
allowNull: true,
},
USER_EXPIRATION_ACTION: {
type: DataTypes.STRING,
allowNull: true,
},
HOME_DIRECTORY: {
type: `VARG`,
allowNull: true,
},
LOCALE_PATH_NAME: {
type: `VARG`,
allowNull: true,
},
USER_DEFAULT_PASSWORD: {
type: DataTypes.STRING,
allowNull: true,
},
AUTHORITY_COLLECTION_ACTIVE: {
type: DataTypes.STRING,
allowNull: false,
},
AUTHORITY_COLLECTION_REPOSITORY_EXISTS: {
type: DataTypes.STRING,
allowNull: false,
},
PASE_SHELL_PATH: {
type: DataTypes.STRING,
allowNull: true,
},
}, {
sequelize,
tableName: `USER_INFO_BASIC`,
schema: `QSYS2`,
timestamps: false,
});
}
}