@venly/venly-core-sdk
Version:
Javascrip/Typescript SDK for Venly's Web3 Services
1,378 lines • 57.3 kB
JavaScript
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.VyResponseEnvelope = exports.VyPaginationDto = exports.VyTokenTypeDto = exports.VyTokenDto = exports.VyTokenContractDto = exports.VyTokenMintStatusDto = exports.VyDeployedContractDto = exports.VyCreateContractDto = exports.VyJsonNodeTokenContractViewV2 = exports.VyTokenImageDto = exports.VyAddNftImageRequest = exports.VyTokenMediaDto = exports.VyAddMediaRequest = exports.VyTokenTypeCreationStatusDto = exports.VyTokenTypeCreationDetailView = exports.VyCreateTokenTypeDto = exports.VyTokenTypeCreationDto = exports.VyStorageDto = exports.VyMintTokensResponseDto = exports.VyMintTokensDto = exports.VyPagedTokenMintResponseDto = exports.VyTokenMintResponseDto = exports.VyTokenDestinationDto = exports.VyMinterWalletDto = exports.VyDeployerWalletDto = exports.VyCompanyMinterWalletDto = exports.VyCompanyWalletBase = exports.VyCreateCompanyWalletOneOf = exports.VyCreateCompanyWalletRequest = exports.VyPageableDto = exports.VyPagedOrgWalletBalanceDto = exports.VyPageableObjectDto = exports.VySortingDto = exports.VyOrgWalletBalanceDto = exports.VyUpdateTokenAttributeDto = exports.VyUpdateTokenPropertyDto = exports.VyTokenSummaryDto = exports.VyTokenMintsInfoDto = exports.VyUpdateTokenTypeMetadataDto = exports.VyTokenAttributeDto = exports.VyMetadataDto = exports.VyTokenTypeSummaryDto = exports.VyUpdateContractMetadataDto = exports.VyTokenContractMetadataDto = exports.VyTokenContractSummaryDto = exports.VyHealthCheckNftv2Response = void 0;
const json_1 = require("../../helpers/json");
const enums = __importStar(require("../enums/index"));
const shared = __importStar(require("../shared/index"));
const converters = __importStar(require("./VyConverters.Nft.generated"));
/**
*
*/
let VyHealthCheckNftv2Response = class VyHealthCheckNftv2Response {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyHealthCheckNftv2Response = VyHealthCheckNftv2Response;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyHealthCheckNftv2Response.prototype, "status", void 0);
exports.VyHealthCheckNftv2Response = VyHealthCheckNftv2Response = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyHealthCheckNftv2Response])
], VyHealthCheckNftv2Response);
/**
*
*/
let VyTokenContractSummaryDto = class VyTokenContractSummaryDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenContractSummaryDto = VyTokenContractSummaryDto;
__decorate([
(0, json_1.JsonProperty)('secretType', enums.VyChain),
__metadata("design:type", String)
], VyTokenContractSummaryDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractSummaryDto.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractSummaryDto.prototype, "contractUri", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractSummaryDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractSummaryDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractSummaryDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyOnChainState),
__metadata("design:type", String)
], VyTokenContractSummaryDto.prototype, "onChainStatus", void 0);
exports.VyTokenContractSummaryDto = VyTokenContractSummaryDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenContractSummaryDto])
], VyTokenContractSummaryDto);
/**
*
*/
let VyTokenContractMetadataDto = class VyTokenContractMetadataDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenContractMetadataDto = VyTokenContractMetadataDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractMetadataDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractMetadataDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractMetadataDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractMetadataDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenContractMetadataDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [shared.VyTypeValueDto]),
__metadata("design:type", Array)
], VyTokenContractMetadataDto.prototype, "media", void 0);
__decorate([
(0, json_1.JsonProperty)('external_link', String),
__metadata("design:type", String)
], VyTokenContractMetadataDto.prototype, "externalLink", void 0);
exports.VyTokenContractMetadataDto = VyTokenContractMetadataDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenContractMetadataDto])
], VyTokenContractMetadataDto);
/**
*
*/
let VyUpdateContractMetadataDto = class VyUpdateContractMetadataDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateContractMetadataDto = VyUpdateContractMetadataDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateContractMetadataDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateContractMetadataDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateContractMetadataDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateContractMetadataDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateContractMetadataDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [shared.VyTypeValueDto]),
__metadata("design:type", Array)
], VyUpdateContractMetadataDto.prototype, "media", void 0);
exports.VyUpdateContractMetadataDto = VyUpdateContractMetadataDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateContractMetadataDto])
], VyUpdateContractMetadataDto);
/**
*
*/
let VyTokenTypeSummaryDto = class VyTokenTypeSummaryDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenTypeSummaryDto = VyTokenTypeSummaryDto;
__decorate([
(0, json_1.JsonProperty)('secretType', enums.VyChain),
__metadata("design:type", String)
], VyTokenTypeSummaryDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeSummaryDto.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyTokenTypeSummaryDto.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeSummaryDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeSummaryDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeSummaryDto.prototype, "imagePreview", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeSummaryDto.prototype, "imageThumbnail", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyTokenTypeSummaryDto.prototype, "fungible", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyStatus),
__metadata("design:type", String)
], VyTokenTypeSummaryDto.prototype, "onChainStatus", void 0);
exports.VyTokenTypeSummaryDto = VyTokenTypeSummaryDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenTypeSummaryDto])
], VyTokenTypeSummaryDto);
/**
*
*/
let VyMetadataDto = class VyMetadataDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMetadataDto = VyMetadataDto;
exports.VyMetadataDto = VyMetadataDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMetadataDto])
], VyMetadataDto);
/**
*
*/
let VyTokenAttributeDto = class VyTokenAttributeDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenAttributeDto = VyTokenAttributeDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenAttributeDto.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenAttributeDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenAttributeDto.prototype, "value", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenAttributeDto.prototype, "maxValue", void 0);
exports.VyTokenAttributeDto = VyTokenAttributeDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenAttributeDto])
], VyTokenAttributeDto);
/**
*
*/
let VyUpdateTokenTypeMetadataDto = class VyUpdateTokenTypeMetadataDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateTokenTypeMetadataDto = VyUpdateTokenTypeMetadataDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenTypeMetadataDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenTypeMetadataDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenTypeMetadataDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenTypeMetadataDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenTypeMetadataDto.prototype, "backgroundColor", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [shared.VyTypeValueDto]),
__metadata("design:type", Array)
], VyUpdateTokenTypeMetadataDto.prototype, "animationUrls", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenAttributeDto]),
__metadata("design:type", Array)
], VyUpdateTokenTypeMetadataDto.prototype, "attributes", void 0);
exports.VyUpdateTokenTypeMetadataDto = VyUpdateTokenTypeMetadataDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateTokenTypeMetadataDto])
], VyUpdateTokenTypeMetadataDto);
/**
*
*/
let VyTokenMintsInfoDto = class VyTokenMintsInfoDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenMintsInfoDto = VyTokenMintsInfoDto;
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyTokenMintsInfoDto.prototype, "pending", void 0);
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyTokenMintsInfoDto.prototype, "succeeded", void 0);
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyTokenMintsInfoDto.prototype, "failed", void 0);
exports.VyTokenMintsInfoDto = VyTokenMintsInfoDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenMintsInfoDto])
], VyTokenMintsInfoDto);
/**
*
*/
let VyTokenSummaryDto = class VyTokenSummaryDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenSummaryDto = VyTokenSummaryDto;
__decorate([
(0, json_1.JsonProperty)('secretType', enums.VyChain),
__metadata("design:type", String)
], VyTokenSummaryDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenSummaryDto.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyTokenSummaryDto.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyTokenSummaryDto.prototype, "tokenId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenSummaryDto.prototype, "tokenUri", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenSummaryDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenSummaryDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenSummaryDto.prototype, "imagePreview", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenSummaryDto.prototype, "imageThumbnail", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyTokenSummaryDto.prototype, "fungible", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyTokenMintsInfoDto),
__metadata("design:type", VyTokenMintsInfoDto)
], VyTokenSummaryDto.prototype, "mints", void 0);
exports.VyTokenSummaryDto = VyTokenSummaryDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenSummaryDto])
], VyTokenSummaryDto);
/**
*
*/
let VyUpdateTokenPropertyDto = class VyUpdateTokenPropertyDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateTokenPropertyDto = VyUpdateTokenPropertyDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenPropertyDto.prototype, "value", void 0);
exports.VyUpdateTokenPropertyDto = VyUpdateTokenPropertyDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateTokenPropertyDto])
], VyUpdateTokenPropertyDto);
/**
*
*/
let VyUpdateTokenAttributeDto = class VyUpdateTokenAttributeDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateTokenAttributeDto = VyUpdateTokenAttributeDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenAttributeDto.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenAttributeDto.prototype, "value", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateTokenAttributeDto.prototype, "maxValue", void 0);
exports.VyUpdateTokenAttributeDto = VyUpdateTokenAttributeDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateTokenAttributeDto])
], VyUpdateTokenAttributeDto);
/**
*
*/
let VyOrgWalletBalanceDto = class VyOrgWalletBalanceDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyOrgWalletBalanceDto = VyOrgWalletBalanceDto;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyOrgWalletBalanceDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyOrgWalletBalanceDto.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyOrgWalletBalanceDto.prototype, "balance", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyOrgWalletBalanceDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyOrgWalletBalanceDto.prototype, "rawBalance", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyOrgWalletBalanceDto.prototype, "decimals", void 0);
exports.VyOrgWalletBalanceDto = VyOrgWalletBalanceDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyOrgWalletBalanceDto])
], VyOrgWalletBalanceDto);
/**
*
*/
let VySortingDto = class VySortingDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VySortingDto = VySortingDto;
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VySortingDto.prototype, "empty", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VySortingDto.prototype, "unsorted", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VySortingDto.prototype, "sorted", void 0);
exports.VySortingDto = VySortingDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VySortingDto])
], VySortingDto);
/**
*
*/
let VyPageableObjectDto = class VyPageableObjectDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyPageableObjectDto = VyPageableObjectDto;
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyPageableObjectDto.prototype, "offset", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VySortingDto),
__metadata("design:type", VySortingDto)
], VyPageableObjectDto.prototype, "sort", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPageableObjectDto.prototype, "unpaged", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPageableObjectDto.prototype, "paged", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPageableObjectDto.prototype, "pageNumber", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPageableObjectDto.prototype, "pageSize", void 0);
exports.VyPageableObjectDto = VyPageableObjectDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyPageableObjectDto])
], VyPageableObjectDto);
/**
*
*/
let VyPagedOrgWalletBalanceDto = class VyPagedOrgWalletBalanceDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyPagedOrgWalletBalanceDto = VyPagedOrgWalletBalanceDto;
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedOrgWalletBalanceDto.prototype, "totalPages", void 0);
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyPagedOrgWalletBalanceDto.prototype, "totalElements", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedOrgWalletBalanceDto.prototype, "size", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyOrgWalletBalanceDto]),
__metadata("design:type", Array)
], VyPagedOrgWalletBalanceDto.prototype, "content", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedOrgWalletBalanceDto.prototype, "number", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VySortingDto),
__metadata("design:type", VySortingDto)
], VyPagedOrgWalletBalanceDto.prototype, "sort", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyPageableObjectDto),
__metadata("design:type", VyPageableObjectDto)
], VyPagedOrgWalletBalanceDto.prototype, "pageable", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedOrgWalletBalanceDto.prototype, "numberOfElements", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPagedOrgWalletBalanceDto.prototype, "first", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPagedOrgWalletBalanceDto.prototype, "last", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPagedOrgWalletBalanceDto.prototype, "empty", void 0);
exports.VyPagedOrgWalletBalanceDto = VyPagedOrgWalletBalanceDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyPagedOrgWalletBalanceDto])
], VyPagedOrgWalletBalanceDto);
/**
*
*/
let VyPageableDto = class VyPageableDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyPageableDto = VyPageableDto;
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPageableDto.prototype, "pageNumber", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPageableDto.prototype, "pageSize", void 0);
exports.VyPageableDto = VyPageableDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyPageableDto])
], VyPageableDto);
/**
*
*/
let VyCreateCompanyWalletRequest = class VyCreateCompanyWalletRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateCompanyWalletRequest = VyCreateCompanyWalletRequest;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyCreateCompanyWalletRequest.prototype, "chain", void 0);
exports.VyCreateCompanyWalletRequest = VyCreateCompanyWalletRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateCompanyWalletRequest])
], VyCreateCompanyWalletRequest);
/**
*
*/
let VyCreateCompanyWalletOneOf = class VyCreateCompanyWalletOneOf {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateCompanyWalletOneOf = VyCreateCompanyWalletOneOf;
exports.VyCreateCompanyWalletOneOf = VyCreateCompanyWalletOneOf = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateCompanyWalletOneOf])
], VyCreateCompanyWalletOneOf);
/**
*
*/
let VyCompanyWalletBase = class VyCompanyWalletBase {
//Base CStr
constructor(_type, initializer) {
if (initializer != null)
Object.assign(this, initializer);
if (_type != null)
this.type = _type;
}
};
exports.VyCompanyWalletBase = VyCompanyWalletBase;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyWalletBase.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyCompanyWalletBase.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyWalletBase.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyWalletBase.prototype, "walletId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyCompanyWalletType),
__metadata("design:type", String)
], VyCompanyWalletBase.prototype, "type", void 0);
exports.VyCompanyWalletBase = VyCompanyWalletBase = __decorate([
(0, json_1.JsonObject)(converters.VyCompanyWalletBaseConverter),
__metadata("design:paramtypes", [String, VyCompanyWalletBase])
], VyCompanyWalletBase);
/**
*
*/
let VyCompanyMinterWalletDto = class VyCompanyMinterWalletDto extends VyCompanyWalletBase {
//[FIXME] discriminator value
//CStr
constructor(initializer) {
super(null);
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCompanyMinterWalletDto = VyCompanyMinterWalletDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyMinterWalletDto.prototype, "companyId", void 0);
exports.VyCompanyMinterWalletDto = VyCompanyMinterWalletDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [Object])
], VyCompanyMinterWalletDto);
/**
*
*/
let VyDeployerWalletDto = class VyDeployerWalletDto extends VyCompanyWalletBase {
//CStr
constructor(initializer) {
super(enums.VyCompanyWalletType.Deployer);
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyDeployerWalletDto = VyDeployerWalletDto;
exports.VyDeployerWalletDto = VyDeployerWalletDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [Object])
], VyDeployerWalletDto);
/**
*
*/
let VyMinterWalletDto = class VyMinterWalletDto extends VyCompanyWalletBase {
//CStr
constructor(initializer) {
super(enums.VyCompanyWalletType.Minter);
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMinterWalletDto = VyMinterWalletDto;
exports.VyMinterWalletDto = VyMinterWalletDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [Object])
], VyMinterWalletDto);
/**
*
*/
let VyTokenDestinationDto = class VyTokenDestinationDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenDestinationDto = VyTokenDestinationDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenDestinationDto.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyTokenDestinationDto.prototype, "amount", void 0);
exports.VyTokenDestinationDto = VyTokenDestinationDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenDestinationDto])
], VyTokenDestinationDto);
/**
*
*/
let VyTokenMintResponseDto = class VyTokenMintResponseDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenMintResponseDto = VyTokenMintResponseDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenMintResponseDto.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyTokenMintResponseDto.prototype, "tokenId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Date),
__metadata("design:type", Date)
], VyTokenMintResponseDto.prototype, "createdOn", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyStatus),
__metadata("design:type", String)
], VyTokenMintResponseDto.prototype, "status", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenMintResponseDto.prototype, "transactionHash", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyTokenDestinationDto),
__metadata("design:type", VyTokenDestinationDto)
], VyTokenMintResponseDto.prototype, "destination", void 0);
exports.VyTokenMintResponseDto = VyTokenMintResponseDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenMintResponseDto])
], VyTokenMintResponseDto);
/**
*
*/
let VyPagedTokenMintResponseDto = class VyPagedTokenMintResponseDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyPagedTokenMintResponseDto = VyPagedTokenMintResponseDto;
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedTokenMintResponseDto.prototype, "totalPages", void 0);
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyPagedTokenMintResponseDto.prototype, "totalElements", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedTokenMintResponseDto.prototype, "size", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenMintResponseDto]),
__metadata("design:type", Array)
], VyPagedTokenMintResponseDto.prototype, "content", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedTokenMintResponseDto.prototype, "number", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VySortingDto),
__metadata("design:type", VySortingDto)
], VyPagedTokenMintResponseDto.prototype, "sort", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyPageableObjectDto),
__metadata("design:type", VyPageableObjectDto)
], VyPagedTokenMintResponseDto.prototype, "pageable", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPagedTokenMintResponseDto.prototype, "numberOfElements", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPagedTokenMintResponseDto.prototype, "first", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPagedTokenMintResponseDto.prototype, "last", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyPagedTokenMintResponseDto.prototype, "empty", void 0);
exports.VyPagedTokenMintResponseDto = VyPagedTokenMintResponseDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyPagedTokenMintResponseDto])
], VyPagedTokenMintResponseDto);
/**
*
*/
let VyMintTokensDto = class VyMintTokensDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMintTokensDto = VyMintTokensDto;
__decorate([
(0, json_1.JsonProperty)('secretType', enums.VyChain),
__metadata("design:type", String)
], VyMintTokensDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMintTokensDto.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyMintTokensDto.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenDestinationDto]),
__metadata("design:type", Array)
], VyMintTokensDto.prototype, "destinations", void 0);
exports.VyMintTokensDto = VyMintTokensDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMintTokensDto])
], VyMintTokensDto);
/**
*
*/
let VyMintTokensResponseDto = class VyMintTokensResponseDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMintTokensResponseDto = VyMintTokensResponseDto;
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenMintResponseDto]),
__metadata("design:type", Array)
], VyMintTokensResponseDto.prototype, "mints", void 0);
__decorate([
(0, json_1.JsonProperty)(null, json_1.Any),
__metadata("design:type", json_1.Any)
], VyMintTokensResponseDto.prototype, "metadata", void 0);
exports.VyMintTokensResponseDto = VyMintTokensResponseDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMintTokensResponseDto])
], VyMintTokensResponseDto);
/**
*
*/
let VyStorageDto = class VyStorageDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyStorageDto = VyStorageDto;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyStorageType),
__metadata("design:type", String)
], VyStorageDto.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyStorageDto.prototype, "location", void 0);
exports.VyStorageDto = VyStorageDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyStorageDto])
], VyStorageDto);
/**
*
*/
let VyTokenTypeCreationDto = class VyTokenTypeCreationDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenTypeCreationDto = VyTokenTypeCreationDto;
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyTokenTypeCreationDto.prototype, "fungible", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyTokenTypeCreationDto.prototype, "burnable", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDto.prototype, "backgroundColor", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [shared.VyTypeValueDto]),
__metadata("design:type", Array)
], VyTokenTypeCreationDto.prototype, "animationUrls", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyTokenTypeCreationDto.prototype, "maxSupply", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDto.prototype, "animationUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDto.prototype, "youtubeUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenAttributeDto]),
__metadata("design:type", Array)
], VyTokenTypeCreationDto.prototype, "attributes", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenDestinationDto]),
__metadata("design:type", Array)
], VyTokenTypeCreationDto.prototype, "destinations", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyStorageDto),
__metadata("design:type", VyStorageDto)
], VyTokenTypeCreationDto.prototype, "storage", void 0);
exports.VyTokenTypeCreationDto = VyTokenTypeCreationDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenTypeCreationDto])
], VyTokenTypeCreationDto);
/**
*
*/
let VyCreateTokenTypeDto = class VyCreateTokenTypeDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateTokenTypeDto = VyCreateTokenTypeDto;
__decorate([
(0, json_1.JsonProperty)('secretType', enums.VyChain),
__metadata("design:type", String)
], VyCreateTokenTypeDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateTokenTypeDto.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenTypeCreationDto]),
__metadata("design:type", Array)
], VyCreateTokenTypeDto.prototype, "creations", void 0);
exports.VyCreateTokenTypeDto = VyCreateTokenTypeDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateTokenTypeDto])
], VyCreateTokenTypeDto);
/**
*
*/
let VyTokenTypeCreationDetailView = class VyTokenTypeCreationDetailView {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenTypeCreationDetailView = VyTokenTypeCreationDetailView;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDetailView.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyStatus),
__metadata("design:type", String)
], VyTokenTypeCreationDetailView.prototype, "status", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDetailView.prototype, "transactionHash", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyTokenTypeCreationDetailView.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenMintResponseDto]),
__metadata("design:type", Array)
], VyTokenTypeCreationDetailView.prototype, "mints", void 0);
__decorate([
(0, json_1.JsonProperty)(null, json_1.Any),
__metadata("design:type", json_1.Any)
], VyTokenTypeCreationDetailView.prototype, "metadata", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenTypeCreationDetailView.prototype, "errorMessage", void 0);
exports.VyTokenTypeCreationDetailView = VyTokenTypeCreationDetailView = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenTypeCreationDetailView])
], VyTokenTypeCreationDetailView);
/**
*
*/
let VyTokenTypeCreationStatusDto = class VyTokenTypeCreationStatusDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenTypeCreationStatusDto = VyTokenTypeCreationStatusDto;
__decorate([
(0, json_1.JsonProperty)(null, [VyTokenTypeCreationDetailView]),
__metadata("design:type", Array)
], VyTokenTypeCreationStatusDto.prototype, "creations", void 0);
exports.VyTokenTypeCreationStatusDto = VyTokenTypeCreationStatusDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenTypeCreationStatusDto])
], VyTokenTypeCreationStatusDto);
/**
*
*/
let VyAddMediaRequest = class VyAddMediaRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyAddMediaRequest = VyAddMediaRequest;
__decorate([
(0, json_1.JsonProperty)(null, Buffer),
__metadata("design:type", Buffer)
], VyAddMediaRequest.prototype, "file", void 0);
exports.VyAddMediaRequest = VyAddMediaRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyAddMediaRequest])
], VyAddMediaRequest);
/**
*
*/
let VyTokenMediaDto = class VyTokenMediaDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenMediaDto = VyTokenMediaDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenMediaDto.prototype, "media", void 0);
exports.VyTokenMediaDto = VyTokenMediaDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenMediaDto])
], VyTokenMediaDto);
/**
*
*/
let VyAddNftImageRequest = class VyAddNftImageRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyAddNftImageRequest = VyAddNftImageRequest;
__decorate([
(0, json_1.JsonProperty)(null, Buffer),
__metadata("design:type", Buffer)
], VyAddNftImageRequest.prototype, "file", void 0);
exports.VyAddNftImageRequest = VyAddNftImageRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyAddNftImageRequest])
], VyAddNftImageRequest);
/**
*
*/
let VyTokenImageDto = class VyTokenImageDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenImageDto = VyTokenImageDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenImageDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenImageDto.prototype, "imagePreview", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenImageDto.prototype, "imageThumbnail", void 0);
exports.VyTokenImageDto = VyTokenImageDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTokenImageDto])
], VyTokenImageDto);
/**
*
*/
let VyJsonNodeTokenContractViewV2 = class VyJsonNodeTokenContractViewV2 {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyJsonNodeTokenContractViewV2 = VyJsonNodeTokenContractViewV2;
exports.VyJsonNodeTokenContractViewV2 = VyJsonNodeTokenContractViewV2 = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyJsonNodeTokenContractViewV2])
], VyJsonNodeTokenContractViewV2);
/**
*
*/
let VyCreateContractDto = class VyCreateContractDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateContractDto = VyCreateContractDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateContractDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateContractDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateContractDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateContractDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateContractDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, json_1.Any),
__metadata("design:type", json_1.Any)
], VyCreateContractDto.prototype, "media", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateContractDto.prototype, "owner", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyCreateContractDto.prototype, "autoApprovedAddressesLocked", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyStorageDto),
__metadata("design:type", VyStorageDto)
], VyCreateContractDto.prototype, "storage", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyCreateContractDto.prototype, "chain", void 0);
exports.VyCreateContractDto = VyCreateContractDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateContractDto])
], VyCreateContractDto);
/**
*
*/
let VyDeployedContractDto = class VyDeployedContractDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyDeployedContractDto = VyDeployedContractDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)('secretType', enums.VyChain),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [shared.VyTypeValueDto]),
__metadata("design:type", Array)
], VyDeployedContractDto.prototype, "media", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "transactionHash", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyOnChainState),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "status", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "owner", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyStorageDto),
__metadata("design:type", VyStorageDto)
], VyDeployedContractDto.prototype, "storage", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "contractUri", void 0);
__decorate([
(0, json_1.JsonProperty)('external_link', String),
__metadata("design:type", String)
], VyDeployedContractDto.prototype, "externalLink", void 0);
exports.VyDeployedContractDto = VyDeployedContractDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyDeployedContractDto])
], VyDeployedContractDto);
/**
*
*/
let VyTokenMintStatusDto = class VyTokenMintStatusDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTokenMintStatusDto = VyTokenMintStatusDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTokenMintStatusDto.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyTokenMintStatusDto.prototype, "tokenId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Date),
__metadata("design:type", Date)
], VyTokenMintStatusDto.prototype, "createdOn", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyStatus