diff --git a/generated/models/ApiDropAndWave.ts b/generated/models/ApiDropAndWave.ts new file mode 100644 index 0000000000..165ad6596a --- /dev/null +++ b/generated/models/ApiDropAndWave.ts @@ -0,0 +1,46 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropV2 } from '../models/ApiDropV2'; +import { ApiWaveOverview } from '../models/ApiWaveOverview'; +import { HttpFile } from '../http/http'; + +export class ApiDropAndWave { + 'drop': ApiDropV2; + 'wave': ApiWaveOverview; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "drop", + "baseName": "drop", + "type": "ApiDropV2", + "format": "" + }, + { + "name": "wave", + "baseName": "wave", + "type": "ApiWaveOverview", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropAndWave.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropBoostV2.ts b/generated/models/ApiDropBoostV2.ts new file mode 100644 index 0000000000..cd078ee1e8 --- /dev/null +++ b/generated/models/ApiDropBoostV2.ts @@ -0,0 +1,45 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiIdentityOverview } from '../models/ApiIdentityOverview'; +import { HttpFile } from '../http/http'; + +export class ApiDropBoostV2 { + 'booster': ApiIdentityOverview; + 'boosted_at': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "booster", + "baseName": "booster", + "type": "ApiIdentityOverview", + "format": "" + }, + { + "name": "boosted_at", + "baseName": "boosted_at", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return ApiDropBoostV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropMainType.ts b/generated/models/ApiDropMainType.ts new file mode 100644 index 0000000000..86862fa182 --- /dev/null +++ b/generated/models/ApiDropMainType.ts @@ -0,0 +1,19 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export enum ApiDropMainType { + Chat = 'CHAT', + Submission = 'SUBMISSION' +} diff --git a/generated/models/ApiDropMetadataV2.ts b/generated/models/ApiDropMetadataV2.ts new file mode 100644 index 0000000000..c08b338cf0 --- /dev/null +++ b/generated/models/ApiDropMetadataV2.ts @@ -0,0 +1,52 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropResolvedIdentityProfileV2 } from '../models/ApiDropResolvedIdentityProfileV2'; +import { HttpFile } from '../http/http'; + +export class ApiDropMetadataV2 { + 'data_key': string; + 'data_value': string; + 'resolved_profile'?: ApiDropResolvedIdentityProfileV2; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data_key", + "baseName": "data_key", + "type": "string", + "format": "" + }, + { + "name": "data_value", + "baseName": "data_value", + "type": "string", + "format": "" + }, + { + "name": "resolved_profile", + "baseName": "resolved_profile", + "type": "ApiDropResolvedIdentityProfileV2", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropMetadataV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropPartQuoteV2.ts b/generated/models/ApiDropPartQuoteV2.ts new file mode 100644 index 0000000000..162a12cb49 --- /dev/null +++ b/generated/models/ApiDropPartQuoteV2.ts @@ -0,0 +1,44 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiDropPartQuoteV2 { + 'drop_id': string; + 'drop_part_id': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "drop_id", + "baseName": "drop_id", + "type": "string", + "format": "" + }, + { + "name": "drop_part_id", + "baseName": "drop_part_id", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return ApiDropPartQuoteV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropPartV2.ts b/generated/models/ApiDropPartV2.ts new file mode 100644 index 0000000000..bba6a729ca --- /dev/null +++ b/generated/models/ApiDropPartV2.ts @@ -0,0 +1,68 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiAttachment } from '../models/ApiAttachment'; +import { ApiDropMedia } from '../models/ApiDropMedia'; +import { ApiDropPartQuoteV2 } from '../models/ApiDropPartQuoteV2'; +import { HttpFile } from '../http/http'; + +export class ApiDropPartV2 { + 'part_no': number; + 'content'?: string; + 'media'?: Array; + 'attachments'?: Array; + 'quoted_drop'?: ApiDropPartQuoteV2; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "part_no", + "baseName": "part_no", + "type": "number", + "format": "int64" + }, + { + "name": "content", + "baseName": "content", + "type": "string", + "format": "" + }, + { + "name": "media", + "baseName": "media", + "type": "Array", + "format": "" + }, + { + "name": "attachments", + "baseName": "attachments", + "type": "Array", + "format": "" + }, + { + "name": "quoted_drop", + "baseName": "quoted_drop", + "type": "ApiDropPartQuoteV2", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropPartV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropReactionCounter.ts b/generated/models/ApiDropReactionCounter.ts new file mode 100644 index 0000000000..eddd4b6774 --- /dev/null +++ b/generated/models/ApiDropReactionCounter.ts @@ -0,0 +1,44 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiDropReactionCounter { + 'reaction': string; + 'count': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "reaction", + "baseName": "reaction", + "type": "string", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return ApiDropReactionCounter.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropReactionV2.ts b/generated/models/ApiDropReactionV2.ts new file mode 100644 index 0000000000..0914c91b00 --- /dev/null +++ b/generated/models/ApiDropReactionV2.ts @@ -0,0 +1,45 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiIdentityOverview } from '../models/ApiIdentityOverview'; +import { HttpFile } from '../http/http'; + +export class ApiDropReactionV2 { + 'reaction': string; + 'reactors': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "reaction", + "baseName": "reaction", + "type": "string", + "format": "" + }, + { + "name": "reactors", + "baseName": "reactors", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropReactionV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropResolvedIdentityProfileV2.ts b/generated/models/ApiDropResolvedIdentityProfileV2.ts new file mode 100644 index 0000000000..419d585886 --- /dev/null +++ b/generated/models/ApiDropResolvedIdentityProfileV2.ts @@ -0,0 +1,106 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiIdentityOverviewBadges } from '../models/ApiIdentityOverviewBadges'; +import { ApiIdentityOverviewContextProfileContext } from '../models/ApiIdentityOverviewContextProfileContext'; +import { ApiProfileClassification } from '../models/ApiProfileClassification'; +import { ApiProfileRepCategorySummary } from '../models/ApiProfileRepCategorySummary'; +import { HttpFile } from '../http/http'; + +export class ApiDropResolvedIdentityProfileV2 { + 'id': string; + 'handle'?: string; + 'primary_address': string; + 'pfp'?: string; + 'level': number; + 'classification': ApiProfileClassification; + 'context_profile_context'?: ApiIdentityOverviewContextProfileContext; + 'badges': ApiIdentityOverviewBadges; + 'bio'?: string; + 'top_rep_categories'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "handle", + "baseName": "handle", + "type": "string", + "format": "" + }, + { + "name": "primary_address", + "baseName": "primary_address", + "type": "string", + "format": "" + }, + { + "name": "pfp", + "baseName": "pfp", + "type": "string", + "format": "" + }, + { + "name": "level", + "baseName": "level", + "type": "number", + "format": "int64" + }, + { + "name": "classification", + "baseName": "classification", + "type": "ApiProfileClassification", + "format": "" + }, + { + "name": "context_profile_context", + "baseName": "context_profile_context", + "type": "ApiIdentityOverviewContextProfileContext", + "format": "" + }, + { + "name": "badges", + "baseName": "badges", + "type": "ApiIdentityOverviewBadges", + "format": "" + }, + { + "name": "bio", + "baseName": "bio", + "type": "string", + "format": "" + }, + { + "name": "top_rep_categories", + "baseName": "top_rep_categories", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropResolvedIdentityProfileV2.attributeTypeMap; + } + + public constructor() { + } +} + + diff --git a/generated/models/ApiDropV2.ts b/generated/models/ApiDropV2.ts new file mode 100644 index 0000000000..f9930cc3bf --- /dev/null +++ b/generated/models/ApiDropV2.ts @@ -0,0 +1,206 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiAttachment } from '../models/ApiAttachment'; +import { ApiDropGroupMention } from '../models/ApiDropGroupMention'; +import { ApiDropMainType } from '../models/ApiDropMainType'; +import { ApiDropMedia } from '../models/ApiDropMedia'; +import { ApiDropMentionedUser } from '../models/ApiDropMentionedUser'; +import { ApiDropNftLink } from '../models/ApiDropNftLink'; +import { ApiDropReactionCounter } from '../models/ApiDropReactionCounter'; +import { ApiDropReferencedNFT } from '../models/ApiDropReferencedNFT'; +import { ApiDropV2ContextProfileContext } from '../models/ApiDropV2ContextProfileContext'; +import { ApiIdentityOverview } from '../models/ApiIdentityOverview'; +import { ApiMentionedWaveV2 } from '../models/ApiMentionedWaveV2'; +import { ApiReplyToDropV2 } from '../models/ApiReplyToDropV2'; +import { ApiSubmissionDropContext } from '../models/ApiSubmissionDropContext'; +import { HttpFile } from '../http/http'; + +export class ApiDropV2 { + 'id': string; + 'serial_no': number; + 'created_at': number; + 'updated_at'?: number; + 'is_signed': boolean; + 'hide_link_preview': boolean; + 'title'?: string; + 'content'?: string; + 'media'?: Array; + 'attachments'?: Array; + 'parts_count': number; + 'author': ApiIdentityOverview; + 'drop_type': ApiDropMainType; + 'referenced_nfts'?: Array; + 'mentioned_users'?: Array; + 'mentioned_groups'?: Array; + 'mentioned_waves'?: Array; + 'nft_links'?: Array; + 'reactions'?: Array; + 'boosts': number; + 'reply_to_drop'?: ApiReplyToDropV2; + 'submission_context'?: ApiSubmissionDropContext; + 'context_profile_context'?: ApiDropV2ContextProfileContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "serial_no", + "baseName": "serial_no", + "type": "number", + "format": "int64" + }, + { + "name": "created_at", + "baseName": "created_at", + "type": "number", + "format": "int64" + }, + { + "name": "updated_at", + "baseName": "updated_at", + "type": "number", + "format": "int64" + }, + { + "name": "is_signed", + "baseName": "is_signed", + "type": "boolean", + "format": "" + }, + { + "name": "hide_link_preview", + "baseName": "hide_link_preview", + "type": "boolean", + "format": "" + }, + { + "name": "title", + "baseName": "title", + "type": "string", + "format": "" + }, + { + "name": "content", + "baseName": "content", + "type": "string", + "format": "" + }, + { + "name": "media", + "baseName": "media", + "type": "Array", + "format": "" + }, + { + "name": "attachments", + "baseName": "attachments", + "type": "Array", + "format": "" + }, + { + "name": "parts_count", + "baseName": "parts_count", + "type": "number", + "format": "int64" + }, + { + "name": "author", + "baseName": "author", + "type": "ApiIdentityOverview", + "format": "" + }, + { + "name": "drop_type", + "baseName": "drop_type", + "type": "ApiDropMainType", + "format": "" + }, + { + "name": "referenced_nfts", + "baseName": "referenced_nfts", + "type": "Array", + "format": "" + }, + { + "name": "mentioned_users", + "baseName": "mentioned_users", + "type": "Array", + "format": "" + }, + { + "name": "mentioned_groups", + "baseName": "mentioned_groups", + "type": "Array", + "format": "" + }, + { + "name": "mentioned_waves", + "baseName": "mentioned_waves", + "type": "Array", + "format": "" + }, + { + "name": "nft_links", + "baseName": "nft_links", + "type": "Array", + "format": "" + }, + { + "name": "reactions", + "baseName": "reactions", + "type": "Array", + "format": "" + }, + { + "name": "boosts", + "baseName": "boosts", + "type": "number", + "format": "int64" + }, + { + "name": "reply_to_drop", + "baseName": "reply_to_drop", + "type": "ApiReplyToDropV2", + "format": "" + }, + { + "name": "submission_context", + "baseName": "submission_context", + "type": "ApiSubmissionDropContext", + "format": "" + }, + { + "name": "context_profile_context", + "baseName": "context_profile_context", + "type": "ApiDropV2ContextProfileContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropV2.attributeTypeMap; + } + + public constructor() { + } +} + + diff --git a/generated/models/ApiDropV2ContextProfileContext.ts b/generated/models/ApiDropV2ContextProfileContext.ts new file mode 100644 index 0000000000..f6fad9e068 --- /dev/null +++ b/generated/models/ApiDropV2ContextProfileContext.ts @@ -0,0 +1,58 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiDropV2ContextProfileContext { + 'reaction'?: string; + 'boosted': boolean; + 'bookmarked': boolean; + 'subscribed': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "reaction", + "baseName": "reaction", + "type": "string", + "format": "" + }, + { + "name": "boosted", + "baseName": "boosted", + "type": "boolean", + "format": "" + }, + { + "name": "bookmarked", + "baseName": "bookmarked", + "type": "boolean", + "format": "" + }, + { + "name": "subscribed", + "baseName": "subscribed", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropV2ContextProfileContext.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropV2Page.ts b/generated/models/ApiDropV2Page.ts new file mode 100644 index 0000000000..aeaeec8086 --- /dev/null +++ b/generated/models/ApiDropV2Page.ts @@ -0,0 +1,59 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropV2 } from '../models/ApiDropV2'; +import { HttpFile } from '../http/http'; + +export class ApiDropV2Page { + 'data': Array; + 'count': number; + 'page': number; + 'next': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "int64" + }, + { + "name": "page", + "baseName": "page", + "type": "number", + "format": "int64" + }, + { + "name": "next", + "baseName": "next", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropV2Page.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropV2PageWithoutCount.ts b/generated/models/ApiDropV2PageWithoutCount.ts new file mode 100644 index 0000000000..43f20d21e1 --- /dev/null +++ b/generated/models/ApiDropV2PageWithoutCount.ts @@ -0,0 +1,52 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropV2 } from '../models/ApiDropV2'; +import { HttpFile } from '../http/http'; + +export class ApiDropV2PageWithoutCount { + 'data': Array; + 'page': number; + 'next': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "page", + "baseName": "page", + "type": "number", + "format": "int64" + }, + { + "name": "next", + "baseName": "next", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropV2PageWithoutCount.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropVoteEditLog.ts b/generated/models/ApiDropVoteEditLog.ts new file mode 100644 index 0000000000..ff357b77f7 --- /dev/null +++ b/generated/models/ApiDropVoteEditLog.ts @@ -0,0 +1,66 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiIdentityOverview } from '../models/ApiIdentityOverview'; +import { HttpFile } from '../http/http'; + +export class ApiDropVoteEditLog { + 'id': string; + 'old_vote': number; + 'new_vote': number; + 'created_at': number; + 'voter': ApiIdentityOverview; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "old_vote", + "baseName": "old_vote", + "type": "number", + "format": "int64" + }, + { + "name": "new_vote", + "baseName": "new_vote", + "type": "number", + "format": "int64" + }, + { + "name": "created_at", + "baseName": "created_at", + "type": "number", + "format": "int64" + }, + { + "name": "voter", + "baseName": "voter", + "type": "ApiIdentityOverview", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropVoteEditLog.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropVoter.ts b/generated/models/ApiDropVoter.ts new file mode 100644 index 0000000000..010e97b2eb --- /dev/null +++ b/generated/models/ApiDropVoter.ts @@ -0,0 +1,45 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiIdentityOverview } from '../models/ApiIdentityOverview'; +import { HttpFile } from '../http/http'; + +export class ApiDropVoter { + 'voter': ApiIdentityOverview; + 'vote': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "voter", + "baseName": "voter", + "type": "ApiIdentityOverview", + "format": "" + }, + { + "name": "vote", + "baseName": "vote", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return ApiDropVoter.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropVotersPage.ts b/generated/models/ApiDropVotersPage.ts new file mode 100644 index 0000000000..4f4bf5b53c --- /dev/null +++ b/generated/models/ApiDropVotersPage.ts @@ -0,0 +1,59 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropVoter } from '../models/ApiDropVoter'; +import { HttpFile } from '../http/http'; + +export class ApiDropVotersPage { + 'data': Array; + 'count': number; + 'page': number; + 'next': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "int64" + }, + { + "name": "page", + "baseName": "page", + "type": "number", + "format": "int64" + }, + { + "name": "next", + "baseName": "next", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropVotersPage.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiDropsLeaderboardPageV2.ts b/generated/models/ApiDropsLeaderboardPageV2.ts new file mode 100644 index 0000000000..1f45d47060 --- /dev/null +++ b/generated/models/ApiDropsLeaderboardPageV2.ts @@ -0,0 +1,67 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropV2 } from '../models/ApiDropV2'; +import { ApiWaveMin } from '../models/ApiWaveMin'; +import { HttpFile } from '../http/http'; + +export class ApiDropsLeaderboardPageV2 { + 'drops': Array; + 'wave': ApiWaveMin; + 'count': number; + 'page': number; + 'next': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "drops", + "baseName": "drops", + "type": "Array", + "format": "" + }, + { + "name": "wave", + "baseName": "wave", + "type": "ApiWaveMin", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "int64" + }, + { + "name": "page", + "baseName": "page", + "type": "number", + "format": "int64" + }, + { + "name": "next", + "baseName": "next", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiDropsLeaderboardPageV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiIdentityOverview.ts b/generated/models/ApiIdentityOverview.ts new file mode 100644 index 0000000000..c19744e90c --- /dev/null +++ b/generated/models/ApiIdentityOverview.ts @@ -0,0 +1,91 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiIdentityOverviewBadges } from '../models/ApiIdentityOverviewBadges'; +import { ApiIdentityOverviewContextProfileContext } from '../models/ApiIdentityOverviewContextProfileContext'; +import { ApiProfileClassification } from '../models/ApiProfileClassification'; +import { HttpFile } from '../http/http'; + +export class ApiIdentityOverview { + 'id': string; + 'handle'?: string; + 'primary_address': string; + 'pfp'?: string; + 'level': number; + 'classification': ApiProfileClassification; + 'context_profile_context'?: ApiIdentityOverviewContextProfileContext; + 'badges': ApiIdentityOverviewBadges; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "handle", + "baseName": "handle", + "type": "string", + "format": "" + }, + { + "name": "primary_address", + "baseName": "primary_address", + "type": "string", + "format": "" + }, + { + "name": "pfp", + "baseName": "pfp", + "type": "string", + "format": "" + }, + { + "name": "level", + "baseName": "level", + "type": "number", + "format": "int64" + }, + { + "name": "classification", + "baseName": "classification", + "type": "ApiProfileClassification", + "format": "" + }, + { + "name": "context_profile_context", + "baseName": "context_profile_context", + "type": "ApiIdentityOverviewContextProfileContext", + "format": "" + }, + { + "name": "badges", + "baseName": "badges", + "type": "ApiIdentityOverviewBadges", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiIdentityOverview.attributeTypeMap; + } + + public constructor() { + } +} + + diff --git a/generated/models/ApiIdentityOverviewBadges.ts b/generated/models/ApiIdentityOverviewBadges.ts new file mode 100644 index 0000000000..50d8f8d0f9 --- /dev/null +++ b/generated/models/ApiIdentityOverviewBadges.ts @@ -0,0 +1,51 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiIdentityOverviewBadges { + 'artist_of_main_stage_submissions': number; + 'artist_of_memes': number; + 'profile_wave_id'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "artist_of_main_stage_submissions", + "baseName": "artist_of_main_stage_submissions", + "type": "number", + "format": "int64" + }, + { + "name": "artist_of_memes", + "baseName": "artist_of_memes", + "type": "number", + "format": "int64" + }, + { + "name": "profile_wave_id", + "baseName": "profile_wave_id", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiIdentityOverviewBadges.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiIdentityOverviewContextProfileContext.ts b/generated/models/ApiIdentityOverviewContextProfileContext.ts new file mode 100644 index 0000000000..b7cfeb7ba4 --- /dev/null +++ b/generated/models/ApiIdentityOverviewContextProfileContext.ts @@ -0,0 +1,37 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiIdentityOverviewContextProfileContext { + 'subscribed': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "subscribed", + "baseName": "subscribed", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiIdentityOverviewContextProfileContext.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiMentionedWaveV2.ts b/generated/models/ApiMentionedWaveV2.ts new file mode 100644 index 0000000000..0b7b613c56 --- /dev/null +++ b/generated/models/ApiMentionedWaveV2.ts @@ -0,0 +1,58 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiMentionedWaveV2 { + 'id': string; + 'name'?: string; + 'pfp'?: string; + 'in_content': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "pfp", + "baseName": "pfp", + "type": "string", + "format": "" + }, + { + "name": "in_content", + "baseName": "in_content", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiMentionedWaveV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiNotificationAdditionalContextV2.ts b/generated/models/ApiNotificationAdditionalContextV2.ts new file mode 100644 index 0000000000..7bc8a98ae2 --- /dev/null +++ b/generated/models/ApiNotificationAdditionalContextV2.ts @@ -0,0 +1,132 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiNotificationDropReactedReactor } from '../models/ApiNotificationDropReactedReactor'; +import { HttpFile } from '../http/http'; + +/** +* Notification-specific additional context. For DROP_REACTED notifications this includes reaction and reactors, where each reactor only has handle and pfp. +*/ +export class ApiNotificationAdditionalContextV2 { + 'amount'?: number; + 'total'?: number; + 'category'?: string; + 'vote'?: number; + 'reaction'?: string; + 'reactors'?: Array; + 'quote_drop_id'?: string; + 'quote_drop_part'?: number; + 'quoted_drop_id'?: string; + 'quoted_drop_part'?: number; + 'reply_drop_id'?: string; + 'replied_drop_id'?: string; + 'replied_drop_part'?: number; + 'wave_id'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "amount", + "baseName": "amount", + "type": "number", + "format": "double" + }, + { + "name": "total", + "baseName": "total", + "type": "number", + "format": "double" + }, + { + "name": "category", + "baseName": "category", + "type": "string", + "format": "" + }, + { + "name": "vote", + "baseName": "vote", + "type": "number", + "format": "double" + }, + { + "name": "reaction", + "baseName": "reaction", + "type": "string", + "format": "" + }, + { + "name": "reactors", + "baseName": "reactors", + "type": "Array", + "format": "" + }, + { + "name": "quote_drop_id", + "baseName": "quote_drop_id", + "type": "string", + "format": "" + }, + { + "name": "quote_drop_part", + "baseName": "quote_drop_part", + "type": "number", + "format": "int64" + }, + { + "name": "quoted_drop_id", + "baseName": "quoted_drop_id", + "type": "string", + "format": "" + }, + { + "name": "quoted_drop_part", + "baseName": "quoted_drop_part", + "type": "number", + "format": "int64" + }, + { + "name": "reply_drop_id", + "baseName": "reply_drop_id", + "type": "string", + "format": "" + }, + { + "name": "replied_drop_id", + "baseName": "replied_drop_id", + "type": "string", + "format": "" + }, + { + "name": "replied_drop_part", + "baseName": "replied_drop_part", + "type": "number", + "format": "int64" + }, + { + "name": "wave_id", + "baseName": "wave_id", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiNotificationAdditionalContextV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiNotificationDropReactedReactor.ts b/generated/models/ApiNotificationDropReactedReactor.ts new file mode 100644 index 0000000000..58a3beebb4 --- /dev/null +++ b/generated/models/ApiNotificationDropReactedReactor.ts @@ -0,0 +1,44 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiNotificationDropReactedReactor { + 'handle'?: string; + 'pfp'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "handle", + "baseName": "handle", + "type": "string", + "format": "" + }, + { + "name": "pfp", + "baseName": "pfp", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiNotificationDropReactedReactor.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiNotificationV2.ts b/generated/models/ApiNotificationV2.ts new file mode 100644 index 0000000000..e94d6f50f0 --- /dev/null +++ b/generated/models/ApiNotificationV2.ts @@ -0,0 +1,85 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropV2 } from '../models/ApiDropV2'; +import { ApiIdentityOverview } from '../models/ApiIdentityOverview'; +import { ApiNotificationAdditionalContextV2 } from '../models/ApiNotificationAdditionalContextV2'; +import { ApiNotificationCause } from '../models/ApiNotificationCause'; +import { HttpFile } from '../http/http'; + +export class ApiNotificationV2 { + 'id': number; + 'cause': ApiNotificationCause; + 'created_at': number; + 'read_at': number | null; + 'related_identity': ApiIdentityOverview; + 'related_drops': Array; + 'additional_context': ApiNotificationAdditionalContextV2; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "number", + "format": "int64" + }, + { + "name": "cause", + "baseName": "cause", + "type": "ApiNotificationCause", + "format": "" + }, + { + "name": "created_at", + "baseName": "created_at", + "type": "number", + "format": "int64" + }, + { + "name": "read_at", + "baseName": "read_at", + "type": "number", + "format": "int64" + }, + { + "name": "related_identity", + "baseName": "related_identity", + "type": "ApiIdentityOverview", + "format": "" + }, + { + "name": "related_drops", + "baseName": "related_drops", + "type": "Array", + "format": "" + }, + { + "name": "additional_context", + "baseName": "additional_context", + "type": "ApiNotificationAdditionalContextV2", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiNotificationV2.attributeTypeMap; + } + + public constructor() { + } +} + + diff --git a/generated/models/ApiNotificationsResponseV2.ts b/generated/models/ApiNotificationsResponseV2.ts new file mode 100644 index 0000000000..59eae25954 --- /dev/null +++ b/generated/models/ApiNotificationsResponseV2.ts @@ -0,0 +1,45 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiNotificationV2 } from '../models/ApiNotificationV2'; +import { HttpFile } from '../http/http'; + +export class ApiNotificationsResponseV2 { + 'notifications': Array; + 'unread_count': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "notifications", + "baseName": "notifications", + "type": "Array", + "format": "" + }, + { + "name": "unread_count", + "baseName": "unread_count", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return ApiNotificationsResponseV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiReplyToDropAuthor.ts b/generated/models/ApiReplyToDropAuthor.ts new file mode 100644 index 0000000000..a6e5fa99a9 --- /dev/null +++ b/generated/models/ApiReplyToDropAuthor.ts @@ -0,0 +1,44 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiReplyToDropAuthor { + 'handle': string; + 'pfp': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "handle", + "baseName": "handle", + "type": "string", + "format": "" + }, + { + "name": "pfp", + "baseName": "pfp", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiReplyToDropAuthor.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiReplyToDropV2.ts b/generated/models/ApiReplyToDropV2.ts new file mode 100644 index 0000000000..b8fbc0fe3c --- /dev/null +++ b/generated/models/ApiReplyToDropV2.ts @@ -0,0 +1,59 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiReplyToDropAuthor } from '../models/ApiReplyToDropAuthor'; +import { HttpFile } from '../http/http'; + +export class ApiReplyToDropV2 { + 'id': string; + 'serial_no'?: number; + 'content'?: string; + 'author'?: ApiReplyToDropAuthor; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "serial_no", + "baseName": "serial_no", + "type": "number", + "format": "int64" + }, + { + "name": "content", + "baseName": "content", + "type": "string", + "format": "" + }, + { + "name": "author", + "baseName": "author", + "type": "ApiReplyToDropAuthor", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiReplyToDropV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiSubmissionDropContext.ts b/generated/models/ApiSubmissionDropContext.ts new file mode 100644 index 0000000000..5e3a52ba46 --- /dev/null +++ b/generated/models/ApiSubmissionDropContext.ts @@ -0,0 +1,55 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiSubmissionDropStatus } from '../models/ApiSubmissionDropStatus'; +import { ApiSubmissionDropVoting } from '../models/ApiSubmissionDropVoting'; +import { HttpFile } from '../http/http'; + +export class ApiSubmissionDropContext { + 'status': ApiSubmissionDropStatus; + 'voting': ApiSubmissionDropVoting; + 'has_metadata': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "status", + "baseName": "status", + "type": "ApiSubmissionDropStatus", + "format": "" + }, + { + "name": "voting", + "baseName": "voting", + "type": "ApiSubmissionDropVoting", + "format": "" + }, + { + "name": "has_metadata", + "baseName": "has_metadata", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiSubmissionDropContext.attributeTypeMap; + } + + public constructor() { + } +} + + diff --git a/generated/models/ApiSubmissionDropStatus.ts b/generated/models/ApiSubmissionDropStatus.ts new file mode 100644 index 0000000000..65a6634501 --- /dev/null +++ b/generated/models/ApiSubmissionDropStatus.ts @@ -0,0 +1,19 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export enum ApiSubmissionDropStatus { + Active = 'ACTIVE', + Winner = 'WINNER' +} diff --git a/generated/models/ApiSubmissionDropVoting.ts b/generated/models/ApiSubmissionDropVoting.ts new file mode 100644 index 0000000000..96f40dd31b --- /dev/null +++ b/generated/models/ApiSubmissionDropVoting.ts @@ -0,0 +1,80 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiSubmissionDropVotingContextProfileContext } from '../models/ApiSubmissionDropVotingContextProfileContext'; +import { HttpFile } from '../http/http'; + +export class ApiSubmissionDropVoting { + 'is_open': boolean; + 'context_profile_context'?: ApiSubmissionDropVotingContextProfileContext; + 'total_votes_given': number; + 'current_calculated_vote': number; + 'predicted_final_vote': number; + 'voters_count': number; + 'place': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "is_open", + "baseName": "is_open", + "type": "boolean", + "format": "" + }, + { + "name": "context_profile_context", + "baseName": "context_profile_context", + "type": "ApiSubmissionDropVotingContextProfileContext", + "format": "" + }, + { + "name": "total_votes_given", + "baseName": "total_votes_given", + "type": "number", + "format": "int64" + }, + { + "name": "current_calculated_vote", + "baseName": "current_calculated_vote", + "type": "number", + "format": "int64" + }, + { + "name": "predicted_final_vote", + "baseName": "predicted_final_vote", + "type": "number", + "format": "int64" + }, + { + "name": "voters_count", + "baseName": "voters_count", + "type": "number", + "format": "int64" + }, + { + "name": "place", + "baseName": "place", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return ApiSubmissionDropVoting.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiSubmissionDropVotingContextProfileContext.ts b/generated/models/ApiSubmissionDropVotingContextProfileContext.ts new file mode 100644 index 0000000000..db54e5942f --- /dev/null +++ b/generated/models/ApiSubmissionDropVotingContextProfileContext.ts @@ -0,0 +1,58 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiSubmissionDropVotingContextProfileContext { + 'can_vote': boolean; + 'min': number; + 'max': number; + 'current': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "can_vote", + "baseName": "can_vote", + "type": "boolean", + "format": "" + }, + { + "name": "min", + "baseName": "min", + "type": "number", + "format": "int64" + }, + { + "name": "max", + "baseName": "max", + "type": "number", + "format": "int64" + }, + { + "name": "current", + "baseName": "current", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return ApiSubmissionDropVotingContextProfileContext.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWaveDecisionV2.ts b/generated/models/ApiWaveDecisionV2.ts new file mode 100644 index 0000000000..5e21232b80 --- /dev/null +++ b/generated/models/ApiWaveDecisionV2.ts @@ -0,0 +1,45 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiWaveDecisionWinnerV2 } from '../models/ApiWaveDecisionWinnerV2'; +import { HttpFile } from '../http/http'; + +export class ApiWaveDecisionV2 { + 'decision_time': number; + 'winners': Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "decision_time", + "baseName": "decision_time", + "type": "number", + "format": "int62" + }, + { + "name": "winners", + "baseName": "winners", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiWaveDecisionV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWaveDecisionWinnerV2.ts b/generated/models/ApiWaveDecisionWinnerV2.ts new file mode 100644 index 0000000000..158676cdea --- /dev/null +++ b/generated/models/ApiWaveDecisionWinnerV2.ts @@ -0,0 +1,53 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropV2 } from '../models/ApiDropV2'; +import { ApiWaveDecisionAward } from '../models/ApiWaveDecisionAward'; +import { HttpFile } from '../http/http'; + +export class ApiWaveDecisionWinnerV2 { + 'place': number; + 'awards': Array; + 'drop': ApiDropV2; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "place", + "baseName": "place", + "type": "number", + "format": "int64" + }, + { + "name": "awards", + "baseName": "awards", + "type": "Array", + "format": "" + }, + { + "name": "drop", + "baseName": "drop", + "type": "ApiDropV2", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiWaveDecisionWinnerV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWaveDecisionsPageV2.ts b/generated/models/ApiWaveDecisionsPageV2.ts new file mode 100644 index 0000000000..cc12254a2e --- /dev/null +++ b/generated/models/ApiWaveDecisionsPageV2.ts @@ -0,0 +1,59 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiWaveDecisionV2 } from '../models/ApiWaveDecisionV2'; +import { HttpFile } from '../http/http'; + +export class ApiWaveDecisionsPageV2 { + 'data': Array; + 'count': number; + 'page': number; + 'next': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "int64" + }, + { + "name": "page", + "baseName": "page", + "type": "number", + "format": "int64" + }, + { + "name": "next", + "baseName": "next", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiWaveDecisionsPageV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWaveDropsFeedV2.ts b/generated/models/ApiWaveDropsFeedV2.ts new file mode 100644 index 0000000000..2a6807f471 --- /dev/null +++ b/generated/models/ApiWaveDropsFeedV2.ts @@ -0,0 +1,61 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiDropTraceItem } from '../models/ApiDropTraceItem'; +import { ApiDropV2 } from '../models/ApiDropV2'; +import { ApiWaveOverview } from '../models/ApiWaveOverview'; +import { HttpFile } from '../http/http'; + +export class ApiWaveDropsFeedV2 { + 'wave': ApiWaveOverview; + 'drops': Array; + 'root_drop'?: ApiDropV2; + 'trace'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "wave", + "baseName": "wave", + "type": "ApiWaveOverview", + "format": "" + }, + { + "name": "drops", + "baseName": "drops", + "type": "Array", + "format": "" + }, + { + "name": "root_drop", + "baseName": "root_drop", + "type": "ApiDropV2", + "format": "" + }, + { + "name": "trace", + "baseName": "trace", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiWaveDropsFeedV2.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWaveOverview.ts b/generated/models/ApiWaveOverview.ts new file mode 100644 index 0000000000..1f3d1b92dc --- /dev/null +++ b/generated/models/ApiWaveOverview.ts @@ -0,0 +1,94 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiWaveOverviewContextProfileContext } from '../models/ApiWaveOverviewContextProfileContext'; +import { HttpFile } from '../http/http'; + +export class ApiWaveOverview { + 'id': string; + 'name': string; + 'pfp'?: string; + 'last_drop_time': number; + 'created_at': number; + 'subscribers_count': number; + 'has_competition': boolean; + 'is_dm_wave': boolean; + 'context_profile_context'?: ApiWaveOverviewContextProfileContext; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "pfp", + "baseName": "pfp", + "type": "string", + "format": "" + }, + { + "name": "last_drop_time", + "baseName": "last_drop_time", + "type": "number", + "format": "int64" + }, + { + "name": "created_at", + "baseName": "created_at", + "type": "number", + "format": "int64" + }, + { + "name": "subscribers_count", + "baseName": "subscribers_count", + "type": "number", + "format": "int64" + }, + { + "name": "has_competition", + "baseName": "has_competition", + "type": "boolean", + "format": "" + }, + { + "name": "is_dm_wave", + "baseName": "is_dm_wave", + "type": "boolean", + "format": "" + }, + { + "name": "context_profile_context", + "baseName": "context_profile_context", + "type": "ApiWaveOverviewContextProfileContext", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiWaveOverview.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWaveOverviewContextProfileContext.ts b/generated/models/ApiWaveOverviewContextProfileContext.ts new file mode 100644 index 0000000000..1a64cfd08a --- /dev/null +++ b/generated/models/ApiWaveOverviewContextProfileContext.ts @@ -0,0 +1,65 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export class ApiWaveOverviewContextProfileContext { + 'subscribed': boolean; + 'pinned': boolean; + 'can_chat': boolean; + 'unread_drops': number; + 'muted': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "subscribed", + "baseName": "subscribed", + "type": "boolean", + "format": "" + }, + { + "name": "pinned", + "baseName": "pinned", + "type": "boolean", + "format": "" + }, + { + "name": "can_chat", + "baseName": "can_chat", + "type": "boolean", + "format": "" + }, + { + "name": "unread_drops", + "baseName": "unread_drops", + "type": "number", + "format": "int64" + }, + { + "name": "muted", + "baseName": "muted", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiWaveOverviewContextProfileContext.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWaveOverviewPage.ts b/generated/models/ApiWaveOverviewPage.ts new file mode 100644 index 0000000000..c67cf6da43 --- /dev/null +++ b/generated/models/ApiWaveOverviewPage.ts @@ -0,0 +1,52 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ApiWaveOverview } from '../models/ApiWaveOverview'; +import { HttpFile } from '../http/http'; + +export class ApiWaveOverviewPage { + 'data': Array; + 'page': number; + 'next': boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "data", + "baseName": "data", + "type": "Array", + "format": "" + }, + { + "name": "page", + "baseName": "page", + "type": "number", + "format": "int64" + }, + { + "name": "next", + "baseName": "next", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ApiWaveOverviewPage.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/generated/models/ApiWavesV2ListType.ts b/generated/models/ApiWavesV2ListType.ts new file mode 100644 index 0000000000..c03054fc97 --- /dev/null +++ b/generated/models/ApiWavesV2ListType.ts @@ -0,0 +1,21 @@ +// @ts-nocheck +/** + * 6529.io API + * This is the API interface description. Brief terminology overview and an authentication example can be found at https://6529.io/about/api. + * + * OpenAPI spec version: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +export enum ApiWavesV2ListType { + Search = 'SEARCH', + Overview = 'OVERVIEW', + Hot = 'HOT', + Favourites = 'FAVOURITES' +} diff --git a/generated/models/ObjectSerializer.ts b/generated/models/ObjectSerializer.ts index 09eb363769..b41fefb7a2 100644 --- a/generated/models/ObjectSerializer.ts +++ b/generated/models/ObjectSerializer.ts @@ -79,35 +79,52 @@ export * from '../models/ApiDistributionAirdropsCsvUploadRequest'; export * from '../models/ApiDistributionAirdropsUploadResponse'; export * from '../models/ApiDrop'; export * from '../models/ApiDropAndDropVote'; +export * from '../models/ApiDropAndWave'; export * from '../models/ApiDropAttachmentReference'; export * from '../models/ApiDropBoost'; +export * from '../models/ApiDropBoostV2'; export * from '../models/ApiDropBoostsPage'; export * from '../models/ApiDropContextProfileContext'; export * from '../models/ApiDropCuration'; export * from '../models/ApiDropCurationRequest'; export * from '../models/ApiDropGroupMention'; export * from '../models/ApiDropId'; +export * from '../models/ApiDropMainType'; export * from '../models/ApiDropMedia'; export * from '../models/ApiDropMentionedUser'; export * from '../models/ApiDropMetadata'; export * from '../models/ApiDropMetadataResponse'; +export * from '../models/ApiDropMetadataV2'; export * from '../models/ApiDropNftLink'; export * from '../models/ApiDropPart'; +export * from '../models/ApiDropPartQuoteV2'; +export * from '../models/ApiDropPartV2'; export * from '../models/ApiDropRater'; export * from '../models/ApiDropRatingRequest'; export * from '../models/ApiDropReaction'; +export * from '../models/ApiDropReactionCounter'; +export * from '../models/ApiDropReactionV2'; export * from '../models/ApiDropReferencedNFT'; export * from '../models/ApiDropResolvedIdentityProfile'; +export * from '../models/ApiDropResolvedIdentityProfileV2'; export * from '../models/ApiDropSearchStrategy'; export * from '../models/ApiDropSubscriptionActions'; export * from '../models/ApiDropSubscriptionTargetAction'; export * from '../models/ApiDropTraceItem'; export * from '../models/ApiDropType'; +export * from '../models/ApiDropV2'; +export * from '../models/ApiDropV2ContextProfileContext'; +export * from '../models/ApiDropV2Page'; +export * from '../models/ApiDropV2PageWithoutCount'; export * from '../models/ApiDropVote'; +export * from '../models/ApiDropVoteEditLog'; +export * from '../models/ApiDropVoter'; +export * from '../models/ApiDropVotersPage'; export * from '../models/ApiDropWinningContext'; export * from '../models/ApiDropWithoutWave'; export * from '../models/ApiDropWithoutWavesPageWithoutCount'; export * from '../models/ApiDropsLeaderboardPage'; +export * from '../models/ApiDropsLeaderboardPageV2'; export * from '../models/ApiDropsPage'; export * from '../models/ApiFeedItem'; export * from '../models/ApiFeedItemType'; @@ -124,6 +141,9 @@ export * from '../models/ApiGroupTdhInclusionStrategy'; export * from '../models/ApiIdentity'; export * from '../models/ApiIdentityActivity'; export * from '../models/ApiIdentityAndSubscriptionActions'; +export * from '../models/ApiIdentityOverview'; +export * from '../models/ApiIdentityOverviewBadges'; +export * from '../models/ApiIdentityOverviewContextProfileContext'; export * from '../models/ApiIdentitySubscriptionActions'; export * from '../models/ApiIdentitySubscriptionTargetAction'; export * from '../models/ApiIdentitySubscriptionTargetType'; @@ -139,6 +159,7 @@ export * from '../models/ApiMemesMintStatsPage'; export * from '../models/ApiMemesMintStatsTotals'; export * from '../models/ApiMemesMintStatsYearly'; export * from '../models/ApiMentionedWave'; +export * from '../models/ApiMentionedWaveV2'; export * from '../models/ApiMintMetrics'; export * from '../models/ApiMintMetricsPage'; export * from '../models/ApiMintingClaimAction'; @@ -156,8 +177,12 @@ export * from '../models/ApiNftOwnerPage'; export * from '../models/ApiNftsPage'; export * from '../models/ApiNonceResponse'; export * from '../models/ApiNotification'; +export * from '../models/ApiNotificationAdditionalContextV2'; export * from '../models/ApiNotificationCause'; +export * from '../models/ApiNotificationDropReactedReactor'; +export * from '../models/ApiNotificationV2'; export * from '../models/ApiNotificationsResponse'; +export * from '../models/ApiNotificationsResponseV2'; export * from '../models/ApiOutgoingIdentitySubscriptionsPage'; export * from '../models/ApiOwnerBalance'; export * from '../models/ApiOwnerBalanceMemes'; @@ -194,11 +219,17 @@ export * from '../models/ApiRepDirection'; export * from '../models/ApiRepOverview'; export * from '../models/ApiRepRating'; export * from '../models/ApiReplyToDrop'; +export * from '../models/ApiReplyToDropAuthor'; export * from '../models/ApiReplyToDropResponse'; +export * from '../models/ApiReplyToDropV2'; export * from '../models/ApiSeizeSettings'; export * from '../models/ApiSetPinnedDropRequest'; export * from '../models/ApiSetProfileWaveRequest'; export * from '../models/ApiStartMultipartMediaUploadResponse'; +export * from '../models/ApiSubmissionDropContext'; +export * from '../models/ApiSubmissionDropStatus'; +export * from '../models/ApiSubmissionDropVoting'; +export * from '../models/ApiSubmissionDropVotingContextProfileContext'; export * from '../models/ApiTargetAndSubscriptionActions'; export * from '../models/ApiTdhEdition'; export * from '../models/ApiTdhEditionsPage'; @@ -231,10 +262,14 @@ export * from '../models/ApiWaveCurationRequest'; export * from '../models/ApiWaveDecision'; export * from '../models/ApiWaveDecisionAward'; export * from '../models/ApiWaveDecisionPause'; +export * from '../models/ApiWaveDecisionV2'; export * from '../models/ApiWaveDecisionWinner'; +export * from '../models/ApiWaveDecisionWinnerV2'; export * from '../models/ApiWaveDecisionsPage'; +export * from '../models/ApiWaveDecisionsPageV2'; export * from '../models/ApiWaveDecisionsStrategy'; export * from '../models/ApiWaveDropsFeed'; +export * from '../models/ApiWaveDropsFeedV2'; export * from '../models/ApiWaveLog'; export * from '../models/ApiWaveMetadataType'; export * from '../models/ApiWaveMetrics'; @@ -247,6 +282,9 @@ export * from '../models/ApiWaveOutcomeDistributionItemsPage'; export * from '../models/ApiWaveOutcomeSubType'; export * from '../models/ApiWaveOutcomeType'; export * from '../models/ApiWaveOutcomesPage'; +export * from '../models/ApiWaveOverview'; +export * from '../models/ApiWaveOverviewContextProfileContext'; +export * from '../models/ApiWaveOverviewPage'; export * from '../models/ApiWaveParticipationConfig'; export * from '../models/ApiWaveParticipationIdentitySubmissionAllowDuplicates'; export * from '../models/ApiWaveParticipationIdentitySubmissionWhoCanBeSubmitted'; @@ -265,6 +303,7 @@ export * from '../models/ApiWaveVotersPage'; export * from '../models/ApiWaveVotingConfig'; export * from '../models/ApiWavesOverviewType'; export * from '../models/ApiWavesPinFilter'; +export * from '../models/ApiWavesV2ListType'; export * from '../models/ApiXTdhCollection'; export * from '../models/ApiXTdhCollectionsPage'; export * from '../models/ApiXTdhContribution'; @@ -411,35 +450,52 @@ import { ApiDistributionAirdropsCsvUploadRequest } from '../models/ApiDistributi import { ApiDistributionAirdropsUploadResponse } from '../models/ApiDistributionAirdropsUploadResponse'; import { ApiDrop } from '../models/ApiDrop'; import { ApiDropAndDropVote } from '../models/ApiDropAndDropVote'; +import { ApiDropAndWave } from '../models/ApiDropAndWave'; import { ApiDropAttachmentReference } from '../models/ApiDropAttachmentReference'; import { ApiDropBoost } from '../models/ApiDropBoost'; +import { ApiDropBoostV2 } from '../models/ApiDropBoostV2'; import { ApiDropBoostsPage } from '../models/ApiDropBoostsPage'; import { ApiDropContextProfileContext } from '../models/ApiDropContextProfileContext'; import { ApiDropCuration } from '../models/ApiDropCuration'; import { ApiDropCurationRequest } from '../models/ApiDropCurationRequest'; import { ApiDropGroupMention } from '../models/ApiDropGroupMention'; import { ApiDropId } from '../models/ApiDropId'; +import { ApiDropMainType } from '../models/ApiDropMainType'; import { ApiDropMedia } from '../models/ApiDropMedia'; import { ApiDropMentionedUser } from '../models/ApiDropMentionedUser'; import { ApiDropMetadata } from '../models/ApiDropMetadata'; import { ApiDropMetadataResponse } from '../models/ApiDropMetadataResponse'; +import { ApiDropMetadataV2 } from '../models/ApiDropMetadataV2'; import { ApiDropNftLink } from '../models/ApiDropNftLink'; import { ApiDropPart } from '../models/ApiDropPart'; +import { ApiDropPartQuoteV2 } from '../models/ApiDropPartQuoteV2'; +import { ApiDropPartV2 } from '../models/ApiDropPartV2'; import { ApiDropRater } from '../models/ApiDropRater'; import { ApiDropRatingRequest } from '../models/ApiDropRatingRequest'; import { ApiDropReaction } from '../models/ApiDropReaction'; +import { ApiDropReactionCounter } from '../models/ApiDropReactionCounter'; +import { ApiDropReactionV2 } from '../models/ApiDropReactionV2'; import { ApiDropReferencedNFT } from '../models/ApiDropReferencedNFT'; import { ApiDropResolvedIdentityProfile } from '../models/ApiDropResolvedIdentityProfile'; +import { ApiDropResolvedIdentityProfileV2 } from '../models/ApiDropResolvedIdentityProfileV2'; import { ApiDropSearchStrategy } from '../models/ApiDropSearchStrategy'; import { ApiDropSubscriptionActions } from '../models/ApiDropSubscriptionActions'; import { ApiDropSubscriptionTargetAction } from '../models/ApiDropSubscriptionTargetAction'; import { ApiDropTraceItem } from '../models/ApiDropTraceItem'; import { ApiDropType } from '../models/ApiDropType'; +import { ApiDropV2 } from '../models/ApiDropV2'; +import { ApiDropV2ContextProfileContext } from '../models/ApiDropV2ContextProfileContext'; +import { ApiDropV2Page } from '../models/ApiDropV2Page'; +import { ApiDropV2PageWithoutCount } from '../models/ApiDropV2PageWithoutCount'; import { ApiDropVote } from '../models/ApiDropVote'; +import { ApiDropVoteEditLog } from '../models/ApiDropVoteEditLog'; +import { ApiDropVoter } from '../models/ApiDropVoter'; +import { ApiDropVotersPage } from '../models/ApiDropVotersPage'; import { ApiDropWinningContext } from '../models/ApiDropWinningContext'; import { ApiDropWithoutWave } from '../models/ApiDropWithoutWave'; import { ApiDropWithoutWavesPageWithoutCount } from '../models/ApiDropWithoutWavesPageWithoutCount'; import { ApiDropsLeaderboardPage } from '../models/ApiDropsLeaderboardPage'; +import { ApiDropsLeaderboardPageV2 } from '../models/ApiDropsLeaderboardPageV2'; import { ApiDropsPage } from '../models/ApiDropsPage'; import { ApiFeedItem } from '../models/ApiFeedItem'; import { ApiFeedItemType } from '../models/ApiFeedItemType'; @@ -456,6 +512,9 @@ import { ApiGroupTdhInclusionStrategy } from '../models/ApiGroupTdhInclusionStra import { ApiIdentity } from '../models/ApiIdentity'; import { ApiIdentityActivity } from '../models/ApiIdentityActivity'; import { ApiIdentityAndSubscriptionActions } from '../models/ApiIdentityAndSubscriptionActions'; +import { ApiIdentityOverview } from '../models/ApiIdentityOverview'; +import { ApiIdentityOverviewBadges } from '../models/ApiIdentityOverviewBadges'; +import { ApiIdentityOverviewContextProfileContext } from '../models/ApiIdentityOverviewContextProfileContext'; import { ApiIdentitySubscriptionActions } from '../models/ApiIdentitySubscriptionActions'; import { ApiIdentitySubscriptionTargetAction } from '../models/ApiIdentitySubscriptionTargetAction'; import { ApiIdentitySubscriptionTargetType } from '../models/ApiIdentitySubscriptionTargetType'; @@ -471,6 +530,7 @@ import { ApiMemesMintStatsPage } from '../models/ApiMemesMintStatsPage'; import { ApiMemesMintStatsTotals } from '../models/ApiMemesMintStatsTotals'; import { ApiMemesMintStatsYearly } from '../models/ApiMemesMintStatsYearly'; import { ApiMentionedWave } from '../models/ApiMentionedWave'; +import { ApiMentionedWaveV2 } from '../models/ApiMentionedWaveV2'; import { ApiMintMetrics } from '../models/ApiMintMetrics'; import { ApiMintMetricsPage } from '../models/ApiMintMetricsPage'; import { ApiMintingClaimAction } from '../models/ApiMintingClaimAction'; @@ -488,8 +548,12 @@ import { ApiNftOwnerPage } from '../models/ApiNftOwnerPage'; import { ApiNftsPage } from '../models/ApiNftsPage'; import { ApiNonceResponse } from '../models/ApiNonceResponse'; import { ApiNotification } from '../models/ApiNotification'; +import { ApiNotificationAdditionalContextV2 } from '../models/ApiNotificationAdditionalContextV2'; import { ApiNotificationCause } from '../models/ApiNotificationCause'; +import { ApiNotificationDropReactedReactor } from '../models/ApiNotificationDropReactedReactor'; +import { ApiNotificationV2 } from '../models/ApiNotificationV2'; import { ApiNotificationsResponse } from '../models/ApiNotificationsResponse'; +import { ApiNotificationsResponseV2 } from '../models/ApiNotificationsResponseV2'; import { ApiOutgoingIdentitySubscriptionsPage } from '../models/ApiOutgoingIdentitySubscriptionsPage'; import { ApiOwnerBalance } from '../models/ApiOwnerBalance'; import { ApiOwnerBalanceMemes } from '../models/ApiOwnerBalanceMemes'; @@ -526,11 +590,17 @@ import { ApiRepDirection } from '../models/ApiRepDirection'; import { ApiRepOverview } from '../models/ApiRepOverview'; import { ApiRepRating } from '../models/ApiRepRating'; import { ApiReplyToDrop } from '../models/ApiReplyToDrop'; +import { ApiReplyToDropAuthor } from '../models/ApiReplyToDropAuthor'; import { ApiReplyToDropResponse } from '../models/ApiReplyToDropResponse'; +import { ApiReplyToDropV2 } from '../models/ApiReplyToDropV2'; import { ApiSeizeSettings } from '../models/ApiSeizeSettings'; import { ApiSetPinnedDropRequest } from '../models/ApiSetPinnedDropRequest'; import { ApiSetProfileWaveRequest } from '../models/ApiSetProfileWaveRequest'; import { ApiStartMultipartMediaUploadResponse } from '../models/ApiStartMultipartMediaUploadResponse'; +import { ApiSubmissionDropContext } from '../models/ApiSubmissionDropContext'; +import { ApiSubmissionDropStatus } from '../models/ApiSubmissionDropStatus'; +import { ApiSubmissionDropVoting } from '../models/ApiSubmissionDropVoting'; +import { ApiSubmissionDropVotingContextProfileContext } from '../models/ApiSubmissionDropVotingContextProfileContext'; import { ApiTargetAndSubscriptionActions } from '../models/ApiTargetAndSubscriptionActions'; import { ApiTdhEdition } from '../models/ApiTdhEdition'; import { ApiTdhEditionsPage } from '../models/ApiTdhEditionsPage'; @@ -563,10 +633,14 @@ import { ApiWaveCurationRequest } from '../models/ApiWaveCurationRequest'; import { ApiWaveDecision } from '../models/ApiWaveDecision'; import { ApiWaveDecisionAward } from '../models/ApiWaveDecisionAward'; import { ApiWaveDecisionPause } from '../models/ApiWaveDecisionPause'; +import { ApiWaveDecisionV2 } from '../models/ApiWaveDecisionV2'; import { ApiWaveDecisionWinner } from '../models/ApiWaveDecisionWinner'; +import { ApiWaveDecisionWinnerV2 } from '../models/ApiWaveDecisionWinnerV2'; import { ApiWaveDecisionsPage } from '../models/ApiWaveDecisionsPage'; +import { ApiWaveDecisionsPageV2 } from '../models/ApiWaveDecisionsPageV2'; import { ApiWaveDecisionsStrategy } from '../models/ApiWaveDecisionsStrategy'; import { ApiWaveDropsFeed } from '../models/ApiWaveDropsFeed'; +import { ApiWaveDropsFeedV2 } from '../models/ApiWaveDropsFeedV2'; import { ApiWaveLog } from '../models/ApiWaveLog'; import { ApiWaveMetadataType } from '../models/ApiWaveMetadataType'; import { ApiWaveMetrics } from '../models/ApiWaveMetrics'; @@ -579,6 +653,9 @@ import { ApiWaveOutcomeDistributionItemsPage } from '../models/ApiWaveOutcomeDis import { ApiWaveOutcomeSubType } from '../models/ApiWaveOutcomeSubType'; import { ApiWaveOutcomeType } from '../models/ApiWaveOutcomeType'; import { ApiWaveOutcomesPage } from '../models/ApiWaveOutcomesPage'; +import { ApiWaveOverview } from '../models/ApiWaveOverview'; +import { ApiWaveOverviewContextProfileContext } from '../models/ApiWaveOverviewContextProfileContext'; +import { ApiWaveOverviewPage } from '../models/ApiWaveOverviewPage'; import { ApiWaveParticipationConfig } from '../models/ApiWaveParticipationConfig'; import { ApiWaveParticipationIdentitySubmissionAllowDuplicates } from '../models/ApiWaveParticipationIdentitySubmissionAllowDuplicates'; import { ApiWaveParticipationIdentitySubmissionWhoCanBeSubmitted } from '../models/ApiWaveParticipationIdentitySubmissionWhoCanBeSubmitted'; @@ -597,6 +674,7 @@ import { ApiWaveVotersPage } from '../models/ApiWaveVotersPage'; import { ApiWaveVotingConfig } from '../models/ApiWaveVotingConfig'; import { ApiWavesOverviewType } from '../models/ApiWavesOverviewType'; import { ApiWavesPinFilter } from '../models/ApiWavesPinFilter'; +import { ApiWavesV2ListType } from '../models/ApiWavesV2ListType'; import { ApiXTdhCollection } from '../models/ApiXTdhCollection'; import { ApiXTdhCollectionsPage } from '../models/ApiXTdhCollectionsPage'; import { ApiXTdhContribution } from '../models/ApiXTdhContribution'; @@ -682,6 +760,7 @@ let enumsMap: Set = new Set([ "ApiAttachmentUploadMimeType", "ApiCommunityMembersSortOption", "ApiDropGroupMention", + "ApiDropMainType", "ApiDropSearchStrategy", "ApiDropSubscriptionTargetAction", "ApiDropType", @@ -700,6 +779,7 @@ let enumsMap: Set = new Set([ "ApiProfileProxyActionType", "ApiRateMatter", "ApiRepDirection", + "ApiSubmissionDropStatus", "ApiUpcomingMemeSubscriptionStatusSourceEnum", "ApiWaveCreditScope", "ApiWaveCreditType", @@ -715,6 +795,7 @@ let enumsMap: Set = new Set([ "ApiWaveType", "ApiWavesOverviewType", "ApiWavesPinFilter", + "ApiWavesV2ListType", "ApiXTdhGrantStatus", "ApiXTdhGrantTargetChain", "MintingClaimAnimationDetailsFormatEnum", @@ -799,8 +880,10 @@ let typeMap: {[index: string]: any} = { "ApiDistributionAirdropsUploadResponse": ApiDistributionAirdropsUploadResponse, "ApiDrop": ApiDrop, "ApiDropAndDropVote": ApiDropAndDropVote, + "ApiDropAndWave": ApiDropAndWave, "ApiDropAttachmentReference": ApiDropAttachmentReference, "ApiDropBoost": ApiDropBoost, + "ApiDropBoostV2": ApiDropBoostV2, "ApiDropBoostsPage": ApiDropBoostsPage, "ApiDropContextProfileContext": ApiDropContextProfileContext, "ApiDropCuration": ApiDropCuration, @@ -810,20 +893,34 @@ let typeMap: {[index: string]: any} = { "ApiDropMentionedUser": ApiDropMentionedUser, "ApiDropMetadata": ApiDropMetadata, "ApiDropMetadataResponse": ApiDropMetadataResponse, + "ApiDropMetadataV2": ApiDropMetadataV2, "ApiDropNftLink": ApiDropNftLink, "ApiDropPart": ApiDropPart, + "ApiDropPartQuoteV2": ApiDropPartQuoteV2, + "ApiDropPartV2": ApiDropPartV2, "ApiDropRater": ApiDropRater, "ApiDropRatingRequest": ApiDropRatingRequest, "ApiDropReaction": ApiDropReaction, + "ApiDropReactionCounter": ApiDropReactionCounter, + "ApiDropReactionV2": ApiDropReactionV2, "ApiDropReferencedNFT": ApiDropReferencedNFT, "ApiDropResolvedIdentityProfile": ApiDropResolvedIdentityProfile, + "ApiDropResolvedIdentityProfileV2": ApiDropResolvedIdentityProfileV2, "ApiDropSubscriptionActions": ApiDropSubscriptionActions, "ApiDropTraceItem": ApiDropTraceItem, + "ApiDropV2": ApiDropV2, + "ApiDropV2ContextProfileContext": ApiDropV2ContextProfileContext, + "ApiDropV2Page": ApiDropV2Page, + "ApiDropV2PageWithoutCount": ApiDropV2PageWithoutCount, "ApiDropVote": ApiDropVote, + "ApiDropVoteEditLog": ApiDropVoteEditLog, + "ApiDropVoter": ApiDropVoter, + "ApiDropVotersPage": ApiDropVotersPage, "ApiDropWinningContext": ApiDropWinningContext, "ApiDropWithoutWave": ApiDropWithoutWave, "ApiDropWithoutWavesPageWithoutCount": ApiDropWithoutWavesPageWithoutCount, "ApiDropsLeaderboardPage": ApiDropsLeaderboardPage, + "ApiDropsLeaderboardPageV2": ApiDropsLeaderboardPageV2, "ApiDropsPage": ApiDropsPage, "ApiFeedItem": ApiFeedItem, "ApiGroup": ApiGroup, @@ -837,6 +934,9 @@ let typeMap: {[index: string]: any} = { "ApiIdentity": ApiIdentity, "ApiIdentityActivity": ApiIdentityActivity, "ApiIdentityAndSubscriptionActions": ApiIdentityAndSubscriptionActions, + "ApiIdentityOverview": ApiIdentityOverview, + "ApiIdentityOverviewBadges": ApiIdentityOverviewBadges, + "ApiIdentityOverviewContextProfileContext": ApiIdentityOverviewContextProfileContext, "ApiIdentitySubscriptionActions": ApiIdentitySubscriptionActions, "ApiIncomingIdentitySubscriptionsPage": ApiIncomingIdentitySubscriptionsPage, "ApiIntRange": ApiIntRange, @@ -849,6 +949,7 @@ let typeMap: {[index: string]: any} = { "ApiMemesMintStatsTotals": ApiMemesMintStatsTotals, "ApiMemesMintStatsYearly": ApiMemesMintStatsYearly, "ApiMentionedWave": ApiMentionedWave, + "ApiMentionedWaveV2": ApiMentionedWaveV2, "ApiMintMetrics": ApiMintMetrics, "ApiMintMetricsPage": ApiMintMetricsPage, "ApiMintingClaimAction": ApiMintingClaimAction, @@ -866,7 +967,11 @@ let typeMap: {[index: string]: any} = { "ApiNftsPage": ApiNftsPage, "ApiNonceResponse": ApiNonceResponse, "ApiNotification": ApiNotification, + "ApiNotificationAdditionalContextV2": ApiNotificationAdditionalContextV2, + "ApiNotificationDropReactedReactor": ApiNotificationDropReactedReactor, + "ApiNotificationV2": ApiNotificationV2, "ApiNotificationsResponse": ApiNotificationsResponse, + "ApiNotificationsResponseV2": ApiNotificationsResponseV2, "ApiOutgoingIdentitySubscriptionsPage": ApiOutgoingIdentitySubscriptionsPage, "ApiOwnerBalance": ApiOwnerBalance, "ApiOwnerBalanceMemes": ApiOwnerBalanceMemes, @@ -898,11 +1003,16 @@ let typeMap: {[index: string]: any} = { "ApiRepOverview": ApiRepOverview, "ApiRepRating": ApiRepRating, "ApiReplyToDrop": ApiReplyToDrop, + "ApiReplyToDropAuthor": ApiReplyToDropAuthor, "ApiReplyToDropResponse": ApiReplyToDropResponse, + "ApiReplyToDropV2": ApiReplyToDropV2, "ApiSeizeSettings": ApiSeizeSettings, "ApiSetPinnedDropRequest": ApiSetPinnedDropRequest, "ApiSetProfileWaveRequest": ApiSetProfileWaveRequest, "ApiStartMultipartMediaUploadResponse": ApiStartMultipartMediaUploadResponse, + "ApiSubmissionDropContext": ApiSubmissionDropContext, + "ApiSubmissionDropVoting": ApiSubmissionDropVoting, + "ApiSubmissionDropVotingContextProfileContext": ApiSubmissionDropVotingContextProfileContext, "ApiTargetAndSubscriptionActions": ApiTargetAndSubscriptionActions, "ApiTdhEdition": ApiTdhEdition, "ApiTdhEditionsPage": ApiTdhEditionsPage, @@ -933,10 +1043,14 @@ let typeMap: {[index: string]: any} = { "ApiWaveDecision": ApiWaveDecision, "ApiWaveDecisionAward": ApiWaveDecisionAward, "ApiWaveDecisionPause": ApiWaveDecisionPause, + "ApiWaveDecisionV2": ApiWaveDecisionV2, "ApiWaveDecisionWinner": ApiWaveDecisionWinner, + "ApiWaveDecisionWinnerV2": ApiWaveDecisionWinnerV2, "ApiWaveDecisionsPage": ApiWaveDecisionsPage, + "ApiWaveDecisionsPageV2": ApiWaveDecisionsPageV2, "ApiWaveDecisionsStrategy": ApiWaveDecisionsStrategy, "ApiWaveDropsFeed": ApiWaveDropsFeed, + "ApiWaveDropsFeedV2": ApiWaveDropsFeedV2, "ApiWaveLog": ApiWaveLog, "ApiWaveMetrics": ApiWaveMetrics, "ApiWaveMin": ApiWaveMin, @@ -945,6 +1059,9 @@ let typeMap: {[index: string]: any} = { "ApiWaveOutcomeDistributionItem": ApiWaveOutcomeDistributionItem, "ApiWaveOutcomeDistributionItemsPage": ApiWaveOutcomeDistributionItemsPage, "ApiWaveOutcomesPage": ApiWaveOutcomesPage, + "ApiWaveOverview": ApiWaveOverview, + "ApiWaveOverviewContextProfileContext": ApiWaveOverviewContextProfileContext, + "ApiWaveOverviewPage": ApiWaveOverviewPage, "ApiWaveParticipationConfig": ApiWaveParticipationConfig, "ApiWaveParticipationSubmissionStrategy": ApiWaveParticipationSubmissionStrategy, "ApiWaveParticipationSubmissionStrategyIdentityConf": ApiWaveParticipationSubmissionStrategyIdentityConf, diff --git a/openapi.yaml b/openapi.yaml index f38d2e860f..fe7677edf3 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1431,7 +1431,7 @@ paths: type: integer format: int64 minimum: 1 - maximum: 200 + maximum: 2000 - name: sort_direction in: query description: Default is DESC (newest bookmarks first) @@ -1996,6 +1996,300 @@ paths: $ref: "#/components/schemas/ApiCompleteMultipartUploadResponse" "400": description: Invalid request + /v2/boosted-drops: + get: + tags: + - DropsV2 + summary: Get V2 boosted drops. + operationId: getBoostedDropsV2 + parameters: + - name: author + in: query + description: Drops by author + required: false + schema: + type: string + - name: booster + in: query + description: Drops boosted by given identity + required: false + schema: + type: string + - name: wave_id + in: query + description: Drops by wave + required: false + schema: + type: string + - name: min_boosts + in: query + description: Must be boosted at least so many times + required: false + schema: + type: integer + format: int64 + minimum: 1 + - name: page + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + - name: page_size + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 2000 + - name: sort_direction + in: query + description: Default is DESC + required: false + schema: + $ref: "#/components/schemas/ApiPageSortDirection" + - name: sort + in: query + description: Default is last_boosted_at + required: false + schema: + type: string + enum: + - last_boosted_at + - first_boosted_at + - drop_created_at + - boosts + - name: count_only_boosts_after + in: query + description: Timestamp in millis + required: false + schema: + type: integer + format: int64 + minimum: 1 + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiDropV2Page" + /v2/drops/{id}: + get: + tags: + - DropsV2 + summary: Get V2 drop by ID. + operationId: getDropV2ById + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiDropAndWave" + "404": + description: Drop not found + /v2/drops/{id}/metadata: + get: + tags: + - DropsV2 + summary: Get V2 drop metadata by drop ID. + operationId: getDropV2MetadataById + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + "200": + description: successful operation + content: + application/json: + schema: + type: array + items: + $ref: "#/components/schemas/ApiDropMetadataV2" + "404": + description: Drop not found + /v2/drops/{id}/parts/{part_no}: + get: + tags: + - DropsV2 + summary: Get a single V2 drop part by drop ID and part number. + operationId: getDropV2PartById + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: part_no + in: path + required: true + schema: + type: integer + format: int64 + minimum: 1 + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiDropPartV2" + "400": + description: Invalid request + "404": + description: Drop or drop part not found + /v2/drops/{id}/boosts: + get: + tags: + - DropsV2 + summary: Get V2 drop boosts by drop ID. + operationId: getDropV2BoostsById + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + "200": + description: successful operation + content: + application/json: + schema: + type: array + items: + $ref: "#/components/schemas/ApiDropBoostV2" + "404": + description: Drop not found + /v2/drops/{id}/reactions: + get: + tags: + - DropsV2 + summary: Get V2 drop reactions by drop ID. + operationId: getDropV2ReactionsById + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + "200": + description: successful operation + content: + application/json: + schema: + type: array + items: + $ref: "#/components/schemas/ApiDropReactionV2" + "404": + description: Drop not found + /v2/drops/{id}/votes: + get: + tags: + - DropsV2 + summary: Get V2 drop voters by drop ID. + operationId: getDropV2VotersById + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: page_size + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 100 + default: 20 + - name: page + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + default: 1 + - name: sort_direction + in: query + required: false + schema: + $ref: "#/components/schemas/ApiPageSortDirection" + default: DESC + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiDropVotersPage" + "400": + description: Invalid request + "404": + description: Drop not found + /v2/drops/{id}/votes/logs: + get: + tags: + - DropsV2 + summary: Get V2 drop vote edit logs by drop ID. + operationId: getDropV2VoteEditLogsById + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: offset + in: query + required: false + schema: + type: integer + format: int64 + minimum: 0 + default: 0 + - name: limit + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 100 + default: 20 + - name: sort_direction + in: query + required: false + schema: + $ref: "#/components/schemas/ApiPageSortDirection" + default: DESC + responses: + "200": + description: successful operation + content: + application/json: + schema: + type: array + items: + $ref: "#/components/schemas/ApiDropVoteEditLog" + "400": + description: Invalid request + "404": + description: Drop not found /feed: get: tags: @@ -3201,11 +3495,59 @@ paths: application/json: schema: $ref: "#/components/schemas/ApiWaveNotificationPreferences" - /blocks: + /v2/notifications: get: tags: - - Other - summary: Get blocks and related timestamps + - NotificationsV2 + summary: Get V2 notifications for authenticated user. + operationId: getNotificationsV2 + parameters: + - name: limit + in: query + description: Default is 10 + required: false + schema: + type: number + format: int64 + minimum: 1 + maximum: 100 + - name: id_less_than + in: query + description: Used to find older notifications + required: false + schema: + type: number + format: int64 + - name: cause + in: query + description: Comma-separated list of notification causes to include + required: false + schema: + type: string + - name: cause_exclude + in: query + description: Comma-separated list of notification causes to exclude + required: false + schema: + type: string + - name: unread_only + in: query + description: Only return unread notifications + required: false + schema: + type: boolean + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiNotificationsResponseV2" + /blocks: + get: + tags: + - Other + summary: Get blocks and related timestamps operationId: getBlocks parameters: - name: page @@ -5897,7 +6239,6 @@ paths: - name: serial_no_less_than in: query required: false - deprecated: true schema: type: integer format: int64 @@ -6478,228 +6819,634 @@ paths: $ref: "#/components/schemas/ApiWaveSubscriptionActions" "404": description: Wave not found - /xtdh/stats: - get: - tags: - - xTDH - summary: Get global xTDH stats - operationId: getGlobalXTdhStats - responses: - "200": - description: successful operation - content: - application/json: - schema: - $ref: "#/components/schemas/ApiXTdhGlobalStats" - "404": - description: Not found - /xtdh/stats/{identity}: - get: - tags: - - xTDH - summary: Get identities xTDH stats - operationId: getIdentitiesXTdhStats - parameters: - - name: identity - in: path - required: true - schema: - type: string - responses: - "200": - description: successful operation - content: - application/json: - schema: - $ref: "#/components/schemas/ApiXTdhStats" - "404": - description: Not found - /xtdh/grants: + /v2/waves: get: tags: - - xTDH - summary: Get xTDH grants - operationId: getXTdhGrants + - WavesV2 + summary: Get V2 waves + description: >- + Returns a paginated list of wave overviews. Use view=SEARCH for the + regular waves search, view=OVERVIEW for overview rankings, view=HOT for + hot waves, and view=FAVOURITES for waves where an identity has written + the most messages. + operationId: getWavesV2 parameters: - - name: grantor + - name: view in: query + description: Defaults to SEARCH required: false schema: - type: string - - name: target_contract + $ref: "#/components/schemas/ApiWavesV2ListType" + - name: page in: query + description: Default is 1 required: false schema: - type: string - - name: target_collection_name + type: integer + format: int64 + minimum: 1 + default: 1 + - name: page_size in: query + description: >- + Number of waves to return. Per-view defaults and maximums match the + legacy endpoints. required: false schema: - type: string - - name: target_chain + type: integer + format: int64 + minimum: 1 + maximum: 100 + - name: name in: query + description: SEARCH view only. Search by name or part of name. required: false schema: type: string - - name: valid_from_gt + - name: author in: query + description: SEARCH view only. Search by author identity. required: false schema: - type: number - format: int64 - - name: valid_from_lt + type: string + - name: serial_no_less_than in: query + description: SEARCH view only. Restricts search to older waves. required: false schema: - type: number + type: integer format: int64 - - name: valid_to_gt + minimum: 1 + - name: group_id in: query + description: SEARCH view only. Waves by authors that fall into supplied group. required: false schema: - type: number - format: int64 - - name: valid_to_lt + type: string + - name: direct_message in: query + description: >- + SEARCH and OVERVIEW views only. Use true for DM waves, false for + non-DM waves, omit for all. required: false schema: - type: number - format: int64 - - name: status + type: boolean + - name: overview_type in: query + description: OVERVIEW view only. Type of overview. required: false - description: One or more (comma separated) statuses you are interested in schema: - type: string - - name: sort_direction + $ref: "#/components/schemas/ApiWavesOverviewType" + - name: only_waves_followed_by_authenticated_user in: query + description: >- + OVERVIEW view only. If true then result only includes waves that the + authenticated user follows. required: false schema: - $ref: "#/components/schemas/ApiPageSortDirection" - - name: sort + type: boolean + - name: pinned in: query + description: OVERVIEW view only. Filter only PINNED or NOT_PINNED waves. required: false schema: - type: string - enum: - - created_at - - valid_from - - valid_to - - rate - default: created_at - - name: page + $ref: "#/components/schemas/ApiWavesPinFilter" + - name: exclude_followed in: query + description: >- + HOT view only. If true then result excludes waves the authenticated + user already follows. required: false schema: - type: integer - format: int64 - minimum: 1 - default: 1 - - name: page_size + type: boolean + - name: identity in: query + description: FAVOURITES view only. Profile id, wallet, ENS, or handle to resolve. required: false schema: - type: integer - format: int64 - minimum: 1 - maximum: 2000 - default: 100 + type: string responses: "200": description: successful operation content: application/json: schema: - $ref: "#/components/schemas/ApiXTdhGrantsPage" - "400": - description: Invalid request - post: - tags: - - xTDH - summary: Create xTDH grant - operationId: grantXTdh - requestBody: - required: true - content: - application/json: - schema: - $ref: "#/components/schemas/ApiXTdhCreateGrant" - responses: - "201": - description: successful operation - content: - application/json: - schema: - $ref: "#/components/schemas/ApiXTdhGrant" + $ref: "#/components/schemas/ApiWaveOverviewPage" "400": description: Invalid request - /xtdh/grants/{id}: + /v2/waves/{id}/drops: get: tags: - - xTDH - summary: Get xTDH grant - operationId: getXTdhGrant + - WavesV2 + summary: Get V2 drops related to wave + operationId: getWaveDropsV2 parameters: - name: id in: path required: true schema: type: string + - name: limit + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 200 + default: 20 + - name: serial_no_limit + in: query + required: false + description: Serial number anchor for paginating drops. + schema: + type: integer + format: int64 + - name: search_strategy + in: query + required: false + description: >- + Use in combination with serial_no_limit. If this is not set then + FIND_OLDER is used. + schema: + $ref: "#/components/schemas/ApiDropSearchStrategy" + - name: drop_type + in: query + description: Filter by drop type + required: false + schema: + $ref: "#/components/schemas/ApiDropType" responses: "200": description: successful operation content: application/json: schema: - $ref: "#/components/schemas/ApiXTdhGrant" - "404": - description: Not Found - post: + $ref: "#/components/schemas/ApiWaveDropsFeedV2" + /v2/waves/{id}/curations/{curation_id}/drops: + get: tags: - - xTDH - summary: Update xTDH grant - operationId: updateXTdhGrant + - WavesV2 + summary: List V2 drops in a curation for wave + operationId: listWaveCurationDropsV2 parameters: - name: id in: path required: true schema: type: string - requestBody: - required: true - content: - application/json: - schema: - $ref: "#/components/schemas/ApiXTdhGrantUpdateRequest" - responses: - "201": - description: successful operation - content: - application/json: - schema: - $ref: "#/components/schemas/ApiXTdhGrant" - "403": - description: Invalid input - "404": - description: Not Found - /xtdh/grants/{id}/tokens: - get: - tags: - - xTDH - summary: Get xTDH grant tokens - operationId: getXTdhGrantTokens - parameters: - - name: id + - name: curation_id in: path required: true schema: type: string - - name: sort_direction - in: query - required: false - schema: - $ref: "#/components/schemas/ApiPageSortDirection" - - name: sort + - name: page + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + default: 1 + - name: page_size + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 100 + default: 50 + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiDropV2PageWithoutCount" + "404": + description: Wave or curation not found + /v2/waves/{id}/decisions: + get: + tags: + - WavesV2 + summary: Get already decided V2 wave decision outcomes + operationId: getWaveDecisionsV2 + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: sort_direction + in: query + required: false + schema: + type: string + enum: + - ASC + - DESC + default: DESC + - name: sort + in: query + required: false + schema: + type: string + enum: + - decision_time + default: decision_time + - name: page + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + default: 1 + - name: page_size + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 2000 + default: 100 + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiWaveDecisionsPageV2" + "404": + description: Wave not found + /v2/waves/{id}/leaderboard: + get: + tags: + - WavesV2 + summary: Get V2 waves leaderboard + operationId: getWaveLeaderboardV2 + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: page_size + in: query + description: Default is 50 + required: false + schema: + type: number + format: int64 + minimum: 1 + maximum: 100 + - name: page + in: query + description: Default is 1 + required: false + schema: + type: number + format: int64 + minimum: 1 + - name: sort_direction + in: query + description: Default is ASC + required: false + schema: + type: string + enum: + - ASC + - DESC + - name: sort + in: query + description: Default is rank + required: false + schema: + type: string + enum: + - RANK + - REALTIME_VOTE + - MY_REALTIME_VOTE + - CREATED_AT + - PRICE + - RATING_PREDICTION + - TREND + - name: price_currency + in: query + description: >- + Optional currency used for min_price/max_price filtering and PRICE + sorting + required: false + schema: + type: string + - name: min_price + in: query + description: Optional minimum price filter applied to leaderboard results + required: false + schema: + type: number + format: double + minimum: 0 + - name: max_price + in: query + description: Optional maximum price filter applied to leaderboard results + required: false + schema: + type: number + format: double + minimum: 0 + - name: curation_id + in: query + description: >- + Only include drops with persisted membership in the curation + identified by ApiWaveCuration.id (UUID string) + required: false + schema: + type: string + format: uuid + - name: unvoted_by_me + in: query + description: >- + When true, only returns drops the authenticated user has not voted + on or currently has a 0 vote on + required: false + schema: + type: boolean + default: false + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiDropsLeaderboardPageV2" + /v2/waves/{waveId}/search: + get: + tags: + - WavesV2 + summary: Search for V2 drops in wave by content + operationId: searchDropsInWaveV2 + parameters: + - name: waveId + in: path + required: true + schema: + type: string + - name: term + in: query + required: true + schema: + type: string + - name: page + in: query + required: false + schema: + type: number + format: int64 + minimum: 1 + default: 1 + - name: size + in: query + required: false + schema: + type: number + format: int64 + maximum: 100 + minimum: 1 + default: 20 + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiDropV2PageWithoutCount" + "404": + description: Wave not found + /xtdh/stats: + get: + tags: + - xTDH + summary: Get global xTDH stats + operationId: getGlobalXTdhStats + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhGlobalStats" + "404": + description: Not found + /xtdh/stats/{identity}: + get: + tags: + - xTDH + summary: Get identities xTDH stats + operationId: getIdentitiesXTdhStats + parameters: + - name: identity + in: path + required: true + schema: + type: string + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhStats" + "404": + description: Not found + /xtdh/grants: + get: + tags: + - xTDH + summary: Get xTDH grants + operationId: getXTdhGrants + parameters: + - name: grantor + in: query + required: false + schema: + type: string + - name: target_contract + in: query + required: false + schema: + type: string + - name: target_collection_name + in: query + required: false + schema: + type: string + - name: target_chain + in: query + required: false + schema: + type: string + - name: valid_from_gt + in: query + required: false + schema: + type: number + format: int64 + - name: valid_from_lt + in: query + required: false + schema: + type: number + format: int64 + - name: valid_to_gt + in: query + required: false + schema: + type: number + format: int64 + - name: valid_to_lt + in: query + required: false + schema: + type: number + format: int64 + - name: status + in: query + required: false + description: One or more (comma separated) statuses you are interested in + schema: + type: string + - name: sort_direction + in: query + required: false + schema: + $ref: "#/components/schemas/ApiPageSortDirection" + - name: sort + in: query + required: false + schema: + type: string + enum: + - created_at + - valid_from + - valid_to + - rate + default: created_at + - name: page + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + default: 1 + - name: page_size + in: query + required: false + schema: + type: integer + format: int64 + minimum: 1 + maximum: 2000 + default: 100 + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhGrantsPage" + "400": + description: Invalid request + post: + tags: + - xTDH + summary: Create xTDH grant + operationId: grantXTdh + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhCreateGrant" + responses: + "201": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhGrant" + "400": + description: Invalid request + /xtdh/grants/{id}: + get: + tags: + - xTDH + summary: Get xTDH grant + operationId: getXTdhGrant + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + "200": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhGrant" + "404": + description: Not Found + post: + tags: + - xTDH + summary: Update xTDH grant + operationId: updateXTdhGrant + parameters: + - name: id + in: path + required: true + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhGrantUpdateRequest" + responses: + "201": + description: successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ApiXTdhGrant" + "403": + description: Invalid input + "404": + description: Not Found + /xtdh/grants/{id}/tokens: + get: + tags: + - xTDH + summary: Get xTDH grant tokens + operationId: getXTdhGrantTokens + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: sort_direction + in: query + required: false + schema: + $ref: "#/components/schemas/ApiPageSortDirection" + - name: sort in: query required: false schema: @@ -8856,6 +9603,16 @@ components: $ref: "#/components/schemas/ApiDrop" vote: $ref: "#/components/schemas/ApiDropVote" + ApiDropAndWave: + type: object + required: + - drop + - wave + properties: + drop: + $ref: "#/components/schemas/ApiDropV2" + wave: + $ref: "#/components/schemas/ApiWaveOverview" ApiDropAttachmentReference: type: object additionalProperties: false @@ -8887,6 +9644,17 @@ components: type: array items: $ref: "#/components/schemas/ApiDropBoost" + ApiDropBoostV2: + type: object + required: + - booster + - boosted_at + properties: + booster: + $ref: "#/components/schemas/ApiIdentityOverview" + boosted_at: + type: integer + format: int64 ApiDropContextProfileContext: type: object required: @@ -8963,6 +9731,11 @@ components: serial_no: type: integer format: int64 + ApiDropMainType: + type: string + enum: + - CHAT + - SUBMISSION ApiDropMedia: type: object required: @@ -9003,7 +9776,23 @@ components: data_value: type: string maxLength: 5000 - ApiDropMetadataResponse: + ApiDropMetadataResponse: + type: object + required: + - data_key + - data_value + properties: + data_key: + type: string + maxLength: 500 + data_value: + type: string + maxLength: 5000 + resolved_profile: + anyOf: + - type: "null" + - $ref: "#/components/schemas/ApiDropResolvedIdentityProfile" + ApiDropMetadataV2: type: object required: - data_key @@ -9016,9 +9805,7 @@ components: type: string maxLength: 5000 resolved_profile: - anyOf: - - type: "null" - - $ref: "#/components/schemas/ApiDropResolvedIdentityProfile" + $ref: "#/components/schemas/ApiDropResolvedIdentityProfileV2" ApiDropNftLink: type: object required: @@ -9061,6 +9848,39 @@ components: anyOf: - $ref: "#/components/schemas/ApiQuotedDropResponse" - type: "null" + ApiDropPartQuoteV2: + type: object + required: + - drop_id + - drop_part_id + properties: + drop_id: + type: string + drop_part_id: + type: integer + format: int64 + ApiDropPartV2: + type: object + required: + - part_no + properties: + part_no: + type: integer + format: int64 + minimum: 1 + content: + type: string + maxLength: 25000 + media: + type: array + items: + $ref: "#/components/schemas/ApiDropMedia" + attachments: + type: array + items: + $ref: "#/components/schemas/ApiAttachment" + quoted_drop: + $ref: "#/components/schemas/ApiDropPartQuoteV2" ApiDropRater: type: object required: @@ -9096,6 +9916,29 @@ components: type: array items: $ref: "#/components/schemas/ApiProfileMin" + ApiDropReactionCounter: + type: object + required: + - reaction + - count + properties: + reaction: + type: string + count: + type: integer + format: int64 + ApiDropReactionV2: + type: object + required: + - reaction + - reactors + properties: + reaction: + type: string + reactors: + type: array + items: + $ref: "#/components/schemas/ApiIdentityOverview" ApiDropReferencedNFT: type: object required: @@ -9127,6 +9970,17 @@ components: type: array items: $ref: "#/components/schemas/ApiProfileRepCategorySummary" + ApiDropResolvedIdentityProfileV2: + allOf: + - $ref: "#/components/schemas/ApiIdentityOverview" + - type: object + properties: + bio: + type: string + top_rep_categories: + type: array + items: + $ref: "#/components/schemas/ApiProfileRepCategorySummary" ApiDropSearchStrategy: type: string enum: @@ -9147,6 +10001,20 @@ components: $ref: "#/components/schemas/ApiDropWithoutWave" wave: $ref: "#/components/schemas/ApiWaveMin" + ApiDropsLeaderboardPageV2: + type: object + required: + - drops + - wave + allOf: + - $ref: "#/components/schemas/ApiPageBase" + properties: + drops: + type: array + items: + $ref: "#/components/schemas/ApiDropV2" + wave: + $ref: "#/components/schemas/ApiWaveMin" ApiDropsPage: type: object required: @@ -9188,6 +10056,123 @@ components: - CHAT - PARTICIPATORY - WINNER + ApiDropV2: + type: object + required: + - id + - serial_no + - is_signed + - parts_count + - author + - created_at + - boosts + - drop_type + - hide_link_preview + properties: + id: + type: string + serial_no: + type: integer + format: int64 + created_at: + type: integer + format: int64 + updated_at: + type: integer + format: int64 + is_signed: + type: boolean + hide_link_preview: + type: boolean + title: + type: string + content: + type: string + media: + type: array + items: + $ref: "#/components/schemas/ApiDropMedia" + attachments: + type: array + items: + $ref: "#/components/schemas/ApiAttachment" + parts_count: + type: integer + format: int64 + author: + $ref: "#/components/schemas/ApiIdentityOverview" + drop_type: + $ref: "#/components/schemas/ApiDropMainType" + referenced_nfts: + type: array + items: + $ref: "#/components/schemas/ApiDropReferencedNFT" + mentioned_users: + type: array + items: + $ref: "#/components/schemas/ApiDropMentionedUser" + mentioned_groups: + type: array + items: + $ref: "#/components/schemas/ApiDropGroupMention" + mentioned_waves: + type: array + items: + $ref: "#/components/schemas/ApiMentionedWaveV2" + nft_links: + type: array + items: + $ref: "#/components/schemas/ApiDropNftLink" + reactions: + type: array + items: + $ref: "#/components/schemas/ApiDropReactionCounter" + boosts: + type: integer + format: int64 + reply_to_drop: + $ref: "#/components/schemas/ApiReplyToDropV2" + submission_context: + $ref: "#/components/schemas/ApiSubmissionDropContext" + context_profile_context: + $ref: "#/components/schemas/ApiDropV2ContextProfileContext" + ApiDropV2ContextProfileContext: + type: object + required: + - boosted + - bookmarked + - subscribed + properties: + reaction: + type: string + boosted: + type: boolean + bookmarked: + type: boolean + subscribed: + type: boolean + ApiDropV2Page: + type: object + required: + - data + allOf: + - $ref: "#/components/schemas/ApiPageBase" + properties: + data: + type: array + items: + $ref: "#/components/schemas/ApiDropV2" + ApiDropV2PageWithoutCount: + type: object + required: + - data + allOf: + - $ref: "#/components/schemas/ApiPageWithoutCount" + properties: + data: + type: array + items: + $ref: "#/components/schemas/ApiDropV2" ApiDropVote: type: object required: @@ -9203,6 +10188,50 @@ components: time: type: number format: int64 + ApiDropVoteEditLog: + type: object + required: + - id + - old_vote + - new_vote + - created_at + - voter + properties: + id: + type: string + old_vote: + type: number + format: int64 + new_vote: + type: number + format: int64 + created_at: + type: integer + format: int64 + voter: + $ref: "#/components/schemas/ApiIdentityOverview" + ApiDropVoter: + type: object + required: + - voter + - vote + properties: + voter: + $ref: "#/components/schemas/ApiIdentityOverview" + vote: + type: number + format: int64 + ApiDropVotersPage: + type: object + required: + - data + allOf: + - $ref: "#/components/schemas/ApiPageBase" + properties: + data: + type: array + items: + $ref: "#/components/schemas/ApiDropVoter" ApiDropWinningContext: type: object required: @@ -9734,12 +10763,59 @@ components: - identity - actions properties: - identity: - $ref: "#/components/schemas/ApiProfileMin" - actions: - type: array - items: - $ref: "#/components/schemas/ApiIdentitySubscriptionTargetAction" + identity: + $ref: "#/components/schemas/ApiProfileMin" + actions: + type: array + items: + $ref: "#/components/schemas/ApiIdentitySubscriptionTargetAction" + ApiIdentityOverview: + type: object + required: + - id + - primary_address + - level + - classification + - badges + properties: + id: + type: string + handle: + type: string + primary_address: + type: string + pfp: + type: string + level: + type: integer + format: int64 + classification: + $ref: "#/components/schemas/ApiProfileClassification" + context_profile_context: + $ref: "#/components/schemas/ApiIdentityOverviewContextProfileContext" + badges: + $ref: "#/components/schemas/ApiIdentityOverviewBadges" + ApiIdentityOverviewBadges: + type: object + required: + - artist_of_main_stage_submissions + - artist_of_memes + properties: + artist_of_main_stage_submissions: + type: integer + format: int64 + artist_of_memes: + type: integer + format: int64 + profile_wave_id: + type: string + ApiIdentityOverviewContextProfileContext: + type: object + required: + - subscribed + properties: + subscribed: + type: boolean ApiIdentitySubscriptionActions: type: object required: @@ -10036,6 +11112,20 @@ components: type: string wave: $ref: "#/components/schemas/ApiWaveMin" + ApiMentionedWaveV2: + type: object + required: + - id + - in_content + properties: + id: + type: string + name: + type: string + pfp: + type: string + in_content: + type: string ApiMintingClaimAction: type: object required: @@ -10530,6 +11620,49 @@ components: $ref: "#/components/schemas/ApiDrop" additional_context: type: object + ApiNotificationAdditionalContextV2: + type: object + properties: + amount: + type: number + format: double + total: + type: number + format: double + category: + type: string + vote: + type: number + format: double + reaction: + type: string + reactors: + type: array + items: + $ref: "#/components/schemas/ApiNotificationDropReactedReactor" + quote_drop_id: + type: string + quote_drop_part: + type: number + format: int64 + quoted_drop_id: + type: string + quoted_drop_part: + type: number + format: int64 + reply_drop_id: + type: string + replied_drop_id: + type: string + replied_drop_part: + type: number + format: int64 + wave_id: + type: string + description: >- + Notification-specific additional context. For DROP_REACTED notifications + this includes reaction and reactors, where each reactor only has handle + and pfp. ApiNotificationCause: type: string enum: @@ -10545,6 +11678,13 @@ components: - WAVE_CREATED - ALL_DROPS - PRIORITY_ALERT + ApiNotificationDropReactedReactor: + type: object + properties: + handle: + type: string + pfp: + type: string ApiNotificationsResponse: type: object required: @@ -10558,6 +11698,50 @@ components: unread_count: type: number format: int64 + ApiNotificationsResponseV2: + type: object + required: + - notifications + - unread_count + properties: + notifications: + type: array + items: + $ref: "#/components/schemas/ApiNotificationV2" + unread_count: + type: number + format: int64 + ApiNotificationV2: + type: object + required: + - id + - cause + - created_at + - read_at + - related_identity + - related_drops + - additional_context + properties: + id: + type: number + format: int64 + cause: + $ref: "#/components/schemas/ApiNotificationCause" + created_at: + type: number + format: int64 + read_at: + type: number + format: int64 + nullable: true + related_identity: + $ref: "#/components/schemas/ApiIdentityOverview" + related_drops: + type: array + items: + $ref: "#/components/schemas/ApiDropV2" + additional_context: + $ref: "#/components/schemas/ApiNotificationAdditionalContextV2" ApiOutgoingIdentitySubscriptionsPage: type: object required: @@ -11321,6 +12505,16 @@ components: drop_part_id: type: number format: int64 + ApiReplyToDropAuthor: + type: object + required: + - handle + - pfp + properties: + handle: + type: string + pfp: + type: string ApiReplyToDropResponse: type: object required: @@ -11337,6 +12531,20 @@ components: type: boolean drop: $ref: "#/components/schemas/ApiDropWithoutWave" + ApiReplyToDropV2: + type: object + required: + - id + properties: + id: + type: string + serial_no: + type: integer + format: int64 + content: + type: string + author: + $ref: "#/components/schemas/ApiReplyToDropAuthor" ApiRepOverview: type: object required: @@ -11433,6 +12641,72 @@ components: type: string key: type: string + ApiSubmissionDropContext: + type: object + required: + - status + - voting + - has_metadata + properties: + status: + $ref: "#/components/schemas/ApiSubmissionDropStatus" + voting: + $ref: "#/components/schemas/ApiSubmissionDropVoting" + has_metadata: + type: boolean + ApiSubmissionDropStatus: + type: string + enum: + - ACTIVE + - WINNER + ApiSubmissionDropVoting: + type: object + required: + - is_open + - total_votes_given + - current_calculated_vote + - predicted_final_vote + - voters_count + - place + properties: + is_open: + type: boolean + context_profile_context: + $ref: "#/components/schemas/ApiSubmissionDropVotingContextProfileContext" + total_votes_given: + type: integer + format: int64 + current_calculated_vote: + type: integer + format: int64 + predicted_final_vote: + type: integer + format: int64 + voters_count: + type: integer + format: int64 + place: + type: integer + format: int64 + ApiSubmissionDropVotingContextProfileContext: + type: object + required: + - can_vote + - min + - max + - current + properties: + can_vote: + type: boolean + min: + type: integer + format: int64 + max: + type: integer + format: int64 + current: + type: integer + format: int64 ApiTargetAndSubscriptionActions: type: object required: @@ -12162,6 +13436,17 @@ components: type: array items: $ref: "#/components/schemas/ApiWaveDecision" + ApiWaveDecisionsPageV2: + type: object + required: + - data + allOf: + - $ref: "#/components/schemas/ApiPageBase" + properties: + data: + type: array + items: + $ref: "#/components/schemas/ApiWaveDecisionV2" ApiWaveDecisionsStrategy: type: object required: @@ -12195,6 +13480,19 @@ components: decisions (see description of subsequent_decisions). Also if true then there needs to be at least one element in subsequent_decisions array. + ApiWaveDecisionV2: + type: object + required: + - decision_time + - winners + properties: + decision_time: + type: integer + format: int62 + winners: + type: array + items: + $ref: "#/components/schemas/ApiWaveDecisionWinnerV2" ApiWaveDecisionWinner: type: object required: @@ -12211,6 +13509,22 @@ components: $ref: "#/components/schemas/ApiWaveDecisionAward" drop: $ref: "#/components/schemas/ApiDrop" + ApiWaveDecisionWinnerV2: + type: object + required: + - place + - awards + - drop + properties: + place: + type: integer + format: int64 + awards: + type: array + items: + $ref: "#/components/schemas/ApiWaveDecisionAward" + drop: + $ref: "#/components/schemas/ApiDropV2" ApiWaveDropsFeed: type: object required: @@ -12229,6 +13543,24 @@ components: type: array items: $ref: "#/components/schemas/ApiDropTraceItem" + ApiWaveDropsFeedV2: + type: object + required: + - wave + - drops + properties: + wave: + $ref: "#/components/schemas/ApiWaveOverview" + drops: + type: array + items: + $ref: "#/components/schemas/ApiDropV2" + root_drop: + $ref: "#/components/schemas/ApiDropV2" + trace: + type: array + items: + $ref: "#/components/schemas/ApiDropTraceItem" ApiWaveLog: type: object required: @@ -12482,6 +13814,69 @@ components: enum: - AUTOMATIC - MANUAL + ApiWaveOverview: + type: object + required: + - id + - name + - last_drop_time + - created_at + - subscribers_count + - has_competition + - is_dm_wave + properties: + id: + type: string + name: + type: string + pfp: + type: string + last_drop_time: + type: integer + format: int64 + created_at: + type: integer + format: int64 + subscribers_count: + type: integer + format: int64 + has_competition: + type: boolean + is_dm_wave: + type: boolean + context_profile_context: + $ref: "#/components/schemas/ApiWaveOverviewContextProfileContext" + ApiWaveOverviewContextProfileContext: + type: object + required: + - subscribed + - pinned + - can_chat + - unread_drops + - muted + properties: + subscribed: + type: boolean + pinned: + type: boolean + can_chat: + type: boolean + unread_drops: + type: integer + format: int64 + muted: + type: boolean + ApiWaveOverviewPage: + type: object + required: + - data + allOf: + - $ref: "#/components/schemas/ApiPageWithoutCount" + properties: + data: + type: array + items: + $ref: "#/components/schemas/ApiWaveOverview" ApiWaveParticipationConfig: type: object required: @@ -12618,6 +14013,13 @@ components: type: string enum: - DROP_CREATED + ApiWavesV2ListType: + type: string + enum: + - SEARCH + - OVERVIEW + - HOT + - FAVOURITES ApiWaveType: type: string enum: