@stack-spot/portal-network 0.99.5 → 0.100.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/CHANGELOG.md +7 -0
- package/dist/api/account.d.ts +257 -46
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +134 -42
- package/dist/api/account.js.map +1 -1
- package/dist/client/account.d.ts +34 -1
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +56 -1
- package/dist/client/account.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +474 -105
- package/src/client/account.ts +32 -0
package/src/client/account.ts
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
createPersonalAccessToken,
|
|
14
14
|
createSecret,
|
|
15
15
|
createServiceCredential1,
|
|
16
|
+
createTrialAccount,
|
|
16
17
|
createUser,
|
|
17
18
|
deactivateFidoCredentials,
|
|
18
19
|
defaults,
|
|
@@ -28,6 +29,7 @@ import {
|
|
|
28
29
|
disableSecret,
|
|
29
30
|
disassociateGroupToServiceCredential, enableFidoCredentials,
|
|
30
31
|
enableSecret,
|
|
32
|
+
enterpriseContact,
|
|
31
33
|
findSecrets1,
|
|
32
34
|
getAccess,
|
|
33
35
|
getAccountMembers,
|
|
@@ -51,6 +53,8 @@ import {
|
|
|
51
53
|
getMembers,
|
|
52
54
|
getMembers1,
|
|
53
55
|
getPartnerAccount, getPartnersSharingAllowed,
|
|
56
|
+
getPersonalAccountDetails,
|
|
57
|
+
getPersonalAccountExpirationData,
|
|
54
58
|
getPersonalClientCredentials,
|
|
55
59
|
getResources1,
|
|
56
60
|
getResources2,
|
|
@@ -80,6 +84,7 @@ import {
|
|
|
80
84
|
listMemberFavoritesByResource,
|
|
81
85
|
listScmCredentials,
|
|
82
86
|
listScmCredentials1, partialUpdateSso, personalAccessTokenAuthorization,
|
|
87
|
+
personalContact,
|
|
83
88
|
removeRoleFromMember,
|
|
84
89
|
resetOtp,
|
|
85
90
|
resetPassword, revokeServiceCredential1, save,
|
|
@@ -92,6 +97,7 @@ import {
|
|
|
92
97
|
updateMemberPreferences,
|
|
93
98
|
updatePartnerAccountAdminData,
|
|
94
99
|
updatePartnerAccountData,
|
|
100
|
+
updatePersonalAccountDetails,
|
|
95
101
|
updateRateLimit,
|
|
96
102
|
updateResourceActions,
|
|
97
103
|
updateRoleWithNewActions,
|
|
@@ -726,6 +732,32 @@ class AccountClient extends ReactQueryNetworkClient {
|
|
|
726
732
|
* Disable secret
|
|
727
733
|
*/
|
|
728
734
|
disableSecret = this.mutation(disableSecret)
|
|
735
|
+
|
|
736
|
+
// TRIAL
|
|
737
|
+
/**
|
|
738
|
+
* Create trial account
|
|
739
|
+
*/
|
|
740
|
+
createTrialAccount = this.mutation(createTrialAccount)
|
|
741
|
+
/**
|
|
742
|
+
* Update trial account info
|
|
743
|
+
*/
|
|
744
|
+
updateTrialAccount = this.mutation(updatePersonalAccountDetails)
|
|
745
|
+
/**
|
|
746
|
+
* Creates a personal contact lead
|
|
747
|
+
*/
|
|
748
|
+
personalContact = this.mutation(personalContact)
|
|
749
|
+
/**
|
|
750
|
+
* Creates an enterprise contact lead
|
|
751
|
+
*/
|
|
752
|
+
enterpriseContact = this.mutation(enterpriseContact)
|
|
753
|
+
/**
|
|
754
|
+
* Get trial expiration info
|
|
755
|
+
*/
|
|
756
|
+
trialExpiration = this.query(getPersonalAccountExpirationData)
|
|
757
|
+
/**
|
|
758
|
+
* Get trial expiration info
|
|
759
|
+
*/
|
|
760
|
+
trialAccountDetails = this.query(getPersonalAccountDetails)
|
|
729
761
|
/**
|
|
730
762
|
* Get account rate limit
|
|
731
763
|
*/
|