zklighter-perps 0.573.0-circleci.4e9cf16.devin-1790172978-integer-enum-postprocess → 0.573.0-circleci.5f9803f.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/Account.ts CHANGED
@@ -36,7 +36,7 @@ export interface Account {
36
36
  * @type {number}
37
37
  * @memberof Account
38
38
  */
39
- account_type: AccountAccountTypeEnum;
39
+ account_type: number;
40
40
  /**
41
41
  *
42
42
  * @type {number}
@@ -102,33 +102,9 @@ export interface Account {
102
102
  * @type {number}
103
103
  * @memberof Account
104
104
  */
105
- account_trading_mode?: AccountAccountTradingModeEnum;
105
+ account_trading_mode?: number;
106
106
  }
107
107
 
108
-
109
- /**
110
- * @export
111
- */
112
- export const AccountAccountTypeEnum = {
113
- Master: 0,
114
- Sub: 1,
115
- PublicPool: 2,
116
- InsuranceFund: 3,
117
- LighterStakingPool: 4,
118
- TreasurySub: 5
119
- } as const;
120
- export type AccountAccountTypeEnum = typeof AccountAccountTypeEnum[keyof typeof AccountAccountTypeEnum];
121
-
122
- /**
123
- * @export
124
- */
125
- export const AccountAccountTradingModeEnum = {
126
- Simple: 0,
127
- Unified: 1
128
- } as const;
129
- export type AccountAccountTradingModeEnum = typeof AccountAccountTradingModeEnum[keyof typeof AccountAccountTradingModeEnum];
130
-
131
-
132
108
  /**
133
109
  * Check if a given object implements the Account interface.
134
110
  */
@@ -108,7 +108,7 @@ export interface AccountPosition {
108
108
  * @type {number}
109
109
  * @memberof AccountPosition
110
110
  */
111
- margin_mode: AccountPositionMarginModeEnum;
111
+ margin_mode: number;
112
112
  /**
113
113
  *
114
114
  * @type {number}
@@ -129,17 +129,6 @@ export interface AccountPosition {
129
129
  total_discount: string;
130
130
  }
131
131
 
132
-
133
- /**
134
- * @export
135
- */
136
- export const AccountPositionMarginModeEnum = {
137
- Cross: 0,
138
- Isolated: 1
139
- } as const;
140
- export type AccountPositionMarginModeEnum = typeof AccountPositionMarginModeEnum[keyof typeof AccountPositionMarginModeEnum];
141
-
142
-
143
132
  /**
144
133
  * Check if a given object implements the AccountPosition interface.
145
134
  */
@@ -67,7 +67,7 @@ export interface AccountStats {
67
67
  * @type {number}
68
68
  * @memberof AccountStats
69
69
  */
70
- account_trading_mode?: AccountStatsAccountTradingModeEnum;
70
+ account_trading_mode?: number;
71
71
  /**
72
72
  *
73
73
  * @type {AccountMarginStats}
@@ -82,17 +82,6 @@ export interface AccountStats {
82
82
  total_stats: AccountMarginStats;
83
83
  }
84
84
 
85
-
86
- /**
87
- * @export
88
- */
89
- export const AccountStatsAccountTradingModeEnum = {
90
- Simple: 0,
91
- Unified: 1
92
- } as const;
93
- export type AccountStatsAccountTradingModeEnum = typeof AccountStatsAccountTradingModeEnum[keyof typeof AccountStatsAccountTradingModeEnum];
94
-
95
-
96
85
  /**
97
86
  * Check if a given object implements the AccountStats interface.
98
87
  */
@@ -30,7 +30,7 @@ export interface AtomicOrderLeg {
30
30
  * @type {number}
31
31
  * @memberof AtomicOrderLeg
32
32
  */
33
- is_ask: AtomicOrderLegIsAskEnum;
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
- * None until the market settles
113
+ * 0 unresolved, 1 NO, 2 YES
114
114
  * @type {number}
115
115
  * @memberof BinaryOptionMarketStats
116
116
  */
117
- outcome: BinaryOptionMarketStatsOutcomeEnum;
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.
@@ -36,7 +36,7 @@ export interface BoOutcomePnL {
36
36
  * @type {number}
37
37
  * @memberof BoOutcomePnL
38
38
  */
39
- outcome: BoOutcomePnLOutcomeEnum;
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
- V1: 1,
120
- V2: 2
119
+ NUMBER_1: 1,
120
+ NUMBER_2: 2
121
121
  } as const;
122
122
  export type BridgeVersionEnum = typeof BridgeVersionEnum[keyof typeof BridgeVersionEnum];
123
123
 
@@ -85,7 +85,7 @@ export interface DetailedAccount {
85
85
  * @type {number}
86
86
  * @memberof DetailedAccount
87
87
  */
88
- account_type: DetailedAccountAccountTypeEnum;
88
+ account_type: number;
89
89
  /**
90
90
  *
91
91
  * @type {number}
@@ -151,7 +151,7 @@ export interface DetailedAccount {
151
151
  * @type {number}
152
152
  * @memberof DetailedAccount
153
153
  */
154
- account_trading_mode?: DetailedAccountAccountTradingModeEnum;
154
+ account_trading_mode?: number;
155
155
  /**
156
156
  *
157
157
  * @type {number}
@@ -286,30 +286,6 @@ export interface DetailedAccount {
286
286
  approved_integrators?: Array<ApprovedIntegrator>;
287
287
  }
288
288
 
289
-
290
- /**
291
- * @export
292
- */
293
- export const DetailedAccountAccountTypeEnum = {
294
- Master: 0,
295
- Sub: 1,
296
- PublicPool: 2,
297
- InsuranceFund: 3,
298
- LighterStakingPool: 4,
299
- TreasurySub: 5
300
- } as const;
301
- export type DetailedAccountAccountTypeEnum = typeof DetailedAccountAccountTypeEnum[keyof typeof DetailedAccountAccountTypeEnum];
302
-
303
- /**
304
- * @export
305
- */
306
- export const DetailedAccountAccountTradingModeEnum = {
307
- Simple: 0,
308
- Unified: 1
309
- } as const;
310
- export type DetailedAccountAccountTradingModeEnum = typeof DetailedAccountAccountTradingModeEnum[keyof typeof DetailedAccountAccountTradingModeEnum];
311
-
312
-
313
289
  /**
314
290
  * Check if a given object implements the DetailedAccount interface.
315
291
  */
@@ -169,7 +169,7 @@ export interface EventOrderBookEntry {
169
169
  * @type {number}
170
170
  * @memberof EventOrderBookEntry
171
171
  */
172
- outcome: EventOrderBookEntryOutcomeEnum;
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.
@@ -162,7 +162,7 @@ export interface OrderBook {
162
162
  * @type {number}
163
163
  * @memberof OrderBook
164
164
  */
165
- outcome: OrderBookOutcomeEnum;
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: PerpsOrderBookDetailOutcomeEnum;
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.
@@ -43,7 +43,7 @@ export interface PublicPoolInfo {
43
43
  * @type {number}
44
44
  * @memberof PublicPoolInfo
45
45
  */
46
- status: PublicPoolInfoStatusEnum;
46
+ status: number;
47
47
  /**
48
48
  *
49
49
  * @type {string}
@@ -100,17 +100,6 @@ export interface PublicPoolInfo {
100
100
  strategies: Array<Strategy>;
101
101
  }
102
102
 
103
-
104
- /**
105
- * @export
106
- */
107
- export const PublicPoolInfoStatusEnum = {
108
- Active: 0,
109
- Frozen: 1
110
- } as const;
111
- export type PublicPoolInfoStatusEnum = typeof PublicPoolInfoStatusEnum[keyof typeof PublicPoolInfoStatusEnum];
112
-
113
-
114
103
  /**
115
104
  * Check if a given object implements the PublicPoolInfo interface.
116
105
  */
@@ -67,7 +67,7 @@ export interface PublicPoolMetadata {
67
67
  * @type {number}
68
68
  * @memberof PublicPoolMetadata
69
69
  */
70
- account_type: PublicPoolMetadataAccountTypeEnum;
70
+ account_type: number;
71
71
  /**
72
72
  *
73
73
  * @type {string}
@@ -97,7 +97,7 @@ export interface PublicPoolMetadata {
97
97
  * @type {number}
98
98
  * @memberof PublicPoolMetadata
99
99
  */
100
- status: PublicPoolMetadataStatusEnum;
100
+ status: number;
101
101
  /**
102
102
  *
103
103
  * @type {string}
@@ -142,30 +142,6 @@ export interface PublicPoolMetadata {
142
142
  assets: Array<AccountAsset>;
143
143
  }
144
144
 
145
-
146
- /**
147
- * @export
148
- */
149
- export const PublicPoolMetadataAccountTypeEnum = {
150
- Master: 0,
151
- Sub: 1,
152
- PublicPool: 2,
153
- InsuranceFund: 3,
154
- LighterStakingPool: 4,
155
- TreasurySub: 5
156
- } as const;
157
- export type PublicPoolMetadataAccountTypeEnum = typeof PublicPoolMetadataAccountTypeEnum[keyof typeof PublicPoolMetadataAccountTypeEnum];
158
-
159
- /**
160
- * @export
161
- */
162
- export const PublicPoolMetadataStatusEnum = {
163
- Active: 0,
164
- Frozen: 1
165
- } as const;
166
- export type PublicPoolMetadataStatusEnum = typeof PublicPoolMetadataStatusEnum[keyof typeof PublicPoolMetadataStatusEnum];
167
-
168
-
169
145
  /**
170
146
  * Check if a given object implements the PublicPoolMetadata interface.
171
147
  */
@@ -162,7 +162,7 @@ export interface SpotOrderBookDetail {
162
162
  * @type {number}
163
163
  * @memberof SpotOrderBookDetail
164
164
  */
165
- outcome: SpotOrderBookDetailOutcomeEnum;
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
@@ -7175,24 +7175,8 @@
7175
7175
  },
7176
7176
  "account_type": {
7177
7177
  "type": "integer",
7178
- "format": "int32",
7179
- "example": "1",
7180
- "enum": [
7181
- 0,
7182
- 1,
7183
- 2,
7184
- 3,
7185
- 4,
7186
- 5
7187
- ],
7188
- "x-enum-varnames": [
7189
- "Master",
7190
- "Sub",
7191
- "PublicPool",
7192
- "InsuranceFund",
7193
- "LighterStakingPool",
7194
- "TreasurySub"
7195
- ]
7178
+ "format": "uint8",
7179
+ "example": "1"
7196
7180
  },
7197
7181
  "index": {
7198
7182
  "type": "integer",
@@ -7243,16 +7227,8 @@
7243
7227
  },
7244
7228
  "account_trading_mode": {
7245
7229
  "type": "integer",
7246
- "format": "int32",
7247
- "example": "1",
7248
- "enum": [
7249
- 0,
7250
- 1
7251
- ],
7252
- "x-enum-varnames": [
7253
- "Simple",
7254
- "Unified"
7255
- ]
7230
+ "format": "uint8",
7231
+ "example": "1"
7256
7232
  }
7257
7233
  },
7258
7234
  "title": "Account",
@@ -7795,15 +7771,7 @@
7795
7771
  "margin_mode": {
7796
7772
  "type": "integer",
7797
7773
  "format": "int32",
7798
- "example": "1",
7799
- "enum": [
7800
- 0,
7801
- 1
7802
- ],
7803
- "x-enum-varnames": [
7804
- "Cross",
7805
- "Isolated"
7806
- ]
7774
+ "example": "1"
7807
7775
  },
7808
7776
  "margin_set_flag": {
7809
7777
  "type": "integer",
@@ -7869,16 +7837,8 @@
7869
7837
  },
7870
7838
  "account_trading_mode": {
7871
7839
  "type": "integer",
7872
- "format": "int32",
7873
- "example": "1",
7874
- "enum": [
7875
- 0,
7876
- 1
7877
- ],
7878
- "x-enum-varnames": [
7879
- "Simple",
7880
- "Unified"
7881
- ]
7840
+ "format": "uint8",
7841
+ "example": "1"
7882
7842
  },
7883
7843
  "cross_stats": {
7884
7844
  "$ref": "#/definitions/AccountMarginStats"
@@ -8388,15 +8348,11 @@
8388
8348
  },
8389
8349
  "is_ask": {
8390
8350
  "type": "integer",
8391
- "format": "int32",
8351
+ "format": "int8",
8392
8352
  "example": "1",
8393
8353
  "enum": [
8394
- 0,
8395
- 1
8396
- ],
8397
- "x-enum-varnames": [
8398
- "Bid",
8399
- "Ask"
8354
+ "0",
8355
+ "1"
8400
8356
  ]
8401
8357
  },
8402
8358
  "base_amount": {
@@ -8512,19 +8468,9 @@
8512
8468
  },
8513
8469
  "outcome": {
8514
8470
  "type": "integer",
8515
- "format": "int32",
8471
+ "format": "uint8",
8516
8472
  "example": "1",
8517
- "enum": [
8518
- 0,
8519
- 1,
8520
- 2
8521
- ],
8522
- "description": " None until the market settles",
8523
- "x-enum-varnames": [
8524
- "None",
8525
- "No",
8526
- "Yes"
8527
- ]
8473
+ "description": " 0 unresolved, 1 NO, 2 YES"
8528
8474
  }
8529
8475
  },
8530
8476
  "title": "BinaryOptionMarketStats",
@@ -8690,17 +8636,7 @@
8690
8636
  },
8691
8637
  "outcome": {
8692
8638
  "type": "integer",
8693
- "format": "int32",
8694
- "enum": [
8695
- 0,
8696
- 1,
8697
- 2
8698
- ],
8699
- "x-enum-varnames": [
8700
- "None",
8701
- "No",
8702
- "Yes"
8703
- ]
8639
+ "format": "int16"
8704
8640
  },
8705
8641
  "end_timestamp": {
8706
8642
  "type": "integer",
@@ -8739,12 +8675,8 @@
8739
8675
  "type": "integer",
8740
8676
  "format": "int32",
8741
8677
  "enum": [
8742
- 1,
8743
- 2
8744
- ],
8745
- "x-enum-varnames": [
8746
- "V1",
8747
- "V2"
8678
+ "1",
8679
+ "2"
8748
8680
  ]
8749
8681
  },
8750
8682
  "source": {
@@ -9435,24 +9367,8 @@
9435
9367
  },
9436
9368
  "account_type": {
9437
9369
  "type": "integer",
9438
- "format": "int32",
9439
- "example": "1",
9440
- "enum": [
9441
- 0,
9442
- 1,
9443
- 2,
9444
- 3,
9445
- 4,
9446
- 5
9447
- ],
9448
- "x-enum-varnames": [
9449
- "Master",
9450
- "Sub",
9451
- "PublicPool",
9452
- "InsuranceFund",
9453
- "LighterStakingPool",
9454
- "TreasurySub"
9455
- ]
9370
+ "format": "uint8",
9371
+ "example": "1"
9456
9372
  },
9457
9373
  "index": {
9458
9374
  "type": "integer",
@@ -9503,16 +9419,8 @@
9503
9419
  },
9504
9420
  "account_trading_mode": {
9505
9421
  "type": "integer",
9506
- "format": "int32",
9507
- "example": "1",
9508
- "enum": [
9509
- 0,
9510
- 1
9511
- ],
9512
- "x-enum-varnames": [
9513
- "Simple",
9514
- "Unified"
9515
- ]
9422
+ "format": "uint8",
9423
+ "example": "1"
9516
9424
  },
9517
9425
  "account_index": {
9518
9426
  "type": "integer",
@@ -10006,18 +9914,8 @@
10006
9914
  },
10007
9915
  "outcome": {
10008
9916
  "type": "integer",
10009
- "format": "int32",
10010
- "example": "1",
10011
- "enum": [
10012
- 0,
10013
- 1,
10014
- 2
10015
- ],
10016
- "x-enum-varnames": [
10017
- "None",
10018
- "No",
10019
- "Yes"
10020
- ]
9917
+ "format": "uint8",
9918
+ "example": "1"
10021
9919
  },
10022
9920
  "operator_account_index": {
10023
9921
  "type": "integer",
@@ -12063,18 +11961,8 @@
12063
11961
  },
12064
11962
  "outcome": {
12065
11963
  "type": "integer",
12066
- "format": "int32",
12067
- "example": "1",
12068
- "enum": [
12069
- 0,
12070
- 1,
12071
- 2
12072
- ],
12073
- "x-enum-varnames": [
12074
- "None",
12075
- "No",
12076
- "Yes"
12077
- ]
11964
+ "format": "uint8",
11965
+ "example": "1"
12078
11966
  },
12079
11967
  "operator_account_index": {
12080
11968
  "type": "integer",
@@ -12740,18 +12628,8 @@
12740
12628
  },
12741
12629
  "outcome": {
12742
12630
  "type": "integer",
12743
- "format": "int32",
12744
- "example": "1",
12745
- "enum": [
12746
- 0,
12747
- 1,
12748
- 2
12749
- ],
12750
- "x-enum-varnames": [
12751
- "None",
12752
- "No",
12753
- "Yes"
12754
- ]
12631
+ "format": "uint8",
12632
+ "example": "1"
12755
12633
  },
12756
12634
  "operator_account_index": {
12757
12635
  "type": "integer",
@@ -13477,16 +13355,8 @@
13477
13355
  "properties": {
13478
13356
  "status": {
13479
13357
  "type": "integer",
13480
- "format": "int32",
13481
- "example": "0",
13482
- "enum": [
13483
- 0,
13484
- 1
13485
- ],
13486
- "x-enum-varnames": [
13487
- "Active",
13488
- "Frozen"
13489
- ]
13358
+ "format": "uint8",
13359
+ "example": "0"
13490
13360
  },
13491
13361
  "operator_fee": {
13492
13362
  "type": "string",
@@ -13576,24 +13446,8 @@
13576
13446
  },
13577
13447
  "account_type": {
13578
13448
  "type": "integer",
13579
- "format": "int32",
13580
- "example": "1",
13581
- "enum": [
13582
- 0,
13583
- 1,
13584
- 2,
13585
- 3,
13586
- 4,
13587
- 5
13588
- ],
13589
- "x-enum-varnames": [
13590
- "Master",
13591
- "Sub",
13592
- "PublicPool",
13593
- "InsuranceFund",
13594
- "LighterStakingPool",
13595
- "TreasurySub"
13596
- ]
13449
+ "format": "uint8",
13450
+ "example": "1"
13597
13451
  },
13598
13452
  "name": {
13599
13453
  "type": "string"
@@ -13614,16 +13468,8 @@
13614
13468
  },
13615
13469
  "status": {
13616
13470
  "type": "integer",
13617
- "format": "int32",
13618
- "example": "0",
13619
- "enum": [
13620
- 0,
13621
- 1
13622
- ],
13623
- "x-enum-varnames": [
13624
- "Active",
13625
- "Frozen"
13626
- ]
13471
+ "format": "uint8",
13472
+ "example": "0"
13627
13473
  },
13628
13474
  "operator_fee": {
13629
13475
  "type": "string",
@@ -19231,18 +19077,8 @@
19231
19077
  },
19232
19078
  "outcome": {
19233
19079
  "type": "integer",
19234
- "format": "int32",
19235
- "example": "1",
19236
- "enum": [
19237
- 0,
19238
- 1,
19239
- 2
19240
- ],
19241
- "x-enum-varnames": [
19242
- "None",
19243
- "No",
19244
- "Yes"
19245
- ]
19080
+ "format": "uint8",
19081
+ "example": "1"
19246
19082
  },
19247
19083
  "operator_account_index": {
19248
19084
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "0.573.0-circleci.4e9cf16.devin-1790172978-integer-enum-postprocess",
3
+ "version": "0.573.0-circleci.5f9803f.devin-1790172978-integer-enum-postprocess",
4
4
  "description": "Lighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {