@itm-studio/partner-sdk 0.3.8 → 0.4.0
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/README.md +31 -0
- package/dist/index.d.mts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +250 -210
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +250 -210
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +26 -0
package/package.json
CHANGED
package/schema/partner.graphql
CHANGED
|
@@ -724,7 +724,16 @@ type User {
|
|
|
724
724
|
updatedAt: DateTime!
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
+
enum PartnerTicketStatus {
|
|
728
|
+
VALID
|
|
729
|
+
REFUNDED
|
|
730
|
+
CANCELLED
|
|
731
|
+
PENDING
|
|
732
|
+
FAILED
|
|
733
|
+
}
|
|
734
|
+
|
|
727
735
|
type Ticket {
|
|
736
|
+
status: PartnerTicketStatus!
|
|
728
737
|
uid: ID!
|
|
729
738
|
price: Float!
|
|
730
739
|
redeemedAt: DateTime
|
|
@@ -868,6 +877,17 @@ enum EventImportPlatform {
|
|
|
868
877
|
EVENTBRITE
|
|
869
878
|
}
|
|
870
879
|
|
|
880
|
+
"""Exactly one account identifier. Current holders only, scoped to the token brand."""
|
|
881
|
+
input PartnerTicketsForUserInput {
|
|
882
|
+
userUid: String
|
|
883
|
+
email: String
|
|
884
|
+
phoneNumber: String
|
|
885
|
+
momentStatuses: [MomentStatus!]
|
|
886
|
+
ticketStatuses: [PartnerTicketStatus!]
|
|
887
|
+
cursor: String
|
|
888
|
+
take: Int
|
|
889
|
+
}
|
|
890
|
+
|
|
871
891
|
"""
|
|
872
892
|
Match the current ITM ticket owner by exactly one of userUid, email, or phoneNumber.
|
|
873
893
|
For an attendee app, derive this identifier from the authenticated user's verified
|
|
@@ -1670,6 +1690,12 @@ type Query {
|
|
|
1670
1690
|
input: PartnerMomentAttendanceLookupInput!
|
|
1671
1691
|
): PartnerMomentAttendanceStats
|
|
1672
1692
|
|
|
1693
|
+
"""
|
|
1694
|
+
Get paginated tickets currently held by one user across the partner brand.
|
|
1695
|
+
Verify the app user's identity on your server before exposing tickets or QR codes.
|
|
1696
|
+
"""
|
|
1697
|
+
getPartnerTicketsForUser(input: PartnerTicketsForUserInput!): GetTicketsResponse!
|
|
1698
|
+
|
|
1673
1699
|
"""
|
|
1674
1700
|
Get confirmed tickets for a moment owned by the partner token's brand.
|
|
1675
1701
|
Use the user filter when retrieving an attendee's tickets for QR display.
|