@parra/parra-js-sdk 0.3.197 → 0.3.199
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 +1 -0
- package/dist/ParraAPI.js +4 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -2966,6 +2966,7 @@ declare class ParraAPI {
|
|
|
2966
2966
|
$expand?: string;
|
|
2967
2967
|
$search?: string;
|
|
2968
2968
|
}, options?: Options) => Promise<TenantUserCollectionResponse>;
|
|
2969
|
+
deleteIdentityForTenantById: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2969
2970
|
resetPasswordForIdentity: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2970
2971
|
sendVerificationChallengeForIdentity: (tenant_id: string, identity_id: string, options?: Options) => Promise<Response>;
|
|
2971
2972
|
getTenantById: (tenant_id: string, query?: {
|
package/dist/ParraAPI.js
CHANGED
|
@@ -1063,6 +1063,10 @@ var ParraAPI = /** @class */ (function () {
|
|
|
1063
1063
|
if (options === void 0) { options = {}; }
|
|
1064
1064
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users"), __assign({ method: "get", query: query }, options));
|
|
1065
1065
|
};
|
|
1066
|
+
this.deleteIdentityForTenantById = function (tenant_id, identity_id, options) {
|
|
1067
|
+
if (options === void 0) { options = {}; }
|
|
1068
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/identities/").concat(identity_id), __assign({ method: "delete" }, options));
|
|
1069
|
+
};
|
|
1066
1070
|
this.resetPasswordForIdentity = function (tenant_id, identity_id, options) {
|
|
1067
1071
|
if (options === void 0) { options = {}; }
|
|
1068
1072
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/identities/").concat(identity_id, "/password/reset"), __assign({ method: "post" }, options));
|