/** * 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 { MosaicRestrictionTypeEnum } from './MosaicRestrictionTypeEnum'; /** * Mosaic global restriction transaction body that defines the rule and reference value for a restriction key. * @export * @interface MosaicGlobalRestrictionTransactionBodyDTO */ export interface MosaicGlobalRestrictionTransactionBodyDTO { /** * 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 MosaicGlobalRestrictionTransactionBodyDTO */ 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 MosaicGlobalRestrictionTransactionBodyDTO */ referenceMosaicId: string; /** * Restriction key represented as a 64-bit hexadecimal value. * @type {string} * @memberof MosaicGlobalRestrictionTransactionBodyDTO */ 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 MosaicGlobalRestrictionTransactionBodyDTO */ 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 MosaicGlobalRestrictionTransactionBodyDTO */ newRestrictionValue: string; /** * * @type {MosaicRestrictionTypeEnum} * @memberof MosaicGlobalRestrictionTransactionBodyDTO */ previousRestrictionType: MosaicRestrictionTypeEnum; /** * * @type {MosaicRestrictionTypeEnum} * @memberof MosaicGlobalRestrictionTransactionBodyDTO */ newRestrictionType: MosaicRestrictionTypeEnum; } /** * Check if a given object implements the MosaicGlobalRestrictionTransactionBodyDTO interface. */ export declare function instanceOfMosaicGlobalRestrictionTransactionBodyDTO(value: Record): value is MosaicGlobalRestrictionTransactionBodyDTO; export declare function MosaicGlobalRestrictionTransactionBodyDTOFromJSON(json: any): MosaicGlobalRestrictionTransactionBodyDTO; export declare function MosaicGlobalRestrictionTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MosaicGlobalRestrictionTransactionBodyDTO; export declare function MosaicGlobalRestrictionTransactionBodyDTOToJSON(json: any): MosaicGlobalRestrictionTransactionBodyDTO; export declare function MosaicGlobalRestrictionTransactionBodyDTOToJSONTyped(value?: MosaicGlobalRestrictionTransactionBodyDTO | null, ignoreDiscriminator?: boolean): any;