@xoxno/types 1.0.204 → 1.0.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,12 @@ import { LendingDataType } from '../../../enums/lending-data-type.enum';
2
2
  import { OwnerDto } from '../../../common/owner.dto';
3
3
  import { LendingEModeCategoryProfileDoc } from './lending-emode-category-profile.doc';
4
4
  import { LendingOracleUpdateStruct } from './lending-oracle';
5
+ import { LendingIndexesDto } from '../../../requests/lending/lending-indexes.dto';
6
+ export declare class InitialPaymentMultiplier {
7
+ initialPaymentAmount: string;
8
+ initialPaymentToken: number;
9
+ usdValue: string;
10
+ }
5
11
  export declare class LendingMarketProfileDoc {
6
12
  dataType: LendingDataType;
7
13
  token: string;
@@ -54,6 +60,7 @@ export declare class LendingMarketProfileDoc {
54
60
  flashLoanFee: string;
55
61
  canBorrowInIsolation: boolean;
56
62
  oracleProvider: LendingOracleUpdateStruct;
63
+ initialPaymentMultiplier?: InitialPaymentMultiplier;
57
64
  id: string;
58
65
  pk: string;
59
66
  _ts: number;
@@ -72,6 +79,7 @@ export declare class LendingMarketProfile extends LendingMarketProfileDoc {
72
79
  oraclePrice: string;
73
80
  participants: LendingMarketParticipants;
74
81
  extraApy?: MarketExtraApy;
82
+ indexes: LendingIndexesDto;
75
83
  }
76
84
  declare const LendingMarketProfileQuery_base: {
77
85
  new (resources: LendingMarketProfile[], count: number | null, hasMoreResults: boolean): {
@@ -9,13 +9,38 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.LendingMarketProfileQuery = exports.LendingMarketProfile = exports.MarketExtraApy = exports.LendingMarketParticipants = exports.LendingMarketProfileDoc = void 0;
12
+ exports.LendingMarketProfileQuery = exports.LendingMarketProfile = exports.MarketExtraApy = exports.LendingMarketParticipants = exports.LendingMarketProfileDoc = exports.InitialPaymentMultiplier = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const lending_data_type_enum_1 = require("../../../enums/lending-data-type.enum");
15
15
  const owner_dto_1 = require("../../../common/owner.dto");
16
16
  const lending_emode_category_profile_doc_1 = require("./lending-emode-category-profile.doc");
17
17
  const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-response.dto");
18
18
  const lending_oracle_1 = require("./lending-oracle");
19
+ const lending_indexes_dto_1 = require("../../../requests/lending/lending-indexes.dto");
20
+ class InitialPaymentMultiplier {
21
+ }
22
+ exports.InitialPaymentMultiplier = InitialPaymentMultiplier;
23
+ __decorate([
24
+ (0, swagger_1.ApiProperty)({
25
+ description: 'Initial payment amount',
26
+ example: 1.0,
27
+ }),
28
+ __metadata("design:type", String)
29
+ ], InitialPaymentMultiplier.prototype, "initialPaymentAmount", void 0);
30
+ __decorate([
31
+ (0, swagger_1.ApiProperty)({
32
+ description: 'Initial payment token',
33
+ example: 1.0,
34
+ }),
35
+ __metadata("design:type", Number)
36
+ ], InitialPaymentMultiplier.prototype, "initialPaymentToken", void 0);
37
+ __decorate([
38
+ (0, swagger_1.ApiProperty)({
39
+ description: 'USD value',
40
+ example: 1.0,
41
+ }),
42
+ __metadata("design:type", String)
43
+ ], InitialPaymentMultiplier.prototype, "usdValue", void 0);
19
44
  class LendingMarketProfileDoc {
20
45
  constructor(props) {
21
46
  this.dataType = lending_data_type_enum_1.LendingDataType.MARKET_PROFILE;
@@ -305,6 +330,14 @@ __decorate([
305
330
  }),
306
331
  __metadata("design:type", lending_oracle_1.LendingOracleUpdateStruct)
307
332
  ], LendingMarketProfileDoc.prototype, "oracleProvider", void 0);
333
+ __decorate([
334
+ (0, swagger_1.ApiProperty)({
335
+ description: 'Initial payment multiplier',
336
+ type: InitialPaymentMultiplier,
337
+ required: false,
338
+ }),
339
+ __metadata("design:type", InitialPaymentMultiplier)
340
+ ], LendingMarketProfileDoc.prototype, "initialPaymentMultiplier", void 0);
308
341
  __decorate([
309
342
  (0, swagger_1.ApiProperty)({
310
343
  description: 'Cosmos DB document identifier',
@@ -397,6 +430,13 @@ __decorate([
397
430
  }),
398
431
  __metadata("design:type", MarketExtraApy)
399
432
  ], LendingMarketProfile.prototype, "extraApy", void 0);
433
+ __decorate([
434
+ (0, swagger_1.ApiProperty)({
435
+ description: 'Indexes',
436
+ type: lending_indexes_dto_1.LendingIndexesDto,
437
+ }),
438
+ __metadata("design:type", lending_indexes_dto_1.LendingIndexesDto)
439
+ ], LendingMarketProfile.prototype, "indexes", void 0);
400
440
  class LendingMarketProfileQuery extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(LendingMarketProfile) {
401
441
  }
402
442
  exports.LendingMarketProfileQuery = LendingMarketProfileQuery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.204",
3
+ "version": "1.0.205",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {