@itm-studio/partner-sdk 0.2.6 → 0.2.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/README.md +462 -170
- package/dist/index.d.mts +618 -9
- package/dist/index.d.ts +618 -9
- package/dist/index.js +1233 -383
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1233 -383
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +460 -7
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,11 @@ type Scalars = {
|
|
|
9
9
|
};
|
|
10
10
|
type MomentStatus = 'UPCOMING' | 'LIVE' | 'ENDED';
|
|
11
11
|
type MomentSortOrder = 'ASC' | 'DESC';
|
|
12
|
-
type
|
|
12
|
+
type BrandDropCtaType = 'EXTERNAL_URL' | 'GATED_LINK' | 'MUSIC_LINK' | 'SUBSCRIBE';
|
|
13
|
+
type MusicReleaseType = 'ALBUM' | 'EP' | 'SINGLE';
|
|
14
|
+
type MomentType = 'DIGITAL' | 'HYBRID' | 'IRL';
|
|
15
|
+
type MomentOnlineProvider = 'GOOGLE_MEET' | 'MS_TEAMS' | 'OTHER' | 'ZOOM';
|
|
16
|
+
type TicketAttendanceMode = 'IN_PERSON' | 'ONLINE';
|
|
13
17
|
type MomentCategory = 'ACTIVATION' | 'CONCERT' | 'DIGITAL' | 'DINING' | 'EDUCATION' | 'EXHIBITION' | 'FASHION' | 'FESTIVAL' | 'LAUNCH' | 'NIGHTLIFE' | 'OTHER' | 'PARTY' | 'PERFORMING_ARTS' | 'SCREENING' | 'SPORTS' | 'WELLNESS';
|
|
14
18
|
type MomentSubcategory = 'ACOUSTIC_SET' | 'ADVANCE_SCREENING' | 'AFTER_PARTY' | 'AIRDROP' | 'ALBUM_DROP' | 'ALBUM_RELEASE_SHOW' | 'AMA' | 'ANNIVERSARY' | 'ARTIST_TALK' | 'ART_FAIR' | 'ART_FESTIVAL' | 'ATHLETE_APPEARANCE' | 'AWARDS' | 'BAR_TAKEOVER' | 'BATTLE' | 'BEER_AND_WINE_FESTIVAL' | 'BIENNALE' | 'BIRTHDAY' | 'BLOCK_PARTY' | 'BRAND_EXPERIENCE' | 'BRAND_REVEAL' | 'BREATHWORK' | 'BRUNCH_EVENT' | 'BURLESQUE' | 'CACAO_CEREMONY' | 'CARNIVAL' | 'CELEBRATION' | 'CHAMPIONSHIP' | 'CHEF_DINNER' | 'CHOIR_OR_ENSEMBLE' | 'CLUB_NIGHT' | 'CLUB_SET' | 'COLD_PLUNGE' | 'COLLABORATION_REVEAL' | 'COLLECTION_DROP' | 'COMEDY_FESTIVAL' | 'COMEDY_NIGHT' | 'COMEDY_SHOW' | 'COMMUNITY_MEETUP' | 'CONFERENCE' | 'COOKING_CLASS' | 'CULTURAL_FESTIVAL' | 'DANCE_PERFORMANCE' | 'DAYCLUB' | 'DIRECTORS_CUT' | 'DISCORD_EVENT' | 'DOCUMENTARY' | 'DRAG_SHOW' | 'ECSTATIC_DANCE' | 'ESPORTS' | 'EXHIBITION_GAME' | 'EXTREME_SPORTS' | 'FAN_EXPERIENCE' | 'FAN_FEST' | 'FASHION_FESTIVAL' | 'FASHION_PANEL' | 'FASHION_WEEK' | 'FIGHT_NIGHT' | 'FILM_FESTIVAL' | 'FILM_PREMIERE' | 'FINISSAGE' | 'FIRESIDE_CHAT' | 'FITNESS_CLASS' | 'FITTING_EVENT' | 'FOOD_FESTIVAL' | 'FOOD_PAIRING' | 'GALLERY_OPENING' | 'GAME_DAY' | 'GIVEAWAY' | 'GROUP_EXHIBITION' | 'GUERRILLA' | 'HACKATHON' | 'HEADLINER_SHOW' | 'HOLIDAY_PARTY' | 'HYBRID_EVENT' | 'IMMERSIVE_EXPERIENCE' | 'IMPROV_SHOW' | 'INFLUENCER_EVENT' | 'INSTALLATION' | 'INTERACTIVE_INSTALLATION' | 'JAZZ_NIGHT' | 'JAZZ_SESSION' | 'KARAOKE_NIGHT' | 'KEYNOTE' | 'LATE_NIGHT_SET' | 'LISTENING_PARTY' | 'LIVESTREAM' | 'LOOKBOOK_SHOOT' | 'MASQUERADE' | 'MASTERCLASS' | 'MEDITATION' | 'MEET_AND_GREET' | 'MEMBERS_ONLY' | 'MOBILE_TOUR' | 'MUSEUM_EVENT' | 'MUSICAL' | 'MUSIC_FESTIVAL' | 'MUSIC_VIDEO_PREMIERE' | 'NETWORKING_MIXER' | 'NFT_MINT' | 'ONLINE_DROP' | 'ONLINE_PREMIERE' | 'ONLINE_WATCH_PARTY' | 'OPEN_MIC' | 'OPERA' | 'ORCHESTRA' | 'OTHER' | 'OUTDOOR_CINEMA' | 'PANEL' | 'PERFORMANCE_ART' | 'PHOTO_ACTIVATION' | 'POOL_PARTY' | 'POP_UP_BOUTIQUE' | 'POP_UP_DINING' | 'POP_UP_GALLERY' | 'POP_UP_SHOP' | 'PRESENTATION' | 'PRESS_EVENT' | 'PREVIEW' | 'PRIDE_FESTIVAL' | 'PRIVATE_EVENT' | 'PRODUCT_LAUNCH' | 'RAVE' | 'RELEASE_PARTY' | 'RESIDENCY' | 'RESTAURANT_OPENING' | 'RETREAT' | 'RIVALRY_GAME' | 'ROOFTOP_PARTY' | 'ROUNDTABLE' | 'RUNWAY_SHOW' | 'RUN_CLUB' | 'RUN_OR_RACE' | 'SAMPLE_SALE' | 'SAMPLING' | 'SECRET_DINING' | 'SEMINAR' | 'SHORT_FILM' | 'SHOWCASE' | 'SHOWROOM' | 'SILENT_DISCO' | 'SOCIAL_CHALLENGE' | 'SOLO_EXHIBITION' | 'SOUND_BATH' | 'SPA_EXPERIENCE' | 'SPOKEN_WORD' | 'SPONSORSHIP' | 'SPORTS_CLINIC' | 'SPORTS_WATCH_PARTY' | 'STANDUP_COMEDY' | 'STREET_TEAM' | 'STUDIO_VISIT' | 'SUMMIT' | 'SUPPER_CLUB' | 'TAILGATE' | 'TASTING' | 'THEATER' | 'THEMED_NIGHT' | 'TOURNAMENT' | 'TOUR_STOP' | 'TRIBUTE_SHOW' | 'TRUNK_SHOW' | 'TWITTER_SPACE' | 'VARIETY_SHOW' | 'VENUE_OPENING' | 'VIRTUAL_CONCERT' | 'VIRTUAL_EVENT' | 'WAREHOUSE_PARTY' | 'WATCH_PARTY' | 'WEBINAR' | 'WELLNESS_FESTIVAL' | 'WELLNESS_WORKSHOP' | 'WORKSHOP' | 'YOGA_SESSION';
|
|
15
19
|
type MomentLineupStatus = 'APPROVED' | 'PENDING' | 'REJECTED';
|
|
@@ -31,6 +35,24 @@ interface Currency {
|
|
|
31
35
|
updatedAt: Scalars['DateTime'];
|
|
32
36
|
__typename: 'Currency';
|
|
33
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* The authenticated partner's brand identity and public-facing details.
|
|
40
|
+
* The brand is derived from the partner token and cannot be selected by UID or slug.
|
|
41
|
+
*/
|
|
42
|
+
interface PartnerBrand {
|
|
43
|
+
uid: Scalars['ID'];
|
|
44
|
+
createdAt: Scalars['DateTime'];
|
|
45
|
+
updatedAt: Scalars['DateTime'];
|
|
46
|
+
name: Scalars['String'];
|
|
47
|
+
slug: Scalars['String'];
|
|
48
|
+
bio: (Scalars['String'] | null);
|
|
49
|
+
publicUrl: Scalars['String'];
|
|
50
|
+
customDomain: (Scalars['String'] | null);
|
|
51
|
+
customDomainVerifiedAt: (Scalars['DateTime'] | null);
|
|
52
|
+
spotifyUrl: (Scalars['String'] | null);
|
|
53
|
+
youtubeEmbedUrl: (Scalars['String'] | null);
|
|
54
|
+
__typename: 'PartnerBrand';
|
|
55
|
+
}
|
|
34
56
|
interface Venue {
|
|
35
57
|
uid: Scalars['ID'];
|
|
36
58
|
name: Scalars['String'];
|
|
@@ -69,11 +91,13 @@ interface Moment {
|
|
|
69
91
|
soldOut: Scalars['Boolean'];
|
|
70
92
|
timezone: Scalars['String'];
|
|
71
93
|
minimumAge: Scalars['Int'];
|
|
94
|
+
/** Tracks the overall capacity of the moment. */
|
|
95
|
+
capacity: (Scalars['Int'] | null);
|
|
72
96
|
externalUrl: (Scalars['String'] | null);
|
|
73
97
|
/** Display label to use when rendering the public lineup section. */
|
|
74
98
|
lineupDisplayLabel: MomentLineupDisplayLabel;
|
|
75
99
|
/** Cover image for the moment. Null if no cover image is set. */
|
|
76
|
-
coverImage:
|
|
100
|
+
coverImage: MomentCoverImage;
|
|
77
101
|
venue: (Venue | null);
|
|
78
102
|
ticketTiers: TicketTier[];
|
|
79
103
|
createdAt: Scalars['DateTime'];
|
|
@@ -102,6 +126,7 @@ interface TicketTier {
|
|
|
102
126
|
description: (Scalars['String'] | null);
|
|
103
127
|
price: Scalars['Float'];
|
|
104
128
|
currency: Currency;
|
|
129
|
+
attendanceMode: TicketAttendanceMode;
|
|
105
130
|
isActive: Scalars['Boolean'];
|
|
106
131
|
isPrivate: Scalars['Boolean'];
|
|
107
132
|
maxPerUser: Scalars['Int'];
|
|
@@ -116,7 +141,7 @@ interface TicketTier {
|
|
|
116
141
|
interface User {
|
|
117
142
|
uid: Scalars['ID'];
|
|
118
143
|
name: (Scalars['String'] | null);
|
|
119
|
-
phoneNumber: Scalars['String'];
|
|
144
|
+
phoneNumber: (Scalars['String'] | null);
|
|
120
145
|
primaryEmail: (Scalars['String'] | null);
|
|
121
146
|
instagramProfile: (Scalars['String'] | null);
|
|
122
147
|
twitterProfile: (Scalars['String'] | null);
|
|
@@ -261,6 +286,46 @@ interface Echo {
|
|
|
261
286
|
updatedAt: Scalars['DateTime'];
|
|
262
287
|
__typename: 'Echo';
|
|
263
288
|
}
|
|
289
|
+
interface BrandDrop {
|
|
290
|
+
uid: Scalars['ID'];
|
|
291
|
+
name: Scalars['String'];
|
|
292
|
+
slug: Scalars['String'];
|
|
293
|
+
subtitle: (Scalars['String'] | null);
|
|
294
|
+
disclosures: (Scalars['String'] | null);
|
|
295
|
+
isPublic: Scalars['Boolean'];
|
|
296
|
+
ctaType: BrandDropCtaType;
|
|
297
|
+
ctaUrl: (Scalars['String'] | null);
|
|
298
|
+
ctaConfig: (Scalars['JSON'] | null);
|
|
299
|
+
captureName: Scalars['Boolean'];
|
|
300
|
+
captureEmail: Scalars['Boolean'];
|
|
301
|
+
consentText: (Scalars['String'] | null);
|
|
302
|
+
coverImage: MediaAsset;
|
|
303
|
+
coverImageMobile: (MediaAsset | null);
|
|
304
|
+
isActive: Scalars['Boolean'];
|
|
305
|
+
musicLink: (BrandDropMusicLink | null);
|
|
306
|
+
createdAt: Scalars['DateTime'];
|
|
307
|
+
updatedAt: Scalars['DateTime'];
|
|
308
|
+
__typename: 'BrandDrop';
|
|
309
|
+
}
|
|
310
|
+
interface BrandDropMusicLink {
|
|
311
|
+
uid: Scalars['ID'];
|
|
312
|
+
releaseType: MusicReleaseType;
|
|
313
|
+
title: Scalars['String'];
|
|
314
|
+
artistName: Scalars['String'];
|
|
315
|
+
isrcCode: (Scalars['String'] | null);
|
|
316
|
+
upcCode: (Scalars['String'] | null);
|
|
317
|
+
releaseDate: (Scalars['DateTime'] | null);
|
|
318
|
+
thumbnailUrl: (Scalars['String'] | null);
|
|
319
|
+
thumbnailWidth: (Scalars['Int'] | null);
|
|
320
|
+
thumbnailHeight: (Scalars['Int'] | null);
|
|
321
|
+
subscriberOnly: Scalars['Boolean'];
|
|
322
|
+
sourceUrl: Scalars['String'];
|
|
323
|
+
odesliPageUrl: (Scalars['String'] | null);
|
|
324
|
+
lastSyncedAt: (Scalars['DateTime'] | null);
|
|
325
|
+
createdAt: Scalars['DateTime'];
|
|
326
|
+
updatedAt: Scalars['DateTime'];
|
|
327
|
+
__typename: 'BrandDropMusicLink';
|
|
328
|
+
}
|
|
264
329
|
interface GetPublicMomentsResponse {
|
|
265
330
|
moments: Moment[];
|
|
266
331
|
totalCount: Scalars['Int'];
|
|
@@ -268,6 +333,13 @@ interface GetPublicMomentsResponse {
|
|
|
268
333
|
nextCursor: (Scalars['String'] | null);
|
|
269
334
|
__typename: 'GetPublicMomentsResponse';
|
|
270
335
|
}
|
|
336
|
+
interface GetPartnerDropsResponse {
|
|
337
|
+
drops: BrandDrop[];
|
|
338
|
+
totalCount: Scalars['Int'];
|
|
339
|
+
hasNextPage: Scalars['Boolean'];
|
|
340
|
+
nextCursor: (Scalars['String'] | null);
|
|
341
|
+
__typename: 'GetPartnerDropsResponse';
|
|
342
|
+
}
|
|
271
343
|
interface GetMomentLineupsResponse {
|
|
272
344
|
lineups: MomentLineup[];
|
|
273
345
|
totalCount: Scalars['Int'];
|
|
@@ -296,6 +368,148 @@ interface GetBrandEchoesForUserResponse {
|
|
|
296
368
|
nextCursor: (Scalars['String'] | null);
|
|
297
369
|
__typename: 'GetBrandEchoesForUserResponse';
|
|
298
370
|
}
|
|
371
|
+
interface PartnerTicketTier {
|
|
372
|
+
/** Sold-through fill rate as a 0-1 ratio. */
|
|
373
|
+
fillRate: Scalars['Float'];
|
|
374
|
+
isActive: Scalars['Boolean'];
|
|
375
|
+
isPrivate: Scalars['Boolean'];
|
|
376
|
+
label: (Scalars['String'] | null);
|
|
377
|
+
labelColor: (Scalars['String'] | null);
|
|
378
|
+
name: Scalars['String'];
|
|
379
|
+
price: Scalars['Int'];
|
|
380
|
+
facilityFee: Scalars['Int'];
|
|
381
|
+
remainingSupply: Scalars['Int'];
|
|
382
|
+
slotDate: (Scalars['DateTime'] | null);
|
|
383
|
+
slotDurationHours: (Scalars['Int'] | null);
|
|
384
|
+
supply: Scalars['Int'];
|
|
385
|
+
uid: Scalars['String'];
|
|
386
|
+
__typename: 'PartnerTicketTier';
|
|
387
|
+
}
|
|
388
|
+
interface GetPartnerTicketTiersForMomentResponse {
|
|
389
|
+
ticketTiers: PartnerTicketTier[];
|
|
390
|
+
totalCount: Scalars['Int'];
|
|
391
|
+
hasNextPage: Scalars['Boolean'];
|
|
392
|
+
nextCursor: (Scalars['String'] | null);
|
|
393
|
+
__typename: 'GetPartnerTicketTiersForMomentResponse';
|
|
394
|
+
}
|
|
395
|
+
type DynamicPricingActorType = 'ADMIN' | 'PARTNER_API';
|
|
396
|
+
type DynamicPricingExecutionMode = 'APPLY' | 'PREVIEW';
|
|
397
|
+
type DynamicPricingBatchStatus = 'APPLIED' | 'CONFLICTED' | 'FAILED' | 'NO_CHANGES' | 'PREVIEWED' | 'PROCESSING' | 'REJECTED';
|
|
398
|
+
type DynamicPricingBatchItemStatus = 'APPLIED' | 'BLOCKED_BY_BATCH' | 'CONFLICTED' | 'NO_CHANGE' | 'REJECTED' | 'WOULD_APPLY' | 'WOULD_NOT_CHANGE' | 'FAILED';
|
|
399
|
+
type DynamicPricingBatchEventType = 'APPLIED' | 'CONFLICTED' | 'FAILED' | 'IDEMPOTENCY_CONFLICT' | 'NO_CHANGES' | 'PREVIEWED' | 'PROCESSING' | 'RECEIVED' | 'REJECTED' | 'REPLAYED';
|
|
400
|
+
type DynamicPricingInventoryGuardMode = 'INDEPENDENT' | 'RANGE';
|
|
401
|
+
type DynamicPricingInventoryMetric = 'REMAINING_SUPPLY' | 'FILL_RATE_BPS';
|
|
402
|
+
type TicketAdmissionWindowSource = 'EXPLICIT' | 'LEGACY_SLOT' | 'DEFAULT_MOMENT' | 'MOMENT_OCCURRENCE';
|
|
403
|
+
interface MomentDynamicPricingTierRule {
|
|
404
|
+
uid: Scalars['String'];
|
|
405
|
+
ticketTierUid: Scalars['String'];
|
|
406
|
+
minPrice: Scalars['Int'];
|
|
407
|
+
maxPrice: Scalars['Int'];
|
|
408
|
+
__typename: 'MomentDynamicPricingTierRule';
|
|
409
|
+
}
|
|
410
|
+
interface MomentDynamicPricingPolicy {
|
|
411
|
+
uid: Scalars['String'];
|
|
412
|
+
momentUid: Scalars['String'];
|
|
413
|
+
enabled: Scalars['Boolean'];
|
|
414
|
+
version: Scalars['Int'];
|
|
415
|
+
advanceBookingHorizonDays: Scalars['Int'];
|
|
416
|
+
tierRules: MomentDynamicPricingTierRule[];
|
|
417
|
+
createdAt: Scalars['DateTime'];
|
|
418
|
+
updatedAt: Scalars['DateTime'];
|
|
419
|
+
__typename: 'MomentDynamicPricingPolicy';
|
|
420
|
+
}
|
|
421
|
+
interface DynamicPricingAdmissionWindow {
|
|
422
|
+
uid: Scalars['String'];
|
|
423
|
+
startsAt: Scalars['DateTime'];
|
|
424
|
+
endsAt: Scalars['DateTime'];
|
|
425
|
+
checkInOpensAt: (Scalars['DateTime'] | null);
|
|
426
|
+
checkInClosesAt: (Scalars['DateTime'] | null);
|
|
427
|
+
label: (Scalars['String'] | null);
|
|
428
|
+
source: TicketAdmissionWindowSource;
|
|
429
|
+
sortOrder: Scalars['Int'];
|
|
430
|
+
__typename: 'DynamicPricingAdmissionWindow';
|
|
431
|
+
}
|
|
432
|
+
interface DynamicPricingTierContext {
|
|
433
|
+
ticketTierUid: Scalars['String'];
|
|
434
|
+
name: Scalars['String'];
|
|
435
|
+
currency: Scalars['String'];
|
|
436
|
+
currentPrice: Scalars['Int'];
|
|
437
|
+
facilityFee: Scalars['Int'];
|
|
438
|
+
minPrice: Scalars['Int'];
|
|
439
|
+
maxPrice: Scalars['Int'];
|
|
440
|
+
supply: Scalars['Int'];
|
|
441
|
+
remainingSupply: Scalars['Int'];
|
|
442
|
+
consumedSupply: Scalars['Int'];
|
|
443
|
+
fillRateBps: Scalars['Int'];
|
|
444
|
+
isActive: Scalars['Boolean'];
|
|
445
|
+
eligible: Scalars['Boolean'];
|
|
446
|
+
ineligibilityReasons: Scalars['String'][];
|
|
447
|
+
pricingContextVersion: Scalars['String'];
|
|
448
|
+
lastDynamicPriceChangeAt: (Scalars['DateTime'] | null);
|
|
449
|
+
admissionWindows: DynamicPricingAdmissionWindow[];
|
|
450
|
+
__typename: 'DynamicPricingTierContext';
|
|
451
|
+
}
|
|
452
|
+
interface DynamicPricingContext {
|
|
453
|
+
serverNow: Scalars['DateTime'];
|
|
454
|
+
horizonEndsAt: Scalars['DateTime'];
|
|
455
|
+
validUntil: (Scalars['DateTime'] | null);
|
|
456
|
+
momentUid: Scalars['String'];
|
|
457
|
+
momentSlug: Scalars['String'];
|
|
458
|
+
timezone: Scalars['String'];
|
|
459
|
+
policy: MomentDynamicPricingPolicy;
|
|
460
|
+
tiers: DynamicPricingTierContext[];
|
|
461
|
+
__typename: 'DynamicPricingContext';
|
|
462
|
+
}
|
|
463
|
+
interface DynamicPricingBatchItem {
|
|
464
|
+
uid: Scalars['String'];
|
|
465
|
+
ticketTierUid: Scalars['String'];
|
|
466
|
+
expectedPrice: Scalars['Int'];
|
|
467
|
+
requestedPrice: Scalars['Int'];
|
|
468
|
+
previousPrice: (Scalars['Int'] | null);
|
|
469
|
+
resultingPrice: (Scalars['Int'] | null);
|
|
470
|
+
expectedPricingContextVersion: Scalars['String'];
|
|
471
|
+
actualPricingContextVersion: (Scalars['String'] | null);
|
|
472
|
+
status: DynamicPricingBatchItemStatus;
|
|
473
|
+
failureCode: (Scalars['String'] | null);
|
|
474
|
+
failureMessage: (Scalars['String'] | null);
|
|
475
|
+
contextSnapshot: (Scalars['JSON'] | null);
|
|
476
|
+
externalSignals: (Scalars['JSON'] | null);
|
|
477
|
+
__typename: 'DynamicPricingBatchItem';
|
|
478
|
+
}
|
|
479
|
+
interface DynamicPricingBatchEvent {
|
|
480
|
+
uid: Scalars['String'];
|
|
481
|
+
type: DynamicPricingBatchEventType;
|
|
482
|
+
requestHash: (Scalars['String'] | null);
|
|
483
|
+
details: (Scalars['JSON'] | null);
|
|
484
|
+
createdAt: Scalars['DateTime'];
|
|
485
|
+
__typename: 'DynamicPricingBatchEvent';
|
|
486
|
+
}
|
|
487
|
+
interface DynamicPricingBatch {
|
|
488
|
+
uid: Scalars['String'];
|
|
489
|
+
momentUidRequested: Scalars['String'];
|
|
490
|
+
actorType: DynamicPricingActorType;
|
|
491
|
+
actorUid: Scalars['String'];
|
|
492
|
+
executionMode: DynamicPricingExecutionMode;
|
|
493
|
+
status: DynamicPricingBatchStatus;
|
|
494
|
+
idempotencyKey: Scalars['String'];
|
|
495
|
+
requestHash: Scalars['String'];
|
|
496
|
+
replayCount: Scalars['Int'];
|
|
497
|
+
idempotencyConflictCount: Scalars['Int'];
|
|
498
|
+
policyVersion: Scalars['Int'];
|
|
499
|
+
reason: Scalars['String'];
|
|
500
|
+
strategyKey: (Scalars['String'] | null);
|
|
501
|
+
strategyVersion: (Scalars['String'] | null);
|
|
502
|
+
externalReference: (Scalars['String'] | null);
|
|
503
|
+
metadata: (Scalars['JSON'] | null);
|
|
504
|
+
failureCode: (Scalars['String'] | null);
|
|
505
|
+
failureMessage: (Scalars['String'] | null);
|
|
506
|
+
items: DynamicPricingBatchItem[];
|
|
507
|
+
events: DynamicPricingBatchEvent[];
|
|
508
|
+
createdAt: Scalars['DateTime'];
|
|
509
|
+
updatedAt: Scalars['DateTime'];
|
|
510
|
+
completedAt: (Scalars['DateTime'] | null);
|
|
511
|
+
__typename: 'DynamicPricingBatch';
|
|
512
|
+
}
|
|
299
513
|
interface BrandSubscription {
|
|
300
514
|
uid: Scalars['ID'];
|
|
301
515
|
isActive: Scalars['Boolean'];
|
|
@@ -320,8 +534,12 @@ interface MomentLineupResponseResult {
|
|
|
320
534
|
__typename: 'MomentLineupResponseResult';
|
|
321
535
|
}
|
|
322
536
|
interface Query {
|
|
537
|
+
/** Get details for the brand associated with the partner token. */
|
|
538
|
+
getPartnerBrand: PartnerBrand;
|
|
323
539
|
/** Get paginated moments for the brand associated with the partner token. */
|
|
324
540
|
getPartnerMomentsForBrand: GetPublicMomentsResponse;
|
|
541
|
+
/** Get paginated drops for the brand associated with the partner token. */
|
|
542
|
+
getPartnerDrops: GetPartnerDropsResponse;
|
|
325
543
|
/** Get a single moment by slug. */
|
|
326
544
|
getPartnerMoment: (Moment | null);
|
|
327
545
|
/**
|
|
@@ -347,6 +565,18 @@ interface Query {
|
|
|
347
565
|
* If omitted, returns brand-level echoes.
|
|
348
566
|
*/
|
|
349
567
|
getPartnerPublicEchoes: GetBrandEchoesForUserResponse;
|
|
568
|
+
/**
|
|
569
|
+
* Get paginated ticket tiers for a partner-owned moment.
|
|
570
|
+
* Provide either momentSlug or momentUid. Omitted isActive defaults to active tiers only.
|
|
571
|
+
*/
|
|
572
|
+
getPartnerTicketTiersForMoment: GetPartnerTicketTiersForMomentResponse;
|
|
573
|
+
/**
|
|
574
|
+
* Get a policy-bounded, admission-window-aware snapshot for dynamic pricing.
|
|
575
|
+
* Use each tier's currentPrice and pricingContextVersion as apply preconditions.
|
|
576
|
+
*/
|
|
577
|
+
getPartnerMomentDynamicPricingContext: DynamicPricingContext;
|
|
578
|
+
/** Retrieve one dynamic pricing batch owned by the authenticated partner brand. */
|
|
579
|
+
getPartnerDynamicPricingBatch: DynamicPricingBatch;
|
|
350
580
|
/**
|
|
351
581
|
* Get approved public lineup entries for a moment.
|
|
352
582
|
* Use getPartnerMoment to resolve a moment slug to uid before calling this query.
|
|
@@ -413,6 +643,16 @@ interface Mutation {
|
|
|
413
643
|
* When type is IRL, the venue field is required.
|
|
414
644
|
*/
|
|
415
645
|
createPartnerMoment: Moment;
|
|
646
|
+
/**
|
|
647
|
+
* Bulk edit partner-owned ticket tiers for a moment.
|
|
648
|
+
* Supports per-tier price, facility-fee, and supply updates.
|
|
649
|
+
*/
|
|
650
|
+
editPartnerTicketTiersForMoment: PartnerTicketTier[];
|
|
651
|
+
/**
|
|
652
|
+
* Preview or atomically apply absolute prices to explicitly selected,
|
|
653
|
+
* policy-enrolled ticket tiers.
|
|
654
|
+
*/
|
|
655
|
+
applyPartnerMomentDynamicPricing: DynamicPricingBatch;
|
|
416
656
|
/** Complete a partner brand subscription that was created with requireOtpVerification=true. */
|
|
417
657
|
verifyPartnerBrandSubscription: BrandSubscription;
|
|
418
658
|
respondToMomentLineup: MomentLineupResponseResult;
|
|
@@ -430,6 +670,25 @@ interface CurrencyGenqlSelection {
|
|
|
430
670
|
__typename?: boolean | number;
|
|
431
671
|
__scalar?: boolean | number;
|
|
432
672
|
}
|
|
673
|
+
/**
|
|
674
|
+
* The authenticated partner's brand identity and public-facing details.
|
|
675
|
+
* The brand is derived from the partner token and cannot be selected by UID or slug.
|
|
676
|
+
*/
|
|
677
|
+
interface PartnerBrandGenqlSelection {
|
|
678
|
+
uid?: boolean | number;
|
|
679
|
+
createdAt?: boolean | number;
|
|
680
|
+
updatedAt?: boolean | number;
|
|
681
|
+
name?: boolean | number;
|
|
682
|
+
slug?: boolean | number;
|
|
683
|
+
bio?: boolean | number;
|
|
684
|
+
publicUrl?: boolean | number;
|
|
685
|
+
customDomain?: boolean | number;
|
|
686
|
+
customDomainVerifiedAt?: boolean | number;
|
|
687
|
+
spotifyUrl?: boolean | number;
|
|
688
|
+
youtubeEmbedUrl?: boolean | number;
|
|
689
|
+
__typename?: boolean | number;
|
|
690
|
+
__scalar?: boolean | number;
|
|
691
|
+
}
|
|
433
692
|
interface VenueGenqlSelection {
|
|
434
693
|
uid?: boolean | number;
|
|
435
694
|
name?: boolean | number;
|
|
@@ -470,6 +729,8 @@ interface MomentGenqlSelection {
|
|
|
470
729
|
soldOut?: boolean | number;
|
|
471
730
|
timezone?: boolean | number;
|
|
472
731
|
minimumAge?: boolean | number;
|
|
732
|
+
/** Tracks the overall capacity of the moment. */
|
|
733
|
+
capacity?: boolean | number;
|
|
473
734
|
externalUrl?: boolean | number;
|
|
474
735
|
/** Display label to use when rendering the public lineup section. */
|
|
475
736
|
lineupDisplayLabel?: boolean | number;
|
|
@@ -505,6 +766,7 @@ interface TicketTierGenqlSelection {
|
|
|
505
766
|
description?: boolean | number;
|
|
506
767
|
price?: boolean | number;
|
|
507
768
|
currency?: CurrencyGenqlSelection;
|
|
769
|
+
attendanceMode?: boolean | number;
|
|
508
770
|
isActive?: boolean | number;
|
|
509
771
|
isPrivate?: boolean | number;
|
|
510
772
|
maxPerUser?: boolean | number;
|
|
@@ -675,6 +937,48 @@ interface EchoGenqlSelection {
|
|
|
675
937
|
__typename?: boolean | number;
|
|
676
938
|
__scalar?: boolean | number;
|
|
677
939
|
}
|
|
940
|
+
interface BrandDropGenqlSelection {
|
|
941
|
+
uid?: boolean | number;
|
|
942
|
+
name?: boolean | number;
|
|
943
|
+
slug?: boolean | number;
|
|
944
|
+
subtitle?: boolean | number;
|
|
945
|
+
disclosures?: boolean | number;
|
|
946
|
+
isPublic?: boolean | number;
|
|
947
|
+
ctaType?: boolean | number;
|
|
948
|
+
ctaUrl?: boolean | number;
|
|
949
|
+
ctaConfig?: boolean | number;
|
|
950
|
+
captureName?: boolean | number;
|
|
951
|
+
captureEmail?: boolean | number;
|
|
952
|
+
consentText?: boolean | number;
|
|
953
|
+
coverImage?: MediaAssetGenqlSelection;
|
|
954
|
+
coverImageMobile?: MediaAssetGenqlSelection;
|
|
955
|
+
isActive?: boolean | number;
|
|
956
|
+
musicLink?: BrandDropMusicLinkGenqlSelection;
|
|
957
|
+
createdAt?: boolean | number;
|
|
958
|
+
updatedAt?: boolean | number;
|
|
959
|
+
__typename?: boolean | number;
|
|
960
|
+
__scalar?: boolean | number;
|
|
961
|
+
}
|
|
962
|
+
interface BrandDropMusicLinkGenqlSelection {
|
|
963
|
+
uid?: boolean | number;
|
|
964
|
+
releaseType?: boolean | number;
|
|
965
|
+
title?: boolean | number;
|
|
966
|
+
artistName?: boolean | number;
|
|
967
|
+
isrcCode?: boolean | number;
|
|
968
|
+
upcCode?: boolean | number;
|
|
969
|
+
releaseDate?: boolean | number;
|
|
970
|
+
thumbnailUrl?: boolean | number;
|
|
971
|
+
thumbnailWidth?: boolean | number;
|
|
972
|
+
thumbnailHeight?: boolean | number;
|
|
973
|
+
subscriberOnly?: boolean | number;
|
|
974
|
+
sourceUrl?: boolean | number;
|
|
975
|
+
odesliPageUrl?: boolean | number;
|
|
976
|
+
lastSyncedAt?: boolean | number;
|
|
977
|
+
createdAt?: boolean | number;
|
|
978
|
+
updatedAt?: boolean | number;
|
|
979
|
+
__typename?: boolean | number;
|
|
980
|
+
__scalar?: boolean | number;
|
|
981
|
+
}
|
|
678
982
|
interface GetPublicMomentsResponseGenqlSelection {
|
|
679
983
|
moments?: MomentGenqlSelection;
|
|
680
984
|
totalCount?: boolean | number;
|
|
@@ -683,6 +987,14 @@ interface GetPublicMomentsResponseGenqlSelection {
|
|
|
683
987
|
__typename?: boolean | number;
|
|
684
988
|
__scalar?: boolean | number;
|
|
685
989
|
}
|
|
990
|
+
interface GetPartnerDropsResponseGenqlSelection {
|
|
991
|
+
drops?: BrandDropGenqlSelection;
|
|
992
|
+
totalCount?: boolean | number;
|
|
993
|
+
hasNextPage?: boolean | number;
|
|
994
|
+
nextCursor?: boolean | number;
|
|
995
|
+
__typename?: boolean | number;
|
|
996
|
+
__scalar?: boolean | number;
|
|
997
|
+
}
|
|
686
998
|
interface GetMomentLineupsResponseGenqlSelection {
|
|
687
999
|
lineups?: MomentLineupGenqlSelection;
|
|
688
1000
|
totalCount?: boolean | number;
|
|
@@ -715,6 +1027,150 @@ interface GetBrandEchoesForUserResponseGenqlSelection {
|
|
|
715
1027
|
__typename?: boolean | number;
|
|
716
1028
|
__scalar?: boolean | number;
|
|
717
1029
|
}
|
|
1030
|
+
interface PartnerTicketTierGenqlSelection {
|
|
1031
|
+
/** Sold-through fill rate as a 0-1 ratio. */
|
|
1032
|
+
fillRate?: boolean | number;
|
|
1033
|
+
isActive?: boolean | number;
|
|
1034
|
+
isPrivate?: boolean | number;
|
|
1035
|
+
label?: boolean | number;
|
|
1036
|
+
labelColor?: boolean | number;
|
|
1037
|
+
name?: boolean | number;
|
|
1038
|
+
price?: boolean | number;
|
|
1039
|
+
facilityFee?: boolean | number;
|
|
1040
|
+
remainingSupply?: boolean | number;
|
|
1041
|
+
slotDate?: boolean | number;
|
|
1042
|
+
slotDurationHours?: boolean | number;
|
|
1043
|
+
supply?: boolean | number;
|
|
1044
|
+
uid?: boolean | number;
|
|
1045
|
+
__typename?: boolean | number;
|
|
1046
|
+
__scalar?: boolean | number;
|
|
1047
|
+
}
|
|
1048
|
+
interface GetPartnerTicketTiersForMomentResponseGenqlSelection {
|
|
1049
|
+
ticketTiers?: PartnerTicketTierGenqlSelection;
|
|
1050
|
+
totalCount?: boolean | number;
|
|
1051
|
+
hasNextPage?: boolean | number;
|
|
1052
|
+
nextCursor?: boolean | number;
|
|
1053
|
+
__typename?: boolean | number;
|
|
1054
|
+
__scalar?: boolean | number;
|
|
1055
|
+
}
|
|
1056
|
+
interface MomentDynamicPricingTierRuleGenqlSelection {
|
|
1057
|
+
uid?: boolean | number;
|
|
1058
|
+
ticketTierUid?: boolean | number;
|
|
1059
|
+
minPrice?: boolean | number;
|
|
1060
|
+
maxPrice?: boolean | number;
|
|
1061
|
+
__typename?: boolean | number;
|
|
1062
|
+
__scalar?: boolean | number;
|
|
1063
|
+
}
|
|
1064
|
+
interface MomentDynamicPricingPolicyGenqlSelection {
|
|
1065
|
+
uid?: boolean | number;
|
|
1066
|
+
momentUid?: boolean | number;
|
|
1067
|
+
enabled?: boolean | number;
|
|
1068
|
+
version?: boolean | number;
|
|
1069
|
+
advanceBookingHorizonDays?: boolean | number;
|
|
1070
|
+
tierRules?: MomentDynamicPricingTierRuleGenqlSelection;
|
|
1071
|
+
createdAt?: boolean | number;
|
|
1072
|
+
updatedAt?: boolean | number;
|
|
1073
|
+
__typename?: boolean | number;
|
|
1074
|
+
__scalar?: boolean | number;
|
|
1075
|
+
}
|
|
1076
|
+
interface DynamicPricingAdmissionWindowGenqlSelection {
|
|
1077
|
+
uid?: boolean | number;
|
|
1078
|
+
startsAt?: boolean | number;
|
|
1079
|
+
endsAt?: boolean | number;
|
|
1080
|
+
checkInOpensAt?: boolean | number;
|
|
1081
|
+
checkInClosesAt?: boolean | number;
|
|
1082
|
+
label?: boolean | number;
|
|
1083
|
+
source?: boolean | number;
|
|
1084
|
+
sortOrder?: boolean | number;
|
|
1085
|
+
__typename?: boolean | number;
|
|
1086
|
+
__scalar?: boolean | number;
|
|
1087
|
+
}
|
|
1088
|
+
interface DynamicPricingTierContextGenqlSelection {
|
|
1089
|
+
ticketTierUid?: boolean | number;
|
|
1090
|
+
name?: boolean | number;
|
|
1091
|
+
currency?: boolean | number;
|
|
1092
|
+
currentPrice?: boolean | number;
|
|
1093
|
+
facilityFee?: boolean | number;
|
|
1094
|
+
minPrice?: boolean | number;
|
|
1095
|
+
maxPrice?: boolean | number;
|
|
1096
|
+
supply?: boolean | number;
|
|
1097
|
+
remainingSupply?: boolean | number;
|
|
1098
|
+
consumedSupply?: boolean | number;
|
|
1099
|
+
fillRateBps?: boolean | number;
|
|
1100
|
+
isActive?: boolean | number;
|
|
1101
|
+
eligible?: boolean | number;
|
|
1102
|
+
ineligibilityReasons?: boolean | number;
|
|
1103
|
+
pricingContextVersion?: boolean | number;
|
|
1104
|
+
lastDynamicPriceChangeAt?: boolean | number;
|
|
1105
|
+
admissionWindows?: DynamicPricingAdmissionWindowGenqlSelection;
|
|
1106
|
+
__typename?: boolean | number;
|
|
1107
|
+
__scalar?: boolean | number;
|
|
1108
|
+
}
|
|
1109
|
+
interface DynamicPricingContextGenqlSelection {
|
|
1110
|
+
serverNow?: boolean | number;
|
|
1111
|
+
horizonEndsAt?: boolean | number;
|
|
1112
|
+
validUntil?: boolean | number;
|
|
1113
|
+
momentUid?: boolean | number;
|
|
1114
|
+
momentSlug?: boolean | number;
|
|
1115
|
+
timezone?: boolean | number;
|
|
1116
|
+
policy?: MomentDynamicPricingPolicyGenqlSelection;
|
|
1117
|
+
tiers?: DynamicPricingTierContextGenqlSelection;
|
|
1118
|
+
__typename?: boolean | number;
|
|
1119
|
+
__scalar?: boolean | number;
|
|
1120
|
+
}
|
|
1121
|
+
interface DynamicPricingBatchItemGenqlSelection {
|
|
1122
|
+
uid?: boolean | number;
|
|
1123
|
+
ticketTierUid?: boolean | number;
|
|
1124
|
+
expectedPrice?: boolean | number;
|
|
1125
|
+
requestedPrice?: boolean | number;
|
|
1126
|
+
previousPrice?: boolean | number;
|
|
1127
|
+
resultingPrice?: boolean | number;
|
|
1128
|
+
expectedPricingContextVersion?: boolean | number;
|
|
1129
|
+
actualPricingContextVersion?: boolean | number;
|
|
1130
|
+
status?: boolean | number;
|
|
1131
|
+
failureCode?: boolean | number;
|
|
1132
|
+
failureMessage?: boolean | number;
|
|
1133
|
+
contextSnapshot?: boolean | number;
|
|
1134
|
+
externalSignals?: boolean | number;
|
|
1135
|
+
__typename?: boolean | number;
|
|
1136
|
+
__scalar?: boolean | number;
|
|
1137
|
+
}
|
|
1138
|
+
interface DynamicPricingBatchEventGenqlSelection {
|
|
1139
|
+
uid?: boolean | number;
|
|
1140
|
+
type?: boolean | number;
|
|
1141
|
+
requestHash?: boolean | number;
|
|
1142
|
+
details?: boolean | number;
|
|
1143
|
+
createdAt?: boolean | number;
|
|
1144
|
+
__typename?: boolean | number;
|
|
1145
|
+
__scalar?: boolean | number;
|
|
1146
|
+
}
|
|
1147
|
+
interface DynamicPricingBatchGenqlSelection {
|
|
1148
|
+
uid?: boolean | number;
|
|
1149
|
+
momentUidRequested?: boolean | number;
|
|
1150
|
+
actorType?: boolean | number;
|
|
1151
|
+
actorUid?: boolean | number;
|
|
1152
|
+
executionMode?: boolean | number;
|
|
1153
|
+
status?: boolean | number;
|
|
1154
|
+
idempotencyKey?: boolean | number;
|
|
1155
|
+
requestHash?: boolean | number;
|
|
1156
|
+
replayCount?: boolean | number;
|
|
1157
|
+
idempotencyConflictCount?: boolean | number;
|
|
1158
|
+
policyVersion?: boolean | number;
|
|
1159
|
+
reason?: boolean | number;
|
|
1160
|
+
strategyKey?: boolean | number;
|
|
1161
|
+
strategyVersion?: boolean | number;
|
|
1162
|
+
externalReference?: boolean | number;
|
|
1163
|
+
metadata?: boolean | number;
|
|
1164
|
+
failureCode?: boolean | number;
|
|
1165
|
+
failureMessage?: boolean | number;
|
|
1166
|
+
items?: DynamicPricingBatchItemGenqlSelection;
|
|
1167
|
+
events?: DynamicPricingBatchEventGenqlSelection;
|
|
1168
|
+
createdAt?: boolean | number;
|
|
1169
|
+
updatedAt?: boolean | number;
|
|
1170
|
+
completedAt?: boolean | number;
|
|
1171
|
+
__typename?: boolean | number;
|
|
1172
|
+
__scalar?: boolean | number;
|
|
1173
|
+
}
|
|
718
1174
|
interface BrandSubscriptionGenqlSelection {
|
|
719
1175
|
uid?: boolean | number;
|
|
720
1176
|
isActive?: boolean | number;
|
|
@@ -742,6 +1198,8 @@ interface MomentLineupResponseResultGenqlSelection {
|
|
|
742
1198
|
__scalar?: boolean | number;
|
|
743
1199
|
}
|
|
744
1200
|
interface QueryGenqlSelection {
|
|
1201
|
+
/** Get details for the brand associated with the partner token. */
|
|
1202
|
+
getPartnerBrand?: PartnerBrandGenqlSelection;
|
|
745
1203
|
/** Get paginated moments for the brand associated with the partner token. */
|
|
746
1204
|
getPartnerMomentsForBrand?: (GetPublicMomentsResponseGenqlSelection & {
|
|
747
1205
|
__args: {
|
|
@@ -753,6 +1211,18 @@ interface QueryGenqlSelection {
|
|
|
753
1211
|
sortOrder?: (MomentSortOrder | null);
|
|
754
1212
|
};
|
|
755
1213
|
});
|
|
1214
|
+
/** Get paginated drops for the brand associated with the partner token. */
|
|
1215
|
+
getPartnerDrops?: (GetPartnerDropsResponseGenqlSelection & {
|
|
1216
|
+
__args?: {
|
|
1217
|
+
/** Cursor UID for pagination */
|
|
1218
|
+
cursor?: (Scalars['String'] | null);
|
|
1219
|
+
take?: (Scalars['Int'] | null);
|
|
1220
|
+
/** Case-insensitive search over name, subtitle, and slug */
|
|
1221
|
+
search?: (Scalars['String'] | null);
|
|
1222
|
+
isPublic?: (Scalars['Boolean'] | null);
|
|
1223
|
+
ctaType?: (BrandDropCtaType | null);
|
|
1224
|
+
};
|
|
1225
|
+
});
|
|
756
1226
|
/** Get a single moment by slug. */
|
|
757
1227
|
getPartnerMoment?: (MomentGenqlSelection & {
|
|
758
1228
|
__args: {
|
|
@@ -814,6 +1284,30 @@ interface QueryGenqlSelection {
|
|
|
814
1284
|
take?: (Scalars['Int'] | null);
|
|
815
1285
|
};
|
|
816
1286
|
});
|
|
1287
|
+
/**
|
|
1288
|
+
* Get paginated ticket tiers for a partner-owned moment.
|
|
1289
|
+
* Provide either momentSlug or momentUid. Omitted isActive defaults to active tiers only.
|
|
1290
|
+
*/
|
|
1291
|
+
getPartnerTicketTiersForMoment?: (GetPartnerTicketTiersForMomentResponseGenqlSelection & {
|
|
1292
|
+
__args: {
|
|
1293
|
+
input: GetPartnerTicketTiersForMomentInput;
|
|
1294
|
+
};
|
|
1295
|
+
});
|
|
1296
|
+
/**
|
|
1297
|
+
* Get a policy-bounded, admission-window-aware snapshot for dynamic pricing.
|
|
1298
|
+
* Use each tier's currentPrice and pricingContextVersion as apply preconditions.
|
|
1299
|
+
*/
|
|
1300
|
+
getPartnerMomentDynamicPricingContext?: (DynamicPricingContextGenqlSelection & {
|
|
1301
|
+
__args: {
|
|
1302
|
+
input: DynamicPricingMomentInput;
|
|
1303
|
+
};
|
|
1304
|
+
});
|
|
1305
|
+
/** Retrieve one dynamic pricing batch owned by the authenticated partner brand. */
|
|
1306
|
+
getPartnerDynamicPricingBatch?: (DynamicPricingBatchGenqlSelection & {
|
|
1307
|
+
__args: {
|
|
1308
|
+
batchUid: Scalars['String'];
|
|
1309
|
+
};
|
|
1310
|
+
});
|
|
817
1311
|
/**
|
|
818
1312
|
* Get approved public lineup entries for a moment.
|
|
819
1313
|
* Use getPartnerMoment to resolve a moment slug to uid before calling this query.
|
|
@@ -837,13 +1331,13 @@ interface QueryGenqlSelection {
|
|
|
837
1331
|
__scalar?: boolean | number;
|
|
838
1332
|
}
|
|
839
1333
|
interface DimensionsInput {
|
|
840
|
-
width: Scalars['
|
|
841
|
-
height: Scalars['
|
|
1334
|
+
width: Scalars['Float'];
|
|
1335
|
+
height: Scalars['Float'];
|
|
842
1336
|
}
|
|
843
1337
|
interface VenueInput {
|
|
844
1338
|
name: Scalars['String'];
|
|
845
1339
|
city: Scalars['String'];
|
|
846
|
-
country
|
|
1340
|
+
country?: (Scalars['String'] | null);
|
|
847
1341
|
address?: (Scalars['String'] | null);
|
|
848
1342
|
postalCode?: (Scalars['String'] | null);
|
|
849
1343
|
}
|
|
@@ -865,28 +1359,125 @@ interface CreatePartnerTicketTierInput {
|
|
|
865
1359
|
isPrivate?: (Scalars['Boolean'] | null);
|
|
866
1360
|
/** Default: true. */
|
|
867
1361
|
isActive?: (Scalars['Boolean'] | null);
|
|
1362
|
+
/** Required for HYBRID moments. Defaults from parent type for IRL and DIGITAL moments. */
|
|
1363
|
+
attendanceMode?: (TicketAttendanceMode | null);
|
|
1364
|
+
}
|
|
1365
|
+
interface CreateMomentOnlineConfigInput {
|
|
1366
|
+
hostInstructions?: (Scalars['String'] | null);
|
|
1367
|
+
meetingId?: (Scalars['String'] | null);
|
|
1368
|
+
meetingPasscode?: (Scalars['String'] | null);
|
|
1369
|
+
meetingUrl: Scalars['String'];
|
|
1370
|
+
provider: MomentOnlineProvider;
|
|
868
1371
|
}
|
|
869
1372
|
interface CreatePartnerMomentInput {
|
|
870
1373
|
name: Scalars['String'];
|
|
871
1374
|
description: Scalars['String'];
|
|
872
|
-
blurb
|
|
1375
|
+
blurb?: (Scalars['String'] | null);
|
|
873
1376
|
startDate: Scalars['DateTime'];
|
|
874
1377
|
endDate: Scalars['DateTime'];
|
|
875
1378
|
/** IANA timezone (e.g. "America/New_York"). */
|
|
876
1379
|
timezone: Scalars['String'];
|
|
877
|
-
/** IRL (in-person) or
|
|
1380
|
+
/** IRL (in-person), DIGITAL, or HYBRID. */
|
|
878
1381
|
type: MomentType;
|
|
879
1382
|
/** UID of a previously uploaded media asset. If omitted, uses the brand default cover image. */
|
|
880
1383
|
coverImageUid?: (Scalars['String'] | null);
|
|
881
1384
|
/** Required when type is IRL. */
|
|
882
1385
|
venue?: (VenueInput | null);
|
|
1386
|
+
/** Allowed when type is DIGITAL or HYBRID. */
|
|
1387
|
+
onlineConfig?: (CreateMomentOnlineConfigInput | null);
|
|
883
1388
|
/** Default: false. */
|
|
884
1389
|
isPrivate?: (Scalars['Boolean'] | null);
|
|
1390
|
+
/** Tracks the overall capacity of the moment. */
|
|
1391
|
+
capacity?: (Scalars['Int'] | null);
|
|
885
1392
|
category?: (MomentCategory | null);
|
|
886
1393
|
subcategory?: (MomentSubcategory | null);
|
|
887
1394
|
/** Ticket tiers to create along with the moment. */
|
|
888
1395
|
ticketTiers?: (CreatePartnerTicketTierInput[] | null);
|
|
889
1396
|
}
|
|
1397
|
+
interface GetPartnerTicketTiersForMomentInput {
|
|
1398
|
+
/** Moment UID to search ticket tiers for. Provide this or momentSlug. */
|
|
1399
|
+
momentUid?: (Scalars['String'] | null);
|
|
1400
|
+
/** Moment slug to search ticket tiers for. Provide this or momentUid. */
|
|
1401
|
+
momentSlug?: (Scalars['String'] | null);
|
|
1402
|
+
cursor?: (Scalars['String'] | null);
|
|
1403
|
+
take?: (Scalars['Int'] | null);
|
|
1404
|
+
/** Optional ticket tier UIDs to return. */
|
|
1405
|
+
ticketTierUids?: (Scalars['String'][] | null);
|
|
1406
|
+
/** Case-insensitive search over tier name and label. */
|
|
1407
|
+
search?: (Scalars['String'] | null);
|
|
1408
|
+
isActive?: (Scalars['Boolean'] | null);
|
|
1409
|
+
isPrivate?: (Scalars['Boolean'] | null);
|
|
1410
|
+
/** Filter by payment type: true = paid tiers only, false = free tiers only. */
|
|
1411
|
+
isPaid?: (Scalars['Boolean'] | null);
|
|
1412
|
+
/** Exact tier price in cents. */
|
|
1413
|
+
price?: (Scalars['Int'] | null);
|
|
1414
|
+
/** Minimum tier price in cents. */
|
|
1415
|
+
minPrice?: (Scalars['Int'] | null);
|
|
1416
|
+
/** Maximum tier price in cents. */
|
|
1417
|
+
maxPrice?: (Scalars['Int'] | null);
|
|
1418
|
+
supply?: (Scalars['Int'] | null);
|
|
1419
|
+
minSupply?: (Scalars['Int'] | null);
|
|
1420
|
+
maxSupply?: (Scalars['Int'] | null);
|
|
1421
|
+
remainingSupply?: (Scalars['Int'] | null);
|
|
1422
|
+
minRemainingSupply?: (Scalars['Int'] | null);
|
|
1423
|
+
maxRemainingSupply?: (Scalars['Int'] | null);
|
|
1424
|
+
/** Minimum sold-through fill rate as a 0-1 ratio. */
|
|
1425
|
+
minFillRate?: (Scalars['Float'] | null);
|
|
1426
|
+
/** Maximum sold-through fill rate as a 0-1 ratio. */
|
|
1427
|
+
maxFillRate?: (Scalars['Float'] | null);
|
|
1428
|
+
/** Filter to tiers with an admission window ending after this date. */
|
|
1429
|
+
startsAt?: (Scalars['DateTime'] | null);
|
|
1430
|
+
/** Filter to tiers with an admission window starting before this date. */
|
|
1431
|
+
endsAt?: (Scalars['DateTime'] | null);
|
|
1432
|
+
/** Filter to tiers with slotDate on or after this date. */
|
|
1433
|
+
slotDateStart?: (Scalars['DateTime'] | null);
|
|
1434
|
+
/** Filter to tiers with slotDate on or before this date. */
|
|
1435
|
+
slotDateEnd?: (Scalars['DateTime'] | null);
|
|
1436
|
+
}
|
|
1437
|
+
interface PartnerTicketTierUpdateInput {
|
|
1438
|
+
ticketTierUid: Scalars['String'];
|
|
1439
|
+
price?: (Scalars['Int'] | null);
|
|
1440
|
+
facilityFee?: (Scalars['Int'] | null);
|
|
1441
|
+
supply?: (Scalars['Int'] | null);
|
|
1442
|
+
}
|
|
1443
|
+
interface EditPartnerTicketTiersForMomentInput {
|
|
1444
|
+
/** Moment UID containing the ticket tiers. Provide this or momentSlug. */
|
|
1445
|
+
momentUid?: (Scalars['String'] | null);
|
|
1446
|
+
/** Moment slug containing the ticket tiers. Provide this or momentUid. */
|
|
1447
|
+
momentSlug?: (Scalars['String'] | null);
|
|
1448
|
+
updates: PartnerTicketTierUpdateInput[];
|
|
1449
|
+
}
|
|
1450
|
+
interface DynamicPricingMomentInput {
|
|
1451
|
+
momentUid?: (Scalars['String'] | null);
|
|
1452
|
+
momentSlug?: (Scalars['String'] | null);
|
|
1453
|
+
}
|
|
1454
|
+
interface DynamicPricingTierUpdateInput {
|
|
1455
|
+
ticketTierUid: Scalars['String'];
|
|
1456
|
+
newPrice: Scalars['Int'];
|
|
1457
|
+
expectedPrice: Scalars['Int'];
|
|
1458
|
+
expectedPricingContextVersion: Scalars['String'];
|
|
1459
|
+
inventoryGuard: DynamicPricingInventoryGuardInput;
|
|
1460
|
+
externalSignals?: (Scalars['JSON'] | null);
|
|
1461
|
+
}
|
|
1462
|
+
interface DynamicPricingInventoryGuardInput {
|
|
1463
|
+
mode: DynamicPricingInventoryGuardMode;
|
|
1464
|
+
metric?: (DynamicPricingInventoryMetric | null);
|
|
1465
|
+
minimum?: (Scalars['Int'] | null);
|
|
1466
|
+
maximum?: (Scalars['Int'] | null);
|
|
1467
|
+
}
|
|
1468
|
+
interface ApplyDynamicPricingInput {
|
|
1469
|
+
momentUid?: (Scalars['String'] | null);
|
|
1470
|
+
momentSlug?: (Scalars['String'] | null);
|
|
1471
|
+
mode: DynamicPricingExecutionMode;
|
|
1472
|
+
idempotencyKey: Scalars['String'];
|
|
1473
|
+
policyVersion: Scalars['Int'];
|
|
1474
|
+
reason: Scalars['String'];
|
|
1475
|
+
strategyKey?: (Scalars['String'] | null);
|
|
1476
|
+
strategyVersion?: (Scalars['String'] | null);
|
|
1477
|
+
externalReference?: (Scalars['String'] | null);
|
|
1478
|
+
metadata?: (Scalars['JSON'] | null);
|
|
1479
|
+
updates: DynamicPricingTierUpdateInput[];
|
|
1480
|
+
}
|
|
890
1481
|
interface RespondToMomentLineupInput {
|
|
891
1482
|
token: Scalars['String'];
|
|
892
1483
|
status: MomentLineupStatus;
|
|
@@ -1043,6 +1634,24 @@ interface MutationGenqlSelection {
|
|
|
1043
1634
|
input: CreatePartnerMomentInput;
|
|
1044
1635
|
};
|
|
1045
1636
|
});
|
|
1637
|
+
/**
|
|
1638
|
+
* Bulk edit partner-owned ticket tiers for a moment.
|
|
1639
|
+
* Supports per-tier price, facility-fee, and supply updates.
|
|
1640
|
+
*/
|
|
1641
|
+
editPartnerTicketTiersForMoment?: (PartnerTicketTierGenqlSelection & {
|
|
1642
|
+
__args: {
|
|
1643
|
+
input: EditPartnerTicketTiersForMomentInput;
|
|
1644
|
+
};
|
|
1645
|
+
});
|
|
1646
|
+
/**
|
|
1647
|
+
* Preview or atomically apply absolute prices to explicitly selected,
|
|
1648
|
+
* policy-enrolled ticket tiers.
|
|
1649
|
+
*/
|
|
1650
|
+
applyPartnerMomentDynamicPricing?: (DynamicPricingBatchGenqlSelection & {
|
|
1651
|
+
__args: {
|
|
1652
|
+
input: ApplyDynamicPricingInput;
|
|
1653
|
+
};
|
|
1654
|
+
});
|
|
1046
1655
|
/** Complete a partner brand subscription that was created with requireOtpVerification=true. */
|
|
1047
1656
|
verifyPartnerBrandSubscription?: (BrandSubscriptionGenqlSelection & {
|
|
1048
1657
|
__args: {
|
|
@@ -1169,4 +1778,4 @@ type ITMPartnerClient = Client;
|
|
|
1169
1778
|
*/
|
|
1170
1779
|
declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
|
|
1171
1780
|
|
|
1172
|
-
export { type BrandSubscription, type CreatePartnerBrandSubscriptionInput, type CreatePartnerBrandSubscriptionResponse, type CreatePartnerMomentInput, type CreatePartnerTicketTierInput, type Currency, DEFAULT_API_URL, type Dimensions, type DimensionsInput, type Echo, type EchoMediaAsset, type EchoType, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetPartnerCustomersResponse, type GetPublicMomentsResponse, type GetTicketsResponse, type ITMPartnerClient, type ITMPartnerClientConfig, type ITMPartnerHeaders, type ITMPartnerHeadersObject, type MediaAsset, type MediaAssetUploadUrl, type MerchPurchase, type Moment, type MomentCategory, type MomentCollection, type MomentCollectionLink, type MomentDiscountCodeUsage, type MomentLineup, type MomentLineupDisplayLabel, type MomentLineupResponseResult, type MomentLineupStatus, type MomentLineupType, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentType, type Mutation, type PartnerCustomer, type PartnerMomentStats, type Payment, type PaymentStatus, type PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PublicMomentLineupInfo, type Query, type RespondToMomentLineupInput, type SubscriptionComplianceInput, type ThirdPartyEchoType, type Ticket, type TicketExtension, type TicketExtensionStatus, type TicketTier, type User, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|
|
1781
|
+
export { type ApplyDynamicPricingInput, type BrandDrop, type BrandDropCtaType, type BrandDropMusicLink, type BrandSubscription, type CreateMomentOnlineConfigInput, type CreatePartnerBrandSubscriptionInput, type CreatePartnerBrandSubscriptionResponse, type CreatePartnerMomentInput, type CreatePartnerTicketTierInput, 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 GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, type GetPublicMomentsResponse, type GetTicketsResponse, type ITMPartnerClient, type ITMPartnerClientConfig, type ITMPartnerHeaders, type ITMPartnerHeadersObject, 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 MomentOnlineProvider, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentType, type MusicReleaseType, type Mutation, type PartnerBrand, type PartnerCustomer, type PartnerMomentStats, type PartnerTicketTier, type PartnerTicketTierUpdateInput, type Payment, type PaymentStatus, type PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PublicMomentLineupInfo, type Query, type RespondToMomentLineupInput, type SubscriptionComplianceInput, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketTier, type User, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|