@venly/venly-core-sdk
Version:
Javascrip/Typescript SDK for Venly's Web3 Services
257 lines • 9.2 kB
JavaScript
;
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.VyWebhookDto = exports.VyApiKeyAuthCredentialsDto = exports.VyBasicAuthCredentialsDto = exports.VyAuthenticationMethodRequest = exports.VyErrorBody = exports.VySortDto = exports.VySortOrderDto = exports.VyTypeValueDto = exports.VyJsonNode = void 0;
const json_1 = require("../../helpers/json");
const enums = __importStar(require("../enums/index"));
/**
*
*/
let VyJsonNode = class VyJsonNode {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyJsonNode = VyJsonNode;
exports.VyJsonNode = VyJsonNode = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyJsonNode])
], VyJsonNode);
/**
*
*/
let VyTypeValueDto = class VyTypeValueDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyTypeValueDto = VyTypeValueDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTypeValueDto.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyTypeValueDto.prototype, "value", void 0);
exports.VyTypeValueDto = VyTypeValueDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyTypeValueDto])
], VyTypeValueDto);
/**
*
*/
let VySortOrderDto = class VySortOrderDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VySortOrderDto = VySortOrderDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VySortOrderDto.prototype, "property", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VySortType),
__metadata("design:type", String)
], VySortOrderDto.prototype, "direction", void 0);
exports.VySortOrderDto = VySortOrderDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VySortOrderDto])
], VySortOrderDto);
/**
*
*/
let VySortDto = class VySortDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VySortDto = VySortDto;
__decorate([
(0, json_1.JsonProperty)(null, [VySortOrderDto]),
__metadata("design:type", Array)
], VySortDto.prototype, "orders", void 0);
exports.VySortDto = VySortDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VySortDto])
], VySortDto);
/**
*
*/
let VyErrorBody = class VyErrorBody {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyErrorBody = VyErrorBody;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErrorBody.prototype, "errorCode", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyErrorBody.prototype, "errorMessage", void 0);
exports.VyErrorBody = VyErrorBody = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyErrorBody])
], VyErrorBody);
/**
*
*/
let VyAuthenticationMethodRequest = class VyAuthenticationMethodRequest {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyAuthenticationMethodRequest = VyAuthenticationMethodRequest;
__decorate([
(0, json_1.JsonProperty)(null, enums.VyAuthenticationMethodType),
__metadata("design:type", String)
], VyAuthenticationMethodRequest.prototype, "type", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyAuthenticationMethodRequest.prototype, "username", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyAuthenticationMethodRequest.prototype, "password", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyAuthenticationMethodRequest.prototype, "headerName", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyAuthenticationMethodRequest.prototype, "apiKey", void 0);
exports.VyAuthenticationMethodRequest = VyAuthenticationMethodRequest = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyAuthenticationMethodRequest])
], VyAuthenticationMethodRequest);
/**
*
*/
let VyBasicAuthCredentialsDto = class VyBasicAuthCredentialsDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyBasicAuthCredentialsDto = VyBasicAuthCredentialsDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyBasicAuthCredentialsDto.prototype, "username", void 0);
exports.VyBasicAuthCredentialsDto = VyBasicAuthCredentialsDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyBasicAuthCredentialsDto])
], VyBasicAuthCredentialsDto);
/**
*
*/
let VyApiKeyAuthCredentialsDto = class VyApiKeyAuthCredentialsDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyApiKeyAuthCredentialsDto = VyApiKeyAuthCredentialsDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyApiKeyAuthCredentialsDto.prototype, "authenticationHeader", void 0);
exports.VyApiKeyAuthCredentialsDto = VyApiKeyAuthCredentialsDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyApiKeyAuthCredentialsDto])
], VyApiKeyAuthCredentialsDto);
/**
*
*/
let VyWebhookDto = class VyWebhookDto {
//CStr
constructor(initializer) {
if (initializer != null)
Object.assign(this, initializer);
}
};
exports.VyWebhookDto = VyWebhookDto;
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyWebhookDto.prototype, "id", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyWebhookDto.prototype, "targetId", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyWebhookDto.prototype, "application", void 0);
__decorate([
(0, json_1.JsonProperty)(null, String),
__metadata("design:type", String)
], VyWebhookDto.prototype, "url", void 0);
__decorate([
(0, json_1.JsonProperty)(null, enums.VyAuthenticationMethodType),
__metadata("design:type", String)
], VyWebhookDto.prototype, "authenticationType", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyBasicAuthCredentialsDto),
__metadata("design:type", VyBasicAuthCredentialsDto)
], VyWebhookDto.prototype, "basicAuthCredentials", void 0);
__decorate([
(0, json_1.JsonProperty)(null, VyApiKeyAuthCredentialsDto),
__metadata("design:type", VyApiKeyAuthCredentialsDto)
], VyWebhookDto.prototype, "apiKeyAuthCredentials", void 0);
exports.VyWebhookDto = VyWebhookDto = __decorate([
(0, json_1.JsonObject)(),
__metadata("design:paramtypes", [VyWebhookDto])
], VyWebhookDto);
//# sourceMappingURL=VyModels.Shared.generated.js.map