File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
packages/audience/sdk/src Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -15,107 +15,73 @@ export const AudienceEvents = {
1515} as const ;
1616
1717export interface SignUpProperties {
18- /** Optional. */
1918 method ?: string ;
2019}
2120
2221export interface SignInProperties {
23- /** Optional. */
2422 method ?: string ;
2523}
2624
2725export interface WishlistAddProperties {
28- /** Required. */
2926 gameId : string ;
30- /** Optional. */
3127 source ?: string ;
32- /** Optional. */
3328 platform ?: string ;
3429}
3530
3631export interface WishlistRemoveProperties {
37- /** Required. */
3832 gameId : string ;
3933}
4034
4135export interface PurchaseProperties {
42- /** Required. */
4336 currency : string ;
44- /** Required. */
4537 value : number ;
46- /** Optional. */
4738 itemId ?: string ;
48- /** Optional. */
4939 itemName ?: string ;
50- /** Optional. */
5140 quantity ?: number ;
52- /** Optional. */
5341 transactionId ?: string ;
5442}
5543
5644export interface GameLaunchProperties {
57- /** Optional. */
5845 platform ?: string ;
59- /** Optional. */
6046 version ?: string ;
61- /** Optional. */
6247 buildId ?: string ;
6348}
6449
6550export type ProgressionStatus = 'start' | 'complete' | 'fail' ;
6651
6752export interface ProgressionProperties {
68- /** Required. */
6953 status : ProgressionStatus ;
70- /** Optional. */
7154 world ?: string ;
72- /** Optional. */
7355 level ?: string ;
74- /** Optional. */
7556 stage ?: string ;
76- /** Optional. */
7757 score ?: number ;
78- /** Optional. */
7958 durationSec ?: number ;
8059}
8160
8261export type ResourceFlow = 'sink' | 'source' ;
8362
8463export interface ResourceProperties {
85- /** Required. */
8664 flow : ResourceFlow ;
87- /** Required. */
8865 currency : string ;
89- /** Required. */
9066 amount : number ;
91- /** Optional. */
9267 itemType ?: string ;
93- /** Optional. */
9468 itemId ?: string ;
9569}
9670
9771export interface EmailAcquiredProperties {
98- /** Optional. */
9972 source ?: string ;
10073}
10174
10275export interface GamePageViewedProperties {
103- /** Required. */
10476 gameId : string ;
105- /** Optional. */
10677 gameName ?: string ;
107- /** Optional. */
10878 slug ?: string ;
10979}
11080
11181export interface LinkClickedProperties {
112- /** Required. */
11382 url : string ;
114- /** Optional. */
11583 label ?: string ;
116- /** Optional. */
11784 source ?: string ;
118- /** Optional. */
11985 gameId ?: string ;
12086}
12187
You can’t perform that action at this time.
0 commit comments