@itm-studio/partner-sdk 0.2.9 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -7,6 +7,12 @@ type Scalars = {
7
7
  Int: number;
8
8
  Float: number;
9
9
  };
10
+ type ConsentStatus = 'NEVER_SUBSCRIBED' | 'SUBSCRIBED' | 'UNSUBSCRIBED';
11
+ type UserSource = 'BRAND' | 'DICE' | 'ITM';
12
+ type SortDirection = 'ASC' | 'DESC';
13
+ type BrandAgentEmailSendBatchStatus = 'PENDING' | 'SENDING' | 'SENT' | 'PARTIAL' | 'FAILED' | 'UNKNOWN';
14
+ type BrandAgentEmailSendMessageStatus = 'PENDING' | 'SENDING' | 'SENT' | 'FAILED' | 'UNKNOWN';
15
+ type PartnerAudienceSortField = 'CITY' | 'CREATED_AT' | 'NAME' | 'NUM_MOMENTS' | 'TOTAL_SPEND_USD' | 'UPDATED_AT';
10
16
  type MomentStatus = 'UPCOMING' | 'LIVE' | 'ENDED';
11
17
  type MomentSortOrder = 'ASC' | 'DESC';
12
18
  type BrandDropCtaType = 'EXTERNAL_URL' | 'GATED_LINK' | 'MUSIC_LINK' | 'SUBSCRIBE';
@@ -209,8 +215,35 @@ interface PartnerCustomer {
209
215
  tickets: Ticket[];
210
216
  __typename: 'PartnerCustomer';
211
217
  }
218
+ interface PartnerAudienceCustomer {
219
+ uid: Scalars['String'];
220
+ name: (Scalars['String'] | null);
221
+ email: (Scalars['String'] | null);
222
+ emailVerified: Scalars['Boolean'];
223
+ phoneNumber: (Scalars['String'] | null);
224
+ city: (Scalars['String'] | null);
225
+ country: (Scalars['String'] | null);
226
+ source: UserSource;
227
+ isSubscribed: Scalars['Boolean'];
228
+ emailConsentStatus: ConsentStatus;
229
+ smsConsentStatus: ConsentStatus;
230
+ communicationsOptedOut: Scalars['Boolean'];
231
+ isSuppressed: Scalars['Boolean'];
232
+ totalSpendUsdCents: Scalars['Int'];
233
+ numMoments: Scalars['Int'];
234
+ numProducts: Scalars['Int'];
235
+ numEchoes: Scalars['Int'];
236
+ createdAt: Scalars['DateTime'];
237
+ updatedAt: Scalars['DateTime'];
238
+ __typename: 'PartnerAudienceCustomer';
239
+ }
212
240
  interface PartnerMomentStats {
241
+ generatedAt: Scalars['DateTime'];
213
242
  ticketsCount: Scalars['Int'];
243
+ /** Confirmed tickets whose materialized price is greater than zero. */
244
+ paidTicketsCount: Scalars['Int'];
245
+ /** Confirmed tickets whose materialized price is zero. */
246
+ freeTicketsCount: Scalars['Int'];
214
247
  waitlistCount: Scalars['Int'];
215
248
  externalRsvpCount: Scalars['Int'];
216
249
  ticketRsvpRequestsCount: Scalars['Int'];
@@ -403,6 +436,13 @@ interface GetPartnerCustomersResponse {
403
436
  nextCursor: (Scalars['String'] | null);
404
437
  __typename: 'GetPartnerCustomersResponse';
405
438
  }
439
+ interface GetPartnerAudienceResponse {
440
+ customers: PartnerAudienceCustomer[];
441
+ hasNextPage: Scalars['Boolean'];
442
+ nextCursor: (Scalars['String'] | null);
443
+ totalCount: (Scalars['Int'] | null);
444
+ __typename: 'GetPartnerAudienceResponse';
445
+ }
406
446
  interface GetBrandEchoesForUserResponse {
407
447
  echoes: Echo[];
408
448
  totalCount: Scalars['Int'];
@@ -575,9 +615,52 @@ interface MomentLineupResponseResult {
575
615
  success: Scalars['Boolean'];
576
616
  __typename: 'MomentLineupResponseResult';
577
617
  }
618
+ interface BrandAgentEmailSendMessage {
619
+ uid: Scalars['String'];
620
+ position: Scalars['Int'];
621
+ recipient: Scalars['String'];
622
+ subject: Scalars['String'];
623
+ text: Scalars['String'];
624
+ status: BrandAgentEmailSendMessageStatus;
625
+ agentMailMessageId: (Scalars['String'] | null);
626
+ agentMailThreadId: (Scalars['String'] | null);
627
+ sentAt: (Scalars['DateTime'] | null);
628
+ failedAt: (Scalars['DateTime'] | null);
629
+ lastErrorCode: (Scalars['String'] | null);
630
+ lastErrorMessage: (Scalars['String'] | null);
631
+ __typename: 'BrandAgentEmailSendMessage';
632
+ }
633
+ interface BrandAgentEmailSendBatch {
634
+ uid: Scalars['String'];
635
+ createdAt: Scalars['DateTime'];
636
+ status: BrandAgentEmailSendBatchStatus;
637
+ senderEmailAddress: Scalars['String'];
638
+ acceptedCount: Scalars['Int'];
639
+ messages: BrandAgentEmailSendMessage[];
640
+ __typename: 'BrandAgentEmailSendBatch';
641
+ }
642
+ interface AgentThreadSeedContext {
643
+ /**
644
+ * Rendered prior-conversation transcript to seed a fresh agent session with,
645
+ * or null when the thread has no renderable history.
646
+ */
647
+ seed: (Scalars['String'] | null);
648
+ includedMessages: Scalars['Int'];
649
+ totalMessages: Scalars['Int'];
650
+ truncated: Scalars['Boolean'];
651
+ __typename: 'AgentThreadSeedContext';
652
+ }
578
653
  interface Query {
579
654
  /** Get details for the brand associated with the partner token. */
580
655
  getPartnerBrand: PartnerBrand;
656
+ /** Retrieve one AgentMail send batch owned by the authenticated partner brand. */
657
+ getPartnerAgentEmailBatch: BrandAgentEmailSendBatch;
658
+ /**
659
+ * Seed context for restoring a conversation thread into a fresh agent
660
+ * session. Agent-access-token mode only: admin, brand, and thread scope all
661
+ * derive from the verified token claims, so the operation takes no arguments.
662
+ */
663
+ getAgentThreadSeed: AgentThreadSeedContext;
581
664
  /** Get paginated moments for the brand associated with the partner token. */
582
665
  getPartnerMomentsForBrand: GetPublicMomentsResponse;
583
666
  /** Get paginated drops for the brand associated with the partner token. */
@@ -602,6 +685,11 @@ interface Query {
602
685
  * Sorted by newest first (based on earliest ticket purchase time).
603
686
  */
604
687
  getPartnerCustomersForMoment: GetPartnerCustomersResponse;
688
+ /**
689
+ * Get the authenticated brand's customer audience using an allowlisted profile,
690
+ * effective consent, and aggregate-metrics projection.
691
+ */
692
+ getPartnerAudience: GetPartnerAudienceResponse;
605
693
  /**
606
694
  * Get a moment collection by slug.
607
695
  * Returns the collection with its moments and links.
@@ -691,6 +779,8 @@ interface Mutation {
691
779
  * When type is IRL, the venue field is required.
692
780
  */
693
781
  createPartnerMoment: Moment;
782
+ /** Queue one to ten emails from the authenticated brand's AgentMail inbox. */
783
+ sendPartnerAgentEmail: BrandAgentEmailSendBatch;
694
784
  /**
695
785
  * Bulk edit partner-owned ticket tiers for a moment.
696
786
  * Supports per-tier price, facility-fee, and supply updates.
@@ -898,8 +988,36 @@ interface PartnerCustomerGenqlSelection {
898
988
  __typename?: boolean | number;
899
989
  __scalar?: boolean | number;
900
990
  }
991
+ interface PartnerAudienceCustomerGenqlSelection {
992
+ uid?: boolean | number;
993
+ name?: boolean | number;
994
+ email?: boolean | number;
995
+ emailVerified?: boolean | number;
996
+ phoneNumber?: boolean | number;
997
+ city?: boolean | number;
998
+ country?: boolean | number;
999
+ source?: boolean | number;
1000
+ isSubscribed?: boolean | number;
1001
+ emailConsentStatus?: boolean | number;
1002
+ smsConsentStatus?: boolean | number;
1003
+ communicationsOptedOut?: boolean | number;
1004
+ isSuppressed?: boolean | number;
1005
+ totalSpendUsdCents?: boolean | number;
1006
+ numMoments?: boolean | number;
1007
+ numProducts?: boolean | number;
1008
+ numEchoes?: boolean | number;
1009
+ createdAt?: boolean | number;
1010
+ updatedAt?: boolean | number;
1011
+ __typename?: boolean | number;
1012
+ __scalar?: boolean | number;
1013
+ }
901
1014
  interface PartnerMomentStatsGenqlSelection {
1015
+ generatedAt?: boolean | number;
902
1016
  ticketsCount?: boolean | number;
1017
+ /** Confirmed tickets whose materialized price is greater than zero. */
1018
+ paidTicketsCount?: boolean | number;
1019
+ /** Confirmed tickets whose materialized price is zero. */
1020
+ freeTicketsCount?: boolean | number;
903
1021
  waitlistCount?: boolean | number;
904
1022
  externalRsvpCount?: boolean | number;
905
1023
  ticketRsvpRequestsCount?: boolean | number;
@@ -1124,6 +1242,14 @@ interface GetPartnerCustomersResponseGenqlSelection {
1124
1242
  __typename?: boolean | number;
1125
1243
  __scalar?: boolean | number;
1126
1244
  }
1245
+ interface GetPartnerAudienceResponseGenqlSelection {
1246
+ customers?: PartnerAudienceCustomerGenqlSelection;
1247
+ hasNextPage?: boolean | number;
1248
+ nextCursor?: boolean | number;
1249
+ totalCount?: boolean | number;
1250
+ __typename?: boolean | number;
1251
+ __scalar?: boolean | number;
1252
+ }
1127
1253
  interface GetBrandEchoesForUserResponseGenqlSelection {
1128
1254
  echoes?: EchoGenqlSelection;
1129
1255
  totalCount?: boolean | number;
@@ -1303,12 +1429,101 @@ interface MomentLineupResponseResultGenqlSelection {
1303
1429
  __scalar?: boolean | number;
1304
1430
  }
1305
1431
  interface PartnerMomentsFiltersInput {
1432
+ /** Case-insensitive search over moment name and slug. Whitespace-only values are ignored. */
1433
+ search?: (Scalars['String'] | null);
1306
1434
  /** When true, includes private moments owned by the authenticated brand. Default: false. */
1307
1435
  includePrivate?: (Scalars['Boolean'] | null);
1308
1436
  }
1437
+ interface PartnerAudienceFiltersInput {
1438
+ customerUids?: (Scalars['String'][] | null);
1439
+ search?: (Scalars['String'] | null);
1440
+ hasEmail?: (Scalars['Boolean'] | null);
1441
+ hasPhone?: (Scalars['Boolean'] | null);
1442
+ isSubscribed?: (Scalars['Boolean'] | null);
1443
+ emailConsentStatuses?: (ConsentStatus[] | null);
1444
+ smsConsentStatuses?: (ConsentStatus[] | null);
1445
+ communicationsOptedOut?: (Scalars['Boolean'] | null);
1446
+ isSuppressed?: (Scalars['Boolean'] | null);
1447
+ sources?: (UserSource[] | null);
1448
+ cities?: (Scalars['String'][] | null);
1449
+ countries?: (Scalars['String'][] | null);
1450
+ createdAtFrom?: (Scalars['DateTime'] | null);
1451
+ createdAtBefore?: (Scalars['DateTime'] | null);
1452
+ updatedAtFrom?: (Scalars['DateTime'] | null);
1453
+ updatedAtBefore?: (Scalars['DateTime'] | null);
1454
+ minTotalSpendUsdCents?: (Scalars['Int'] | null);
1455
+ maxTotalSpendUsdCents?: (Scalars['Int'] | null);
1456
+ minNumMoments?: (Scalars['Int'] | null);
1457
+ maxNumMoments?: (Scalars['Int'] | null);
1458
+ momentUids?: (Scalars['String'][] | null);
1459
+ ticketTierUids?: (Scalars['String'][] | null);
1460
+ brandListUids?: (Scalars['String'][] | null);
1461
+ membershipTierUids?: (Scalars['String'][] | null);
1462
+ }
1463
+ interface PartnerAudienceSortInput {
1464
+ field: PartnerAudienceSortField;
1465
+ direction: SortDirection;
1466
+ }
1467
+ interface GetPartnerAudienceInput {
1468
+ filters?: (PartnerAudienceFiltersInput | null);
1469
+ sort?: (PartnerAudienceSortInput | null);
1470
+ cursor?: (Scalars['String'] | null);
1471
+ take?: (Scalars['Int'] | null);
1472
+ includeTotalCount?: (Scalars['Boolean'] | null);
1473
+ }
1474
+ interface BrandAgentEmailSendMessageGenqlSelection {
1475
+ uid?: boolean | number;
1476
+ position?: boolean | number;
1477
+ recipient?: boolean | number;
1478
+ subject?: boolean | number;
1479
+ text?: boolean | number;
1480
+ status?: boolean | number;
1481
+ agentMailMessageId?: boolean | number;
1482
+ agentMailThreadId?: boolean | number;
1483
+ sentAt?: boolean | number;
1484
+ failedAt?: boolean | number;
1485
+ lastErrorCode?: boolean | number;
1486
+ lastErrorMessage?: boolean | number;
1487
+ __typename?: boolean | number;
1488
+ __scalar?: boolean | number;
1489
+ }
1490
+ interface BrandAgentEmailSendBatchGenqlSelection {
1491
+ uid?: boolean | number;
1492
+ createdAt?: boolean | number;
1493
+ status?: boolean | number;
1494
+ senderEmailAddress?: boolean | number;
1495
+ acceptedCount?: boolean | number;
1496
+ messages?: BrandAgentEmailSendMessageGenqlSelection;
1497
+ __typename?: boolean | number;
1498
+ __scalar?: boolean | number;
1499
+ }
1500
+ interface AgentThreadSeedContextGenqlSelection {
1501
+ /**
1502
+ * Rendered prior-conversation transcript to seed a fresh agent session with,
1503
+ * or null when the thread has no renderable history.
1504
+ */
1505
+ seed?: boolean | number;
1506
+ includedMessages?: boolean | number;
1507
+ totalMessages?: boolean | number;
1508
+ truncated?: boolean | number;
1509
+ __typename?: boolean | number;
1510
+ __scalar?: boolean | number;
1511
+ }
1309
1512
  interface QueryGenqlSelection {
1310
1513
  /** Get details for the brand associated with the partner token. */
1311
1514
  getPartnerBrand?: PartnerBrandGenqlSelection;
1515
+ /** Retrieve one AgentMail send batch owned by the authenticated partner brand. */
1516
+ getPartnerAgentEmailBatch?: (BrandAgentEmailSendBatchGenqlSelection & {
1517
+ __args: {
1518
+ batchUid: Scalars['String'];
1519
+ };
1520
+ });
1521
+ /**
1522
+ * Seed context for restoring a conversation thread into a fresh agent
1523
+ * session. Agent-access-token mode only: admin, brand, and thread scope all
1524
+ * derive from the verified token claims, so the operation takes no arguments.
1525
+ */
1526
+ getAgentThreadSeed?: AgentThreadSeedContextGenqlSelection;
1312
1527
  /** Get paginated moments for the brand associated with the partner token. */
1313
1528
  getPartnerMomentsForBrand?: (GetPublicMomentsResponseGenqlSelection & {
1314
1529
  __args: {
@@ -1381,6 +1596,15 @@ interface QueryGenqlSelection {
1381
1596
  take?: (Scalars['Int'] | null);
1382
1597
  };
1383
1598
  });
1599
+ /**
1600
+ * Get the authenticated brand's customer audience using an allowlisted profile,
1601
+ * effective consent, and aggregate-metrics projection.
1602
+ */
1603
+ getPartnerAudience?: (GetPartnerAudienceResponseGenqlSelection & {
1604
+ __args?: {
1605
+ input?: (GetPartnerAudienceInput | null);
1606
+ };
1607
+ });
1384
1608
  /**
1385
1609
  * Get a moment collection by slug.
1386
1610
  * Returns the collection with its moments and links.
@@ -1454,6 +1678,20 @@ interface DimensionsInput {
1454
1678
  width: Scalars['Float'];
1455
1679
  height: Scalars['Float'];
1456
1680
  }
1681
+ interface BrandAgentEmailMessageInput {
1682
+ /** One normalized recipient. Each item is sent as a separate email. */
1683
+ to: Scalars['String'];
1684
+ subject: Scalars['String'];
1685
+ text: Scalars['String'];
1686
+ }
1687
+ interface SendPartnerAgentEmailInput {
1688
+ /** Stable business idempotency key for this logical batch. */
1689
+ idempotencyKey: Scalars['String'];
1690
+ /** One to ten personalized, single-recipient plain-text emails. */
1691
+ messages: BrandAgentEmailMessageInput[];
1692
+ /** Brand-agent session callers only; rejected for partner API keys */
1693
+ toolCallId?: (Scalars['String'] | null);
1694
+ }
1457
1695
  interface VenueInput {
1458
1696
  name: Scalars['String'];
1459
1697
  city: Scalars['String'];
@@ -1513,6 +1751,10 @@ interface CreatePartnerMomentInput {
1513
1751
  subcategory?: (MomentSubcategory | null);
1514
1752
  /** Ticket tiers to create along with the moment. */
1515
1753
  ticketTiers?: (CreatePartnerTicketTierInput[] | null);
1754
+ /** Brand-agent session callers only; rejected for partner API keys */
1755
+ idempotencyKey?: (Scalars['String'] | null);
1756
+ /** Brand-agent session callers only; rejected for partner API keys */
1757
+ toolCallId?: (Scalars['String'] | null);
1516
1758
  }
1517
1759
  interface GetPartnerTicketTiersForMomentInput {
1518
1760
  /** Moment UID to search ticket tiers for. Provide this or momentSlug. */
@@ -1754,6 +1996,12 @@ interface MutationGenqlSelection {
1754
1996
  input: CreatePartnerMomentInput;
1755
1997
  };
1756
1998
  });
1999
+ /** Queue one to ten emails from the authenticated brand's AgentMail inbox. */
2000
+ sendPartnerAgentEmail?: (BrandAgentEmailSendBatchGenqlSelection & {
2001
+ __args: {
2002
+ input: SendPartnerAgentEmailInput;
2003
+ };
2004
+ });
1757
2005
  /**
1758
2006
  * Bulk edit partner-owned ticket tiers for a moment.
1759
2007
  * Supports per-tier price, facility-fee, and supply updates.
@@ -1823,6 +2071,24 @@ type Anify<T> = {
1823
2071
  type FieldsToRemove = '__isUnion' | '__scalar' | '__name' | '__args';
1824
2072
  type Nil = undefined | null;
1825
2073
 
2074
+ declare class GenqlError extends Error {
2075
+ errors: Array<GraphqlError>;
2076
+ /**
2077
+ * Partial data returned by the server
2078
+ */
2079
+ data?: any;
2080
+ constructor(errors: any[], data: any);
2081
+ }
2082
+ interface GraphqlError {
2083
+ message: string;
2084
+ locations?: Array<{
2085
+ line: number;
2086
+ column: number;
2087
+ }>;
2088
+ path?: string[];
2089
+ extensions?: Record<string, any>;
2090
+ }
2091
+
1826
2092
  interface Client {
1827
2093
  query<R extends QueryGenqlSelection>(request: R & {
1828
2094
  __name?: string;
@@ -1848,7 +2114,7 @@ declare const DEFAULT_API_URL = "https://itm-backend-production.up.railway.app/g
1848
2114
  type MaybePromise<T> = T | Promise<T>;
1849
2115
  type ITMPartnerHeadersObject = Record<string, string>;
1850
2116
  type ITMPartnerHeaders = ITMPartnerHeadersObject | (() => MaybePromise<ITMPartnerHeadersObject | undefined>);
1851
- interface ITMPartnerClientConfig {
2117
+ interface ITMPartnerTokenConfig {
1852
2118
  /**
1853
2119
  * Partner API token (from backstage: Settings > Partner API).
1854
2120
  * Sent as `x-partner-api-key` header on every request.
@@ -1866,6 +2132,77 @@ interface ITMPartnerClientConfig {
1866
2132
  */
1867
2133
  headers?: ITMPartnerHeaders;
1868
2134
  }
2135
+ interface ITMPartnerAgentSessionCredentials {
2136
+ /**
2137
+ * Mints a fresh, short-lived workload identity bearer for each request
2138
+ * (e.g. a Vercel workload OIDC token). Called per request so tokens are
2139
+ * never cached beyond their lifetime.
2140
+ */
2141
+ workloadToken: () => MaybePromise<string>;
2142
+ /**
2143
+ * The backend-owned Brand Agent session id. The backend derives the brand
2144
+ * and the operation grants from this session server-side — the SDK never
2145
+ * carries a brand identifier or a partner API key in this mode.
2146
+ */
2147
+ sessionUid: string;
2148
+ /**
2149
+ * Optional one-time session bootstrap secret, forwarded so the backend can
2150
+ * lazily register a session that the lifecycle hook has not bound yet.
2151
+ */
2152
+ bootstrapToken?: string;
2153
+ }
2154
+ /**
2155
+ * First-party Brand Agent session authentication. Only capability-scoped
2156
+ * partner operations approved for agents accept this mode; everything else
2157
+ * remains partner-token-only and fails closed.
2158
+ */
2159
+ interface ITMPartnerAgentSessionConfig {
2160
+ agentSession: ITMPartnerAgentSessionCredentials;
2161
+ /**
2162
+ * Base URL of the ITM GraphQL API.
2163
+ * @default DEFAULT_API_URL
2164
+ */
2165
+ baseUrl?: string;
2166
+ /**
2167
+ * Additional headers to include on every request. Credential headers
2168
+ * always take precedence and cannot be overridden.
2169
+ */
2170
+ headers?: ITMPartnerHeaders;
2171
+ }
2172
+ interface ITMPartnerAgentAccessCredentials {
2173
+ /**
2174
+ * Mints a fresh, short-lived workload identity bearer for each request
2175
+ * (e.g. a Vercel workload OIDC token). Called per request so tokens are
2176
+ * never cached beyond their lifetime.
2177
+ */
2178
+ workloadToken: () => MaybePromise<string>;
2179
+ /**
2180
+ * The short-lived agent access token minted by the backend exchange (as
2181
+ * presented by the caller on the inbound request). The backend derives the
2182
+ * admin, brand, and thread scope from its verified claims server-side.
2183
+ */
2184
+ accessToken: string;
2185
+ }
2186
+ /**
2187
+ * First-party Brand Agent access-token authentication, for the pre-session
2188
+ * moment in the session-create flow when no agent session exists yet (the
2189
+ * thread seed fetch). Only operations guarded for this mode accept it;
2190
+ * everything else remains partner-token- or session-only and fails closed.
2191
+ */
2192
+ interface ITMPartnerAgentAccessConfig {
2193
+ agentAccess: ITMPartnerAgentAccessCredentials;
2194
+ /**
2195
+ * Base URL of the ITM GraphQL API.
2196
+ * @default DEFAULT_API_URL
2197
+ */
2198
+ baseUrl?: string;
2199
+ /**
2200
+ * Additional headers to include on every request. Credential headers
2201
+ * always take precedence and cannot be overridden.
2202
+ */
2203
+ headers?: ITMPartnerHeaders;
2204
+ }
2205
+ type ITMPartnerClientConfig = ITMPartnerTokenConfig | ITMPartnerAgentSessionConfig | ITMPartnerAgentAccessConfig;
1869
2206
  type ITMPartnerClient = Client;
1870
2207
  /**
1871
2208
  * Create a typed ITM Partner API client.
@@ -1898,4 +2235,4 @@ type ITMPartnerClient = Client;
1898
2235
  */
1899
2236
  declare function createITMPartnerClient(config: ITMPartnerClientConfig): ITMPartnerClient;
1900
2237
 
1901
- 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 PartnerMomentsFiltersInput, 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 };
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 };