/** * 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 * as runtime from '../runtime'; import type { CompositeHashes, MerkleStateInfoDTO, MosaicRestrictionDTO, MosaicRestrictionEntryTypeEnum, MosaicRestrictionsPage, Order } from '../models/index'; export interface GetMosaicRestrictionsRequest { compositeHash: string; } export interface GetMosaicRestrictionsBatchRequest { compositeHashes: CompositeHashes; } export interface GetMosaicRestrictionsMerkleRequest { compositeHash: string; } export interface SearchMosaicRestrictionsRequest { mosaicId?: string; entryType?: MosaicRestrictionEntryTypeEnum; targetAddress?: string; pageSize?: number; pageNumber?: number; offset?: string; order?: Order; } /** * */ export declare class RestrictionMosaicRoutesApi extends runtime.BaseAPI { /** * Returns the mosaic restriction entry associated with the given composite hash. * Get mosaic restrictions */ getMosaicRestrictionsRaw(requestParameters: GetMosaicRestrictionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the mosaic restriction entry associated with the given composite hash. * Get mosaic restrictions */ getMosaicRestrictions(requestParameters: GetMosaicRestrictionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns mosaic restriction entries for the given composite hashes. * Get mosaic restrictions for an array of composite hashes */ getMosaicRestrictionsBatchRaw(requestParameters: GetMosaicRestrictionsBatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns mosaic restriction entries for the given composite hashes. * Get mosaic restrictions for an array of composite hashes */ getMosaicRestrictionsBatch(requestParameters: GetMosaicRestrictionsBatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the Merkle state proof for the mosaic restriction entry associated with the given composite hash. If no mosaic restriction entry exists for the supplied composite hash, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no mosaic restriction state entry exists for the requested composite hash. * Get mosaic restrictions Merkle information */ getMosaicRestrictionsMerkleRaw(requestParameters: GetMosaicRestrictionsMerkleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the Merkle state proof for the mosaic restriction entry associated with the given composite hash. If no mosaic restriction entry exists for the supplied composite hash, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no mosaic restriction state entry exists for the requested composite hash. * Get mosaic restrictions Merkle information */ getMosaicRestrictionsMerkle(requestParameters: GetMosaicRestrictionsMerkleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns a paginated list of mosaic restriction entries, optionally filtered by mosaic ID, entry type, and target address. * Search mosaic restrictions */ searchMosaicRestrictionsRaw(requestParameters: SearchMosaicRestrictionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a paginated list of mosaic restriction entries, optionally filtered by mosaic ID, entry type, and target address. * Search mosaic restrictions */ searchMosaicRestrictions(requestParameters?: SearchMosaicRestrictionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }