@vertikalx/vtx-backend-client 2.0.0-dev-alejo.21 → 2.0.0-dev-alejo.22
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 +1 -1
- package/src/api/vtx-base-api.js +32 -2
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +28 -0
- package/src/client/schema.js +9 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +17 -0
- package/src/client/types.js +259 -216
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/package.json
CHANGED
package/src/api/vtx-base-api.js
CHANGED
|
@@ -3783,8 +3783,7 @@ class VTXBaseAPI {
|
|
|
3783
3783
|
eventWebSite: true,
|
|
3784
3784
|
mainSport: {
|
|
3785
3785
|
_id: true,
|
|
3786
|
-
name: true
|
|
3787
|
-
resultType: true
|
|
3786
|
+
name: true
|
|
3788
3787
|
},
|
|
3789
3788
|
startDate: true,
|
|
3790
3789
|
endDate: true,
|
|
@@ -4274,6 +4273,12 @@ class VTXBaseAPI {
|
|
|
4274
4273
|
initialFundsObtained: true,
|
|
4275
4274
|
fundsObtained: true,
|
|
4276
4275
|
vtxComissionPct: true,
|
|
4276
|
+
video: {
|
|
4277
|
+
_id: true,
|
|
4278
|
+
source: true,
|
|
4279
|
+
url: true,
|
|
4280
|
+
sourceData: true
|
|
4281
|
+
},
|
|
4277
4282
|
location: {
|
|
4278
4283
|
userProvidedLatitude: true,
|
|
4279
4284
|
userProvidedLongitude: true,
|
|
@@ -4980,6 +4985,12 @@ class VTXBaseAPI {
|
|
|
4980
4985
|
initialFundsObtained: true,
|
|
4981
4986
|
fundsObtained: true,
|
|
4982
4987
|
vtxComissionPct: true,
|
|
4988
|
+
video: {
|
|
4989
|
+
_id: true,
|
|
4990
|
+
source: true,
|
|
4991
|
+
url: true,
|
|
4992
|
+
sourceData: true
|
|
4993
|
+
},
|
|
4983
4994
|
location: {
|
|
4984
4995
|
userProvidedLatitude: true,
|
|
4985
4996
|
userProvidedLongitude: true,
|
|
@@ -5847,6 +5858,12 @@ class VTXBaseAPI {
|
|
|
5847
5858
|
initialFundsObtained: true,
|
|
5848
5859
|
fundsObtained: true,
|
|
5849
5860
|
vtxComissionPct: true,
|
|
5861
|
+
video: {
|
|
5862
|
+
_id: true,
|
|
5863
|
+
source: true,
|
|
5864
|
+
url: true,
|
|
5865
|
+
sourceData: true
|
|
5866
|
+
},
|
|
5850
5867
|
location: {
|
|
5851
5868
|
userProvidedLatitude: true,
|
|
5852
5869
|
userProvidedLongitude: true,
|
|
@@ -5990,6 +6007,12 @@ class VTXBaseAPI {
|
|
|
5990
6007
|
initialFundsObtained: true,
|
|
5991
6008
|
fundsObtained: true,
|
|
5992
6009
|
vtxComissionPct: true,
|
|
6010
|
+
video: {
|
|
6011
|
+
_id: true,
|
|
6012
|
+
source: true,
|
|
6013
|
+
url: true,
|
|
6014
|
+
sourceData: true
|
|
6015
|
+
},
|
|
5993
6016
|
location: {
|
|
5994
6017
|
userProvidedLatitude: true,
|
|
5995
6018
|
userProvidedLongitude: true,
|
|
@@ -6780,6 +6803,12 @@ class VTXBaseAPI {
|
|
|
6780
6803
|
initialFundsObtained: true,
|
|
6781
6804
|
fundsObtained: true,
|
|
6782
6805
|
vtxComissionPct: true,
|
|
6806
|
+
video: {
|
|
6807
|
+
_id: true,
|
|
6808
|
+
source: true,
|
|
6809
|
+
url: true,
|
|
6810
|
+
sourceData: true
|
|
6811
|
+
},
|
|
6783
6812
|
location: {
|
|
6784
6813
|
userProvidedLatitude: true,
|
|
6785
6814
|
userProvidedLongitude: true,
|
|
@@ -7004,6 +7033,7 @@ class VTXBaseAPI {
|
|
|
7004
7033
|
},
|
|
7005
7034
|
});
|
|
7006
7035
|
VTXBaseAPI.Logger.debug('saveAthleteCompetitionResult Response:');
|
|
7036
|
+
VTXBaseAPI.Logger.debug(JSON.stringify(response, null, 2));
|
|
7007
7037
|
retValue = (0, response_builder_1.buildResponse)(response, 'saveAthleteCompetitionResult', (r) => {
|
|
7008
7038
|
const isResponseOk = true && response?.saveAthleteCompetitionResult?._id;
|
|
7009
7039
|
return isResponseOk;
|