zklighter-perps 1.0.212 → 1.0.214
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/LeaseEntry.ts +14 -1
- package/openapi.json +7 -1
- package/package.json +1 -1
package/models/LeaseEntry.ts
CHANGED
|
@@ -60,7 +60,7 @@ export interface LeaseEntry {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof LeaseEntry
|
|
62
62
|
*/
|
|
63
|
-
status:
|
|
63
|
+
status: LeaseEntryStatusEnum;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -69,6 +69,19 @@ export interface LeaseEntry {
|
|
|
69
69
|
error: string;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export const LeaseEntryStatusEnum = {
|
|
77
|
+
WaitingFee: 'waiting_fee',
|
|
78
|
+
Leased: 'leased',
|
|
79
|
+
Expired: 'expired',
|
|
80
|
+
Canceled: 'canceled'
|
|
81
|
+
} as const;
|
|
82
|
+
export type LeaseEntryStatusEnum = typeof LeaseEntryStatusEnum[keyof typeof LeaseEntryStatusEnum];
|
|
83
|
+
|
|
84
|
+
|
|
72
85
|
/**
|
|
73
86
|
* Check if a given object implements the LeaseEntry interface.
|
|
74
87
|
*/
|
package/openapi.json
CHANGED