@itm-studio/partner-sdk 0.2.7 → 0.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itm-studio/partner-sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "TypeScript SDK for the ITM Partner API — typed GraphQL client with zero introspection required",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -504,6 +504,69 @@ type PartnerMomentStats {
504
504
  ticketRsvpRequestsCount: Int!
505
505
  }
506
506
 
507
+ type PartnerMomentAttendanceCount {
508
+ total: Int!
509
+ checkedIn: Int!
510
+ }
511
+
512
+ type PartnerMomentTicketTierAttendance {
513
+ total: Int!
514
+ checkedIn: Int!
515
+ tierUid: String!
516
+ name: String!
517
+ label: String
518
+ }
519
+
520
+ type PartnerMomentTicketAttendance {
521
+ total: Int!
522
+ checkedIn: Int!
523
+ tiers: [PartnerMomentTicketTierAttendance!]!
524
+ }
525
+
526
+ type PartnerMomentGuestlistLabelAttendance {
527
+ total: Int!
528
+ checkedIn: Int!
529
+ labelUid: String!
530
+ name: String!
531
+ }
532
+
533
+ type PartnerMomentGuestlistAttendance {
534
+ total: Int!
535
+ checkedIn: Int!
536
+ unlabeled: PartnerMomentAttendanceCount!
537
+ labels: [PartnerMomentGuestlistLabelAttendance!]!
538
+ }
539
+
540
+ type PartnerMomentAttendanceStats {
541
+ momentUid: String!
542
+ momentSlug: String!
543
+ generatedAt: DateTime!
544
+ tickets: PartnerMomentTicketAttendance!
545
+ guestlist: PartnerMomentGuestlistAttendance!
546
+ }
547
+
548
+ enum EventImportPlatform {
549
+ EVENTBRITE
550
+ }
551
+
552
+ input PartnerMomentAttendanceLookupInput {
553
+ """
554
+ ITM moment UID. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId.
555
+ """
556
+ momentUid: String
557
+
558
+ """
559
+ ITM moment slug. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId.
560
+ """
561
+ momentSlug: String
562
+
563
+ """Source platform for externalId, for example EVENTBRITE."""
564
+ externalPlatform: EventImportPlatform
565
+
566
+ """Opaque source-platform event ID. Must be provided together with externalPlatform."""
567
+ externalId: String
568
+ }
569
+
507
570
  type MomentCollectionLink {
508
571
  uid: ID!
509
572
  url: String!
@@ -924,6 +987,15 @@ type Query {
924
987
  """
925
988
  getPartnerMomentStats(momentSlug: String!): PartnerMomentStats
926
989
 
990
+ """
991
+ Get a cached attendance snapshot for a partner-owned moment; counts can be
992
+ up to five minutes old. Look up by exactly one of momentUid, momentSlug, or
993
+ externalPlatform with externalId. Returns null when no owned moment matches.
994
+ """
995
+ getPartnerMomentAttendanceStats(
996
+ input: PartnerMomentAttendanceLookupInput!
997
+ ): PartnerMomentAttendanceStats
998
+
927
999
  """
928
1000
  Get paginated tickets for a moment.
929
1001
  """