diff --git a/api-references/analytics/endpoints/analytics-api.json b/api-references/analytics/endpoints/analytics-api.json index 501d6cf0..8c504875 100644 --- a/api-references/analytics/endpoints/analytics-api.json +++ b/api-references/analytics/endpoints/analytics-api.json @@ -1,4 +1,15 @@ { + "openapi": "3.0.0", + "info": { + "title": "Analytics Api", + "version": "" + }, + "servers": [ + { + "url": "https://api.sequence.app", + "description": "Analytics" + } + ], "components": { "schemas": { "ErrorWebrpcEndpoint": { @@ -241,7 +252,7 @@ } } }, - "ErrorWebrpcClientDisconnected": { + "ErrorWebrpcClientAborted": { "type": "object", "required": [ "error", @@ -252,7 +263,7 @@ "properties": { "error": { "type": "string", - "example": "WebrpcClientDisconnected" + "example": "WebrpcClientAborted" }, "code": { "type": "number", @@ -260,7 +271,7 @@ }, "msg": { "type": "string", - "example": "client disconnected" + "example": "request aborted by client" }, "cause": { "type": "string" @@ -597,7 +608,7 @@ }, "status": { "type": "number", - "example": 400 + "example": 422 } } }, @@ -627,7 +638,7 @@ }, "status": { "type": "number", - "example": 400 + "example": 422 } } }, @@ -657,7 +668,7 @@ }, "status": { "type": "number", - "example": 400 + "example": 422 } } }, @@ -687,7 +698,7 @@ }, "status": { "type": "number", - "example": 400 + "example": 422 } } }, @@ -807,7 +818,7 @@ }, "status": { "type": "number", - "example": 400 + "example": 422 } } }, @@ -837,7 +848,7 @@ }, "status": { "type": "number", - "example": 400 + "example": 422 } } }, @@ -871,26 +882,72 @@ } } }, - "AuthSessionType": { - "type": "string", - "description": "Represented as uint16 on the server side", - "enum": [ - "PUBLIC", - "WALLET", - "USER", - "ADMIN", - "SERVICE" - ] + "ErrorNoPaymentMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NoPaymentMethod" + }, + "code": { + "type": "number", + "example": 4002 + }, + "msg": { + "type": "string", + "example": "No default payment method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } + }, + "ErrorSeatsLimitReached": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SeatsLimitReached" + }, + "code": { + "type": "number", + "example": 4003 + }, + "msg": { + "type": "string", + "example": "Seats limit reached" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } }, - "SubscriptionTier": { + "SortOrder": { "type": "string", - "description": "Represented as uint8 on the server side", + "description": "Represented as uint32 on the server side", "enum": [ - "COMMUNITY", - "DEVELOPER", - "GROWTH", - "PRO", - "ENTERPRISE" + "ASC", + "DESC" ] }, "ProjectType": { @@ -906,306 +963,155 @@ "MARKETPLACE_UNITY", "MARKETPLACE_UNREAL", "SALE_CONTRACT_ERC1155", - "SALE_CONTRACT_ERC721" - ] - }, - "ResourceType": { - "type": "string", - "description": "Represented as int8 on the server side", - "enum": [ - "CONTRACTS" - ] - }, - "SubscriptionProvider": { - "type": "string", - "description": "Represented as string on the server side", - "enum": [ - "ADMIN", - "STRIPE", - "GOOGLE" - ] - }, - "CollaboratorAccess": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "NONE", - "READ", - "WRITE", - "ADMIN" - ] - }, - "CollaboratorType": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "USER", - "SERVICE_ACCOUNT" - ] - }, - "ContractSourceType": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "LINKED", - "DEPLOYED", - "SALE" - ] - }, - "SortOrder": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "DESC", - "ASC" - ] - }, - "PaymentProvider": { - "type": "string", - "description": "Represented as uint16 on the server side", - "enum": [ - "UNKNOWN", - "STRIPE", - "MANUAL" - ] - }, - "PaymentStatus": { - "type": "string", - "description": "Represented as uint16 on the server side", - "enum": [ - "INITIATED", - "PENDING", - "SUCCEEDED", - "FAILED", - "PROCESSED" - ] - }, - "MarketplaceWallet": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "UNIVERSAL", - "EMBEDDED" - ] - }, - "MarketplaceType": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "AMM", - "P2P", - "SEQUENCE", - "ORDERBOOK" + "SALE_CONTRACT_ERC721", + "ALLOWLIST_STARTER" ] }, - "TokenType": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "ERC20", - "ERC721", - "ERC1155" - ] - }, - "FileScope": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "LOGO", - "MARKETPLACE", - "AVATAR", - "EMAIL", - "WALLET", - "TOKEN_DIRECTORY" - ] - }, - "EmailTemplateType": { + "TemplateType": { "type": "string", "description": "Represented as uint8 on the server side", "enum": [ "UNKNOWN", "LOGIN", - "GUARD" - ] - }, - "TaskStatus": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "PENDING", - "PAUSED", - "FAILED", - "COMPLETED", - "DISABLED" - ] - }, - "DateInterval": { - "type": "string", - "description": "Represented as uint16 on the server side", - "enum": [ - "DAY", - "WEEK", - "MONTH" + "GUARD", + "EMAIL_CONFIRMATION" ] }, - "OnboardingStep": { - "type": "string", - "description": "Represented as string on the server side", - "enum": [ - "linkOrDeployContract", - "createMarketplace", - "setUpGasTank", - "configureWaas", - "customizeWallet", - "inviteCollaborator", - "cloneGithub", - "copyCredentials", - "customizeMarketplace", - "deployERC721Contract", - "deployERC1155Contract", - "addMarketplaceCollection", - "createCollection", - "customizeCollectible", - "deploySaleContract", - "setSaleSettings", - "addMinterRoleToItems", - "setUpAudienceList" - ] - }, - "WaasTenantState": { + "EcosystemAccess": { "type": "string", "description": "Represented as uint8 on the server side", "enum": [ - "PENDING", - "DEPLOYING", - "READY", - "FAILED" - ] - }, - "TrialType": { - "type": "string", - "description": "Represented as string on the server side", - "enum": [ - "ANALYTICS" + "User", + "Read", + "Write", + "Admin", + "Owner" ] }, - "CustomerTier": { + "AdminRole": { "type": "string", "description": "Represented as uint8 on the server side", "enum": [ - "TIER_1", - "TIER_2", - "TIER_3", - "TIER_4", - "TIER_5" + "NONE", + "VIEWER", + "DEVELOPER", + "ECOSYSTEM", + "ACCOUNT", + "FINANCE", + "SUPERADMIN" ] }, - "Version": { + "Page": { "type": "object", - "required": [ - "webrpcVersion", - "schemaVersion", - "schemaHash", - "appVersion" - ], "properties": { - "webrpcVersion": { - "type": "string" + "pageSize": { + "type": "number" }, - "schemaVersion": { - "type": "string" + "page": { + "type": "number" }, - "schemaHash": { + "column": { "type": "string" }, - "appVersion": { - "type": "string" + "more": { + "type": "boolean" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" + } } } }, - "RuntimeStatus": { + "SortBy": { "type": "object", "required": [ - "healthOK", - "startTime", - "uptime", - "ver", - "env", - "branch", - "commitHash", - "networks", - "checks" + "column" ], "properties": { - "healthOK": { - "type": "boolean" - }, - "startTime": { - "type": "string" - }, - "uptime": { - "type": "number" - }, - "ver": { - "type": "string" - }, - "env": { - "type": "string" - }, - "branch": { - "type": "string" - }, - "commitHash": { + "column": { "type": "string" }, - "networks": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "boolean" - } - }, - "checks": { - "$ref": "#/components/schemas/RuntimeChecks" + "order": { + "$ref": "#/components/schemas/SortOrder" } } }, - "RuntimeChecks": { + "ProjectImplicitRegistry": { "type": "object", "required": [ - "quotaControl", - "joqueue", - "stripe", - "cloudCommerce" + "whitelistedDomains", + "ids" ], "properties": { - "quotaControl": { - "type": "boolean" - }, - "joqueue": { - "type": "boolean" - }, - "stripe": { - "type": "boolean" + "whitelistedDomains": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } }, - "cloudCommerce": { - "type": "boolean" + "ids": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } } } }, - "Configuration": { + "Project": { "type": "object", "required": [ + "id", "name", - "title", + "ownerAddress", + "ownerAvatarUrl", + "licenseId", + "licenseVersion", + "logoImageKey", + "logoImageUrl", + "websiteUrl", "chainIds", - "domains" + "collaboratorCount", + "onboardingVisibility", + "createdAt", + "updatedAt" ], "properties": { + "id": { + "type": "number" + }, "name": { "type": "string" }, - "title": { + "type": { + "$ref": "#/components/schemas/ProjectType" + }, + "ownerAddress": { + "type": "string" + }, + "ownerEmail": { + "type": "string" + }, + "ownerAvatarUrl": { + "type": "string" + }, + "licenseId": { + "type": "number" + }, + "licenseVersion": { + "type": "number" + }, + "logoImageKey": { + "type": "string" + }, + "logoImageUrl": { + "type": "string" + }, + "websiteUrl": { "type": "string" }, "chainIds": { @@ -1215,167 +1121,230 @@ "type": "number" } }, - "domains": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } + "ecosystemId": { + "type": "number" }, - "logoUrl": { - "type": "string" + "collaboratorCount": { + "type": "number" }, - "logoLightUrl": { - "type": "string" + "onboardingVisibility": { + "type": "boolean" }, - "titleUrl": { - "type": "string" + "implicitRegistry": { + "$ref": "#/components/schemas/ProjectImplicitRegistry" }, - "backgroundUrl": { + "createdAt": { "type": "string" }, - "mobileBackgroundUrl": { + "updatedAt": { "type": "string" }, - "customCss": { + "deletedAt": { "type": "string" - }, - "animationUrl": { + } + } + }, + "ProjectListFilter": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "crispWebsiteId": { - "type": "string" + "chainId": { + "type": "number" }, - "learnMoreButton": { + "collaboratorAddress": { "type": "string" }, - "learnMoreUrl": { + "collaboratorEmail": { "type": "string" + }, + "licenseId": { + "type": "number" + }, + "active": { + "type": "boolean" } } }, - "AuthState": { + "OpenIdProvider": { "type": "object", "required": [ - "jwtToken", - "expiresAt", - "address", - "sessionType" + "iss", + "aud" ], "properties": { - "jwtToken": { + "iss": { "type": "string" }, - "expiresAt": { + "aud": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "ContractData": { + "type": "object", + "required": [ + "abi", + "bytecode" + ], + "properties": { + "abi": { "type": "string" }, - "address": { + "bytecode": { "type": "string" }, - "sessionType": { - "$ref": "#/components/schemas/AuthSessionType" + "hash": { + "type": "string" }, - "user": { - "$ref": "#/components/schemas/User" + "implementationAddress": { + "type": "string" } } }, - "User": { + "SESSettings": { "type": "object", "required": [ - "address", - "createdAt", - "updatedAt", - "sysAdmin", - "avatarKey", - "avatarUrl" + "accessRoleARN", + "sourceARN", + "region" ], "properties": { - "address": { + "accessRoleARN": { "type": "string" }, - "email": { + "sourceARN": { "type": "string" }, - "createdAt": { + "region": { "type": "string" - }, - "updatedAt": { + } + } + }, + "Image": { + "type": "object", + "required": [ + "src" + ], + "properties": { + "src": { "type": "string" }, - "sysAdmin": { - "type": "boolean" + "width": { + "type": "string" }, - "avatarKey": { + "height": { "type": "string" }, - "avatarUrl": { + "alt": { "type": "string" + }, + "displayOptions": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } } } }, - "UserSettings": { + "WalletProof": { "type": "object", "required": [ - "freeProjectsLeft", - "totalFreeProjectLimit", - "totalPaidProjects" + "address", + "message", + "signature", + "chainId" ], "properties": { - "freeProjectsLeft": { - "type": "number" + "address": { + "type": "string" }, - "totalFreeProjectLimit": { - "type": "number" + "message": { + "type": "string" }, - "totalPaidProjects": { + "signature": { + "type": "string" + }, + "chainId": { "type": "number" } } }, - "UserOverride": { + "BillingCycle": { "type": "object", "required": [ - "id", - "address", - "extraProjects", - "createdAt", - "updatedAt" + "start", + "end" ], "properties": { - "id": { - "type": "number" - }, - "address": { - "type": "string" - }, - "extraProjects": { - "type": "number" - }, - "createdAt": { + "start": { "type": "string" }, - "updatedAt": { + "end": { "type": "string" } } }, - "Project": { + "SubscriptionProvider": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ADMIN", + "STRIPE", + "GOOGLE" + ] + }, + "Feature": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ANALYTICS", + "MARKETPLACE_SUBDOMAIN", + "MARKETPLACE_DOMAIN" + ] + }, + "LicenseTag": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "NONE", + "POPULAR", + "DISCOUNT" + ] + }, + "PaymentProvider": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "NONE", + "STRIPE", + "ADMIN", + "CRYPTO", + "ECOSYSTEM", + "GOOGLE" + ] + }, + "License": { "type": "object", "required": [ "id", - "name", - "ownerAddress", - "ownerAvatarUrl", - "draft", - "logoImageKey", - "logoImageUrl", - "websiteUrl", - "chainIds", - "whitelabel", - "subscriptionTier", - "collaboratorCount", - "onboardingSteps", + "ecosystemId", + "isDefault", + "packageName", + "label", + "tier", + "featured", + "subtitle", + "tag", + "mainnetEnabled", + "totalLicenses", + "licensePerUser", "createdAt", "updatedAt" ], @@ -1383,55 +1352,62 @@ "id": { "type": "number" }, - "name": { - "type": "string" + "ecosystemId": { + "type": "number" }, - "type": { - "$ref": "#/components/schemas/ProjectType" + "isDefault": { + "type": "boolean" }, - "ownerAddress": { + "packageName": { "type": "string" }, - "ownerEmail": { + "label": { "type": "string" }, - "ownerAvatarUrl": { - "type": "string" + "tier": { + "type": "number" }, - "draft": { + "featured": { "type": "boolean" }, - "logoImageKey": { + "subtitle": { "type": "string" }, - "logoImageUrl": { - "type": "string" + "tag": { + "$ref": "#/components/schemas/LicenseTag" }, - "websiteUrl": { - "type": "string" + "mainnetEnabled": { + "type": "boolean" }, - "chainIds": { + "defaultChainIds": { "type": "array", "description": "[]uint64", "items": { "type": "number" } }, - "whitelabel": { - "type": "string" + "availableChainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } }, - "subscriptionTier": { - "$ref": "#/components/schemas/SubscriptionTier" + "extraChainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } }, - "collaboratorCount": { + "totalLicenses": { "type": "number" }, - "onboardingSteps": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "boolean" - } + "licenseUsage": { + "$ref": "#/components/schemas/LicenseUsage" + }, + "licensePerUser": { + "type": "number" }, "createdAt": { "type": "string" @@ -1444,528 +1420,738 @@ } } }, - "ResourceFilter": { - "type": "object", - "properties": { - "contracts": { - "$ref": "#/components/schemas/ContractFilter" - } - } - }, - "Resource": { + "LicenseVersion": { "type": "object", "required": [ - "type", - "total", - "detail" + "licenseId", + "version", + "settings", + "versionUsage", + "createdAt", + "updatedAt" ], "properties": { - "type": { - "$ref": "#/components/schemas/ResourceType" + "licenseId": { + "type": "number" }, - "total": { + "version": { "type": "number" }, - "detail": { + "settings": { + "$ref": "#/components/schemas/LicenseSettings" + }, + "features": { "type": "array", - "description": "[]ResourceDetail", + "description": "[]Feature", "items": { - "$ref": "#/components/schemas/ResourceDetail" + "$ref": "#/components/schemas/Feature" } - } - } - }, - "ResourceDetail": { - "type": "object", - "required": [ - "key", - "count" - ], - "properties": { - "key": { - "type": "object" }, - "count": { + "versionUsage": { "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "ProjectSubscription": { + "LicenseSettings": { "type": "object", "required": [ - "id", - "projectId", - "subscriptionTier", - "provider", - "providerId", - "dateStart" + "subscriptionPrice", + "seats", + "serviceSettings", + "marketplaceFee", + "royaltyFee", + "gasFeeMarkup", + "gasIncluded", + "features" ], "properties": { - "id": { - "type": "number" + "subscriptionPrice": { + "type": "string" }, - "projectId": { + "seats": { "type": "number" }, - "subscriptionTier": { - "$ref": "#/components/schemas/SubscriptionTier" + "serviceSettings": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/ServiceSettings" + } }, - "provider": { - "$ref": "#/components/schemas/SubscriptionProvider" + "marketplaceFee": { + "type": "string" }, - "providerId": { + "royaltyFee": { "type": "string" }, - "dateStart": { + "gasFeeMarkup": { "type": "string" }, - "dateEnd": { + "gasIncluded": { "type": "string" + }, + "features": { + "type": "array", + "description": "[]Feature", + "items": { + "$ref": "#/components/schemas/Feature" + } } } }, - "Collaborator": { + "ServiceSettings": { "type": "object", "required": [ - "id", - "projectId", - "type", - "userAddress", - "access", - "createdAt", - "updatedAt" + "rateLimit", + "requestsIncluded", + "overageAllowed", + "overagePrice" ], "properties": { - "id": { + "rateLimit": { "type": "number" }, - "projectId": { + "requestsIncluded": { "type": "number" }, - "type": { - "$ref": "#/components/schemas/CollaboratorType" - }, - "userAddress": { - "type": "string" - }, - "userEmail": { - "type": "string" - }, - "userAvatarUrl": { - "type": "string" + "overageAllowed": { + "type": "boolean" }, - "userAvatarKey": { + "overagePrice": { "type": "string" - }, - "access": { - "$ref": "#/components/schemas/CollaboratorAccess" - }, - "invitationId": { + } + } + }, + "LicenseUsage": { + "type": "object", + "required": [ + "total", + "providers", + "versions" + ], + "properties": { + "total": { "type": "number" }, - "createdAt": { - "type": "string" + "providers": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } }, - "updatedAt": { - "type": "string" + "versions": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } } } }, - "Contract": { + "BillingOverride": { "type": "object", "required": [ - "id", - "projectId", - "contractName", - "contractAddress", - "contractType", - "chainId", - "source", - "createdAt", - "updatedAt" + "extraSeats", + "extraFeatures", + "topUpEnabled", + "topUpProvider", + "balanceNotifications" ], "properties": { - "id": { - "type": "number" + "priceSubscription": { + "type": "string" }, - "projectId": { + "extraSeats": { "type": "number" }, - "contractName": { - "type": "string" - }, - "contractAddress": { + "marketplaceFee": { "type": "string" }, - "contractType": { + "royaltyFee": { "type": "string" }, - "chainId": { - "type": "number" - }, - "source": { - "$ref": "#/components/schemas/ContractSourceType" - }, - "itemsContractAddress": { + "gasFeeMarkup": { "type": "string" }, - "splitterContractAddresses": { + "extraFeatures": { "type": "array", - "description": "[]string", + "description": "[]Feature", "items": { - "type": "string" + "$ref": "#/components/schemas/Feature" } }, - "abi": { - "type": "string" + "serviceSettings": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/ServiceSettingsOverride" + } }, - "bytecode": { - "type": "string" + "topUpEnabled": { + "type": "boolean" }, - "bytecodeHash": { - "type": "string" + "topUpProvider": { + "$ref": "#/components/schemas/PaymentProvider" }, - "audienceId": { + "topUpThreshold": { "type": "number" }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "ContractFilter": { - "type": "object", - "properties": { - "chainId": { + "topUpAmount": { "type": "number" }, - "contractSourceType": { - "$ref": "#/components/schemas/ContractSourceType" + "topUpLimit": { + "type": "number" }, - "contractType": { - "type": "string" + "balanceNotifications": { + "type": "boolean" } } }, - "ContractLink": { + "ServiceSettingsOverride": { "type": "object", - "required": [ - "project", - "collaborator" - ], "properties": { - "contract": { - "$ref": "#/components/schemas/Contract" - }, - "project": { - "$ref": "#/components/schemas/Project" + "rateLimit": { + "type": "number" }, - "collaborator": { - "$ref": "#/components/schemas/Collaborator" - } - } - }, - "NodeAccount": { - "type": "object", - "required": [ - "id", - "displayName", - "requestRateLimit", - "requestMonthlyQuota", - "active" - ], - "properties": { - "id": { + "requestsIncluded": { "type": "number" }, - "displayName": { + "overageAllowed": { + "type": "boolean" + }, + "overagePrice": { "type": "string" }, - "requestRateLimit": { + "usageWarning": { "type": "number" }, - "requestMonthlyQuota": { + "overageWarning": { "type": "number" }, - "active": { - "type": "boolean" + "maxOverage": { + "type": "number" } } }, - "RelayerGasTank": { + "ResourceType": { + "type": "string", + "description": "Represented as int8 on the server side", + "enum": [ + "CONTRACTS", + "MARKET_COLLECTIONS", + "SHOP_COLLECTIONS" + ] + }, + "CollaboratorAccess": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "NONE", + "READ", + "WRITE", + "ADMIN" + ] + }, + "CollaboratorType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "USER", + "SERVICE_ACCOUNT" + ] + }, + "ContractSourceType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "LINKED", + "DEPLOYED" + ] + }, + "PaymentStatus": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "INITIATED", + "PENDING", + "SUCCEEDED", + "FAILED", + "PROCESSED" + ] + }, + "AdminMarketplaceContractType": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "UNKNOWN", + "ERC20", + "ERC721", + "ERC1155" + ] + }, + "AdminCollectionPriority": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "low", + "normal", + "high" + ] + }, + "AdminCollectionStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "created", + "syncing_contract_metadata", + "synced_contract_metadata", + "syncing_metadata", + "synced_metadata", + "syncing_tokens", + "synced_tokens", + "syncing_orders", + "active", + "failed", + "inactive", + "incompatible_type" + ] + }, + "TokenType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "ERC20", + "ERC721", + "ERC1155" + ] + }, + "FileScope": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "LOGO", + "MARKETPLACE", + "AVATAR", + "EMAIL", + "WALLET", + "TOKEN_DIRECTORY", + "ECOSYSTEM" + ] + }, + "TaskStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "PENDING", + "PAUSED", + "FAILED", + "COMPLETED", + "DISABLED" + ] + }, + "TrialType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ANALYTICS" + ] + }, + "AuditType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "SUBSCRIPTION", + "BILLING_OVERRIDE", + "ECOSYSTEM_LICENSE", + "LICENSE_VERSION" + ] + }, + "PaymentMethodType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "Card", + "Link" + ] + }, + "SecretType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "FORTEPAY" + ] + }, + "SecretEnv": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "TEST", + "PROD" + ] + }, + "Version": { "type": "object", "required": [ - "id", - "projectId", - "relayerIdMap", - "totalPayments", - "totalUsage" + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" ], "properties": { - "id": { - "type": "number" - }, - "projectId": { - "type": "number" - }, - "relayerIdMap": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "number" - } - }, - "totalPayments": { - "type": "number" + "webrpcVersion": { + "type": "string" }, - "totalUsage": { - "type": "number" + "schemaVersion": { + "type": "string" }, - "timestampUsage": { + "schemaHash": { "type": "string" }, - "lastPaymentId": { - "type": "number" + "appVersion": { + "type": "string" } } }, - "RelayerGasBalance": { + "RuntimeStatus": { "type": "object", "required": [ - "id", - "name", - "chainId", - "currentBalance", - "feeMarkupFactor", - "unlimited" + "healthOK", + "startTime", + "uptime", + "ver", + "env", + "branch", + "commitHash", + "networks", + "checks" ], "properties": { - "id": { - "type": "number" + "healthOK": { + "type": "boolean" }, - "name": { + "startTime": { "type": "string" }, - "chainId": { + "uptime": { "type": "number" }, - "currentBalance": { - "type": "number" + "ver": { + "type": "string" }, - "feeMarkupFactor": { - "type": "number" + "env": { + "type": "string" }, - "unlimited": { - "type": "boolean" + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "networks": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "boolean" + } + }, + "checks": { + "$ref": "#/components/schemas/RuntimeChecks" } } }, - "RelayerGasSponsor": { + "RuntimeChecks": { "type": "object", "required": [ - "id", - "projectId", - "chainId", - "displayName", - "address", - "active", - "createdAt", - "updatedAt" + "quotaControl", + "joqueue", + "stripe", + "cloudCommerce" ], "properties": { - "id": { - "type": "number" + "quotaControl": { + "type": "boolean" }, - "projectId": { - "type": "number" + "joqueue": { + "type": "boolean" }, - "chainId": { - "type": "number" + "stripe": { + "type": "boolean" }, - "displayName": { + "cloudCommerce": { + "type": "boolean" + } + } + }, + "AuthState": { + "type": "object", + "required": [ + "jwtToken", + "expiresAt", + "address", + "sessionType", + "user" + ], + "properties": { + "jwtToken": { "type": "string" }, - "address": { + "expiresAt": { "type": "string" }, - "active": { - "type": "boolean" - }, - "createdAt": { + "address": { "type": "string" }, - "updatedAt": { + "sessionType": { "type": "string" + }, + "user": { + "$ref": "#/components/schemas/User" + }, + "access": { + "$ref": "#/components/schemas/EcosystemAccess" } } }, - "RelayerGasSponsorUsage": { + "User": { "type": "object", "required": [ - "id", - "chainId", - "totalGasUsed", - "totalTxnFees", - "avgGasPrice", - "totalTxns", - "startTime", - "endTime" + "address", + "emailConfirmed", + "role", + "avatarKey", + "avatarUrl", + "recentProjectIds", + "createdAt", + "updatedAt" ], "properties": { - "id": { - "type": "number" + "address": { + "type": "string" }, - "chainId": { - "type": "number" + "email": { + "type": "string" }, - "totalGasUsed": { - "type": "number" + "emailConfirmed": { + "type": "boolean" }, - "totalTxnFees": { - "type": "number" + "role": { + "$ref": "#/components/schemas/AdminRole" }, - "avgGasPrice": { - "type": "number" + "avatarKey": { + "type": "string" }, - "totalTxns": { - "type": "number" + "avatarUrl": { + "type": "string" }, - "startTime": { + "recentProjectIds": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } + }, + "createdAt": { "type": "string" }, - "endTime": { + "updatedAt": { "type": "string" } } }, - "RelayerTransaction": { + "UserWallet": { "type": "object", "required": [ - "txnHash", - "txnNonce", - "txnStatus", - "txnRevertReason", - "requeues", - "queuedAt", - "sentAt", - "minedAt", - "target", - "input", - "txnArgs", + "id", + "userAddress", "walletAddress", - "metaTxnNonce", - "gasLimit", - "gasPrice", - "gasUsed", - "gasEstimated", - "usdRate", - "creditsUsed", - "isWhitelisted", + "provider", "createdAt", "updatedAt" ], "properties": { - "txnHash": { + "id": { + "type": "number" + }, + "userAddress": { "type": "string" }, - "txnNonce": { + "walletAddress": { "type": "string" }, - "metaTxnID": { + "provider": { "type": "string" }, - "txnStatus": { + "createdAt": { "type": "string" }, - "txnRevertReason": { + "updatedAt": { "type": "string" + } + } + }, + "UserSettings": { + "type": "object", + "required": [ + "projectsLimit", + "projectCount" + ], + "properties": { + "projectsLimit": { + "type": "number" }, - "requeues": { + "projectsLeft": { "type": "number" }, - "queuedAt": { - "type": "string" + "projectCount": { + "type": "number" + } + } + }, + "UserOverride": { + "type": "object", + "required": [ + "id", + "address", + "extraProjects", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" }, - "sentAt": { + "address": { "type": "string" }, - "minedAt": { - "type": "string" + "extraProjects": { + "type": "number" }, - "target": { + "createdAt": { "type": "string" }, - "input": { + "updatedAt": { "type": "string" + } + } + }, + "CreateProjectOptions": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/ProjectType" }, - "txnArgs": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } - }, - "txnReceipt": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" } + } + } + }, + "ResourceFilter": { + "type": "object", + "properties": { + "contracts": { + "$ref": "#/components/schemas/ContractFilter" + } + } + }, + "Resource": { + "type": "object", + "required": [ + "type", + "total", + "detail" + ], + "properties": { + "type": { + "$ref": "#/components/schemas/ResourceType" }, - "walletAddress": { - "type": "string" - }, - "metaTxnNonce": { - "type": "string" - }, - "gasLimit": { + "total": { "type": "number" }, - "gasPrice": { - "type": "string" + "detail": { + "type": "array", + "description": "[]ResourceDetail", + "items": { + "$ref": "#/components/schemas/ResourceDetail" + } + } + } + }, + "ResourceDetail": { + "type": "object", + "required": [ + "key", + "count" + ], + "properties": { + "key": { + "type": "object" }, - "gasUsed": { + "count": { "type": "number" - }, - "gasEstimated": { + } + } + }, + "ProjectSubscription": { + "type": "object", + "required": [ + "id", + "projectId", + "licenseId", + "licenseVersion", + "subscriptionId", + "dateStart" + ], + "properties": { + "id": { "type": "number" }, - "gasFeeMarkup": { + "projectId": { "type": "number" }, - "usdRate": { - "type": "string" + "provider": { + "$ref": "#/components/schemas/SubscriptionProvider" }, - "creditsUsed": { + "licenseId": { "type": "number" }, - "isWhitelisted": { - "type": "boolean" - }, - "gasSponsor": { + "licenseVersion": { "type": "number" }, - "createdAt": { + "subscriptionId": { "type": "string" }, - "updatedAt": { + "providerUrl": { + "type": "string" + }, + "dateStart": { + "type": "string" + }, + "dateEnd": { "type": "string" } } }, - "IndexerWebhook": { + "Collaborator": { "type": "object", "required": [ "id", "projectId", - "chainId", - "contractAddress", - "eventSig", - "webhookUrl", - "disabled", + "type", + "userAddress", + "access", "createdAt", "updatedAt" ], @@ -1976,20 +2162,26 @@ "projectId": { "type": "number" }, - "chainId": { - "type": "number" + "type": { + "$ref": "#/components/schemas/CollaboratorType" }, - "contractAddress": { + "userAddress": { "type": "string" }, - "eventSig": { + "userEmail": { "type": "string" }, - "webhookUrl": { + "userAvatarUrl": { "type": "string" }, - "disabled": { - "type": "boolean" + "userAvatarKey": { + "type": "string" + }, + "access": { + "$ref": "#/components/schemas/CollaboratorAccess" + }, + "invitationId": { + "type": "number" }, "createdAt": { "type": "string" @@ -1999,23 +2191,18 @@ } } }, - "ContractSource": { + "Contract": { "type": "object", "required": [ "id", - "uid", + "projectId", + "contractName", + "contractAddress", "contractType", - "name", - "description", - "author", - "license", - "audited", - "moreInfoUrl", - "disabled", - "factorySourceUid", - "abi", - "bytecode", - "bytecodeHash", + "chainId", + "source", + "contractExtensions", + "bytecodeMatch", "createdAt", "updatedAt" ], @@ -2023,38 +2210,23 @@ "id": { "type": "number" }, - "uid": { - "type": "string" - }, - "contractType": { - "type": "string" - }, "projectId": { "type": "number" }, - "name": { + "contractName": { "type": "string" }, - "description": { + "contractAddress": { "type": "string" }, - "author": { - "type": "string" - }, - "license": { - "type": "string" - }, - "audited": { - "type": "boolean" - }, - "moreInfoUrl": { + "contractType": { "type": "string" }, - "disabled": { - "type": "boolean" + "chainId": { + "type": "number" }, - "factorySourceUid": { - "type": "string" + "source": { + "$ref": "#/components/schemas/ContractSourceType" }, "abi": { "type": "string" @@ -2065,45 +2237,27 @@ "bytecodeHash": { "type": "string" }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - } - }, - "ContractFactory": { - "type": "object", - "required": [ - "id", - "chainId", - "contractAddress", - "uid", - "createdAt", - "updatedAt" - ], - "properties": { - "id": { + "audienceId": { "type": "number" }, - "chainId": { + "decimals": { "type": "number" }, - "contractAddress": { - "type": "string" - }, - "uid": { + "symbol": { "type": "string" }, - "abi": { - "type": "string" + "contractExtensions": { + "$ref": "#/components/schemas/ContractExtensions" }, - "bytecode": { - "type": "string" + "tags": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } }, - "bytecodeHash": { - "type": "string" + "bytecodeMatch": { + "type": "boolean" }, "createdAt": { "type": "string" @@ -2113,279 +2267,404 @@ } } }, - "NewContractSource": { - "type": "object", - "required": [ - "uid", - "name", - "contractType", - "bytecode", - "abi" - ], - "properties": { - "uid": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "author": { - "type": "string" - }, - "license": { - "type": "string" - }, - "audited": { - "type": "boolean" - }, - "moreInfoUrl": { - "type": "string" - }, - "disabled": { - "type": "boolean" - }, - "contractType": { - "type": "string" - }, - "bytecode": { - "type": "string" - }, - "abi": { - "type": "string" - } - } - }, - "Page": { + "ContractExtensions": { "type": "object", "properties": { - "pageSize": { - "type": "number" - }, - "page": { - "type": "number" - }, - "column": { + "itemsContractAddress": { "type": "string" }, - "more": { - "type": "boolean" - }, - "before": { - "type": "object" - }, - "after": { - "type": "object" - }, - "sort": { + "splitterContractAddresses": { "type": "array", - "description": "[]SortBy", + "description": "[]string", "items": { - "$ref": "#/components/schemas/SortBy" + "type": "string" } } } }, - "SortBy": { + "ContractSync": { "type": "object", - "required": [ - "column" - ], "properties": { - "column": { - "type": "string" + "decimals": { + "type": "number" }, - "order": { - "$ref": "#/components/schemas/SortOrder" + "symbol": { + "type": "string" } } }, - "BillingSettings": { + "ContractFilter": { "type": "object", - "required": [ - "maxKeys", - "rateLimit", - "creditsIncludedWarn", - "creditsIncludedMax", - "creditsOverageWarn", - "creditsOverageMax", - "priceSubscriptionTier", - "priceCreditOverage", - "marketplaceFee", - "gasFeeMarkup", - "blockTransactions", - "providerSettings" - ], "properties": { - "maxKeys": { - "type": "number" - }, - "rateLimit": { - "type": "number" - }, - "creditsIncludedWarn": { - "type": "number" - }, - "creditsIncludedMax": { - "type": "number" - }, - "creditsOverageWarn": { + "chainId": { "type": "number" }, - "creditsOverageMax": { - "type": "number" + "contractSourceType": { + "$ref": "#/components/schemas/ContractSourceType" }, - "priceSubscriptionTier": { - "type": "string" + "contractTypes": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } }, - "priceCreditOverage": { + "tag": { "type": "string" }, - "marketplaceFee": { + "name": { "type": "string" }, - "gasFeeMarkup": { + "contractAddress": { "type": "string" }, - "blockTransactions": { + "includeUnmatched": { "type": "boolean" - }, - "providerSettings": { - "type": "object", - "description": "map", - "additionalProperties": { - "$ref": "#/components/schemas/BillingProviderSettings" - } } } }, - "BillingProviderSettings": { + "ContractTag": { "type": "object", "required": [ - "priceSubscriptionTier", - "priceCreditOverage", - "disabled" + "tag", + "count" ], "properties": { - "priceSubscriptionTier": { - "type": "string" - }, - "priceCreditOverage": { + "tag": { "type": "string" }, - "disabled": { - "type": "boolean" + "count": { + "type": "number" } } }, - "BillingOverride": { + "ContractLink": { "type": "object", "required": [ - "extraKeys", - "discountSubscriptionTier", - "discountCreditOverage", - "forceAllowTransactions" + "project", + "collaborator" ], "properties": { - "extraKeys": { - "type": "number" - }, - "rateLimit": { - "type": "number" + "contract": { + "$ref": "#/components/schemas/Contract" }, - "creditsIncludedWarn": { - "type": "number" + "project": { + "$ref": "#/components/schemas/Project" }, - "creditsOverageWarn": { + "collaborator": { + "$ref": "#/components/schemas/Collaborator" + } + } + }, + "RelayerGasSponsor": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "displayName", + "address", + "active", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { "type": "number" }, - "creditsOverageMax": { + "projectId": { "type": "number" }, - "discountSubscriptionTier": { + "chainId": { "type": "number" }, - "discountCreditOverage": { - "type": "number" + "displayName": { + "type": "string" }, - "marketplaceFee": { - "type": "number" + "address": { + "type": "string" }, - "forceAllowTransactions": { + "active": { "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "SubscriptionInfo": { + "RelayerTransaction": { "type": "object", "required": [ - "current", - "subscriptionUrl", - "cycleStart", - "cycleEnd", - "settings", - "creditsBonus", - "creditUsage", - "creditBalance", - "creditOverage" + "txnHash", + "txnNonce", + "txnStatus", + "txnRevertReason", + "requeues", + "queuedAt", + "sentAt", + "minedAt", + "target", + "input", + "txnArgs", + "walletAddress", + "metaTxnNonce", + "gasLimit", + "gasPrice", + "gasUsed", + "gasEstimated", + "usdRate", + "creditsUsed", + "cost", + "isWhitelisted", + "createdAt", + "updatedAt" ], "properties": { - "current": { - "$ref": "#/components/schemas/ProjectSubscription" + "txnHash": { + "type": "string" }, - "subscriptionUrl": { + "txnNonce": { "type": "string" }, - "cycleStart": { + "metaTxnID": { "type": "string" }, - "cycleEnd": { + "txnStatus": { "type": "string" }, - "plannedDowngrade": { - "$ref": "#/components/schemas/SubscriptionTier" + "txnRevertReason": { + "type": "string" }, - "pendingUpgrade": { - "$ref": "#/components/schemas/SubscriptionTier" + "requeues": { + "type": "number" }, - "settings": { - "$ref": "#/components/schemas/BillingSettings" + "queuedAt": { + "type": "string" + }, + "sentAt": { + "type": "string" + }, + "minedAt": { + "type": "string" + }, + "target": { + "type": "string" + }, + "input": { + "type": "string" + }, + "txnArgs": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "txnReceipt": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } }, - "creditsBonus": { + "walletAddress": { + "type": "string" + }, + "metaTxnNonce": { + "type": "string" + }, + "gasLimit": { "type": "number" }, - "creditUsage": { + "gasPrice": { + "type": "string" + }, + "gasUsed": { "type": "number" }, - "creditBalance": { + "gasEstimated": { "type": "number" }, - "creditOverage": { + "gasFeeMarkup": { "type": "number" }, - "extraCharged": { + "usdRate": { + "type": "string" + }, + "creditsUsed": { + "type": "number" + }, + "cost": { + "type": "string" + }, + "isWhitelisted": { + "type": "boolean" + }, + "gasSponsor": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { "type": "string" } } }, - "PaymentHistory": { + "ProjectGasTankStatus": { "type": "object", "required": [ - "totalPayments", - "payments" + "provider", + "setupPayment", + "issueWithPayment", + "mainnetSponsors" ], "properties": { - "totalPayments": { + "provider": { + "$ref": "#/components/schemas/PaymentProvider" + }, + "setupPayment": { + "type": "boolean" + }, + "issueWithPayment": { + "type": "boolean" + }, + "mainnetSponsors": { + "type": "boolean" + }, + "balance": { "type": "number" + } + } + }, + "EcosystemGasTankStatus": { + "type": "object", + "required": [ + "setupPayment", + "issueWithPayment" + ], + "properties": { + "setupPayment": { + "type": "boolean" }, - "payments": { - "type": "array", - "description": "[]Payment", - "items": { - "$ref": "#/components/schemas/Payment" + "issueWithPayment": { + "type": "boolean" + }, + "balance": { + "type": "number" + } + } + }, + "GasTankSettings": { + "type": "object", + "required": [ + "balanceThreshold", + "sendNotifications", + "autoRecharge", + "topupProvider", + "rechargeAmount", + "rechargeLimit" + ], + "properties": { + "balanceThreshold": { + "type": "number" + }, + "sendNotifications": { + "type": "boolean" + }, + "autoRecharge": { + "type": "boolean" + }, + "topupProvider": { + "$ref": "#/components/schemas/PaymentProvider" + }, + "rechargeAmount": { + "type": "number" + }, + "rechargeLimit": { + "type": "number" + } + } + }, + "UsageInfo": { + "type": "object", + "required": [ + "includedWarn", + "includedMax", + "overageWarn", + "overageMax", + "usage", + "balance", + "overage", + "extraCharged" + ], + "properties": { + "includedWarn": { + "type": "number" + }, + "includedMax": { + "type": "number" + }, + "overageWarn": { + "type": "number" + }, + "overageMax": { + "type": "number" + }, + "usage": { + "type": "number" + }, + "balance": { + "type": "number" + }, + "overage": { + "type": "number" + }, + "extraCharged": { + "type": "string" + } + } + }, + "SubscriptionInfo": { + "type": "object", + "required": [ + "current", + "cycle", + "settings", + "gasTankSettings", + "usage" + ], + "properties": { + "current": { + "$ref": "#/components/schemas/ProjectSubscription" + }, + "license": { + "$ref": "#/components/schemas/License" + }, + "cycle": { + "$ref": "#/components/schemas/BillingCycle" + }, + "settings": { + "$ref": "#/components/schemas/LicenseSettings" + }, + "gasTankSettings": { + "$ref": "#/components/schemas/GasTankSettings" + }, + "usage": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/UsageInfo" } + }, + "plannedDowngrade": { + "$ref": "#/components/schemas/License" + }, + "pendingUpgrade": { + "$ref": "#/components/schemas/License" } } }, @@ -2459,44 +2738,6 @@ } } }, - "PaymentLog": { - "type": "object", - "required": [ - "id", - "paymentID", - "data", - "createdAt" - ], - "properties": { - "id": { - "type": "number" - }, - "paymentID": { - "type": "number" - }, - "data": { - "$ref": "#/components/schemas/PaymentLogData" - }, - "createdAt": { - "type": "string" - } - } - }, - "PaymentLogData": { - "type": "object", - "required": [ - "type", - "data" - ], - "properties": { - "type": { - "type": "string" - }, - "data": { - "type": "object" - } - } - }, "InvoicesReturn": { "type": "object", "required": [ @@ -2543,147 +2784,120 @@ } } }, - "SubscriptionPlans": { + "ContractInfo": { "type": "object", "required": [ - "configs" + "data" ], "properties": { - "configs": { - "type": "object", - "description": "map", - "additionalProperties": { - "$ref": "#/components/schemas/SubscriptionPlan" - } + "data": { + "type": "object" } } }, - "SubscriptionPlan": { + "ContractInfoOverride": { "type": "object", "required": [ - "tier", - "settings", - "features" + "data" ], "properties": { - "tier": { - "$ref": "#/components/schemas/SubscriptionTier" - }, - "settings": { - "$ref": "#/components/schemas/BillingSettings" - }, - "features": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } + "data": { + "type": "object" } } }, - "CollectionInfo": { + "ProjectInvitation": { "type": "object", "required": [ - "chainId", - "title", - "type", - "image", - "address", - "link", - "description", - "featured" + "id", + "projectId", + "code", + "access", + "expiresAt", + "usageCount", + "createdAt" ], "properties": { - "chainId": { + "id": { "type": "number" }, - "title": { - "type": "string" + "projectId": { + "type": "number" }, - "type": { + "code": { "type": "string" }, - "image": { - "type": "string" + "access": { + "$ref": "#/components/schemas/CollaboratorAccess" }, - "address": { + "expiresAt": { "type": "string" }, - "link": { - "type": "string" + "usageCount": { + "type": "number" }, - "description": { + "createdAt": { "type": "string" }, - "featured": { - "type": "boolean" + "deletedAt": { + "type": "string" } } }, - "ContractInfo": { + "AdminMarketplaceCollection": { "type": "object", "required": [ + "status", "chainId", - "address", - "name", - "type", - "symbol", - "logoURI", - "deployed", - "bytecodeHash", - "extensions", - "contentHash", + "contractAddress", + "contractType", + "priority", + "tokenQuantityDecimals", + "createdAt", "updatedAt" ], "properties": { + "status": { + "$ref": "#/components/schemas/AdminCollectionStatus" + }, "chainId": { "type": "number" }, - "address": { - "type": "string" - }, - "name": { + "contractAddress": { "type": "string" }, - "type": { - "type": "string" + "contractType": { + "$ref": "#/components/schemas/AdminMarketplaceContractType" }, - "symbol": { - "type": "string" + "priority": { + "$ref": "#/components/schemas/AdminCollectionPriority" }, - "decimals": { + "tokenQuantityDecimals": { "type": "number" }, - "logoURI": { + "createdAt": { "type": "string" }, - "deployed": { - "type": "boolean" - }, - "bytecodeHash": { + "updatedAt": { "type": "string" }, - "extensions": { - "type": "object" - }, - "contentHash": { - "type": "number" - }, - "updatedAt": { + "deletedAt": { "type": "string" } } }, - "ProjectInvitation": { + "OffchainInventory": { "type": "object", "required": [ "id", "projectId", - "code", - "access", - "expiresAt", - "usageCount", - "createdAt" + "chainId", + "externalProductId", + "paymentTokenAddress", + "paymentTokenType", + "paymentTokenId", + "paymentAmount", + "paymentRecipient" ], "properties": { "id": { @@ -2692,21 +2906,39 @@ "projectId": { "type": "number" }, - "code": { - "type": "string" + "chainId": { + "type": "number" }, - "access": { - "$ref": "#/components/schemas/CollaboratorAccess" + "externalProductId": { + "type": "string" }, - "expiresAt": { + "paymentTokenAddress": { "type": "string" }, - "usageCount": { + "paymentTokenType": { + "$ref": "#/components/schemas/TokenType" + }, + "paymentTokenId": { "type": "number" }, - "signupLimit": { + "paymentAmount": { "type": "number" }, + "paymentRecipient": { + "type": "string" + }, + "chainedCallAddress": { + "type": "string" + }, + "chainedCallData": { + "type": "string" + }, + "allowCrossChainPayments": { + "type": "boolean" + }, + "callbackURL": { + "type": "string" + }, "createdAt": { "type": "string" }, @@ -2715,42 +2947,59 @@ } } }, - "MarketplaceConfigSchema": { + "OffchainPayment": { "type": "object", "required": [ - "version", - "config", - "style" + "id", + "offchainInventoryId", + "productRecipient", + "paymentChainId", + "paymentTokenAddress", + "expiration", + "createdAt" ], "properties": { - "version": { + "id": { "type": "number" }, - "config": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } + "offchainInventoryId": { + "type": "number" }, - "style": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } + "productRecipient": { + "type": "string" + }, + "paymentChainId": { + "type": "number" + }, + "paymentTokenAddress": { + "type": "string" + }, + "expiration": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "completedAt": { + "type": "string" + }, + "processedAt": { + "type": "string" } } }, - "MarketplaceConfig": { + "ProjectFile": { "type": "object", "required": [ "id", "projectId", - "version", - "config", - "settings", - "style" + "scope", + "mimetype", + "filepath", + "contents", + "hash", + "url", + "createdAt" ], "properties": { "id": { @@ -2759,616 +3008,645 @@ "projectId": { "type": "number" }, - "version": { - "type": "number" - }, - "config": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } - }, - "settings": { - "$ref": "#/components/schemas/MarketplaceSettings" - }, - "style": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } + "scope": { + "$ref": "#/components/schemas/FileScope" }, - "createdAt": { + "mimetype": { "type": "string" }, - "updatedAt": { + "filepath": { "type": "string" - } - } - }, - "MarketplaceWalletOptions": { - "type": "object", - "required": [ - "walletType", - "oidcIssuers", - "connectors", - "includeEIP6963Wallets" - ], - "properties": { - "walletType": { - "$ref": "#/components/schemas/MarketplaceWallet" }, - "oidcIssuers": { - "type": "object", - "description": "map", - "additionalProperties": { + "contents": { + "type": "array", + "description": "[]byte", + "items": { "type": "string" } }, - "connectors": { + "hash": { "type": "array", - "description": "[]string", + "description": "[]byte", "items": { "type": "string" } }, - "includeEIP6963Wallets": { - "type": "boolean" + "url": { + "type": "string" + }, + "createdAt": { + "type": "string" } } }, - "MarketplaceCollection": { + "WaasTemplate": { "type": "object", "required": [ - "marketplaceType", - "chainId", - "address", - "feePercetage", - "currencyOptions" + "id", + "projectId", + "subject", + "introText", + "logoUrl", + "placeholders", + "createdAt", + "updatedAt" ], "properties": { - "marketplaceType": { - "$ref": "#/components/schemas/MarketplaceType" - }, - "chainId": { + "id": { "type": "number" }, - "address": { - "type": "string" + "templateType": { + "$ref": "#/components/schemas/TemplateType" }, - "feePercetage": { + "projectId": { "type": "number" }, - "currencyOptions": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - } - } - }, - "MarketplaceSettings": { - "type": "object", - "required": [ - "publisherId", - "title", - "shortDescription", - "socials", - "faviconUrl", - "landingBannerUrl", - "collections", - "walletOptions", - "landingPageLayout", - "logoUrl", - "bannerUrl" - ], - "properties": { - "publisherId": { + "subject": { "type": "string" }, - "title": { + "introText": { "type": "string" }, - "shortDescription": { + "logoUrl": { "type": "string" }, - "socials": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "string" - } - }, - "faviconUrl": { + "template": { "type": "string" }, - "landingBannerUrl": { + "fromEmail": { "type": "string" }, - "collections": { + "placeholders": { "type": "array", - "description": "[]MarketplaceCollection", + "description": "[]string", "items": { - "$ref": "#/components/schemas/MarketplaceCollection" + "type": "string" } }, - "walletOptions": { - "$ref": "#/components/schemas/MarketplaceWalletOptions" - }, - "landingPageLayout": { - "type": "string" - }, - "logoUrl": { - "type": "string" + "sesConfig": { + "$ref": "#/components/schemas/SESSettings" }, - "bannerUrl": { + "createdAt": { "type": "string" }, - "fontUrl": { + "updatedAt": { "type": "string" }, - "ogImage": { + "deletedAt": { "type": "string" } } }, - "MarketplaceHostname": { + "TaskRunner": { "type": "object", "required": [ "id", - "marketplaceConfigId", - "hostname", - "isDefaultHostname", - "isCustomDomain", - "createdAt" + "workGroup", + "runAt" ], "properties": { "id": { "type": "number" }, - "marketplaceConfigId": { - "type": "number" - }, - "hostname": { + "workGroup": { "type": "string" }, - "isDefaultHostname": { - "type": "boolean" - }, - "isCustomDomain": { - "type": "boolean" - }, - "createdAt": { + "runAt": { "type": "string" } } }, - "OffchainInventory": { + "Task": { "type": "object", "required": [ "id", - "projectId", - "chainId", - "externalProductId", - "paymentTokenAddress", - "paymentTokenType", - "paymentTokenId", - "paymentAmount", - "paymentRecipient" + "queue", + "status", + "try", + "payload" ], "properties": { "id": { "type": "number" }, - "projectId": { - "type": "number" - }, - "chainId": { - "type": "number" - }, - "externalProductId": { - "type": "string" - }, - "paymentTokenAddress": { + "queue": { "type": "string" }, - "paymentTokenType": { - "$ref": "#/components/schemas/TokenType" - }, - "paymentTokenId": { - "type": "number" + "status": { + "$ref": "#/components/schemas/TaskStatus" }, - "paymentAmount": { + "try": { "type": "number" }, - "paymentRecipient": { - "type": "string" - }, - "chainedCallAddress": { - "type": "string" - }, - "chainedCallData": { + "runAt": { "type": "string" }, - "allowCrossChainPayments": { - "type": "boolean" - }, - "callbackURL": { + "lastRanAt": { "type": "string" }, "createdAt": { "type": "string" }, - "deletedAt": { + "payload": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "hash": { "type": "string" } } }, - "OffchainPayment": { + "CreditBonus": { "type": "object", "required": [ "id", - "offchainInventoryId", - "productRecipient", - "paymentChainId", - "paymentTokenAddress", - "expiration", - "createdAt" + "projectId", + "amount", + "balance", + "createdAt", + "updatedAt" ], "properties": { "id": { "type": "number" }, - "offchainInventoryId": { + "projectId": { "type": "number" }, - "productRecipient": { - "type": "string" + "amount": { + "type": "number" }, - "paymentChainId": { + "balance": { "type": "number" }, - "paymentTokenAddress": { + "createdAt": { "type": "string" }, - "expiration": { + "updatedAt": { + "type": "string" + } + } + }, + "WaasSettings": { + "type": "object", + "required": [ + "recoveryAddress", + "authConfig", + "oidcProviders", + "allowedOrigins", + "updateCode", + "tenantKey" + ], + "properties": { + "recoveryAddress": { "type": "string" }, - "createdAt": { + "authConfig": { + "$ref": "#/components/schemas/WaasAuthConfig" + }, + "oidcProviders": { + "type": "array", + "description": "[]OpenIdProvider", + "items": { + "$ref": "#/components/schemas/OpenIdProvider" + } + }, + "allowedOrigins": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "updateCode": { "type": "string" }, - "completedAt": { + "tenantKey": { "type": "string" + } + } + }, + "WaasAuthEmailConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "WaasAuthGuestConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "WaasAuthPlayfabConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" }, - "processedAt": { + "titleId": { "type": "string" } } }, - "WalletConfigSchema": { + "WaasAuthStytchConfig": { "type": "object", "required": [ - "version", - "config" + "enabled" ], "properties": { - "version": { - "type": "number" + "enabled": { + "type": "boolean" }, - "config": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } + "projectId": { + "type": "string" } } }, - "WalletConfig": { + "WaasAuthTwitterConfig": { "type": "object", "required": [ - "version", + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "clientId": { + "type": "string" + } + } + }, + "WaasAuthConfig": { + "type": "object", + "properties": { + "email": { + "$ref": "#/components/schemas/WaasAuthEmailConfig" + }, + "guest": { + "$ref": "#/components/schemas/WaasAuthGuestConfig" + }, + "playfab": { + "$ref": "#/components/schemas/WaasAuthPlayfabConfig" + }, + "stytch": { + "$ref": "#/components/schemas/WaasAuthStytchConfig" + }, + "twitter": { + "$ref": "#/components/schemas/WaasAuthTwitterConfig" + } + } + }, + "Audience": { + "type": "object", + "required": [ + "id", "projectId", - "platform", - "config" + "name", + "contactCount", + "createdAt", + "updatedAt" ], "properties": { "id": { "type": "number" }, - "version": { - "type": "number" - }, "projectId": { "type": "number" }, - "platform": { + "name": { "type": "string" }, - "config": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } + "contactCount": { + "type": "number" }, "createdAt": { "type": "string" }, "updatedAt": { "type": "string" + }, + "deletedAt": { + "type": "string" } } }, - "ProjectFile": { + "AudienceContact": { "type": "object", "required": [ - "id", - "projectId", - "scope", - "mimetype", - "filepath", - "contents", - "hash", - "url", - "createdAt" + "audienceId", + "address" ], "properties": { "id": { "type": "number" }, - "projectId": { + "audienceId": { "type": "number" }, - "scope": { - "$ref": "#/components/schemas/FileScope" - }, - "mimetype": { + "name": { "type": "string" }, - "filepath": { + "address": { "type": "string" }, - "contents": { - "type": "array", - "description": "[]byte", - "items": { - "type": "string" - } + "email": { + "type": "string" }, - "hash": { - "type": "array", - "description": "[]byte", - "items": { - "type": "string" - } + "userIp": { + "type": "string" }, - "url": { + "stage": { + "type": "number" + }, + "provider": { "type": "string" }, "createdAt": { "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "AudienceRegistrationStatus": { + "type": "object", + "required": [ + "totalCount" + ], + "properties": { + "totalCount": { + "type": "number" } } }, - "EmailTemplate": { + "Trial": { "type": "object", "required": [ "id", "projectId", - "subject", - "introText", - "logoUrl", - "placeholders", - "createdAt", - "updatedAt" + "type", + "startAt", + "endAt" ], "properties": { "id": { "type": "number" }, - "templateType": { - "$ref": "#/components/schemas/EmailTemplateType" - }, "projectId": { "type": "number" }, - "subject": { - "type": "string" - }, - "introText": { - "type": "string" - }, - "logoUrl": { - "type": "string" - }, - "template": { - "type": "string" - }, - "placeholders": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string" + "type": { + "$ref": "#/components/schemas/TrialType" }, - "updatedAt": { + "startAt": { "type": "string" }, - "deletedAt": { + "endAt": { "type": "string" } } }, - "TaskRunner": { + "AuditLog": { "type": "object", "required": [ "id", - "workGroup", - "runAt" + "walletAddress", + "userEmail", + "entityId", + "type", + "oldValue", + "newValue", + "createdAt" ], "properties": { "id": { "type": "number" }, - "workGroup": { + "walletAddress": { "type": "string" }, - "runAt": { + "userEmail": { + "type": "string" + }, + "entityId": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/AuditType" + }, + "oldValue": { + "type": "object" + }, + "newValue": { + "type": "object" + }, + "createdAt": { "type": "string" } } }, - "Task": { + "PaymentMethodCardData": { "type": "object", "required": [ - "id", - "queue", - "status", - "try", - "payload", - "hash" + "brand", + "country", + "last4", + "expDate" ], "properties": { - "id": { - "type": "number" - }, - "queue": { + "brand": { "type": "string" }, - "status": { - "$ref": "#/components/schemas/TaskStatus" - }, - "try": { - "type": "number" - }, - "runAt": { + "country": { "type": "string" }, - "lastRanAt": { + "last4": { "type": "string" }, - "createdAt": { + "expDate": { "type": "string" - }, - "payload": { - "type": "array", - "description": "[]byte", - "items": { - "type": "string" - } - }, - "hash": { + } + } + }, + "PaymentMethodLinkData": { + "type": "object", + "required": [ + "email" + ], + "properties": { + "email": { "type": "string" } } }, - "QueryFilter": { + "PaymentMethod": { "type": "object", "required": [ - "projectId" + "id", + "type", + "default" ], "properties": { - "projectId": { - "type": "number" - }, - "startDate": { + "id": { "type": "string" }, - "endDate": { - "type": "string" + "type": { + "$ref": "#/components/schemas/PaymentMethodType" }, - "dateInterval": { - "$ref": "#/components/schemas/DateInterval" + "cardData": { + "$ref": "#/components/schemas/PaymentMethodCardData" }, - "collections": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } + "linkData": { + "$ref": "#/components/schemas/PaymentMethodLinkData" }, - "tokenId": { - "type": "string" + "default": { + "type": "boolean" } } }, - "Chart": { + "ProjectSecret": { "type": "object", "required": [ - "value", - "label" + "type", + "env" ], "properties": { - "value": { - "type": "number" + "type": { + "$ref": "#/components/schemas/SecretType" }, - "label": { + "env": { + "$ref": "#/components/schemas/SecretEnv" + }, + "updatedAt": { "type": "string" } } }, - "MultiValueChart": { + "FinancialReportType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "SUBSCRIPTION", + "GASTANK_TOPUP" + ] + }, + "FinancialReportEntry": { "type": "object", "required": [ - "value", - "label" + "amount", + "type", + "provider", + "reference", + "notes", + "createdAt" ], "properties": { - "value": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "number" - } + "projectId": { + "type": "number" }, - "label": { + "ecosystemId": { + "type": "number" + }, + "amount": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/FinancialReportType" + }, + "provider": { + "$ref": "#/components/schemas/PaymentProvider" + }, + "reference": { + "type": "string" + }, + "externalURL": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "createdAt": { "type": "string" } } }, - "QueryResult": { + "TransakContract": { "type": "object", "required": [ - "collection", - "source", - "volumeUSD", - "numTokens", - "numTxns" + "id", + "chainId", + "contractAddress", + "name", + "projectIds", + "createdAt", + "updatedAt" ], "properties": { - "collection": { + "id": { + "type": "number" + }, + "transakId": { "type": "string" }, - "source": { + "chainId": { + "type": "number" + }, + "contractAddress": { "type": "string" }, - "tokenId": { + "name": { "type": "string" }, - "volumeUSD": { - "type": "number" + "projectIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } }, - "numTokens": { - "type": "number" + "createdAt": { + "type": "string" }, - "numTxns": { + "updatedAt": { + "type": "string" + } + } + }, + "TransakContractFilter": { + "type": "object", + "properties": { + "query": { + "type": "string" + }, + "chainId": { "type": "number" } } }, - "CreditBonus": { + "WhitelistUrl": { "type": "object", "required": [ "id", "projectId", - "amount", - "balance", + "url", "createdAt", "updatedAt" ], @@ -3379,11 +3657,11 @@ "projectId": { "type": "number" }, - "amount": { - "type": "number" + "url": { + "type": "string" }, - "balance": { - "type": "number" + "approvedAt": { + "type": "string" }, "createdAt": { "type": "string" @@ -3393,8514 +3671,1949 @@ } } }, - "OpenIdProvider": { - "type": "object", - "required": [ - "iss", - "aud" - ], - "properties": { - "iss": { - "type": "string" - }, - "aud": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - } - } + "AnalyticsProjectType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ALL", + "CREATED", + "RELATED" + ] }, - "WaasSettings": { + "DateInterval": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "DAY", + "WEEK", + "MONTH" + ] + }, + "QueryFilter": { "type": "object", - "required": [ - "recoveryAddress", - "authConfig", - "tenantState", - "emailAuth", - "oidcProviders", - "allowedOrigins", - "updateCode", - "tenantKey" - ], "properties": { - "recoveryAddress": { - "type": "string" + "projectId": { + "type": "number" }, - "authConfig": { - "$ref": "#/components/schemas/WaasAuthConfig" + "ecosystemId": { + "type": "number" }, - "tenantState": { - "$ref": "#/components/schemas/WaasTenantState" + "startDate": { + "type": "string" }, - "emailAuth": { - "type": "boolean" + "endDate": { + "type": "string" }, - "oidcProviders": { - "type": "array", - "description": "[]OpenIdProvider", - "items": { - "$ref": "#/components/schemas/OpenIdProvider" - } + "dateInterval": { + "$ref": "#/components/schemas/DateInterval" }, - "allowedOrigins": { + "collections": { "type": "array", "description": "[]string", "items": { "type": "string" } }, - "updateCode": { + "tokenId": { "type": "string" }, - "tenantKey": { - "type": "string" + "projectType": { + "$ref": "#/components/schemas/AnalyticsProjectType" } } }, - "WaasAuthEmailConfig": { + "Chart": { "type": "object", "required": [ - "enabled" + "value", + "label" ], "properties": { - "enabled": { - "type": "boolean" + "value": { + "type": "number" + }, + "label": { + "type": "string" } } }, - "WaasAuthGuestConfig": { + "ChartWithPercentage": { "type": "object", "required": [ - "enabled" + "label", + "total", + "percentage" ], "properties": { - "enabled": { - "type": "boolean" + "label": { + "type": "string" + }, + "total": { + "type": "number" + }, + "percentage": { + "type": "number" } } }, - "WaasAuthPlayfabConfig": { + "MultiValueChart": { "type": "object", "required": [ - "enabled" + "value", + "label" ], "properties": { - "enabled": { - "type": "boolean" + "value": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } }, - "titleId": { + "label": { "type": "string" } } }, - "WaasAuthStytchConfig": { + "QueryResult": { "type": "object", "required": [ - "enabled" + "collection", + "source", + "volumeUSD", + "numTokens", + "numTxns" ], "properties": { - "enabled": { - "type": "boolean" + "collection": { + "type": "string" }, - "projectId": { + "source": { "type": "string" - } - } - }, - "WaasAuthConfig": { - "type": "object", - "properties": { - "email": { - "$ref": "#/components/schemas/WaasAuthEmailConfig" }, - "guest": { - "$ref": "#/components/schemas/WaasAuthGuestConfig" + "tokenId": { + "type": "string" }, - "playfab": { - "$ref": "#/components/schemas/WaasAuthPlayfabConfig" + "volumeUSD": { + "type": "number" }, - "stytch": { - "$ref": "#/components/schemas/WaasAuthStytchConfig" + "numTokens": { + "type": "number" + }, + "numTxns": { + "type": "number" } } }, - "WaasWalletStatus": { + "TokenTransactionData": { "type": "object", "required": [ - "chainId", - "address", - "deployed" + "collectionId", + "collectionName", + "tokenId", + "tokenName", + "itemQuantities" ], "properties": { - "chainId": { - "type": "number" + "collectionId": { + "type": "string" }, - "address": { + "collectionName": { "type": "string" }, - "deployed": { - "type": "boolean" + "tokenId": { + "type": "string" + }, + "tokenName": { + "type": "string" + }, + "itemQuantities": { + "type": "number" } } }, - "RawData": { + "TrailsTransactionByMode": { "type": "object", "required": [ - "data" + "mode", + "uniqueTransactingUsers", + "paymentsStarted", + "paymentsCompleted", + "completionPercent", + "totalFees", + "totalVolume" ], "properties": { - "data": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } + "mode": { + "type": "string" + }, + "uniqueTransactingUsers": { + "type": "number" + }, + "paymentsStarted": { + "type": "number" + }, + "paymentsCompleted": { + "type": "number" + }, + "completionPercent": { + "type": "number" + }, + "totalFees": { + "type": "number" + }, + "totalVolume": { + "type": "number" } } }, - "Audience": { + "TrailsTransactionByRoute": { "type": "object", "required": [ - "id", - "projectId", - "name", - "contactCount", - "createdAt", - "updatedAt" + "origChainName", + "destChainName", + "uniqueTransactingUsers", + "paymentsStarted", + "paymentsCompleted", + "completionPercent", + "avgTxnDuration", + "gasFees", + "totalFees", + "totalVolume" ], "properties": { - "id": { + "origChainName": { + "type": "string" + }, + "destChainName": { + "type": "string" + }, + "uniqueTransactingUsers": { "type": "number" }, - "projectId": { + "paymentsStarted": { "type": "number" }, - "name": { - "type": "string" + "paymentsCompleted": { + "type": "number" }, - "contactCount": { + "completionPercent": { "type": "number" }, - "createdAt": { - "type": "string" + "avgTxnDuration": { + "type": "number" }, - "updatedAt": { - "type": "string" + "gasFees": { + "type": "number" }, - "deletedAt": { - "type": "string" + "totalFees": { + "type": "number" + }, + "totalVolume": { + "type": "number" } } }, - "AudienceContact": { + "TrailsTransactionByProvider": { "type": "object", "required": [ - "id", - "audienceId", - "address", - "createdAt", - "updatedAt" + "providerSwap", + "providerBridge", + "uniqueTransactingUsers", + "paymentsStarted", + "paymentsCompleted", + "completionPercent", + "avgTxnDuration", + "providerFees", + "totalFees", + "totalVolume" ], "properties": { - "id": { + "providerSwap": { + "type": "string" + }, + "providerBridge": { + "type": "string" + }, + "uniqueTransactingUsers": { "type": "number" }, - "audienceId": { + "paymentsStarted": { "type": "number" }, - "name": { - "type": "string" + "paymentsCompleted": { + "type": "number" }, - "address": { - "type": "string" + "completionPercent": { + "type": "number" }, - "email": { - "type": "string" + "avgTxnDuration": { + "type": "number" }, - "createdAt": { - "type": "string" + "providerFees": { + "type": "number" }, - "updatedAt": { - "type": "string" + "totalFees": { + "type": "number" + }, + "totalVolume": { + "type": "number" } } }, - "Trial": { + "TrailsTransactionByCountry": { "type": "object", "required": [ - "id", - "projectId", - "type", - "startAt", - "endAt" + "country", + "transactingWallets", + "paymentsCompleted", + "completionPercent", + "totalVolume" ], "properties": { - "id": { - "type": "number" + "country": { + "type": "string" }, - "projectId": { + "transactingWallets": { "type": "number" }, - "type": { - "$ref": "#/components/schemas/TrialType" + "paymentsCompleted": { + "type": "number" }, - "startAt": { - "type": "string" + "completionPercent": { + "type": "number" }, - "endAt": { - "type": "string" + "totalVolume": { + "type": "number" } } }, - "ExtendedMarketplaceConfig": { + "TrailsTransactionDetail": { "type": "object", "required": [ - "config", - "accessKey", - "waasEmailEnabled", - "waasTenantKey", - "waasProviders" + "date", + "checkoutId", + "country", + "provider", + "hostname", + "originTxHash", + "destTxHash", + "origChainName", + "destChainName", + "origTokenSymbol", + "destTokenSymbol", + "providerFee", + "totalFee", + "totalVolume" ], "properties": { - "config": { - "$ref": "#/components/schemas/MarketplaceSettings" + "date": { + "type": "string" }, - "accessKey": { + "checkoutId": { "type": "string" }, - "waasEmailEnabled": { - "type": "boolean" + "country": { + "type": "string" }, - "waasTenantKey": { + "provider": { "type": "string" }, - "waasProviders": { - "type": "array", - "description": "[]OpenIdProvider", - "items": { - "$ref": "#/components/schemas/OpenIdProvider" - } + "hostname": { + "type": "string" + }, + "originTxHash": { + "type": "string" + }, + "destTxHash": { + "type": "string" + }, + "origChainName": { + "type": "string" + }, + "destChainName": { + "type": "string" + }, + "origTokenSymbol": { + "type": "string" + }, + "destTokenSymbol": { + "type": "string" + }, + "providerFee": { + "type": "number" + }, + "totalFee": { + "type": "number" + }, + "totalVolume": { + "type": "number" } } }, - "Customer": { + "ContractLibraryStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "DEPRECATED", + "NIGHTLY", + "STABLE" + ] + }, + "ContractLibraryItem": { "type": "object", "required": [ - "id", + "uid", + "contractType", "name", - "tier", - "metadata", + "description", + "author", + "license", + "moreInfoUrl", + "disabled", "createdAt", "updatedAt" ], "properties": { - "id": { - "type": "number" + "uid": { + "type": "string" + }, + "contractType": { + "type": "string" }, "name": { "type": "string" }, - "tier": { - "$ref": "#/components/schemas/CustomerTier" + "description": { + "type": "string" }, - "metadata": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "string" - } + "author": { + "type": "string" }, - "createdAt": { + "license": { "type": "string" }, - "updatedAt": { + "moreInfoUrl": { "type": "string" }, - "deletedAt": { + "disabled": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { "type": "string" } } }, - "CustomerFilter": { + "ContractLibraryVersion": { "type": "object", + "required": [ + "uid", + "version", + "audited", + "releaseNotes", + "upgradable", + "sourceData", + "status", + "createdAt", + "updatedAt" + ], "properties": { - "name": { + "uid": { "type": "string" }, - "tier": { - "$ref": "#/components/schemas/CustomerTier" - } - } - }, - "Builder_TotalCompute_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_ComputeByService_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_DailyComputeByType_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "version": { + "type": "number" + }, + "audited": { + "type": "boolean" + }, + "releaseNotes": { + "type": "string" + }, + "upgradable": { + "type": "boolean" + }, + "sourceData": { + "$ref": "#/components/schemas/ContractData" + }, + "factoryAddress": { + "type": "string" + }, + "factoryData": { + "$ref": "#/components/schemas/ContractData" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "status": { + "$ref": "#/components/schemas/ContractLibraryStatus" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "Builder_DailyComputeByService_Request": { + "ProjectContractSource": { "type": "object", + "required": [ + "projectId", + "uid", + "data", + "name", + "createdAt", + "updatedAt" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "projectId": { + "type": "number" + }, + "uid": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/ContractData" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "Builder_GetOrderbookCollections_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "EcosystemType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "UNKNOWN", + "OPEN", + "CLOSED" + ] }, - "Builder_WalletsTotal_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "ThemeType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "light", + "dark", + "system" + ] }, - "Builder_WalletsDaily_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "LoginProviderType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "APPLE", + "GOOGLE", + "EMAIL", + "PASSKEY", + "PRIVATE_KEY" + ] }, - "Builder_WalletsMonthly_Request": { + "Ecosystem": { "type": "object", + "required": [ + "id", + "name", + "type", + "ownerAddress", + "builderDomain", + "accessKeyPrefix", + "chainIds", + "exclusive", + "settings", + "createdAt", + "updatedAt" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/EcosystemType" + }, + "ownerAddress": { + "type": "string" + }, + "builderDomain": { + "type": "string" + }, + "walletDomain": { + "type": "string" + }, + "email": { + "type": "string" + }, + "accessKeyPrefix": { + "type": "string" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "exclusive": { + "type": "boolean" + }, + "projectCount": { + "type": "number" + }, + "settings": { + "$ref": "#/components/schemas/EcosystemSettings" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" } } }, - "Builder_WalletsByCountry_Request": { + "EcosystemCollaborator": { "type": "object", + "required": [ + "id", + "ecosystemId", + "userAddress", + "access", + "createdAt", + "updatedAt" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "id": { + "type": "number" + }, + "ecosystemId": { + "type": "number" + }, + "userAddress": { + "type": "string" + }, + "access": { + "$ref": "#/components/schemas/EcosystemAccess" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "Builder_WalletsByDevice_Request": { + "EcosystemSettings": { "type": "object", + "required": [ + "title", + "description", + "learnMoreButton", + "learnMoreUrl", + "crispWebsiteId", + "themes", + "emailSettings", + "walletSettings", + "allowConnectedWallets" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_WalletsByBrowser_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "learnMoreButton": { + "type": "string" + }, + "learnMoreUrl": { + "type": "string" + }, + "crispWebsiteId": { + "type": "string" + }, + "domainAllowList": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "domainBlockList": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "themes": { + "type": "array", + "description": "[]ThemeSettings", + "items": { + "$ref": "#/components/schemas/ThemeSettings" + } + }, + "emailSettings": { + "$ref": "#/components/schemas/EcosystemEmailSettings" + }, + "walletSettings": { + "$ref": "#/components/schemas/EcosystemWalletSettings" + }, + "allowConnectedWallets": { + "type": "boolean" } } }, - "Builder_WalletsByOS_Request": { + "EcosystemEmailSettings": { "type": "object", + "required": [ + "bannerUrl" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "bannerUrl": { + "type": "string" } } }, - "Builder_WalletsTxnSentTotal_Request": { + "EcosystemWalletSettings": { "type": "object", + "required": [ + "isEOAWalletEnabled", + "allowMultipleAccount", + "socialOptions", + "walletOptions" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "isEOAWalletEnabled": { + "type": "boolean" + }, + "allowMultipleAccount": { + "type": "boolean" + }, + "socialOptions": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "walletOptions": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } } } }, - "Builder_WalletsTxnSentDaily_Request": { + "ThemeSettings": { "type": "object", + "required": [ + "type", + "customCss", + "fileLogo", + "fileTitle", + "fileBackground", + "fileBackgroundMobile" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "type": { + "$ref": "#/components/schemas/ThemeType" + }, + "customCss": { + "type": "string" + }, + "fileLogo": { + "type": "string" + }, + "fileTitle": { + "type": "string" + }, + "fileBackground": { + "type": "string" + }, + "fileBackgroundMobile": { + "type": "string" } } }, - "Builder_WalletsTxnSentMonthly_Request": { + "Configuration": { "type": "object", + "required": [ + "ecosystemId", + "name", + "builderDomain", + "chainIds", + "license", + "settings", + "exclusiveChainIds" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "ecosystemId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "builderDomain": { + "type": "string" + }, + "walletDomain": { + "type": "string" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "license": { + "$ref": "#/components/schemas/License" + }, + "settings": { + "$ref": "#/components/schemas/EcosystemSettings" + }, + "exclusiveChainIds": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } } } }, - "Builder_MarketTxnEventTotal_Request": { + "EcosystemTemplate": { "type": "object", + "required": [ + "subject", + "template", + "data", + "fromEmail", + "content", + "placeholders", + "createdAt", + "updatedAt" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "subject": { + "type": "string" + }, + "template": { + "type": "string" + }, + "data": { + "$ref": "#/components/schemas/TemplateData" + }, + "fromEmail": { + "type": "string" + }, + "content": { + "type": "string" + }, + "placeholders": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "sesSettings": { + "$ref": "#/components/schemas/SESSettings" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "Builder_MarketTxnEventDaily_Request": { + "TemplateData": { "type": "object", + "required": [ + "introText", + "logoUrl" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "introText": { + "type": "string" + }, + "logoUrl": { + "type": "string" } } }, - "Builder_MarketTxnEventMonthly_Request": { + "LoginProvider": { "type": "object", + "required": [ + "type" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "type": { + "$ref": "#/components/schemas/LoginProviderType" + }, + "clientId": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "Builder_MarketWalletsTotal_Request": { + "WalletCustomTheme": { "type": "object", + "required": [ + "fileHeaderLogo", + "fileAuthLogo" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "fileHeaderLogo": { + "$ref": "#/components/schemas/Image" + }, + "fileAuthLogo": { + "$ref": "#/components/schemas/Image" + }, + "fileAuthCover": { + "$ref": "#/components/schemas/Image" + }, + "fileBackgroundImage": { + "$ref": "#/components/schemas/Image" + }, + "colors": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } } } }, - "Builder_MarketWalletsDaily_Request": { + "WalletThemes": { "type": "object", + "required": [ + "light", + "dark" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "light": { + "$ref": "#/components/schemas/WalletCustomTheme" + }, + "dark": { + "$ref": "#/components/schemas/WalletCustomTheme" } } }, - "Builder_MarketWalletsMonthly_Request": { + "DiscoveryCategory": { "type": "object", + "required": [ + "label", + "tag", + "private" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "label": { + "type": "string" + }, + "tag": { + "type": "string" + }, + "private": { + "type": "boolean" } } }, - "Builder_TotalWalletTxnConversionRate_Request": { + "DiscoveryApp": { "type": "object", + "required": [ + "id", + "coverImage", + "url", + "categoryTags", + "chainIds" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "coverImage": { + "$ref": "#/components/schemas/Image" + }, + "url": { + "type": "string" + }, + "categoryTags": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } } } }, - "Builder_DailyWalletTxnConversionRate_Request": { + "DiscoverySection": { "type": "object", + "required": [ + "apps", + "private", + "categories", + "banners", + "activeBanners" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "apps": { + "type": "array", + "description": "[]DiscoveryApp", + "items": { + "$ref": "#/components/schemas/DiscoveryApp" + } + }, + "private": { + "type": "boolean" + }, + "categories": { + "type": "array", + "description": "[]DiscoveryCategory", + "items": { + "$ref": "#/components/schemas/DiscoveryCategory" + } + }, + "banners": { + "type": "array", + "description": "[]DiscoveryApp", + "items": { + "$ref": "#/components/schemas/DiscoveryApp" + } + }, + "activeBanners": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } } } }, - "Builder_MonthlyWalletTxnConversionRate_Request": { + "EcosystemWalletMetaTags": { "type": "object", + "required": [ + "title", + "description", + "url", + "previewImage", + "favicon" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "previewImage": { + "type": "string" + }, + "favicon": { + "type": "string" } } }, - "Builder_DailyNewWallets_Request": { + "SDKConfig": { "type": "object", + "required": [ + "brandedSignIn", + "signInButtonTitle" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "brandedSignIn": { + "type": "boolean" + }, + "signInButtonTitle": { + "type": "string" + }, + "signInButtonLogo": { + "$ref": "#/components/schemas/Image" } } }, - "Builder_MonthlyNewWallets_Request": { + "EcosystemWalletConfig": { "type": "object", + "required": [ + "ecosystemId", + "name", + "description", + "url", + "email", + "defaultTheme", + "supportedThemes", + "themes", + "metaTags", + "defaultCurrency", + "watchedWallets", + "supportedChains", + "defaultChainId", + "enabledProviders", + "providerConfig", + "allowEOAWallets", + "createdAt", + "updatedAt" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "ecosystemId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "email": { + "type": "string" + }, + "defaultTheme": { + "$ref": "#/components/schemas/ThemeType" + }, + "supportedThemes": { + "type": "array", + "description": "[]ThemeType", + "items": { + "$ref": "#/components/schemas/ThemeType" + } + }, + "themes": { + "$ref": "#/components/schemas/WalletThemes" + }, + "metaTags": { + "$ref": "#/components/schemas/EcosystemWalletMetaTags" + }, + "defaultCurrency": { + "type": "string" + }, + "watchedWallets": { + "type": "boolean" + }, + "supportedChains": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "defaultChainId": { + "type": "number" + }, + "enabledProviders": { + "type": "array", + "description": "[]LoginProviderType", + "items": { + "$ref": "#/components/schemas/LoginProviderType" + } + }, + "providerConfig": { + "type": "array", + "description": "[]LoginProvider", + "items": { + "$ref": "#/components/schemas/LoginProvider" + } + }, + "discovery": { + "$ref": "#/components/schemas/DiscoverySection" + }, + "sdkConfig": { + "$ref": "#/components/schemas/SDKConfig" + }, + "allowEOAWallets": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "Builder_TotalNewWallets_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "AdjustmentSource": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "onetime", + "auto" + ] }, - "Builder_AverageDAU_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "AdjustmentStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "pending", + "accepted", + "successful", + "failed", + "cancelled" + ] }, - "Builder_RollingStickiness_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "OwnerType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "Project", + "Ecosystem" + ] }, - "Builder_AverageStickiness_Request": { + "GasTankAdjustment": { "type": "object", + "required": [ + "id", + "projectId", + "ecosystemId", + "provider", + "source", + "amount", + "status", + "notes", + "createdAt" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "ecosystemId": { + "type": "number" + }, + "provider": { + "$ref": "#/components/schemas/PaymentProvider" + }, + "source": { + "$ref": "#/components/schemas/AdjustmentSource" + }, + "amount": { + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/AdjustmentStatus" + }, + "externalId": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "createdAt": { + "type": "string" } } }, - "Builder_D1RetentionByCohort_Request": { + "GasTankAdjustmentFilter": { "type": "object", "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "ownerType": { + "$ref": "#/components/schemas/OwnerType" + }, + "ownerId": { + "type": "number" + }, + "source": { + "$ref": "#/components/schemas/AdjustmentSource" + }, + "status": { + "type": "array", + "description": "[]AdjustmentStatus", + "items": { + "$ref": "#/components/schemas/AdjustmentStatus" + } + }, + "provider": { + "$ref": "#/components/schemas/PaymentProvider" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" } } }, - "Builder_D3RetentionByCohort_Request": { + "GasTankConfig": { "type": "object", + "required": [ + "enabled", + "chainId", + "tokenAddress", + "tokenDecimals", + "recipientAddress" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "enabled": { + "type": "boolean" + }, + "chainId": { + "type": "number" + }, + "tokenAddress": { + "type": "string" + }, + "tokenDecimals": { + "type": "number" + }, + "recipientAddress": { + "type": "string" } } }, - "Builder_D7RetentionByCohort_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "MarketplaceWalletType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNIVERSAL", + "EMBEDDED", + "ECOSYSTEM" + ] }, - "Builder_D14RetentionByCohort_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } + "FilterCondition": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ENTIRE_KEY", + "SPECIFIC_VALUE" + ] + }, + "MarketplaceLegacyType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "AMM", + "P2P", + "SEQUENCE", + "ORDERBOOK" + ] }, - "Builder_D28RetentionByCohort_Request": { + "MarketplaceHostname": { "type": "object", + "required": [ + "hostname", + "projectId", + "isDefaultHostname", + "isCustomDomain", + "createdAt" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "hostname": { + "type": "string" + }, + "projectId": { + "type": "number" + }, + "isDefaultHostname": { + "type": "boolean" + }, + "isCustomDomain": { + "type": "boolean" + }, + "createdAt": { + "type": "string" } } }, - "Builder_AverageD1Retention_Request": { + "Marketplace": { "type": "object", + "required": [ + "projectId", + "settings", + "market", + "shop" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "projectId": { + "type": "number" + }, + "settings": { + "$ref": "#/components/schemas/MarketplaceSettings" + }, + "market": { + "$ref": "#/components/schemas/MarketplacePage" + }, + "shop": { + "$ref": "#/components/schemas/MarketplacePage" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } } }, - "Builder_AverageD3Retention_Request": { + "MarketplaceSettings": { "type": "object", + "required": [ + "style", + "publisherId", + "title", + "socials", + "faviconUrl", + "walletOptions", + "logoUrl", + "fontUrl", + "isTrailsEnabled" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "style": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "publisherId": { + "type": "string" + }, + "title": { + "type": "string" + }, + "socials": { + "$ref": "#/components/schemas/MarketplaceSocials" + }, + "faviconUrl": { + "type": "string" + }, + "walletOptions": { + "$ref": "#/components/schemas/MarketplaceWallet" + }, + "logoUrl": { + "type": "string" + }, + "fontUrl": { + "type": "string" + }, + "accessKey": { + "type": "string" + }, + "isTrailsEnabled": { + "type": "boolean" } } }, - "Builder_AverageD7Retention_Request": { + "MarketplacePage": { "type": "object", + "required": [ + "enabled", + "bannerUrl", + "ogImage", + "private" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" + "enabled": { + "type": "boolean" + }, + "bannerUrl": { + "type": "string" + }, + "ogImage": { + "type": "string" + }, + "private": { + "type": "boolean" } } }, - "Builder_AverageD14Retention_Request": { + "MarketplaceSocials": { "type": "object", + "required": [ + "twitter", + "discord", + "website", + "tiktok", + "instagram", + "youtube" + ], "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_AverageD28Retention_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_MonthlyActiveWalletsBySegment_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_MonthlyTransactingWalletsBySegment_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_WeeklyActiveWallets_Request": { - "type": "object", - "properties": { - "filter": { - "$ref": "#/components/schemas/QueryFilter" - } - } - }, - "Builder_TotalCompute_Response": { - "type": "object", - "properties": { - "computeStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_ComputeByService_Response": { - "type": "object", - "properties": { - "computeStats": { - "type": "array", - "description": "[]MultiValueChart", - "items": { - "$ref": "#/components/schemas/MultiValueChart" - } - } - } - }, - "Builder_DailyComputeByType_Response": { - "type": "object", - "properties": { - "computeStats": { - "type": "array", - "description": "[]MultiValueChart", - "items": { - "$ref": "#/components/schemas/MultiValueChart" - } - } - } - }, - "Builder_DailyComputeByService_Response": { - "type": "object", - "properties": { - "computeStats": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - } - }, - "Builder_GetOrderbookCollections_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]QueryResult", - "items": { - "$ref": "#/components/schemas/QueryResult" - } - } - } - }, - "Builder_WalletsTotal_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsDaily_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsMonthly_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsByCountry_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsByDevice_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsByBrowser_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsByOS_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsTxnSentTotal_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsTxnSentDaily_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_WalletsTxnSentMonthly_Response": { - "type": "object", - "properties": { - "walletStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MarketTxnEventTotal_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MarketTxnEventDaily_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]MultiValueChart", - "items": { - "$ref": "#/components/schemas/MultiValueChart" - } - } - } - }, - "Builder_MarketTxnEventMonthly_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MarketWalletsTotal_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MarketWalletsDaily_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MarketWalletsMonthly_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_TotalWalletTxnConversionRate_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_DailyWalletTxnConversionRate_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MonthlyWalletTxnConversionRate_Response": { - "type": "object", - "properties": { - "marketStats": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_DailyNewWallets_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MonthlyNewWallets_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_TotalNewWallets_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_AverageDAU_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_RollingStickiness_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_AverageStickiness_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_D1RetentionByCohort_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_D3RetentionByCohort_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_D7RetentionByCohort_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_D14RetentionByCohort_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_D28RetentionByCohort_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_AverageD1Retention_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_AverageD3Retention_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_AverageD7Retention_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_AverageD14Retention_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_AverageD28Retention_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - }, - "Builder_MonthlyActiveWalletsBySegment_Response": { - "type": "object", - "properties": { - "data": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - } - }, - "Builder_MonthlyTransactingWalletsBySegment_Response": { - "type": "object", - "properties": { - "data": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - } - }, - "Builder_WeeklyActiveWallets_Response": { - "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[]Chart", - "items": { - "$ref": "#/components/schemas/Chart" - } - } - } - } - }, - "securitySchemes": { - "ApiKeyAuth": { - "type": "apiKey", - "in": "header", - "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", - "name": "X-Access-Key" - }, - "BearerAuth": { - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT", - "description": "Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly." - } - } - }, - "info": { - "title": "Analytics Api", - "version": "" - }, - "openapi": "3.0.0", - "paths": { - "/rpc/Analytics/TotalCompute": { - "post": { - "summary": "TotalCompute", - "description": "Get total compute statistics", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_TotalCompute_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10", - "dateInterval": "DAY" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_TotalCompute_Response" - }, - "examples": { - "0": { - "value": { - "computeStats": [ - { - "value": 100, - "label": "2024-09-30" - }, - { - "value": 150, - "label": "2024-10-01" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/ComputeByService": { - "post": { - "summary": "ComputeByService", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_ComputeByService_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10", - "dateInterval": "DAY" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_ComputeByService_Response" - }, - "examples": { - "0": { - "value": { - "computeStats": [ - { - "value": { - "service1": 100, - "service2": 150 - }, - "label": "2024-09-30" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get compute statistics by service", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/DailyComputeByType": { - "post": { - "summary": "DailyComputeByType", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyComputeByType_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10", - "dateInterval": "DAY" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyComputeByType_Response" - }, - "examples": { - "0": { - "value": { - "computeStats": [ - { - "value": { - "type1": 100, - "type2": 150 - }, - "label": "2024-09-30" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get daily compute statistics by type", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/DailyComputeByService": { - "post": { - "summary": "DailyComputeByService", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyComputeByService_Request" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyComputeByService_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "security": [ - { - "ApiKeyAuth": [ - "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" - ] - } - ] - } - }, - "/rpc/Analytics/GetOrderbookCollections": { - "post": { - "summary": "GetOrderbookCollections", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_GetOrderbookCollections_Request" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_GetOrderbookCollections_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "security": [ - { - "ApiKeyAuth": [ - "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsTotal": { - "post": { - "summary": "WalletsTotal", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTotal_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTotal_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get total wallets", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsDaily": { - "post": { - "summary": "WalletsDaily", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsDaily_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10", - "dateInterval": "DAY" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsDaily_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 2, - "label": "2024-09-23" - }, - { - "value": 3, - "label": "2024-09-29" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get daily wallet statistics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsMonthly": { - "post": { - "summary": "WalletsMonthly", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsMonthly_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10", - "dateInterval": "MONTH" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsMonthly_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 20, - "label": "2024-09" - }, - { - "value": 30, - "label": "2024-10" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get monthly wallet statistics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsByCountry": { - "post": { - "summary": "WalletsByCountry", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByCountry_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByCountry_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 50, - "label": "US" - }, - { - "value": 30, - "label": "UK" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get wallet statistics by country", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsByDevice": { - "post": { - "summary": "WalletsByDevice", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByDevice_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByDevice_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 200, - "label": "Mobile" - }, - { - "value": 150, - "label": "Desktop" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get wallet statistics by device", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsByBrowser": { - "post": { - "summary": "WalletsByBrowser", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByBrowser_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByBrowser_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 150, - "label": "Chrome" - }, - { - "value": 100, - "label": "Firefox" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get wallet statistics by browser", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsByOS": { - "post": { - "summary": "WalletsByOS", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByOS_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsByOS_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 180, - "label": "Windows" - }, - { - "value": 120, - "label": "MacOS" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get wallet statistics by operating system", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsTxnSentTotal": { - "post": { - "summary": "WalletsTxnSentTotal", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTxnSentTotal_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTxnSentTotal_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 1000, - "label": "Total Transactions" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get total transaction statistics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsTxnSentDaily": { - "post": { - "summary": "WalletsTxnSentDaily", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTxnSentDaily_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTxnSentDaily_Response" - }, - "examples": { - "0": { - "value": { - "walletStats": [ - { - "value": 45, - "label": "2024-09-30" - }, - { - "value": 52, - "label": "2024-10-01" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get daily transaction statistics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WalletsTxnSentMonthly": { - "post": { - "summary": "WalletsTxnSentMonthly", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTxnSentMonthly_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WalletsTxnSentMonthly_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get monthly transaction statistics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MarketTxnEventTotal": { - "post": { - "summary": "MarketTxnEventTotal", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketTxnEventTotal_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketTxnEventTotal_Response" - }, - "examples": { - "0": { - "value": { - "marketStats": [ - { - "value": 500, - "label": "Total Events" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get total market transaction events", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MarketTxnEventDaily": { - "post": { - "summary": "MarketTxnEventDaily", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketTxnEventDaily_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketTxnEventDaily_Response" - }, - "examples": { - "0": { - "value": { - "marketStats": [ - { - "value": { - "buy": 25, - "sell": 20 - }, - "label": "2024-09-30" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "twitter": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get daily market transaction events", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MarketTxnEventMonthly": { - "post": { - "summary": "MarketTxnEventMonthly", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketTxnEventMonthly_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketTxnEventMonthly_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "discord": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "website": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get monthly market transaction statistics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MarketWalletsTotal": { - "post": { - "summary": "MarketWalletsTotal", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketWalletsTotal_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketWalletsTotal_Response" - }, - "examples": { - "0": { - "value": { - "marketStats": [ - { - "value": 1500, - "label": "Total Market Wallets" - } - ] - } - } - } - } - } + "tiktok": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "instagram": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } + "youtube": { + "type": "string" } - }, - "description": "Get total market wallets", - "tags": [ - "secret" + } + }, + "MarketplaceWallet": { + "type": "object", + "required": [ + "walletType", + "oidcIssuers", + "connectors", + "includeEIP6963Wallets" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MarketWalletsDaily": { - "post": { - "summary": "MarketWalletsDaily", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketWalletsDaily_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketWalletsDaily_Response" - }, - "examples": { - "0": { - "value": { - "marketStats": [ - { - "value": 75, - "label": "2024-09-30" - }, - { - "value": 82, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "properties": { + "walletType": { + "$ref": "#/components/schemas/MarketplaceWalletType" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } + "oidcIssuers": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" } }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get daily market wallets", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MarketWalletsMonthly": { - "post": { - "summary": "MarketWalletsMonthly", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketWalletsMonthly_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MarketWalletsMonthly_Response" - }, - "examples": { - "0": { - "value": { - "marketStats": [ - { - "value": 450, - "label": "2024-09" - }, - { - "value": 520, - "label": "2024-10" - } - ] - } - } - } - } + "connectors": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "includeEIP6963Wallets": { + "type": "boolean" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } + "ecosystem": { + "$ref": "#/components/schemas/MarketplaceWalletEcosystem" + }, + "embedded": { + "$ref": "#/components/schemas/MarketplaceWalletEmbedded" } - }, - "description": "Get monthly market wallets", - "tags": [ - "secret" + } + }, + "MarketplaceWalletEcosystem": { + "type": "object", + "required": [ + "walletUrl", + "walletAppName" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/TotalWalletTxnConversionRate": { - "post": { - "summary": "TotalWalletTxnConversionRate", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_TotalWalletTxnConversionRate_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_TotalWalletTxnConversionRate_Response" - }, - "examples": { - "0": { - "value": { - "marketStats": [ - { - "value": 0.45, - "label": "Conversion Rate" - } - ] - } - } - } - } - } + "properties": { + "walletUrl": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "walletAppName": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } + "logoLightUrl": { + "type": "string" + }, + "logoDarkUrl": { + "type": "string" } - }, - "description": "Get total wallet transaction conversion rate", - "tags": [ - "secret" + } + }, + "MarketplaceWalletEmbedded": { + "type": "object", + "required": [ + "tenantKey", + "emailEnabled", + "providers" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/DailyWalletTxnConversionRate": { - "post": { - "summary": "DailyWalletTxnConversionRate", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyWalletTxnConversionRate_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyWalletTxnConversionRate_Response" - }, - "examples": { - "0": { - "value": { - "marketStats": [ - { - "value": 0.42, - "label": "2024-09-30" - }, - { - "value": 0.45, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "properties": { + "tenantKey": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "emailEnabled": { + "type": "boolean" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } + "providers": { + "type": "array", + "description": "[]OpenIdProvider", + "items": { + "$ref": "#/components/schemas/OpenIdProvider" } } - }, - "description": "Get daily wallet transaction conversion rate", - "tags": [ - "secret" + } + }, + "MarketCollection": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "itemsAddress", + "contractType", + "bannerUrl", + "feePercentage", + "currencyOptions", + "destinationMarketplace", + "private" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MonthlyWalletTxnConversionRate": { - "post": { - "summary": "MonthlyWalletTxnConversionRate", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyWalletTxnConversionRate_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyWalletTxnConversionRate_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "properties": { + "id": { + "type": "number" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "projectId": { + "type": "number" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get monthly market conversions on your marketplace", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/DailyNewWallets": { - "post": { - "summary": "DailyNewWallets", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyNewWallets_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_DailyNewWallets_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 25, - "label": "2024-09-30" - }, - { - "value": 30, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "chainId": { + "type": "number" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "itemsAddress": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get daily new wallets", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MonthlyNewWallets": { - "post": { - "summary": "MonthlyNewWallets", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyNewWallets_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyNewWallets_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 750, - "label": "2024-09" - }, - { - "value": 820, - "label": "2024-10" - } - ] - } - } - } - } - } + "contractType": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "bannerUrl": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get monthly new wallets", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/TotalNewWallets": { - "post": { - "summary": "TotalNewWallets", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_TotalNewWallets_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_TotalNewWallets_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "feePercentage": { + "type": "number" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } + "currencyOptions": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get Total Wallets over a time interval", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/AverageDAU": { - "post": { - "summary": "AverageDAU", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageDAU_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageDAU_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "destinationMarketplace": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "filterSettings": { + "$ref": "#/components/schemas/CollectionFilterSettings" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get average daily active users", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/RollingStickiness": { - "post": { - "summary": "RollingStickiness", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_RollingStickiness_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_RollingStickiness_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 0.35, - "label": "2024-09-30" - }, - { - "value": 0.38, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "sortOrder": { + "type": "number" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "private": { + "type": "boolean" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } - }, - "description": "Get rolling stickiness metrics", - "tags": [ - "secret" + } + }, + "ShopCollection": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "itemsAddress", + "saleAddress", + "name", + "bannerUrl", + "tokenIds", + "customTokenIds", + "private" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/AverageStickiness": { - "post": { - "summary": "AverageStickiness", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageStickiness_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageStickiness_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "properties": { + "id": { + "type": "number" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "projectId": { + "type": "number" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get average stickiness metrics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/D1RetentionByCohort": { - "post": { - "summary": "D1RetentionByCohort", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D1RetentionByCohort_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D1RetentionByCohort_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 0.65, - "label": "2024-09-30" - }, - { - "value": 0.68, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "chainId": { + "type": "number" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "itemsAddress": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get D1 retention by cohort", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/D3RetentionByCohort": { - "post": { - "summary": "D3RetentionByCohort", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D3RetentionByCohort_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } + "saleAddress": { + "type": "string" + }, + "name": { + "type": "string" + }, + "bannerUrl": { + "type": "string" + }, + "tokenIds": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D3RetentionByCohort_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 0.45, - "label": "2024-09-30" - }, - { - "value": 0.48, - "label": "2024-10-01" - } - ] - } - } - } - } + }, + "customTokenIds": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "sortOrder": { + "type": "number" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get D3 retention by cohort", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/D7RetentionByCohort": { - "post": { - "summary": "D7RetentionByCohort", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D7RetentionByCohort_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D7RetentionByCohort_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 0.35, - "label": "2024-09-30" - }, - { - "value": 0.38, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "private": { + "type": "boolean" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "createdAt": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } + "updatedAt": { + "type": "string" } - }, - "description": "Get D7 retention by cohort", - "tags": [ - "secret" + } + }, + "MetadataFilterRule": { + "type": "object", + "required": [ + "key", + "condition" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/D14RetentionByCohort": { - "post": { - "summary": "D14RetentionByCohort", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D14RetentionByCohort_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D14RetentionByCohort_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 0.25, - "label": "2024-09-30" - }, - { - "value": 0.28, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "properties": { + "key": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "condition": { + "$ref": "#/components/schemas/FilterCondition" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } + "value": { + "type": "string" } - }, - "description": "Get D14 retention by cohort", - "tags": [ - "secret" + } + }, + "CollectionFilterSettings": { + "type": "object", + "required": [ + "filterOrder", + "exclusions" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/D28RetentionByCohort": { - "post": { - "summary": "D28RetentionByCohort", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D28RetentionByCohort_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_D28RetentionByCohort_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 0.15, - "label": "2024-09-30" - }, - { - "value": 0.18, - "label": "2024-10-01" - } - ] - } - } - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } + "properties": { + "filterOrder": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } + "exclusions": { + "type": "array", + "description": "[]MetadataFilterRule", + "items": { + "$ref": "#/components/schemas/MetadataFilterRule" } } - }, - "description": "Get D28 retention by cohort", - "tags": [ - "secret" + } + }, + "CollectionListFilter": { + "type": "object", + "required": [ + "includePrivate" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/AverageD1Retention": { - "post": { - "summary": "AverageD1Retention", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD1Retention_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } + "properties": { + "includePrivate": { + "type": "boolean" } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD1Retention_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + } + }, + "MarketplaceLegacySettings": { + "type": "object", + "required": [ + "publisherId", + "title", + "shortDescription", + "socials", + "faviconUrl", + "landingBannerUrl", + "collections", + "walletOptions", + "landingPageLayout", + "logoUrl", + "bannerUrl", + "isTrailsEnabled" + ], + "properties": { + "projectId": { + "type": "number" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "publisherId": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get average D1 retention metrics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/AverageD3Retention": { - "post": { - "summary": "AverageD3Retention", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD3Retention_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD3Retention_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "title": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "shortDescription": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get average D3 retention metrics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/AverageD7Retention": { - "post": { - "summary": "AverageD7Retention", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD7Retention_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD7Retention_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "socials": { + "$ref": "#/components/schemas/MarketplaceSocials" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "faviconUrl": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get average D7 retention metrics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/AverageD14Retention": { - "post": { - "summary": "AverageD14Retention", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD14Retention_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD14Retention_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "landingBannerUrl": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } + "collections": { + "type": "array", + "description": "[]MarketplaceLegacyCollection", + "items": { + "$ref": "#/components/schemas/MarketplaceLegacyCollection" } }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get average D14 retention metrics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/AverageD28Retention": { - "post": { - "summary": "AverageD28Retention", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD28Retention_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_AverageD28Retention_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 250, - "label": "2024-09-30" - }, - { - "value": 275, - "label": "2024-10-01" - } - ] - } - } - } - } - } + "walletOptions": { + "$ref": "#/components/schemas/MarketplaceLegacyWallet" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "landingPageLayout": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } - } - }, - "description": "Get average D28 retention metrics", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MonthlyActiveWalletsBySegment": { - "post": { - "summary": "MonthlyActiveWalletsBySegment", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyActiveWalletsBySegment_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyActiveWalletsBySegment_Response" - }, - "examples": { - "0": { - "value": { - "data": { - "segment1": [ - { - "value": 150, - "label": "2024-09" - }, - { - "value": 180, - "label": "2024-10" - } - ], - "segment2": [ - { - "value": 120, - "label": "2024-09" - }, - { - "value": 140, - "label": "2024-10" - } - ] - } - } - } - } - } - } + "logoUrl": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } - } + "bannerUrl": { + "type": "string" }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } - } + "fontUrl": { + "type": "string" + }, + "ogImage": { + "type": "string" + }, + "accessKey": { + "type": "string" + }, + "isTrailsEnabled": { + "type": "boolean" } - }, - "description": "Get monthly active wallets by segment", - "tags": [ - "secret" + } + }, + "MarketplaceLegacyWallet": { + "type": "object", + "required": [ + "walletType", + "oidcIssuers", + "connectors", + "includeEIP6963Wallets" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/MonthlyTransactingWalletsBySegment": { - "post": { - "summary": "MonthlyTransactingWalletsBySegment", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyTransactingWalletsBySegment_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_MonthlyTransactingWalletsBySegment_Response" - }, - "examples": { - "0": { - "value": { - "data": { - "segment1": [ - { - "value": 100, - "label": "2024-09" - }, - { - "value": 120, - "label": "2024-10" - } - ], - "segment2": [ - { - "value": 80, - "label": "2024-09" - }, - { - "value": 95, - "label": "2024-10" - } - ] - } - } - } - } - } - } + "properties": { + "walletType": { + "$ref": "#/components/schemas/MarketplaceWalletType" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } + "oidcIssuers": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" } }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } + "connectors": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } + }, + "includeEIP6963Wallets": { + "type": "boolean" + }, + "ecosystem": { + "$ref": "#/components/schemas/MarketplaceWalletEcosystem" + }, + "waas": { + "$ref": "#/components/schemas/MarketplaceWalletEmbedded" } - }, - "description": "Get monthly transacting wallets by segment", - "tags": [ - "secret" + } + }, + "MarketplaceLegacyCollection": { + "type": "object", + "required": [ + "marketplaceType", + "chainId", + "address", + "exchanges", + "bannerUrl", + "feePercentage", + "currencyOptions", + "destinationMarketplace" ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] - } - }, - "/rpc/Analytics/WeeklyActiveWallets": { - "post": { - "summary": "WeeklyActiveWallets", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WeeklyActiveWallets_Request" - }, - "examples": { - "0": { - "value": { - "filter": { - "projectId": 122, - "startDate": "2024-09-30", - "endDate": "2024-10-10" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Builder_WeeklyActiveWallets_Response" - }, - "examples": { - "0": { - "value": { - "data": [ - { - "value": 350, - "label": "Week 39" - }, - { - "value": 380, - "label": "Week 40" - } - ] - } - } - } - } - } + "properties": { + "marketplaceType": { + "$ref": "#/components/schemas/MarketplaceLegacyType" + }, + "chainId": { + "type": "number" + }, + "address": { + "type": "string" }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorRequestConflict" - }, - { - "$ref": "#/components/schemas/ErrorServiceDisabled" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorEmailTemplateExists" - }, - { - "$ref": "#/components/schemas/ErrorSubscriptionLimit" - }, - { - "$ref": "#/components/schemas/ErrorFeatureNotIncluded" - }, - { - "$ref": "#/components/schemas/ErrorInvalidNetwork" - }, - { - "$ref": "#/components/schemas/ErrorInvitationExpired" - }, - { - "$ref": "#/components/schemas/ErrorAlreadyCollaborator" - } - ] - } - } + "exchanges": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - } - ] - } - } + "bannerUrl": { + "type": "string" + }, + "feePercentage": { + "type": "number" + }, + "currencyOptions": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" } + }, + "destinationMarketplace": { + "type": "string" + }, + "filterSettings": { + "$ref": "#/components/schemas/CollectionFilterSettings" } - }, - "description": "Get weekly active wallets", - "tags": [ - "secret" - ], - "security": [ - { - "BearerAuth": [ - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" - ] - } - ] + } } } }, - "servers": [ - { - "url": "https://api.sequence.app", - "description": "Analytics" - } - ], - "tags": [ - { - "name": "public", - "description": "Endpoints accessible by passing your project-access-key in the header. This is injected whenever you login automatically." - }, + "paths": null, + "security": [ { - "name": "secret", - "description": "Endpoints that require a Sequence service token intended to be secret. You can manually generate one on Sequence Builder and pass it as a Bearer Token." + "ApiKeyAuth": [] } ] } diff --git a/docs/pages/api/analytics/rpc.gen.yaml b/docs/pages/api/analytics/rpc.gen.yaml new file mode 100644 index 00000000..08439d7f --- /dev/null +++ b/docs/pages/api/analytics/rpc.gen.yaml @@ -0,0 +1,4008 @@ +# sequence-builder v0.1.0 6f758ac0dfe330e9c362bec6add8013418217936 +# -- +# Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT +# +# webrpc-gen -service=Analytics -match=@analytics -schema=proto/schema/builder.ridl -target=openapi -title=Analytics Api -servers=https://api.sequence.app;Analytics -securityAnnotation=@auth -securitySchemes= -out=proto/docs/analytics.gen.yaml +openapi: 3.0.0 +info: + title: 'Analytics Api' + version: '' +servers: + - url: 'https://api.sequence.app' + description: 'Analytics' +components: + schemas: + ErrorWebrpcEndpoint: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcEndpoint" + code: + type: number + example: 0 + msg: + type: string + example: "endpoint error" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcRequestFailed: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcRequestFailed" + code: + type: number + example: -1 + msg: + type: string + example: "request failed" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcBadRoute: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadRoute" + code: + type: number + example: -2 + msg: + type: string + example: "bad route" + cause: + type: string + status: + type: number + example: 404 + ErrorWebrpcBadMethod: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadMethod" + code: + type: number + example: -3 + msg: + type: string + example: "bad method" + cause: + type: string + status: + type: number + example: 405 + ErrorWebrpcBadRequest: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadRequest" + code: + type: number + example: -4 + msg: + type: string + example: "bad request" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcBadResponse: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadResponse" + code: + type: number + example: -5 + msg: + type: string + example: "bad response" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcServerPanic: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcServerPanic" + code: + type: number + example: -6 + msg: + type: string + example: "server panic" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcInternalError: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcInternalError" + code: + type: number + example: -7 + msg: + type: string + example: "internal error" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcClientAborted: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcClientAborted" + code: + type: number + example: -8 + msg: + type: string + example: "request aborted by client" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcStreamLost: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcStreamLost" + code: + type: number + example: -9 + msg: + type: string + example: "stream lost" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcStreamFinished: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcStreamFinished" + code: + type: number + example: -10 + msg: + type: string + example: "stream finished" + cause: + type: string + status: + type: number + example: 200 + ErrorUnauthorized: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Unauthorized" + code: + type: number + example: 1000 + msg: + type: string + example: "Unauthorized access" + cause: + type: string + status: + type: number + example: 401 + ErrorPermissionDenied: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "PermissionDenied" + code: + type: number + example: 1001 + msg: + type: string + example: "Permission denied" + cause: + type: string + status: + type: number + example: 403 + ErrorSessionExpired: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "SessionExpired" + code: + type: number + example: 1002 + msg: + type: string + example: "Session expired" + cause: + type: string + status: + type: number + example: 403 + ErrorMethodNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "MethodNotFound" + code: + type: number + example: 1003 + msg: + type: string + example: "Method not found" + cause: + type: string + status: + type: number + example: 404 + ErrorRequestConflict: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "RequestConflict" + code: + type: number + example: 1004 + msg: + type: string + example: "Conflict with target resource" + cause: + type: string + status: + type: number + example: 409 + ErrorServiceDisabled: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "ServiceDisabled" + code: + type: number + example: 1005 + msg: + type: string + example: "Service disabled" + cause: + type: string + status: + type: number + example: 404 + ErrorTimeout: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Timeout" + code: + type: number + example: 2000 + msg: + type: string + example: "Request timed out" + cause: + type: string + status: + type: number + example: 408 + ErrorInvalidArgument: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvalidArgument" + code: + type: number + example: 2001 + msg: + type: string + example: "Invalid argument" + cause: + type: string + status: + type: number + example: 400 + ErrorNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "NotFound" + code: + type: number + example: 3000 + msg: + type: string + example: "Resource not found" + cause: + type: string + status: + type: number + example: 422 + ErrorUserNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "UserNotFound" + code: + type: number + example: 3001 + msg: + type: string + example: "User not found" + cause: + type: string + status: + type: number + example: 422 + ErrorProjectNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "ProjectNotFound" + code: + type: number + example: 3002 + msg: + type: string + example: "Project not found" + cause: + type: string + status: + type: number + example: 422 + ErrorInvalidTier: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvalidTier" + code: + type: number + example: 3003 + msg: + type: string + example: "Invalid subscription tier" + cause: + type: string + status: + type: number + example: 422 + ErrorEmailTemplateExists: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "EmailTemplateExists" + code: + type: number + example: 3004 + msg: + type: string + example: "Email Template exists" + cause: + type: string + status: + type: number + example: 409 + ErrorSubscriptionLimit: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "SubscriptionLimit" + code: + type: number + example: 3005 + msg: + type: string + example: "Subscription limit reached" + cause: + type: string + status: + type: number + example: 402 + ErrorFeatureNotIncluded: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "FeatureNotIncluded" + code: + type: number + example: 3006 + msg: + type: string + example: "Feature not included" + cause: + type: string + status: + type: number + example: 402 + ErrorInvalidNetwork: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvalidNetwork" + code: + type: number + example: 3007 + msg: + type: string + example: "Invalid network" + cause: + type: string + status: + type: number + example: 422 + ErrorInvitationExpired: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvitationExpired" + code: + type: number + example: 4000 + msg: + type: string + example: "Invitation code is expired" + cause: + type: string + status: + type: number + example: 422 + ErrorAlreadyCollaborator: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "AlreadyCollaborator" + code: + type: number + example: 4001 + msg: + type: string + example: "Already a collaborator" + cause: + type: string + status: + type: number + example: 409 + ErrorNoPaymentMethod: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "NoPaymentMethod" + code: + type: number + example: 4002 + msg: + type: string + example: "No default payment method" + cause: + type: string + status: + type: number + example: 402 + ErrorSeatsLimitReached: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "SeatsLimitReached" + code: + type: number + example: 4003 + msg: + type: string + example: "Seats limit reached" + cause: + type: string + status: + type: number + example: 402 + SortOrder: + type: string + description: Represented as uint32 on the server side + enum: + - ASC + - DESC + ProjectType: + type: string + description: Represented as string on the server side + enum: + - EMBEDDED_WALLET_REACT + - EMBEDDED_WALLET_NEXTJS + - EMBEDDED_WALLET_UNITY + - EMBEDDED_WALLET_UNREAL + - MARKETPLACE_STANDALONE + - MARKETPLACE_REACT + - MARKETPLACE_UNITY + - MARKETPLACE_UNREAL + - SALE_CONTRACT_ERC1155 + - SALE_CONTRACT_ERC721 + - ALLOWLIST_STARTER + TemplateType: + type: string + description: Represented as uint8 on the server side + enum: + - UNKNOWN + - LOGIN + - GUARD + - EMAIL_CONFIRMATION + EcosystemAccess: + type: string + description: Represented as uint8 on the server side + enum: + - User + - Read + - Write + - Admin + - Owner + AdminRole: + type: string + description: Represented as uint8 on the server side + enum: + - NONE + - VIEWER + - DEVELOPER + - ECOSYSTEM + - ACCOUNT + - FINANCE + - SUPERADMIN + Page: + type: object + properties: + pageSize: + type: number + page: + type: number + column: + type: string + more: + type: boolean + sort: + type: array + description: '[]SortBy' + items: + $ref: '#/components/schemas/SortBy' + SortBy: + type: object + required: + - column + properties: + column: + type: string + order: + $ref: '#/components/schemas/SortOrder' + ProjectImplicitRegistry: + type: object + required: + - whitelistedDomains + - ids + properties: + whitelistedDomains: + type: array + description: '[]string' + items: + type: string + ids: + type: object + description: 'map' + additionalProperties: + type: string + Project: + type: object + required: + - id + - name + - ownerAddress + - ownerAvatarUrl + - licenseId + - licenseVersion + - logoImageKey + - logoImageUrl + - websiteUrl + - chainIds + - collaboratorCount + - onboardingVisibility + - createdAt + - updatedAt + properties: + id: + type: number + name: + type: string + type: + $ref: '#/components/schemas/ProjectType' + ownerAddress: + type: string + ownerEmail: + type: string + ownerAvatarUrl: + type: string + licenseId: + type: number + licenseVersion: + type: number + logoImageKey: + type: string + logoImageUrl: + type: string + websiteUrl: + type: string + chainIds: + type: array + description: '[]uint64' + items: + type: number + ecosystemId: + type: number + collaboratorCount: + type: number + onboardingVisibility: + type: boolean + implicitRegistry: + $ref: '#/components/schemas/ProjectImplicitRegistry' + createdAt: + type: string + updatedAt: + type: string + deletedAt: + type: string + ProjectListFilter: + type: object + properties: + name: + type: string + chainId: + type: number + collaboratorAddress: + type: string + collaboratorEmail: + type: string + licenseId: + type: number + active: + type: boolean + OpenIdProvider: + type: object + required: + - iss + - aud + properties: + iss: + type: string + aud: + type: array + description: '[]string' + items: + type: string + ContractData: + type: object + required: + - abi + - bytecode + properties: + abi: + type: string + bytecode: + type: string + hash: + type: string + implementationAddress: + type: string + SESSettings: + type: object + required: + - accessRoleARN + - sourceARN + - region + properties: + accessRoleARN: + type: string + sourceARN: + type: string + region: + type: string + Image: + type: object + required: + - src + properties: + src: + type: string + width: + type: string + height: + type: string + alt: + type: string + displayOptions: + type: object + description: 'map' + additionalProperties: + type: string + WalletProof: + type: object + required: + - address + - message + - signature + - chainId + properties: + address: + type: string + message: + type: string + signature: + type: string + chainId: + type: number + BillingCycle: + type: object + required: + - start + - end + properties: + start: + type: string + end: + type: string + SubscriptionProvider: + type: string + description: Represented as string on the server side + enum: + - ADMIN + - STRIPE + - GOOGLE + Feature: + type: string + description: Represented as string on the server side + enum: + - ANALYTICS + - MARKETPLACE_SUBDOMAIN + - MARKETPLACE_DOMAIN + LicenseTag: + type: string + description: Represented as uint16 on the server side + enum: + - NONE + - POPULAR + - DISCOUNT + PaymentProvider: + type: string + description: Represented as uint16 on the server side + enum: + - NONE + - STRIPE + - ADMIN + - CRYPTO + - ECOSYSTEM + - GOOGLE + License: + type: object + required: + - id + - ecosystemId + - isDefault + - packageName + - label + - tier + - featured + - subtitle + - tag + - mainnetEnabled + - totalLicenses + - licensePerUser + - createdAt + - updatedAt + properties: + id: + type: number + ecosystemId: + type: number + isDefault: + type: boolean + packageName: + type: string + label: + type: string + tier: + type: number + featured: + type: boolean + subtitle: + type: string + tag: + $ref: '#/components/schemas/LicenseTag' + mainnetEnabled: + type: boolean + defaultChainIds: + type: array + description: '[]uint64' + items: + type: number + availableChainIds: + type: array + description: '[]uint64' + items: + type: number + extraChainIds: + type: array + description: '[]uint64' + items: + type: number + totalLicenses: + type: number + licenseUsage: + $ref: '#/components/schemas/LicenseUsage' + licensePerUser: + type: number + createdAt: + type: string + updatedAt: + type: string + deletedAt: + type: string + LicenseVersion: + type: object + required: + - licenseId + - version + - settings + - versionUsage + - createdAt + - updatedAt + properties: + licenseId: + type: number + version: + type: number + settings: + $ref: '#/components/schemas/LicenseSettings' + features: + type: array + description: '[]Feature' + items: + $ref: '#/components/schemas/Feature' + versionUsage: + type: number + createdAt: + type: string + updatedAt: + type: string + LicenseSettings: + type: object + required: + - subscriptionPrice + - seats + - serviceSettings + - marketplaceFee + - royaltyFee + - gasFeeMarkup + - gasIncluded + - features + properties: + subscriptionPrice: + type: string + seats: + type: number + serviceSettings: + type: object + description: 'map' + additionalProperties: + $ref: '#/components/schemas/ServiceSettings' + marketplaceFee: + type: string + royaltyFee: + type: string + gasFeeMarkup: + type: string + gasIncluded: + type: string + features: + type: array + description: '[]Feature' + items: + $ref: '#/components/schemas/Feature' + ServiceSettings: + type: object + required: + - rateLimit + - requestsIncluded + - overageAllowed + - overagePrice + properties: + rateLimit: + type: number + requestsIncluded: + type: number + overageAllowed: + type: boolean + overagePrice: + type: string + LicenseUsage: + type: object + required: + - total + - providers + - versions + properties: + total: + type: number + providers: + type: object + description: 'map' + additionalProperties: + type: number + versions: + type: object + description: 'map' + additionalProperties: + type: number + BillingOverride: + type: object + required: + - extraSeats + - extraFeatures + - topUpEnabled + - topUpProvider + - balanceNotifications + properties: + priceSubscription: + type: string + extraSeats: + type: number + marketplaceFee: + type: string + royaltyFee: + type: string + gasFeeMarkup: + type: string + extraFeatures: + type: array + description: '[]Feature' + items: + $ref: '#/components/schemas/Feature' + serviceSettings: + type: object + description: 'map' + additionalProperties: + $ref: '#/components/schemas/ServiceSettingsOverride' + topUpEnabled: + type: boolean + topUpProvider: + $ref: '#/components/schemas/PaymentProvider' + topUpThreshold: + type: number + topUpAmount: + type: number + topUpLimit: + type: number + balanceNotifications: + type: boolean + ServiceSettingsOverride: + type: object + properties: + rateLimit: + type: number + requestsIncluded: + type: number + overageAllowed: + type: boolean + overagePrice: + type: string + usageWarning: + type: number + overageWarning: + type: number + maxOverage: + type: number + ResourceType: + type: string + description: Represented as int8 on the server side + enum: + - CONTRACTS + - MARKET_COLLECTIONS + - SHOP_COLLECTIONS + CollaboratorAccess: + type: string + description: Represented as uint32 on the server side + enum: + - NONE + - READ + - WRITE + - ADMIN + CollaboratorType: + type: string + description: Represented as uint8 on the server side + enum: + - USER + - SERVICE_ACCOUNT + ContractSourceType: + type: string + description: Represented as uint8 on the server side + enum: + - LINKED + - DEPLOYED + PaymentStatus: + type: string + description: Represented as uint16 on the server side + enum: + - INITIATED + - PENDING + - SUCCEEDED + - FAILED + - PROCESSED + AdminMarketplaceContractType: + type: string + description: Represented as uint16 on the server side + enum: + - UNKNOWN + - ERC20 + - ERC721 + - ERC1155 + AdminCollectionPriority: + type: string + description: Represented as uint8 on the server side + enum: + - unknown + - low + - normal + - high + AdminCollectionStatus: + type: string + description: Represented as uint8 on the server side + enum: + - unknown + - created + - syncing_contract_metadata + - synced_contract_metadata + - syncing_metadata + - synced_metadata + - syncing_tokens + - synced_tokens + - syncing_orders + - active + - failed + - inactive + - incompatible_type + TokenType: + type: string + description: Represented as uint8 on the server side + enum: + - ERC20 + - ERC721 + - ERC1155 + FileScope: + type: string + description: Represented as uint8 on the server side + enum: + - LOGO + - MARKETPLACE + - AVATAR + - EMAIL + - WALLET + - TOKEN_DIRECTORY + - ECOSYSTEM + TaskStatus: + type: string + description: Represented as uint8 on the server side + enum: + - PENDING + - PAUSED + - FAILED + - COMPLETED + - DISABLED + TrialType: + type: string + description: Represented as string on the server side + enum: + - ANALYTICS + AuditType: + type: string + description: Represented as string on the server side + enum: + - SUBSCRIPTION + - BILLING_OVERRIDE + - ECOSYSTEM_LICENSE + - LICENSE_VERSION + PaymentMethodType: + type: string + description: Represented as uint8 on the server side + enum: + - Card + - Link + SecretType: + type: string + description: Represented as uint8 on the server side + enum: + - FORTEPAY + SecretEnv: + type: string + description: Represented as uint8 on the server side + enum: + - TEST + - PROD + Version: + type: object + required: + - webrpcVersion + - schemaVersion + - schemaHash + - appVersion + properties: + webrpcVersion: + type: string + schemaVersion: + type: string + schemaHash: + type: string + appVersion: + type: string + RuntimeStatus: + type: object + required: + - healthOK + - startTime + - uptime + - ver + - env + - branch + - commitHash + - networks + - checks + properties: + healthOK: + type: boolean + startTime: + type: string + uptime: + type: number + ver: + type: string + env: + type: string + branch: + type: string + commitHash: + type: string + networks: + type: object + description: 'map' + additionalProperties: + type: boolean + checks: + $ref: '#/components/schemas/RuntimeChecks' + RuntimeChecks: + type: object + required: + - quotaControl + - joqueue + - stripe + - cloudCommerce + properties: + quotaControl: + type: boolean + joqueue: + type: boolean + stripe: + type: boolean + cloudCommerce: + type: boolean + AuthState: + type: object + required: + - jwtToken + - expiresAt + - address + - sessionType + - user + properties: + jwtToken: + type: string + expiresAt: + type: string + address: + type: string + sessionType: + type: string + user: + $ref: '#/components/schemas/User' + access: + $ref: '#/components/schemas/EcosystemAccess' + User: + type: object + required: + - address + - emailConfirmed + - role + - avatarKey + - avatarUrl + - recentProjectIds + - createdAt + - updatedAt + properties: + address: + type: string + email: + type: string + emailConfirmed: + type: boolean + role: + $ref: '#/components/schemas/AdminRole' + avatarKey: + type: string + avatarUrl: + type: string + recentProjectIds: + type: object + description: 'map' + additionalProperties: + type: number + createdAt: + type: string + updatedAt: + type: string + UserWallet: + type: object + required: + - id + - userAddress + - walletAddress + - provider + - createdAt + - updatedAt + properties: + id: + type: number + userAddress: + type: string + walletAddress: + type: string + provider: + type: string + createdAt: + type: string + updatedAt: + type: string + UserSettings: + type: object + required: + - projectsLimit + - projectCount + properties: + projectsLimit: + type: number + projectsLeft: + type: number + projectCount: + type: number + UserOverride: + type: object + required: + - id + - address + - extraProjects + - createdAt + - updatedAt + properties: + id: + type: number + address: + type: string + extraProjects: + type: number + createdAt: + type: string + updatedAt: + type: string + CreateProjectOptions: + type: object + properties: + type: + $ref: '#/components/schemas/ProjectType' + chainIds: + type: array + description: '[]uint64' + items: + type: number + ResourceFilter: + type: object + properties: + contracts: + $ref: '#/components/schemas/ContractFilter' + Resource: + type: object + required: + - type + - total + - detail + properties: + type: + $ref: '#/components/schemas/ResourceType' + total: + type: number + detail: + type: array + description: '[]ResourceDetail' + items: + $ref: '#/components/schemas/ResourceDetail' + ResourceDetail: + type: object + required: + - key + - count + properties: + key: + type: object + count: + type: number + ProjectSubscription: + type: object + required: + - id + - projectId + - licenseId + - licenseVersion + - subscriptionId + - dateStart + properties: + id: + type: number + projectId: + type: number + provider: + $ref: '#/components/schemas/SubscriptionProvider' + licenseId: + type: number + licenseVersion: + type: number + subscriptionId: + type: string + providerUrl: + type: string + dateStart: + type: string + dateEnd: + type: string + Collaborator: + type: object + required: + - id + - projectId + - type + - userAddress + - access + - createdAt + - updatedAt + properties: + id: + type: number + projectId: + type: number + type: + $ref: '#/components/schemas/CollaboratorType' + userAddress: + type: string + userEmail: + type: string + userAvatarUrl: + type: string + userAvatarKey: + type: string + access: + $ref: '#/components/schemas/CollaboratorAccess' + invitationId: + type: number + createdAt: + type: string + updatedAt: + type: string + Contract: + type: object + required: + - id + - projectId + - contractName + - contractAddress + - contractType + - chainId + - source + - contractExtensions + - bytecodeMatch + - createdAt + - updatedAt + properties: + id: + type: number + projectId: + type: number + contractName: + type: string + contractAddress: + type: string + contractType: + type: string + chainId: + type: number + source: + $ref: '#/components/schemas/ContractSourceType' + abi: + type: string + bytecode: + type: string + bytecodeHash: + type: string + audienceId: + type: number + decimals: + type: number + symbol: + type: string + contractExtensions: + $ref: '#/components/schemas/ContractExtensions' + tags: + type: array + description: '[]string' + items: + type: string + bytecodeMatch: + type: boolean + createdAt: + type: string + updatedAt: + type: string + ContractExtensions: + type: object + properties: + itemsContractAddress: + type: string + splitterContractAddresses: + type: array + description: '[]string' + items: + type: string + ContractSync: + type: object + properties: + decimals: + type: number + symbol: + type: string + ContractFilter: + type: object + properties: + chainId: + type: number + contractSourceType: + $ref: '#/components/schemas/ContractSourceType' + contractTypes: + type: array + description: '[]string' + items: + type: string + tag: + type: string + name: + type: string + contractAddress: + type: string + includeUnmatched: + type: boolean + ContractTag: + type: object + required: + - tag + - count + properties: + tag: + type: string + count: + type: number + ContractLink: + type: object + required: + - project + - collaborator + properties: + contract: + $ref: '#/components/schemas/Contract' + project: + $ref: '#/components/schemas/Project' + collaborator: + $ref: '#/components/schemas/Collaborator' + RelayerGasSponsor: + type: object + required: + - id + - projectId + - chainId + - displayName + - address + - active + - createdAt + - updatedAt + properties: + id: + type: number + projectId: + type: number + chainId: + type: number + displayName: + type: string + address: + type: string + active: + type: boolean + createdAt: + type: string + updatedAt: + type: string + RelayerTransaction: + type: object + required: + - txnHash + - txnNonce + - txnStatus + - txnRevertReason + - requeues + - queuedAt + - sentAt + - minedAt + - target + - input + - txnArgs + - walletAddress + - metaTxnNonce + - gasLimit + - gasPrice + - gasUsed + - gasEstimated + - usdRate + - creditsUsed + - cost + - isWhitelisted + - createdAt + - updatedAt + properties: + txnHash: + type: string + txnNonce: + type: string + metaTxnID: + type: string + txnStatus: + type: string + txnRevertReason: + type: string + requeues: + type: number + queuedAt: + type: string + sentAt: + type: string + minedAt: + type: string + target: + type: string + input: + type: string + txnArgs: + type: object + description: 'map' + additionalProperties: + type: object + txnReceipt: + type: object + description: 'map' + additionalProperties: + type: object + walletAddress: + type: string + metaTxnNonce: + type: string + gasLimit: + type: number + gasPrice: + type: string + gasUsed: + type: number + gasEstimated: + type: number + gasFeeMarkup: + type: number + usdRate: + type: string + creditsUsed: + type: number + cost: + type: string + isWhitelisted: + type: boolean + gasSponsor: + type: number + createdAt: + type: string + updatedAt: + type: string + ProjectGasTankStatus: + type: object + required: + - provider + - setupPayment + - issueWithPayment + - mainnetSponsors + properties: + provider: + $ref: '#/components/schemas/PaymentProvider' + setupPayment: + type: boolean + issueWithPayment: + type: boolean + mainnetSponsors: + type: boolean + balance: + type: number + EcosystemGasTankStatus: + type: object + required: + - setupPayment + - issueWithPayment + properties: + setupPayment: + type: boolean + issueWithPayment: + type: boolean + balance: + type: number + GasTankSettings: + type: object + required: + - balanceThreshold + - sendNotifications + - autoRecharge + - topupProvider + - rechargeAmount + - rechargeLimit + properties: + balanceThreshold: + type: number + sendNotifications: + type: boolean + autoRecharge: + type: boolean + topupProvider: + $ref: '#/components/schemas/PaymentProvider' + rechargeAmount: + type: number + rechargeLimit: + type: number + UsageInfo: + type: object + required: + - includedWarn + - includedMax + - overageWarn + - overageMax + - usage + - balance + - overage + - extraCharged + properties: + includedWarn: + type: number + includedMax: + type: number + overageWarn: + type: number + overageMax: + type: number + usage: + type: number + balance: + type: number + overage: + type: number + extraCharged: + type: string + SubscriptionInfo: + type: object + required: + - current + - cycle + - settings + - gasTankSettings + - usage + properties: + current: + $ref: '#/components/schemas/ProjectSubscription' + license: + $ref: '#/components/schemas/License' + cycle: + $ref: '#/components/schemas/BillingCycle' + settings: + $ref: '#/components/schemas/LicenseSettings' + gasTankSettings: + $ref: '#/components/schemas/GasTankSettings' + usage: + type: object + description: 'map' + additionalProperties: + $ref: '#/components/schemas/UsageInfo' + plannedDowngrade: + $ref: '#/components/schemas/License' + pendingUpgrade: + $ref: '#/components/schemas/License' + Redirect: + type: object + required: + - url + properties: + url: + type: string + StripeEventData: + type: object + required: + - object + properties: + object: + $ref: '#/components/schemas/StripeEventDataObject' + StripeEventDataObject: + type: object + required: + - id + - object + properties: + id: + type: string + object: + type: string + Payment: + type: object + required: + - id + - projectId + - provider + - externalTxnID + - createdAt + properties: + id: + type: number + projectId: + type: number + chainId: + type: number + status: + $ref: '#/components/schemas/PaymentStatus' + provider: + $ref: '#/components/schemas/PaymentProvider' + externalTxnID: + type: string + createdAt: + type: string + InvoicesReturn: + type: object + required: + - hasMore + - invoices + properties: + hasMore: + type: boolean + invoices: + type: array + description: '[]Invoice' + items: + $ref: '#/components/schemas/Invoice' + Invoice: + type: object + required: + - id + - date + - amount + - paid + - url + properties: + id: + type: string + date: + type: string + amount: + type: string + paid: + type: boolean + url: + type: string + ContractInfo: + type: object + required: + - data + properties: + data: + type: object + ContractInfoOverride: + type: object + required: + - data + properties: + data: + type: object + ProjectInvitation: + type: object + required: + - id + - projectId + - code + - access + - expiresAt + - usageCount + - createdAt + properties: + id: + type: number + projectId: + type: number + code: + type: string + access: + $ref: '#/components/schemas/CollaboratorAccess' + expiresAt: + type: string + usageCount: + type: number + createdAt: + type: string + deletedAt: + type: string + AdminMarketplaceCollection: + type: object + required: + - status + - chainId + - contractAddress + - contractType + - priority + - tokenQuantityDecimals + - createdAt + - updatedAt + properties: + status: + $ref: '#/components/schemas/AdminCollectionStatus' + chainId: + type: number + contractAddress: + type: string + contractType: + $ref: '#/components/schemas/AdminMarketplaceContractType' + priority: + $ref: '#/components/schemas/AdminCollectionPriority' + tokenQuantityDecimals: + type: number + createdAt: + type: string + updatedAt: + type: string + deletedAt: + type: string + OffchainInventory: + type: object + required: + - id + - projectId + - chainId + - externalProductId + - paymentTokenAddress + - paymentTokenType + - paymentTokenId + - paymentAmount + - paymentRecipient + properties: + id: + type: number + projectId: + type: number + chainId: + type: number + externalProductId: + type: string + paymentTokenAddress: + type: string + paymentTokenType: + $ref: '#/components/schemas/TokenType' + paymentTokenId: + type: number + paymentAmount: + type: number + paymentRecipient: + type: string + chainedCallAddress: + type: string + chainedCallData: + type: string + allowCrossChainPayments: + type: boolean + callbackURL: + type: string + createdAt: + type: string + deletedAt: + type: string + OffchainPayment: + type: object + required: + - id + - offchainInventoryId + - productRecipient + - paymentChainId + - paymentTokenAddress + - expiration + - createdAt + properties: + id: + type: number + offchainInventoryId: + type: number + productRecipient: + type: string + paymentChainId: + type: number + paymentTokenAddress: + type: string + expiration: + type: string + createdAt: + type: string + completedAt: + type: string + processedAt: + type: string + ProjectFile: + type: object + required: + - id + - projectId + - scope + - mimetype + - filepath + - contents + - hash + - url + - createdAt + properties: + id: + type: number + projectId: + type: number + scope: + $ref: '#/components/schemas/FileScope' + mimetype: + type: string + filepath: + type: string + contents: + type: array + description: '[]byte' + items: + type: string + hash: + type: array + description: '[]byte' + items: + type: string + url: + type: string + createdAt: + type: string + WaasTemplate: + type: object + required: + - id + - projectId + - subject + - introText + - logoUrl + - placeholders + - createdAt + - updatedAt + properties: + id: + type: number + templateType: + $ref: '#/components/schemas/TemplateType' + projectId: + type: number + subject: + type: string + introText: + type: string + logoUrl: + type: string + template: + type: string + fromEmail: + type: string + placeholders: + type: array + description: '[]string' + items: + type: string + sesConfig: + $ref: '#/components/schemas/SESSettings' + createdAt: + type: string + updatedAt: + type: string + deletedAt: + type: string + TaskRunner: + type: object + required: + - id + - workGroup + - runAt + properties: + id: + type: number + workGroup: + type: string + runAt: + type: string + Task: + type: object + required: + - id + - queue + - status + - try + - payload + properties: + id: + type: number + queue: + type: string + status: + $ref: '#/components/schemas/TaskStatus' + try: + type: number + runAt: + type: string + lastRanAt: + type: string + createdAt: + type: string + payload: + type: array + description: '[]byte' + items: + type: string + hash: + type: string + CreditBonus: + type: object + required: + - id + - projectId + - amount + - balance + - createdAt + - updatedAt + properties: + id: + type: number + projectId: + type: number + amount: + type: number + balance: + type: number + createdAt: + type: string + updatedAt: + type: string + WaasSettings: + type: object + required: + - recoveryAddress + - authConfig + - oidcProviders + - allowedOrigins + - updateCode + - tenantKey + properties: + recoveryAddress: + type: string + authConfig: + $ref: '#/components/schemas/WaasAuthConfig' + oidcProviders: + type: array + description: '[]OpenIdProvider' + items: + $ref: '#/components/schemas/OpenIdProvider' + allowedOrigins: + type: array + description: '[]string' + items: + type: string + updateCode: + type: string + tenantKey: + type: string + WaasAuthEmailConfig: + type: object + required: + - enabled + properties: + enabled: + type: boolean + WaasAuthGuestConfig: + type: object + required: + - enabled + properties: + enabled: + type: boolean + WaasAuthPlayfabConfig: + type: object + required: + - enabled + properties: + enabled: + type: boolean + titleId: + type: string + WaasAuthStytchConfig: + type: object + required: + - enabled + properties: + enabled: + type: boolean + projectId: + type: string + WaasAuthTwitterConfig: + type: object + required: + - enabled + properties: + enabled: + type: boolean + clientId: + type: string + WaasAuthConfig: + type: object + properties: + email: + $ref: '#/components/schemas/WaasAuthEmailConfig' + guest: + $ref: '#/components/schemas/WaasAuthGuestConfig' + playfab: + $ref: '#/components/schemas/WaasAuthPlayfabConfig' + stytch: + $ref: '#/components/schemas/WaasAuthStytchConfig' + twitter: + $ref: '#/components/schemas/WaasAuthTwitterConfig' + Audience: + type: object + required: + - id + - projectId + - name + - contactCount + - createdAt + - updatedAt + properties: + id: + type: number + projectId: + type: number + name: + type: string + contactCount: + type: number + createdAt: + type: string + updatedAt: + type: string + deletedAt: + type: string + AudienceContact: + type: object + required: + - audienceId + - address + properties: + id: + type: number + audienceId: + type: number + name: + type: string + address: + type: string + email: + type: string + userIp: + type: string + stage: + type: number + provider: + type: string + createdAt: + type: string + updatedAt: + type: string + AudienceRegistrationStatus: + type: object + required: + - totalCount + properties: + totalCount: + type: number + Trial: + type: object + required: + - id + - projectId + - type + - startAt + - endAt + properties: + id: + type: number + projectId: + type: number + type: + $ref: '#/components/schemas/TrialType' + startAt: + type: string + endAt: + type: string + AuditLog: + type: object + required: + - id + - walletAddress + - userEmail + - entityId + - type + - oldValue + - newValue + - createdAt + properties: + id: + type: number + walletAddress: + type: string + userEmail: + type: string + entityId: + type: number + type: + $ref: '#/components/schemas/AuditType' + oldValue: + type: object + newValue: + type: object + createdAt: + type: string + PaymentMethodCardData: + type: object + required: + - brand + - country + - last4 + - expDate + properties: + brand: + type: string + country: + type: string + last4: + type: string + expDate: + type: string + PaymentMethodLinkData: + type: object + required: + - email + properties: + email: + type: string + PaymentMethod: + type: object + required: + - id + - type + - default + properties: + id: + type: string + type: + $ref: '#/components/schemas/PaymentMethodType' + cardData: + $ref: '#/components/schemas/PaymentMethodCardData' + linkData: + $ref: '#/components/schemas/PaymentMethodLinkData' + default: + type: boolean + ProjectSecret: + type: object + required: + - type + - env + properties: + type: + $ref: '#/components/schemas/SecretType' + env: + $ref: '#/components/schemas/SecretEnv' + updatedAt: + type: string + FinancialReportType: + type: string + description: Represented as uint8 on the server side + enum: + - SUBSCRIPTION + - GASTANK_TOPUP + FinancialReportEntry: + type: object + required: + - amount + - type + - provider + - reference + - notes + - createdAt + properties: + projectId: + type: number + ecosystemId: + type: number + amount: + type: number + type: + $ref: '#/components/schemas/FinancialReportType' + provider: + $ref: '#/components/schemas/PaymentProvider' + reference: + type: string + externalURL: + type: string + notes: + type: string + createdAt: + type: string + TransakContract: + type: object + required: + - id + - chainId + - contractAddress + - name + - projectIds + - createdAt + - updatedAt + properties: + id: + type: number + transakId: + type: string + chainId: + type: number + contractAddress: + type: string + name: + type: string + projectIds: + type: array + description: '[]uint64' + items: + type: number + createdAt: + type: string + updatedAt: + type: string + TransakContractFilter: + type: object + properties: + query: + type: string + chainId: + type: number + WhitelistUrl: + type: object + required: + - id + - projectId + - url + - createdAt + - updatedAt + properties: + id: + type: number + projectId: + type: number + url: + type: string + approvedAt: + type: string + createdAt: + type: string + updatedAt: + type: string + AnalyticsProjectType: + type: string + description: Represented as string on the server side + enum: + - ALL + - CREATED + - RELATED + DateInterval: + type: string + description: Represented as uint16 on the server side + enum: + - DAY + - WEEK + - MONTH + QueryFilter: + type: object + properties: + projectId: + type: number + ecosystemId: + type: number + startDate: + type: string + endDate: + type: string + dateInterval: + $ref: '#/components/schemas/DateInterval' + collections: + type: array + description: '[]string' + items: + type: string + tokenId: + type: string + projectType: + $ref: '#/components/schemas/AnalyticsProjectType' + Chart: + type: object + required: + - value + - label + properties: + value: + type: number + label: + type: string + ChartWithPercentage: + type: object + required: + - label + - total + - percentage + properties: + label: + type: string + total: + type: number + percentage: + type: number + MultiValueChart: + type: object + required: + - value + - label + properties: + value: + type: object + description: 'map' + additionalProperties: + type: number + label: + type: string + QueryResult: + type: object + required: + - collection + - source + - volumeUSD + - numTokens + - numTxns + properties: + collection: + type: string + source: + type: string + tokenId: + type: string + volumeUSD: + type: number + numTokens: + type: number + numTxns: + type: number + TokenTransactionData: + type: object + required: + - collectionId + - collectionName + - tokenId + - tokenName + - itemQuantities + properties: + collectionId: + type: string + collectionName: + type: string + tokenId: + type: string + tokenName: + type: string + itemQuantities: + type: number + TrailsTransactionByMode: + type: object + required: + - mode + - uniqueTransactingUsers + - paymentsStarted + - paymentsCompleted + - completionPercent + - totalFees + - totalVolume + properties: + mode: + type: string + uniqueTransactingUsers: + type: number + paymentsStarted: + type: number + paymentsCompleted: + type: number + completionPercent: + type: number + totalFees: + type: number + totalVolume: + type: number + TrailsTransactionByRoute: + type: object + required: + - origChainName + - destChainName + - uniqueTransactingUsers + - paymentsStarted + - paymentsCompleted + - completionPercent + - avgTxnDuration + - gasFees + - totalFees + - totalVolume + properties: + origChainName: + type: string + destChainName: + type: string + uniqueTransactingUsers: + type: number + paymentsStarted: + type: number + paymentsCompleted: + type: number + completionPercent: + type: number + avgTxnDuration: + type: number + gasFees: + type: number + totalFees: + type: number + totalVolume: + type: number + TrailsTransactionByProvider: + type: object + required: + - providerSwap + - providerBridge + - uniqueTransactingUsers + - paymentsStarted + - paymentsCompleted + - completionPercent + - avgTxnDuration + - providerFees + - totalFees + - totalVolume + properties: + providerSwap: + type: string + providerBridge: + type: string + uniqueTransactingUsers: + type: number + paymentsStarted: + type: number + paymentsCompleted: + type: number + completionPercent: + type: number + avgTxnDuration: + type: number + providerFees: + type: number + totalFees: + type: number + totalVolume: + type: number + TrailsTransactionByCountry: + type: object + required: + - country + - transactingWallets + - paymentsCompleted + - completionPercent + - totalVolume + properties: + country: + type: string + transactingWallets: + type: number + paymentsCompleted: + type: number + completionPercent: + type: number + totalVolume: + type: number + TrailsTransactionDetail: + type: object + required: + - date + - checkoutId + - country + - provider + - hostname + - originTxHash + - destTxHash + - origChainName + - destChainName + - origTokenSymbol + - destTokenSymbol + - providerFee + - totalFee + - totalVolume + properties: + date: + type: string + checkoutId: + type: string + country: + type: string + provider: + type: string + hostname: + type: string + originTxHash: + type: string + destTxHash: + type: string + origChainName: + type: string + destChainName: + type: string + origTokenSymbol: + type: string + destTokenSymbol: + type: string + providerFee: + type: number + totalFee: + type: number + totalVolume: + type: number + ContractLibraryStatus: + type: string + description: Represented as uint8 on the server side + enum: + - DEPRECATED + - NIGHTLY + - STABLE + ContractLibraryItem: + type: object + required: + - uid + - contractType + - name + - description + - author + - license + - moreInfoUrl + - disabled + - createdAt + - updatedAt + properties: + uid: + type: string + contractType: + type: string + name: + type: string + description: + type: string + author: + type: string + license: + type: string + moreInfoUrl: + type: string + disabled: + type: boolean + createdAt: + type: string + updatedAt: + type: string + ContractLibraryVersion: + type: object + required: + - uid + - version + - audited + - releaseNotes + - upgradable + - sourceData + - status + - createdAt + - updatedAt + properties: + uid: + type: string + version: + type: number + audited: + type: boolean + releaseNotes: + type: string + upgradable: + type: boolean + sourceData: + $ref: '#/components/schemas/ContractData' + factoryAddress: + type: string + factoryData: + $ref: '#/components/schemas/ContractData' + chainIds: + type: array + description: '[]uint64' + items: + type: number + status: + $ref: '#/components/schemas/ContractLibraryStatus' + createdAt: + type: string + updatedAt: + type: string + ProjectContractSource: + type: object + required: + - projectId + - uid + - data + - name + - createdAt + - updatedAt + properties: + projectId: + type: number + uid: + type: string + data: + $ref: '#/components/schemas/ContractData' + name: + type: string + createdAt: + type: string + updatedAt: + type: string + EcosystemType: + type: string + description: Represented as string on the server side + enum: + - UNKNOWN + - OPEN + - CLOSED + ThemeType: + type: string + description: Represented as string on the server side + enum: + - light + - dark + - system + LoginProviderType: + type: string + description: Represented as string on the server side + enum: + - APPLE + - GOOGLE + - EMAIL + - PASSKEY + - PRIVATE_KEY + Ecosystem: + type: object + required: + - id + - name + - type + - ownerAddress + - builderDomain + - accessKeyPrefix + - chainIds + - exclusive + - settings + - createdAt + - updatedAt + properties: + id: + type: number + name: + type: string + type: + $ref: '#/components/schemas/EcosystemType' + ownerAddress: + type: string + builderDomain: + type: string + walletDomain: + type: string + email: + type: string + accessKeyPrefix: + type: string + chainIds: + type: array + description: '[]uint64' + items: + type: number + exclusive: + type: boolean + projectCount: + type: number + settings: + $ref: '#/components/schemas/EcosystemSettings' + createdAt: + type: string + updatedAt: + type: string + deletedAt: + type: string + EcosystemCollaborator: + type: object + required: + - id + - ecosystemId + - userAddress + - access + - createdAt + - updatedAt + properties: + id: + type: number + ecosystemId: + type: number + userAddress: + type: string + access: + $ref: '#/components/schemas/EcosystemAccess' + createdAt: + type: string + updatedAt: + type: string + EcosystemSettings: + type: object + required: + - title + - description + - learnMoreButton + - learnMoreUrl + - crispWebsiteId + - themes + - emailSettings + - walletSettings + - allowConnectedWallets + properties: + title: + type: string + description: + type: string + learnMoreButton: + type: string + learnMoreUrl: + type: string + crispWebsiteId: + type: string + domainAllowList: + type: array + description: '[]string' + items: + type: string + domainBlockList: + type: array + description: '[]string' + items: + type: string + themes: + type: array + description: '[]ThemeSettings' + items: + $ref: '#/components/schemas/ThemeSettings' + emailSettings: + $ref: '#/components/schemas/EcosystemEmailSettings' + walletSettings: + $ref: '#/components/schemas/EcosystemWalletSettings' + allowConnectedWallets: + type: boolean + EcosystemEmailSettings: + type: object + required: + - bannerUrl + properties: + bannerUrl: + type: string + EcosystemWalletSettings: + type: object + required: + - isEOAWalletEnabled + - allowMultipleAccount + - socialOptions + - walletOptions + properties: + isEOAWalletEnabled: + type: boolean + allowMultipleAccount: + type: boolean + socialOptions: + type: array + description: '[]string' + items: + type: string + walletOptions: + type: array + description: '[]string' + items: + type: string + ThemeSettings: + type: object + required: + - type + - customCss + - fileLogo + - fileTitle + - fileBackground + - fileBackgroundMobile + properties: + type: + $ref: '#/components/schemas/ThemeType' + customCss: + type: string + fileLogo: + type: string + fileTitle: + type: string + fileBackground: + type: string + fileBackgroundMobile: + type: string + Configuration: + type: object + required: + - ecosystemId + - name + - builderDomain + - chainIds + - license + - settings + - exclusiveChainIds + properties: + ecosystemId: + type: number + name: + type: string + builderDomain: + type: string + walletDomain: + type: string + chainIds: + type: array + description: '[]uint64' + items: + type: number + license: + $ref: '#/components/schemas/License' + settings: + $ref: '#/components/schemas/EcosystemSettings' + exclusiveChainIds: + type: object + description: 'map' + additionalProperties: + type: number + EcosystemTemplate: + type: object + required: + - subject + - template + - data + - fromEmail + - content + - placeholders + - createdAt + - updatedAt + properties: + subject: + type: string + template: + type: string + data: + $ref: '#/components/schemas/TemplateData' + fromEmail: + type: string + content: + type: string + placeholders: + type: array + description: '[]string' + items: + type: string + sesSettings: + $ref: '#/components/schemas/SESSettings' + createdAt: + type: string + updatedAt: + type: string + TemplateData: + type: object + required: + - introText + - logoUrl + properties: + introText: + type: string + logoUrl: + type: string + LoginProvider: + type: object + required: + - type + properties: + type: + $ref: '#/components/schemas/LoginProviderType' + clientId: + type: string + updatedAt: + type: string + WalletCustomTheme: + type: object + required: + - fileHeaderLogo + - fileAuthLogo + properties: + fileHeaderLogo: + $ref: '#/components/schemas/Image' + fileAuthLogo: + $ref: '#/components/schemas/Image' + fileAuthCover: + $ref: '#/components/schemas/Image' + fileBackgroundImage: + $ref: '#/components/schemas/Image' + colors: + type: object + description: 'map' + additionalProperties: + type: string + WalletThemes: + type: object + required: + - light + - dark + properties: + light: + $ref: '#/components/schemas/WalletCustomTheme' + dark: + $ref: '#/components/schemas/WalletCustomTheme' + DiscoveryCategory: + type: object + required: + - label + - tag + - private + properties: + label: + type: string + tag: + type: string + private: + type: boolean + DiscoveryApp: + type: object + required: + - id + - coverImage + - url + - categoryTags + - chainIds + properties: + id: + type: string + name: + type: string + description: + type: string + coverImage: + $ref: '#/components/schemas/Image' + url: + type: string + categoryTags: + type: array + description: '[]string' + items: + type: string + chainIds: + type: array + description: '[]uint64' + items: + type: number + DiscoverySection: + type: object + required: + - apps + - private + - categories + - banners + - activeBanners + properties: + apps: + type: array + description: '[]DiscoveryApp' + items: + $ref: '#/components/schemas/DiscoveryApp' + private: + type: boolean + categories: + type: array + description: '[]DiscoveryCategory' + items: + $ref: '#/components/schemas/DiscoveryCategory' + banners: + type: array + description: '[]DiscoveryApp' + items: + $ref: '#/components/schemas/DiscoveryApp' + activeBanners: + type: array + description: '[]string' + items: + type: string + EcosystemWalletMetaTags: + type: object + required: + - title + - description + - url + - previewImage + - favicon + properties: + title: + type: string + description: + type: string + url: + type: string + previewImage: + type: string + favicon: + type: string + SDKConfig: + type: object + required: + - brandedSignIn + - signInButtonTitle + properties: + brandedSignIn: + type: boolean + signInButtonTitle: + type: string + signInButtonLogo: + $ref: '#/components/schemas/Image' + EcosystemWalletConfig: + type: object + required: + - ecosystemId + - name + - description + - url + - email + - defaultTheme + - supportedThemes + - themes + - metaTags + - defaultCurrency + - watchedWallets + - supportedChains + - defaultChainId + - enabledProviders + - providerConfig + - allowEOAWallets + - createdAt + - updatedAt + properties: + ecosystemId: + type: number + name: + type: string + description: + type: string + url: + type: string + email: + type: string + defaultTheme: + $ref: '#/components/schemas/ThemeType' + supportedThemes: + type: array + description: '[]ThemeType' + items: + $ref: '#/components/schemas/ThemeType' + themes: + $ref: '#/components/schemas/WalletThemes' + metaTags: + $ref: '#/components/schemas/EcosystemWalletMetaTags' + defaultCurrency: + type: string + watchedWallets: + type: boolean + supportedChains: + type: array + description: '[]uint64' + items: + type: number + defaultChainId: + type: number + enabledProviders: + type: array + description: '[]LoginProviderType' + items: + $ref: '#/components/schemas/LoginProviderType' + providerConfig: + type: array + description: '[]LoginProvider' + items: + $ref: '#/components/schemas/LoginProvider' + discovery: + $ref: '#/components/schemas/DiscoverySection' + sdkConfig: + $ref: '#/components/schemas/SDKConfig' + allowEOAWallets: + type: boolean + createdAt: + type: string + updatedAt: + type: string + AdjustmentSource: + type: string + description: Represented as uint8 on the server side + enum: + - unknown + - onetime + - auto + AdjustmentStatus: + type: string + description: Represented as uint8 on the server side + enum: + - unknown + - pending + - accepted + - successful + - failed + - cancelled + OwnerType: + type: string + description: Represented as string on the server side + enum: + - Project + - Ecosystem + GasTankAdjustment: + type: object + required: + - id + - projectId + - ecosystemId + - provider + - source + - amount + - status + - notes + - createdAt + properties: + id: + type: number + projectId: + type: number + ecosystemId: + type: number + provider: + $ref: '#/components/schemas/PaymentProvider' + source: + $ref: '#/components/schemas/AdjustmentSource' + amount: + type: number + status: + $ref: '#/components/schemas/AdjustmentStatus' + externalId: + type: string + notes: + type: string + createdAt: + type: string + GasTankAdjustmentFilter: + type: object + properties: + ownerType: + $ref: '#/components/schemas/OwnerType' + ownerId: + type: number + source: + $ref: '#/components/schemas/AdjustmentSource' + status: + type: array + description: '[]AdjustmentStatus' + items: + $ref: '#/components/schemas/AdjustmentStatus' + provider: + $ref: '#/components/schemas/PaymentProvider' + from: + type: string + to: + type: string + GasTankConfig: + type: object + required: + - enabled + - chainId + - tokenAddress + - tokenDecimals + - recipientAddress + properties: + enabled: + type: boolean + chainId: + type: number + tokenAddress: + type: string + tokenDecimals: + type: number + recipientAddress: + type: string + MarketplaceWalletType: + type: string + description: Represented as uint8 on the server side + enum: + - UNIVERSAL + - EMBEDDED + - ECOSYSTEM + FilterCondition: + type: string + description: Represented as string on the server side + enum: + - ENTIRE_KEY + - SPECIFIC_VALUE + MarketplaceLegacyType: + type: string + description: Represented as string on the server side + enum: + - AMM + - P2P + - SEQUENCE + - ORDERBOOK + MarketplaceHostname: + type: object + required: + - hostname + - projectId + - isDefaultHostname + - isCustomDomain + - createdAt + properties: + hostname: + type: string + projectId: + type: number + isDefaultHostname: + type: boolean + isCustomDomain: + type: boolean + createdAt: + type: string + Marketplace: + type: object + required: + - projectId + - settings + - market + - shop + properties: + projectId: + type: number + settings: + $ref: '#/components/schemas/MarketplaceSettings' + market: + $ref: '#/components/schemas/MarketplacePage' + shop: + $ref: '#/components/schemas/MarketplacePage' + createdAt: + type: string + updatedAt: + type: string + MarketplaceSettings: + type: object + required: + - style + - publisherId + - title + - socials + - faviconUrl + - walletOptions + - logoUrl + - fontUrl + - isTrailsEnabled + properties: + style: + type: object + description: 'map' + additionalProperties: + type: object + publisherId: + type: string + title: + type: string + socials: + $ref: '#/components/schemas/MarketplaceSocials' + faviconUrl: + type: string + walletOptions: + $ref: '#/components/schemas/MarketplaceWallet' + logoUrl: + type: string + fontUrl: + type: string + accessKey: + type: string + isTrailsEnabled: + type: boolean + MarketplacePage: + type: object + required: + - enabled + - bannerUrl + - ogImage + - private + properties: + enabled: + type: boolean + bannerUrl: + type: string + ogImage: + type: string + private: + type: boolean + MarketplaceSocials: + type: object + required: + - twitter + - discord + - website + - tiktok + - instagram + - youtube + properties: + twitter: + type: string + discord: + type: string + website: + type: string + tiktok: + type: string + instagram: + type: string + youtube: + type: string + MarketplaceWallet: + type: object + required: + - walletType + - oidcIssuers + - connectors + - includeEIP6963Wallets + properties: + walletType: + $ref: '#/components/schemas/MarketplaceWalletType' + oidcIssuers: + type: object + description: 'map' + additionalProperties: + type: string + connectors: + type: array + description: '[]string' + items: + type: string + includeEIP6963Wallets: + type: boolean + ecosystem: + $ref: '#/components/schemas/MarketplaceWalletEcosystem' + embedded: + $ref: '#/components/schemas/MarketplaceWalletEmbedded' + MarketplaceWalletEcosystem: + type: object + required: + - walletUrl + - walletAppName + properties: + walletUrl: + type: string + walletAppName: + type: string + logoLightUrl: + type: string + logoDarkUrl: + type: string + MarketplaceWalletEmbedded: + type: object + required: + - tenantKey + - emailEnabled + - providers + properties: + tenantKey: + type: string + emailEnabled: + type: boolean + providers: + type: array + description: '[]OpenIdProvider' + items: + $ref: '#/components/schemas/OpenIdProvider' + MarketCollection: + type: object + required: + - id + - projectId + - chainId + - itemsAddress + - contractType + - bannerUrl + - feePercentage + - currencyOptions + - destinationMarketplace + - private + properties: + id: + type: number + projectId: + type: number + chainId: + type: number + itemsAddress: + type: string + contractType: + type: string + bannerUrl: + type: string + feePercentage: + type: number + currencyOptions: + type: array + description: '[]string' + items: + type: string + destinationMarketplace: + type: string + filterSettings: + $ref: '#/components/schemas/CollectionFilterSettings' + sortOrder: + type: number + private: + type: boolean + createdAt: + type: string + updatedAt: + type: string + ShopCollection: + type: object + required: + - id + - projectId + - chainId + - itemsAddress + - saleAddress + - name + - bannerUrl + - tokenIds + - customTokenIds + - private + properties: + id: + type: number + projectId: + type: number + chainId: + type: number + itemsAddress: + type: string + saleAddress: + type: string + name: + type: string + bannerUrl: + type: string + tokenIds: + type: array + description: '[]string' + items: + type: string + customTokenIds: + type: array + description: '[]string' + items: + type: string + sortOrder: + type: number + private: + type: boolean + createdAt: + type: string + updatedAt: + type: string + MetadataFilterRule: + type: object + required: + - key + - condition + properties: + key: + type: string + condition: + $ref: '#/components/schemas/FilterCondition' + value: + type: string + CollectionFilterSettings: + type: object + required: + - filterOrder + - exclusions + properties: + filterOrder: + type: array + description: '[]string' + items: + type: string + exclusions: + type: array + description: '[]MetadataFilterRule' + items: + $ref: '#/components/schemas/MetadataFilterRule' + CollectionListFilter: + type: object + required: + - includePrivate + properties: + includePrivate: + type: boolean + MarketplaceLegacySettings: + type: object + required: + - publisherId + - title + - shortDescription + - socials + - faviconUrl + - landingBannerUrl + - collections + - walletOptions + - landingPageLayout + - logoUrl + - bannerUrl + - isTrailsEnabled + properties: + projectId: + type: number + publisherId: + type: string + title: + type: string + shortDescription: + type: string + socials: + $ref: '#/components/schemas/MarketplaceSocials' + faviconUrl: + type: string + landingBannerUrl: + type: string + collections: + type: array + description: '[]MarketplaceLegacyCollection' + items: + $ref: '#/components/schemas/MarketplaceLegacyCollection' + walletOptions: + $ref: '#/components/schemas/MarketplaceLegacyWallet' + landingPageLayout: + type: string + logoUrl: + type: string + bannerUrl: + type: string + fontUrl: + type: string + ogImage: + type: string + accessKey: + type: string + isTrailsEnabled: + type: boolean + MarketplaceLegacyWallet: + type: object + required: + - walletType + - oidcIssuers + - connectors + - includeEIP6963Wallets + properties: + walletType: + $ref: '#/components/schemas/MarketplaceWalletType' + oidcIssuers: + type: object + description: 'map' + additionalProperties: + type: string + connectors: + type: array + description: '[]string' + items: + type: string + includeEIP6963Wallets: + type: boolean + ecosystem: + $ref: '#/components/schemas/MarketplaceWalletEcosystem' + waas: + $ref: '#/components/schemas/MarketplaceWalletEmbedded' + MarketplaceLegacyCollection: + type: object + required: + - marketplaceType + - chainId + - address + - exchanges + - bannerUrl + - feePercentage + - currencyOptions + - destinationMarketplace + properties: + marketplaceType: + $ref: '#/components/schemas/MarketplaceLegacyType' + chainId: + type: number + address: + type: string + exchanges: + type: array + description: '[]string' + items: + type: string + bannerUrl: + type: string + feePercentage: + type: number + currencyOptions: + type: array + description: '[]string' + items: + type: string + destinationMarketplace: + type: string + filterSettings: + $ref: '#/components/schemas/CollectionFilterSettings' +paths: +security: + - ApiKeyAuth: []