@ember-finance/sdk 1.0.9 → 1.0.10

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.
Files changed (83) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js +0 -1
  3. package/dist/src/common/types.d.ts +0 -1
  4. package/dist/src/common/types.js +0 -1
  5. package/dist/src/vaults/api/api.d.ts +2 -2
  6. package/dist/src/vaults/api/apis/accounts-api.d.ts +112 -31
  7. package/dist/src/vaults/api/apis/accounts-api.js +98 -112
  8. package/dist/src/vaults/api/apis/vaults-api.d.ts +186 -31
  9. package/dist/src/vaults/api/apis/vaults-api.js +140 -220
  10. package/dist/src/vaults/api/base.d.ts +26 -2
  11. package/dist/src/vaults/api/base.js +21 -1
  12. package/dist/src/vaults/api/common.d.ts +38 -1
  13. package/dist/src/vaults/api/common.js +47 -17
  14. package/dist/src/vaults/api/configuration.d.ts +17 -0
  15. package/dist/src/vaults/api/configuration.js +4 -5
  16. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +6 -5
  17. package/dist/src/vaults/api/models/account-transaction.d.ts +26 -11
  18. package/dist/src/vaults/api/models/account-transaction.js +12 -7
  19. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +64 -23
  20. package/dist/src/vaults/api/models/account-withdrawal-request.js +13 -8
  21. package/dist/src/vaults/api/models/apy-history.d.ts +17 -4
  22. package/dist/src/vaults/api/models/asset.d.ts +26 -7
  23. package/dist/src/vaults/api/models/borrowed.d.ts +21 -5
  24. package/dist/src/vaults/api/models/coin-price.d.ts +11 -2
  25. package/dist/src/vaults/api/models/deposit-transaction.d.ts +40 -10
  26. package/dist/src/vaults/api/models/exposure-coin.d.ts +18 -4
  27. package/dist/src/vaults/api/models/exposure-protocol.d.ts +38 -13
  28. package/dist/src/vaults/api/models/exposure.d.ts +16 -5
  29. package/dist/src/vaults/api/models/fee.d.ts +18 -4
  30. package/dist/src/vaults/api/models/history-interval.d.ts +11 -7
  31. package/dist/src/vaults/api/models/history-interval.js +12 -6
  32. package/dist/src/vaults/api/models/index.d.ts +60 -60
  33. package/dist/src/vaults/api/models/lp.d.ts +44 -13
  34. package/dist/src/vaults/api/models/manager.d.ts +26 -4
  35. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +17 -4
  36. package/dist/src/vaults/api/models/perps.d.ts +12 -3
  37. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +10 -6
  38. package/dist/src/vaults/api/models/pnl-history-interval.js +11 -5
  39. package/dist/src/vaults/api/models/pnl-history.d.ts +14 -3
  40. package/dist/src/vaults/api/models/position-value.d.ts +23 -6
  41. package/dist/src/vaults/api/models/position.d.ts +17 -4
  42. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +35 -10
  43. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +26 -7
  44. package/dist/src/vaults/api/models/protocol-info.d.ts +20 -6
  45. package/dist/src/vaults/api/models/protocol.d.ts +17 -4
  46. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +18 -17
  47. package/dist/src/vaults/api/models/raw-event.d.ts +44 -25
  48. package/dist/src/vaults/api/models/raw-event.js +24 -19
  49. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +31 -8
  50. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +40 -10
  51. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +31 -8
  52. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +31 -8
  53. package/dist/src/vaults/api/models/reported-apy.d.ts +17 -2
  54. package/dist/src/vaults/api/models/request-processed-event.d.ts +35 -10
  55. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +32 -9
  56. package/dist/src/vaults/api/models/reward-token.d.ts +26 -5
  57. package/dist/src/vaults/api/models/reward.d.ts +18 -4
  58. package/dist/src/vaults/api/models/share-price-history.d.ts +11 -2
  59. package/dist/src/vaults/api/models/strategy.d.ts +26 -7
  60. package/dist/src/vaults/api/models/sub-account.d.ts +15 -3
  61. package/dist/src/vaults/api/models/supplied.d.ts +21 -5
  62. package/dist/src/vaults/api/models/tvl-history.d.ts +11 -2
  63. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +23 -6
  64. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +24 -6
  65. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +17 -4
  66. package/dist/src/vaults/api/models/vault-created-event.d.ts +29 -7
  67. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +32 -9
  68. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +26 -7
  69. package/dist/src/vaults/api/models/vault-detail.d.ts +125 -37
  70. package/dist/src/vaults/api/models/vault-detail.js +11 -6
  71. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +17 -4
  72. package/dist/src/vaults/api/models/vault-info.d.ts +38 -11
  73. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +17 -4
  74. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +17 -4
  75. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +14 -3
  76. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +20 -5
  77. package/dist/src/vaults/api/models/vault-protocol.d.ts +17 -4
  78. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +17 -4
  79. package/dist/src/vaults/api/models/vault-slice.d.ts +20 -5
  80. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +23 -6
  81. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +26 -7
  82. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +17 -4
  83. package/package.json +4 -3
@@ -9,21 +9,34 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MinWithdrawalSharesUpdatedEvent
16
+ */
12
17
  export interface MinWithdrawalSharesUpdatedEvent {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof MinWithdrawalSharesUpdatedEvent
15
22
  */
16
- vaultId?: string;
23
+ 'vaultId'?: string;
17
24
  /**
18
25
  * The previous min withdrawal shares
26
+ * @type {string}
27
+ * @memberof MinWithdrawalSharesUpdatedEvent
19
28
  */
20
- previousMinWithdrawalShares?: string;
29
+ 'previousMinWithdrawalShares'?: string;
21
30
  /**
22
31
  * The new min withdrawal shares
32
+ * @type {string}
33
+ * @memberof MinWithdrawalSharesUpdatedEvent
23
34
  */
24
- newMinWithdrawalShares?: string;
35
+ 'newMinWithdrawalShares'?: string;
25
36
  /**
26
37
  * The sequence number of the event
38
+ * @type {string}
39
+ * @memberof MinWithdrawalSharesUpdatedEvent
27
40
  */
28
- sequenceNumber?: string;
41
+ 'sequenceNumber'?: string;
29
42
  }
@@ -9,14 +9,23 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Position } from "./position";
12
+ import type { Position } from './position';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Perps
17
+ */
13
18
  export interface Perps {
14
19
  /**
15
20
  * Available balance in e9 in USDC
21
+ * @type {string}
22
+ * @memberof Perps
16
23
  */
17
- effectiveBalanceE9: string;
24
+ 'effectiveBalanceE9': string;
18
25
  /**
19
26
  * The positions of the perps
27
+ * @type {Array<Position>}
28
+ * @memberof Perps
20
29
  */
21
- positions: Array<Position>;
30
+ 'positions': Array<Position>;
22
31
  }
@@ -9,9 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const PnlHistoryInterval: {
13
- readonly _1d: "1d";
14
- readonly _1w: "1w";
15
- readonly _1mon: "1mon";
16
- };
17
- export type PnlHistoryInterval = (typeof PnlHistoryInterval)[keyof typeof PnlHistoryInterval];
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum PnlHistoryInterval {
18
+ _1d = "1d",
19
+ _1w = "1w",
20
+ _1mon = "1mon"
21
+ }
@@ -14,8 +14,14 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PnlHistoryInterval = void 0;
17
- exports.PnlHistoryInterval = {
18
- _1d: "1d",
19
- _1w: "1w",
20
- _1mon: "1mon"
21
- };
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var PnlHistoryInterval;
23
+ (function (PnlHistoryInterval) {
24
+ PnlHistoryInterval["_1d"] = "1d";
25
+ PnlHistoryInterval["_1w"] = "1w";
26
+ PnlHistoryInterval["_1mon"] = "1mon";
27
+ })(PnlHistoryInterval || (exports.PnlHistoryInterval = PnlHistoryInterval = {}));
@@ -9,17 +9,28 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PnlHistory
16
+ */
12
17
  export interface PnlHistory {
13
18
  /**
14
19
  * The timestamp of the event
20
+ * @type {number}
21
+ * @memberof PnlHistory
15
22
  */
16
- timestamp: number;
23
+ 'timestamp': number;
17
24
  /**
18
25
  * The pnl of the event
26
+ * @type {string}
27
+ * @memberof PnlHistory
19
28
  */
20
- pnlE9: string;
29
+ 'pnlE9': string;
21
30
  /**
22
31
  * The cumulative pnl of the event
32
+ * @type {string}
33
+ * @memberof PnlHistory
23
34
  */
24
- cumulativePnlE9: string;
35
+ 'cumulativePnlE9': string;
25
36
  }
@@ -9,29 +9,46 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PositionValue
16
+ */
12
17
  export interface PositionValue {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof PositionValue
15
22
  */
16
- vaultId: string;
23
+ 'vaultId': string;
17
24
  /**
18
25
  * The position value of the account in e9 in USDC
26
+ * @type {string}
27
+ * @memberof PositionValue
19
28
  */
20
- positionValueUsdE9: string;
29
+ 'positionValueUsdE9': string;
21
30
  /**
22
31
  * The shares of the account
32
+ * @type {string}
33
+ * @memberof PositionValue
23
34
  */
24
- shares: string;
35
+ 'shares': string;
25
36
  /**
26
37
  * The unrealized yield value of the account in e9 in USDC
38
+ * @type {string}
39
+ * @memberof PositionValue
27
40
  */
28
- unrealizedYieldUsdE9: string;
41
+ 'unrealizedYieldUsdE9': string;
29
42
  /**
30
43
  * The realized yield value of the account in e9 in USDC
44
+ * @type {string}
45
+ * @memberof PositionValue
31
46
  */
32
- realizedYieldUsdE9: string;
47
+ 'realizedYieldUsdE9': string;
33
48
  /**
34
49
  * The total yield value of the account in e9 in USDC
50
+ * @type {string}
51
+ * @memberof PositionValue
35
52
  */
36
- totalYieldUsdE9: string;
53
+ 'totalYieldUsdE9': string;
37
54
  }
@@ -9,21 +9,34 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Position
16
+ */
12
17
  export interface Position {
13
18
  /**
14
19
  * The symbol of the position
20
+ * @type {string}
21
+ * @memberof Position
15
22
  */
16
- symbol: string;
23
+ 'symbol': string;
17
24
  /**
18
25
  * The size of the position in e9
26
+ * @type {string}
27
+ * @memberof Position
19
28
  */
20
- sizeE9: string;
29
+ 'sizeE9': string;
21
30
  /**
22
31
  * The side of the position
32
+ * @type {string}
33
+ * @memberof Position
23
34
  */
24
- side: string;
35
+ 'side': string;
25
36
  /**
26
37
  * The margin of the position in e9
38
+ * @type {string}
39
+ * @memberof Position
27
40
  */
28
- marginE9: string;
41
+ 'marginE9': string;
29
42
  }
@@ -9,45 +9,70 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProcessRequestsSummaryEvent
16
+ */
12
17
  export interface ProcessRequestsSummaryEvent {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof ProcessRequestsSummaryEvent
15
22
  */
16
- vaultId?: string;
23
+ 'vaultId'?: string;
17
24
  /**
18
25
  * The total number of requests processed
26
+ * @type {string}
27
+ * @memberof ProcessRequestsSummaryEvent
19
28
  */
20
- totalRequestProcessed?: string;
29
+ 'totalRequestProcessed'?: string;
21
30
  /**
22
31
  * The number of requests skipped
32
+ * @type {string}
33
+ * @memberof ProcessRequestsSummaryEvent
23
34
  */
24
- requestsSkipped?: string;
35
+ 'requestsSkipped'?: string;
25
36
  /**
26
37
  * The total number of shares burnt
38
+ * @type {string}
39
+ * @memberof ProcessRequestsSummaryEvent
27
40
  */
28
- totalSharesBurnt?: string;
41
+ 'totalSharesBurnt'?: string;
29
42
  /**
30
43
  * The total amount withdrawn
44
+ * @type {string}
45
+ * @memberof ProcessRequestsSummaryEvent
31
46
  */
32
- totalAmountWithdrawn?: string;
47
+ 'totalAmountWithdrawn'?: string;
33
48
  /**
34
49
  * The total number of shares in circulation
50
+ * @type {string}
51
+ * @memberof ProcessRequestsSummaryEvent
35
52
  */
36
- totalSharesInCirculation?: string;
53
+ 'totalSharesInCirculation'?: string;
37
54
  /**
38
55
  * The rate of the vault
56
+ * @type {string}
57
+ * @memberof ProcessRequestsSummaryEvent
39
58
  */
40
- rate?: string;
59
+ 'rate'?: string;
41
60
  /**
42
61
  * The number of requests cancelled
62
+ * @type {string}
63
+ * @memberof ProcessRequestsSummaryEvent
43
64
  */
44
- requestsCancelled?: string;
65
+ 'requestsCancelled'?: string;
45
66
  /**
46
67
  * The total number of shares pending to burn
68
+ * @type {string}
69
+ * @memberof ProcessRequestsSummaryEvent
47
70
  */
48
- totalSharesPendingToBurn?: string;
71
+ 'totalSharesPendingToBurn'?: string;
49
72
  /**
50
73
  * The sequence number of the event
74
+ * @type {string}
75
+ * @memberof ProcessRequestsSummaryEvent
51
76
  */
52
- sequenceNumber?: string;
77
+ 'sequenceNumber'?: string;
53
78
  }
@@ -9,33 +9,52 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProtocolFeeCollectedEvent
16
+ */
12
17
  export interface ProtocolFeeCollectedEvent {
13
18
  /**
14
19
  * The id of the vault
20
+ * @type {string}
21
+ * @memberof ProtocolFeeCollectedEvent
15
22
  */
16
- vaultId?: string;
23
+ 'vaultId'?: string;
17
24
  /**
18
25
  * The amount of the fee
26
+ * @type {string}
27
+ * @memberof ProtocolFeeCollectedEvent
19
28
  */
20
- feeAmount?: string;
29
+ 'feeAmount'?: string;
21
30
  /**
22
31
  * The address of the recipient
32
+ * @type {string}
33
+ * @memberof ProtocolFeeCollectedEvent
23
34
  */
24
- recipientAddress?: string;
35
+ 'recipientAddress'?: string;
25
36
  /**
26
37
  * The sequence number of the event
38
+ * @type {string}
39
+ * @memberof ProtocolFeeCollectedEvent
27
40
  */
28
- sequenceNumber?: string;
41
+ 'sequenceNumber'?: string;
29
42
  /**
30
43
  * The type of the coin
44
+ * @type {string}
45
+ * @memberof ProtocolFeeCollectedEvent
31
46
  */
32
- coinType?: string;
47
+ 'coinType'?: string;
33
48
  /**
34
49
  * The current balance of the vault
50
+ * @type {string}
51
+ * @memberof ProtocolFeeCollectedEvent
35
52
  */
36
- currentVaultBalance?: string;
53
+ 'currentVaultBalance'?: string;
37
54
  /**
38
55
  * The address of the recipient
56
+ * @type {string}
57
+ * @memberof ProtocolFeeCollectedEvent
39
58
  */
40
- recipient?: string;
59
+ 'recipient'?: string;
41
60
  }
@@ -9,19 +9,33 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { UltraCoinInfo } from "./ultra-coin-info";
13
- import type { VaultInfo } from "./vault-info";
14
- import type { VaultProtocol } from "./vault-protocol";
12
+ import type { UltraCoinInfo } from './ultra-coin-info';
13
+ import type { VaultInfo } from './vault-info';
14
+ import type { VaultProtocol } from './vault-protocol';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ProtocolInfo
19
+ */
15
20
  export interface ProtocolInfo {
16
- VaultProtocol?: VaultProtocol;
21
+ /**
22
+ *
23
+ * @type {VaultProtocol}
24
+ * @memberof ProtocolInfo
25
+ */
26
+ 'VaultProtocol'?: VaultProtocol;
17
27
  /**
18
28
  * List of ultra coins
29
+ * @type {Array<UltraCoinInfo>}
30
+ * @memberof ProtocolInfo
19
31
  */
20
- UltraCoins?: Array<UltraCoinInfo>;
32
+ 'UltraCoins'?: Array<UltraCoinInfo>;
21
33
  /**
22
34
  * Map of vaults by id
35
+ * @type {{ [key: string]: VaultInfo; }}
36
+ * @memberof ProtocolInfo
23
37
  */
24
- Vaults?: {
38
+ 'Vaults'?: {
25
39
  [key: string]: VaultInfo;
26
40
  };
27
41
  }
@@ -9,21 +9,34 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Protocol
16
+ */
12
17
  export interface Protocol {
13
18
  /**
14
19
  * The id of the protocol
20
+ * @type {string}
21
+ * @memberof Protocol
15
22
  */
16
- id: string;
23
+ 'id': string;
17
24
  /**
18
25
  * The name of the protocol
26
+ * @type {string}
27
+ * @memberof Protocol
19
28
  */
20
- name: string;
29
+ 'name': string;
21
30
  /**
22
31
  * The logo url of the protocol
32
+ * @type {string}
33
+ * @memberof Protocol
23
34
  */
24
- logoUrl: string;
35
+ 'logoUrl': string;
25
36
  /**
26
37
  * The website url of the protocol
38
+ * @type {string}
39
+ * @memberof Protocol
27
40
  */
28
- websiteUrl: string;
41
+ 'websiteUrl': string;
29
42
  }
@@ -9,25 +9,26 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MinWithdrawalSharesUpdatedEvent } from "./min-withdrawal-shares-updated-event";
13
- import type { ProcessRequestsSummaryEvent } from "./process-requests-summary-event";
14
- import type { ProtocolFeeCollectedEvent } from "./protocol-fee-collected-event";
15
- import type { RequestProcessedEvent } from "./request-processed-event";
16
- import type { RequestRedeemedEvent } from "./request-redeemed-event";
17
- import type { VaultAdminChangedEvent } from "./vault-admin-changed-event";
18
- import type { VaultCreatedEvent } from "./vault-created-event";
19
- import type { VaultDepositEvent } from "./vault-deposit-event";
20
- import type { VaultDepositWithoutMintingSharesEvent } from "./vault-deposit-without-minting-shares-event";
21
- import type { VaultFeePercentageUpdatedEvent } from "./vault-fee-percentage-updated-event";
22
- import type { VaultMaxTvlUpdatedEvent } from "./vault-max-tvl-updated-event";
23
- import type { VaultOperatorChangedEvent } from "./vault-operator-changed-event";
24
- import type { VaultPausedStatusUpdatedEvent } from "./vault-paused-status-updated-event";
25
- import type { VaultPlatformFeeChargedEvent } from "./vault-platform-fee-charged-event";
26
- import type { VaultRateUpdatedEvent } from "./vault-rate-updated-event";
27
- import type { VaultSubAccountUpdatedEvent } from "./vault-sub-account-updated-event";
28
- import type { VaultWithdrawalWithoutRedeemingSharesEvent } from "./vault-withdrawal-without-redeeming-shares-event";
12
+ import type { MinWithdrawalSharesUpdatedEvent } from './min-withdrawal-shares-updated-event';
13
+ import type { ProcessRequestsSummaryEvent } from './process-requests-summary-event';
14
+ import type { ProtocolFeeCollectedEvent } from './protocol-fee-collected-event';
15
+ import type { RequestProcessedEvent } from './request-processed-event';
16
+ import type { RequestRedeemedEvent } from './request-redeemed-event';
17
+ import type { VaultAdminChangedEvent } from './vault-admin-changed-event';
18
+ import type { VaultCreatedEvent } from './vault-created-event';
19
+ import type { VaultDepositEvent } from './vault-deposit-event';
20
+ import type { VaultDepositWithoutMintingSharesEvent } from './vault-deposit-without-minting-shares-event';
21
+ import type { VaultFeePercentageUpdatedEvent } from './vault-fee-percentage-updated-event';
22
+ import type { VaultMaxTvlUpdatedEvent } from './vault-max-tvl-updated-event';
23
+ import type { VaultOperatorChangedEvent } from './vault-operator-changed-event';
24
+ import type { VaultPausedStatusUpdatedEvent } from './vault-paused-status-updated-event';
25
+ import type { VaultPlatformFeeChargedEvent } from './vault-platform-fee-charged-event';
26
+ import type { VaultRateUpdatedEvent } from './vault-rate-updated-event';
27
+ import type { VaultSubAccountUpdatedEvent } from './vault-sub-account-updated-event';
28
+ import type { VaultWithdrawalWithoutRedeemingSharesEvent } from './vault-withdrawal-without-redeeming-shares-event';
29
29
  /**
30
30
  * @type RawEventEventData
31
31
  * The data of the event
32
+ * @export
32
33
  */
33
34
  export type RawEventEventData = MinWithdrawalSharesUpdatedEvent | ProcessRequestsSummaryEvent | ProtocolFeeCollectedEvent | RequestProcessedEvent | RequestRedeemedEvent | VaultAdminChangedEvent | VaultCreatedEvent | VaultDepositEvent | VaultDepositWithoutMintingSharesEvent | VaultFeePercentageUpdatedEvent | VaultMaxTvlUpdatedEvent | VaultOperatorChangedEvent | VaultPausedStatusUpdatedEvent | VaultPlatformFeeChargedEvent | VaultRateUpdatedEvent | VaultSubAccountUpdatedEvent | VaultWithdrawalWithoutRedeemingSharesEvent;
@@ -9,39 +9,58 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { RawEventEventData } from "./raw-event-event-data";
12
+ import type { RawEventEventData } from './raw-event-event-data';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RawEvent
17
+ */
13
18
  export interface RawEvent {
14
19
  /**
15
20
  * The id of the event
21
+ * @type {string}
22
+ * @memberof RawEvent
16
23
  */
17
- id?: string;
24
+ 'id'?: string;
18
25
  /**
19
26
  * The timestamp of the event
27
+ * @type {number}
28
+ * @memberof RawEvent
20
29
  */
21
- createdAt?: number;
30
+ 'createdAt'?: number;
22
31
  /**
23
32
  * The type of the event
33
+ * @type {string}
34
+ * @memberof RawEvent
24
35
  */
25
- eventType: RawEventEventTypeEnum;
26
- eventData?: RawEventEventData;
36
+ 'eventType': RawEventEventTypeEnum;
37
+ /**
38
+ *
39
+ * @type {RawEventEventData}
40
+ * @memberof RawEvent
41
+ */
42
+ 'eventData'?: RawEventEventData;
43
+ }
44
+ /**
45
+ * @export
46
+ * @enum {string}
47
+ */
48
+ export declare enum RawEventEventTypeEnum {
49
+ RequestProcessedEvent = "RequestProcessedEvent",
50
+ RequestRedeemedEvent = "RequestRedeemedEvent",
51
+ VaultDepositEvent = "VaultDepositEvent",
52
+ VaultPausedStatusUpdatedEvent = "VaultPausedStatusUpdatedEvent",
53
+ VaultRateUpdatedEvent = "VaultRateUpdatedEvent",
54
+ VaultCreatedEvent = "VaultCreatedEvent",
55
+ VaultSubAccountUpdatedEvent = "VaultSubAccountUpdatedEvent",
56
+ VaultFeePercentageUpdatedEvent = "VaultFeePercentageUpdatedEvent",
57
+ MinWithdrawalSharesUpdatedEvent = "MinWithdrawalSharesUpdatedEvent",
58
+ VaultAdminChangedEvent = "VaultAdminChangedEvent",
59
+ VaultOperatorChangedEvent = "VaultOperatorChangedEvent",
60
+ VaultMaxTvlUpdatedEvent = "VaultMaxTvlUpdatedEvent",
61
+ ProcessRequestsSummaryEvent = "ProcessRequestsSummaryEvent",
62
+ ProtocolFeeCollectedEvent = "ProtocolFeeCollectedEvent",
63
+ VaultWithdrawalWithoutRedeemingSharesEvent = "VaultWithdrawalWithoutRedeemingSharesEvent",
64
+ VaultDepositWithoutMintingSharesEvent = "VaultDepositWithoutMintingSharesEvent",
65
+ VaultPlatformFeeChargedEvent = "VaultPlatformFeeChargedEvent"
27
66
  }
28
- export declare const RawEventEventTypeEnum: {
29
- readonly RequestProcessedEvent: "RequestProcessedEvent";
30
- readonly RequestRedeemedEvent: "RequestRedeemedEvent";
31
- readonly VaultDepositEvent: "VaultDepositEvent";
32
- readonly VaultPausedStatusUpdatedEvent: "VaultPausedStatusUpdatedEvent";
33
- readonly VaultRateUpdatedEvent: "VaultRateUpdatedEvent";
34
- readonly VaultCreatedEvent: "VaultCreatedEvent";
35
- readonly VaultSubAccountUpdatedEvent: "VaultSubAccountUpdatedEvent";
36
- readonly VaultFeePercentageUpdatedEvent: "VaultFeePercentageUpdatedEvent";
37
- readonly MinWithdrawalSharesUpdatedEvent: "MinWithdrawalSharesUpdatedEvent";
38
- readonly VaultAdminChangedEvent: "VaultAdminChangedEvent";
39
- readonly VaultOperatorChangedEvent: "VaultOperatorChangedEvent";
40
- readonly VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent";
41
- readonly ProcessRequestsSummaryEvent: "ProcessRequestsSummaryEvent";
42
- readonly ProtocolFeeCollectedEvent: "ProtocolFeeCollectedEvent";
43
- readonly VaultWithdrawalWithoutRedeemingSharesEvent: "VaultWithdrawalWithoutRedeemingSharesEvent";
44
- readonly VaultDepositWithoutMintingSharesEvent: "VaultDepositWithoutMintingSharesEvent";
45
- readonly VaultPlatformFeeChargedEvent: "VaultPlatformFeeChargedEvent";
46
- };
47
- export type RawEventEventTypeEnum = (typeof RawEventEventTypeEnum)[keyof typeof RawEventEventTypeEnum];
@@ -14,22 +14,27 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.RawEventEventTypeEnum = void 0;
17
- exports.RawEventEventTypeEnum = {
18
- RequestProcessedEvent: "RequestProcessedEvent",
19
- RequestRedeemedEvent: "RequestRedeemedEvent",
20
- VaultDepositEvent: "VaultDepositEvent",
21
- VaultPausedStatusUpdatedEvent: "VaultPausedStatusUpdatedEvent",
22
- VaultRateUpdatedEvent: "VaultRateUpdatedEvent",
23
- VaultCreatedEvent: "VaultCreatedEvent",
24
- VaultSubAccountUpdatedEvent: "VaultSubAccountUpdatedEvent",
25
- VaultFeePercentageUpdatedEvent: "VaultFeePercentageUpdatedEvent",
26
- MinWithdrawalSharesUpdatedEvent: "MinWithdrawalSharesUpdatedEvent",
27
- VaultAdminChangedEvent: "VaultAdminChangedEvent",
28
- VaultOperatorChangedEvent: "VaultOperatorChangedEvent",
29
- VaultMaxTvlUpdatedEvent: "VaultMaxTvlUpdatedEvent",
30
- ProcessRequestsSummaryEvent: "ProcessRequestsSummaryEvent",
31
- ProtocolFeeCollectedEvent: "ProtocolFeeCollectedEvent",
32
- VaultWithdrawalWithoutRedeemingSharesEvent: "VaultWithdrawalWithoutRedeemingSharesEvent",
33
- VaultDepositWithoutMintingSharesEvent: "VaultDepositWithoutMintingSharesEvent",
34
- VaultPlatformFeeChargedEvent: "VaultPlatformFeeChargedEvent"
35
- };
17
+ /**
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var RawEventEventTypeEnum;
22
+ (function (RawEventEventTypeEnum) {
23
+ RawEventEventTypeEnum["RequestProcessedEvent"] = "RequestProcessedEvent";
24
+ RawEventEventTypeEnum["RequestRedeemedEvent"] = "RequestRedeemedEvent";
25
+ RawEventEventTypeEnum["VaultDepositEvent"] = "VaultDepositEvent";
26
+ RawEventEventTypeEnum["VaultPausedStatusUpdatedEvent"] = "VaultPausedStatusUpdatedEvent";
27
+ RawEventEventTypeEnum["VaultRateUpdatedEvent"] = "VaultRateUpdatedEvent";
28
+ RawEventEventTypeEnum["VaultCreatedEvent"] = "VaultCreatedEvent";
29
+ RawEventEventTypeEnum["VaultSubAccountUpdatedEvent"] = "VaultSubAccountUpdatedEvent";
30
+ RawEventEventTypeEnum["VaultFeePercentageUpdatedEvent"] = "VaultFeePercentageUpdatedEvent";
31
+ RawEventEventTypeEnum["MinWithdrawalSharesUpdatedEvent"] = "MinWithdrawalSharesUpdatedEvent";
32
+ RawEventEventTypeEnum["VaultAdminChangedEvent"] = "VaultAdminChangedEvent";
33
+ RawEventEventTypeEnum["VaultOperatorChangedEvent"] = "VaultOperatorChangedEvent";
34
+ RawEventEventTypeEnum["VaultMaxTvlUpdatedEvent"] = "VaultMaxTvlUpdatedEvent";
35
+ RawEventEventTypeEnum["ProcessRequestsSummaryEvent"] = "ProcessRequestsSummaryEvent";
36
+ RawEventEventTypeEnum["ProtocolFeeCollectedEvent"] = "ProtocolFeeCollectedEvent";
37
+ RawEventEventTypeEnum["VaultWithdrawalWithoutRedeemingSharesEvent"] = "VaultWithdrawalWithoutRedeemingSharesEvent";
38
+ RawEventEventTypeEnum["VaultDepositWithoutMintingSharesEvent"] = "VaultDepositWithoutMintingSharesEvent";
39
+ RawEventEventTypeEnum["VaultPlatformFeeChargedEvent"] = "VaultPlatformFeeChargedEvent";
40
+ })(RawEventEventTypeEnum || (exports.RawEventEventTypeEnum = RawEventEventTypeEnum = {}));