@vertikalx/vtx-backend-client 1.0.0-dev-max.0 → 1.0.0-dev-max.2
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
CHANGED
package/src/api/vtx-base-api.js
CHANGED
|
@@ -4576,241 +4576,40 @@ class VTXBaseAPI {
|
|
|
4576
4576
|
competitionGender: true,
|
|
4577
4577
|
country: {
|
|
4578
4578
|
_id: true,
|
|
4579
|
-
name: true
|
|
4580
4579
|
},
|
|
4581
4580
|
location: {
|
|
4582
|
-
userProvidedLatitude: true,
|
|
4583
|
-
userProvidedLongitude: true,
|
|
4584
|
-
cityNameGeocode: true,
|
|
4585
|
-
stateNameGeocode: true,
|
|
4586
|
-
countryIso2CodeGeocode: true,
|
|
4587
|
-
timeZoneGeocode: true,
|
|
4588
|
-
latitudeGeocode: true,
|
|
4589
|
-
longitudeGeocode: true,
|
|
4590
4581
|
city: {
|
|
4591
|
-
_id: true,
|
|
4592
4582
|
name: true,
|
|
4593
|
-
localizedName: true,
|
|
4594
4583
|
state: {
|
|
4595
|
-
_id: true,
|
|
4596
4584
|
name: true,
|
|
4597
4585
|
country: {
|
|
4598
4586
|
_id: true,
|
|
4599
|
-
name: true
|
|
4600
4587
|
}
|
|
4601
4588
|
},
|
|
4602
|
-
latitude: true,
|
|
4603
|
-
longitude: true,
|
|
4604
|
-
timezone: true,
|
|
4605
4589
|
}
|
|
4606
4590
|
},
|
|
4607
|
-
trainer: true,
|
|
4608
|
-
trainerUrl: true,
|
|
4609
4591
|
aboutMe: true,
|
|
4610
4592
|
mainSport: {
|
|
4611
|
-
_id: true,
|
|
4612
4593
|
name: true
|
|
4613
4594
|
},
|
|
4614
4595
|
mainSportLevel: {
|
|
4615
|
-
_id: true,
|
|
4616
4596
|
label: true,
|
|
4617
|
-
index: true
|
|
4618
4597
|
},
|
|
4619
4598
|
scores: {
|
|
4620
4599
|
vtxScore: true,
|
|
4621
|
-
socialScore: true,
|
|
4622
|
-
trainingScore: true,
|
|
4623
|
-
competitionScore: true
|
|
4624
|
-
},
|
|
4625
|
-
competitions: {
|
|
4626
|
-
_id: true,
|
|
4627
|
-
event: {
|
|
4628
|
-
_id: true,
|
|
4629
|
-
name: true,
|
|
4630
|
-
mainSport: {
|
|
4631
|
-
_id: true,
|
|
4632
|
-
name: true
|
|
4633
|
-
},
|
|
4634
|
-
eventWebSite: true,
|
|
4635
|
-
startDate: true,
|
|
4636
|
-
endDate: true,
|
|
4637
|
-
verified: true,
|
|
4638
|
-
banner: {
|
|
4639
|
-
_id: true,
|
|
4640
|
-
name: true,
|
|
4641
|
-
contentType: true,
|
|
4642
|
-
size: true,
|
|
4643
|
-
useType: true,
|
|
4644
|
-
url: true,
|
|
4645
|
-
key: true
|
|
4646
|
-
},
|
|
4647
|
-
location: {
|
|
4648
|
-
_id: true,
|
|
4649
|
-
userProvidedLatitude: true,
|
|
4650
|
-
userProvidedLongitude: true,
|
|
4651
|
-
cityNameGeocode: true,
|
|
4652
|
-
stateNameGeocode: true,
|
|
4653
|
-
countryIso2CodeGeocode: true,
|
|
4654
|
-
timeZoneGeocode: true,
|
|
4655
|
-
latitudeGeocode: true,
|
|
4656
|
-
longitudeGeocode: true,
|
|
4657
|
-
city: {
|
|
4658
|
-
_id: true,
|
|
4659
|
-
name: true,
|
|
4660
|
-
localizedName: true,
|
|
4661
|
-
state: {
|
|
4662
|
-
_id: true,
|
|
4663
|
-
name: true,
|
|
4664
|
-
country: {
|
|
4665
|
-
_id: true,
|
|
4666
|
-
name: true
|
|
4667
|
-
}
|
|
4668
|
-
},
|
|
4669
|
-
latitude: true,
|
|
4670
|
-
longitude: true,
|
|
4671
|
-
timezone: true,
|
|
4672
|
-
}
|
|
4673
|
-
},
|
|
4674
|
-
},
|
|
4675
|
-
participationDate: true,
|
|
4676
|
-
result: {
|
|
4677
|
-
_id: true,
|
|
4678
|
-
resultType: true,
|
|
4679
|
-
position: true,
|
|
4680
|
-
score: true,
|
|
4681
|
-
finishTimeMS: true,
|
|
4682
|
-
resultWebLink: true
|
|
4683
|
-
}
|
|
4684
|
-
},
|
|
4685
|
-
totalUpcomingCompetitions: true,
|
|
4686
|
-
totalPastCompetitions: true,
|
|
4687
|
-
profilePicture: {
|
|
4688
|
-
_id: true,
|
|
4689
|
-
name: true,
|
|
4690
|
-
contentType: true,
|
|
4691
|
-
size: true,
|
|
4692
|
-
useType: true,
|
|
4693
|
-
url: true,
|
|
4694
|
-
key: true
|
|
4695
4600
|
},
|
|
4696
4601
|
cardPicture: {
|
|
4697
|
-
_id: true,
|
|
4698
|
-
name: true,
|
|
4699
|
-
contentType: true,
|
|
4700
|
-
size: true,
|
|
4701
|
-
useType: true,
|
|
4702
4602
|
url: true,
|
|
4703
|
-
key: true
|
|
4704
4603
|
},
|
|
4705
4604
|
currentCampaign: {
|
|
4706
4605
|
_id: true,
|
|
4707
|
-
budgetMode: true,
|
|
4708
4606
|
status: true,
|
|
4709
4607
|
title: true,
|
|
4710
4608
|
motivation: true,
|
|
4711
|
-
website: true,
|
|
4712
4609
|
fundsRequired: true,
|
|
4713
4610
|
initialFundsObtained: true,
|
|
4714
4611
|
fundsObtained: true,
|
|
4715
|
-
location: {
|
|
4716
|
-
_id: true,
|
|
4717
|
-
userProvidedLatitude: true,
|
|
4718
|
-
userProvidedLongitude: true,
|
|
4719
|
-
cityNameGeocode: true,
|
|
4720
|
-
stateNameGeocode: true,
|
|
4721
|
-
countryIso2CodeGeocode: true,
|
|
4722
|
-
timeZoneGeocode: true,
|
|
4723
|
-
latitudeGeocode: true,
|
|
4724
|
-
longitudeGeocode: true,
|
|
4725
|
-
city: {
|
|
4726
|
-
_id: true,
|
|
4727
|
-
name: true,
|
|
4728
|
-
localizedName: true,
|
|
4729
|
-
state: {
|
|
4730
|
-
_id: true,
|
|
4731
|
-
name: true,
|
|
4732
|
-
country: {
|
|
4733
|
-
_id: true,
|
|
4734
|
-
name: true
|
|
4735
|
-
}
|
|
4736
|
-
},
|
|
4737
|
-
latitude: true,
|
|
4738
|
-
longitude: true,
|
|
4739
|
-
timezone: true,
|
|
4740
|
-
}
|
|
4741
|
-
},
|
|
4742
4612
|
endingDate: true,
|
|
4743
|
-
budget: {
|
|
4744
|
-
_id: true,
|
|
4745
|
-
initialFunds: true,
|
|
4746
|
-
totalRequired: true,
|
|
4747
|
-
items: {
|
|
4748
|
-
_id: true,
|
|
4749
|
-
quantity: true,
|
|
4750
|
-
concept: true,
|
|
4751
|
-
itemCost: true
|
|
4752
|
-
}
|
|
4753
|
-
},
|
|
4754
|
-
competitions: {
|
|
4755
|
-
_id: true,
|
|
4756
|
-
event: {
|
|
4757
|
-
_id: true,
|
|
4758
|
-
name: true,
|
|
4759
|
-
mainSport: {
|
|
4760
|
-
_id: true,
|
|
4761
|
-
name: true
|
|
4762
|
-
},
|
|
4763
|
-
eventWebSite: true,
|
|
4764
|
-
startDate: true,
|
|
4765
|
-
endDate: true,
|
|
4766
|
-
verified: true,
|
|
4767
|
-
banner: {
|
|
4768
|
-
_id: true,
|
|
4769
|
-
name: true,
|
|
4770
|
-
contentType: true,
|
|
4771
|
-
size: true,
|
|
4772
|
-
useType: true,
|
|
4773
|
-
url: true,
|
|
4774
|
-
key: true
|
|
4775
|
-
},
|
|
4776
|
-
location: {
|
|
4777
|
-
_id: true,
|
|
4778
|
-
userProvidedLatitude: true,
|
|
4779
|
-
userProvidedLongitude: true,
|
|
4780
|
-
cityNameGeocode: true,
|
|
4781
|
-
stateNameGeocode: true,
|
|
4782
|
-
countryIso2CodeGeocode: true,
|
|
4783
|
-
timeZoneGeocode: true,
|
|
4784
|
-
latitudeGeocode: true,
|
|
4785
|
-
longitudeGeocode: true,
|
|
4786
|
-
city: {
|
|
4787
|
-
_id: true,
|
|
4788
|
-
name: true,
|
|
4789
|
-
localizedName: true,
|
|
4790
|
-
state: {
|
|
4791
|
-
_id: true,
|
|
4792
|
-
name: true,
|
|
4793
|
-
country: {
|
|
4794
|
-
_id: true,
|
|
4795
|
-
name: true
|
|
4796
|
-
}
|
|
4797
|
-
},
|
|
4798
|
-
latitude: true,
|
|
4799
|
-
longitude: true,
|
|
4800
|
-
timezone: true,
|
|
4801
|
-
}
|
|
4802
|
-
},
|
|
4803
|
-
},
|
|
4804
|
-
participationDate: true,
|
|
4805
|
-
result: {
|
|
4806
|
-
_id: true,
|
|
4807
|
-
resultType: true,
|
|
4808
|
-
position: true,
|
|
4809
|
-
score: true,
|
|
4810
|
-
finishTimeMS: true,
|
|
4811
|
-
resultWebLink: true
|
|
4812
|
-
}
|
|
4813
|
-
}
|
|
4814
4613
|
}
|
|
4815
4614
|
};
|
|
4816
4615
|
const fields = {
|
|
@@ -6124,12 +5923,10 @@ class VTXBaseAPI {
|
|
|
6124
5923
|
headers: this.headers,
|
|
6125
5924
|
});
|
|
6126
5925
|
const fieldsAthlete = {
|
|
6127
|
-
_id: true,
|
|
6128
5926
|
firstName: true,
|
|
6129
5927
|
lastName: true,
|
|
6130
5928
|
screenName: true,
|
|
6131
5929
|
dob: true,
|
|
6132
|
-
lgbt: true,
|
|
6133
5930
|
competitionGender: true,
|
|
6134
5931
|
country: {
|
|
6135
5932
|
_id: true,
|
|
@@ -6138,13 +5935,11 @@ class VTXBaseAPI {
|
|
|
6138
5935
|
city: {
|
|
6139
5936
|
name: true,
|
|
6140
5937
|
state: {
|
|
6141
|
-
_id: true,
|
|
6142
5938
|
name: true,
|
|
6143
5939
|
country: {
|
|
6144
5940
|
_id: true,
|
|
6145
5941
|
}
|
|
6146
5942
|
},
|
|
6147
|
-
timezone: true,
|
|
6148
5943
|
}
|
|
6149
5944
|
},
|
|
6150
5945
|
aboutMe: true,
|