wedance-shared 1.0.218 → 1.0.220
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.
|
@@ -41,6 +41,7 @@ export type OrganizerData = {
|
|
|
41
41
|
followersCount?: number;
|
|
42
42
|
eventsCount?: number;
|
|
43
43
|
stripeAccountId?: string | null;
|
|
44
|
+
stripeTerminalLocationId?: string | null;
|
|
44
45
|
/**
|
|
45
46
|
* Merchant-of-Record / legal entity details. When `isMerchantOfRecord` is true
|
|
46
47
|
* AND the legal fields below are complete, the organizer is shown as the seller
|
|
@@ -52,6 +52,9 @@ export interface Transaction {
|
|
|
52
52
|
metadata: Record<string, unknown>;
|
|
53
53
|
createdAt: string;
|
|
54
54
|
updatedAt: string;
|
|
55
|
+
publicReceiptId: string | null;
|
|
56
|
+
receiptNumber: string | null;
|
|
57
|
+
receiptSnapshot: ReceiptSnapshot | null;
|
|
55
58
|
}
|
|
56
59
|
/**
|
|
57
60
|
* A row of the school transactions list. `student` is null when the payer is
|
|
@@ -61,3 +64,19 @@ export type SchoolTransactionListItem = Transaction & {
|
|
|
61
64
|
student: SchoolStudentSummary | null;
|
|
62
65
|
ticketType: TicketTypeSummary | null;
|
|
63
66
|
};
|
|
67
|
+
export type ReceiptSnapshot = {
|
|
68
|
+
merchant: {
|
|
69
|
+
name: string;
|
|
70
|
+
legalName: string | null;
|
|
71
|
+
businessId: string | null;
|
|
72
|
+
vatNumber: string | null;
|
|
73
|
+
};
|
|
74
|
+
items: {
|
|
75
|
+
name: string;
|
|
76
|
+
quantity: number;
|
|
77
|
+
unitAmount: number;
|
|
78
|
+
totalAmount: number;
|
|
79
|
+
vatRate: number | null;
|
|
80
|
+
vatAmount: number | null;
|
|
81
|
+
}[];
|
|
82
|
+
};
|
package/package.json
CHANGED