@itm-studio/partner-sdk 0.3.6 → 0.3.7

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
  /**
@@ -1180,6 +1309,17 @@ interface ContributionPageAdminGenqlSelection {
1180
1309
  __typename?: boolean | number;
1181
1310
  __scalar?: boolean | number;
1182
1311
  }
1312
+ interface CreateManualContributionInput {
1313
+ sendReceipt?: (Scalars['Boolean'] | null);
1314
+ currencyCode: Scalars['String'];
1315
+ contributionPageUid: Scalars['String'];
1316
+ amountCents: Scalars['Int'];
1317
+ requestUid: Scalars['String'];
1318
+ name: Scalars['String'];
1319
+ email?: (Scalars['String'] | null);
1320
+ phoneNumber?: (Scalars['String'] | null);
1321
+ note?: (Scalars['String'] | null);
1322
+ }
1183
1323
  /**
1184
1324
  * A single contribution to one of the brand's contribution pages.
1185
1325
  * Only SUCCEEDED contributions represent confirmed money.
@@ -1191,6 +1331,10 @@ interface ContributionAdminGenqlSelection {
1191
1331
  pageTitle?: boolean | number;
1192
1332
  donorName?: boolean | number;
1193
1333
  donorEmail?: boolean | number;
1334
+ donorPhoneNumber?: boolean | number;
1335
+ source?: boolean | number;
1336
+ userUid?: boolean | number;
1337
+ manualReceiptType?: boolean | number;
1194
1338
  /** Note left by the contributor at checkout; null when none was given. */
1195
1339
  note?: boolean | number;
1196
1340
  currencyCode?: boolean | number;
@@ -1238,6 +1382,19 @@ interface VenueGenqlSelection {
1238
1382
  __typename?: boolean | number;
1239
1383
  __scalar?: boolean | number;
1240
1384
  }
1385
+ /**
1386
+ * Public location text for a moment, without the venue name or street address.
1387
+ * Available even when the full venue is hidden until RSVP.
1388
+ */
1389
+ interface MomentPublicVenuePreviewGenqlSelection {
1390
+ city?: boolean | number;
1391
+ /** Display country label; use countryCode when an ISO country code is needed. */
1392
+ country?: boolean | number;
1393
+ /** ISO country code when available. */
1394
+ countryCode?: boolean | number;
1395
+ __typename?: boolean | number;
1396
+ __scalar?: boolean | number;
1397
+ }
1241
1398
  /**
1242
1399
  * A slim projection of the cover image media asset.
1243
1400
  * Only the publicly useful fields (URL and MIME type) are exposed.
@@ -1301,7 +1458,10 @@ interface MomentGenqlSelection {
1301
1458
  lineupDisplayLabel?: boolean | number;
1302
1459
  /** Cover image for the moment. Null if no cover image is set. */
1303
1460
  coverImage?: MomentCoverImageGenqlSelection;
1461
+ /** Full venue details. Null when no venue is set or the caller cannot reveal it. */
1304
1462
  venue?: VenueGenqlSelection;
1463
+ /** Public city/country location text. Null when no venue is set. */
1464
+ publicVenuePreview?: MomentPublicVenuePreviewGenqlSelection;
1305
1465
  /** Public tag assignments owned by the authenticated partner's brand. */
1306
1466
  momentTags?: (GetMomentTagAssignmentsResponseGenqlSelection & {
1307
1467
  __args?: {
@@ -1369,6 +1529,13 @@ interface TicketGenqlSelection {
1369
1529
  uid?: boolean | number;
1370
1530
  price?: boolean | number;
1371
1531
  redeemedAt?: boolean | number;
1532
+ /**
1533
+ * Opaque ticket payload to encode unchanged as a QR image for ITM scanners.
1534
+ * This is not an image URL. No decryption key is needed to render it.
1535
+ * Fetch on a trusted server, verify the app user's current ticket ownership,
1536
+ * and refetch before display because transfers can rotate the payload.
1537
+ * Rendering a QR does not establish admission eligibility; ITM validates it at scan time.
1538
+ */
1372
1539
  encryptedQRCode?: boolean | number;
1373
1540
  notes?: boolean | number;
1374
1541
  externalId?: boolean | number;
@@ -1505,6 +1672,16 @@ interface PartnerMomentAttendanceStatsGenqlSelection {
1505
1672
  __typename?: boolean | number;
1506
1673
  __scalar?: boolean | number;
1507
1674
  }
1675
+ /**
1676
+ * Match the current ITM ticket owner by exactly one of userUid, email, or phoneNumber.
1677
+ * For an attendee app, derive this identifier from the authenticated user's verified
1678
+ * ITM account association on your server; a caller-supplied identifier is not proof of ownership.
1679
+ */
1680
+ interface PartnerTicketUserLookupInput {
1681
+ userUid?: (Scalars['String'] | null);
1682
+ email?: (Scalars['String'] | null);
1683
+ phoneNumber?: (Scalars['String'] | null);
1684
+ }
1508
1685
  interface PartnerMomentAttendanceLookupInput {
1509
1686
  /** ITM moment UID. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId. */
1510
1687
  momentUid?: (Scalars['String'] | null);
@@ -1996,7 +2173,145 @@ interface AgentMediaUploadReservationGenqlSelection {
1996
2173
  __typename?: boolean | number;
1997
2174
  __scalar?: boolean | number;
1998
2175
  }
2176
+ interface GetPartnerMembersInput {
2177
+ /** Only memberships set (or not set) to cancel at period end */
2178
+ cancelAtPeriodEnd?: (Scalars['Boolean'] | null);
2179
+ /** Membership created strictly before this instant */
2180
+ createdAtBefore?: (Scalars['DateTime'] | null);
2181
+ /** Membership created at or after this instant */
2182
+ createdAtFrom?: (Scalars['DateTime'] | null);
2183
+ /** Current period ends strictly before this instant (e.g. expiring soon) */
2184
+ currentPeriodEndBefore?: (Scalars['DateTime'] | null);
2185
+ /** Current period ends at or after this instant */
2186
+ currentPeriodEndFrom?: (Scalars['DateTime'] | null);
2187
+ /** Cursor UID returned as nextCursor by the previous page */
2188
+ cursor?: (Scalars['String'] | null);
2189
+ /** Restrict to these customer UIDs (PartnerMemberCustomer.uid, same as getPartnerAudience customer uid) */
2190
+ customerUids?: (Scalars['String'][] | null);
2191
+ /** Restrict to these membership tier UIDs (must belong to the brand) */
2192
+ membershipTierUids?: (Scalars['String'][] | null);
2193
+ /** Case-insensitive search over member name, email, phone number, or exact membership number */
2194
+ search?: (Scalars['String'] | null);
2195
+ sources?: (MembershipSource[] | null);
2196
+ /** Membership statuses to include. Omit for every status except PENDING (unpaid checkout reservations). */
2197
+ statuses?: (MembershipStatus[] | null);
2198
+ /** Page size. Defaults to 50, maximum 100. */
2199
+ take?: (Scalars['Int'] | null);
2200
+ }
2201
+ interface GetPartnerMembersResponseGenqlSelection {
2202
+ hasNextPage?: boolean | number;
2203
+ members?: PartnerMemberGenqlSelection;
2204
+ nextCursor?: boolean | number;
2205
+ totalCount?: boolean | number;
2206
+ __typename?: boolean | number;
2207
+ __scalar?: boolean | number;
2208
+ }
2209
+ interface GetPartnerMembershipTiersInput {
2210
+ /** Cursor UID returned as nextCursor by the previous page */
2211
+ cursor?: (Scalars['String'] | null);
2212
+ isActive?: (Scalars['Boolean'] | null);
2213
+ isPublic?: (Scalars['Boolean'] | null);
2214
+ passTypes?: (MembershipPassType[] | null);
2215
+ /** Case-insensitive search over tier name and slug */
2216
+ search?: (Scalars['String'] | null);
2217
+ /** Page size. Defaults to 50, maximum 100. */
2218
+ take?: (Scalars['Int'] | null);
2219
+ }
2220
+ interface GetPartnerMembershipTiersResponseGenqlSelection {
2221
+ hasNextPage?: boolean | number;
2222
+ membershipTiers?: PartnerMembershipTierGenqlSelection;
2223
+ nextCursor?: boolean | number;
2224
+ totalCount?: boolean | number;
2225
+ __typename?: boolean | number;
2226
+ __scalar?: boolean | number;
2227
+ }
2228
+ interface PartnerMemberGenqlSelection {
2229
+ billingInterval?: boolean | number;
2230
+ cancelAtPeriodEnd?: boolean | number;
2231
+ cancelledAt?: boolean | number;
2232
+ createdAt?: boolean | number;
2233
+ currentPeriodEnd?: boolean | number;
2234
+ currentPeriodStart?: boolean | number;
2235
+ customer?: PartnerMemberCustomerGenqlSelection;
2236
+ /** First issuance time; falls back to createdAt for legacy rows */
2237
+ issuedAt?: boolean | number;
2238
+ membershipNumber?: boolean | number;
2239
+ membershipTier?: PartnerMemberTierGenqlSelection;
2240
+ purchaseType?: boolean | number;
2241
+ quantity?: boolean | number;
2242
+ refundedAt?: boolean | number;
2243
+ /** Uses the member can redeem now; null means unlimited */
2244
+ remainingUses?: boolean | number;
2245
+ source?: boolean | number;
2246
+ status?: boolean | number;
2247
+ uid?: boolean | number;
2248
+ updatedAt?: boolean | number;
2249
+ __typename?: boolean | number;
2250
+ __scalar?: boolean | number;
2251
+ }
2252
+ interface PartnerMemberCustomerGenqlSelection {
2253
+ email?: boolean | number;
2254
+ emailVerified?: boolean | number;
2255
+ name?: boolean | number;
2256
+ phoneNumber?: boolean | number;
2257
+ uid?: boolean | number;
2258
+ __typename?: boolean | number;
2259
+ __scalar?: boolean | number;
2260
+ }
2261
+ interface PartnerMemberTierGenqlSelection {
2262
+ name?: boolean | number;
2263
+ passType?: boolean | number;
2264
+ slug?: boolean | number;
2265
+ uid?: boolean | number;
2266
+ __typename?: boolean | number;
2267
+ __scalar?: boolean | number;
2268
+ }
2269
+ interface PartnerMembershipTierGenqlSelection {
2270
+ /** Memberships currently ACTIVE or PAST_DUE on this tier */
2271
+ activeMemberCount?: boolean | number;
2272
+ benefits?: boolean | number;
2273
+ billingInterval?: boolean | number;
2274
+ createdAt?: boolean | number;
2275
+ /** ISO 4217 currency code */
2276
+ currencyCode?: boolean | number;
2277
+ description?: boolean | number;
2278
+ durationDays?: boolean | number;
2279
+ expiryType?: boolean | number;
2280
+ fixedEndDate?: boolean | number;
2281
+ isActive?: boolean | number;
2282
+ isPublic?: boolean | number;
2283
+ memberLimit?: boolean | number;
2284
+ name?: boolean | number;
2285
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
2286
+ oneTimePrice?: boolean | number;
2287
+ passType?: boolean | number;
2288
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
2289
+ price?: boolean | number;
2290
+ slug?: boolean | number;
2291
+ sortOrder?: boolean | number;
2292
+ supplyCap?: boolean | number;
2293
+ totalUses?: boolean | number;
2294
+ trialDays?: boolean | number;
2295
+ uid?: boolean | number;
2296
+ updatedAt?: boolean | number;
2297
+ /** Amount in hundredths of the currency's major unit (always x100, including zero-decimal currencies such as JPY) */
2298
+ yearlyPrice?: boolean | number;
2299
+ __typename?: boolean | number;
2300
+ __scalar?: boolean | number;
2301
+ }
1999
2302
  interface QueryGenqlSelection {
2303
+ /** List the authenticated partner brand's membership rows; PENDING is excluded by default. */
2304
+ getPartnerMembers?: (GetPartnerMembersResponseGenqlSelection & {
2305
+ __args?: {
2306
+ input?: (GetPartnerMembersInput | null);
2307
+ };
2308
+ });
2309
+ /** List the authenticated partner brand's non-deleted membership tiers, including inactive and private tiers. */
2310
+ getPartnerMembershipTiers?: (GetPartnerMembershipTiersResponseGenqlSelection & {
2311
+ __args?: {
2312
+ input?: (GetPartnerMembershipTiersInput | null);
2313
+ };
2314
+ });
2000
2315
  /** Get the authenticated agent operator email for the approval preview. Requires a brand-agent session with SEND_EMAIL; unavailable to partner API keys. */
2001
2316
  getPartnerAgentEmailContext?: BrandAgentEmailContextGenqlSelection;
2002
2317
  getAgentMediaUpload?: (AgentMediaUploadReservationGenqlSelection & {
@@ -2079,15 +2394,23 @@ interface QueryGenqlSelection {
2079
2394
  input: PartnerMomentAttendanceLookupInput;
2080
2395
  };
2081
2396
  });
2082
- /** Get paginated tickets for a moment. */
2397
+ /**
2398
+ * Get confirmed tickets for a moment owned by the partner token's brand.
2399
+ * Use the user filter when retrieving an attendee's tickets for QR display.
2400
+ * The partner token authorizes brand access, not the app user's identity.
2401
+ * Follow hasNextPage/nextCursor to retrieve every ticket.
2402
+ */
2083
2403
  getPartnerTicketsForMoment?: (GetTicketsResponseGenqlSelection & {
2084
2404
  __args: {
2085
2405
  momentSlug: Scalars['String'];
2086
2406
  /** Cursor UID for pagination */
2087
2407
  cursor?: (Scalars['String'] | null);
2408
+ /** Page size. Defaults to 50; maximum 100. */
2088
2409
  take?: (Scalars['Int'] | null);
2089
2410
  /** Filter by check-in status */
2090
2411
  checkedIn?: (Scalars['Boolean'] | null);
2412
+ /** Match the current ticket owner by exactly one of userUid, email, or phoneNumber. */
2413
+ user?: (PartnerTicketUserLookupInput | null);
2091
2414
  };
2092
2415
  });
2093
2416
  /**
@@ -2545,6 +2868,12 @@ interface CreatePartnerBrandSubscriptionResponseGenqlSelection {
2545
2868
  __scalar?: boolean | number;
2546
2869
  }
2547
2870
  interface MutationGenqlSelection {
2871
+ /** 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. */
2872
+ createPartnerManualContribution?: (ContributionAdminGenqlSelection & {
2873
+ __args: {
2874
+ input: CreateManualContributionInput;
2875
+ };
2876
+ });
2548
2877
  reserveAgentMediaUpload?: (AgentMediaUploadReservationGenqlSelection & {
2549
2878
  __args: {
2550
2879
  input: ReserveAgentMediaUploadInput;
@@ -3172,4 +3501,4 @@ type ITMPartnerClient = Client;
3172
3501
  */
3173
3502
  declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
3174
3503
 
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 };
3504
+ 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 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 };