@sesamy/sesamy-js 1.19.9 → 1.19.10

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.
@@ -196,11 +196,21 @@ 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
- status: string;
202
- manageUrl: string;
203
- createdAt: string;
206
+ manageUrl?: string;
207
+ contractDuration: "RECURRING" | "RENEWABLE" | "PERPETUAL";
208
+ items: {
209
+ sku: string;
210
+ name: string;
211
+ purchaseOptionId?: string;
212
+ }[];
213
+ status: "DRAFT" | "PENDING" | "FORTHCOMING" | "ACTIVE" | "OVERDUE" | "EXPIRED" | "CLOSED" | "CANCELED" | "DELETED" | "VOIDED";
204
214
  };
205
215
  export type Bill = {
206
216
  id: string;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "registry": "https://registry.npmjs.org/",
7
7
  "tag": "latest"
8
8
  },
9
- "version": "1.19.9",
9
+ "version": "1.19.10",
10
10
  "main": "dist/sesamy-js.cjs",
11
11
  "module": "dist/sesamy-js.mjs",
12
12
  "types": "dist/sesamy-js.d.ts",