@opexa/portal-sdk 0.59.3 → 0.59.5
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/index.cjs +24 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +24 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1314,7 +1314,6 @@ var BET_RECORDS_QUERY = gql`
|
|
|
1314
1314
|
games {
|
|
1315
1315
|
id,
|
|
1316
1316
|
name,
|
|
1317
|
-
provider
|
|
1318
1317
|
},
|
|
1319
1318
|
gameProvider,
|
|
1320
1319
|
remainingBets,
|
|
@@ -1327,7 +1326,9 @@ var BET_RECORDS_QUERY = gql`
|
|
|
1327
1326
|
dateTimeCompleted,
|
|
1328
1327
|
dateTimeLastUpdated,
|
|
1329
1328
|
payout,
|
|
1329
|
+
|
|
1330
1330
|
}
|
|
1331
|
+
freeBetPayout
|
|
1331
1332
|
}
|
|
1332
1333
|
}
|
|
1333
1334
|
}
|
|
@@ -1951,6 +1952,12 @@ var CREATE_MEMBER_VERIFICATION_MUTATION = gql`
|
|
|
1951
1952
|
... on MemberVerificationAlreadyExistsError {
|
|
1952
1953
|
__typename
|
|
1953
1954
|
}
|
|
1955
|
+
... on MemberVerificationAlreadyApprovedError {
|
|
1956
|
+
__typename
|
|
1957
|
+
}
|
|
1958
|
+
... on AccountNotFoundError {
|
|
1959
|
+
__typename
|
|
1960
|
+
}
|
|
1954
1961
|
}
|
|
1955
1962
|
}
|
|
1956
1963
|
`;
|
|
@@ -1968,6 +1975,12 @@ var CREATE_MEMBER_VERIFICATION_NEXT_MUTATION = gql`
|
|
|
1968
1975
|
... on MemberVerificationAlreadyExistsError {
|
|
1969
1976
|
__typename
|
|
1970
1977
|
}
|
|
1978
|
+
... on MemberVerificationAlreadyApprovedError {
|
|
1979
|
+
__typename
|
|
1980
|
+
}
|
|
1981
|
+
... on AccountNotFoundError {
|
|
1982
|
+
__typename
|
|
1983
|
+
}
|
|
1971
1984
|
}
|
|
1972
1985
|
}
|
|
1973
1986
|
`;
|
|
@@ -3365,14 +3378,14 @@ var MEMBER_FREE_BET_DROPS_QUERY = gql`
|
|
|
3365
3378
|
cursor
|
|
3366
3379
|
node {
|
|
3367
3380
|
... on FreeBetDrop {
|
|
3368
|
-
|
|
3381
|
+
id
|
|
3369
3382
|
name
|
|
3370
3383
|
description
|
|
3371
3384
|
serialCode
|
|
3385
|
+
gameProvider
|
|
3372
3386
|
games {
|
|
3373
3387
|
id
|
|
3374
3388
|
name
|
|
3375
|
-
provider
|
|
3376
3389
|
}
|
|
3377
3390
|
payout
|
|
3378
3391
|
bets
|
|
@@ -3465,7 +3478,12 @@ function createOperationError(code) {
|
|
|
3465
3478
|
TurnoverRequirementNotYetFulfilledError: "Turnover requirement not yet fulfilled",
|
|
3466
3479
|
FirstDepositRequiredError: "First deposit is required",
|
|
3467
3480
|
VerificationLockedError: "Verification is locked",
|
|
3468
|
-
|
|
3481
|
+
GameProviderNotEnabledError: "Game provider is not enabled",
|
|
3482
|
+
GameTypeNotEnabledError: "Game type is not enabled",
|
|
3483
|
+
InsufficientFundsError: "Insufficient balance",
|
|
3484
|
+
InvalidAgentCodeError: "Invalid affiliate code",
|
|
3485
|
+
InvalidMobileNumberVerificationCodeError: "Invalid mobile number verification code",
|
|
3486
|
+
PlatformDoesNotExistError: "Platform does not exist"
|
|
3469
3487
|
};
|
|
3470
3488
|
return {
|
|
3471
3489
|
name: code,
|
|
@@ -8281,6 +8299,8 @@ var Transformer = class {
|
|
|
8281
8299
|
betContent: data.betContent ?? void 0,
|
|
8282
8300
|
contestName: data.contestName ?? void 0,
|
|
8283
8301
|
externalCategory: data.externalCategory ?? void 0,
|
|
8302
|
+
freeBetPayout: parseDecimal(data.freeBetPayout, 0),
|
|
8303
|
+
freeBetDrop: data.freeBetDrop ? this.freeBetDrops(data.freeBetDrop) : void 0,
|
|
8284
8304
|
metadata: {
|
|
8285
8305
|
odds: data.metadata?.odds ?? void 0
|
|
8286
8306
|
}
|