-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
348 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
src/commonMain/kotlin/indexer/codegen/IndexerAddress_registerToken_body.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param language | ||
* @param token | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class AddressRegisterTokenBody( | ||
|
||
val language: kotlin.String? = null, | ||
val token: kotlin.String? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateAddressResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param address | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateAddressResponse( | ||
|
||
val address: kotlin.String? = null | ||
) |
30 changes: 30 additions & 0 deletions
30
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateMetadataResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param referralCode | ||
* @param isVolumeEligible | ||
* @param isAffiliate | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateMetadataResponse( | ||
|
||
val referralCode: kotlin.String? = null, | ||
val isVolumeEligible: kotlin.Boolean? = null, | ||
val isAffiliate: kotlin.Boolean? = null | ||
) |
30 changes: 30 additions & 0 deletions
30
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateSnapshotResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param affiliateList | ||
* @param total | ||
* @param currentOffset | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateSnapshotResponse( | ||
|
||
val affiliateList: kotlin.Array<IndexerAffiliateSnapshotResponseObject>? = null, | ||
val total: kotlin.Double? = null, | ||
val currentOffset: kotlin.Double? = null | ||
) |
40 changes: 40 additions & 0 deletions
40
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateSnapshotResponseObject.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param affiliateAddress | ||
* @param affiliateReferralCode | ||
* @param affiliateEarnings | ||
* @param affiliateReferredTrades | ||
* @param affiliateTotalReferredFees | ||
* @param affiliateReferredUsers | ||
* @param affiliateReferredNetProtocolEarnings | ||
* @param affiliateReferredTotalVolume | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateSnapshotResponseObject( | ||
|
||
val affiliateAddress: kotlin.String? = null, | ||
val affiliateReferralCode: kotlin.String? = null, | ||
val affiliateEarnings: kotlin.Double? = null, | ||
val affiliateReferredTrades: kotlin.Double? = null, | ||
val affiliateTotalReferredFees: kotlin.Double? = null, | ||
val affiliateReferredUsers: kotlin.Double? = null, | ||
val affiliateReferredNetProtocolEarnings: kotlin.Double? = null, | ||
val affiliateReferredTotalVolume: kotlin.Double? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateTotalVolumeResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param totalVolume | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateTotalVolumeResponse( | ||
|
||
val totalVolume: kotlin.Double? = null | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerMegavaultHistoricalPnlResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param megavaultPnl | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerMegavaultHistoricalPnlResponse( | ||
|
||
val megavaultPnl: kotlin.Array<IndexerPnlTicksResponseObject>? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerMegavaultPositionResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param positions | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerMegavaultPositionResponse( | ||
|
||
val positions: kotlin.Array<IndexerVaultPosition>? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerPnlTickInterval.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* Values: HOUR,DAY | ||
*/ | ||
@JsExport | ||
@Serializable | ||
enum class IndexerPnlTickInterval(val value: kotlin.String) { | ||
HOUR("hour"), // :/ | ||
DAY("day"); // :/ | ||
} |
28 changes: 28 additions & 0 deletions
28
src/commonMain/kotlin/indexer/codegen/IndexerVaultHistoricalPnl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param ticker | ||
* @param historicalPnl | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerVaultHistoricalPnl( | ||
|
||
val ticker: kotlin.String? = null, | ||
val historicalPnl: kotlin.Array<IndexerPnlTicksResponseObject>? = null | ||
) |
32 changes: 32 additions & 0 deletions
32
src/commonMain/kotlin/indexer/codegen/IndexerVaultPosition.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param ticker | ||
* @param assetPosition | ||
* @param perpetualPosition | ||
* @param equity | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerVaultPosition( | ||
|
||
val ticker: kotlin.String? = null, | ||
val assetPosition: IndexerAssetPositionResponseObject? = null, | ||
val perpetualPosition: IndexerPerpetualPositionResponseObject? = null, | ||
val equity: kotlin.String? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerVaultsHistoricalPnlResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param vaultsPnl | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerVaultsHistoricalPnlResponse( | ||
|
||
val vaultsPnl: kotlin.Array<IndexerVaultHistoricalPnl>? = null | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters