From 2efd5ce850cbace30ae4a5b7d30cc15cc5b5cc0e Mon Sep 17 00:00:00 2001 From: rotorsoft Date: Thu, 8 Aug 2024 11:47:41 -0400 Subject: [PATCH] replace trpc openapi libs and rename metas --- libs/adapters/package.json | 2 +- libs/adapters/src/trpc/index.ts | 9 +- libs/api-client/src/api.ts | 6175 +++++++++++++++---------------- libs/api-client/test/index.ts | 2 +- pnpm-lock.yaml | 29 +- 5 files changed, 3057 insertions(+), 3160 deletions(-) diff --git a/libs/adapters/package.json b/libs/adapters/package.json index 0442fad1ecb..bb1fff42537 100644 --- a/libs/adapters/package.json +++ b/libs/adapters/package.json @@ -41,7 +41,7 @@ "redis": "4.2.0", "rollbar": "^2.6.1", "sequelize": "^6.32.1", - "trpc-openapi": "1.1.2", + "trpc-swagger": "^1.2.6", "typescript-logging": "^0.6.4", "zod": "^3.22.4" }, diff --git a/libs/adapters/src/trpc/index.ts b/libs/adapters/src/trpc/index.ts index 6ee18a4d2c7..d99f0d1a823 100644 --- a/libs/adapters/src/trpc/index.ts +++ b/libs/adapters/src/trpc/index.ts @@ -21,7 +21,7 @@ import { type GenerateOpenApiDocumentOptions, type OpenApiMeta, type OpenApiRouter, -} from 'trpc-openapi'; +} from 'trpc-swagger'; import { ZodSchema, ZodUndefined, z } from 'zod'; import { config } from '../config'; @@ -136,7 +136,7 @@ export const command = < .meta({ openapi: { method: 'POST', - path: `/${tag.toLowerCase()}/{id}/${factory.name}`, + path: `/${factory.name}/{id}`, tags: [tag], headers: [ { @@ -188,7 +188,7 @@ export const event = < .meta({ openapi: { method: 'POST', - path: `/${tag.toLowerCase()}/${factory.name}`, + path: `/${factory.name}`, tags: [tag], }, }) @@ -212,12 +212,11 @@ export const query = ( factory: () => QueryMetadata, ) => { const md = factory(); - //const input = md.input.extend({ address_id: z.string().optional() }); return trpc.procedure .meta({ openapi: { method: 'GET', - path: `/${Tag.Query.toLowerCase()}/${factory.name}`, + path: `/${factory.name}`, tags: [Tag.Query], headers: [ { diff --git a/libs/api-client/src/api.ts b/libs/api-client/src/api.ts index f64629faf36..f1d9305a99f 100644 --- a/libs/api-client/src/api.ts +++ b/libs/api-client/src/api.ts @@ -33,369 +33,369 @@ import { BASE_PATH, BaseAPI, RequiredError, operationServerMap } from './base'; /** * * @export - * @interface MutationCommunityCreateGroupRequest + * @interface CommunityCreateGroupRequest */ -export interface MutationCommunityCreateGroupRequest { +export interface CommunityCreateGroupRequest { /** * - * @type {MutationCommunityCreateGroupRequestMetadata} - * @memberof MutationCommunityCreateGroupRequest + * @type {CommunityCreateGroupRequestMetadata} + * @memberof CommunityCreateGroupRequest */ - metadata: MutationCommunityCreateGroupRequestMetadata; + metadata: CommunityCreateGroupRequestMetadata; /** * - * @type {Array} - * @memberof MutationCommunityCreateGroupRequest + * @type {Array} + * @memberof CommunityCreateGroupRequest */ - requirements: Array; + requirements: Array; /** * * @type {Array} - * @memberof MutationCommunityCreateGroupRequest + * @memberof CommunityCreateGroupRequest */ topics?: Array; } /** * * @export - * @interface MutationCommunityCreateGroupRequestMetadata + * @interface CommunityCreateGroupRequestMetadata */ -export interface MutationCommunityCreateGroupRequestMetadata { +export interface CommunityCreateGroupRequestMetadata { /** * * @type {string} - * @memberof MutationCommunityCreateGroupRequestMetadata + * @memberof CommunityCreateGroupRequestMetadata */ name: string; /** * * @type {string} - * @memberof MutationCommunityCreateGroupRequestMetadata + * @memberof CommunityCreateGroupRequestMetadata */ description: string; /** * * @type {number} - * @memberof MutationCommunityCreateGroupRequestMetadata + * @memberof CommunityCreateGroupRequestMetadata */ required_requirements?: number; /** * * @type {number} - * @memberof MutationCommunityCreateGroupRequestMetadata + * @memberof CommunityCreateGroupRequestMetadata */ membership_ttl?: number; } /** * * @export - * @interface MutationCommunityCreateStakeTransactionRequest + * @interface CommunityCreateStakeTransactionRequest */ -export interface MutationCommunityCreateStakeTransactionRequest { +export interface CommunityCreateStakeTransactionRequest { /** * * @type {string} - * @memberof MutationCommunityCreateStakeTransactionRequest + * @memberof CommunityCreateStakeTransactionRequest */ transaction_hash: string; /** * * @type {string} - * @memberof MutationCommunityCreateStakeTransactionRequest + * @memberof CommunityCreateStakeTransactionRequest */ community_id: string; } /** * * @export - * @interface MutationCommunitySetStake200Response + * @interface CommunityGetCommunity200Response */ -export interface MutationCommunitySetStake200Response { +export interface CommunityGetCommunity200Response { /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ name: string; /** * * @type {number} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ chain_node_id: number; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ default_symbol?: string; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ - network?: MutationCommunitySetStake200ResponseNetworkEnum; + network?: CommunityGetCommunity200ResponseNetworkEnum; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ - base: MutationCommunitySetStake200ResponseBaseEnum; + base: CommunityGetCommunity200ResponseBaseEnum; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ icon_url?: string | null; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ active: boolean; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ - type?: MutationCommunitySetStake200ResponseTypeEnum; + type?: CommunityGetCommunity200ResponseTypeEnum; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ id?: string; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ description?: string; /** * * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ social_links?: Array; /** * * @type {number} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ ss58_prefix?: number; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ stages_enabled?: boolean; /** * * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ custom_stages?: Array; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ custom_domain?: string; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ block_explorer_ids?: string; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ collapsed_on_homepage?: boolean; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ substrate_spec?: string; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ has_chain_events_listener?: boolean; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ default_summary_view?: boolean; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ - default_page?: MutationCommunitySetStake200ResponseDefaultPageEnum; + default_page?: CommunityGetCommunity200ResponseDefaultPageEnum; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ - has_homepage?: MutationCommunitySetStake200ResponseHasHomepageEnum | null; + has_homepage?: CommunityGetCommunity200ResponseHasHomepageEnum | null; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ terms?: string; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ admin_only_polling?: boolean; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ bech32_prefix?: string; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ hide_projects?: boolean; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ token_name?: string; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ ce_verbose?: boolean; /** * * @type {number} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ discord_config_id?: number | null; /** * * @type {any} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ category?: any; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ discord_bot_webhooks_enabled?: boolean; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ directory_page_enabled?: boolean; /** * * @type {number} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ directory_page_chain_node_id?: number; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ namespace?: string; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ namespace_address?: string; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ redirect?: string; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ created_at?: string; /** * * @type {string} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ updated_at?: string; /** * - * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @type {Array} + * @memberof CommunityGetCommunity200Response */ - Addresses?: Array; + Addresses?: Array; /** * - * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @type {Array} + * @memberof CommunityGetCommunity200Response */ - CommunityStakes?: Array; + CommunityStakes?: Array; /** * - * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @type {Array} + * @memberof CommunityGetCommunity200Response */ - CommunityTags?: Array; + CommunityTags?: Array; /** * - * @type {QueryCommunityGetCommunity200ResponseChainNode} - * @memberof MutationCommunitySetStake200Response + * @type {CommunityGetCommunity200ResponseChainNode} + * @memberof CommunityGetCommunity200Response */ - ChainNode?: QueryCommunityGetCommunity200ResponseChainNode; + ChainNode?: CommunityGetCommunity200ResponseChainNode; /** * - * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @type {Array} + * @memberof CommunityGetCommunity200Response */ - topics?: Array; + topics?: Array; /** * - * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @type {Array} + * @memberof CommunityGetCommunity200Response */ - groups?: Array; + groups?: Array; /** * - * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @type {Array} + * @memberof CommunityGetCommunity200Response */ - contest_managers?: Array; + contest_managers?: Array; /** * * @type {Array} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ snapshot_spaces?: Array; /** * * @type {boolean} - * @memberof MutationCommunitySetStake200Response + * @memberof CommunityGetCommunity200Response */ include_in_digest_email?: boolean | null; } -export const MutationCommunitySetStake200ResponseNetworkEnum = { +export const CommunityGetCommunity200ResponseNetworkEnum = { Edgeware: 'edgeware', EdgewareTestnet: 'edgeware-testnet', Kusama: 'kusama', @@ -440,9 +440,9 @@ export const MutationCommunitySetStake200ResponseNetworkEnum = { Cosmos: 'cosmos', } as const; -export type MutationCommunitySetStake200ResponseNetworkEnum = - typeof MutationCommunitySetStake200ResponseNetworkEnum[keyof typeof MutationCommunitySetStake200ResponseNetworkEnum]; -export const MutationCommunitySetStake200ResponseBaseEnum = { +export type CommunityGetCommunity200ResponseNetworkEnum = + typeof CommunityGetCommunity200ResponseNetworkEnum[keyof typeof CommunityGetCommunity200ResponseNetworkEnum]; +export const CommunityGetCommunity200ResponseBaseEnum = { Cosmos: 'cosmos', Substrate: 'substrate', Ethereum: 'ethereum', @@ -450,1862 +450,1888 @@ export const MutationCommunitySetStake200ResponseBaseEnum = { Solana: 'solana', } as const; -export type MutationCommunitySetStake200ResponseBaseEnum = - typeof MutationCommunitySetStake200ResponseBaseEnum[keyof typeof MutationCommunitySetStake200ResponseBaseEnum]; -export const MutationCommunitySetStake200ResponseTypeEnum = { +export type CommunityGetCommunity200ResponseBaseEnum = + typeof CommunityGetCommunity200ResponseBaseEnum[keyof typeof CommunityGetCommunity200ResponseBaseEnum]; +export const CommunityGetCommunity200ResponseTypeEnum = { Chain: 'chain', Dao: 'dao', Token: 'token', Offchain: 'offchain', } as const; -export type MutationCommunitySetStake200ResponseTypeEnum = - typeof MutationCommunitySetStake200ResponseTypeEnum[keyof typeof MutationCommunitySetStake200ResponseTypeEnum]; -export const MutationCommunitySetStake200ResponseDefaultPageEnum = { +export type CommunityGetCommunity200ResponseTypeEnum = + typeof CommunityGetCommunity200ResponseTypeEnum[keyof typeof CommunityGetCommunity200ResponseTypeEnum]; +export const CommunityGetCommunity200ResponseDefaultPageEnum = { AllDiscussionsView: 'default_all_discussions_view', SummaryView: 'default_summary_view', } as const; -export type MutationCommunitySetStake200ResponseDefaultPageEnum = - typeof MutationCommunitySetStake200ResponseDefaultPageEnum[keyof typeof MutationCommunitySetStake200ResponseDefaultPageEnum]; -export const MutationCommunitySetStake200ResponseHasHomepageEnum = { +export type CommunityGetCommunity200ResponseDefaultPageEnum = + typeof CommunityGetCommunity200ResponseDefaultPageEnum[keyof typeof CommunityGetCommunity200ResponseDefaultPageEnum]; +export const CommunityGetCommunity200ResponseHasHomepageEnum = { True: 'true', False: 'false', } as const; -export type MutationCommunitySetStake200ResponseHasHomepageEnum = - typeof MutationCommunitySetStake200ResponseHasHomepageEnum[keyof typeof MutationCommunitySetStake200ResponseHasHomepageEnum]; +export type CommunityGetCommunity200ResponseHasHomepageEnum = + typeof CommunityGetCommunity200ResponseHasHomepageEnum[keyof typeof CommunityGetCommunity200ResponseHasHomepageEnum]; /** * * @export - * @interface MutationCommunitySetStakeRequest + * @interface CommunityGetCommunity200ResponseAddressesInner */ -export interface MutationCommunitySetStakeRequest { +export interface CommunityGetCommunity200ResponseAddressesInner { /** * * @type {number} - * @memberof MutationCommunitySetStakeRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - stake_id: number; + id?: number; /** * * @type {string} - * @memberof MutationCommunitySetStakeRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - stake_token?: string; + address: string; /** * - * @type {number} - * @memberof MutationCommunitySetStakeRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - vote_weight?: number; + community_id?: string; /** * - * @type {boolean} - * @memberof MutationCommunitySetStakeRequest + * @type {number} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - stake_enabled?: boolean; -} -/** - * - * @export - * @interface MutationContestCreateContestMetadata200Response - */ -export interface MutationContestCreateContestMetadata200Response { + user_id?: number | null; /** * - * @type {Array} - * @memberof MutationContestCreateContestMetadata200Response - */ - contest_managers: Array; -} -/** - * - * @export - * @interface MutationContestCreateContestMetadataRequest - */ -export interface MutationContestCreateContestMetadataRequest { - /** - * On-Chain contest manager address * @type {string} - * @memberof MutationContestCreateContestMetadataRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - contest_address: string; + verification_token?: string; /** * * @type {string} - * @memberof MutationContestCreateContestMetadataRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - name: string; + verification_token_expires?: string | null; /** * * @type {string} - * @memberof MutationContestCreateContestMetadataRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - image_url?: string; + verified?: string | null; /** - * Provided by admin on creation when stake funds are not used + * * @type {string} - * @memberof MutationContestCreateContestMetadataRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - funding_token_address?: string; + last_active?: string | null; /** - * Percentage of pool used for prizes in recurring contests - * @type {number} - * @memberof MutationContestCreateContestMetadataRequest + * + * @type {boolean} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - prize_percentage?: number; + is_councillor?: boolean; /** - * Sorted array of percentages for prize, from first to last - * @type {Array} - * @memberof MutationContestCreateContestMetadataRequest + * + * @type {boolean} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - payout_structure: Array; + is_validator?: boolean; /** - * Recurring contest interval in seconds, 0 when one-off - * @type {number} - * @memberof MutationContestCreateContestMetadataRequest + * + * @type {boolean} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - interval: number; + ghost_address?: boolean; /** * * @type {string} - * @memberof MutationContestCreateContestMetadataRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - ticker?: string; + wallet_id?: CommunityGetCommunity200ResponseAddressesInnerWalletIdEnum; /** * - * @type {number} - * @memberof MutationContestCreateContestMetadataRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - decimals?: number; + block_info?: string; /** * - * @type {Array} - * @memberof MutationContestCreateContestMetadataRequest - */ - topic_ids?: Array; -} -/** - * - * @export - * @interface MutationContestUpdateContestMetadataRequest - */ -export interface MutationContestUpdateContestMetadataRequest { - /** - * On-Chain contest manager address - * @type {string} - * @memberof MutationContestUpdateContestMetadataRequest + * @type {boolean} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - contest_address: string; + is_user_default?: boolean; /** * * @type {string} - * @memberof MutationContestUpdateContestMetadataRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - name?: string; + role?: CommunityGetCommunity200ResponseAddressesInnerRoleEnum; /** * * @type {string} - * @memberof MutationContestUpdateContestMetadataRequest + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - image_url?: string; + wallet_sso_source?: CommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum; /** * - * @type {Array} - * @memberof MutationContestUpdateContestMetadataRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - topic_ids?: Array; -} -/** - * - * @export - * @interface MutationIntegrationsAnalyticsRequest - */ -export interface MutationIntegrationsAnalyticsRequest { + hex?: string; /** * - * @type {MutationIntegrationsAnalyticsRequestGroupCreated} - * @memberof MutationIntegrationsAnalyticsRequest + * @type {any} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - GroupCreated: MutationIntegrationsAnalyticsRequestGroupCreated; + created_at?: any; /** * - * @type {MutationIntegrationsAnalyticsRequestThreadCreated} - * @memberof MutationIntegrationsAnalyticsRequest + * @type {any} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - ThreadCreated: MutationIntegrationsAnalyticsRequestThreadCreated; + updated_at?: any; /** * - * @type {MutationIntegrationsAnalyticsRequestCommentCreated} - * @memberof MutationIntegrationsAnalyticsRequest + * @type {UserUpdateUser200Response} + * @memberof CommunityGetCommunity200ResponseAddressesInner */ - CommentCreated: MutationIntegrationsAnalyticsRequestCommentCreated; + User?: UserUpdateUser200Response; } + +export const CommunityGetCommunity200ResponseAddressesInnerWalletIdEnum = { + Magic: 'magic', + Polkadot: 'polkadot', + Metamask: 'metamask', + Walletconnect: 'walletconnect', + KeplrEthereum: 'keplr-ethereum', + Keplr: 'keplr', + Leap: 'leap', + Near: 'near', + Terrastation: 'terrastation', + TerraWalletconnect: 'terra-walletconnect', + CosmMetamask: 'cosm-metamask', + Phantom: 'phantom', + Coinbase: 'coinbase', +} as const; + +export type CommunityGetCommunity200ResponseAddressesInnerWalletIdEnum = + typeof CommunityGetCommunity200ResponseAddressesInnerWalletIdEnum[keyof typeof CommunityGetCommunity200ResponseAddressesInnerWalletIdEnum]; +export const CommunityGetCommunity200ResponseAddressesInnerRoleEnum = { + Admin: 'admin', + Moderator: 'moderator', + Member: 'member', +} as const; + +export type CommunityGetCommunity200ResponseAddressesInnerRoleEnum = + typeof CommunityGetCommunity200ResponseAddressesInnerRoleEnum[keyof typeof CommunityGetCommunity200ResponseAddressesInnerRoleEnum]; +export const CommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum = + { + Google: 'google', + Github: 'github', + Discord: 'discord', + Twitter: 'twitter', + Apple: 'apple', + Email: 'email', + Unknown: 'unknown', + } as const; + +export type CommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum = + typeof CommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum[keyof typeof CommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum]; + /** * * @export - * @interface MutationIntegrationsAnalyticsRequestCommentCreated + * @interface CommunityGetCommunity200ResponseChainNode */ -export interface MutationIntegrationsAnalyticsRequestCommentCreated { +export interface CommunityGetCommunity200ResponseChainNode { /** * * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - thread_id: number; + id?: number; /** * - * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseChainNode */ - address_id: number; + url: string; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseChainNode */ - text: string; + eth_chain_id?: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - plaintext: string; + alt_wallet_url?: string; /** * - * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseChainNode */ - id?: number | null; + private_url?: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - community_id: string; + balance_type: CommunityGetCommunity200ResponseChainNodeBalanceTypeEnum; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - parent_id?: string | null; + name: string; /** * - * @type {Array} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseChainNode */ - version_history?: Array; + description?: string; /** * - * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseChainNode */ - version_history_updated?: boolean; + ss58?: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - canvas_signed_data: string; + bech32?: string; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseChainNode */ - canvas_hash: string; + slip44?: number; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {any} + * @memberof CommunityGetCommunity200ResponseChainNode */ - created_by?: string | null; + created_at?: any; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {any} + * @memberof CommunityGetCommunity200ResponseChainNode */ - created_at?: string | null; + updated_at?: any; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - updated_at?: string | null; + cosmos_chain_id?: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - deleted_at?: string | null; + cosmos_gov_version?: CommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - marked_as_spam_at?: string | null; + health?: CommunityGetCommunity200ResponseChainNodeHealthEnum; /** * - * @type {QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {Array} + * @memberof CommunityGetCommunity200ResponseChainNode */ - discord_meta?: QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta | null; + contracts?: Array; /** * - * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseChainNode */ - reaction_count: number; + block_explorer?: string; /** * * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated + * @memberof CommunityGetCommunity200ResponseChainNode */ - reaction_weights_sum?: number; - /** - * - * @type {MutationIntegrationsAnalyticsRequestThreadCreatedAddress} - * @memberof MutationIntegrationsAnalyticsRequestCommentCreated - */ - Address?: MutationIntegrationsAnalyticsRequestThreadCreatedAddress | null; + max_ce_block_range?: number | null; } + +export const CommunityGetCommunity200ResponseChainNodeBalanceTypeEnum = { + Terra: 'terra', + Ethereum: 'ethereum', + Solana: 'solana', + Cosmos: 'cosmos', + Near: 'near', + Substrate: 'substrate', +} as const; + +export type CommunityGetCommunity200ResponseChainNodeBalanceTypeEnum = + typeof CommunityGetCommunity200ResponseChainNodeBalanceTypeEnum[keyof typeof CommunityGetCommunity200ResponseChainNodeBalanceTypeEnum]; +export const CommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum = { + V1: 'v1', + V1beta1: 'v1beta1', + V1beta1AttemptFailed: 'v1beta1-attempt-failed', + V1AttemptFailed: 'v1-attempt-failed', +} as const; + +export type CommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum = + typeof CommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum[keyof typeof CommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum]; +export const CommunityGetCommunity200ResponseChainNodeHealthEnum = { + Failed: 'failed', + Healthy: 'healthy', +} as const; + +export type CommunityGetCommunity200ResponseChainNodeHealthEnum = + typeof CommunityGetCommunity200ResponseChainNodeHealthEnum[keyof typeof CommunityGetCommunity200ResponseChainNodeHealthEnum]; + /** * * @export - * @interface MutationIntegrationsAnalyticsRequestGroupCreated + * @interface CommunityGetCommunity200ResponseChainNodeContractsInner */ -export interface MutationIntegrationsAnalyticsRequestGroupCreated { +export interface CommunityGetCommunity200ResponseChainNodeContractsInner { /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestGroupCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - groupId: string; + id: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestGroupCreated + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - userId: string; -} -/** - * - * @export - * @interface MutationIntegrationsAnalyticsRequestThreadCreated - */ -export interface MutationIntegrationsAnalyticsRequestThreadCreated { + address: string; /** * - * @type {MutationIntegrationsAnalyticsRequestThreadCreatedAddress} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - Address?: MutationIntegrationsAnalyticsRequestThreadCreatedAddress | null; + chain_node_id: number; /** * * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - address_id: number; + abi_id?: number | null; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - title: string; + decimals?: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - kind: string; + token_name?: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - stage: string; + symbol?: string; /** * - * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - id?: number | null; + type: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - body?: string | null; + created_at: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - plaintext?: string | null; + updated_at: string; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {boolean} + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - url?: string | null; + is_factory?: boolean; /** * - * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseChainNodeContractsInner */ - topic_id?: number | null; + nickname?: string; +} +/** + * + * @export + * @interface CommunityGetCommunity200ResponseCommunityStakesInner + */ +export interface CommunityGetCommunity200ResponseCommunityStakesInner { /** * - * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - pinned?: boolean | null; + id?: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ community_id: string; /** * * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated - */ - view_count: number; - /** - * - * @type {Array} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - links?: Array | null; + stake_id?: number; /** * - * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - read_only?: boolean | null; + stake_token?: string; /** * - * @type {Array} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - version_history?: Array | null; + vote_weight?: number; /** * * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - has_poll?: boolean | null; + stake_enabled?: boolean; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - canvas_signed_data?: string | null; + created_at?: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - canvas_hash?: string | null; + updated_at?: string; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {Array} + * @memberof CommunityGetCommunity200ResponseCommunityStakesInner */ - created_at?: string | null; + StakeTransactions?: Array; +} +/** + * + * @export + * @interface CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + */ +export interface CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner { /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - updated_at?: string | null; + transaction_hash: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - last_edited?: string | null; + community_id: string; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - deleted_at?: string | null; + stake_id?: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - last_commented_on?: string | null; + address: string; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {number} + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - marked_as_spam_at?: string | null; + stake_amount: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - archived_at?: string | null; + stake_price?: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated - */ - locked_at?: string | null; - /** - * - * @type {QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - discord_meta?: QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta | null; + stake_direction: CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum; /** * * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner */ - reaction_count: number; + timestamp: number; +} + +export const CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum = + { + Buy: 'buy', + Sell: 'sell', + } as const; + +export type CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum = + typeof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum[keyof typeof CommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum]; + +/** + * + * @export + * @interface CommunityGetCommunity200ResponseCommunityTagsInner + */ +export interface CommunityGetCommunity200ResponseCommunityTagsInner { /** * * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseCommunityTagsInner */ - reaction_weights_sum: number; + id?: number; /** * - * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseCommunityTagsInner */ - comment_count: number; + name: string; +} +/** + * On-Chain Contest Manager + * @export + * @interface CommunityGetCommunity200ResponseContestManagersInner + */ +export interface CommunityGetCommunity200ResponseContestManagersInner { /** - * + * On-Chain contest manager address * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - activity_rank_date?: string | null; + contest_address: string; /** * - * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @type {string} + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - max_notif_id: number; + community_id: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - created_by?: string | null; + name: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - profile_name?: string | null; + image_url?: string; /** - * - * @type {Array} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreated + * Provided by admin on creation when stake funds are not used + * @type {string} + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - contestManagers?: Array | null; -} -/** - * - * @export - * @interface MutationIntegrationsAnalyticsRequestThreadCreatedAddress - */ -export interface MutationIntegrationsAnalyticsRequestThreadCreatedAddress { + funding_token_address?: string | null; /** - * + * Percentage of pool used for prizes in recurring contests * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress - */ - id?: number; - /** - * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - address: string; + prize_percentage?: number | null; /** - * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * Sorted array of percentages for prize, from first to last + * @type {Array} + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - community_id?: string; + payout_structure: Array; /** - * + * Recurring contest interval, 0 when one-off * @type {number} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress - */ - user_id?: number | null; - /** - * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - verification_token?: string; + interval: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - verification_token_expires?: string | null; + ticker?: string; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @type {number} + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - verified?: string | null; + decimals?: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - last_active?: string | null; + created_at: string; /** - * + * Flags when contest policy is cancelled by admin * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - is_councillor?: boolean; + cancelled?: boolean | null; /** - * + * Flags when the one-off contest has ended and rollover was completed * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - is_validator?: boolean; + ended?: boolean | null; /** * - * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @type {Array} + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - ghost_address?: boolean; + topics?: Array; /** * - * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @type {Array} + * @memberof CommunityGetCommunity200ResponseContestManagersInner */ - wallet_id?: MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum; + contests?: Array; +} +/** + * On-Chain contest instance + * @export + * @interface CommunityGetCommunity200ResponseContestManagersInnerContestsInner + */ +export interface CommunityGetCommunity200ResponseContestManagersInnerContestsInner { /** - * + * On-Chain contest manager address * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInner */ - block_info?: string; + contest_address: string; /** - * - * @type {boolean} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * On-Chain contest id, 0 when one-off + * @type {number} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInner */ - is_user_default?: boolean; + contest_id: number; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInner */ - role?: MutationIntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum; + start_time: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInner */ - wallet_sso_source?: MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum; + end_time: string; /** * * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress - */ - hex?: string; - /** - * - * @type {any} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInner */ - created_at?: any; + score_updated_at?: string | null; /** - * - * @type {any} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * Contest score, sorted from first to last + * @type {Array} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInner */ - updated_at?: any; + score?: Array | null; /** * - * @type {MutationUserUpdateUser200Response} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedAddress + * @type {Array} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInner */ - User?: MutationUserUpdateUser200Response; + actions?: Array | null; } - -export const MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum = - { - Magic: 'magic', - Polkadot: 'polkadot', - Metamask: 'metamask', - Walletconnect: 'walletconnect', - KeplrEthereum: 'keplr-ethereum', - Keplr: 'keplr', - Leap: 'leap', - Near: 'near', - Terrastation: 'terrastation', - TerraWalletconnect: 'terra-walletconnect', - CosmMetamask: 'cosm-metamask', - Phantom: 'phantom', - Coinbase: 'coinbase', - } as const; - -export type MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum = - typeof MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum[keyof typeof MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum]; -export const MutationIntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum = - { - Admin: 'admin', - Moderator: 'moderator', - Member: 'member', - } as const; - -export type MutationIntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum = - typeof MutationIntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum[keyof typeof MutationIntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum]; -export const MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum = - { - Google: 'google', - Github: 'github', - Discord: 'discord', - Twitter: 'twitter', - Apple: 'apple', - Email: 'email', - Unknown: 'unknown', - } as const; - -export type MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum = - typeof MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum[keyof typeof MutationIntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum]; - /** - * + * On-Chain content related actions on contest instance * @export - * @interface MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner + * @interface CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ -export interface MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner { +export interface CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner { /** - * + * On-Chain contest manager address * @type {string} - * @memberof MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ contest_address: string; -} -/** - * - * @export - * @interface MutationLoadTestCreateJWTsRequest - */ -export interface MutationLoadTestCreateJWTsRequest { /** - * + * On-Chain contest id, 0 when one-off * @type {number} - * @memberof MutationLoadTestCreateJWTsRequest + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ - number_of_jwt: number; -} -/** - * - * @export - * @interface MutationSubscriptionCreateCommentSubscription200Response - */ -export interface MutationSubscriptionCreateCommentSubscription200Response { + contest_id: number; /** - * + * On-Chain content id, 0 when adding * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200Response + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ - id?: number; + content_id: number; /** * - * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200Response + * @type {string} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ - user_id: number; + actor_address: string; /** - * - * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200Response + * Type of content action + * @type {string} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ - comment_id: number; + action: CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum; /** - * + * Content url * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200Response + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ - created_at?: string; + content_url?: string | null; + /** + * Thread id mapped from content url + * @type {number} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + */ + thread_id?: number | null; /** * * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200Response + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ - updated_at?: string; + thread_title?: string | null; /** - * - * @type {MutationSubscriptionCreateCommentSubscription200ResponseComment} - * @memberof MutationSubscriptionCreateCommentSubscription200Response + * Voting power of address when action was recorded + * @type {number} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + */ + voting_power: number; + /** + * Date-time when action was recorded + * @type {string} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner */ - Comment?: MutationSubscriptionCreateCommentSubscription200ResponseComment; + created_at: string; } + +export const CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum = + { + Added: 'added', + Upvoted: 'upvoted', + } as const; + +export type CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum = + typeof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum[keyof typeof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum]; + /** * * @export - * @interface MutationSubscriptionCreateCommentSubscription200ResponseComment + * @interface CommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner */ -export interface MutationSubscriptionCreateCommentSubscription200ResponseComment { - /** - * - * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseComment - */ - id?: number | null; +export interface CommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner { /** * * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseComment + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner */ - created_at?: string | null; + creator_address: string; /** * * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseComment + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner */ - updated_at?: string | null; + content_id: string; /** * - * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseComment + * @type {number} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner */ - text: string; + votes: number; /** * * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseComment + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner */ - plaintext: string; + prize: string; /** * - * @type {MutationSubscriptionCreateCommentSubscription200ResponseCommentThread} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseComment + * @type {number} + * @memberof CommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner */ - Thread: MutationSubscriptionCreateCommentSubscription200ResponseCommentThread; + tickerPrize?: number; } /** * * @export - * @interface MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @interface CommunityGetCommunity200ResponseGroupsInner */ -export interface MutationSubscriptionCreateCommentSubscription200ResponseCommentThread { +export interface CommunityGetCommunity200ResponseGroupsInner { /** * * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @memberof CommunityGetCommunity200ResponseGroupsInner */ - id?: number | null; + id: number; /** * * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @memberof CommunityGetCommunity200ResponseGroupsInner */ community_id: string; /** * - * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @type {CommunityGetCommunity200ResponseGroupsInnerMetadata} + * @memberof CommunityGetCommunity200ResponseGroupsInner */ - title: string; + metadata: CommunityGetCommunity200ResponseGroupsInnerMetadata; /** * - * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @type {Array} + * @memberof CommunityGetCommunity200ResponseGroupsInner */ - comment_count: number; + requirements: Array; /** * - * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @type {boolean} + * @memberof CommunityGetCommunity200ResponseGroupsInner */ - created_at?: string | null; + is_system_managed?: boolean; /** * * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread - */ - url?: string | null; - /** - * - * @type {MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @memberof CommunityGetCommunity200ResponseGroupsInner */ - Community: MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity; + created_at?: string; /** * - * @type {MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThread + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInner */ - Address: MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress; + updated_at?: string; } /** * * @export - * @interface MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress + * @interface CommunityGetCommunity200ResponseGroupsInnerMetadata */ -export interface MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress { +export interface CommunityGetCommunity200ResponseGroupsInnerMetadata { /** * - * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerMetadata */ - id?: number; + name: string; + /** + * + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerMetadata + */ + description: string; /** * * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress + * @memberof CommunityGetCommunity200ResponseGroupsInnerMetadata */ - user_id?: number | null; + required_requirements?: number; /** * - * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress + * @type {number} + * @memberof CommunityGetCommunity200ResponseGroupsInnerMetadata */ - address: string; + membership_ttl?: number; } /** * * @export - * @interface MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInner */ -export interface MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity { - /** - * - * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity - */ - id?: string; +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInner { /** * * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInner */ - name: string; + rule: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum; /** * - * @type {string} - * @memberof MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity + * @type {CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInner */ - icon_url?: string | null; + data: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data; } + +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum = + { + Allow: 'allow', + } as const; + +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum]; + /** * * @export - * @interface MutationSubscriptionCreateCommentSubscriptionRequest + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf */ -export interface MutationSubscriptionCreateCommentSubscriptionRequest { +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf { /** * - * @type {number} - * @memberof MutationSubscriptionCreateCommentSubscriptionRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf */ - comment_id: number; + rule: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum; + /** + * + * @type {CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf + */ + data: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData; } + +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum = + { + Threshold: 'threshold', + } as const; + +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum]; + /** * * @export - * @interface MutationSubscriptionCreateCommunityAlert200Response + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 */ -export interface MutationSubscriptionCreateCommunityAlert200Response { - /** - * - * @type {number} - * @memberof MutationSubscriptionCreateCommunityAlert200Response - */ - user_id: number; - /** - * - * @type {string} - * @memberof MutationSubscriptionCreateCommunityAlert200Response - */ - community_id: string; +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 { /** * * @type {string} - * @memberof MutationSubscriptionCreateCommunityAlert200Response + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 */ - created_at?: string; + rule: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum; /** * - * @type {string} - * @memberof MutationSubscriptionCreateCommunityAlert200Response + * @type {CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 */ - updated_at?: string; + data: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data; +} + +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum = + { + Allow: 'allow', + } as const; + +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum]; + +/** + * + * @export + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data + */ +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data { /** * - * @type {MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity} - * @memberof MutationSubscriptionCreateCommunityAlert200Response + * @type {Array} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data */ - Community?: MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity; + allow: Array; } /** * * @export - * @interface MutationSubscriptionCreateCommunityAlertRequest + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData */ -export interface MutationSubscriptionCreateCommunityAlertRequest { +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData { /** * * @type {string} - * @memberof MutationSubscriptionCreateCommunityAlertRequest + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData */ - community_id: string; + threshold: string; + /** + * + * @type {CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData + */ + source: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource; } /** * * @export - * @interface MutationSubscriptionCreateThreadSubscription200Response + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource */ -export interface MutationSubscriptionCreateThreadSubscription200Response { +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource { /** * - * @type {number} - * @memberof MutationSubscriptionCreateThreadSubscription200Response + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource */ - id?: number; + source_type: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum; /** * * @type {number} - * @memberof MutationSubscriptionCreateThreadSubscription200Response + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource */ - user_id: number; + evm_chain_id: number; /** * - * @type {number} - * @memberof MutationSubscriptionCreateThreadSubscription200Response + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource */ - thread_id: number; + contract_address: string; /** * * @type {string} - * @memberof MutationSubscriptionCreateThreadSubscription200Response + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource */ - created_at?: string; + token_id?: string; /** * * @type {string} - * @memberof MutationSubscriptionCreateThreadSubscription200Response + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource */ - updated_at?: string; + cosmos_chain_id: string; /** * - * @type {MutationSubscriptionCreateThreadSubscription200ResponseThread} - * @memberof MutationSubscriptionCreateThreadSubscription200Response + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource */ - Thread?: MutationSubscriptionCreateThreadSubscription200ResponseThread; + token_symbol: string; } + +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum = + { + Cw721: 'cw721', + Cw20: 'cw20', + } as const; + +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum]; + /** * * @export - * @interface MutationSubscriptionCreateThreadSubscription200ResponseThread + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf */ -export interface MutationSubscriptionCreateThreadSubscription200ResponseThread { - /** - * - * @type {number} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread - */ - id?: number | null; +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf { /** * * @type {string} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf */ - community_id: string; + source_type: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum; /** * * @type {number} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf */ - address_id: number; + evm_chain_id: number; /** * * @type {string} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread - */ - title: string; - /** - * - * @type {number} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf */ - comment_count: number; + contract_address: string; /** * * @type {string} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf */ - created_at?: string | null; + token_id?: string; +} + +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum = + { + Erc20: 'erc20', + Erc721: 'erc721', + Erc1155: 'erc1155', + Spl: 'spl', + } as const; + +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum]; + +/** + * + * @export + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 + */ +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 { /** * * @type {string} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread - */ - url?: string | null; - /** - * - * @type {MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 */ - Community: MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity; + source_type: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum; /** * - * @type {MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress} - * @memberof MutationSubscriptionCreateThreadSubscription200ResponseThread + * @type {number} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 */ - Address: MutationSubscriptionCreateCommentSubscription200ResponseCommentThreadAddress; + evm_chain_id: number; } + +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum = + { + EthNative: 'eth_native', + } as const; + +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum]; + /** * * @export - * @interface MutationSubscriptionCreateThreadSubscriptionRequest + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 */ -export interface MutationSubscriptionCreateThreadSubscriptionRequest { +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 { /** * - * @type {number} - * @memberof MutationSubscriptionCreateThreadSubscriptionRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 */ - thread_id: number; -} -/** - * - * @export - * @interface MutationSubscriptionDeleteCommentSubscriptionRequest - */ -export interface MutationSubscriptionDeleteCommentSubscriptionRequest { + source_type: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum; /** * - * @type {Array} - * @memberof MutationSubscriptionDeleteCommentSubscriptionRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 */ - comment_ids: Array; -} -/** - * - * @export - * @interface MutationSubscriptionDeleteCommunityAlertRequest - */ -export interface MutationSubscriptionDeleteCommunityAlertRequest { + cosmos_chain_id: string; /** * - * @type {Array} - * @memberof MutationSubscriptionDeleteCommunityAlertRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 */ - community_ids: Array; + token_symbol: string; } + +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum = + { + CosmosNative: 'cosmos_native', + } as const; + +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum]; + /** * * @export - * @interface MutationSubscriptionDeleteThreadSubscriptionRequest + * @interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 */ -export interface MutationSubscriptionDeleteThreadSubscriptionRequest { +export interface CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 { /** * - * @type {Array} - * @memberof MutationSubscriptionDeleteThreadSubscriptionRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 */ - thread_ids: Array; -} -/** - * - * @export - * @interface MutationSubscriptionRegisterClientRegistrationTokenRequest - */ -export interface MutationSubscriptionRegisterClientRegistrationTokenRequest { + source_type: CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum; /** * * @type {string} - * @memberof MutationSubscriptionRegisterClientRegistrationTokenRequest + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 */ - token: string; + cosmos_chain_id: string; /** * * @type {string} - * @memberof MutationSubscriptionRegisterClientRegistrationTokenRequest + * @memberof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 */ - channelType: MutationSubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum; + contract_address: string; } -export const MutationSubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum = +export const CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum = { - Apns: 'APNS', - Fcm: 'FCM', + Cw721: 'cw721', + Cw20: 'cw20', } as const; -export type MutationSubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum = - typeof MutationSubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum[keyof typeof MutationSubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum]; +export type CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum = + typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum[keyof typeof CommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum]; /** * * @export - * @interface MutationSubscriptionUpdateSubscriptionPreferencesRequest + * @interface CommunityGetCommunity200ResponseTopicsInner */ -export interface MutationSubscriptionUpdateSubscriptionPreferencesRequest { +export interface CommunityGetCommunity200ResponseTopicsInner { /** * - * @type {boolean} - * @memberof MutationSubscriptionUpdateSubscriptionPreferencesRequest + * @type {number} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - email_notifications_enabled?: boolean; + id?: number; /** * - * @type {boolean} - * @memberof MutationSubscriptionUpdateSubscriptionPreferencesRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - digest_email_enabled?: boolean; + name?: string; /** * - * @type {boolean} - * @memberof MutationSubscriptionUpdateSubscriptionPreferencesRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - recap_email_enabled?: boolean; + community_id: string; /** * - * @type {boolean} - * @memberof MutationSubscriptionUpdateSubscriptionPreferencesRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - mobile_push_notifications_enabled?: boolean; + description?: string; /** * - * @type {boolean} - * @memberof MutationSubscriptionUpdateSubscriptionPreferencesRequest + * @type {string} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - mobile_push_discussion_activity_enabled?: boolean; + telegram?: string | null; /** * * @type {boolean} - * @memberof MutationSubscriptionUpdateSubscriptionPreferencesRequest + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - mobile_push_admin_alerts_enabled?: boolean; -} -/** - * - * @export - * @interface MutationUserUpdateUser200Response - */ -export interface MutationUserUpdateUser200Response { + featured_in_sidebar?: boolean; /** * - * @type {number} - * @memberof MutationUserUpdateUser200Response + * @type {boolean} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - id?: number; + featured_in_new_post?: boolean; /** * * @type {string} - * @memberof MutationUserUpdateUser200Response + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - email?: string | null; + default_offchain_template?: string | null; /** * - * @type {boolean} - * @memberof MutationUserUpdateUser200Response + * @type {number} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - isAdmin?: boolean; + order?: number | null; /** * - * @type {boolean} - * @memberof MutationUserUpdateUser200Response + * @type {string} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - disableRichText?: boolean; + channel_id?: string | null; /** * - * @type {boolean} - * @memberof MutationUserUpdateUser200Response + * @type {Array} + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - emailVerified?: boolean | null; + group_ids?: Array; /** * * @type {string} - * @memberof MutationUserUpdateUser200Response + * @memberof CommunityGetCommunity200ResponseTopicsInner */ - selected_community_id?: string | null; + default_offchain_template_backup?: string | null; +} +/** + * + * @export + * @interface CommunityGetMembers200Response + */ +export interface CommunityGetMembers200Response { /** * - * @type {string} - * @memberof MutationUserUpdateUser200Response + * @type {number} + * @memberof CommunityGetMembers200Response */ - emailNotificationInterval?: MutationUserUpdateUser200ResponseEmailNotificationIntervalEnum; + limit: number; /** * - * @type {boolean} - * @memberof MutationUserUpdateUser200Response + * @type {number} + * @memberof CommunityGetMembers200Response */ - promotional_emails_enabled?: boolean | null; + page: number; /** * - * @type {boolean} - * @memberof MutationUserUpdateUser200Response + * @type {number} + * @memberof CommunityGetMembers200Response */ - is_welcome_onboard_flow_complete?: boolean; + totalPages: number; /** * - * @type {MutationUserUpdateUserRequestProfile} - * @memberof MutationUserUpdateUser200Response + * @type {number} + * @memberof CommunityGetMembers200Response */ - profile: MutationUserUpdateUserRequestProfile; + totalResults: number; /** * - * @type {any} - * @memberof MutationUserUpdateUser200Response + * @type {Array} + * @memberof CommunityGetMembers200Response */ - created_at?: any; + results: Array; +} +/** + * + * @export + * @interface CommunityGetMembers200ResponseResultsInner + */ +export interface CommunityGetMembers200ResponseResultsInner { /** * - * @type {any} - * @memberof MutationUserUpdateUser200Response + * @type {number} + * @memberof CommunityGetMembers200ResponseResultsInner */ - updated_at?: any; + user_id: number; /** * - * @type {Array} - * @memberof MutationUserUpdateUser200Response + * @type {string} + * @memberof CommunityGetMembers200ResponseResultsInner */ - ProfileTags?: Array; -} - -export const MutationUserUpdateUser200ResponseEmailNotificationIntervalEnum = { - Weekly: 'weekly', - Never: 'never', -} as const; - -export type MutationUserUpdateUser200ResponseEmailNotificationIntervalEnum = - typeof MutationUserUpdateUser200ResponseEmailNotificationIntervalEnum[keyof typeof MutationUserUpdateUser200ResponseEmailNotificationIntervalEnum]; - -/** - * - * @export - * @interface MutationUserUpdateUserDefaultResponse - */ -export interface MutationUserUpdateUserDefaultResponse { + profile_name?: string | null; /** * * @type {string} - * @memberof MutationUserUpdateUserDefaultResponse + * @memberof CommunityGetMembers200ResponseResultsInner */ - message: string; + avatar_url?: string | null; /** * - * @type {string} - * @memberof MutationUserUpdateUserDefaultResponse + * @type {Array} + * @memberof CommunityGetMembers200ResponseResultsInner */ - code: string; + addresses: Array; /** * - * @type {Array} - * @memberof MutationUserUpdateUserDefaultResponse + * @type {Array} + * @memberof CommunityGetMembers200ResponseResultsInner + */ + group_ids: Array; + /** + * string or date + * @type {any} + * @memberof CommunityGetMembers200ResponseResultsInner */ - issues?: Array; + last_active?: any | null; } /** * * @export - * @interface MutationUserUpdateUserDefaultResponseIssuesInner + * @interface CommunityGetMembers200ResponseResultsInnerAddressesInner */ -export interface MutationUserUpdateUserDefaultResponseIssuesInner { +export interface CommunityGetMembers200ResponseResultsInnerAddressesInner { + /** + * + * @type {number} + * @memberof CommunityGetMembers200ResponseResultsInnerAddressesInner + */ + id: number; /** * * @type {string} - * @memberof MutationUserUpdateUserDefaultResponseIssuesInner + * @memberof CommunityGetMembers200ResponseResultsInnerAddressesInner */ - message: string; -} -/** - * - * @export - * @interface MutationUserUpdateUserRequest - */ -export interface MutationUserUpdateUserRequest { + community_id: string; /** * * @type {string} - * @memberof MutationUserUpdateUserRequest + * @memberof CommunityGetMembers200ResponseResultsInnerAddressesInner */ - email?: string | null; + address: string; /** * - * @type {boolean} - * @memberof MutationUserUpdateUserRequest + * @type {number} + * @memberof CommunityGetMembers200ResponseResultsInnerAddressesInner */ - isAdmin?: boolean; + stake_balance?: number | null; /** * - * @type {boolean} - * @memberof MutationUserUpdateUserRequest + * @type {string} + * @memberof CommunityGetMembers200ResponseResultsInnerAddressesInner */ - disableRichText?: boolean; + role: string; +} +/** + * + * @export + * @interface CommunityGetMembersMembershipsParameter + */ +export interface CommunityGetMembersMembershipsParameter {} +/** + * + * @export + * @interface CommunityGetStake200Response + */ +export interface CommunityGetStake200Response { /** * - * @type {boolean} - * @memberof MutationUserUpdateUserRequest + * @type {number} + * @memberof CommunityGetStake200Response */ - emailVerified?: boolean | null; + id?: number; /** * * @type {string} - * @memberof MutationUserUpdateUserRequest + * @memberof CommunityGetStake200Response */ - selected_community_id?: string | null; + community_id: string; /** * - * @type {string} - * @memberof MutationUserUpdateUserRequest + * @type {number} + * @memberof CommunityGetStake200Response */ - emailNotificationInterval?: MutationUserUpdateUserRequestEmailNotificationIntervalEnum; + stake_id?: number; /** * - * @type {boolean} - * @memberof MutationUserUpdateUserRequest + * @type {string} + * @memberof CommunityGetStake200Response */ - promotional_emails_enabled?: boolean | null; + stake_token?: string; /** * - * @type {MutationUserUpdateUserRequestProfile} - * @memberof MutationUserUpdateUserRequest + * @type {number} + * @memberof CommunityGetStake200Response */ - profile: MutationUserUpdateUserRequestProfile; + vote_weight?: number; /** * - * @type {any} - * @memberof MutationUserUpdateUserRequest + * @type {boolean} + * @memberof CommunityGetStake200Response */ - created_at?: any; + stake_enabled?: boolean; /** * - * @type {any} - * @memberof MutationUserUpdateUserRequest + * @type {string} + * @memberof CommunityGetStake200Response */ - updated_at?: any; + created_at?: string; /** * - * @type {Array} - * @memberof MutationUserUpdateUserRequest + * @type {string} + * @memberof CommunityGetStake200Response */ - ProfileTags?: Array; + updated_at?: string; /** * - * @type {Array} - * @memberof MutationUserUpdateUserRequest + * @type {Array} + * @memberof CommunityGetStake200Response */ - tag_ids?: Array | null; + StakeTransactions?: Array; } - -export const MutationUserUpdateUserRequestEmailNotificationIntervalEnum = { - Weekly: 'weekly', - Never: 'never', -} as const; - -export type MutationUserUpdateUserRequestEmailNotificationIntervalEnum = - typeof MutationUserUpdateUserRequestEmailNotificationIntervalEnum[keyof typeof MutationUserUpdateUserRequestEmailNotificationIntervalEnum]; - /** * * @export - * @interface MutationUserUpdateUserRequestProfile + * @interface CommunityGetStakeHistoricalPrice200ResponseInner */ -export interface MutationUserUpdateUserRequestProfile { +export interface CommunityGetStakeHistoricalPrice200ResponseInner { /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfile + * @memberof CommunityGetStakeHistoricalPrice200ResponseInner */ - name?: string | null; + community_id: string; /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfile + * @memberof CommunityGetStakeHistoricalPrice200ResponseInner */ - email?: string | null; + old_price?: string | null; +} +/** + * + * @export + * @interface CommunityGetStakeTransaction200ResponseInner + */ +export interface CommunityGetStakeTransaction200ResponseInner { /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfile + * @memberof CommunityGetStakeTransaction200ResponseInner */ - website?: string | null; + transaction_hash: string; /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfile + * @memberof CommunityGetStakeTransaction200ResponseInner */ - bio?: string | null; + address: string; /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfile + * @memberof CommunityGetStakeTransaction200ResponseInner */ - avatar_url?: string | null; + stake_price: string; /** * - * @type {string} - * @memberof MutationUserUpdateUserRequestProfile + * @type {number} + * @memberof CommunityGetStakeTransaction200ResponseInner */ - slug?: string | null; + stake_amount: number; /** * - * @type {Array} - * @memberof MutationUserUpdateUserRequestProfile + * @type {number} + * @memberof CommunityGetStakeTransaction200ResponseInner */ - socials?: Array | null; + vote_weight: number; /** * - * @type {MutationUserUpdateUserRequestProfileBackgroundImage} - * @memberof MutationUserUpdateUserRequestProfile + * @type {number} + * @memberof CommunityGetStakeTransaction200ResponseInner */ - background_image?: MutationUserUpdateUserRequestProfileBackgroundImage | null; -} -/** - * - * @export - * @interface MutationUserUpdateUserRequestProfileBackgroundImage - */ -export interface MutationUserUpdateUserRequestProfileBackgroundImage { + timestamp: number; /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfileBackgroundImage + * @memberof CommunityGetStakeTransaction200ResponseInner */ - url?: string; + stake_direction: string; /** * - * @type {string} - * @memberof MutationUserUpdateUserRequestProfileBackgroundImage + * @type {CommunityGetStakeTransaction200ResponseInnerCommunity} + * @memberof CommunityGetStakeTransaction200ResponseInner */ - imageBehavior?: string; + community: CommunityGetStakeTransaction200ResponseInnerCommunity; } /** * * @export - * @interface MutationUserUpdateUserRequestProfileTagsInner + * @interface CommunityGetStakeTransaction200ResponseInnerCommunity */ -export interface MutationUserUpdateUserRequestProfileTagsInner { +export interface CommunityGetStakeTransaction200ResponseInnerCommunity { /** * - * @type {number} - * @memberof MutationUserUpdateUserRequestProfileTagsInner + * @type {string} + * @memberof CommunityGetStakeTransaction200ResponseInnerCommunity */ - user_id: number; + id: string; /** * - * @type {number} - * @memberof MutationUserUpdateUserRequestProfileTagsInner + * @type {string} + * @memberof CommunityGetStakeTransaction200ResponseInnerCommunity */ - tag_id: number; + default_symbol?: string | null; /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfileTagsInner + * @memberof CommunityGetStakeTransaction200ResponseInnerCommunity */ - created_at?: string; + icon_url?: string | null; /** * * @type {string} - * @memberof MutationUserUpdateUserRequestProfileTagsInner + * @memberof CommunityGetStakeTransaction200ResponseInnerCommunity */ - updated_at?: string; + name: string; + /** + * + * @type {number} + * @memberof CommunityGetStakeTransaction200ResponseInnerCommunity + */ + chain_node_id?: number | null; } /** * * @export - * @interface QueryCommunityGetCommunity200Response + * @interface CommunitySetStake200Response */ -export interface QueryCommunityGetCommunity200Response { +export interface CommunitySetStake200Response { /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ name: string; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ chain_node_id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ default_symbol?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ - network?: QueryCommunityGetCommunity200ResponseNetworkEnum; + network?: CommunitySetStake200ResponseNetworkEnum; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ - base: QueryCommunityGetCommunity200ResponseBaseEnum; + base: CommunitySetStake200ResponseBaseEnum; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ icon_url?: string | null; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ active: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ - type?: QueryCommunityGetCommunity200ResponseTypeEnum; + type?: CommunitySetStake200ResponseTypeEnum; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ id?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ description?: string; /** * * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ social_links?: Array; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ ss58_prefix?: number; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ stages_enabled?: boolean; /** * * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ custom_stages?: Array; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ custom_domain?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ block_explorer_ids?: string; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ collapsed_on_homepage?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ substrate_spec?: string; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ has_chain_events_listener?: boolean; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ default_summary_view?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ - default_page?: QueryCommunityGetCommunity200ResponseDefaultPageEnum; + default_page?: CommunitySetStake200ResponseDefaultPageEnum; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ - has_homepage?: QueryCommunityGetCommunity200ResponseHasHomepageEnum | null; + has_homepage?: CommunitySetStake200ResponseHasHomepageEnum | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ terms?: string; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ admin_only_polling?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ bech32_prefix?: string; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ hide_projects?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ token_name?: string; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ ce_verbose?: boolean; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ discord_config_id?: number | null; /** * * @type {any} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ category?: any; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ discord_bot_webhooks_enabled?: boolean; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ directory_page_enabled?: boolean; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ directory_page_chain_node_id?: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ namespace?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ namespace_address?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ redirect?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ created_at?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ updated_at?: string; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @type {Array} + * @memberof CommunitySetStake200Response */ - Addresses?: Array; + Addresses?: Array; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @type {Array} + * @memberof CommunitySetStake200Response */ - CommunityStakes?: Array; + CommunityStakes?: Array; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @type {Array} + * @memberof CommunitySetStake200Response */ - CommunityTags?: Array; + CommunityTags?: Array; /** * - * @type {QueryCommunityGetCommunity200ResponseChainNode} - * @memberof QueryCommunityGetCommunity200Response + * @type {CommunityGetCommunity200ResponseChainNode} + * @memberof CommunitySetStake200Response */ - ChainNode?: QueryCommunityGetCommunity200ResponseChainNode; + ChainNode?: CommunityGetCommunity200ResponseChainNode; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @type {Array} + * @memberof CommunitySetStake200Response */ - topics?: Array; + topics?: Array; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @type {Array} + * @memberof CommunitySetStake200Response */ - groups?: Array; + groups?: Array; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @type {Array} + * @memberof CommunitySetStake200Response */ - contest_managers?: Array; + contest_managers?: Array; /** * * @type {Array} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ snapshot_spaces?: Array; /** * * @type {boolean} - * @memberof QueryCommunityGetCommunity200Response + * @memberof CommunitySetStake200Response */ include_in_digest_email?: boolean | null; } -export const QueryCommunityGetCommunity200ResponseNetworkEnum = { +export const CommunitySetStake200ResponseNetworkEnum = { Edgeware: 'edgeware', EdgewareTestnet: 'edgeware-testnet', Kusama: 'kusama', @@ -2350,9 +2376,9 @@ export const QueryCommunityGetCommunity200ResponseNetworkEnum = { Cosmos: 'cosmos', } as const; -export type QueryCommunityGetCommunity200ResponseNetworkEnum = - typeof QueryCommunityGetCommunity200ResponseNetworkEnum[keyof typeof QueryCommunityGetCommunity200ResponseNetworkEnum]; -export const QueryCommunityGetCommunity200ResponseBaseEnum = { +export type CommunitySetStake200ResponseNetworkEnum = + typeof CommunitySetStake200ResponseNetworkEnum[keyof typeof CommunitySetStake200ResponseNetworkEnum]; +export const CommunitySetStake200ResponseBaseEnum = { Cosmos: 'cosmos', Substrate: 'substrate', Ethereum: 'ethereum', @@ -2360,2473 +2386,2443 @@ export const QueryCommunityGetCommunity200ResponseBaseEnum = { Solana: 'solana', } as const; -export type QueryCommunityGetCommunity200ResponseBaseEnum = - typeof QueryCommunityGetCommunity200ResponseBaseEnum[keyof typeof QueryCommunityGetCommunity200ResponseBaseEnum]; -export const QueryCommunityGetCommunity200ResponseTypeEnum = { +export type CommunitySetStake200ResponseBaseEnum = + typeof CommunitySetStake200ResponseBaseEnum[keyof typeof CommunitySetStake200ResponseBaseEnum]; +export const CommunitySetStake200ResponseTypeEnum = { Chain: 'chain', Dao: 'dao', Token: 'token', Offchain: 'offchain', } as const; -export type QueryCommunityGetCommunity200ResponseTypeEnum = - typeof QueryCommunityGetCommunity200ResponseTypeEnum[keyof typeof QueryCommunityGetCommunity200ResponseTypeEnum]; -export const QueryCommunityGetCommunity200ResponseDefaultPageEnum = { +export type CommunitySetStake200ResponseTypeEnum = + typeof CommunitySetStake200ResponseTypeEnum[keyof typeof CommunitySetStake200ResponseTypeEnum]; +export const CommunitySetStake200ResponseDefaultPageEnum = { AllDiscussionsView: 'default_all_discussions_view', SummaryView: 'default_summary_view', } as const; -export type QueryCommunityGetCommunity200ResponseDefaultPageEnum = - typeof QueryCommunityGetCommunity200ResponseDefaultPageEnum[keyof typeof QueryCommunityGetCommunity200ResponseDefaultPageEnum]; -export const QueryCommunityGetCommunity200ResponseHasHomepageEnum = { +export type CommunitySetStake200ResponseDefaultPageEnum = + typeof CommunitySetStake200ResponseDefaultPageEnum[keyof typeof CommunitySetStake200ResponseDefaultPageEnum]; +export const CommunitySetStake200ResponseHasHomepageEnum = { True: 'true', False: 'false', } as const; -export type QueryCommunityGetCommunity200ResponseHasHomepageEnum = - typeof QueryCommunityGetCommunity200ResponseHasHomepageEnum[keyof typeof QueryCommunityGetCommunity200ResponseHasHomepageEnum]; +export type CommunitySetStake200ResponseHasHomepageEnum = + typeof CommunitySetStake200ResponseHasHomepageEnum[keyof typeof CommunitySetStake200ResponseHasHomepageEnum]; /** * * @export - * @interface QueryCommunityGetCommunity200ResponseAddressesInner + * @interface CommunitySetStakeRequest */ -export interface QueryCommunityGetCommunity200ResponseAddressesInner { +export interface CommunitySetStakeRequest { /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof CommunitySetStakeRequest */ - id?: number; + stake_id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof CommunitySetStakeRequest */ - address: string; + stake_token?: string; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {number} + * @memberof CommunitySetStakeRequest */ - community_id?: string; + vote_weight?: number; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {boolean} + * @memberof CommunitySetStakeRequest */ - user_id?: number | null; + stake_enabled?: boolean; +} +/** + * + * @export + * @interface ContestCreateContestMetadata200Response + */ +export interface ContestCreateContestMetadata200Response { /** * + * @type {Array} + * @memberof ContestCreateContestMetadata200Response + */ + contest_managers: Array; +} +/** + * + * @export + * @interface ContestCreateContestMetadataRequest + */ +export interface ContestCreateContestMetadataRequest { + /** + * On-Chain contest manager address * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestCreateContestMetadataRequest */ - verification_token?: string; + contest_address: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestCreateContestMetadataRequest */ - verification_token_expires?: string | null; + name: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestCreateContestMetadataRequest */ - verified?: string | null; + image_url?: string; /** - * + * Provided by admin on creation when stake funds are not used * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestCreateContestMetadataRequest */ - last_active?: string | null; + funding_token_address?: string; /** - * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * Percentage of pool used for prizes in recurring contests + * @type {number} + * @memberof ContestCreateContestMetadataRequest */ - is_councillor?: boolean; + prize_percentage?: number; + /** + * Sorted array of percentages for prize, from first to last + * @type {Array} + * @memberof ContestCreateContestMetadataRequest + */ + payout_structure: Array; + /** + * Recurring contest interval in seconds, 0 when one-off + * @type {number} + * @memberof ContestCreateContestMetadataRequest + */ + interval: number; /** * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {string} + * @memberof ContestCreateContestMetadataRequest */ - is_validator?: boolean; + ticker?: string; /** * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {number} + * @memberof ContestCreateContestMetadataRequest */ - ghost_address?: boolean; + decimals?: number; /** * + * @type {Array} + * @memberof ContestCreateContestMetadataRequest + */ + topic_ids?: Array; +} +/** + * On-Chain Contest Manager + * @export + * @interface ContestGetAllContests200ResponseInner + */ +export interface ContestGetAllContests200ResponseInner { + /** + * On-Chain contest manager address * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestGetAllContests200ResponseInner */ - wallet_id?: QueryCommunityGetCommunity200ResponseAddressesInnerWalletIdEnum; + contest_address: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestGetAllContests200ResponseInner */ - block_info?: string; + community_id: string; /** * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {string} + * @memberof ContestGetAllContests200ResponseInner */ - is_user_default?: boolean; + name: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestGetAllContests200ResponseInner */ - role?: QueryCommunityGetCommunity200ResponseAddressesInnerRoleEnum; + image_url?: string; /** - * + * Provided by admin on creation when stake funds are not used * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestGetAllContests200ResponseInner + */ + funding_token_address?: string | null; + /** + * Percentage of pool used for prizes in recurring contests + * @type {number} + * @memberof ContestGetAllContests200ResponseInner + */ + prize_percentage?: number | null; + /** + * Sorted array of percentages for prize, from first to last + * @type {Array} + * @memberof ContestGetAllContests200ResponseInner + */ + payout_structure: Array; + /** + * Recurring contest interval, 0 when one-off + * @type {number} + * @memberof ContestGetAllContests200ResponseInner */ - wallet_sso_source?: QueryCommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum; + interval: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @memberof ContestGetAllContests200ResponseInner */ - hex?: string; + ticker?: string; /** * - * @type {any} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {number} + * @memberof ContestGetAllContests200ResponseInner */ - created_at?: any; + decimals?: number; /** * - * @type {any} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {string} + * @memberof ContestGetAllContests200ResponseInner */ - updated_at?: any; + created_at: string; + /** + * Flags when contest policy is cancelled by admin + * @type {boolean} + * @memberof ContestGetAllContests200ResponseInner + */ + cancelled?: boolean | null; + /** + * Flags when the one-off contest has ended and rollover was completed + * @type {boolean} + * @memberof ContestGetAllContests200ResponseInner + */ + ended?: boolean | null; + /** + * + * @type {Array} + * @memberof ContestGetAllContests200ResponseInner + */ + topics: Array; /** * - * @type {MutationUserUpdateUser200Response} - * @memberof QueryCommunityGetCommunity200ResponseAddressesInner + * @type {Array} + * @memberof ContestGetAllContests200ResponseInner */ - User?: MutationUserUpdateUser200Response; + contests: Array; } - -export const QueryCommunityGetCommunity200ResponseAddressesInnerWalletIdEnum = { - Magic: 'magic', - Polkadot: 'polkadot', - Metamask: 'metamask', - Walletconnect: 'walletconnect', - KeplrEthereum: 'keplr-ethereum', - Keplr: 'keplr', - Leap: 'leap', - Near: 'near', - Terrastation: 'terrastation', - TerraWalletconnect: 'terra-walletconnect', - CosmMetamask: 'cosm-metamask', - Phantom: 'phantom', - Coinbase: 'coinbase', -} as const; - -export type QueryCommunityGetCommunity200ResponseAddressesInnerWalletIdEnum = - typeof QueryCommunityGetCommunity200ResponseAddressesInnerWalletIdEnum[keyof typeof QueryCommunityGetCommunity200ResponseAddressesInnerWalletIdEnum]; -export const QueryCommunityGetCommunity200ResponseAddressesInnerRoleEnum = { - Admin: 'admin', - Moderator: 'moderator', - Member: 'member', -} as const; - -export type QueryCommunityGetCommunity200ResponseAddressesInnerRoleEnum = - typeof QueryCommunityGetCommunity200ResponseAddressesInnerRoleEnum[keyof typeof QueryCommunityGetCommunity200ResponseAddressesInnerRoleEnum]; -export const QueryCommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum = - { - Google: 'google', - Github: 'github', - Discord: 'discord', - Twitter: 'twitter', - Apple: 'apple', - Email: 'email', - Unknown: 'unknown', - } as const; - -export type QueryCommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum = - typeof QueryCommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum[keyof typeof QueryCommunityGetCommunity200ResponseAddressesInnerWalletSsoSourceEnum]; - /** - * + * On-Chain contest instance * @export - * @interface QueryCommunityGetCommunity200ResponseChainNode + * @interface ContestGetAllContests200ResponseInnerContestsInner */ -export interface QueryCommunityGetCommunity200ResponseChainNode { +export interface ContestGetAllContests200ResponseInnerContestsInner { /** - * + * On-Chain contest id, 0 when one-off * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetAllContests200ResponseInnerContestsInner */ - id?: number; + contest_id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetAllContests200ResponseInnerContestsInner */ - url: string; + start_time: string; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @type {string} + * @memberof ContestGetAllContests200ResponseInnerContestsInner */ - eth_chain_id?: number; + end_time: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetAllContests200ResponseInnerContestsInner */ - alt_wallet_url?: string; + score_updated_at?: string | null; + /** + * Contest score, sorted from first to last + * @type {Array} + * @memberof ContestGetAllContests200ResponseInnerContestsInner + */ + score?: Array | null; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @type {Array} + * @memberof ContestGetAllContests200ResponseInnerContestsInner */ - private_url?: string; + actions?: Array | null; +} +/** + * + * @export + * @interface ContestGetAllContests200ResponseInnerTopicsInner + */ +export interface ContestGetAllContests200ResponseInnerTopicsInner { /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @type {number} + * @memberof ContestGetAllContests200ResponseInnerTopicsInner */ - balance_type: QueryCommunityGetCommunity200ResponseChainNodeBalanceTypeEnum; + id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetAllContests200ResponseInnerTopicsInner */ name: string; +} +/** + * + * @export + * @interface ContestGetContestLog200ResponseInner + */ +export interface ContestGetContestLog200ResponseInner { /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetContestLog200ResponseInner */ - description?: string; + event_name: string; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @type {object} + * @memberof ContestGetContestLog200ResponseInner */ - ss58?: number; + event_payload: object; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetContestLog200ResponseInner */ - bech32?: string; + contest_address: string; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNode - */ - slip44?: number; - /** - * - * @type {any} - * @memberof QueryCommunityGetCommunity200ResponseChainNode - */ - created_at?: any; - /** - * - * @type {any} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetContestLog200ResponseInner */ - updated_at?: any; + contest_id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetContestLog200ResponseInner */ - cosmos_chain_id?: string; + action?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetContestLog200ResponseInner */ - cosmos_gov_version?: QueryCommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum; + actor_address?: string | null; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @type {number} + * @memberof ContestGetContestLog200ResponseInner */ - health?: QueryCommunityGetCommunity200ResponseChainNodeHealthEnum; + voting_power?: number | null; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @type {number} + * @memberof ContestGetContestLog200ResponseInner */ - contracts?: Array; + thread_id?: number | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @memberof ContestGetContestLog200ResponseInner */ - block_explorer?: string; + thread_title?: string | null; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNode + * @type {string} + * @memberof ContestGetContestLog200ResponseInner */ - max_ce_block_range?: number | null; + created_at: string; } - -export const QueryCommunityGetCommunity200ResponseChainNodeBalanceTypeEnum = { - Terra: 'terra', - Ethereum: 'ethereum', - Solana: 'solana', - Cosmos: 'cosmos', - Near: 'near', - Substrate: 'substrate', -} as const; - -export type QueryCommunityGetCommunity200ResponseChainNodeBalanceTypeEnum = - typeof QueryCommunityGetCommunity200ResponseChainNodeBalanceTypeEnum[keyof typeof QueryCommunityGetCommunity200ResponseChainNodeBalanceTypeEnum]; -export const QueryCommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum = - { - V1: 'v1', - V1beta1: 'v1beta1', - V1beta1AttemptFailed: 'v1beta1-attempt-failed', - V1AttemptFailed: 'v1-attempt-failed', - } as const; - -export type QueryCommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum = - typeof QueryCommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum[keyof typeof QueryCommunityGetCommunity200ResponseChainNodeCosmosGovVersionEnum]; -export const QueryCommunityGetCommunity200ResponseChainNodeHealthEnum = { - Failed: 'failed', - Healthy: 'healthy', -} as const; - -export type QueryCommunityGetCommunity200ResponseChainNodeHealthEnum = - typeof QueryCommunityGetCommunity200ResponseChainNodeHealthEnum[keyof typeof QueryCommunityGetCommunity200ResponseChainNodeHealthEnum]; - /** * * @export - * @interface QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @interface ContestUpdateContestMetadataRequest */ -export interface QueryCommunityGetCommunity200ResponseChainNodeContractsInner { - /** - * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner - */ - id: number; +export interface ContestUpdateContestMetadataRequest { /** - * + * On-Chain contest manager address * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @memberof ContestUpdateContestMetadataRequest */ - address: string; + contest_address: string; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @type {string} + * @memberof ContestUpdateContestMetadataRequest */ - chain_node_id: number; + name?: string; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @type {string} + * @memberof ContestUpdateContestMetadataRequest */ - abi_id?: number | null; + image_url?: string; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @type {Array} + * @memberof ContestUpdateContestMetadataRequest */ - decimals?: number; + topic_ids?: Array; +} +/** + * + * @export + * @interface FeedGetChainActivity200ResponseInner + */ +export interface FeedGetChainActivity200ResponseInner { /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @memberof FeedGetChainActivity200ResponseInner */ - token_name?: string; + community_id: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @memberof FeedGetChainActivity200ResponseInner */ - symbol?: string; + network: string; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @type {number} + * @memberof FeedGetChainActivity200ResponseInner */ - type: string; + block_number: number; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @type {FeedGetChainActivity200ResponseInnerEventData} + * @memberof FeedGetChainActivity200ResponseInner */ - created_at: string; + event_data: FeedGetChainActivity200ResponseInnerEventData; +} +/** + * + * @export + * @interface FeedGetChainActivity200ResponseInnerEventData + */ +export interface FeedGetChainActivity200ResponseInnerEventData { /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner - */ - updated_at: string; - /** - * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @memberof FeedGetChainActivity200ResponseInnerEventData */ - is_factory?: boolean; + id: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseChainNodeContractsInner + * @memberof FeedGetChainActivity200ResponseInnerEventData */ - nickname?: string; + kind: string; } /** * * @export - * @interface QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @interface FeedGetUserActivity200ResponseInner */ -export interface QueryCommunityGetCommunity200ResponseCommunityStakesInner { +export interface FeedGetUserActivity200ResponseInner { /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @memberof FeedGetUserActivity200ResponseInner */ - id?: number; + thread_id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @memberof FeedGetUserActivity200ResponseInner */ - community_id: string; + last_activity?: string; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @type {string} + * @memberof FeedGetUserActivity200ResponseInner */ - stake_id?: number; + notification_data: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @memberof FeedGetUserActivity200ResponseInner */ - stake_token?: string; + category_id: string; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @memberof FeedGetUserActivity200ResponseInner */ - vote_weight?: number; + comment_count: number; /** * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @type {Array} + * @memberof FeedGetUserActivity200ResponseInner */ - stake_enabled?: boolean; + commenters: Array; +} +/** + * + * @export + * @interface FeedGetUserActivity200ResponseInnerCommentersInner + */ +export interface FeedGetUserActivity200ResponseInnerCommentersInner { /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @type {Array} + * @memberof FeedGetUserActivity200ResponseInnerCommentersInner */ - created_at?: string; + Addresses: Array; +} +/** + * + * @export + * @interface IntegrationsAnalyticsRequest + */ +export interface IntegrationsAnalyticsRequest { /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @type {IntegrationsAnalyticsRequestGroupCreated} + * @memberof IntegrationsAnalyticsRequest */ - updated_at?: string; + GroupCreated: IntegrationsAnalyticsRequestGroupCreated; + /** + * + * @type {IntegrationsAnalyticsRequestThreadCreated} + * @memberof IntegrationsAnalyticsRequest + */ + ThreadCreated: IntegrationsAnalyticsRequestThreadCreated; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInner + * @type {IntegrationsAnalyticsRequestCommentCreated} + * @memberof IntegrationsAnalyticsRequest */ - StakeTransactions?: Array; + CommentCreated: IntegrationsAnalyticsRequestCommentCreated; } /** * * @export - * @interface QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @interface IntegrationsAnalyticsRequestCommentCreated */ -export interface QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner { +export interface IntegrationsAnalyticsRequestCommentCreated { /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - transaction_hash: string; + thread_id: number; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - community_id: string; + address_id: number; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @type {string} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - stake_id?: number; + text: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - address: string; + plaintext: string; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - stake_amount: number; + id?: number | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - stake_price?: string; + community_id: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - stake_direction: QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum; + parent_id?: string | null; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInner + * @type {Array} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - timestamp: number; -} - -export const QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum = - { - Buy: 'buy', - Sell: 'sell', - } as const; - -export type QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum = - typeof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum[keyof typeof QueryCommunityGetCommunity200ResponseCommunityStakesInnerStakeTransactionsInnerStakeDirectionEnum]; - -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseCommunityTagsInner - */ -export interface QueryCommunityGetCommunity200ResponseCommunityTagsInner { + version_history?: Array; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseCommunityTagsInner + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - id?: number; + version_history_updated?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseCommunityTagsInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - name: string; -} -/** - * On-Chain Contest Manager - * @export - * @interface QueryCommunityGetCommunity200ResponseContestManagersInner - */ -export interface QueryCommunityGetCommunity200ResponseContestManagersInner { + canvas_signed_data: string; /** - * On-Chain contest manager address + * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - contest_address: string; + canvas_hash: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - community_id: string; + created_by?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - name: string; + created_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - image_url?: string; + updated_at?: string | null; /** - * Provided by admin on creation when stake funds are not used + * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - funding_token_address?: string | null; + deleted_at?: string | null; /** - * Percentage of pool used for prizes in recurring contests - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * + * @type {string} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - prize_percentage?: number | null; + marked_as_spam_at?: string | null; /** - * Sorted array of percentages for prize, from first to last - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * + * @type {ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - payout_structure: Array; + discord_meta?: ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta | null; /** - * Recurring contest interval, 0 when one-off + * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - interval: number; + reaction_count: number; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - ticker?: string; + reaction_weights_sum?: number; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @type {IntegrationsAnalyticsRequestThreadCreatedAddress} + * @memberof IntegrationsAnalyticsRequestCommentCreated */ - decimals?: number; + Address?: IntegrationsAnalyticsRequestThreadCreatedAddress | null; +} +/** + * + * @export + * @interface IntegrationsAnalyticsRequestGroupCreated + */ +export interface IntegrationsAnalyticsRequestGroupCreated { /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @memberof IntegrationsAnalyticsRequestGroupCreated */ - created_at: string; + groupId: string; /** - * Flags when contest policy is cancelled by admin - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * + * @type {string} + * @memberof IntegrationsAnalyticsRequestGroupCreated */ - cancelled?: boolean | null; + userId: string; +} +/** + * + * @export + * @interface IntegrationsAnalyticsRequestThreadCreated + */ +export interface IntegrationsAnalyticsRequestThreadCreated { /** - * Flags when the one-off contest has ended and rollover was completed - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * + * @type {IntegrationsAnalyticsRequestThreadCreatedAddress} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - ended?: boolean | null; + Address?: IntegrationsAnalyticsRequestThreadCreatedAddress | null; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - topics?: Array; + address_id: number; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInner + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - contests?: Array; -} -/** - * On-Chain contest instance - * @export - * @interface QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner - */ -export interface QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner { + title: string; /** - * On-Chain contest manager address + * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - contest_address: string; + kind: string; /** - * On-Chain contest id, 0 when one-off + * + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreated + */ + stage: string; + /** + * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - contest_id: number; + id?: number | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - start_time: string; + body?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - end_time: string; + plaintext?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - score_updated_at?: string | null; + url?: string | null; /** - * Contest score, sorted from first to last - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner + * + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - score?: Array | null; + topic_id?: number | null; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInner + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - actions?: Array | null; -} -/** - * On-Chain content related actions on contest instance - * @export - * @interface QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner - */ -export interface QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner { + pinned?: boolean | null; /** - * On-Chain contest manager address + * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - contest_address: string; - /** - * On-Chain contest id, 0 when one-off - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner - */ - contest_id: number; + community_id: string; /** - * On-Chain content id, 0 when adding + * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - content_id: number; + view_count: number; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * @type {Array} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - actor_address: string; + links?: Array | null; /** - * Type of content action - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - action: QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum; + read_only?: boolean | null; /** - * Content url - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * + * @type {Array} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - content_url?: string | null; + version_history?: Array | null; /** - * Thread id mapped from content url - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - thread_id?: number | null; + has_poll?: boolean | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - thread_title?: string | null; + canvas_signed_data?: string | null; /** - * Voting power of address when action was recorded - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - voting_power: number; + canvas_hash?: string | null; /** - * Date-time when action was recorded + * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - created_at: string; -} - -export const QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum = - { - Added: 'added', - Upvoted: 'upvoted', - } as const; - -export type QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum = - typeof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum[keyof typeof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerActionsInnerActionEnum]; - -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner - */ -export interface QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner { + created_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - creator_address: string; + updated_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - content_id: string; + last_edited?: string | null; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - votes: number; + deleted_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - prize: string; + last_commented_on?: string | null; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseContestManagersInnerContestsInnerScoreInner + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - tickerPrize?: number; -} -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInner - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInner { + marked_as_spam_at?: string | null; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInner + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - id: number; + archived_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - community_id: string; + locked_at?: string | null; /** * - * @type {QueryCommunityGetCommunity200ResponseGroupsInnerMetadata} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInner + * @type {ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - metadata: QueryCommunityGetCommunity200ResponseGroupsInnerMetadata; + discord_meta?: ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta | null; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - requirements: Array; + reaction_count: number; /** * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - is_system_managed?: boolean; + reaction_weights_sum: number; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - created_at?: string; + comment_count: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInner + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - updated_at?: string; -} -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerMetadata - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerMetadata { + activity_rank_date?: string | null; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerMetadata + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - name: string; + max_notif_id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerMetadata + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - description: string; + created_by?: string | null; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerMetadata + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - required_requirements?: number; + profile_name?: string | null; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerMetadata + * @type {Array} + * @memberof IntegrationsAnalyticsRequestThreadCreated */ - membership_ttl?: number; + contestManagers?: Array | null; } /** * * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInner + * @interface IntegrationsAnalyticsRequestThreadCreatedAddress */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInner { +export interface IntegrationsAnalyticsRequestThreadCreatedAddress { /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInner + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - rule: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum; + id?: number; /** * - * @type {QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInner + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - data: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data; -} - -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum = - { - Allow: 'allow', - } as const; - -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerRuleEnum]; - -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf { + address: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - rule: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum; + community_id?: string; /** * - * @type {QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf + * @type {number} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - data: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData; -} - -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum = - { - Threshold: 'threshold', - } as const; - -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfRuleEnum]; - -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 { + user_id?: number | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - rule: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum; + verification_token?: string; /** * - * @type {QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1 + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - data: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data; -} - -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum = - { - Allow: 'allow', - } as const; - -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1RuleEnum]; - -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data { + verification_token_expires?: string | null; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOf1Data + * @type {string} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - allow: Array; -} -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData { + verified?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - threshold: string; + last_active?: string | null; /** * - * @type {QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfData + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - source: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource; -} -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource { + is_councillor?: boolean; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - source_type: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum; + is_validator?: boolean; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - evm_chain_id: number; + ghost_address?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - contract_address: string; + wallet_id?: IntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - token_id?: string; + block_info?: string; + /** + * + * @type {boolean} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress + */ + is_user_default?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - cosmos_chain_id: string; + role?: IntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSource + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - token_symbol: string; -} - -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum = - { - Cw721: 'cw721', - Cw20: 'cw20', - } as const; - -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceSourceTypeEnum]; - -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf { + wallet_sso_source?: IntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - source_type: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum; + hex?: string; /** * - * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf + * @type {any} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - evm_chain_id: number; + created_at?: any; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf + * @type {any} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - contract_address: string; + updated_at?: any; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf + * @type {UserUpdateUser200Response} + * @memberof IntegrationsAnalyticsRequestThreadCreatedAddress */ - token_id?: string; + User?: UserUpdateUser200Response; } -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum = +export const IntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum = { + Magic: 'magic', + Polkadot: 'polkadot', + Metamask: 'metamask', + Walletconnect: 'walletconnect', + KeplrEthereum: 'keplr-ethereum', + Keplr: 'keplr', + Leap: 'leap', + Near: 'near', + Terrastation: 'terrastation', + TerraWalletconnect: 'terra-walletconnect', + CosmMetamask: 'cosm-metamask', + Phantom: 'phantom', + Coinbase: 'coinbase', +} as const; + +export type IntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum = + typeof IntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum[keyof typeof IntegrationsAnalyticsRequestThreadCreatedAddressWalletIdEnum]; +export const IntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum = { + Admin: 'admin', + Moderator: 'moderator', + Member: 'member', +} as const; + +export type IntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum = + typeof IntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum[keyof typeof IntegrationsAnalyticsRequestThreadCreatedAddressRoleEnum]; +export const IntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum = { - Erc20: 'erc20', - Erc721: 'erc721', - Erc1155: 'erc1155', - Spl: 'spl', + Google: 'google', + Github: 'github', + Discord: 'discord', + Twitter: 'twitter', + Apple: 'apple', + Email: 'email', + Unknown: 'unknown', } as const; -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOfSourceTypeEnum]; +export type IntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum = + typeof IntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum[keyof typeof IntegrationsAnalyticsRequestThreadCreatedAddressWalletSsoSourceEnum]; /** * * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 + * @interface IntegrationsAnalyticsRequestThreadCreatedContestManagersInner */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 { +export interface IntegrationsAnalyticsRequestThreadCreatedContestManagersInner { /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 + * @memberof IntegrationsAnalyticsRequestThreadCreatedContestManagersInner */ - source_type: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum; + contest_address: string; +} +/** + * + * @export + * @interface LoadTestCreateJWTsRequest + */ +export interface LoadTestCreateJWTsRequest { /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1 + * @memberof LoadTestCreateJWTsRequest */ - evm_chain_id: number; + number_of_jwt: number; } - -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum = - { - EthNative: 'eth_native', - } as const; - -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf1SourceTypeEnum]; - /** * * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 + * @interface SubscriptionCreateCommentSubscription200Response */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 { +export interface SubscriptionCreateCommentSubscription200Response { /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 + * @type {number} + * @memberof SubscriptionCreateCommentSubscription200Response */ - source_type: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum; + id?: number; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 + * @type {number} + * @memberof SubscriptionCreateCommentSubscription200Response */ - cosmos_chain_id: string; + user_id: number; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2 + * @type {number} + * @memberof SubscriptionCreateCommentSubscription200Response */ - token_symbol: string; -} - -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum = - { - CosmosNative: 'cosmos_native', - } as const; - -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf2SourceTypeEnum]; - -/** - * - * @export - * @interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 - */ -export interface QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 { + comment_id: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 + * @memberof SubscriptionCreateCommentSubscription200Response */ - source_type: QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum; + created_at?: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 + * @memberof SubscriptionCreateCommentSubscription200Response */ - cosmos_chain_id: string; + updated_at?: string; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3 + * @type {SubscriptionCreateCommentSubscription200ResponseComment} + * @memberof SubscriptionCreateCommentSubscription200Response */ - contract_address: string; + Comment?: SubscriptionCreateCommentSubscription200ResponseComment; } - -export const QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum = - { - Cw721: 'cw721', - Cw20: 'cw20', - } as const; - -export type QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum = - typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum[keyof typeof QueryCommunityGetCommunity200ResponseGroupsInnerRequirementsInnerAnyOfDataSourceAnyOf3SourceTypeEnum]; - /** * * @export - * @interface QueryCommunityGetCommunity200ResponseTopicsInner + * @interface SubscriptionCreateCommentSubscription200ResponseComment */ -export interface QueryCommunityGetCommunity200ResponseTopicsInner { +export interface SubscriptionCreateCommentSubscription200ResponseComment { /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseComment */ - id?: number; + id?: number | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseComment */ - name?: string; + created_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseComment */ - community_id: string; + updated_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseComment */ - description?: string; + text: string; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseComment */ - telegram?: string | null; + plaintext: string; /** * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @type {SubscriptionCreateCommentSubscription200ResponseCommentThread} + * @memberof SubscriptionCreateCommentSubscription200ResponseComment */ - featured_in_sidebar?: boolean; + Thread: SubscriptionCreateCommentSubscription200ResponseCommentThread; +} +/** + * + * @export + * @interface SubscriptionCreateCommentSubscription200ResponseCommentThread + */ +export interface SubscriptionCreateCommentSubscription200ResponseCommentThread { /** * - * @type {boolean} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @type {number} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread */ - featured_in_new_post?: boolean; + id?: number | null; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread */ - default_offchain_template?: string | null; + community_id: string; + /** + * + * @type {string} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread + */ + title: string; /** * * @type {number} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread */ - order?: number | null; + comment_count: number; /** * * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread */ - channel_id?: string | null; + created_at?: string | null; /** * - * @type {Array} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @type {string} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread */ - group_ids?: Array; + url?: string | null; /** * - * @type {string} - * @memberof QueryCommunityGetCommunity200ResponseTopicsInner + * @type {SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread */ - default_offchain_template_backup?: string | null; + Community: SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity; + /** + * + * @type {SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThread + */ + Address: SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress; } /** * * @export - * @interface QueryCommunityGetMembers200Response + * @interface SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress */ -export interface QueryCommunityGetMembers200Response { +export interface SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress { /** * * @type {number} - * @memberof QueryCommunityGetMembers200Response + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress */ - limit: number; + id?: number; /** * * @type {number} - * @memberof QueryCommunityGetMembers200Response + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress */ - page: number; + user_id?: number | null; /** * - * @type {number} - * @memberof QueryCommunityGetMembers200Response + * @type {string} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress */ - totalPages: number; + address: string; +} +/** + * + * @export + * @interface SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity + */ +export interface SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity { /** * - * @type {number} - * @memberof QueryCommunityGetMembers200Response + * @type {string} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity */ - totalResults: number; + id?: string; + /** + * + * @type {string} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity + */ + name: string; + /** + * + * @type {string} + * @memberof SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity + */ + icon_url?: string | null; +} +/** + * + * @export + * @interface SubscriptionCreateCommentSubscriptionRequest + */ +export interface SubscriptionCreateCommentSubscriptionRequest { /** * - * @type {Array} - * @memberof QueryCommunityGetMembers200Response + * @type {number} + * @memberof SubscriptionCreateCommentSubscriptionRequest */ - results: Array; + comment_id: number; } /** * * @export - * @interface QueryCommunityGetMembers200ResponseResultsInner + * @interface SubscriptionCreateCommunityAlert200Response */ -export interface QueryCommunityGetMembers200ResponseResultsInner { +export interface SubscriptionCreateCommunityAlert200Response { /** * * @type {number} - * @memberof QueryCommunityGetMembers200ResponseResultsInner + * @memberof SubscriptionCreateCommunityAlert200Response */ user_id: number; /** * * @type {string} - * @memberof QueryCommunityGetMembers200ResponseResultsInner + * @memberof SubscriptionCreateCommunityAlert200Response */ - profile_name?: string | null; + community_id: string; /** * * @type {string} - * @memberof QueryCommunityGetMembers200ResponseResultsInner + * @memberof SubscriptionCreateCommunityAlert200Response */ - avatar_url?: string | null; + created_at?: string; /** * - * @type {Array} - * @memberof QueryCommunityGetMembers200ResponseResultsInner + * @type {string} + * @memberof SubscriptionCreateCommunityAlert200Response */ - addresses: Array; + updated_at?: string; /** * - * @type {Array} - * @memberof QueryCommunityGetMembers200ResponseResultsInner + * @type {SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity} + * @memberof SubscriptionCreateCommunityAlert200Response */ - group_ids: Array; + Community?: SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity; +} +/** + * + * @export + * @interface SubscriptionCreateCommunityAlertRequest + */ +export interface SubscriptionCreateCommunityAlertRequest { /** - * string or date - * @type {any} - * @memberof QueryCommunityGetMembers200ResponseResultsInner + * + * @type {string} + * @memberof SubscriptionCreateCommunityAlertRequest */ - last_active?: any | null; + community_id: string; } /** * * @export - * @interface QueryCommunityGetMembers200ResponseResultsInnerAddressesInner + * @interface SubscriptionCreateThreadSubscription200Response */ -export interface QueryCommunityGetMembers200ResponseResultsInnerAddressesInner { +export interface SubscriptionCreateThreadSubscription200Response { /** * * @type {number} - * @memberof QueryCommunityGetMembers200ResponseResultsInnerAddressesInner + * @memberof SubscriptionCreateThreadSubscription200Response */ - id: number; + id?: number; /** * - * @type {string} - * @memberof QueryCommunityGetMembers200ResponseResultsInnerAddressesInner + * @type {number} + * @memberof SubscriptionCreateThreadSubscription200Response */ - community_id: string; + user_id: number; /** * - * @type {string} - * @memberof QueryCommunityGetMembers200ResponseResultsInnerAddressesInner + * @type {number} + * @memberof SubscriptionCreateThreadSubscription200Response */ - address: string; + thread_id: number; /** * - * @type {number} - * @memberof QueryCommunityGetMembers200ResponseResultsInnerAddressesInner + * @type {string} + * @memberof SubscriptionCreateThreadSubscription200Response */ - stake_balance?: number | null; + created_at?: string; /** * * @type {string} - * @memberof QueryCommunityGetMembers200ResponseResultsInnerAddressesInner + * @memberof SubscriptionCreateThreadSubscription200Response */ - role: string; + updated_at?: string; + /** + * + * @type {SubscriptionCreateThreadSubscription200ResponseThread} + * @memberof SubscriptionCreateThreadSubscription200Response + */ + Thread?: SubscriptionCreateThreadSubscription200ResponseThread; } /** * * @export - * @interface QueryCommunityGetMembersMembershipsParameter - */ -export interface QueryCommunityGetMembersMembershipsParameter {} -/** - * - * @export - * @interface QueryCommunityGetStake200Response + * @interface SubscriptionCreateThreadSubscription200ResponseThread */ -export interface QueryCommunityGetStake200Response { +export interface SubscriptionCreateThreadSubscription200ResponseThread { /** * * @type {number} - * @memberof QueryCommunityGetStake200Response + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - id?: number; + id?: number | null; /** * * @type {string} - * @memberof QueryCommunityGetStake200Response + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ community_id: string; /** * * @type {number} - * @memberof QueryCommunityGetStake200Response + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - stake_id?: number; + address_id: number; /** * * @type {string} - * @memberof QueryCommunityGetStake200Response + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - stake_token?: string; + title: string; /** * * @type {number} - * @memberof QueryCommunityGetStake200Response + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - vote_weight?: number; + comment_count: number; /** * - * @type {boolean} - * @memberof QueryCommunityGetStake200Response + * @type {string} + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - stake_enabled?: boolean; + created_at?: string | null; /** * * @type {string} - * @memberof QueryCommunityGetStake200Response + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - created_at?: string; + url?: string | null; /** * - * @type {string} - * @memberof QueryCommunityGetStake200Response + * @type {SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity} + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - updated_at?: string; + Community: SubscriptionCreateCommentSubscription200ResponseCommentThreadCommunity; /** * - * @type {Array} - * @memberof QueryCommunityGetStake200Response + * @type {SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress} + * @memberof SubscriptionCreateThreadSubscription200ResponseThread */ - StakeTransactions?: Array; + Address: SubscriptionCreateCommentSubscription200ResponseCommentThreadAddress; } /** * * @export - * @interface QueryCommunityGetStakeHistoricalPrice200ResponseInner + * @interface SubscriptionCreateThreadSubscriptionRequest */ -export interface QueryCommunityGetStakeHistoricalPrice200ResponseInner { - /** - * - * @type {string} - * @memberof QueryCommunityGetStakeHistoricalPrice200ResponseInner - */ - community_id: string; +export interface SubscriptionCreateThreadSubscriptionRequest { /** * - * @type {string} - * @memberof QueryCommunityGetStakeHistoricalPrice200ResponseInner + * @type {number} + * @memberof SubscriptionCreateThreadSubscriptionRequest */ - old_price?: string | null; + thread_id: number; } /** * * @export - * @interface QueryCommunityGetStakeTransaction200ResponseInner + * @interface SubscriptionDeleteCommentSubscriptionRequest */ -export interface QueryCommunityGetStakeTransaction200ResponseInner { +export interface SubscriptionDeleteCommentSubscriptionRequest { /** * - * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @type {Array} + * @memberof SubscriptionDeleteCommentSubscriptionRequest */ - transaction_hash: string; + comment_ids: Array; +} +/** + * + * @export + * @interface SubscriptionDeleteCommunityAlertRequest + */ +export interface SubscriptionDeleteCommunityAlertRequest { /** * - * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @type {Array} + * @memberof SubscriptionDeleteCommunityAlertRequest */ - address: string; + community_ids: Array; +} +/** + * + * @export + * @interface SubscriptionDeleteThreadSubscriptionRequest + */ +export interface SubscriptionDeleteThreadSubscriptionRequest { /** * - * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @type {Array} + * @memberof SubscriptionDeleteThreadSubscriptionRequest */ - stake_price: string; + thread_ids: Array; +} +/** + * + * @export + * @interface SubscriptionGetSubscriptionPreferences200Response + */ +export interface SubscriptionGetSubscriptionPreferences200Response { /** * * @type {number} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - stake_amount: number; + id: number; /** * * @type {number} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - vote_weight: number; + user_id: number; /** * - * @type {number} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - timestamp: number; + email_notifications_enabled?: boolean; /** * - * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - stake_direction: string; + digest_email_enabled?: boolean; /** * - * @type {QueryCommunityGetStakeTransaction200ResponseInnerCommunity} - * @memberof QueryCommunityGetStakeTransaction200ResponseInner + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - community: QueryCommunityGetStakeTransaction200ResponseInnerCommunity; -} -/** - * - * @export - * @interface QueryCommunityGetStakeTransaction200ResponseInnerCommunity - */ -export interface QueryCommunityGetStakeTransaction200ResponseInnerCommunity { + recap_email_enabled?: boolean; /** * - * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInnerCommunity + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - id: string; + mobile_push_notifications_enabled?: boolean; /** * - * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInnerCommunity + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - default_symbol?: string | null; + mobile_push_discussion_activity_enabled?: boolean; /** * - * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInnerCommunity + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - icon_url?: string | null; + mobile_push_admin_alerts_enabled?: boolean; /** * * @type {string} - * @memberof QueryCommunityGetStakeTransaction200ResponseInnerCommunity + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - name: string; + created_at?: string; /** * - * @type {number} - * @memberof QueryCommunityGetStakeTransaction200ResponseInnerCommunity + * @type {string} + * @memberof SubscriptionGetSubscriptionPreferences200Response */ - chain_node_id?: number | null; + updated_at?: string; } /** - * On-Chain Contest Manager + * * @export - * @interface QueryContestGetAllContests200ResponseInner + * @interface SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ -export interface QueryContestGetAllContests200ResponseInner { +export interface SubscriptionGetSubscriptionPreferences200ResponseAnyOf { /** - * On-Chain contest manager address - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInner + * + * @type {number} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - contest_address: string; + id: number; /** * - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInner + * @type {number} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - community_id: string; + user_id: number; /** * - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInner + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - name: string; + email_notifications_enabled?: boolean; /** * - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInner + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - image_url?: string; + digest_email_enabled?: boolean; /** - * Provided by admin on creation when stake funds are not used - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInner + * + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - funding_token_address?: string | null; + recap_email_enabled?: boolean; /** - * Percentage of pool used for prizes in recurring contests - * @type {number} - * @memberof QueryContestGetAllContests200ResponseInner + * + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - prize_percentage?: number | null; + mobile_push_notifications_enabled?: boolean; /** - * Sorted array of percentages for prize, from first to last - * @type {Array} - * @memberof QueryContestGetAllContests200ResponseInner + * + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - payout_structure: Array; + mobile_push_discussion_activity_enabled?: boolean; /** - * Recurring contest interval, 0 when one-off - * @type {number} - * @memberof QueryContestGetAllContests200ResponseInner + * + * @type {boolean} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - interval: number; + mobile_push_admin_alerts_enabled?: boolean; /** * * @type {string} - * @memberof QueryContestGetAllContests200ResponseInner + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - ticker?: string; + created_at?: string; /** * - * @type {number} - * @memberof QueryContestGetAllContests200ResponseInner + * @type {string} + * @memberof SubscriptionGetSubscriptionPreferences200ResponseAnyOf */ - decimals?: number; + updated_at?: string; +} +/** + * + * @export + * @interface SubscriptionRegisterClientRegistrationTokenRequest + */ +export interface SubscriptionRegisterClientRegistrationTokenRequest { /** * * @type {string} - * @memberof QueryContestGetAllContests200ResponseInner + * @memberof SubscriptionRegisterClientRegistrationTokenRequest */ - created_at: string; + token: string; /** - * Flags when contest policy is cancelled by admin + * + * @type {string} + * @memberof SubscriptionRegisterClientRegistrationTokenRequest + */ + channelType: SubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum; +} + +export const SubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum = + { + Apns: 'APNS', + Fcm: 'FCM', + } as const; + +export type SubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum = + typeof SubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum[keyof typeof SubscriptionRegisterClientRegistrationTokenRequestChannelTypeEnum]; + +/** + * + * @export + * @interface SubscriptionUpdateSubscriptionPreferencesRequest + */ +export interface SubscriptionUpdateSubscriptionPreferencesRequest { + /** + * * @type {boolean} - * @memberof QueryContestGetAllContests200ResponseInner + * @memberof SubscriptionUpdateSubscriptionPreferencesRequest */ - cancelled?: boolean | null; + email_notifications_enabled?: boolean; /** - * Flags when the one-off contest has ended and rollover was completed + * * @type {boolean} - * @memberof QueryContestGetAllContests200ResponseInner + * @memberof SubscriptionUpdateSubscriptionPreferencesRequest */ - ended?: boolean | null; + digest_email_enabled?: boolean; /** * - * @type {Array} - * @memberof QueryContestGetAllContests200ResponseInner + * @type {boolean} + * @memberof SubscriptionUpdateSubscriptionPreferencesRequest */ - topics: Array; + recap_email_enabled?: boolean; /** * - * @type {Array} - * @memberof QueryContestGetAllContests200ResponseInner + * @type {boolean} + * @memberof SubscriptionUpdateSubscriptionPreferencesRequest */ - contests: Array; -} -/** - * On-Chain contest instance - * @export - * @interface QueryContestGetAllContests200ResponseInnerContestsInner - */ -export interface QueryContestGetAllContests200ResponseInnerContestsInner { + mobile_push_notifications_enabled?: boolean; /** - * On-Chain contest id, 0 when one-off - * @type {number} - * @memberof QueryContestGetAllContests200ResponseInnerContestsInner + * + * @type {boolean} + * @memberof SubscriptionUpdateSubscriptionPreferencesRequest */ - contest_id: number; + mobile_push_discussion_activity_enabled?: boolean; /** * - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInnerContestsInner + * @type {boolean} + * @memberof SubscriptionUpdateSubscriptionPreferencesRequest */ - start_time: string; + mobile_push_admin_alerts_enabled?: boolean; +} +/** + * + * @export + * @interface ThreadGetBulkThreads200Response + */ +export interface ThreadGetBulkThreads200Response { /** * - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInnerContestsInner + * @type {number} + * @memberof ThreadGetBulkThreads200Response */ - end_time: string; + limit: number; /** * - * @type {string} - * @memberof QueryContestGetAllContests200ResponseInnerContestsInner + * @type {number} + * @memberof ThreadGetBulkThreads200Response */ - score_updated_at?: string | null; + numVotingThreads: number; /** - * Contest score, sorted from first to last - * @type {Array} - * @memberof QueryContestGetAllContests200ResponseInnerContestsInner + * + * @type {number} + * @memberof ThreadGetBulkThreads200Response */ - score?: Array | null; + cursor: number; /** * - * @type {Array} - * @memberof QueryContestGetAllContests200ResponseInnerContestsInner + * @type {Array} + * @memberof ThreadGetBulkThreads200Response */ - actions?: Array | null; + threads: Array; } /** * * @export - * @interface QueryContestGetAllContests200ResponseInnerTopicsInner + * @interface ThreadGetBulkThreads200ResponseThreadsInner */ -export interface QueryContestGetAllContests200ResponseInnerTopicsInner { +export interface ThreadGetBulkThreads200ResponseThreadsInner { /** * * @type {number} - * @memberof QueryContestGetAllContests200ResponseInnerTopicsInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ id: number; /** * * @type {string} - * @memberof QueryContestGetAllContests200ResponseInnerTopicsInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - name: string; -} -/** - * - * @export - * @interface QueryContestGetContestLog200ResponseInner - */ -export interface QueryContestGetContestLog200ResponseInner { + title: string; /** * * @type {string} - * @memberof QueryContestGetContestLog200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - event_name: string; + url: string | null; /** * - * @type {object} - * @memberof QueryContestGetContestLog200ResponseInner + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - event_payload: object; + body: string; /** * * @type {string} - * @memberof QueryContestGetContestLog200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - contest_address: string; + last_edited?: string | null; /** * - * @type {number} - * @memberof QueryContestGetContestLog200ResponseInner + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - contest_id: number; + kind: string; /** * * @type {string} - * @memberof QueryContestGetContestLog200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - action?: string | null; + stage: string; /** * - * @type {string} - * @memberof QueryContestGetContestLog200ResponseInner + * @type {boolean} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - actor_address?: string | null; + read_only: boolean; /** * - * @type {number} - * @memberof QueryContestGetContestLog200ResponseInner + * @type {ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - voting_power?: number | null; + discord_meta?: ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta | null; /** * - * @type {number} - * @memberof QueryContestGetContestLog200ResponseInner + * @type {boolean} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - thread_id?: number | null; + pinned: boolean; /** * * @type {string} - * @memberof QueryContestGetContestLog200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - thread_title?: string | null; + chain: string; /** * * @type {string} - * @memberof QueryContestGetContestLog200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ created_at: string; -} -/** - * - * @export - * @interface QueryFeedGetChainActivity200ResponseInner - */ -export interface QueryFeedGetChainActivity200ResponseInner { /** * * @type {string} - * @memberof QueryFeedGetChainActivity200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - community_id: string; + updated_at: string; /** * * @type {string} - * @memberof QueryFeedGetChainActivity200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - network: string; + locked_at?: string | null; /** * - * @type {number} - * @memberof QueryFeedGetChainActivity200ResponseInner + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - block_number: number; + links?: Array | null; /** * - * @type {QueryFeedGetChainActivity200ResponseInnerEventData} - * @memberof QueryFeedGetChainActivity200ResponseInner + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - event_data: QueryFeedGetChainActivity200ResponseInnerEventData; -} -/** - * - * @export - * @interface QueryFeedGetChainActivity200ResponseInnerEventData - */ -export interface QueryFeedGetChainActivity200ResponseInnerEventData { + collaborators: Array; + /** + * + * @type {boolean} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner + */ + has_poll?: boolean | null; /** * * @type {string} - * @memberof QueryFeedGetChainActivity200ResponseInnerEventData + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - id: string; + last_commented_on?: string | null; /** * * @type {string} - * @memberof QueryFeedGetChainActivity200ResponseInnerEventData + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - kind: string; -} -/** - * - * @export - * @interface QueryFeedGetUserActivity200ResponseInner - */ -export interface QueryFeedGetUserActivity200ResponseInner { + plaintext?: string | null; + /** + * + * @type {ThreadGetBulkThreads200ResponseThreadsInnerAddress} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner + */ + Address: ThreadGetBulkThreads200ResponseThreadsInnerAddress; /** * * @type {number} - * @memberof QueryFeedGetUserActivity200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - thread_id: number; + numberOfComments: number; /** * - * @type {string} - * @memberof QueryFeedGetUserActivity200ResponseInner + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - last_activity?: string; + reactionIds: Array; /** * - * @type {string} - * @memberof QueryFeedGetUserActivity200ResponseInner + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - notification_data: string; + reactionTimestamps: Array; /** * - * @type {string} - * @memberof QueryFeedGetUserActivity200ResponseInner + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - category_id: string; + reactionWeights: Array; /** * * @type {number} - * @memberof QueryFeedGetUserActivity200ResponseInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - comment_count: number; + reaction_weights_sum: number; /** * - * @type {Array} - * @memberof QueryFeedGetUserActivity200ResponseInner + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - commenters: Array; -} -/** - * - * @export - * @interface QueryFeedGetUserActivity200ResponseInnerCommentersInner - */ -export interface QueryFeedGetUserActivity200ResponseInnerCommentersInner { + addressesReacted: Array; /** * - * @type {Array} - * @memberof QueryFeedGetUserActivity200ResponseInnerCommentersInner + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - Addresses: Array; -} -/** - * - * @export - * @interface QuerySubscriptionGetSubscriptionPreferences200Response - */ -export interface QuerySubscriptionGetSubscriptionPreferences200Response { + reactedProfileName?: Array; /** * - * @type {number} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - id: number; + reactedProfileAvatarUrl?: Array; /** * - * @type {number} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - user_id: number; + reactedAddressLastActive?: Array; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {Array} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - email_notifications_enabled?: boolean; + reactionType: Array; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - digest_email_enabled?: boolean; + marked_as_spam_at?: string | null; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - recap_email_enabled?: boolean; + archived_at?: string | null; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - mobile_push_notifications_enabled?: boolean; + latest_activity?: string | null; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {ThreadGetBulkThreads200ResponseThreadsInnerTopic} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - mobile_push_discussion_activity_enabled?: boolean; + topic?: ThreadGetBulkThreads200ResponseThreadsInnerTopic; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @type {number} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - mobile_push_admin_alerts_enabled?: boolean; + user_id: number; /** * * @type {string} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - created_at?: string; + avatar_url: string | null; /** * * @type {string} - * @memberof QuerySubscriptionGetSubscriptionPreferences200Response + * @memberof ThreadGetBulkThreads200ResponseThreadsInner */ - updated_at?: string; + address_last_active: string | null; + /** + * + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInner + */ + profile_name: string | null; } /** * * @export - * @interface QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @interface ThreadGetBulkThreads200ResponseThreadsInnerAddress */ -export interface QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf { +export interface ThreadGetBulkThreads200ResponseThreadsInnerAddress { /** * * @type {number} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerAddress */ id: number; /** * - * @type {number} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf - */ - user_id: number; - /** - * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf - */ - email_notifications_enabled?: boolean; - /** - * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerAddress */ - digest_email_enabled?: boolean; + address: string; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerAddress */ - recap_email_enabled?: boolean; + community_id: string; +} +/** + * + * @export + * @interface ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta + */ +export interface ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta { /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @type {ThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta */ - mobile_push_notifications_enabled?: boolean; + user: ThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta */ - mobile_push_discussion_activity_enabled?: boolean; + channel_id: string; /** * - * @type {boolean} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta */ - mobile_push_admin_alerts_enabled?: boolean; + message_id: string; +} +/** + * + * @export + * @interface ThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser + */ +export interface ThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser { /** * * @type {string} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser */ - created_at?: string; + id: string; /** * * @type {string} - * @memberof QuerySubscriptionGetSubscriptionPreferences200ResponseAnyOf + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser */ - updated_at?: string; + username: string; } /** * * @export - * @interface QueryThreadGetBulkThreads200Response + * @interface ThreadGetBulkThreads200ResponseThreadsInnerLinksInner */ -export interface QueryThreadGetBulkThreads200Response { +export interface ThreadGetBulkThreads200ResponseThreadsInnerLinksInner { /** * - * @type {number} - * @memberof QueryThreadGetBulkThreads200Response - */ - limit: number; - /** - * - * @type {number} - * @memberof QueryThreadGetBulkThreads200Response + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerLinksInner */ - numVotingThreads: number; + source: ThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum; /** * - * @type {number} - * @memberof QueryThreadGetBulkThreads200Response + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerLinksInner */ - cursor: number; + identifier: string; /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200Response + * @type {string} + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerLinksInner */ - threads: Array; + title?: string | null; } + +export const ThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum = { + Snapshot: 'snapshot', + Proposal: 'proposal', + Thread: 'thread', + Web: 'web', + Template: 'template', +} as const; + +export type ThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum = + typeof ThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum[keyof typeof ThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum]; + /** * * @export - * @interface QueryThreadGetBulkThreads200ResponseThreadsInner + * @interface ThreadGetBulkThreads200ResponseThreadsInnerTopic */ -export interface QueryThreadGetBulkThreads200ResponseThreadsInner { +export interface ThreadGetBulkThreads200ResponseThreadsInnerTopic { /** * * @type {number} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerTopic */ id: number; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerTopic */ - title: string; + name: string; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerTopic */ - url: string | null; + description: string; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerTopic */ - body: string; + chainId: string; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof ThreadGetBulkThreads200ResponseThreadsInnerTopic */ - last_edited?: string | null; + telegram: string; +} +/** + * + * @export + * @interface UserUpdateUser200Response + */ +export interface UserUpdateUser200Response { /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {number} + * @memberof UserUpdateUser200Response */ - kind: string; + id?: number; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUser200Response */ - stage: string; + email?: string | null; /** * * @type {boolean} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner - */ - read_only: boolean; - /** - * - * @type {QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUser200Response */ - discord_meta?: QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta | null; + isAdmin?: boolean; /** * * @type {boolean} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner - */ - pinned: boolean; - /** - * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUser200Response */ - chain: string; + disableRichText?: boolean; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {boolean} + * @memberof UserUpdateUser200Response */ - created_at: string; + emailVerified?: boolean | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUser200Response */ - updated_at: string; + selected_community_id?: string | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner - */ - locked_at?: string | null; - /** - * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner - */ - links?: Array | null; - /** - * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUser200Response */ - collaborators: Array; + emailNotificationInterval?: UserUpdateUser200ResponseEmailNotificationIntervalEnum; /** * * @type {boolean} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUser200Response */ - has_poll?: boolean | null; + promotional_emails_enabled?: boolean | null; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {boolean} + * @memberof UserUpdateUser200Response */ - last_commented_on?: string | null; + is_welcome_onboard_flow_complete?: boolean; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {UserUpdateUserRequestProfile} + * @memberof UserUpdateUser200Response */ - plaintext?: string | null; + profile: UserUpdateUserRequestProfile; /** * - * @type {QueryThreadGetBulkThreads200ResponseThreadsInnerAddress} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {any} + * @memberof UserUpdateUser200Response */ - Address: QueryThreadGetBulkThreads200ResponseThreadsInnerAddress; + created_at?: any; /** * - * @type {number} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {any} + * @memberof UserUpdateUser200Response */ - numberOfComments: number; + updated_at?: any; /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {Array} + * @memberof UserUpdateUser200Response */ - reactionIds: Array; + ProfileTags?: Array; +} + +export const UserUpdateUser200ResponseEmailNotificationIntervalEnum = { + Weekly: 'weekly', + Never: 'never', +} as const; + +export type UserUpdateUser200ResponseEmailNotificationIntervalEnum = + typeof UserUpdateUser200ResponseEmailNotificationIntervalEnum[keyof typeof UserUpdateUser200ResponseEmailNotificationIntervalEnum]; + +/** + * + * @export + * @interface UserUpdateUserDefaultResponse + */ +export interface UserUpdateUserDefaultResponse { /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {string} + * @memberof UserUpdateUserDefaultResponse */ - reactionTimestamps: Array; + message: string; /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {string} + * @memberof UserUpdateUserDefaultResponse */ - reactionWeights: Array; + code: string; /** * - * @type {number} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {Array} + * @memberof UserUpdateUserDefaultResponse */ - reaction_weights_sum: number; + issues?: Array; +} +/** + * + * @export + * @interface UserUpdateUserDefaultResponseIssuesInner + */ +export interface UserUpdateUserDefaultResponseIssuesInner { /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {string} + * @memberof UserUpdateUserDefaultResponseIssuesInner */ - addressesReacted: Array; + message: string; +} +/** + * + * @export + * @interface UserUpdateUserRequest + */ +export interface UserUpdateUserRequest { /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {string} + * @memberof UserUpdateUserRequest */ - reactedProfileName?: Array; + email?: string | null; /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {boolean} + * @memberof UserUpdateUserRequest */ - reactedProfileAvatarUrl?: Array; + isAdmin?: boolean; /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {boolean} + * @memberof UserUpdateUserRequest */ - reactedAddressLastActive?: Array; + disableRichText?: boolean; /** * - * @type {Array} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {boolean} + * @memberof UserUpdateUserRequest */ - reactionType: Array; + emailVerified?: boolean | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUserRequest */ - marked_as_spam_at?: string | null; + selected_community_id?: string | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @memberof UserUpdateUserRequest */ - archived_at?: string | null; + emailNotificationInterval?: UserUpdateUserRequestEmailNotificationIntervalEnum; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {boolean} + * @memberof UserUpdateUserRequest */ - latest_activity?: string | null; + promotional_emails_enabled?: boolean | null; /** * - * @type {QueryThreadGetBulkThreads200ResponseThreadsInnerTopic} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {UserUpdateUserRequestProfile} + * @memberof UserUpdateUserRequest */ - topic?: QueryThreadGetBulkThreads200ResponseThreadsInnerTopic; + profile: UserUpdateUserRequestProfile; /** * - * @type {number} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {any} + * @memberof UserUpdateUserRequest */ - user_id: number; + created_at?: any; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {any} + * @memberof UserUpdateUserRequest */ - avatar_url: string | null; + updated_at?: any; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {Array} + * @memberof UserUpdateUserRequest */ - address_last_active: string | null; + ProfileTags?: Array; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInner + * @type {Array} + * @memberof UserUpdateUserRequest */ - profile_name: string | null; + tag_ids?: Array | null; } + +export const UserUpdateUserRequestEmailNotificationIntervalEnum = { + Weekly: 'weekly', + Never: 'never', +} as const; + +export type UserUpdateUserRequestEmailNotificationIntervalEnum = + typeof UserUpdateUserRequestEmailNotificationIntervalEnum[keyof typeof UserUpdateUserRequestEmailNotificationIntervalEnum]; + /** * * @export - * @interface QueryThreadGetBulkThreads200ResponseThreadsInnerAddress + * @interface UserUpdateUserRequestProfile */ -export interface QueryThreadGetBulkThreads200ResponseThreadsInnerAddress { +export interface UserUpdateUserRequestProfile { /** * - * @type {number} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerAddress + * @type {string} + * @memberof UserUpdateUserRequestProfile */ - id: number; + name?: string | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerAddress + * @memberof UserUpdateUserRequestProfile */ - address: string; + email?: string | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerAddress + * @memberof UserUpdateUserRequestProfile */ - community_id: string; -} -/** - * - * @export - * @interface QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta - */ -export interface QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta { + website?: string | null; /** * - * @type {QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta + * @type {string} + * @memberof UserUpdateUserRequestProfile */ - user: QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser; + bio?: string | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta + * @memberof UserUpdateUserRequestProfile */ - channel_id: string; + avatar_url?: string | null; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMeta + * @memberof UserUpdateUserRequestProfile */ - message_id: string; -} -/** - * - * @export - * @interface QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser - */ -export interface QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser { + slug?: string | null; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser + * @type {Array} + * @memberof UserUpdateUserRequestProfile */ - id: string; + socials?: Array | null; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerDiscordMetaUser + * @type {UserUpdateUserRequestProfileBackgroundImage} + * @memberof UserUpdateUserRequestProfile */ - username: string; + background_image?: UserUpdateUserRequestProfileBackgroundImage | null; } /** * * @export - * @interface QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInner + * @interface UserUpdateUserRequestProfileBackgroundImage */ -export interface QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInner { - /** - * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInner - */ - source: QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum; +export interface UserUpdateUserRequestProfileBackgroundImage { /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInner + * @memberof UserUpdateUserRequestProfileBackgroundImage */ - identifier: string; + url?: string; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInner + * @memberof UserUpdateUserRequestProfileBackgroundImage */ - title?: string | null; + imageBehavior?: string; } - -export const QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum = - { - Snapshot: 'snapshot', - Proposal: 'proposal', - Thread: 'thread', - Web: 'web', - Template: 'template', - } as const; - -export type QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum = - typeof QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum[keyof typeof QueryThreadGetBulkThreads200ResponseThreadsInnerLinksInnerSourceEnum]; - /** * * @export - * @interface QueryThreadGetBulkThreads200ResponseThreadsInnerTopic + * @interface UserUpdateUserRequestProfileTagsInner */ -export interface QueryThreadGetBulkThreads200ResponseThreadsInnerTopic { +export interface UserUpdateUserRequestProfileTagsInner { /** * * @type {number} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerTopic - */ - id: number; - /** - * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerTopic + * @memberof UserUpdateUserRequestProfileTagsInner */ - name: string; + user_id: number; /** * - * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerTopic + * @type {number} + * @memberof UserUpdateUserRequestProfileTagsInner */ - description: string; + tag_id: number; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerTopic + * @memberof UserUpdateUserRequestProfileTagsInner */ - chainId: string; + created_at?: string; /** * * @type {string} - * @memberof QueryThreadGetBulkThreads200ResponseThreadsInnerTopic + * @memberof UserUpdateUserRequestProfileTagsInner */ - telegram: string; + updated_at?: string; } /** @@ -4841,27 +4837,27 @@ export const CommunityApiAxiosParamCreator = function ( * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateGroupRequest} mutationCommunityCreateGroupRequest + * @param {CommunityCreateGroupRequest} communityCreateGroupRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationCommunityCreateGroup: async ( + communityCreateGroup: async ( addressId: string, id: string, - mutationCommunityCreateGroupRequest: MutationCommunityCreateGroupRequest, + communityCreateGroupRequest: CommunityCreateGroupRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined - assertParamExists('mutationCommunityCreateGroup', 'addressId', addressId); + assertParamExists('communityCreateGroup', 'addressId', addressId); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationCommunityCreateGroup', 'id', id); - // verify required parameter 'mutationCommunityCreateGroupRequest' is not null or undefined + assertParamExists('communityCreateGroup', 'id', id); + // verify required parameter 'communityCreateGroupRequest' is not null or undefined assertParamExists( - 'mutationCommunityCreateGroup', - 'mutationCommunityCreateGroupRequest', - mutationCommunityCreateGroupRequest, + 'communityCreateGroup', + 'communityCreateGroupRequest', + communityCreateGroupRequest, ); - const localVarPath = `/community/{id}/CreateGroup`.replace( + const localVarPath = `/CreateGroup/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)), ); @@ -4895,7 +4891,7 @@ export const CommunityApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationCommunityCreateGroupRequest, + communityCreateGroupRequest, localVarRequestOptions, configuration, ); @@ -4909,31 +4905,31 @@ export const CommunityApiAxiosParamCreator = function ( * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateStakeTransactionRequest} mutationCommunityCreateStakeTransactionRequest + * @param {CommunityCreateStakeTransactionRequest} communityCreateStakeTransactionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationCommunityCreateStakeTransaction: async ( + communityCreateStakeTransaction: async ( addressId: string, id: string, - mutationCommunityCreateStakeTransactionRequest: MutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest: CommunityCreateStakeTransactionRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationCommunityCreateStakeTransaction', + 'communityCreateStakeTransaction', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationCommunityCreateStakeTransaction', 'id', id); - // verify required parameter 'mutationCommunityCreateStakeTransactionRequest' is not null or undefined + assertParamExists('communityCreateStakeTransaction', 'id', id); + // verify required parameter 'communityCreateStakeTransactionRequest' is not null or undefined assertParamExists( - 'mutationCommunityCreateStakeTransaction', - 'mutationCommunityCreateStakeTransactionRequest', - mutationCommunityCreateStakeTransactionRequest, + 'communityCreateStakeTransaction', + 'communityCreateStakeTransactionRequest', + communityCreateStakeTransactionRequest, ); - const localVarPath = `/community/{id}/CreateStakeTransaction`.replace( + const localVarPath = `/CreateStakeTransaction/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)), ); @@ -4967,7 +4963,7 @@ export const CommunityApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest, localVarRequestOptions, configuration, ); @@ -4981,27 +4977,27 @@ export const CommunityApiAxiosParamCreator = function ( * * @param {string} addressId * @param {string} id - * @param {MutationCommunitySetStakeRequest} mutationCommunitySetStakeRequest + * @param {CommunitySetStakeRequest} communitySetStakeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationCommunitySetStake: async ( + communitySetStake: async ( addressId: string, id: string, - mutationCommunitySetStakeRequest: MutationCommunitySetStakeRequest, + communitySetStakeRequest: CommunitySetStakeRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined - assertParamExists('mutationCommunitySetStake', 'addressId', addressId); + assertParamExists('communitySetStake', 'addressId', addressId); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationCommunitySetStake', 'id', id); - // verify required parameter 'mutationCommunitySetStakeRequest' is not null or undefined + assertParamExists('communitySetStake', 'id', id); + // verify required parameter 'communitySetStakeRequest' is not null or undefined assertParamExists( - 'mutationCommunitySetStake', - 'mutationCommunitySetStakeRequest', - mutationCommunitySetStakeRequest, + 'communitySetStake', + 'communitySetStakeRequest', + communitySetStakeRequest, ); - const localVarPath = `/community/{id}/SetCommunityStake`.replace( + const localVarPath = `/SetCommunityStake/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)), ); @@ -5035,7 +5031,7 @@ export const CommunityApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationCommunitySetStakeRequest, + communitySetStakeRequest, localVarRequestOptions, configuration, ); @@ -5049,35 +5045,30 @@ export const CommunityApiAxiosParamCreator = function ( * * @param {string} addressId * @param {string} id - * @param {MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner} mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner + * @param {IntegrationsAnalyticsRequestThreadCreatedContestManagersInner} integrationsAnalyticsRequestThreadCreatedContestManagersInner * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationContestCancelContestMetadata: async ( + contestCancelContestMetadata: async ( addressId: string, id: string, - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner: MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner: IntegrationsAnalyticsRequestThreadCreatedContestManagersInner, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined - assertParamExists( - 'mutationContestCancelContestMetadata', - 'addressId', - addressId, - ); + assertParamExists('contestCancelContestMetadata', 'addressId', addressId); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationContestCancelContestMetadata', 'id', id); - // verify required parameter 'mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner' is not null or undefined + assertParamExists('contestCancelContestMetadata', 'id', id); + // verify required parameter 'integrationsAnalyticsRequestThreadCreatedContestManagersInner' is not null or undefined assertParamExists( - 'mutationContestCancelContestMetadata', - 'mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner', - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + 'contestCancelContestMetadata', + 'integrationsAnalyticsRequestThreadCreatedContestManagersInner', + integrationsAnalyticsRequestThreadCreatedContestManagersInner, + ); + const localVarPath = `/CancelContestManagerMetadata/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/community/{id}/CancelContestManagerMetadata`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -5108,7 +5099,7 @@ export const CommunityApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner, localVarRequestOptions, configuration, ); @@ -5122,35 +5113,30 @@ export const CommunityApiAxiosParamCreator = function ( * * @param {string} addressId * @param {string} id - * @param {MutationContestCreateContestMetadataRequest} mutationContestCreateContestMetadataRequest + * @param {ContestCreateContestMetadataRequest} contestCreateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationContestCreateContestMetadata: async ( + contestCreateContestMetadata: async ( addressId: string, id: string, - mutationContestCreateContestMetadataRequest: MutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest: ContestCreateContestMetadataRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined - assertParamExists( - 'mutationContestCreateContestMetadata', - 'addressId', - addressId, - ); + assertParamExists('contestCreateContestMetadata', 'addressId', addressId); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationContestCreateContestMetadata', 'id', id); - // verify required parameter 'mutationContestCreateContestMetadataRequest' is not null or undefined + assertParamExists('contestCreateContestMetadata', 'id', id); + // verify required parameter 'contestCreateContestMetadataRequest' is not null or undefined assertParamExists( - 'mutationContestCreateContestMetadata', - 'mutationContestCreateContestMetadataRequest', - mutationContestCreateContestMetadataRequest, + 'contestCreateContestMetadata', + 'contestCreateContestMetadataRequest', + contestCreateContestMetadataRequest, + ); + const localVarPath = `/CreateContestManagerMetadata/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/community/{id}/CreateContestManagerMetadata`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -5181,7 +5167,7 @@ export const CommunityApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest, localVarRequestOptions, configuration, ); @@ -5195,35 +5181,30 @@ export const CommunityApiAxiosParamCreator = function ( * * @param {string} addressId * @param {string} id - * @param {MutationContestUpdateContestMetadataRequest} mutationContestUpdateContestMetadataRequest + * @param {ContestUpdateContestMetadataRequest} contestUpdateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationContestUpdateContestMetadata: async ( + contestUpdateContestMetadata: async ( addressId: string, id: string, - mutationContestUpdateContestMetadataRequest: MutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest: ContestUpdateContestMetadataRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined - assertParamExists( - 'mutationContestUpdateContestMetadata', - 'addressId', - addressId, - ); + assertParamExists('contestUpdateContestMetadata', 'addressId', addressId); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationContestUpdateContestMetadata', 'id', id); - // verify required parameter 'mutationContestUpdateContestMetadataRequest' is not null or undefined + assertParamExists('contestUpdateContestMetadata', 'id', id); + // verify required parameter 'contestUpdateContestMetadataRequest' is not null or undefined assertParamExists( - 'mutationContestUpdateContestMetadata', - 'mutationContestUpdateContestMetadataRequest', - mutationContestUpdateContestMetadataRequest, + 'contestUpdateContestMetadata', + 'contestUpdateContestMetadataRequest', + contestUpdateContestMetadataRequest, + ); + const localVarPath = `/UpdateContestManagerMetadata/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/community/{id}/UpdateContestManagerMetadata`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -5254,7 +5235,7 @@ export const CommunityApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest, localVarRequestOptions, configuration, ); @@ -5279,31 +5260,31 @@ export const CommunityApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateGroupRequest} mutationCommunityCreateGroupRequest + * @param {CommunityCreateGroupRequest} communityCreateGroupRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationCommunityCreateGroup( + async communityCreateGroup( addressId: string, id: string, - mutationCommunityCreateGroupRequest: MutationCommunityCreateGroupRequest, + communityCreateGroupRequest: CommunityCreateGroupRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationCommunityCreateGroup( + await localVarAxiosParamCreator.communityCreateGroup( addressId, id, - mutationCommunityCreateGroupRequest, + communityCreateGroupRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['CommunityApi.mutationCommunityCreateGroup']?.[ + operationServerMap['CommunityApi.communityCreateGroup']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -5318,33 +5299,33 @@ export const CommunityApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateStakeTransactionRequest} mutationCommunityCreateStakeTransactionRequest + * @param {CommunityCreateStakeTransactionRequest} communityCreateStakeTransactionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationCommunityCreateStakeTransaction( + async communityCreateStakeTransaction( addressId: string, id: string, - mutationCommunityCreateStakeTransactionRequest: MutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest: CommunityCreateStakeTransactionRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationCommunityCreateStakeTransaction( + await localVarAxiosParamCreator.communityCreateStakeTransaction( addressId, id, - mutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap[ - 'CommunityApi.mutationCommunityCreateStakeTransaction' - ]?.[localVarOperationServerIndex]?.url; + operationServerMap['CommunityApi.communityCreateStakeTransaction']?.[ + localVarOperationServerIndex + ]?.url; return (axios, basePath) => createRequestFunction( localVarAxiosArgs, @@ -5357,31 +5338,31 @@ export const CommunityApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {string} id - * @param {MutationCommunitySetStakeRequest} mutationCommunitySetStakeRequest + * @param {CommunitySetStakeRequest} communitySetStakeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationCommunitySetStake( + async communitySetStake( addressId: string, id: string, - mutationCommunitySetStakeRequest: MutationCommunitySetStakeRequest, + communitySetStakeRequest: CommunitySetStakeRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationCommunitySetStake( + await localVarAxiosParamCreator.communitySetStake( addressId, id, - mutationCommunitySetStakeRequest, + communitySetStakeRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['CommunityApi.mutationCommunitySetStake']?.[ + operationServerMap['CommunityApi.communitySetStake']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -5396,33 +5377,33 @@ export const CommunityApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {string} id - * @param {MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner} mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner + * @param {IntegrationsAnalyticsRequestThreadCreatedContestManagersInner} integrationsAnalyticsRequestThreadCreatedContestManagersInner * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationContestCancelContestMetadata( + async contestCancelContestMetadata( addressId: string, id: string, - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner: MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner: IntegrationsAnalyticsRequestThreadCreatedContestManagersInner, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationContestCancelContestMetadata( + await localVarAxiosParamCreator.contestCancelContestMetadata( addressId, id, - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap[ - 'CommunityApi.mutationContestCancelContestMetadata' - ]?.[localVarOperationServerIndex]?.url; + operationServerMap['CommunityApi.contestCancelContestMetadata']?.[ + localVarOperationServerIndex + ]?.url; return (axios, basePath) => createRequestFunction( localVarAxiosArgs, @@ -5435,33 +5416,33 @@ export const CommunityApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {string} id - * @param {MutationContestCreateContestMetadataRequest} mutationContestCreateContestMetadataRequest + * @param {ContestCreateContestMetadataRequest} contestCreateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationContestCreateContestMetadata( + async contestCreateContestMetadata( addressId: string, id: string, - mutationContestCreateContestMetadataRequest: MutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest: ContestCreateContestMetadataRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationContestCreateContestMetadata( + await localVarAxiosParamCreator.contestCreateContestMetadata( addressId, id, - mutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap[ - 'CommunityApi.mutationContestCreateContestMetadata' - ]?.[localVarOperationServerIndex]?.url; + operationServerMap['CommunityApi.contestCreateContestMetadata']?.[ + localVarOperationServerIndex + ]?.url; return (axios, basePath) => createRequestFunction( localVarAxiosArgs, @@ -5474,33 +5455,33 @@ export const CommunityApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {string} id - * @param {MutationContestUpdateContestMetadataRequest} mutationContestUpdateContestMetadataRequest + * @param {ContestUpdateContestMetadataRequest} contestUpdateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationContestUpdateContestMetadata( + async contestUpdateContestMetadata( addressId: string, id: string, - mutationContestUpdateContestMetadataRequest: MutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest: ContestUpdateContestMetadataRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationContestUpdateContestMetadata( + await localVarAxiosParamCreator.contestUpdateContestMetadata( addressId, id, - mutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap[ - 'CommunityApi.mutationContestUpdateContestMetadata' - ]?.[localVarOperationServerIndex]?.url; + operationServerMap['CommunityApi.contestUpdateContestMetadata']?.[ + localVarOperationServerIndex + ]?.url; return (axios, basePath) => createRequestFunction( localVarAxiosArgs, @@ -5527,21 +5508,21 @@ export const CommunityApiFactory = function ( * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateGroupRequest} mutationCommunityCreateGroupRequest + * @param {CommunityCreateGroupRequest} communityCreateGroupRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationCommunityCreateGroup( + communityCreateGroup( addressId: string, id: string, - mutationCommunityCreateGroupRequest: MutationCommunityCreateGroupRequest, + communityCreateGroupRequest: CommunityCreateGroupRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationCommunityCreateGroup( + .communityCreateGroup( addressId, id, - mutationCommunityCreateGroupRequest, + communityCreateGroupRequest, options, ) .then((request) => request(axios, basePath)); @@ -5550,21 +5531,21 @@ export const CommunityApiFactory = function ( * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateStakeTransactionRequest} mutationCommunityCreateStakeTransactionRequest + * @param {CommunityCreateStakeTransactionRequest} communityCreateStakeTransactionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationCommunityCreateStakeTransaction( + communityCreateStakeTransaction( addressId: string, id: string, - mutationCommunityCreateStakeTransactionRequest: MutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest: CommunityCreateStakeTransactionRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationCommunityCreateStakeTransaction( + .communityCreateStakeTransaction( addressId, id, - mutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest, options, ) .then((request) => request(axios, basePath)); @@ -5573,44 +5554,39 @@ export const CommunityApiFactory = function ( * * @param {string} addressId * @param {string} id - * @param {MutationCommunitySetStakeRequest} mutationCommunitySetStakeRequest + * @param {CommunitySetStakeRequest} communitySetStakeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationCommunitySetStake( + communitySetStake( addressId: string, id: string, - mutationCommunitySetStakeRequest: MutationCommunitySetStakeRequest, + communitySetStakeRequest: CommunitySetStakeRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationCommunitySetStake( - addressId, - id, - mutationCommunitySetStakeRequest, - options, - ) + .communitySetStake(addressId, id, communitySetStakeRequest, options) .then((request) => request(axios, basePath)); }, /** * * @param {string} addressId * @param {string} id - * @param {MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner} mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner + * @param {IntegrationsAnalyticsRequestThreadCreatedContestManagersInner} integrationsAnalyticsRequestThreadCreatedContestManagersInner * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationContestCancelContestMetadata( + contestCancelContestMetadata( addressId: string, id: string, - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner: MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner: IntegrationsAnalyticsRequestThreadCreatedContestManagersInner, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationContestCancelContestMetadata( + .contestCancelContestMetadata( addressId, id, - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner, options, ) .then((request) => request(axios, basePath)); @@ -5619,21 +5595,21 @@ export const CommunityApiFactory = function ( * * @param {string} addressId * @param {string} id - * @param {MutationContestCreateContestMetadataRequest} mutationContestCreateContestMetadataRequest + * @param {ContestCreateContestMetadataRequest} contestCreateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationContestCreateContestMetadata( + contestCreateContestMetadata( addressId: string, id: string, - mutationContestCreateContestMetadataRequest: MutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest: ContestCreateContestMetadataRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationContestCreateContestMetadata( + .contestCreateContestMetadata( addressId, id, - mutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest, options, ) .then((request) => request(axios, basePath)); @@ -5642,21 +5618,21 @@ export const CommunityApiFactory = function ( * * @param {string} addressId * @param {string} id - * @param {MutationContestUpdateContestMetadataRequest} mutationContestUpdateContestMetadataRequest + * @param {ContestUpdateContestMetadataRequest} contestUpdateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationContestUpdateContestMetadata( + contestUpdateContestMetadata( addressId: string, id: string, - mutationContestUpdateContestMetadataRequest: MutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest: ContestUpdateContestMetadataRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationContestUpdateContestMetadata( + .contestUpdateContestMetadata( addressId, id, - mutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest, options, ) .then((request) => request(axios, basePath)); @@ -5675,24 +5651,19 @@ export class CommunityApi extends BaseAPI { * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateGroupRequest} mutationCommunityCreateGroupRequest + * @param {CommunityCreateGroupRequest} communityCreateGroupRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunityApi */ - public mutationCommunityCreateGroup( + public communityCreateGroup( addressId: string, id: string, - mutationCommunityCreateGroupRequest: MutationCommunityCreateGroupRequest, + communityCreateGroupRequest: CommunityCreateGroupRequest, options?: RawAxiosRequestConfig, ) { return CommunityApiFp(this.configuration) - .mutationCommunityCreateGroup( - addressId, - id, - mutationCommunityCreateGroupRequest, - options, - ) + .communityCreateGroup(addressId, id, communityCreateGroupRequest, options) .then((request) => request(this.axios, this.basePath)); } @@ -5700,22 +5671,22 @@ export class CommunityApi extends BaseAPI { * * @param {string} addressId * @param {string} id - * @param {MutationCommunityCreateStakeTransactionRequest} mutationCommunityCreateStakeTransactionRequest + * @param {CommunityCreateStakeTransactionRequest} communityCreateStakeTransactionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunityApi */ - public mutationCommunityCreateStakeTransaction( + public communityCreateStakeTransaction( addressId: string, id: string, - mutationCommunityCreateStakeTransactionRequest: MutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest: CommunityCreateStakeTransactionRequest, options?: RawAxiosRequestConfig, ) { return CommunityApiFp(this.configuration) - .mutationCommunityCreateStakeTransaction( + .communityCreateStakeTransaction( addressId, id, - mutationCommunityCreateStakeTransactionRequest, + communityCreateStakeTransactionRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -5725,24 +5696,19 @@ export class CommunityApi extends BaseAPI { * * @param {string} addressId * @param {string} id - * @param {MutationCommunitySetStakeRequest} mutationCommunitySetStakeRequest + * @param {CommunitySetStakeRequest} communitySetStakeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunityApi */ - public mutationCommunitySetStake( + public communitySetStake( addressId: string, id: string, - mutationCommunitySetStakeRequest: MutationCommunitySetStakeRequest, + communitySetStakeRequest: CommunitySetStakeRequest, options?: RawAxiosRequestConfig, ) { return CommunityApiFp(this.configuration) - .mutationCommunitySetStake( - addressId, - id, - mutationCommunitySetStakeRequest, - options, - ) + .communitySetStake(addressId, id, communitySetStakeRequest, options) .then((request) => request(this.axios, this.basePath)); } @@ -5750,22 +5716,22 @@ export class CommunityApi extends BaseAPI { * * @param {string} addressId * @param {string} id - * @param {MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner} mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner + * @param {IntegrationsAnalyticsRequestThreadCreatedContestManagersInner} integrationsAnalyticsRequestThreadCreatedContestManagersInner * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunityApi */ - public mutationContestCancelContestMetadata( + public contestCancelContestMetadata( addressId: string, id: string, - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner: MutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner: IntegrationsAnalyticsRequestThreadCreatedContestManagersInner, options?: RawAxiosRequestConfig, ) { return CommunityApiFp(this.configuration) - .mutationContestCancelContestMetadata( + .contestCancelContestMetadata( addressId, id, - mutationIntegrationsAnalyticsRequestThreadCreatedContestManagersInner, + integrationsAnalyticsRequestThreadCreatedContestManagersInner, options, ) .then((request) => request(this.axios, this.basePath)); @@ -5775,22 +5741,22 @@ export class CommunityApi extends BaseAPI { * * @param {string} addressId * @param {string} id - * @param {MutationContestCreateContestMetadataRequest} mutationContestCreateContestMetadataRequest + * @param {ContestCreateContestMetadataRequest} contestCreateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunityApi */ - public mutationContestCreateContestMetadata( + public contestCreateContestMetadata( addressId: string, id: string, - mutationContestCreateContestMetadataRequest: MutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest: ContestCreateContestMetadataRequest, options?: RawAxiosRequestConfig, ) { return CommunityApiFp(this.configuration) - .mutationContestCreateContestMetadata( + .contestCreateContestMetadata( addressId, id, - mutationContestCreateContestMetadataRequest, + contestCreateContestMetadataRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -5800,22 +5766,22 @@ export class CommunityApi extends BaseAPI { * * @param {string} addressId * @param {string} id - * @param {MutationContestUpdateContestMetadataRequest} mutationContestUpdateContestMetadataRequest + * @param {ContestUpdateContestMetadataRequest} contestUpdateContestMetadataRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommunityApi */ - public mutationContestUpdateContestMetadata( + public contestUpdateContestMetadata( addressId: string, id: string, - mutationContestUpdateContestMetadataRequest: MutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest: ContestUpdateContestMetadataRequest, options?: RawAxiosRequestConfig, ) { return CommunityApiFp(this.configuration) - .mutationContestUpdateContestMetadata( + .contestUpdateContestMetadata( addressId, id, - mutationContestUpdateContestMetadataRequest, + contestUpdateContestMetadataRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -5832,21 +5798,21 @@ export const IntegrationApiAxiosParamCreator = function ( return { /** * - * @param {MutationIntegrationsAnalyticsRequest} mutationIntegrationsAnalyticsRequest + * @param {IntegrationsAnalyticsRequest} integrationsAnalyticsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationIntegrationsAnalytics: async ( - mutationIntegrationsAnalyticsRequest: MutationIntegrationsAnalyticsRequest, + integrationsAnalytics: async ( + integrationsAnalyticsRequest: IntegrationsAnalyticsRequest, options: RawAxiosRequestConfig = {}, ): Promise => { - // verify required parameter 'mutationIntegrationsAnalyticsRequest' is not null or undefined + // verify required parameter 'integrationsAnalyticsRequest' is not null or undefined assertParamExists( - 'mutationIntegrationsAnalytics', - 'mutationIntegrationsAnalyticsRequest', - mutationIntegrationsAnalyticsRequest, + 'integrationsAnalytics', + 'integrationsAnalyticsRequest', + integrationsAnalyticsRequest, ); - const localVarPath = `/integration/Analytics`; + const localVarPath = `/Analytics`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -5873,7 +5839,7 @@ export const IntegrationApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationIntegrationsAnalyticsRequest, + integrationsAnalyticsRequest, localVarRequestOptions, configuration, ); @@ -5896,24 +5862,24 @@ export const IntegrationApiFp = function (configuration?: Configuration) { return { /** * - * @param {MutationIntegrationsAnalyticsRequest} mutationIntegrationsAnalyticsRequest + * @param {IntegrationsAnalyticsRequest} integrationsAnalyticsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationIntegrationsAnalytics( - mutationIntegrationsAnalyticsRequest: MutationIntegrationsAnalyticsRequest, + async integrationsAnalytics( + integrationsAnalyticsRequest: IntegrationsAnalyticsRequest, options?: RawAxiosRequestConfig, ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationIntegrationsAnalytics( - mutationIntegrationsAnalyticsRequest, + await localVarAxiosParamCreator.integrationsAnalytics( + integrationsAnalyticsRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['IntegrationApi.mutationIntegrationsAnalytics']?.[ + operationServerMap['IntegrationApi.integrationsAnalytics']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -5940,19 +5906,16 @@ export const IntegrationApiFactory = function ( return { /** * - * @param {MutationIntegrationsAnalyticsRequest} mutationIntegrationsAnalyticsRequest + * @param {IntegrationsAnalyticsRequest} integrationsAnalyticsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationIntegrationsAnalytics( - mutationIntegrationsAnalyticsRequest: MutationIntegrationsAnalyticsRequest, + integrationsAnalytics( + integrationsAnalyticsRequest: IntegrationsAnalyticsRequest, options?: any, ): AxiosPromise { return localVarFp - .mutationIntegrationsAnalytics( - mutationIntegrationsAnalyticsRequest, - options, - ) + .integrationsAnalytics(integrationsAnalyticsRequest, options) .then((request) => request(axios, basePath)); }, }; @@ -5967,20 +5930,17 @@ export const IntegrationApiFactory = function ( export class IntegrationApi extends BaseAPI { /** * - * @param {MutationIntegrationsAnalyticsRequest} mutationIntegrationsAnalyticsRequest + * @param {IntegrationsAnalyticsRequest} integrationsAnalyticsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IntegrationApi */ - public mutationIntegrationsAnalytics( - mutationIntegrationsAnalyticsRequest: MutationIntegrationsAnalyticsRequest, + public integrationsAnalytics( + integrationsAnalyticsRequest: IntegrationsAnalyticsRequest, options?: RawAxiosRequestConfig, ) { return IntegrationApiFp(this.configuration) - .mutationIntegrationsAnalytics( - mutationIntegrationsAnalyticsRequest, - options, - ) + .integrationsAnalytics(integrationsAnalyticsRequest, options) .then((request) => request(this.axios, this.basePath)); } } @@ -5997,27 +5957,27 @@ export const LoadTestApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationLoadTestCreateJWTsRequest} mutationLoadTestCreateJWTsRequest + * @param {LoadTestCreateJWTsRequest} loadTestCreateJWTsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationLoadTestCreateJWTs: async ( + loadTestCreateJWTs: async ( addressId: string, id: number, - mutationLoadTestCreateJWTsRequest: MutationLoadTestCreateJWTsRequest, + loadTestCreateJWTsRequest: LoadTestCreateJWTsRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined - assertParamExists('mutationLoadTestCreateJWTs', 'addressId', addressId); + assertParamExists('loadTestCreateJWTs', 'addressId', addressId); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationLoadTestCreateJWTs', 'id', id); - // verify required parameter 'mutationLoadTestCreateJWTsRequest' is not null or undefined + assertParamExists('loadTestCreateJWTs', 'id', id); + // verify required parameter 'loadTestCreateJWTsRequest' is not null or undefined assertParamExists( - 'mutationLoadTestCreateJWTs', - 'mutationLoadTestCreateJWTsRequest', - mutationLoadTestCreateJWTsRequest, + 'loadTestCreateJWTs', + 'loadTestCreateJWTsRequest', + loadTestCreateJWTsRequest, ); - const localVarPath = `/loadtest/{id}/CreateJWTs`.replace( + const localVarPath = `/CreateJWTs/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)), ); @@ -6055,7 +6015,7 @@ export const LoadTestApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationLoadTestCreateJWTsRequest, + loadTestCreateJWTsRequest, localVarRequestOptions, configuration, ); @@ -6079,28 +6039,28 @@ export const LoadTestApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationLoadTestCreateJWTsRequest} mutationLoadTestCreateJWTsRequest + * @param {LoadTestCreateJWTsRequest} loadTestCreateJWTsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationLoadTestCreateJWTs( + async loadTestCreateJWTs( addressId: string, id: number, - mutationLoadTestCreateJWTsRequest: MutationLoadTestCreateJWTsRequest, + loadTestCreateJWTsRequest: LoadTestCreateJWTsRequest, options?: RawAxiosRequestConfig, ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationLoadTestCreateJWTs( + await localVarAxiosParamCreator.loadTestCreateJWTs( addressId, id, - mutationLoadTestCreateJWTsRequest, + loadTestCreateJWTsRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['LoadTestApi.mutationLoadTestCreateJWTs']?.[ + operationServerMap['LoadTestApi.loadTestCreateJWTs']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -6129,23 +6089,18 @@ export const LoadTestApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationLoadTestCreateJWTsRequest} mutationLoadTestCreateJWTsRequest + * @param {LoadTestCreateJWTsRequest} loadTestCreateJWTsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationLoadTestCreateJWTs( + loadTestCreateJWTs( addressId: string, id: number, - mutationLoadTestCreateJWTsRequest: MutationLoadTestCreateJWTsRequest, + loadTestCreateJWTsRequest: LoadTestCreateJWTsRequest, options?: any, ): AxiosPromise> { return localVarFp - .mutationLoadTestCreateJWTs( - addressId, - id, - mutationLoadTestCreateJWTsRequest, - options, - ) + .loadTestCreateJWTs(addressId, id, loadTestCreateJWTsRequest, options) .then((request) => request(axios, basePath)); }, }; @@ -6162,24 +6117,19 @@ export class LoadTestApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationLoadTestCreateJWTsRequest} mutationLoadTestCreateJWTsRequest + * @param {LoadTestCreateJWTsRequest} loadTestCreateJWTsRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LoadTestApi */ - public mutationLoadTestCreateJWTs( + public loadTestCreateJWTs( addressId: string, id: number, - mutationLoadTestCreateJWTsRequest: MutationLoadTestCreateJWTsRequest, + loadTestCreateJWTsRequest: LoadTestCreateJWTsRequest, options?: RawAxiosRequestConfig, ) { return LoadTestApiFp(this.configuration) - .mutationLoadTestCreateJWTs( - addressId, - id, - mutationLoadTestCreateJWTsRequest, - options, - ) + .loadTestCreateJWTs(addressId, id, loadTestCreateJWTsRequest, options) .then((request) => request(this.axios, this.basePath)); } } @@ -6200,15 +6150,15 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetCommunity: async ( + communityGetCommunity: async ( id: string, addressId?: string, includeNodeInfo?: boolean, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'id' is not null or undefined - assertParamExists('queryCommunityGetCommunity', 'id', id); - const localVarPath = `/query/GetCommunity`; + assertParamExists('communityGetCommunity', 'id', id); + const localVarPath = `/GetCommunity`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6256,35 +6206,35 @@ export const QueryApiAxiosParamCreator = function ( * @param {string} [addressId] * @param {number | null} [limit] * @param {number | null} [cursor] required for tRPC useInfiniteQuery hook, equivalent to page number - * @param {QueryCommunityGetMembersOrderByEnum} [orderBy] - * @param {QueryCommunityGetMembersOrderDirectionEnum} [orderDirection] + * @param {CommunityGetMembersOrderByEnum} [orderBy] + * @param {CommunityGetMembersOrderDirectionEnum} [orderDirection] * @param {string} [search] * @param {boolean} [includeRoles] - * @param {QueryCommunityGetMembersMembershipsParameter} [memberships] + * @param {CommunityGetMembersMembershipsParameter} [memberships] * @param {boolean} [includeGroupIds] * @param {boolean} [includeStakeBalances] * @param {string} [allowedAddresses] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetMembers: async ( + communityGetMembers: async ( communityId: string, addressId?: string, limit?: number | null, cursor?: number | null, - orderBy?: QueryCommunityGetMembersOrderByEnum, - orderDirection?: QueryCommunityGetMembersOrderDirectionEnum, + orderBy?: CommunityGetMembersOrderByEnum, + orderDirection?: CommunityGetMembersOrderDirectionEnum, search?: string, includeRoles?: boolean, - memberships?: QueryCommunityGetMembersMembershipsParameter, + memberships?: CommunityGetMembersMembershipsParameter, includeGroupIds?: boolean, includeStakeBalances?: boolean, allowedAddresses?: string, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'communityId' is not null or undefined - assertParamExists('queryCommunityGetMembers', 'communityId', communityId); - const localVarPath = `/query/GetMembers`; + assertParamExists('communityGetMembers', 'communityId', communityId); + const localVarPath = `/GetMembers`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6372,15 +6322,15 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetStake: async ( + communityGetStake: async ( communityId: string, addressId?: string, stakeId?: number, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'communityId' is not null or undefined - assertParamExists('queryCommunityGetStake', 'communityId', communityId); - const localVarPath = `/query/GetCommunityStake`; + assertParamExists('communityGetStake', 'communityId', communityId); + const localVarPath = `/GetCommunityStake`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6431,7 +6381,7 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetStakeHistoricalPrice: async ( + communityGetStakeHistoricalPrice: async ( pastDateEpoch: number, addressId?: string, communityId?: string, @@ -6440,11 +6390,11 @@ export const QueryApiAxiosParamCreator = function ( ): Promise => { // verify required parameter 'pastDateEpoch' is not null or undefined assertParamExists( - 'queryCommunityGetStakeHistoricalPrice', + 'communityGetStakeHistoricalPrice', 'pastDateEpoch', pastDateEpoch, ); - const localVarPath = `/query/GetStakeHistoricalPrice`; + const localVarPath = `/GetStakeHistoricalPrice`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6497,12 +6447,12 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetStakeTransaction: async ( + communityGetStakeTransaction: async ( addressId?: string, addresses?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetStakeTransaction`; + const localVarPath = `/GetStakeTransaction`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6550,7 +6500,7 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryContestGetAllContests: async ( + contestGetAllContests: async ( communityId: string, addressId?: string, contestAddress?: string, @@ -6559,12 +6509,8 @@ export const QueryApiAxiosParamCreator = function ( options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'communityId' is not null or undefined - assertParamExists( - 'queryContestGetAllContests', - 'communityId', - communityId, - ); - const localVarPath = `/query/GetAllContests`; + assertParamExists('contestGetAllContests', 'communityId', communityId); + const localVarPath = `/GetAllContests`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6621,18 +6567,18 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryContestGetContestLog: async ( + contestGetContestLog: async ( contestAddress: string, addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'contestAddress' is not null or undefined assertParamExists( - 'queryContestGetContestLog', + 'contestGetContestLog', 'contestAddress', contestAddress, ); - const localVarPath = `/query/GetContestLog`; + const localVarPath = `/GetContestLog`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6676,11 +6622,11 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryFeedGetChainActivity: async ( + feedGetChainActivity: async ( addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetChainActivity`; + const localVarPath = `/GetChainActivity`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6720,11 +6666,11 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryFeedGetGlobalActivity: async ( + feedGetGlobalActivity: async ( addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetGlobalActivity`; + const localVarPath = `/GetGlobalActivity`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6764,11 +6710,11 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryFeedGetUserActivity: async ( + feedGetUserActivity: async ( addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetUserActivity`; + const localVarPath = `/GetUserActivity`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6808,11 +6754,11 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetCommentSubscriptions: async ( + subscriptionGetCommentSubscriptions: async ( addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetCommentSubscriptions`; + const localVarPath = `/GetCommentSubscriptions`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6852,11 +6798,11 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetCommunityAlerts: async ( + subscriptionGetCommunityAlerts: async ( addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetCommunityAlerts`; + const localVarPath = `/GetCommunityAlerts`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6896,11 +6842,11 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetSubscriptionPreferences: async ( + subscriptionGetSubscriptionPreferences: async ( addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetSubscriptionPreferences`; + const localVarPath = `/GetSubscriptionPreferences`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6940,11 +6886,11 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetThreadSubscriptions: async ( + subscriptionGetThreadSubscriptions: async ( addressId?: string, options: RawAxiosRequestConfig = {}, ): Promise => { - const localVarPath = `/query/GetThreadSubscriptions`; + const localVarPath = `/GetThreadSubscriptions`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -6988,7 +6934,7 @@ export const QueryApiAxiosParamCreator = function ( * @param {boolean} [includePinnedThreads] * @param {number} [topicId] * @param {string} [stage] - * @param {QueryThreadGetBulkThreadsOrderByEnum} [orderBy] + * @param {ThreadGetBulkThreadsOrderByEnum} [orderBy] * @param {number} [cursor] * @param {number} [limit] The number of objects returned * @param {number} [offset] The amount of objects offset from the beginning @@ -6996,7 +6942,7 @@ export const QueryApiAxiosParamCreator = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryThreadGetBulkThreads: async ( + threadGetBulkThreads: async ( communityId: string, addressId?: string, fromDate?: string, @@ -7005,7 +6951,7 @@ export const QueryApiAxiosParamCreator = function ( includePinnedThreads?: boolean, topicId?: number, stage?: string, - orderBy?: QueryThreadGetBulkThreadsOrderByEnum, + orderBy?: ThreadGetBulkThreadsOrderByEnum, cursor?: number, limit?: number, offset?: number, @@ -7013,12 +6959,8 @@ export const QueryApiAxiosParamCreator = function ( options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'communityId' is not null or undefined - assertParamExists( - 'queryThreadGetBulkThreads', - 'communityId', - communityId, - ); - const localVarPath = `/query/GetBulkThreads`; + assertParamExists('threadGetBulkThreads', 'communityId', communityId); + const localVarPath = `/GetBulkThreads`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -7124,7 +7066,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryCommunityGetCommunity( + async communityGetCommunity( id: string, addressId?: string, includeNodeInfo?: boolean, @@ -7133,10 +7075,10 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryCommunityGetCommunity( + await localVarAxiosParamCreator.communityGetCommunity( id, addressId, includeNodeInfo, @@ -7144,7 +7086,7 @@ export const QueryApiFp = function (configuration?: Configuration) { ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryCommunityGetCommunity']?.[ + operationServerMap['QueryApi.communityGetCommunity']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7161,27 +7103,27 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {string} [addressId] * @param {number | null} [limit] * @param {number | null} [cursor] required for tRPC useInfiniteQuery hook, equivalent to page number - * @param {QueryCommunityGetMembersOrderByEnum} [orderBy] - * @param {QueryCommunityGetMembersOrderDirectionEnum} [orderDirection] + * @param {CommunityGetMembersOrderByEnum} [orderBy] + * @param {CommunityGetMembersOrderDirectionEnum} [orderDirection] * @param {string} [search] * @param {boolean} [includeRoles] - * @param {QueryCommunityGetMembersMembershipsParameter} [memberships] + * @param {CommunityGetMembersMembershipsParameter} [memberships] * @param {boolean} [includeGroupIds] * @param {boolean} [includeStakeBalances] * @param {string} [allowedAddresses] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryCommunityGetMembers( + async communityGetMembers( communityId: string, addressId?: string, limit?: number | null, cursor?: number | null, - orderBy?: QueryCommunityGetMembersOrderByEnum, - orderDirection?: QueryCommunityGetMembersOrderDirectionEnum, + orderBy?: CommunityGetMembersOrderByEnum, + orderDirection?: CommunityGetMembersOrderDirectionEnum, search?: string, includeRoles?: boolean, - memberships?: QueryCommunityGetMembersMembershipsParameter, + memberships?: CommunityGetMembersMembershipsParameter, includeGroupIds?: boolean, includeStakeBalances?: boolean, allowedAddresses?: string, @@ -7190,10 +7132,10 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryCommunityGetMembers( + await localVarAxiosParamCreator.communityGetMembers( communityId, addressId, limit, @@ -7210,7 +7152,7 @@ export const QueryApiFp = function (configuration?: Configuration) { ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryCommunityGetMembers']?.[ + operationServerMap['QueryApi.communityGetMembers']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7229,7 +7171,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryCommunityGetStake( + async communityGetStake( communityId: string, addressId?: string, stakeId?: number, @@ -7238,10 +7180,10 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryCommunityGetStake( + await localVarAxiosParamCreator.communityGetStake( communityId, addressId, stakeId, @@ -7249,7 +7191,7 @@ export const QueryApiFp = function (configuration?: Configuration) { ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryCommunityGetStake']?.[ + operationServerMap['QueryApi.communityGetStake']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7269,7 +7211,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryCommunityGetStakeHistoricalPrice( + async communityGetStakeHistoricalPrice( pastDateEpoch: number, addressId?: string, communityId?: string, @@ -7279,12 +7221,10 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise< - Array - > + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryCommunityGetStakeHistoricalPrice( + await localVarAxiosParamCreator.communityGetStakeHistoricalPrice( pastDateEpoch, addressId, communityId, @@ -7293,7 +7233,7 @@ export const QueryApiFp = function (configuration?: Configuration) { ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryCommunityGetStakeHistoricalPrice']?.[ + operationServerMap['QueryApi.communityGetStakeHistoricalPrice']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7311,7 +7251,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryCommunityGetStakeTransaction( + async communityGetStakeTransaction( addressId?: string, addresses?: string, options?: RawAxiosRequestConfig, @@ -7319,19 +7259,17 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise< - Array - > + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryCommunityGetStakeTransaction( + await localVarAxiosParamCreator.communityGetStakeTransaction( addressId, addresses, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryCommunityGetStakeTransaction']?.[ + operationServerMap['QueryApi.communityGetStakeTransaction']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7352,7 +7290,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryContestGetAllContests( + async contestGetAllContests( communityId: string, addressId?: string, contestAddress?: string, @@ -7363,10 +7301,10 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise> + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryContestGetAllContests( + await localVarAxiosParamCreator.contestGetAllContests( communityId, addressId, contestAddress, @@ -7376,7 +7314,7 @@ export const QueryApiFp = function (configuration?: Configuration) { ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryContestGetAllContests']?.[ + operationServerMap['QueryApi.contestGetAllContests']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7394,7 +7332,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryContestGetContestLog( + async contestGetContestLog( contestAddress: string, addressId?: string, options?: RawAxiosRequestConfig, @@ -7402,17 +7340,17 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise> + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryContestGetContestLog( + await localVarAxiosParamCreator.contestGetContestLog( contestAddress, addressId, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryContestGetContestLog']?.[ + operationServerMap['QueryApi.contestGetContestLog']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7429,23 +7367,23 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryFeedGetChainActivity( + async feedGetChainActivity( addressId?: string, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise> + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryFeedGetChainActivity( + await localVarAxiosParamCreator.feedGetChainActivity( addressId, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryFeedGetChainActivity']?.[ + operationServerMap['QueryApi.feedGetChainActivity']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7462,23 +7400,23 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryFeedGetGlobalActivity( + async feedGetGlobalActivity( addressId?: string, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise> + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryFeedGetGlobalActivity( + await localVarAxiosParamCreator.feedGetGlobalActivity( addressId, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryFeedGetGlobalActivity']?.[ + operationServerMap['QueryApi.feedGetGlobalActivity']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7495,23 +7433,20 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryFeedGetUserActivity( + async feedGetUserActivity( addressId?: string, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise> + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryFeedGetUserActivity( - addressId, - options, - ); + await localVarAxiosParamCreator.feedGetUserActivity(addressId, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryFeedGetUserActivity']?.[ + operationServerMap['QueryApi.feedGetUserActivity']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7528,27 +7463,25 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async querySubscriptionGetCommentSubscriptions( + async subscriptionGetCommentSubscriptions( addressId?: string, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise< - Array - > + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.querySubscriptionGetCommentSubscriptions( + await localVarAxiosParamCreator.subscriptionGetCommentSubscriptions( addressId, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap[ - 'QueryApi.querySubscriptionGetCommentSubscriptions' - ]?.[localVarOperationServerIndex]?.url; + operationServerMap['QueryApi.subscriptionGetCommentSubscriptions']?.[ + localVarOperationServerIndex + ]?.url; return (axios, basePath) => createRequestFunction( localVarAxiosArgs, @@ -7563,25 +7496,23 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async querySubscriptionGetCommunityAlerts( + async subscriptionGetCommunityAlerts( addressId?: string, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise< - Array - > + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.querySubscriptionGetCommunityAlerts( + await localVarAxiosParamCreator.subscriptionGetCommunityAlerts( addressId, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.querySubscriptionGetCommunityAlerts']?.[ + operationServerMap['QueryApi.subscriptionGetCommunityAlerts']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7598,25 +7529,25 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async querySubscriptionGetSubscriptionPreferences( + async subscriptionGetSubscriptionPreferences( addressId?: string, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.querySubscriptionGetSubscriptionPreferences( + await localVarAxiosParamCreator.subscriptionGetSubscriptionPreferences( addressId, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap[ - 'QueryApi.querySubscriptionGetSubscriptionPreferences' - ]?.[localVarOperationServerIndex]?.url; + operationServerMap['QueryApi.subscriptionGetSubscriptionPreferences']?.[ + localVarOperationServerIndex + ]?.url; return (axios, basePath) => createRequestFunction( localVarAxiosArgs, @@ -7631,27 +7562,25 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async querySubscriptionGetThreadSubscriptions( + async subscriptionGetThreadSubscriptions( addressId?: string, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise< - Array - > + ) => AxiosPromise> > { const localVarAxiosArgs = - await localVarAxiosParamCreator.querySubscriptionGetThreadSubscriptions( + await localVarAxiosParamCreator.subscriptionGetThreadSubscriptions( addressId, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap[ - 'QueryApi.querySubscriptionGetThreadSubscriptions' - ]?.[localVarOperationServerIndex]?.url; + operationServerMap['QueryApi.subscriptionGetThreadSubscriptions']?.[ + localVarOperationServerIndex + ]?.url; return (axios, basePath) => createRequestFunction( localVarAxiosArgs, @@ -7670,7 +7599,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {boolean} [includePinnedThreads] * @param {number} [topicId] * @param {string} [stage] - * @param {QueryThreadGetBulkThreadsOrderByEnum} [orderBy] + * @param {ThreadGetBulkThreadsOrderByEnum} [orderBy] * @param {number} [cursor] * @param {number} [limit] The number of objects returned * @param {number} [offset] The amount of objects offset from the beginning @@ -7678,7 +7607,7 @@ export const QueryApiFp = function (configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async queryThreadGetBulkThreads( + async threadGetBulkThreads( communityId: string, addressId?: string, fromDate?: string, @@ -7687,7 +7616,7 @@ export const QueryApiFp = function (configuration?: Configuration) { includePinnedThreads?: boolean, topicId?: number, stage?: string, - orderBy?: QueryThreadGetBulkThreadsOrderByEnum, + orderBy?: ThreadGetBulkThreadsOrderByEnum, cursor?: number, limit?: number, offset?: number, @@ -7697,10 +7626,10 @@ export const QueryApiFp = function (configuration?: Configuration) { ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.queryThreadGetBulkThreads( + await localVarAxiosParamCreator.threadGetBulkThreads( communityId, addressId, fromDate, @@ -7718,7 +7647,7 @@ export const QueryApiFp = function (configuration?: Configuration) { ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['QueryApi.queryThreadGetBulkThreads']?.[ + operationServerMap['QueryApi.threadGetBulkThreads']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -7751,14 +7680,14 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetCommunity( + communityGetCommunity( id: string, addressId?: string, includeNodeInfo?: boolean, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .queryCommunityGetCommunity(id, addressId, includeNodeInfo, options) + .communityGetCommunity(id, addressId, includeNodeInfo, options) .then((request) => request(axios, basePath)); }, /** @@ -7767,34 +7696,34 @@ export const QueryApiFactory = function ( * @param {string} [addressId] * @param {number | null} [limit] * @param {number | null} [cursor] required for tRPC useInfiniteQuery hook, equivalent to page number - * @param {QueryCommunityGetMembersOrderByEnum} [orderBy] - * @param {QueryCommunityGetMembersOrderDirectionEnum} [orderDirection] + * @param {CommunityGetMembersOrderByEnum} [orderBy] + * @param {CommunityGetMembersOrderDirectionEnum} [orderDirection] * @param {string} [search] * @param {boolean} [includeRoles] - * @param {QueryCommunityGetMembersMembershipsParameter} [memberships] + * @param {CommunityGetMembersMembershipsParameter} [memberships] * @param {boolean} [includeGroupIds] * @param {boolean} [includeStakeBalances] * @param {string} [allowedAddresses] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetMembers( + communityGetMembers( communityId: string, addressId?: string, limit?: number | null, cursor?: number | null, - orderBy?: QueryCommunityGetMembersOrderByEnum, - orderDirection?: QueryCommunityGetMembersOrderDirectionEnum, + orderBy?: CommunityGetMembersOrderByEnum, + orderDirection?: CommunityGetMembersOrderDirectionEnum, search?: string, includeRoles?: boolean, - memberships?: QueryCommunityGetMembersMembershipsParameter, + memberships?: CommunityGetMembersMembershipsParameter, includeGroupIds?: boolean, includeStakeBalances?: boolean, allowedAddresses?: string, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .queryCommunityGetMembers( + .communityGetMembers( communityId, addressId, limit, @@ -7819,14 +7748,14 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetStake( + communityGetStake( communityId: string, addressId?: string, stakeId?: number, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .queryCommunityGetStake(communityId, addressId, stakeId, options) + .communityGetStake(communityId, addressId, stakeId, options) .then((request) => request(axios, basePath)); }, /** @@ -7838,17 +7767,15 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetStakeHistoricalPrice( + communityGetStakeHistoricalPrice( pastDateEpoch: number, addressId?: string, communityId?: string, stakeId?: number, options?: any, - ): AxiosPromise< - Array - > { + ): AxiosPromise> { return localVarFp - .queryCommunityGetStakeHistoricalPrice( + .communityGetStakeHistoricalPrice( pastDateEpoch, addressId, communityId, @@ -7864,13 +7791,13 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryCommunityGetStakeTransaction( + communityGetStakeTransaction( addressId?: string, addresses?: string, options?: any, - ): AxiosPromise> { + ): AxiosPromise> { return localVarFp - .queryCommunityGetStakeTransaction(addressId, addresses, options) + .communityGetStakeTransaction(addressId, addresses, options) .then((request) => request(axios, basePath)); }, /** @@ -7883,16 +7810,16 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryContestGetAllContests( + contestGetAllContests( communityId: string, addressId?: string, contestAddress?: string, contestId?: number, running?: boolean, options?: any, - ): AxiosPromise> { + ): AxiosPromise> { return localVarFp - .queryContestGetAllContests( + .contestGetAllContests( communityId, addressId, contestAddress, @@ -7909,13 +7836,13 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryContestGetContestLog( + contestGetContestLog( contestAddress: string, addressId?: string, options?: any, - ): AxiosPromise> { + ): AxiosPromise> { return localVarFp - .queryContestGetContestLog(contestAddress, addressId, options) + .contestGetContestLog(contestAddress, addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -7924,12 +7851,12 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryFeedGetChainActivity( + feedGetChainActivity( addressId?: string, options?: any, - ): AxiosPromise> { + ): AxiosPromise> { return localVarFp - .queryFeedGetChainActivity(addressId, options) + .feedGetChainActivity(addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -7938,12 +7865,12 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryFeedGetGlobalActivity( + feedGetGlobalActivity( addressId?: string, options?: any, - ): AxiosPromise> { + ): AxiosPromise> { return localVarFp - .queryFeedGetGlobalActivity(addressId, options) + .feedGetGlobalActivity(addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -7952,12 +7879,12 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryFeedGetUserActivity( + feedGetUserActivity( addressId?: string, options?: any, - ): AxiosPromise> { + ): AxiosPromise> { return localVarFp - .queryFeedGetUserActivity(addressId, options) + .feedGetUserActivity(addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -7966,14 +7893,12 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetCommentSubscriptions( + subscriptionGetCommentSubscriptions( addressId?: string, options?: any, - ): AxiosPromise< - Array - > { + ): AxiosPromise> { return localVarFp - .querySubscriptionGetCommentSubscriptions(addressId, options) + .subscriptionGetCommentSubscriptions(addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -7982,14 +7907,12 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetCommunityAlerts( + subscriptionGetCommunityAlerts( addressId?: string, options?: any, - ): AxiosPromise< - Array - > { + ): AxiosPromise> { return localVarFp - .querySubscriptionGetCommunityAlerts(addressId, options) + .subscriptionGetCommunityAlerts(addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -7998,12 +7921,12 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetSubscriptionPreferences( + subscriptionGetSubscriptionPreferences( addressId?: string, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .querySubscriptionGetSubscriptionPreferences(addressId, options) + .subscriptionGetSubscriptionPreferences(addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -8012,14 +7935,12 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - querySubscriptionGetThreadSubscriptions( + subscriptionGetThreadSubscriptions( addressId?: string, options?: any, - ): AxiosPromise< - Array - > { + ): AxiosPromise> { return localVarFp - .querySubscriptionGetThreadSubscriptions(addressId, options) + .subscriptionGetThreadSubscriptions(addressId, options) .then((request) => request(axios, basePath)); }, /** @@ -8032,7 +7953,7 @@ export const QueryApiFactory = function ( * @param {boolean} [includePinnedThreads] * @param {number} [topicId] * @param {string} [stage] - * @param {QueryThreadGetBulkThreadsOrderByEnum} [orderBy] + * @param {ThreadGetBulkThreadsOrderByEnum} [orderBy] * @param {number} [cursor] * @param {number} [limit] The number of objects returned * @param {number} [offset] The amount of objects offset from the beginning @@ -8040,7 +7961,7 @@ export const QueryApiFactory = function ( * @param {*} [options] Override http request option. * @throws {RequiredError} */ - queryThreadGetBulkThreads( + threadGetBulkThreads( communityId: string, addressId?: string, fromDate?: string, @@ -8049,15 +7970,15 @@ export const QueryApiFactory = function ( includePinnedThreads?: boolean, topicId?: number, stage?: string, - orderBy?: QueryThreadGetBulkThreadsOrderByEnum, + orderBy?: ThreadGetBulkThreadsOrderByEnum, cursor?: number, limit?: number, offset?: number, page?: number, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .queryThreadGetBulkThreads( + .threadGetBulkThreads( communityId, addressId, fromDate, @@ -8094,14 +8015,14 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryCommunityGetCommunity( + public communityGetCommunity( id: string, addressId?: string, includeNodeInfo?: boolean, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryCommunityGetCommunity(id, addressId, includeNodeInfo, options) + .communityGetCommunity(id, addressId, includeNodeInfo, options) .then((request) => request(this.axios, this.basePath)); } @@ -8111,11 +8032,11 @@ export class QueryApi extends BaseAPI { * @param {string} [addressId] * @param {number | null} [limit] * @param {number | null} [cursor] required for tRPC useInfiniteQuery hook, equivalent to page number - * @param {QueryCommunityGetMembersOrderByEnum} [orderBy] - * @param {QueryCommunityGetMembersOrderDirectionEnum} [orderDirection] + * @param {CommunityGetMembersOrderByEnum} [orderBy] + * @param {CommunityGetMembersOrderDirectionEnum} [orderDirection] * @param {string} [search] * @param {boolean} [includeRoles] - * @param {QueryCommunityGetMembersMembershipsParameter} [memberships] + * @param {CommunityGetMembersMembershipsParameter} [memberships] * @param {boolean} [includeGroupIds] * @param {boolean} [includeStakeBalances] * @param {string} [allowedAddresses] @@ -8123,23 +8044,23 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryCommunityGetMembers( + public communityGetMembers( communityId: string, addressId?: string, limit?: number | null, cursor?: number | null, - orderBy?: QueryCommunityGetMembersOrderByEnum, - orderDirection?: QueryCommunityGetMembersOrderDirectionEnum, + orderBy?: CommunityGetMembersOrderByEnum, + orderDirection?: CommunityGetMembersOrderDirectionEnum, search?: string, includeRoles?: boolean, - memberships?: QueryCommunityGetMembersMembershipsParameter, + memberships?: CommunityGetMembersMembershipsParameter, includeGroupIds?: boolean, includeStakeBalances?: boolean, allowedAddresses?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryCommunityGetMembers( + .communityGetMembers( communityId, addressId, limit, @@ -8166,14 +8087,14 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryCommunityGetStake( + public communityGetStake( communityId: string, addressId?: string, stakeId?: number, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryCommunityGetStake(communityId, addressId, stakeId, options) + .communityGetStake(communityId, addressId, stakeId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8187,7 +8108,7 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryCommunityGetStakeHistoricalPrice( + public communityGetStakeHistoricalPrice( pastDateEpoch: number, addressId?: string, communityId?: string, @@ -8195,7 +8116,7 @@ export class QueryApi extends BaseAPI { options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryCommunityGetStakeHistoricalPrice( + .communityGetStakeHistoricalPrice( pastDateEpoch, addressId, communityId, @@ -8213,13 +8134,13 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryCommunityGetStakeTransaction( + public communityGetStakeTransaction( addressId?: string, addresses?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryCommunityGetStakeTransaction(addressId, addresses, options) + .communityGetStakeTransaction(addressId, addresses, options) .then((request) => request(this.axios, this.basePath)); } @@ -8234,7 +8155,7 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryContestGetAllContests( + public contestGetAllContests( communityId: string, addressId?: string, contestAddress?: string, @@ -8243,7 +8164,7 @@ export class QueryApi extends BaseAPI { options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryContestGetAllContests( + .contestGetAllContests( communityId, addressId, contestAddress, @@ -8262,13 +8183,13 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryContestGetContestLog( + public contestGetContestLog( contestAddress: string, addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryContestGetContestLog(contestAddress, addressId, options) + .contestGetContestLog(contestAddress, addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8279,12 +8200,12 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryFeedGetChainActivity( + public feedGetChainActivity( addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryFeedGetChainActivity(addressId, options) + .feedGetChainActivity(addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8295,12 +8216,12 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryFeedGetGlobalActivity( + public feedGetGlobalActivity( addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryFeedGetGlobalActivity(addressId, options) + .feedGetGlobalActivity(addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8311,12 +8232,12 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryFeedGetUserActivity( + public feedGetUserActivity( addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryFeedGetUserActivity(addressId, options) + .feedGetUserActivity(addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8327,12 +8248,12 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public querySubscriptionGetCommentSubscriptions( + public subscriptionGetCommentSubscriptions( addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .querySubscriptionGetCommentSubscriptions(addressId, options) + .subscriptionGetCommentSubscriptions(addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8343,12 +8264,12 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public querySubscriptionGetCommunityAlerts( + public subscriptionGetCommunityAlerts( addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .querySubscriptionGetCommunityAlerts(addressId, options) + .subscriptionGetCommunityAlerts(addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8359,12 +8280,12 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public querySubscriptionGetSubscriptionPreferences( + public subscriptionGetSubscriptionPreferences( addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .querySubscriptionGetSubscriptionPreferences(addressId, options) + .subscriptionGetSubscriptionPreferences(addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8375,12 +8296,12 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public querySubscriptionGetThreadSubscriptions( + public subscriptionGetThreadSubscriptions( addressId?: string, options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .querySubscriptionGetThreadSubscriptions(addressId, options) + .subscriptionGetThreadSubscriptions(addressId, options) .then((request) => request(this.axios, this.basePath)); } @@ -8394,7 +8315,7 @@ export class QueryApi extends BaseAPI { * @param {boolean} [includePinnedThreads] * @param {number} [topicId] * @param {string} [stage] - * @param {QueryThreadGetBulkThreadsOrderByEnum} [orderBy] + * @param {ThreadGetBulkThreadsOrderByEnum} [orderBy] * @param {number} [cursor] * @param {number} [limit] The number of objects returned * @param {number} [offset] The amount of objects offset from the beginning @@ -8403,7 +8324,7 @@ export class QueryApi extends BaseAPI { * @throws {RequiredError} * @memberof QueryApi */ - public queryThreadGetBulkThreads( + public threadGetBulkThreads( communityId: string, addressId?: string, fromDate?: string, @@ -8412,7 +8333,7 @@ export class QueryApi extends BaseAPI { includePinnedThreads?: boolean, topicId?: number, stage?: string, - orderBy?: QueryThreadGetBulkThreadsOrderByEnum, + orderBy?: ThreadGetBulkThreadsOrderByEnum, cursor?: number, limit?: number, offset?: number, @@ -8420,7 +8341,7 @@ export class QueryApi extends BaseAPI { options?: RawAxiosRequestConfig, ) { return QueryApiFp(this.configuration) - .queryThreadGetBulkThreads( + .threadGetBulkThreads( communityId, addressId, fromDate, @@ -8443,25 +8364,25 @@ export class QueryApi extends BaseAPI { /** * @export */ -export const QueryCommunityGetMembersOrderByEnum = { +export const CommunityGetMembersOrderByEnum = { LastActive: 'last_active', Name: 'name', } as const; -export type QueryCommunityGetMembersOrderByEnum = - typeof QueryCommunityGetMembersOrderByEnum[keyof typeof QueryCommunityGetMembersOrderByEnum]; +export type CommunityGetMembersOrderByEnum = + typeof CommunityGetMembersOrderByEnum[keyof typeof CommunityGetMembersOrderByEnum]; /** * @export */ -export const QueryCommunityGetMembersOrderDirectionEnum = { +export const CommunityGetMembersOrderDirectionEnum = { Asc: 'ASC', Desc: 'DESC', } as const; -export type QueryCommunityGetMembersOrderDirectionEnum = - typeof QueryCommunityGetMembersOrderDirectionEnum[keyof typeof QueryCommunityGetMembersOrderDirectionEnum]; +export type CommunityGetMembersOrderDirectionEnum = + typeof CommunityGetMembersOrderDirectionEnum[keyof typeof CommunityGetMembersOrderDirectionEnum]; /** * @export */ -export const QueryThreadGetBulkThreadsOrderByEnum = { +export const ThreadGetBulkThreadsOrderByEnum = { CreatedAtasc: 'createdAt:asc', CreatedAtdesc: 'createdAt:desc', NumberOfCommentsasc: 'numberOfComments:asc', @@ -8471,8 +8392,8 @@ export const QueryThreadGetBulkThreadsOrderByEnum = { LatestActivityasc: 'latestActivity:asc', LatestActivitydesc: 'latestActivity:desc', } as const; -export type QueryThreadGetBulkThreadsOrderByEnum = - typeof QueryThreadGetBulkThreadsOrderByEnum[keyof typeof QueryThreadGetBulkThreadsOrderByEnum]; +export type ThreadGetBulkThreadsOrderByEnum = + typeof ThreadGetBulkThreadsOrderByEnum[keyof typeof ThreadGetBulkThreadsOrderByEnum]; /** * SubscriptionApi - axios parameter creator @@ -8486,39 +8407,34 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommentSubscriptionRequest} mutationSubscriptionCreateCommentSubscriptionRequest + * @param {SubscriptionCreateCommentSubscriptionRequest} subscriptionCreateCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionCreateCommentSubscription: async ( + subscriptionCreateCommentSubscription: async ( addressId: string, id: number, - mutationSubscriptionCreateCommentSubscriptionRequest: MutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest: SubscriptionCreateCommentSubscriptionRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionCreateCommentSubscription', + 'subscriptionCreateCommentSubscription', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined + assertParamExists('subscriptionCreateCommentSubscription', 'id', id); + // verify required parameter 'subscriptionCreateCommentSubscriptionRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionCreateCommentSubscription', - 'id', - id, + 'subscriptionCreateCommentSubscription', + 'subscriptionCreateCommentSubscriptionRequest', + subscriptionCreateCommentSubscriptionRequest, ); - // verify required parameter 'mutationSubscriptionCreateCommentSubscriptionRequest' is not null or undefined - assertParamExists( - 'mutationSubscriptionCreateCommentSubscription', - 'mutationSubscriptionCreateCommentSubscriptionRequest', - mutationSubscriptionCreateCommentSubscriptionRequest, + const localVarPath = `/CreateCommentSubscription/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/subscription/{id}/CreateCommentSubscription`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -8553,7 +8469,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest, localVarRequestOptions, configuration, ); @@ -8567,31 +8483,31 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommunityAlertRequest} mutationSubscriptionCreateCommunityAlertRequest + * @param {SubscriptionCreateCommunityAlertRequest} subscriptionCreateCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionCreateCommunityAlert: async ( + subscriptionCreateCommunityAlert: async ( addressId: string, id: number, - mutationSubscriptionCreateCommunityAlertRequest: MutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest: SubscriptionCreateCommunityAlertRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionCreateCommunityAlert', + 'subscriptionCreateCommunityAlert', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationSubscriptionCreateCommunityAlert', 'id', id); - // verify required parameter 'mutationSubscriptionCreateCommunityAlertRequest' is not null or undefined + assertParamExists('subscriptionCreateCommunityAlert', 'id', id); + // verify required parameter 'subscriptionCreateCommunityAlertRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionCreateCommunityAlert', - 'mutationSubscriptionCreateCommunityAlertRequest', - mutationSubscriptionCreateCommunityAlertRequest, + 'subscriptionCreateCommunityAlert', + 'subscriptionCreateCommunityAlertRequest', + subscriptionCreateCommunityAlertRequest, ); - const localVarPath = `/subscription/{id}/CreateCommunityAlert`.replace( + const localVarPath = `/CreateCommunityAlert/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)), ); @@ -8629,7 +8545,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest, localVarRequestOptions, configuration, ); @@ -8643,39 +8559,34 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateThreadSubscriptionRequest} mutationSubscriptionCreateThreadSubscriptionRequest + * @param {SubscriptionCreateThreadSubscriptionRequest} subscriptionCreateThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionCreateThreadSubscription: async ( + subscriptionCreateThreadSubscription: async ( addressId: string, id: number, - mutationSubscriptionCreateThreadSubscriptionRequest: MutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest: SubscriptionCreateThreadSubscriptionRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionCreateThreadSubscription', + 'subscriptionCreateThreadSubscription', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined + assertParamExists('subscriptionCreateThreadSubscription', 'id', id); + // verify required parameter 'subscriptionCreateThreadSubscriptionRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionCreateThreadSubscription', - 'id', - id, + 'subscriptionCreateThreadSubscription', + 'subscriptionCreateThreadSubscriptionRequest', + subscriptionCreateThreadSubscriptionRequest, ); - // verify required parameter 'mutationSubscriptionCreateThreadSubscriptionRequest' is not null or undefined - assertParamExists( - 'mutationSubscriptionCreateThreadSubscription', - 'mutationSubscriptionCreateThreadSubscriptionRequest', - mutationSubscriptionCreateThreadSubscriptionRequest, + const localVarPath = `/CreateThreadSubscription/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/subscription/{id}/CreateThreadSubscription`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -8710,7 +8621,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest, localVarRequestOptions, configuration, ); @@ -8724,39 +8635,34 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommentSubscriptionRequest} mutationSubscriptionDeleteCommentSubscriptionRequest + * @param {SubscriptionDeleteCommentSubscriptionRequest} subscriptionDeleteCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionDeleteCommentSubscription: async ( + subscriptionDeleteCommentSubscription: async ( addressId: string, id: number, - mutationSubscriptionDeleteCommentSubscriptionRequest: MutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest: SubscriptionDeleteCommentSubscriptionRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionDeleteCommentSubscription', + 'subscriptionDeleteCommentSubscription', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined + assertParamExists('subscriptionDeleteCommentSubscription', 'id', id); + // verify required parameter 'subscriptionDeleteCommentSubscriptionRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionDeleteCommentSubscription', - 'id', - id, + 'subscriptionDeleteCommentSubscription', + 'subscriptionDeleteCommentSubscriptionRequest', + subscriptionDeleteCommentSubscriptionRequest, ); - // verify required parameter 'mutationSubscriptionDeleteCommentSubscriptionRequest' is not null or undefined - assertParamExists( - 'mutationSubscriptionDeleteCommentSubscription', - 'mutationSubscriptionDeleteCommentSubscriptionRequest', - mutationSubscriptionDeleteCommentSubscriptionRequest, + const localVarPath = `/DeleteCommentSubscription/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/subscription/{id}/DeleteCommentSubscription`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -8791,7 +8697,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest, localVarRequestOptions, configuration, ); @@ -8805,31 +8711,31 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommunityAlertRequest} mutationSubscriptionDeleteCommunityAlertRequest + * @param {SubscriptionDeleteCommunityAlertRequest} subscriptionDeleteCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionDeleteCommunityAlert: async ( + subscriptionDeleteCommunityAlert: async ( addressId: string, id: number, - mutationSubscriptionDeleteCommunityAlertRequest: MutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest: SubscriptionDeleteCommunityAlertRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionDeleteCommunityAlert', + 'subscriptionDeleteCommunityAlert', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationSubscriptionDeleteCommunityAlert', 'id', id); - // verify required parameter 'mutationSubscriptionDeleteCommunityAlertRequest' is not null or undefined + assertParamExists('subscriptionDeleteCommunityAlert', 'id', id); + // verify required parameter 'subscriptionDeleteCommunityAlertRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionDeleteCommunityAlert', - 'mutationSubscriptionDeleteCommunityAlertRequest', - mutationSubscriptionDeleteCommunityAlertRequest, + 'subscriptionDeleteCommunityAlert', + 'subscriptionDeleteCommunityAlertRequest', + subscriptionDeleteCommunityAlertRequest, ); - const localVarPath = `/subscription/{id}/DeleteCommunityAlerts`.replace( + const localVarPath = `/DeleteCommunityAlerts/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)), ); @@ -8867,7 +8773,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest, localVarRequestOptions, configuration, ); @@ -8881,39 +8787,34 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteThreadSubscriptionRequest} mutationSubscriptionDeleteThreadSubscriptionRequest + * @param {SubscriptionDeleteThreadSubscriptionRequest} subscriptionDeleteThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionDeleteThreadSubscription: async ( + subscriptionDeleteThreadSubscription: async ( addressId: string, id: number, - mutationSubscriptionDeleteThreadSubscriptionRequest: MutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest: SubscriptionDeleteThreadSubscriptionRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionDeleteThreadSubscription', + 'subscriptionDeleteThreadSubscription', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined + assertParamExists('subscriptionDeleteThreadSubscription', 'id', id); + // verify required parameter 'subscriptionDeleteThreadSubscriptionRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionDeleteThreadSubscription', - 'id', - id, + 'subscriptionDeleteThreadSubscription', + 'subscriptionDeleteThreadSubscriptionRequest', + subscriptionDeleteThreadSubscriptionRequest, ); - // verify required parameter 'mutationSubscriptionDeleteThreadSubscriptionRequest' is not null or undefined - assertParamExists( - 'mutationSubscriptionDeleteThreadSubscription', - 'mutationSubscriptionDeleteThreadSubscriptionRequest', - mutationSubscriptionDeleteThreadSubscriptionRequest, + const localVarPath = `/DeleteThreadSubscription/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/subscription/{id}/DeleteThreadSubscription`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -8948,7 +8849,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest, localVarRequestOptions, configuration, ); @@ -8962,39 +8863,38 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionRegisterClientRegistrationToken: async ( + subscriptionRegisterClientRegistrationToken: async ( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionRegisterClientRegistrationToken', + 'subscriptionRegisterClientRegistrationToken', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined assertParamExists( - 'mutationSubscriptionRegisterClientRegistrationToken', + 'subscriptionRegisterClientRegistrationToken', 'id', id, ); - // verify required parameter 'mutationSubscriptionRegisterClientRegistrationTokenRequest' is not null or undefined + // verify required parameter 'subscriptionRegisterClientRegistrationTokenRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionRegisterClientRegistrationToken', - 'mutationSubscriptionRegisterClientRegistrationTokenRequest', - mutationSubscriptionRegisterClientRegistrationTokenRequest, + 'subscriptionRegisterClientRegistrationToken', + 'subscriptionRegisterClientRegistrationTokenRequest', + subscriptionRegisterClientRegistrationTokenRequest, + ); + const localVarPath = `/RegisterClientRegistrationToken/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/subscription/{id}/RegisterClientRegistrationToken`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -9029,7 +8929,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, localVarRequestOptions, configuration, ); @@ -9043,39 +8943,38 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionUnregisterClientRegistrationToken: async ( + subscriptionUnregisterClientRegistrationToken: async ( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionUnregisterClientRegistrationToken', + 'subscriptionUnregisterClientRegistrationToken', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined assertParamExists( - 'mutationSubscriptionUnregisterClientRegistrationToken', + 'subscriptionUnregisterClientRegistrationToken', 'id', id, ); - // verify required parameter 'mutationSubscriptionRegisterClientRegistrationTokenRequest' is not null or undefined + // verify required parameter 'subscriptionRegisterClientRegistrationTokenRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionUnregisterClientRegistrationToken', - 'mutationSubscriptionRegisterClientRegistrationTokenRequest', - mutationSubscriptionRegisterClientRegistrationTokenRequest, + 'subscriptionUnregisterClientRegistrationToken', + 'subscriptionRegisterClientRegistrationTokenRequest', + subscriptionRegisterClientRegistrationTokenRequest, + ); + const localVarPath = `/UnregisterClientRegistrationToken/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/subscription/{id}/UnregisterClientRegistrationToken`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -9110,7 +9009,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, localVarRequestOptions, configuration, ); @@ -9124,39 +9023,34 @@ export const SubscriptionApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionUpdateSubscriptionPreferencesRequest} mutationSubscriptionUpdateSubscriptionPreferencesRequest + * @param {SubscriptionUpdateSubscriptionPreferencesRequest} subscriptionUpdateSubscriptionPreferencesRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionUpdateSubscriptionPreferences: async ( + subscriptionUpdateSubscriptionPreferences: async ( addressId: string, id: number, - mutationSubscriptionUpdateSubscriptionPreferencesRequest: MutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest: SubscriptionUpdateSubscriptionPreferencesRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined assertParamExists( - 'mutationSubscriptionUpdateSubscriptionPreferences', + 'subscriptionUpdateSubscriptionPreferences', 'addressId', addressId, ); // verify required parameter 'id' is not null or undefined + assertParamExists('subscriptionUpdateSubscriptionPreferences', 'id', id); + // verify required parameter 'subscriptionUpdateSubscriptionPreferencesRequest' is not null or undefined assertParamExists( - 'mutationSubscriptionUpdateSubscriptionPreferences', - 'id', - id, + 'subscriptionUpdateSubscriptionPreferences', + 'subscriptionUpdateSubscriptionPreferencesRequest', + subscriptionUpdateSubscriptionPreferencesRequest, ); - // verify required parameter 'mutationSubscriptionUpdateSubscriptionPreferencesRequest' is not null or undefined - assertParamExists( - 'mutationSubscriptionUpdateSubscriptionPreferences', - 'mutationSubscriptionUpdateSubscriptionPreferencesRequest', - mutationSubscriptionUpdateSubscriptionPreferencesRequest, + const localVarPath = `/UpdateSubscriptionPreferences/{id}`.replace( + `{${'id'}}`, + encodeURIComponent(String(id)), ); - const localVarPath = - `/subscription/{id}/UpdateSubscriptionPreferences`.replace( - `{${'id'}}`, - encodeURIComponent(String(id)), - ); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -9191,7 +9085,7 @@ export const SubscriptionApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest, localVarRequestOptions, configuration, ); @@ -9216,32 +9110,32 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommentSubscriptionRequest} mutationSubscriptionCreateCommentSubscriptionRequest + * @param {SubscriptionCreateCommentSubscriptionRequest} subscriptionCreateCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionCreateCommentSubscription( + async subscriptionCreateCommentSubscription( addressId: string, id: number, - mutationSubscriptionCreateCommentSubscriptionRequest: MutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest: SubscriptionCreateCommentSubscriptionRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionCreateCommentSubscription( + await localVarAxiosParamCreator.subscriptionCreateCommentSubscription( addressId, id, - mutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionCreateCommentSubscription' + 'SubscriptionApi.subscriptionCreateCommentSubscription' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9255,32 +9149,32 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommunityAlertRequest} mutationSubscriptionCreateCommunityAlertRequest + * @param {SubscriptionCreateCommunityAlertRequest} subscriptionCreateCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionCreateCommunityAlert( + async subscriptionCreateCommunityAlert( addressId: string, id: number, - mutationSubscriptionCreateCommunityAlertRequest: MutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest: SubscriptionCreateCommunityAlertRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionCreateCommunityAlert( + await localVarAxiosParamCreator.subscriptionCreateCommunityAlert( addressId, id, - mutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionCreateCommunityAlert' + 'SubscriptionApi.subscriptionCreateCommunityAlert' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9294,32 +9188,32 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateThreadSubscriptionRequest} mutationSubscriptionCreateThreadSubscriptionRequest + * @param {SubscriptionCreateThreadSubscriptionRequest} subscriptionCreateThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionCreateThreadSubscription( + async subscriptionCreateThreadSubscription( addressId: string, id: number, - mutationSubscriptionCreateThreadSubscriptionRequest: MutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest: SubscriptionCreateThreadSubscriptionRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionCreateThreadSubscription( + await localVarAxiosParamCreator.subscriptionCreateThreadSubscription( addressId, id, - mutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionCreateThreadSubscription' + 'SubscriptionApi.subscriptionCreateThreadSubscription' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9333,29 +9227,29 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommentSubscriptionRequest} mutationSubscriptionDeleteCommentSubscriptionRequest + * @param {SubscriptionDeleteCommentSubscriptionRequest} subscriptionDeleteCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionDeleteCommentSubscription( + async subscriptionDeleteCommentSubscription( addressId: string, id: number, - mutationSubscriptionDeleteCommentSubscriptionRequest: MutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest: SubscriptionDeleteCommentSubscriptionRequest, options?: RawAxiosRequestConfig, ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionDeleteCommentSubscription( + await localVarAxiosParamCreator.subscriptionDeleteCommentSubscription( addressId, id, - mutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionDeleteCommentSubscription' + 'SubscriptionApi.subscriptionDeleteCommentSubscription' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9369,29 +9263,29 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommunityAlertRequest} mutationSubscriptionDeleteCommunityAlertRequest + * @param {SubscriptionDeleteCommunityAlertRequest} subscriptionDeleteCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionDeleteCommunityAlert( + async subscriptionDeleteCommunityAlert( addressId: string, id: number, - mutationSubscriptionDeleteCommunityAlertRequest: MutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest: SubscriptionDeleteCommunityAlertRequest, options?: RawAxiosRequestConfig, ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionDeleteCommunityAlert( + await localVarAxiosParamCreator.subscriptionDeleteCommunityAlert( addressId, id, - mutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionDeleteCommunityAlert' + 'SubscriptionApi.subscriptionDeleteCommunityAlert' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9405,29 +9299,29 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteThreadSubscriptionRequest} mutationSubscriptionDeleteThreadSubscriptionRequest + * @param {SubscriptionDeleteThreadSubscriptionRequest} subscriptionDeleteThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionDeleteThreadSubscription( + async subscriptionDeleteThreadSubscription( addressId: string, id: number, - mutationSubscriptionDeleteThreadSubscriptionRequest: MutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest: SubscriptionDeleteThreadSubscriptionRequest, options?: RawAxiosRequestConfig, ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionDeleteThreadSubscription( + await localVarAxiosParamCreator.subscriptionDeleteThreadSubscription( addressId, id, - mutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionDeleteThreadSubscription' + 'SubscriptionApi.subscriptionDeleteThreadSubscription' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9441,29 +9335,29 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionRegisterClientRegistrationToken( + async subscriptionRegisterClientRegistrationToken( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options?: RawAxiosRequestConfig, ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionRegisterClientRegistrationToken( + await localVarAxiosParamCreator.subscriptionRegisterClientRegistrationToken( addressId, id, - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionRegisterClientRegistrationToken' + 'SubscriptionApi.subscriptionRegisterClientRegistrationToken' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9477,29 +9371,29 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionUnregisterClientRegistrationToken( + async subscriptionUnregisterClientRegistrationToken( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options?: RawAxiosRequestConfig, ): Promise< (axios?: AxiosInstance, basePath?: string) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionUnregisterClientRegistrationToken( + await localVarAxiosParamCreator.subscriptionUnregisterClientRegistrationToken( addressId, id, - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionUnregisterClientRegistrationToken' + 'SubscriptionApi.subscriptionUnregisterClientRegistrationToken' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9513,32 +9407,32 @@ export const SubscriptionApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionUpdateSubscriptionPreferencesRequest} mutationSubscriptionUpdateSubscriptionPreferencesRequest + * @param {SubscriptionUpdateSubscriptionPreferencesRequest} subscriptionUpdateSubscriptionPreferencesRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationSubscriptionUpdateSubscriptionPreferences( + async subscriptionUpdateSubscriptionPreferences( addressId: string, id: number, - mutationSubscriptionUpdateSubscriptionPreferencesRequest: MutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest: SubscriptionUpdateSubscriptionPreferencesRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationSubscriptionUpdateSubscriptionPreferences( + await localVarAxiosParamCreator.subscriptionUpdateSubscriptionPreferences( addressId, id, - mutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest, options, ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap[ - 'SubscriptionApi.mutationSubscriptionUpdateSubscriptionPreferences' + 'SubscriptionApi.subscriptionUpdateSubscriptionPreferences' ]?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction( @@ -9566,21 +9460,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommentSubscriptionRequest} mutationSubscriptionCreateCommentSubscriptionRequest + * @param {SubscriptionCreateCommentSubscriptionRequest} subscriptionCreateCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionCreateCommentSubscription( + subscriptionCreateCommentSubscription( addressId: string, id: number, - mutationSubscriptionCreateCommentSubscriptionRequest: MutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest: SubscriptionCreateCommentSubscriptionRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationSubscriptionCreateCommentSubscription( + .subscriptionCreateCommentSubscription( addressId, id, - mutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest, options, ) .then((request) => request(axios, basePath)); @@ -9589,21 +9483,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommunityAlertRequest} mutationSubscriptionCreateCommunityAlertRequest + * @param {SubscriptionCreateCommunityAlertRequest} subscriptionCreateCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionCreateCommunityAlert( + subscriptionCreateCommunityAlert( addressId: string, id: number, - mutationSubscriptionCreateCommunityAlertRequest: MutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest: SubscriptionCreateCommunityAlertRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationSubscriptionCreateCommunityAlert( + .subscriptionCreateCommunityAlert( addressId, id, - mutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest, options, ) .then((request) => request(axios, basePath)); @@ -9612,21 +9506,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateThreadSubscriptionRequest} mutationSubscriptionCreateThreadSubscriptionRequest + * @param {SubscriptionCreateThreadSubscriptionRequest} subscriptionCreateThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionCreateThreadSubscription( + subscriptionCreateThreadSubscription( addressId: string, id: number, - mutationSubscriptionCreateThreadSubscriptionRequest: MutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest: SubscriptionCreateThreadSubscriptionRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationSubscriptionCreateThreadSubscription( + .subscriptionCreateThreadSubscription( addressId, id, - mutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest, options, ) .then((request) => request(axios, basePath)); @@ -9635,21 +9529,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommentSubscriptionRequest} mutationSubscriptionDeleteCommentSubscriptionRequest + * @param {SubscriptionDeleteCommentSubscriptionRequest} subscriptionDeleteCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionDeleteCommentSubscription( + subscriptionDeleteCommentSubscription( addressId: string, id: number, - mutationSubscriptionDeleteCommentSubscriptionRequest: MutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest: SubscriptionDeleteCommentSubscriptionRequest, options?: any, ): AxiosPromise { return localVarFp - .mutationSubscriptionDeleteCommentSubscription( + .subscriptionDeleteCommentSubscription( addressId, id, - mutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest, options, ) .then((request) => request(axios, basePath)); @@ -9658,21 +9552,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommunityAlertRequest} mutationSubscriptionDeleteCommunityAlertRequest + * @param {SubscriptionDeleteCommunityAlertRequest} subscriptionDeleteCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionDeleteCommunityAlert( + subscriptionDeleteCommunityAlert( addressId: string, id: number, - mutationSubscriptionDeleteCommunityAlertRequest: MutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest: SubscriptionDeleteCommunityAlertRequest, options?: any, ): AxiosPromise { return localVarFp - .mutationSubscriptionDeleteCommunityAlert( + .subscriptionDeleteCommunityAlert( addressId, id, - mutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest, options, ) .then((request) => request(axios, basePath)); @@ -9681,21 +9575,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteThreadSubscriptionRequest} mutationSubscriptionDeleteThreadSubscriptionRequest + * @param {SubscriptionDeleteThreadSubscriptionRequest} subscriptionDeleteThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionDeleteThreadSubscription( + subscriptionDeleteThreadSubscription( addressId: string, id: number, - mutationSubscriptionDeleteThreadSubscriptionRequest: MutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest: SubscriptionDeleteThreadSubscriptionRequest, options?: any, ): AxiosPromise { return localVarFp - .mutationSubscriptionDeleteThreadSubscription( + .subscriptionDeleteThreadSubscription( addressId, id, - mutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest, options, ) .then((request) => request(axios, basePath)); @@ -9704,21 +9598,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionRegisterClientRegistrationToken( + subscriptionRegisterClientRegistrationToken( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options?: any, ): AxiosPromise { return localVarFp - .mutationSubscriptionRegisterClientRegistrationToken( + .subscriptionRegisterClientRegistrationToken( addressId, id, - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, options, ) .then((request) => request(axios, basePath)); @@ -9727,21 +9621,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionUnregisterClientRegistrationToken( + subscriptionUnregisterClientRegistrationToken( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options?: any, ): AxiosPromise { return localVarFp - .mutationSubscriptionUnregisterClientRegistrationToken( + .subscriptionUnregisterClientRegistrationToken( addressId, id, - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, options, ) .then((request) => request(axios, basePath)); @@ -9750,21 +9644,21 @@ export const SubscriptionApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionUpdateSubscriptionPreferencesRequest} mutationSubscriptionUpdateSubscriptionPreferencesRequest + * @param {SubscriptionUpdateSubscriptionPreferencesRequest} subscriptionUpdateSubscriptionPreferencesRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationSubscriptionUpdateSubscriptionPreferences( + subscriptionUpdateSubscriptionPreferences( addressId: string, id: number, - mutationSubscriptionUpdateSubscriptionPreferencesRequest: MutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest: SubscriptionUpdateSubscriptionPreferencesRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationSubscriptionUpdateSubscriptionPreferences( + .subscriptionUpdateSubscriptionPreferences( addressId, id, - mutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest, options, ) .then((request) => request(axios, basePath)); @@ -9783,22 +9677,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommentSubscriptionRequest} mutationSubscriptionCreateCommentSubscriptionRequest + * @param {SubscriptionCreateCommentSubscriptionRequest} subscriptionCreateCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionCreateCommentSubscription( + public subscriptionCreateCommentSubscription( addressId: string, id: number, - mutationSubscriptionCreateCommentSubscriptionRequest: MutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest: SubscriptionCreateCommentSubscriptionRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionCreateCommentSubscription( + .subscriptionCreateCommentSubscription( addressId, id, - mutationSubscriptionCreateCommentSubscriptionRequest, + subscriptionCreateCommentSubscriptionRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9808,22 +9702,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateCommunityAlertRequest} mutationSubscriptionCreateCommunityAlertRequest + * @param {SubscriptionCreateCommunityAlertRequest} subscriptionCreateCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionCreateCommunityAlert( + public subscriptionCreateCommunityAlert( addressId: string, id: number, - mutationSubscriptionCreateCommunityAlertRequest: MutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest: SubscriptionCreateCommunityAlertRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionCreateCommunityAlert( + .subscriptionCreateCommunityAlert( addressId, id, - mutationSubscriptionCreateCommunityAlertRequest, + subscriptionCreateCommunityAlertRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9833,22 +9727,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionCreateThreadSubscriptionRequest} mutationSubscriptionCreateThreadSubscriptionRequest + * @param {SubscriptionCreateThreadSubscriptionRequest} subscriptionCreateThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionCreateThreadSubscription( + public subscriptionCreateThreadSubscription( addressId: string, id: number, - mutationSubscriptionCreateThreadSubscriptionRequest: MutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest: SubscriptionCreateThreadSubscriptionRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionCreateThreadSubscription( + .subscriptionCreateThreadSubscription( addressId, id, - mutationSubscriptionCreateThreadSubscriptionRequest, + subscriptionCreateThreadSubscriptionRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9858,22 +9752,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommentSubscriptionRequest} mutationSubscriptionDeleteCommentSubscriptionRequest + * @param {SubscriptionDeleteCommentSubscriptionRequest} subscriptionDeleteCommentSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionDeleteCommentSubscription( + public subscriptionDeleteCommentSubscription( addressId: string, id: number, - mutationSubscriptionDeleteCommentSubscriptionRequest: MutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest: SubscriptionDeleteCommentSubscriptionRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionDeleteCommentSubscription( + .subscriptionDeleteCommentSubscription( addressId, id, - mutationSubscriptionDeleteCommentSubscriptionRequest, + subscriptionDeleteCommentSubscriptionRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9883,22 +9777,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteCommunityAlertRequest} mutationSubscriptionDeleteCommunityAlertRequest + * @param {SubscriptionDeleteCommunityAlertRequest} subscriptionDeleteCommunityAlertRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionDeleteCommunityAlert( + public subscriptionDeleteCommunityAlert( addressId: string, id: number, - mutationSubscriptionDeleteCommunityAlertRequest: MutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest: SubscriptionDeleteCommunityAlertRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionDeleteCommunityAlert( + .subscriptionDeleteCommunityAlert( addressId, id, - mutationSubscriptionDeleteCommunityAlertRequest, + subscriptionDeleteCommunityAlertRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9908,22 +9802,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionDeleteThreadSubscriptionRequest} mutationSubscriptionDeleteThreadSubscriptionRequest + * @param {SubscriptionDeleteThreadSubscriptionRequest} subscriptionDeleteThreadSubscriptionRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionDeleteThreadSubscription( + public subscriptionDeleteThreadSubscription( addressId: string, id: number, - mutationSubscriptionDeleteThreadSubscriptionRequest: MutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest: SubscriptionDeleteThreadSubscriptionRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionDeleteThreadSubscription( + .subscriptionDeleteThreadSubscription( addressId, id, - mutationSubscriptionDeleteThreadSubscriptionRequest, + subscriptionDeleteThreadSubscriptionRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9933,22 +9827,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionRegisterClientRegistrationToken( + public subscriptionRegisterClientRegistrationToken( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionRegisterClientRegistrationToken( + .subscriptionRegisterClientRegistrationToken( addressId, id, - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9958,22 +9852,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionRegisterClientRegistrationTokenRequest} mutationSubscriptionRegisterClientRegistrationTokenRequest + * @param {SubscriptionRegisterClientRegistrationTokenRequest} subscriptionRegisterClientRegistrationTokenRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionUnregisterClientRegistrationToken( + public subscriptionUnregisterClientRegistrationToken( addressId: string, id: number, - mutationSubscriptionRegisterClientRegistrationTokenRequest: MutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest: SubscriptionRegisterClientRegistrationTokenRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionUnregisterClientRegistrationToken( + .subscriptionUnregisterClientRegistrationToken( addressId, id, - mutationSubscriptionRegisterClientRegistrationTokenRequest, + subscriptionRegisterClientRegistrationTokenRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -9983,22 +9877,22 @@ export class SubscriptionApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationSubscriptionUpdateSubscriptionPreferencesRequest} mutationSubscriptionUpdateSubscriptionPreferencesRequest + * @param {SubscriptionUpdateSubscriptionPreferencesRequest} subscriptionUpdateSubscriptionPreferencesRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SubscriptionApi */ - public mutationSubscriptionUpdateSubscriptionPreferences( + public subscriptionUpdateSubscriptionPreferences( addressId: string, id: number, - mutationSubscriptionUpdateSubscriptionPreferencesRequest: MutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest: SubscriptionUpdateSubscriptionPreferencesRequest, options?: RawAxiosRequestConfig, ) { return SubscriptionApiFp(this.configuration) - .mutationSubscriptionUpdateSubscriptionPreferences( + .subscriptionUpdateSubscriptionPreferences( addressId, id, - mutationSubscriptionUpdateSubscriptionPreferencesRequest, + subscriptionUpdateSubscriptionPreferencesRequest, options, ) .then((request) => request(this.axios, this.basePath)); @@ -10017,27 +9911,27 @@ export const UserApiAxiosParamCreator = function ( * * @param {string} addressId * @param {number} id - * @param {MutationUserUpdateUserRequest} mutationUserUpdateUserRequest + * @param {UserUpdateUserRequest} userUpdateUserRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationUserUpdateUser: async ( + userUpdateUser: async ( addressId: string, id: number, - mutationUserUpdateUserRequest: MutationUserUpdateUserRequest, + userUpdateUserRequest: UserUpdateUserRequest, options: RawAxiosRequestConfig = {}, ): Promise => { // verify required parameter 'addressId' is not null or undefined - assertParamExists('mutationUserUpdateUser', 'addressId', addressId); + assertParamExists('userUpdateUser', 'addressId', addressId); // verify required parameter 'id' is not null or undefined - assertParamExists('mutationUserUpdateUser', 'id', id); - // verify required parameter 'mutationUserUpdateUserRequest' is not null or undefined + assertParamExists('userUpdateUser', 'id', id); + // verify required parameter 'userUpdateUserRequest' is not null or undefined assertParamExists( - 'mutationUserUpdateUser', - 'mutationUserUpdateUserRequest', - mutationUserUpdateUserRequest, + 'userUpdateUser', + 'userUpdateUserRequest', + userUpdateUserRequest, ); - const localVarPath = `/user/{id}/UpdateUser`.replace( + const localVarPath = `/UpdateUser/{id}`.replace( `{${'id'}}`, encodeURIComponent(String(id)), ); @@ -10071,7 +9965,7 @@ export const UserApiAxiosParamCreator = function ( ...options.headers, }; localVarRequestOptions.data = serializeDataIfNeeded( - mutationUserUpdateUserRequest, + userUpdateUserRequest, localVarRequestOptions, configuration, ); @@ -10095,31 +9989,30 @@ export const UserApiFp = function (configuration?: Configuration) { * * @param {string} addressId * @param {number} id - * @param {MutationUserUpdateUserRequest} mutationUserUpdateUserRequest + * @param {UserUpdateUserRequest} userUpdateUserRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mutationUserUpdateUser( + async userUpdateUser( addressId: string, id: number, - mutationUserUpdateUserRequest: MutationUserUpdateUserRequest, + userUpdateUserRequest: UserUpdateUserRequest, options?: RawAxiosRequestConfig, ): Promise< ( axios?: AxiosInstance, basePath?: string, - ) => AxiosPromise + ) => AxiosPromise > { - const localVarAxiosArgs = - await localVarAxiosParamCreator.mutationUserUpdateUser( - addressId, - id, - mutationUserUpdateUserRequest, - options, - ); + const localVarAxiosArgs = await localVarAxiosParamCreator.userUpdateUser( + addressId, + id, + userUpdateUserRequest, + options, + ); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = - operationServerMap['UserApi.mutationUserUpdateUser']?.[ + operationServerMap['UserApi.userUpdateUser']?.[ localVarOperationServerIndex ]?.url; return (axios, basePath) => @@ -10148,23 +10041,18 @@ export const UserApiFactory = function ( * * @param {string} addressId * @param {number} id - * @param {MutationUserUpdateUserRequest} mutationUserUpdateUserRequest + * @param {UserUpdateUserRequest} userUpdateUserRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mutationUserUpdateUser( + userUpdateUser( addressId: string, id: number, - mutationUserUpdateUserRequest: MutationUserUpdateUserRequest, + userUpdateUserRequest: UserUpdateUserRequest, options?: any, - ): AxiosPromise { + ): AxiosPromise { return localVarFp - .mutationUserUpdateUser( - addressId, - id, - mutationUserUpdateUserRequest, - options, - ) + .userUpdateUser(addressId, id, userUpdateUserRequest, options) .then((request) => request(axios, basePath)); }, }; @@ -10181,24 +10069,19 @@ export class UserApi extends BaseAPI { * * @param {string} addressId * @param {number} id - * @param {MutationUserUpdateUserRequest} mutationUserUpdateUserRequest + * @param {UserUpdateUserRequest} userUpdateUserRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof UserApi */ - public mutationUserUpdateUser( + public userUpdateUser( addressId: string, id: number, - mutationUserUpdateUserRequest: MutationUserUpdateUserRequest, + userUpdateUserRequest: UserUpdateUserRequest, options?: RawAxiosRequestConfig, ) { return UserApiFp(this.configuration) - .mutationUserUpdateUser( - addressId, - id, - mutationUserUpdateUserRequest, - options, - ) + .userUpdateUser(addressId, id, userUpdateUserRequest, options) .then((request) => request(this.axios, this.basePath)); } } diff --git a/libs/api-client/test/index.ts b/libs/api-client/test/index.ts index e252aacf2de..02f6328d45c 100644 --- a/libs/api-client/test/index.ts +++ b/libs/api-client/test/index.ts @@ -8,7 +8,7 @@ async function main() { }); const client = new QueryApi(config); - const members = await client.queryCommunityGetMembers( + const members = await client.communityGetMembers( 'sushi', undefined, 10, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 565ad286dc3..f223cca8322 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -380,9 +380,9 @@ importers: sequelize: specifier: ^6.32.1 version: 6.37.3(pg@8.11.5) - trpc-openapi: - specifier: 1.1.2 - version: 1.1.2(@trpc/server@10.45.2)(zod@3.23.6) + trpc-swagger: + specifier: ^1.2.6 + version: 1.2.6(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(zod@3.23.6) typescript-logging: specifier: ^0.6.4 version: 0.6.4 @@ -8793,6 +8793,12 @@ packages: } engines: { node: '>=4' } + chalk-scripts@1.2.8: + resolution: + { + integrity: sha512-Mu3mEn4lbqJHZD+wqBE8kwGb1TaNgcMspDIZVDzDHxKhK1zB3Q8q49PP15z0CNNDu5wxSwxhdPV+8UcejOSWxA==, + } + chalk@2.4.2: resolution: { @@ -17958,13 +17964,14 @@ packages: } engines: { node: '>=6' } - trpc-openapi@1.1.2: + trpc-swagger@1.2.6: resolution: { - integrity: sha512-G2CT6q0nhhOGcYeAaK+volHNXRE8BFmNY+LwQA1cMXonh+iEUvl6T3OjF2HEGVvF0am9u9uo5hlMuXq5Wdweww==, + integrity: sha512-LVh2NicwYZdaUEvshY9IF1oL02z9PWjltY0CwTslHw4mi4DcSAP4bx/FPfp5+371oj75vujjNbOjGG9grNl3Xg==, } peerDependencies: - '@trpc/server': ^10.0.0 + '@trpc/client': ^10.45.2 + '@trpc/server': ^10.45.2 zod: ^3.14.4 ts-api-utils@1.3.0: @@ -25722,6 +25729,12 @@ snapshots: pathval: 1.1.1 type-detect: 4.0.8 + chalk-scripts@1.2.8: + dependencies: + chalk: 5.3.0 + performance-now: 2.1.0 + uuid: 9.0.1 + chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -31880,9 +31893,11 @@ snapshots: dependencies: matchit: 1.1.0 - trpc-openapi@1.1.2(@trpc/server@10.45.2)(zod@3.23.6): + trpc-swagger@1.2.6(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(zod@3.23.6): dependencies: + '@trpc/client': 10.45.2(@trpc/server@10.45.2) '@trpc/server': 10.45.2 + chalk-scripts: 1.2.8 co-body: 6.1.0 lodash.clonedeep: 4.5.0 node-mocks-http: 1.14.1