zklighter-perps 1.0.72 → 1.0.74

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.
@@ -0,0 +1,79 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ *
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document:
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface WithdrawHistoryItem
20
+ */
21
+ export interface WithdrawHistoryItem {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof WithdrawHistoryItem
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof WithdrawHistoryItem
32
+ */
33
+ amount: string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof WithdrawHistoryItem
38
+ */
39
+ timestamp: number;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the WithdrawHistoryItem interface.
44
+ */
45
+ export function instanceOfWithdrawHistoryItem(value: object): value is WithdrawHistoryItem {
46
+ if (!('id' in value) || value['id'] === undefined) return false;
47
+ if (!('amount' in value) || value['amount'] === undefined) return false;
48
+ if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function WithdrawHistoryItemFromJSON(json: any): WithdrawHistoryItem {
53
+ return WithdrawHistoryItemFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function WithdrawHistoryItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): WithdrawHistoryItem {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'id': json['id'],
63
+ 'amount': json['amount'],
64
+ 'timestamp': json['timestamp'],
65
+ };
66
+ }
67
+
68
+ export function WithdrawHistoryItemToJSON(value?: WithdrawHistoryItem | null): any {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+
74
+ 'id': value['id'],
75
+ 'amount': value['amount'],
76
+ 'timestamp': value['timestamp'],
77
+ };
78
+ }
79
+
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ *
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document:
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ZkLighterInfo
20
+ */
21
+ export interface ZkLighterInfo {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ZkLighterInfo
26
+ */
27
+ contract_address: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ZkLighterInfo interface.
32
+ */
33
+ export function instanceOfZkLighterInfo(value: object): value is ZkLighterInfo {
34
+ if (!('contract_address' in value) || value['contract_address'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function ZkLighterInfoFromJSON(json: any): ZkLighterInfo {
39
+ return ZkLighterInfoFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ZkLighterInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ZkLighterInfo {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'contract_address': json['contract_address'],
49
+ };
50
+ }
51
+
52
+ export function ZkLighterInfoToJSON(value?: ZkLighterInfo | null): any {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+
58
+ 'contract_address': value['contract_address'],
59
+ };
60
+ }
61
+
package/models/index.ts CHANGED
@@ -11,11 +11,17 @@ export * from './Accounts';
11
11
  export * from './ApiKey';
12
12
  export * from './Block';
13
13
  export * from './Blocks';
14
+ export * from './BridgeSupportedNetwork';
15
+ export * from './BridgeSupportedNetworks';
14
16
  export * from './Candlestick';
15
17
  export * from './Candlesticks';
16
18
  export * from './ContractAddress';
19
+ export * from './CreateIntentAddressResp';
17
20
  export * from './CurrentHeight';
18
21
  export * from './Cursor';
22
+ export * from './Deposit';
23
+ export * from './DepositHistory';
24
+ export * from './DepositHistoryItem';
19
25
  export * from './DetailedAccount';
20
26
  export * from './DetailedAccounts';
21
27
  export * from './DetailedCandlestick';
@@ -63,9 +69,11 @@ export * from './ReqGetBlock';
63
69
  export * from './ReqGetBlockTxs';
64
70
  export * from './ReqGetByAccount';
65
71
  export * from './ReqGetCandlesticks';
72
+ export * from './ReqGetDepositHistory';
66
73
  export * from './ReqGetFeeBucket';
67
74
  export * from './ReqGetFundings';
68
75
  export * from './ReqGetL1Tx';
76
+ export * from './ReqGetLatestDeposit';
69
77
  export * from './ReqGetLeaderboard';
70
78
  export * from './ReqGetNextNonce';
71
79
  export * from './ReqGetOrderBookDetails';
@@ -78,6 +86,7 @@ export * from './ReqGetRangeWithIndexSortable';
78
86
  export * from './ReqGetRecentTrades';
79
87
  export * from './ReqGetTrades';
80
88
  export * from './ReqGetTx';
89
+ export * from './ReqGetWithdrawHistory';
81
90
  export * from './ReqIsWhitelisted';
82
91
  export * from './ResultCode';
83
92
  export * from './SimpleOrder';
@@ -91,3 +100,6 @@ export * from './TxHash';
91
100
  export * from './TxHashes';
92
101
  export * from './Txs';
93
102
  export * from './ValidatorInfo';
103
+ export * from './WithdrawHistory';
104
+ export * from './WithdrawHistoryItem';
105
+ export * from './ZkLighterInfo';