@vertikalx/vtx-backend-client 1.0.0-dev-carlos.35 → 1.0.0-dev-geo.85
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
|
@@ -5310,22 +5310,6 @@ class VTXBaseAPI {
|
|
|
5310
5310
|
timezone: true,
|
|
5311
5311
|
}
|
|
5312
5312
|
},
|
|
5313
|
-
albums: {
|
|
5314
|
-
_id: true,
|
|
5315
|
-
label: true,
|
|
5316
|
-
description: true,
|
|
5317
|
-
photos: {
|
|
5318
|
-
photo: {
|
|
5319
|
-
_id: true,
|
|
5320
|
-
name: true,
|
|
5321
|
-
contentType: true,
|
|
5322
|
-
size: true,
|
|
5323
|
-
useType: true,
|
|
5324
|
-
url: true,
|
|
5325
|
-
key: true,
|
|
5326
|
-
},
|
|
5327
|
-
},
|
|
5328
|
-
},
|
|
5329
5313
|
trainer: true,
|
|
5330
5314
|
trainerUrl: true,
|
|
5331
5315
|
aboutMe: true,
|
|
@@ -5536,9 +5520,35 @@ class VTXBaseAPI {
|
|
|
5536
5520
|
url: true,
|
|
5537
5521
|
key: true
|
|
5538
5522
|
},
|
|
5523
|
+
bannerPicture: {
|
|
5524
|
+
_id: true,
|
|
5525
|
+
name: true,
|
|
5526
|
+
contentType: true,
|
|
5527
|
+
size: true,
|
|
5528
|
+
useType: true,
|
|
5529
|
+
url: true,
|
|
5530
|
+
key: true
|
|
5531
|
+
},
|
|
5539
5532
|
preferences: {
|
|
5540
5533
|
_id: true,
|
|
5541
|
-
showProfileHelper: true
|
|
5534
|
+
showProfileHelper: true,
|
|
5535
|
+
defaultAlbum: {
|
|
5536
|
+
_id: true,
|
|
5537
|
+
label: true,
|
|
5538
|
+
description: true,
|
|
5539
|
+
photos: {
|
|
5540
|
+
_id: true,
|
|
5541
|
+
photo: {
|
|
5542
|
+
_id: true,
|
|
5543
|
+
name: true,
|
|
5544
|
+
contentType: true,
|
|
5545
|
+
size: true,
|
|
5546
|
+
useType: true,
|
|
5547
|
+
url: true,
|
|
5548
|
+
key: true
|
|
5549
|
+
},
|
|
5550
|
+
}
|
|
5551
|
+
}
|
|
5542
5552
|
},
|
|
5543
5553
|
currentCampaign: {
|
|
5544
5554
|
_id: true,
|
|
@@ -5649,7 +5659,7 @@ class VTXBaseAPI {
|
|
|
5649
5659
|
resultWebLink: true
|
|
5650
5660
|
}
|
|
5651
5661
|
}
|
|
5652
|
-
}
|
|
5662
|
+
},
|
|
5653
5663
|
};
|
|
5654
5664
|
try {
|
|
5655
5665
|
let response = null;
|
|
@@ -6761,7 +6771,7 @@ class VTXBaseAPI {
|
|
|
6761
6771
|
let retValue = {};
|
|
6762
6772
|
try {
|
|
6763
6773
|
const response = await client.mutation({
|
|
6764
|
-
|
|
6774
|
+
updateAthleteTpiScore: {
|
|
6765
6775
|
_id: true,
|
|
6766
6776
|
firstName: true,
|
|
6767
6777
|
lastName: true,
|
|
@@ -6772,8 +6782,8 @@ class VTXBaseAPI {
|
|
|
6772
6782
|
}
|
|
6773
6783
|
},
|
|
6774
6784
|
});
|
|
6775
|
-
retValue = (0, response_builder_1.buildResponse)(response, '
|
|
6776
|
-
const isResponseOk = !!response?.
|
|
6785
|
+
retValue = (0, response_builder_1.buildResponse)(response, 'updateAthleteTpiScore', (r) => {
|
|
6786
|
+
const isResponseOk = !!response?.updateAthleteTpiScore?._id;
|
|
6777
6787
|
return isResponseOk;
|
|
6778
6788
|
});
|
|
6779
6789
|
}
|