skapi-js 2.2.3 → 2.2.4

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/skapi.d.mts CHANGED
@@ -2810,11 +2810,16 @@ declare class Skapi {
2810
2810
  */
2811
2811
  signup_confirmation?: boolean | string;
2812
2812
  /**
2813
- * When true, user will be subscribed to Service Email (group 1) once they are signed up.
2814
- * User's signup confirmation is required for this parameter.
2813
+ * The newsletter the user is subscribed to once they confirm their e-mail, with no
2814
+ * newsletter confirmation e-mail of its own.
2815
+ * `0` or `'public'`: the public newsletter. `1` or `'authorized'`: Service Email.
2816
+ * The name of a named newsletter group: that group, which has to exist and whose
2817
+ * restriction the account has to meet. `true`: Service Email, as before.
2818
+ * User's signup confirmation is required for this parameter: a user whose e-mail is
2819
+ * never confirmed is never subscribed.
2815
2820
  * Default is false.
2816
2821
  */
2817
- email_subscription?: boolean;
2822
+ email_subscription?: boolean | number | string;
2818
2823
  /**
2819
2824
  * Automatically login to account after signup. Will not work if signup confirmation is required.
2820
2825
  */
package/dist/skapi.d.ts CHANGED
@@ -2810,11 +2810,16 @@ declare class Skapi {
2810
2810
  */
2811
2811
  signup_confirmation?: boolean | string;
2812
2812
  /**
2813
- * When true, user will be subscribed to Service Email (group 1) once they are signed up.
2814
- * User's signup confirmation is required for this parameter.
2813
+ * The newsletter the user is subscribed to once they confirm their e-mail, with no
2814
+ * newsletter confirmation e-mail of its own.
2815
+ * `0` or `'public'`: the public newsletter. `1` or `'authorized'`: Service Email.
2816
+ * The name of a named newsletter group: that group, which has to exist and whose
2817
+ * restriction the account has to meet. `true`: Service Email, as before.
2818
+ * User's signup confirmation is required for this parameter: a user whose e-mail is
2819
+ * never confirmed is never subscribed.
2815
2820
  * Default is false.
2816
2821
  */
2817
- email_subscription?: boolean;
2822
+ email_subscription?: boolean | number | string;
2818
2823
  /**
2819
2824
  * Automatically login to account after signup. Will not work if signup confirmation is required.
2820
2825
  */