@parra/parra-js-sdk 0.2.139 → 0.2.140

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.
@@ -1153,6 +1153,7 @@ declare class ParraAPI {
1153
1153
  $expand?: string | undefined;
1154
1154
  $search?: string | undefined;
1155
1155
  } | undefined) => Promise<TenantUserCollectionResponse>;
1156
+ getUserForTenantById: (tenant_id: string, user_id: string) => Promise<TenantUser>;
1156
1157
  createTenantForUserById: (user_id: string, body?: CreateTenantForUserRequestBody | undefined) => Promise<Tenant>;
1157
1158
  getTenantsForUserById: (user_id: string) => Promise<TenantListResponse>;
1158
1159
  createApiKeyForTenantById: (tenant_id: string, body?: CreateApiKeyRequestBody | undefined) => Promise<ApiKeyWithSecretResponse>;
package/dist/ParraAPI.js CHANGED
@@ -188,6 +188,11 @@ var ParraAPI = /** @class */ (function () {
188
188
  query: query,
189
189
  });
190
190
  };
191
+ this.getUserForTenantById = function (tenant_id, user_id) {
192
+ return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/").concat(user_id), {
193
+ method: "get",
194
+ });
195
+ };
191
196
  this.createTenantForUserById = function (user_id, body) {
192
197
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/").concat(user_id, "/tenants"), {
193
198
  method: "post",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.139",
3
+ "version": "0.2.140",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",