/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.4 * * * 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 { NamespaceRegistrationTypeEnum } from './NamespaceRegistrationTypeEnum'; /** * Transaction to create or renew a namespace. * @export * @interface NamespaceRegistrationTransactionDTO */ export interface NamespaceRegistrationTransactionDTO { /** * A number that allows uint 32 values. * @type {number} * @memberof NamespaceRegistrationTransactionDTO */ size: number; /** * Entity's signature generated by the signer. * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ signature: string; /** * Public key. * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ signerPublicKey: string; /** * Entity version. * @type {number} * @memberof NamespaceRegistrationTransactionDTO */ version: number; /** * * @type {NetworkTypeEnum} * @memberof NamespaceRegistrationTransactionDTO */ network: NetworkTypeEnum; /** * * @type {number} * @memberof NamespaceRegistrationTransactionDTO */ type: number; /** * Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative). * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ maxFee: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ deadline: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ duration?: string; /** * Namespace identifier. * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ parentId?: string; /** * Namespace identifier. * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ id: string; /** * * @type {NamespaceRegistrationTypeEnum} * @memberof NamespaceRegistrationTransactionDTO */ registrationType: NamespaceRegistrationTypeEnum; /** * Namespace name. * @type {string} * @memberof NamespaceRegistrationTransactionDTO */ name: string; } /** * Check if a given object implements the NamespaceRegistrationTransactionDTO interface. */ export declare function instanceOfNamespaceRegistrationTransactionDTO(value: Record): value is NamespaceRegistrationTransactionDTO; export declare function NamespaceRegistrationTransactionDTOFromJSON(json: any): NamespaceRegistrationTransactionDTO; export declare function NamespaceRegistrationTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): NamespaceRegistrationTransactionDTO; export declare function NamespaceRegistrationTransactionDTOToJSON(json: any): NamespaceRegistrationTransactionDTO; export declare function NamespaceRegistrationTransactionDTOToJSONTyped(value?: NamespaceRegistrationTransactionDTO | null, ignoreDiscriminator?: boolean): any;