@opexa/portal-sdk 0.0.148 → 0.0.149

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.
@@ -0,0 +1 @@
1
+ export declare const NEW_GAME_PROVIDERS: string[];
@@ -349,10 +349,19 @@ export type GameSession = {
349
349
  dateTimeLastUpdated: Date;
350
350
  };
351
351
  export type GameSessionReturn = OperationResult<never, GameSession | null>;
352
- export interface CreateGameSessionInput {
352
+ export interface CreateGameSessionByReferenceInput {
353
+ id?: string;
354
+ game?: never;
355
+ provider: GameProvider;
356
+ reference: string;
357
+ }
358
+ export interface CreateGameSessionByIdInput {
353
359
  id?: string;
354
360
  game: `SPORTS:${Extract<GameProvider, 'BTI' | 'SABA'>}` | (string & {});
361
+ provider?: never;
362
+ reference?: never;
355
363
  }
364
+ export type CreateGameSessionInput = CreateGameSessionByReferenceInput | CreateGameSessionByIdInput;
356
365
  export type CreateGameSessionError = UnionAlias<Internal.CreateGameSessionError>;
357
366
  export type CreateGameSessionReturn = OperationResult<CreateGameSessionError, {
358
367
  id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opexa/portal-sdk",
3
3
  "type": "module",
4
- "version": "0.0.148",
4
+ "version": "0.0.149",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "typings": "dist/index.d.ts",