wedance-shared 1.0.120 → 1.0.121

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.
@@ -210,3 +210,24 @@ export type MonetaryAmount = {
210
210
  currency: string;
211
211
  unit: "MAJOR" | "MINOR";
212
212
  };
213
+ export type CheckoutClient = "mobile" | "web";
214
+ export type CheckoutMode = "payment" | "setup" | "subscription";
215
+ export type CheckoutSession = {
216
+ id: string;
217
+ amount: number;
218
+ client: CheckoutClient;
219
+ created: Date;
220
+ currency: string;
221
+ customer: string;
222
+ ephemeral_key_secret: string;
223
+ mode: CheckoutMode;
224
+ payment_intent_client_secret: string;
225
+ application_fee_amount: number | null;
226
+ transfer_data_destination: string | null;
227
+ quantity: number;
228
+ event_id: string;
229
+ event_ticket_id: string;
230
+ discount_code: string | null;
231
+ partner_name: string | null;
232
+ test: boolean;
233
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.120",
3
+ "version": "1.0.121",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",