@airwallex/node-sdk
Version:
Airwallex Node.js SDK
225 lines • 6.37 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccountDTO = void 0;
var AccountDTO;
(function (AccountDTO) {
AccountDTO.validAccountHierarchyTypeEnum = ['PRIMARY', 'SUB'];
AccountDTO.validAccountStatusEnum = ['INACTIVE', 'SUBMITTED', 'ACTIVE', 'SUSPENDED'];
AccountDTO.validAccountTypeEnum = ['COMPANY', 'PERSONAL'];
AccountDTO.validApiActivationStateEnum = ['NEW', 'ENABLED', 'DISABLED'];
AccountDTO.validOwningEntityEnum = [
'AIRWALLEX_HK',
'AIRWALLEX_AU',
'AIRWALLEX_SG',
'AIRWALLEX_UK',
'AIRWALLEX_JP',
'AIRWALLEX_US',
'AIRWALLEX_NL',
'AIRWALLEX_CA',
'AIRWALLEX_MY',
'AIRWALLEX_NZ',
'AIRWALLEX_LT',
'AIRWALLEX_MX',
'YUNHUIPAY_CN',
'AIRWALLEX_CAPITALHK',
'AIRWALLEX_CAPITALUS',
'AIRWALLEX_AUSVF',
'MEXPAGO_MX',
'AIRWALLEX_IL',
'AIRWALLEX_CAPITALSG',
];
AccountDTO.discriminator = 'AccountDTO';
AccountDTO.attributeTypeMap = [
{
name: 'account_details',
baseName: 'account_details',
type: 'object',
},
{
name: 'account_hierarchy_type',
baseName: 'account_hierarchy_type',
type: 'AccountDTO.AccountHierarchyTypeEnum',
},
{
name: 'account_number',
baseName: 'account_number',
type: 'string',
},
{
name: 'account_purpose',
baseName: 'account_purpose',
type: 'AccountPurpose',
},
{
name: 'account_status',
baseName: 'account_status',
type: 'AccountDTO.AccountStatusEnum',
},
{
name: 'account_type',
baseName: 'account_type',
type: 'AccountDTO.AccountTypeEnum',
},
{
name: 'action_required_info',
baseName: 'action_required_info',
type: 'ActionRequiredInfo',
},
{
name: 'api_activation_state',
baseName: 'api_activation_state',
type: 'AccountDTO.ApiActivationStateEnum',
},
{
name: 'bank_accounts',
baseName: 'bank_accounts',
type: 'Array<BankAccountDTO>',
},
{
name: 'campaign_details',
baseName: 'campaign_details',
type: 'CampaignDetail',
},
{
name: 'ccy_virtual_account_info',
baseName: 'ccy_virtual_account_info',
type: '{ [key: string]: VirtualAccountInfo; }',
},
{
name: 'client_api_settings',
baseName: 'client_api_settings',
type: 'ClientApiSettings',
},
{
name: 'client_configuration_last_update',
baseName: 'client_configuration_last_update',
type: 'Date',
},
{
name: 'client_internal_info',
baseName: 'client_internal_info',
type: 'ClientInternalInfo',
},
{
name: 'close_reason',
baseName: 'close_reason',
type: 'string',
},
{
name: 'connected_client_api_settings',
baseName: 'connected_client_api_settings',
type: 'ClientApiSettings',
},
{
name: 'create_time',
baseName: 'create_time',
type: 'string',
},
{
name: 'data_center_locations',
baseName: 'data_center_locations',
type: '{ [key: string]: string; }',
},
{
name: 'disabled_info',
baseName: 'disabled_info',
type: 'AccountDisabledInfo',
},
{
name: 'enabled',
baseName: 'enabled',
type: 'boolean',
},
{
name: 'external_info',
baseName: 'external_info',
type: 'ExternalInfo',
},
{
name: 'feature_flag_overrides',
baseName: 'feature_flag_overrides',
type: 'FeatureFlags',
},
{
name: 'id',
baseName: 'id',
type: 'string',
},
{
name: 'kyc_complete',
baseName: 'kyc_complete',
type: 'boolean',
},
{
name: 'kyc_record',
baseName: 'kyc_record',
type: 'KYCRecord',
},
{
name: 'last_update',
baseName: 'last_update',
type: 'string',
},
{
name: 'notification_settings',
baseName: 'notification_settings',
type: 'NotificationSettings',
},
{
name: 'open_id',
baseName: 'open_id',
type: 'string',
},
{
name: 'owning_entity',
baseName: 'owning_entity',
type: 'AccountDTO.OwningEntityEnum',
},
{
name: 'primary_account_id',
baseName: 'primary_account_id',
type: 'string',
},
{
name: 'primary_contact',
baseName: 'primary_contact',
type: 'PrimaryContactDTO',
},
{
name: 'settlement_account_ids',
baseName: 'settlement_account_ids',
type: '{ [key: string]: string; }',
},
{
name: 'short_ref',
baseName: 'short_ref',
type: 'string',
},
{
name: 'status',
baseName: 'status',
type: 'string',
},
{
name: 'status_details',
baseName: 'status_details',
type: 'AccountStatusDetails',
},
{
name: 'under_writing_record',
baseName: 'under_writing_record',
type: 'UnderWritingRecord',
},
{
name: 'version',
baseName: 'version',
type: 'number',
},
{
name: 'virtual_account_number',
baseName: 'virtual_account_number',
type: 'string',
},
];
})(AccountDTO || (exports.AccountDTO = AccountDTO = {}));
//# sourceMappingURL=accountDTO.js.map