zklighter-perps 0.573.0-circleci.b3eec85.devin-1790172978-integer-enum-postprocess → 0.573.0-circleci.e29401c.devin-1790172978-integer-enum-postprocess
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.
- package/models/AtomicOrderLeg.ts +1 -12
- package/models/BinaryOptionMarketStats.ts +2 -12
- package/models/BoOutcomePnL.ts +1 -13
- package/models/Bridge.ts +2 -2
- package/models/EventOrderBookEntry.ts +1 -11
- package/models/OrderBook.ts +1 -11
- package/models/PerpsOrderBookDetail.ts +1 -11
- package/models/SpotOrderBookDetail.ts +1 -11
- package/openapi.json +16 -84
- package/package.json +1 -1
package/models/AtomicOrderLeg.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface AtomicOrderLeg {
|
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof AtomicOrderLeg
|
|
32
32
|
*/
|
|
33
|
-
is_ask:
|
|
33
|
+
is_ask: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {number}
|
|
@@ -45,17 +45,6 @@ export interface AtomicOrderLeg {
|
|
|
45
45
|
percentage: number;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export const AtomicOrderLegIsAskEnum = {
|
|
53
|
-
Bid: 0,
|
|
54
|
-
Ask: 1
|
|
55
|
-
} as const;
|
|
56
|
-
export type AtomicOrderLegIsAskEnum = typeof AtomicOrderLegIsAskEnum[keyof typeof AtomicOrderLegIsAskEnum];
|
|
57
|
-
|
|
58
|
-
|
|
59
48
|
/**
|
|
60
49
|
* Check if a given object implements the AtomicOrderLeg interface.
|
|
61
50
|
*/
|
|
@@ -110,11 +110,11 @@ export interface BinaryOptionMarketStats {
|
|
|
110
110
|
*/
|
|
111
111
|
status: BinaryOptionMarketStatsStatusEnum;
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* 0 unresolved, 1 NO, 2 YES
|
|
114
114
|
* @type {number}
|
|
115
115
|
* @memberof BinaryOptionMarketStats
|
|
116
116
|
*/
|
|
117
|
-
outcome:
|
|
117
|
+
outcome: number;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
|
|
@@ -129,16 +129,6 @@ export const BinaryOptionMarketStatsStatusEnum = {
|
|
|
129
129
|
} as const;
|
|
130
130
|
export type BinaryOptionMarketStatsStatusEnum = typeof BinaryOptionMarketStatsStatusEnum[keyof typeof BinaryOptionMarketStatsStatusEnum];
|
|
131
131
|
|
|
132
|
-
/**
|
|
133
|
-
* @export
|
|
134
|
-
*/
|
|
135
|
-
export const BinaryOptionMarketStatsOutcomeEnum = {
|
|
136
|
-
None: 0,
|
|
137
|
-
No: 1,
|
|
138
|
-
Yes: 2
|
|
139
|
-
} as const;
|
|
140
|
-
export type BinaryOptionMarketStatsOutcomeEnum = typeof BinaryOptionMarketStatsOutcomeEnum[keyof typeof BinaryOptionMarketStatsOutcomeEnum];
|
|
141
|
-
|
|
142
132
|
|
|
143
133
|
/**
|
|
144
134
|
* Check if a given object implements the BinaryOptionMarketStats interface.
|
package/models/BoOutcomePnL.ts
CHANGED
|
@@ -36,7 +36,7 @@ export interface BoOutcomePnL {
|
|
|
36
36
|
* @type {number}
|
|
37
37
|
* @memberof BoOutcomePnL
|
|
38
38
|
*/
|
|
39
|
-
outcome:
|
|
39
|
+
outcome: number;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {number}
|
|
@@ -63,18 +63,6 @@ export interface BoOutcomePnL {
|
|
|
63
63
|
total_pnl: string;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export const BoOutcomePnLOutcomeEnum = {
|
|
71
|
-
None: 0,
|
|
72
|
-
No: 1,
|
|
73
|
-
Yes: 2
|
|
74
|
-
} as const;
|
|
75
|
-
export type BoOutcomePnLOutcomeEnum = typeof BoOutcomePnLOutcomeEnum[keyof typeof BoOutcomePnLOutcomeEnum];
|
|
76
|
-
|
|
77
|
-
|
|
78
66
|
/**
|
|
79
67
|
* Check if a given object implements the BoOutcomePnL interface.
|
|
80
68
|
*/
|
package/models/Bridge.ts
CHANGED
|
@@ -116,8 +116,8 @@ export interface Bridge {
|
|
|
116
116
|
* @export
|
|
117
117
|
*/
|
|
118
118
|
export const BridgeVersionEnum = {
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
NUMBER_1: 1,
|
|
120
|
+
NUMBER_2: 2
|
|
121
121
|
} as const;
|
|
122
122
|
export type BridgeVersionEnum = typeof BridgeVersionEnum[keyof typeof BridgeVersionEnum];
|
|
123
123
|
|
|
@@ -169,7 +169,7 @@ export interface EventOrderBookEntry {
|
|
|
169
169
|
* @type {number}
|
|
170
170
|
* @memberof EventOrderBookEntry
|
|
171
171
|
*/
|
|
172
|
-
outcome:
|
|
172
|
+
outcome: number;
|
|
173
173
|
/**
|
|
174
174
|
*
|
|
175
175
|
* @type {number}
|
|
@@ -234,16 +234,6 @@ export const EventOrderBookEntryStatusEnum = {
|
|
|
234
234
|
} as const;
|
|
235
235
|
export type EventOrderBookEntryStatusEnum = typeof EventOrderBookEntryStatusEnum[keyof typeof EventOrderBookEntryStatusEnum];
|
|
236
236
|
|
|
237
|
-
/**
|
|
238
|
-
* @export
|
|
239
|
-
*/
|
|
240
|
-
export const EventOrderBookEntryOutcomeEnum = {
|
|
241
|
-
None: 0,
|
|
242
|
-
No: 1,
|
|
243
|
-
Yes: 2
|
|
244
|
-
} as const;
|
|
245
|
-
export type EventOrderBookEntryOutcomeEnum = typeof EventOrderBookEntryOutcomeEnum[keyof typeof EventOrderBookEntryOutcomeEnum];
|
|
246
|
-
|
|
247
237
|
|
|
248
238
|
/**
|
|
249
239
|
* Check if a given object implements the EventOrderBookEntry interface.
|
package/models/OrderBook.ts
CHANGED
|
@@ -162,7 +162,7 @@ export interface OrderBook {
|
|
|
162
162
|
* @type {number}
|
|
163
163
|
* @memberof OrderBook
|
|
164
164
|
*/
|
|
165
|
-
outcome:
|
|
165
|
+
outcome: number;
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
168
|
* @type {number}
|
|
@@ -221,16 +221,6 @@ export const OrderBookStatusEnum = {
|
|
|
221
221
|
} as const;
|
|
222
222
|
export type OrderBookStatusEnum = typeof OrderBookStatusEnum[keyof typeof OrderBookStatusEnum];
|
|
223
223
|
|
|
224
|
-
/**
|
|
225
|
-
* @export
|
|
226
|
-
*/
|
|
227
|
-
export const OrderBookOutcomeEnum = {
|
|
228
|
-
None: 0,
|
|
229
|
-
No: 1,
|
|
230
|
-
Yes: 2
|
|
231
|
-
} as const;
|
|
232
|
-
export type OrderBookOutcomeEnum = typeof OrderBookOutcomeEnum[keyof typeof OrderBookOutcomeEnum];
|
|
233
|
-
|
|
234
224
|
|
|
235
225
|
/**
|
|
236
226
|
* Check if a given object implements the OrderBook interface.
|
|
@@ -169,7 +169,7 @@ export interface PerpsOrderBookDetail {
|
|
|
169
169
|
* @type {number}
|
|
170
170
|
* @memberof PerpsOrderBookDetail
|
|
171
171
|
*/
|
|
172
|
-
outcome:
|
|
172
|
+
outcome: number;
|
|
173
173
|
/**
|
|
174
174
|
*
|
|
175
175
|
* @type {number}
|
|
@@ -372,16 +372,6 @@ export const PerpsOrderBookDetailStatusEnum = {
|
|
|
372
372
|
} as const;
|
|
373
373
|
export type PerpsOrderBookDetailStatusEnum = typeof PerpsOrderBookDetailStatusEnum[keyof typeof PerpsOrderBookDetailStatusEnum];
|
|
374
374
|
|
|
375
|
-
/**
|
|
376
|
-
* @export
|
|
377
|
-
*/
|
|
378
|
-
export const PerpsOrderBookDetailOutcomeEnum = {
|
|
379
|
-
None: 0,
|
|
380
|
-
No: 1,
|
|
381
|
-
Yes: 2
|
|
382
|
-
} as const;
|
|
383
|
-
export type PerpsOrderBookDetailOutcomeEnum = typeof PerpsOrderBookDetailOutcomeEnum[keyof typeof PerpsOrderBookDetailOutcomeEnum];
|
|
384
|
-
|
|
385
375
|
|
|
386
376
|
/**
|
|
387
377
|
* Check if a given object implements the PerpsOrderBookDetail interface.
|
|
@@ -162,7 +162,7 @@ export interface SpotOrderBookDetail {
|
|
|
162
162
|
* @type {number}
|
|
163
163
|
* @memberof SpotOrderBookDetail
|
|
164
164
|
*/
|
|
165
|
-
outcome:
|
|
165
|
+
outcome: number;
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
168
|
* @type {number}
|
|
@@ -281,16 +281,6 @@ export const SpotOrderBookDetailStatusEnum = {
|
|
|
281
281
|
} as const;
|
|
282
282
|
export type SpotOrderBookDetailStatusEnum = typeof SpotOrderBookDetailStatusEnum[keyof typeof SpotOrderBookDetailStatusEnum];
|
|
283
283
|
|
|
284
|
-
/**
|
|
285
|
-
* @export
|
|
286
|
-
*/
|
|
287
|
-
export const SpotOrderBookDetailOutcomeEnum = {
|
|
288
|
-
None: 0,
|
|
289
|
-
No: 1,
|
|
290
|
-
Yes: 2
|
|
291
|
-
} as const;
|
|
292
|
-
export type SpotOrderBookDetailOutcomeEnum = typeof SpotOrderBookDetailOutcomeEnum[keyof typeof SpotOrderBookDetailOutcomeEnum];
|
|
293
|
-
|
|
294
284
|
|
|
295
285
|
/**
|
|
296
286
|
* Check if a given object implements the SpotOrderBookDetail interface.
|
package/openapi.json
CHANGED
|
@@ -8348,15 +8348,11 @@
|
|
|
8348
8348
|
},
|
|
8349
8349
|
"is_ask": {
|
|
8350
8350
|
"type": "integer",
|
|
8351
|
-
"format": "
|
|
8351
|
+
"format": "int8",
|
|
8352
8352
|
"example": "1",
|
|
8353
8353
|
"enum": [
|
|
8354
|
-
0,
|
|
8355
|
-
1
|
|
8356
|
-
],
|
|
8357
|
-
"x-enum-varnames": [
|
|
8358
|
-
"Bid",
|
|
8359
|
-
"Ask"
|
|
8354
|
+
"0",
|
|
8355
|
+
"1"
|
|
8360
8356
|
]
|
|
8361
8357
|
},
|
|
8362
8358
|
"base_amount": {
|
|
@@ -8472,19 +8468,9 @@
|
|
|
8472
8468
|
},
|
|
8473
8469
|
"outcome": {
|
|
8474
8470
|
"type": "integer",
|
|
8475
|
-
"format": "
|
|
8471
|
+
"format": "uint8",
|
|
8476
8472
|
"example": "1",
|
|
8477
|
-
"
|
|
8478
|
-
0,
|
|
8479
|
-
1,
|
|
8480
|
-
2
|
|
8481
|
-
],
|
|
8482
|
-
"description": " None until the market settles",
|
|
8483
|
-
"x-enum-varnames": [
|
|
8484
|
-
"None",
|
|
8485
|
-
"No",
|
|
8486
|
-
"Yes"
|
|
8487
|
-
]
|
|
8473
|
+
"description": " 0 unresolved, 1 NO, 2 YES"
|
|
8488
8474
|
}
|
|
8489
8475
|
},
|
|
8490
8476
|
"title": "BinaryOptionMarketStats",
|
|
@@ -8650,17 +8636,7 @@
|
|
|
8650
8636
|
},
|
|
8651
8637
|
"outcome": {
|
|
8652
8638
|
"type": "integer",
|
|
8653
|
-
"format": "
|
|
8654
|
-
"enum": [
|
|
8655
|
-
0,
|
|
8656
|
-
1,
|
|
8657
|
-
2
|
|
8658
|
-
],
|
|
8659
|
-
"x-enum-varnames": [
|
|
8660
|
-
"None",
|
|
8661
|
-
"No",
|
|
8662
|
-
"Yes"
|
|
8663
|
-
]
|
|
8639
|
+
"format": "int16"
|
|
8664
8640
|
},
|
|
8665
8641
|
"end_timestamp": {
|
|
8666
8642
|
"type": "integer",
|
|
@@ -8699,12 +8675,8 @@
|
|
|
8699
8675
|
"type": "integer",
|
|
8700
8676
|
"format": "int32",
|
|
8701
8677
|
"enum": [
|
|
8702
|
-
1,
|
|
8703
|
-
2
|
|
8704
|
-
],
|
|
8705
|
-
"x-enum-varnames": [
|
|
8706
|
-
"V1",
|
|
8707
|
-
"V2"
|
|
8678
|
+
"1",
|
|
8679
|
+
"2"
|
|
8708
8680
|
]
|
|
8709
8681
|
},
|
|
8710
8682
|
"source": {
|
|
@@ -9942,18 +9914,8 @@
|
|
|
9942
9914
|
},
|
|
9943
9915
|
"outcome": {
|
|
9944
9916
|
"type": "integer",
|
|
9945
|
-
"format": "
|
|
9946
|
-
"example": "1"
|
|
9947
|
-
"enum": [
|
|
9948
|
-
0,
|
|
9949
|
-
1,
|
|
9950
|
-
2
|
|
9951
|
-
],
|
|
9952
|
-
"x-enum-varnames": [
|
|
9953
|
-
"None",
|
|
9954
|
-
"No",
|
|
9955
|
-
"Yes"
|
|
9956
|
-
]
|
|
9917
|
+
"format": "uint8",
|
|
9918
|
+
"example": "1"
|
|
9957
9919
|
},
|
|
9958
9920
|
"operator_account_index": {
|
|
9959
9921
|
"type": "integer",
|
|
@@ -11999,18 +11961,8 @@
|
|
|
11999
11961
|
},
|
|
12000
11962
|
"outcome": {
|
|
12001
11963
|
"type": "integer",
|
|
12002
|
-
"format": "
|
|
12003
|
-
"example": "1"
|
|
12004
|
-
"enum": [
|
|
12005
|
-
0,
|
|
12006
|
-
1,
|
|
12007
|
-
2
|
|
12008
|
-
],
|
|
12009
|
-
"x-enum-varnames": [
|
|
12010
|
-
"None",
|
|
12011
|
-
"No",
|
|
12012
|
-
"Yes"
|
|
12013
|
-
]
|
|
11964
|
+
"format": "uint8",
|
|
11965
|
+
"example": "1"
|
|
12014
11966
|
},
|
|
12015
11967
|
"operator_account_index": {
|
|
12016
11968
|
"type": "integer",
|
|
@@ -12676,18 +12628,8 @@
|
|
|
12676
12628
|
},
|
|
12677
12629
|
"outcome": {
|
|
12678
12630
|
"type": "integer",
|
|
12679
|
-
"format": "
|
|
12680
|
-
"example": "1"
|
|
12681
|
-
"enum": [
|
|
12682
|
-
0,
|
|
12683
|
-
1,
|
|
12684
|
-
2
|
|
12685
|
-
],
|
|
12686
|
-
"x-enum-varnames": [
|
|
12687
|
-
"None",
|
|
12688
|
-
"No",
|
|
12689
|
-
"Yes"
|
|
12690
|
-
]
|
|
12631
|
+
"format": "uint8",
|
|
12632
|
+
"example": "1"
|
|
12691
12633
|
},
|
|
12692
12634
|
"operator_account_index": {
|
|
12693
12635
|
"type": "integer",
|
|
@@ -19135,18 +19077,8 @@
|
|
|
19135
19077
|
},
|
|
19136
19078
|
"outcome": {
|
|
19137
19079
|
"type": "integer",
|
|
19138
|
-
"format": "
|
|
19139
|
-
"example": "1"
|
|
19140
|
-
"enum": [
|
|
19141
|
-
0,
|
|
19142
|
-
1,
|
|
19143
|
-
2
|
|
19144
|
-
],
|
|
19145
|
-
"x-enum-varnames": [
|
|
19146
|
-
"None",
|
|
19147
|
-
"No",
|
|
19148
|
-
"Yes"
|
|
19149
|
-
]
|
|
19080
|
+
"format": "uint8",
|
|
19081
|
+
"example": "1"
|
|
19150
19082
|
},
|
|
19151
19083
|
"operator_account_index": {
|
|
19152
19084
|
"type": "integer",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zklighter-perps",
|
|
3
|
-
"version": "0.573.0-circleci.
|
|
3
|
+
"version": "0.573.0-circleci.e29401c.devin-1790172978-integer-enum-postprocess",
|
|
4
4
|
"description": "Lighter Perps SDK",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"directories": {
|