game_client_logic_deb 1.8.76 → 1.8.104

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.
Files changed (34) hide show
  1. package/Kosi-Kaverit-kaverit.js +98 -99
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +803 -804
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +171 -202
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-core.js +2001 -2391
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +17860 -20682
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_client.d.ts +181 -141
  12. package/Logic_Debertz-game_client.js +5318 -5798
  13. package/Logic_Debertz-game_client.js.map +1 -1
  14. package/kotlin-kotlin-stdlib.js +8588 -7787
  15. package/kotlin-kotlin-stdlib.js.map +1 -1
  16. package/kotlin-kotlinx-atomicfu-runtime.js +1 -1
  17. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
  18. package/kotlinx-atomicfu.js +54 -39
  19. package/kotlinx-atomicfu.js.map +1 -1
  20. package/kotlinx-coroutines-core.js +2899 -2964
  21. package/kotlinx-coroutines-core.js.map +1 -1
  22. package/kotlinx-io-kotlinx-io-bytestring.js +1 -1
  23. package/kotlinx-io-kotlinx-io-core.js +326 -358
  24. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  25. package/kotlinx-serialization-kotlinx-serialization-core.js +2416 -2452
  26. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  27. package/kotlinx-serialization-kotlinx-serialization-json.js +1699 -1842
  28. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  29. package/package.json +1 -1
  30. package/raspberry-cardgame-lib-core.js +300 -297
  31. package/raspberry-cardgame-lib-core.js.map +1 -1
  32. package/secure-random-secure-random.js +1 -1
  33. package/uuid.js +44 -59
  34. package/uuid.js.map +1 -1
@@ -1,4 +1,24 @@
1
1
  type Nullable<T> = T | null | undefined
2
+ export declare namespace kotlin.collections {
3
+ interface KtList<E> /* extends kotlin.collections.Collection<E> */ {
4
+ asJsReadonlyArrayView(): ReadonlyArray<E>;
5
+ readonly __doNotUseOrImplementIt: {
6
+ readonly "kotlin.collections.KtList": unique symbol;
7
+ };
8
+ }
9
+ interface KtSet<E> /* extends kotlin.collections.Collection<E> */ {
10
+ asJsReadonlySetView(): ReadonlySet<E>;
11
+ readonly __doNotUseOrImplementIt: {
12
+ readonly "kotlin.collections.KtSet": unique symbol;
13
+ };
14
+ }
15
+ interface KtMap<K, V> {
16
+ asJsReadonlyMapView(): ReadonlyMap<K, V>;
17
+ readonly __doNotUseOrImplementIt: {
18
+ readonly "kotlin.collections.KtMap": unique symbol;
19
+ };
20
+ }
21
+ }
2
22
  export declare namespace io.raspberryapps.cardgame.core {
3
23
  const CoreConfig: {
4
24
  get version(): string;
@@ -7,9 +27,6 @@ export declare namespace io.raspberryapps.cardgame.core {
7
27
  export declare namespace io.raspberryapps.card_game.core.utils.logger {
8
28
  interface LoggerEnabledTrigger extends io.raspberryapps.card_game.core.utils.logger.RaspberryLogger {
9
29
  enabled: boolean;
10
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
11
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
12
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
13
30
  readonly __doNotUseOrImplementIt: {
14
31
  readonly "io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger": unique symbol;
15
32
  } & io.raspberryapps.card_game.core.utils.logger.RaspberryLogger["__doNotUseOrImplementIt"];
@@ -24,9 +41,6 @@ export declare namespace io.raspberryapps.card_game.core.utils.logger {
24
41
  }
25
42
  export declare namespace io.raspberryapps.card_game.core.utils.logger {
26
43
  interface RaspberryLogger extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput {
27
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
28
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
29
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
30
44
  readonly __doNotUseOrImplementIt: {
31
45
  readonly "io.raspberryapps.card_game.core.utils.logger.RaspberryLogger": unique symbol;
32
46
  } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"];
@@ -36,7 +50,7 @@ export declare namespace io.raspberryapps.card_game.core.utils.logger.output {
36
50
  interface LoggerOutput {
37
51
  d(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
38
52
  e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
39
- w(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
53
+ w(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
40
54
  readonly __doNotUseOrImplementIt: {
41
55
  readonly "io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput": unique symbol;
42
56
  };
@@ -71,6 +85,7 @@ export declare namespace com.logic.data.models {
71
85
  static get Companion(): {
72
86
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
73
87
  }
88
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
74
89
  class PlayerLostConnectionReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
75
90
  constructor(playerId: string, tag: Nullable<string>);
76
91
  get tag(): Nullable<string>;
@@ -81,6 +96,7 @@ export declare namespace com.logic.data.models {
81
96
  static get Companion(): {
82
97
  };
83
98
  }
99
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
84
100
  class PlayerTimeoutReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
85
101
  constructor(playerId: string, tag: Nullable<string>);
86
102
  get tag(): Nullable<string>;
@@ -91,6 +107,7 @@ export declare namespace com.logic.data.models {
91
107
  static get Companion(): {
92
108
  };
93
109
  }
110
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
94
111
  class PlayerExitReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
95
112
  constructor(playerId: string);
96
113
  copy(playerId?: string): com.logic.data.models.PlayerExitReason;
@@ -100,6 +117,7 @@ export declare namespace com.logic.data.models {
100
117
  static get Companion(): {
101
118
  };
102
119
  }
120
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
103
121
  class GameFinishedReason extends com.logic.data.models.TerminationGameReason {
104
122
  constructor(reason: com.logic.data.models.GameFinishedReason.Reason);
105
123
  get reason(): com.logic.data.models.GameFinishedReason.Reason;
@@ -129,14 +147,15 @@ export declare namespace com.logic.data.models {
129
147
  get name(): "GAME_NOT_EXISTS";
130
148
  get ordinal(): 3;
131
149
  };
132
- static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
133
- static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
134
150
  get name(): "DEPLOY" | "PLAYER_DELETED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
135
151
  get ordinal(): 0 | 1 | 2 | 3;
152
+ static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
153
+ static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
136
154
  static get Companion(): {
137
155
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
138
156
  }
139
157
  }
158
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
140
159
  class GameErrorReason extends com.logic.data.models.TerminationGameReason {
141
160
  constructor(reason: string);
142
161
  get reason(): string;
@@ -149,9 +168,13 @@ export declare namespace com.logic.data.models {
149
168
  }
150
169
  const WaitingForConnectionReason: {
151
170
  toString(): string;
171
+ hashCode(): number;
172
+ equals(other: Nullable<any>): boolean;
152
173
  } & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
153
174
  const ProcessingReason: {
154
175
  toString(): string;
176
+ hashCode(): number;
177
+ equals(other: Nullable<any>): boolean;
155
178
  } & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
156
179
  }
157
180
  export declare namespace com.logic.data.models.player {
@@ -177,8 +200,8 @@ export declare namespace com.logic.data.models.player {
177
200
  readonly "com.logic.data.models.player.PlayerIdContract": unique symbol;
178
201
  };
179
202
  }
180
- function getPlayer<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, id: string): T;
181
- function getPlayerIndex<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, playerId: string): number;
203
+ function getPlayer<T extends com.logic.data.models.player.PlayerIdContract>(_this_: kotlin.collections.KtList<T>, id: string): T;
204
+ function getPlayerIndex<T extends com.logic.data.models.player.PlayerIdContract>(_this_: kotlin.collections.KtList<T>, playerId: string): number;
182
205
  }
183
206
  export declare namespace com.logic.data.models.player {
184
207
  abstract class PlayerConnectionState {
@@ -207,6 +230,8 @@ export declare namespace com.logic.data.models.player {
207
230
  get name(): "DELETED";
208
231
  get ordinal(): 5;
209
232
  };
233
+ get name(): "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "DISCONNECTING" | "DELETED";
234
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
210
235
  get isLive(): boolean;
211
236
  get isTimeOut(): boolean;
212
237
  get isLostConnection(): boolean;
@@ -219,26 +244,10 @@ export declare namespace com.logic.data.models.player {
219
244
  get isServerDisconnectReason(): boolean;
220
245
  static values(): Array<com.logic.data.models.player.PlayerConnectionState>;
221
246
  static valueOf(value: string): com.logic.data.models.player.PlayerConnectionState;
222
- get name(): "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "DISCONNECTING" | "DELETED";
223
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
224
247
  static get Companion(): {
225
248
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
226
249
  }
227
250
  }
228
- export declare namespace com.logic.data.models.player {
229
- class PlayerLuckyFactor implements com.logic.data.models.player.PlayerIdContract {
230
- constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>);
231
- get playerId(): string;
232
- get factor(): number;
233
- get wasLiveDuringGame(): boolean;
234
- get liveDurationPercentage(): Nullable<number>;
235
- copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>): com.logic.data.models.player.PlayerLuckyFactor;
236
- toString(): string;
237
- hashCode(): number;
238
- equals(other: Nullable<any>): boolean;
239
- readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
240
- }
241
- }
242
251
  export declare namespace com.logic.data.models.rules {
243
252
  class Rules {
244
253
  constructor(needToPutHigherTrump: boolean, distributePoints: boolean, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, enableFineIfNoBribes: boolean, fineIfNoBribes: number, enableFineAfterThirdByte: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, tenCardsInHand: boolean);
@@ -276,7 +285,6 @@ export declare namespace com.logic.data.models.rules {
276
285
  export declare namespace com.logic.data.models.rules {
277
286
  abstract class RulesSetType {
278
287
  private constructor();
279
- get value(): string;
280
288
  static get belot(): com.logic.data.models.rules.RulesSetType & {
281
289
  get name(): "belot";
282
290
  get ordinal(): 0;
@@ -301,12 +309,13 @@ export declare namespace com.logic.data.models.rules {
301
309
  get name(): "custom";
302
310
  get ordinal(): 5;
303
311
  };
312
+ get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
313
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
314
+ get value(): string;
304
315
  getRules(): com.logic.data.models.rules.Rules;
305
316
  get isCustom(): boolean;
306
317
  static values(): Array<com.logic.data.models.rules.RulesSetType>;
307
318
  static valueOf(value: string): com.logic.data.models.rules.RulesSetType;
308
- get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
309
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
310
319
  }
311
320
  }
312
321
  export declare namespace com.logic.data.models.serializable.rules {
@@ -339,19 +348,16 @@ export declare namespace com.logic.data.models.serializable.rules {
339
348
  }
340
349
  export declare namespace com.logic.redux.actions {
341
350
  interface BufferedAction extends com.logic.redux.store.definitions.Action {
342
- readonly actionTag: string;
343
351
  readonly __doNotUseOrImplementIt: {
344
352
  readonly "com.logic.redux.actions.BufferedAction": unique symbol;
345
353
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
346
354
  }
347
355
  interface IgnoreBufferForAction extends com.logic.redux.store.definitions.Action {
348
- readonly actionTag: string;
349
356
  readonly __doNotUseOrImplementIt: {
350
357
  readonly "com.logic.redux.actions.IgnoreBufferForAction": unique symbol;
351
358
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
352
359
  }
353
360
  interface ReleaseBufferTriggerAction extends com.logic.redux.store.definitions.Action {
354
- readonly actionTag: string;
355
361
  readonly __doNotUseOrImplementIt: {
356
362
  readonly "com.logic.redux.actions.ReleaseBufferTriggerAction": unique symbol;
357
363
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
@@ -408,10 +414,10 @@ export declare namespace com.logic.utils.logger.outputs {
408
414
  get name(): "WARN";
409
415
  get ordinal(): 2;
410
416
  };
411
- static values(): Array<com.logic.utils.logger.outputs.LogType>;
412
- static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
413
417
  get name(): "DEBUG" | "ERROR" | "WARN";
414
418
  get ordinal(): 0 | 1 | 2;
419
+ static values(): Array<com.logic.utils.logger.outputs.LogType>;
420
+ static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
415
421
  static get Companion(): {
416
422
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
417
423
  }
@@ -419,10 +425,6 @@ export declare namespace com.logic.utils.logger.outputs {
419
425
  export declare namespace com.logic.utils.logger.outputs {
420
426
  interface ObservableLoggerOutput extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput, io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger {
421
427
  observe(types?: Array<com.logic.utils.logger.outputs.LogType>): any/* kotlinx.coroutines.flow.Flow<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
422
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
423
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
424
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
425
- enabled: boolean;
426
428
  readonly __doNotUseOrImplementIt: {
427
429
  readonly "com.logic.utils.logger.outputs.ObservableLoggerOutput": unique symbol;
428
430
  } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"] & io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
@@ -463,6 +465,10 @@ export declare namespace com.debertz.logic.data.models {
463
465
  hashCode(): number;
464
466
  copy(dealerStrategy?: com.debertz.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean, cards?: Nullable<Array<number>>): com.debertz.logic.data.models.DealerConfig;
465
467
  toString(): string;
468
+ static get Companion(): {
469
+ getFromServerConfig(dealerStrategy?: string, cards?: Nullable<Array<number>>): com.debertz.logic.data.models.DealerConfig;
470
+ fake(cards?: Array<number>): com.debertz.logic.data.models.DealerConfig;
471
+ };
466
472
  }
467
473
  }
468
474
  export declare namespace com.debertz.logic.data.models {
@@ -512,14 +518,57 @@ export declare namespace com.debertz.logic.data.models {
512
518
  get name(): "FINISHED";
513
519
  get ordinal(): 3;
514
520
  };
515
- static values(): Array<com.debertz.logic.data.models.GameLifecycleState>;
516
- static valueOf(value: string): com.debertz.logic.data.models.GameLifecycleState;
517
521
  get name(): "CREATED" | "CREATING" | "FINISHING" | "FINISHED";
518
522
  get ordinal(): 0 | 1 | 2 | 3;
523
+ static values(): Array<com.debertz.logic.data.models.GameLifecycleState>;
524
+ static valueOf(value: string): com.debertz.logic.data.models.GameLifecycleState;
519
525
  static get Companion(): {
520
526
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
521
527
  }
522
528
  }
529
+ export declare namespace com.debertz.logic.data.models {
530
+ class GameSessionAnalytics {
531
+ constructor(duration: any/* kotlin.time.Duration */, gamesCount: number, roundsCountTotal: number, playerAnalytics: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>);
532
+ get duration(): any/* kotlin.time.Duration */;
533
+ get gamesCount(): number;
534
+ get roundsCountTotal(): number;
535
+ get playerAnalytics(): kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>;
536
+ get allCombinationCounts(): kotlin.collections.KtMap<com.debertz.logic.data.models.table.combinations.CombinationType, number>;
537
+ copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, playerAnalytics?: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>): com.debertz.logic.data.models.GameSessionAnalytics;
538
+ toString(): string;
539
+ hashCode(): number;
540
+ equals(other: Nullable<any>): boolean;
541
+ }
542
+ }
543
+ export declare namespace com.debertz.logic.data.models.player.hand {
544
+ class CombinationRecord {
545
+ constructor(id: string, type: com.debertz.logic.data.models.table.combinations.CombinationType, state: com.debertz.logic.data.models.table.combinations.CombinationState, value: number);
546
+ get id(): string;
547
+ get type(): com.debertz.logic.data.models.table.combinations.CombinationType;
548
+ get state(): com.debertz.logic.data.models.table.combinations.CombinationState;
549
+ get value(): number;
550
+ copy(id?: string, type?: com.debertz.logic.data.models.table.combinations.CombinationType, state?: com.debertz.logic.data.models.table.combinations.CombinationState, value?: number): com.debertz.logic.data.models.player.hand.CombinationRecord;
551
+ toString(): string;
552
+ hashCode(): number;
553
+ equals(other: Nullable<any>): boolean;
554
+ }
555
+ }
556
+ export declare namespace com.debertz.logic.data.models.player.hand {
557
+ class PlayerAnalytics implements com.logic.data.models.player.PlayerIdContract {
558
+ constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.CombinationRecord>);
559
+ get playerId(): string;
560
+ get factor(): number;
561
+ get wasLiveDuringGame(): boolean;
562
+ get liveDurationPercentage(): Nullable<number>;
563
+ get combinationRecords(): kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.CombinationRecord>;
564
+ get combinationCounts(): kotlin.collections.KtMap<com.debertz.logic.data.models.table.combinations.CombinationType, number>;
565
+ copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>, combinationRecords?: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.CombinationRecord>): com.debertz.logic.data.models.player.hand.PlayerAnalytics;
566
+ toString(): string;
567
+ hashCode(): number;
568
+ equals(other: Nullable<any>): boolean;
569
+ readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
570
+ }
571
+ }
523
572
  export declare namespace com.debertz.logic.data.models.player.state {
524
573
  abstract class RoundContractState {
525
574
  private constructor();
@@ -535,13 +584,13 @@ export declare namespace com.debertz.logic.data.models.player.state {
535
584
  get name(): "CONTROVERSIAL";
536
585
  get ordinal(): 2;
537
586
  };
587
+ get name(): "FAILED" | "FULFILLED" | "CONTROVERSIAL";
588
+ get ordinal(): 0 | 1 | 2;
538
589
  get isFailed(): boolean;
539
590
  get isFulfilled(): boolean;
540
591
  get isControversial(): boolean;
541
592
  static values(): Array<com.debertz.logic.data.models.player.state.RoundContractState>;
542
593
  static valueOf(value: string): com.debertz.logic.data.models.player.state.RoundContractState;
543
- get name(): "FAILED" | "FULFILLED" | "CONTROVERSIAL";
544
- get ordinal(): 0 | 1 | 2;
545
594
  static get Companion(): {
546
595
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
547
596
  }
@@ -564,33 +613,33 @@ export declare namespace com.debertz.logic.data.models.scenes {
564
613
  }
565
614
  export declare namespace com.debertz.logic.data.models.table {
566
615
  class DebertzTable {
567
- constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: com.debertz.logic.data.models.table.config.Config, players: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */, sceneInfo: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable: any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */, bribes: any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */, cardDeck: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
616
+ constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: com.debertz.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>, sceneInfo: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* com.debertz.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
568
617
  get id(): string;
569
618
  get version(): string;
570
619
  get createdAt(): any/* kotlinx.datetime.Instant */;
571
620
  get config(): com.debertz.logic.data.models.table.config.Config;
572
- get players(): any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */;
621
+ get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>;
573
622
  get sceneInfo(): any/* com.debertz.logic.data.models.table.scene.SceneInfo */;
574
- get cardsOnTable(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */;
575
- get bribes(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */;
623
+ get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.table.bribes.CardOnTable */>;
624
+ get bribes(): kotlin.collections.KtList<any/* com.debertz.logic.data.models.table.cards.Bribe */>;
576
625
  get cardDeck(): Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */;
577
626
  get gameInfo(): any/* com.debertz.logic.data.models.table.GameInfo */;
578
627
  get gameHistory(): com.debertz.logic.data.models.table.history.GameHistory;
579
628
  get gameId(): string;
580
629
  get gameDuration(): any/* kotlin.time.Duration */;
581
630
  get gameCreatedAt(): any/* kotlinx.datetime.Instant */;
582
- get playersConnections(): any/* kotlin.collections.List<kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState>> */;
631
+ get playersConnections(): kotlin.collections.KtList<any/* kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState> */>;
583
632
  get users(): Array<com.logic.data.models.player.GameUserInfo>;
584
633
  get isCardDeckExist(): boolean;
585
634
  get requireCardDeck(): any/* com.debertz.logic.data.models.table.cards.CardDeck */;
586
635
  get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
587
636
  get isGameFinished(): boolean;
588
637
  toString(): string;
589
- copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: com.debertz.logic.data.models.table.config.Config, players?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */, sceneInfo?: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */, bribes?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */, cardDeck?: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.data.models.table.DebertzTable;
638
+ copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: com.debertz.logic.data.models.table.config.Config, players?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>, sceneInfo?: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* com.debertz.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.data.models.table.DebertzTable;
590
639
  hashCode(): number;
591
640
  equals(other: Nullable<any>): boolean;
592
641
  static get Companion(): {
593
- initial(tableId: string, gameId: string, version: string, config: com.debertz.logic.data.models.table.config.Config, players: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */): com.debertz.logic.data.models.table.DebertzTable;
642
+ initial(tableId: string, gameId: string, version: string, config: com.debertz.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>): com.debertz.logic.data.models.table.DebertzTable;
594
643
  };
595
644
  }
596
645
  }
@@ -619,13 +668,48 @@ export declare namespace com.debertz.logic.data.models.table {
619
668
  }
620
669
  export declare namespace com.debertz.logic.data.models.table.combinations {
621
670
  class Combination /* implements com.debertz.logic.data.models.table.combinations.CombinationContract */ {
622
- constructor(id: string, type: com.debertz.logic.data.models.table.combinations.CombinationType, cards: Nullable<any>/* Nullable<kotlin.collections.List<io.raspberryapps.card_game.core.data.models.cards.GameCard>> */);
623
- copy(id?: string, type?: com.debertz.logic.data.models.table.combinations.CombinationType, cards?: Nullable<any>/* Nullable<kotlin.collections.List<io.raspberryapps.card_game.core.data.models.cards.GameCard>> */): com.debertz.logic.data.models.table.combinations.Combination;
671
+ constructor(id: string, type: com.debertz.logic.data.models.table.combinations.CombinationType, cards: Nullable<kotlin.collections.KtList<any/* io.raspberryapps.card_game.core.data.models.cards.GameCard */>>);
672
+ copy(id?: string, type?: com.debertz.logic.data.models.table.combinations.CombinationType, cards?: Nullable<kotlin.collections.KtList<any/* io.raspberryapps.card_game.core.data.models.cards.GameCard */>>): com.debertz.logic.data.models.table.combinations.Combination;
624
673
  toString(): string;
625
674
  hashCode(): number;
626
675
  equals(other: Nullable<any>): boolean;
627
676
  }
628
677
  }
678
+ export declare namespace com.debertz.logic.data.models.table.combinations {
679
+ abstract class CombinationState {
680
+ private constructor();
681
+ static get NOT_VERIFIED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
682
+ get name(): "NOT_VERIFIED";
683
+ get ordinal(): 0;
684
+ };
685
+ static get VERIFYING(): com.debertz.logic.data.models.table.combinations.CombinationState & {
686
+ get name(): "VERIFYING";
687
+ get ordinal(): 1;
688
+ };
689
+ static get ACCEPTED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
690
+ get name(): "ACCEPTED";
691
+ get ordinal(): 2;
692
+ };
693
+ static get NOT_ACCEPTED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
694
+ get name(): "NOT_ACCEPTED";
695
+ get ordinal(): 3;
696
+ };
697
+ static get REJECTED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
698
+ get name(): "REJECTED";
699
+ get ordinal(): 4;
700
+ };
701
+ static get CANCELED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
702
+ get name(): "CANCELED";
703
+ get ordinal(): 5;
704
+ };
705
+ get name(): "NOT_VERIFIED" | "VERIFYING" | "ACCEPTED" | "NOT_ACCEPTED" | "REJECTED" | "CANCELED";
706
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
707
+ static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationState>;
708
+ static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationState;
709
+ static get Companion(): {
710
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
711
+ }
712
+ }
629
713
  export declare namespace com.debertz.logic.data.models.table.combinations {
630
714
  abstract class CombinationType {
631
715
  private constructor();
@@ -673,12 +757,12 @@ export declare namespace com.debertz.logic.data.models.table.combinations {
673
757
  get name(): "BONUS_CONTROVERSIAL_CONTRACT";
674
758
  get ordinal(): 10;
675
759
  };
676
- static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationType>;
677
- static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationType;
678
760
  get name(): "BELA" | "THREE_IN_ROW" | "FOUR_IN_ROW" | "SEVEN_IN_ROW" | "SEVEN_TRUMP" | "FOUR_SEVENS" | "FINE_NO_BRIBES" | "FINE_THIRD_FAILED_CONTRACT" | "BONUS_LAST_BRIBE" | "BONUS_FAILED_CONTRACT" | "BONUS_CONTROVERSIAL_CONTRACT";
679
761
  get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
762
+ static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationType>;
763
+ static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationType;
680
764
  static get Companion(): {
681
- getSupportedInRowCardsCombinations(): any/* kotlin.collections.Set<number> */;
765
+ getSupportedInRowCardsCombinations(): kotlin.collections.KtSet<number>;
682
766
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
683
767
  }
684
768
  }
@@ -717,10 +801,10 @@ export declare namespace com.debertz.logic.data.models.table.config {
717
801
  get name(): "SUPER_EASY";
718
802
  get ordinal(): 4;
719
803
  };
720
- static values(): Array<com.debertz.logic.data.models.table.config.BotIntelligenceLevel>;
721
- static valueOf(value: string): com.debertz.logic.data.models.table.config.BotIntelligenceLevel;
722
804
  get name(): "SUPER_HARD" | "HARD" | "MEDIUM" | "EASY" | "SUPER_EASY";
723
805
  get ordinal(): 0 | 1 | 2 | 3 | 4;
806
+ static values(): Array<com.debertz.logic.data.models.table.config.BotIntelligenceLevel>;
807
+ static valueOf(value: string): com.debertz.logic.data.models.table.config.BotIntelligenceLevel;
724
808
  static get Companion(): {
725
809
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
726
810
  }
@@ -736,6 +820,7 @@ export declare namespace com.debertz.logic.data.models.table.config {
736
820
  get pointsMode(): com.debertz.logic.data.models.table.config.PointsMode;
737
821
  get timeoutTimeMillis(): number;
738
822
  get isPrivate(): boolean;
823
+ get playerHandCardsSize(): number;
739
824
  copy(rules?: com.logic.data.models.rules.Rules, rulesSetType?: com.logic.data.models.rules.RulesSetType, options?: com.debertz.logic.data.models.table.config.Options, playersMode?: com.debertz.logic.data.models.table.config.PlayersMode, pointsMode?: com.debertz.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean): com.debertz.logic.data.models.table.config.Config;
740
825
  toString(): string;
741
826
  hashCode(): number;
@@ -775,7 +860,6 @@ export declare namespace com.debertz.logic.data.models.table.config {
775
860
  export declare namespace com.debertz.logic.data.models.table.config {
776
861
  abstract class PlayersMode {
777
862
  private constructor();
778
- get value(): number;
779
863
  static get TWO_PLAYERS(): com.debertz.logic.data.models.table.config.PlayersMode & {
780
864
  get name(): "TWO_PLAYERS";
781
865
  get ordinal(): 0;
@@ -792,12 +876,13 @@ export declare namespace com.debertz.logic.data.models.table.config {
792
876
  get name(): "FOUR_PLAYERS_BY_TEAM";
793
877
  get ordinal(): 3;
794
878
  };
879
+ get name(): "TWO_PLAYERS" | "THREE_PLAYERS" | "FOUR_PLAYERS" | "FOUR_PLAYERS_BY_TEAM";
880
+ get ordinal(): 0 | 1 | 2 | 3;
881
+ get value(): number;
795
882
  get isTeamGame(): boolean;
796
883
  get count(): number;
797
884
  static values(): Array<com.debertz.logic.data.models.table.config.PlayersMode>;
798
885
  static valueOf(value: string): com.debertz.logic.data.models.table.config.PlayersMode;
799
- get name(): "TWO_PLAYERS" | "THREE_PLAYERS" | "FOUR_PLAYERS" | "FOUR_PLAYERS_BY_TEAM";
800
- get ordinal(): 0 | 1 | 2 | 3;
801
886
  static get Companion(): {
802
887
  create(points: number): com.debertz.logic.data.models.table.config.PlayersMode;
803
888
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
@@ -806,7 +891,6 @@ export declare namespace com.debertz.logic.data.models.table.config {
806
891
  export declare namespace com.debertz.logic.data.models.table.config {
807
892
  abstract class PointsMode {
808
893
  private constructor();
809
- get value(): number;
810
894
  static get SMALL(): com.debertz.logic.data.models.table.config.PointsMode & {
811
895
  get name(): "SMALL";
812
896
  get ordinal(): 0;
@@ -823,10 +907,11 @@ export declare namespace com.debertz.logic.data.models.table.config {
823
907
  get name(): "TEST";
824
908
  get ordinal(): 3;
825
909
  };
826
- static values(): Array<com.debertz.logic.data.models.table.config.PointsMode>;
827
- static valueOf(value: string): com.debertz.logic.data.models.table.config.PointsMode;
828
910
  get name(): "SMALL" | "MEDIUM" | "BIG" | "TEST";
829
911
  get ordinal(): 0 | 1 | 2 | 3;
912
+ get value(): number;
913
+ static values(): Array<com.debertz.logic.data.models.table.config.PointsMode>;
914
+ static valueOf(value: string): com.debertz.logic.data.models.table.config.PointsMode;
830
915
  static get Companion(): {
831
916
  create(points: number): com.debertz.logic.data.models.table.config.PointsMode;
832
917
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
@@ -841,6 +926,7 @@ export declare namespace com.debertz.logic.data.models.table.history {
841
926
  get date(): string;
842
927
  get lastRoundHistory(): com.debertz.logic.data.models.table.history.RoundHistory;
843
928
  get isFirstRound(): boolean;
929
+ get roundsCount(): number;
844
930
  equals(other: Nullable<any>): boolean;
845
931
  hashCode(): number;
846
932
  toString(): string;
@@ -895,16 +981,18 @@ export declare namespace com.debertz.logic.domain.interactors.dealer {
895
981
  get name(): "RANDOM";
896
982
  get ordinal(): 4;
897
983
  };
984
+ get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
985
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
898
986
  shouldEqualiseHand(): boolean;
899
987
  static values(): Array<com.debertz.logic.domain.interactors.dealer.DealerStrategy>;
900
988
  static valueOf(value: string): com.debertz.logic.domain.interactors.dealer.DealerStrategy;
901
- get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
902
- get ordinal(): 0 | 1 | 2 | 3 | 4;
903
989
  }
904
990
  }
905
991
  export declare namespace com.debertz.logic.redux.actions {
906
992
  const ClearAction: {
907
993
  toString(): string;
994
+ hashCode(): number;
995
+ equals(other: Nullable<any>): boolean;
908
996
  get actionTag(): string;
909
997
  notValidateWhenFinishing(): boolean;
910
998
  notValidateWhenFinished(): boolean;
@@ -934,6 +1022,7 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
934
1022
  toString(): string;
935
1023
  copy(id?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
936
1024
  static get Companion(): {
1025
+ userFromTable(table: com.debertz.logic.data.models.table.DebertzTable, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
937
1026
  user(tableId: string, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
938
1027
  };
939
1028
  }
@@ -951,10 +1040,10 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
951
1040
  get name(): "USER";
952
1041
  get ordinal(): 2;
953
1042
  };
954
- static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
955
- static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
956
1043
  get name(): "ROOM_ALL" | "ROOM_EXCEPT_USER" | "USER";
957
1044
  get ordinal(): 0 | 1 | 2;
1045
+ static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
1046
+ static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
958
1047
  static get Companion(): {
959
1048
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
960
1049
  }
@@ -989,7 +1078,7 @@ export declare namespace com.debertz.logic.redux.actions.game {
989
1078
  get actionTag(): string;
990
1079
  }
991
1080
  class RoundEndedAction extends com.debertz.logic.redux.actions.game.GameAction {
992
- constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, roundCommitted: Array<string>, roundContractState: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners: Array<string>, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, luckyFactors: Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>> | undefined, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
1081
+ constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, roundCommitted: Array<string>, roundContractState: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners: Array<string>, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, playersRoundAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
993
1082
  get id(): string;
994
1083
  get gameId(): string;
995
1084
  get roundNumber(): number;
@@ -999,14 +1088,15 @@ export declare namespace com.debertz.logic.redux.actions.game {
999
1088
  get roundWinners(): Array<string>;
1000
1089
  get gameLosers(): Nullable<Array<string>>;
1001
1090
  get gameWinners(): Nullable<Array<string>>;
1002
- get luckyFactors(): Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>;
1091
+ get playersGameAnalytics(): Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>;
1092
+ get playersRoundAnalytics(): Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>;
1003
1093
  get gameHistory(): com.debertz.logic.data.models.table.history.GameHistory;
1004
1094
  get roundContractStateName(): string;
1005
1095
  get isGameFinished(): boolean;
1006
1096
  toString(): string;
1007
1097
  equals(other: Nullable<any>): boolean;
1008
1098
  hashCode(): number;
1009
- copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, roundCommitted?: Array<string>, roundContractState?: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners?: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, luckyFactors?: Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.redux.actions.game.RoundEndedAction;
1099
+ copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, roundCommitted?: Array<string>, roundContractState?: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners?: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.redux.actions.game.RoundEndedAction;
1010
1100
  get actionTag(): string;
1011
1101
  }
1012
1102
  class PartyRestartedAction implements com.logic.redux.store.definitions.Action {
@@ -1030,22 +1120,21 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1030
1120
  interface FirstMechanicAction extends com.logic.redux.store.definitions.Action, com.logic.redux.actions.IgnoreBufferForAction {
1031
1121
  readonly id: string;
1032
1122
  readonly version: string;
1033
- readonly users: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */;
1123
+ readonly users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1034
1124
  readonly config: com.debertz.logic.data.models.table.config.Config;
1035
1125
  readonly gameCreatorPlayerId: string;
1036
- readonly actionTag: string;
1037
1126
  readonly __doNotUseOrImplementIt: {
1038
1127
  readonly "com.debertz.logic.redux.actions.mechanic.FirstMechanicAction": unique symbol;
1039
1128
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
1040
1129
  }
1041
1130
  class StartGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.FirstMechanicAction {
1042
- constructor(config: com.debertz.logic.data.models.table.config.Config, id: string, version: string, gameCreatorPlayerId: string, users: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */);
1131
+ constructor(config: com.debertz.logic.data.models.table.config.Config, id: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>);
1043
1132
  get config(): com.debertz.logic.data.models.table.config.Config;
1044
1133
  get id(): string;
1045
1134
  get version(): string;
1046
1135
  get gameCreatorPlayerId(): string;
1047
- get users(): any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */;
1048
- copy(config?: com.debertz.logic.data.models.table.config.Config, id?: string, version?: string, gameCreatorPlayerId?: string, users?: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */): com.debertz.logic.redux.actions.mechanic.StartGameMechanicAction;
1136
+ get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1137
+ copy(config?: com.debertz.logic.data.models.table.config.Config, id?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>): com.debertz.logic.redux.actions.mechanic.StartGameMechanicAction;
1049
1138
  toString(): string;
1050
1139
  hashCode(): number;
1051
1140
  equals(other: Nullable<any>): boolean;
@@ -1062,16 +1151,21 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1062
1151
  equals(other: Nullable<any>): boolean;
1063
1152
  get actionTag(): string;
1064
1153
  }
1154
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
1065
1155
  class FinishingGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.TerminatedAction {
1066
- constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean);
1156
+ constructor(reason: com.logic.data.models.TerminationGameReason, sessionAnalytics: Nullable<com.debertz.logic.data.models.GameSessionAnalytics> | undefined, isGameFinished: boolean);
1067
1157
  get reason(): com.logic.data.models.TerminationGameReason;
1158
+ get sessionAnalytics(): Nullable<com.debertz.logic.data.models.GameSessionAnalytics>;
1068
1159
  get isGameFinished(): boolean;
1069
- copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1070
1160
  toString(): string;
1161
+ copy(reason?: com.logic.data.models.TerminationGameReason, sessionAnalytics?: Nullable<com.debertz.logic.data.models.GameSessionAnalytics>, isGameFinished?: boolean): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1071
1162
  hashCode(): number;
1072
1163
  equals(other: Nullable<any>): boolean;
1073
1164
  get actionTag(): string;
1074
1165
  readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
1166
+ static get Companion(): {
1167
+ withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<com.debertz.logic.data.models.table.DebertzTable>): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1168
+ };
1075
1169
  }
1076
1170
  class FinishGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.debertz.logic.redux.actions.mechanic.TerminatedAction {
1077
1171
  constructor(reason: com.logic.data.models.TerminationGameReason);
@@ -1088,7 +1182,6 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1088
1182
  readonly sceneId: string;
1089
1183
  readonly actId: Nullable<string>;
1090
1184
  readonly actData: Nullable<com.debertz.logic.data.models.scenes.ActData>;
1091
- readonly actionTag: string;
1092
1185
  readonly __doNotUseOrImplementIt: {
1093
1186
  readonly "com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
1094
1187
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
@@ -1101,8 +1194,8 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1101
1194
  get actData(): Nullable<com.debertz.logic.data.models.scenes.ActData>;
1102
1195
  notValidateWhenFinished(): boolean;
1103
1196
  notValidateWhenFinishing(): boolean;
1104
- copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actData?: Nullable<com.debertz.logic.data.models.scenes.ActData>): com.debertz.logic.redux.actions.mechanic.SceneMechanicAction;
1105
1197
  toString(): string;
1198
+ copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actData?: Nullable<com.debertz.logic.data.models.scenes.ActData>): com.debertz.logic.redux.actions.mechanic.SceneMechanicAction;
1106
1199
  hashCode(): number;
1107
1200
  equals(other: Nullable<any>): boolean;
1108
1201
  get actionTag(): string;
@@ -1110,7 +1203,6 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1110
1203
  }
1111
1204
  interface TerminatedAction extends com.logic.redux.store.definitions.Action {
1112
1205
  readonly reason: com.logic.data.models.TerminationGameReason;
1113
- readonly actionTag: string;
1114
1206
  readonly __doNotUseOrImplementIt: {
1115
1207
  readonly "com.debertz.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
1116
1208
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
@@ -1125,8 +1217,8 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1125
1217
  get isShouldBeDisconnectedFromSockets(): boolean;
1126
1218
  get isDeleted(): boolean;
1127
1219
  get shouldNotifyPlayers(): boolean;
1128
- copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>): com.debertz.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
1129
1220
  toString(): string;
1221
+ copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>): com.debertz.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
1130
1222
  hashCode(): number;
1131
1223
  equals(other: Nullable<any>): boolean;
1132
1224
  get actionTag(): string;
@@ -1172,23 +1264,24 @@ export declare namespace com.debertz.logic.client.data.models.config {
1172
1264
  get name(): "TUTORIAL";
1173
1265
  get ordinal(): 4;
1174
1266
  };
1175
- static values(): Array<com.debertz.logic.client.data.models.config.GameType>;
1176
- static valueOf(value: string): com.debertz.logic.client.data.models.config.GameType;
1177
1267
  get name(): "SINGLE" | "SERVER" | "P2P_CLIENT" | "P2P_SERVER" | "TUTORIAL";
1178
1268
  get ordinal(): 0 | 1 | 2 | 3 | 4;
1269
+ static values(): Array<com.debertz.logic.client.data.models.config.GameType>;
1270
+ static valueOf(value: string): com.debertz.logic.client.data.models.config.GameType;
1179
1271
  static get Companion(): {
1180
1272
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1181
1273
  }
1182
1274
  }
1183
1275
  export declare namespace com.debertz.logic.client.data.models.config {
1184
1276
  class GameClientConfig {
1185
- constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean);
1277
+ constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean);
1186
1278
  get validateSceneActiveState(): boolean;
1187
1279
  get validateCardOnMove(): boolean;
1188
1280
  get validateExpectantActions(): boolean;
1189
1281
  get isAutoStepCurrentPlayer(): boolean;
1190
1282
  get areOpponentsCardsOpened(): boolean;
1191
- copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean): com.debertz.logic.client.data.models.config.GameClientConfig;
1283
+ get sessionAnalytics(): boolean;
1284
+ copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean): com.debertz.logic.client.data.models.config.GameClientConfig;
1192
1285
  toString(): string;
1193
1286
  hashCode(): number;
1194
1287
  equals(other: Nullable<any>): boolean;
@@ -1233,14 +1326,14 @@ export declare namespace com.debertz.logic.client.domain.mechanic {
1233
1326
  getConfig(): com.debertz.logic.data.models.table.config.Config;
1234
1327
  getClientConfig(): any/* com.debertz.logic.client.data.models.config.ClientConfig */;
1235
1328
  observeConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.data.models.table.config.Config> */;
1236
- observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.List<com.logic.data.models.player.GameUserInfo>> */;
1329
+ observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>> */;
1237
1330
  observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.ClientConfig> */;
1238
1331
  observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.PlayersHandsMetadataViewModel> */;
1239
1332
  observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.GameLifecycleViewModel> */;
1240
1333
  observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.expectants.RestartGameExpectant>> */;
1241
1334
  observeScene(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.SceneViewModel> */;
1242
1335
  observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
1243
- observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.redux.state.ErrorState>> */;
1336
+ observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.table.error.ErrorState>> */;
1244
1337
  observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.messages.Message>> */;
1245
1338
  observeGameType(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.GameType> */;
1246
1339
  observeChatOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
@@ -1256,12 +1349,8 @@ export declare namespace com.debertz.logic.client.domain.mechanic {
1256
1349
  observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1257
1350
  tutorialPassed(skipped: boolean): void;
1258
1351
  playerExit(): void;
1259
- error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
1352
+ error(error: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.error.ErrorState> */): void;
1260
1353
  observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.vm.HistoryViewModel> */;
1261
- readonly id: string;
1262
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
1263
- readonly isTableExists: boolean;
1264
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
1265
1354
  readonly __doNotUseOrImplementIt: {
1266
1355
  readonly "com.debertz.logic.client.domain.mechanic.GameMechanic": unique symbol;
1267
1356
  } & com.debertz.logic.GameStoreContract["__doNotUseOrImplementIt"];
@@ -1272,64 +1361,15 @@ export declare namespace com.debertz.logic.client.domain.mechanic.online {
1272
1361
  readonly currentPlayerId: string;
1273
1362
  observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.redux.actions.client.from.FromClientAction> */;
1274
1363
  mechanicAction(action: com.debertz.logic.redux.actions.mechanic.MechanicAction): void;
1275
- onCreate(): void;
1276
- onDestroy(): void;
1277
- getConfig(): com.debertz.logic.data.models.table.config.Config;
1278
- getClientConfig(): any/* com.debertz.logic.client.data.models.config.ClientConfig */;
1279
- observeConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.data.models.table.config.Config> */;
1280
- observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.List<com.logic.data.models.player.GameUserInfo>> */;
1281
- observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.ClientConfig> */;
1282
- observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.PlayersHandsMetadataViewModel> */;
1283
- observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.GameLifecycleViewModel> */;
1284
- observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.expectants.RestartGameExpectant>> */;
1285
- observeScene(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.SceneViewModel> */;
1286
- observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
1287
- observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.redux.state.ErrorState>> */;
1288
- observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.messages.Message>> */;
1289
- observeGameType(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.GameType> */;
1290
- observeChatOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1291
- observeLastBribe(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.LastBribeViewModel>> */;
1292
- observeGameInfo(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.GameInfoViewModel>> */;
1293
- observeSettingsOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1294
- switchLastBribe(open: boolean): void;
1295
- switchGameInfo(open: boolean): void;
1296
- switchSettings(open: boolean): void;
1297
- switchChat(open: boolean): void;
1298
- foreground(foreground: boolean): void;
1299
- updateConfig(updateConfig: any/* com.debertz.logic.client.data.models.config.UpdateConfigModel */): void;
1300
- observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1301
- tutorialPassed(skipped: boolean): void;
1302
- playerExit(): void;
1303
- error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
1304
- observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.vm.HistoryViewModel> */;
1305
- readonly id: string;
1306
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
1307
- readonly isTableExists: boolean;
1308
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
1309
1364
  readonly __doNotUseOrImplementIt: {
1310
1365
  readonly "com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
1311
1366
  } & com.debertz.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];
1312
1367
  }
1313
1368
  }
1314
- export declare namespace com.debertz.logic.client.redux.state {
1315
- class ErrorState {
1316
- constructor(message: Nullable<string> | undefined, userInfo: Nullable<com.logic.data.models.player.GameUserInfo> | undefined, reason: com.logic.data.models.TerminationGameReason);
1317
- get message(): Nullable<string>;
1318
- get userInfo(): Nullable<com.logic.data.models.player.GameUserInfo>;
1319
- get reason(): com.logic.data.models.TerminationGameReason;
1320
- copy(message?: Nullable<string>, userInfo?: Nullable<com.logic.data.models.player.GameUserInfo>, reason?: com.logic.data.models.TerminationGameReason): com.debertz.logic.client.redux.state.ErrorState;
1321
- toString(): string;
1322
- hashCode(): number;
1323
- equals(other: Nullable<any>): boolean;
1324
- }
1325
- }
1326
1369
  export declare namespace com.debertz.logic.client.utils {
1327
1370
  interface ShowErrorLoggerOutput extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput {
1328
1371
  skipWarnings: boolean;
1329
1372
  gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
1330
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
1331
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
1332
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
1333
1373
  readonly __doNotUseOrImplementIt: {
1334
1374
  readonly "com.debertz.logic.client.utils.ShowErrorLoggerOutput": unique symbol;
1335
1375
  } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"];