shred-api-client 1.3.6 → 1.3.7

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.
@@ -58,6 +58,7 @@ type Subscription = {
58
58
  currentPeriodEnd?: number;
59
59
  paymentMethodId?: string;
60
60
  productName: string;
61
+ product: Product;
61
62
  type?: SubscriptionType;
62
63
  plan?: Plan;
63
64
  };
@@ -1,4 +1,4 @@
1
- import { Product as TProduct, Subscription as TSubscription } from "./model/Subscription.schema";
1
+ import { Product as TProduct, SubscriptionType as TSubscriptionType, Subscription as TSubscription } from "./model/Subscription.schema";
2
2
  import { System as TSystem, User as TUser, Role as TRole } from "./model/User.schema";
3
3
  import { Email as TEmail } from "./model/Email.schema";
4
4
  import { Tenant as TTenant } from "./model/Tenant.schema";
@@ -10,6 +10,7 @@ export declare namespace Shred {
10
10
  type Tenant = TTenant;
11
11
  type Product = TProduct;
12
12
  type Subscription = TSubscription;
13
+ type SubscriptionType = TSubscriptionType;
13
14
  type User = TUser;
14
15
  type Email = TEmail;
15
16
  type System = TSystem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",