@vertikalx/vtx-backend-client 3.1.18-dev.2 → 3.1.18-dev.3
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/package.json +1 -1
- package/dist/src/client/schema.d.ts +4095 -3909
- package/dist/src/client/schema.js +1067 -948
- package/dist/src/client/schema.js.map +1 -1
- package/dist/src/client/types.d.ts +2377 -2317
- package/dist/src/client/types.js +6866 -6734
- package/dist/src/client/types.js.map +1 -1
- package/dist/src/generated/graphql.d.ts +53 -2
- package/dist/src/generated/graphql.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,152 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
3
|
+
exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isSignedAgreement = exports.isAgreement = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = exports.isCreateDefaultNotificationPreferenceResult = exports.isAdminUserDetail = exports.isAdminAthleteExtras = exports.isAdminAthleteCounts = exports.isAdminLatestCompetition = exports.isAdminHistoricalScoreEntry = exports.isAdminCampaignsSummary = exports.isAdminCampaignRecent = exports.isAdminCampaignCurrent = exports.isAdminWallet = exports.isAdminIntegrations = exports.isAdminInstagramIntegration = exports.isAdminStravaIntegration = exports.isAdminNotificationStatus = exports.isAdminDeviceToken = exports.isAdminTransactionView = exports.isAdminTransactionFundingDetails = exports.isAddValuesResponse = exports.isErrorType = exports.isSortOrder = void 0;
|
|
4
|
+
exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isTeamClubReference = exports.isAthleteTeam = exports.isAthleteTeamMember = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isSponsorBrand = exports.isSponsor = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = exports.isSponsorshipCommitment = exports.isSponsorshipItem = exports.isQualificationTypeUnion = exports.isAthleteCriteria = exports.isSportsLevelQualification = exports.isSportsQualification = exports.isDistanceQualification = exports.isNationalityQualification = exports.isLocationQualification = exports.isScoreQualification = exports.isGenderQualification = exports.isAgeQualification = exports.isQualification = exports.isCountry = exports.isState = exports.isCity = exports.isSponsorStats = exports.isIndustry = exports.isCodeVerificationResponse = exports.isTextDatabaseFile = exports.isDatabaseFile = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isErrorInfo = exports.isVerificationCode = exports.isMagicLink = exports.isAWSS3File = void 0;
|
|
5
|
+
exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = exports.isRankContext = exports.isRankHistoryEntry = exports.isScoreHistoryEntry = exports.isDashboardSummary = exports.isComponentSummary = exports.isTopMetric = exports.isActivityDetail = exports.isScoreInfo = exports.isMetricComparison = exports.isActivityDatesResponse = exports.isActivityDateEntry = exports.isActivitiesResponse = exports.isActivityEntry = exports.isAthleteClub = exports.isAthleteClubMember = exports.isClub = exports.isAiCoachThread = exports.isAiCoachUnreadNudgeCountResponse = exports.isAiCoachNudgeListResponse = exports.isAiCoachNudge = exports.isAiCoachMessage = exports.isAiCoachConfig = exports.isAdminUser = exports.isAdminUserView = exports.isMember = exports.isDonation = exports.isAthlete = exports.isAthleteReference = exports.isHistoricalScore = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isFundRaisingCampaign = exports.isVideo = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = void 0;
|
|
6
|
+
exports.isHistoricalScoresPeriod = exports.isFundingCheckoutSessionData = exports.isPaginatedDonations = exports.isEnhancedPaginationInfoType = exports.isDonationDates = exports.isForceScoreRefreshResponse = exports.isForceScoreRefreshResult = exports.isRefreshDiagnostics = exports.isScoreRefreshDetail = exports.isIsFollowingResponse = exports.isFollowedAthletesListResponse = exports.isFollowedAthleteInfo = exports.isExistValueResponse = exports.isEmailCampaignPage = exports.isEmailCampaign = exports.isEmailSegment = exports.isEmailCampaignDelivery = exports.isEligibilityResult = exports.isEditValueResponse = exports.isEditPictureResponse = exports.isDonationThankYou = exports.isDeviceTokenType = exports.isDeleteVtxUserResponse = exports.isDeleteValuesResponse = exports.isDeleteSingleValueResponse = exports.isDeleteOnboardingAthleteResponse = exports.isDeleteMemberResponse = exports.isDeleteAthleteResponse = exports.isDataExportRequest = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isClientCompatibilityType = exports.isCheckoutSession = exports.isBudgetData = exports.isCampaignBudgetData = exports.isCompetitionBudgetData = exports.isBaseBudgetData = exports.isCompetitionBudgetReference = exports.isBudgetReference = exports.isBudgetItemReference = exports.isBudgetItemUnit = exports.isBudgetConcept = exports.isBrowseCampaignsResult = exports.isAudiencePreview = exports.isAudiencePreviewUser = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = void 0;
|
|
7
|
+
exports.isStripeTransfer = exports.isStripeSession = exports.isStripeCheckoutSession = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isStripeAccountStatus = exports.isStripeObject = exports.isSponsorAthleteInvitation = exports.isPostComparisonResultType = exports.isAveragesType = exports.isPostMetricType = exports.isSocialAggregateType = exports.isSendGridTemplate = exports.isSeedAdminResult = exports.isCheckScoreRefreshCapabilityResponse = exports.isScoreRefreshCapability = exports.isRemoveAdminUserResponse = exports.isReceipt = exports.isReceiptUrl = exports.isPushCampaignType = exports.isPublicIntegrationStatus = exports.isPendingSuggestionGroup = exports.isPaginatedUsers = exports.isPaginatedTransactions = exports.isPaginatedSports = exports.isPaginatedSponsors = exports.isPaginatedOffers = exports.isPaginatedEvents = exports.isPaginatedBrands = exports.isSportQueryResults = exports.isOffsetPaginationResponse = exports.isOnboardingProgressResponse = exports.isPaginatedOffersWithEligibility = exports.isOfferWithEligibility = exports.isOfferClaim = exports.isCoupon = exports.isCouponCode = exports.isPromotion = exports.isOffer = exports.isOfferAvailability = exports.isUnreadCountResponse = exports.isNotificationListResponse = exports.isNotification = exports.isNotificationPreference = exports.isMergeEventsResponse = exports.isUserRank = exports.isLeaderboardResponse = exports.isLeaderboardPagination = exports.isLeaderboardFilters = exports.isLeaderboardEntry = void 0;
|
|
8
|
+
exports.enumCompetitionResultType = exports.enumCommitmentTypeEnum = exports.enumNumberOfAthletesSponsored = exports.enumCompanySize = exports.enumCommitmentActionType = exports.enumCommitmentMedia = exports.enumRequestItemType = exports.enumAthleteSponsorshipStatus = exports.enumAthleteRequestStatus = exports.enumMatchMode = exports.enumTimeUnit = exports.enumCompetitionGender = exports.enumOfferClaimStatus = exports.enumDonationMode = exports.enumEligibilityReason = exports.enumAdminRole = exports.enumTimeRange = exports.enumPostSortOption = exports.enumStripeTransferStatus = exports.enumPeriodType = exports.enumContentType = exports.enumPlatform = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.enumActivityCategory = exports.enumDiscrepancyStatus = exports.enumCompetitionVerificationTier = exports.isMutation = exports.isQuery = exports.isStravaTpiSwimDto = exports.isStravaTpiRunDto = exports.isStravaTpiRideDto = exports.isValidatedToken = exports.isUserImages = exports.isUserDomain = exports.isVersionMixRow = exports.isActiveNowSnapshot = exports.isUsageRetentionRow = exports.isUsageFunnelRow = exports.isUsageRollupRow = exports.isTrackResult = exports.isUploadResult = exports.isTransactionDetails = exports.isTeamDashboard = exports.isTeamRosterOverview = exports.isTeamAnalytics = exports.isTeamLeaderboardEntry = exports.isTeamVtxScoreHistoryEntry = void 0;
|
|
9
|
+
exports.enumPlanPeriod = exports.enumTaxCalculation = exports.enumBrandOperatorType = exports.enumCompetitionDeleteVerificationCase = exports.enumVisibilityScope = exports.enumEventLevel = exports.enumChannelTypeEnum = exports.enumTransactionType = exports.enumVideoSource = exports.enumSponsorAthleteInvitationStatus = exports.enumOfferType = exports.enumOfferStatus = exports.enumDiscountType = exports.enumCompetitionOutcome = exports.enumPeriodicity = exports.enumQualificationTypeEnum = exports.enumQualificationOperator = exports.enumScoreType = exports.enumStripeQueryOperation = exports.enumTaskStatus = exports.enumAgeDetermination = void 0;
|
|
10
|
+
const SortOrder_possibleTypes = ['SortOrder'];
|
|
11
|
+
const isSortOrder = (obj) => {
|
|
12
|
+
if (!obj?.__typename)
|
|
13
|
+
throw new Error('__typename is missing in "isSortOrder"');
|
|
14
|
+
return SortOrder_possibleTypes.includes(obj.__typename);
|
|
15
|
+
};
|
|
16
|
+
exports.isSortOrder = isSortOrder;
|
|
17
|
+
const ErrorType_possibleTypes = ['ErrorType'];
|
|
18
|
+
const isErrorType = (obj) => {
|
|
19
|
+
if (!obj?.__typename)
|
|
20
|
+
throw new Error('__typename is missing in "isErrorType"');
|
|
21
|
+
return ErrorType_possibleTypes.includes(obj.__typename);
|
|
22
|
+
};
|
|
23
|
+
exports.isErrorType = isErrorType;
|
|
24
|
+
const AddValuesResponse_possibleTypes = ['AddValuesResponse'];
|
|
25
|
+
const isAddValuesResponse = (obj) => {
|
|
26
|
+
if (!obj?.__typename)
|
|
27
|
+
throw new Error('__typename is missing in "isAddValuesResponse"');
|
|
28
|
+
return AddValuesResponse_possibleTypes.includes(obj.__typename);
|
|
29
|
+
};
|
|
30
|
+
exports.isAddValuesResponse = isAddValuesResponse;
|
|
31
|
+
const AdminTransactionFundingDetails_possibleTypes = ['AdminTransactionFundingDetails'];
|
|
32
|
+
const isAdminTransactionFundingDetails = (obj) => {
|
|
33
|
+
if (!obj?.__typename)
|
|
34
|
+
throw new Error('__typename is missing in "isAdminTransactionFundingDetails"');
|
|
35
|
+
return AdminTransactionFundingDetails_possibleTypes.includes(obj.__typename);
|
|
36
|
+
};
|
|
37
|
+
exports.isAdminTransactionFundingDetails = isAdminTransactionFundingDetails;
|
|
38
|
+
const AdminTransactionView_possibleTypes = ['AdminTransactionView'];
|
|
39
|
+
const isAdminTransactionView = (obj) => {
|
|
40
|
+
if (!obj?.__typename)
|
|
41
|
+
throw new Error('__typename is missing in "isAdminTransactionView"');
|
|
42
|
+
return AdminTransactionView_possibleTypes.includes(obj.__typename);
|
|
43
|
+
};
|
|
44
|
+
exports.isAdminTransactionView = isAdminTransactionView;
|
|
45
|
+
const AdminDeviceToken_possibleTypes = ['AdminDeviceToken'];
|
|
46
|
+
const isAdminDeviceToken = (obj) => {
|
|
47
|
+
if (!obj?.__typename)
|
|
48
|
+
throw new Error('__typename is missing in "isAdminDeviceToken"');
|
|
49
|
+
return AdminDeviceToken_possibleTypes.includes(obj.__typename);
|
|
50
|
+
};
|
|
51
|
+
exports.isAdminDeviceToken = isAdminDeviceToken;
|
|
52
|
+
const AdminNotificationStatus_possibleTypes = ['AdminNotificationStatus'];
|
|
53
|
+
const isAdminNotificationStatus = (obj) => {
|
|
54
|
+
if (!obj?.__typename)
|
|
55
|
+
throw new Error('__typename is missing in "isAdminNotificationStatus"');
|
|
56
|
+
return AdminNotificationStatus_possibleTypes.includes(obj.__typename);
|
|
57
|
+
};
|
|
58
|
+
exports.isAdminNotificationStatus = isAdminNotificationStatus;
|
|
59
|
+
const AdminStravaIntegration_possibleTypes = ['AdminStravaIntegration'];
|
|
60
|
+
const isAdminStravaIntegration = (obj) => {
|
|
61
|
+
if (!obj?.__typename)
|
|
62
|
+
throw new Error('__typename is missing in "isAdminStravaIntegration"');
|
|
63
|
+
return AdminStravaIntegration_possibleTypes.includes(obj.__typename);
|
|
64
|
+
};
|
|
65
|
+
exports.isAdminStravaIntegration = isAdminStravaIntegration;
|
|
66
|
+
const AdminInstagramIntegration_possibleTypes = ['AdminInstagramIntegration'];
|
|
67
|
+
const isAdminInstagramIntegration = (obj) => {
|
|
68
|
+
if (!obj?.__typename)
|
|
69
|
+
throw new Error('__typename is missing in "isAdminInstagramIntegration"');
|
|
70
|
+
return AdminInstagramIntegration_possibleTypes.includes(obj.__typename);
|
|
71
|
+
};
|
|
72
|
+
exports.isAdminInstagramIntegration = isAdminInstagramIntegration;
|
|
73
|
+
const AdminIntegrations_possibleTypes = ['AdminIntegrations'];
|
|
74
|
+
const isAdminIntegrations = (obj) => {
|
|
75
|
+
if (!obj?.__typename)
|
|
76
|
+
throw new Error('__typename is missing in "isAdminIntegrations"');
|
|
77
|
+
return AdminIntegrations_possibleTypes.includes(obj.__typename);
|
|
78
|
+
};
|
|
79
|
+
exports.isAdminIntegrations = isAdminIntegrations;
|
|
80
|
+
const AdminWallet_possibleTypes = ['AdminWallet'];
|
|
81
|
+
const isAdminWallet = (obj) => {
|
|
82
|
+
if (!obj?.__typename)
|
|
83
|
+
throw new Error('__typename is missing in "isAdminWallet"');
|
|
84
|
+
return AdminWallet_possibleTypes.includes(obj.__typename);
|
|
85
|
+
};
|
|
86
|
+
exports.isAdminWallet = isAdminWallet;
|
|
87
|
+
const AdminCampaignCurrent_possibleTypes = ['AdminCampaignCurrent'];
|
|
88
|
+
const isAdminCampaignCurrent = (obj) => {
|
|
89
|
+
if (!obj?.__typename)
|
|
90
|
+
throw new Error('__typename is missing in "isAdminCampaignCurrent"');
|
|
91
|
+
return AdminCampaignCurrent_possibleTypes.includes(obj.__typename);
|
|
92
|
+
};
|
|
93
|
+
exports.isAdminCampaignCurrent = isAdminCampaignCurrent;
|
|
94
|
+
const AdminCampaignRecent_possibleTypes = ['AdminCampaignRecent'];
|
|
95
|
+
const isAdminCampaignRecent = (obj) => {
|
|
96
|
+
if (!obj?.__typename)
|
|
97
|
+
throw new Error('__typename is missing in "isAdminCampaignRecent"');
|
|
98
|
+
return AdminCampaignRecent_possibleTypes.includes(obj.__typename);
|
|
99
|
+
};
|
|
100
|
+
exports.isAdminCampaignRecent = isAdminCampaignRecent;
|
|
101
|
+
const AdminCampaignsSummary_possibleTypes = ['AdminCampaignsSummary'];
|
|
102
|
+
const isAdminCampaignsSummary = (obj) => {
|
|
103
|
+
if (!obj?.__typename)
|
|
104
|
+
throw new Error('__typename is missing in "isAdminCampaignsSummary"');
|
|
105
|
+
return AdminCampaignsSummary_possibleTypes.includes(obj.__typename);
|
|
106
|
+
};
|
|
107
|
+
exports.isAdminCampaignsSummary = isAdminCampaignsSummary;
|
|
108
|
+
const AdminHistoricalScoreEntry_possibleTypes = ['AdminHistoricalScoreEntry'];
|
|
109
|
+
const isAdminHistoricalScoreEntry = (obj) => {
|
|
110
|
+
if (!obj?.__typename)
|
|
111
|
+
throw new Error('__typename is missing in "isAdminHistoricalScoreEntry"');
|
|
112
|
+
return AdminHistoricalScoreEntry_possibleTypes.includes(obj.__typename);
|
|
113
|
+
};
|
|
114
|
+
exports.isAdminHistoricalScoreEntry = isAdminHistoricalScoreEntry;
|
|
115
|
+
const AdminLatestCompetition_possibleTypes = ['AdminLatestCompetition'];
|
|
116
|
+
const isAdminLatestCompetition = (obj) => {
|
|
117
|
+
if (!obj?.__typename)
|
|
118
|
+
throw new Error('__typename is missing in "isAdminLatestCompetition"');
|
|
119
|
+
return AdminLatestCompetition_possibleTypes.includes(obj.__typename);
|
|
120
|
+
};
|
|
121
|
+
exports.isAdminLatestCompetition = isAdminLatestCompetition;
|
|
122
|
+
const AdminAthleteCounts_possibleTypes = ['AdminAthleteCounts'];
|
|
123
|
+
const isAdminAthleteCounts = (obj) => {
|
|
124
|
+
if (!obj?.__typename)
|
|
125
|
+
throw new Error('__typename is missing in "isAdminAthleteCounts"');
|
|
126
|
+
return AdminAthleteCounts_possibleTypes.includes(obj.__typename);
|
|
127
|
+
};
|
|
128
|
+
exports.isAdminAthleteCounts = isAdminAthleteCounts;
|
|
129
|
+
const AdminAthleteExtras_possibleTypes = ['AdminAthleteExtras'];
|
|
130
|
+
const isAdminAthleteExtras = (obj) => {
|
|
131
|
+
if (!obj?.__typename)
|
|
132
|
+
throw new Error('__typename is missing in "isAdminAthleteExtras"');
|
|
133
|
+
return AdminAthleteExtras_possibleTypes.includes(obj.__typename);
|
|
134
|
+
};
|
|
135
|
+
exports.isAdminAthleteExtras = isAdminAthleteExtras;
|
|
136
|
+
const AdminUserDetail_possibleTypes = ['AdminUserDetail'];
|
|
137
|
+
const isAdminUserDetail = (obj) => {
|
|
138
|
+
if (!obj?.__typename)
|
|
139
|
+
throw new Error('__typename is missing in "isAdminUserDetail"');
|
|
140
|
+
return AdminUserDetail_possibleTypes.includes(obj.__typename);
|
|
141
|
+
};
|
|
142
|
+
exports.isAdminUserDetail = isAdminUserDetail;
|
|
143
|
+
const CreateDefaultNotificationPreferenceResult_possibleTypes = ['CreateDefaultNotificationPreferenceResult'];
|
|
144
|
+
const isCreateDefaultNotificationPreferenceResult = (obj) => {
|
|
145
|
+
if (!obj?.__typename)
|
|
146
|
+
throw new Error('__typename is missing in "isCreateDefaultNotificationPreferenceResult"');
|
|
147
|
+
return CreateDefaultNotificationPreferenceResult_possibleTypes.includes(obj.__typename);
|
|
148
|
+
};
|
|
149
|
+
exports.isCreateDefaultNotificationPreferenceResult = isCreateDefaultNotificationPreferenceResult;
|
|
10
150
|
const User_possibleTypes = ['User'];
|
|
11
151
|
const isUser = (obj) => {
|
|
12
152
|
if (!obj?.__typename)
|
|
@@ -84,6 +224,55 @@ const isUriAvailableType = (obj) => {
|
|
|
84
224
|
return UriAvailableType_possibleTypes.includes(obj.__typename);
|
|
85
225
|
};
|
|
86
226
|
exports.isUriAvailableType = isUriAvailableType;
|
|
227
|
+
const FollowStats_possibleTypes = ['FollowStats'];
|
|
228
|
+
const isFollowStats = (obj) => {
|
|
229
|
+
if (!obj?.__typename)
|
|
230
|
+
throw new Error('__typename is missing in "isFollowStats"');
|
|
231
|
+
return FollowStats_possibleTypes.includes(obj.__typename);
|
|
232
|
+
};
|
|
233
|
+
exports.isFollowStats = isFollowStats;
|
|
234
|
+
const Sport_possibleTypes = ['Sport'];
|
|
235
|
+
const isSport = (obj) => {
|
|
236
|
+
if (!obj?.__typename)
|
|
237
|
+
throw new Error('__typename is missing in "isSport"');
|
|
238
|
+
return Sport_possibleTypes.includes(obj.__typename);
|
|
239
|
+
};
|
|
240
|
+
exports.isSport = isSport;
|
|
241
|
+
const VtxScores_possibleTypes = ['VtxScores'];
|
|
242
|
+
const isVtxScores = (obj) => {
|
|
243
|
+
if (!obj?.__typename)
|
|
244
|
+
throw new Error('__typename is missing in "isVtxScores"');
|
|
245
|
+
return VtxScores_possibleTypes.includes(obj.__typename);
|
|
246
|
+
};
|
|
247
|
+
exports.isVtxScores = isVtxScores;
|
|
248
|
+
const SportLevelTranslation_possibleTypes = ['SportLevelTranslation'];
|
|
249
|
+
const isSportLevelTranslation = (obj) => {
|
|
250
|
+
if (!obj?.__typename)
|
|
251
|
+
throw new Error('__typename is missing in "isSportLevelTranslation"');
|
|
252
|
+
return SportLevelTranslation_possibleTypes.includes(obj.__typename);
|
|
253
|
+
};
|
|
254
|
+
exports.isSportLevelTranslation = isSportLevelTranslation;
|
|
255
|
+
const SportLevel_possibleTypes = ['SportLevel'];
|
|
256
|
+
const isSportLevel = (obj) => {
|
|
257
|
+
if (!obj?.__typename)
|
|
258
|
+
throw new Error('__typename is missing in "isSportLevel"');
|
|
259
|
+
return SportLevel_possibleTypes.includes(obj.__typename);
|
|
260
|
+
};
|
|
261
|
+
exports.isSportLevel = isSportLevel;
|
|
262
|
+
const Ranking_possibleTypes = ['Ranking'];
|
|
263
|
+
const isRanking = (obj) => {
|
|
264
|
+
if (!obj?.__typename)
|
|
265
|
+
throw new Error('__typename is missing in "isRanking"');
|
|
266
|
+
return Ranking_possibleTypes.includes(obj.__typename);
|
|
267
|
+
};
|
|
268
|
+
exports.isRanking = isRanking;
|
|
269
|
+
const AthleteRankings_possibleTypes = ['AthleteRankings'];
|
|
270
|
+
const isAthleteRankings = (obj) => {
|
|
271
|
+
if (!obj?.__typename)
|
|
272
|
+
throw new Error('__typename is missing in "isAthleteRankings"');
|
|
273
|
+
return AthleteRankings_possibleTypes.includes(obj.__typename);
|
|
274
|
+
};
|
|
275
|
+
exports.isAthleteRankings = isAthleteRankings;
|
|
87
276
|
const Agreement_possibleTypes = ['Agreement'];
|
|
88
277
|
const isAgreement = (obj) => {
|
|
89
278
|
if (!obj?.__typename)
|
|
@@ -273,6 +462,13 @@ const isCountry = (obj) => {
|
|
|
273
462
|
return Country_possibleTypes.includes(obj.__typename);
|
|
274
463
|
};
|
|
275
464
|
exports.isCountry = isCountry;
|
|
465
|
+
const Qualification_possibleTypes = ['Qualification'];
|
|
466
|
+
const isQualification = (obj) => {
|
|
467
|
+
if (!obj?.__typename)
|
|
468
|
+
throw new Error('__typename is missing in "isQualification"');
|
|
469
|
+
return Qualification_possibleTypes.includes(obj.__typename);
|
|
470
|
+
};
|
|
471
|
+
exports.isQualification = isQualification;
|
|
276
472
|
const AgeQualification_possibleTypes = ['AgeQualification'];
|
|
277
473
|
const isAgeQualification = (obj) => {
|
|
278
474
|
if (!obj?.__typename)
|
|
@@ -420,120 +616,50 @@ const isBrand = (obj) => {
|
|
|
420
616
|
return Brand_possibleTypes.includes(obj.__typename);
|
|
421
617
|
};
|
|
422
618
|
exports.isBrand = isBrand;
|
|
423
|
-
const
|
|
424
|
-
const
|
|
619
|
+
const AthleteTeamMember_possibleTypes = ['AthleteTeamMember'];
|
|
620
|
+
const isAthleteTeamMember = (obj) => {
|
|
425
621
|
if (!obj?.__typename)
|
|
426
|
-
throw new Error('__typename is missing in "
|
|
427
|
-
return
|
|
622
|
+
throw new Error('__typename is missing in "isAthleteTeamMember"');
|
|
623
|
+
return AthleteTeamMember_possibleTypes.includes(obj.__typename);
|
|
428
624
|
};
|
|
429
|
-
exports.
|
|
430
|
-
const
|
|
431
|
-
const
|
|
625
|
+
exports.isAthleteTeamMember = isAthleteTeamMember;
|
|
626
|
+
const AthleteTeam_possibleTypes = ['AthleteTeam'];
|
|
627
|
+
const isAthleteTeam = (obj) => {
|
|
432
628
|
if (!obj?.__typename)
|
|
433
|
-
throw new Error('__typename is missing in "
|
|
434
|
-
return
|
|
629
|
+
throw new Error('__typename is missing in "isAthleteTeam"');
|
|
630
|
+
return AthleteTeam_possibleTypes.includes(obj.__typename);
|
|
435
631
|
};
|
|
436
|
-
exports.
|
|
437
|
-
const
|
|
438
|
-
const
|
|
632
|
+
exports.isAthleteTeam = isAthleteTeam;
|
|
633
|
+
const TeamClubReference_possibleTypes = ['TeamClubReference'];
|
|
634
|
+
const isTeamClubReference = (obj) => {
|
|
439
635
|
if (!obj?.__typename)
|
|
440
|
-
throw new Error('__typename is missing in "
|
|
441
|
-
return
|
|
636
|
+
throw new Error('__typename is missing in "isTeamClubReference"');
|
|
637
|
+
return TeamClubReference_possibleTypes.includes(obj.__typename);
|
|
442
638
|
};
|
|
443
|
-
exports.
|
|
444
|
-
const
|
|
445
|
-
const
|
|
639
|
+
exports.isTeamClubReference = isTeamClubReference;
|
|
640
|
+
const Team_possibleTypes = ['Team'];
|
|
641
|
+
const isTeam = (obj) => {
|
|
446
642
|
if (!obj?.__typename)
|
|
447
|
-
throw new Error('__typename is missing in "
|
|
448
|
-
return
|
|
643
|
+
throw new Error('__typename is missing in "isTeam"');
|
|
644
|
+
return Team_possibleTypes.includes(obj.__typename);
|
|
449
645
|
};
|
|
450
|
-
exports.
|
|
451
|
-
const
|
|
452
|
-
const
|
|
646
|
+
exports.isTeam = isTeam;
|
|
647
|
+
const WorldLocation_possibleTypes = ['WorldLocation'];
|
|
648
|
+
const isWorldLocation = (obj) => {
|
|
453
649
|
if (!obj?.__typename)
|
|
454
|
-
throw new Error('__typename is missing in "
|
|
455
|
-
return
|
|
650
|
+
throw new Error('__typename is missing in "isWorldLocation"');
|
|
651
|
+
return WorldLocation_possibleTypes.includes(obj.__typename);
|
|
456
652
|
};
|
|
457
|
-
exports.
|
|
458
|
-
const
|
|
459
|
-
const
|
|
653
|
+
exports.isWorldLocation = isWorldLocation;
|
|
654
|
+
const SportsEvent_possibleTypes = ['SportsEvent'];
|
|
655
|
+
const isSportsEvent = (obj) => {
|
|
460
656
|
if (!obj?.__typename)
|
|
461
|
-
throw new Error('__typename is missing in "
|
|
462
|
-
return
|
|
657
|
+
throw new Error('__typename is missing in "isSportsEvent"');
|
|
658
|
+
return SportsEvent_possibleTypes.includes(obj.__typename);
|
|
463
659
|
};
|
|
464
|
-
exports.
|
|
465
|
-
const
|
|
466
|
-
const
|
|
467
|
-
if (!obj?.__typename)
|
|
468
|
-
throw new Error('__typename is missing in "isSportLevelTranslation"');
|
|
469
|
-
return SportLevelTranslation_possibleTypes.includes(obj.__typename);
|
|
470
|
-
};
|
|
471
|
-
exports.isSportLevelTranslation = isSportLevelTranslation;
|
|
472
|
-
const SportLevel_possibleTypes = ['SportLevel'];
|
|
473
|
-
const isSportLevel = (obj) => {
|
|
474
|
-
if (!obj?.__typename)
|
|
475
|
-
throw new Error('__typename is missing in "isSportLevel"');
|
|
476
|
-
return SportLevel_possibleTypes.includes(obj.__typename);
|
|
477
|
-
};
|
|
478
|
-
exports.isSportLevel = isSportLevel;
|
|
479
|
-
const Ranking_possibleTypes = ['Ranking'];
|
|
480
|
-
const isRanking = (obj) => {
|
|
481
|
-
if (!obj?.__typename)
|
|
482
|
-
throw new Error('__typename is missing in "isRanking"');
|
|
483
|
-
return Ranking_possibleTypes.includes(obj.__typename);
|
|
484
|
-
};
|
|
485
|
-
exports.isRanking = isRanking;
|
|
486
|
-
const AthleteRankings_possibleTypes = ['AthleteRankings'];
|
|
487
|
-
const isAthleteRankings = (obj) => {
|
|
488
|
-
if (!obj?.__typename)
|
|
489
|
-
throw new Error('__typename is missing in "isAthleteRankings"');
|
|
490
|
-
return AthleteRankings_possibleTypes.includes(obj.__typename);
|
|
491
|
-
};
|
|
492
|
-
exports.isAthleteRankings = isAthleteRankings;
|
|
493
|
-
const AthleteTeamMember_possibleTypes = ['AthleteTeamMember'];
|
|
494
|
-
const isAthleteTeamMember = (obj) => {
|
|
495
|
-
if (!obj?.__typename)
|
|
496
|
-
throw new Error('__typename is missing in "isAthleteTeamMember"');
|
|
497
|
-
return AthleteTeamMember_possibleTypes.includes(obj.__typename);
|
|
498
|
-
};
|
|
499
|
-
exports.isAthleteTeamMember = isAthleteTeamMember;
|
|
500
|
-
const AthleteTeam_possibleTypes = ['AthleteTeam'];
|
|
501
|
-
const isAthleteTeam = (obj) => {
|
|
502
|
-
if (!obj?.__typename)
|
|
503
|
-
throw new Error('__typename is missing in "isAthleteTeam"');
|
|
504
|
-
return AthleteTeam_possibleTypes.includes(obj.__typename);
|
|
505
|
-
};
|
|
506
|
-
exports.isAthleteTeam = isAthleteTeam;
|
|
507
|
-
const TeamClubReference_possibleTypes = ['TeamClubReference'];
|
|
508
|
-
const isTeamClubReference = (obj) => {
|
|
509
|
-
if (!obj?.__typename)
|
|
510
|
-
throw new Error('__typename is missing in "isTeamClubReference"');
|
|
511
|
-
return TeamClubReference_possibleTypes.includes(obj.__typename);
|
|
512
|
-
};
|
|
513
|
-
exports.isTeamClubReference = isTeamClubReference;
|
|
514
|
-
const Team_possibleTypes = ['Team'];
|
|
515
|
-
const isTeam = (obj) => {
|
|
516
|
-
if (!obj?.__typename)
|
|
517
|
-
throw new Error('__typename is missing in "isTeam"');
|
|
518
|
-
return Team_possibleTypes.includes(obj.__typename);
|
|
519
|
-
};
|
|
520
|
-
exports.isTeam = isTeam;
|
|
521
|
-
const WorldLocation_possibleTypes = ['WorldLocation'];
|
|
522
|
-
const isWorldLocation = (obj) => {
|
|
523
|
-
if (!obj?.__typename)
|
|
524
|
-
throw new Error('__typename is missing in "isWorldLocation"');
|
|
525
|
-
return WorldLocation_possibleTypes.includes(obj.__typename);
|
|
526
|
-
};
|
|
527
|
-
exports.isWorldLocation = isWorldLocation;
|
|
528
|
-
const SportsEvent_possibleTypes = ['SportsEvent'];
|
|
529
|
-
const isSportsEvent = (obj) => {
|
|
530
|
-
if (!obj?.__typename)
|
|
531
|
-
throw new Error('__typename is missing in "isSportsEvent"');
|
|
532
|
-
return SportsEvent_possibleTypes.includes(obj.__typename);
|
|
533
|
-
};
|
|
534
|
-
exports.isSportsEvent = isSportsEvent;
|
|
535
|
-
const AthleteCompetitionResult_possibleTypes = ['AthleteCompetitionResult'];
|
|
536
|
-
const isAthleteCompetitionResult = (obj) => {
|
|
660
|
+
exports.isSportsEvent = isSportsEvent;
|
|
661
|
+
const AthleteCompetitionResult_possibleTypes = ['AthleteCompetitionResult'];
|
|
662
|
+
const isAthleteCompetitionResult = (obj) => {
|
|
537
663
|
if (!obj?.__typename)
|
|
538
664
|
throw new Error('__typename is missing in "isAthleteCompetitionResult"');
|
|
539
665
|
return AthleteCompetitionResult_possibleTypes.includes(obj.__typename);
|
|
@@ -707,405 +833,363 @@ const isAthlete = (obj) => {
|
|
|
707
833
|
return Athlete_possibleTypes.includes(obj.__typename);
|
|
708
834
|
};
|
|
709
835
|
exports.isAthlete = isAthlete;
|
|
710
|
-
const
|
|
711
|
-
const
|
|
836
|
+
const Donation_possibleTypes = ['Donation'];
|
|
837
|
+
const isDonation = (obj) => {
|
|
712
838
|
if (!obj?.__typename)
|
|
713
|
-
throw new Error('__typename is missing in "
|
|
714
|
-
return
|
|
839
|
+
throw new Error('__typename is missing in "isDonation"');
|
|
840
|
+
return Donation_possibleTypes.includes(obj.__typename);
|
|
715
841
|
};
|
|
716
|
-
exports.
|
|
717
|
-
const
|
|
718
|
-
const
|
|
842
|
+
exports.isDonation = isDonation;
|
|
843
|
+
const Member_possibleTypes = ['Member'];
|
|
844
|
+
const isMember = (obj) => {
|
|
719
845
|
if (!obj?.__typename)
|
|
720
|
-
throw new Error('__typename is missing in "
|
|
721
|
-
return
|
|
846
|
+
throw new Error('__typename is missing in "isMember"');
|
|
847
|
+
return Member_possibleTypes.includes(obj.__typename);
|
|
722
848
|
};
|
|
723
|
-
exports.
|
|
724
|
-
const
|
|
725
|
-
const
|
|
849
|
+
exports.isMember = isMember;
|
|
850
|
+
const AdminUserView_possibleTypes = ['AdminUserView'];
|
|
851
|
+
const isAdminUserView = (obj) => {
|
|
726
852
|
if (!obj?.__typename)
|
|
727
|
-
throw new Error('__typename is missing in "
|
|
728
|
-
return
|
|
853
|
+
throw new Error('__typename is missing in "isAdminUserView"');
|
|
854
|
+
return AdminUserView_possibleTypes.includes(obj.__typename);
|
|
729
855
|
};
|
|
730
|
-
exports.
|
|
731
|
-
const
|
|
732
|
-
const
|
|
856
|
+
exports.isAdminUserView = isAdminUserView;
|
|
857
|
+
const AdminUser_possibleTypes = ['AdminUser'];
|
|
858
|
+
const isAdminUser = (obj) => {
|
|
733
859
|
if (!obj?.__typename)
|
|
734
|
-
throw new Error('__typename is missing in "
|
|
735
|
-
return
|
|
860
|
+
throw new Error('__typename is missing in "isAdminUser"');
|
|
861
|
+
return AdminUser_possibleTypes.includes(obj.__typename);
|
|
736
862
|
};
|
|
737
|
-
exports.
|
|
738
|
-
const
|
|
739
|
-
const
|
|
863
|
+
exports.isAdminUser = isAdminUser;
|
|
864
|
+
const AiCoachConfig_possibleTypes = ['AiCoachConfig'];
|
|
865
|
+
const isAiCoachConfig = (obj) => {
|
|
740
866
|
if (!obj?.__typename)
|
|
741
|
-
throw new Error('__typename is missing in "
|
|
742
|
-
return
|
|
867
|
+
throw new Error('__typename is missing in "isAiCoachConfig"');
|
|
868
|
+
return AiCoachConfig_possibleTypes.includes(obj.__typename);
|
|
743
869
|
};
|
|
744
|
-
exports.
|
|
745
|
-
const
|
|
746
|
-
const
|
|
870
|
+
exports.isAiCoachConfig = isAiCoachConfig;
|
|
871
|
+
const AiCoachMessage_possibleTypes = ['AiCoachMessage'];
|
|
872
|
+
const isAiCoachMessage = (obj) => {
|
|
747
873
|
if (!obj?.__typename)
|
|
748
|
-
throw new Error('__typename is missing in "
|
|
749
|
-
return
|
|
874
|
+
throw new Error('__typename is missing in "isAiCoachMessage"');
|
|
875
|
+
return AiCoachMessage_possibleTypes.includes(obj.__typename);
|
|
750
876
|
};
|
|
751
|
-
exports.
|
|
752
|
-
const
|
|
753
|
-
const
|
|
877
|
+
exports.isAiCoachMessage = isAiCoachMessage;
|
|
878
|
+
const AiCoachNudge_possibleTypes = ['AiCoachNudge'];
|
|
879
|
+
const isAiCoachNudge = (obj) => {
|
|
754
880
|
if (!obj?.__typename)
|
|
755
|
-
throw new Error('__typename is missing in "
|
|
756
|
-
return
|
|
881
|
+
throw new Error('__typename is missing in "isAiCoachNudge"');
|
|
882
|
+
return AiCoachNudge_possibleTypes.includes(obj.__typename);
|
|
757
883
|
};
|
|
758
|
-
exports.
|
|
759
|
-
const
|
|
760
|
-
const
|
|
884
|
+
exports.isAiCoachNudge = isAiCoachNudge;
|
|
885
|
+
const AiCoachNudgeListResponse_possibleTypes = ['AiCoachNudgeListResponse'];
|
|
886
|
+
const isAiCoachNudgeListResponse = (obj) => {
|
|
761
887
|
if (!obj?.__typename)
|
|
762
|
-
throw new Error('__typename is missing in "
|
|
763
|
-
return
|
|
888
|
+
throw new Error('__typename is missing in "isAiCoachNudgeListResponse"');
|
|
889
|
+
return AiCoachNudgeListResponse_possibleTypes.includes(obj.__typename);
|
|
764
890
|
};
|
|
765
|
-
exports.
|
|
766
|
-
const
|
|
767
|
-
const
|
|
891
|
+
exports.isAiCoachNudgeListResponse = isAiCoachNudgeListResponse;
|
|
892
|
+
const AiCoachUnreadNudgeCountResponse_possibleTypes = ['AiCoachUnreadNudgeCountResponse'];
|
|
893
|
+
const isAiCoachUnreadNudgeCountResponse = (obj) => {
|
|
768
894
|
if (!obj?.__typename)
|
|
769
|
-
throw new Error('__typename is missing in "
|
|
770
|
-
return
|
|
895
|
+
throw new Error('__typename is missing in "isAiCoachUnreadNudgeCountResponse"');
|
|
896
|
+
return AiCoachUnreadNudgeCountResponse_possibleTypes.includes(obj.__typename);
|
|
771
897
|
};
|
|
772
|
-
exports.
|
|
773
|
-
const
|
|
774
|
-
const
|
|
898
|
+
exports.isAiCoachUnreadNudgeCountResponse = isAiCoachUnreadNudgeCountResponse;
|
|
899
|
+
const AiCoachThread_possibleTypes = ['AiCoachThread'];
|
|
900
|
+
const isAiCoachThread = (obj) => {
|
|
775
901
|
if (!obj?.__typename)
|
|
776
|
-
throw new Error('__typename is missing in "
|
|
777
|
-
return
|
|
902
|
+
throw new Error('__typename is missing in "isAiCoachThread"');
|
|
903
|
+
return AiCoachThread_possibleTypes.includes(obj.__typename);
|
|
778
904
|
};
|
|
779
|
-
exports.
|
|
780
|
-
const
|
|
781
|
-
const
|
|
905
|
+
exports.isAiCoachThread = isAiCoachThread;
|
|
906
|
+
const Club_possibleTypes = ['Club'];
|
|
907
|
+
const isClub = (obj) => {
|
|
782
908
|
if (!obj?.__typename)
|
|
783
|
-
throw new Error('__typename is missing in "
|
|
784
|
-
return
|
|
909
|
+
throw new Error('__typename is missing in "isClub"');
|
|
910
|
+
return Club_possibleTypes.includes(obj.__typename);
|
|
785
911
|
};
|
|
786
|
-
exports.
|
|
787
|
-
const
|
|
788
|
-
const
|
|
912
|
+
exports.isClub = isClub;
|
|
913
|
+
const AthleteClubMember_possibleTypes = ['AthleteClubMember'];
|
|
914
|
+
const isAthleteClubMember = (obj) => {
|
|
789
915
|
if (!obj?.__typename)
|
|
790
|
-
throw new Error('__typename is missing in "
|
|
791
|
-
return
|
|
916
|
+
throw new Error('__typename is missing in "isAthleteClubMember"');
|
|
917
|
+
return AthleteClubMember_possibleTypes.includes(obj.__typename);
|
|
792
918
|
};
|
|
793
|
-
exports.
|
|
794
|
-
const
|
|
795
|
-
const
|
|
919
|
+
exports.isAthleteClubMember = isAthleteClubMember;
|
|
920
|
+
const AthleteClub_possibleTypes = ['AthleteClub'];
|
|
921
|
+
const isAthleteClub = (obj) => {
|
|
796
922
|
if (!obj?.__typename)
|
|
797
|
-
throw new Error('__typename is missing in "
|
|
798
|
-
return
|
|
923
|
+
throw new Error('__typename is missing in "isAthleteClub"');
|
|
924
|
+
return AthleteClub_possibleTypes.includes(obj.__typename);
|
|
799
925
|
};
|
|
800
|
-
exports.
|
|
801
|
-
const
|
|
802
|
-
const
|
|
926
|
+
exports.isAthleteClub = isAthleteClub;
|
|
927
|
+
const ActivityEntry_possibleTypes = ['ActivityEntry'];
|
|
928
|
+
const isActivityEntry = (obj) => {
|
|
803
929
|
if (!obj?.__typename)
|
|
804
|
-
throw new Error('__typename is missing in "
|
|
805
|
-
return
|
|
930
|
+
throw new Error('__typename is missing in "isActivityEntry"');
|
|
931
|
+
return ActivityEntry_possibleTypes.includes(obj.__typename);
|
|
806
932
|
};
|
|
807
|
-
exports.
|
|
808
|
-
const
|
|
809
|
-
const
|
|
933
|
+
exports.isActivityEntry = isActivityEntry;
|
|
934
|
+
const ActivitiesResponse_possibleTypes = ['ActivitiesResponse'];
|
|
935
|
+
const isActivitiesResponse = (obj) => {
|
|
810
936
|
if (!obj?.__typename)
|
|
811
|
-
throw new Error('__typename is missing in "
|
|
812
|
-
return
|
|
937
|
+
throw new Error('__typename is missing in "isActivitiesResponse"');
|
|
938
|
+
return ActivitiesResponse_possibleTypes.includes(obj.__typename);
|
|
813
939
|
};
|
|
814
|
-
exports.
|
|
815
|
-
const
|
|
816
|
-
const
|
|
940
|
+
exports.isActivitiesResponse = isActivitiesResponse;
|
|
941
|
+
const ActivityDateEntry_possibleTypes = ['ActivityDateEntry'];
|
|
942
|
+
const isActivityDateEntry = (obj) => {
|
|
817
943
|
if (!obj?.__typename)
|
|
818
|
-
throw new Error('__typename is missing in "
|
|
819
|
-
return
|
|
944
|
+
throw new Error('__typename is missing in "isActivityDateEntry"');
|
|
945
|
+
return ActivityDateEntry_possibleTypes.includes(obj.__typename);
|
|
820
946
|
};
|
|
821
|
-
exports.
|
|
822
|
-
const
|
|
823
|
-
const
|
|
947
|
+
exports.isActivityDateEntry = isActivityDateEntry;
|
|
948
|
+
const ActivityDatesResponse_possibleTypes = ['ActivityDatesResponse'];
|
|
949
|
+
const isActivityDatesResponse = (obj) => {
|
|
824
950
|
if (!obj?.__typename)
|
|
825
|
-
throw new Error('__typename is missing in "
|
|
826
|
-
return
|
|
951
|
+
throw new Error('__typename is missing in "isActivityDatesResponse"');
|
|
952
|
+
return ActivityDatesResponse_possibleTypes.includes(obj.__typename);
|
|
827
953
|
};
|
|
828
|
-
exports.
|
|
829
|
-
const
|
|
830
|
-
const
|
|
954
|
+
exports.isActivityDatesResponse = isActivityDatesResponse;
|
|
955
|
+
const MetricComparison_possibleTypes = ['MetricComparison'];
|
|
956
|
+
const isMetricComparison = (obj) => {
|
|
831
957
|
if (!obj?.__typename)
|
|
832
|
-
throw new Error('__typename is missing in "
|
|
833
|
-
return
|
|
958
|
+
throw new Error('__typename is missing in "isMetricComparison"');
|
|
959
|
+
return MetricComparison_possibleTypes.includes(obj.__typename);
|
|
834
960
|
};
|
|
835
|
-
exports.
|
|
836
|
-
const
|
|
837
|
-
const
|
|
961
|
+
exports.isMetricComparison = isMetricComparison;
|
|
962
|
+
const ScoreInfo_possibleTypes = ['ScoreInfo'];
|
|
963
|
+
const isScoreInfo = (obj) => {
|
|
838
964
|
if (!obj?.__typename)
|
|
839
|
-
throw new Error('__typename is missing in "
|
|
840
|
-
return
|
|
841
|
-
};
|
|
842
|
-
exports.isCompetitionBudgetReference = isCompetitionBudgetReference;
|
|
843
|
-
const BaseBudgetData_possibleTypes = ['BaseBudgetData'];
|
|
844
|
-
const isBaseBudgetData = (obj) => {
|
|
845
|
-
if (!obj?.__typename)
|
|
846
|
-
throw new Error('__typename is missing in "isBaseBudgetData"');
|
|
847
|
-
return BaseBudgetData_possibleTypes.includes(obj.__typename);
|
|
848
|
-
};
|
|
849
|
-
exports.isBaseBudgetData = isBaseBudgetData;
|
|
850
|
-
const CompetitionBudgetData_possibleTypes = ['CompetitionBudgetData'];
|
|
851
|
-
const isCompetitionBudgetData = (obj) => {
|
|
852
|
-
if (!obj?.__typename)
|
|
853
|
-
throw new Error('__typename is missing in "isCompetitionBudgetData"');
|
|
854
|
-
return CompetitionBudgetData_possibleTypes.includes(obj.__typename);
|
|
855
|
-
};
|
|
856
|
-
exports.isCompetitionBudgetData = isCompetitionBudgetData;
|
|
857
|
-
const CampaignBudgetData_possibleTypes = ['CampaignBudgetData'];
|
|
858
|
-
const isCampaignBudgetData = (obj) => {
|
|
859
|
-
if (!obj?.__typename)
|
|
860
|
-
throw new Error('__typename is missing in "isCampaignBudgetData"');
|
|
861
|
-
return CampaignBudgetData_possibleTypes.includes(obj.__typename);
|
|
862
|
-
};
|
|
863
|
-
exports.isCampaignBudgetData = isCampaignBudgetData;
|
|
864
|
-
const BudgetData_possibleTypes = ['BudgetData'];
|
|
865
|
-
const isBudgetData = (obj) => {
|
|
866
|
-
if (!obj?.__typename)
|
|
867
|
-
throw new Error('__typename is missing in "isBudgetData"');
|
|
868
|
-
return BudgetData_possibleTypes.includes(obj.__typename);
|
|
869
|
-
};
|
|
870
|
-
exports.isBudgetData = isBudgetData;
|
|
871
|
-
const MergeEventsResponse_possibleTypes = ['MergeEventsResponse'];
|
|
872
|
-
const isMergeEventsResponse = (obj) => {
|
|
873
|
-
if (!obj?.__typename)
|
|
874
|
-
throw new Error('__typename is missing in "isMergeEventsResponse"');
|
|
875
|
-
return MergeEventsResponse_possibleTypes.includes(obj.__typename);
|
|
876
|
-
};
|
|
877
|
-
exports.isMergeEventsResponse = isMergeEventsResponse;
|
|
878
|
-
const BudgetItemUnit_possibleTypes = ['BudgetItemUnit'];
|
|
879
|
-
const isBudgetItemUnit = (obj) => {
|
|
880
|
-
if (!obj?.__typename)
|
|
881
|
-
throw new Error('__typename is missing in "isBudgetItemUnit"');
|
|
882
|
-
return BudgetItemUnit_possibleTypes.includes(obj.__typename);
|
|
965
|
+
throw new Error('__typename is missing in "isScoreInfo"');
|
|
966
|
+
return ScoreInfo_possibleTypes.includes(obj.__typename);
|
|
883
967
|
};
|
|
884
|
-
exports.
|
|
885
|
-
const
|
|
886
|
-
const
|
|
968
|
+
exports.isScoreInfo = isScoreInfo;
|
|
969
|
+
const ActivityDetail_possibleTypes = ['ActivityDetail'];
|
|
970
|
+
const isActivityDetail = (obj) => {
|
|
887
971
|
if (!obj?.__typename)
|
|
888
|
-
throw new Error('__typename is missing in "
|
|
889
|
-
return
|
|
972
|
+
throw new Error('__typename is missing in "isActivityDetail"');
|
|
973
|
+
return ActivityDetail_possibleTypes.includes(obj.__typename);
|
|
890
974
|
};
|
|
891
|
-
exports.
|
|
892
|
-
const
|
|
893
|
-
const
|
|
975
|
+
exports.isActivityDetail = isActivityDetail;
|
|
976
|
+
const TopMetric_possibleTypes = ['TopMetric'];
|
|
977
|
+
const isTopMetric = (obj) => {
|
|
894
978
|
if (!obj?.__typename)
|
|
895
|
-
throw new Error('__typename is missing in "
|
|
896
|
-
return
|
|
979
|
+
throw new Error('__typename is missing in "isTopMetric"');
|
|
980
|
+
return TopMetric_possibleTypes.includes(obj.__typename);
|
|
897
981
|
};
|
|
898
|
-
exports.
|
|
899
|
-
const
|
|
900
|
-
const
|
|
982
|
+
exports.isTopMetric = isTopMetric;
|
|
983
|
+
const ComponentSummary_possibleTypes = ['ComponentSummary'];
|
|
984
|
+
const isComponentSummary = (obj) => {
|
|
901
985
|
if (!obj?.__typename)
|
|
902
|
-
throw new Error('__typename is missing in "
|
|
903
|
-
return
|
|
986
|
+
throw new Error('__typename is missing in "isComponentSummary"');
|
|
987
|
+
return ComponentSummary_possibleTypes.includes(obj.__typename);
|
|
904
988
|
};
|
|
905
|
-
exports.
|
|
906
|
-
const
|
|
907
|
-
const
|
|
989
|
+
exports.isComponentSummary = isComponentSummary;
|
|
990
|
+
const DashboardSummary_possibleTypes = ['DashboardSummary'];
|
|
991
|
+
const isDashboardSummary = (obj) => {
|
|
908
992
|
if (!obj?.__typename)
|
|
909
|
-
throw new Error('__typename is missing in "
|
|
910
|
-
return
|
|
993
|
+
throw new Error('__typename is missing in "isDashboardSummary"');
|
|
994
|
+
return DashboardSummary_possibleTypes.includes(obj.__typename);
|
|
911
995
|
};
|
|
912
|
-
exports.
|
|
913
|
-
const
|
|
914
|
-
const
|
|
996
|
+
exports.isDashboardSummary = isDashboardSummary;
|
|
997
|
+
const ScoreHistoryEntry_possibleTypes = ['ScoreHistoryEntry'];
|
|
998
|
+
const isScoreHistoryEntry = (obj) => {
|
|
915
999
|
if (!obj?.__typename)
|
|
916
|
-
throw new Error('__typename is missing in "
|
|
917
|
-
return
|
|
1000
|
+
throw new Error('__typename is missing in "isScoreHistoryEntry"');
|
|
1001
|
+
return ScoreHistoryEntry_possibleTypes.includes(obj.__typename);
|
|
918
1002
|
};
|
|
919
|
-
exports.
|
|
920
|
-
const
|
|
921
|
-
const
|
|
1003
|
+
exports.isScoreHistoryEntry = isScoreHistoryEntry;
|
|
1004
|
+
const RankHistoryEntry_possibleTypes = ['RankHistoryEntry'];
|
|
1005
|
+
const isRankHistoryEntry = (obj) => {
|
|
922
1006
|
if (!obj?.__typename)
|
|
923
|
-
throw new Error('__typename is missing in "
|
|
924
|
-
return
|
|
1007
|
+
throw new Error('__typename is missing in "isRankHistoryEntry"');
|
|
1008
|
+
return RankHistoryEntry_possibleTypes.includes(obj.__typename);
|
|
925
1009
|
};
|
|
926
|
-
exports.
|
|
927
|
-
const
|
|
928
|
-
const
|
|
1010
|
+
exports.isRankHistoryEntry = isRankHistoryEntry;
|
|
1011
|
+
const RankContext_possibleTypes = ['RankContext'];
|
|
1012
|
+
const isRankContext = (obj) => {
|
|
929
1013
|
if (!obj?.__typename)
|
|
930
|
-
throw new Error('__typename is missing in "
|
|
931
|
-
return
|
|
1014
|
+
throw new Error('__typename is missing in "isRankContext"');
|
|
1015
|
+
return RankContext_possibleTypes.includes(obj.__typename);
|
|
932
1016
|
};
|
|
933
|
-
exports.
|
|
934
|
-
const
|
|
935
|
-
const
|
|
1017
|
+
exports.isRankContext = isRankContext;
|
|
1018
|
+
const StravaAthleteData_possibleTypes = ['StravaAthleteData'];
|
|
1019
|
+
const isStravaAthleteData = (obj) => {
|
|
936
1020
|
if (!obj?.__typename)
|
|
937
|
-
throw new Error('__typename is missing in "
|
|
938
|
-
return
|
|
1021
|
+
throw new Error('__typename is missing in "isStravaAthleteData"');
|
|
1022
|
+
return StravaAthleteData_possibleTypes.includes(obj.__typename);
|
|
939
1023
|
};
|
|
940
|
-
exports.
|
|
941
|
-
const
|
|
942
|
-
const
|
|
1024
|
+
exports.isStravaAthleteData = isStravaAthleteData;
|
|
1025
|
+
const InstagramCursors_possibleTypes = ['InstagramCursors'];
|
|
1026
|
+
const isInstagramCursors = (obj) => {
|
|
943
1027
|
if (!obj?.__typename)
|
|
944
|
-
throw new Error('__typename is missing in "
|
|
945
|
-
return
|
|
1028
|
+
throw new Error('__typename is missing in "isInstagramCursors"');
|
|
1029
|
+
return InstagramCursors_possibleTypes.includes(obj.__typename);
|
|
946
1030
|
};
|
|
947
|
-
exports.
|
|
948
|
-
const
|
|
949
|
-
const
|
|
1031
|
+
exports.isInstagramCursors = isInstagramCursors;
|
|
1032
|
+
const InstagramPaging_possibleTypes = ['InstagramPaging'];
|
|
1033
|
+
const isInstagramPaging = (obj) => {
|
|
950
1034
|
if (!obj?.__typename)
|
|
951
|
-
throw new Error('__typename is missing in "
|
|
952
|
-
return
|
|
1035
|
+
throw new Error('__typename is missing in "isInstagramPaging"');
|
|
1036
|
+
return InstagramPaging_possibleTypes.includes(obj.__typename);
|
|
953
1037
|
};
|
|
954
|
-
exports.
|
|
955
|
-
const
|
|
956
|
-
const
|
|
1038
|
+
exports.isInstagramPaging = isInstagramPaging;
|
|
1039
|
+
const InstagramMetric_possibleTypes = ['InstagramMetric'];
|
|
1040
|
+
const isInstagramMetric = (obj) => {
|
|
957
1041
|
if (!obj?.__typename)
|
|
958
|
-
throw new Error('__typename is missing in "
|
|
959
|
-
return
|
|
1042
|
+
throw new Error('__typename is missing in "isInstagramMetric"');
|
|
1043
|
+
return InstagramMetric_possibleTypes.includes(obj.__typename);
|
|
960
1044
|
};
|
|
961
|
-
exports.
|
|
962
|
-
const
|
|
963
|
-
const
|
|
1045
|
+
exports.isInstagramMetric = isInstagramMetric;
|
|
1046
|
+
const InstagramInsights_possibleTypes = ['InstagramInsights'];
|
|
1047
|
+
const isInstagramInsights = (obj) => {
|
|
964
1048
|
if (!obj?.__typename)
|
|
965
|
-
throw new Error('__typename is missing in "
|
|
966
|
-
return
|
|
1049
|
+
throw new Error('__typename is missing in "isInstagramInsights"');
|
|
1050
|
+
return InstagramInsights_possibleTypes.includes(obj.__typename);
|
|
967
1051
|
};
|
|
968
|
-
exports.
|
|
969
|
-
const
|
|
970
|
-
const
|
|
1052
|
+
exports.isInstagramInsights = isInstagramInsights;
|
|
1053
|
+
const InstagramMediaItem_possibleTypes = ['InstagramMediaItem'];
|
|
1054
|
+
const isInstagramMediaItem = (obj) => {
|
|
971
1055
|
if (!obj?.__typename)
|
|
972
|
-
throw new Error('__typename is missing in "
|
|
973
|
-
return
|
|
1056
|
+
throw new Error('__typename is missing in "isInstagramMediaItem"');
|
|
1057
|
+
return InstagramMediaItem_possibleTypes.includes(obj.__typename);
|
|
974
1058
|
};
|
|
975
|
-
exports.
|
|
976
|
-
const
|
|
977
|
-
const
|
|
1059
|
+
exports.isInstagramMediaItem = isInstagramMediaItem;
|
|
1060
|
+
const InstagramMediaData_possibleTypes = ['InstagramMediaData'];
|
|
1061
|
+
const isInstagramMediaData = (obj) => {
|
|
978
1062
|
if (!obj?.__typename)
|
|
979
|
-
throw new Error('__typename is missing in "
|
|
980
|
-
return
|
|
1063
|
+
throw new Error('__typename is missing in "isInstagramMediaData"');
|
|
1064
|
+
return InstagramMediaData_possibleTypes.includes(obj.__typename);
|
|
981
1065
|
};
|
|
982
|
-
exports.
|
|
983
|
-
const
|
|
984
|
-
const
|
|
1066
|
+
exports.isInstagramMediaData = isInstagramMediaData;
|
|
1067
|
+
const InstagramUserData_possibleTypes = ['InstagramUserData'];
|
|
1068
|
+
const isInstagramUserData = (obj) => {
|
|
985
1069
|
if (!obj?.__typename)
|
|
986
|
-
throw new Error('__typename is missing in "
|
|
987
|
-
return
|
|
1070
|
+
throw new Error('__typename is missing in "isInstagramUserData"');
|
|
1071
|
+
return InstagramUserData_possibleTypes.includes(obj.__typename);
|
|
988
1072
|
};
|
|
989
|
-
exports.
|
|
990
|
-
const
|
|
991
|
-
const
|
|
1073
|
+
exports.isInstagramUserData = isInstagramUserData;
|
|
1074
|
+
const AthleteIntegrationReference_possibleTypes = ['AthleteIntegrationReference'];
|
|
1075
|
+
const isAthleteIntegrationReference = (obj) => {
|
|
992
1076
|
if (!obj?.__typename)
|
|
993
|
-
throw new Error('__typename is missing in "
|
|
994
|
-
return
|
|
1077
|
+
throw new Error('__typename is missing in "isAthleteIntegrationReference"');
|
|
1078
|
+
return AthleteIntegrationReference_possibleTypes.includes(obj.__typename);
|
|
995
1079
|
};
|
|
996
|
-
exports.
|
|
997
|
-
const
|
|
998
|
-
const
|
|
1080
|
+
exports.isAthleteIntegrationReference = isAthleteIntegrationReference;
|
|
1081
|
+
const CursorPaginationResponse_possibleTypes = ['CursorPaginationResponse'];
|
|
1082
|
+
const isCursorPaginationResponse = (obj) => {
|
|
999
1083
|
if (!obj?.__typename)
|
|
1000
|
-
throw new Error('__typename is missing in "
|
|
1001
|
-
return
|
|
1084
|
+
throw new Error('__typename is missing in "isCursorPaginationResponse"');
|
|
1085
|
+
return CursorPaginationResponse_possibleTypes.includes(obj.__typename);
|
|
1002
1086
|
};
|
|
1003
|
-
exports.
|
|
1004
|
-
const
|
|
1005
|
-
const
|
|
1087
|
+
exports.isCursorPaginationResponse = isCursorPaginationResponse;
|
|
1088
|
+
const AthleteQueryResponse_possibleTypes = ['AthleteQueryResponse'];
|
|
1089
|
+
const isAthleteQueryResponse = (obj) => {
|
|
1006
1090
|
if (!obj?.__typename)
|
|
1007
|
-
throw new Error('__typename is missing in "
|
|
1008
|
-
return
|
|
1091
|
+
throw new Error('__typename is missing in "isAthleteQueryResponse"');
|
|
1092
|
+
return AthleteQueryResponse_possibleTypes.includes(obj.__typename);
|
|
1009
1093
|
};
|
|
1010
|
-
exports.
|
|
1011
|
-
const
|
|
1012
|
-
const
|
|
1094
|
+
exports.isAthleteQueryResponse = isAthleteQueryResponse;
|
|
1095
|
+
const AudiencePreviewUser_possibleTypes = ['AudiencePreviewUser'];
|
|
1096
|
+
const isAudiencePreviewUser = (obj) => {
|
|
1013
1097
|
if (!obj?.__typename)
|
|
1014
|
-
throw new Error('__typename is missing in "
|
|
1015
|
-
return
|
|
1098
|
+
throw new Error('__typename is missing in "isAudiencePreviewUser"');
|
|
1099
|
+
return AudiencePreviewUser_possibleTypes.includes(obj.__typename);
|
|
1016
1100
|
};
|
|
1017
|
-
exports.
|
|
1018
|
-
const
|
|
1019
|
-
const
|
|
1101
|
+
exports.isAudiencePreviewUser = isAudiencePreviewUser;
|
|
1102
|
+
const AudiencePreview_possibleTypes = ['AudiencePreview'];
|
|
1103
|
+
const isAudiencePreview = (obj) => {
|
|
1020
1104
|
if (!obj?.__typename)
|
|
1021
|
-
throw new Error('__typename is missing in "
|
|
1022
|
-
return
|
|
1105
|
+
throw new Error('__typename is missing in "isAudiencePreview"');
|
|
1106
|
+
return AudiencePreview_possibleTypes.includes(obj.__typename);
|
|
1023
1107
|
};
|
|
1024
|
-
exports.
|
|
1025
|
-
const
|
|
1026
|
-
const
|
|
1108
|
+
exports.isAudiencePreview = isAudiencePreview;
|
|
1109
|
+
const BrowseCampaignsResult_possibleTypes = ['BrowseCampaignsResult'];
|
|
1110
|
+
const isBrowseCampaignsResult = (obj) => {
|
|
1027
1111
|
if (!obj?.__typename)
|
|
1028
|
-
throw new Error('__typename is missing in "
|
|
1029
|
-
return
|
|
1112
|
+
throw new Error('__typename is missing in "isBrowseCampaignsResult"');
|
|
1113
|
+
return BrowseCampaignsResult_possibleTypes.includes(obj.__typename);
|
|
1030
1114
|
};
|
|
1031
|
-
exports.
|
|
1032
|
-
const
|
|
1033
|
-
const
|
|
1115
|
+
exports.isBrowseCampaignsResult = isBrowseCampaignsResult;
|
|
1116
|
+
const BudgetConcept_possibleTypes = ['BudgetConcept'];
|
|
1117
|
+
const isBudgetConcept = (obj) => {
|
|
1034
1118
|
if (!obj?.__typename)
|
|
1035
|
-
throw new Error('__typename is missing in "
|
|
1036
|
-
return
|
|
1119
|
+
throw new Error('__typename is missing in "isBudgetConcept"');
|
|
1120
|
+
return BudgetConcept_possibleTypes.includes(obj.__typename);
|
|
1037
1121
|
};
|
|
1038
|
-
exports.
|
|
1039
|
-
const
|
|
1040
|
-
const
|
|
1122
|
+
exports.isBudgetConcept = isBudgetConcept;
|
|
1123
|
+
const BudgetItemUnit_possibleTypes = ['BudgetItemUnit'];
|
|
1124
|
+
const isBudgetItemUnit = (obj) => {
|
|
1041
1125
|
if (!obj?.__typename)
|
|
1042
|
-
throw new Error('__typename is missing in "
|
|
1043
|
-
return
|
|
1126
|
+
throw new Error('__typename is missing in "isBudgetItemUnit"');
|
|
1127
|
+
return BudgetItemUnit_possibleTypes.includes(obj.__typename);
|
|
1044
1128
|
};
|
|
1045
|
-
exports.
|
|
1046
|
-
const
|
|
1047
|
-
const
|
|
1129
|
+
exports.isBudgetItemUnit = isBudgetItemUnit;
|
|
1130
|
+
const BudgetItemReference_possibleTypes = ['BudgetItemReference'];
|
|
1131
|
+
const isBudgetItemReference = (obj) => {
|
|
1048
1132
|
if (!obj?.__typename)
|
|
1049
|
-
throw new Error('__typename is missing in "
|
|
1050
|
-
return
|
|
1133
|
+
throw new Error('__typename is missing in "isBudgetItemReference"');
|
|
1134
|
+
return BudgetItemReference_possibleTypes.includes(obj.__typename);
|
|
1051
1135
|
};
|
|
1052
|
-
exports.
|
|
1053
|
-
const
|
|
1054
|
-
const
|
|
1136
|
+
exports.isBudgetItemReference = isBudgetItemReference;
|
|
1137
|
+
const BudgetReference_possibleTypes = ['BudgetReference'];
|
|
1138
|
+
const isBudgetReference = (obj) => {
|
|
1055
1139
|
if (!obj?.__typename)
|
|
1056
|
-
throw new Error('__typename is missing in "
|
|
1057
|
-
return
|
|
1140
|
+
throw new Error('__typename is missing in "isBudgetReference"');
|
|
1141
|
+
return BudgetReference_possibleTypes.includes(obj.__typename);
|
|
1058
1142
|
};
|
|
1059
|
-
exports.
|
|
1060
|
-
const
|
|
1061
|
-
const
|
|
1143
|
+
exports.isBudgetReference = isBudgetReference;
|
|
1144
|
+
const CompetitionBudgetReference_possibleTypes = ['CompetitionBudgetReference'];
|
|
1145
|
+
const isCompetitionBudgetReference = (obj) => {
|
|
1062
1146
|
if (!obj?.__typename)
|
|
1063
|
-
throw new Error('__typename is missing in "
|
|
1064
|
-
return
|
|
1147
|
+
throw new Error('__typename is missing in "isCompetitionBudgetReference"');
|
|
1148
|
+
return CompetitionBudgetReference_possibleTypes.includes(obj.__typename);
|
|
1065
1149
|
};
|
|
1066
|
-
exports.
|
|
1067
|
-
const
|
|
1068
|
-
const
|
|
1150
|
+
exports.isCompetitionBudgetReference = isCompetitionBudgetReference;
|
|
1151
|
+
const BaseBudgetData_possibleTypes = ['BaseBudgetData'];
|
|
1152
|
+
const isBaseBudgetData = (obj) => {
|
|
1069
1153
|
if (!obj?.__typename)
|
|
1070
|
-
throw new Error('__typename is missing in "
|
|
1071
|
-
return
|
|
1154
|
+
throw new Error('__typename is missing in "isBaseBudgetData"');
|
|
1155
|
+
return BaseBudgetData_possibleTypes.includes(obj.__typename);
|
|
1072
1156
|
};
|
|
1073
|
-
exports.
|
|
1074
|
-
const
|
|
1075
|
-
const
|
|
1157
|
+
exports.isBaseBudgetData = isBaseBudgetData;
|
|
1158
|
+
const CompetitionBudgetData_possibleTypes = ['CompetitionBudgetData'];
|
|
1159
|
+
const isCompetitionBudgetData = (obj) => {
|
|
1076
1160
|
if (!obj?.__typename)
|
|
1077
|
-
throw new Error('__typename is missing in "
|
|
1078
|
-
return
|
|
1161
|
+
throw new Error('__typename is missing in "isCompetitionBudgetData"');
|
|
1162
|
+
return CompetitionBudgetData_possibleTypes.includes(obj.__typename);
|
|
1079
1163
|
};
|
|
1080
|
-
exports.
|
|
1081
|
-
const
|
|
1082
|
-
const
|
|
1164
|
+
exports.isCompetitionBudgetData = isCompetitionBudgetData;
|
|
1165
|
+
const CampaignBudgetData_possibleTypes = ['CampaignBudgetData'];
|
|
1166
|
+
const isCampaignBudgetData = (obj) => {
|
|
1083
1167
|
if (!obj?.__typename)
|
|
1084
|
-
throw new Error('__typename is missing in "
|
|
1085
|
-
return
|
|
1168
|
+
throw new Error('__typename is missing in "isCampaignBudgetData"');
|
|
1169
|
+
return CampaignBudgetData_possibleTypes.includes(obj.__typename);
|
|
1086
1170
|
};
|
|
1087
|
-
exports.
|
|
1088
|
-
const
|
|
1089
|
-
const
|
|
1171
|
+
exports.isCampaignBudgetData = isCampaignBudgetData;
|
|
1172
|
+
const BudgetData_possibleTypes = ['BudgetData'];
|
|
1173
|
+
const isBudgetData = (obj) => {
|
|
1090
1174
|
if (!obj?.__typename)
|
|
1091
|
-
throw new Error('__typename is missing in "
|
|
1092
|
-
return
|
|
1175
|
+
throw new Error('__typename is missing in "isBudgetData"');
|
|
1176
|
+
return BudgetData_possibleTypes.includes(obj.__typename);
|
|
1093
1177
|
};
|
|
1094
|
-
exports.
|
|
1095
|
-
const
|
|
1096
|
-
const
|
|
1178
|
+
exports.isBudgetData = isBudgetData;
|
|
1179
|
+
const CheckoutSession_possibleTypes = ['CheckoutSession'];
|
|
1180
|
+
const isCheckoutSession = (obj) => {
|
|
1097
1181
|
if (!obj?.__typename)
|
|
1098
|
-
throw new Error('__typename is missing in "
|
|
1099
|
-
return
|
|
1182
|
+
throw new Error('__typename is missing in "isCheckoutSession"');
|
|
1183
|
+
return CheckoutSession_possibleTypes.includes(obj.__typename);
|
|
1100
1184
|
};
|
|
1101
|
-
exports.
|
|
1102
|
-
const
|
|
1103
|
-
const
|
|
1185
|
+
exports.isCheckoutSession = isCheckoutSession;
|
|
1186
|
+
const ClientCompatibilityType_possibleTypes = ['ClientCompatibilityType'];
|
|
1187
|
+
const isClientCompatibilityType = (obj) => {
|
|
1104
1188
|
if (!obj?.__typename)
|
|
1105
|
-
throw new Error('__typename is missing in "
|
|
1106
|
-
return
|
|
1189
|
+
throw new Error('__typename is missing in "isClientCompatibilityType"');
|
|
1190
|
+
return ClientCompatibilityType_possibleTypes.includes(obj.__typename);
|
|
1107
1191
|
};
|
|
1108
|
-
exports.
|
|
1192
|
+
exports.isClientCompatibilityType = isClientCompatibilityType;
|
|
1109
1193
|
const CompetitionDeleteVerificationReason_possibleTypes = ['CompetitionDeleteVerificationReason'];
|
|
1110
1194
|
const isCompetitionDeleteVerificationReason = (obj) => {
|
|
1111
1195
|
if (!obj?.__typename)
|
|
@@ -1120,111 +1204,48 @@ const isCompetitionDeleteVerificationResponse = (obj) => {
|
|
|
1120
1204
|
return CompetitionDeleteVerificationResponse_possibleTypes.includes(obj.__typename);
|
|
1121
1205
|
};
|
|
1122
1206
|
exports.isCompetitionDeleteVerificationResponse = isCompetitionDeleteVerificationResponse;
|
|
1123
|
-
const
|
|
1124
|
-
const
|
|
1125
|
-
if (!obj?.__typename)
|
|
1126
|
-
throw new Error('__typename is missing in "isHistoricalScoresPeriod"');
|
|
1127
|
-
return HistoricalScoresPeriod_possibleTypes.includes(obj.__typename);
|
|
1128
|
-
};
|
|
1129
|
-
exports.isHistoricalScoresPeriod = isHistoricalScoresPeriod;
|
|
1130
|
-
const PendingSuggestionGroup_possibleTypes = ['PendingSuggestionGroup'];
|
|
1131
|
-
const isPendingSuggestionGroup = (obj) => {
|
|
1132
|
-
if (!obj?.__typename)
|
|
1133
|
-
throw new Error('__typename is missing in "isPendingSuggestionGroup"');
|
|
1134
|
-
return PendingSuggestionGroup_possibleTypes.includes(obj.__typename);
|
|
1135
|
-
};
|
|
1136
|
-
exports.isPendingSuggestionGroup = isPendingSuggestionGroup;
|
|
1137
|
-
const StripeObject_possibleTypes = ['StripeObject'];
|
|
1138
|
-
const isStripeObject = (obj) => {
|
|
1139
|
-
if (!obj?.__typename)
|
|
1140
|
-
throw new Error('__typename is missing in "isStripeObject"');
|
|
1141
|
-
return StripeObject_possibleTypes.includes(obj.__typename);
|
|
1142
|
-
};
|
|
1143
|
-
exports.isStripeObject = isStripeObject;
|
|
1144
|
-
const BrowseCampaignsResult_possibleTypes = ['BrowseCampaignsResult'];
|
|
1145
|
-
const isBrowseCampaignsResult = (obj) => {
|
|
1146
|
-
if (!obj?.__typename)
|
|
1147
|
-
throw new Error('__typename is missing in "isBrowseCampaignsResult"');
|
|
1148
|
-
return BrowseCampaignsResult_possibleTypes.includes(obj.__typename);
|
|
1149
|
-
};
|
|
1150
|
-
exports.isBrowseCampaignsResult = isBrowseCampaignsResult;
|
|
1151
|
-
const ScoreRefreshCapability_possibleTypes = ['ScoreRefreshCapability'];
|
|
1152
|
-
const isScoreRefreshCapability = (obj) => {
|
|
1153
|
-
if (!obj?.__typename)
|
|
1154
|
-
throw new Error('__typename is missing in "isScoreRefreshCapability"');
|
|
1155
|
-
return ScoreRefreshCapability_possibleTypes.includes(obj.__typename);
|
|
1156
|
-
};
|
|
1157
|
-
exports.isScoreRefreshCapability = isScoreRefreshCapability;
|
|
1158
|
-
const CheckScoreRefreshCapabilityResponse_possibleTypes = ['CheckScoreRefreshCapabilityResponse'];
|
|
1159
|
-
const isCheckScoreRefreshCapabilityResponse = (obj) => {
|
|
1160
|
-
if (!obj?.__typename)
|
|
1161
|
-
throw new Error('__typename is missing in "isCheckScoreRefreshCapabilityResponse"');
|
|
1162
|
-
return CheckScoreRefreshCapabilityResponse_possibleTypes.includes(obj.__typename);
|
|
1163
|
-
};
|
|
1164
|
-
exports.isCheckScoreRefreshCapabilityResponse = isCheckScoreRefreshCapabilityResponse;
|
|
1165
|
-
const OnboardingProgressResponse_possibleTypes = ['OnboardingProgressResponse'];
|
|
1166
|
-
const isOnboardingProgressResponse = (obj) => {
|
|
1167
|
-
if (!obj?.__typename)
|
|
1168
|
-
throw new Error('__typename is missing in "isOnboardingProgressResponse"');
|
|
1169
|
-
return OnboardingProgressResponse_possibleTypes.includes(obj.__typename);
|
|
1170
|
-
};
|
|
1171
|
-
exports.isOnboardingProgressResponse = isOnboardingProgressResponse;
|
|
1172
|
-
const PublicIntegrationStatus_possibleTypes = ['PublicIntegrationStatus'];
|
|
1173
|
-
const isPublicIntegrationStatus = (obj) => {
|
|
1174
|
-
if (!obj?.__typename)
|
|
1175
|
-
throw new Error('__typename is missing in "isPublicIntegrationStatus"');
|
|
1176
|
-
return PublicIntegrationStatus_possibleTypes.includes(obj.__typename);
|
|
1177
|
-
};
|
|
1178
|
-
exports.isPublicIntegrationStatus = isPublicIntegrationStatus;
|
|
1179
|
-
const PaginatedSports_possibleTypes = ['PaginatedSports'];
|
|
1180
|
-
const isPaginatedSports = (obj) => {
|
|
1181
|
-
if (!obj?.__typename)
|
|
1182
|
-
throw new Error('__typename is missing in "isPaginatedSports"');
|
|
1183
|
-
return PaginatedSports_possibleTypes.includes(obj.__typename);
|
|
1184
|
-
};
|
|
1185
|
-
exports.isPaginatedSports = isPaginatedSports;
|
|
1186
|
-
const Club_possibleTypes = ['Club'];
|
|
1187
|
-
const isClub = (obj) => {
|
|
1207
|
+
const DataExportRequest_possibleTypes = ['DataExportRequest'];
|
|
1208
|
+
const isDataExportRequest = (obj) => {
|
|
1188
1209
|
if (!obj?.__typename)
|
|
1189
|
-
throw new Error('__typename is missing in "
|
|
1190
|
-
return
|
|
1210
|
+
throw new Error('__typename is missing in "isDataExportRequest"');
|
|
1211
|
+
return DataExportRequest_possibleTypes.includes(obj.__typename);
|
|
1191
1212
|
};
|
|
1192
|
-
exports.
|
|
1193
|
-
const
|
|
1194
|
-
const
|
|
1213
|
+
exports.isDataExportRequest = isDataExportRequest;
|
|
1214
|
+
const DeleteAthleteResponse_possibleTypes = ['DeleteAthleteResponse'];
|
|
1215
|
+
const isDeleteAthleteResponse = (obj) => {
|
|
1195
1216
|
if (!obj?.__typename)
|
|
1196
|
-
throw new Error('__typename is missing in "
|
|
1197
|
-
return
|
|
1217
|
+
throw new Error('__typename is missing in "isDeleteAthleteResponse"');
|
|
1218
|
+
return DeleteAthleteResponse_possibleTypes.includes(obj.__typename);
|
|
1198
1219
|
};
|
|
1199
|
-
exports.
|
|
1200
|
-
const
|
|
1201
|
-
const
|
|
1220
|
+
exports.isDeleteAthleteResponse = isDeleteAthleteResponse;
|
|
1221
|
+
const DeleteMemberResponse_possibleTypes = ['DeleteMemberResponse'];
|
|
1222
|
+
const isDeleteMemberResponse = (obj) => {
|
|
1202
1223
|
if (!obj?.__typename)
|
|
1203
|
-
throw new Error('__typename is missing in "
|
|
1204
|
-
return
|
|
1224
|
+
throw new Error('__typename is missing in "isDeleteMemberResponse"');
|
|
1225
|
+
return DeleteMemberResponse_possibleTypes.includes(obj.__typename);
|
|
1205
1226
|
};
|
|
1206
|
-
exports.
|
|
1207
|
-
const
|
|
1208
|
-
const
|
|
1227
|
+
exports.isDeleteMemberResponse = isDeleteMemberResponse;
|
|
1228
|
+
const DeleteOnboardingAthleteResponse_possibleTypes = ['DeleteOnboardingAthleteResponse'];
|
|
1229
|
+
const isDeleteOnboardingAthleteResponse = (obj) => {
|
|
1209
1230
|
if (!obj?.__typename)
|
|
1210
|
-
throw new Error('__typename is missing in "
|
|
1211
|
-
return
|
|
1231
|
+
throw new Error('__typename is missing in "isDeleteOnboardingAthleteResponse"');
|
|
1232
|
+
return DeleteOnboardingAthleteResponse_possibleTypes.includes(obj.__typename);
|
|
1212
1233
|
};
|
|
1213
|
-
exports.
|
|
1214
|
-
const
|
|
1215
|
-
const
|
|
1234
|
+
exports.isDeleteOnboardingAthleteResponse = isDeleteOnboardingAthleteResponse;
|
|
1235
|
+
const DeleteSingleValueResponse_possibleTypes = ['DeleteSingleValueResponse'];
|
|
1236
|
+
const isDeleteSingleValueResponse = (obj) => {
|
|
1216
1237
|
if (!obj?.__typename)
|
|
1217
|
-
throw new Error('__typename is missing in "
|
|
1218
|
-
return
|
|
1238
|
+
throw new Error('__typename is missing in "isDeleteSingleValueResponse"');
|
|
1239
|
+
return DeleteSingleValueResponse_possibleTypes.includes(obj.__typename);
|
|
1219
1240
|
};
|
|
1220
|
-
exports.
|
|
1221
|
-
const
|
|
1222
|
-
const
|
|
1241
|
+
exports.isDeleteSingleValueResponse = isDeleteSingleValueResponse;
|
|
1242
|
+
const DeleteValuesResponse_possibleTypes = ['DeleteValuesResponse'];
|
|
1243
|
+
const isDeleteValuesResponse = (obj) => {
|
|
1223
1244
|
if (!obj?.__typename)
|
|
1224
|
-
throw new Error('__typename is missing in "
|
|
1225
|
-
return
|
|
1245
|
+
throw new Error('__typename is missing in "isDeleteValuesResponse"');
|
|
1246
|
+
return DeleteValuesResponse_possibleTypes.includes(obj.__typename);
|
|
1226
1247
|
};
|
|
1227
|
-
exports.
|
|
1248
|
+
exports.isDeleteValuesResponse = isDeleteValuesResponse;
|
|
1228
1249
|
const DeleteVtxUserResponse_possibleTypes = ['DeleteVtxUserResponse'];
|
|
1229
1250
|
const isDeleteVtxUserResponse = (obj) => {
|
|
1230
1251
|
if (!obj?.__typename)
|
|
@@ -1232,146 +1253,125 @@ const isDeleteVtxUserResponse = (obj) => {
|
|
|
1232
1253
|
return DeleteVtxUserResponse_possibleTypes.includes(obj.__typename);
|
|
1233
1254
|
};
|
|
1234
1255
|
exports.isDeleteVtxUserResponse = isDeleteVtxUserResponse;
|
|
1235
|
-
const
|
|
1236
|
-
const
|
|
1237
|
-
if (!obj?.__typename)
|
|
1238
|
-
throw new Error('__typename is missing in "isAdminDeviceToken"');
|
|
1239
|
-
return AdminDeviceToken_possibleTypes.includes(obj.__typename);
|
|
1240
|
-
};
|
|
1241
|
-
exports.isAdminDeviceToken = isAdminDeviceToken;
|
|
1242
|
-
const AdminNotificationStatus_possibleTypes = ['AdminNotificationStatus'];
|
|
1243
|
-
const isAdminNotificationStatus = (obj) => {
|
|
1244
|
-
if (!obj?.__typename)
|
|
1245
|
-
throw new Error('__typename is missing in "isAdminNotificationStatus"');
|
|
1246
|
-
return AdminNotificationStatus_possibleTypes.includes(obj.__typename);
|
|
1247
|
-
};
|
|
1248
|
-
exports.isAdminNotificationStatus = isAdminNotificationStatus;
|
|
1249
|
-
const AdminStravaIntegration_possibleTypes = ['AdminStravaIntegration'];
|
|
1250
|
-
const isAdminStravaIntegration = (obj) => {
|
|
1251
|
-
if (!obj?.__typename)
|
|
1252
|
-
throw new Error('__typename is missing in "isAdminStravaIntegration"');
|
|
1253
|
-
return AdminStravaIntegration_possibleTypes.includes(obj.__typename);
|
|
1254
|
-
};
|
|
1255
|
-
exports.isAdminStravaIntegration = isAdminStravaIntegration;
|
|
1256
|
-
const AdminInstagramIntegration_possibleTypes = ['AdminInstagramIntegration'];
|
|
1257
|
-
const isAdminInstagramIntegration = (obj) => {
|
|
1256
|
+
const DeviceTokenType_possibleTypes = ['DeviceTokenType'];
|
|
1257
|
+
const isDeviceTokenType = (obj) => {
|
|
1258
1258
|
if (!obj?.__typename)
|
|
1259
|
-
throw new Error('__typename is missing in "
|
|
1260
|
-
return
|
|
1259
|
+
throw new Error('__typename is missing in "isDeviceTokenType"');
|
|
1260
|
+
return DeviceTokenType_possibleTypes.includes(obj.__typename);
|
|
1261
1261
|
};
|
|
1262
|
-
exports.
|
|
1263
|
-
const
|
|
1264
|
-
const
|
|
1262
|
+
exports.isDeviceTokenType = isDeviceTokenType;
|
|
1263
|
+
const DonationThankYou_possibleTypes = ['DonationThankYou'];
|
|
1264
|
+
const isDonationThankYou = (obj) => {
|
|
1265
1265
|
if (!obj?.__typename)
|
|
1266
|
-
throw new Error('__typename is missing in "
|
|
1267
|
-
return
|
|
1266
|
+
throw new Error('__typename is missing in "isDonationThankYou"');
|
|
1267
|
+
return DonationThankYou_possibleTypes.includes(obj.__typename);
|
|
1268
1268
|
};
|
|
1269
|
-
exports.
|
|
1270
|
-
const
|
|
1271
|
-
const
|
|
1269
|
+
exports.isDonationThankYou = isDonationThankYou;
|
|
1270
|
+
const EditPictureResponse_possibleTypes = ['EditPictureResponse'];
|
|
1271
|
+
const isEditPictureResponse = (obj) => {
|
|
1272
1272
|
if (!obj?.__typename)
|
|
1273
|
-
throw new Error('__typename is missing in "
|
|
1274
|
-
return
|
|
1273
|
+
throw new Error('__typename is missing in "isEditPictureResponse"');
|
|
1274
|
+
return EditPictureResponse_possibleTypes.includes(obj.__typename);
|
|
1275
1275
|
};
|
|
1276
|
-
exports.
|
|
1277
|
-
const
|
|
1278
|
-
const
|
|
1276
|
+
exports.isEditPictureResponse = isEditPictureResponse;
|
|
1277
|
+
const EditValueResponse_possibleTypes = ['EditValueResponse'];
|
|
1278
|
+
const isEditValueResponse = (obj) => {
|
|
1279
1279
|
if (!obj?.__typename)
|
|
1280
|
-
throw new Error('__typename is missing in "
|
|
1281
|
-
return
|
|
1280
|
+
throw new Error('__typename is missing in "isEditValueResponse"');
|
|
1281
|
+
return EditValueResponse_possibleTypes.includes(obj.__typename);
|
|
1282
1282
|
};
|
|
1283
|
-
exports.
|
|
1284
|
-
const
|
|
1285
|
-
const
|
|
1283
|
+
exports.isEditValueResponse = isEditValueResponse;
|
|
1284
|
+
const EligibilityResult_possibleTypes = ['EligibilityResult'];
|
|
1285
|
+
const isEligibilityResult = (obj) => {
|
|
1286
1286
|
if (!obj?.__typename)
|
|
1287
|
-
throw new Error('__typename is missing in "
|
|
1288
|
-
return
|
|
1287
|
+
throw new Error('__typename is missing in "isEligibilityResult"');
|
|
1288
|
+
return EligibilityResult_possibleTypes.includes(obj.__typename);
|
|
1289
1289
|
};
|
|
1290
|
-
exports.
|
|
1291
|
-
const
|
|
1292
|
-
const
|
|
1290
|
+
exports.isEligibilityResult = isEligibilityResult;
|
|
1291
|
+
const EmailCampaignDelivery_possibleTypes = ['EmailCampaignDelivery'];
|
|
1292
|
+
const isEmailCampaignDelivery = (obj) => {
|
|
1293
1293
|
if (!obj?.__typename)
|
|
1294
|
-
throw new Error('__typename is missing in "
|
|
1295
|
-
return
|
|
1294
|
+
throw new Error('__typename is missing in "isEmailCampaignDelivery"');
|
|
1295
|
+
return EmailCampaignDelivery_possibleTypes.includes(obj.__typename);
|
|
1296
1296
|
};
|
|
1297
|
-
exports.
|
|
1298
|
-
const
|
|
1299
|
-
const
|
|
1297
|
+
exports.isEmailCampaignDelivery = isEmailCampaignDelivery;
|
|
1298
|
+
const EmailSegment_possibleTypes = ['EmailSegment'];
|
|
1299
|
+
const isEmailSegment = (obj) => {
|
|
1300
1300
|
if (!obj?.__typename)
|
|
1301
|
-
throw new Error('__typename is missing in "
|
|
1302
|
-
return
|
|
1301
|
+
throw new Error('__typename is missing in "isEmailSegment"');
|
|
1302
|
+
return EmailSegment_possibleTypes.includes(obj.__typename);
|
|
1303
1303
|
};
|
|
1304
|
-
exports.
|
|
1305
|
-
const
|
|
1306
|
-
const
|
|
1304
|
+
exports.isEmailSegment = isEmailSegment;
|
|
1305
|
+
const EmailCampaign_possibleTypes = ['EmailCampaign'];
|
|
1306
|
+
const isEmailCampaign = (obj) => {
|
|
1307
1307
|
if (!obj?.__typename)
|
|
1308
|
-
throw new Error('__typename is missing in "
|
|
1309
|
-
return
|
|
1308
|
+
throw new Error('__typename is missing in "isEmailCampaign"');
|
|
1309
|
+
return EmailCampaign_possibleTypes.includes(obj.__typename);
|
|
1310
1310
|
};
|
|
1311
|
-
exports.
|
|
1312
|
-
const
|
|
1313
|
-
const
|
|
1311
|
+
exports.isEmailCampaign = isEmailCampaign;
|
|
1312
|
+
const EmailCampaignPage_possibleTypes = ['EmailCampaignPage'];
|
|
1313
|
+
const isEmailCampaignPage = (obj) => {
|
|
1314
1314
|
if (!obj?.__typename)
|
|
1315
|
-
throw new Error('__typename is missing in "
|
|
1316
|
-
return
|
|
1315
|
+
throw new Error('__typename is missing in "isEmailCampaignPage"');
|
|
1316
|
+
return EmailCampaignPage_possibleTypes.includes(obj.__typename);
|
|
1317
1317
|
};
|
|
1318
|
-
exports.
|
|
1319
|
-
const
|
|
1320
|
-
const
|
|
1318
|
+
exports.isEmailCampaignPage = isEmailCampaignPage;
|
|
1319
|
+
const ExistValueResponse_possibleTypes = ['ExistValueResponse'];
|
|
1320
|
+
const isExistValueResponse = (obj) => {
|
|
1321
1321
|
if (!obj?.__typename)
|
|
1322
|
-
throw new Error('__typename is missing in "
|
|
1323
|
-
return
|
|
1322
|
+
throw new Error('__typename is missing in "isExistValueResponse"');
|
|
1323
|
+
return ExistValueResponse_possibleTypes.includes(obj.__typename);
|
|
1324
1324
|
};
|
|
1325
|
-
exports.
|
|
1326
|
-
const
|
|
1327
|
-
const
|
|
1325
|
+
exports.isExistValueResponse = isExistValueResponse;
|
|
1326
|
+
const FollowedAthleteInfo_possibleTypes = ['FollowedAthleteInfo'];
|
|
1327
|
+
const isFollowedAthleteInfo = (obj) => {
|
|
1328
1328
|
if (!obj?.__typename)
|
|
1329
|
-
throw new Error('__typename is missing in "
|
|
1330
|
-
return
|
|
1329
|
+
throw new Error('__typename is missing in "isFollowedAthleteInfo"');
|
|
1330
|
+
return FollowedAthleteInfo_possibleTypes.includes(obj.__typename);
|
|
1331
1331
|
};
|
|
1332
|
-
exports.
|
|
1333
|
-
const
|
|
1334
|
-
const
|
|
1332
|
+
exports.isFollowedAthleteInfo = isFollowedAthleteInfo;
|
|
1333
|
+
const FollowedAthletesListResponse_possibleTypes = ['FollowedAthletesListResponse'];
|
|
1334
|
+
const isFollowedAthletesListResponse = (obj) => {
|
|
1335
1335
|
if (!obj?.__typename)
|
|
1336
|
-
throw new Error('__typename is missing in "
|
|
1337
|
-
return
|
|
1336
|
+
throw new Error('__typename is missing in "isFollowedAthletesListResponse"');
|
|
1337
|
+
return FollowedAthletesListResponse_possibleTypes.includes(obj.__typename);
|
|
1338
1338
|
};
|
|
1339
|
-
exports.
|
|
1340
|
-
const
|
|
1341
|
-
const
|
|
1339
|
+
exports.isFollowedAthletesListResponse = isFollowedAthletesListResponse;
|
|
1340
|
+
const IsFollowingResponse_possibleTypes = ['IsFollowingResponse'];
|
|
1341
|
+
const isIsFollowingResponse = (obj) => {
|
|
1342
1342
|
if (!obj?.__typename)
|
|
1343
|
-
throw new Error('__typename is missing in "
|
|
1344
|
-
return
|
|
1343
|
+
throw new Error('__typename is missing in "isIsFollowingResponse"');
|
|
1344
|
+
return IsFollowingResponse_possibleTypes.includes(obj.__typename);
|
|
1345
1345
|
};
|
|
1346
|
-
exports.
|
|
1347
|
-
const
|
|
1348
|
-
const
|
|
1346
|
+
exports.isIsFollowingResponse = isIsFollowingResponse;
|
|
1347
|
+
const ScoreRefreshDetail_possibleTypes = ['ScoreRefreshDetail'];
|
|
1348
|
+
const isScoreRefreshDetail = (obj) => {
|
|
1349
1349
|
if (!obj?.__typename)
|
|
1350
|
-
throw new Error('__typename is missing in "
|
|
1351
|
-
return
|
|
1350
|
+
throw new Error('__typename is missing in "isScoreRefreshDetail"');
|
|
1351
|
+
return ScoreRefreshDetail_possibleTypes.includes(obj.__typename);
|
|
1352
1352
|
};
|
|
1353
|
-
exports.
|
|
1354
|
-
const
|
|
1355
|
-
const
|
|
1353
|
+
exports.isScoreRefreshDetail = isScoreRefreshDetail;
|
|
1354
|
+
const RefreshDiagnostics_possibleTypes = ['RefreshDiagnostics'];
|
|
1355
|
+
const isRefreshDiagnostics = (obj) => {
|
|
1356
1356
|
if (!obj?.__typename)
|
|
1357
|
-
throw new Error('__typename is missing in "
|
|
1358
|
-
return
|
|
1357
|
+
throw new Error('__typename is missing in "isRefreshDiagnostics"');
|
|
1358
|
+
return RefreshDiagnostics_possibleTypes.includes(obj.__typename);
|
|
1359
1359
|
};
|
|
1360
|
-
exports.
|
|
1361
|
-
const
|
|
1362
|
-
const
|
|
1360
|
+
exports.isRefreshDiagnostics = isRefreshDiagnostics;
|
|
1361
|
+
const ForceScoreRefreshResult_possibleTypes = ['ForceScoreRefreshResult'];
|
|
1362
|
+
const isForceScoreRefreshResult = (obj) => {
|
|
1363
1363
|
if (!obj?.__typename)
|
|
1364
|
-
throw new Error('__typename is missing in "
|
|
1365
|
-
return
|
|
1364
|
+
throw new Error('__typename is missing in "isForceScoreRefreshResult"');
|
|
1365
|
+
return ForceScoreRefreshResult_possibleTypes.includes(obj.__typename);
|
|
1366
1366
|
};
|
|
1367
|
-
exports.
|
|
1368
|
-
const
|
|
1369
|
-
const
|
|
1367
|
+
exports.isForceScoreRefreshResult = isForceScoreRefreshResult;
|
|
1368
|
+
const ForceScoreRefreshResponse_possibleTypes = ['ForceScoreRefreshResponse'];
|
|
1369
|
+
const isForceScoreRefreshResponse = (obj) => {
|
|
1370
1370
|
if (!obj?.__typename)
|
|
1371
|
-
throw new Error('__typename is missing in "
|
|
1372
|
-
return
|
|
1371
|
+
throw new Error('__typename is missing in "isForceScoreRefreshResponse"');
|
|
1372
|
+
return ForceScoreRefreshResponse_possibleTypes.includes(obj.__typename);
|
|
1373
1373
|
};
|
|
1374
|
-
exports.
|
|
1374
|
+
exports.isForceScoreRefreshResponse = isForceScoreRefreshResponse;
|
|
1375
1375
|
const DonationDates_possibleTypes = ['DonationDates'];
|
|
1376
1376
|
const isDonationDates = (obj) => {
|
|
1377
1377
|
if (!obj?.__typename)
|
|
@@ -1379,6 +1379,13 @@ const isDonationDates = (obj) => {
|
|
|
1379
1379
|
return DonationDates_possibleTypes.includes(obj.__typename);
|
|
1380
1380
|
};
|
|
1381
1381
|
exports.isDonationDates = isDonationDates;
|
|
1382
|
+
const EnhancedPaginationInfoType_possibleTypes = ['EnhancedPaginationInfoType'];
|
|
1383
|
+
const isEnhancedPaginationInfoType = (obj) => {
|
|
1384
|
+
if (!obj?.__typename)
|
|
1385
|
+
throw new Error('__typename is missing in "isEnhancedPaginationInfoType"');
|
|
1386
|
+
return EnhancedPaginationInfoType_possibleTypes.includes(obj.__typename);
|
|
1387
|
+
};
|
|
1388
|
+
exports.isEnhancedPaginationInfoType = isEnhancedPaginationInfoType;
|
|
1382
1389
|
const PaginatedDonations_possibleTypes = ['PaginatedDonations'];
|
|
1383
1390
|
const isPaginatedDonations = (obj) => {
|
|
1384
1391
|
if (!obj?.__typename)
|
|
@@ -1386,69 +1393,20 @@ const isPaginatedDonations = (obj) => {
|
|
|
1386
1393
|
return PaginatedDonations_possibleTypes.includes(obj.__typename);
|
|
1387
1394
|
};
|
|
1388
1395
|
exports.isPaginatedDonations = isPaginatedDonations;
|
|
1389
|
-
const
|
|
1390
|
-
const
|
|
1391
|
-
if (!obj?.__typename)
|
|
1392
|
-
throw new Error('__typename is missing in "isDonationThankYou"');
|
|
1393
|
-
return DonationThankYou_possibleTypes.includes(obj.__typename);
|
|
1394
|
-
};
|
|
1395
|
-
exports.isDonationThankYou = isDonationThankYou;
|
|
1396
|
-
const CurrencyAmountType_possibleTypes = ['CurrencyAmountType'];
|
|
1397
|
-
const isCurrencyAmountType = (obj) => {
|
|
1398
|
-
if (!obj?.__typename)
|
|
1399
|
-
throw new Error('__typename is missing in "isCurrencyAmountType"');
|
|
1400
|
-
return CurrencyAmountType_possibleTypes.includes(obj.__typename);
|
|
1401
|
-
};
|
|
1402
|
-
exports.isCurrencyAmountType = isCurrencyAmountType;
|
|
1403
|
-
const StripeBalance_possibleTypes = ['StripeBalance'];
|
|
1404
|
-
const isStripeBalance = (obj) => {
|
|
1405
|
-
if (!obj?.__typename)
|
|
1406
|
-
throw new Error('__typename is missing in "isStripeBalance"');
|
|
1407
|
-
return StripeBalance_possibleTypes.includes(obj.__typename);
|
|
1408
|
-
};
|
|
1409
|
-
exports.isStripeBalance = isStripeBalance;
|
|
1410
|
-
const StripeTransfer_possibleTypes = ['StripeTransfer'];
|
|
1411
|
-
const isStripeTransfer = (obj) => {
|
|
1412
|
-
if (!obj?.__typename)
|
|
1413
|
-
throw new Error('__typename is missing in "isStripeTransfer"');
|
|
1414
|
-
return StripeTransfer_possibleTypes.includes(obj.__typename);
|
|
1415
|
-
};
|
|
1416
|
-
exports.isStripeTransfer = isStripeTransfer;
|
|
1417
|
-
const UserDomain_possibleTypes = ['UserDomain'];
|
|
1418
|
-
const isUserDomain = (obj) => {
|
|
1419
|
-
if (!obj?.__typename)
|
|
1420
|
-
throw new Error('__typename is missing in "isUserDomain"');
|
|
1421
|
-
return UserDomain_possibleTypes.includes(obj.__typename);
|
|
1422
|
-
};
|
|
1423
|
-
exports.isUserDomain = isUserDomain;
|
|
1424
|
-
const PaginatedTransactions_possibleTypes = ['PaginatedTransactions'];
|
|
1425
|
-
const isPaginatedTransactions = (obj) => {
|
|
1426
|
-
if (!obj?.__typename)
|
|
1427
|
-
throw new Error('__typename is missing in "isPaginatedTransactions"');
|
|
1428
|
-
return PaginatedTransactions_possibleTypes.includes(obj.__typename);
|
|
1429
|
-
};
|
|
1430
|
-
exports.isPaginatedTransactions = isPaginatedTransactions;
|
|
1431
|
-
const PaginatedOffers_possibleTypes = ['PaginatedOffers'];
|
|
1432
|
-
const isPaginatedOffers = (obj) => {
|
|
1433
|
-
if (!obj?.__typename)
|
|
1434
|
-
throw new Error('__typename is missing in "isPaginatedOffers"');
|
|
1435
|
-
return PaginatedOffers_possibleTypes.includes(obj.__typename);
|
|
1436
|
-
};
|
|
1437
|
-
exports.isPaginatedOffers = isPaginatedOffers;
|
|
1438
|
-
const UploadResult_possibleTypes = ['UploadResult'];
|
|
1439
|
-
const isUploadResult = (obj) => {
|
|
1396
|
+
const FundingCheckoutSessionData_possibleTypes = ['FundingCheckoutSessionData'];
|
|
1397
|
+
const isFundingCheckoutSessionData = (obj) => {
|
|
1440
1398
|
if (!obj?.__typename)
|
|
1441
|
-
throw new Error('__typename is missing in "
|
|
1442
|
-
return
|
|
1399
|
+
throw new Error('__typename is missing in "isFundingCheckoutSessionData"');
|
|
1400
|
+
return FundingCheckoutSessionData_possibleTypes.includes(obj.__typename);
|
|
1443
1401
|
};
|
|
1444
|
-
exports.
|
|
1445
|
-
const
|
|
1446
|
-
const
|
|
1402
|
+
exports.isFundingCheckoutSessionData = isFundingCheckoutSessionData;
|
|
1403
|
+
const HistoricalScoresPeriod_possibleTypes = ['HistoricalScoresPeriod'];
|
|
1404
|
+
const isHistoricalScoresPeriod = (obj) => {
|
|
1447
1405
|
if (!obj?.__typename)
|
|
1448
|
-
throw new Error('__typename is missing in "
|
|
1449
|
-
return
|
|
1406
|
+
throw new Error('__typename is missing in "isHistoricalScoresPeriod"');
|
|
1407
|
+
return HistoricalScoresPeriod_possibleTypes.includes(obj.__typename);
|
|
1450
1408
|
};
|
|
1451
|
-
exports.
|
|
1409
|
+
exports.isHistoricalScoresPeriod = isHistoricalScoresPeriod;
|
|
1452
1410
|
const LeaderboardEntry_possibleTypes = ['LeaderboardEntry'];
|
|
1453
1411
|
const isLeaderboardEntry = (obj) => {
|
|
1454
1412
|
if (!obj?.__typename)
|
|
@@ -1456,13 +1414,6 @@ const isLeaderboardEntry = (obj) => {
|
|
|
1456
1414
|
return LeaderboardEntry_possibleTypes.includes(obj.__typename);
|
|
1457
1415
|
};
|
|
1458
1416
|
exports.isLeaderboardEntry = isLeaderboardEntry;
|
|
1459
|
-
const LeaderboardPagination_possibleTypes = ['LeaderboardPagination'];
|
|
1460
|
-
const isLeaderboardPagination = (obj) => {
|
|
1461
|
-
if (!obj?.__typename)
|
|
1462
|
-
throw new Error('__typename is missing in "isLeaderboardPagination"');
|
|
1463
|
-
return LeaderboardPagination_possibleTypes.includes(obj.__typename);
|
|
1464
|
-
};
|
|
1465
|
-
exports.isLeaderboardPagination = isLeaderboardPagination;
|
|
1466
1417
|
const LeaderboardFilters_possibleTypes = ['LeaderboardFilters'];
|
|
1467
1418
|
const isLeaderboardFilters = (obj) => {
|
|
1468
1419
|
if (!obj?.__typename)
|
|
@@ -1470,6 +1421,13 @@ const isLeaderboardFilters = (obj) => {
|
|
|
1470
1421
|
return LeaderboardFilters_possibleTypes.includes(obj.__typename);
|
|
1471
1422
|
};
|
|
1472
1423
|
exports.isLeaderboardFilters = isLeaderboardFilters;
|
|
1424
|
+
const LeaderboardPagination_possibleTypes = ['LeaderboardPagination'];
|
|
1425
|
+
const isLeaderboardPagination = (obj) => {
|
|
1426
|
+
if (!obj?.__typename)
|
|
1427
|
+
throw new Error('__typename is missing in "isLeaderboardPagination"');
|
|
1428
|
+
return LeaderboardPagination_possibleTypes.includes(obj.__typename);
|
|
1429
|
+
};
|
|
1430
|
+
exports.isLeaderboardPagination = isLeaderboardPagination;
|
|
1473
1431
|
const LeaderboardResponse_possibleTypes = ['LeaderboardResponse'];
|
|
1474
1432
|
const isLeaderboardResponse = (obj) => {
|
|
1475
1433
|
if (!obj?.__typename)
|
|
@@ -1482,127 +1440,22 @@ const isUserRank = (obj) => {
|
|
|
1482
1440
|
if (!obj?.__typename)
|
|
1483
1441
|
throw new Error('__typename is missing in "isUserRank"');
|
|
1484
1442
|
return UserRank_possibleTypes.includes(obj.__typename);
|
|
1485
|
-
};
|
|
1486
|
-
exports.isUserRank = isUserRank;
|
|
1487
|
-
const
|
|
1488
|
-
const
|
|
1489
|
-
if (!obj?.__typename)
|
|
1490
|
-
throw new Error('__typename is missing in "isDashboardSummary"');
|
|
1491
|
-
return DashboardSummary_possibleTypes.includes(obj.__typename);
|
|
1492
|
-
};
|
|
1493
|
-
exports.isDashboardSummary = isDashboardSummary;
|
|
1494
|
-
const ScoreHistoryEntry_possibleTypes = ['ScoreHistoryEntry'];
|
|
1495
|
-
const isScoreHistoryEntry = (obj) => {
|
|
1496
|
-
if (!obj?.__typename)
|
|
1497
|
-
throw new Error('__typename is missing in "isScoreHistoryEntry"');
|
|
1498
|
-
return ScoreHistoryEntry_possibleTypes.includes(obj.__typename);
|
|
1499
|
-
};
|
|
1500
|
-
exports.isScoreHistoryEntry = isScoreHistoryEntry;
|
|
1501
|
-
const RankHistoryEntry_possibleTypes = ['RankHistoryEntry'];
|
|
1502
|
-
const isRankHistoryEntry = (obj) => {
|
|
1503
|
-
if (!obj?.__typename)
|
|
1504
|
-
throw new Error('__typename is missing in "isRankHistoryEntry"');
|
|
1505
|
-
return RankHistoryEntry_possibleTypes.includes(obj.__typename);
|
|
1506
|
-
};
|
|
1507
|
-
exports.isRankHistoryEntry = isRankHistoryEntry;
|
|
1508
|
-
const RankContext_possibleTypes = ['RankContext'];
|
|
1509
|
-
const isRankContext = (obj) => {
|
|
1510
|
-
if (!obj?.__typename)
|
|
1511
|
-
throw new Error('__typename is missing in "isRankContext"');
|
|
1512
|
-
return RankContext_possibleTypes.includes(obj.__typename);
|
|
1513
|
-
};
|
|
1514
|
-
exports.isRankContext = isRankContext;
|
|
1515
|
-
const ActivityEntry_possibleTypes = ['ActivityEntry'];
|
|
1516
|
-
const isActivityEntry = (obj) => {
|
|
1517
|
-
if (!obj?.__typename)
|
|
1518
|
-
throw new Error('__typename is missing in "isActivityEntry"');
|
|
1519
|
-
return ActivityEntry_possibleTypes.includes(obj.__typename);
|
|
1520
|
-
};
|
|
1521
|
-
exports.isActivityEntry = isActivityEntry;
|
|
1522
|
-
const ActivitiesResponse_possibleTypes = ['ActivitiesResponse'];
|
|
1523
|
-
const isActivitiesResponse = (obj) => {
|
|
1524
|
-
if (!obj?.__typename)
|
|
1525
|
-
throw new Error('__typename is missing in "isActivitiesResponse"');
|
|
1526
|
-
return ActivitiesResponse_possibleTypes.includes(obj.__typename);
|
|
1527
|
-
};
|
|
1528
|
-
exports.isActivitiesResponse = isActivitiesResponse;
|
|
1529
|
-
const MetricComparison_possibleTypes = ['MetricComparison'];
|
|
1530
|
-
const isMetricComparison = (obj) => {
|
|
1531
|
-
if (!obj?.__typename)
|
|
1532
|
-
throw new Error('__typename is missing in "isMetricComparison"');
|
|
1533
|
-
return MetricComparison_possibleTypes.includes(obj.__typename);
|
|
1534
|
-
};
|
|
1535
|
-
exports.isMetricComparison = isMetricComparison;
|
|
1536
|
-
const ScoreInfo_possibleTypes = ['ScoreInfo'];
|
|
1537
|
-
const isScoreInfo = (obj) => {
|
|
1538
|
-
if (!obj?.__typename)
|
|
1539
|
-
throw new Error('__typename is missing in "isScoreInfo"');
|
|
1540
|
-
return ScoreInfo_possibleTypes.includes(obj.__typename);
|
|
1541
|
-
};
|
|
1542
|
-
exports.isScoreInfo = isScoreInfo;
|
|
1543
|
-
const ActivityDetail_possibleTypes = ['ActivityDetail'];
|
|
1544
|
-
const isActivityDetail = (obj) => {
|
|
1545
|
-
if (!obj?.__typename)
|
|
1546
|
-
throw new Error('__typename is missing in "isActivityDetail"');
|
|
1547
|
-
return ActivityDetail_possibleTypes.includes(obj.__typename);
|
|
1548
|
-
};
|
|
1549
|
-
exports.isActivityDetail = isActivityDetail;
|
|
1550
|
-
const TopMetric_possibleTypes = ['TopMetric'];
|
|
1551
|
-
const isTopMetric = (obj) => {
|
|
1552
|
-
if (!obj?.__typename)
|
|
1553
|
-
throw new Error('__typename is missing in "isTopMetric"');
|
|
1554
|
-
return TopMetric_possibleTypes.includes(obj.__typename);
|
|
1555
|
-
};
|
|
1556
|
-
exports.isTopMetric = isTopMetric;
|
|
1557
|
-
const ComponentSummary_possibleTypes = ['ComponentSummary'];
|
|
1558
|
-
const isComponentSummary = (obj) => {
|
|
1559
|
-
if (!obj?.__typename)
|
|
1560
|
-
throw new Error('__typename is missing in "isComponentSummary"');
|
|
1561
|
-
return ComponentSummary_possibleTypes.includes(obj.__typename);
|
|
1562
|
-
};
|
|
1563
|
-
exports.isComponentSummary = isComponentSummary;
|
|
1564
|
-
const ActivityDateEntry_possibleTypes = ['ActivityDateEntry'];
|
|
1565
|
-
const isActivityDateEntry = (obj) => {
|
|
1566
|
-
if (!obj?.__typename)
|
|
1567
|
-
throw new Error('__typename is missing in "isActivityDateEntry"');
|
|
1568
|
-
return ActivityDateEntry_possibleTypes.includes(obj.__typename);
|
|
1569
|
-
};
|
|
1570
|
-
exports.isActivityDateEntry = isActivityDateEntry;
|
|
1571
|
-
const ActivityDatesResponse_possibleTypes = ['ActivityDatesResponse'];
|
|
1572
|
-
const isActivityDatesResponse = (obj) => {
|
|
1573
|
-
if (!obj?.__typename)
|
|
1574
|
-
throw new Error('__typename is missing in "isActivityDatesResponse"');
|
|
1575
|
-
return ActivityDatesResponse_possibleTypes.includes(obj.__typename);
|
|
1576
|
-
};
|
|
1577
|
-
exports.isActivityDatesResponse = isActivityDatesResponse;
|
|
1578
|
-
const SocialAggregateType_possibleTypes = ['SocialAggregateType'];
|
|
1579
|
-
const isSocialAggregateType = (obj) => {
|
|
1580
|
-
if (!obj?.__typename)
|
|
1581
|
-
throw new Error('__typename is missing in "isSocialAggregateType"');
|
|
1582
|
-
return SocialAggregateType_possibleTypes.includes(obj.__typename);
|
|
1583
|
-
};
|
|
1584
|
-
exports.isSocialAggregateType = isSocialAggregateType;
|
|
1585
|
-
const PostMetricType_possibleTypes = ['PostMetricType'];
|
|
1586
|
-
const isPostMetricType = (obj) => {
|
|
1587
|
-
if (!obj?.__typename)
|
|
1588
|
-
throw new Error('__typename is missing in "isPostMetricType"');
|
|
1589
|
-
return PostMetricType_possibleTypes.includes(obj.__typename);
|
|
1590
|
-
};
|
|
1591
|
-
exports.isPostMetricType = isPostMetricType;
|
|
1592
|
-
const AveragesType_possibleTypes = ['AveragesType'];
|
|
1593
|
-
const isAveragesType = (obj) => {
|
|
1443
|
+
};
|
|
1444
|
+
exports.isUserRank = isUserRank;
|
|
1445
|
+
const MergeEventsResponse_possibleTypes = ['MergeEventsResponse'];
|
|
1446
|
+
const isMergeEventsResponse = (obj) => {
|
|
1594
1447
|
if (!obj?.__typename)
|
|
1595
|
-
throw new Error('__typename is missing in "
|
|
1596
|
-
return
|
|
1448
|
+
throw new Error('__typename is missing in "isMergeEventsResponse"');
|
|
1449
|
+
return MergeEventsResponse_possibleTypes.includes(obj.__typename);
|
|
1597
1450
|
};
|
|
1598
|
-
exports.
|
|
1599
|
-
const
|
|
1600
|
-
const
|
|
1451
|
+
exports.isMergeEventsResponse = isMergeEventsResponse;
|
|
1452
|
+
const NotificationPreference_possibleTypes = ['NotificationPreference'];
|
|
1453
|
+
const isNotificationPreference = (obj) => {
|
|
1601
1454
|
if (!obj?.__typename)
|
|
1602
|
-
throw new Error('__typename is missing in "
|
|
1603
|
-
return
|
|
1455
|
+
throw new Error('__typename is missing in "isNotificationPreference"');
|
|
1456
|
+
return NotificationPreference_possibleTypes.includes(obj.__typename);
|
|
1604
1457
|
};
|
|
1605
|
-
exports.
|
|
1458
|
+
exports.isNotificationPreference = isNotificationPreference;
|
|
1606
1459
|
const Notification_possibleTypes = ['Notification'];
|
|
1607
1460
|
const isNotification = (obj) => {
|
|
1608
1461
|
if (!obj?.__typename)
|
|
@@ -1624,97 +1477,146 @@ const isUnreadCountResponse = (obj) => {
|
|
|
1624
1477
|
return UnreadCountResponse_possibleTypes.includes(obj.__typename);
|
|
1625
1478
|
};
|
|
1626
1479
|
exports.isUnreadCountResponse = isUnreadCountResponse;
|
|
1627
|
-
const
|
|
1628
|
-
const
|
|
1480
|
+
const OfferAvailability_possibleTypes = ['OfferAvailability'];
|
|
1481
|
+
const isOfferAvailability = (obj) => {
|
|
1629
1482
|
if (!obj?.__typename)
|
|
1630
|
-
throw new Error('__typename is missing in "
|
|
1631
|
-
return
|
|
1483
|
+
throw new Error('__typename is missing in "isOfferAvailability"');
|
|
1484
|
+
return OfferAvailability_possibleTypes.includes(obj.__typename);
|
|
1632
1485
|
};
|
|
1633
|
-
exports.
|
|
1634
|
-
const
|
|
1635
|
-
const
|
|
1486
|
+
exports.isOfferAvailability = isOfferAvailability;
|
|
1487
|
+
const Offer_possibleTypes = ['Offer'];
|
|
1488
|
+
const isOffer = (obj) => {
|
|
1636
1489
|
if (!obj?.__typename)
|
|
1637
|
-
throw new Error('__typename is missing in "
|
|
1638
|
-
return
|
|
1490
|
+
throw new Error('__typename is missing in "isOffer"');
|
|
1491
|
+
return Offer_possibleTypes.includes(obj.__typename);
|
|
1639
1492
|
};
|
|
1640
|
-
exports.
|
|
1641
|
-
const
|
|
1642
|
-
const
|
|
1493
|
+
exports.isOffer = isOffer;
|
|
1494
|
+
const Promotion_possibleTypes = ['Promotion'];
|
|
1495
|
+
const isPromotion = (obj) => {
|
|
1643
1496
|
if (!obj?.__typename)
|
|
1644
|
-
throw new Error('__typename is missing in "
|
|
1645
|
-
return
|
|
1497
|
+
throw new Error('__typename is missing in "isPromotion"');
|
|
1498
|
+
return Promotion_possibleTypes.includes(obj.__typename);
|
|
1646
1499
|
};
|
|
1647
|
-
exports.
|
|
1648
|
-
const
|
|
1649
|
-
const
|
|
1500
|
+
exports.isPromotion = isPromotion;
|
|
1501
|
+
const CouponCode_possibleTypes = ['CouponCode'];
|
|
1502
|
+
const isCouponCode = (obj) => {
|
|
1650
1503
|
if (!obj?.__typename)
|
|
1651
|
-
throw new Error('__typename is missing in "
|
|
1652
|
-
return
|
|
1504
|
+
throw new Error('__typename is missing in "isCouponCode"');
|
|
1505
|
+
return CouponCode_possibleTypes.includes(obj.__typename);
|
|
1653
1506
|
};
|
|
1654
|
-
exports.
|
|
1655
|
-
const
|
|
1656
|
-
const
|
|
1507
|
+
exports.isCouponCode = isCouponCode;
|
|
1508
|
+
const Coupon_possibleTypes = ['Coupon'];
|
|
1509
|
+
const isCoupon = (obj) => {
|
|
1657
1510
|
if (!obj?.__typename)
|
|
1658
|
-
throw new Error('__typename is missing in "
|
|
1659
|
-
return
|
|
1511
|
+
throw new Error('__typename is missing in "isCoupon"');
|
|
1512
|
+
return Coupon_possibleTypes.includes(obj.__typename);
|
|
1660
1513
|
};
|
|
1661
|
-
exports.
|
|
1662
|
-
const
|
|
1663
|
-
const
|
|
1514
|
+
exports.isCoupon = isCoupon;
|
|
1515
|
+
const OfferClaim_possibleTypes = ['OfferClaim'];
|
|
1516
|
+
const isOfferClaim = (obj) => {
|
|
1664
1517
|
if (!obj?.__typename)
|
|
1665
|
-
throw new Error('__typename is missing in "
|
|
1666
|
-
return
|
|
1518
|
+
throw new Error('__typename is missing in "isOfferClaim"');
|
|
1519
|
+
return OfferClaim_possibleTypes.includes(obj.__typename);
|
|
1667
1520
|
};
|
|
1668
|
-
exports.
|
|
1669
|
-
const
|
|
1670
|
-
const
|
|
1521
|
+
exports.isOfferClaim = isOfferClaim;
|
|
1522
|
+
const OfferWithEligibility_possibleTypes = ['OfferWithEligibility'];
|
|
1523
|
+
const isOfferWithEligibility = (obj) => {
|
|
1671
1524
|
if (!obj?.__typename)
|
|
1672
|
-
throw new Error('__typename is missing in "
|
|
1673
|
-
return
|
|
1525
|
+
throw new Error('__typename is missing in "isOfferWithEligibility"');
|
|
1526
|
+
return OfferWithEligibility_possibleTypes.includes(obj.__typename);
|
|
1674
1527
|
};
|
|
1675
|
-
exports.
|
|
1676
|
-
const
|
|
1677
|
-
const
|
|
1528
|
+
exports.isOfferWithEligibility = isOfferWithEligibility;
|
|
1529
|
+
const PaginatedOffersWithEligibility_possibleTypes = ['PaginatedOffersWithEligibility'];
|
|
1530
|
+
const isPaginatedOffersWithEligibility = (obj) => {
|
|
1678
1531
|
if (!obj?.__typename)
|
|
1679
|
-
throw new Error('__typename is missing in "
|
|
1680
|
-
return
|
|
1532
|
+
throw new Error('__typename is missing in "isPaginatedOffersWithEligibility"');
|
|
1533
|
+
return PaginatedOffersWithEligibility_possibleTypes.includes(obj.__typename);
|
|
1681
1534
|
};
|
|
1682
|
-
exports.
|
|
1683
|
-
const
|
|
1684
|
-
const
|
|
1535
|
+
exports.isPaginatedOffersWithEligibility = isPaginatedOffersWithEligibility;
|
|
1536
|
+
const OnboardingProgressResponse_possibleTypes = ['OnboardingProgressResponse'];
|
|
1537
|
+
const isOnboardingProgressResponse = (obj) => {
|
|
1685
1538
|
if (!obj?.__typename)
|
|
1686
|
-
throw new Error('__typename is missing in "
|
|
1687
|
-
return
|
|
1539
|
+
throw new Error('__typename is missing in "isOnboardingProgressResponse"');
|
|
1540
|
+
return OnboardingProgressResponse_possibleTypes.includes(obj.__typename);
|
|
1688
1541
|
};
|
|
1689
|
-
exports.
|
|
1690
|
-
const
|
|
1691
|
-
const
|
|
1542
|
+
exports.isOnboardingProgressResponse = isOnboardingProgressResponse;
|
|
1543
|
+
const OffsetPaginationResponse_possibleTypes = ['OffsetPaginationResponse'];
|
|
1544
|
+
const isOffsetPaginationResponse = (obj) => {
|
|
1692
1545
|
if (!obj?.__typename)
|
|
1693
|
-
throw new Error('__typename is missing in "
|
|
1694
|
-
return
|
|
1546
|
+
throw new Error('__typename is missing in "isOffsetPaginationResponse"');
|
|
1547
|
+
return OffsetPaginationResponse_possibleTypes.includes(obj.__typename);
|
|
1695
1548
|
};
|
|
1696
|
-
exports.
|
|
1697
|
-
const
|
|
1698
|
-
const
|
|
1549
|
+
exports.isOffsetPaginationResponse = isOffsetPaginationResponse;
|
|
1550
|
+
const SportQueryResults_possibleTypes = ['SportQueryResults'];
|
|
1551
|
+
const isSportQueryResults = (obj) => {
|
|
1699
1552
|
if (!obj?.__typename)
|
|
1700
|
-
throw new Error('__typename is missing in "
|
|
1701
|
-
return
|
|
1553
|
+
throw new Error('__typename is missing in "isSportQueryResults"');
|
|
1554
|
+
return SportQueryResults_possibleTypes.includes(obj.__typename);
|
|
1702
1555
|
};
|
|
1703
|
-
exports.
|
|
1704
|
-
const
|
|
1705
|
-
const
|
|
1556
|
+
exports.isSportQueryResults = isSportQueryResults;
|
|
1557
|
+
const PaginatedBrands_possibleTypes = ['PaginatedBrands'];
|
|
1558
|
+
const isPaginatedBrands = (obj) => {
|
|
1706
1559
|
if (!obj?.__typename)
|
|
1707
|
-
throw new Error('__typename is missing in "
|
|
1708
|
-
return
|
|
1560
|
+
throw new Error('__typename is missing in "isPaginatedBrands"');
|
|
1561
|
+
return PaginatedBrands_possibleTypes.includes(obj.__typename);
|
|
1709
1562
|
};
|
|
1710
|
-
exports.
|
|
1711
|
-
const
|
|
1712
|
-
const
|
|
1563
|
+
exports.isPaginatedBrands = isPaginatedBrands;
|
|
1564
|
+
const PaginatedEvents_possibleTypes = ['PaginatedEvents'];
|
|
1565
|
+
const isPaginatedEvents = (obj) => {
|
|
1713
1566
|
if (!obj?.__typename)
|
|
1714
|
-
throw new Error('__typename is missing in "
|
|
1715
|
-
return
|
|
1567
|
+
throw new Error('__typename is missing in "isPaginatedEvents"');
|
|
1568
|
+
return PaginatedEvents_possibleTypes.includes(obj.__typename);
|
|
1716
1569
|
};
|
|
1717
|
-
exports.
|
|
1570
|
+
exports.isPaginatedEvents = isPaginatedEvents;
|
|
1571
|
+
const PaginatedOffers_possibleTypes = ['PaginatedOffers'];
|
|
1572
|
+
const isPaginatedOffers = (obj) => {
|
|
1573
|
+
if (!obj?.__typename)
|
|
1574
|
+
throw new Error('__typename is missing in "isPaginatedOffers"');
|
|
1575
|
+
return PaginatedOffers_possibleTypes.includes(obj.__typename);
|
|
1576
|
+
};
|
|
1577
|
+
exports.isPaginatedOffers = isPaginatedOffers;
|
|
1578
|
+
const PaginatedSponsors_possibleTypes = ['PaginatedSponsors'];
|
|
1579
|
+
const isPaginatedSponsors = (obj) => {
|
|
1580
|
+
if (!obj?.__typename)
|
|
1581
|
+
throw new Error('__typename is missing in "isPaginatedSponsors"');
|
|
1582
|
+
return PaginatedSponsors_possibleTypes.includes(obj.__typename);
|
|
1583
|
+
};
|
|
1584
|
+
exports.isPaginatedSponsors = isPaginatedSponsors;
|
|
1585
|
+
const PaginatedSports_possibleTypes = ['PaginatedSports'];
|
|
1586
|
+
const isPaginatedSports = (obj) => {
|
|
1587
|
+
if (!obj?.__typename)
|
|
1588
|
+
throw new Error('__typename is missing in "isPaginatedSports"');
|
|
1589
|
+
return PaginatedSports_possibleTypes.includes(obj.__typename);
|
|
1590
|
+
};
|
|
1591
|
+
exports.isPaginatedSports = isPaginatedSports;
|
|
1592
|
+
const PaginatedTransactions_possibleTypes = ['PaginatedTransactions'];
|
|
1593
|
+
const isPaginatedTransactions = (obj) => {
|
|
1594
|
+
if (!obj?.__typename)
|
|
1595
|
+
throw new Error('__typename is missing in "isPaginatedTransactions"');
|
|
1596
|
+
return PaginatedTransactions_possibleTypes.includes(obj.__typename);
|
|
1597
|
+
};
|
|
1598
|
+
exports.isPaginatedTransactions = isPaginatedTransactions;
|
|
1599
|
+
const PaginatedUsers_possibleTypes = ['PaginatedUsers'];
|
|
1600
|
+
const isPaginatedUsers = (obj) => {
|
|
1601
|
+
if (!obj?.__typename)
|
|
1602
|
+
throw new Error('__typename is missing in "isPaginatedUsers"');
|
|
1603
|
+
return PaginatedUsers_possibleTypes.includes(obj.__typename);
|
|
1604
|
+
};
|
|
1605
|
+
exports.isPaginatedUsers = isPaginatedUsers;
|
|
1606
|
+
const PendingSuggestionGroup_possibleTypes = ['PendingSuggestionGroup'];
|
|
1607
|
+
const isPendingSuggestionGroup = (obj) => {
|
|
1608
|
+
if (!obj?.__typename)
|
|
1609
|
+
throw new Error('__typename is missing in "isPendingSuggestionGroup"');
|
|
1610
|
+
return PendingSuggestionGroup_possibleTypes.includes(obj.__typename);
|
|
1611
|
+
};
|
|
1612
|
+
exports.isPendingSuggestionGroup = isPendingSuggestionGroup;
|
|
1613
|
+
const PublicIntegrationStatus_possibleTypes = ['PublicIntegrationStatus'];
|
|
1614
|
+
const isPublicIntegrationStatus = (obj) => {
|
|
1615
|
+
if (!obj?.__typename)
|
|
1616
|
+
throw new Error('__typename is missing in "isPublicIntegrationStatus"');
|
|
1617
|
+
return PublicIntegrationStatus_possibleTypes.includes(obj.__typename);
|
|
1618
|
+
};
|
|
1619
|
+
exports.isPublicIntegrationStatus = isPublicIntegrationStatus;
|
|
1718
1620
|
const PushCampaignType_possibleTypes = ['PushCampaignType'];
|
|
1719
1621
|
const isPushCampaignType = (obj) => {
|
|
1720
1622
|
if (!obj?.__typename)
|
|
@@ -1722,48 +1624,97 @@ const isPushCampaignType = (obj) => {
|
|
|
1722
1624
|
return PushCampaignType_possibleTypes.includes(obj.__typename);
|
|
1723
1625
|
};
|
|
1724
1626
|
exports.isPushCampaignType = isPushCampaignType;
|
|
1725
|
-
const
|
|
1726
|
-
const
|
|
1627
|
+
const ReceiptUrl_possibleTypes = ['ReceiptUrl'];
|
|
1628
|
+
const isReceiptUrl = (obj) => {
|
|
1727
1629
|
if (!obj?.__typename)
|
|
1728
|
-
throw new Error('__typename is missing in "
|
|
1729
|
-
return
|
|
1630
|
+
throw new Error('__typename is missing in "isReceiptUrl"');
|
|
1631
|
+
return ReceiptUrl_possibleTypes.includes(obj.__typename);
|
|
1730
1632
|
};
|
|
1731
|
-
exports.
|
|
1732
|
-
const
|
|
1733
|
-
const
|
|
1633
|
+
exports.isReceiptUrl = isReceiptUrl;
|
|
1634
|
+
const Receipt_possibleTypes = ['Receipt'];
|
|
1635
|
+
const isReceipt = (obj) => {
|
|
1734
1636
|
if (!obj?.__typename)
|
|
1735
|
-
throw new Error('__typename is missing in "
|
|
1736
|
-
return
|
|
1637
|
+
throw new Error('__typename is missing in "isReceipt"');
|
|
1638
|
+
return Receipt_possibleTypes.includes(obj.__typename);
|
|
1639
|
+
};
|
|
1640
|
+
exports.isReceipt = isReceipt;
|
|
1641
|
+
const RemoveAdminUserResponse_possibleTypes = ['RemoveAdminUserResponse'];
|
|
1642
|
+
const isRemoveAdminUserResponse = (obj) => {
|
|
1643
|
+
if (!obj?.__typename)
|
|
1644
|
+
throw new Error('__typename is missing in "isRemoveAdminUserResponse"');
|
|
1645
|
+
return RemoveAdminUserResponse_possibleTypes.includes(obj.__typename);
|
|
1646
|
+
};
|
|
1647
|
+
exports.isRemoveAdminUserResponse = isRemoveAdminUserResponse;
|
|
1648
|
+
const ScoreRefreshCapability_possibleTypes = ['ScoreRefreshCapability'];
|
|
1649
|
+
const isScoreRefreshCapability = (obj) => {
|
|
1650
|
+
if (!obj?.__typename)
|
|
1651
|
+
throw new Error('__typename is missing in "isScoreRefreshCapability"');
|
|
1652
|
+
return ScoreRefreshCapability_possibleTypes.includes(obj.__typename);
|
|
1653
|
+
};
|
|
1654
|
+
exports.isScoreRefreshCapability = isScoreRefreshCapability;
|
|
1655
|
+
const CheckScoreRefreshCapabilityResponse_possibleTypes = ['CheckScoreRefreshCapabilityResponse'];
|
|
1656
|
+
const isCheckScoreRefreshCapabilityResponse = (obj) => {
|
|
1657
|
+
if (!obj?.__typename)
|
|
1658
|
+
throw new Error('__typename is missing in "isCheckScoreRefreshCapabilityResponse"');
|
|
1659
|
+
return CheckScoreRefreshCapabilityResponse_possibleTypes.includes(obj.__typename);
|
|
1660
|
+
};
|
|
1661
|
+
exports.isCheckScoreRefreshCapabilityResponse = isCheckScoreRefreshCapabilityResponse;
|
|
1662
|
+
const SeedAdminResult_possibleTypes = ['SeedAdminResult'];
|
|
1663
|
+
const isSeedAdminResult = (obj) => {
|
|
1664
|
+
if (!obj?.__typename)
|
|
1665
|
+
throw new Error('__typename is missing in "isSeedAdminResult"');
|
|
1666
|
+
return SeedAdminResult_possibleTypes.includes(obj.__typename);
|
|
1667
|
+
};
|
|
1668
|
+
exports.isSeedAdminResult = isSeedAdminResult;
|
|
1669
|
+
const SendGridTemplate_possibleTypes = ['SendGridTemplate'];
|
|
1670
|
+
const isSendGridTemplate = (obj) => {
|
|
1671
|
+
if (!obj?.__typename)
|
|
1672
|
+
throw new Error('__typename is missing in "isSendGridTemplate"');
|
|
1673
|
+
return SendGridTemplate_possibleTypes.includes(obj.__typename);
|
|
1674
|
+
};
|
|
1675
|
+
exports.isSendGridTemplate = isSendGridTemplate;
|
|
1676
|
+
const SocialAggregateType_possibleTypes = ['SocialAggregateType'];
|
|
1677
|
+
const isSocialAggregateType = (obj) => {
|
|
1678
|
+
if (!obj?.__typename)
|
|
1679
|
+
throw new Error('__typename is missing in "isSocialAggregateType"');
|
|
1680
|
+
return SocialAggregateType_possibleTypes.includes(obj.__typename);
|
|
1681
|
+
};
|
|
1682
|
+
exports.isSocialAggregateType = isSocialAggregateType;
|
|
1683
|
+
const PostMetricType_possibleTypes = ['PostMetricType'];
|
|
1684
|
+
const isPostMetricType = (obj) => {
|
|
1685
|
+
if (!obj?.__typename)
|
|
1686
|
+
throw new Error('__typename is missing in "isPostMetricType"');
|
|
1687
|
+
return PostMetricType_possibleTypes.includes(obj.__typename);
|
|
1737
1688
|
};
|
|
1738
|
-
exports.
|
|
1739
|
-
const
|
|
1740
|
-
const
|
|
1689
|
+
exports.isPostMetricType = isPostMetricType;
|
|
1690
|
+
const AveragesType_possibleTypes = ['AveragesType'];
|
|
1691
|
+
const isAveragesType = (obj) => {
|
|
1741
1692
|
if (!obj?.__typename)
|
|
1742
|
-
throw new Error('__typename is missing in "
|
|
1743
|
-
return
|
|
1693
|
+
throw new Error('__typename is missing in "isAveragesType"');
|
|
1694
|
+
return AveragesType_possibleTypes.includes(obj.__typename);
|
|
1744
1695
|
};
|
|
1745
|
-
exports.
|
|
1746
|
-
const
|
|
1747
|
-
const
|
|
1696
|
+
exports.isAveragesType = isAveragesType;
|
|
1697
|
+
const PostComparisonResultType_possibleTypes = ['PostComparisonResultType'];
|
|
1698
|
+
const isPostComparisonResultType = (obj) => {
|
|
1748
1699
|
if (!obj?.__typename)
|
|
1749
|
-
throw new Error('__typename is missing in "
|
|
1750
|
-
return
|
|
1700
|
+
throw new Error('__typename is missing in "isPostComparisonResultType"');
|
|
1701
|
+
return PostComparisonResultType_possibleTypes.includes(obj.__typename);
|
|
1751
1702
|
};
|
|
1752
|
-
exports.
|
|
1753
|
-
const
|
|
1754
|
-
const
|
|
1703
|
+
exports.isPostComparisonResultType = isPostComparisonResultType;
|
|
1704
|
+
const SponsorAthleteInvitation_possibleTypes = ['SponsorAthleteInvitation'];
|
|
1705
|
+
const isSponsorAthleteInvitation = (obj) => {
|
|
1755
1706
|
if (!obj?.__typename)
|
|
1756
|
-
throw new Error('__typename is missing in "
|
|
1757
|
-
return
|
|
1707
|
+
throw new Error('__typename is missing in "isSponsorAthleteInvitation"');
|
|
1708
|
+
return SponsorAthleteInvitation_possibleTypes.includes(obj.__typename);
|
|
1758
1709
|
};
|
|
1759
|
-
exports.
|
|
1760
|
-
const
|
|
1761
|
-
const
|
|
1710
|
+
exports.isSponsorAthleteInvitation = isSponsorAthleteInvitation;
|
|
1711
|
+
const StripeObject_possibleTypes = ['StripeObject'];
|
|
1712
|
+
const isStripeObject = (obj) => {
|
|
1762
1713
|
if (!obj?.__typename)
|
|
1763
|
-
throw new Error('__typename is missing in "
|
|
1764
|
-
return
|
|
1714
|
+
throw new Error('__typename is missing in "isStripeObject"');
|
|
1715
|
+
return StripeObject_possibleTypes.includes(obj.__typename);
|
|
1765
1716
|
};
|
|
1766
|
-
exports.
|
|
1717
|
+
exports.isStripeObject = isStripeObject;
|
|
1767
1718
|
const StripeAccountStatus_possibleTypes = ['StripeAccountStatus'];
|
|
1768
1719
|
const isStripeAccountStatus = (obj) => {
|
|
1769
1720
|
if (!obj?.__typename)
|
|
@@ -1771,6 +1722,41 @@ const isStripeAccountStatus = (obj) => {
|
|
|
1771
1722
|
return StripeAccountStatus_possibleTypes.includes(obj.__typename);
|
|
1772
1723
|
};
|
|
1773
1724
|
exports.isStripeAccountStatus = isStripeAccountStatus;
|
|
1725
|
+
const CurrencyAmountType_possibleTypes = ['CurrencyAmountType'];
|
|
1726
|
+
const isCurrencyAmountType = (obj) => {
|
|
1727
|
+
if (!obj?.__typename)
|
|
1728
|
+
throw new Error('__typename is missing in "isCurrencyAmountType"');
|
|
1729
|
+
return CurrencyAmountType_possibleTypes.includes(obj.__typename);
|
|
1730
|
+
};
|
|
1731
|
+
exports.isCurrencyAmountType = isCurrencyAmountType;
|
|
1732
|
+
const StripeBalance_possibleTypes = ['StripeBalance'];
|
|
1733
|
+
const isStripeBalance = (obj) => {
|
|
1734
|
+
if (!obj?.__typename)
|
|
1735
|
+
throw new Error('__typename is missing in "isStripeBalance"');
|
|
1736
|
+
return StripeBalance_possibleTypes.includes(obj.__typename);
|
|
1737
|
+
};
|
|
1738
|
+
exports.isStripeBalance = isStripeBalance;
|
|
1739
|
+
const StripeCheckoutSession_possibleTypes = ['StripeCheckoutSession'];
|
|
1740
|
+
const isStripeCheckoutSession = (obj) => {
|
|
1741
|
+
if (!obj?.__typename)
|
|
1742
|
+
throw new Error('__typename is missing in "isStripeCheckoutSession"');
|
|
1743
|
+
return StripeCheckoutSession_possibleTypes.includes(obj.__typename);
|
|
1744
|
+
};
|
|
1745
|
+
exports.isStripeCheckoutSession = isStripeCheckoutSession;
|
|
1746
|
+
const StripeSession_possibleTypes = ['StripeSession'];
|
|
1747
|
+
const isStripeSession = (obj) => {
|
|
1748
|
+
if (!obj?.__typename)
|
|
1749
|
+
throw new Error('__typename is missing in "isStripeSession"');
|
|
1750
|
+
return StripeSession_possibleTypes.includes(obj.__typename);
|
|
1751
|
+
};
|
|
1752
|
+
exports.isStripeSession = isStripeSession;
|
|
1753
|
+
const StripeTransfer_possibleTypes = ['StripeTransfer'];
|
|
1754
|
+
const isStripeTransfer = (obj) => {
|
|
1755
|
+
if (!obj?.__typename)
|
|
1756
|
+
throw new Error('__typename is missing in "isStripeTransfer"');
|
|
1757
|
+
return StripeTransfer_possibleTypes.includes(obj.__typename);
|
|
1758
|
+
};
|
|
1759
|
+
exports.isStripeTransfer = isStripeTransfer;
|
|
1774
1760
|
const TeamVtxScoreHistoryEntry_possibleTypes = ['TeamVtxScoreHistoryEntry'];
|
|
1775
1761
|
const isTeamVtxScoreHistoryEntry = (obj) => {
|
|
1776
1762
|
if (!obj?.__typename)
|
|
@@ -1806,6 +1792,20 @@ const isTeamDashboard = (obj) => {
|
|
|
1806
1792
|
return TeamDashboard_possibleTypes.includes(obj.__typename);
|
|
1807
1793
|
};
|
|
1808
1794
|
exports.isTeamDashboard = isTeamDashboard;
|
|
1795
|
+
const TransactionDetails_possibleTypes = ['TransactionDetails'];
|
|
1796
|
+
const isTransactionDetails = (obj) => {
|
|
1797
|
+
if (!obj?.__typename)
|
|
1798
|
+
throw new Error('__typename is missing in "isTransactionDetails"');
|
|
1799
|
+
return TransactionDetails_possibleTypes.includes(obj.__typename);
|
|
1800
|
+
};
|
|
1801
|
+
exports.isTransactionDetails = isTransactionDetails;
|
|
1802
|
+
const UploadResult_possibleTypes = ['UploadResult'];
|
|
1803
|
+
const isUploadResult = (obj) => {
|
|
1804
|
+
if (!obj?.__typename)
|
|
1805
|
+
throw new Error('__typename is missing in "isUploadResult"');
|
|
1806
|
+
return UploadResult_possibleTypes.includes(obj.__typename);
|
|
1807
|
+
};
|
|
1808
|
+
exports.isUploadResult = isUploadResult;
|
|
1809
1809
|
const TrackResult_possibleTypes = ['TrackResult'];
|
|
1810
1810
|
const isTrackResult = (obj) => {
|
|
1811
1811
|
if (!obj?.__typename)
|
|
@@ -1848,13 +1848,48 @@ const isVersionMixRow = (obj) => {
|
|
|
1848
1848
|
return VersionMixRow_possibleTypes.includes(obj.__typename);
|
|
1849
1849
|
};
|
|
1850
1850
|
exports.isVersionMixRow = isVersionMixRow;
|
|
1851
|
-
const
|
|
1852
|
-
const
|
|
1851
|
+
const UserDomain_possibleTypes = ['UserDomain'];
|
|
1852
|
+
const isUserDomain = (obj) => {
|
|
1853
1853
|
if (!obj?.__typename)
|
|
1854
|
-
throw new Error('__typename is missing in "
|
|
1855
|
-
return
|
|
1854
|
+
throw new Error('__typename is missing in "isUserDomain"');
|
|
1855
|
+
return UserDomain_possibleTypes.includes(obj.__typename);
|
|
1856
1856
|
};
|
|
1857
|
-
exports.
|
|
1857
|
+
exports.isUserDomain = isUserDomain;
|
|
1858
|
+
const UserImages_possibleTypes = ['UserImages'];
|
|
1859
|
+
const isUserImages = (obj) => {
|
|
1860
|
+
if (!obj?.__typename)
|
|
1861
|
+
throw new Error('__typename is missing in "isUserImages"');
|
|
1862
|
+
return UserImages_possibleTypes.includes(obj.__typename);
|
|
1863
|
+
};
|
|
1864
|
+
exports.isUserImages = isUserImages;
|
|
1865
|
+
const ValidatedToken_possibleTypes = ['ValidatedToken'];
|
|
1866
|
+
const isValidatedToken = (obj) => {
|
|
1867
|
+
if (!obj?.__typename)
|
|
1868
|
+
throw new Error('__typename is missing in "isValidatedToken"');
|
|
1869
|
+
return ValidatedToken_possibleTypes.includes(obj.__typename);
|
|
1870
|
+
};
|
|
1871
|
+
exports.isValidatedToken = isValidatedToken;
|
|
1872
|
+
const StravaTpiRideDto_possibleTypes = ['StravaTpiRideDto'];
|
|
1873
|
+
const isStravaTpiRideDto = (obj) => {
|
|
1874
|
+
if (!obj?.__typename)
|
|
1875
|
+
throw new Error('__typename is missing in "isStravaTpiRideDto"');
|
|
1876
|
+
return StravaTpiRideDto_possibleTypes.includes(obj.__typename);
|
|
1877
|
+
};
|
|
1878
|
+
exports.isStravaTpiRideDto = isStravaTpiRideDto;
|
|
1879
|
+
const StravaTpiRunDto_possibleTypes = ['StravaTpiRunDto'];
|
|
1880
|
+
const isStravaTpiRunDto = (obj) => {
|
|
1881
|
+
if (!obj?.__typename)
|
|
1882
|
+
throw new Error('__typename is missing in "isStravaTpiRunDto"');
|
|
1883
|
+
return StravaTpiRunDto_possibleTypes.includes(obj.__typename);
|
|
1884
|
+
};
|
|
1885
|
+
exports.isStravaTpiRunDto = isStravaTpiRunDto;
|
|
1886
|
+
const StravaTpiSwimDto_possibleTypes = ['StravaTpiSwimDto'];
|
|
1887
|
+
const isStravaTpiSwimDto = (obj) => {
|
|
1888
|
+
if (!obj?.__typename)
|
|
1889
|
+
throw new Error('__typename is missing in "isStravaTpiSwimDto"');
|
|
1890
|
+
return StravaTpiSwimDto_possibleTypes.includes(obj.__typename);
|
|
1891
|
+
};
|
|
1892
|
+
exports.isStravaTpiSwimDto = isStravaTpiSwimDto;
|
|
1858
1893
|
const Query_possibleTypes = ['Query'];
|
|
1859
1894
|
const isQuery = (obj) => {
|
|
1860
1895
|
if (!obj?.__typename)
|
|
@@ -1869,20 +1904,6 @@ const isMutation = (obj) => {
|
|
|
1869
1904
|
return Mutation_possibleTypes.includes(obj.__typename);
|
|
1870
1905
|
};
|
|
1871
1906
|
exports.isMutation = isMutation;
|
|
1872
|
-
exports.enumTaxCalculation = {
|
|
1873
|
-
PLUS_TAX: 'PLUS_TAX',
|
|
1874
|
-
TAX_INCLUDED: 'TAX_INCLUDED',
|
|
1875
|
-
NO_TAX: 'NO_TAX'
|
|
1876
|
-
};
|
|
1877
|
-
exports.enumPlanPeriod = {
|
|
1878
|
-
DAYLY: 'DAYLY',
|
|
1879
|
-
WEEKLY: 'WEEKLY',
|
|
1880
|
-
MONTHLY: 'MONTHLY',
|
|
1881
|
-
QUATERLY: 'QUATERLY',
|
|
1882
|
-
SEMESTER: 'SEMESTER',
|
|
1883
|
-
YEARLY: 'YEARLY',
|
|
1884
|
-
CUSTOM_DAYS: 'CUSTOM_DAYS'
|
|
1885
|
-
};
|
|
1886
1907
|
exports.enumCompetitionVerificationTier = {
|
|
1887
1908
|
SELF_REPORTED: 'SELF_REPORTED',
|
|
1888
1909
|
LINK_PROVIDED: 'LINK_PROVIDED',
|
|
@@ -1895,11 +1916,10 @@ exports.enumDiscrepancyStatus = {
|
|
|
1895
1916
|
FLAGGED: 'FLAGGED',
|
|
1896
1917
|
RECONCILED: 'RECONCILED'
|
|
1897
1918
|
};
|
|
1898
|
-
exports.
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
COMPETITION_SCORE: 'COMPETITION_SCORE'
|
|
1919
|
+
exports.enumActivityCategory = {
|
|
1920
|
+
TRAINING: 'TRAINING',
|
|
1921
|
+
SOCIAL: 'SOCIAL',
|
|
1922
|
+
COMPETITION: 'COMPETITION'
|
|
1903
1923
|
};
|
|
1904
1924
|
exports.enumFundingStatus = {
|
|
1905
1925
|
CREATED: 'CREATED',
|
|
@@ -1923,17 +1943,6 @@ exports.enumForceScoreRefreshStatus = {
|
|
|
1923
1943
|
failed: 'failed',
|
|
1924
1944
|
skipped: 'skipped'
|
|
1925
1945
|
};
|
|
1926
|
-
exports.enumStripeTransferStatus = {
|
|
1927
|
-
not_applicable: 'not_applicable',
|
|
1928
|
-
pending: 'pending',
|
|
1929
|
-
failed: 'failed',
|
|
1930
|
-
completed: 'completed'
|
|
1931
|
-
};
|
|
1932
|
-
exports.enumActivityCategory = {
|
|
1933
|
-
TRAINING: 'TRAINING',
|
|
1934
|
-
SOCIAL: 'SOCIAL',
|
|
1935
|
-
COMPETITION: 'COMPETITION'
|
|
1936
|
-
};
|
|
1937
1946
|
exports.enumPlatform = {
|
|
1938
1947
|
INSTAGRAM: 'INSTAGRAM',
|
|
1939
1948
|
TIKTOK: 'TIKTOK',
|
|
@@ -1950,10 +1959,16 @@ exports.enumPeriodType = {
|
|
|
1950
1959
|
DAILY: 'DAILY',
|
|
1951
1960
|
WEEKLY: 'WEEKLY'
|
|
1952
1961
|
};
|
|
1953
|
-
exports.
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1962
|
+
exports.enumStripeTransferStatus = {
|
|
1963
|
+
not_applicable: 'not_applicable',
|
|
1964
|
+
pending: 'pending',
|
|
1965
|
+
failed: 'failed',
|
|
1966
|
+
completed: 'completed'
|
|
1967
|
+
};
|
|
1968
|
+
exports.enumPostSortOption = {
|
|
1969
|
+
RECENT: 'RECENT',
|
|
1970
|
+
TOP: 'TOP',
|
|
1971
|
+
UNDERPERFORMING: 'UNDERPERFORMING'
|
|
1957
1972
|
};
|
|
1958
1973
|
exports.enumTimeRange = {
|
|
1959
1974
|
SEVEN_DAYS: 'SEVEN_DAYS',
|
|
@@ -1962,17 +1977,29 @@ exports.enumTimeRange = {
|
|
|
1962
1977
|
ONE_YEAR: 'ONE_YEAR',
|
|
1963
1978
|
ALL_TIME: 'ALL_TIME'
|
|
1964
1979
|
};
|
|
1965
|
-
exports.enumDonationMode = {
|
|
1966
|
-
PUBLIC: 'PUBLIC',
|
|
1967
|
-
PRIVATE: 'PRIVATE',
|
|
1968
|
-
ANONYMOUS: 'ANONYMOUS'
|
|
1969
|
-
};
|
|
1970
1980
|
exports.enumAdminRole = {
|
|
1971
1981
|
super_admin: 'super_admin',
|
|
1972
1982
|
ops: 'ops',
|
|
1973
1983
|
support: 'support',
|
|
1974
1984
|
read_only: 'read_only'
|
|
1975
1985
|
};
|
|
1986
|
+
exports.enumEligibilityReason = {
|
|
1987
|
+
missing_preference_row: 'missing_preference_row',
|
|
1988
|
+
preference_disabled: 'preference_disabled',
|
|
1989
|
+
no_active_device_token: 'no_active_device_token',
|
|
1990
|
+
no_login_email: 'no_login_email',
|
|
1991
|
+
pass: 'pass'
|
|
1992
|
+
};
|
|
1993
|
+
exports.enumDonationMode = {
|
|
1994
|
+
PUBLIC: 'PUBLIC',
|
|
1995
|
+
PRIVATE: 'PRIVATE',
|
|
1996
|
+
ANONYMOUS: 'ANONYMOUS'
|
|
1997
|
+
};
|
|
1998
|
+
exports.enumOfferClaimStatus = {
|
|
1999
|
+
ACTIVE: 'ACTIVE',
|
|
2000
|
+
EXPIRED: 'EXPIRED',
|
|
2001
|
+
ALL: 'ALL'
|
|
2002
|
+
};
|
|
1976
2003
|
exports.enumCompetitionGender = {
|
|
1977
2004
|
MALE: 'MALE',
|
|
1978
2005
|
FEMALE: 'FEMALE'
|
|
@@ -2084,31 +2111,123 @@ exports.enumTaskStatus = {
|
|
|
2084
2111
|
exports.enumStripeQueryOperation = {
|
|
2085
2112
|
CheckoutSession: 'CheckoutSession'
|
|
2086
2113
|
};
|
|
2087
|
-
exports.
|
|
2114
|
+
exports.enumScoreType = {
|
|
2115
|
+
VTX_SCORE: 'VTX_SCORE',
|
|
2116
|
+
SOCIAL_SCORE: 'SOCIAL_SCORE',
|
|
2117
|
+
TRANING_SCORE: 'TRANING_SCORE',
|
|
2118
|
+
COMPETITION_SCORE: 'COMPETITION_SCORE'
|
|
2119
|
+
};
|
|
2120
|
+
exports.enumQualificationOperator = {
|
|
2121
|
+
GREATER_OR_EQUAL: 'GREATER_OR_EQUAL',
|
|
2122
|
+
LESSER_OR_EQUAL: 'LESSER_OR_EQUAL',
|
|
2123
|
+
EQUAL: 'EQUAL',
|
|
2124
|
+
IN: 'IN',
|
|
2125
|
+
NOT_IN: 'NOT_IN'
|
|
2126
|
+
};
|
|
2127
|
+
exports.enumQualificationTypeEnum = {
|
|
2128
|
+
SCORE: 'SCORE',
|
|
2129
|
+
LOCATION: 'LOCATION',
|
|
2130
|
+
NATIONALITY: 'NATIONALITY',
|
|
2131
|
+
SPORTS: 'SPORTS',
|
|
2132
|
+
SPORTS_LEVEL: 'SPORTS_LEVEL',
|
|
2133
|
+
DISTANCE: 'DISTANCE',
|
|
2134
|
+
GENDER: 'GENDER',
|
|
2135
|
+
AGE: 'AGE'
|
|
2136
|
+
};
|
|
2137
|
+
exports.enumPeriodicity = {
|
|
2138
|
+
PER_PERIOD: 'PER_PERIOD',
|
|
2139
|
+
PER_DAY: 'PER_DAY',
|
|
2140
|
+
PER_WEEK: 'PER_WEEK',
|
|
2141
|
+
PER_MONTH: 'PER_MONTH',
|
|
2142
|
+
PER_YEAR: 'PER_YEAR',
|
|
2143
|
+
OTHER: 'OTHER'
|
|
2144
|
+
};
|
|
2145
|
+
exports.enumCompetitionOutcome = {
|
|
2146
|
+
FINISHED: 'FINISHED',
|
|
2147
|
+
DNF: 'DNF',
|
|
2148
|
+
DNS: 'DNS',
|
|
2149
|
+
WIN: 'WIN',
|
|
2150
|
+
LOSE: 'LOSE',
|
|
2151
|
+
TIE: 'TIE',
|
|
2152
|
+
DQ: 'DQ'
|
|
2153
|
+
};
|
|
2154
|
+
exports.enumDiscountType = {
|
|
2155
|
+
OTHER: 'OTHER',
|
|
2156
|
+
PCT_DISCOUNT: 'PCT_DISCOUNT',
|
|
2157
|
+
SPECIAL_PRICE: 'SPECIAL_PRICE',
|
|
2158
|
+
AMOUNT_DISCOUNT: 'AMOUNT_DISCOUNT',
|
|
2159
|
+
MULTIPLIER_DISCOUNT: 'MULTIPLIER_DISCOUNT',
|
|
2160
|
+
FREE_PRODUCT: 'FREE_PRODUCT',
|
|
2161
|
+
CASH_BACK: 'CASH_BACK'
|
|
2162
|
+
};
|
|
2163
|
+
exports.enumOfferStatus = {
|
|
2088
2164
|
ACTIVE: 'ACTIVE',
|
|
2089
|
-
|
|
2090
|
-
ALL: 'ALL'
|
|
2165
|
+
INACTIVE: 'INACTIVE'
|
|
2091
2166
|
};
|
|
2092
|
-
exports.
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2167
|
+
exports.enumOfferType = {
|
|
2168
|
+
OFFER: 'OFFER',
|
|
2169
|
+
PROMOTION: 'PROMOTION',
|
|
2170
|
+
COUPON: 'COUPON'
|
|
2096
2171
|
};
|
|
2097
|
-
exports.
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2172
|
+
exports.enumSponsorAthleteInvitationStatus = {
|
|
2173
|
+
INVITED: 'INVITED',
|
|
2174
|
+
DECLINED: 'DECLINED',
|
|
2175
|
+
EXPIRED: 'EXPIRED'
|
|
2101
2176
|
};
|
|
2102
|
-
exports.
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
no_login_email: 'no_login_email',
|
|
2107
|
-
pass: 'pass'
|
|
2177
|
+
exports.enumVideoSource = {
|
|
2178
|
+
YOUTUBE: 'YOUTUBE',
|
|
2179
|
+
VIMEO: 'VIMEO',
|
|
2180
|
+
S3_UPLOAD: 'S3_UPLOAD'
|
|
2108
2181
|
};
|
|
2109
|
-
exports.
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2182
|
+
exports.enumTransactionType = {
|
|
2183
|
+
UNKNOWN: 'UNKNOWN',
|
|
2184
|
+
DONATION_TO_ATHLETE: 'DONATION_TO_ATHLETE'
|
|
2185
|
+
};
|
|
2186
|
+
exports.enumChannelTypeEnum = {
|
|
2187
|
+
INSTAGRAM: 'INSTAGRAM',
|
|
2188
|
+
FACEBOOK: 'FACEBOOK',
|
|
2189
|
+
YOUTUBE: 'YOUTUBE',
|
|
2190
|
+
STRAVA: 'STRAVA',
|
|
2191
|
+
TIKTOK: 'TIKTOK'
|
|
2192
|
+
};
|
|
2193
|
+
exports.enumEventLevel = {
|
|
2194
|
+
InternationalTier1: 'InternationalTier1',
|
|
2195
|
+
InternationalTier2: 'InternationalTier2',
|
|
2196
|
+
InternationalTier3: 'InternationalTier3',
|
|
2197
|
+
National: 'National',
|
|
2198
|
+
Regional: 'Regional',
|
|
2199
|
+
State: 'State',
|
|
2200
|
+
City: 'City',
|
|
2201
|
+
Unranked: 'Unranked'
|
|
2202
|
+
};
|
|
2203
|
+
exports.enumVisibilityScope = {
|
|
2204
|
+
PUBLIC: 'PUBLIC',
|
|
2205
|
+
FRIENDS: 'FRIENDS',
|
|
2206
|
+
PRIVATE: 'PRIVATE'
|
|
2207
|
+
};
|
|
2208
|
+
exports.enumCompetitionDeleteVerificationCase = {
|
|
2209
|
+
COMPETITION_LINKED_TO_CAMPAIGN: 'COMPETITION_LINKED_TO_CAMPAIGN',
|
|
2210
|
+
COMPETITION_HAS_BUDGET: 'COMPETITION_HAS_BUDGET',
|
|
2211
|
+
CAMPAIGN_WILL_LOSE_FUNDS: 'CAMPAIGN_WILL_LOSE_FUNDS',
|
|
2212
|
+
COMPETITION_SAFE_TO_DELETE: 'COMPETITION_SAFE_TO_DELETE'
|
|
2213
|
+
};
|
|
2214
|
+
exports.enumBrandOperatorType = {
|
|
2215
|
+
OWNED: 'OWNED',
|
|
2216
|
+
NOT_OWNED: 'NOT_OWNED',
|
|
2217
|
+
BOTH: 'BOTH'
|
|
2218
|
+
};
|
|
2219
|
+
exports.enumTaxCalculation = {
|
|
2220
|
+
PLUS_TAX: 'PLUS_TAX',
|
|
2221
|
+
TAX_INCLUDED: 'TAX_INCLUDED',
|
|
2222
|
+
NO_TAX: 'NO_TAX'
|
|
2223
|
+
};
|
|
2224
|
+
exports.enumPlanPeriod = {
|
|
2225
|
+
DAYLY: 'DAYLY',
|
|
2226
|
+
WEEKLY: 'WEEKLY',
|
|
2227
|
+
MONTHLY: 'MONTHLY',
|
|
2228
|
+
QUATERLY: 'QUATERLY',
|
|
2229
|
+
SEMESTER: 'SEMESTER',
|
|
2230
|
+
YEARLY: 'YEARLY',
|
|
2231
|
+
CUSTOM_DAYS: 'CUSTOM_DAYS'
|
|
2113
2232
|
};
|
|
2114
2233
|
//# sourceMappingURL=schema.js.map
|