@itm-studio/partner-sdk 0.3.6 → 0.3.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/dist/index.d.mts CHANGED
@@ -87,6 +87,8 @@ interface ContributionPageAdmin {
87
87
  updatedAt: Scalars['DateTime'];
88
88
  __typename: 'ContributionPageAdmin';
89
89
  }
90
+ type ContributionSource = 'STRIPE' | 'OFF_SITE' | 'POS';
91
+ type ManualContributionReceiptType = 'REGULAR' | 'DONATION';
90
92
  /**
91
93
  * A single contribution to one of the brand's contribution pages.
92
94
  * Only SUCCEEDED contributions represent confirmed money.
@@ -97,7 +99,11 @@ interface ContributionAdmin {
97
99
  /** Page title snapshotted at checkout. */
98
100
  pageTitle: Scalars['String'];
99
101
  donorName: Scalars['String'];
100
- donorEmail: Scalars['String'];
102
+ donorEmail: (Scalars['String'] | null);
103
+ donorPhoneNumber: (Scalars['String'] | null);
104
+ source: ContributionSource;
105
+ userUid: (Scalars['String'] | null);
106
+ manualReceiptType: (ManualContributionReceiptType | null);
101
107
  /** Note left by the contributor at checkout; null when none was given. */
102
108
  note: (Scalars['String'] | null);
103
109
  currencyCode: Scalars['String'];
@@ -142,6 +148,18 @@ interface Venue {
142
148
  updatedAt: Scalars['DateTime'];
143
149
  __typename: 'Venue';
144
150
  }
151
+ /**
152
+ * Public location text for a moment, without the venue name or street address.
153
+ * Available even when the full venue is hidden until RSVP.
154
+ */
155
+ interface MomentPublicVenuePreview {
156
+ city: Scalars['String'];
157
+ /** Display country label; use countryCode when an ISO country code is needed. */
158
+ country: Scalars['String'];
159
+ /** ISO country code when available. */
160
+ countryCode: (Scalars['String'] | null);
161
+ __typename: 'MomentPublicVenuePreview';
162
+ }
145
163
  /**
146
164
  * A slim projection of the cover image media asset.
147
165
  * Only the publicly useful fields (URL and MIME type) are exposed.
@@ -197,7 +215,10 @@ interface Moment {
197
215
  lineupDisplayLabel: MomentLineupDisplayLabel;
198
216
  /** Cover image for the moment. Null if no cover image is set. */
199
217
  coverImage: MomentCoverImage;
218
+ /** Full venue details. Null when no venue is set or the caller cannot reveal it. */
200
219
  venue: (Venue | null);
220
+ /** Public city/country location text. Null when no venue is set. */
221
+ publicVenuePreview: (MomentPublicVenuePreview | null);
201
222
  /** Public tag assignments owned by the authenticated partner's brand. */
202
223
  momentTags: GetMomentTagAssignmentsResponse;
203
224
  ticketTiers: TicketTier[];
@@ -256,6 +277,13 @@ interface Ticket {
256
277
  uid: Scalars['ID'];
257
278
  price: Scalars['Float'];
258
279
  redeemedAt: (Scalars['DateTime'] | null);
280
+ /**
281
+ * Opaque ticket payload to encode unchanged as a QR image for ITM scanners.
282
+ * This is not an image URL. No decryption key is needed to render it.
283
+ * Fetch on a trusted server, verify the app user's current ticket ownership,
284
+ * and refetch before display because transfers can rotate the payload.
285
+ * Rendering a QR does not establish admission eligibility; ITM validates it at scan time.
286
+ */
259
287
  encryptedQRCode: Scalars['String'];
260
288
  notes: (Scalars['String'] | null);
261
289
  externalId: (Scalars['String'] | null);
@@ -782,7 +810,101 @@ interface AgentMediaUploadReservation {
782
810
  mediaAsset: (MediaAsset | null);
783
811
  __typename: 'AgentMediaUploadReservation';
784
812
  }
813
+ type MembershipBillingInterval = 'MONTHLY' | 'MONTHLY_OR_YEARLY' | 'YEARLY';
814
+ type MembershipExpiryType = 'FIXED_DATE' | 'NO_EXPIRY' | 'ROLLING';
815
+ type MembershipPassType = 'ONE_TIME' | 'RECURRING' | 'RECURRING_OR_ONE_TIME';
816
+ type MembershipPurchaseType = 'ONE_TIME' | 'RECURRING';
817
+ type MembershipSource = 'ADMIN_GRANT' | 'IMPORT' | 'PURCHASE';
818
+ type MembershipStatus = 'ACTIVE' | 'CANCELLED' | 'EXPIRED' | 'PAST_DUE' | 'PENDING' | 'REFUNDED';
819
+ interface GetPartnerMembersResponse {
820
+ hasNextPage: Scalars['Boolean'];
821
+ members: PartnerMember[];
822
+ nextCursor: (Scalars['String'] | null);
823
+ totalCount: Scalars['Int'];
824
+ __typename: 'GetPartnerMembersResponse';
825
+ }
826
+ interface GetPartnerMembershipTiersResponse {
827
+ hasNextPage: Scalars['Boolean'];
828
+ membershipTiers: PartnerMembershipTier[];
829
+ nextCursor: (Scalars['String'] | null);
830
+ totalCount: Scalars['Int'];
831
+ __typename: 'GetPartnerMembershipTiersResponse';
832
+ }
833
+ interface PartnerMember {
834
+ billingInterval: (MembershipBillingInterval | null);
835
+ cancelAtPeriodEnd: Scalars['Boolean'];
836
+ cancelledAt: (Scalars['DateTime'] | null);
837
+ createdAt: Scalars['DateTime'];
838
+ currentPeriodEnd: (Scalars['DateTime'] | null);
839
+ currentPeriodStart: (Scalars['DateTime'] | null);
840
+ customer: PartnerMemberCustomer;
841
+ /** First issuance time; falls back to createdAt for legacy rows */
842
+ issuedAt: Scalars['DateTime'];
843
+ membershipNumber: (Scalars['Int'] | null);
844
+ membershipTier: PartnerMemberTier;
845
+ purchaseType: (MembershipPurchaseType | null);
846
+ quantity: Scalars['Int'];
847
+ refundedAt: (Scalars['DateTime'] | null);
848
+ /** Uses the member can redeem now; null means unlimited */
849
+ remainingUses: (Scalars['Int'] | null);
850
+ source: MembershipSource;
851
+ status: MembershipStatus;
852
+ uid: Scalars['ID'];
853
+ updatedAt: Scalars['DateTime'];
854
+ __typename: 'PartnerMember';
855
+ }
856
+ interface PartnerMemberCustomer {
857
+ email: (Scalars['String'] | null);
858
+ emailVerified: Scalars['Boolean'];
859
+ name: (Scalars['String'] | null);
860
+ phoneNumber: (Scalars['String'] | null);
861
+ uid: Scalars['String'];
862
+ __typename: 'PartnerMemberCustomer';
863
+ }
864
+ interface PartnerMemberTier {
865
+ name: Scalars['String'];
866
+ passType: MembershipPassType;
867
+ slug: Scalars['String'];
868
+ uid: Scalars['String'];
869
+ __typename: 'PartnerMemberTier';
870
+ }
871
+ interface PartnerMembershipTier {
872
+ /** Memberships currently ACTIVE or PAST_DUE on this tier */
873
+ activeMemberCount: Scalars['Int'];
874
+ benefits: Scalars['String'][];
875
+ billingInterval: (MembershipBillingInterval | null);
876
+ createdAt: Scalars['DateTime'];
877
+ /** ISO 4217 currency code */
878
+ currencyCode: Scalars['String'];
879
+ description: (Scalars['String'] | null);
880
+ durationDays: (Scalars['Int'] | null);
881
+ expiryType: (MembershipExpiryType | null);
882
+ fixedEndDate: (Scalars['DateTime'] | null);
883
+ isActive: Scalars['Boolean'];
884
+ isPublic: Scalars['Boolean'];
885
+ memberLimit: (Scalars['Int'] | null);
886
+ name: Scalars['String'];
887
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
888
+ oneTimePrice: (Scalars['Int'] | null);
889
+ passType: MembershipPassType;
890
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
891
+ price: Scalars['Int'];
892
+ slug: Scalars['String'];
893
+ sortOrder: Scalars['Int'];
894
+ supplyCap: (Scalars['Int'] | null);
895
+ totalUses: (Scalars['Int'] | null);
896
+ trialDays: Scalars['Int'];
897
+ uid: Scalars['ID'];
898
+ updatedAt: Scalars['DateTime'];
899
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
900
+ yearlyPrice: (Scalars['Int'] | null);
901
+ __typename: 'PartnerMembershipTier';
902
+ }
785
903
  interface Query {
904
+ /** List the authenticated partner brand's membership rows; PENDING is excluded by default. */
905
+ getPartnerMembers: GetPartnerMembersResponse;
906
+ /** List the authenticated partner brand's non-deleted membership tiers, including inactive and private tiers. */
907
+ getPartnerMembershipTiers: GetPartnerMembershipTiersResponse;
786
908
  /** Get the authenticated agent operator email for the approval preview. Requires a brand-agent session with SEND_EMAIL; unavailable to partner API keys. */
787
909
  getPartnerAgentEmailContext: BrandAgentEmailContext;
788
910
  getAgentMediaUpload: AgentMediaUploadReservation;
@@ -817,7 +939,12 @@ interface Query {
817
939
  * externalPlatform with externalId. Returns null when no owned moment matches.
818
940
  */
819
941
  getPartnerMomentAttendanceStats: (PartnerMomentAttendanceStats | null);
820
- /** Get paginated tickets for a moment. */
942
+ /**
943
+ * Get confirmed tickets for a moment owned by the partner token's brand.
944
+ * Use the user filter when retrieving an attendee's tickets for QR display.
945
+ * The partner token authorizes brand access, not the app user's identity.
946
+ * Follow hasNextPage/nextCursor to retrieve every ticket.
947
+ */
821
948
  getPartnerTicketsForMoment: GetTicketsResponse;
822
949
  /**
823
950
  * Get paginated customers (users with tickets) for a moment.
@@ -923,6 +1050,8 @@ interface CreatePartnerBrandSubscriptionResponse {
923
1050
  __typename: 'CreatePartnerBrandSubscriptionResponse';
924
1051
  }
925
1052
  interface Mutation {
1053
+ /** Log a payment received off-site. Brand scope comes from the authenticated token or agent session. Amount is in ITM cents (major units times 100). Retain requestUid across retries. */
1054
+ createPartnerManualContribution: ContributionAdmin;
926
1055
  reserveAgentMediaUpload: AgentMediaUploadReservation;
927
1056
  finishAgentMediaUpload: Scalars['Boolean'];
928
1057
  /**
@@ -935,6 +1064,8 @@ interface Mutation {
935
1064
  * Call after uploading to S3 via the presigned URL from getPartnerUploadUrl.
936
1065
  */
937
1066
  createPartnerMediaAsset: MediaAsset;
1067
+ /** Create a SUBSCRIBE drop for the authenticated partner brand. */
1068
+ createPartnerBrandDrop: BrandDrop;
938
1069
  /**
939
1070
  * Subscribe a user to the authenticated partner brand.
940
1071
  * Set requireOtpVerification to true to start a two-step OTP flow.
@@ -1180,6 +1311,17 @@ interface ContributionPageAdminGenqlSelection {
1180
1311
  __typename?: boolean | number;
1181
1312
  __scalar?: boolean | number;
1182
1313
  }
1314
+ interface CreateManualContributionInput {
1315
+ sendReceipt?: (Scalars['Boolean'] | null);
1316
+ currencyCode: Scalars['String'];
1317
+ contributionPageUid: Scalars['String'];
1318
+ amountCents: Scalars['Int'];
1319
+ requestUid: Scalars['String'];
1320
+ name: Scalars['String'];
1321
+ email?: (Scalars['String'] | null);
1322
+ phoneNumber?: (Scalars['String'] | null);
1323
+ note?: (Scalars['String'] | null);
1324
+ }
1183
1325
  /**
1184
1326
  * A single contribution to one of the brand's contribution pages.
1185
1327
  * Only SUCCEEDED contributions represent confirmed money.
@@ -1191,6 +1333,10 @@ interface ContributionAdminGenqlSelection {
1191
1333
  pageTitle?: boolean | number;
1192
1334
  donorName?: boolean | number;
1193
1335
  donorEmail?: boolean | number;
1336
+ donorPhoneNumber?: boolean | number;
1337
+ source?: boolean | number;
1338
+ userUid?: boolean | number;
1339
+ manualReceiptType?: boolean | number;
1194
1340
  /** Note left by the contributor at checkout; null when none was given. */
1195
1341
  note?: boolean | number;
1196
1342
  currencyCode?: boolean | number;
@@ -1238,6 +1384,19 @@ interface VenueGenqlSelection {
1238
1384
  __typename?: boolean | number;
1239
1385
  __scalar?: boolean | number;
1240
1386
  }
1387
+ /**
1388
+ * Public location text for a moment, without the venue name or street address.
1389
+ * Available even when the full venue is hidden until RSVP.
1390
+ */
1391
+ interface MomentPublicVenuePreviewGenqlSelection {
1392
+ city?: boolean | number;
1393
+ /** Display country label; use countryCode when an ISO country code is needed. */
1394
+ country?: boolean | number;
1395
+ /** ISO country code when available. */
1396
+ countryCode?: boolean | number;
1397
+ __typename?: boolean | number;
1398
+ __scalar?: boolean | number;
1399
+ }
1241
1400
  /**
1242
1401
  * A slim projection of the cover image media asset.
1243
1402
  * Only the publicly useful fields (URL and MIME type) are exposed.
@@ -1301,7 +1460,10 @@ interface MomentGenqlSelection {
1301
1460
  lineupDisplayLabel?: boolean | number;
1302
1461
  /** Cover image for the moment. Null if no cover image is set. */
1303
1462
  coverImage?: MomentCoverImageGenqlSelection;
1463
+ /** Full venue details. Null when no venue is set or the caller cannot reveal it. */
1304
1464
  venue?: VenueGenqlSelection;
1465
+ /** Public city/country location text. Null when no venue is set. */
1466
+ publicVenuePreview?: MomentPublicVenuePreviewGenqlSelection;
1305
1467
  /** Public tag assignments owned by the authenticated partner's brand. */
1306
1468
  momentTags?: (GetMomentTagAssignmentsResponseGenqlSelection & {
1307
1469
  __args?: {
@@ -1369,6 +1531,13 @@ interface TicketGenqlSelection {
1369
1531
  uid?: boolean | number;
1370
1532
  price?: boolean | number;
1371
1533
  redeemedAt?: boolean | number;
1534
+ /**
1535
+ * Opaque ticket payload to encode unchanged as a QR image for ITM scanners.
1536
+ * This is not an image URL. No decryption key is needed to render it.
1537
+ * Fetch on a trusted server, verify the app user's current ticket ownership,
1538
+ * and refetch before display because transfers can rotate the payload.
1539
+ * Rendering a QR does not establish admission eligibility; ITM validates it at scan time.
1540
+ */
1372
1541
  encryptedQRCode?: boolean | number;
1373
1542
  notes?: boolean | number;
1374
1543
  externalId?: boolean | number;
@@ -1505,6 +1674,16 @@ interface PartnerMomentAttendanceStatsGenqlSelection {
1505
1674
  __typename?: boolean | number;
1506
1675
  __scalar?: boolean | number;
1507
1676
  }
1677
+ /**
1678
+ * Match the current ITM ticket owner by exactly one of userUid, email, or phoneNumber.
1679
+ * For an attendee app, derive this identifier from the authenticated user's verified
1680
+ * ITM account association on your server; a caller-supplied identifier is not proof of ownership.
1681
+ */
1682
+ interface PartnerTicketUserLookupInput {
1683
+ userUid?: (Scalars['String'] | null);
1684
+ email?: (Scalars['String'] | null);
1685
+ phoneNumber?: (Scalars['String'] | null);
1686
+ }
1508
1687
  interface PartnerMomentAttendanceLookupInput {
1509
1688
  /** ITM moment UID. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId. */
1510
1689
  momentUid?: (Scalars['String'] | null);
@@ -1996,7 +2175,145 @@ interface AgentMediaUploadReservationGenqlSelection {
1996
2175
  __typename?: boolean | number;
1997
2176
  __scalar?: boolean | number;
1998
2177
  }
2178
+ interface GetPartnerMembersInput {
2179
+ /** Only memberships set (or not set) to cancel at period end */
2180
+ cancelAtPeriodEnd?: (Scalars['Boolean'] | null);
2181
+ /** Membership created strictly before this instant */
2182
+ createdAtBefore?: (Scalars['DateTime'] | null);
2183
+ /** Membership created at or after this instant */
2184
+ createdAtFrom?: (Scalars['DateTime'] | null);
2185
+ /** Current period ends strictly before this instant (e.g. expiring soon) */
2186
+ currentPeriodEndBefore?: (Scalars['DateTime'] | null);
2187
+ /** Current period ends at or after this instant */
2188
+ currentPeriodEndFrom?: (Scalars['DateTime'] | null);
2189
+ /** Cursor UID returned as nextCursor by the previous page */
2190
+ cursor?: (Scalars['String'] | null);
2191
+ /** Restrict to these customer UIDs (PartnerMemberCustomer.uid, same as getPartnerAudience customer uid) */
2192
+ customerUids?: (Scalars['String'][] | null);
2193
+ /** Restrict to these membership tier UIDs (must belong to the brand) */
2194
+ membershipTierUids?: (Scalars['String'][] | null);
2195
+ /** Case-insensitive search over member name, email, phone number, or exact membership number */
2196
+ search?: (Scalars['String'] | null);
2197
+ sources?: (MembershipSource[] | null);
2198
+ /** Membership statuses to include. Omit for every status except PENDING (unpaid checkout reservations). */
2199
+ statuses?: (MembershipStatus[] | null);
2200
+ /** Page size. Defaults to 50, maximum 100. */
2201
+ take?: (Scalars['Int'] | null);
2202
+ }
2203
+ interface GetPartnerMembersResponseGenqlSelection {
2204
+ hasNextPage?: boolean | number;
2205
+ members?: PartnerMemberGenqlSelection;
2206
+ nextCursor?: boolean | number;
2207
+ totalCount?: boolean | number;
2208
+ __typename?: boolean | number;
2209
+ __scalar?: boolean | number;
2210
+ }
2211
+ interface GetPartnerMembershipTiersInput {
2212
+ /** Cursor UID returned as nextCursor by the previous page */
2213
+ cursor?: (Scalars['String'] | null);
2214
+ isActive?: (Scalars['Boolean'] | null);
2215
+ isPublic?: (Scalars['Boolean'] | null);
2216
+ passTypes?: (MembershipPassType[] | null);
2217
+ /** Case-insensitive search over tier name and slug */
2218
+ search?: (Scalars['String'] | null);
2219
+ /** Page size. Defaults to 50, maximum 100. */
2220
+ take?: (Scalars['Int'] | null);
2221
+ }
2222
+ interface GetPartnerMembershipTiersResponseGenqlSelection {
2223
+ hasNextPage?: boolean | number;
2224
+ membershipTiers?: PartnerMembershipTierGenqlSelection;
2225
+ nextCursor?: boolean | number;
2226
+ totalCount?: boolean | number;
2227
+ __typename?: boolean | number;
2228
+ __scalar?: boolean | number;
2229
+ }
2230
+ interface PartnerMemberGenqlSelection {
2231
+ billingInterval?: boolean | number;
2232
+ cancelAtPeriodEnd?: boolean | number;
2233
+ cancelledAt?: boolean | number;
2234
+ createdAt?: boolean | number;
2235
+ currentPeriodEnd?: boolean | number;
2236
+ currentPeriodStart?: boolean | number;
2237
+ customer?: PartnerMemberCustomerGenqlSelection;
2238
+ /** First issuance time; falls back to createdAt for legacy rows */
2239
+ issuedAt?: boolean | number;
2240
+ membershipNumber?: boolean | number;
2241
+ membershipTier?: PartnerMemberTierGenqlSelection;
2242
+ purchaseType?: boolean | number;
2243
+ quantity?: boolean | number;
2244
+ refundedAt?: boolean | number;
2245
+ /** Uses the member can redeem now; null means unlimited */
2246
+ remainingUses?: boolean | number;
2247
+ source?: boolean | number;
2248
+ status?: boolean | number;
2249
+ uid?: boolean | number;
2250
+ updatedAt?: boolean | number;
2251
+ __typename?: boolean | number;
2252
+ __scalar?: boolean | number;
2253
+ }
2254
+ interface PartnerMemberCustomerGenqlSelection {
2255
+ email?: boolean | number;
2256
+ emailVerified?: boolean | number;
2257
+ name?: boolean | number;
2258
+ phoneNumber?: boolean | number;
2259
+ uid?: boolean | number;
2260
+ __typename?: boolean | number;
2261
+ __scalar?: boolean | number;
2262
+ }
2263
+ interface PartnerMemberTierGenqlSelection {
2264
+ name?: boolean | number;
2265
+ passType?: boolean | number;
2266
+ slug?: boolean | number;
2267
+ uid?: boolean | number;
2268
+ __typename?: boolean | number;
2269
+ __scalar?: boolean | number;
2270
+ }
2271
+ interface PartnerMembershipTierGenqlSelection {
2272
+ /** Memberships currently ACTIVE or PAST_DUE on this tier */
2273
+ activeMemberCount?: boolean | number;
2274
+ benefits?: boolean | number;
2275
+ billingInterval?: boolean | number;
2276
+ createdAt?: boolean | number;
2277
+ /** ISO 4217 currency code */
2278
+ currencyCode?: boolean | number;
2279
+ description?: boolean | number;
2280
+ durationDays?: boolean | number;
2281
+ expiryType?: boolean | number;
2282
+ fixedEndDate?: boolean | number;
2283
+ isActive?: boolean | number;
2284
+ isPublic?: boolean | number;
2285
+ memberLimit?: boolean | number;
2286
+ name?: boolean | number;
2287
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
2288
+ oneTimePrice?: boolean | number;
2289
+ passType?: boolean | number;
2290
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
2291
+ price?: boolean | number;
2292
+ slug?: boolean | number;
2293
+ sortOrder?: boolean | number;
2294
+ supplyCap?: boolean | number;
2295
+ totalUses?: boolean | number;
2296
+ trialDays?: boolean | number;
2297
+ uid?: boolean | number;
2298
+ updatedAt?: boolean | number;
2299
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
2300
+ yearlyPrice?: boolean | number;
2301
+ __typename?: boolean | number;
2302
+ __scalar?: boolean | number;
2303
+ }
1999
2304
  interface QueryGenqlSelection {
2305
+ /** List the authenticated partner brand's membership rows; PENDING is excluded by default. */
2306
+ getPartnerMembers?: (GetPartnerMembersResponseGenqlSelection & {
2307
+ __args?: {
2308
+ input?: (GetPartnerMembersInput | null);
2309
+ };
2310
+ });
2311
+ /** List the authenticated partner brand's non-deleted membership tiers, including inactive and private tiers. */
2312
+ getPartnerMembershipTiers?: (GetPartnerMembershipTiersResponseGenqlSelection & {
2313
+ __args?: {
2314
+ input?: (GetPartnerMembershipTiersInput | null);
2315
+ };
2316
+ });
2000
2317
  /** Get the authenticated agent operator email for the approval preview. Requires a brand-agent session with SEND_EMAIL; unavailable to partner API keys. */
2001
2318
  getPartnerAgentEmailContext?: BrandAgentEmailContextGenqlSelection;
2002
2319
  getAgentMediaUpload?: (AgentMediaUploadReservationGenqlSelection & {
@@ -2079,15 +2396,23 @@ interface QueryGenqlSelection {
2079
2396
  input: PartnerMomentAttendanceLookupInput;
2080
2397
  };
2081
2398
  });
2082
- /** Get paginated tickets for a moment. */
2399
+ /**
2400
+ * Get confirmed tickets for a moment owned by the partner token's brand.
2401
+ * Use the user filter when retrieving an attendee's tickets for QR display.
2402
+ * The partner token authorizes brand access, not the app user's identity.
2403
+ * Follow hasNextPage/nextCursor to retrieve every ticket.
2404
+ */
2083
2405
  getPartnerTicketsForMoment?: (GetTicketsResponseGenqlSelection & {
2084
2406
  __args: {
2085
2407
  momentSlug: Scalars['String'];
2086
2408
  /** Cursor UID for pagination */
2087
2409
  cursor?: (Scalars['String'] | null);
2410
+ /** Page size. Defaults to 50; maximum 100. */
2088
2411
  take?: (Scalars['Int'] | null);
2089
2412
  /** Filter by check-in status */
2090
2413
  checkedIn?: (Scalars['Boolean'] | null);
2414
+ /** Match the current ticket owner by exactly one of userUid, email, or phoneNumber. */
2415
+ user?: (PartnerTicketUserLookupInput | null);
2091
2416
  };
2092
2417
  });
2093
2418
  /**
@@ -2467,7 +2792,24 @@ interface PostSubscriptionMessageInput {
2467
2792
  email?: (PostSubscriptionEmailInput | null);
2468
2793
  push?: (PostSubscriptionPushInput | null);
2469
2794
  }
2795
+ interface CreatePartnerBrandDropInput {
2796
+ name: Scalars['String'];
2797
+ subtitle?: (Scalars['String'] | null);
2798
+ disclosures?: (Scalars['String'] | null);
2799
+ isPublic?: (Scalars['Boolean'] | null);
2800
+ /** Only SUBSCRIBE is supported for partner-created drops. */
2801
+ ctaType: BrandDropCtaType;
2802
+ captureName?: (Scalars['Boolean'] | null);
2803
+ captureEmail?: (Scalars['Boolean'] | null);
2804
+ consentText?: (Scalars['String'] | null);
2805
+ /** Active image asset belonging to the authenticated brand. */
2806
+ coverImageUid: Scalars['String'];
2807
+ coverImageMobileUid?: (Scalars['String'] | null);
2808
+ brandListUids?: (Scalars['String'][] | null);
2809
+ }
2470
2810
  interface CreatePartnerBrandSubscriptionInput {
2811
+ /** Optional SUBSCRIBE drop UID belonging to the authenticated partner brand. */
2812
+ dropUid?: (Scalars['String'] | null);
2471
2813
  compliance?: (SubscriptionComplianceInput | null);
2472
2814
  /**
2473
2815
  * Exact opt-in disclosure the subscriber accepted, stored as consent evidence
@@ -2545,6 +2887,12 @@ interface CreatePartnerBrandSubscriptionResponseGenqlSelection {
2545
2887
  __scalar?: boolean | number;
2546
2888
  }
2547
2889
  interface MutationGenqlSelection {
2890
+ /** Log a payment received off-site. Brand scope comes from the authenticated token or agent session. Amount is in ITM cents (major units times 100). Retain requestUid across retries. */
2891
+ createPartnerManualContribution?: (ContributionAdminGenqlSelection & {
2892
+ __args: {
2893
+ input: CreateManualContributionInput;
2894
+ };
2895
+ });
2548
2896
  reserveAgentMediaUpload?: (AgentMediaUploadReservationGenqlSelection & {
2549
2897
  __args: {
2550
2898
  input: ReserveAgentMediaUploadInput;
@@ -2581,6 +2929,12 @@ interface MutationGenqlSelection {
2581
2929
  reservationUid?: (Scalars['String'] | null);
2582
2930
  };
2583
2931
  });
2932
+ /** Create a SUBSCRIBE drop for the authenticated partner brand. */
2933
+ createPartnerBrandDrop?: (BrandDropGenqlSelection & {
2934
+ __args: {
2935
+ input: CreatePartnerBrandDropInput;
2936
+ };
2937
+ });
2584
2938
  /**
2585
2939
  * Subscribe a user to the authenticated partner brand.
2586
2940
  * Set requireOtpVerification to true to start a two-step OTP flow.
@@ -3172,4 +3526,4 @@ type ITMPartnerClient = Client;
3172
3526
  */
3173
3527
  declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
3174
3528
 
3175
- export { type AgentThreadSeedContext, type ApplyDynamicPricingInput, type BrandAgentEmailMessageInput, type BrandAgentEmailSendBatch, type BrandAgentEmailSendBatchStatus, type BrandAgentEmailSendMessage, type BrandAgentEmailSendMessageStatus, type BrandDrop, type BrandDropCtaType, type BrandDropMusicLink, type BrandSubscription, type ConsentStatus, type ContributionAdmin, type ContributionPageAdmin, type ContributionPageStatusFilter, type ContributionPagesResponse, type ContributionStatus, type ContributionsResponse, type CreateMomentOnlineConfigInput, type CreatePartnerBrandSubscriptionInput, type CreatePartnerBrandSubscriptionResponse, type CreatePartnerMomentInput, type CreatePartnerTicketTierInput, type CreatePlanBudgetInput, type CreatePlanInput, type Currency, DEFAULT_API_URL, type Dimensions, type DimensionsInput, type DynamicPricingActorType, type DynamicPricingAdmissionWindow, type DynamicPricingBatch, type DynamicPricingBatchEvent, type DynamicPricingBatchEventType, type DynamicPricingBatchItem, type DynamicPricingBatchItemStatus, type DynamicPricingBatchStatus, type DynamicPricingContext, type DynamicPricingExecutionMode, type DynamicPricingInventoryGuardInput, type DynamicPricingInventoryGuardMode, type DynamicPricingInventoryMetric, type DynamicPricingMomentInput, type DynamicPricingTierContext, type DynamicPricingTierUpdateInput, type Echo, type EchoMediaAsset, type EchoType, type EditPartnerTicketTiersForMomentInput, type EventImportPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerMediaAssetsInput, type GetPartnerMediaAssetsResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, type GetPlansInput, type GetPlansResponse, type GetPublicMomentsResponse, type GetTicketsResponse, type ITMPartnerAgentAccessConfig, type ITMPartnerAgentAccessCredentials, type ITMPartnerAgentSessionConfig, type ITMPartnerAgentSessionCredentials, type ITMPartnerClient, type ITMPartnerClientConfig, type ITMPartnerHeaders, type ITMPartnerHeadersObject, type ITMPartnerTokenConfig, type MediaAsset, type MediaAssetUploadUrl, type MerchPurchase, type Moment, type MomentCategory, type MomentCollection, type MomentCollectionLink, type MomentDiscountCodeUsage, type MomentDynamicPricingPolicy, type MomentDynamicPricingTierRule, type MomentLineup, type MomentLineupDisplayLabel, type MomentLineupResponseResult, type MomentLineupStatus, type MomentLineupType, type MomentOccurrenceScheduleFrequency, type MomentOnlineProvider, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentTagAssignment, type MomentType, type MusicReleaseType, type Mutation, type PaginationInput, type PartnerAudienceCustomer, type PartnerAudienceFiltersInput, type PartnerAudienceSortField, type PartnerAudienceSortInput, type PartnerBrand, type PartnerCustomer, type PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestlistAttendance, type PartnerMomentGuestlistLabelAttendance, type PartnerMomentStats, type PartnerMomentTicketAttendance, type PartnerMomentTicketTierAttendance, type PartnerMomentsFiltersInput, type PartnerTicketTier, type PartnerTicketTierUpdateInput, type Payment, type PaymentStatus, type Plan, type PlanBudget, type PlanBudgetAllocationType, type PlanBudgetArtistDealBasis, type PlanBudgetArtistDealInput, type PlanBudgetArtistDealType, type PlanBudgetCapacityAllocationInput, type PlanBudgetCategoryInput, type PlanBudgetCategoryKind, type PlanBudgetChargeCalculation, type PlanBudgetChargeKind, type PlanBudgetChargeTreatment, type PlanBudgetExternalTicketingChannelInput, type PlanBudgetFeeAssessment, type PlanBudgetFeeComponentKind, type PlanBudgetFeePercentageBasis, type PlanBudgetGuaranteeBasis, type PlanBudgetLineBasis, type PlanBudgetLineInput, type PlanBudgetPaymentStatus, type PlanBudgetPricingMode, type PlanBudgetSummary, type PlanBudgetTicketChargeRuleInput, type PlanBudgetTicketTierInput, type PlanBudgetTicketingChannelType, type PlanBudgetTicketingFeeComponentInput, type PlanKind, type PlanLinkMetadataStatus, type PlanMoodboard, type PlanMoodboardItem, type PlanMoodboardItemType, type PlanSchedule, type PlanScheduleInput, type PlanScheduleTime, type PlanScheduleTimeInput, type PlanScheduleType, type PlanStatus, type PlanSummary, type PlanningProposal, type PlanningSource, type PlanningSourceDispositionInput, type PlanningSourceSection, type PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PreparePlanningProposalInput, type PublicMomentLineupInfo, type Query, type ReplacePlanBudgetDraftInput, type RespondToMomentLineupInput, type SendPartnerAgentEmailInput, type SortDirection, type SubscriptionComplianceInput, type Tag, type TagSource, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketTier, type Transforms, type UpdatePlanInput, type User, type UserSource, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
3529
+ export { type AgentThreadSeedContext, type ApplyDynamicPricingInput, type BrandAgentEmailMessageInput, type BrandAgentEmailSendBatch, type BrandAgentEmailSendBatchStatus, type BrandAgentEmailSendMessage, type BrandAgentEmailSendMessageStatus, type BrandDrop, type BrandDropCtaType, type BrandDropMusicLink, type BrandSubscription, type ConsentStatus, type ContributionAdmin, type ContributionPageAdmin, type ContributionPageStatusFilter, type ContributionPagesResponse, type ContributionSource, type ContributionStatus, type ContributionsResponse, type CreateManualContributionInput, type CreateMomentOnlineConfigInput, type CreatePartnerBrandDropInput, type CreatePartnerBrandSubscriptionInput, type CreatePartnerBrandSubscriptionResponse, type CreatePartnerMomentInput, type CreatePartnerTicketTierInput, type CreatePlanBudgetInput, type CreatePlanInput, type Currency, DEFAULT_API_URL, type Dimensions, type DimensionsInput, type DynamicPricingActorType, type DynamicPricingAdmissionWindow, type DynamicPricingBatch, type DynamicPricingBatchEvent, type DynamicPricingBatchEventType, type DynamicPricingBatchItem, type DynamicPricingBatchItemStatus, type DynamicPricingBatchStatus, type DynamicPricingContext, type DynamicPricingExecutionMode, type DynamicPricingInventoryGuardInput, type DynamicPricingInventoryGuardMode, type DynamicPricingInventoryMetric, type DynamicPricingMomentInput, type DynamicPricingTierContext, type DynamicPricingTierUpdateInput, type Echo, type EchoMediaAsset, type EchoType, type EditPartnerTicketTiersForMomentInput, type EventImportPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerMediaAssetsInput, type GetPartnerMediaAssetsResponse, type GetPartnerMembersInput, type GetPartnerMembersResponse, type GetPartnerMembershipTiersInput, type GetPartnerMembershipTiersResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, type GetPlansInput, type GetPlansResponse, type GetPublicMomentsResponse, type GetTicketsResponse, type ITMPartnerAgentAccessConfig, type ITMPartnerAgentAccessCredentials, type ITMPartnerAgentSessionConfig, type ITMPartnerAgentSessionCredentials, type ITMPartnerClient, type ITMPartnerClientConfig, type ITMPartnerHeaders, type ITMPartnerHeadersObject, type ITMPartnerTokenConfig, type ManualContributionReceiptType, type MediaAsset, type MediaAssetUploadUrl, type MembershipBillingInterval, type MembershipExpiryType, type MembershipPassType, type MembershipPurchaseType, type MembershipSource, type MembershipStatus, type MerchPurchase, type Moment, type MomentCategory, type MomentCollection, type MomentCollectionLink, type MomentDiscountCodeUsage, type MomentDynamicPricingPolicy, type MomentDynamicPricingTierRule, type MomentLineup, type MomentLineupDisplayLabel, type MomentLineupResponseResult, type MomentLineupStatus, type MomentLineupType, type MomentOccurrenceScheduleFrequency, type MomentOnlineProvider, type MomentPublicVenuePreview, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentTagAssignment, type MomentType, type MusicReleaseType, type Mutation, type PaginationInput, type PartnerAudienceCustomer, type PartnerAudienceFiltersInput, type PartnerAudienceSortField, type PartnerAudienceSortInput, type PartnerBrand, type PartnerCustomer, type PartnerMember, type PartnerMemberCustomer, type PartnerMemberTier, type PartnerMembershipTier, type PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestlistAttendance, type PartnerMomentGuestlistLabelAttendance, type PartnerMomentStats, type PartnerMomentTicketAttendance, type PartnerMomentTicketTierAttendance, type PartnerMomentsFiltersInput, type PartnerTicketTier, type PartnerTicketTierUpdateInput, type PartnerTicketUserLookupInput, type Payment, type PaymentStatus, type Plan, type PlanBudget, type PlanBudgetAllocationType, type PlanBudgetArtistDealBasis, type PlanBudgetArtistDealInput, type PlanBudgetArtistDealType, type PlanBudgetCapacityAllocationInput, type PlanBudgetCategoryInput, type PlanBudgetCategoryKind, type PlanBudgetChargeCalculation, type PlanBudgetChargeKind, type PlanBudgetChargeTreatment, type PlanBudgetExternalTicketingChannelInput, type PlanBudgetFeeAssessment, type PlanBudgetFeeComponentKind, type PlanBudgetFeePercentageBasis, type PlanBudgetGuaranteeBasis, type PlanBudgetLineBasis, type PlanBudgetLineInput, type PlanBudgetPaymentStatus, type PlanBudgetPricingMode, type PlanBudgetSummary, type PlanBudgetTicketChargeRuleInput, type PlanBudgetTicketTierInput, type PlanBudgetTicketingChannelType, type PlanBudgetTicketingFeeComponentInput, type PlanKind, type PlanLinkMetadataStatus, type PlanMoodboard, type PlanMoodboardItem, type PlanMoodboardItemType, type PlanSchedule, type PlanScheduleInput, type PlanScheduleTime, type PlanScheduleTimeInput, type PlanScheduleType, type PlanStatus, type PlanSummary, type PlanningProposal, type PlanningSource, type PlanningSourceDispositionInput, type PlanningSourceSection, type PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PreparePlanningProposalInput, type PublicMomentLineupInfo, type Query, type ReplacePlanBudgetDraftInput, type RespondToMomentLineupInput, type SendPartnerAgentEmailInput, type SortDirection, type SubscriptionComplianceInput, type Tag, type TagSource, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketTier, type Transforms, type UpdatePlanInput, type User, type UserSource, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };