@sesamy/sesamy-js 1.19.9 → 1.19.11
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/sesamy-js.d.ts +15 -3
- package/package.json +1 -1
package/dist/sesamy-js.d.ts
CHANGED
|
@@ -196,11 +196,23 @@ declare function getSignedLinks(): SignedLink[];
|
|
|
196
196
|
export type Contract = {
|
|
197
197
|
id: string;
|
|
198
198
|
name: string;
|
|
199
|
+
userId: string;
|
|
200
|
+
createdAt: string;
|
|
201
|
+
updatedAt: string;
|
|
199
202
|
price: number;
|
|
203
|
+
nextBillAt?: string;
|
|
204
|
+
nextPrice?: number;
|
|
200
205
|
currency: string;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
206
|
+
manageUrl?: string;
|
|
207
|
+
contractDuration: "RECURRING" | "RENEWABLE" | "PERPETUAL";
|
|
208
|
+
recurringInterval?: "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
209
|
+
recurringTime?: number;
|
|
210
|
+
items: {
|
|
211
|
+
sku: string;
|
|
212
|
+
name: string;
|
|
213
|
+
purchaseOptionId?: string;
|
|
214
|
+
}[];
|
|
215
|
+
status: "DRAFT" | "PENDING" | "FORTHCOMING" | "ACTIVE" | "OVERDUE" | "EXPIRED" | "CLOSED" | "CANCELED" | "DELETED" | "VOIDED";
|
|
204
216
|
};
|
|
205
217
|
export type Bill = {
|
|
206
218
|
id: string;
|