@idosgames/core 0.26.10 → 0.26.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,12 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **Published types of models written with `z.output`** (0.26.11). Partners, ads, push, data collections and
|
|
20
|
+
community marketing reached a project as `any`: the d.ts lost their schemas. A callback parameter over
|
|
21
|
+
them failed the build with TS7006 (the `ai-media-app` starter build, 29.11.2026).
|
|
22
|
+
|
|
17
23
|
### Added
|
|
18
24
|
|
|
19
25
|
- **Hold on peer payouts** (0.26.8, engine `Currency.PeerTransferHold`). Virtual currency a player gets from
|
|
@@ -5214,10 +5214,10 @@ interface PushRequest extends BaseRequest {
|
|
|
5214
5214
|
/** `WebPush` (default), `Fcm` or `Apns`. */
|
|
5215
5215
|
PushTransport?: PushTransport;
|
|
5216
5216
|
}
|
|
5217
|
-
type PushConfigResponse =
|
|
5218
|
-
type PushTopicView =
|
|
5219
|
-
type PushSubscriptionView =
|
|
5220
|
-
type PushSubscriptionListResponse =
|
|
5217
|
+
type PushConfigResponse = { Configured?: null | boolean; PublicKey?: null | string; [key: string]: unknown; };
|
|
5218
|
+
type PushTopicView = { TitleID?: null | string; Topic?: null | string; [key: string]: unknown; };
|
|
5219
|
+
type PushSubscriptionView = { EndpointHash?: null | string; Transport?: null | 'WebPush' | 'Fcm' | 'Apns'; Locale?: null | string; Topics?: null | Array<PushTopicView>; [key: string]: unknown; };
|
|
5220
|
+
type PushSubscriptionListResponse = { Configured?: null | boolean; Subscriptions?: null | Array<PushSubscriptionView>; [key: string]: unknown; };
|
|
5221
5221
|
/**
|
|
5222
5222
|
* What the UI needs to decide what to draw. Everything except `subscribed` means "no button", but
|
|
5223
5223
|
* for different reasons — and a couple of them are worth saying out loud to the player.
|
|
@@ -5633,17 +5633,17 @@ interface CommunityMarketingRequest extends BaseRequest {
|
|
|
5633
5633
|
/** Crypto withdrawal only: the wallet the reward is sent to. */
|
|
5634
5634
|
WalletAddress?: string;
|
|
5635
5635
|
}
|
|
5636
|
-
type CommunityCampaignSummary =
|
|
5637
|
-
type CommunityMarketingState =
|
|
5638
|
-
type CommunityAccrualLine =
|
|
5639
|
-
type CommunityEarningsLine =
|
|
5640
|
-
type CommunityPayoutSummary =
|
|
5641
|
-
type CommunityEarningsResponse =
|
|
5642
|
-
type CommunityClaimResponse =
|
|
5643
|
-
type CommunityEligibilityCondition =
|
|
5644
|
-
type CommunityEligibilityResponse =
|
|
5645
|
-
type CommunitySolanaWithdrawalSignature =
|
|
5646
|
-
type CommunityWithdrawalResponse =
|
|
5636
|
+
type CommunityCampaignSummary = { CampaignID?: null | string; DisplayNameKey?: null | string; DescriptionKey?: null | string; IconPath?: null | string; SortOrder?: null | number; IsRunning?: null | boolean; [key: string]: unknown; };
|
|
5637
|
+
type CommunityMarketingState = { IsEnabled?: null | boolean; CreatorPortalUrl?: null | string; ParticipationMode?: null | 'Open' | 'Application'; IsCreator?: null | boolean; CreatorStatus?: null | 'Pending' | 'Rejected' | 'Left' | 'Approved' | 'Suspended'; VerificationCode?: null | string; TeamID?: null | string; Campaigns?: null | Array<CommunityCampaignSummary>; [key: string]: unknown; };
|
|
5638
|
+
type CommunityAccrualLine = { Earned?: null | number; Mature?: null | number; CountedMetrics?: null | Record<string, number>; ReachedMilestones?: null | Array<string>; CappedBySubmissionLimit?: null | boolean; CappedByCreatorLimit?: null | boolean; NotPaidAsCopy?: null | boolean; [key: string]: unknown; };
|
|
5639
|
+
type CommunityEarningsLine = { CampaignID?: null | string; CurrencyKind?: null | 'VirtualCurrency' | 'CryptoCurrency'; CurrencyID?: null | string; NetworkID?: null | string; Earned?: null | number; Mature?: null | number; Granted?: null | number; Paid?: null | number; Overpaid?: null | number; Claimable?: null | number; BySubmission?: null | Record<string, CommunityAccrualLine>; ComputedAt?: null | string; [key: string]: unknown; };
|
|
5640
|
+
type CommunityPayoutSummary = { PayoutID?: null | string; CampaignID?: null | string; Amount?: null | number; CurrencyID?: null | string; CurrencyKind?: null | 'VirtualCurrency' | 'CryptoCurrency'; NetworkID?: null | string; PaidAt?: null | string; [key: string]: unknown; };
|
|
5641
|
+
type CommunityEarningsResponse = { ServerTimeUtc?: null | string; HoldDays?: null | number; Campaigns?: null | Array<CommunityEarningsLine>; Payouts?: null | Array<CommunityPayoutSummary>; [key: string]: unknown; };
|
|
5642
|
+
type CommunityClaimResponse = { CampaignID?: null | string; PayoutID?: null | string; Claimed?: null | number; CurrencyID?: null | string; CurrencyKind?: null | 'VirtualCurrency' | 'CryptoCurrency'; NetworkID?: null | string; RemainingFraction?: null | number; IdempotentReplay?: null | boolean; Message?: null | string; [key: string]: unknown; };
|
|
5643
|
+
type CommunityEligibilityCondition = { Kind?: null | string; Target?: null | string; Required?: null | number; Actual?: null | number; Passed?: null | boolean; [key: string]: unknown; };
|
|
5644
|
+
type CommunityEligibilityResponse = { Passed?: null | boolean; Approved?: null | boolean; Status?: null | 'Pending' | 'Rejected' | 'Left' | 'Approved' | 'Suspended'; WalletMissing?: null | boolean; WalletConnectAllowed?: null | boolean; Conditions?: null | Array<CommunityEligibilityCondition>; [key: string]: unknown; };
|
|
5645
|
+
type CommunitySolanaWithdrawalSignature = { ProgramID?: null | string; Mint?: null | string; WalletAddress?: null | string; Amount?: null | string; BurnAmount?: null | string; Nonce?: null | string; ExpiresAt?: null | string; SignatureEpoch?: null | string; Domain?: null | string; Splits?: null | Array<{ To?: null | string; Amount?: null | string | number; [key: string]: unknown; }>; SignatureHex?: null | string; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; UserID?: null | string; TitleID?: null | string; Category?: null | string; [key: string]: unknown; };
|
|
5646
|
+
type CommunityWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; ChainID?: null | number; CurrencyID?: null | string; AmountNative?: null | number; NetAmountNative?: null | number; BurnAmountNative?: null | number; AmountUsd?: null | number; ExpiresAt?: null | string; EvmSignature?: null | { ContractAddress?: null | string; TokenAddress?: null | string; WalletAddress?: null | string; Amount?: null | string; BurnAmount?: null | string; TokenId?: null | string; Nonce?: null | string; Signature?: null | string; UserID?: null | string; TitleID?: null | string; Category?: null | string; Deadline?: null | string; SignatureEpoch?: null | string; Splits?: null | Array<{ To?: null | string; Amount?: null | string; [key: string]: unknown; }>; [key: string]: unknown; }; SolanaSignature?: null | CommunitySolanaWithdrawalSignature; StateDelta?: null | BlockchainStateDelta; [key: string]: unknown; };
|
|
5647
5647
|
|
|
5648
5648
|
/** Generation modality of a feature. Determines which generate action the feature accepts. */
|
|
5649
5649
|
declare const AIModality: {
|
|
@@ -24055,14 +24055,14 @@ interface PartnersRequest extends BaseRequest {
|
|
|
24055
24055
|
/** `GetStats`: last N days (default 30, at most 366). */
|
|
24056
24056
|
Days?: number;
|
|
24057
24057
|
}
|
|
24058
|
-
type PartnerProgramView =
|
|
24059
|
-
type PartnerApplication =
|
|
24060
|
-
type PartnerTemplateView =
|
|
24061
|
-
type MyPartnershipView =
|
|
24062
|
-
type PartnerStatsView =
|
|
24063
|
-
type PartnerPayoutsView =
|
|
24064
|
-
type PartnerCreatorView =
|
|
24065
|
-
type PartnerCreatorsView =
|
|
24058
|
+
type PartnerProgramView = { Mode: 'Auto' | 'Off' | 'InviteOnly' | 'Moderated'; DefaultSharePercent?: null | number; Terms?: null | Record<string, string>; AskLinks?: null | boolean; AskAbout?: null | boolean; AskFollowers?: null | boolean; CanApply?: null | boolean; [key: string]: unknown; };
|
|
24059
|
+
type PartnerApplication = { PublicName?: null | string; Links?: null | Array<string>; About?: null | string; Followers?: null | number; SubmittedAt?: null | string; [key: string]: unknown; };
|
|
24060
|
+
type PartnerTemplateView = { FeatureKey: string; Name?: null | Record<string, string>; PreviewUrl?: null | string; PreviewType?: null | string; [key: string]: unknown; };
|
|
24061
|
+
type MyPartnershipView = { Program: PartnerProgramView; Status?: null | 'Active' | 'Rejected' | 'Removed' | 'Applied' | 'Invited'; SharePercent?: null | number; Templates?: null | Array<PartnerTemplateView>; DecisionNote?: null | string; Application?: null | PartnerApplication; SignInRequired?: null | boolean; [key: string]: unknown; };
|
|
24062
|
+
type PartnerStatsView = { Days: number; Generations: number; PeriodCredits: number; AccruedCredits: number; PaidOutCredits: number; BalanceCredits: number; ByDay?: null | Array<{ Day: string; Generations: number; Paid: number; PartnerCredits: number; [key: string]: unknown; }>; ByTemplate?: null | Array<{ FeatureKey: string; Generations: number; Paid: number; PartnerCredits: number; Name?: null | Record<string, string>; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
24063
|
+
type PartnerPayoutsView = { Payouts?: null | Array<{ Credits: number; PaidAt: string; Note?: null | string; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
24064
|
+
type PartnerCreatorView = { Id: string; Name: string; Links?: null | Array<string>; FeatureKeys?: null | Array<string>; [key: string]: unknown; };
|
|
24065
|
+
type PartnerCreatorsView = { Creators?: null | Array<PartnerCreatorView>; [key: string]: unknown; };
|
|
24066
24066
|
|
|
24067
24067
|
/**
|
|
24068
24068
|
* Template partners in the app (engine `PartnersV2`, 28.11.2026). A blogger whose viral clip became a template
|
|
@@ -25008,30 +25008,30 @@ declare const DataCollectionSchemaMode: {
|
|
|
25008
25008
|
readonly Loose: "Loose";
|
|
25009
25009
|
};
|
|
25010
25010
|
type DataCollectionSchemaMode = (typeof DataCollectionSchemaMode)[keyof typeof DataCollectionSchemaMode];
|
|
25011
|
-
type DataRefTarget =
|
|
25012
|
-
type DataFieldDefinition =
|
|
25013
|
-
type DataSortKeyDefinition =
|
|
25014
|
-
type DataAccessRule =
|
|
25015
|
-
type DataPublicViewDefinition =
|
|
25016
|
-
type DataCollectionDefinition =
|
|
25017
|
-
type DataDefinitionsResponse =
|
|
25011
|
+
type DataRefTarget = { Kind: 'Item' | 'Quest' | 'Leaderboard' | 'User' | 'DataItem' | 'Currency' | 'ItemInstance' | 'StoreOffer' | 'WorkshopContent'; Collection?: null | string; Validate?: null | boolean; };
|
|
25012
|
+
type DataFieldDefinition = { Type: 'String' | 'Int' | 'Bool' | 'Json' | 'Text' | 'Date' | 'Number' | 'Array' | 'Ref' | 'File'; ItemType?: null | 'String' | 'Int' | 'Bool' | 'Json' | 'Text' | 'Date' | 'Number' | 'Array' | 'Ref' | 'File'; Ref?: null | DataRefTarget; Required?: boolean; Default?: null | string; Min?: null | number; Max?: null | number; MaxLength?: null | number; MaxItems?: null | number; Enum?: null | Array<string>; Unique?: boolean; UniqueIgnoreCase?: boolean; Indexed?: boolean; Visibility?: 'Server' | 'Everyone' | 'Owner'; ClientWritable?: null | boolean; Immutable?: boolean; Description?: null | string; AllowedMimeTypes?: null | Array<string>; MaxFileBytes?: null | number; };
|
|
25013
|
+
type DataSortKeyDefinition = { ID: string; Components: Array<{ Field: string; Descending?: boolean; }>; };
|
|
25014
|
+
type DataAccessRule = { Mode: 'Members' | 'Server' | 'Anyone' | 'Role' | 'Owner' | 'Authenticated'; Role?: null | string; MembersField?: null | string; };
|
|
25015
|
+
type DataPublicViewDefinition = { ID: string; SortKey: string; PartitionField?: null | string; PageSize?: number; MaxItems?: number; PublishItems?: boolean; };
|
|
25016
|
+
type DataCollectionDefinition = { Kind: 'Shared' | 'UserOwned' | 'Temporary' | 'Log'; DisplayName?: null | string; Description?: null | string; Namespace?: null | string; Tags?: null | Array<string>; Enabled?: null | boolean; Mode?: 'Strict' | 'Loose'; SchemaVersion?: number; Fields?: null | Record<string, DataFieldDefinition>; SortKeys?: null | Array<DataSortKeyDefinition>; Access?: null | { Read?: null | Array<DataAccessRule>; Create?: null | Array<DataAccessRule>; Update?: null | Array<DataAccessRule>; Delete?: null | Array<DataAccessRule>; }; Limits?: null | { MaxItemBytes?: null | number; MaxItemsPerOwner?: null | number; TtlSeconds?: null | number; }; OnOwnerDeleted?: 'Delete' | 'Anonymize' | 'Keep'; Counters?: null | Array<{ ID: string; Kind: 'Count' | 'Sum'; SumField?: null | string; GroupBy?: null | string; Visibility?: 'Server' | 'Everyone' | 'Owner'; }>; Economy?: null | { OnCreate?: null | { Cost?: null | ResourceBundle; Grant?: null | ResourceBundle; }; OnUpdate?: null | { Cost?: null | ResourceBundle; Grant?: null | ResourceBundle; }; OnDelete?: null | { Cost?: null | ResourceBundle; Grant?: null | ResourceBundle; }; }; WriteGate?: null | SegmentGate; PublicViews?: null | Array<DataPublicViewDefinition>; AnonymousSearch?: null | boolean; Integrations?: null | { QuestMetricOnCreate?: null | string; QuestMetricOnUpdate?: null | string; QuestMetricOnDelete?: null | string; AnalyticsEventOnCreate?: null | string; AnalyticsEventOnUpdate?: null | string; AnalyticsEventOnDelete?: null | string; TriggerOnCreate?: null | string; TriggerOnUpdate?: null | string; TriggerOnDelete?: null | string; }; Moderation?: null | { BlockedTerms?: null | Array<string>; }; };
|
|
25017
|
+
type DataDefinitionsResponse = { Collections: Record<string, DataCollectionDefinition>; Enabled?: boolean; };
|
|
25018
25018
|
/** Record data as the caller sees it (fields hidden from the caller are already removed). */
|
|
25019
25019
|
type DataRecord = Record<string, unknown>;
|
|
25020
|
-
type DataFileView =
|
|
25021
|
-
type DataFileUploadResponse =
|
|
25022
|
-
type DataItemView =
|
|
25023
|
-
type DataGetResponse =
|
|
25024
|
-
type DataGetManyResponse =
|
|
25025
|
-
type DataQueryResponse =
|
|
25026
|
-
type DataCountResponse =
|
|
25027
|
-
type DataWriteResponse =
|
|
25028
|
-
type DataDeleteResponse =
|
|
25029
|
-
type DataCounterResponse =
|
|
25030
|
-
type DataBatchResponse =
|
|
25031
|
-
type DataRolesResponse =
|
|
25032
|
-
type DataPublicViewsResponse =
|
|
25033
|
-
type DataPublicViewPointer =
|
|
25034
|
-
type DataPublicViewPage =
|
|
25020
|
+
type DataFileView = { FileID: string; Url: string; Size: number; ContentType?: null | string; };
|
|
25021
|
+
type DataFileUploadResponse = { FileID: string; UploadUrl: string; ContentType: string; MaxBytes: number; ExpiresAt: string; };
|
|
25022
|
+
type DataItemView = { Collection: string; ItemID: string; Data: Record<string, unknown>; Version: number; CreatedAt: string; UpdatedAt: string; OwnerUserID?: null | string; ExpireAt?: null | string; Expanded?: null | Record<string, unknown>; Files?: null | Record<string, DataFileView>; };
|
|
25023
|
+
type DataGetResponse = { Item: DataItemView; };
|
|
25024
|
+
type DataGetManyResponse = { Items: Array<DataItemView>; Missing: Array<string>; };
|
|
25025
|
+
type DataQueryResponse = { Items: Array<DataItemView>; NextCursor?: null | string; };
|
|
25026
|
+
type DataCountResponse = { Count: number; Capped?: boolean; };
|
|
25027
|
+
type DataWriteResponse = { Item: DataItemView; AlreadyExists?: boolean; Economy?: null | ResourceOperation; };
|
|
25028
|
+
type DataDeleteResponse = { ItemID: string; Deleted: boolean; Economy?: null | ResourceOperation; };
|
|
25029
|
+
type DataCounterResponse = { CounterID: string; Value: number; Group?: unknown; };
|
|
25030
|
+
type DataBatchResponse = { Results: Array<{ Op: string; Collection: string; ItemID: string; Item?: null | DataItemView; Deleted?: boolean; }>; };
|
|
25031
|
+
type DataRolesResponse = { Roles: Array<string>; };
|
|
25032
|
+
type DataPublicViewsResponse = { Views: Record<string, string>; ItemUrlTemplate?: null | string; };
|
|
25033
|
+
type DataPublicViewPointer = { Version: string; Collection: string; View: string; PageSize: number; UpdatedAt: string; BaseUrl: string; Partitions: Record<string, { Segment: string; Pages: number; Total: number; }>; SortKey?: null | string; };
|
|
25034
|
+
type DataPublicViewPage = { Page: number; HasMore: boolean; Items: Array<DataItemView>; };
|
|
25035
25035
|
/** Operators: eq, in, gt, gte, lt, lte, contains (array element), prefix (String). */
|
|
25036
25036
|
type DataFilterOp = "eq" | "in" | "gt" | "gte" | "lt" | "lte" | "contains" | "prefix";
|
|
25037
25037
|
interface DataFilter {
|
|
@@ -26101,8 +26101,8 @@ interface AdvertisingRequest extends BaseRequest {
|
|
|
26101
26101
|
SessionID?: string;
|
|
26102
26102
|
ProviderID?: string;
|
|
26103
26103
|
}
|
|
26104
|
-
type AdPermitResponse =
|
|
26105
|
-
type AdCompleteViewResponse =
|
|
26104
|
+
type AdPermitResponse = { Allowed: boolean; ServerTimeUtc?: null | string; DenyReason?: null | string; Message?: null | string; RetryAfterSeconds?: null | number; RequestID?: null | string; PlacementID?: null | string; ProviderID?: null | string; AdUnitID?: null | string; Type?: null | string; ExpiresAtUtc?: null | string; CreditsToAward?: null | number; RequiresServerSideVerification?: null | boolean; };
|
|
26105
|
+
type AdCompleteViewResponse = { Status: string; ServerTimeUtc?: null | string; RequestID?: null | string; CreditsAwarded?: null | number; RetryAfterSeconds?: null | number; ExpiresAtUtc?: null | string; AlreadyProcessed?: null | boolean; GrantedWithoutSsv?: null | boolean; Resources?: null | ResourceOperation; };
|
|
26106
26106
|
|
|
26107
26107
|
/** Thin transport wrapper for the Advertising module (v2/{titleID}/Client/Advertising/{action}/{userID}). */
|
|
26108
26108
|
declare class AdvertisingApi extends FeatureApi<AdvertisingRequest> {
|
|
@@ -5214,10 +5214,10 @@ interface PushRequest extends BaseRequest {
|
|
|
5214
5214
|
/** `WebPush` (default), `Fcm` or `Apns`. */
|
|
5215
5215
|
PushTransport?: PushTransport;
|
|
5216
5216
|
}
|
|
5217
|
-
type PushConfigResponse =
|
|
5218
|
-
type PushTopicView =
|
|
5219
|
-
type PushSubscriptionView =
|
|
5220
|
-
type PushSubscriptionListResponse =
|
|
5217
|
+
type PushConfigResponse = { Configured?: null | boolean; PublicKey?: null | string; [key: string]: unknown; };
|
|
5218
|
+
type PushTopicView = { TitleID?: null | string; Topic?: null | string; [key: string]: unknown; };
|
|
5219
|
+
type PushSubscriptionView = { EndpointHash?: null | string; Transport?: null | 'WebPush' | 'Fcm' | 'Apns'; Locale?: null | string; Topics?: null | Array<PushTopicView>; [key: string]: unknown; };
|
|
5220
|
+
type PushSubscriptionListResponse = { Configured?: null | boolean; Subscriptions?: null | Array<PushSubscriptionView>; [key: string]: unknown; };
|
|
5221
5221
|
/**
|
|
5222
5222
|
* What the UI needs to decide what to draw. Everything except `subscribed` means "no button", but
|
|
5223
5223
|
* for different reasons — and a couple of them are worth saying out loud to the player.
|
|
@@ -5633,17 +5633,17 @@ interface CommunityMarketingRequest extends BaseRequest {
|
|
|
5633
5633
|
/** Crypto withdrawal only: the wallet the reward is sent to. */
|
|
5634
5634
|
WalletAddress?: string;
|
|
5635
5635
|
}
|
|
5636
|
-
type CommunityCampaignSummary =
|
|
5637
|
-
type CommunityMarketingState =
|
|
5638
|
-
type CommunityAccrualLine =
|
|
5639
|
-
type CommunityEarningsLine =
|
|
5640
|
-
type CommunityPayoutSummary =
|
|
5641
|
-
type CommunityEarningsResponse =
|
|
5642
|
-
type CommunityClaimResponse =
|
|
5643
|
-
type CommunityEligibilityCondition =
|
|
5644
|
-
type CommunityEligibilityResponse =
|
|
5645
|
-
type CommunitySolanaWithdrawalSignature =
|
|
5646
|
-
type CommunityWithdrawalResponse =
|
|
5636
|
+
type CommunityCampaignSummary = { CampaignID?: null | string; DisplayNameKey?: null | string; DescriptionKey?: null | string; IconPath?: null | string; SortOrder?: null | number; IsRunning?: null | boolean; [key: string]: unknown; };
|
|
5637
|
+
type CommunityMarketingState = { IsEnabled?: null | boolean; CreatorPortalUrl?: null | string; ParticipationMode?: null | 'Open' | 'Application'; IsCreator?: null | boolean; CreatorStatus?: null | 'Pending' | 'Rejected' | 'Left' | 'Approved' | 'Suspended'; VerificationCode?: null | string; TeamID?: null | string; Campaigns?: null | Array<CommunityCampaignSummary>; [key: string]: unknown; };
|
|
5638
|
+
type CommunityAccrualLine = { Earned?: null | number; Mature?: null | number; CountedMetrics?: null | Record<string, number>; ReachedMilestones?: null | Array<string>; CappedBySubmissionLimit?: null | boolean; CappedByCreatorLimit?: null | boolean; NotPaidAsCopy?: null | boolean; [key: string]: unknown; };
|
|
5639
|
+
type CommunityEarningsLine = { CampaignID?: null | string; CurrencyKind?: null | 'VirtualCurrency' | 'CryptoCurrency'; CurrencyID?: null | string; NetworkID?: null | string; Earned?: null | number; Mature?: null | number; Granted?: null | number; Paid?: null | number; Overpaid?: null | number; Claimable?: null | number; BySubmission?: null | Record<string, CommunityAccrualLine>; ComputedAt?: null | string; [key: string]: unknown; };
|
|
5640
|
+
type CommunityPayoutSummary = { PayoutID?: null | string; CampaignID?: null | string; Amount?: null | number; CurrencyID?: null | string; CurrencyKind?: null | 'VirtualCurrency' | 'CryptoCurrency'; NetworkID?: null | string; PaidAt?: null | string; [key: string]: unknown; };
|
|
5641
|
+
type CommunityEarningsResponse = { ServerTimeUtc?: null | string; HoldDays?: null | number; Campaigns?: null | Array<CommunityEarningsLine>; Payouts?: null | Array<CommunityPayoutSummary>; [key: string]: unknown; };
|
|
5642
|
+
type CommunityClaimResponse = { CampaignID?: null | string; PayoutID?: null | string; Claimed?: null | number; CurrencyID?: null | string; CurrencyKind?: null | 'VirtualCurrency' | 'CryptoCurrency'; NetworkID?: null | string; RemainingFraction?: null | number; IdempotentReplay?: null | boolean; Message?: null | string; [key: string]: unknown; };
|
|
5643
|
+
type CommunityEligibilityCondition = { Kind?: null | string; Target?: null | string; Required?: null | number; Actual?: null | number; Passed?: null | boolean; [key: string]: unknown; };
|
|
5644
|
+
type CommunityEligibilityResponse = { Passed?: null | boolean; Approved?: null | boolean; Status?: null | 'Pending' | 'Rejected' | 'Left' | 'Approved' | 'Suspended'; WalletMissing?: null | boolean; WalletConnectAllowed?: null | boolean; Conditions?: null | Array<CommunityEligibilityCondition>; [key: string]: unknown; };
|
|
5645
|
+
type CommunitySolanaWithdrawalSignature = { ProgramID?: null | string; Mint?: null | string; WalletAddress?: null | string; Amount?: null | string; BurnAmount?: null | string; Nonce?: null | string; ExpiresAt?: null | string; SignatureEpoch?: null | string; Domain?: null | string; Splits?: null | Array<{ To?: null | string; Amount?: null | string | number; [key: string]: unknown; }>; SignatureHex?: null | string; Ed25519PublicKey?: null | string; Ed25519Message?: null | string; UserID?: null | string; TitleID?: null | string; Category?: null | string; [key: string]: unknown; };
|
|
5646
|
+
type CommunityWithdrawalResponse = { ServerTimeUtc?: null | string; TitleTransactionID?: null | string; NetworkID?: null | string; ChainID?: null | number; CurrencyID?: null | string; AmountNative?: null | number; NetAmountNative?: null | number; BurnAmountNative?: null | number; AmountUsd?: null | number; ExpiresAt?: null | string; EvmSignature?: null | { ContractAddress?: null | string; TokenAddress?: null | string; WalletAddress?: null | string; Amount?: null | string; BurnAmount?: null | string; TokenId?: null | string; Nonce?: null | string; Signature?: null | string; UserID?: null | string; TitleID?: null | string; Category?: null | string; Deadline?: null | string; SignatureEpoch?: null | string; Splits?: null | Array<{ To?: null | string; Amount?: null | string; [key: string]: unknown; }>; [key: string]: unknown; }; SolanaSignature?: null | CommunitySolanaWithdrawalSignature; StateDelta?: null | BlockchainStateDelta; [key: string]: unknown; };
|
|
5647
5647
|
|
|
5648
5648
|
/** Generation modality of a feature. Determines which generate action the feature accepts. */
|
|
5649
5649
|
declare const AIModality: {
|
|
@@ -24055,14 +24055,14 @@ interface PartnersRequest extends BaseRequest {
|
|
|
24055
24055
|
/** `GetStats`: last N days (default 30, at most 366). */
|
|
24056
24056
|
Days?: number;
|
|
24057
24057
|
}
|
|
24058
|
-
type PartnerProgramView =
|
|
24059
|
-
type PartnerApplication =
|
|
24060
|
-
type PartnerTemplateView =
|
|
24061
|
-
type MyPartnershipView =
|
|
24062
|
-
type PartnerStatsView =
|
|
24063
|
-
type PartnerPayoutsView =
|
|
24064
|
-
type PartnerCreatorView =
|
|
24065
|
-
type PartnerCreatorsView =
|
|
24058
|
+
type PartnerProgramView = { Mode: 'Auto' | 'Off' | 'InviteOnly' | 'Moderated'; DefaultSharePercent?: null | number; Terms?: null | Record<string, string>; AskLinks?: null | boolean; AskAbout?: null | boolean; AskFollowers?: null | boolean; CanApply?: null | boolean; [key: string]: unknown; };
|
|
24059
|
+
type PartnerApplication = { PublicName?: null | string; Links?: null | Array<string>; About?: null | string; Followers?: null | number; SubmittedAt?: null | string; [key: string]: unknown; };
|
|
24060
|
+
type PartnerTemplateView = { FeatureKey: string; Name?: null | Record<string, string>; PreviewUrl?: null | string; PreviewType?: null | string; [key: string]: unknown; };
|
|
24061
|
+
type MyPartnershipView = { Program: PartnerProgramView; Status?: null | 'Active' | 'Rejected' | 'Removed' | 'Applied' | 'Invited'; SharePercent?: null | number; Templates?: null | Array<PartnerTemplateView>; DecisionNote?: null | string; Application?: null | PartnerApplication; SignInRequired?: null | boolean; [key: string]: unknown; };
|
|
24062
|
+
type PartnerStatsView = { Days: number; Generations: number; PeriodCredits: number; AccruedCredits: number; PaidOutCredits: number; BalanceCredits: number; ByDay?: null | Array<{ Day: string; Generations: number; Paid: number; PartnerCredits: number; [key: string]: unknown; }>; ByTemplate?: null | Array<{ FeatureKey: string; Generations: number; Paid: number; PartnerCredits: number; Name?: null | Record<string, string>; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
24063
|
+
type PartnerPayoutsView = { Payouts?: null | Array<{ Credits: number; PaidAt: string; Note?: null | string; [key: string]: unknown; }>; [key: string]: unknown; };
|
|
24064
|
+
type PartnerCreatorView = { Id: string; Name: string; Links?: null | Array<string>; FeatureKeys?: null | Array<string>; [key: string]: unknown; };
|
|
24065
|
+
type PartnerCreatorsView = { Creators?: null | Array<PartnerCreatorView>; [key: string]: unknown; };
|
|
24066
24066
|
|
|
24067
24067
|
/**
|
|
24068
24068
|
* Template partners in the app (engine `PartnersV2`, 28.11.2026). A blogger whose viral clip became a template
|
|
@@ -25008,30 +25008,30 @@ declare const DataCollectionSchemaMode: {
|
|
|
25008
25008
|
readonly Loose: "Loose";
|
|
25009
25009
|
};
|
|
25010
25010
|
type DataCollectionSchemaMode = (typeof DataCollectionSchemaMode)[keyof typeof DataCollectionSchemaMode];
|
|
25011
|
-
type DataRefTarget =
|
|
25012
|
-
type DataFieldDefinition =
|
|
25013
|
-
type DataSortKeyDefinition =
|
|
25014
|
-
type DataAccessRule =
|
|
25015
|
-
type DataPublicViewDefinition =
|
|
25016
|
-
type DataCollectionDefinition =
|
|
25017
|
-
type DataDefinitionsResponse =
|
|
25011
|
+
type DataRefTarget = { Kind: 'Item' | 'Quest' | 'Leaderboard' | 'User' | 'DataItem' | 'Currency' | 'ItemInstance' | 'StoreOffer' | 'WorkshopContent'; Collection?: null | string; Validate?: null | boolean; };
|
|
25012
|
+
type DataFieldDefinition = { Type: 'String' | 'Int' | 'Bool' | 'Json' | 'Text' | 'Date' | 'Number' | 'Array' | 'Ref' | 'File'; ItemType?: null | 'String' | 'Int' | 'Bool' | 'Json' | 'Text' | 'Date' | 'Number' | 'Array' | 'Ref' | 'File'; Ref?: null | DataRefTarget; Required?: boolean; Default?: null | string; Min?: null | number; Max?: null | number; MaxLength?: null | number; MaxItems?: null | number; Enum?: null | Array<string>; Unique?: boolean; UniqueIgnoreCase?: boolean; Indexed?: boolean; Visibility?: 'Server' | 'Everyone' | 'Owner'; ClientWritable?: null | boolean; Immutable?: boolean; Description?: null | string; AllowedMimeTypes?: null | Array<string>; MaxFileBytes?: null | number; };
|
|
25013
|
+
type DataSortKeyDefinition = { ID: string; Components: Array<{ Field: string; Descending?: boolean; }>; };
|
|
25014
|
+
type DataAccessRule = { Mode: 'Members' | 'Server' | 'Anyone' | 'Role' | 'Owner' | 'Authenticated'; Role?: null | string; MembersField?: null | string; };
|
|
25015
|
+
type DataPublicViewDefinition = { ID: string; SortKey: string; PartitionField?: null | string; PageSize?: number; MaxItems?: number; PublishItems?: boolean; };
|
|
25016
|
+
type DataCollectionDefinition = { Kind: 'Shared' | 'UserOwned' | 'Temporary' | 'Log'; DisplayName?: null | string; Description?: null | string; Namespace?: null | string; Tags?: null | Array<string>; Enabled?: null | boolean; Mode?: 'Strict' | 'Loose'; SchemaVersion?: number; Fields?: null | Record<string, DataFieldDefinition>; SortKeys?: null | Array<DataSortKeyDefinition>; Access?: null | { Read?: null | Array<DataAccessRule>; Create?: null | Array<DataAccessRule>; Update?: null | Array<DataAccessRule>; Delete?: null | Array<DataAccessRule>; }; Limits?: null | { MaxItemBytes?: null | number; MaxItemsPerOwner?: null | number; TtlSeconds?: null | number; }; OnOwnerDeleted?: 'Delete' | 'Anonymize' | 'Keep'; Counters?: null | Array<{ ID: string; Kind: 'Count' | 'Sum'; SumField?: null | string; GroupBy?: null | string; Visibility?: 'Server' | 'Everyone' | 'Owner'; }>; Economy?: null | { OnCreate?: null | { Cost?: null | ResourceBundle; Grant?: null | ResourceBundle; }; OnUpdate?: null | { Cost?: null | ResourceBundle; Grant?: null | ResourceBundle; }; OnDelete?: null | { Cost?: null | ResourceBundle; Grant?: null | ResourceBundle; }; }; WriteGate?: null | SegmentGate; PublicViews?: null | Array<DataPublicViewDefinition>; AnonymousSearch?: null | boolean; Integrations?: null | { QuestMetricOnCreate?: null | string; QuestMetricOnUpdate?: null | string; QuestMetricOnDelete?: null | string; AnalyticsEventOnCreate?: null | string; AnalyticsEventOnUpdate?: null | string; AnalyticsEventOnDelete?: null | string; TriggerOnCreate?: null | string; TriggerOnUpdate?: null | string; TriggerOnDelete?: null | string; }; Moderation?: null | { BlockedTerms?: null | Array<string>; }; };
|
|
25017
|
+
type DataDefinitionsResponse = { Collections: Record<string, DataCollectionDefinition>; Enabled?: boolean; };
|
|
25018
25018
|
/** Record data as the caller sees it (fields hidden from the caller are already removed). */
|
|
25019
25019
|
type DataRecord = Record<string, unknown>;
|
|
25020
|
-
type DataFileView =
|
|
25021
|
-
type DataFileUploadResponse =
|
|
25022
|
-
type DataItemView =
|
|
25023
|
-
type DataGetResponse =
|
|
25024
|
-
type DataGetManyResponse =
|
|
25025
|
-
type DataQueryResponse =
|
|
25026
|
-
type DataCountResponse =
|
|
25027
|
-
type DataWriteResponse =
|
|
25028
|
-
type DataDeleteResponse =
|
|
25029
|
-
type DataCounterResponse =
|
|
25030
|
-
type DataBatchResponse =
|
|
25031
|
-
type DataRolesResponse =
|
|
25032
|
-
type DataPublicViewsResponse =
|
|
25033
|
-
type DataPublicViewPointer =
|
|
25034
|
-
type DataPublicViewPage =
|
|
25020
|
+
type DataFileView = { FileID: string; Url: string; Size: number; ContentType?: null | string; };
|
|
25021
|
+
type DataFileUploadResponse = { FileID: string; UploadUrl: string; ContentType: string; MaxBytes: number; ExpiresAt: string; };
|
|
25022
|
+
type DataItemView = { Collection: string; ItemID: string; Data: Record<string, unknown>; Version: number; CreatedAt: string; UpdatedAt: string; OwnerUserID?: null | string; ExpireAt?: null | string; Expanded?: null | Record<string, unknown>; Files?: null | Record<string, DataFileView>; };
|
|
25023
|
+
type DataGetResponse = { Item: DataItemView; };
|
|
25024
|
+
type DataGetManyResponse = { Items: Array<DataItemView>; Missing: Array<string>; };
|
|
25025
|
+
type DataQueryResponse = { Items: Array<DataItemView>; NextCursor?: null | string; };
|
|
25026
|
+
type DataCountResponse = { Count: number; Capped?: boolean; };
|
|
25027
|
+
type DataWriteResponse = { Item: DataItemView; AlreadyExists?: boolean; Economy?: null | ResourceOperation; };
|
|
25028
|
+
type DataDeleteResponse = { ItemID: string; Deleted: boolean; Economy?: null | ResourceOperation; };
|
|
25029
|
+
type DataCounterResponse = { CounterID: string; Value: number; Group?: unknown; };
|
|
25030
|
+
type DataBatchResponse = { Results: Array<{ Op: string; Collection: string; ItemID: string; Item?: null | DataItemView; Deleted?: boolean; }>; };
|
|
25031
|
+
type DataRolesResponse = { Roles: Array<string>; };
|
|
25032
|
+
type DataPublicViewsResponse = { Views: Record<string, string>; ItemUrlTemplate?: null | string; };
|
|
25033
|
+
type DataPublicViewPointer = { Version: string; Collection: string; View: string; PageSize: number; UpdatedAt: string; BaseUrl: string; Partitions: Record<string, { Segment: string; Pages: number; Total: number; }>; SortKey?: null | string; };
|
|
25034
|
+
type DataPublicViewPage = { Page: number; HasMore: boolean; Items: Array<DataItemView>; };
|
|
25035
25035
|
/** Operators: eq, in, gt, gte, lt, lte, contains (array element), prefix (String). */
|
|
25036
25036
|
type DataFilterOp = "eq" | "in" | "gt" | "gte" | "lt" | "lte" | "contains" | "prefix";
|
|
25037
25037
|
interface DataFilter {
|
|
@@ -26101,8 +26101,8 @@ interface AdvertisingRequest extends BaseRequest {
|
|
|
26101
26101
|
SessionID?: string;
|
|
26102
26102
|
ProviderID?: string;
|
|
26103
26103
|
}
|
|
26104
|
-
type AdPermitResponse =
|
|
26105
|
-
type AdCompleteViewResponse =
|
|
26104
|
+
type AdPermitResponse = { Allowed: boolean; ServerTimeUtc?: null | string; DenyReason?: null | string; Message?: null | string; RetryAfterSeconds?: null | number; RequestID?: null | string; PlacementID?: null | string; ProviderID?: null | string; AdUnitID?: null | string; Type?: null | string; ExpiresAtUtc?: null | string; CreditsToAward?: null | number; RequiresServerSideVerification?: null | boolean; };
|
|
26105
|
+
type AdCompleteViewResponse = { Status: string; ServerTimeUtc?: null | string; RequestID?: null | string; CreditsAwarded?: null | number; RetryAfterSeconds?: null | number; ExpiresAtUtc?: null | string; AlreadyProcessed?: null | boolean; GrantedWithoutSsv?: null | boolean; Resources?: null | ResourceOperation; };
|
|
26106
26106
|
|
|
26107
26107
|
/** Thin transport wrapper for the Advertising module (v2/{titleID}/Client/Advertising/{action}/{userID}). */
|
|
26108
26108
|
declare class AdvertisingApi extends FeatureApi<AdvertisingRequest> {
|