@opexa/portal-sdk 0.59.81 → 0.59.83
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/dist/{chunk-443LKA6K.js → chunk-IT7ND6PF.js} +92 -2
- package/dist/chunk-IT7ND6PF.js.map +1 -0
- package/dist/index.cjs +114 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +25 -1
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +90 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +5 -3
- package/dist/services/index.d.ts +5 -3
- package/dist/services/index.js +1 -1
- package/dist/{types-CLOj9j8f.d.cts → types-BBo3Cpm5.d.cts} +54 -1
- package/dist/{types-vlbILiF3.d.ts → types-D67kK6qx.d.ts} +54 -1
- package/package.json +1 -1
- package/dist/chunk-443LKA6K.js.map +0 -1
|
@@ -3407,6 +3407,75 @@ var PLATFORM_GAMES_QUERY = gql`
|
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
3409
|
`;
|
|
3410
|
+
var GAME_GROUPS_QUERY = gql`
|
|
3411
|
+
query GameGroups(
|
|
3412
|
+
$first: Int
|
|
3413
|
+
$after: Cursor
|
|
3414
|
+
$filter: GameGroupFilterInput
|
|
3415
|
+
$sort: GameGroupSortInput
|
|
3416
|
+
$limit: Int,
|
|
3417
|
+
$offset: Int,
|
|
3418
|
+
) {
|
|
3419
|
+
gameGroups(first: $first, after: $after, filter: $filter, sort: $sort) {
|
|
3420
|
+
totalCount
|
|
3421
|
+
pageInfo {
|
|
3422
|
+
hasNextPage
|
|
3423
|
+
endCursor
|
|
3424
|
+
}
|
|
3425
|
+
edges {
|
|
3426
|
+
cursor
|
|
3427
|
+
node {
|
|
3428
|
+
... on GameGroup {
|
|
3429
|
+
id
|
|
3430
|
+
name
|
|
3431
|
+
|
|
3432
|
+
games(limit: $limit, offset: $offset) {
|
|
3433
|
+
id
|
|
3434
|
+
reference
|
|
3435
|
+
name
|
|
3436
|
+
displayName
|
|
3437
|
+
type
|
|
3438
|
+
provider
|
|
3439
|
+
|
|
3440
|
+
status
|
|
3441
|
+
hidden
|
|
3442
|
+
hasFreeBet
|
|
3443
|
+
hasJackpot
|
|
3444
|
+
image
|
|
3445
|
+
}
|
|
3446
|
+
dateTimeLastUpdated
|
|
3447
|
+
dateTimeCreated
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
`;
|
|
3454
|
+
var GAME_GROUP_QUERY = gql`
|
|
3455
|
+
query GameGroup($id: ObjectId!) {
|
|
3456
|
+
node(id: $id) {
|
|
3457
|
+
... on GameGroup {
|
|
3458
|
+
id
|
|
3459
|
+
name
|
|
3460
|
+
games {
|
|
3461
|
+
id
|
|
3462
|
+
reference
|
|
3463
|
+
name
|
|
3464
|
+
displayName
|
|
3465
|
+
type
|
|
3466
|
+
provider
|
|
3467
|
+
status
|
|
3468
|
+
hidden
|
|
3469
|
+
hasFreeBet
|
|
3470
|
+
hasJackpot
|
|
3471
|
+
image
|
|
3472
|
+
}
|
|
3473
|
+
dateTimeLastUpdated
|
|
3474
|
+
dateTimeCreated
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
}
|
|
3478
|
+
`;
|
|
3410
3479
|
var GOOGLE_CLIEND_ID_QUERY = gql`
|
|
3411
3480
|
query GoogleClientId {
|
|
3412
3481
|
googleClientId
|
|
@@ -6494,6 +6563,27 @@ var WalletService = class {
|
|
|
6494
6563
|
ok: true
|
|
6495
6564
|
};
|
|
6496
6565
|
}
|
|
6566
|
+
async gameGroups(variables) {
|
|
6567
|
+
const res = await this.client.request(GAME_GROUPS_QUERY, variables);
|
|
6568
|
+
if (!res.ok) return res;
|
|
6569
|
+
if (!res.data.gameGroups) {
|
|
6570
|
+
return {
|
|
6571
|
+
ok: false,
|
|
6572
|
+
error: {
|
|
6573
|
+
name: "UnknownError",
|
|
6574
|
+
message: "Something went wrong."
|
|
6575
|
+
}
|
|
6576
|
+
};
|
|
6577
|
+
}
|
|
6578
|
+
return {
|
|
6579
|
+
ok: true,
|
|
6580
|
+
data: res.data.gameGroups
|
|
6581
|
+
};
|
|
6582
|
+
}
|
|
6583
|
+
async gameGroup(variables) {
|
|
6584
|
+
const res = await this.client.request(GAME_GROUP_QUERY, variables);
|
|
6585
|
+
return res.ok ? { ok: res.ok, data: res.data.node } : res;
|
|
6586
|
+
}
|
|
6497
6587
|
};
|
|
6498
6588
|
|
|
6499
6589
|
// src/services/extension.service.ts
|
|
@@ -6529,5 +6619,5 @@ var ExtensionService = class {
|
|
|
6529
6619
|
};
|
|
6530
6620
|
|
|
6531
6621
|
export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
|
|
6532
|
-
//# sourceMappingURL=chunk-
|
|
6533
|
-
//# sourceMappingURL=chunk-
|
|
6622
|
+
//# sourceMappingURL=chunk-IT7ND6PF.js.map
|
|
6623
|
+
//# sourceMappingURL=chunk-IT7ND6PF.js.map
|