@vertikalx/vtx-backend-client 3.0.0-dev.23 → 3.0.0-dev.25
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/LICENSE.md +0 -0
- package/package.json +1 -1
- package/src/api/vtx-base-api.d.ts +40 -18
- package/src/api/vtx-base-api.js +1056 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +1122 -473
- package/src/client/schema.js +232 -110
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +569 -235
- package/src/client/types.js +2763 -1850
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.
|
|
6
|
-
exports.enumDonationMode = exports.enumStripeTransferStatus = exports.enumForceScoreRefreshStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = 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.isScoreRefreshDetail = exports.isDeleteSingleValueResponse = 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.isDeleteValuesResponse = exports.isErrorType = 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 = exports.isStravaToken = void 0;
|
|
6
|
+
exports.enumOfferClaimStatus = exports.enumDonationMode = exports.enumStripeTransferStatus = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isOfferAvailability = exports.isUploadResult = exports.isPaginatedOffers = exports.isPaginatedTransactions = exports.isUserDomain = exports.isStripeTransfer = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isPaginatedEvents = exports.isTransactionDetails = exports.isPaginatedUsers = exports.isDeleteVtxUserResponse = exports.isValidatedToken = exports.isUserImages = exports.isPaginatedSports = exports.isCheckScoreRefreshCapabilityResponse = exports.isScoreRefreshCapability = exports.isStripeObject = exports.isHistoricalScoresPeriod = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = void 0;
|
|
7
7
|
const User_possibleTypes = ['User'];
|
|
8
8
|
const isUser = (obj) => {
|
|
9
9
|
if (!obj?.__typename)
|
|
@@ -235,48 +235,20 @@ const isCodeVerificationResponse = (obj) => {
|
|
|
235
235
|
return CodeVerificationResponse_possibleTypes.includes(obj.__typename);
|
|
236
236
|
};
|
|
237
237
|
exports.isCodeVerificationResponse = isCodeVerificationResponse;
|
|
238
|
-
const
|
|
239
|
-
const
|
|
240
|
-
if (!obj?.__typename)
|
|
241
|
-
throw new Error('__typename is missing in "isBrandStats"');
|
|
242
|
-
return BrandStats_possibleTypes.includes(obj.__typename);
|
|
243
|
-
};
|
|
244
|
-
exports.isBrandStats = isBrandStats;
|
|
245
|
-
const BrandTranslation_possibleTypes = ['BrandTranslation'];
|
|
246
|
-
const isBrandTranslation = (obj) => {
|
|
247
|
-
if (!obj?.__typename)
|
|
248
|
-
throw new Error('__typename is missing in "isBrandTranslation"');
|
|
249
|
-
return BrandTranslation_possibleTypes.includes(obj.__typename);
|
|
250
|
-
};
|
|
251
|
-
exports.isBrandTranslation = isBrandTranslation;
|
|
252
|
-
const Brand_possibleTypes = ['Brand'];
|
|
253
|
-
const isBrand = (obj) => {
|
|
254
|
-
if (!obj?.__typename)
|
|
255
|
-
throw new Error('__typename is missing in "isBrand"');
|
|
256
|
-
return Brand_possibleTypes.includes(obj.__typename);
|
|
257
|
-
};
|
|
258
|
-
exports.isBrand = isBrand;
|
|
259
|
-
const StravaTpiRideDto_possibleTypes = ['StravaTpiRideDto'];
|
|
260
|
-
const isStravaTpiRideDto = (obj) => {
|
|
261
|
-
if (!obj?.__typename)
|
|
262
|
-
throw new Error('__typename is missing in "isStravaTpiRideDto"');
|
|
263
|
-
return StravaTpiRideDto_possibleTypes.includes(obj.__typename);
|
|
264
|
-
};
|
|
265
|
-
exports.isStravaTpiRideDto = isStravaTpiRideDto;
|
|
266
|
-
const StravaTpiRunDto_possibleTypes = ['StravaTpiRunDto'];
|
|
267
|
-
const isStravaTpiRunDto = (obj) => {
|
|
238
|
+
const Industry_possibleTypes = ['Industry'];
|
|
239
|
+
const isIndustry = (obj) => {
|
|
268
240
|
if (!obj?.__typename)
|
|
269
|
-
throw new Error('__typename is missing in "
|
|
270
|
-
return
|
|
241
|
+
throw new Error('__typename is missing in "isIndustry"');
|
|
242
|
+
return Industry_possibleTypes.includes(obj.__typename);
|
|
271
243
|
};
|
|
272
|
-
exports.
|
|
273
|
-
const
|
|
274
|
-
const
|
|
244
|
+
exports.isIndustry = isIndustry;
|
|
245
|
+
const SponsorStats_possibleTypes = ['SponsorStats'];
|
|
246
|
+
const isSponsorStats = (obj) => {
|
|
275
247
|
if (!obj?.__typename)
|
|
276
|
-
throw new Error('__typename is missing in "
|
|
277
|
-
return
|
|
248
|
+
throw new Error('__typename is missing in "isSponsorStats"');
|
|
249
|
+
return SponsorStats_possibleTypes.includes(obj.__typename);
|
|
278
250
|
};
|
|
279
|
-
exports.
|
|
251
|
+
exports.isSponsorStats = isSponsorStats;
|
|
280
252
|
const City_possibleTypes = ['City'];
|
|
281
253
|
const isCity = (obj) => {
|
|
282
254
|
if (!obj?.__typename)
|
|
@@ -368,34 +340,6 @@ const isQualificationTypeUnion = (obj) => {
|
|
|
368
340
|
return QualificationTypeUnion_possibleTypes.includes(obj.__typename);
|
|
369
341
|
};
|
|
370
342
|
exports.isQualificationTypeUnion = isQualificationTypeUnion;
|
|
371
|
-
const Industry_possibleTypes = ['Industry'];
|
|
372
|
-
const isIndustry = (obj) => {
|
|
373
|
-
if (!obj?.__typename)
|
|
374
|
-
throw new Error('__typename is missing in "isIndustry"');
|
|
375
|
-
return Industry_possibleTypes.includes(obj.__typename);
|
|
376
|
-
};
|
|
377
|
-
exports.isIndustry = isIndustry;
|
|
378
|
-
const SponsorStats_possibleTypes = ['SponsorStats'];
|
|
379
|
-
const isSponsorStats = (obj) => {
|
|
380
|
-
if (!obj?.__typename)
|
|
381
|
-
throw new Error('__typename is missing in "isSponsorStats"');
|
|
382
|
-
return SponsorStats_possibleTypes.includes(obj.__typename);
|
|
383
|
-
};
|
|
384
|
-
exports.isSponsorStats = isSponsorStats;
|
|
385
|
-
const SponsorBrand_possibleTypes = ['SponsorBrand'];
|
|
386
|
-
const isSponsorBrand = (obj) => {
|
|
387
|
-
if (!obj?.__typename)
|
|
388
|
-
throw new Error('__typename is missing in "isSponsorBrand"');
|
|
389
|
-
return SponsorBrand_possibleTypes.includes(obj.__typename);
|
|
390
|
-
};
|
|
391
|
-
exports.isSponsorBrand = isSponsorBrand;
|
|
392
|
-
const Sponsor_possibleTypes = ['Sponsor'];
|
|
393
|
-
const isSponsor = (obj) => {
|
|
394
|
-
if (!obj?.__typename)
|
|
395
|
-
throw new Error('__typename is missing in "isSponsor"');
|
|
396
|
-
return Sponsor_possibleTypes.includes(obj.__typename);
|
|
397
|
-
};
|
|
398
|
-
exports.isSponsor = isSponsor;
|
|
399
343
|
const SponsorshipItem_possibleTypes = ['SponsorshipItem'];
|
|
400
344
|
const isSponsorshipItem = (obj) => {
|
|
401
345
|
if (!obj?.__typename)
|
|
@@ -438,6 +382,62 @@ const isSponsorship = (obj) => {
|
|
|
438
382
|
return Sponsorship_possibleTypes.includes(obj.__typename);
|
|
439
383
|
};
|
|
440
384
|
exports.isSponsorship = isSponsorship;
|
|
385
|
+
const Sponsor_possibleTypes = ['Sponsor'];
|
|
386
|
+
const isSponsor = (obj) => {
|
|
387
|
+
if (!obj?.__typename)
|
|
388
|
+
throw new Error('__typename is missing in "isSponsor"');
|
|
389
|
+
return Sponsor_possibleTypes.includes(obj.__typename);
|
|
390
|
+
};
|
|
391
|
+
exports.isSponsor = isSponsor;
|
|
392
|
+
const SponsorBrand_possibleTypes = ['SponsorBrand'];
|
|
393
|
+
const isSponsorBrand = (obj) => {
|
|
394
|
+
if (!obj?.__typename)
|
|
395
|
+
throw new Error('__typename is missing in "isSponsorBrand"');
|
|
396
|
+
return SponsorBrand_possibleTypes.includes(obj.__typename);
|
|
397
|
+
};
|
|
398
|
+
exports.isSponsorBrand = isSponsorBrand;
|
|
399
|
+
const BrandStats_possibleTypes = ['BrandStats'];
|
|
400
|
+
const isBrandStats = (obj) => {
|
|
401
|
+
if (!obj?.__typename)
|
|
402
|
+
throw new Error('__typename is missing in "isBrandStats"');
|
|
403
|
+
return BrandStats_possibleTypes.includes(obj.__typename);
|
|
404
|
+
};
|
|
405
|
+
exports.isBrandStats = isBrandStats;
|
|
406
|
+
const BrandTranslation_possibleTypes = ['BrandTranslation'];
|
|
407
|
+
const isBrandTranslation = (obj) => {
|
|
408
|
+
if (!obj?.__typename)
|
|
409
|
+
throw new Error('__typename is missing in "isBrandTranslation"');
|
|
410
|
+
return BrandTranslation_possibleTypes.includes(obj.__typename);
|
|
411
|
+
};
|
|
412
|
+
exports.isBrandTranslation = isBrandTranslation;
|
|
413
|
+
const Brand_possibleTypes = ['Brand'];
|
|
414
|
+
const isBrand = (obj) => {
|
|
415
|
+
if (!obj?.__typename)
|
|
416
|
+
throw new Error('__typename is missing in "isBrand"');
|
|
417
|
+
return Brand_possibleTypes.includes(obj.__typename);
|
|
418
|
+
};
|
|
419
|
+
exports.isBrand = isBrand;
|
|
420
|
+
const StravaTpiRideDto_possibleTypes = ['StravaTpiRideDto'];
|
|
421
|
+
const isStravaTpiRideDto = (obj) => {
|
|
422
|
+
if (!obj?.__typename)
|
|
423
|
+
throw new Error('__typename is missing in "isStravaTpiRideDto"');
|
|
424
|
+
return StravaTpiRideDto_possibleTypes.includes(obj.__typename);
|
|
425
|
+
};
|
|
426
|
+
exports.isStravaTpiRideDto = isStravaTpiRideDto;
|
|
427
|
+
const StravaTpiRunDto_possibleTypes = ['StravaTpiRunDto'];
|
|
428
|
+
const isStravaTpiRunDto = (obj) => {
|
|
429
|
+
if (!obj?.__typename)
|
|
430
|
+
throw new Error('__typename is missing in "isStravaTpiRunDto"');
|
|
431
|
+
return StravaTpiRunDto_possibleTypes.includes(obj.__typename);
|
|
432
|
+
};
|
|
433
|
+
exports.isStravaTpiRunDto = isStravaTpiRunDto;
|
|
434
|
+
const StravaTpiSwimDto_possibleTypes = ['StravaTpiSwimDto'];
|
|
435
|
+
const isStravaTpiSwimDto = (obj) => {
|
|
436
|
+
if (!obj?.__typename)
|
|
437
|
+
throw new Error('__typename is missing in "isStravaTpiSwimDto"');
|
|
438
|
+
return StravaTpiSwimDto_possibleTypes.includes(obj.__typename);
|
|
439
|
+
};
|
|
440
|
+
exports.isStravaTpiSwimDto = isStravaTpiSwimDto;
|
|
441
441
|
const FollowStats_possibleTypes = ['FollowStats'];
|
|
442
442
|
const isFollowStats = (obj) => {
|
|
443
443
|
if (!obj?.__typename)
|
|
@@ -921,6 +921,83 @@ const isAdminTransactionView = (obj) => {
|
|
|
921
921
|
return AdminTransactionView_possibleTypes.includes(obj.__typename);
|
|
922
922
|
};
|
|
923
923
|
exports.isAdminTransactionView = isAdminTransactionView;
|
|
924
|
+
const Offer_possibleTypes = ['Offer'];
|
|
925
|
+
const isOffer = (obj) => {
|
|
926
|
+
if (!obj?.__typename)
|
|
927
|
+
throw new Error('__typename is missing in "isOffer"');
|
|
928
|
+
return Offer_possibleTypes.includes(obj.__typename);
|
|
929
|
+
};
|
|
930
|
+
exports.isOffer = isOffer;
|
|
931
|
+
const Promotion_possibleTypes = ['Promotion'];
|
|
932
|
+
const isPromotion = (obj) => {
|
|
933
|
+
if (!obj?.__typename)
|
|
934
|
+
throw new Error('__typename is missing in "isPromotion"');
|
|
935
|
+
return Promotion_possibleTypes.includes(obj.__typename);
|
|
936
|
+
};
|
|
937
|
+
exports.isPromotion = isPromotion;
|
|
938
|
+
const CouponCode_possibleTypes = ['CouponCode'];
|
|
939
|
+
const isCouponCode = (obj) => {
|
|
940
|
+
if (!obj?.__typename)
|
|
941
|
+
throw new Error('__typename is missing in "isCouponCode"');
|
|
942
|
+
return CouponCode_possibleTypes.includes(obj.__typename);
|
|
943
|
+
};
|
|
944
|
+
exports.isCouponCode = isCouponCode;
|
|
945
|
+
const Coupon_possibleTypes = ['Coupon'];
|
|
946
|
+
const isCoupon = (obj) => {
|
|
947
|
+
if (!obj?.__typename)
|
|
948
|
+
throw new Error('__typename is missing in "isCoupon"');
|
|
949
|
+
return Coupon_possibleTypes.includes(obj.__typename);
|
|
950
|
+
};
|
|
951
|
+
exports.isCoupon = isCoupon;
|
|
952
|
+
const OfferClaim_possibleTypes = ['OfferClaim'];
|
|
953
|
+
const isOfferClaim = (obj) => {
|
|
954
|
+
if (!obj?.__typename)
|
|
955
|
+
throw new Error('__typename is missing in "isOfferClaim"');
|
|
956
|
+
return OfferClaim_possibleTypes.includes(obj.__typename);
|
|
957
|
+
};
|
|
958
|
+
exports.isOfferClaim = isOfferClaim;
|
|
959
|
+
const EligibilityResult_possibleTypes = ['EligibilityResult'];
|
|
960
|
+
const isEligibilityResult = (obj) => {
|
|
961
|
+
if (!obj?.__typename)
|
|
962
|
+
throw new Error('__typename is missing in "isEligibilityResult"');
|
|
963
|
+
return EligibilityResult_possibleTypes.includes(obj.__typename);
|
|
964
|
+
};
|
|
965
|
+
exports.isEligibilityResult = isEligibilityResult;
|
|
966
|
+
const EnhancedPaginationInfoType_possibleTypes = ['EnhancedPaginationInfoType'];
|
|
967
|
+
const isEnhancedPaginationInfoType = (obj) => {
|
|
968
|
+
if (!obj?.__typename)
|
|
969
|
+
throw new Error('__typename is missing in "isEnhancedPaginationInfoType"');
|
|
970
|
+
return EnhancedPaginationInfoType_possibleTypes.includes(obj.__typename);
|
|
971
|
+
};
|
|
972
|
+
exports.isEnhancedPaginationInfoType = isEnhancedPaginationInfoType;
|
|
973
|
+
const OfferWithEligibility_possibleTypes = ['OfferWithEligibility'];
|
|
974
|
+
const isOfferWithEligibility = (obj) => {
|
|
975
|
+
if (!obj?.__typename)
|
|
976
|
+
throw new Error('__typename is missing in "isOfferWithEligibility"');
|
|
977
|
+
return OfferWithEligibility_possibleTypes.includes(obj.__typename);
|
|
978
|
+
};
|
|
979
|
+
exports.isOfferWithEligibility = isOfferWithEligibility;
|
|
980
|
+
const PaginatedOffersWithEligibility_possibleTypes = ['PaginatedOffersWithEligibility'];
|
|
981
|
+
const isPaginatedOffersWithEligibility = (obj) => {
|
|
982
|
+
if (!obj?.__typename)
|
|
983
|
+
throw new Error('__typename is missing in "isPaginatedOffersWithEligibility"');
|
|
984
|
+
return PaginatedOffersWithEligibility_possibleTypes.includes(obj.__typename);
|
|
985
|
+
};
|
|
986
|
+
exports.isPaginatedOffersWithEligibility = isPaginatedOffersWithEligibility;
|
|
987
|
+
const PaginatedBrands_possibleTypes = ['PaginatedBrands'];
|
|
988
|
+
const isPaginatedBrands = (obj) => {
|
|
989
|
+
if (!obj?.__typename)
|
|
990
|
+
throw new Error('__typename is missing in "isPaginatedBrands"');
|
|
991
|
+
return PaginatedBrands_possibleTypes.includes(obj.__typename);
|
|
992
|
+
};
|
|
993
|
+
exports.isPaginatedBrands = isPaginatedBrands;
|
|
994
|
+
const PaginatedSponsors_possibleTypes = ['PaginatedSponsors'];
|
|
995
|
+
const isPaginatedSponsors = (obj) => {
|
|
996
|
+
if (!obj?.__typename)
|
|
997
|
+
throw new Error('__typename is missing in "isPaginatedSponsors"');
|
|
998
|
+
return PaginatedSponsors_possibleTypes.includes(obj.__typename);
|
|
999
|
+
};
|
|
1000
|
+
exports.isPaginatedSponsors = isPaginatedSponsors;
|
|
924
1001
|
const EditValueResponse_possibleTypes = ['EditValueResponse'];
|
|
925
1002
|
const isEditValueResponse = (obj) => {
|
|
926
1003
|
if (!obj?.__typename)
|
|
@@ -935,20 +1012,27 @@ const isDeleteSingleValueResponse = (obj) => {
|
|
|
935
1012
|
return DeleteSingleValueResponse_possibleTypes.includes(obj.__typename);
|
|
936
1013
|
};
|
|
937
1014
|
exports.isDeleteSingleValueResponse = isDeleteSingleValueResponse;
|
|
938
|
-
const
|
|
939
|
-
const
|
|
1015
|
+
const ScoreRefreshDetail_possibleTypes = ['ScoreRefreshDetail'];
|
|
1016
|
+
const isScoreRefreshDetail = (obj) => {
|
|
1017
|
+
if (!obj?.__typename)
|
|
1018
|
+
throw new Error('__typename is missing in "isScoreRefreshDetail"');
|
|
1019
|
+
return ScoreRefreshDetail_possibleTypes.includes(obj.__typename);
|
|
1020
|
+
};
|
|
1021
|
+
exports.isScoreRefreshDetail = isScoreRefreshDetail;
|
|
1022
|
+
const ForceScoreRefreshResult_possibleTypes = ['ForceScoreRefreshResult'];
|
|
1023
|
+
const isForceScoreRefreshResult = (obj) => {
|
|
940
1024
|
if (!obj?.__typename)
|
|
941
|
-
throw new Error('__typename is missing in "
|
|
942
|
-
return
|
|
1025
|
+
throw new Error('__typename is missing in "isForceScoreRefreshResult"');
|
|
1026
|
+
return ForceScoreRefreshResult_possibleTypes.includes(obj.__typename);
|
|
943
1027
|
};
|
|
944
|
-
exports.
|
|
945
|
-
const
|
|
946
|
-
const
|
|
1028
|
+
exports.isForceScoreRefreshResult = isForceScoreRefreshResult;
|
|
1029
|
+
const ForceScoreRefreshResponse_possibleTypes = ['ForceScoreRefreshResponse'];
|
|
1030
|
+
const isForceScoreRefreshResponse = (obj) => {
|
|
947
1031
|
if (!obj?.__typename)
|
|
948
|
-
throw new Error('__typename is missing in "
|
|
949
|
-
return
|
|
1032
|
+
throw new Error('__typename is missing in "isForceScoreRefreshResponse"');
|
|
1033
|
+
return ForceScoreRefreshResponse_possibleTypes.includes(obj.__typename);
|
|
950
1034
|
};
|
|
951
|
-
exports.
|
|
1035
|
+
exports.isForceScoreRefreshResponse = isForceScoreRefreshResponse;
|
|
952
1036
|
const SortOrder_possibleTypes = ['SortOrder'];
|
|
953
1037
|
const isSortOrder = (obj) => {
|
|
954
1038
|
if (!obj?.__typename)
|
|
@@ -1019,20 +1103,27 @@ const isStripeObject = (obj) => {
|
|
|
1019
1103
|
return StripeObject_possibleTypes.includes(obj.__typename);
|
|
1020
1104
|
};
|
|
1021
1105
|
exports.isStripeObject = isStripeObject;
|
|
1022
|
-
const
|
|
1023
|
-
const
|
|
1106
|
+
const ScoreRefreshCapability_possibleTypes = ['ScoreRefreshCapability'];
|
|
1107
|
+
const isScoreRefreshCapability = (obj) => {
|
|
1024
1108
|
if (!obj?.__typename)
|
|
1025
|
-
throw new Error('__typename is missing in "
|
|
1026
|
-
return
|
|
1109
|
+
throw new Error('__typename is missing in "isScoreRefreshCapability"');
|
|
1110
|
+
return ScoreRefreshCapability_possibleTypes.includes(obj.__typename);
|
|
1027
1111
|
};
|
|
1028
|
-
exports.
|
|
1029
|
-
const
|
|
1030
|
-
const
|
|
1112
|
+
exports.isScoreRefreshCapability = isScoreRefreshCapability;
|
|
1113
|
+
const CheckScoreRefreshCapabilityResponse_possibleTypes = ['CheckScoreRefreshCapabilityResponse'];
|
|
1114
|
+
const isCheckScoreRefreshCapabilityResponse = (obj) => {
|
|
1031
1115
|
if (!obj?.__typename)
|
|
1032
|
-
throw new Error('__typename is missing in "
|
|
1033
|
-
return
|
|
1116
|
+
throw new Error('__typename is missing in "isCheckScoreRefreshCapabilityResponse"');
|
|
1117
|
+
return CheckScoreRefreshCapabilityResponse_possibleTypes.includes(obj.__typename);
|
|
1034
1118
|
};
|
|
1035
|
-
exports.
|
|
1119
|
+
exports.isCheckScoreRefreshCapabilityResponse = isCheckScoreRefreshCapabilityResponse;
|
|
1120
|
+
const PaginatedSports_possibleTypes = ['PaginatedSports'];
|
|
1121
|
+
const isPaginatedSports = (obj) => {
|
|
1122
|
+
if (!obj?.__typename)
|
|
1123
|
+
throw new Error('__typename is missing in "isPaginatedSports"');
|
|
1124
|
+
return PaginatedSports_possibleTypes.includes(obj.__typename);
|
|
1125
|
+
};
|
|
1126
|
+
exports.isPaginatedSports = isPaginatedSports;
|
|
1036
1127
|
const UserImages_possibleTypes = ['UserImages'];
|
|
1037
1128
|
const isUserImages = (obj) => {
|
|
1038
1129
|
if (!obj?.__typename)
|
|
@@ -1054,13 +1145,13 @@ const isDeleteVtxUserResponse = (obj) => {
|
|
|
1054
1145
|
return DeleteVtxUserResponse_possibleTypes.includes(obj.__typename);
|
|
1055
1146
|
};
|
|
1056
1147
|
exports.isDeleteVtxUserResponse = isDeleteVtxUserResponse;
|
|
1057
|
-
const
|
|
1058
|
-
const
|
|
1148
|
+
const PaginatedUsers_possibleTypes = ['PaginatedUsers'];
|
|
1149
|
+
const isPaginatedUsers = (obj) => {
|
|
1059
1150
|
if (!obj?.__typename)
|
|
1060
|
-
throw new Error('__typename is missing in "
|
|
1061
|
-
return
|
|
1151
|
+
throw new Error('__typename is missing in "isPaginatedUsers"');
|
|
1152
|
+
return PaginatedUsers_possibleTypes.includes(obj.__typename);
|
|
1062
1153
|
};
|
|
1063
|
-
exports.
|
|
1154
|
+
exports.isPaginatedUsers = isPaginatedUsers;
|
|
1064
1155
|
const TransactionDetails_possibleTypes = ['TransactionDetails'];
|
|
1065
1156
|
const isTransactionDetails = (obj) => {
|
|
1066
1157
|
if (!obj?.__typename)
|
|
@@ -1068,13 +1159,13 @@ const isTransactionDetails = (obj) => {
|
|
|
1068
1159
|
return TransactionDetails_possibleTypes.includes(obj.__typename);
|
|
1069
1160
|
};
|
|
1070
1161
|
exports.isTransactionDetails = isTransactionDetails;
|
|
1071
|
-
const
|
|
1072
|
-
const
|
|
1162
|
+
const PaginatedEvents_possibleTypes = ['PaginatedEvents'];
|
|
1163
|
+
const isPaginatedEvents = (obj) => {
|
|
1073
1164
|
if (!obj?.__typename)
|
|
1074
|
-
throw new Error('__typename is missing in "
|
|
1075
|
-
return
|
|
1165
|
+
throw new Error('__typename is missing in "isPaginatedEvents"');
|
|
1166
|
+
return PaginatedEvents_possibleTypes.includes(obj.__typename);
|
|
1076
1167
|
};
|
|
1077
|
-
exports.
|
|
1168
|
+
exports.isPaginatedEvents = isPaginatedEvents;
|
|
1078
1169
|
const CurrencyAmountType_possibleTypes = ['CurrencyAmountType'];
|
|
1079
1170
|
const isCurrencyAmountType = (obj) => {
|
|
1080
1171
|
if (!obj?.__typename)
|
|
@@ -1082,13 +1173,13 @@ const isCurrencyAmountType = (obj) => {
|
|
|
1082
1173
|
return CurrencyAmountType_possibleTypes.includes(obj.__typename);
|
|
1083
1174
|
};
|
|
1084
1175
|
exports.isCurrencyAmountType = isCurrencyAmountType;
|
|
1085
|
-
const
|
|
1086
|
-
const
|
|
1176
|
+
const StripeBalance_possibleTypes = ['StripeBalance'];
|
|
1177
|
+
const isStripeBalance = (obj) => {
|
|
1087
1178
|
if (!obj?.__typename)
|
|
1088
|
-
throw new Error('__typename is missing in "
|
|
1089
|
-
return
|
|
1179
|
+
throw new Error('__typename is missing in "isStripeBalance"');
|
|
1180
|
+
return StripeBalance_possibleTypes.includes(obj.__typename);
|
|
1090
1181
|
};
|
|
1091
|
-
exports.
|
|
1182
|
+
exports.isStripeBalance = isStripeBalance;
|
|
1092
1183
|
const StripeTransfer_possibleTypes = ['StripeTransfer'];
|
|
1093
1184
|
const isStripeTransfer = (obj) => {
|
|
1094
1185
|
if (!obj?.__typename)
|
|
@@ -1103,13 +1194,34 @@ const isUserDomain = (obj) => {
|
|
|
1103
1194
|
return UserDomain_possibleTypes.includes(obj.__typename);
|
|
1104
1195
|
};
|
|
1105
1196
|
exports.isUserDomain = isUserDomain;
|
|
1106
|
-
const
|
|
1107
|
-
const
|
|
1197
|
+
const PaginatedTransactions_possibleTypes = ['PaginatedTransactions'];
|
|
1198
|
+
const isPaginatedTransactions = (obj) => {
|
|
1199
|
+
if (!obj?.__typename)
|
|
1200
|
+
throw new Error('__typename is missing in "isPaginatedTransactions"');
|
|
1201
|
+
return PaginatedTransactions_possibleTypes.includes(obj.__typename);
|
|
1202
|
+
};
|
|
1203
|
+
exports.isPaginatedTransactions = isPaginatedTransactions;
|
|
1204
|
+
const PaginatedOffers_possibleTypes = ['PaginatedOffers'];
|
|
1205
|
+
const isPaginatedOffers = (obj) => {
|
|
1206
|
+
if (!obj?.__typename)
|
|
1207
|
+
throw new Error('__typename is missing in "isPaginatedOffers"');
|
|
1208
|
+
return PaginatedOffers_possibleTypes.includes(obj.__typename);
|
|
1209
|
+
};
|
|
1210
|
+
exports.isPaginatedOffers = isPaginatedOffers;
|
|
1211
|
+
const UploadResult_possibleTypes = ['UploadResult'];
|
|
1212
|
+
const isUploadResult = (obj) => {
|
|
1108
1213
|
if (!obj?.__typename)
|
|
1109
|
-
throw new Error('__typename is missing in "
|
|
1110
|
-
return
|
|
1214
|
+
throw new Error('__typename is missing in "isUploadResult"');
|
|
1215
|
+
return UploadResult_possibleTypes.includes(obj.__typename);
|
|
1111
1216
|
};
|
|
1112
|
-
exports.
|
|
1217
|
+
exports.isUploadResult = isUploadResult;
|
|
1218
|
+
const OfferAvailability_possibleTypes = ['OfferAvailability'];
|
|
1219
|
+
const isOfferAvailability = (obj) => {
|
|
1220
|
+
if (!obj?.__typename)
|
|
1221
|
+
throw new Error('__typename is missing in "isOfferAvailability"');
|
|
1222
|
+
return OfferAvailability_possibleTypes.includes(obj.__typename);
|
|
1223
|
+
};
|
|
1224
|
+
exports.isOfferAvailability = isOfferAvailability;
|
|
1113
1225
|
const Query_possibleTypes = ['Query'];
|
|
1114
1226
|
const isQuery = (obj) => {
|
|
1115
1227
|
if (!obj?.__typename)
|
|
@@ -1136,6 +1248,11 @@ exports.enumFundingMode = {
|
|
|
1136
1248
|
SINGLE_BUDGET: 'SINGLE_BUDGET',
|
|
1137
1249
|
COMPETITION_BUDGETS: 'COMPETITION_BUDGETS'
|
|
1138
1250
|
};
|
|
1251
|
+
exports.enumEligibilityStatus = {
|
|
1252
|
+
ELIGIBLE: 'ELIGIBLE',
|
|
1253
|
+
NOT_ELIGIBLE: 'NOT_ELIGIBLE',
|
|
1254
|
+
UNKNOWN: 'UNKNOWN'
|
|
1255
|
+
};
|
|
1139
1256
|
exports.enumForceScoreRefreshStatus = {
|
|
1140
1257
|
success: 'success',
|
|
1141
1258
|
failed: 'failed',
|
|
@@ -1152,4 +1269,9 @@ exports.enumDonationMode = {
|
|
|
1152
1269
|
PRIVATE: 'PRIVATE',
|
|
1153
1270
|
ANONYMOUS: 'ANONYMOUS'
|
|
1154
1271
|
};
|
|
1272
|
+
exports.enumOfferClaimStatus = {
|
|
1273
|
+
ACTIVE: 'ACTIVE',
|
|
1274
|
+
EXPIRED: 'EXPIRED',
|
|
1275
|
+
ALL: 'ALL'
|
|
1276
|
+
};
|
|
1155
1277
|
//# sourceMappingURL=schema.js.map
|