shred-api-client 1.9.20 → 1.9.21
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.
|
@@ -79,4 +79,15 @@ type Subscription = {
|
|
|
79
79
|
type?: SubscriptionType;
|
|
80
80
|
plan?: Plan;
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
type Charge = {
|
|
83
|
+
id: number;
|
|
84
|
+
created: number;
|
|
85
|
+
paid: boolean;
|
|
86
|
+
receiptUrl: string;
|
|
87
|
+
status: string;
|
|
88
|
+
price: string;
|
|
89
|
+
paymentType: string;
|
|
90
|
+
last4?: string;
|
|
91
|
+
brand?: string;
|
|
92
|
+
};
|
|
93
|
+
export { SubscriptionAPISchema, Product, Subscription, SubscriptionEndpoints, Charge, Plan, };
|
package/dist/namespace.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Product as TProduct, Subscription as TSubscription } from "./model/Subscription.schema";
|
|
1
|
+
import { Product as TProduct, Subscription as TSubscription, Charge as TCharge } from "./model/Subscription.schema";
|
|
2
2
|
import { System as TSystem, User as TUser, Preferences as UserPreferences, Role as TRole } from "./model/User.schema";
|
|
3
3
|
import { Email as TEmail } from "./model/Email.schema";
|
|
4
4
|
import { Asset as TAsset } from "./model/Asset.schema";
|
|
@@ -12,6 +12,7 @@ export declare namespace Shred {
|
|
|
12
12
|
type Tenant = TTenant;
|
|
13
13
|
type Product = TProduct;
|
|
14
14
|
type Subscription = TSubscription;
|
|
15
|
+
type Charge = TCharge;
|
|
15
16
|
type User = TUser;
|
|
16
17
|
type Email = TEmail;
|
|
17
18
|
type System = TSystem;
|