/** * OpenAPI definition * # Exciting News Hey there, amazing developers! 👋 We\'ve got some fantastic news to share that will make your experience with our product even better. We\'re thrilled to announce the implementation of API-Keys, which brings a new level of control and convenience to your development process. So, let\'s dive right into the details! ✨ ## API-Keys for Enhanced Functionality 🔑 Starting now, we have introduced API-Keys to streamline your interactions with our methods. You might have noticed a slight change while making requests – now, all you need to do is include the parameter `X-API-KEY` in the Header of your request. Simple as that! ## Get Your API-Key in a Snap! ⚡️ Securing your API-Key is a breeze. We\'ve made the process super user-friendly to ensure you can get started quickly. Just head over to our website and fill out a simple form. Once you\'ve done that, your shiny new API-Key will be delivered straight to your email inbox. Easy peasy! 📧 [Get Your API-Key Here](https://api.rarible.org/registration) [Configure SDK with API-key](https://github.com/rarible/sdk#api-querying) ## Unlock the Power of the Rarible Protocol 🔓 As passionate developers, we know you\'re always hungry for knowledge and eager to explore new frontiers. That\'s why we invite you to discover the incredible world of the Rarible Protocol. By visiting our dedicated protocol page, you\'ll gain access to a treasure trove of useful information, tips, and insights that will elevate your development skills to new heights. 🚀 [Explore the Rarible Protocol](https://rarible.org) So, buckle up and get ready for an enhanced development journey with our API-Keys. We\'re excited to see what you\'ll create using our revamped system! 💪🚀 Stay curious, keep innovating, and happy coding! ✨ [P.S. Join our Discord Server to stay up to date and ask questions](https://discord.gg/rarifoundation) * * The version of the OpenAPI document: v0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { Blockchain, RewardEntities, RewardsByBlockchain, RewardsClaimSignatureResponse, UnionApiErrorBadRequest, UnionApiErrorEntityNotFound, UnionApiErrorServerError } from '../models'; export interface GetClaimSignatureRequest { blockchain: Blockchain; signer: string; epoch: string; points: string; } export interface GetPointsRewardsRequest { size?: number; continuation?: string; } export interface GetPointsRewardsByAddressRequest { address: string; } /** * no description */ export declare class PointsControllerApi extends runtime.BaseAPI { /** * A user uses this resource to sign a request to use their points collected through Points Program to claim the rewards (RARI) * Sign a message to claim rewards */ getClaimSignatureRaw(requestParameters: GetClaimSignatureRequest): Promise; /** * A user uses this resource to sign a request to use their points collected through Points Program to claim the rewards (RARI) * Sign a message to claim rewards */ getClaimSignature(requestParameters: GetClaimSignatureRequest): Promise; /** * Returns a paginated list of wallets with awarded points and rankings * Get the leaderboard of awarded points across blockchains */ getPointsRewardsRaw(requestParameters: GetPointsRewardsRequest): Promise; /** * Returns a paginated list of wallets with awarded points and rankings * Get the leaderboard of awarded points across blockchains */ getPointsRewards(requestParameters: GetPointsRewardsRequest): Promise; /** * Returns reward information grouped by blockchain for a specific wallet address * Get awarded points by address */ getPointsRewardsByAddressRaw(requestParameters: GetPointsRewardsByAddressRequest): Promise; /** * Returns reward information grouped by blockchain for a specific wallet address * Get awarded points by address */ getPointsRewardsByAddress(requestParameters: GetPointsRewardsByAddressRequest): Promise; } export type GetClaimSignature200 = { status: 200; value: RewardsClaimSignatureResponse; }; export type GetClaimSignature400 = { status: 400; value: UnionApiErrorBadRequest; }; export type GetClaimSignature500 = { status: 500; value: UnionApiErrorServerError; }; export type GetClaimSignatureResponse = GetClaimSignature200 | GetClaimSignature400 | GetClaimSignature500; export type GetPointsRewards200 = { status: 200; value: RewardEntities; }; export type GetPointsRewards400 = { status: 400; value: UnionApiErrorBadRequest; }; export type GetPointsRewards500 = { status: 500; value: UnionApiErrorServerError; }; export type GetPointsRewardsResponse = GetPointsRewards200 | GetPointsRewards400 | GetPointsRewards500; export type GetPointsRewardsByAddress200 = { status: 200; value: RewardsByBlockchain; }; export type GetPointsRewardsByAddress404 = { status: 404; value: UnionApiErrorEntityNotFound; }; export type GetPointsRewardsByAddress400 = { status: 400; value: UnionApiErrorBadRequest; }; export type GetPointsRewardsByAddress500 = { status: 500; value: UnionApiErrorServerError; }; export type GetPointsRewardsByAddressResponse = GetPointsRewardsByAddress200 | GetPointsRewardsByAddress404 | GetPointsRewardsByAddress400 | GetPointsRewardsByAddress500;