@vertikalx/vtx-backend-client 1.0.0-dev-carlos.52 → 1.0.0-dev-max.0
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.js +0 -203
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +3 -0
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +2 -0
- package/src/client/types.js +6 -0
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/LICENSE.md
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/src/api/vtx-base-api.js
CHANGED
|
@@ -6133,242 +6133,39 @@ class VTXBaseAPI {
|
|
|
6133
6133
|
competitionGender: true,
|
|
6134
6134
|
country: {
|
|
6135
6135
|
_id: true,
|
|
6136
|
-
name: true
|
|
6137
6136
|
},
|
|
6138
6137
|
location: {
|
|
6139
|
-
userProvidedLatitude: true,
|
|
6140
|
-
userProvidedLongitude: true,
|
|
6141
|
-
cityNameGeocode: true,
|
|
6142
|
-
stateNameGeocode: true,
|
|
6143
|
-
countryIso2CodeGeocode: true,
|
|
6144
|
-
timeZoneGeocode: true,
|
|
6145
|
-
latitudeGeocode: true,
|
|
6146
|
-
longitudeGeocode: true,
|
|
6147
6138
|
city: {
|
|
6148
|
-
_id: true,
|
|
6149
6139
|
name: true,
|
|
6150
|
-
localizedName: true,
|
|
6151
6140
|
state: {
|
|
6152
6141
|
_id: true,
|
|
6153
6142
|
name: true,
|
|
6154
6143
|
country: {
|
|
6155
6144
|
_id: true,
|
|
6156
|
-
name: true
|
|
6157
6145
|
}
|
|
6158
6146
|
},
|
|
6159
|
-
latitude: true,
|
|
6160
|
-
longitude: true,
|
|
6161
6147
|
timezone: true,
|
|
6162
6148
|
}
|
|
6163
6149
|
},
|
|
6164
|
-
trainer: true,
|
|
6165
|
-
trainerUrl: true,
|
|
6166
6150
|
aboutMe: true,
|
|
6167
6151
|
mainSport: {
|
|
6168
|
-
_id: true,
|
|
6169
6152
|
name: true
|
|
6170
6153
|
},
|
|
6171
6154
|
mainSportLevel: {
|
|
6172
|
-
_id: true,
|
|
6173
6155
|
label: true,
|
|
6174
|
-
index: true
|
|
6175
6156
|
},
|
|
6176
6157
|
scores: {
|
|
6177
6158
|
vtxScore: true,
|
|
6178
|
-
socialScore: true,
|
|
6179
|
-
trainingScore: true,
|
|
6180
|
-
competitionScore: true
|
|
6181
6159
|
},
|
|
6182
6160
|
competitions: {
|
|
6183
|
-
_id: true,
|
|
6184
6161
|
event: {
|
|
6185
|
-
_id: true,
|
|
6186
6162
|
name: true,
|
|
6187
|
-
mainSport: {
|
|
6188
|
-
_id: true,
|
|
6189
|
-
name: true
|
|
6190
|
-
},
|
|
6191
|
-
eventWebSite: true,
|
|
6192
|
-
startDate: true,
|
|
6193
|
-
endDate: true,
|
|
6194
|
-
verified: true,
|
|
6195
|
-
banner: {
|
|
6196
|
-
_id: true,
|
|
6197
|
-
name: true,
|
|
6198
|
-
contentType: true,
|
|
6199
|
-
size: true,
|
|
6200
|
-
useType: true,
|
|
6201
|
-
url: true,
|
|
6202
|
-
key: true
|
|
6203
|
-
},
|
|
6204
|
-
location: {
|
|
6205
|
-
_id: true,
|
|
6206
|
-
userProvidedLatitude: true,
|
|
6207
|
-
userProvidedLongitude: true,
|
|
6208
|
-
cityNameGeocode: true,
|
|
6209
|
-
stateNameGeocode: true,
|
|
6210
|
-
countryIso2CodeGeocode: true,
|
|
6211
|
-
timeZoneGeocode: true,
|
|
6212
|
-
latitudeGeocode: true,
|
|
6213
|
-
longitudeGeocode: true,
|
|
6214
|
-
city: {
|
|
6215
|
-
_id: true,
|
|
6216
|
-
name: true,
|
|
6217
|
-
localizedName: true,
|
|
6218
|
-
state: {
|
|
6219
|
-
_id: true,
|
|
6220
|
-
name: true,
|
|
6221
|
-
country: {
|
|
6222
|
-
_id: true,
|
|
6223
|
-
name: true
|
|
6224
|
-
}
|
|
6225
|
-
},
|
|
6226
|
-
latitude: true,
|
|
6227
|
-
longitude: true,
|
|
6228
|
-
timezone: true,
|
|
6229
|
-
}
|
|
6230
|
-
},
|
|
6231
6163
|
},
|
|
6232
6164
|
participationDate: true,
|
|
6233
|
-
result: {
|
|
6234
|
-
_id: true,
|
|
6235
|
-
resultType: true,
|
|
6236
|
-
position: true,
|
|
6237
|
-
score: true,
|
|
6238
|
-
finishTimeMS: true,
|
|
6239
|
-
resultWebLink: true
|
|
6240
|
-
}
|
|
6241
|
-
},
|
|
6242
|
-
totalUpcomingCompetitions: true,
|
|
6243
|
-
totalPastCompetitions: true,
|
|
6244
|
-
profilePicture: {
|
|
6245
|
-
_id: true,
|
|
6246
|
-
name: true,
|
|
6247
|
-
contentType: true,
|
|
6248
|
-
size: true,
|
|
6249
|
-
useType: true,
|
|
6250
|
-
url: true,
|
|
6251
|
-
key: true
|
|
6252
6165
|
},
|
|
6253
6166
|
cardPicture: {
|
|
6254
|
-
_id: true,
|
|
6255
|
-
name: true,
|
|
6256
|
-
contentType: true,
|
|
6257
|
-
size: true,
|
|
6258
|
-
useType: true,
|
|
6259
6167
|
url: true,
|
|
6260
|
-
key: true
|
|
6261
6168
|
},
|
|
6262
|
-
currentCampaign: {
|
|
6263
|
-
_id: true,
|
|
6264
|
-
budgetMode: true,
|
|
6265
|
-
status: true,
|
|
6266
|
-
title: true,
|
|
6267
|
-
motivation: true,
|
|
6268
|
-
website: true,
|
|
6269
|
-
fundsRequired: true,
|
|
6270
|
-
initialFundsObtained: true,
|
|
6271
|
-
fundsObtained: true,
|
|
6272
|
-
location: {
|
|
6273
|
-
_id: true,
|
|
6274
|
-
userProvidedLatitude: true,
|
|
6275
|
-
userProvidedLongitude: true,
|
|
6276
|
-
cityNameGeocode: true,
|
|
6277
|
-
stateNameGeocode: true,
|
|
6278
|
-
countryIso2CodeGeocode: true,
|
|
6279
|
-
timeZoneGeocode: true,
|
|
6280
|
-
latitudeGeocode: true,
|
|
6281
|
-
longitudeGeocode: true,
|
|
6282
|
-
city: {
|
|
6283
|
-
_id: true,
|
|
6284
|
-
name: true,
|
|
6285
|
-
localizedName: true,
|
|
6286
|
-
state: {
|
|
6287
|
-
_id: true,
|
|
6288
|
-
name: true,
|
|
6289
|
-
country: {
|
|
6290
|
-
_id: true,
|
|
6291
|
-
name: true
|
|
6292
|
-
}
|
|
6293
|
-
},
|
|
6294
|
-
latitude: true,
|
|
6295
|
-
longitude: true,
|
|
6296
|
-
timezone: true,
|
|
6297
|
-
}
|
|
6298
|
-
},
|
|
6299
|
-
endingDate: true,
|
|
6300
|
-
budget: {
|
|
6301
|
-
_id: true,
|
|
6302
|
-
initialFunds: true,
|
|
6303
|
-
totalRequired: true,
|
|
6304
|
-
items: {
|
|
6305
|
-
_id: true,
|
|
6306
|
-
quantity: true,
|
|
6307
|
-
concept: true,
|
|
6308
|
-
itemCost: true
|
|
6309
|
-
}
|
|
6310
|
-
},
|
|
6311
|
-
competitions: {
|
|
6312
|
-
_id: true,
|
|
6313
|
-
event: {
|
|
6314
|
-
_id: true,
|
|
6315
|
-
name: true,
|
|
6316
|
-
mainSport: {
|
|
6317
|
-
_id: true,
|
|
6318
|
-
name: true
|
|
6319
|
-
},
|
|
6320
|
-
eventWebSite: true,
|
|
6321
|
-
startDate: true,
|
|
6322
|
-
endDate: true,
|
|
6323
|
-
verified: true,
|
|
6324
|
-
banner: {
|
|
6325
|
-
_id: true,
|
|
6326
|
-
name: true,
|
|
6327
|
-
contentType: true,
|
|
6328
|
-
size: true,
|
|
6329
|
-
useType: true,
|
|
6330
|
-
url: true,
|
|
6331
|
-
key: true
|
|
6332
|
-
},
|
|
6333
|
-
location: {
|
|
6334
|
-
_id: true,
|
|
6335
|
-
userProvidedLatitude: true,
|
|
6336
|
-
userProvidedLongitude: true,
|
|
6337
|
-
cityNameGeocode: true,
|
|
6338
|
-
stateNameGeocode: true,
|
|
6339
|
-
countryIso2CodeGeocode: true,
|
|
6340
|
-
timeZoneGeocode: true,
|
|
6341
|
-
latitudeGeocode: true,
|
|
6342
|
-
longitudeGeocode: true,
|
|
6343
|
-
city: {
|
|
6344
|
-
_id: true,
|
|
6345
|
-
name: true,
|
|
6346
|
-
localizedName: true,
|
|
6347
|
-
state: {
|
|
6348
|
-
_id: true,
|
|
6349
|
-
name: true,
|
|
6350
|
-
country: {
|
|
6351
|
-
_id: true,
|
|
6352
|
-
name: true
|
|
6353
|
-
}
|
|
6354
|
-
},
|
|
6355
|
-
latitude: true,
|
|
6356
|
-
longitude: true,
|
|
6357
|
-
timezone: true,
|
|
6358
|
-
}
|
|
6359
|
-
},
|
|
6360
|
-
},
|
|
6361
|
-
participationDate: true,
|
|
6362
|
-
result: {
|
|
6363
|
-
_id: true,
|
|
6364
|
-
resultType: true,
|
|
6365
|
-
position: true,
|
|
6366
|
-
score: true,
|
|
6367
|
-
finishTimeMS: true,
|
|
6368
|
-
resultWebLink: true
|
|
6369
|
-
}
|
|
6370
|
-
}
|
|
6371
|
-
}
|
|
6372
6169
|
};
|
|
6373
6170
|
const fields = {
|
|
6374
6171
|
athletes: fieldsAthlete,
|