@parra/parra-js-sdk 0.3.186 → 0.3.188
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/ParraAPI.d.ts +17 -2
- package/dist/ParraAPI.js +2 -1
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1591,8 +1591,13 @@ export interface TenantUserInfo {
|
|
|
1591
1591
|
roles: Array<string>;
|
|
1592
1592
|
user: TenantUser;
|
|
1593
1593
|
}
|
|
1594
|
+
export interface AccountConfig {
|
|
1595
|
+
account_created_mail_template_id?: string | null;
|
|
1596
|
+
}
|
|
1594
1597
|
export interface PasswordConfig {
|
|
1595
1598
|
disabled: boolean;
|
|
1599
|
+
password_reset_disabled: boolean;
|
|
1600
|
+
password_reset_mail_template_id?: string | null;
|
|
1596
1601
|
ios_password_rules_descriptor?: string | null;
|
|
1597
1602
|
rules: Array<PasswordRule>;
|
|
1598
1603
|
}
|
|
@@ -1605,6 +1610,7 @@ export interface EmailConfig {
|
|
|
1605
1610
|
disabled: boolean;
|
|
1606
1611
|
required: boolean;
|
|
1607
1612
|
require_verification: boolean;
|
|
1613
|
+
verification_mail_template_id?: string | null;
|
|
1608
1614
|
allow_signup: boolean;
|
|
1609
1615
|
}
|
|
1610
1616
|
export interface PhoneNumberConfig {
|
|
@@ -1612,6 +1618,8 @@ export interface PhoneNumberConfig {
|
|
|
1612
1618
|
required: boolean;
|
|
1613
1619
|
require_verification: boolean;
|
|
1614
1620
|
allow_signup: boolean;
|
|
1621
|
+
verification_connected_app_connection_id?: string | null;
|
|
1622
|
+
verification_sms_message?: string | null;
|
|
1615
1623
|
}
|
|
1616
1624
|
export interface PasskeysConfig {
|
|
1617
1625
|
disabled: boolean;
|
|
@@ -1621,6 +1629,7 @@ export interface PasskeysConfig {
|
|
|
1621
1629
|
allow_local_enrollment: boolean;
|
|
1622
1630
|
}
|
|
1623
1631
|
export interface AuthDatabaseConnection {
|
|
1632
|
+
account: AccountConfig;
|
|
1624
1633
|
password: PasswordConfig;
|
|
1625
1634
|
username: UsernameConfig;
|
|
1626
1635
|
email: EmailConfig;
|
|
@@ -1630,13 +1639,18 @@ export interface AuthDatabaseConnection {
|
|
|
1630
1639
|
export interface UpdateAuthDatabaseConnection {
|
|
1631
1640
|
disabled?: boolean;
|
|
1632
1641
|
password_disabled?: boolean;
|
|
1642
|
+
password_reset_disabled?: boolean;
|
|
1643
|
+
password_reset_mail_template_id?: string | null;
|
|
1633
1644
|
email_disabled?: boolean;
|
|
1634
1645
|
email_required?: boolean;
|
|
1635
1646
|
email_require_verification?: boolean;
|
|
1647
|
+
email_verification_mail_template_id?: string | null;
|
|
1636
1648
|
email_allow_signup?: boolean;
|
|
1637
1649
|
phone_number_disabled?: boolean;
|
|
1638
1650
|
phone_number_required?: boolean;
|
|
1639
1651
|
phone_number_require_verification?: boolean;
|
|
1652
|
+
phone_number_verification_connected_app_connection_id?: string | null;
|
|
1653
|
+
phone_number_verification_sms_message?: string | null;
|
|
1640
1654
|
phone_number_allow_signup?: boolean;
|
|
1641
1655
|
username_disabled?: boolean;
|
|
1642
1656
|
username_required?: boolean;
|
|
@@ -2320,8 +2334,9 @@ export interface UpdateMailSenderRequestBody {
|
|
|
2320
2334
|
reply_to?: string | null;
|
|
2321
2335
|
}
|
|
2322
2336
|
export declare enum MailTemplateType {
|
|
2323
|
-
|
|
2324
|
-
accountVerification = "account-verification"
|
|
2337
|
+
accountCreated = "account-created",
|
|
2338
|
+
accountVerification = "account-verification",
|
|
2339
|
+
passwordReset = "password-reset"
|
|
2325
2340
|
}
|
|
2326
2341
|
export interface CreateMailTemplateRequestBody {
|
|
2327
2342
|
type?: MailTemplateType | null;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -280,8 +280,9 @@ var IntegrationScope;
|
|
|
280
280
|
})(IntegrationScope || (exports.IntegrationScope = IntegrationScope = {}));
|
|
281
281
|
var MailTemplateType;
|
|
282
282
|
(function (MailTemplateType) {
|
|
283
|
-
MailTemplateType["
|
|
283
|
+
MailTemplateType["accountCreated"] = "account-created";
|
|
284
284
|
MailTemplateType["accountVerification"] = "account-verification";
|
|
285
|
+
MailTemplateType["passwordReset"] = "password-reset";
|
|
285
286
|
})(MailTemplateType || (exports.MailTemplateType = MailTemplateType = {}));
|
|
286
287
|
var MailTemplateVersionStatus;
|
|
287
288
|
(function (MailTemplateVersionStatus) {
|