shred-api-client 1.1.19 → 1.1.20

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.
@@ -1,3 +1,4 @@
1
+ import { Subscription } from "./Subscription.schema";
1
2
  type Preferences = {
2
3
  iconUrl: string;
3
4
  logoUrl: string;
@@ -10,9 +11,10 @@ type Tenant = {
10
11
  isActive: boolean;
11
12
  isSubscriptionActive: boolean;
12
13
  preferences: Preferences;
13
- inviteCode?: string;
14
+ inviteCode: string;
14
15
  totalUsersAllowed: number;
15
16
  currentUsersSize?: number;
16
17
  allowedProducts?: string[];
18
+ subscription?: Subscription;
17
19
  };
18
20
  export { Tenant };
@@ -1,10 +1,12 @@
1
1
  import { Product as TProduct, Subscription as TSubscription } from "./model/Subscription.schema";
2
2
  import { User as TUser, Role as TRole } from "./model/User.schema";
3
+ import { Tenant as TTenant } from "./model/Tenant.schema";
3
4
  import { Prompt as TPrompt, Script as TScript, Category as TCategory } from "./model/Prompt.schema";
4
5
  export declare namespace Permissions {
5
6
  type Role = TRole;
6
7
  }
7
8
  export declare namespace Shred {
9
+ type Tenant = TTenant;
8
10
  type Product = TProduct;
9
11
  type Subscription = TSubscription;
10
12
  type User = TUser;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",