UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

36 lines (31 loc) 902 B
/* tslint:disable */ /* eslint-disable */ /** * Rosetta * Build Once. Integrate Your Blockchain Everywhere. * * The version of the OpenAPI document: 1.4.10 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Operator is used by query-related endpoints to determine how to apply conditions. If this field is not populated, the default `and` value will be used. * @export * @enum {string} */ export enum Operator { or = 'or', and = 'and', } export function OperatorFromJSON(json: any): Operator { return OperatorFromJSONTyped(json, false); } export function OperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Operator { return json as Operator; } export function OperatorToJSON(value?: Operator | null): any { return value as any; }