@opexa/portal-sdk 0.0.25 → 0.0.26

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.
@@ -478,7 +478,11 @@ export type AnnouncementsReturn = OperationResult<never, PaginatedQueryResult<'a
478
478
  export type BetRecordStatus = UnionAlias<Internal.BetRecordStatus>;
479
479
  export interface BetRecord {
480
480
  id: string;
481
- game: Game;
481
+ game: {
482
+ name: string;
483
+ type: GameType;
484
+ provider: GameProvider;
485
+ };
482
486
  status: BetRecordStatus;
483
487
  serialCode: string;
484
488
  vendorRoundId?: string;
@@ -507,7 +511,11 @@ export interface LatestBetRecord {
507
511
  id: string;
508
512
  name: string;
509
513
  };
510
- game: Game;
514
+ game: {
515
+ name: string;
516
+ type: GameType;
517
+ provider: GameProvider;
518
+ };
511
519
  bet: number;
512
520
  payout: number;
513
521
  validBet: number;
@@ -4,13 +4,13 @@ export declare const UPLOAD_PRIVATE_IMAGE_FILE_MUTATION: string;
4
4
  export declare const WALLET_QUERY: string;
5
5
  export declare const POINTS_WALLET_QUERY: string;
6
6
  export declare const POINTS_TO_CASH_CONVERSION_MUTATION: string;
7
- export declare const GAME_FRAGMENT: string;
7
+ /** @deprecated */
8
8
  export declare const GAMES_QUERY: string;
9
+ /** @deprecated */
9
10
  export declare const GAMES_BY_NAME_QUERY: string;
10
11
  export declare const GAME_SESSION_QUERY: string;
11
12
  export declare const CREATE_GAME_SESSION_MUTATION: string;
12
13
  export declare const END_GAME_SESSION_MUTATION: string;
13
- export declare const GAME_SESSION_QUERY_LEGACY: string;
14
14
  export declare const END_GAME_SESSION_MUTATION__LEGACY: string;
15
15
  export declare const ANNOUNCEMENTS_QUERY: string;
16
16
  export declare const WITHDRAWAL_RECORDS_QUERY: string;
@@ -29,7 +29,6 @@ export interface StringFilterField {
29
29
  notEqual?: string;
30
30
  in?: string[];
31
31
  notIn?: string[];
32
- contains?: string;
33
32
  }
34
33
  export interface NumberFilterField {
35
34
  equal?: number;
@@ -147,8 +146,8 @@ export interface GameQuery {
147
146
  export interface GamesQueryVariables {
148
147
  after?: string;
149
148
  first?: number;
149
+ search?: string;
150
150
  filter?: {
151
- name?: StringFilterField;
152
151
  type?: EnumFilterField<GameType>;
153
152
  provider?: EnumFilterField<GameProvider>;
154
153
  };
@@ -156,6 +155,7 @@ export interface GamesQueryVariables {
156
155
  /** @deprecated */
157
156
  export interface GamesQuery extends PaginatedQuery<'games', Game> {
158
157
  }
158
+ /** @deprecated */
159
159
  export interface GamesByNameQueryVariables {
160
160
  first?: number;
161
161
  search: string;
@@ -176,7 +176,6 @@ export interface GameQuery__Next {
176
176
  export type GameSessionStatus = 'PENDING' | 'STARTING' | 'READY' | 'ENDED' | 'CANCELLED';
177
177
  export interface GameSession {
178
178
  id: string;
179
- game: string;
180
179
  status: GameSessionStatus;
181
180
  launchUrl?: string | null;
182
181
  dateTimeCreated: DateString;
@@ -233,7 +232,11 @@ export interface BetRecordMetadata {
233
232
  }
234
233
  export interface BetRecord {
235
234
  id: string;
236
- game: Game;
235
+ game: {
236
+ name: string;
237
+ type: GameType;
238
+ provider: GameProvider;
239
+ };
237
240
  status: BetRecordStatus;
238
241
  serialCode: string;
239
242
  vendorRoundId?: string | null;
@@ -277,7 +280,11 @@ export interface LatestBetRecord {
277
280
  id: string;
278
281
  name: string;
279
282
  };
280
- game: Game;
283
+ game: {
284
+ name: string;
285
+ type: GameType;
286
+ provider: GameProvider;
287
+ };
281
288
  bet: Decimal;
282
289
  payout: Decimal;
283
290
  validBet: Decimal;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opexa/portal-sdk",
3
3
  "type": "module",
4
- "version": "0.0.25",
4
+ "version": "0.0.26",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "typings": "dist/index.d.ts",