@parra/parra-js-sdk 0.3.201 → 0.3.203
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 +14 -4
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -361,6 +361,7 @@ export interface Identity {
|
|
|
361
361
|
phone_number_verified?: boolean | null;
|
|
362
362
|
username?: string | null;
|
|
363
363
|
external_id?: string | null;
|
|
364
|
+
has_password?: boolean | null;
|
|
364
365
|
}
|
|
365
366
|
export interface TenantUserStub {
|
|
366
367
|
id: string;
|
|
@@ -2312,9 +2313,14 @@ export interface TenantUserCollectionResponse {
|
|
|
2312
2313
|
total_count: number;
|
|
2313
2314
|
data: Array<TenantUserCollectionStub>;
|
|
2314
2315
|
}
|
|
2315
|
-
export interface
|
|
2316
|
-
|
|
2317
|
-
|
|
2316
|
+
export interface CreateTenantUserIdentityRequestBody {
|
|
2317
|
+
identity?: string | null;
|
|
2318
|
+
password?: string | null;
|
|
2319
|
+
username?: string | null;
|
|
2320
|
+
email?: string | null;
|
|
2321
|
+
email_verified?: boolean | null;
|
|
2322
|
+
phone_number?: string | null;
|
|
2323
|
+
phone_number_verified?: boolean | null;
|
|
2318
2324
|
}
|
|
2319
2325
|
export interface UpdateTenantRequestBody {
|
|
2320
2326
|
name?: string;
|
|
@@ -2645,6 +2651,10 @@ export interface UpdateUserRequestBody {
|
|
|
2645
2651
|
role?: string | null;
|
|
2646
2652
|
role_other_description?: string | null;
|
|
2647
2653
|
}
|
|
2654
|
+
export interface CreateIdentityRequestBody {
|
|
2655
|
+
provider: string;
|
|
2656
|
+
provider_user_id: string;
|
|
2657
|
+
}
|
|
2648
2658
|
export interface CreateUserRequestBody {
|
|
2649
2659
|
first_name?: string | null;
|
|
2650
2660
|
last_name?: string | null;
|
|
@@ -2966,7 +2976,7 @@ declare class ParraAPI {
|
|
|
2966
2976
|
$expand?: string;
|
|
2967
2977
|
$search?: string;
|
|
2968
2978
|
}, options?: Options) => Promise<TenantUserCollectionResponse>;
|
|
2969
|
-
createIdentityForTenantUser: (tenant_id: string, user_id: string, body?:
|
|
2979
|
+
createIdentityForTenantUser: (tenant_id: string, user_id: string, body?: CreateTenantUserIdentityRequestBody, options?: Options) => Promise<Identity>;
|
|
2970
2980
|
deleteIdentityForTenantById: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2971
2981
|
resetPasswordForIdentity: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2972
2982
|
sendVerificationChallengeForIdentity: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|