import type { Bytes, Enum, Option, Struct, Text, Vec, u16, u8 } from '@polkadot/types-codec'; /** @name IntentGroupId */ export interface IntentGroupId extends u16 { } /** @name IntentGroupResponse */ export interface IntentGroupResponse extends Struct { readonly intent_group_id: IntentGroupId; readonly intent_ids: Vec; } /** @name IntentId */ export interface IntentId extends u16 { } /** @name IntentResponse */ export interface IntentResponse extends Struct { readonly intent_id: IntentId; readonly payload_location: PayloadLocation; readonly settings: Vec; readonly schema_ids: Option>; } /** @name IntentSetting */ export interface IntentSetting extends Enum { readonly isAppendOnly: boolean; readonly isSignatureRequired: boolean; readonly type: 'AppendOnly' | 'SignatureRequired'; } /** @name MappedEntityIdentifier */ export interface MappedEntityIdentifier extends Enum { readonly isIntent: boolean; readonly asIntent: IntentId; readonly isIntentGroup: boolean; readonly asIntentGroup: IntentGroupId; readonly type: 'Intent' | 'IntentGroup'; } /** @name ModelType */ export interface ModelType extends Enum { readonly isAvroBinary: boolean; readonly isParquet: boolean; readonly type: 'AvroBinary' | 'Parquet'; } /** @name NameLookupResponse */ export interface NameLookupResponse extends Struct { readonly name: Text; readonly entity_id: MappedEntityIdentifier; } /** @name PayloadLocation */ export interface PayloadLocation extends Enum { readonly isOnChain: boolean; readonly isIpfs: boolean; readonly isItemized: boolean; readonly isPaginated: boolean; readonly type: 'OnChain' | 'Ipfs' | 'Itemized' | 'Paginated'; } /** @name SchemaId */ export interface SchemaId extends u16 { } /** @name SchemaInfoResponse */ export interface SchemaInfoResponse extends Struct { readonly schema_id: SchemaId; readonly intent_id: IntentId; readonly model_type: ModelType; readonly status: SchemaStatus; readonly payload_location: PayloadLocation; readonly settings: Vec; } /** @name SchemaModel */ export interface SchemaModel extends Bytes { } /** @name SchemaResponse */ export interface SchemaResponse extends Struct { readonly schema_id: SchemaId; readonly model: SchemaModel; readonly model_type: ModelType; readonly payload_location: PayloadLocation; readonly settings: Vec; } /** @name SchemaResponseV2 */ export interface SchemaResponseV2 extends Struct { readonly schema_id: SchemaId; readonly intent_id: IntentId; readonly model: SchemaModel; readonly model_type: ModelType; readonly payload_location: PayloadLocation; readonly settings: Vec; readonly status: SchemaStatus; } /** @name SchemaSetting */ export interface SchemaSetting extends Enum { readonly isAppendOnly: boolean; readonly isSignatureRequired: boolean; readonly type: 'AppendOnly' | 'SignatureRequired'; } /** @name SchemaStatus */ export interface SchemaStatus extends Enum { readonly isActive: boolean; readonly isDeprecated: boolean; readonly isUnsupported: boolean; readonly type: 'Active' | 'Deprecated' | 'Unsupported'; } /** @name SchemaVersion */ export interface SchemaVersion extends u8 { } /** @name SchemaVersionResponse */ export interface SchemaVersionResponse extends Struct { readonly schema_name: Text; readonly schema_version: SchemaVersion; readonly schema_id: SchemaId; } export type PHANTOM_SCHEMAS = 'schemas';