/** * 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. */ import type { NetworkTypeEnum } from './NetworkTypeEnum'; import type { MosaicRestrictionTypeEnum } from './MosaicRestrictionTypeEnum'; /** * Embedded transaction variant of `MosaicGlobalRestrictionTransactionDTO`. * @export * @interface EmbeddedMosaicGlobalRestrictionTransactionDTO */ export interface EmbeddedMosaicGlobalRestrictionTransactionDTO { /** * 256-bit public key encoded as a hexadecimal string (64 hex characters). * @type {string} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ signerPublicKey: string; /** * Entity version. Indicates the schema variant for serialization and validation. * @type {number} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ version: number; /** * Network type (mainnet or testnet). Ensures the entity targets the correct network. * @type {NetworkTypeEnum} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ network: NetworkTypeEnum; /** * Entity type identifier (e.g. transaction type code, block type). Determines the entity schema. * @type {number} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ type: number; /** * Unresolved mosaic identifier. * If the most significant bit of byte 0 is set, the value contains a namespace ID alias * instead of a concrete mosaic ID. * * @type {string} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ mosaicId: string; /** * Unresolved mosaic identifier. * If the most significant bit of byte 0 is set, the value contains a namespace ID alias * instead of a concrete mosaic ID. * * @type {string} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ referenceMosaicId: string; /** * Restriction key represented as a 64-bit hexadecimal value. * @type {string} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ restrictionKey: string; /** * Unsigned 64-bit value associated with a mosaic restriction key, represented as a decimal string. * For address restrictions, it is the value assigned to the target address; * for global restrictions, it is the threshold evaluated with the restriction type. * * @type {string} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ previousRestrictionValue: string; /** * Unsigned 64-bit value associated with a mosaic restriction key, represented as a decimal string. * For address restrictions, it is the value assigned to the target address; * for global restrictions, it is the threshold evaluated with the restriction type. * * @type {string} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ newRestrictionValue: string; /** * * @type {MosaicRestrictionTypeEnum} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ previousRestrictionType: MosaicRestrictionTypeEnum; /** * * @type {MosaicRestrictionTypeEnum} * @memberof EmbeddedMosaicGlobalRestrictionTransactionDTO */ newRestrictionType: MosaicRestrictionTypeEnum; } /** * Check if a given object implements the EmbeddedMosaicGlobalRestrictionTransactionDTO interface. */ export declare function instanceOfEmbeddedMosaicGlobalRestrictionTransactionDTO(value: Record): value is EmbeddedMosaicGlobalRestrictionTransactionDTO; export declare function EmbeddedMosaicGlobalRestrictionTransactionDTOFromJSON(json: any): EmbeddedMosaicGlobalRestrictionTransactionDTO; export declare function EmbeddedMosaicGlobalRestrictionTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedMosaicGlobalRestrictionTransactionDTO; export declare function EmbeddedMosaicGlobalRestrictionTransactionDTOToJSON(json: any): EmbeddedMosaicGlobalRestrictionTransactionDTO; export declare function EmbeddedMosaicGlobalRestrictionTransactionDTOToJSONTyped(value?: EmbeddedMosaicGlobalRestrictionTransactionDTO | null, ignoreDiscriminator?: boolean): any;