/** * 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'; /** * Rule definition for a global mosaic restriction key. * @export * @interface MosaicGlobalRestrictionEntryRestrictionDTO */ export interface MosaicGlobalRestrictionEntryRestrictionDTO { /** * Unique [mosaic](https://docs.symbol.dev/concepts/mosaic.html) identifier. * A 64-bit unsigned integer derived from the creator's address and a registration nonce, * encoded as a 16-character hexadecimal string. * * @type {string} * @memberof MosaicGlobalRestrictionEntryRestrictionDTO */ referenceMosaicId: 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 MosaicGlobalRestrictionEntryRestrictionDTO */ restrictionValue: string; /** * * @type {MosaicRestrictionTypeEnum} * @memberof MosaicGlobalRestrictionEntryRestrictionDTO */ restrictionType: MosaicRestrictionTypeEnum; } /** * Check if a given object implements the MosaicGlobalRestrictionEntryRestrictionDTO interface. */ export declare function instanceOfMosaicGlobalRestrictionEntryRestrictionDTO(value: Record): value is MosaicGlobalRestrictionEntryRestrictionDTO; export declare function MosaicGlobalRestrictionEntryRestrictionDTOFromJSON(json: any): MosaicGlobalRestrictionEntryRestrictionDTO; export declare function MosaicGlobalRestrictionEntryRestrictionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MosaicGlobalRestrictionEntryRestrictionDTO; export declare function MosaicGlobalRestrictionEntryRestrictionDTOToJSON(json: any): MosaicGlobalRestrictionEntryRestrictionDTO; export declare function MosaicGlobalRestrictionEntryRestrictionDTOToJSONTyped(value?: MosaicGlobalRestrictionEntryRestrictionDTO | null, ignoreDiscriminator?: boolean): any;