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