@xoxno/types 1.0.346 → 1.0.348

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.
@@ -1,16 +1,12 @@
1
1
  import { PerpOrderType, PerpTransferType } from '../../enums';
2
- import { PerpWithdrawWithdraw } from './withdraw';
3
- declare type PerpTransferTransfer_base = Omit<PerpWithdrawWithdraw, "type" | "destinationChainId">;
4
- export declare type PerpTransferTransfer = PerpTransferTransfer_base & {
5
- type: PerpOrderType.SEND_ASSET;
6
- destinationDex: PerpTransferType;
7
- };
8
- declare const PerpTransferTransferNest_base: import("@nestjs/common").Type<Omit<PerpWithdrawWithdraw, "type" | "destinationChainId">>;
9
- export declare class PerpTransferTransferNest extends PerpTransferTransferNest_base {
2
+ export declare class PerpTransferTransfer {
10
3
  type: PerpOrderType.SEND_ASSET;
4
+ destination: string;
5
+ symbol: string;
6
+ amount: string;
7
+ sourceDex: PerpTransferType;
11
8
  destinationDex: PerpTransferType;
12
9
  }
13
10
  export declare class PerpTransfer {
14
11
  action: PerpTransferTransfer;
15
12
  }
16
- export {};
@@ -12,17 +12,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PerpTransfer = exports.PerpTransferTransfer = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const enums_1 = require("../../enums");
15
- const withdraw_1 = require("./withdraw");
16
- class PerpTransferTransfer extends (0, swagger_1.OmitType)(withdraw_1.PerpWithdrawWithdraw, [
17
- 'type',
18
- 'destinationChainId',
19
- ]) {
15
+ class PerpTransferTransfer {
20
16
  }
21
17
  exports.PerpTransferTransfer = PerpTransferTransfer;
22
18
  __decorate([
23
19
  (0, swagger_1.ApiProperty)(),
24
20
  __metadata("design:type", String)
25
21
  ], PerpTransferTransfer.prototype, "type", void 0);
22
+ __decorate([
23
+ (0, swagger_1.ApiProperty)(),
24
+ __metadata("design:type", String)
25
+ ], PerpTransferTransfer.prototype, "destination", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiProperty)(),
28
+ __metadata("design:type", String)
29
+ ], PerpTransferTransfer.prototype, "symbol", void 0);
30
+ __decorate([
31
+ (0, swagger_1.ApiProperty)(),
32
+ __metadata("design:type", String)
33
+ ], PerpTransferTransfer.prototype, "amount", void 0);
34
+ __decorate([
35
+ (0, swagger_1.ApiProperty)(),
36
+ __metadata("design:type", String)
37
+ ], PerpTransferTransfer.prototype, "sourceDex", void 0);
26
38
  __decorate([
27
39
  (0, swagger_1.ApiProperty)(),
28
40
  __metadata("design:type", String)
@@ -34,5 +46,3 @@ __decorate([
34
46
  (0, swagger_1.ApiProperty)(),
35
47
  __metadata("design:type", PerpTransferTransfer)
36
48
  ], PerpTransfer.prototype, "action", void 0);
37
-
38
- exports.PerpTransferTransferNest = PerpTransferTransfer;
@@ -149,5 +149,8 @@ export declare enum PerpOrderDetailedStatus {
149
149
  }
150
150
  export declare enum PerpTransferType {
151
151
  SPOT = "Spot",
152
- PERP = "Perps"
152
+ PERP = "Perps",
153
+ MVX = "MVX",
154
+ ETH = "ETH",
155
+ BSC = "BSC"
153
156
  }
@@ -178,4 +178,7 @@ var PerpTransferType;
178
178
  (function (PerpTransferType) {
179
179
  PerpTransferType["SPOT"] = "Spot";
180
180
  PerpTransferType["PERP"] = "Perps";
181
+ PerpTransferType["MVX"] = "MVX";
182
+ PerpTransferType["ETH"] = "ETH";
183
+ PerpTransferType["BSC"] = "BSC";
181
184
  })(PerpTransferType || (exports.PerpTransferType = PerpTransferType = {}));
package/dist/index.d.ts CHANGED
@@ -140,7 +140,6 @@ export * from './entities/perp/request';
140
140
  export * from './entities/perp/response';
141
141
  export * from './entities/perp/tradingview';
142
142
  export * from './entities/perp/transfer';
143
- export * from './entities/perp/withdraw';
144
143
  export * from './entities/search-data/collection-data-search.type';
145
144
  export * from './entities/search-data/event-guest-data-search.type';
146
145
  export * from './entities/search-data/event-guest-invitation-search.type';
package/dist/index.js CHANGED
@@ -156,7 +156,6 @@ __exportStar(require("./entities/perp/request"), exports);
156
156
  __exportStar(require("./entities/perp/response"), exports);
157
157
  __exportStar(require("./entities/perp/tradingview"), exports);
158
158
  __exportStar(require("./entities/perp/transfer"), exports);
159
- __exportStar(require("./entities/perp/withdraw"), exports);
160
159
  __exportStar(require("./entities/search-data/collection-data-search.type"), exports);
161
160
  __exportStar(require("./entities/search-data/event-guest-data-search.type"), exports);
162
161
  __exportStar(require("./entities/search-data/event-guest-invitation-search.type"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.346",
3
+ "version": "1.0.348",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {
@@ -1,12 +0,0 @@
1
- import { PerpOrderType, PerpTransferType } from '../../enums';
2
- export declare class PerpWithdrawWithdraw {
3
- type: PerpOrderType.WITHDRAW_ASSET;
4
- destination: string;
5
- destinationChainId: string;
6
- symbol: string;
7
- amount: string;
8
- sourceDex: PerpTransferType;
9
- }
10
- export declare class PerpWithdraw {
11
- action: PerpWithdrawWithdraw;
12
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- 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;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.PerpWithdraw = exports.PerpWithdrawWithdraw = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
- const enums_1 = require("../../enums");
15
- class PerpWithdrawWithdraw {
16
- }
17
- exports.PerpWithdrawWithdraw = PerpWithdrawWithdraw;
18
- __decorate([
19
- (0, swagger_1.ApiProperty)(),
20
- __metadata("design:type", String)
21
- ], PerpWithdrawWithdraw.prototype, "type", void 0);
22
- __decorate([
23
- (0, swagger_1.ApiProperty)(),
24
- __metadata("design:type", String)
25
- ], PerpWithdrawWithdraw.prototype, "destination", void 0);
26
- __decorate([
27
- (0, swagger_1.ApiProperty)(),
28
- __metadata("design:type", String)
29
- ], PerpWithdrawWithdraw.prototype, "destinationChainId", void 0);
30
- __decorate([
31
- (0, swagger_1.ApiProperty)(),
32
- __metadata("design:type", String)
33
- ], PerpWithdrawWithdraw.prototype, "symbol", void 0);
34
- __decorate([
35
- (0, swagger_1.ApiProperty)(),
36
- __metadata("design:type", String)
37
- ], PerpWithdrawWithdraw.prototype, "amount", void 0);
38
- __decorate([
39
- (0, swagger_1.ApiProperty)(),
40
- __metadata("design:type", String)
41
- ], PerpWithdrawWithdraw.prototype, "sourceDex", void 0);
42
- class PerpWithdraw {
43
- }
44
- exports.PerpWithdraw = PerpWithdraw;
45
- __decorate([
46
- (0, swagger_1.ApiProperty)(),
47
- __metadata("design:type", PerpWithdrawWithdraw)
48
- ], PerpWithdraw.prototype, "action", void 0);