@venly/venly-core-sdk
Version:
Javascrip/Typescript SDK for Venly's Web3 Services
1,312 lines • 79.5 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.VySupportedErc20ChainDto = exports.VyTokenApiHealthDto = exports.VyErc1155TokenTypeDto = exports.VyErc1155ContractDto = exports.VyErc1155ContractMetadataDto = exports.VyCheckErc1155TokenTypeResultDto = exports.VyErc1155TokenMintDto = exports.VyUpdateErc1155ContractRoyaltiesRequest = exports.VyUpdateErc1155ContractOwnerRequest = exports.VyCreateSuiContractRequest = exports.VyDeployedErc1155ContractDto = exports.VyErc1155ContractRoyaltiesDto = exports.VyErc1155ContractMediaDto = exports.VyCreateErc1155ContractRequest = exports.VyRoyaltiesReceiverDto = exports.VyErc1155TokenImageDto = exports.VyUploadImageRequest = exports.VyErc1155TokenMediaDto = exports.VyUploadMediaRequest = exports.VyCreateSuiTokenTypeRequest = exports.VySuiTokenTypeCreationDto = exports.VyCreateErc1155TokenTypeResultDto = exports.VyErc1155TokenTypeCreationDto = exports.VyErc1155TokenTypeMintInfoDto = exports.VyCreateErc1155TokenTypeRequest = exports.VyCreateErc1155TokenTypeDto = exports.VyStorageDto = exports.VyMintErc1155TokensRequest = exports.VyMintErc1155TokensResultDto = exports.VyErc1155TokenMintInfoDto = exports.VyMintSuiTokensRequest = exports.VyMintDestinationDto = exports.VyUpdateErc1155TokenAttributeRequest = exports.VyUpdateErc1155TokenPropertyRequest = exports.VyErc1155TokenDto = exports.VyErc1155TokenMintsInfoDto = exports.VyUpdateErc1155TokenTypeMetadataRequest = exports.VyErc1155TokenAttributeDto = exports.VyAnimationUrlDto = exports.VyMetadataDto = exports.VyMetadataContractDto = exports.VyMetadataAttribute = exports.VyErc1155TokenTypeSummaryDto = exports.VyErc1155TokenTypeSupplyDto = exports.VyUpdateErc1155ContractMetadataRequest = exports.VyMediaDto = exports.VyErc1155TokenContractMetadataDto = exports.VyPageableDto = exports.VyCompanyWalletBalanceDto = exports.VySupportedErc1155ChainDto = void 0;
exports.VyUpdateErc20ContractOwnerRequest = exports.VyErc20TokenMintSummaryDto = exports.VyMintErc20TokensResultDto = exports.VyErc20TokenMintDto = exports.VyErc20TokenContractDto = exports.VyMintErc20TokensRequest = exports.VyErc20TokenDestinationDto = exports.VyDeployedErc20ContractDto = exports.VyCreateErc20ContractRequest = void 0;
const json_1 = require("../../helpers/json");
const enums = __importStar(require("../enums/index"));
const shared = __importStar(require("../shared/index"));
/**
*
*/
let VySupportedErc1155ChainDto = class VySupportedErc1155ChainDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VySupportedErc1155ChainDto = VySupportedErc1155ChainDto;
exports.VySupportedErc1155ChainDto = VySupportedErc1155ChainDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VySupportedErc1155ChainDto])
], VySupportedErc1155ChainDto);
/**
*
*/
let VyCompanyWalletBalanceDto = class VyCompanyWalletBalanceDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCompanyWalletBalanceDto = VyCompanyWalletBalanceDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyWalletBalanceDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyWalletBalanceDto.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyCompanyWalletBalanceDto.prototype, "balance", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyWalletBalanceDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCompanyWalletBalanceDto.prototype, "rawBalance", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyCompanyWalletBalanceDto.prototype, "decimals", void 0);
exports.VyCompanyWalletBalanceDto = VyCompanyWalletBalanceDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCompanyWalletBalanceDto])
], VyCompanyWalletBalanceDto);
/**
*
*/
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, "page", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyPageableDto.prototype, "size", void 0);
exports.VyPageableDto = VyPageableDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyPageableDto])
], VyPageableDto);
/**
*
*/
let VyErc1155TokenContractMetadataDto = class VyErc1155TokenContractMetadataDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenContractMetadataDto = VyErc1155TokenContractMetadataDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenContractMetadataDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenContractMetadataDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenContractMetadataDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenContractMetadataDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenContractMetadataDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [json_1.Any]),
__metadata("design:type", Array)
], VyErc1155TokenContractMetadataDto.prototype, "media", void 0);
__decorate([
(0, json_1.JsonProperty)('external_link', String),
__metadata("design:type", String)
], VyErc1155TokenContractMetadataDto.prototype, "externalLink", void 0);
exports.VyErc1155TokenContractMetadataDto = VyErc1155TokenContractMetadataDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenContractMetadataDto])
], VyErc1155TokenContractMetadataDto);
/**
*
*/
let VyMediaDto = class VyMediaDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMediaDto = VyMediaDto;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyMediaType),
__metadata("design:type", String)
], VyMediaDto.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMediaDto.prototype, "value", void 0);
exports.VyMediaDto = VyMediaDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMediaDto])
], VyMediaDto);
/**
*
*/
let VyUpdateErc1155ContractMetadataRequest = class VyUpdateErc1155ContractMetadataRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateErc1155ContractMetadataRequest = VyUpdateErc1155ContractMetadataRequest;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155ContractMetadataRequest.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155ContractMetadataRequest.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155ContractMetadataRequest.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155ContractMetadataRequest.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155ContractMetadataRequest.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyMediaDto]),
__metadata("design:type", Array)
], VyUpdateErc1155ContractMetadataRequest.prototype, "media", void 0);
exports.VyUpdateErc1155ContractMetadataRequest = VyUpdateErc1155ContractMetadataRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateErc1155ContractMetadataRequest])
], VyUpdateErc1155ContractMetadataRequest);
/**
*
*/
let VyErc1155TokenTypeSupplyDto = class VyErc1155TokenTypeSupplyDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenTypeSupplyDto = VyErc1155TokenTypeSupplyDto;
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenTypeSupplyDto.prototype, "current", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenTypeSupplyDto.prototype, "pending", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenTypeSupplyDto.prototype, "max", void 0);
exports.VyErc1155TokenTypeSupplyDto = VyErc1155TokenTypeSupplyDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenTypeSupplyDto])
], VyErc1155TokenTypeSupplyDto);
/**
*
*/
let VyErc1155TokenTypeSummaryDto = class VyErc1155TokenTypeSummaryDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenTypeSummaryDto = VyErc1155TokenTypeSummaryDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeSummaryDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeSummaryDto.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenTypeSummaryDto.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeSummaryDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeSummaryDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeSummaryDto.prototype, "imagePreview", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeSummaryDto.prototype, "imageThumbnail", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyErc1155TokenTypeSummaryDto.prototype, "fungible", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeSummaryDto.prototype, "onChainStatus", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyErc1155TokenTypeSupplyDto),
__metadata("design:type", VyErc1155TokenTypeSupplyDto)
], VyErc1155TokenTypeSummaryDto.prototype, "supply", void 0);
exports.VyErc1155TokenTypeSummaryDto = VyErc1155TokenTypeSummaryDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenTypeSummaryDto])
], VyErc1155TokenTypeSummaryDto);
/**
*
*/
let VyMetadataAttribute = class VyMetadataAttribute {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMetadataAttribute = VyMetadataAttribute;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataAttribute.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataAttribute.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataAttribute.prototype, "value", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataAttribute.prototype, "maxValue", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataAttribute.prototype, "displayType", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataAttribute.prototype, "traitType", void 0);
exports.VyMetadataAttribute = VyMetadataAttribute = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMetadataAttribute])
], VyMetadataAttribute);
/**
*
*/
let VyMetadataContractDto = class VyMetadataContractDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMetadataContractDto = VyMetadataContractDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "imageUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "externalLink", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [shared.VyTypeValueDto]),
__metadata("design:type", Array)
], VyMetadataContractDto.prototype, "media", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataContractDto.prototype, "type", void 0);
exports.VyMetadataContractDto = VyMetadataContractDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMetadataContractDto])
], VyMetadataContractDto);
/**
*
*/
let VyMetadataDto = class VyMetadataDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMetadataDto = VyMetadataDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "imagePreview", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "imageThumbnail", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "backgroundColor", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "animationUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMetadataDto.prototype, "youtubeUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [shared.VyTypeValueDto]),
__metadata("design:type", Array)
], VyMetadataDto.prototype, "animationUrls", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyMetadataAttribute]),
__metadata("design:type", Array)
], VyMetadataDto.prototype, "attributes", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyMetadataContractDto),
__metadata("design:type", VyMetadataContractDto)
], VyMetadataDto.prototype, "contract", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyMetadataDto.prototype, "fungible", void 0);
exports.VyMetadataDto = VyMetadataDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMetadataDto])
], VyMetadataDto);
/**
*
*/
let VyAnimationUrlDto = class VyAnimationUrlDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyAnimationUrlDto = VyAnimationUrlDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyAnimationUrlDto.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyAnimationUrlDto.prototype, "value", void 0);
exports.VyAnimationUrlDto = VyAnimationUrlDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyAnimationUrlDto])
], VyAnimationUrlDto);
/**
*
*/
let VyErc1155TokenAttributeDto = class VyErc1155TokenAttributeDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenAttributeDto = VyErc1155TokenAttributeDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenAttributeDto.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenAttributeDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenAttributeDto.prototype, "value", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenAttributeDto.prototype, "maxValue", void 0);
exports.VyErc1155TokenAttributeDto = VyErc1155TokenAttributeDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenAttributeDto])
], VyErc1155TokenAttributeDto);
/**
*
*/
let VyUpdateErc1155TokenTypeMetadataRequest = class VyUpdateErc1155TokenTypeMetadataRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateErc1155TokenTypeMetadataRequest = VyUpdateErc1155TokenTypeMetadataRequest;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenTypeMetadataRequest.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenTypeMetadataRequest.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenTypeMetadataRequest.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenTypeMetadataRequest.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenTypeMetadataRequest.prototype, "backgroundColor", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyAnimationUrlDto]),
__metadata("design:type", Array)
], VyUpdateErc1155TokenTypeMetadataRequest.prototype, "animationUrls", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyErc1155TokenAttributeDto]),
__metadata("design:type", Array)
], VyUpdateErc1155TokenTypeMetadataRequest.prototype, "attributes", void 0);
exports.VyUpdateErc1155TokenTypeMetadataRequest = VyUpdateErc1155TokenTypeMetadataRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateErc1155TokenTypeMetadataRequest])
], VyUpdateErc1155TokenTypeMetadataRequest);
/**
*
*/
let VyErc1155TokenMintsInfoDto = class VyErc1155TokenMintsInfoDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenMintsInfoDto = VyErc1155TokenMintsInfoDto;
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyErc1155TokenMintsInfoDto.prototype, "pending", void 0);
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyErc1155TokenMintsInfoDto.prototype, "succeeded", void 0);
__decorate([
(0, json_1.JsonProperty)(null, BigInt),
__metadata("design:type", Object)
], VyErc1155TokenMintsInfoDto.prototype, "failed", void 0);
exports.VyErc1155TokenMintsInfoDto = VyErc1155TokenMintsInfoDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenMintsInfoDto])
], VyErc1155TokenMintsInfoDto);
/**
*
*/
let VyErc1155TokenDto = class VyErc1155TokenDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenDto = VyErc1155TokenDto;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyErc1155TokenDto.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenDto.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenDto.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenDto.prototype, "tokenId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenDto.prototype, "tokenUri", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenDto.prototype, "imagePreview", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenDto.prototype, "imageThumbnail", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyErc1155TokenDto.prototype, "fungible", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyErc1155TokenMintsInfoDto),
__metadata("design:type", VyErc1155TokenMintsInfoDto)
], VyErc1155TokenDto.prototype, "mints", void 0);
exports.VyErc1155TokenDto = VyErc1155TokenDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenDto])
], VyErc1155TokenDto);
/**
*
*/
let VyUpdateErc1155TokenPropertyRequest = class VyUpdateErc1155TokenPropertyRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateErc1155TokenPropertyRequest = VyUpdateErc1155TokenPropertyRequest;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenPropertyRequest.prototype, "value", void 0);
exports.VyUpdateErc1155TokenPropertyRequest = VyUpdateErc1155TokenPropertyRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateErc1155TokenPropertyRequest])
], VyUpdateErc1155TokenPropertyRequest);
/**
*
*/
let VyUpdateErc1155TokenAttributeRequest = class VyUpdateErc1155TokenAttributeRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUpdateErc1155TokenAttributeRequest = VyUpdateErc1155TokenAttributeRequest;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyTokenAttributeType),
__metadata("design:type", String)
], VyUpdateErc1155TokenAttributeRequest.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenAttributeRequest.prototype, "value", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyUpdateErc1155TokenAttributeRequest.prototype, "maxValue", void 0);
exports.VyUpdateErc1155TokenAttributeRequest = VyUpdateErc1155TokenAttributeRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUpdateErc1155TokenAttributeRequest])
], VyUpdateErc1155TokenAttributeRequest);
/**
* Details of the transaction destination.
*/
let VyMintDestinationDto = class VyMintDestinationDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMintDestinationDto = VyMintDestinationDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMintDestinationDto.prototype, "address", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyMintDestinationDto.prototype, "amount", void 0);
exports.VyMintDestinationDto = VyMintDestinationDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMintDestinationDto])
], VyMintDestinationDto);
/**
*
*/
let VyMintSuiTokensRequest = class VyMintSuiTokensRequest {
//CStr
constructor(initializer) {
/**
* The blockchain of the contract
* @type {string}
*/
this.chain = 'SUI';
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMintSuiTokensRequest = VyMintSuiTokensRequest;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMintSuiTokensRequest.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMintSuiTokensRequest.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyMintSuiTokensRequest.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyMintDestinationDto]),
__metadata("design:type", Array)
], VyMintSuiTokensRequest.prototype, "destinations", void 0);
exports.VyMintSuiTokensRequest = VyMintSuiTokensRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMintSuiTokensRequest])
], VyMintSuiTokensRequest);
/**
*
*/
let VyErc1155TokenMintInfoDto = class VyErc1155TokenMintInfoDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenMintInfoDto = VyErc1155TokenMintInfoDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenMintInfoDto.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenMintInfoDto.prototype, "tokenId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Date),
__metadata("design:type", Date)
], VyErc1155TokenMintInfoDto.prototype, "createdOn", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyStatus),
__metadata("design:type", String)
], VyErc1155TokenMintInfoDto.prototype, "status", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenMintInfoDto.prototype, "transactionHash", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyMintDestinationDto),
__metadata("design:type", VyMintDestinationDto)
], VyErc1155TokenMintInfoDto.prototype, "destination", void 0);
exports.VyErc1155TokenMintInfoDto = VyErc1155TokenMintInfoDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenMintInfoDto])
], VyErc1155TokenMintInfoDto);
/**
*
*/
let VyMintErc1155TokensResultDto = class VyMintErc1155TokensResultDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMintErc1155TokensResultDto = VyMintErc1155TokensResultDto;
__decorate([
(0, json_1.JsonProperty)(null, [VyErc1155TokenMintInfoDto]),
__metadata("design:type", Array)
], VyMintErc1155TokensResultDto.prototype, "mints", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyMetadataDto),
__metadata("design:type", VyMetadataDto)
], VyMintErc1155TokensResultDto.prototype, "metadata", void 0);
exports.VyMintErc1155TokensResultDto = VyMintErc1155TokensResultDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMintErc1155TokensResultDto])
], VyMintErc1155TokensResultDto);
/**
*
*/
let VyMintErc1155TokensRequest = class VyMintErc1155TokensRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyMintErc1155TokensRequest = VyMintErc1155TokensRequest;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyMintErc1155TokensRequest.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyMintErc1155TokensRequest.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyMintErc1155TokensRequest.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyMintDestinationDto]),
__metadata("design:type", Array)
], VyMintErc1155TokensRequest.prototype, "destinations", void 0);
exports.VyMintErc1155TokensRequest = VyMintErc1155TokensRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyMintErc1155TokensRequest])
], VyMintErc1155TokensRequest);
/**
*
*/
let VyStorageDto = class VyStorageDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyStorageDto = VyStorageDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__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 VyCreateErc1155TokenTypeDto = class VyCreateErc1155TokenTypeDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateErc1155TokenTypeDto = VyCreateErc1155TokenTypeDto;
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyCreateErc1155TokenTypeDto.prototype, "fungible", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyCreateErc1155TokenTypeDto.prototype, "burnable", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeDto.prototype, "backgroundColor", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyAnimationUrlDto]),
__metadata("design:type", Array)
], VyCreateErc1155TokenTypeDto.prototype, "animationUrls", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyCreateErc1155TokenTypeDto.prototype, "maxSupply", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeDto.prototype, "animationUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeDto.prototype, "youtubeUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyErc1155TokenAttributeDto]),
__metadata("design:type", Array)
], VyCreateErc1155TokenTypeDto.prototype, "attributes", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyMintDestinationDto]),
__metadata("design:type", Array)
], VyCreateErc1155TokenTypeDto.prototype, "destinations", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyStorageDto),
__metadata("design:type", VyStorageDto)
], VyCreateErc1155TokenTypeDto.prototype, "storage", void 0);
exports.VyCreateErc1155TokenTypeDto = VyCreateErc1155TokenTypeDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateErc1155TokenTypeDto])
], VyCreateErc1155TokenTypeDto);
/**
*
*/
let VyCreateErc1155TokenTypeRequest = class VyCreateErc1155TokenTypeRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateErc1155TokenTypeRequest = VyCreateErc1155TokenTypeRequest;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeRequest.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155TokenTypeRequest.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyCreateErc1155TokenTypeDto]),
__metadata("design:type", Array)
], VyCreateErc1155TokenTypeRequest.prototype, "creations", void 0);
exports.VyCreateErc1155TokenTypeRequest = VyCreateErc1155TokenTypeRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateErc1155TokenTypeRequest])
], VyCreateErc1155TokenTypeRequest);
/**
*
*/
let VyErc1155TokenTypeMintInfoDto = class VyErc1155TokenTypeMintInfoDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenTypeMintInfoDto = VyErc1155TokenTypeMintInfoDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeMintInfoDto.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Date),
__metadata("design:type", Date)
], VyErc1155TokenTypeMintInfoDto.prototype, "createdOn", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeMintInfoDto.prototype, "status", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyMintDestinationDto),
__metadata("design:type", VyMintDestinationDto)
], VyErc1155TokenTypeMintInfoDto.prototype, "destination", void 0);
exports.VyErc1155TokenTypeMintInfoDto = VyErc1155TokenTypeMintInfoDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenTypeMintInfoDto])
], VyErc1155TokenTypeMintInfoDto);
/**
*
*/
let VyErc1155TokenTypeCreationDto = class VyErc1155TokenTypeCreationDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenTypeCreationDto = VyErc1155TokenTypeCreationDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeCreationDto.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenTypeCreationDto.prototype, "status", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyErc1155TokenTypeCreationDto.prototype, "tokenTypeId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyErc1155TokenTypeMintInfoDto]),
__metadata("design:type", Array)
], VyErc1155TokenTypeCreationDto.prototype, "mints", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyMetadataDto),
__metadata("design:type", VyMetadataDto)
], VyErc1155TokenTypeCreationDto.prototype, "metadata", void 0);
exports.VyErc1155TokenTypeCreationDto = VyErc1155TokenTypeCreationDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenTypeCreationDto])
], VyErc1155TokenTypeCreationDto);
/**
*
*/
let VyCreateErc1155TokenTypeResultDto = class VyCreateErc1155TokenTypeResultDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateErc1155TokenTypeResultDto = VyCreateErc1155TokenTypeResultDto;
__decorate([
(0, json_1.JsonProperty)(null, [VyErc1155TokenTypeCreationDto]),
__metadata("design:type", Array)
], VyCreateErc1155TokenTypeResultDto.prototype, "creations", void 0);
exports.VyCreateErc1155TokenTypeResultDto = VyCreateErc1155TokenTypeResultDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateErc1155TokenTypeResultDto])
], VyCreateErc1155TokenTypeResultDto);
/**
*
*/
let VySuiTokenTypeCreationDto = class VySuiTokenTypeCreationDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VySuiTokenTypeCreationDto = VySuiTokenTypeCreationDto;
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VySuiTokenTypeCreationDto.prototype, "fungible", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VySuiTokenTypeCreationDto.prototype, "burnable", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySuiTokenTypeCreationDto.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySuiTokenTypeCreationDto.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySuiTokenTypeCreationDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySuiTokenTypeCreationDto.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySuiTokenTypeCreationDto.prototype, "backgroundColor", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyAnimationUrlDto]),
__metadata("design:type", Array)
], VySuiTokenTypeCreationDto.prototype, "animationUrls", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VySuiTokenTypeCreationDto.prototype, "maxSupply", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySuiTokenTypeCreationDto.prototype, "animationUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySuiTokenTypeCreationDto.prototype, "youtubeUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyErc1155TokenAttributeDto]),
__metadata("design:type", Array)
], VySuiTokenTypeCreationDto.prototype, "attributes", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyMintDestinationDto]),
__metadata("design:type", Array)
], VySuiTokenTypeCreationDto.prototype, "destinations", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyStorageDto),
__metadata("design:type", VyStorageDto)
], VySuiTokenTypeCreationDto.prototype, "storage", void 0);
exports.VySuiTokenTypeCreationDto = VySuiTokenTypeCreationDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VySuiTokenTypeCreationDto])
], VySuiTokenTypeCreationDto);
/**
*
*/
let VyCreateSuiTokenTypeRequest = class VyCreateSuiTokenTypeRequest {
//CStr
constructor(initializer) {
/**
* The blockchain of the contract
* @type {string}
*/
this.chain = 'SUI';
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateSuiTokenTypeRequest = VyCreateSuiTokenTypeRequest;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateSuiTokenTypeRequest.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateSuiTokenTypeRequest.prototype, "contractAddress", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VySuiTokenTypeCreationDto]),
__metadata("design:type", Array)
], VyCreateSuiTokenTypeRequest.prototype, "creations", void 0);
exports.VyCreateSuiTokenTypeRequest = VyCreateSuiTokenTypeRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyCreateSuiTokenTypeRequest])
], VyCreateSuiTokenTypeRequest);
/**
*
*/
let VyUploadMediaRequest = class VyUploadMediaRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUploadMediaRequest = VyUploadMediaRequest;
__decorate([
(0, json_1.JsonProperty)(null, Buffer),
__metadata("design:type", Buffer)
], VyUploadMediaRequest.prototype, "file", void 0);
exports.VyUploadMediaRequest = VyUploadMediaRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUploadMediaRequest])
], VyUploadMediaRequest);
/**
*
*/
let VyErc1155TokenMediaDto = class VyErc1155TokenMediaDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenMediaDto = VyErc1155TokenMediaDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenMediaDto.prototype, "media", void 0);
exports.VyErc1155TokenMediaDto = VyErc1155TokenMediaDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenMediaDto])
], VyErc1155TokenMediaDto);
/**
*
*/
let VyUploadImageRequest = class VyUploadImageRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyUploadImageRequest = VyUploadImageRequest;
__decorate([
(0, json_1.JsonProperty)(null, Buffer),
__metadata("design:type", Buffer)
], VyUploadImageRequest.prototype, "file", void 0);
exports.VyUploadImageRequest = VyUploadImageRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyUploadImageRequest])
], VyUploadImageRequest);
/**
*
*/
let VyErc1155TokenImageDto = class VyErc1155TokenImageDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErc1155TokenImageDto = VyErc1155TokenImageDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenImageDto.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenImageDto.prototype, "imagePreview", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErc1155TokenImageDto.prototype, "imageThumbnail", void 0);
exports.VyErc1155TokenImageDto = VyErc1155TokenImageDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErc1155TokenImageDto])
], VyErc1155TokenImageDto);
/**
*
*/
let VyRoyaltiesReceiverDto = class VyRoyaltiesReceiverDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyRoyaltiesReceiverDto = VyRoyaltiesReceiverDto;
__decorate([
(0, json_1.JsonProperty)(null, Number),
__metadata("design:type", Number)
], VyRoyaltiesReceiverDto.prototype, "percentage", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyRoyaltiesReceiverDto.prototype, "receiver", void 0);
exports.VyRoyaltiesReceiverDto = VyRoyaltiesReceiverDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyRoyaltiesReceiverDto])
], VyRoyaltiesReceiverDto);
/**
*
*/
let VyCreateErc1155ContractRequest = class VyCreateErc1155ContractRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyCreateErc1155ContractRequest = VyCreateErc1155ContractRequest;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyChain),
__metadata("design:type", String)
], VyCreateErc1155ContractRequest.prototype, "chain", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155ContractRequest.prototype, "name", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155ContractRequest.prototype, "symbol", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155ContractRequest.prototype, "description", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155ContractRequest.prototype, "image", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155ContractRequest.prototype, "externalUrl", void 0);
__decorate([
(0, json_1.JsonProperty)(null, [VyMediaDto]),
__metadata("design:type", Array)
], VyCreateErc1155ContractRequest.prototype, "media", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyCreateErc1155ContractRequest.prototype, "owner", void 0);
__decorate([
(0, json_1.JsonProperty)(null, Boolean),
__metadata("design:type", Boolean)
], VyCreateErc1155ContractRequest.prototype