@itm-studio/partner-sdk 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +81 -0
- package/dist/index.d.mts +116 -1
- package/dist/index.d.ts +116 -1
- package/dist/index.js +200 -73
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +200 -73
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/partner.graphql +72 -0
package/README.md
CHANGED
|
@@ -225,6 +225,34 @@ the configured horizon before that tier is eligible.
|
|
|
225
225
|
|
|
226
226
|
## Available Queries
|
|
227
227
|
|
|
228
|
+
### `getPartnerBrand`
|
|
229
|
+
|
|
230
|
+
Get details for the brand associated with the partner token. Takes no
|
|
231
|
+
arguments — the brand is resolved from the authenticated token, and the
|
|
232
|
+
response is always non-null.
|
|
233
|
+
|
|
234
|
+
```typescript
|
|
235
|
+
const { getPartnerBrand } = await itm.query({
|
|
236
|
+
getPartnerBrand: {
|
|
237
|
+
uid: true,
|
|
238
|
+
name: true,
|
|
239
|
+
slug: true,
|
|
240
|
+
bio: true,
|
|
241
|
+
publicUrl: true,
|
|
242
|
+
customDomain: true,
|
|
243
|
+
customDomainVerifiedAt: true,
|
|
244
|
+
spotifyUrl: true,
|
|
245
|
+
youtubeEmbedUrl: true,
|
|
246
|
+
},
|
|
247
|
+
});
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
- `publicUrl` is the brand's hosted page on ITM.
|
|
251
|
+
- `customDomain` and `customDomainVerifiedAt` describe the brand's white-label
|
|
252
|
+
domain, if one is configured; `customDomainVerifiedAt` is `null` until the
|
|
253
|
+
domain is verified.
|
|
254
|
+
- `bio`, `spotifyUrl`, and `youtubeEmbedUrl` are `null` when unset.
|
|
255
|
+
|
|
228
256
|
### `getPartnerMomentsForBrand`
|
|
229
257
|
|
|
230
258
|
Get paginated moments (events) for your brand.
|
|
@@ -421,6 +449,59 @@ const { getPartnerMomentStats } = await itm.query({
|
|
|
421
449
|
|
|
422
450
|
> **Note:** `getPartnerMomentStats` returns `null` if the moment does not exist or is not owned by the authenticated partner's brand.
|
|
423
451
|
|
|
452
|
+
### `getPartnerMomentAttendanceStats`
|
|
453
|
+
|
|
454
|
+
Get a cached attendance snapshot for a moment owned by the authenticated
|
|
455
|
+
partner's brand. Counts can be up to five minutes old; `generatedAt` reports
|
|
456
|
+
when the snapshot was produced.
|
|
457
|
+
|
|
458
|
+
Look up the moment by exactly one of:
|
|
459
|
+
|
|
460
|
+
- `momentUid` — the ITM moment UID
|
|
461
|
+
- `momentSlug` — the ITM moment slug
|
|
462
|
+
- `externalPlatform` + `externalId` — the source-platform identifier for
|
|
463
|
+
imported events (for example `EVENTBRITE`); the two must be provided together
|
|
464
|
+
|
|
465
|
+
```typescript
|
|
466
|
+
const { getPartnerMomentAttendanceStats } = await itm.query({
|
|
467
|
+
getPartnerMomentAttendanceStats: {
|
|
468
|
+
__args: {
|
|
469
|
+
input: { externalPlatform: "EVENTBRITE", externalId: "1234567890" },
|
|
470
|
+
},
|
|
471
|
+
momentUid: true,
|
|
472
|
+
momentSlug: true,
|
|
473
|
+
generatedAt: true,
|
|
474
|
+
tickets: {
|
|
475
|
+
total: true,
|
|
476
|
+
checkedIn: true,
|
|
477
|
+
tiers: {
|
|
478
|
+
tierUid: true,
|
|
479
|
+
name: true,
|
|
480
|
+
label: true,
|
|
481
|
+
total: true,
|
|
482
|
+
checkedIn: true,
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
guestlist: {
|
|
486
|
+
total: true,
|
|
487
|
+
checkedIn: true,
|
|
488
|
+
unlabeled: { total: true, checkedIn: true },
|
|
489
|
+
labels: { labelUid: true, name: true, total: true, checkedIn: true },
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
});
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
- `tickets` counts confirmed tickets, overall and per ticket tier.
|
|
496
|
+
- `guestlist` counts guest-list entries, split into `unlabeled` and per-label
|
|
497
|
+
buckets.
|
|
498
|
+
|
|
499
|
+
> **Note:** Returns `null` if no moment matches the lookup or the moment is not
|
|
500
|
+
> owned by the authenticated partner's brand. The request fails with a
|
|
501
|
+
> validation error when an identifier is an empty string, when
|
|
502
|
+
> `externalPlatform` and `externalId` are not provided together, when more than
|
|
503
|
+
> one lookup key is given, or when an external ID matches multiple moments.
|
|
504
|
+
|
|
424
505
|
### `getPartnerTicketTiersForMoment`
|
|
425
506
|
|
|
426
507
|
Get paginated, partner-facing ticket tiers for a moment. Use this for pricing,
|
package/dist/index.d.mts
CHANGED
|
@@ -216,6 +216,48 @@ interface PartnerMomentStats {
|
|
|
216
216
|
ticketRsvpRequestsCount: Scalars['Int'];
|
|
217
217
|
__typename: 'PartnerMomentStats';
|
|
218
218
|
}
|
|
219
|
+
interface PartnerMomentAttendanceCount {
|
|
220
|
+
total: Scalars['Int'];
|
|
221
|
+
checkedIn: Scalars['Int'];
|
|
222
|
+
__typename: 'PartnerMomentAttendanceCount';
|
|
223
|
+
}
|
|
224
|
+
interface PartnerMomentTicketTierAttendance {
|
|
225
|
+
total: Scalars['Int'];
|
|
226
|
+
checkedIn: Scalars['Int'];
|
|
227
|
+
tierUid: Scalars['String'];
|
|
228
|
+
name: Scalars['String'];
|
|
229
|
+
label: (Scalars['String'] | null);
|
|
230
|
+
__typename: 'PartnerMomentTicketTierAttendance';
|
|
231
|
+
}
|
|
232
|
+
interface PartnerMomentTicketAttendance {
|
|
233
|
+
total: Scalars['Int'];
|
|
234
|
+
checkedIn: Scalars['Int'];
|
|
235
|
+
tiers: PartnerMomentTicketTierAttendance[];
|
|
236
|
+
__typename: 'PartnerMomentTicketAttendance';
|
|
237
|
+
}
|
|
238
|
+
interface PartnerMomentGuestlistLabelAttendance {
|
|
239
|
+
total: Scalars['Int'];
|
|
240
|
+
checkedIn: Scalars['Int'];
|
|
241
|
+
labelUid: Scalars['String'];
|
|
242
|
+
name: Scalars['String'];
|
|
243
|
+
__typename: 'PartnerMomentGuestlistLabelAttendance';
|
|
244
|
+
}
|
|
245
|
+
interface PartnerMomentGuestlistAttendance {
|
|
246
|
+
total: Scalars['Int'];
|
|
247
|
+
checkedIn: Scalars['Int'];
|
|
248
|
+
unlabeled: PartnerMomentAttendanceCount;
|
|
249
|
+
labels: PartnerMomentGuestlistLabelAttendance[];
|
|
250
|
+
__typename: 'PartnerMomentGuestlistAttendance';
|
|
251
|
+
}
|
|
252
|
+
interface PartnerMomentAttendanceStats {
|
|
253
|
+
momentUid: Scalars['String'];
|
|
254
|
+
momentSlug: Scalars['String'];
|
|
255
|
+
generatedAt: Scalars['DateTime'];
|
|
256
|
+
tickets: PartnerMomentTicketAttendance;
|
|
257
|
+
guestlist: PartnerMomentGuestlistAttendance;
|
|
258
|
+
__typename: 'PartnerMomentAttendanceStats';
|
|
259
|
+
}
|
|
260
|
+
type EventImportPlatform = 'EVENTBRITE';
|
|
219
261
|
interface MomentCollectionLink {
|
|
220
262
|
uid: Scalars['ID'];
|
|
221
263
|
url: Scalars['String'];
|
|
@@ -547,6 +589,12 @@ interface Query {
|
|
|
547
589
|
* Only returns stats for moments owned by the authenticated partner's brand.
|
|
548
590
|
*/
|
|
549
591
|
getPartnerMomentStats: (PartnerMomentStats | null);
|
|
592
|
+
/**
|
|
593
|
+
* Get a cached attendance snapshot for a partner-owned moment; counts can be
|
|
594
|
+
* up to five minutes old. Look up by exactly one of momentUid, momentSlug, or
|
|
595
|
+
* externalPlatform with externalId. Returns null when no owned moment matches.
|
|
596
|
+
*/
|
|
597
|
+
getPartnerMomentAttendanceStats: (PartnerMomentAttendanceStats | null);
|
|
550
598
|
/** Get paginated tickets for a moment. */
|
|
551
599
|
getPartnerTicketsForMoment: GetTicketsResponse;
|
|
552
600
|
/**
|
|
@@ -858,6 +906,63 @@ interface PartnerMomentStatsGenqlSelection {
|
|
|
858
906
|
__typename?: boolean | number;
|
|
859
907
|
__scalar?: boolean | number;
|
|
860
908
|
}
|
|
909
|
+
interface PartnerMomentAttendanceCountGenqlSelection {
|
|
910
|
+
total?: boolean | number;
|
|
911
|
+
checkedIn?: boolean | number;
|
|
912
|
+
__typename?: boolean | number;
|
|
913
|
+
__scalar?: boolean | number;
|
|
914
|
+
}
|
|
915
|
+
interface PartnerMomentTicketTierAttendanceGenqlSelection {
|
|
916
|
+
total?: boolean | number;
|
|
917
|
+
checkedIn?: boolean | number;
|
|
918
|
+
tierUid?: boolean | number;
|
|
919
|
+
name?: boolean | number;
|
|
920
|
+
label?: boolean | number;
|
|
921
|
+
__typename?: boolean | number;
|
|
922
|
+
__scalar?: boolean | number;
|
|
923
|
+
}
|
|
924
|
+
interface PartnerMomentTicketAttendanceGenqlSelection {
|
|
925
|
+
total?: boolean | number;
|
|
926
|
+
checkedIn?: boolean | number;
|
|
927
|
+
tiers?: PartnerMomentTicketTierAttendanceGenqlSelection;
|
|
928
|
+
__typename?: boolean | number;
|
|
929
|
+
__scalar?: boolean | number;
|
|
930
|
+
}
|
|
931
|
+
interface PartnerMomentGuestlistLabelAttendanceGenqlSelection {
|
|
932
|
+
total?: boolean | number;
|
|
933
|
+
checkedIn?: boolean | number;
|
|
934
|
+
labelUid?: boolean | number;
|
|
935
|
+
name?: boolean | number;
|
|
936
|
+
__typename?: boolean | number;
|
|
937
|
+
__scalar?: boolean | number;
|
|
938
|
+
}
|
|
939
|
+
interface PartnerMomentGuestlistAttendanceGenqlSelection {
|
|
940
|
+
total?: boolean | number;
|
|
941
|
+
checkedIn?: boolean | number;
|
|
942
|
+
unlabeled?: PartnerMomentAttendanceCountGenqlSelection;
|
|
943
|
+
labels?: PartnerMomentGuestlistLabelAttendanceGenqlSelection;
|
|
944
|
+
__typename?: boolean | number;
|
|
945
|
+
__scalar?: boolean | number;
|
|
946
|
+
}
|
|
947
|
+
interface PartnerMomentAttendanceStatsGenqlSelection {
|
|
948
|
+
momentUid?: boolean | number;
|
|
949
|
+
momentSlug?: boolean | number;
|
|
950
|
+
generatedAt?: boolean | number;
|
|
951
|
+
tickets?: PartnerMomentTicketAttendanceGenqlSelection;
|
|
952
|
+
guestlist?: PartnerMomentGuestlistAttendanceGenqlSelection;
|
|
953
|
+
__typename?: boolean | number;
|
|
954
|
+
__scalar?: boolean | number;
|
|
955
|
+
}
|
|
956
|
+
interface PartnerMomentAttendanceLookupInput {
|
|
957
|
+
/** ITM moment UID. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId. */
|
|
958
|
+
momentUid?: (Scalars['String'] | null);
|
|
959
|
+
/** ITM moment slug. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId. */
|
|
960
|
+
momentSlug?: (Scalars['String'] | null);
|
|
961
|
+
/** Source platform for externalId, for example EVENTBRITE. */
|
|
962
|
+
externalPlatform?: (EventImportPlatform | null);
|
|
963
|
+
/** Opaque source-platform event ID. Must be provided together with externalPlatform. */
|
|
964
|
+
externalId?: (Scalars['String'] | null);
|
|
965
|
+
}
|
|
861
966
|
interface MomentCollectionLinkGenqlSelection {
|
|
862
967
|
uid?: boolean | number;
|
|
863
968
|
url?: boolean | number;
|
|
@@ -1238,6 +1343,16 @@ interface QueryGenqlSelection {
|
|
|
1238
1343
|
momentSlug: Scalars['String'];
|
|
1239
1344
|
};
|
|
1240
1345
|
});
|
|
1346
|
+
/**
|
|
1347
|
+
* Get a cached attendance snapshot for a partner-owned moment; counts can be
|
|
1348
|
+
* up to five minutes old. Look up by exactly one of momentUid, momentSlug, or
|
|
1349
|
+
* externalPlatform with externalId. Returns null when no owned moment matches.
|
|
1350
|
+
*/
|
|
1351
|
+
getPartnerMomentAttendanceStats?: (PartnerMomentAttendanceStatsGenqlSelection & {
|
|
1352
|
+
__args: {
|
|
1353
|
+
input: PartnerMomentAttendanceLookupInput;
|
|
1354
|
+
};
|
|
1355
|
+
});
|
|
1241
1356
|
/** Get paginated tickets for a moment. */
|
|
1242
1357
|
getPartnerTicketsForMoment?: (GetTicketsResponseGenqlSelection & {
|
|
1243
1358
|
__args: {
|
|
@@ -1778,4 +1893,4 @@ type ITMPartnerClient = Client;
|
|
|
1778
1893
|
*/
|
|
1779
1894
|
declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
|
|
1780
1895
|
|
|
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 };
|
|
1896
|
+
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 EventImportPlatform, 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 PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestlistAttendance, type PartnerMomentGuestlistLabelAttendance, type PartnerMomentStats, type PartnerMomentTicketAttendance, type PartnerMomentTicketTierAttendance, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -216,6 +216,48 @@ interface PartnerMomentStats {
|
|
|
216
216
|
ticketRsvpRequestsCount: Scalars['Int'];
|
|
217
217
|
__typename: 'PartnerMomentStats';
|
|
218
218
|
}
|
|
219
|
+
interface PartnerMomentAttendanceCount {
|
|
220
|
+
total: Scalars['Int'];
|
|
221
|
+
checkedIn: Scalars['Int'];
|
|
222
|
+
__typename: 'PartnerMomentAttendanceCount';
|
|
223
|
+
}
|
|
224
|
+
interface PartnerMomentTicketTierAttendance {
|
|
225
|
+
total: Scalars['Int'];
|
|
226
|
+
checkedIn: Scalars['Int'];
|
|
227
|
+
tierUid: Scalars['String'];
|
|
228
|
+
name: Scalars['String'];
|
|
229
|
+
label: (Scalars['String'] | null);
|
|
230
|
+
__typename: 'PartnerMomentTicketTierAttendance';
|
|
231
|
+
}
|
|
232
|
+
interface PartnerMomentTicketAttendance {
|
|
233
|
+
total: Scalars['Int'];
|
|
234
|
+
checkedIn: Scalars['Int'];
|
|
235
|
+
tiers: PartnerMomentTicketTierAttendance[];
|
|
236
|
+
__typename: 'PartnerMomentTicketAttendance';
|
|
237
|
+
}
|
|
238
|
+
interface PartnerMomentGuestlistLabelAttendance {
|
|
239
|
+
total: Scalars['Int'];
|
|
240
|
+
checkedIn: Scalars['Int'];
|
|
241
|
+
labelUid: Scalars['String'];
|
|
242
|
+
name: Scalars['String'];
|
|
243
|
+
__typename: 'PartnerMomentGuestlistLabelAttendance';
|
|
244
|
+
}
|
|
245
|
+
interface PartnerMomentGuestlistAttendance {
|
|
246
|
+
total: Scalars['Int'];
|
|
247
|
+
checkedIn: Scalars['Int'];
|
|
248
|
+
unlabeled: PartnerMomentAttendanceCount;
|
|
249
|
+
labels: PartnerMomentGuestlistLabelAttendance[];
|
|
250
|
+
__typename: 'PartnerMomentGuestlistAttendance';
|
|
251
|
+
}
|
|
252
|
+
interface PartnerMomentAttendanceStats {
|
|
253
|
+
momentUid: Scalars['String'];
|
|
254
|
+
momentSlug: Scalars['String'];
|
|
255
|
+
generatedAt: Scalars['DateTime'];
|
|
256
|
+
tickets: PartnerMomentTicketAttendance;
|
|
257
|
+
guestlist: PartnerMomentGuestlistAttendance;
|
|
258
|
+
__typename: 'PartnerMomentAttendanceStats';
|
|
259
|
+
}
|
|
260
|
+
type EventImportPlatform = 'EVENTBRITE';
|
|
219
261
|
interface MomentCollectionLink {
|
|
220
262
|
uid: Scalars['ID'];
|
|
221
263
|
url: Scalars['String'];
|
|
@@ -547,6 +589,12 @@ interface Query {
|
|
|
547
589
|
* Only returns stats for moments owned by the authenticated partner's brand.
|
|
548
590
|
*/
|
|
549
591
|
getPartnerMomentStats: (PartnerMomentStats | null);
|
|
592
|
+
/**
|
|
593
|
+
* Get a cached attendance snapshot for a partner-owned moment; counts can be
|
|
594
|
+
* up to five minutes old. Look up by exactly one of momentUid, momentSlug, or
|
|
595
|
+
* externalPlatform with externalId. Returns null when no owned moment matches.
|
|
596
|
+
*/
|
|
597
|
+
getPartnerMomentAttendanceStats: (PartnerMomentAttendanceStats | null);
|
|
550
598
|
/** Get paginated tickets for a moment. */
|
|
551
599
|
getPartnerTicketsForMoment: GetTicketsResponse;
|
|
552
600
|
/**
|
|
@@ -858,6 +906,63 @@ interface PartnerMomentStatsGenqlSelection {
|
|
|
858
906
|
__typename?: boolean | number;
|
|
859
907
|
__scalar?: boolean | number;
|
|
860
908
|
}
|
|
909
|
+
interface PartnerMomentAttendanceCountGenqlSelection {
|
|
910
|
+
total?: boolean | number;
|
|
911
|
+
checkedIn?: boolean | number;
|
|
912
|
+
__typename?: boolean | number;
|
|
913
|
+
__scalar?: boolean | number;
|
|
914
|
+
}
|
|
915
|
+
interface PartnerMomentTicketTierAttendanceGenqlSelection {
|
|
916
|
+
total?: boolean | number;
|
|
917
|
+
checkedIn?: boolean | number;
|
|
918
|
+
tierUid?: boolean | number;
|
|
919
|
+
name?: boolean | number;
|
|
920
|
+
label?: boolean | number;
|
|
921
|
+
__typename?: boolean | number;
|
|
922
|
+
__scalar?: boolean | number;
|
|
923
|
+
}
|
|
924
|
+
interface PartnerMomentTicketAttendanceGenqlSelection {
|
|
925
|
+
total?: boolean | number;
|
|
926
|
+
checkedIn?: boolean | number;
|
|
927
|
+
tiers?: PartnerMomentTicketTierAttendanceGenqlSelection;
|
|
928
|
+
__typename?: boolean | number;
|
|
929
|
+
__scalar?: boolean | number;
|
|
930
|
+
}
|
|
931
|
+
interface PartnerMomentGuestlistLabelAttendanceGenqlSelection {
|
|
932
|
+
total?: boolean | number;
|
|
933
|
+
checkedIn?: boolean | number;
|
|
934
|
+
labelUid?: boolean | number;
|
|
935
|
+
name?: boolean | number;
|
|
936
|
+
__typename?: boolean | number;
|
|
937
|
+
__scalar?: boolean | number;
|
|
938
|
+
}
|
|
939
|
+
interface PartnerMomentGuestlistAttendanceGenqlSelection {
|
|
940
|
+
total?: boolean | number;
|
|
941
|
+
checkedIn?: boolean | number;
|
|
942
|
+
unlabeled?: PartnerMomentAttendanceCountGenqlSelection;
|
|
943
|
+
labels?: PartnerMomentGuestlistLabelAttendanceGenqlSelection;
|
|
944
|
+
__typename?: boolean | number;
|
|
945
|
+
__scalar?: boolean | number;
|
|
946
|
+
}
|
|
947
|
+
interface PartnerMomentAttendanceStatsGenqlSelection {
|
|
948
|
+
momentUid?: boolean | number;
|
|
949
|
+
momentSlug?: boolean | number;
|
|
950
|
+
generatedAt?: boolean | number;
|
|
951
|
+
tickets?: PartnerMomentTicketAttendanceGenqlSelection;
|
|
952
|
+
guestlist?: PartnerMomentGuestlistAttendanceGenqlSelection;
|
|
953
|
+
__typename?: boolean | number;
|
|
954
|
+
__scalar?: boolean | number;
|
|
955
|
+
}
|
|
956
|
+
interface PartnerMomentAttendanceLookupInput {
|
|
957
|
+
/** ITM moment UID. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId. */
|
|
958
|
+
momentUid?: (Scalars['String'] | null);
|
|
959
|
+
/** ITM moment slug. Provide exactly one of momentUid, momentSlug, or externalPlatform with externalId. */
|
|
960
|
+
momentSlug?: (Scalars['String'] | null);
|
|
961
|
+
/** Source platform for externalId, for example EVENTBRITE. */
|
|
962
|
+
externalPlatform?: (EventImportPlatform | null);
|
|
963
|
+
/** Opaque source-platform event ID. Must be provided together with externalPlatform. */
|
|
964
|
+
externalId?: (Scalars['String'] | null);
|
|
965
|
+
}
|
|
861
966
|
interface MomentCollectionLinkGenqlSelection {
|
|
862
967
|
uid?: boolean | number;
|
|
863
968
|
url?: boolean | number;
|
|
@@ -1238,6 +1343,16 @@ interface QueryGenqlSelection {
|
|
|
1238
1343
|
momentSlug: Scalars['String'];
|
|
1239
1344
|
};
|
|
1240
1345
|
});
|
|
1346
|
+
/**
|
|
1347
|
+
* Get a cached attendance snapshot for a partner-owned moment; counts can be
|
|
1348
|
+
* up to five minutes old. Look up by exactly one of momentUid, momentSlug, or
|
|
1349
|
+
* externalPlatform with externalId. Returns null when no owned moment matches.
|
|
1350
|
+
*/
|
|
1351
|
+
getPartnerMomentAttendanceStats?: (PartnerMomentAttendanceStatsGenqlSelection & {
|
|
1352
|
+
__args: {
|
|
1353
|
+
input: PartnerMomentAttendanceLookupInput;
|
|
1354
|
+
};
|
|
1355
|
+
});
|
|
1241
1356
|
/** Get paginated tickets for a moment. */
|
|
1242
1357
|
getPartnerTicketsForMoment?: (GetTicketsResponseGenqlSelection & {
|
|
1243
1358
|
__args: {
|
|
@@ -1778,4 +1893,4 @@ type ITMPartnerClient = Client;
|
|
|
1778
1893
|
*/
|
|
1779
1894
|
declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
|
|
1780
1895
|
|
|
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 };
|
|
1896
|
+
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 EventImportPlatform, 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 PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestlistAttendance, type PartnerMomentGuestlistLabelAttendance, type PartnerMomentStats, type PartnerMomentTicketAttendance, type PartnerMomentTicketTierAttendance, 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 };
|