@stack-spot/portal-network 0.120.0 → 0.121.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.
@@ -17,6 +17,7 @@ import {
17
17
  createUser,
18
18
  deactivateFidoCredentials,
19
19
  defaults,
20
+ delete1,
20
21
  deleteAccountRole,
21
22
  deleteExtension,
22
23
  deleteExtensionLink,
@@ -25,7 +26,8 @@ import {
25
26
  deleteMember,
26
27
  deleteMemberFavorite,
27
28
  deletePartner, deleteProfileImage,
28
- deleteResourceFromGroup, deleteRole, deleteSecret, deleteSso, deleteV1GroupsByGroupId, disablePersonalAccessTokenGeneration,
29
+ deleteResourceFromGroup, deleteRole, deleteSecret, deleteSso,
30
+ disablePersonalAccessTokenGeneration,
29
31
  disableSecret,
30
32
  disassociateGroupToServiceCredential, enableFidoCredentials,
31
33
  enableSecret,
@@ -41,7 +43,8 @@ import {
41
43
  getAllGroupMapping,
42
44
  getAllMemberFidoCredentials,
43
45
  getAllServiceCredentialRateLimit,
44
- getExtensionVersion, getFeatures,
46
+ getExtensionVersion,
47
+ getFeatures2,
45
48
  getGroupById,
46
49
  getGroupResources,
47
50
  getGroupResources1,
@@ -113,6 +116,7 @@ import {
113
116
  updateServiceCredentialScopes,
114
117
  updateSso,
115
118
  updateUser,
119
+ validateCampaignCode,
116
120
  validateNewPartnerData,
117
121
  validatePartnerAssociationLimit,
118
122
  } from '../api/account'
@@ -143,7 +147,7 @@ class AccountClient extends ReactQueryNetworkClient {
143
147
  /**
144
148
  * Lists all Feature Flags in an Account
145
149
  */
146
- featureFlags = this.query(getFeatures)
150
+ featureFlags = this.query(getFeatures2)
147
151
  /**
148
152
  * Gets Partners with whom it is allowed to share content.
149
153
  */
@@ -270,7 +274,7 @@ class AccountClient extends ReactQueryNetworkClient {
270
274
  /**
271
275
  * Deletes a group.
272
276
  */
273
- deleteGroup = this.mutation(deleteV1GroupsByGroupId)
277
+ deleteGroup = this.mutation(delete1)
274
278
  /**
275
279
  * Gets all members in a group (paginated).
276
280
  */
@@ -806,6 +810,11 @@ class AccountClient extends ReactQueryNetworkClient {
806
810
  * Revoke a service credential V2
807
811
  */
808
812
  revokeServiceCredentialV2 = this.mutation(revokeServiceCredential)
813
+
814
+ /**
815
+ * Validates a campaign code.
816
+ */
817
+ validateCampaignCode = this.query(validateCampaignCode)
809
818
  }
810
819
 
811
820
  export const accountClient = new AccountClient()