@parra/parra-js-sdk 0.3.204 → 0.3.206
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 +6 -9
- package/dist/ParraAPI.js +2 -8
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1695,13 +1695,6 @@ export interface UpdateAuthDatabaseConnection {
|
|
|
1695
1695
|
passkeys_allow_progressive_enrollment?: boolean;
|
|
1696
1696
|
passkeys_allow_local_enrollment?: boolean;
|
|
1697
1697
|
}
|
|
1698
|
-
export interface ResetPasswordRequestBody {
|
|
1699
|
-
client_id?: string;
|
|
1700
|
-
email?: string;
|
|
1701
|
-
phone_number?: string;
|
|
1702
|
-
username?: string;
|
|
1703
|
-
unknown_identity?: string;
|
|
1704
|
-
}
|
|
1705
1698
|
export interface PasswordlessSmsConnectionData {
|
|
1706
1699
|
connected_app_connection_id: string;
|
|
1707
1700
|
otp_length: number;
|
|
@@ -1972,10 +1965,14 @@ export interface TenantOnboardingApplicationIntent {
|
|
|
1972
1965
|
app_store_connect_setup?: boolean | null;
|
|
1973
1966
|
app_store_connect_setup_skipped?: boolean | null;
|
|
1974
1967
|
}
|
|
1968
|
+
export interface TenantOnboardingDomainIntent {
|
|
1969
|
+
skipped?: boolean | null;
|
|
1970
|
+
}
|
|
1975
1971
|
export interface TenantOnboarding {
|
|
1976
1972
|
skipped?: boolean | null;
|
|
1977
1973
|
goal?: TenantOnboardingGoal | null;
|
|
1978
1974
|
application_intent?: TenantOnboardingApplicationIntent | null;
|
|
1975
|
+
domain?: TenantOnboardingDomainIntent | null;
|
|
1979
1976
|
}
|
|
1980
1977
|
export interface TenantMetrics {
|
|
1981
1978
|
application_count: number;
|
|
@@ -2328,6 +2325,7 @@ export interface UpdateTenantRequestBody {
|
|
|
2328
2325
|
onboarding_skipped?: boolean;
|
|
2329
2326
|
onboarding_goal?: TenantOnboardingGoal | null;
|
|
2330
2327
|
logo?: ImageAssetStub | null;
|
|
2328
|
+
onboarding_domain_skipped?: boolean | null;
|
|
2331
2329
|
onboarding_application_intent_skipped?: boolean | null;
|
|
2332
2330
|
onboarding_application_intent?: string | null;
|
|
2333
2331
|
onboarding_application_intent_other_description?: string | null;
|
|
@@ -2907,7 +2905,6 @@ declare class ParraAPI {
|
|
|
2907
2905
|
logoutUserForTenant: (tenant_id: string, options?: Options) => Promise<Response>;
|
|
2908
2906
|
getAuthDatabaseConnectionForTenant: (tenant_id: string, options?: Options) => Promise<AuthDatabaseConnection>;
|
|
2909
2907
|
updateAuthDatabaseConnectionForTenant: (tenant_id: string, body?: UpdateAuthDatabaseConnection, options?: Options) => Promise<AuthDatabaseConnection>;
|
|
2910
|
-
resetPasswordForTenant: (tenant_id: string, body?: ResetPasswordRequestBody, options?: Options) => Promise<Response>;
|
|
2911
2908
|
createPasswordlessSmsConnectionForTenant: (tenant_id: string, body: CreatePasswordlessSmsConnectionBody, options?: Options) => Promise<PasswordlessConnection>;
|
|
2912
2909
|
listPasswordlessConnectionsForTenant: (tenant_id: string, options?: Options) => Promise<Array<PasswordlessConnection>>;
|
|
2913
2910
|
updatePasswordlessConnectionForTenant: (tenant_id: string, passwordless_connection_id: string, body?: UpdatePasswordlessConnectionBody, options?: Options) => Promise<PasswordlessConnection>;
|
|
@@ -2978,7 +2975,7 @@ declare class ParraAPI {
|
|
|
2978
2975
|
}, options?: Options) => Promise<TenantUserCollectionResponse>;
|
|
2979
2976
|
createIdentityForTenantUser: (tenant_id: string, user_id: string, body?: CreateTenantUserIdentityRequestBody, options?: Options) => Promise<Identity>;
|
|
2980
2977
|
deleteIdentityForTenantById: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2981
|
-
|
|
2978
|
+
sendPasswordResetChallengeForIdentity: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2982
2979
|
sendVerificationChallengeForIdentity: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2983
2980
|
getTenantById: (tenant_id: string, query?: {
|
|
2984
2981
|
include?: string;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -853,12 +853,6 @@ var ParraAPI = /** @class */ (function () {
|
|
|
853
853
|
"content-type": "application/json",
|
|
854
854
|
} }, options));
|
|
855
855
|
};
|
|
856
|
-
this.resetPasswordForTenant = function (tenant_id, body, options) {
|
|
857
|
-
if (options === void 0) { options = {}; }
|
|
858
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/auth/password/reset"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
859
|
-
"content-type": "application/json",
|
|
860
|
-
}, raw: true }, options));
|
|
861
|
-
};
|
|
862
856
|
this.createPasswordlessSmsConnectionForTenant = function (tenant_id, body, options) {
|
|
863
857
|
if (options === void 0) { options = {}; }
|
|
864
858
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/auth/passwordless/connections/sms"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
@@ -1073,9 +1067,9 @@ var ParraAPI = /** @class */ (function () {
|
|
|
1073
1067
|
if (options === void 0) { options = {}; }
|
|
1074
1068
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/identities/").concat(identity_id), __assign({ method: "delete" }, options));
|
|
1075
1069
|
};
|
|
1076
|
-
this.
|
|
1070
|
+
this.sendPasswordResetChallengeForIdentity = function (tenant_id, identity_id, options) {
|
|
1077
1071
|
if (options === void 0) { options = {}; }
|
|
1078
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/identities/").concat(identity_id, "/password/reset"), __assign({ method: "post" }, options));
|
|
1072
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/identities/").concat(identity_id, "/password/reset/challenge"), __assign({ method: "post" }, options));
|
|
1079
1073
|
};
|
|
1080
1074
|
this.sendVerificationChallengeForIdentity = function (tenant_id, identity_id, options) {
|
|
1081
1075
|
if (options === void 0) { options = {}; }
|