@memnexus-ai/typescript-sdk 1.78.9 → 1.79.1

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.d.cts CHANGED
@@ -9797,9 +9797,11 @@ declare class UsersService extends BaseService {
9797
9797
  }>>;
9798
9798
  /**
9799
9799
  * Initiate account deletion
9800
- * Schedule the current user's account for deletion after a 7-day grace period.
9800
+ * Schedule the current user's account for deletion after a grace period
9801
+ of at least 30 days (DELETION_GRACE_DAYS, which cannot be set below 30).
9801
9802
  Requires email confirmation. Immediately revokes API keys and cancels
9802
- any active subscription. The account enters read-only mode.
9803
+ any active subscription. Signing in again does not cancel the deletion;
9804
+ only DELETE /api/users/me/deletion does.
9803
9805
 
9804
9806
  * @param body - Request body
9805
9807
  */
@@ -9811,7 +9813,9 @@ declare class UsersService extends BaseService {
9811
9813
  }>>;
9812
9814
  /**
9813
9815
  * Cancel account deletion
9814
- * Cancel a pending account deletion during the grace period.
9816
+ * Cancel a pending account deletion during the grace period. This is the
9817
+ only action that cancels a deletion. Refused with 409 once a hard-delete
9818
+ attempt has started, because some data may already be removed.
9815
9819
  Note: Previously revoked API keys are not restored — new keys must be created.
9816
9820
  Stripe subscription may need manual reactivation via the billing portal.
9817
9821
 
package/dist/index.d.ts CHANGED
@@ -9797,9 +9797,11 @@ declare class UsersService extends BaseService {
9797
9797
  }>>;
9798
9798
  /**
9799
9799
  * Initiate account deletion
9800
- * Schedule the current user's account for deletion after a 7-day grace period.
9800
+ * Schedule the current user's account for deletion after a grace period
9801
+ of at least 30 days (DELETION_GRACE_DAYS, which cannot be set below 30).
9801
9802
  Requires email confirmation. Immediately revokes API keys and cancels
9802
- any active subscription. The account enters read-only mode.
9803
+ any active subscription. Signing in again does not cancel the deletion;
9804
+ only DELETE /api/users/me/deletion does.
9803
9805
 
9804
9806
  * @param body - Request body
9805
9807
  */
@@ -9811,7 +9813,9 @@ declare class UsersService extends BaseService {
9811
9813
  }>>;
9812
9814
  /**
9813
9815
  * Cancel account deletion
9814
- * Cancel a pending account deletion during the grace period.
9816
+ * Cancel a pending account deletion during the grace period. This is the
9817
+ only action that cancels a deletion. Refused with 409 once a hard-delete
9818
+ attempt has started, because some data may already be removed.
9815
9819
  Note: Previously revoked API keys are not restored — new keys must be created.
9816
9820
  Stripe subscription may need manual reactivation via the billing portal.
9817
9821
 
package/dist/index.js CHANGED
@@ -604,9 +604,11 @@ var UsersService = class extends BaseService {
604
604
  }
605
605
  /**
606
606
  * Initiate account deletion
607
- * Schedule the current user's account for deletion after a 7-day grace period.
607
+ * Schedule the current user's account for deletion after a grace period
608
+ of at least 30 days (DELETION_GRACE_DAYS, which cannot be set below 30).
608
609
  Requires email confirmation. Immediately revokes API keys and cancels
609
- any active subscription. The account enters read-only mode.
610
+ any active subscription. Signing in again does not cancel the deletion;
611
+ only DELETE /api/users/me/deletion does.
610
612
 
611
613
  * @param body - Request body
612
614
  */
@@ -631,7 +633,9 @@ var UsersService = class extends BaseService {
631
633
  }
632
634
  /**
633
635
  * Cancel account deletion
634
- * Cancel a pending account deletion during the grace period.
636
+ * Cancel a pending account deletion during the grace period. This is the
637
+ only action that cancels a deletion. Refused with 409 once a hard-delete
638
+ attempt has started, because some data may already be removed.
635
639
  Note: Previously revoked API keys are not restored — new keys must be created.
636
640
  Stripe subscription may need manual reactivation via the billing portal.
637
641