@vertikalx/vtx-backend-client 3.0.0-dev.9 → 3.0.1-dev-max.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +16 -3
- package/src/api/api-call-headers.js.map +1 -1
- package/src/api/api-call-headers.ts +35 -0
- package/src/api/backend-response.js.map +1 -1
- package/src/api/backend-response.ts +14 -0
- package/src/api/domains.js.map +1 -1
- package/src/api/domains.ts +6 -0
- package/src/api/response-builder.js.map +1 -1
- package/src/api/response-builder.ts +165 -0
- package/src/api/types.js.map +1 -1
- package/src/api/types.ts +9 -0
- package/src/api/vtx-apikey-api.js.map +1 -1
- package/src/api/vtx-apikey-api.ts +23 -0
- package/src/api/vtx-base-api.d.ts +230 -15
- package/src/api/vtx-base-api.js +590 -8340
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/api/vtx-base-api.ts +2253 -0
- package/src/api/vtx-mobile-api.d.ts +3 -1
- package/src/api/vtx-mobile-api.js +3 -37
- package/src/api/vtx-mobile-api.js.map +1 -1
- package/src/api/vtx-mobile-api.ts +43 -0
- package/src/api/vtx-web-browser-api.js +1 -0
- package/src/api/vtx-web-browser-api.js.map +1 -1
- package/src/api/vtx-web-browser-api.ts +46 -0
- package/src/api/vtx-web-server-api.js +1 -0
- package/src/api/vtx-web-server-api.js.map +1 -1
- package/src/api/vtx-web-server-api.ts +41 -0
- package/src/client/index.js.map +1 -1
- package/src/client/index.ts +65 -0
- package/src/client/runtime/batcher.js.map +1 -1
- package/src/client/runtime/batcher.ts +275 -0
- package/src/client/runtime/createClient.js.map +1 -1
- package/src/client/runtime/createClient.ts +68 -0
- package/src/client/runtime/error.js.map +1 -1
- package/src/client/runtime/error.ts +29 -0
- package/src/client/runtime/fetcher.js.map +1 -1
- package/src/client/runtime/fetcher.ts +97 -0
- package/src/client/runtime/generateGraphqlOperation.js.map +1 -1
- package/src/client/runtime/generateGraphqlOperation.ts +225 -0
- package/src/client/runtime/index.js.map +1 -1
- package/src/client/runtime/index.ts +13 -0
- package/src/client/runtime/linkTypeMap.js.map +1 -1
- package/src/client/runtime/linkTypeMap.ts +156 -0
- package/src/client/runtime/typeSelection.js.map +1 -1
- package/src/client/runtime/typeSelection.ts +95 -0
- package/src/client/runtime/types.js.map +1 -1
- package/src/client/runtime/types.ts +69 -0
- package/src/client/schema.d.ts +3521 -765
- package/src/client/schema.graphql +4256 -0
- package/src/client/schema.js +693 -90
- package/src/client/schema.js.map +1 -1
- package/src/client/schema.ts +8329 -0
- package/src/client/types.d.ts +1817 -379
- package/src/client/types.js +6010 -2227
- package/src/client/types.js.map +1 -1
- package/src/client/types.ts +10578 -0
- package/src/generated/graphql.d.ts +13696 -0
- package/src/generated/graphql.js +5830 -0
- package/src/generated/graphql.js.map +1 -0
- package/src/generated/graphql.ts +12445 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +3 -0
- package/src/index.js.map +1 -1
- package/src/index.ts +16 -0
- package/src/operations/admin.graphql +19 -0
- package/src/operations/ai-coach.graphql +117 -0
- package/src/operations/athlete.graphql +1764 -0
- package/src/operations/auth.graphql +301 -0
- package/src/operations/campaign.graphql +775 -0
- package/src/operations/email-campaign.graphql +160 -0
- package/src/operations/followers.graphql +45 -0
- package/src/operations/integrations.graphql +216 -0
- package/src/operations/leaderboard.graphql +54 -0
- package/src/operations/media.graphql +179 -0
- package/src/operations/notifications.graphql +93 -0
- package/src/operations/offers.graphql +368 -0
- package/src/operations/onboarding.graphql +29 -0
- package/src/operations/sponsor.graphql +368 -0
- package/src/operations/sport.graphql +132 -0
- package/src/operations/user.graphql +446 -0
- package/tsconfig.lib.json +10 -0
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = 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 = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.
|
|
5
|
-
exports.
|
|
3
|
+
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.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 = 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.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = void 0;
|
|
4
|
+
exports.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = 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 = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isStravaTpiSwimDto = exports.isStravaTpiRunDto = exports.isStravaTpiRideDto = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isSponsorBrand = exports.isSponsor = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = void 0;
|
|
5
|
+
exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isForceScoreRefreshResponse = exports.isForceScoreRefreshResult = exports.isRefreshDiagnostics = exports.isScoreRefreshDetail = exports.isDeleteSingleValueResponse = exports.isDeleteValuesResponse = exports.isErrorType = exports.isEditValueResponse = exports.isPaginatedSponsors = exports.isPaginatedBrands = exports.isPaginatedOffersWithEligibility = exports.isOfferWithEligibility = exports.isEnhancedPaginationInfoType = exports.isEligibilityResult = exports.isOfferClaim = exports.isCoupon = exports.isCouponCode = exports.isPromotion = exports.isOffer = exports.isAdminTransactionView = exports.isAdminTransactionFundingDetails = exports.isAdminUserView = exports.isMember = exports.isDonation = exports.isBudgetConcept = exports.isBudgetItemUnit = exports.isMergeEventsResponse = exports.isBudgetData = exports.isCampaignBudgetData = exports.isCompetitionBudgetData = exports.isBaseBudgetData = exports.isCompetitionBudgetReference = exports.isBudgetReference = exports.isBudgetItemReference = exports.isReceiptUrl = exports.isReceipt = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = exports.isStripeCheckoutSession = exports.isStripeSession = void 0;
|
|
6
|
+
exports.isPostMetricType = exports.isSocialAggregateType = exports.isActivityDatesResponse = exports.isActivityDateEntry = exports.isComponentSummary = exports.isTopMetric = exports.isActivityDetail = exports.isScoreInfo = exports.isMetricComparison = exports.isActivitiesResponse = exports.isActivityEntry = exports.isRankContext = exports.isRankHistoryEntry = exports.isScoreHistoryEntry = exports.isDashboardSummary = exports.isUserRank = exports.isLeaderboardResponse = exports.isLeaderboardFilters = exports.isLeaderboardPagination = exports.isLeaderboardEntry = exports.isOfferAvailability = exports.isUploadResult = exports.isPaginatedOffers = exports.isPaginatedTransactions = exports.isUserDomain = exports.isStripeTransfer = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isPaginatedDonations = exports.isDonationDates = exports.isPaginatedEvents = exports.isTransactionDetails = exports.isPaginatedUsers = exports.isDeleteVtxUserResponse = exports.isValidatedToken = exports.isUserImages = exports.isPaginatedSports = exports.isPublicIntegrationStatus = exports.isOnboardingProgressResponse = exports.isCheckScoreRefreshCapabilityResponse = exports.isScoreRefreshCapability = exports.isBrowseCampaignsResult = exports.isStripeObject = exports.isHistoricalScoresPeriod = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isDeleteOnboardingAthleteResponse = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = void 0;
|
|
7
|
+
exports.enumPostSortOption = exports.enumOfferClaimStatus = exports.enumDonationMode = exports.enumTimeRange = exports.enumPeriodType = exports.enumContentType = exports.enumPlatform = exports.enumActivityCategory = exports.enumStripeTransferStatus = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isAiCoachUnreadNudgeCountResponse = exports.isAiCoachNudgeListResponse = exports.isAiCoachNudge = exports.isAiCoachConfig = exports.isAiCoachThread = exports.isAiCoachMessage = exports.isAudiencePreview = exports.isAudiencePreviewUser = exports.isSendGridTemplate = exports.isEmailCampaignPage = exports.isEmailCampaign = exports.isEmailSegment = exports.isEmailCampaignDelivery = exports.isIsFollowingResponse = exports.isFollowedAthletesListResponse = exports.isFollowedAthleteInfo = exports.isDeviceTokenType = exports.isNotificationPreference = exports.isUnreadCountResponse = exports.isNotificationListResponse = exports.isNotification = exports.isPostComparisonResultType = exports.isAveragesType = void 0;
|
|
6
8
|
const User_possibleTypes = ['User'];
|
|
7
9
|
const isUser = (obj) => {
|
|
8
10
|
if (!obj?.__typename)
|
|
@@ -234,48 +236,20 @@ const isCodeVerificationResponse = (obj) => {
|
|
|
234
236
|
return CodeVerificationResponse_possibleTypes.includes(obj.__typename);
|
|
235
237
|
};
|
|
236
238
|
exports.isCodeVerificationResponse = isCodeVerificationResponse;
|
|
237
|
-
const
|
|
238
|
-
const
|
|
239
|
-
if (!obj?.__typename)
|
|
240
|
-
throw new Error('__typename is missing in "isBrandStats"');
|
|
241
|
-
return BrandStats_possibleTypes.includes(obj.__typename);
|
|
242
|
-
};
|
|
243
|
-
exports.isBrandStats = isBrandStats;
|
|
244
|
-
const BrandTranslation_possibleTypes = ['BrandTranslation'];
|
|
245
|
-
const isBrandTranslation = (obj) => {
|
|
246
|
-
if (!obj?.__typename)
|
|
247
|
-
throw new Error('__typename is missing in "isBrandTranslation"');
|
|
248
|
-
return BrandTranslation_possibleTypes.includes(obj.__typename);
|
|
249
|
-
};
|
|
250
|
-
exports.isBrandTranslation = isBrandTranslation;
|
|
251
|
-
const Brand_possibleTypes = ['Brand'];
|
|
252
|
-
const isBrand = (obj) => {
|
|
253
|
-
if (!obj?.__typename)
|
|
254
|
-
throw new Error('__typename is missing in "isBrand"');
|
|
255
|
-
return Brand_possibleTypes.includes(obj.__typename);
|
|
256
|
-
};
|
|
257
|
-
exports.isBrand = isBrand;
|
|
258
|
-
const StravaTpiRideDto_possibleTypes = ['StravaTpiRideDto'];
|
|
259
|
-
const isStravaTpiRideDto = (obj) => {
|
|
260
|
-
if (!obj?.__typename)
|
|
261
|
-
throw new Error('__typename is missing in "isStravaTpiRideDto"');
|
|
262
|
-
return StravaTpiRideDto_possibleTypes.includes(obj.__typename);
|
|
263
|
-
};
|
|
264
|
-
exports.isStravaTpiRideDto = isStravaTpiRideDto;
|
|
265
|
-
const StravaTpiRunDto_possibleTypes = ['StravaTpiRunDto'];
|
|
266
|
-
const isStravaTpiRunDto = (obj) => {
|
|
239
|
+
const Industry_possibleTypes = ['Industry'];
|
|
240
|
+
const isIndustry = (obj) => {
|
|
267
241
|
if (!obj?.__typename)
|
|
268
|
-
throw new Error('__typename is missing in "
|
|
269
|
-
return
|
|
242
|
+
throw new Error('__typename is missing in "isIndustry"');
|
|
243
|
+
return Industry_possibleTypes.includes(obj.__typename);
|
|
270
244
|
};
|
|
271
|
-
exports.
|
|
272
|
-
const
|
|
273
|
-
const
|
|
245
|
+
exports.isIndustry = isIndustry;
|
|
246
|
+
const SponsorStats_possibleTypes = ['SponsorStats'];
|
|
247
|
+
const isSponsorStats = (obj) => {
|
|
274
248
|
if (!obj?.__typename)
|
|
275
|
-
throw new Error('__typename is missing in "
|
|
276
|
-
return
|
|
249
|
+
throw new Error('__typename is missing in "isSponsorStats"');
|
|
250
|
+
return SponsorStats_possibleTypes.includes(obj.__typename);
|
|
277
251
|
};
|
|
278
|
-
exports.
|
|
252
|
+
exports.isSponsorStats = isSponsorStats;
|
|
279
253
|
const City_possibleTypes = ['City'];
|
|
280
254
|
const isCity = (obj) => {
|
|
281
255
|
if (!obj?.__typename)
|
|
@@ -367,34 +341,6 @@ const isQualificationTypeUnion = (obj) => {
|
|
|
367
341
|
return QualificationTypeUnion_possibleTypes.includes(obj.__typename);
|
|
368
342
|
};
|
|
369
343
|
exports.isQualificationTypeUnion = isQualificationTypeUnion;
|
|
370
|
-
const Industry_possibleTypes = ['Industry'];
|
|
371
|
-
const isIndustry = (obj) => {
|
|
372
|
-
if (!obj?.__typename)
|
|
373
|
-
throw new Error('__typename is missing in "isIndustry"');
|
|
374
|
-
return Industry_possibleTypes.includes(obj.__typename);
|
|
375
|
-
};
|
|
376
|
-
exports.isIndustry = isIndustry;
|
|
377
|
-
const SponsorStats_possibleTypes = ['SponsorStats'];
|
|
378
|
-
const isSponsorStats = (obj) => {
|
|
379
|
-
if (!obj?.__typename)
|
|
380
|
-
throw new Error('__typename is missing in "isSponsorStats"');
|
|
381
|
-
return SponsorStats_possibleTypes.includes(obj.__typename);
|
|
382
|
-
};
|
|
383
|
-
exports.isSponsorStats = isSponsorStats;
|
|
384
|
-
const SponsorBrand_possibleTypes = ['SponsorBrand'];
|
|
385
|
-
const isSponsorBrand = (obj) => {
|
|
386
|
-
if (!obj?.__typename)
|
|
387
|
-
throw new Error('__typename is missing in "isSponsorBrand"');
|
|
388
|
-
return SponsorBrand_possibleTypes.includes(obj.__typename);
|
|
389
|
-
};
|
|
390
|
-
exports.isSponsorBrand = isSponsorBrand;
|
|
391
|
-
const Sponsor_possibleTypes = ['Sponsor'];
|
|
392
|
-
const isSponsor = (obj) => {
|
|
393
|
-
if (!obj?.__typename)
|
|
394
|
-
throw new Error('__typename is missing in "isSponsor"');
|
|
395
|
-
return Sponsor_possibleTypes.includes(obj.__typename);
|
|
396
|
-
};
|
|
397
|
-
exports.isSponsor = isSponsor;
|
|
398
344
|
const SponsorshipItem_possibleTypes = ['SponsorshipItem'];
|
|
399
345
|
const isSponsorshipItem = (obj) => {
|
|
400
346
|
if (!obj?.__typename)
|
|
@@ -437,6 +383,62 @@ const isSponsorship = (obj) => {
|
|
|
437
383
|
return Sponsorship_possibleTypes.includes(obj.__typename);
|
|
438
384
|
};
|
|
439
385
|
exports.isSponsorship = isSponsorship;
|
|
386
|
+
const Sponsor_possibleTypes = ['Sponsor'];
|
|
387
|
+
const isSponsor = (obj) => {
|
|
388
|
+
if (!obj?.__typename)
|
|
389
|
+
throw new Error('__typename is missing in "isSponsor"');
|
|
390
|
+
return Sponsor_possibleTypes.includes(obj.__typename);
|
|
391
|
+
};
|
|
392
|
+
exports.isSponsor = isSponsor;
|
|
393
|
+
const SponsorBrand_possibleTypes = ['SponsorBrand'];
|
|
394
|
+
const isSponsorBrand = (obj) => {
|
|
395
|
+
if (!obj?.__typename)
|
|
396
|
+
throw new Error('__typename is missing in "isSponsorBrand"');
|
|
397
|
+
return SponsorBrand_possibleTypes.includes(obj.__typename);
|
|
398
|
+
};
|
|
399
|
+
exports.isSponsorBrand = isSponsorBrand;
|
|
400
|
+
const BrandStats_possibleTypes = ['BrandStats'];
|
|
401
|
+
const isBrandStats = (obj) => {
|
|
402
|
+
if (!obj?.__typename)
|
|
403
|
+
throw new Error('__typename is missing in "isBrandStats"');
|
|
404
|
+
return BrandStats_possibleTypes.includes(obj.__typename);
|
|
405
|
+
};
|
|
406
|
+
exports.isBrandStats = isBrandStats;
|
|
407
|
+
const BrandTranslation_possibleTypes = ['BrandTranslation'];
|
|
408
|
+
const isBrandTranslation = (obj) => {
|
|
409
|
+
if (!obj?.__typename)
|
|
410
|
+
throw new Error('__typename is missing in "isBrandTranslation"');
|
|
411
|
+
return BrandTranslation_possibleTypes.includes(obj.__typename);
|
|
412
|
+
};
|
|
413
|
+
exports.isBrandTranslation = isBrandTranslation;
|
|
414
|
+
const Brand_possibleTypes = ['Brand'];
|
|
415
|
+
const isBrand = (obj) => {
|
|
416
|
+
if (!obj?.__typename)
|
|
417
|
+
throw new Error('__typename is missing in "isBrand"');
|
|
418
|
+
return Brand_possibleTypes.includes(obj.__typename);
|
|
419
|
+
};
|
|
420
|
+
exports.isBrand = isBrand;
|
|
421
|
+
const StravaTpiRideDto_possibleTypes = ['StravaTpiRideDto'];
|
|
422
|
+
const isStravaTpiRideDto = (obj) => {
|
|
423
|
+
if (!obj?.__typename)
|
|
424
|
+
throw new Error('__typename is missing in "isStravaTpiRideDto"');
|
|
425
|
+
return StravaTpiRideDto_possibleTypes.includes(obj.__typename);
|
|
426
|
+
};
|
|
427
|
+
exports.isStravaTpiRideDto = isStravaTpiRideDto;
|
|
428
|
+
const StravaTpiRunDto_possibleTypes = ['StravaTpiRunDto'];
|
|
429
|
+
const isStravaTpiRunDto = (obj) => {
|
|
430
|
+
if (!obj?.__typename)
|
|
431
|
+
throw new Error('__typename is missing in "isStravaTpiRunDto"');
|
|
432
|
+
return StravaTpiRunDto_possibleTypes.includes(obj.__typename);
|
|
433
|
+
};
|
|
434
|
+
exports.isStravaTpiRunDto = isStravaTpiRunDto;
|
|
435
|
+
const StravaTpiSwimDto_possibleTypes = ['StravaTpiSwimDto'];
|
|
436
|
+
const isStravaTpiSwimDto = (obj) => {
|
|
437
|
+
if (!obj?.__typename)
|
|
438
|
+
throw new Error('__typename is missing in "isStravaTpiSwimDto"');
|
|
439
|
+
return StravaTpiSwimDto_possibleTypes.includes(obj.__typename);
|
|
440
|
+
};
|
|
441
|
+
exports.isStravaTpiSwimDto = isStravaTpiSwimDto;
|
|
440
442
|
const FollowStats_possibleTypes = ['FollowStats'];
|
|
441
443
|
const isFollowStats = (obj) => {
|
|
442
444
|
if (!obj?.__typename)
|
|
@@ -703,13 +705,6 @@ const isSponsorAthleteInvitation = (obj) => {
|
|
|
703
705
|
return SponsorAthleteInvitation_possibleTypes.includes(obj.__typename);
|
|
704
706
|
};
|
|
705
707
|
exports.isSponsorAthleteInvitation = isSponsorAthleteInvitation;
|
|
706
|
-
const StravaToken_possibleTypes = ['StravaToken'];
|
|
707
|
-
const isStravaToken = (obj) => {
|
|
708
|
-
if (!obj?.__typename)
|
|
709
|
-
throw new Error('__typename is missing in "isStravaToken"');
|
|
710
|
-
return StravaToken_possibleTypes.includes(obj.__typename);
|
|
711
|
-
};
|
|
712
|
-
exports.isStravaToken = isStravaToken;
|
|
713
708
|
const StripeSession_possibleTypes = ['StripeSession'];
|
|
714
709
|
const isStripeSession = (obj) => {
|
|
715
710
|
if (!obj?.__typename)
|
|
@@ -801,20 +796,6 @@ const isReceiptUrl = (obj) => {
|
|
|
801
796
|
return ReceiptUrl_possibleTypes.includes(obj.__typename);
|
|
802
797
|
};
|
|
803
798
|
exports.isReceiptUrl = isReceiptUrl;
|
|
804
|
-
const ErrorType_possibleTypes = ['ErrorType'];
|
|
805
|
-
const isErrorType = (obj) => {
|
|
806
|
-
if (!obj?.__typename)
|
|
807
|
-
throw new Error('__typename is missing in "isErrorType"');
|
|
808
|
-
return ErrorType_possibleTypes.includes(obj.__typename);
|
|
809
|
-
};
|
|
810
|
-
exports.isErrorType = isErrorType;
|
|
811
|
-
const DeleteValuesResponse_possibleTypes = ['DeleteValuesResponse'];
|
|
812
|
-
const isDeleteValuesResponse = (obj) => {
|
|
813
|
-
if (!obj?.__typename)
|
|
814
|
-
throw new Error('__typename is missing in "isDeleteValuesResponse"');
|
|
815
|
-
return DeleteValuesResponse_possibleTypes.includes(obj.__typename);
|
|
816
|
-
};
|
|
817
|
-
exports.isDeleteValuesResponse = isDeleteValuesResponse;
|
|
818
799
|
const BudgetItemReference_possibleTypes = ['BudgetItemReference'];
|
|
819
800
|
const isBudgetItemReference = (obj) => {
|
|
820
801
|
if (!obj?.__typename)
|
|
@@ -899,6 +880,104 @@ const isMember = (obj) => {
|
|
|
899
880
|
return Member_possibleTypes.includes(obj.__typename);
|
|
900
881
|
};
|
|
901
882
|
exports.isMember = isMember;
|
|
883
|
+
const AdminUserView_possibleTypes = ['AdminUserView'];
|
|
884
|
+
const isAdminUserView = (obj) => {
|
|
885
|
+
if (!obj?.__typename)
|
|
886
|
+
throw new Error('__typename is missing in "isAdminUserView"');
|
|
887
|
+
return AdminUserView_possibleTypes.includes(obj.__typename);
|
|
888
|
+
};
|
|
889
|
+
exports.isAdminUserView = isAdminUserView;
|
|
890
|
+
const AdminTransactionFundingDetails_possibleTypes = ['AdminTransactionFundingDetails'];
|
|
891
|
+
const isAdminTransactionFundingDetails = (obj) => {
|
|
892
|
+
if (!obj?.__typename)
|
|
893
|
+
throw new Error('__typename is missing in "isAdminTransactionFundingDetails"');
|
|
894
|
+
return AdminTransactionFundingDetails_possibleTypes.includes(obj.__typename);
|
|
895
|
+
};
|
|
896
|
+
exports.isAdminTransactionFundingDetails = isAdminTransactionFundingDetails;
|
|
897
|
+
const AdminTransactionView_possibleTypes = ['AdminTransactionView'];
|
|
898
|
+
const isAdminTransactionView = (obj) => {
|
|
899
|
+
if (!obj?.__typename)
|
|
900
|
+
throw new Error('__typename is missing in "isAdminTransactionView"');
|
|
901
|
+
return AdminTransactionView_possibleTypes.includes(obj.__typename);
|
|
902
|
+
};
|
|
903
|
+
exports.isAdminTransactionView = isAdminTransactionView;
|
|
904
|
+
const Offer_possibleTypes = ['Offer'];
|
|
905
|
+
const isOffer = (obj) => {
|
|
906
|
+
if (!obj?.__typename)
|
|
907
|
+
throw new Error('__typename is missing in "isOffer"');
|
|
908
|
+
return Offer_possibleTypes.includes(obj.__typename);
|
|
909
|
+
};
|
|
910
|
+
exports.isOffer = isOffer;
|
|
911
|
+
const Promotion_possibleTypes = ['Promotion'];
|
|
912
|
+
const isPromotion = (obj) => {
|
|
913
|
+
if (!obj?.__typename)
|
|
914
|
+
throw new Error('__typename is missing in "isPromotion"');
|
|
915
|
+
return Promotion_possibleTypes.includes(obj.__typename);
|
|
916
|
+
};
|
|
917
|
+
exports.isPromotion = isPromotion;
|
|
918
|
+
const CouponCode_possibleTypes = ['CouponCode'];
|
|
919
|
+
const isCouponCode = (obj) => {
|
|
920
|
+
if (!obj?.__typename)
|
|
921
|
+
throw new Error('__typename is missing in "isCouponCode"');
|
|
922
|
+
return CouponCode_possibleTypes.includes(obj.__typename);
|
|
923
|
+
};
|
|
924
|
+
exports.isCouponCode = isCouponCode;
|
|
925
|
+
const Coupon_possibleTypes = ['Coupon'];
|
|
926
|
+
const isCoupon = (obj) => {
|
|
927
|
+
if (!obj?.__typename)
|
|
928
|
+
throw new Error('__typename is missing in "isCoupon"');
|
|
929
|
+
return Coupon_possibleTypes.includes(obj.__typename);
|
|
930
|
+
};
|
|
931
|
+
exports.isCoupon = isCoupon;
|
|
932
|
+
const OfferClaim_possibleTypes = ['OfferClaim'];
|
|
933
|
+
const isOfferClaim = (obj) => {
|
|
934
|
+
if (!obj?.__typename)
|
|
935
|
+
throw new Error('__typename is missing in "isOfferClaim"');
|
|
936
|
+
return OfferClaim_possibleTypes.includes(obj.__typename);
|
|
937
|
+
};
|
|
938
|
+
exports.isOfferClaim = isOfferClaim;
|
|
939
|
+
const EligibilityResult_possibleTypes = ['EligibilityResult'];
|
|
940
|
+
const isEligibilityResult = (obj) => {
|
|
941
|
+
if (!obj?.__typename)
|
|
942
|
+
throw new Error('__typename is missing in "isEligibilityResult"');
|
|
943
|
+
return EligibilityResult_possibleTypes.includes(obj.__typename);
|
|
944
|
+
};
|
|
945
|
+
exports.isEligibilityResult = isEligibilityResult;
|
|
946
|
+
const EnhancedPaginationInfoType_possibleTypes = ['EnhancedPaginationInfoType'];
|
|
947
|
+
const isEnhancedPaginationInfoType = (obj) => {
|
|
948
|
+
if (!obj?.__typename)
|
|
949
|
+
throw new Error('__typename is missing in "isEnhancedPaginationInfoType"');
|
|
950
|
+
return EnhancedPaginationInfoType_possibleTypes.includes(obj.__typename);
|
|
951
|
+
};
|
|
952
|
+
exports.isEnhancedPaginationInfoType = isEnhancedPaginationInfoType;
|
|
953
|
+
const OfferWithEligibility_possibleTypes = ['OfferWithEligibility'];
|
|
954
|
+
const isOfferWithEligibility = (obj) => {
|
|
955
|
+
if (!obj?.__typename)
|
|
956
|
+
throw new Error('__typename is missing in "isOfferWithEligibility"');
|
|
957
|
+
return OfferWithEligibility_possibleTypes.includes(obj.__typename);
|
|
958
|
+
};
|
|
959
|
+
exports.isOfferWithEligibility = isOfferWithEligibility;
|
|
960
|
+
const PaginatedOffersWithEligibility_possibleTypes = ['PaginatedOffersWithEligibility'];
|
|
961
|
+
const isPaginatedOffersWithEligibility = (obj) => {
|
|
962
|
+
if (!obj?.__typename)
|
|
963
|
+
throw new Error('__typename is missing in "isPaginatedOffersWithEligibility"');
|
|
964
|
+
return PaginatedOffersWithEligibility_possibleTypes.includes(obj.__typename);
|
|
965
|
+
};
|
|
966
|
+
exports.isPaginatedOffersWithEligibility = isPaginatedOffersWithEligibility;
|
|
967
|
+
const PaginatedBrands_possibleTypes = ['PaginatedBrands'];
|
|
968
|
+
const isPaginatedBrands = (obj) => {
|
|
969
|
+
if (!obj?.__typename)
|
|
970
|
+
throw new Error('__typename is missing in "isPaginatedBrands"');
|
|
971
|
+
return PaginatedBrands_possibleTypes.includes(obj.__typename);
|
|
972
|
+
};
|
|
973
|
+
exports.isPaginatedBrands = isPaginatedBrands;
|
|
974
|
+
const PaginatedSponsors_possibleTypes = ['PaginatedSponsors'];
|
|
975
|
+
const isPaginatedSponsors = (obj) => {
|
|
976
|
+
if (!obj?.__typename)
|
|
977
|
+
throw new Error('__typename is missing in "isPaginatedSponsors"');
|
|
978
|
+
return PaginatedSponsors_possibleTypes.includes(obj.__typename);
|
|
979
|
+
};
|
|
980
|
+
exports.isPaginatedSponsors = isPaginatedSponsors;
|
|
902
981
|
const EditValueResponse_possibleTypes = ['EditValueResponse'];
|
|
903
982
|
const isEditValueResponse = (obj) => {
|
|
904
983
|
if (!obj?.__typename)
|
|
@@ -906,6 +985,20 @@ const isEditValueResponse = (obj) => {
|
|
|
906
985
|
return EditValueResponse_possibleTypes.includes(obj.__typename);
|
|
907
986
|
};
|
|
908
987
|
exports.isEditValueResponse = isEditValueResponse;
|
|
988
|
+
const ErrorType_possibleTypes = ['ErrorType'];
|
|
989
|
+
const isErrorType = (obj) => {
|
|
990
|
+
if (!obj?.__typename)
|
|
991
|
+
throw new Error('__typename is missing in "isErrorType"');
|
|
992
|
+
return ErrorType_possibleTypes.includes(obj.__typename);
|
|
993
|
+
};
|
|
994
|
+
exports.isErrorType = isErrorType;
|
|
995
|
+
const DeleteValuesResponse_possibleTypes = ['DeleteValuesResponse'];
|
|
996
|
+
const isDeleteValuesResponse = (obj) => {
|
|
997
|
+
if (!obj?.__typename)
|
|
998
|
+
throw new Error('__typename is missing in "isDeleteValuesResponse"');
|
|
999
|
+
return DeleteValuesResponse_possibleTypes.includes(obj.__typename);
|
|
1000
|
+
};
|
|
1001
|
+
exports.isDeleteValuesResponse = isDeleteValuesResponse;
|
|
909
1002
|
const DeleteSingleValueResponse_possibleTypes = ['DeleteSingleValueResponse'];
|
|
910
1003
|
const isDeleteSingleValueResponse = (obj) => {
|
|
911
1004
|
if (!obj?.__typename)
|
|
@@ -913,6 +1006,34 @@ const isDeleteSingleValueResponse = (obj) => {
|
|
|
913
1006
|
return DeleteSingleValueResponse_possibleTypes.includes(obj.__typename);
|
|
914
1007
|
};
|
|
915
1008
|
exports.isDeleteSingleValueResponse = isDeleteSingleValueResponse;
|
|
1009
|
+
const ScoreRefreshDetail_possibleTypes = ['ScoreRefreshDetail'];
|
|
1010
|
+
const isScoreRefreshDetail = (obj) => {
|
|
1011
|
+
if (!obj?.__typename)
|
|
1012
|
+
throw new Error('__typename is missing in "isScoreRefreshDetail"');
|
|
1013
|
+
return ScoreRefreshDetail_possibleTypes.includes(obj.__typename);
|
|
1014
|
+
};
|
|
1015
|
+
exports.isScoreRefreshDetail = isScoreRefreshDetail;
|
|
1016
|
+
const RefreshDiagnostics_possibleTypes = ['RefreshDiagnostics'];
|
|
1017
|
+
const isRefreshDiagnostics = (obj) => {
|
|
1018
|
+
if (!obj?.__typename)
|
|
1019
|
+
throw new Error('__typename is missing in "isRefreshDiagnostics"');
|
|
1020
|
+
return RefreshDiagnostics_possibleTypes.includes(obj.__typename);
|
|
1021
|
+
};
|
|
1022
|
+
exports.isRefreshDiagnostics = isRefreshDiagnostics;
|
|
1023
|
+
const ForceScoreRefreshResult_possibleTypes = ['ForceScoreRefreshResult'];
|
|
1024
|
+
const isForceScoreRefreshResult = (obj) => {
|
|
1025
|
+
if (!obj?.__typename)
|
|
1026
|
+
throw new Error('__typename is missing in "isForceScoreRefreshResult"');
|
|
1027
|
+
return ForceScoreRefreshResult_possibleTypes.includes(obj.__typename);
|
|
1028
|
+
};
|
|
1029
|
+
exports.isForceScoreRefreshResult = isForceScoreRefreshResult;
|
|
1030
|
+
const ForceScoreRefreshResponse_possibleTypes = ['ForceScoreRefreshResponse'];
|
|
1031
|
+
const isForceScoreRefreshResponse = (obj) => {
|
|
1032
|
+
if (!obj?.__typename)
|
|
1033
|
+
throw new Error('__typename is missing in "isForceScoreRefreshResponse"');
|
|
1034
|
+
return ForceScoreRefreshResponse_possibleTypes.includes(obj.__typename);
|
|
1035
|
+
};
|
|
1036
|
+
exports.isForceScoreRefreshResponse = isForceScoreRefreshResponse;
|
|
916
1037
|
const SortOrder_possibleTypes = ['SortOrder'];
|
|
917
1038
|
const isSortOrder = (obj) => {
|
|
918
1039
|
if (!obj?.__typename)
|
|
@@ -955,6 +1076,13 @@ const isExistValueResponse = (obj) => {
|
|
|
955
1076
|
return ExistValueResponse_possibleTypes.includes(obj.__typename);
|
|
956
1077
|
};
|
|
957
1078
|
exports.isExistValueResponse = isExistValueResponse;
|
|
1079
|
+
const DeleteOnboardingAthleteResponse_possibleTypes = ['DeleteOnboardingAthleteResponse'];
|
|
1080
|
+
const isDeleteOnboardingAthleteResponse = (obj) => {
|
|
1081
|
+
if (!obj?.__typename)
|
|
1082
|
+
throw new Error('__typename is missing in "isDeleteOnboardingAthleteResponse"');
|
|
1083
|
+
return DeleteOnboardingAthleteResponse_possibleTypes.includes(obj.__typename);
|
|
1084
|
+
};
|
|
1085
|
+
exports.isDeleteOnboardingAthleteResponse = isDeleteOnboardingAthleteResponse;
|
|
958
1086
|
const CompetitionDeleteVerificationReason_possibleTypes = ['CompetitionDeleteVerificationReason'];
|
|
959
1087
|
const isCompetitionDeleteVerificationReason = (obj) => {
|
|
960
1088
|
if (!obj?.__typename)
|
|
@@ -983,6 +1111,48 @@ const isStripeObject = (obj) => {
|
|
|
983
1111
|
return StripeObject_possibleTypes.includes(obj.__typename);
|
|
984
1112
|
};
|
|
985
1113
|
exports.isStripeObject = isStripeObject;
|
|
1114
|
+
const BrowseCampaignsResult_possibleTypes = ['BrowseCampaignsResult'];
|
|
1115
|
+
const isBrowseCampaignsResult = (obj) => {
|
|
1116
|
+
if (!obj?.__typename)
|
|
1117
|
+
throw new Error('__typename is missing in "isBrowseCampaignsResult"');
|
|
1118
|
+
return BrowseCampaignsResult_possibleTypes.includes(obj.__typename);
|
|
1119
|
+
};
|
|
1120
|
+
exports.isBrowseCampaignsResult = isBrowseCampaignsResult;
|
|
1121
|
+
const ScoreRefreshCapability_possibleTypes = ['ScoreRefreshCapability'];
|
|
1122
|
+
const isScoreRefreshCapability = (obj) => {
|
|
1123
|
+
if (!obj?.__typename)
|
|
1124
|
+
throw new Error('__typename is missing in "isScoreRefreshCapability"');
|
|
1125
|
+
return ScoreRefreshCapability_possibleTypes.includes(obj.__typename);
|
|
1126
|
+
};
|
|
1127
|
+
exports.isScoreRefreshCapability = isScoreRefreshCapability;
|
|
1128
|
+
const CheckScoreRefreshCapabilityResponse_possibleTypes = ['CheckScoreRefreshCapabilityResponse'];
|
|
1129
|
+
const isCheckScoreRefreshCapabilityResponse = (obj) => {
|
|
1130
|
+
if (!obj?.__typename)
|
|
1131
|
+
throw new Error('__typename is missing in "isCheckScoreRefreshCapabilityResponse"');
|
|
1132
|
+
return CheckScoreRefreshCapabilityResponse_possibleTypes.includes(obj.__typename);
|
|
1133
|
+
};
|
|
1134
|
+
exports.isCheckScoreRefreshCapabilityResponse = isCheckScoreRefreshCapabilityResponse;
|
|
1135
|
+
const OnboardingProgressResponse_possibleTypes = ['OnboardingProgressResponse'];
|
|
1136
|
+
const isOnboardingProgressResponse = (obj) => {
|
|
1137
|
+
if (!obj?.__typename)
|
|
1138
|
+
throw new Error('__typename is missing in "isOnboardingProgressResponse"');
|
|
1139
|
+
return OnboardingProgressResponse_possibleTypes.includes(obj.__typename);
|
|
1140
|
+
};
|
|
1141
|
+
exports.isOnboardingProgressResponse = isOnboardingProgressResponse;
|
|
1142
|
+
const PublicIntegrationStatus_possibleTypes = ['PublicIntegrationStatus'];
|
|
1143
|
+
const isPublicIntegrationStatus = (obj) => {
|
|
1144
|
+
if (!obj?.__typename)
|
|
1145
|
+
throw new Error('__typename is missing in "isPublicIntegrationStatus"');
|
|
1146
|
+
return PublicIntegrationStatus_possibleTypes.includes(obj.__typename);
|
|
1147
|
+
};
|
|
1148
|
+
exports.isPublicIntegrationStatus = isPublicIntegrationStatus;
|
|
1149
|
+
const PaginatedSports_possibleTypes = ['PaginatedSports'];
|
|
1150
|
+
const isPaginatedSports = (obj) => {
|
|
1151
|
+
if (!obj?.__typename)
|
|
1152
|
+
throw new Error('__typename is missing in "isPaginatedSports"');
|
|
1153
|
+
return PaginatedSports_possibleTypes.includes(obj.__typename);
|
|
1154
|
+
};
|
|
1155
|
+
exports.isPaginatedSports = isPaginatedSports;
|
|
986
1156
|
const UserImages_possibleTypes = ['UserImages'];
|
|
987
1157
|
const isUserImages = (obj) => {
|
|
988
1158
|
if (!obj?.__typename)
|
|
@@ -997,6 +1167,62 @@ const isValidatedToken = (obj) => {
|
|
|
997
1167
|
return ValidatedToken_possibleTypes.includes(obj.__typename);
|
|
998
1168
|
};
|
|
999
1169
|
exports.isValidatedToken = isValidatedToken;
|
|
1170
|
+
const DeleteVtxUserResponse_possibleTypes = ['DeleteVtxUserResponse'];
|
|
1171
|
+
const isDeleteVtxUserResponse = (obj) => {
|
|
1172
|
+
if (!obj?.__typename)
|
|
1173
|
+
throw new Error('__typename is missing in "isDeleteVtxUserResponse"');
|
|
1174
|
+
return DeleteVtxUserResponse_possibleTypes.includes(obj.__typename);
|
|
1175
|
+
};
|
|
1176
|
+
exports.isDeleteVtxUserResponse = isDeleteVtxUserResponse;
|
|
1177
|
+
const PaginatedUsers_possibleTypes = ['PaginatedUsers'];
|
|
1178
|
+
const isPaginatedUsers = (obj) => {
|
|
1179
|
+
if (!obj?.__typename)
|
|
1180
|
+
throw new Error('__typename is missing in "isPaginatedUsers"');
|
|
1181
|
+
return PaginatedUsers_possibleTypes.includes(obj.__typename);
|
|
1182
|
+
};
|
|
1183
|
+
exports.isPaginatedUsers = isPaginatedUsers;
|
|
1184
|
+
const TransactionDetails_possibleTypes = ['TransactionDetails'];
|
|
1185
|
+
const isTransactionDetails = (obj) => {
|
|
1186
|
+
if (!obj?.__typename)
|
|
1187
|
+
throw new Error('__typename is missing in "isTransactionDetails"');
|
|
1188
|
+
return TransactionDetails_possibleTypes.includes(obj.__typename);
|
|
1189
|
+
};
|
|
1190
|
+
exports.isTransactionDetails = isTransactionDetails;
|
|
1191
|
+
const PaginatedEvents_possibleTypes = ['PaginatedEvents'];
|
|
1192
|
+
const isPaginatedEvents = (obj) => {
|
|
1193
|
+
if (!obj?.__typename)
|
|
1194
|
+
throw new Error('__typename is missing in "isPaginatedEvents"');
|
|
1195
|
+
return PaginatedEvents_possibleTypes.includes(obj.__typename);
|
|
1196
|
+
};
|
|
1197
|
+
exports.isPaginatedEvents = isPaginatedEvents;
|
|
1198
|
+
const DonationDates_possibleTypes = ['DonationDates'];
|
|
1199
|
+
const isDonationDates = (obj) => {
|
|
1200
|
+
if (!obj?.__typename)
|
|
1201
|
+
throw new Error('__typename is missing in "isDonationDates"');
|
|
1202
|
+
return DonationDates_possibleTypes.includes(obj.__typename);
|
|
1203
|
+
};
|
|
1204
|
+
exports.isDonationDates = isDonationDates;
|
|
1205
|
+
const PaginatedDonations_possibleTypes = ['PaginatedDonations'];
|
|
1206
|
+
const isPaginatedDonations = (obj) => {
|
|
1207
|
+
if (!obj?.__typename)
|
|
1208
|
+
throw new Error('__typename is missing in "isPaginatedDonations"');
|
|
1209
|
+
return PaginatedDonations_possibleTypes.includes(obj.__typename);
|
|
1210
|
+
};
|
|
1211
|
+
exports.isPaginatedDonations = isPaginatedDonations;
|
|
1212
|
+
const CurrencyAmountType_possibleTypes = ['CurrencyAmountType'];
|
|
1213
|
+
const isCurrencyAmountType = (obj) => {
|
|
1214
|
+
if (!obj?.__typename)
|
|
1215
|
+
throw new Error('__typename is missing in "isCurrencyAmountType"');
|
|
1216
|
+
return CurrencyAmountType_possibleTypes.includes(obj.__typename);
|
|
1217
|
+
};
|
|
1218
|
+
exports.isCurrencyAmountType = isCurrencyAmountType;
|
|
1219
|
+
const StripeBalance_possibleTypes = ['StripeBalance'];
|
|
1220
|
+
const isStripeBalance = (obj) => {
|
|
1221
|
+
if (!obj?.__typename)
|
|
1222
|
+
throw new Error('__typename is missing in "isStripeBalance"');
|
|
1223
|
+
return StripeBalance_possibleTypes.includes(obj.__typename);
|
|
1224
|
+
};
|
|
1225
|
+
exports.isStripeBalance = isStripeBalance;
|
|
1000
1226
|
const StripeTransfer_possibleTypes = ['StripeTransfer'];
|
|
1001
1227
|
const isStripeTransfer = (obj) => {
|
|
1002
1228
|
if (!obj?.__typename)
|
|
@@ -1011,6 +1237,335 @@ const isUserDomain = (obj) => {
|
|
|
1011
1237
|
return UserDomain_possibleTypes.includes(obj.__typename);
|
|
1012
1238
|
};
|
|
1013
1239
|
exports.isUserDomain = isUserDomain;
|
|
1240
|
+
const PaginatedTransactions_possibleTypes = ['PaginatedTransactions'];
|
|
1241
|
+
const isPaginatedTransactions = (obj) => {
|
|
1242
|
+
if (!obj?.__typename)
|
|
1243
|
+
throw new Error('__typename is missing in "isPaginatedTransactions"');
|
|
1244
|
+
return PaginatedTransactions_possibleTypes.includes(obj.__typename);
|
|
1245
|
+
};
|
|
1246
|
+
exports.isPaginatedTransactions = isPaginatedTransactions;
|
|
1247
|
+
const PaginatedOffers_possibleTypes = ['PaginatedOffers'];
|
|
1248
|
+
const isPaginatedOffers = (obj) => {
|
|
1249
|
+
if (!obj?.__typename)
|
|
1250
|
+
throw new Error('__typename is missing in "isPaginatedOffers"');
|
|
1251
|
+
return PaginatedOffers_possibleTypes.includes(obj.__typename);
|
|
1252
|
+
};
|
|
1253
|
+
exports.isPaginatedOffers = isPaginatedOffers;
|
|
1254
|
+
const UploadResult_possibleTypes = ['UploadResult'];
|
|
1255
|
+
const isUploadResult = (obj) => {
|
|
1256
|
+
if (!obj?.__typename)
|
|
1257
|
+
throw new Error('__typename is missing in "isUploadResult"');
|
|
1258
|
+
return UploadResult_possibleTypes.includes(obj.__typename);
|
|
1259
|
+
};
|
|
1260
|
+
exports.isUploadResult = isUploadResult;
|
|
1261
|
+
const OfferAvailability_possibleTypes = ['OfferAvailability'];
|
|
1262
|
+
const isOfferAvailability = (obj) => {
|
|
1263
|
+
if (!obj?.__typename)
|
|
1264
|
+
throw new Error('__typename is missing in "isOfferAvailability"');
|
|
1265
|
+
return OfferAvailability_possibleTypes.includes(obj.__typename);
|
|
1266
|
+
};
|
|
1267
|
+
exports.isOfferAvailability = isOfferAvailability;
|
|
1268
|
+
const LeaderboardEntry_possibleTypes = ['LeaderboardEntry'];
|
|
1269
|
+
const isLeaderboardEntry = (obj) => {
|
|
1270
|
+
if (!obj?.__typename)
|
|
1271
|
+
throw new Error('__typename is missing in "isLeaderboardEntry"');
|
|
1272
|
+
return LeaderboardEntry_possibleTypes.includes(obj.__typename);
|
|
1273
|
+
};
|
|
1274
|
+
exports.isLeaderboardEntry = isLeaderboardEntry;
|
|
1275
|
+
const LeaderboardPagination_possibleTypes = ['LeaderboardPagination'];
|
|
1276
|
+
const isLeaderboardPagination = (obj) => {
|
|
1277
|
+
if (!obj?.__typename)
|
|
1278
|
+
throw new Error('__typename is missing in "isLeaderboardPagination"');
|
|
1279
|
+
return LeaderboardPagination_possibleTypes.includes(obj.__typename);
|
|
1280
|
+
};
|
|
1281
|
+
exports.isLeaderboardPagination = isLeaderboardPagination;
|
|
1282
|
+
const LeaderboardFilters_possibleTypes = ['LeaderboardFilters'];
|
|
1283
|
+
const isLeaderboardFilters = (obj) => {
|
|
1284
|
+
if (!obj?.__typename)
|
|
1285
|
+
throw new Error('__typename is missing in "isLeaderboardFilters"');
|
|
1286
|
+
return LeaderboardFilters_possibleTypes.includes(obj.__typename);
|
|
1287
|
+
};
|
|
1288
|
+
exports.isLeaderboardFilters = isLeaderboardFilters;
|
|
1289
|
+
const LeaderboardResponse_possibleTypes = ['LeaderboardResponse'];
|
|
1290
|
+
const isLeaderboardResponse = (obj) => {
|
|
1291
|
+
if (!obj?.__typename)
|
|
1292
|
+
throw new Error('__typename is missing in "isLeaderboardResponse"');
|
|
1293
|
+
return LeaderboardResponse_possibleTypes.includes(obj.__typename);
|
|
1294
|
+
};
|
|
1295
|
+
exports.isLeaderboardResponse = isLeaderboardResponse;
|
|
1296
|
+
const UserRank_possibleTypes = ['UserRank'];
|
|
1297
|
+
const isUserRank = (obj) => {
|
|
1298
|
+
if (!obj?.__typename)
|
|
1299
|
+
throw new Error('__typename is missing in "isUserRank"');
|
|
1300
|
+
return UserRank_possibleTypes.includes(obj.__typename);
|
|
1301
|
+
};
|
|
1302
|
+
exports.isUserRank = isUserRank;
|
|
1303
|
+
const DashboardSummary_possibleTypes = ['DashboardSummary'];
|
|
1304
|
+
const isDashboardSummary = (obj) => {
|
|
1305
|
+
if (!obj?.__typename)
|
|
1306
|
+
throw new Error('__typename is missing in "isDashboardSummary"');
|
|
1307
|
+
return DashboardSummary_possibleTypes.includes(obj.__typename);
|
|
1308
|
+
};
|
|
1309
|
+
exports.isDashboardSummary = isDashboardSummary;
|
|
1310
|
+
const ScoreHistoryEntry_possibleTypes = ['ScoreHistoryEntry'];
|
|
1311
|
+
const isScoreHistoryEntry = (obj) => {
|
|
1312
|
+
if (!obj?.__typename)
|
|
1313
|
+
throw new Error('__typename is missing in "isScoreHistoryEntry"');
|
|
1314
|
+
return ScoreHistoryEntry_possibleTypes.includes(obj.__typename);
|
|
1315
|
+
};
|
|
1316
|
+
exports.isScoreHistoryEntry = isScoreHistoryEntry;
|
|
1317
|
+
const RankHistoryEntry_possibleTypes = ['RankHistoryEntry'];
|
|
1318
|
+
const isRankHistoryEntry = (obj) => {
|
|
1319
|
+
if (!obj?.__typename)
|
|
1320
|
+
throw new Error('__typename is missing in "isRankHistoryEntry"');
|
|
1321
|
+
return RankHistoryEntry_possibleTypes.includes(obj.__typename);
|
|
1322
|
+
};
|
|
1323
|
+
exports.isRankHistoryEntry = isRankHistoryEntry;
|
|
1324
|
+
const RankContext_possibleTypes = ['RankContext'];
|
|
1325
|
+
const isRankContext = (obj) => {
|
|
1326
|
+
if (!obj?.__typename)
|
|
1327
|
+
throw new Error('__typename is missing in "isRankContext"');
|
|
1328
|
+
return RankContext_possibleTypes.includes(obj.__typename);
|
|
1329
|
+
};
|
|
1330
|
+
exports.isRankContext = isRankContext;
|
|
1331
|
+
const ActivityEntry_possibleTypes = ['ActivityEntry'];
|
|
1332
|
+
const isActivityEntry = (obj) => {
|
|
1333
|
+
if (!obj?.__typename)
|
|
1334
|
+
throw new Error('__typename is missing in "isActivityEntry"');
|
|
1335
|
+
return ActivityEntry_possibleTypes.includes(obj.__typename);
|
|
1336
|
+
};
|
|
1337
|
+
exports.isActivityEntry = isActivityEntry;
|
|
1338
|
+
const ActivitiesResponse_possibleTypes = ['ActivitiesResponse'];
|
|
1339
|
+
const isActivitiesResponse = (obj) => {
|
|
1340
|
+
if (!obj?.__typename)
|
|
1341
|
+
throw new Error('__typename is missing in "isActivitiesResponse"');
|
|
1342
|
+
return ActivitiesResponse_possibleTypes.includes(obj.__typename);
|
|
1343
|
+
};
|
|
1344
|
+
exports.isActivitiesResponse = isActivitiesResponse;
|
|
1345
|
+
const MetricComparison_possibleTypes = ['MetricComparison'];
|
|
1346
|
+
const isMetricComparison = (obj) => {
|
|
1347
|
+
if (!obj?.__typename)
|
|
1348
|
+
throw new Error('__typename is missing in "isMetricComparison"');
|
|
1349
|
+
return MetricComparison_possibleTypes.includes(obj.__typename);
|
|
1350
|
+
};
|
|
1351
|
+
exports.isMetricComparison = isMetricComparison;
|
|
1352
|
+
const ScoreInfo_possibleTypes = ['ScoreInfo'];
|
|
1353
|
+
const isScoreInfo = (obj) => {
|
|
1354
|
+
if (!obj?.__typename)
|
|
1355
|
+
throw new Error('__typename is missing in "isScoreInfo"');
|
|
1356
|
+
return ScoreInfo_possibleTypes.includes(obj.__typename);
|
|
1357
|
+
};
|
|
1358
|
+
exports.isScoreInfo = isScoreInfo;
|
|
1359
|
+
const ActivityDetail_possibleTypes = ['ActivityDetail'];
|
|
1360
|
+
const isActivityDetail = (obj) => {
|
|
1361
|
+
if (!obj?.__typename)
|
|
1362
|
+
throw new Error('__typename is missing in "isActivityDetail"');
|
|
1363
|
+
return ActivityDetail_possibleTypes.includes(obj.__typename);
|
|
1364
|
+
};
|
|
1365
|
+
exports.isActivityDetail = isActivityDetail;
|
|
1366
|
+
const TopMetric_possibleTypes = ['TopMetric'];
|
|
1367
|
+
const isTopMetric = (obj) => {
|
|
1368
|
+
if (!obj?.__typename)
|
|
1369
|
+
throw new Error('__typename is missing in "isTopMetric"');
|
|
1370
|
+
return TopMetric_possibleTypes.includes(obj.__typename);
|
|
1371
|
+
};
|
|
1372
|
+
exports.isTopMetric = isTopMetric;
|
|
1373
|
+
const ComponentSummary_possibleTypes = ['ComponentSummary'];
|
|
1374
|
+
const isComponentSummary = (obj) => {
|
|
1375
|
+
if (!obj?.__typename)
|
|
1376
|
+
throw new Error('__typename is missing in "isComponentSummary"');
|
|
1377
|
+
return ComponentSummary_possibleTypes.includes(obj.__typename);
|
|
1378
|
+
};
|
|
1379
|
+
exports.isComponentSummary = isComponentSummary;
|
|
1380
|
+
const ActivityDateEntry_possibleTypes = ['ActivityDateEntry'];
|
|
1381
|
+
const isActivityDateEntry = (obj) => {
|
|
1382
|
+
if (!obj?.__typename)
|
|
1383
|
+
throw new Error('__typename is missing in "isActivityDateEntry"');
|
|
1384
|
+
return ActivityDateEntry_possibleTypes.includes(obj.__typename);
|
|
1385
|
+
};
|
|
1386
|
+
exports.isActivityDateEntry = isActivityDateEntry;
|
|
1387
|
+
const ActivityDatesResponse_possibleTypes = ['ActivityDatesResponse'];
|
|
1388
|
+
const isActivityDatesResponse = (obj) => {
|
|
1389
|
+
if (!obj?.__typename)
|
|
1390
|
+
throw new Error('__typename is missing in "isActivityDatesResponse"');
|
|
1391
|
+
return ActivityDatesResponse_possibleTypes.includes(obj.__typename);
|
|
1392
|
+
};
|
|
1393
|
+
exports.isActivityDatesResponse = isActivityDatesResponse;
|
|
1394
|
+
const SocialAggregateType_possibleTypes = ['SocialAggregateType'];
|
|
1395
|
+
const isSocialAggregateType = (obj) => {
|
|
1396
|
+
if (!obj?.__typename)
|
|
1397
|
+
throw new Error('__typename is missing in "isSocialAggregateType"');
|
|
1398
|
+
return SocialAggregateType_possibleTypes.includes(obj.__typename);
|
|
1399
|
+
};
|
|
1400
|
+
exports.isSocialAggregateType = isSocialAggregateType;
|
|
1401
|
+
const PostMetricType_possibleTypes = ['PostMetricType'];
|
|
1402
|
+
const isPostMetricType = (obj) => {
|
|
1403
|
+
if (!obj?.__typename)
|
|
1404
|
+
throw new Error('__typename is missing in "isPostMetricType"');
|
|
1405
|
+
return PostMetricType_possibleTypes.includes(obj.__typename);
|
|
1406
|
+
};
|
|
1407
|
+
exports.isPostMetricType = isPostMetricType;
|
|
1408
|
+
const AveragesType_possibleTypes = ['AveragesType'];
|
|
1409
|
+
const isAveragesType = (obj) => {
|
|
1410
|
+
if (!obj?.__typename)
|
|
1411
|
+
throw new Error('__typename is missing in "isAveragesType"');
|
|
1412
|
+
return AveragesType_possibleTypes.includes(obj.__typename);
|
|
1413
|
+
};
|
|
1414
|
+
exports.isAveragesType = isAveragesType;
|
|
1415
|
+
const PostComparisonResultType_possibleTypes = ['PostComparisonResultType'];
|
|
1416
|
+
const isPostComparisonResultType = (obj) => {
|
|
1417
|
+
if (!obj?.__typename)
|
|
1418
|
+
throw new Error('__typename is missing in "isPostComparisonResultType"');
|
|
1419
|
+
return PostComparisonResultType_possibleTypes.includes(obj.__typename);
|
|
1420
|
+
};
|
|
1421
|
+
exports.isPostComparisonResultType = isPostComparisonResultType;
|
|
1422
|
+
const Notification_possibleTypes = ['Notification'];
|
|
1423
|
+
const isNotification = (obj) => {
|
|
1424
|
+
if (!obj?.__typename)
|
|
1425
|
+
throw new Error('__typename is missing in "isNotification"');
|
|
1426
|
+
return Notification_possibleTypes.includes(obj.__typename);
|
|
1427
|
+
};
|
|
1428
|
+
exports.isNotification = isNotification;
|
|
1429
|
+
const NotificationListResponse_possibleTypes = ['NotificationListResponse'];
|
|
1430
|
+
const isNotificationListResponse = (obj) => {
|
|
1431
|
+
if (!obj?.__typename)
|
|
1432
|
+
throw new Error('__typename is missing in "isNotificationListResponse"');
|
|
1433
|
+
return NotificationListResponse_possibleTypes.includes(obj.__typename);
|
|
1434
|
+
};
|
|
1435
|
+
exports.isNotificationListResponse = isNotificationListResponse;
|
|
1436
|
+
const UnreadCountResponse_possibleTypes = ['UnreadCountResponse'];
|
|
1437
|
+
const isUnreadCountResponse = (obj) => {
|
|
1438
|
+
if (!obj?.__typename)
|
|
1439
|
+
throw new Error('__typename is missing in "isUnreadCountResponse"');
|
|
1440
|
+
return UnreadCountResponse_possibleTypes.includes(obj.__typename);
|
|
1441
|
+
};
|
|
1442
|
+
exports.isUnreadCountResponse = isUnreadCountResponse;
|
|
1443
|
+
const NotificationPreference_possibleTypes = ['NotificationPreference'];
|
|
1444
|
+
const isNotificationPreference = (obj) => {
|
|
1445
|
+
if (!obj?.__typename)
|
|
1446
|
+
throw new Error('__typename is missing in "isNotificationPreference"');
|
|
1447
|
+
return NotificationPreference_possibleTypes.includes(obj.__typename);
|
|
1448
|
+
};
|
|
1449
|
+
exports.isNotificationPreference = isNotificationPreference;
|
|
1450
|
+
const DeviceTokenType_possibleTypes = ['DeviceTokenType'];
|
|
1451
|
+
const isDeviceTokenType = (obj) => {
|
|
1452
|
+
if (!obj?.__typename)
|
|
1453
|
+
throw new Error('__typename is missing in "isDeviceTokenType"');
|
|
1454
|
+
return DeviceTokenType_possibleTypes.includes(obj.__typename);
|
|
1455
|
+
};
|
|
1456
|
+
exports.isDeviceTokenType = isDeviceTokenType;
|
|
1457
|
+
const FollowedAthleteInfo_possibleTypes = ['FollowedAthleteInfo'];
|
|
1458
|
+
const isFollowedAthleteInfo = (obj) => {
|
|
1459
|
+
if (!obj?.__typename)
|
|
1460
|
+
throw new Error('__typename is missing in "isFollowedAthleteInfo"');
|
|
1461
|
+
return FollowedAthleteInfo_possibleTypes.includes(obj.__typename);
|
|
1462
|
+
};
|
|
1463
|
+
exports.isFollowedAthleteInfo = isFollowedAthleteInfo;
|
|
1464
|
+
const FollowedAthletesListResponse_possibleTypes = ['FollowedAthletesListResponse'];
|
|
1465
|
+
const isFollowedAthletesListResponse = (obj) => {
|
|
1466
|
+
if (!obj?.__typename)
|
|
1467
|
+
throw new Error('__typename is missing in "isFollowedAthletesListResponse"');
|
|
1468
|
+
return FollowedAthletesListResponse_possibleTypes.includes(obj.__typename);
|
|
1469
|
+
};
|
|
1470
|
+
exports.isFollowedAthletesListResponse = isFollowedAthletesListResponse;
|
|
1471
|
+
const IsFollowingResponse_possibleTypes = ['IsFollowingResponse'];
|
|
1472
|
+
const isIsFollowingResponse = (obj) => {
|
|
1473
|
+
if (!obj?.__typename)
|
|
1474
|
+
throw new Error('__typename is missing in "isIsFollowingResponse"');
|
|
1475
|
+
return IsFollowingResponse_possibleTypes.includes(obj.__typename);
|
|
1476
|
+
};
|
|
1477
|
+
exports.isIsFollowingResponse = isIsFollowingResponse;
|
|
1478
|
+
const EmailCampaignDelivery_possibleTypes = ['EmailCampaignDelivery'];
|
|
1479
|
+
const isEmailCampaignDelivery = (obj) => {
|
|
1480
|
+
if (!obj?.__typename)
|
|
1481
|
+
throw new Error('__typename is missing in "isEmailCampaignDelivery"');
|
|
1482
|
+
return EmailCampaignDelivery_possibleTypes.includes(obj.__typename);
|
|
1483
|
+
};
|
|
1484
|
+
exports.isEmailCampaignDelivery = isEmailCampaignDelivery;
|
|
1485
|
+
const EmailSegment_possibleTypes = ['EmailSegment'];
|
|
1486
|
+
const isEmailSegment = (obj) => {
|
|
1487
|
+
if (!obj?.__typename)
|
|
1488
|
+
throw new Error('__typename is missing in "isEmailSegment"');
|
|
1489
|
+
return EmailSegment_possibleTypes.includes(obj.__typename);
|
|
1490
|
+
};
|
|
1491
|
+
exports.isEmailSegment = isEmailSegment;
|
|
1492
|
+
const EmailCampaign_possibleTypes = ['EmailCampaign'];
|
|
1493
|
+
const isEmailCampaign = (obj) => {
|
|
1494
|
+
if (!obj?.__typename)
|
|
1495
|
+
throw new Error('__typename is missing in "isEmailCampaign"');
|
|
1496
|
+
return EmailCampaign_possibleTypes.includes(obj.__typename);
|
|
1497
|
+
};
|
|
1498
|
+
exports.isEmailCampaign = isEmailCampaign;
|
|
1499
|
+
const EmailCampaignPage_possibleTypes = ['EmailCampaignPage'];
|
|
1500
|
+
const isEmailCampaignPage = (obj) => {
|
|
1501
|
+
if (!obj?.__typename)
|
|
1502
|
+
throw new Error('__typename is missing in "isEmailCampaignPage"');
|
|
1503
|
+
return EmailCampaignPage_possibleTypes.includes(obj.__typename);
|
|
1504
|
+
};
|
|
1505
|
+
exports.isEmailCampaignPage = isEmailCampaignPage;
|
|
1506
|
+
const SendGridTemplate_possibleTypes = ['SendGridTemplate'];
|
|
1507
|
+
const isSendGridTemplate = (obj) => {
|
|
1508
|
+
if (!obj?.__typename)
|
|
1509
|
+
throw new Error('__typename is missing in "isSendGridTemplate"');
|
|
1510
|
+
return SendGridTemplate_possibleTypes.includes(obj.__typename);
|
|
1511
|
+
};
|
|
1512
|
+
exports.isSendGridTemplate = isSendGridTemplate;
|
|
1513
|
+
const AudiencePreviewUser_possibleTypes = ['AudiencePreviewUser'];
|
|
1514
|
+
const isAudiencePreviewUser = (obj) => {
|
|
1515
|
+
if (!obj?.__typename)
|
|
1516
|
+
throw new Error('__typename is missing in "isAudiencePreviewUser"');
|
|
1517
|
+
return AudiencePreviewUser_possibleTypes.includes(obj.__typename);
|
|
1518
|
+
};
|
|
1519
|
+
exports.isAudiencePreviewUser = isAudiencePreviewUser;
|
|
1520
|
+
const AudiencePreview_possibleTypes = ['AudiencePreview'];
|
|
1521
|
+
const isAudiencePreview = (obj) => {
|
|
1522
|
+
if (!obj?.__typename)
|
|
1523
|
+
throw new Error('__typename is missing in "isAudiencePreview"');
|
|
1524
|
+
return AudiencePreview_possibleTypes.includes(obj.__typename);
|
|
1525
|
+
};
|
|
1526
|
+
exports.isAudiencePreview = isAudiencePreview;
|
|
1527
|
+
const AiCoachMessage_possibleTypes = ['AiCoachMessage'];
|
|
1528
|
+
const isAiCoachMessage = (obj) => {
|
|
1529
|
+
if (!obj?.__typename)
|
|
1530
|
+
throw new Error('__typename is missing in "isAiCoachMessage"');
|
|
1531
|
+
return AiCoachMessage_possibleTypes.includes(obj.__typename);
|
|
1532
|
+
};
|
|
1533
|
+
exports.isAiCoachMessage = isAiCoachMessage;
|
|
1534
|
+
const AiCoachThread_possibleTypes = ['AiCoachThread'];
|
|
1535
|
+
const isAiCoachThread = (obj) => {
|
|
1536
|
+
if (!obj?.__typename)
|
|
1537
|
+
throw new Error('__typename is missing in "isAiCoachThread"');
|
|
1538
|
+
return AiCoachThread_possibleTypes.includes(obj.__typename);
|
|
1539
|
+
};
|
|
1540
|
+
exports.isAiCoachThread = isAiCoachThread;
|
|
1541
|
+
const AiCoachConfig_possibleTypes = ['AiCoachConfig'];
|
|
1542
|
+
const isAiCoachConfig = (obj) => {
|
|
1543
|
+
if (!obj?.__typename)
|
|
1544
|
+
throw new Error('__typename is missing in "isAiCoachConfig"');
|
|
1545
|
+
return AiCoachConfig_possibleTypes.includes(obj.__typename);
|
|
1546
|
+
};
|
|
1547
|
+
exports.isAiCoachConfig = isAiCoachConfig;
|
|
1548
|
+
const AiCoachNudge_possibleTypes = ['AiCoachNudge'];
|
|
1549
|
+
const isAiCoachNudge = (obj) => {
|
|
1550
|
+
if (!obj?.__typename)
|
|
1551
|
+
throw new Error('__typename is missing in "isAiCoachNudge"');
|
|
1552
|
+
return AiCoachNudge_possibleTypes.includes(obj.__typename);
|
|
1553
|
+
};
|
|
1554
|
+
exports.isAiCoachNudge = isAiCoachNudge;
|
|
1555
|
+
const AiCoachNudgeListResponse_possibleTypes = ['AiCoachNudgeListResponse'];
|
|
1556
|
+
const isAiCoachNudgeListResponse = (obj) => {
|
|
1557
|
+
if (!obj?.__typename)
|
|
1558
|
+
throw new Error('__typename is missing in "isAiCoachNudgeListResponse"');
|
|
1559
|
+
return AiCoachNudgeListResponse_possibleTypes.includes(obj.__typename);
|
|
1560
|
+
};
|
|
1561
|
+
exports.isAiCoachNudgeListResponse = isAiCoachNudgeListResponse;
|
|
1562
|
+
const AiCoachUnreadNudgeCountResponse_possibleTypes = ['AiCoachUnreadNudgeCountResponse'];
|
|
1563
|
+
const isAiCoachUnreadNudgeCountResponse = (obj) => {
|
|
1564
|
+
if (!obj?.__typename)
|
|
1565
|
+
throw new Error('__typename is missing in "isAiCoachUnreadNudgeCountResponse"');
|
|
1566
|
+
return AiCoachUnreadNudgeCountResponse_possibleTypes.includes(obj.__typename);
|
|
1567
|
+
};
|
|
1568
|
+
exports.isAiCoachUnreadNudgeCountResponse = isAiCoachUnreadNudgeCountResponse;
|
|
1014
1569
|
const Query_possibleTypes = ['Query'];
|
|
1015
1570
|
const isQuery = (obj) => {
|
|
1016
1571
|
if (!obj?.__typename)
|
|
@@ -1037,15 +1592,63 @@ exports.enumFundingMode = {
|
|
|
1037
1592
|
SINGLE_BUDGET: 'SINGLE_BUDGET',
|
|
1038
1593
|
COMPETITION_BUDGETS: 'COMPETITION_BUDGETS'
|
|
1039
1594
|
};
|
|
1595
|
+
exports.enumEligibilityStatus = {
|
|
1596
|
+
ELIGIBLE: 'ELIGIBLE',
|
|
1597
|
+
NOT_ELIGIBLE: 'NOT_ELIGIBLE',
|
|
1598
|
+
UNKNOWN: 'UNKNOWN'
|
|
1599
|
+
};
|
|
1600
|
+
exports.enumForceScoreRefreshStatus = {
|
|
1601
|
+
success: 'success',
|
|
1602
|
+
failed: 'failed',
|
|
1603
|
+
skipped: 'skipped'
|
|
1604
|
+
};
|
|
1040
1605
|
exports.enumStripeTransferStatus = {
|
|
1041
1606
|
not_applicable: 'not_applicable',
|
|
1042
1607
|
pending: 'pending',
|
|
1043
1608
|
failed: 'failed',
|
|
1044
1609
|
completed: 'completed'
|
|
1045
1610
|
};
|
|
1611
|
+
exports.enumActivityCategory = {
|
|
1612
|
+
TRAINING: 'TRAINING',
|
|
1613
|
+
SOCIAL: 'SOCIAL',
|
|
1614
|
+
COMPETITION: 'COMPETITION'
|
|
1615
|
+
};
|
|
1616
|
+
exports.enumPlatform = {
|
|
1617
|
+
INSTAGRAM: 'INSTAGRAM',
|
|
1618
|
+
TIKTOK: 'TIKTOK',
|
|
1619
|
+
YOUTUBE: 'YOUTUBE'
|
|
1620
|
+
};
|
|
1621
|
+
exports.enumContentType = {
|
|
1622
|
+
POST: 'POST',
|
|
1623
|
+
REEL: 'REEL',
|
|
1624
|
+
LIVE: 'LIVE',
|
|
1625
|
+
SHORT: 'SHORT',
|
|
1626
|
+
VIDEO: 'VIDEO'
|
|
1627
|
+
};
|
|
1628
|
+
exports.enumPeriodType = {
|
|
1629
|
+
DAILY: 'DAILY',
|
|
1630
|
+
WEEKLY: 'WEEKLY'
|
|
1631
|
+
};
|
|
1632
|
+
exports.enumTimeRange = {
|
|
1633
|
+
SEVEN_DAYS: 'SEVEN_DAYS',
|
|
1634
|
+
THIRTY_DAYS: 'THIRTY_DAYS',
|
|
1635
|
+
NINETY_DAYS: 'NINETY_DAYS',
|
|
1636
|
+
ONE_YEAR: 'ONE_YEAR',
|
|
1637
|
+
ALL_TIME: 'ALL_TIME'
|
|
1638
|
+
};
|
|
1046
1639
|
exports.enumDonationMode = {
|
|
1047
1640
|
PUBLIC: 'PUBLIC',
|
|
1048
1641
|
PRIVATE: 'PRIVATE',
|
|
1049
1642
|
ANONYMOUS: 'ANONYMOUS'
|
|
1050
1643
|
};
|
|
1644
|
+
exports.enumOfferClaimStatus = {
|
|
1645
|
+
ACTIVE: 'ACTIVE',
|
|
1646
|
+
EXPIRED: 'EXPIRED',
|
|
1647
|
+
ALL: 'ALL'
|
|
1648
|
+
};
|
|
1649
|
+
exports.enumPostSortOption = {
|
|
1650
|
+
RECENT: 'RECENT',
|
|
1651
|
+
TOP: 'TOP',
|
|
1652
|
+
UNDERPERFORMING: 'UNDERPERFORMING'
|
|
1653
|
+
};
|
|
1051
1654
|
//# sourceMappingURL=schema.js.map
|