@itm-studio/partner-sdk 0.6.10 → 0.6.11
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 +124 -0
- package/dist/index.d.mts +286 -1
- package/dist/index.d.ts +286 -1
- package/dist/index.js +572 -187
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +571 -188
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
- package/schema/integration.json +177 -0
- package/schema/partner.graphql +53 -0
package/dist/index.d.ts
CHANGED
|
@@ -702,6 +702,8 @@ interface GetBrandEchoesForUserResponse {
|
|
|
702
702
|
__typename: 'GetBrandEchoesForUserResponse';
|
|
703
703
|
}
|
|
704
704
|
interface PartnerTicketTier {
|
|
705
|
+
/** ISO 4217 currency of the tier price and facility fee. */
|
|
706
|
+
currencyCode: Scalars['String'];
|
|
705
707
|
/** Sold-through fill rate as a 0-1 ratio. */
|
|
706
708
|
fillRate: Scalars['Float'];
|
|
707
709
|
isActive: Scalars['Boolean'];
|
|
@@ -1203,6 +1205,8 @@ interface Query {
|
|
|
1203
1205
|
getMomentLineupByToken: PublicMomentLineupInfo;
|
|
1204
1206
|
getPartnerPlans: GetPlansResponse;
|
|
1205
1207
|
getPartnerPlan: Plan;
|
|
1208
|
+
/** Aggregate date-poll progress, or null if the plan has no poll. */
|
|
1209
|
+
getPartnerPlanDatePoll: (PartnerPlanDatePoll | null);
|
|
1206
1210
|
getPartnerPlanBudgets: PlanBudgetSummary[];
|
|
1207
1211
|
getPartnerPlanBudget: PlanBudget;
|
|
1208
1212
|
getPartnerPlanningSource: PlanningSource;
|
|
@@ -1449,6 +1453,41 @@ interface PlanMoodboardItem {
|
|
|
1449
1453
|
}
|
|
1450
1454
|
type PlanLinkMetadataStatus = 'FAILED' | 'NOT_APPLICABLE' | 'PENDING' | 'READY';
|
|
1451
1455
|
type PlanMoodboardItemType = 'LINK' | 'MEDIA';
|
|
1456
|
+
interface PartnerPlanDatePoll {
|
|
1457
|
+
uid: Scalars['ID'];
|
|
1458
|
+
status: PlanDatePollStatus;
|
|
1459
|
+
timeMode: PlanDatePollTimeMode;
|
|
1460
|
+
timezone: Scalars['String'];
|
|
1461
|
+
durationMinutes: (Scalars['Int'] | null);
|
|
1462
|
+
replyByDate: (Scalars['String'] | null);
|
|
1463
|
+
chosenOptionUid: (Scalars['ID'] | null);
|
|
1464
|
+
answeredCount: Scalars['Int'];
|
|
1465
|
+
notAnsweredCount: Scalars['Int'];
|
|
1466
|
+
needsUpdateCount: Scalars['Int'];
|
|
1467
|
+
results: PartnerPlanDatePollOptionResult[];
|
|
1468
|
+
__typename: 'PartnerPlanDatePoll';
|
|
1469
|
+
}
|
|
1470
|
+
interface PartnerPlanDatePollOptionResult {
|
|
1471
|
+
optionUid: Scalars['ID'];
|
|
1472
|
+
localDate: Scalars['String'];
|
|
1473
|
+
startTime: (Scalars['String'] | null);
|
|
1474
|
+
endTime: (Scalars['String'] | null);
|
|
1475
|
+
status: PlanDatePollOptionStatus;
|
|
1476
|
+
freeCount: Scalars['Int'];
|
|
1477
|
+
ifNeedBeCount: Scalars['Int'];
|
|
1478
|
+
unavailableCount: Scalars['Int'];
|
|
1479
|
+
unansweredCount: Scalars['Int'];
|
|
1480
|
+
bestSlot: (PlanDatePollSlot | null);
|
|
1481
|
+
__typename: 'PartnerPlanDatePollOptionResult';
|
|
1482
|
+
}
|
|
1483
|
+
interface PlanDatePollSlot {
|
|
1484
|
+
startTime: Scalars['String'];
|
|
1485
|
+
endTime: Scalars['String'];
|
|
1486
|
+
__typename: 'PlanDatePollSlot';
|
|
1487
|
+
}
|
|
1488
|
+
type PlanDatePollStatus = 'CLOSED' | 'OPEN';
|
|
1489
|
+
type PlanDatePollTimeMode = 'ANY_TIME' | 'EXACT' | 'WINDOW';
|
|
1490
|
+
type PlanDatePollOptionStatus = 'BLOCKED' | 'WAITING' | 'WORKS';
|
|
1452
1491
|
interface PlanBudgetSummary {
|
|
1453
1492
|
createdAt: Scalars['DateTime'];
|
|
1454
1493
|
currencyCode: Scalars['String'];
|
|
@@ -3006,6 +3045,8 @@ interface GetBrandEchoesForUserResponseGenqlSelection {
|
|
|
3006
3045
|
__scalar?: boolean | number;
|
|
3007
3046
|
}
|
|
3008
3047
|
interface PartnerTicketTierGenqlSelection {
|
|
3048
|
+
/** ISO 4217 currency of the tier price and facility fee. */
|
|
3049
|
+
currencyCode?: boolean | number;
|
|
3009
3050
|
/** Sold-through fill rate as a 0-1 ratio. */
|
|
3010
3051
|
fillRate?: boolean | number;
|
|
3011
3052
|
isActive?: boolean | number;
|
|
@@ -3863,6 +3904,12 @@ interface QueryGenqlSelection {
|
|
|
3863
3904
|
planUid: Scalars['String'];
|
|
3864
3905
|
};
|
|
3865
3906
|
});
|
|
3907
|
+
/** Aggregate date-poll progress, or null if the plan has no poll. */
|
|
3908
|
+
getPartnerPlanDatePoll?: (PartnerPlanDatePollGenqlSelection & {
|
|
3909
|
+
__args: {
|
|
3910
|
+
planUid: Scalars['String'];
|
|
3911
|
+
};
|
|
3912
|
+
});
|
|
3866
3913
|
getPartnerPlanBudgets?: (PlanBudgetSummaryGenqlSelection & {
|
|
3867
3914
|
__args: {
|
|
3868
3915
|
planUid: Scalars['String'];
|
|
@@ -4580,6 +4627,41 @@ interface PlanMoodboardItemGenqlSelection {
|
|
|
4580
4627
|
__typename?: boolean | number;
|
|
4581
4628
|
__scalar?: boolean | number;
|
|
4582
4629
|
}
|
|
4630
|
+
interface PartnerPlanDatePollGenqlSelection {
|
|
4631
|
+
uid?: boolean | number;
|
|
4632
|
+
status?: boolean | number;
|
|
4633
|
+
timeMode?: boolean | number;
|
|
4634
|
+
timezone?: boolean | number;
|
|
4635
|
+
durationMinutes?: boolean | number;
|
|
4636
|
+
replyByDate?: boolean | number;
|
|
4637
|
+
chosenOptionUid?: boolean | number;
|
|
4638
|
+
answeredCount?: boolean | number;
|
|
4639
|
+
notAnsweredCount?: boolean | number;
|
|
4640
|
+
needsUpdateCount?: boolean | number;
|
|
4641
|
+
results?: PartnerPlanDatePollOptionResultGenqlSelection;
|
|
4642
|
+
__typename?: boolean | number;
|
|
4643
|
+
__scalar?: boolean | number;
|
|
4644
|
+
}
|
|
4645
|
+
interface PartnerPlanDatePollOptionResultGenqlSelection {
|
|
4646
|
+
optionUid?: boolean | number;
|
|
4647
|
+
localDate?: boolean | number;
|
|
4648
|
+
startTime?: boolean | number;
|
|
4649
|
+
endTime?: boolean | number;
|
|
4650
|
+
status?: boolean | number;
|
|
4651
|
+
freeCount?: boolean | number;
|
|
4652
|
+
ifNeedBeCount?: boolean | number;
|
|
4653
|
+
unavailableCount?: boolean | number;
|
|
4654
|
+
unansweredCount?: boolean | number;
|
|
4655
|
+
bestSlot?: PlanDatePollSlotGenqlSelection;
|
|
4656
|
+
__typename?: boolean | number;
|
|
4657
|
+
__scalar?: boolean | number;
|
|
4658
|
+
}
|
|
4659
|
+
interface PlanDatePollSlotGenqlSelection {
|
|
4660
|
+
startTime?: boolean | number;
|
|
4661
|
+
endTime?: boolean | number;
|
|
4662
|
+
__typename?: boolean | number;
|
|
4663
|
+
__scalar?: boolean | number;
|
|
4664
|
+
}
|
|
4583
4665
|
interface PlanBudgetSummaryGenqlSelection {
|
|
4584
4666
|
createdAt?: boolean | number;
|
|
4585
4667
|
currencyCode?: boolean | number;
|
|
@@ -5890,4 +5972,207 @@ declare function detectPartnerMediaTypes(prefix: Uint8Array): string[];
|
|
|
5890
5972
|
*/
|
|
5891
5973
|
declare function uploadPartnerMedia(client: ITMPartnerClient, source: ITMPartnerMediaSource, options?: ITMPartnerMediaUploadOptions): Promise<ITMPartnerUploadedMedia>;
|
|
5892
5974
|
|
|
5893
|
-
|
|
5975
|
+
declare const rawPartnerIntegrationContract: {
|
|
5976
|
+
readonly getPartnerBrand: {
|
|
5977
|
+
readonly kind: "query";
|
|
5978
|
+
readonly scope: "itm:workspace:read";
|
|
5979
|
+
readonly fields: "uid name slug bio publicUrl customDomain spotifyUrl youtubeEmbedUrl";
|
|
5980
|
+
};
|
|
5981
|
+
readonly getPartnerMomentsForBrand: {
|
|
5982
|
+
readonly kind: "query";
|
|
5983
|
+
readonly scope: "itm:workspace:read";
|
|
5984
|
+
readonly fields: "moments{uid name slug publicUrl blurb startDate endDate timezone status type category isPrivate soldOut capacity venue{name city country}} totalCount hasNextPage nextCursor";
|
|
5985
|
+
};
|
|
5986
|
+
readonly getPartnerMoment: {
|
|
5987
|
+
readonly kind: "query";
|
|
5988
|
+
readonly scope: "itm:workspace:read";
|
|
5989
|
+
readonly fields: "uid name slug publicUrl blurb startDate endDate timezone status type category isPrivate soldOut capacity venue{name address city country postalCode} description minimumAge externalUrl lineupDisplayLabel coverImage{url} ticketTiers{uid name description currency{code} attendanceMode soldOut minPerUser maxPerUser}";
|
|
5990
|
+
};
|
|
5991
|
+
readonly getPartnerMomentStats: {
|
|
5992
|
+
readonly kind: "query";
|
|
5993
|
+
readonly scope: "itm:workspace:read";
|
|
5994
|
+
readonly fields: "generatedAt ticketsCount paidTicketsCount freeTicketsCount waitlistCount externalRsvpCount ticketRsvpRequestsCount inPersonOrdersCount inPersonChargesCount guestlist{names namesAllIn namesPartial namesNotArrived people peopleCheckedIn peopleRemaining plusOnes}";
|
|
5995
|
+
};
|
|
5996
|
+
readonly getPartnerMomentAttendanceStats: {
|
|
5997
|
+
readonly kind: "query";
|
|
5998
|
+
readonly scope: "itm:workspace:read";
|
|
5999
|
+
readonly fields: "momentUid momentSlug generatedAt tickets{total checkedIn tiers{tierUid name label total checkedIn}} guestlist{total checkedIn unlabeled{total checkedIn} labels{labelUid name total checkedIn}}";
|
|
6000
|
+
};
|
|
6001
|
+
readonly getPartnerTicketTiersForMoment: {
|
|
6002
|
+
readonly kind: "query";
|
|
6003
|
+
readonly scope: "itm:workspace:read";
|
|
6004
|
+
readonly fields: "ticketTiers{uid name label price facilityFee currencyCode supply remainingSupply fillRate isActive isPrivate slotDate slotDurationHours} totalCount hasNextPage nextCursor";
|
|
6005
|
+
};
|
|
6006
|
+
readonly getPartnerMomentCollection: {
|
|
6007
|
+
readonly kind: "query";
|
|
6008
|
+
readonly scope: "itm:workspace:read";
|
|
6009
|
+
readonly fields: "uid name slug description subLabel links{url label} moments{uid name slug startDate endDate status soldOut venue{name city}}";
|
|
6010
|
+
};
|
|
6011
|
+
readonly getPartnerDrops: {
|
|
6012
|
+
readonly kind: "query";
|
|
6013
|
+
readonly scope: "itm:workspace:read";
|
|
6014
|
+
readonly fields: "drops{uid name slug publicUrl subtitle isPublic isActive ctaType ctaUrl captureName captureEmail createdAt} totalCount hasNextPage nextCursor";
|
|
6015
|
+
};
|
|
6016
|
+
readonly getPartnerPublicEchoes: {
|
|
6017
|
+
readonly kind: "query";
|
|
6018
|
+
readonly scope: "itm:workspace:read";
|
|
6019
|
+
readonly fields: "echoes{uid type name slug publicUrl description postBody publishTime externalLink moment{uid name slug}} totalCount hasNextPage nextCursor";
|
|
6020
|
+
};
|
|
6021
|
+
readonly getPartnerMerch: {
|
|
6022
|
+
readonly kind: "query";
|
|
6023
|
+
readonly scope: "itm:workspace:read";
|
|
6024
|
+
readonly fields: "items{uid name publicUrl description price currency{code} fulfillmentType isLive maxPerUser merchSizes{uid name isSoldOut}} totalCount hasNextPage nextCursor";
|
|
6025
|
+
};
|
|
6026
|
+
readonly getPartnerMembershipTiers: {
|
|
6027
|
+
readonly kind: "query";
|
|
6028
|
+
readonly scope: "itm:workspace:read";
|
|
6029
|
+
readonly fields: "membershipTiers{uid name slug publicUrl description passType billingInterval currencyCode price yearlyPrice oneTimePrice trialDays isActive isPublic memberLimit activeMemberCount benefits} totalCount hasNextPage nextCursor";
|
|
6030
|
+
};
|
|
6031
|
+
readonly getPartnerContributionPages: {
|
|
6032
|
+
readonly kind: "query";
|
|
6033
|
+
readonly scope: "itm:workspace:read";
|
|
6034
|
+
readonly fields: "items{uid brandUid slug title description isAccepting archivedAt publicUrl currency{code} successfulContributionCount refundCount grossAmountCents refundedAmountCents netAmountCents createdAt} totalCount hasNextPage nextCursor";
|
|
6035
|
+
};
|
|
6036
|
+
readonly getPartnerPlans: {
|
|
6037
|
+
readonly kind: "query";
|
|
6038
|
+
readonly scope: "itm:workspace:read";
|
|
6039
|
+
readonly fields: "plans{uid name slug description kind status tags{name} moodboardItemCount createdAt updatedAt} totalCount hasNextPage nextCursor";
|
|
6040
|
+
};
|
|
6041
|
+
readonly getPartnerPlan: {
|
|
6042
|
+
readonly kind: "query";
|
|
6043
|
+
readonly scope: "itm:workspace:read";
|
|
6044
|
+
readonly fields: "uid name slug description kind status tags{name} updatedAt schedule{type timezone startsAt endsAt startsOn endsOn frequency interval daysOfWeek count includeDates excludeDates occurrenceCount times{time durationMinutes}} moodboard{items{uid type title note linkUrl position}}";
|
|
6045
|
+
};
|
|
6046
|
+
readonly getPartnerPlanDatePoll: {
|
|
6047
|
+
readonly kind: "query";
|
|
6048
|
+
readonly scope: "itm:workspace:read";
|
|
6049
|
+
readonly fields: "uid status timeMode timezone durationMinutes replyByDate chosenOptionUid answeredCount notAnsweredCount needsUpdateCount results{optionUid localDate startTime endTime status freeCount ifNeedBeCount unavailableCount unansweredCount bestSlot{startTime endTime}}";
|
|
6050
|
+
};
|
|
6051
|
+
readonly getPartnerPlanBudgets: {
|
|
6052
|
+
readonly kind: "query";
|
|
6053
|
+
readonly scope: "itm:workspace:read";
|
|
6054
|
+
readonly fields: "uid name planUid currencyCode currencyExponent revision scheduleIsStale updatedAt";
|
|
6055
|
+
};
|
|
6056
|
+
readonly getPartnerPlanBudget: {
|
|
6057
|
+
readonly kind: "query";
|
|
6058
|
+
readonly scope: "itm:workspace:read";
|
|
6059
|
+
readonly fields: "uid name planUid currencyCode currencyExponent revision scheduleIsStale document calculation updatedAt";
|
|
6060
|
+
};
|
|
6061
|
+
readonly getPartnerAudience: {
|
|
6062
|
+
readonly kind: "query";
|
|
6063
|
+
readonly scope: "itm:audience:read";
|
|
6064
|
+
readonly fields: "customers{uid name email phoneNumber city country isSubscribed emailConsentStatus smsConsentStatus communicationsOptedOut totalSpendUsdCents numMoments numProducts createdAt} totalCount hasNextPage nextCursor";
|
|
6065
|
+
};
|
|
6066
|
+
readonly getPartnerCustomersForMoment: {
|
|
6067
|
+
readonly kind: "query";
|
|
6068
|
+
readonly scope: "itm:audience:read";
|
|
6069
|
+
readonly fields: "customers{user{uid name primaryEmail phoneNumber} tickets{uid status price redeemedAt ticketTier{uid name}}} totalCount hasNextPage nextCursor";
|
|
6070
|
+
};
|
|
6071
|
+
readonly getPartnerMembers: {
|
|
6072
|
+
readonly kind: "query";
|
|
6073
|
+
readonly scope: "itm:audience:read";
|
|
6074
|
+
readonly fields: "members{uid status membershipNumber source purchaseType billingInterval quantity issuedAt currentPeriodEnd cancelAtPeriodEnd cancelledAt customer{uid name email phoneNumber} membershipTier{uid name slug passType}} totalCount hasNextPage nextCursor";
|
|
6075
|
+
};
|
|
6076
|
+
readonly getPartnerTicketsForMoment: {
|
|
6077
|
+
readonly kind: "query";
|
|
6078
|
+
readonly scope: "itm:audience:read";
|
|
6079
|
+
readonly fields: "tickets{uid status price redeemedAt hasExpired notes createdAt ticketTier{uid name} user{uid name primaryEmail phoneNumber} payment{status}} totalCount hasNextPage nextCursor";
|
|
6080
|
+
};
|
|
6081
|
+
readonly getPartnerTicketsForUser: {
|
|
6082
|
+
readonly kind: "query";
|
|
6083
|
+
readonly scope: "itm:audience:read";
|
|
6084
|
+
readonly fields: "tickets{uid status price redeemedAt hasExpired createdAt ticketTier{uid name} moment{uid name slug startDate}} totalCount hasNextPage nextCursor";
|
|
6085
|
+
};
|
|
6086
|
+
readonly getPartnerGuestListForMoment: {
|
|
6087
|
+
readonly kind: "query";
|
|
6088
|
+
readonly scope: "itm:audience:read";
|
|
6089
|
+
readonly fields: "guestLists{uid name email phoneNumber plusOnes numGuests numCheckedIn checkInStatus checkedInAt notes source respondedToInvitation labels{uid name} createdAt} totalCount hasNextPage nextCursor";
|
|
6090
|
+
};
|
|
6091
|
+
readonly getPartnerGuestListCheckIns: {
|
|
6092
|
+
readonly kind: "query";
|
|
6093
|
+
readonly scope: "itm:audience:read";
|
|
6094
|
+
readonly fields: "batches{uid checkedInAt count activeCount source voidedAt voidReason} totalCount hasNextPage nextCursor";
|
|
6095
|
+
};
|
|
6096
|
+
readonly getPartnerContributions: {
|
|
6097
|
+
readonly kind: "query";
|
|
6098
|
+
readonly scope: "itm:audience:read";
|
|
6099
|
+
readonly fields: "items{uid contributionPageUid pageTitle donorName donorEmail donorPhoneNumber source currencyCode amountCents refundedAmountCents status paidAt note isGuest createdAt} totalCount hasNextPage nextCursor";
|
|
6100
|
+
};
|
|
6101
|
+
readonly getPartnerInPersonOrdersForMoment: {
|
|
6102
|
+
readonly kind: "query";
|
|
6103
|
+
readonly scope: "itm:audience:read";
|
|
6104
|
+
readonly fields: "orders{uid status momentSlug currencyCode grossAmount subtotalAmount taxAmount refundedAmount paidAt createdAt user{uid name primaryEmail phoneNumber} items{uid type category name variantName quantity unitAmount lineAmount refundedQuantity}} totalCount hasNextPage nextCursor";
|
|
6105
|
+
};
|
|
6106
|
+
readonly getPartnerInPersonOrder: {
|
|
6107
|
+
readonly kind: "query";
|
|
6108
|
+
readonly scope: "itm:audience:read";
|
|
6109
|
+
readonly fields: "uid status momentSlug currencyCode grossAmount subtotalAmount taxAmount refundedAmount paidAt createdAt user{uid name primaryEmail phoneNumber} items{uid type category name variantName quantity unitAmount lineAmount refundedQuantity} cancellationReason charge{uid status amount category cardBrand cardLast4 billingEmail} refunds{uid amount status reason failureReason source createdAt}";
|
|
6110
|
+
};
|
|
6111
|
+
readonly getPartnerInPersonChargesForMoment: {
|
|
6112
|
+
readonly kind: "query";
|
|
6113
|
+
readonly scope: "itm:audience:read";
|
|
6114
|
+
readonly fields: "charges{uid orderUid status category currencyCode amount subtotalAmount taxAmount quantity description cardBrand cardLast4 billingEmail linkingStatus createdAt} totalCount hasNextPage nextCursor";
|
|
6115
|
+
};
|
|
6116
|
+
readonly getPartnerSpaceLocations: {
|
|
6117
|
+
readonly kind: "query";
|
|
6118
|
+
readonly scope: "itm:workspace:read";
|
|
6119
|
+
readonly fields: "locations{uid name city country timezone spaces{uid name kind capacity setupMinutes teardownMinutes parts{uid}}} totalCount hasNextPage nextCursor";
|
|
6120
|
+
};
|
|
6121
|
+
readonly getPartnerSpaceCalendar: {
|
|
6122
|
+
readonly kind: "query";
|
|
6123
|
+
readonly scope: "itm:workspace:read";
|
|
6124
|
+
readonly fields: "locationUid locationName timezone spaces{uid name kind capacity parts{uid}} holds{uid spaceUid localDate startsAt endsAt occupiedStartsAt occupiedEndsAt status position expiresAt respondBy isLapsed isChallengeOverdue request{uid title requesterKind organization headcount}} blocks{uid spaceUid startsAt endsAt reason} closures{spaceUid localDate startsAt endsAt note}";
|
|
6125
|
+
};
|
|
6126
|
+
readonly getPartnerSpaceAvailability: {
|
|
6127
|
+
readonly kind: "query";
|
|
6128
|
+
readonly scope: "itm:workspace:read";
|
|
6129
|
+
readonly fields: "timezone spaces{spaceUid name dates{localDate outcome lineSize closed conflicts{kind label startsAt endsAt}}}";
|
|
6130
|
+
};
|
|
6131
|
+
readonly getPartnerMediaAssets: {
|
|
6132
|
+
readonly kind: "query";
|
|
6133
|
+
readonly scope: "itm:media:write";
|
|
6134
|
+
readonly fields: "mediaAssets{uid url mimeType size dimensions{width height} createdAt} totalCount hasNextPage nextCursor";
|
|
6135
|
+
};
|
|
6136
|
+
readonly getPartnerMediaAsset: {
|
|
6137
|
+
readonly kind: "query";
|
|
6138
|
+
readonly scope: "itm:media:write";
|
|
6139
|
+
readonly fields: "uid url mimeType size dimensions{width height} createdAt";
|
|
6140
|
+
};
|
|
6141
|
+
readonly createPartnerMediaUpload: {
|
|
6142
|
+
readonly kind: "mutation";
|
|
6143
|
+
readonly scope: "itm:media:write";
|
|
6144
|
+
readonly fields: "uploadKey uploadUrl expiresAt";
|
|
6145
|
+
};
|
|
6146
|
+
readonly completePartnerMediaUpload: {
|
|
6147
|
+
readonly kind: "mutation";
|
|
6148
|
+
readonly scope: "itm:media:write";
|
|
6149
|
+
readonly fields: "uid url mimeType size dimensions{width height} createdAt";
|
|
6150
|
+
};
|
|
6151
|
+
};
|
|
6152
|
+
|
|
6153
|
+
type PartnerIntegrationOperationKind = 'query' | 'mutation';
|
|
6154
|
+
type PartnerIntegrationOperation = keyof typeof rawPartnerIntegrationContract;
|
|
6155
|
+
type PartnerIntegrationScope = (typeof rawPartnerIntegrationContract)[PartnerIntegrationOperation]['scope'];
|
|
6156
|
+
interface PartnerIntegrationContractEntry {
|
|
6157
|
+
readonly kind: PartnerIntegrationOperationKind;
|
|
6158
|
+
readonly scope: PartnerIntegrationScope;
|
|
6159
|
+
readonly fields: string;
|
|
6160
|
+
}
|
|
6161
|
+
interface PartnerIntegrationSelection {
|
|
6162
|
+
[field: string]: true | PartnerIntegrationSelection;
|
|
6163
|
+
}
|
|
6164
|
+
/**
|
|
6165
|
+
* Byte-identical copy of the backend's AI-connection integration contract
|
|
6166
|
+
* (`src/auth/partner-integration.contract.json`). Each entry names the
|
|
6167
|
+
* GraphQL operation kind, required OAuth scope, and exact allowlisted field
|
|
6168
|
+
* selection.
|
|
6169
|
+
*/
|
|
6170
|
+
declare const partnerIntegrationContract: Readonly<Record<PartnerIntegrationOperation, PartnerIntegrationContractEntry>>;
|
|
6171
|
+
/**
|
|
6172
|
+
* Convert an allowlisted contract root's field specification into a fresh
|
|
6173
|
+
* genql selection object ready to pass to `client.query` / `client.mutation`
|
|
6174
|
+
* (or spread alongside `__args`).
|
|
6175
|
+
*/
|
|
6176
|
+
declare function integrationSelection(root: PartnerIntegrationOperation): PartnerIntegrationSelection;
|
|
6177
|
+
|
|
6178
|
+
export { type AgentThreadSeedContext, type ApplyDynamicPricingInput, type BrandAgentEmailMessageInput, type BrandAgentEmailSendBatch, type BrandAgentEmailSendBatchStatus, type BrandAgentEmailSendMessage, type BrandAgentEmailSendMessageStatus, type BrandApp, type BrandAppStatus, type BrandDrop, type BrandDropCtaType, type BrandDropMusicLink, type BrandSubscription, type BrandWallet, type BrandWalletActivity, type BrandWalletActivityResponse, type BrandWalletBalance, type BrandWalletCapabilities, type BrandWalletCounterparty, type BrandWalletCounterpartyInput, type BrandWalletCounterpartyType, type BrandWalletOperation, type BrandWalletOperationsResponse, type BrandWalletProvider, type BrandWalletsResponse, type ChargeCategory, type ChargeStatus, type CheckoutMarketingConsentInput, type CheckoutMarketingConsentPrompt, type CheckoutPlatform, type CompletePartnerMediaUploadInput, type ConsentChannel, type ConsentPromptCategory, type ConsentStatus, type ContributionAdmin, type ContributionPageAdmin, type ContributionPageStatusFilter, type ContributionPagesResponse, type ContributionSource, type ContributionStatus, type ContributionsResponse, type CreateBrandAppInput, type CreateBrandWalletPaymentRequestInput, type CreateManualContributionInput, type CreateMomentOnlineConfigInput, type CreatePartnerBrandDropInput, type CreatePartnerBrandSubscriptionInput, type CreatePartnerBrandSubscriptionResponse, type CreatePartnerMediaUploadInput, type CreatePartnerMerchPurchaseInput, type CreatePartnerMomentInput, type CreatePartnerTicketTierInput, type CreatePlanBudgetInput, type CreatePlanInput, type Currency, DEFAULT_API_URL, type Dimensions, type DimensionsInput, type DynamicPricingActorType, type DynamicPricingAdmissionWindow, type DynamicPricingBatch, type DynamicPricingBatchEvent, type DynamicPricingBatchEventType, type DynamicPricingBatchItem, type DynamicPricingBatchItemStatus, type DynamicPricingBatchStatus, type DynamicPricingContext, type DynamicPricingExecutionMode, type DynamicPricingInventoryGuardInput, type DynamicPricingInventoryGuardMode, type DynamicPricingInventoryMetric, type DynamicPricingMomentInput, type DynamicPricingTierContext, type DynamicPricingTierUpdateInput, type Echo, type EchoMediaAsset, type EchoType, type EditPartnerTicketTiersForMomentInput, type EventImportPlatform, type Form, type FormFaq, type FormField, type FormFieldOptionImage, type FormFieldSection, type FormFieldType, type FormResponseMode, type FormSource, type FulfillmentPlatform, GenqlError, type GetBrandEchoesForUserResponse, type GetFormsPaginatedResponse, type GetInPersonOrdersResponse, type GetMerchPaginatedInput, type GetMerchPaginatedResponse, type GetMomentGalleryPhotosResponse, type GetMomentGuestListFiltersInput, type GetMomentLineupsResponse, type GetMomentTagAssignmentsResponse, type GetPartnerAudienceInput, type GetPartnerAudienceResponse, type GetPartnerCustomersResponse, type GetPartnerDropsResponse, type GetPartnerFormResponsesInput, type GetPartnerFormResponsesResponse, type GetPartnerFormsInput, type GetPartnerGuestListCheckInsResponse, type GetPartnerInPersonChargesResponse, type GetPartnerMediaAssetsInput, type GetPartnerMediaAssetsResponse, type GetPartnerMembersInput, type GetPartnerMembersResponse, type GetPartnerMembershipTiersInput, type GetPartnerMembershipTiersResponse, type GetPartnerMomentGuestListResponse, type GetPartnerTicketTiersForMomentInput, type GetPartnerTicketTiersForMomentResponse, type GetPlansInput, type GetPlansResponse, type GetPublicMomentsResponse, type GetTicketsResponse, type ITMPartnerAgentAccessConfig, type ITMPartnerAgentAccessCredentials, type ITMPartnerAgentSessionConfig, type ITMPartnerAgentSessionCredentials, type ITMPartnerClient, type ITMPartnerClientConfig, type ITMPartnerHeaders, type ITMPartnerHeadersObject, type ITMPartnerIntegrationConfig, type ITMPartnerIntegrationCredentials, type ITMPartnerMediaSource, ITMPartnerMediaUploadError, type ITMPartnerMediaUploadOptions, type ITMPartnerTokenConfig, ITMPartnerTransportError, type ITMPartnerUploadedMedia, type InPersonCharge, type InPersonOrder, type InPersonOrderItem, type InPersonOrderItemType, type InPersonOrderMerchPurchase, type InPersonOrderRefund, type InPersonOrderRefundAllocation, type InPersonOrderRefundAllocationStatus, type InPersonOrderRefundSource, type InPersonOrderRefundStatus, type InPersonOrderStatus, type InPersonOrderTicket, type InPersonOrderUser, type LinkingMethod, type LoginCodeChannel, type ManualContributionReceiptType, type MediaAsset, type MediaAssetUploadUrl, type MembershipBillingInterval, type MembershipExpiryType, type MembershipPassType, type MembershipPurchaseType, type MembershipSource, type MembershipStatus, type Merch, type MerchFiltersInput, type MerchFulfillmentType, type MerchPurchase, type MerchPurchaseFulfillmentChoice, type MerchPurchasePaymentMethod, type MerchPurchaseSource, type MerchPurchaseState, type MerchSize, type Moment, type MomentCategory, type MomentCollection, type MomentCollectionLink, type MomentDiscountCodeUsage, type MomentDynamicPricingPolicy, type MomentDynamicPricingTierRule, type MomentGuestListCheckInSource, type MomentGuestListCheckInStatus, type MomentGuestListGuestInfo, type MomentGuestListLabel, type MomentGuestListSortField, type MomentGuestListSortInput, type MomentGuestListSource, type MomentGuestListTotals, type MomentLineup, type MomentLineupDisplayLabel, type MomentLineupResponseResult, type MomentLineupStatus, type MomentLineupType, type MomentMedia, type MomentOccurrenceScheduleFrequency, type MomentOnlineProvider, type MomentPublicVenuePreview, type MomentSortOrder, type MomentStatus, type MomentSubcategory, type MomentTagAssignment, type MomentType, type MusicReleaseType, type Mutation, type PaginationInput, type PartnerAppLogin, type PartnerAppLoginChallenge, type PartnerAppLoginProfile, type PartnerAudienceCustomer, type PartnerAudienceFiltersInput, type PartnerAudienceSortField, type PartnerAudienceSortInput, type PartnerBrand, type PartnerCustomer, type PartnerFormFieldResponse, type PartnerFormResponse, type PartnerGuestListCheckIn, type PartnerGuestListInvitationResponse, type PartnerInPersonCharge, type PartnerIntegrationContractEntry, type PartnerIntegrationOperation, type PartnerIntegrationOperationKind, type PartnerIntegrationScope, type PartnerIntegrationSelection, type PartnerMediaUpload, type PartnerMember, type PartnerMemberCustomer, type PartnerMemberTier, type PartnerMembershipTier, type PartnerMerchCustomerInput, type PartnerMerchPurchase, type PartnerMerchShippingAddressInput, type PartnerMomentAttendanceCount, type PartnerMomentAttendanceLookupInput, type PartnerMomentAttendanceStats, type PartnerMomentGuestList, type PartnerMomentGuestlistAttendance, type PartnerMomentGuestlistLabelAttendance, type PartnerMomentStats, type PartnerMomentTicketAttendance, type PartnerMomentTicketTierAttendance, type PartnerMomentsFiltersInput, type PartnerPlanDatePoll, type PartnerPlanDatePollOptionResult, type PartnerSpace, type PartnerSpaceBlock, type PartnerSpaceCalendar, type PartnerSpaceHold, type PartnerSpaceLocation, type PartnerSpaceLocationsPage, type PartnerSpaceRequest, type PartnerTicketStatus, type PartnerTicketTier, type PartnerTicketTierUpdateInput, type PartnerTicketUserLookupInput, type PartnerTicketsForUserInput, type Payment, type PaymentStatus, type Plan, type PlanBudget, type PlanBudgetAllocationType, type PlanBudgetArtistDealBasis, type PlanBudgetArtistDealInput, type PlanBudgetArtistDealType, type PlanBudgetCapacityAllocationInput, type PlanBudgetCategoryInput, type PlanBudgetCategoryKind, type PlanBudgetChargeCalculation, type PlanBudgetChargeKind, type PlanBudgetChargeTreatment, type PlanBudgetExternalTicketingChannelInput, type PlanBudgetFeeAssessment, type PlanBudgetFeeComponentKind, type PlanBudgetFeePercentageBasis, type PlanBudgetGuaranteeBasis, type PlanBudgetLineBasis, type PlanBudgetLineInput, type PlanBudgetPaymentStatus, type PlanBudgetPricingMode, type PlanBudgetSummary, type PlanBudgetTicketChargeRuleInput, type PlanBudgetTicketTierInput, type PlanBudgetTicketingChannelType, type PlanBudgetTicketingFeeComponentInput, type PlanDatePollOptionStatus, type PlanDatePollSlot, type PlanDatePollStatus, type PlanDatePollTimeMode, type PlanKind, type PlanLinkMetadataStatus, type PlanMoodboard, type PlanMoodboardItem, type PlanMoodboardItemType, type PlanSchedule, type PlanScheduleInput, type PlanScheduleTime, type PlanScheduleTimeInput, type PlanScheduleType, type PlanStatus, type PlanSummary, type PlanningProposal, type PlanningSource, type PlanningSourceDispositionInput, type PlanningSourceSection, type PostSubscriptionEmailInput, type PostSubscriptionMessageInput, type PostSubscriptionPushInput, type PostSubscriptionSmsInput, type PrepareBrandWalletPaymentInput, type PreparePlanningProposalInput, type PublicMomentLineupInfo, type Query, type ReplacePlanBudgetDraftInput, type RespondToMomentLineupInput, type SendPartnerAgentEmailInput, type SortDirection, type SpaceAvailability, type SpaceAvailabilityDate, type SpaceAvailabilityInput, type SpaceAvailabilitySpace, type SpaceCalendarClosure, type SpaceCalendarConflict, type SpaceCalendarConflictKind, type SpaceCalendarInput, type SpaceHoldPreviewOutcome, type SpaceHoldStatus, type SpaceKind, type SpaceRequestKind, type StartPartnerAppLoginInput, type SubscriptionComplianceInput, type Tag, type TagSource, type ThirdPartyEchoType, type Ticket, type TicketAdmissionWindowSource, type TicketAttendanceMode, type TicketExtension, type TicketExtensionStatus, type TicketState, type TicketTier, type Transforms, type UpdatePlanInput, type User, type UserLinkingStatus, type UserSource, type Venue, type VenueInput, type VerifyPartnerAppLoginInput, type VerifyPartnerBrandSubscriptionInput, type WalletOperationKind, type WalletOperationStatus, createITMPartnerClient, detectPartnerMediaTypes, everything, generateMutationOp, generateQueryOp, integrationSelection, partnerIntegrationContract, uploadPartnerMedia };
|