@vertikalx/vtx-backend-client 1.0.0-dev-carlos.25 → 1.0.0-dev-geo.67

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertikalx/vtx-backend-client",
3
- "version": "1.0.0-dev-carlos.25",
3
+ "version": "1.0.0-dev-geo.67",
4
4
  "description": "GraphQL API generated client for VTX",
5
5
  "types": "src/index.d.ts",
6
6
  "main": "src/index.js",
@@ -1,6 +1,7 @@
1
- import { User, AddValuesResponse, UserToken, UserWithToken, Athlete, RegisterAthleteDto, Brand, CreateBrandDto, BrandGenqlSelection, AWSS3UploadUrl, AWSS3GetUploadDto, CreateTenantInput, Tenant, TenantWithUserLogin, RegisterUserToDomainFromEmailInput, DecodedToken, Sponsorship, SponsorshipGenqlSelection, CreateSponsorshipDto, SponsorAthleteInvitation, InviteAthletesDto, RegisterUserDto, VerificationCode, VerifyCodeDto, FindSponsorAthleteInvitationDto, FindVtxUserDto, City, SportLevel, Sport, UserImages, EditValueResponse, CreateAthleteCompetitionDto, AthleteCompetition, GetSportEventsDto, SportsEvent, CreateSportEventDto, GetAthleteCompetitionsDto, AthleteMembership, AthleteMembershipGenqlSelection, MembershipOrganizationReferenceGenqlSelection, MembershipOrganizationReference, CreateMembershipOrganizationDto, CreateAthleteMembershipDto, DeleteSingleValueDto, DeleteSingleValueResponse, FundRaisingCampaign, CreateFundingCampaignDto, FundRaisingCampaignGenqlSelection, AthleteQueryDto, AthleteQueryResponse, StripeSessionGenqlSelection, CreateStripeAccountDto, StripeSession, StripeAccountReferenceGenqlSelection, StripeAccountReference, StripeCheckoutSessionGenqlSelection, StripeCheckoutSession, DonationCheckoutDto, GetDatabaseFileDto, TextDatabaseFileGenqlSelection, TextDatabaseFile, StripeQueryDto, StripeObject, SetFundingStatusDto, EditPictureResponse, UploadAlbumsPicturesDto, AWSS3DeleteUseTypeFileDto, EditPictureDto, Album, State, Country, AWSS3DeleteUseTypeKeyDto, AthleteIntegrationReference, AWSS3CallResult, SetCompetitionResultDto, AthleteCompetitionResult } from '../client';
1
+ import { User, AddValuesResponse, UserToken, UserWithToken, Athlete, RegisterAthleteDto, Brand, CreateBrandDto, BrandGenqlSelection, AWSS3UploadUrl, AWSS3GetUploadDto, CreateTenantInput, Tenant, TenantWithUserLogin, RegisterUserToDomainFromEmailInput, DecodedToken, Sponsorship, SponsorshipGenqlSelection, CreateSponsorshipDto, SponsorAthleteInvitation, InviteAthletesDto, RegisterUserDto, VerificationCode, VerifyCodeDto, FindSponsorAthleteInvitationDto, FindVtxUserDto, City, SportLevel, Sport, UserImages, EditValueResponse, CreateAthleteCompetitionDto, AthleteCompetition, GetSportEventsDto, SportsEvent, CreateSportEventDto, GetAthleteCompetitionsDto, AthleteMembership, AthleteMembershipGenqlSelection, MembershipOrganizationReferenceGenqlSelection, MembershipOrganizationReference, CreateMembershipOrganizationDto, CreateAthleteMembershipDto, DeleteSingleValueDto, DeleteSingleValueResponse, FundRaisingCampaign, CreateFundingCampaignDto, FundRaisingCampaignGenqlSelection, AthleteQueryDto, AthleteQueryResponse, StripeSessionGenqlSelection, CreateStripeAccountDto, StripeSession, StripeAccountReferenceGenqlSelection, StripeAccountReference, StripeCheckoutSessionGenqlSelection, StripeCheckoutSession, DonationCheckoutDto, GetDatabaseFileDto, TextDatabaseFileGenqlSelection, TextDatabaseFile, StripeQueryDto, StripeObject, SetFundingStatusDto, EditPictureResponse, UploadAlbumsPicturesDto, EditPictureDto, Album, State, Country, AWSS3DeleteUseTypeKeyDto, AthleteIntegrationReference, AWSS3CallResult, CodeVerificationResponse, resetPasswordDto } from '../client';
2
2
  import { ITypedBackendResponse } from './backend-response';
3
3
  import { APICallHeaders } from './api-call-headers';
4
+ import { VerificationCodeType } from '@stackbus/common-types';
4
5
  export declare class VTXBaseAPI {
5
6
  protected headers: APICallHeaders;
6
7
  protected backendUrl: string;
@@ -76,17 +77,17 @@ export declare class VTXBaseAPI {
76
77
  setFundingStatus(dto: SetFundingStatusDto, desiredFields?: FundRaisingCampaignGenqlSelection): Promise<ITypedBackendResponse<FundRaisingCampaign>>;
77
78
  findAthleteForIdPublic(id: string): Promise<ITypedBackendResponse<Athlete>>;
78
79
  editPicture(newPicDto: EditPictureDto): Promise<ITypedBackendResponse<EditPictureResponse>>;
79
- DeletePictureFromBuket(deleteDto: AWSS3DeleteUseTypeFileDto): Promise<ITypedBackendResponse<DeleteSingleValueResponse>>;
80
80
  addAlbumsPictures(dto: UploadAlbumsPicturesDto): Promise<ITypedBackendResponse<AddValuesResponse>>;
81
81
  createAthleteAlbum(dto: UploadAlbumsPicturesDto): Promise<ITypedBackendResponse<Album>>;
82
82
  deleteAthleteAlbum(dto: DeleteSingleValueDto): Promise<ITypedBackendResponse<DeleteSingleValueResponse>>;
83
83
  getAthleteAlbums(): Promise<ITypedBackendResponse<Album[]>>;
84
84
  getAthleteAlbumsById(): Promise<ITypedBackendResponse<Album>>;
85
85
  queryAthletesWithFilters(dto: AthleteQueryDto): Promise<ITypedBackendResponse<AthleteQueryResponse>>;
86
- getAthleteStravaIntegration(): Promise<ITypedBackendResponse<AthleteIntegrationReference>>;
87
- getAthleteInstagramIntegration(): Promise<ITypedBackendResponse<AthleteIntegrationReference>>;
88
- getAthleteIntegrations(): Promise<ITypedBackendResponse<AthleteIntegrationReference>>;
86
+ getAthleteIntegrationsByAthlete(): Promise<ITypedBackendResponse<AthleteIntegrationReference>>;
89
87
  deleteAthleteIntegration(): Promise<ITypedBackendResponse<boolean>>;
90
88
  deleteUploadedTypeKeyFile(dto: AWSS3DeleteUseTypeKeyDto): Promise<ITypedBackendResponse<AWSS3CallResult>>;
91
- saveAthleteCompetitionResult(dto: SetCompetitionResultDto): Promise<ITypedBackendResponse<AthleteCompetitionResult>>;
89
+ createResetPasswordCode(email: string): Promise<ITypedBackendResponse<EditValueResponse>>;
90
+ getResetVerificationCode(id: string): Promise<ITypedBackendResponse<VerificationCodeType>>;
91
+ verifyCode(input: VerifyCodeDto): Promise<ITypedBackendResponse<CodeVerificationResponse>>;
92
+ resetUserPassword(input: resetPasswordDto): Promise<ITypedBackendResponse<EditValueResponse>>;
92
93
  }
@@ -2229,7 +2229,12 @@ class VTXBaseAPI {
2229
2229
  },
2230
2230
  preferences: {
2231
2231
  _id: true,
2232
- showProfileHelper: true
2232
+ showProfileHelper: true,
2233
+ defaultAlbum: {
2234
+ _id: true,
2235
+ label: true,
2236
+ description: true,
2237
+ }
2233
2238
  },
2234
2239
  currentCampaign: {
2235
2240
  _id: true,
@@ -5707,45 +5712,6 @@ class VTXBaseAPI {
5707
5712
  }
5708
5713
  return retValue;
5709
5714
  }
5710
- async DeletePictureFromBuket(deleteDto) {
5711
- console.log('HEADERS:');
5712
- console.log(JSON.stringify(this.headers, null, 2));
5713
- const client = (0, client_1.createClient)({
5714
- url: this.backendUrl + '/graphql',
5715
- headers: this.headers,
5716
- });
5717
- let retValue = {};
5718
- const fields = {
5719
- idToDelete: true,
5720
- deleted: true,
5721
- failureReason: {
5722
- code: true,
5723
- message: true
5724
- }
5725
- };
5726
- try {
5727
- const response = await client.mutation({
5728
- DeletePictureBuket: {
5729
- __args: {
5730
- input: deleteDto
5731
- },
5732
- ...fields
5733
- },
5734
- });
5735
- VTXBaseAPI.Logger.debug('deletePicture Response:');
5736
- VTXBaseAPI.Logger.debug(JSON.stringify(response, null, 2));
5737
- retValue = (0, response_builder_1.buildResponse)(response, 'DeletePictureBuket', (r) => {
5738
- const isResponseOk = true && response?.DeletePictureBuket?.idToDelete;
5739
- return isResponseOk;
5740
- });
5741
- }
5742
- catch (err1) {
5743
- VTXBaseAPI.Logger.error('editProfileValue err1:');
5744
- VTXBaseAPI.Logger.error(err1);
5745
- retValue = (0, response_builder_1.buildErrorResponse)(err1);
5746
- }
5747
- return retValue;
5748
- }
5749
5715
  async addAlbumsPictures(dto) {
5750
5716
  console.log('HEADERS:');
5751
5717
  console.log(JSON.stringify(this.headers, null, 2));
@@ -6260,7 +6226,7 @@ class VTXBaseAPI {
6260
6226
  }
6261
6227
  return retValue;
6262
6228
  }
6263
- async getAthleteStravaIntegration() {
6229
+ async getAthleteIntegrationsByAthlete() {
6264
6230
  const client = (0, client_1.createClient)({
6265
6231
  url: this.backendUrl + '/graphql',
6266
6232
  headers: this.headers,
@@ -6292,12 +6258,12 @@ class VTXBaseAPI {
6292
6258
  };
6293
6259
  try {
6294
6260
  const response = await client.query({
6295
- getAthleteStravaIntegration: {
6261
+ getAthleteIntegrationsByAthlete: {
6296
6262
  ...fields
6297
6263
  },
6298
6264
  });
6299
- retValue = (0, response_builder_1.buildResponse)(response, 'getAthleteStravaIntegration', (r) => {
6300
- const isResponseOk = !!response?.getAthleteStravaIntegration?._id;
6265
+ retValue = (0, response_builder_1.buildResponse)(response, 'getAthleteIntegrationsByAthlete', (r) => {
6266
+ const isResponseOk = !!response?.getAthleteIntegrationsByAthlete?._id;
6301
6267
  return isResponseOk;
6302
6268
  });
6303
6269
  }
@@ -6306,177 +6272,144 @@ class VTXBaseAPI {
6306
6272
  }
6307
6273
  return retValue;
6308
6274
  }
6309
- async getAthleteInstagramIntegration() {
6275
+ async deleteAthleteIntegration() {
6276
+ const client = (0, client_1.createClient)({
6277
+ url: this.backendUrl + '/graphql',
6278
+ headers: this.headers,
6279
+ });
6280
+ let retValue = {};
6281
+ try {
6282
+ const response = await client.mutation({
6283
+ deleteAthleteIntegration: true
6284
+ });
6285
+ retValue = (0, response_builder_1.buildResponse)(response, 'deleteAthleteIntegration', (r) => {
6286
+ const isResponseOk = response?.deleteAthleteIntegration === true;
6287
+ return isResponseOk;
6288
+ });
6289
+ }
6290
+ catch (err) {
6291
+ retValue = (0, response_builder_1.buildErrorResponse)(err);
6292
+ }
6293
+ return retValue;
6294
+ }
6295
+ async deleteUploadedTypeKeyFile(dto) {
6296
+ console.log('HEADERS:');
6297
+ console.log(JSON.stringify(this.headers, null, 2));
6310
6298
  const client = (0, client_1.createClient)({
6311
6299
  url: this.backendUrl + '/graphql',
6312
6300
  headers: this.headers,
6313
6301
  });
6314
6302
  let retValue = {};
6315
6303
  const fields = {
6316
- _id: true,
6317
- athlete: {
6318
- _id: true,
6319
- },
6320
- hasInstagramIntegration: true,
6321
- instagramTokenExpires: true,
6322
- instagramUserData: {
6323
- user_id: true,
6324
- username: true,
6325
- name: true,
6326
- account_type: true,
6327
- followers_count: true,
6328
- media_count: true
6329
- },
6330
- instagramMediaData: {
6331
- data: {
6332
- id: true,
6333
- caption: true,
6334
- media_type: true,
6335
- media_url: true,
6336
- permalink: true,
6337
- thumbnail_url: true,
6338
- timestamp: true,
6339
- username: true,
6340
- like_count: true,
6341
- comments_count: true,
6342
- insights: {
6343
- data: {
6344
- name: true,
6345
- period: true,
6346
- values: true
6347
- }
6348
- }
6349
- },
6350
- paging: {
6351
- cursors: {
6352
- before: true,
6353
- after: true
6354
- },
6355
- next: true
6356
- }
6357
- }
6304
+ httpStatus: true,
6305
+ result: true,
6306
+ message: true,
6307
+ errors: true
6358
6308
  };
6359
6309
  try {
6360
- const response = await client.query({
6361
- getAthleteInstagramIntegration: {
6310
+ const response = await client.mutation({
6311
+ deleteUploadedTypeKeyFile: {
6312
+ __args: {
6313
+ input: dto
6314
+ },
6362
6315
  ...fields
6363
6316
  },
6364
6317
  });
6365
- retValue = (0, response_builder_1.buildResponse)(response, 'getAthleteInstagramIntegration', (r) => {
6366
- const isResponseOk = !!response?.getAthleteInstagramIntegration?._id;
6318
+ console.log('deleteUploadedTypeKeyFile Response:');
6319
+ console.log(JSON.stringify(response, null, 2));
6320
+ retValue = (0, response_builder_1.buildResponse)(response, 'deleteUploadedTypeKeyFile', (r) => {
6321
+ const isResponseOk = response?.deleteUploadedTypeKeyFile?.httpStatus;
6367
6322
  return isResponseOk;
6368
6323
  });
6369
6324
  }
6370
- catch (err) {
6371
- retValue = (0, response_builder_1.buildErrorResponse)(err);
6325
+ catch (err1) {
6326
+ console.error('deleteUploadedTypeKeyFile err1:');
6327
+ console.error(err1);
6328
+ retValue = (0, response_builder_1.buildErrorResponse)(err1);
6372
6329
  }
6330
+ console.log('retValue:');
6331
+ console.log(JSON.stringify(retValue, null, 2));
6373
6332
  return retValue;
6374
6333
  }
6375
- async getAthleteIntegrations() {
6334
+ async createResetPasswordCode(email) {
6335
+ console.log('HEADERS:');
6336
+ console.log(JSON.stringify(this.headers, null, 2));
6376
6337
  const client = (0, client_1.createClient)({
6377
6338
  url: this.backendUrl + '/graphql',
6378
6339
  headers: this.headers,
6379
6340
  });
6380
6341
  let retValue = {};
6381
6342
  const fields = {
6382
- _id: true,
6383
- athlete: {
6384
- _id: true,
6385
- },
6386
- hasStravaIntegration: true,
6387
- stravaTokenExpires: true,
6388
- stravaAthleteData: {
6389
- id: true,
6390
- username: true,
6391
- firstname: true,
6392
- lastname: true,
6393
- bio: true,
6394
- city: true,
6395
- state: true,
6396
- country: true,
6397
- sex: true,
6398
- premium: true,
6399
- profile: true,
6400
- created_at: true,
6401
- updated_at: true,
6402
- weight: true
6403
- },
6404
- hasInstagramIntegration: true,
6405
- instagramTokenExpires: true,
6406
- instagramUserData: {
6407
- user_id: true,
6408
- username: true,
6409
- name: true,
6410
- account_type: true,
6411
- followers_count: true,
6412
- media_count: true
6413
- },
6414
- instagramMediaData: {
6415
- data: {
6416
- id: true,
6417
- caption: true,
6418
- media_type: true,
6419
- media_url: true,
6420
- permalink: true,
6421
- thumbnail_url: true,
6422
- timestamp: true,
6423
- username: true,
6424
- like_count: true,
6425
- comments_count: true,
6426
- insights: {
6427
- data: {
6428
- name: true,
6429
- period: true,
6430
- values: true
6431
- }
6432
- }
6433
- },
6434
- paging: {
6435
- cursors: {
6436
- before: true,
6437
- after: true
6438
- },
6439
- next: true
6440
- }
6441
- }
6343
+ field: true,
6344
+ changed: true,
6442
6345
  };
6443
6346
  try {
6444
- const response = await client.query({
6445
- getAthleteIntegrations: {
6347
+ const response = await client.mutation({
6348
+ createResetPasswordCode: {
6349
+ __args: {
6350
+ input: email
6351
+ },
6446
6352
  ...fields
6447
6353
  },
6448
6354
  });
6449
- retValue = (0, response_builder_1.buildResponse)(response, 'getAthleteIntegrations', (r) => {
6450
- const isResponseOk = !!response?.getAthleteIntegrations?._id;
6355
+ console.log('createResetPasswordCode Response:');
6356
+ console.log(JSON.stringify(response, null, 2));
6357
+ retValue = (0, response_builder_1.buildResponse)(response, 'createResetPasswordCode', (r) => {
6358
+ const isResponseOk = response?.createResetPasswordCode?.field !== null;
6451
6359
  return isResponseOk;
6452
6360
  });
6453
6361
  }
6454
- catch (err) {
6455
- retValue = (0, response_builder_1.buildErrorResponse)(err);
6362
+ catch (err1) {
6363
+ console.error('createResetPasswordCode err1:');
6364
+ console.error(err1);
6365
+ retValue = (0, response_builder_1.buildErrorResponse)(err1);
6456
6366
  }
6367
+ console.log('retValue:');
6368
+ console.log(JSON.stringify(retValue, null, 2));
6457
6369
  return retValue;
6458
6370
  }
6459
- async deleteAthleteIntegration() {
6371
+ async getResetVerificationCode(id) {
6372
+ console.log('HEADERS:');
6373
+ console.log(JSON.stringify(this.headers, null, 2));
6460
6374
  const client = (0, client_1.createClient)({
6461
6375
  url: this.backendUrl + '/graphql',
6462
6376
  headers: this.headers,
6463
6377
  });
6464
6378
  let retValue = {};
6379
+ const fields = {
6380
+ _id: true,
6381
+ type: true,
6382
+ recipient: true,
6383
+ expires: true,
6384
+ isExpired: true,
6385
+ createdDate: true,
6386
+ };
6465
6387
  try {
6466
- const response = await client.mutation({
6467
- deleteAthleteIntegration: true
6388
+ const response = await client.query({
6389
+ getResetVerificationCode: {
6390
+ __args: {
6391
+ input: id
6392
+ },
6393
+ ...fields
6394
+ },
6468
6395
  });
6469
- retValue = (0, response_builder_1.buildResponse)(response, 'deleteAthleteIntegration', (r) => {
6470
- const isResponseOk = response?.deleteAthleteIntegration === true;
6396
+ console.log('getResetVerificationCode Response:');
6397
+ console.log(JSON.stringify(response, null, 2));
6398
+ retValue = (0, response_builder_1.buildResponse)(response, 'getResetVerificationCode', (r) => {
6399
+ const isResponseOk = response?.getResetVerificationCode?.changed;
6471
6400
  return isResponseOk;
6472
6401
  });
6473
6402
  }
6474
- catch (err) {
6475
- retValue = (0, response_builder_1.buildErrorResponse)(err);
6403
+ catch (err1) {
6404
+ console.error('getResetVerificationCode err1:');
6405
+ console.error(err1);
6406
+ retValue = (0, response_builder_1.buildErrorResponse)(err1);
6476
6407
  }
6408
+ console.log('retValue:');
6409
+ console.log(JSON.stringify(retValue, null, 2));
6477
6410
  return retValue;
6478
6411
  }
6479
- async deleteUploadedTypeKeyFile(dto) {
6412
+ async verifyCode(input) {
6480
6413
  console.log('HEADERS:');
6481
6414
  console.log(JSON.stringify(this.headers, null, 2));
6482
6415
  const client = (0, client_1.createClient)({
@@ -6485,29 +6418,38 @@ class VTXBaseAPI {
6485
6418
  });
6486
6419
  let retValue = {};
6487
6420
  const fields = {
6488
- httpStatus: true,
6489
6421
  result: true,
6490
- message: true,
6491
- errors: true
6422
+ code: {
6423
+ _id: true,
6424
+ type: true,
6425
+ recipient: true,
6426
+ expires: true,
6427
+ isExpired: true,
6428
+ createdDate: true,
6429
+ },
6430
+ error: {
6431
+ errorCode: true,
6432
+ errorMessage: true,
6433
+ }
6492
6434
  };
6493
6435
  try {
6494
- const response = await client.mutation({
6495
- deleteUploadedTypeKeyFile: {
6436
+ const response = await client.query({
6437
+ verifyCode: {
6496
6438
  __args: {
6497
- input: dto
6439
+ input: input
6498
6440
  },
6499
6441
  ...fields
6500
6442
  },
6501
6443
  });
6502
- console.log('deleteUploadedTypeKeyFile Response:');
6444
+ console.log('verifyCode Response:');
6503
6445
  console.log(JSON.stringify(response, null, 2));
6504
- retValue = (0, response_builder_1.buildResponse)(response, 'deleteUploadedTypeKeyFile', (r) => {
6505
- const isResponseOk = response?.deleteUploadedTypeKeyFile?.httpStatus;
6446
+ retValue = (0, response_builder_1.buildResponse)(response, 'verifyCode', (r) => {
6447
+ const isResponseOk = response?.verifyCode?.result === 'success' || response?.verifyCode?.result === 'error';
6506
6448
  return isResponseOk;
6507
6449
  });
6508
6450
  }
6509
6451
  catch (err1) {
6510
- console.error('deleteUploadedTypeKeyFile err1:');
6452
+ console.error('verifyCode err1:');
6511
6453
  console.error(err1);
6512
6454
  retValue = (0, response_builder_1.buildErrorResponse)(err1);
6513
6455
  }
@@ -6515,41 +6457,42 @@ class VTXBaseAPI {
6515
6457
  console.log(JSON.stringify(retValue, null, 2));
6516
6458
  return retValue;
6517
6459
  }
6518
- async saveAthleteCompetitionResult(dto) {
6460
+ async resetUserPassword(input) {
6461
+ console.log('HEADERS:');
6462
+ console.log(JSON.stringify(this.headers, null, 2));
6519
6463
  const client = (0, client_1.createClient)({
6520
6464
  url: this.backendUrl + '/graphql',
6521
6465
  headers: this.headers,
6522
6466
  });
6523
6467
  let retValue = {};
6524
6468
  const fields = {
6525
- _id: true,
6526
- resultType: true,
6527
- position: true,
6528
- score: true,
6529
- finishTimeMS: true,
6530
- resultWebLink: true,
6469
+ field: true,
6470
+ changed: true,
6531
6471
  };
6532
6472
  try {
6533
6473
  const response = await client.mutation({
6534
- saveAthleteCompetitionResult: {
6474
+ resetUserPassword: {
6535
6475
  __args: {
6536
- input: dto
6476
+ input: input
6537
6477
  },
6538
6478
  ...fields
6539
6479
  },
6540
6480
  });
6541
- VTXBaseAPI.Logger.debug('saveAthleteCompetitionResult Response:');
6542
- VTXBaseAPI.Logger.debug(JSON.stringify(response, null, 2));
6543
- retValue = (0, response_builder_1.buildResponse)(response, 'saveAthleteCompetitionResult', (r) => {
6544
- const isResponseOk = true && response?.saveAthleteCompetitionResult?._id;
6481
+ console.log('resetUserPassword Response:');
6482
+ console.log(JSON.stringify(response, null, 2));
6483
+ retValue = (0, response_builder_1.buildResponse)(response, 'resetUserPassword', (r) => {
6484
+ const isResponseOk = response?.resetUserPassword?.changed;
6485
+ ;
6545
6486
  return isResponseOk;
6546
6487
  });
6547
6488
  }
6548
6489
  catch (err1) {
6549
- VTXBaseAPI.Logger.error('saveAthleteCompetitionResult err1:');
6550
- VTXBaseAPI.Logger.error(err1);
6490
+ console.error('resetUserPassword err1:');
6491
+ console.error(err1);
6551
6492
  retValue = (0, response_builder_1.buildErrorResponse)(err1);
6552
6493
  }
6494
+ console.log('retValue:');
6495
+ console.log(JSON.stringify(retValue, null, 2));
6553
6496
  return retValue;
6554
6497
  }
6555
6498
  }