@parra/parra-js-sdk 0.3.205 → 0.3.207
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 +7 -8
- package/dist/ParraAPI.js +0 -6
- 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,15 @@ 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;
|
|
1976
|
+
integration_complete?: boolean | null;
|
|
1979
1977
|
}
|
|
1980
1978
|
export interface TenantMetrics {
|
|
1981
1979
|
application_count: number;
|
|
@@ -2328,12 +2326,14 @@ export interface UpdateTenantRequestBody {
|
|
|
2328
2326
|
onboarding_skipped?: boolean;
|
|
2329
2327
|
onboarding_goal?: TenantOnboardingGoal | null;
|
|
2330
2328
|
logo?: ImageAssetStub | null;
|
|
2329
|
+
onboarding_domain_skipped?: boolean | null;
|
|
2331
2330
|
onboarding_application_intent_skipped?: boolean | null;
|
|
2332
2331
|
onboarding_application_intent?: string | null;
|
|
2333
2332
|
onboarding_application_intent_other_description?: string | null;
|
|
2334
2333
|
onboarding_application_intent_should_notify?: boolean | null;
|
|
2335
2334
|
onboarding_application_intent_app_store_connect_setup?: boolean | null;
|
|
2336
2335
|
onboarding_application_intent_app_store_connect_skipped?: boolean | null;
|
|
2336
|
+
onboarding_integration_complete?: boolean | null;
|
|
2337
2337
|
}
|
|
2338
2338
|
export interface CreateTenantForUserRequestBody {
|
|
2339
2339
|
name: string;
|
|
@@ -2907,7 +2907,6 @@ declare class ParraAPI {
|
|
|
2907
2907
|
logoutUserForTenant: (tenant_id: string, options?: Options) => Promise<Response>;
|
|
2908
2908
|
getAuthDatabaseConnectionForTenant: (tenant_id: string, options?: Options) => Promise<AuthDatabaseConnection>;
|
|
2909
2909
|
updateAuthDatabaseConnectionForTenant: (tenant_id: string, body?: UpdateAuthDatabaseConnection, options?: Options) => Promise<AuthDatabaseConnection>;
|
|
2910
|
-
sendPasswordResetChallengeForTenant: (tenant_id: string, body?: ResetPasswordRequestBody, options?: Options) => Promise<Response>;
|
|
2911
2910
|
createPasswordlessSmsConnectionForTenant: (tenant_id: string, body: CreatePasswordlessSmsConnectionBody, options?: Options) => Promise<PasswordlessConnection>;
|
|
2912
2911
|
listPasswordlessConnectionsForTenant: (tenant_id: string, options?: Options) => Promise<Array<PasswordlessConnection>>;
|
|
2913
2912
|
updatePasswordlessConnectionForTenant: (tenant_id: string, passwordless_connection_id: string, body?: UpdatePasswordlessConnectionBody, options?: Options) => Promise<PasswordlessConnection>;
|
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.sendPasswordResetChallengeForTenant = 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/challenge"), __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: {
|