@memnexus-ai/typescript-sdk 1.78.9 → 1.79.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 +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -761,9 +761,11 @@ var UsersService = class extends BaseService {
|
|
|
761
761
|
}
|
|
762
762
|
/**
|
|
763
763
|
* Initiate account deletion
|
|
764
|
-
* Schedule the current user's account for deletion after a
|
|
764
|
+
* Schedule the current user's account for deletion after a grace period
|
|
765
|
+
of at least 30 days (DELETION_GRACE_DAYS, which cannot be set below 30).
|
|
765
766
|
Requires email confirmation. Immediately revokes API keys and cancels
|
|
766
|
-
any active subscription.
|
|
767
|
+
any active subscription. Signing in again does not cancel the deletion;
|
|
768
|
+
only DELETE /api/users/me/deletion does.
|
|
767
769
|
|
|
768
770
|
* @param body - Request body
|
|
769
771
|
*/
|
|
@@ -788,7 +790,9 @@ var UsersService = class extends BaseService {
|
|
|
788
790
|
}
|
|
789
791
|
/**
|
|
790
792
|
* Cancel account deletion
|
|
791
|
-
* Cancel a pending account deletion during the grace period.
|
|
793
|
+
* Cancel a pending account deletion during the grace period. This is the
|
|
794
|
+
only action that cancels a deletion. Refused with 409 once a hard-delete
|
|
795
|
+
attempt has started, because some data may already be removed.
|
|
792
796
|
Note: Previously revoked API keys are not restored — new keys must be created.
|
|
793
797
|
Stripe subscription may need manual reactivation via the billing portal.
|
|
794
798
|
|