/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The value is a **bitwise OR** of protocol flags (one **restriction type**, then optional modifiers): * * - **Restriction type** (pick one): **Address** `0x0001`, **MosaicId** `0x0002`, **TransactionType** `0x0004`. * - **Outgoing** `0x4000` (optional): restriction applies to transactions **from** this account; omit it for **incoming**. * - **Block** `0x8000` (optional): **block** listed values; omit it for **allow** lists. * * **Example:** block outgoing transactions of a given * type = `Block` + `Outgoing` + `TransactionType` -> `0x8000 | 0x4000 | 0x0004` = `0xC004` = **49156**. * * All values accepted on-chain (other OR combinations are rejected by the node): * - `0x0001` (`1`): Allow only incoming transactions from a given address. * - `0x0002` (`2`): Allow only incoming transactions containing a given mosaic ID. * - `0x4001` (`16385`): Allow only outgoing transactions to a given address. * - `0x4004` (`16388`): Allow only outgoing transactions with a given transaction type. * - `0x8001` (`32769`): Block incoming transactions from a given address. * - `0x8002` (`32770`): Block incoming transactions containing a given mosaic ID. * - `0xC001` (`49153`): Block outgoing transactions to a given address. * - `0xC004` (`49156`): Block outgoing transactions with a given transaction type. * * @export */ export declare const AccountRestrictionFlagsEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_16385: 16385; readonly NUMBER_16388: 16388; readonly NUMBER_32769: 32769; readonly NUMBER_32770: 32770; readonly NUMBER_49153: 49153; readonly NUMBER_49156: 49156; }; export type AccountRestrictionFlagsEnum = typeof AccountRestrictionFlagsEnum[keyof typeof AccountRestrictionFlagsEnum]; export declare function instanceOfAccountRestrictionFlagsEnum(value: any): boolean; export declare function AccountRestrictionFlagsEnumFromJSON(json: any): AccountRestrictionFlagsEnum; export declare function AccountRestrictionFlagsEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountRestrictionFlagsEnum; export declare function AccountRestrictionFlagsEnumToJSON(value?: AccountRestrictionFlagsEnum | null): any; export declare function AccountRestrictionFlagsEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AccountRestrictionFlagsEnum;