/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */ export interface paths { "/proton/openapi.json": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["OpenApi"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/docs": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description HTML content */ 200: { headers: { [name: string]: unknown; }; content: { "text/html": string; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/config": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Returns the current configuration of the indexer. */ get: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Config"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/uncranked": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Effects that haven't been cranked yet. You probably don't need this. */ get: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Uncranked"][]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/blocks/prunable": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Returns a list of candidate blocks for pruning. */ get: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": [ string, number ][]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/last-block-ids": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Returns the last block ids. */ get: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LastBlockIds"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/blocks/by-range": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Returns a list of blocks from the indexer. */ get: { parameters: { query: { start: number; end: number; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Block"][]; }; }; 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ClientError_for_GenericErrorKind"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/blocks/by-action-id/{action_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Returns the blocks containing the given action id, if it exists. * * There may be multiple _proposed_ blocks containing the action id, but there will be at most one _finalized_ block that contains it. */ get: { parameters: { query?: never; header?: never; path: { action_id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Block"][]; }; }; 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ClientError_for_GenericErrorKind"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/deposits/unqueued": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Returns deposits that haven't been queued yet. Deposits will be in order that they were created. The number of returned deposits is capped, so this endpoint is not suitable to get an exhaustive list of all unqueued deposits. */ get: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["UnqueuedDeposit"][]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/deposits/by-recipient/{pubkey}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description List of deposits for a given recipient, paginated by solana slot. */ get: { parameters: { query: { /** @description If descending, returns newest to olders, and vice versa. */ order: components["schemas"]["Order"]; /** @description Filter the results. */ status: components["schemas"]["DepositStatus"]; /** @description First entry for pagination. */ slot?: number | null; }; header?: never; path: { pubkey: string; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Deposit"][]; }; }; 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ClientError_for_GenericErrorKind"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/withdrawals/by-user/{pubkey}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Get all withdrawals for a user. */ get: { parameters: { query: { /** @description If descending, returns newest to olders, and vice versa. */ order: components["schemas"]["Order"]; /** @description How to filter the results. */ status: components["schemas"]["WithdrawalStatus"]; /** @description The first element of the unique key. */ block_id?: number | null; /** @description Must only be set if `block_id` is set. */ leaf_index?: number | null; }; header?: never; path: { pubkey: string; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Withdrawal"][]; }; }; 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ClientError_for_GenericErrorKind"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/proton/v0/withdrawals/by-action-id/{action_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Get the withdrawal for a given action id, if it exists. */ get: { parameters: { query?: never; header?: never; path: { action_id: number; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Withdrawal"] | null; }; }; 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ClientError_for_GenericErrorKind"]; }; }; }; }; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { OpenApi: { openapi: string; /** @description REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required. */ info: components["schemas"]["Info"]; /** @description The default value for the `$schema` keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI. */ jsonSchemaDialect?: string | null; /** @description An array of Server Objects, which provide connectivity information to a target server. If the servers property is not provided, or is an empty array, the default value would be a Server Object with a url value of /. */ servers?: components["schemas"]["Server"][]; /** @description The available paths and operations for the API. */ paths?: components["schemas"]["Paths"] | null; /** @description The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement. Closely related to the `callbacks` feature, this section describes requests initiated other than by an API call, for example by an out of band registration. The key name is a unique string to refer to each webhook, while the (optionally referenced) Path Item Object describes a request that may be initiated by the API provider and the expected responses. */ webhooks?: { [key: string]: components["schemas"]["ReferenceOr_for_PathItem"]; }; /** @description An element to hold various schemas for the document. */ components?: components["schemas"]["Components"] | null; /** @description A declaration of which security mechanisms can be used across the API. The list of values includes alternative security requirement objects that can be used. Only one of the security requirement objects need to be satisfied to authorize a request. Individual operations can override this definition. Global security settings may be overridden on a per-path basis. */ security?: { [key: string]: string[]; }[]; /** @description A list of tags used by the document with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tool's logic. Each tag name in the list MUST be unique. */ tags?: components["schemas"]["Tag"][]; /** @description Additional external documentation. */ externalDocs?: components["schemas"]["ExternalDocumentation"] | null; } & { [key: string]: unknown; }; /** @description The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience. */ Info: { /** @description REQUIRED. The title of the application. */ title: string; /** @description A short summary of the API. */ summary?: string | null; /** @description A description of the API. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description A URL to the Terms of Service for the API. This MUST be in the format of a URL. */ termsOfService?: string | null; /** @description The contact information for the exposed API. */ contact?: components["schemas"]["Contact"] | null; /** @description The license information for the exposed API. */ license?: components["schemas"]["License"] | null; /** @description REQUIRED. The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API implementation version). */ version: string; } & { [key: string]: unknown; }; /** @description Contact information for the exposed API. */ Contact: { /** @description The identifying name of the contact person/organization. */ name?: string | null; /** @description The URL pointing to the contact information. This MUST be in the format of a URL. */ url?: string | null; /** @description The email address of the contact person/organization. This MUST be in the format of an email address. */ email?: string | null; } & { [key: string]: unknown; }; /** @description License information for the exposed API. */ License: { /** @description REQUIRED. The license name used for the API. */ name: string; /** @description An [SPDX](https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60) license expression for the API. The `identifier` field is mutually exclusive of the `url` field. */ identifier?: string | null; /** @description A URL to the license used for the API. This MUST be in the form of a URL. The `url` field is mutually exclusive of the `identifier` field. */ url?: string | null; } & { [key: string]: unknown; }; /** @description An object representing a Server. */ Server: { /** @description REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}. */ url: string; /** @description An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description A map between a variable name and its value. The value is used for substitution in the server's URL template. */ variables?: { [key: string]: components["schemas"]["ServerVariable"]; }; } & { [key: string]: unknown; }; /** @description An object representing a Server Variable for server URL template substitution. */ ServerVariable: { /** @description An enumeration of string values to be used if the substitution options are from a limited set. */ enum?: string[]; /** @description REQUIRED. The default value to use for substitution, and to send, if an alternate value is not supplied. Unlike the Schema Object's default, this value MUST be provided by the consumer. */ default: string; /** @description An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; } & { [key: string]: unknown; }; /** @description Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths MAY be empty, due to Access Control List (ACL) constraints. */ Paths: { [key: string]: unknown; }; ReferenceOr_for_PathItem: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["PathItem"]; /** @description Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available. */ PathItem: { /** @description Allows for a referenced definition of this path item. The referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References. */ $ref?: string | null; /** @description An optional, string summary, intended to apply to all operations in this path. */ summary?: string | null; /** @description An optional, string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; get?: components["schemas"]["Operation"] | null; put?: components["schemas"]["Operation"] | null; post?: components["schemas"]["Operation"] | null; delete?: components["schemas"]["Operation"] | null; options?: components["schemas"]["Operation"] | null; head?: components["schemas"]["Operation"] | null; patch?: components["schemas"]["Operation"] | null; trace?: components["schemas"]["Operation"] | null; /** @description An alternative server array to service all operations in this path. */ servers?: components["schemas"]["Server"][]; /** @description A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object's components/parameters. */ parameters?: components["schemas"]["ReferenceOr_for_Parameter"][]; } & { [key: string]: unknown; }; /** @description Describes a single API operation on a path. */ Operation: { /** @description A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier. */ tags?: string[]; /** @description A short summary of what the operation does. */ summary?: string | null; /** @description A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description Additional external documentation for this operation. */ externalDocs?: components["schemas"]["ExternalDocumentation"] | null; /** @description Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions. */ operationId?: string | null; /** @description A list of parameters that are applicable for this operation. If a parameter is already defined at the Path Item, the new definition will override it but can never remove it. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object's components/parameters. */ parameters?: components["schemas"]["ReferenceOr_for_Parameter"][]; /** @description The request body applicable for this operation. The requestBody is fully supported in HTTP methods where the HTTP 1.1 specification RFC7231 has explicitly defined semantics for request bodies. In other cases where the HTTP spec is vague (such as [GET](https://tools.ietf.org/html/rfc7231#section-4.3.1), [HEAD](https://tools.ietf.org/html/rfc7231#section-4.3.2) and [DELETE](https://tools.ietf.org/html/rfc7231#section-4.3.5)), requestBody is permitted but does not have well-defined semantics and SHOULD be avoided if possible. */ requestBody?: components["schemas"]["ReferenceOr_for_RequestBody"] | null; /** @description The list of possible responses as they are returned from executing this operation. */ responses?: components["schemas"]["Responses"] | null; /** @description Declares this operation to be deprecated.Default value is false. */ deprecated?: boolean; /** @description A declaration of which security mechanisms can be used for this operation. The list of values includes alternative security requirement objects that can be used. Only one of the security requirement objects need to be satisfied to authorize a request. This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used. */ security?: { [key: string]: string[]; }[]; /** @description An alternative server array to service this operation. If an alternative server object is specified at the Path Item Object or Root level, it will be overridden by this value. */ servers?: components["schemas"]["Server"][]; /** @description Callbacks for the operation. */ callbacks?: { [key: string]: components["schemas"]["ReferenceOr_for_Map_of_ReferenceOr_for_PathItem"]; }; } & { [key: string]: unknown; }; /** @description Allows referencing an external resource for extended documentation. */ ExternalDocumentation: { /** @description A description of the target documentation. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description REQUIRED. The URL for the target documentation. This MUST be in the format of a URL. */ url: string; } & { [key: string]: unknown; }; ReferenceOr_for_Parameter: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["Parameter"]; Parameter: (({ /** @enum {string} */ in: "query"; /** @description Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding. This property only applies to parameters with an in value of query. The default value is false. */ allow_reserved?: boolean; /** * @description Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form. * @default form */ style: components["schemas"]["QueryStyle"]; /** @description Sets the ability to pass empty-valued parameters. This is valid only for query parameters and allows sending a parameter with an empty value. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. */ allow_empty_value?: boolean | null; /** @description REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to the associated path segment from the path field in the Paths Object. See Path Templating for further information. * * If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored. * * For all other cases, the name corresponds to the parameter name used by the in property. */ name: string; /** @description A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false. */ required?: boolean; /** @description Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. */ deprecated?: boolean | null; example?: unknown; examples?: { [key: string]: components["schemas"]["ReferenceOr_for_Example"]; }; explode?: boolean | null; } & { [key: string]: unknown; }) & ({ schema: components["schemas"]["SchemaObject"]; } | { content: { [key: string]: components["schemas"]["MediaType"]; }; })) | (({ /** @enum {string} */ in: "header"; /** * @description Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form. * @default simple */ style: components["schemas"]["HeaderStyle"]; /** @description REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to the associated path segment from the path field in the Paths Object. See Path Templating for further information. * * If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored. * * For all other cases, the name corresponds to the parameter name used by the in property. */ name: string; /** @description A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false. */ required?: boolean; /** @description Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. */ deprecated?: boolean | null; example?: unknown; examples?: { [key: string]: components["schemas"]["ReferenceOr_for_Example"]; }; explode?: boolean | null; } & { [key: string]: unknown; }) & ({ schema: components["schemas"]["SchemaObject"]; } | { content: { [key: string]: components["schemas"]["MediaType"]; }; })) | (({ /** @enum {string} */ in: "path"; /** * @description Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form. * @default simple */ style: components["schemas"]["PathStyle"]; /** @description REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to the associated path segment from the path field in the Paths Object. See Path Templating for further information. * * If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored. * * For all other cases, the name corresponds to the parameter name used by the in property. */ name: string; /** @description A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false. */ required?: boolean; /** @description Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. */ deprecated?: boolean | null; example?: unknown; examples?: { [key: string]: components["schemas"]["ReferenceOr_for_Example"]; }; explode?: boolean | null; } & { [key: string]: unknown; }) & ({ schema: components["schemas"]["SchemaObject"]; } | { content: { [key: string]: components["schemas"]["MediaType"]; }; })) | (({ /** @enum {string} */ in: "cookie"; /** * @description Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form. * @default form */ style: components["schemas"]["CookieStyle"]; /** @description REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to the associated path segment from the path field in the Paths Object. See Path Templating for further information. * * If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored. * * For all other cases, the name corresponds to the parameter name used by the in property. */ name: string; /** @description A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false. */ required?: boolean; /** @description Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. */ deprecated?: boolean | null; example?: unknown; examples?: { [key: string]: components["schemas"]["ReferenceOr_for_Example"]; }; explode?: boolean | null; } & { [key: string]: unknown; }) & ({ schema: components["schemas"]["SchemaObject"]; } | { content: { [key: string]: components["schemas"]["MediaType"]; }; })); /** @enum {string} */ QueryStyle: "form" | "spaceDelimited" | "pipeDelimited" | "deepObject"; ReferenceOr_for_Example: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["Example"]; Example: { /** @description Short description for the example. */ summary?: string | null; /** @description Long description for the example. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description Embedded literal example. The `value` field and `externalValue` field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary. */ value?: unknown; /** @description A URI that points to the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The `value` field and `externalValue` field are mutually exclusive. See the rules for resolving Relative References. */ externalValue?: string | null; } & { [key: string]: unknown; }; /** @description A JSON Schema. */ SchemaObject: { /** @description Additional external documentation for this schema. */ externalDocs?: components["schemas"]["ExternalDocumentation"] | null; /** @description A free-form property to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary. **Deprecated:** The `example` property has been deprecated in favor of the JSON Schema `examples` keyword. Use of `example` is discouraged, and later versions of this specification may remove it. */ example?: unknown; } | boolean | components["schemas"]["SchemaObject2"]; /** @description A JSON Schema object. */ SchemaObject2: { /** @description The `type` keyword. * * See [JSON Schema Validation 6.1.1. "type"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.1) and [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1). */ type?: components["schemas"]["SingleOrVec_for_InstanceType"] | null; /** @description The `format` keyword. * * See [JSON Schema Validation 7. A Vocabulary for Semantic Content With "format"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-7). */ format?: string | null; /** @description The `enum` keyword. * * See [JSON Schema Validation 6.1.2. "enum"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.2) */ enum?: unknown[] | null; /** @description The `const` keyword. * * See [JSON Schema Validation 6.1.3. "const"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.1.3) */ const?: unknown; /** @description The `$ref` keyword. * * See [JSON Schema 8.2.4.1. Direct References with "$ref"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.4.1). */ $ref?: string | null; /** @description The `$id` keyword. * * See [JSON Schema 8.2.2. The "$id" Keyword](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-8.2.2). */ $id?: string | null; /** @description The `title` keyword. * * See [JSON Schema Validation 9.1. "title" and "description"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1). */ title?: string | null; /** @description The `description` keyword. * * See [JSON Schema Validation 9.1. "title" and "description"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.1). */ description?: string | null; /** @description The `default` keyword. * * See [JSON Schema Validation 9.2. "default"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.2). */ default?: unknown; /** @description The `deprecated` keyword. * * See [JSON Schema Validation 9.3. "deprecated"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.3). */ deprecated?: boolean; /** @description The `readOnly` keyword. * * See [JSON Schema Validation 9.4. "readOnly" and "writeOnly"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4). */ readOnly?: boolean; /** @description The `writeOnly` keyword. * * See [JSON Schema Validation 9.4. "readOnly" and "writeOnly"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.4). */ writeOnly?: boolean; /** @description The `examples` keyword. * * See [JSON Schema Validation 9.5. "examples"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-9.5). */ examples?: unknown[]; /** @description The `allOf` keyword. * * See [JSON Schema 9.2.1.1. "allOf"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.1). */ allOf?: components["schemas"]["Schema"][] | null; /** @description The `anyOf` keyword. * * See [JSON Schema 9.2.1.2. "anyOf"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.2). */ anyOf?: components["schemas"]["Schema"][] | null; /** @description The `oneOf` keyword. * * See [JSON Schema 9.2.1.3. "oneOf"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.3). */ oneOf?: components["schemas"]["Schema"][] | null; /** @description The `not` keyword. * * See [JSON Schema 9.2.1.4. "not"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.1.4). */ not?: components["schemas"]["Schema"] | null; /** @description The `if` keyword. * * See [JSON Schema 9.2.2.1. "if"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.1). */ if?: components["schemas"]["Schema"] | null; /** @description The `then` keyword. * * See [JSON Schema 9.2.2.2. "then"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.2). */ then?: components["schemas"]["Schema"] | null; /** @description The `else` keyword. * * See [JSON Schema 9.2.2.3. "else"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.2.2.3). */ else?: components["schemas"]["Schema"] | null; /** * Format: double * @description The `multipleOf` keyword. * * See [JSON Schema Validation 6.2.1. "multipleOf"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.1). */ multipleOf?: number | null; /** * Format: double * @description The `maximum` keyword. * * See [JSON Schema Validation 6.2.2. "maximum"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.2). */ maximum?: number | null; /** * Format: double * @description The `exclusiveMaximum` keyword. * * See [JSON Schema Validation 6.2.3. "exclusiveMaximum"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.3). */ exclusiveMaximum?: number | null; /** * Format: double * @description The `minimum` keyword. * * See [JSON Schema Validation 6.2.4. "minimum"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.4). */ minimum?: number | null; /** * Format: double * @description The `exclusiveMinimum` keyword. * * See [JSON Schema Validation 6.2.5. "exclusiveMinimum"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.2.5). */ exclusiveMinimum?: number | null; /** * Format: uint32 * @description The `maxLength` keyword. * * See [JSON Schema Validation 6.3.1. "maxLength"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.1). */ maxLength?: number | null; /** * Format: uint32 * @description The `minLength` keyword. * * See [JSON Schema Validation 6.3.2. "minLength"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.2). */ minLength?: number | null; /** @description The `pattern` keyword. * * See [JSON Schema Validation 6.3.3. "pattern"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.3.3). */ pattern?: string | null; /** @description The `items` keyword. * * See [JSON Schema 9.3.1.1. "items"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.1). */ items?: components["schemas"]["SingleOrVec_for_Schema"] | null; /** @description The `additionalItems` keyword. * * See [JSON Schema 9.3.1.2. "additionalItems"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.2). */ additionalItems?: components["schemas"]["Schema"] | null; /** * Format: uint32 * @description The `maxItems` keyword. * * See [JSON Schema Validation 6.4.1. "maxItems"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.1). */ maxItems?: number | null; /** * Format: uint32 * @description The `minItems` keyword. * * See [JSON Schema Validation 6.4.2. "minItems"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.2). */ minItems?: number | null; /** @description The `uniqueItems` keyword. * * See [JSON Schema Validation 6.4.3. "uniqueItems"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.4.3). */ uniqueItems?: boolean | null; /** @description The `contains` keyword. * * See [JSON Schema 9.3.1.4. "contains"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.1.4). */ contains?: components["schemas"]["Schema"] | null; /** * Format: uint32 * @description The `maxProperties` keyword. * * See [JSON Schema Validation 6.5.1. "maxProperties"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.1). */ maxProperties?: number | null; /** * Format: uint32 * @description The `minProperties` keyword. * * See [JSON Schema Validation 6.5.2. "minProperties"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.2). */ minProperties?: number | null; /** @description The `required` keyword. * * See [JSON Schema Validation 6.5.3. "required"](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#section-6.5.3). */ required?: string[]; /** @description The `properties` keyword. * * See [JSON Schema 9.3.2.1. "properties"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.1). */ properties?: { [key: string]: components["schemas"]["Schema"]; }; /** @description The `patternProperties` keyword. * * See [JSON Schema 9.3.2.2. "patternProperties"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.2). */ patternProperties?: { [key: string]: components["schemas"]["Schema"]; }; /** @description The `additionalProperties` keyword. * * See [JSON Schema 9.3.2.3. "additionalProperties"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.3). */ additionalProperties?: components["schemas"]["Schema"] | null; /** @description The `propertyNames` keyword. * * See [JSON Schema 9.3.2.5. "propertyNames"](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-9.3.2.5). */ propertyNames?: components["schemas"]["Schema"] | null; } & { [key: string]: unknown; }; /** @description A type which can be serialized as a single item, or multiple items. * * In some contexts, a `Single` may be semantically distinct from a `Vec` containing only item. */ SingleOrVec_for_InstanceType: components["schemas"]["InstanceType"] | components["schemas"]["InstanceType"][]; /** * @description The possible types of values in JSON Schema documents. * * See [JSON Schema 4.2.1. Instance Data Model](https://tools.ietf.org/html/draft-handrews-json-schema-02#section-4.2.1). * @enum {string} */ InstanceType: "null" | "boolean" | "object" | "array" | "number" | "string" | "integer"; /** @description A JSON Schema. */ Schema: boolean | components["schemas"]["SchemaObject2"]; /** @description A type which can be serialized as a single item, or multiple items. * * In some contexts, a `Single` may be semantically distinct from a `Vec` containing only item. */ SingleOrVec_for_Schema: components["schemas"]["Schema"] | components["schemas"]["Schema"][]; MediaType: { schema?: components["schemas"]["SchemaObject"] | null; example?: unknown; examples?: { [key: string]: components["schemas"]["ReferenceOr_for_Example"]; }; encoding?: { [key: string]: components["schemas"]["Encoding"]; }; } & { [key: string]: unknown; }; /** @description A single encoding definition applied to a single schema property. */ Encoding: { /** @description The Content-Type for encoding a specific property. Default value depends on the property type: for object - application/json; for array – the default is defined based on the inner type. for all other cases the default is `application/octet-stream`. The value can be a specific media type (e.g. application/json), a wildcard media type (e.g. image/*), or a comma-separated list of the two types. */ contentType?: string | null; /** @description A map allowing additional information to be provided as headers, for example Content-Disposition. Content-Type is described separately and SHALL be ignored in this section. This property SHALL be ignored if the request body media type is not a multipart. */ headers?: { [key: string]: components["schemas"]["ReferenceOr_for_Header"]; }; /** @description Describes how a specific property value will be serialized depending on its type. See Parameter Object for details on the style property. The behavior follows the same values as query parameters, including default values. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of `contentType` (implicit or explicit) SHALL be ignored. */ style?: components["schemas"]["QueryStyle"] | null; /** @description When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When style is form, the default value is true. For all other styles, the default value is false. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of `contentType` (implicit or explicit) SHALL be ignored. * * In this Library this value defaults to false always despite the specification. */ explode?: boolean; /** @description Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding. The default value is false. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of `contentType` (implicit or explicit) SHALL be ignored. */ allowReserved?: boolean; } & { [key: string]: unknown; }; ReferenceOr_for_Header: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["Header"]; /** @description The Header Object follows the structure of the Parameter Object with the following changes: * * 1) name MUST NOT be specified, it is given in the corresponding headers map. 2) in MUST NOT be specified, it is implicitly in header. 3) All traits that are affected by the location MUST be applicable to a location of header (for example, style). */ Header: ({ /** @description A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @default simple */ style: components["schemas"]["HeaderStyle"]; /** @description Determines whether this parameter is mandatory. If the parameter location is "path", this property is REQUIRED and its value MUST be true. Otherwise, the property MAY be included and its default value is false. */ required?: boolean; /** @description Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. */ deprecated?: boolean | null; example?: unknown; examples?: { [key: string]: components["schemas"]["ReferenceOr_for_Example"]; }; } & { [key: string]: unknown; }) & ({ schema: components["schemas"]["SchemaObject"]; } | { content: { [key: string]: components["schemas"]["MediaType"]; }; }); /** @enum {string} */ HeaderStyle: "simple"; /** @enum {string} */ PathStyle: "matrix" | "label" | "simple"; /** @enum {string} */ CookieStyle: "form"; ReferenceOr_for_RequestBody: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["RequestBody"]; RequestBody: { /** @description A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. text/plain overrides text/* */ content?: { [key: string]: components["schemas"]["MediaType"]; }; /** @description Determines if the request body is required in the request. Defaults to false. */ required?: boolean; } & { [key: string]: unknown; }; Responses: { /** @description The documentation of responses other than the ones declared for specific HTTP response codes. Use this field to cover undeclared responses. */ default?: components["schemas"]["ReferenceOr_for_Response"] | null; } & { [key: string]: unknown; }; ReferenceOr_for_Response: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["Response"]; Response: { /** @description REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation. */ description: string; /** @description Maps a header name to its definition. RFC7230 states header names are case insensitive. If a response header is defined with the name "Content-Type", it SHALL be ignored. */ headers?: { [key: string]: components["schemas"]["ReferenceOr_for_Header"]; }; /** @description A map containing descriptions of potential response payloads. The key is a media type or media type range and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. text/plain overrides text/* */ content?: { [key: string]: components["schemas"]["MediaType"]; }; /** @description A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for Component Objects. */ links?: { [key: string]: components["schemas"]["ReferenceOr_for_Link"]; }; } & { [key: string]: unknown; }; ReferenceOr_for_Link: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["Link"]; /** @description The Link object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations. * * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response. * * For computing links, and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation. */ Link: ({ /** @description A description of the link. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description A literal value or {expression} to use as a request body when calling the target operation. */ requestBody?: unknown; /** @description A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used, whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. The parameter name can be qualified using the parameter location [{in}.]{name} for operations that use the same parameter name in different locations (e.g. path.id). */ parameters?: { [key: string]: unknown; }; /** @description A server object to be used by the target operation. */ server?: components["schemas"]["Server"] | null; } & { [key: string]: unknown; }) & ({ operationRef: string; } | { operationId: string; }); ReferenceOr_for_Map_of_ReferenceOr_for_PathItem: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | { [key: string]: components["schemas"]["ReferenceOr_for_PathItem"]; }; /** @description Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object. */ Components: { /** @description An object to hold reusable Security Scheme Objects. */ securitySchemes?: { [key: string]: components["schemas"]["ReferenceOr_for_SecurityScheme"]; }; /** @description An object to hold reusable Response Objects. */ responses?: { [key: string]: components["schemas"]["ReferenceOr_for_Response"]; }; /** @description An object to hold reusable Parameter Objects. */ parameters?: { [key: string]: components["schemas"]["ReferenceOr_for_Parameter"]; }; /** @description An object to hold reusable Example Objects. */ examples?: { [key: string]: components["schemas"]["ReferenceOr_for_Example"]; }; /** @description An object to hold reusable Request Body Objects. */ requestBodies?: { [key: string]: components["schemas"]["ReferenceOr_for_RequestBody"]; }; /** @description An object to hold reusable Header Objects. */ headers?: { [key: string]: components["schemas"]["ReferenceOr_for_Header"]; }; /** @description An object to hold reusable Schema Objects. */ schemas?: { [key: string]: components["schemas"]["SchemaObject"]; }; /** @description An object to hold reusable Link Objects. */ links?: { [key: string]: components["schemas"]["ReferenceOr_for_Link"]; }; /** @description An object to hold reusable Callback Objects. */ callbacks?: { [key: string]: components["schemas"]["ReferenceOr_for_Map_of_ReferenceOr_for_PathItem"]; }; /** @description An object to hold reusable Path Item Objects. */ pathItems?: { [key: string]: components["schemas"]["ReferenceOr_for_PathItem"]; }; } & { [key: string]: unknown; }; ReferenceOr_for_SecurityScheme: { /** @description REQUIRED. The reference identifier. This MUST be in the form of a URI. */ $ref: string; /** @description A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a `summary` field, then this field has no effect. */ summary?: string | null; /** @description A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a `description` field, then this field has no effect. */ description?: string | null; } | components["schemas"]["SecurityScheme"]; /** @description Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header or as a query parameter), OAuth2's common flows (implicit, password, application and access code) as defined in RFC6749, and OpenID Connect Discovery. */ SecurityScheme: ({ /** @enum {string} */ type: "apiKey"; in: components["schemas"]["ApiKeyLocation"]; name: string; description?: string | null; } & { [key: string]: unknown; }) | ({ /** @enum {string} */ type: "http"; scheme: string; bearerFormat?: string | null; description?: string | null; } & { [key: string]: unknown; }) | ({ /** @enum {string} */ type: "oauth2"; flows: components["schemas"]["OAuth2Flows"]; description?: string | null; } & { [key: string]: unknown; }) | ({ /** @enum {string} */ type: "openIdConnect"; openIdConnectUrl: string; description?: string | null; } & { [key: string]: unknown; }) | ({ /** @enum {string} */ type: "mutualTLS"; description?: string | null; } & { [key: string]: unknown; }); /** @enum {string} */ ApiKeyLocation: "query" | "header" | "cookie"; OAuth2Flows: { implicit: { authorizationUrl: string; refreshUrl?: string | null; /** @default {} */ scopes: { [key: string]: string; }; }; } | { password: { refreshUrl?: string | null; tokenUrl: string; /** @default {} */ scopes: { [key: string]: string; }; }; } | { clientCredentials: { refreshUrl?: string | null; tokenUrl: string; /** @default {} */ scopes: { [key: string]: string; }; }; } | { authorizationCode: { authorizationUrl: string; tokenUrl: string; refreshUrl?: string | null; /** @default {} */ scopes: { [key: string]: string; }; }; }; /** @description Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */ Tag: { /** @description REQUIRED. The name of the tag. */ name: string; /** @description A description for the tag. CommonMark syntax MAY be used for rich text representation. */ description?: string | null; /** @description Additional external documentation for this tag. */ externalDocs?: components["schemas"]["ExternalDocumentation"] | null; } & { [key: string]: unknown; }; Config: { /** Format: uint32 */ maxBlocksByRange: number; /** Format: uint32 */ maxBlocksUncranked: number; /** Format: uint32 */ maxWithdrawalsByUser: number; /** Format: uint32 */ maxDepositsUnqueued: number; /** Format: uint32 */ maxDepositsByRecipientSlots: number; /** Format: uint32 */ maxPrunableBlocks: number; chainGenesis: string; app: string; mints: components["schemas"]["Mint"][]; }; Mint: { mint: string; tokenProgram: string; /** Format: uint64 */ minDeposit: number; withdrawalRateLimit: components["schemas"]["RateLimitConfig"]; }; RateLimitConfig: { /** Format: uint64 */ maxBurst: number; /** Format: uint64 */ ratePerSlot: number; }; Uncranked: { prevStateFactsCmtmt: string; /** Format: uint64 */ blockId: number; /** @description The leaves which are unfulfilled. */ unfulfilledLeaves: number[]; /** @description All the effects for this block. */ effects: components["schemas"]["Effect"][]; }; /** @description An on-chain instruction locked behind finalization of the block whose merkle root contains it. */ Effect: { Withdrawal: { transfer: components["schemas"]["TransferParams"]; }; } | { XAppTransfer: { transfer: components["schemas"]["TransferParams"]; dst_app: string; }; }; TransferParams: { authority: string; mint: string; /** Format: uint64 */ amount: number; }; LastBlockIds: { /** * Format: uint64 * @description The last block that was proposed. */ lastProposedBlockId: number; /** * Format: uint64 * @description The last block that was finalized. */ lastFinalizedBlockId: number; }; BlocksQuery: { /** Format: uint64 */ start: number; /** Format: uint64 */ end: number; }; Block: { /** Format: uint64 */ blockId: number; proposer: string; blockFacts: components["schemas"]["BlockFacts"]; /** Format: uint64 */ effectsExecutedCount: number; /** Format: uint64 */ proposedSlot: number; /** Format: uint64 */ finalizedSlot?: number | null; proposedAt: string; finalizedAt: string; }; /** @description State transition block facts. */ BlockFacts: { app_version: string; prev_state_facts: components["schemas"]["StateFacts"]; next_state_facts: components["schemas"]["StateFacts"]; da_commitment: string; effects_root: string; /** Format: uint64 */ effects_count: number; }; StateFacts: { app_state_commitment: string; event_root: string; /** Format: uint64 */ last_event_index: number; /** Format: uint64 */ last_action_id: number; }; ClientError_for_GenericErrorKind: { kind: components["schemas"]["GenericErrorKind"]; message: string; }; /** @enum {string} */ GenericErrorKind: "InvalidBlocksRange" | "LeafIndexWithoutBlockId" | "U63OutOfBounds"; UnqueuedDeposit: { /** Format: uint64 */ createdAtSlot: number; /** Format: uint64 */ amount: number; depositorTokenAccount: string; bufferAccount: string; recipient: string; mint: string; }; /** @description The slot is used as the cursor. */ DepositsByRecipientQuery: { /** @description If descending, returns newest to olders, and vice versa. */ order: components["schemas"]["Order"]; /** @description Filter the results. */ status: components["schemas"]["DepositStatus"]; /** * Format: uint64 * @description First entry for pagination. */ slot?: number | null; }; /** * @description Only descending order is supported currently. * @enum {string} */ Order: "desc"; DepositStatus: "all"; Deposit: { /** Format: uint64 */ eventIndex?: number | null; /** Format: uint64 */ createdAtSlot: number; /** Format: uint64 */ amount: number; depositorTokenAccount: string; bufferAccount: string; recipient: string; mint: string; }; /** @description `(block_id, leaf_index)` comprises the unique key for a user withdrawal. For this query, they are used as the cursor, with the first element being at least or at most `(block_id, leaf_index)`, depending on `order`. */ UserWithdrawalsQuery: { /** @description If descending, returns newest to olders, and vice versa. */ order: components["schemas"]["Order"]; /** @description How to filter the results. */ status: components["schemas"]["WithdrawalStatus"]; /** * Format: uint64 * @description The first element of the unique key. */ block_id?: number | null; /** * Format: uint64 * @description Must only be set if `block_id` is set. */ leaf_index?: number | null; }; WithdrawalStatus: "all"; Withdrawal: { /** Format: uint64 */ blockId: number; /** Format: uint64 */ leafIndex: number; mint: string; /** Format: uint64 */ amount: number; wallet: string; fulfillmentInfo?: components["schemas"]["WithdrawalFulfillment"] | null; }; WithdrawalFulfillment: { proof: string[]; tokenAccount: string; /** Format: uint64 */ slot: number; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type $defs = Record; export type operations = Record;