@opexa/portal-sdk 0.57.21 → 0.58.0
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 +18 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +18 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1642,6 +1642,9 @@ var MEMBER_ACCOUNT_QUERY_DEVELOPMENT = gql`
|
|
|
1642
1642
|
agent {
|
|
1643
1643
|
code
|
|
1644
1644
|
}
|
|
1645
|
+
gigRewardsQuestDetails {
|
|
1646
|
+
gigUserId
|
|
1647
|
+
}
|
|
1645
1648
|
}
|
|
1646
1649
|
}
|
|
1647
1650
|
}
|
|
@@ -1678,7 +1681,6 @@ var MEMBER_ACCOUNT_QUERY = gql`
|
|
|
1678
1681
|
dateTimeLastUpdated
|
|
1679
1682
|
domain
|
|
1680
1683
|
branchCode
|
|
1681
|
-
|
|
1682
1684
|
}
|
|
1683
1685
|
}
|
|
1684
1686
|
}
|
|
@@ -9329,7 +9331,8 @@ var Sdk = class {
|
|
|
9329
9331
|
domain: input.domain,
|
|
9330
9332
|
birthDay: typeof input.dateOfBirth === "string" ? input.dateOfBirth : this.formatYmd(input.dateOfBirth),
|
|
9331
9333
|
password: await sha256(input.password),
|
|
9332
|
-
mobileNumber: addAreaCode(input.mobileNumber, await this.locale)
|
|
9334
|
+
mobileNumber: addAreaCode(input.mobileNumber, await this.locale),
|
|
9335
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9333
9336
|
},
|
|
9334
9337
|
referralCode: input.referralCode,
|
|
9335
9338
|
verificationCode: input.verificationCode,
|
|
@@ -9355,7 +9358,8 @@ var Sdk = class {
|
|
|
9355
9358
|
agentCode: input.agentCode,
|
|
9356
9359
|
...this.cxd && {
|
|
9357
9360
|
cellxpertCxd: this.cxd
|
|
9358
|
-
}
|
|
9361
|
+
},
|
|
9362
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9359
9363
|
},
|
|
9360
9364
|
referralCode: input.referralCode,
|
|
9361
9365
|
verificationCode: input.verificationCode,
|
|
@@ -9374,7 +9378,8 @@ var Sdk = class {
|
|
|
9374
9378
|
id,
|
|
9375
9379
|
password: await sha256(input.password),
|
|
9376
9380
|
realName: input.realName,
|
|
9377
|
-
mobileNumber: addAreaCode(input.mobileNumber, await this.locale)
|
|
9381
|
+
mobileNumber: addAreaCode(input.mobileNumber, await this.locale),
|
|
9382
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9378
9383
|
},
|
|
9379
9384
|
mobileNumberVerificationCode: input.mobileVerificationCode,
|
|
9380
9385
|
testPass: input.testPass,
|
|
@@ -9394,7 +9399,8 @@ var Sdk = class {
|
|
|
9394
9399
|
btag: input.btag,
|
|
9395
9400
|
domain: input.domain,
|
|
9396
9401
|
password: await sha256(input.password),
|
|
9397
|
-
mobileNumber: input.mobileNumber ? addAreaCode(input.mobileNumber, await this.locale) : void 0
|
|
9402
|
+
mobileNumber: input.mobileNumber ? addAreaCode(input.mobileNumber, await this.locale) : void 0,
|
|
9403
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9398
9404
|
},
|
|
9399
9405
|
reCAPTCHAResponse: input.reCAPTCHAResponse,
|
|
9400
9406
|
...this.marketDomain && {
|
|
@@ -9411,7 +9417,8 @@ var Sdk = class {
|
|
|
9411
9417
|
mobileNumberVerificationCode: input.mobileNumberVerificationCode,
|
|
9412
9418
|
emailAddress: input.emailAddress,
|
|
9413
9419
|
branchCode: input.branchCode,
|
|
9414
|
-
agentCode: input.agentCode
|
|
9420
|
+
agentCode: input.agentCode,
|
|
9421
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9415
9422
|
},
|
|
9416
9423
|
testPass: input.testPass,
|
|
9417
9424
|
reCAPTCHAResponse: input.reCAPTCHAResponse,
|
|
@@ -9428,7 +9435,8 @@ var Sdk = class {
|
|
|
9428
9435
|
input: {
|
|
9429
9436
|
id,
|
|
9430
9437
|
name: input.name,
|
|
9431
|
-
password: await sha256(input.password)
|
|
9438
|
+
password: await sha256(input.password),
|
|
9439
|
+
gigRewardsQuestDetails: input.gigRewardsQuestDetails
|
|
9432
9440
|
},
|
|
9433
9441
|
reCAPTCHAResponse: input.reCAPTCHAResponse,
|
|
9434
9442
|
...this.marketDomain && {
|
|
@@ -9473,6 +9481,7 @@ var Sdk = class {
|
|
|
9473
9481
|
mobileNumber,
|
|
9474
9482
|
secretAnswer,
|
|
9475
9483
|
transactionPassword,
|
|
9484
|
+
gigRewardsQuestDetails,
|
|
9476
9485
|
...others
|
|
9477
9486
|
} = input;
|
|
9478
9487
|
return await this.accountService.updateMemberAccount({
|
|
@@ -9484,7 +9493,8 @@ var Sdk = class {
|
|
|
9484
9493
|
transactionPassword: transactionPassword ? await sha256(transactionPassword) : void 0,
|
|
9485
9494
|
mobileNumber: mobileNumber ? addAreaCode(mobileNumber, await this.locale) : void 0,
|
|
9486
9495
|
secretAnswer: secretAnswer ? await sha256(secretAnswer) : void 0,
|
|
9487
|
-
birthDay: dateOfBirth ? typeof dateOfBirth === "string" ? dateOfBirth : this.formatYmd(dateOfBirth) : void 0
|
|
9496
|
+
birthDay: dateOfBirth ? typeof dateOfBirth === "string" ? dateOfBirth : this.formatYmd(dateOfBirth) : void 0,
|
|
9497
|
+
gigRewardsQuestDetails
|
|
9488
9498
|
}
|
|
9489
9499
|
}
|
|
9490
9500
|
});
|