@itm-studio/partner-sdk 0.3.0 → 0.3.1
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 +92 -1
- package/dist/index.d.mts +69 -4
- package/dist/index.d.ts +69 -4
- package/dist/index.js +732 -653
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +732 -653
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +123 -0
package/README.md
CHANGED
|
@@ -32,6 +32,8 @@ const { getPartnerMomentsForBrand } = await itm.query({
|
|
|
32
32
|
slug: true,
|
|
33
33
|
startDate: true,
|
|
34
34
|
endDate: true,
|
|
35
|
+
category: true,
|
|
36
|
+
subcategory: true,
|
|
35
37
|
status: true,
|
|
36
38
|
timezone: true,
|
|
37
39
|
externalUrl: true,
|
|
@@ -394,7 +396,13 @@ const { getPartnerMomentsForBrand } = await itm.query({
|
|
|
394
396
|
},
|
|
395
397
|
sortOrder: "ASC", // ASC | DESC by start date (default: DESC)
|
|
396
398
|
},
|
|
397
|
-
moments: {
|
|
399
|
+
moments: {
|
|
400
|
+
uid: true,
|
|
401
|
+
name: true,
|
|
402
|
+
startDate: true,
|
|
403
|
+
category: true,
|
|
404
|
+
subcategory: true,
|
|
405
|
+
},
|
|
398
406
|
totalCount: true,
|
|
399
407
|
hasNextPage: true,
|
|
400
408
|
nextCursor: true,
|
|
@@ -409,6 +417,49 @@ setting `includePrivate` to `false`, preserves the public-only behavior.
|
|
|
409
417
|
`filters.search` matches moment names and slugs case-insensitively, is limited
|
|
410
418
|
to 100 characters, and composes with visibility, status, sorting, and cursor
|
|
411
419
|
pagination.
|
|
420
|
+
Select `category` and `subcategory` on each moment when you need to filter or
|
|
421
|
+
group SDK results by the event taxonomy. Both values are set when the moment
|
|
422
|
+
is created; a film screening created with `category: "SCREENING"` and
|
|
423
|
+
`subcategory: "FILM_SCREENING"` is returned with exactly those values.
|
|
424
|
+
|
|
425
|
+
Moment tags can provide campaign-specific grouping without changing the event
|
|
426
|
+
taxonomy. `momentTags` is available on every `Moment` the SDK returns, including
|
|
427
|
+
`getPartnerMoment`. Only tags marked partner-visible are returned; private tags
|
|
428
|
+
are never available through the SDK. Each assignment includes whether it was
|
|
429
|
+
added manually or automatically. `pagination.take` must be a positive integer;
|
|
430
|
+
it defaults to 50 and is capped at 100. Pass `nextCursor` back as
|
|
431
|
+
`pagination.cursor` to fetch the next page:
|
|
432
|
+
|
|
433
|
+
```typescript
|
|
434
|
+
const { getPartnerMomentsForBrand } = await itm.query({
|
|
435
|
+
getPartnerMomentsForBrand: {
|
|
436
|
+
__args: { take: 20 },
|
|
437
|
+
moments: {
|
|
438
|
+
uid: true,
|
|
439
|
+
name: true,
|
|
440
|
+
momentTags: {
|
|
441
|
+
__args: {
|
|
442
|
+
sources: ["MANUAL"], // omit to include MANUAL and AUTO
|
|
443
|
+
pagination: { take: 50 },
|
|
444
|
+
},
|
|
445
|
+
assignments: {
|
|
446
|
+
tag: { uid: true, name: true },
|
|
447
|
+
source: true,
|
|
448
|
+
isPublic: true,
|
|
449
|
+
confidence: true,
|
|
450
|
+
},
|
|
451
|
+
totalCount: true,
|
|
452
|
+
hasNextPage: true,
|
|
453
|
+
nextCursor: true,
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
totalCount: true,
|
|
457
|
+
},
|
|
458
|
+
});
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
Use the returned Moment UIDs with audience filters when you need users who
|
|
462
|
+
interacted with Moments from a particular film campaign.
|
|
412
463
|
|
|
413
464
|
### `getPartnerDrops`
|
|
414
465
|
|
|
@@ -483,6 +534,11 @@ const { getPartnerMoment } = await itm.query({
|
|
|
483
534
|
url: true,
|
|
484
535
|
mimeType: true,
|
|
485
536
|
},
|
|
537
|
+
venue: {
|
|
538
|
+
name: true,
|
|
539
|
+
city: true,
|
|
540
|
+
postalCode: true,
|
|
541
|
+
},
|
|
486
542
|
ticketTiers: {
|
|
487
543
|
name: true,
|
|
488
544
|
price: true,
|
|
@@ -971,8 +1027,43 @@ Use OTP subscribe when you want the user to confirm the phone number before the
|
|
|
971
1027
|
- `listNames`: optional brand list names. Missing lists are created automatically and the subscribed user is attached to them.
|
|
972
1028
|
- `compliance`: optional metadata about how consent was collected. This is the right place for fields like `pageUrl`, `submissionMethod`, `submittedAt`, `timezone`, and geo/browser/device details.
|
|
973
1029
|
- `compliance.ipAddress` and `compliance.userAgent`: optional. If you omit them and forward `x-forwarded-for` and `user-agent`, the backend backfills those values for you.
|
|
1030
|
+
- `consentText`: optional but strongly recommended. Send the verbatim opt-in disclosure the subscriber accepted on your signup surface, up to 5000 characters. See [Marketing Consent](#marketing-consent).
|
|
974
1031
|
- `postSubscriptionMessage`: optional welcome message delivered automatically after the subscription becomes active. The SDK exposes this as `PostSubscriptionMessageInput` and accepts it on `CreatePartnerBrandSubscriptionInput`. See [Post-Subscription Welcome Message](#post-subscription-welcome-message).
|
|
975
1032
|
|
|
1033
|
+
### Marketing Consent
|
|
1034
|
+
|
|
1035
|
+
A successful subscription **is** the marketing opt-in. Once `createPartnerBrandSubscription` (or `verifyPartnerBrandSubscription` for OTP flows) returns, the subscriber is consented for the brand's marketing SMS, and for email once an address is on file. Consent flows through to the brand's connected email/SMS destinations automatically.
|
|
1036
|
+
|
|
1037
|
+
Existing opt-outs always win, per channel. A prior STOP keyword or SMS unsubscribe for that brand blocks the SMS consent grant, and a prior email unsubscribe blocks the email consent grant — the subscription still succeeds, but consent is not granted on an opted-out channel. Users the brand has blacklisted cannot subscribe at all: the mutation fails with an authorization error.
|
|
1038
|
+
|
|
1039
|
+
**Because the subscribe call grants consent, collect the opt-in properly on your surface:**
|
|
1040
|
+
|
|
1041
|
+
- Show an explicit marketing consent disclosure at signup.
|
|
1042
|
+
- Send that exact disclosure back as `consentText`. It is stored with the subscription's compliance record as evidence of what the subscriber agreed to.
|
|
1043
|
+
- Send `compliance` metadata (at minimum `pageUrl` and `submissionMethod`) alongside it, and forward `x-forwarded-for` and `user-agent` so IP and user agent are captured.
|
|
1044
|
+
|
|
1045
|
+
```typescript
|
|
1046
|
+
await client.mutation({
|
|
1047
|
+
createPartnerBrandSubscription: {
|
|
1048
|
+
__args: {
|
|
1049
|
+
input: {
|
|
1050
|
+
phoneNumber: "+14155551234",
|
|
1051
|
+
consentText:
|
|
1052
|
+
"By joining, you agree to receive recurring marketing texts from Brand. Msg & data rates may apply. Reply STOP to opt out.",
|
|
1053
|
+
compliance: {
|
|
1054
|
+
pageUrl: "https://example.com/signup",
|
|
1055
|
+
submissionMethod: "partner_sdk",
|
|
1056
|
+
},
|
|
1057
|
+
},
|
|
1058
|
+
},
|
|
1059
|
+
subscription: { uid: true },
|
|
1060
|
+
verificationRequired: true,
|
|
1061
|
+
},
|
|
1062
|
+
});
|
|
1063
|
+
```
|
|
1064
|
+
|
|
1065
|
+
`consentText` is trimmed before it is stored, and a blank value is treated as omitted. Values longer than 5000 characters are rejected with a validation error, not truncated. In OTP mode the text is captured on the first call and re-used automatically when the flow is verified — send it on the first call only.
|
|
1066
|
+
|
|
976
1067
|
### OTP Flow Step By Step
|
|
977
1068
|
|
|
978
1069
|
1. Call `createPartnerBrandSubscription` with `requireOtpVerification: true`.
|
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ type Scalars = {
|
|
|
4
4
|
ID: string;
|
|
5
5
|
String: string;
|
|
6
6
|
Boolean: boolean;
|
|
7
|
-
Int: number;
|
|
8
7
|
Float: number;
|
|
8
|
+
Int: number;
|
|
9
9
|
};
|
|
10
10
|
type ConsentStatus = 'NEVER_SUBSCRIBED' | 'SUBSCRIBED' | 'UNSUBSCRIBED';
|
|
11
11
|
type UserSource = 'BRAND' | 'DICE' | 'ITM';
|
|
@@ -20,8 +20,8 @@ type MusicReleaseType = 'ALBUM' | 'EP' | 'SINGLE';
|
|
|
20
20
|
type MomentType = 'DIGITAL' | 'HYBRID' | 'IRL';
|
|
21
21
|
type MomentOnlineProvider = 'GOOGLE_MEET' | 'MS_TEAMS' | 'OTHER' | 'ZOOM';
|
|
22
22
|
type TicketAttendanceMode = 'IN_PERSON' | 'ONLINE';
|
|
23
|
-
type MomentCategory = 'ACTIVATION' | 'CONCERT' | 'DIGITAL' | 'DINING' | 'EDUCATION' | 'EXHIBITION' | 'FASHION' | 'FESTIVAL' | 'LAUNCH' | 'NIGHTLIFE' | 'OTHER' | 'PARTY' | 'PERFORMING_ARTS' | 'SCREENING' | 'SPORTS' | 'WELLNESS';
|
|
24
|
-
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';
|
|
23
|
+
type MomentCategory = 'ACTIVATION' | 'BUSINESS' | 'COMMUNITY' | 'CONCERT' | 'DIGITAL' | 'DINING' | 'EDUCATION' | 'EXHIBITION' | 'FASHION' | 'FESTIVAL' | 'LAUNCH' | 'NIGHTLIFE' | 'OTHER' | 'PARTY' | 'PERFORMING_ARTS' | 'SCREENING' | 'SPORTS' | 'WELLNESS';
|
|
24
|
+
type MomentSubcategory = 'ACOUSTIC_SET' | 'ADVANCE_SCREENING' | 'AFTER_PARTY' | 'AIRDROP' | 'ALBUM_DROP' | 'ALBUM_RELEASE_SHOW' | 'AMA' | 'ANNIVERSARY' | 'APP_LAUNCH' | 'ARTIST_POP_UP' | 'ARTIST_RECEPTION' | 'ARTIST_TALK' | 'ART_FAIR' | 'ART_FESTIVAL' | 'ATHLETE_APPEARANCE' | 'AWARDS' | 'BAR_TAKEOVER' | 'BATTLE' | 'BEAUTY_FASHION_EVENT' | 'BEER_AND_WINE_FESTIVAL' | 'BEER_TASTING' | 'BIENNALE' | 'BIRTHDAY' | 'BLOCK_PARTY' | 'BOOK_LAUNCH' | 'BOOK_TALK' | 'BRAND_EXPERIENCE' | 'BRAND_REVEAL' | 'BREATHWORK' | 'BRUNCH_EVENT' | 'BURLESQUE' | 'BUSINESS_MIXER' | 'CACAO_CEREMONY' | 'CAREER_FAIR' | 'CARNIVAL' | 'CELEBRATION' | 'CHAMPIONSHIP' | 'CHARITY_EVENT' | 'CHEF_DINNER' | 'CHOIR_OR_ENSEMBLE' | 'CLASS' | 'CLUB_MEETING' | 'CLUB_NIGHT' | 'CLUB_SET' | 'COLD_PLUNGE' | 'COLLABORATION_REVEAL' | 'COLLECTION_DROP' | 'COMEDY_FESTIVAL' | 'COMEDY_NIGHT' | 'COMEDY_SHOW' | 'COMMUNITY_FESTIVAL' | 'COMMUNITY_MARKET' | 'COMMUNITY_MEETUP' | 'CONFERENCE' | 'COOKING_CLASS' | 'COURSE' | 'CREATOR_POP_UP' | 'CULTURAL_FESTIVAL' | 'CULTURAL_GATHERING' | 'DANCE_PARTY' | 'DANCE_PERFORMANCE' | 'DAYCLUB' | 'DEMO_DAY' | 'DESIGNER_MEET_AND_GREET' | 'DESIGN_EXHIBITION' | 'DINNER_PARTY' | 'DIRECTORS_CUT' | 'DISCORD_EVENT' | 'DOCUMENTARY' | 'DRAG_SHOW' | 'ECSTATIC_DANCE' | 'ESPORTS' | 'EXHIBITION_GAME' | 'EXTREME_SPORTS' | 'FAMILY_EVENT' | 'FAN_EXPERIENCE' | 'FAN_FEST' | 'FASHION_FESTIVAL' | 'FASHION_PANEL' | 'FASHION_WEEK' | 'FIGHT_NIGHT' | 'FILM_FESTIVAL' | 'FILM_PREMIERE' | 'FILM_SCREENING' | 'FINISSAGE' | 'FIRESIDE_CHAT' | 'FITNESS_CLASS' | 'FITTING_EVENT' | 'FOOD_FESTIVAL' | 'FOOD_MARKET' | 'FOOD_PAIRING' | 'FOUNDER_MEETUP' | 'FUNDRAISER' | 'GALLERY_OPENING' | 'GAME_DAY' | 'GAME_LAUNCH' | 'GAMING_STREAM' | 'GIVEAWAY' | 'GROUP_EXHIBITION' | 'GUERRILLA' | 'HACKATHON' | 'HEADLINER_SHOW' | 'HIIT_CLASS' | 'HOLIDAY_PARTY' | 'HYBRID_EVENT' | 'IMMERSIVE_EXPERIENCE' | 'IMPROV_SHOW' | 'INDUSTRY_PANEL' | 'INFLUENCER_EVENT' | 'INSTALLATION' | 'INTERACTIVE_INSTALLATION' | 'INVESTOR_EVENT' | 'JAM_SESSION' | 'JAZZ_NIGHT' | 'JAZZ_SESSION' | 'JOB_FAIR' | 'KARAOKE_NIGHT' | 'KEYNOTE' | 'LATE_NIGHT_SET' | 'LATIN_NIGHT' | 'LECTURE' | 'LISTENING_PARTY' | 'LIVESTREAM' | 'LIVE_AUDIO_ROOM' | 'LIVE_PERFORMANCE' | 'LIVE_PODCAST' | 'LOCAL_MEETUP' | 'LOOKBOOK_SHOOT' | 'MAGIC_SHOW' | 'MASQUERADE' | 'MASTERCLASS' | 'MEDITATION' | 'MEET_AND_GREET' | 'MEMBERS_ONLY' | 'MIXOLOGY_CLASS' | 'MOBILE_TOUR' | 'MUSEUM_EVENT' | 'MUSICAL' | 'MUSIC_FESTIVAL' | 'MUSIC_VIDEO_PREMIERE' | 'NETWORKING_EVENT' | 'NETWORKING_MIXER' | 'NFT_MINT' | 'NUTRITION_WORKSHOP' | 'OFFICE_HOURS' | 'ONLINE_CLASS' | 'ONLINE_COURSE' | 'ONLINE_DROP' | 'ONLINE_LECTURE' | 'ONLINE_OFFICE_HOURS' | 'ONLINE_PREMIERE' | 'ONLINE_WATCH_PARTY' | 'OPEN_DECKS' | 'OPEN_HOUSE' | 'OPEN_MIC' | 'OPERA' | 'ORCHESTRA' | 'OTHER' | 'OUTDOOR_CINEMA' | 'PANEL' | 'PERFORMANCE_ART' | 'PHOTO_ACTIVATION' | 'PHOTO_EXHIBITION' | 'PICKUP_GAME' | 'PILATES_CLASS' | 'PITCH_NIGHT' | 'POOL_PARTY' | 'POP_UP_BOUTIQUE' | 'POP_UP_DINING' | 'POP_UP_GALLERY' | 'POP_UP_SHOP' | 'PRESENTATION' | 'PRESS_EVENT' | 'PREVIEW' | 'PRIDE_FESTIVAL' | 'PRIVATE_EVENT' | 'PRODUCT_DEMO' | 'PRODUCT_LAUNCH' | 'Q_AND_A_SCREENING' | 'RAVE' | 'READING' | 'RELEASE_PARTY' | 'RESIDENCY' | 'RESTAURANT_OPENING' | 'RETREAT' | 'RIVALRY_GAME' | 'ROOFTOP_PARTY' | 'ROUNDTABLE' | 'RUNWAY_SHOW' | 'RUN_CLUB' | 'RUN_OR_RACE' | 'SAMPLE_SALE' | 'SAMPLING' | 'SECRET_DINING' | 'SEMINAR' | 'SERIES_SCREENING' | 'SHORT_FILM' | 'SHOWCASE' | 'SHOWROOM' | 'SILENT_DISCO' | 'SKATE_JAM' | 'SOCIAL_CHALLENGE' | 'SOLO_EXHIBITION' | 'SONGWRITER_ROUND' | 'SOUND_BATH' | 'SPA_EXPERIENCE' | 'SPOKEN_WORD' | 'SPONSORSHIP' | 'SPORTS_CLINIC' | 'SPORTS_TRAINING' | 'SPORTS_WATCH_PARTY' | 'STANDUP_COMEDY' | 'STORYTELLING' | 'STREAMING_RELEASE' | 'STREET_TEAM' | 'STUDIO_VISIT' | 'STUDY_GROUP' | 'STYLING_SESSION' | 'SUMMIT' | 'SUPPER_CLUB' | 'TAILGATE' | 'TASTING' | 'TECH_FESTIVAL' | 'THEATER' | 'THEMED_NIGHT' | 'TOURNAMENT' | 'TOUR_STOP' | 'TOWN_HALL' | 'TRADE_SHOW' | 'TRAINING' | 'TRIBUTE_SHOW' | 'TRUNK_SHOW' | 'TV_PREMIERE' | 'TWITTER_SPACE' | 'VARIETY_SHOW' | 'VENUE_OPENING' | 'VIRTUAL_CONCERT' | 'VIRTUAL_EVENT' | 'VIRTUAL_EXPO' | 'VIRTUAL_MEETUP' | 'VIRTUAL_NETWORKING' | 'VIRTUAL_SUMMIT' | 'VIRTUAL_WORKSHOP' | 'VOLUNTEER_EVENT' | 'WAREHOUSE_PARTY' | 'WATCH_PARTY' | 'WEBINAR' | 'WELLNESS_FESTIVAL' | 'WELLNESS_WORKSHOP' | 'WINE_TASTING' | 'WORKSHOP' | 'YOGA_SESSION';
|
|
25
25
|
type MomentLineupStatus = 'APPROVED' | 'PENDING' | 'REJECTED';
|
|
26
26
|
type MomentLineupType = 'CO_HOST' | 'DJ' | 'LINEUP' | 'PROMOTER' | 'SPEAKER' | 'VENDOR';
|
|
27
27
|
/** Display label for the lineup section on public event pages. */
|
|
@@ -30,6 +30,7 @@ type EchoType = 'LINK' | 'POST' | 'IMAGE' | 'VIDEO' | 'GALLERY' | 'MERCH' | 'AUD
|
|
|
30
30
|
type ThirdPartyEchoType = 'SPOTIFY' | 'INSTAGRAM' | 'TIKTOK';
|
|
31
31
|
type PaymentStatus = 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
32
32
|
type TicketExtensionStatus = 'PENDING' | 'APPLIED' | 'CANCELLED' | 'EXPIRED' | 'FAILED' | 'REFUNDED';
|
|
33
|
+
type TagSource = 'MANUAL' | 'AUTO';
|
|
33
34
|
interface Currency {
|
|
34
35
|
uid: Scalars['ID'];
|
|
35
36
|
code: Scalars['String'];
|
|
@@ -81,6 +82,27 @@ interface MomentCoverImage {
|
|
|
81
82
|
mimeType: Scalars['String'];
|
|
82
83
|
__typename: 'MomentCoverImage';
|
|
83
84
|
}
|
|
85
|
+
interface Tag {
|
|
86
|
+
uid: Scalars['ID'];
|
|
87
|
+
name: Scalars['String'];
|
|
88
|
+
createdAt: Scalars['DateTime'];
|
|
89
|
+
updatedAt: Scalars['DateTime'];
|
|
90
|
+
__typename: 'Tag';
|
|
91
|
+
}
|
|
92
|
+
interface MomentTagAssignment {
|
|
93
|
+
tag: Tag;
|
|
94
|
+
source: TagSource;
|
|
95
|
+
isPublic: Scalars['Boolean'];
|
|
96
|
+
confidence: Scalars['Float'];
|
|
97
|
+
__typename: 'MomentTagAssignment';
|
|
98
|
+
}
|
|
99
|
+
interface GetMomentTagAssignmentsResponse {
|
|
100
|
+
assignments: MomentTagAssignment[];
|
|
101
|
+
totalCount: Scalars['Int'];
|
|
102
|
+
hasNextPage: Scalars['Boolean'];
|
|
103
|
+
nextCursor: (Scalars['String'] | null);
|
|
104
|
+
__typename: 'GetMomentTagAssignmentsResponse';
|
|
105
|
+
}
|
|
84
106
|
interface Moment {
|
|
85
107
|
uid: Scalars['ID'];
|
|
86
108
|
name: Scalars['String'];
|
|
@@ -105,6 +127,8 @@ interface Moment {
|
|
|
105
127
|
/** Cover image for the moment. Null if no cover image is set. */
|
|
106
128
|
coverImage: MomentCoverImage;
|
|
107
129
|
venue: (Venue | null);
|
|
130
|
+
/** Public tag assignments owned by the authenticated partner's brand. */
|
|
131
|
+
momentTags: GetMomentTagAssignmentsResponse;
|
|
108
132
|
ticketTiers: TicketTier[];
|
|
109
133
|
createdAt: Scalars['DateTime'];
|
|
110
134
|
updatedAt: Scalars['DateTime'];
|
|
@@ -851,6 +875,34 @@ interface MomentCoverImageGenqlSelection {
|
|
|
851
875
|
__typename?: boolean | number;
|
|
852
876
|
__scalar?: boolean | number;
|
|
853
877
|
}
|
|
878
|
+
interface TagGenqlSelection {
|
|
879
|
+
uid?: boolean | number;
|
|
880
|
+
name?: boolean | number;
|
|
881
|
+
createdAt?: boolean | number;
|
|
882
|
+
updatedAt?: boolean | number;
|
|
883
|
+
__typename?: boolean | number;
|
|
884
|
+
__scalar?: boolean | number;
|
|
885
|
+
}
|
|
886
|
+
interface MomentTagAssignmentGenqlSelection {
|
|
887
|
+
tag?: TagGenqlSelection;
|
|
888
|
+
source?: boolean | number;
|
|
889
|
+
isPublic?: boolean | number;
|
|
890
|
+
confidence?: boolean | number;
|
|
891
|
+
__typename?: boolean | number;
|
|
892
|
+
__scalar?: boolean | number;
|
|
893
|
+
}
|
|
894
|
+
interface GetMomentTagAssignmentsResponseGenqlSelection {
|
|
895
|
+
assignments?: MomentTagAssignmentGenqlSelection;
|
|
896
|
+
totalCount?: boolean | number;
|
|
897
|
+
hasNextPage?: boolean | number;
|
|
898
|
+
nextCursor?: boolean | number;
|
|
899
|
+
__typename?: boolean | number;
|
|
900
|
+
__scalar?: boolean | number;
|
|
901
|
+
}
|
|
902
|
+
interface PaginationInput {
|
|
903
|
+
cursor?: (Scalars['String'] | null);
|
|
904
|
+
take?: (Scalars['Float'] | null);
|
|
905
|
+
}
|
|
854
906
|
interface MomentGenqlSelection {
|
|
855
907
|
uid?: boolean | number;
|
|
856
908
|
name?: boolean | number;
|
|
@@ -875,6 +927,13 @@ interface MomentGenqlSelection {
|
|
|
875
927
|
/** Cover image for the moment. Null if no cover image is set. */
|
|
876
928
|
coverImage?: MomentCoverImageGenqlSelection;
|
|
877
929
|
venue?: VenueGenqlSelection;
|
|
930
|
+
/** Public tag assignments owned by the authenticated partner's brand. */
|
|
931
|
+
momentTags?: (GetMomentTagAssignmentsResponseGenqlSelection & {
|
|
932
|
+
__args?: {
|
|
933
|
+
pagination?: (PaginationInput | null);
|
|
934
|
+
sources?: (TagSource[] | null);
|
|
935
|
+
};
|
|
936
|
+
});
|
|
878
937
|
ticketTiers?: TicketTierGenqlSelection;
|
|
879
938
|
createdAt?: boolean | number;
|
|
880
939
|
updatedAt?: boolean | number;
|
|
@@ -1897,6 +1956,12 @@ interface PostSubscriptionMessageInput {
|
|
|
1897
1956
|
}
|
|
1898
1957
|
interface CreatePartnerBrandSubscriptionInput {
|
|
1899
1958
|
compliance?: (SubscriptionComplianceInput | null);
|
|
1959
|
+
/**
|
|
1960
|
+
* Exact opt-in disclosure the subscriber accepted, stored as consent evidence
|
|
1961
|
+
* alongside the subscription compliance record. Send the verbatim text shown on
|
|
1962
|
+
* your signup surface — it is the record of what the subscriber agreed to.
|
|
1963
|
+
*/
|
|
1964
|
+
consentText?: (Scalars['String'] | null);
|
|
1900
1965
|
email?: (Scalars['String'] | null);
|
|
1901
1966
|
/** Optional full name. If provided, include first and last name. */
|
|
1902
1967
|
fullName?: (Scalars['String'] | null);
|
|
@@ -2235,4 +2300,4 @@ type ITMPartnerClient = Client;
|
|
|
2235
2300
|
*/
|
|
2236
2301
|
declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
|
|
2237
2302
|
|
|
2238
|
-
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 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 EventImportPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, 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 MomentOnlineProvider, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentType, type MusicReleaseType, type Mutation, 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 PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PublicMomentLineupInfo, type Query, type RespondToMomentLineupInput, type SendPartnerAgentEmailInput, type SortDirection, type SubscriptionComplianceInput, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketTier, type User, type UserSource, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|
|
2303
|
+
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 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 EventImportPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, 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 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 PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PublicMomentLineupInfo, type Query, 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 User, type UserSource, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ type Scalars = {
|
|
|
4
4
|
ID: string;
|
|
5
5
|
String: string;
|
|
6
6
|
Boolean: boolean;
|
|
7
|
-
Int: number;
|
|
8
7
|
Float: number;
|
|
8
|
+
Int: number;
|
|
9
9
|
};
|
|
10
10
|
type ConsentStatus = 'NEVER_SUBSCRIBED' | 'SUBSCRIBED' | 'UNSUBSCRIBED';
|
|
11
11
|
type UserSource = 'BRAND' | 'DICE' | 'ITM';
|
|
@@ -20,8 +20,8 @@ type MusicReleaseType = 'ALBUM' | 'EP' | 'SINGLE';
|
|
|
20
20
|
type MomentType = 'DIGITAL' | 'HYBRID' | 'IRL';
|
|
21
21
|
type MomentOnlineProvider = 'GOOGLE_MEET' | 'MS_TEAMS' | 'OTHER' | 'ZOOM';
|
|
22
22
|
type TicketAttendanceMode = 'IN_PERSON' | 'ONLINE';
|
|
23
|
-
type MomentCategory = 'ACTIVATION' | 'CONCERT' | 'DIGITAL' | 'DINING' | 'EDUCATION' | 'EXHIBITION' | 'FASHION' | 'FESTIVAL' | 'LAUNCH' | 'NIGHTLIFE' | 'OTHER' | 'PARTY' | 'PERFORMING_ARTS' | 'SCREENING' | 'SPORTS' | 'WELLNESS';
|
|
24
|
-
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';
|
|
23
|
+
type MomentCategory = 'ACTIVATION' | 'BUSINESS' | 'COMMUNITY' | 'CONCERT' | 'DIGITAL' | 'DINING' | 'EDUCATION' | 'EXHIBITION' | 'FASHION' | 'FESTIVAL' | 'LAUNCH' | 'NIGHTLIFE' | 'OTHER' | 'PARTY' | 'PERFORMING_ARTS' | 'SCREENING' | 'SPORTS' | 'WELLNESS';
|
|
24
|
+
type MomentSubcategory = 'ACOUSTIC_SET' | 'ADVANCE_SCREENING' | 'AFTER_PARTY' | 'AIRDROP' | 'ALBUM_DROP' | 'ALBUM_RELEASE_SHOW' | 'AMA' | 'ANNIVERSARY' | 'APP_LAUNCH' | 'ARTIST_POP_UP' | 'ARTIST_RECEPTION' | 'ARTIST_TALK' | 'ART_FAIR' | 'ART_FESTIVAL' | 'ATHLETE_APPEARANCE' | 'AWARDS' | 'BAR_TAKEOVER' | 'BATTLE' | 'BEAUTY_FASHION_EVENT' | 'BEER_AND_WINE_FESTIVAL' | 'BEER_TASTING' | 'BIENNALE' | 'BIRTHDAY' | 'BLOCK_PARTY' | 'BOOK_LAUNCH' | 'BOOK_TALK' | 'BRAND_EXPERIENCE' | 'BRAND_REVEAL' | 'BREATHWORK' | 'BRUNCH_EVENT' | 'BURLESQUE' | 'BUSINESS_MIXER' | 'CACAO_CEREMONY' | 'CAREER_FAIR' | 'CARNIVAL' | 'CELEBRATION' | 'CHAMPIONSHIP' | 'CHARITY_EVENT' | 'CHEF_DINNER' | 'CHOIR_OR_ENSEMBLE' | 'CLASS' | 'CLUB_MEETING' | 'CLUB_NIGHT' | 'CLUB_SET' | 'COLD_PLUNGE' | 'COLLABORATION_REVEAL' | 'COLLECTION_DROP' | 'COMEDY_FESTIVAL' | 'COMEDY_NIGHT' | 'COMEDY_SHOW' | 'COMMUNITY_FESTIVAL' | 'COMMUNITY_MARKET' | 'COMMUNITY_MEETUP' | 'CONFERENCE' | 'COOKING_CLASS' | 'COURSE' | 'CREATOR_POP_UP' | 'CULTURAL_FESTIVAL' | 'CULTURAL_GATHERING' | 'DANCE_PARTY' | 'DANCE_PERFORMANCE' | 'DAYCLUB' | 'DEMO_DAY' | 'DESIGNER_MEET_AND_GREET' | 'DESIGN_EXHIBITION' | 'DINNER_PARTY' | 'DIRECTORS_CUT' | 'DISCORD_EVENT' | 'DOCUMENTARY' | 'DRAG_SHOW' | 'ECSTATIC_DANCE' | 'ESPORTS' | 'EXHIBITION_GAME' | 'EXTREME_SPORTS' | 'FAMILY_EVENT' | 'FAN_EXPERIENCE' | 'FAN_FEST' | 'FASHION_FESTIVAL' | 'FASHION_PANEL' | 'FASHION_WEEK' | 'FIGHT_NIGHT' | 'FILM_FESTIVAL' | 'FILM_PREMIERE' | 'FILM_SCREENING' | 'FINISSAGE' | 'FIRESIDE_CHAT' | 'FITNESS_CLASS' | 'FITTING_EVENT' | 'FOOD_FESTIVAL' | 'FOOD_MARKET' | 'FOOD_PAIRING' | 'FOUNDER_MEETUP' | 'FUNDRAISER' | 'GALLERY_OPENING' | 'GAME_DAY' | 'GAME_LAUNCH' | 'GAMING_STREAM' | 'GIVEAWAY' | 'GROUP_EXHIBITION' | 'GUERRILLA' | 'HACKATHON' | 'HEADLINER_SHOW' | 'HIIT_CLASS' | 'HOLIDAY_PARTY' | 'HYBRID_EVENT' | 'IMMERSIVE_EXPERIENCE' | 'IMPROV_SHOW' | 'INDUSTRY_PANEL' | 'INFLUENCER_EVENT' | 'INSTALLATION' | 'INTERACTIVE_INSTALLATION' | 'INVESTOR_EVENT' | 'JAM_SESSION' | 'JAZZ_NIGHT' | 'JAZZ_SESSION' | 'JOB_FAIR' | 'KARAOKE_NIGHT' | 'KEYNOTE' | 'LATE_NIGHT_SET' | 'LATIN_NIGHT' | 'LECTURE' | 'LISTENING_PARTY' | 'LIVESTREAM' | 'LIVE_AUDIO_ROOM' | 'LIVE_PERFORMANCE' | 'LIVE_PODCAST' | 'LOCAL_MEETUP' | 'LOOKBOOK_SHOOT' | 'MAGIC_SHOW' | 'MASQUERADE' | 'MASTERCLASS' | 'MEDITATION' | 'MEET_AND_GREET' | 'MEMBERS_ONLY' | 'MIXOLOGY_CLASS' | 'MOBILE_TOUR' | 'MUSEUM_EVENT' | 'MUSICAL' | 'MUSIC_FESTIVAL' | 'MUSIC_VIDEO_PREMIERE' | 'NETWORKING_EVENT' | 'NETWORKING_MIXER' | 'NFT_MINT' | 'NUTRITION_WORKSHOP' | 'OFFICE_HOURS' | 'ONLINE_CLASS' | 'ONLINE_COURSE' | 'ONLINE_DROP' | 'ONLINE_LECTURE' | 'ONLINE_OFFICE_HOURS' | 'ONLINE_PREMIERE' | 'ONLINE_WATCH_PARTY' | 'OPEN_DECKS' | 'OPEN_HOUSE' | 'OPEN_MIC' | 'OPERA' | 'ORCHESTRA' | 'OTHER' | 'OUTDOOR_CINEMA' | 'PANEL' | 'PERFORMANCE_ART' | 'PHOTO_ACTIVATION' | 'PHOTO_EXHIBITION' | 'PICKUP_GAME' | 'PILATES_CLASS' | 'PITCH_NIGHT' | 'POOL_PARTY' | 'POP_UP_BOUTIQUE' | 'POP_UP_DINING' | 'POP_UP_GALLERY' | 'POP_UP_SHOP' | 'PRESENTATION' | 'PRESS_EVENT' | 'PREVIEW' | 'PRIDE_FESTIVAL' | 'PRIVATE_EVENT' | 'PRODUCT_DEMO' | 'PRODUCT_LAUNCH' | 'Q_AND_A_SCREENING' | 'RAVE' | 'READING' | 'RELEASE_PARTY' | 'RESIDENCY' | 'RESTAURANT_OPENING' | 'RETREAT' | 'RIVALRY_GAME' | 'ROOFTOP_PARTY' | 'ROUNDTABLE' | 'RUNWAY_SHOW' | 'RUN_CLUB' | 'RUN_OR_RACE' | 'SAMPLE_SALE' | 'SAMPLING' | 'SECRET_DINING' | 'SEMINAR' | 'SERIES_SCREENING' | 'SHORT_FILM' | 'SHOWCASE' | 'SHOWROOM' | 'SILENT_DISCO' | 'SKATE_JAM' | 'SOCIAL_CHALLENGE' | 'SOLO_EXHIBITION' | 'SONGWRITER_ROUND' | 'SOUND_BATH' | 'SPA_EXPERIENCE' | 'SPOKEN_WORD' | 'SPONSORSHIP' | 'SPORTS_CLINIC' | 'SPORTS_TRAINING' | 'SPORTS_WATCH_PARTY' | 'STANDUP_COMEDY' | 'STORYTELLING' | 'STREAMING_RELEASE' | 'STREET_TEAM' | 'STUDIO_VISIT' | 'STUDY_GROUP' | 'STYLING_SESSION' | 'SUMMIT' | 'SUPPER_CLUB' | 'TAILGATE' | 'TASTING' | 'TECH_FESTIVAL' | 'THEATER' | 'THEMED_NIGHT' | 'TOURNAMENT' | 'TOUR_STOP' | 'TOWN_HALL' | 'TRADE_SHOW' | 'TRAINING' | 'TRIBUTE_SHOW' | 'TRUNK_SHOW' | 'TV_PREMIERE' | 'TWITTER_SPACE' | 'VARIETY_SHOW' | 'VENUE_OPENING' | 'VIRTUAL_CONCERT' | 'VIRTUAL_EVENT' | 'VIRTUAL_EXPO' | 'VIRTUAL_MEETUP' | 'VIRTUAL_NETWORKING' | 'VIRTUAL_SUMMIT' | 'VIRTUAL_WORKSHOP' | 'VOLUNTEER_EVENT' | 'WAREHOUSE_PARTY' | 'WATCH_PARTY' | 'WEBINAR' | 'WELLNESS_FESTIVAL' | 'WELLNESS_WORKSHOP' | 'WINE_TASTING' | 'WORKSHOP' | 'YOGA_SESSION';
|
|
25
25
|
type MomentLineupStatus = 'APPROVED' | 'PENDING' | 'REJECTED';
|
|
26
26
|
type MomentLineupType = 'CO_HOST' | 'DJ' | 'LINEUP' | 'PROMOTER' | 'SPEAKER' | 'VENDOR';
|
|
27
27
|
/** Display label for the lineup section on public event pages. */
|
|
@@ -30,6 +30,7 @@ type EchoType = 'LINK' | 'POST' | 'IMAGE' | 'VIDEO' | 'GALLERY' | 'MERCH' | 'AUD
|
|
|
30
30
|
type ThirdPartyEchoType = 'SPOTIFY' | 'INSTAGRAM' | 'TIKTOK';
|
|
31
31
|
type PaymentStatus = 'PENDING' | 'SUCCEEDED' | 'FAILED';
|
|
32
32
|
type TicketExtensionStatus = 'PENDING' | 'APPLIED' | 'CANCELLED' | 'EXPIRED' | 'FAILED' | 'REFUNDED';
|
|
33
|
+
type TagSource = 'MANUAL' | 'AUTO';
|
|
33
34
|
interface Currency {
|
|
34
35
|
uid: Scalars['ID'];
|
|
35
36
|
code: Scalars['String'];
|
|
@@ -81,6 +82,27 @@ interface MomentCoverImage {
|
|
|
81
82
|
mimeType: Scalars['String'];
|
|
82
83
|
__typename: 'MomentCoverImage';
|
|
83
84
|
}
|
|
85
|
+
interface Tag {
|
|
86
|
+
uid: Scalars['ID'];
|
|
87
|
+
name: Scalars['String'];
|
|
88
|
+
createdAt: Scalars['DateTime'];
|
|
89
|
+
updatedAt: Scalars['DateTime'];
|
|
90
|
+
__typename: 'Tag';
|
|
91
|
+
}
|
|
92
|
+
interface MomentTagAssignment {
|
|
93
|
+
tag: Tag;
|
|
94
|
+
source: TagSource;
|
|
95
|
+
isPublic: Scalars['Boolean'];
|
|
96
|
+
confidence: Scalars['Float'];
|
|
97
|
+
__typename: 'MomentTagAssignment';
|
|
98
|
+
}
|
|
99
|
+
interface GetMomentTagAssignmentsResponse {
|
|
100
|
+
assignments: MomentTagAssignment[];
|
|
101
|
+
totalCount: Scalars['Int'];
|
|
102
|
+
hasNextPage: Scalars['Boolean'];
|
|
103
|
+
nextCursor: (Scalars['String'] | null);
|
|
104
|
+
__typename: 'GetMomentTagAssignmentsResponse';
|
|
105
|
+
}
|
|
84
106
|
interface Moment {
|
|
85
107
|
uid: Scalars['ID'];
|
|
86
108
|
name: Scalars['String'];
|
|
@@ -105,6 +127,8 @@ interface Moment {
|
|
|
105
127
|
/** Cover image for the moment. Null if no cover image is set. */
|
|
106
128
|
coverImage: MomentCoverImage;
|
|
107
129
|
venue: (Venue | null);
|
|
130
|
+
/** Public tag assignments owned by the authenticated partner's brand. */
|
|
131
|
+
momentTags: GetMomentTagAssignmentsResponse;
|
|
108
132
|
ticketTiers: TicketTier[];
|
|
109
133
|
createdAt: Scalars['DateTime'];
|
|
110
134
|
updatedAt: Scalars['DateTime'];
|
|
@@ -851,6 +875,34 @@ interface MomentCoverImageGenqlSelection {
|
|
|
851
875
|
__typename?: boolean | number;
|
|
852
876
|
__scalar?: boolean | number;
|
|
853
877
|
}
|
|
878
|
+
interface TagGenqlSelection {
|
|
879
|
+
uid?: boolean | number;
|
|
880
|
+
name?: boolean | number;
|
|
881
|
+
createdAt?: boolean | number;
|
|
882
|
+
updatedAt?: boolean | number;
|
|
883
|
+
__typename?: boolean | number;
|
|
884
|
+
__scalar?: boolean | number;
|
|
885
|
+
}
|
|
886
|
+
interface MomentTagAssignmentGenqlSelection {
|
|
887
|
+
tag?: TagGenqlSelection;
|
|
888
|
+
source?: boolean | number;
|
|
889
|
+
isPublic?: boolean | number;
|
|
890
|
+
confidence?: boolean | number;
|
|
891
|
+
__typename?: boolean | number;
|
|
892
|
+
__scalar?: boolean | number;
|
|
893
|
+
}
|
|
894
|
+
interface GetMomentTagAssignmentsResponseGenqlSelection {
|
|
895
|
+
assignments?: MomentTagAssignmentGenqlSelection;
|
|
896
|
+
totalCount?: boolean | number;
|
|
897
|
+
hasNextPage?: boolean | number;
|
|
898
|
+
nextCursor?: boolean | number;
|
|
899
|
+
__typename?: boolean | number;
|
|
900
|
+
__scalar?: boolean | number;
|
|
901
|
+
}
|
|
902
|
+
interface PaginationInput {
|
|
903
|
+
cursor?: (Scalars['String'] | null);
|
|
904
|
+
take?: (Scalars['Float'] | null);
|
|
905
|
+
}
|
|
854
906
|
interface MomentGenqlSelection {
|
|
855
907
|
uid?: boolean | number;
|
|
856
908
|
name?: boolean | number;
|
|
@@ -875,6 +927,13 @@ interface MomentGenqlSelection {
|
|
|
875
927
|
/** Cover image for the moment. Null if no cover image is set. */
|
|
876
928
|
coverImage?: MomentCoverImageGenqlSelection;
|
|
877
929
|
venue?: VenueGenqlSelection;
|
|
930
|
+
/** Public tag assignments owned by the authenticated partner's brand. */
|
|
931
|
+
momentTags?: (GetMomentTagAssignmentsResponseGenqlSelection & {
|
|
932
|
+
__args?: {
|
|
933
|
+
pagination?: (PaginationInput | null);
|
|
934
|
+
sources?: (TagSource[] | null);
|
|
935
|
+
};
|
|
936
|
+
});
|
|
878
937
|
ticketTiers?: TicketTierGenqlSelection;
|
|
879
938
|
createdAt?: boolean | number;
|
|
880
939
|
updatedAt?: boolean | number;
|
|
@@ -1897,6 +1956,12 @@ interface PostSubscriptionMessageInput {
|
|
|
1897
1956
|
}
|
|
1898
1957
|
interface CreatePartnerBrandSubscriptionInput {
|
|
1899
1958
|
compliance?: (SubscriptionComplianceInput | null);
|
|
1959
|
+
/**
|
|
1960
|
+
* Exact opt-in disclosure the subscriber accepted, stored as consent evidence
|
|
1961
|
+
* alongside the subscription compliance record. Send the verbatim text shown on
|
|
1962
|
+
* your signup surface — it is the record of what the subscriber agreed to.
|
|
1963
|
+
*/
|
|
1964
|
+
consentText?: (Scalars['String'] | null);
|
|
1900
1965
|
email?: (Scalars['String'] | null);
|
|
1901
1966
|
/** Optional full name. If provided, include first and last name. */
|
|
1902
1967
|
fullName?: (Scalars['String'] | null);
|
|
@@ -2235,4 +2300,4 @@ type ITMPartnerClient = Client;
|
|
|
2235
2300
|
*/
|
|
2236
2301
|
declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
|
|
2237
2302
|
|
|
2238
|
-
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 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 EventImportPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, 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 MomentOnlineProvider, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentType, type MusicReleaseType, type Mutation, 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 PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PublicMomentLineupInfo, type Query, type RespondToMomentLineupInput, type SendPartnerAgentEmailInput, type SortDirection, type SubscriptionComplianceInput, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketTier, type User, type UserSource, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|
|
2303
|
+
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 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 EventImportPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, 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 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 PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PublicMomentLineupInfo, type Query, 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 User, type UserSource, type Venue, type VenueInput, type VerifyPartnerBrandSubscriptionInput, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
|