@vertikalx/vtx-backend-client 2.0.0-dev-alejo.29 → 2.0.0-dev-alejo.30
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 +56 -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
|
@@ -2225,6 +2225,12 @@ class VTXBaseAPI {
|
|
|
2225
2225
|
fundsRequired: true,
|
|
2226
2226
|
initialFundsObtained: true,
|
|
2227
2227
|
fundsObtained: true,
|
|
2228
|
+
video: {
|
|
2229
|
+
_id: true,
|
|
2230
|
+
source: true,
|
|
2231
|
+
url: true,
|
|
2232
|
+
sourceData: true
|
|
2233
|
+
},
|
|
2228
2234
|
location: {
|
|
2229
2235
|
_id: true,
|
|
2230
2236
|
userProvidedLatitude: true,
|
|
@@ -3783,8 +3789,7 @@ class VTXBaseAPI {
|
|
|
3783
3789
|
eventWebSite: true,
|
|
3784
3790
|
mainSport: {
|
|
3785
3791
|
_id: true,
|
|
3786
|
-
name: true
|
|
3787
|
-
resultType: true
|
|
3792
|
+
name: true
|
|
3788
3793
|
},
|
|
3789
3794
|
startDate: true,
|
|
3790
3795
|
endDate: true,
|
|
@@ -4274,6 +4279,12 @@ class VTXBaseAPI {
|
|
|
4274
4279
|
initialFundsObtained: true,
|
|
4275
4280
|
fundsObtained: true,
|
|
4276
4281
|
vtxComissionPct: true,
|
|
4282
|
+
video: {
|
|
4283
|
+
_id: true,
|
|
4284
|
+
source: true,
|
|
4285
|
+
url: true,
|
|
4286
|
+
sourceData: true
|
|
4287
|
+
},
|
|
4277
4288
|
location: {
|
|
4278
4289
|
userProvidedLatitude: true,
|
|
4279
4290
|
userProvidedLongitude: true,
|
|
@@ -4612,6 +4623,12 @@ class VTXBaseAPI {
|
|
|
4612
4623
|
fundsRequired: true,
|
|
4613
4624
|
initialFundsObtained: true,
|
|
4614
4625
|
fundsObtained: true,
|
|
4626
|
+
video: {
|
|
4627
|
+
_id: true,
|
|
4628
|
+
source: true,
|
|
4629
|
+
url: true,
|
|
4630
|
+
sourceData: true
|
|
4631
|
+
},
|
|
4615
4632
|
endingDate: true,
|
|
4616
4633
|
}
|
|
4617
4634
|
};
|
|
@@ -4980,6 +4997,12 @@ class VTXBaseAPI {
|
|
|
4980
4997
|
initialFundsObtained: true,
|
|
4981
4998
|
fundsObtained: true,
|
|
4982
4999
|
vtxComissionPct: true,
|
|
5000
|
+
video: {
|
|
5001
|
+
_id: true,
|
|
5002
|
+
source: true,
|
|
5003
|
+
url: true,
|
|
5004
|
+
sourceData: true
|
|
5005
|
+
},
|
|
4983
5006
|
location: {
|
|
4984
5007
|
userProvidedLatitude: true,
|
|
4985
5008
|
userProvidedLongitude: true,
|
|
@@ -5409,6 +5432,12 @@ class VTXBaseAPI {
|
|
|
5409
5432
|
fundsRequired: true,
|
|
5410
5433
|
initialFundsObtained: true,
|
|
5411
5434
|
fundsObtained: true,
|
|
5435
|
+
video: {
|
|
5436
|
+
_id: true,
|
|
5437
|
+
source: true,
|
|
5438
|
+
url: true,
|
|
5439
|
+
sourceData: true
|
|
5440
|
+
},
|
|
5412
5441
|
location: {
|
|
5413
5442
|
_id: true,
|
|
5414
5443
|
userProvidedLatitude: true,
|
|
@@ -5847,6 +5876,12 @@ class VTXBaseAPI {
|
|
|
5847
5876
|
initialFundsObtained: true,
|
|
5848
5877
|
fundsObtained: true,
|
|
5849
5878
|
vtxComissionPct: true,
|
|
5879
|
+
video: {
|
|
5880
|
+
_id: true,
|
|
5881
|
+
source: true,
|
|
5882
|
+
url: true,
|
|
5883
|
+
sourceData: true
|
|
5884
|
+
},
|
|
5850
5885
|
location: {
|
|
5851
5886
|
userProvidedLatitude: true,
|
|
5852
5887
|
userProvidedLongitude: true,
|
|
@@ -5990,6 +6025,12 @@ class VTXBaseAPI {
|
|
|
5990
6025
|
initialFundsObtained: true,
|
|
5991
6026
|
fundsObtained: true,
|
|
5992
6027
|
vtxComissionPct: true,
|
|
6028
|
+
video: {
|
|
6029
|
+
_id: true,
|
|
6030
|
+
source: true,
|
|
6031
|
+
url: true,
|
|
6032
|
+
sourceData: true
|
|
6033
|
+
},
|
|
5993
6034
|
location: {
|
|
5994
6035
|
userProvidedLatitude: true,
|
|
5995
6036
|
userProvidedLongitude: true,
|
|
@@ -6422,6 +6463,12 @@ class VTXBaseAPI {
|
|
|
6422
6463
|
title: true,
|
|
6423
6464
|
motivation: true,
|
|
6424
6465
|
website: true,
|
|
6466
|
+
video: {
|
|
6467
|
+
_id: true,
|
|
6468
|
+
source: true,
|
|
6469
|
+
url: true,
|
|
6470
|
+
sourceData: true
|
|
6471
|
+
},
|
|
6425
6472
|
endingDate: true,
|
|
6426
6473
|
}
|
|
6427
6474
|
};
|
|
@@ -6780,6 +6827,12 @@ class VTXBaseAPI {
|
|
|
6780
6827
|
initialFundsObtained: true,
|
|
6781
6828
|
fundsObtained: true,
|
|
6782
6829
|
vtxComissionPct: true,
|
|
6830
|
+
video: {
|
|
6831
|
+
_id: true,
|
|
6832
|
+
source: true,
|
|
6833
|
+
url: true,
|
|
6834
|
+
sourceData: true
|
|
6835
|
+
},
|
|
6783
6836
|
location: {
|
|
6784
6837
|
userProvidedLatitude: true,
|
|
6785
6838
|
userProvidedLongitude: true,
|
|
@@ -7004,6 +7057,7 @@ class VTXBaseAPI {
|
|
|
7004
7057
|
},
|
|
7005
7058
|
});
|
|
7006
7059
|
VTXBaseAPI.Logger.debug('saveAthleteCompetitionResult Response:');
|
|
7060
|
+
VTXBaseAPI.Logger.debug(JSON.stringify(response, null, 2));
|
|
7007
7061
|
retValue = (0, response_builder_1.buildResponse)(response, 'saveAthleteCompetitionResult', (r) => {
|
|
7008
7062
|
const isResponseOk = true && response?.saveAthleteCompetitionResult?._id;
|
|
7009
7063
|
return isResponseOk;
|