@@ -33,7 +33,6 @@ import { AliasAction } from '../../src/model/namespace/AliasAction';
3333import { NamespaceId } from '../../src/model/namespace/NamespaceId' ;
3434import { NetworkType } from '../../src/model/network/NetworkType' ;
3535import { AccountRestrictionModificationAction } from '../../src/model/restriction/AccountRestrictionModificationAction' ;
36- import { AccountRestrictionFlags } from '../../src/model/restriction/AccountRestrictionType' ;
3736import { MosaicRestrictionType } from '../../src/model/restriction/MosaicRestrictionType' ;
3837import { AccountAddressRestrictionTransaction } from '../../src/model/transaction/AccountAddressRestrictionTransaction' ;
3938import { AccountKeyLinkTransaction } from '../../src/model/transaction/AccountKeyLinkTransaction' ;
@@ -69,6 +68,7 @@ import { LockHashUtils } from '../../src/core/utils/LockHashUtils';
6968import { VrfKeyLinkTransaction } from '../../src/model/transaction/VrfKeyLinkTransaction' ;
7069import { VotingKeyLinkTransaction } from '../../src/model/transaction/VotingKeyLinkTransaction' ;
7170import { NodeKeyLinkTransaction } from '../../src/model/transaction/NodeKeyLinkTransaction' ;
71+ import { AddressRestrictionFlag , MosaicRestrictionFlag , OperationRestrictionFlag } from '../../src/model/model' ;
7272
7373// eslint-disable-next-line @typescript-eslint/no-var-requires
7474const CryptoJS = require ( 'crypto-js' ) ;
@@ -429,7 +429,7 @@ describe('TransactionHttp', () => {
429429 it ( 'standalone' , ( ) => {
430430 const addressModification = AccountRestrictionTransaction . createAddressRestrictionModificationTransaction (
431431 Deadline . create ( ) ,
432- AccountRestrictionFlags . BlockOutgoingAddress ,
432+ AddressRestrictionFlag . BlockOutgoingAddress ,
433433 [ account3 . address ] ,
434434 [ ] ,
435435 networkType ,
@@ -447,7 +447,7 @@ describe('TransactionHttp', () => {
447447 it ( 'aggregate' , ( ) => {
448448 const addressModification = AccountRestrictionTransaction . createAddressRestrictionModificationTransaction (
449449 Deadline . create ( ) ,
450- AccountRestrictionFlags . BlockOutgoingAddress ,
450+ AddressRestrictionFlag . BlockOutgoingAddress ,
451451 [ ] ,
452452 [ account3 . address ] ,
453453 networkType ,
@@ -469,7 +469,7 @@ describe('TransactionHttp', () => {
469469 it ( 'standalone' , ( ) => {
470470 const addressModification = AccountRestrictionTransaction . createAddressRestrictionModificationTransaction (
471471 Deadline . create ( ) ,
472- AccountRestrictionFlags . BlockIncomingAddress ,
472+ AddressRestrictionFlag . BlockIncomingAddress ,
473473 [ account3 . address ] ,
474474 [ ] ,
475475 networkType ,
@@ -483,7 +483,7 @@ describe('TransactionHttp', () => {
483483 it ( 'aggregate' , ( ) => {
484484 const addressModification = AccountRestrictionTransaction . createAddressRestrictionModificationTransaction (
485485 Deadline . create ( ) ,
486- AccountRestrictionFlags . BlockIncomingAddress ,
486+ AddressRestrictionFlag . BlockIncomingAddress ,
487487 [ ] ,
488488 [ account3 . address ] ,
489489 networkType ,
@@ -505,7 +505,7 @@ describe('TransactionHttp', () => {
505505 AccountRestrictionModification . createForMosaic ( AccountRestrictionModificationAction . Add , mosaicId ) ;
506506 const addressModification = AccountRestrictionTransaction . createMosaicRestrictionModificationTransaction (
507507 Deadline . create ( ) ,
508- AccountRestrictionFlags . BlockMosaic ,
508+ MosaicRestrictionFlag . BlockMosaic ,
509509 [ mosaicId ] ,
510510 [ ] ,
511511 networkType ,
@@ -524,7 +524,7 @@ describe('TransactionHttp', () => {
524524 it ( 'aggregate' , ( ) => {
525525 const addressModification = AccountRestrictionTransaction . createMosaicRestrictionModificationTransaction (
526526 Deadline . create ( ) ,
527- AccountRestrictionFlags . BlockMosaic ,
527+ MosaicRestrictionFlag . BlockMosaic ,
528528 [ ] ,
529529 [ mosaicId ] ,
530530 networkType ,
@@ -547,7 +547,7 @@ describe('TransactionHttp', () => {
547547 AccountRestrictionModification . createForOperation ( AccountRestrictionModificationAction . Add , TransactionType . ACCOUNT_KEY_LINK ) ;
548548 const addressModification = AccountRestrictionTransaction . createOperationRestrictionModificationTransaction (
549549 Deadline . create ( ) ,
550- AccountRestrictionFlags . BlockOutgoingTransactionType ,
550+ OperationRestrictionFlag . BlockOutgoingTransactionType ,
551551 [ TransactionType . ACCOUNT_KEY_LINK ] ,
552552 [ ] ,
553553 networkType ,
@@ -566,7 +566,7 @@ describe('TransactionHttp', () => {
566566 it ( 'aggregate' , ( ) => {
567567 const addressModification = AccountRestrictionTransaction . createOperationRestrictionModificationTransaction (
568568 Deadline . create ( ) ,
569- AccountRestrictionFlags . BlockOutgoingTransactionType ,
569+ OperationRestrictionFlag . BlockOutgoingTransactionType ,
570570 [ ] ,
571571 [ TransactionType . ACCOUNT_KEY_LINK ] ,
572572 networkType ,
0 commit comments