@randock/nameshift-api-client 0.0.503 → 0.0.504

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.
Files changed (141) hide show
  1. package/.openapi-generator/FILES +32 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +44 -1
  4. package/dist/apis/AdminApi.js +177 -0
  5. package/dist/apis/BuyersPublicApi.d.ts +3 -3
  6. package/dist/apis/BuyersPublicApi.js +1 -1
  7. package/dist/apis/UsersApi.d.ts +285 -1
  8. package/dist/apis/UsersApi.js +1305 -46
  9. package/dist/apis/UsersPublicApi.d.ts +107 -3
  10. package/dist/apis/UsersPublicApi.js +388 -2
  11. package/dist/models/ActivateUserTotpInput.d.ts +32 -0
  12. package/dist/models/ActivateUserTotpInput.js +51 -0
  13. package/dist/models/AdminUserSecurityDto.d.ts +87 -0
  14. package/dist/models/AdminUserSecurityDto.js +88 -0
  15. package/dist/models/BuyerLoginDto.d.ts +38 -0
  16. package/dist/models/BuyerLoginDto.js +55 -0
  17. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  18. package/dist/models/BuyerNotificationDto.js +1 -0
  19. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  20. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  21. package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +33 -0
  22. package/dist/models/ChangeUserAuthenticationMethodInput.js +52 -0
  23. package/dist/models/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
  24. package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
  25. package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
  26. package/dist/models/ChangeUserPasswordInput.js +55 -0
  27. package/dist/models/ConfirmLoginLocationInput.d.ts +32 -0
  28. package/dist/models/ConfirmLoginLocationInput.js +51 -0
  29. package/dist/models/CurrentPasswordInput.d.ts +32 -0
  30. package/dist/models/CurrentPasswordInput.js +51 -0
  31. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  32. package/dist/models/FeatureFlagListItemDto.js +2 -1
  33. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  34. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  35. package/dist/models/ListUserLoginAttempts200Response.d.ts +47 -0
  36. package/dist/models/ListUserLoginAttempts200Response.js +62 -0
  37. package/dist/models/LoginChallengeInput.d.ts +32 -0
  38. package/dist/models/LoginChallengeInput.js +51 -0
  39. package/dist/models/LoginCodeInput.d.ts +38 -0
  40. package/dist/models/LoginCodeInput.js +55 -0
  41. package/dist/models/LoginDto.d.ts +30 -4
  42. package/dist/models/LoginDto.js +13 -5
  43. package/dist/models/LoginPasskeyInput.d.ts +46 -0
  44. package/dist/models/LoginPasskeyInput.js +57 -0
  45. package/dist/models/LoginPasskeyOptionsInput.d.ts +32 -0
  46. package/dist/models/LoginPasskeyOptionsInput.js +49 -0
  47. package/dist/models/LoginRecoveryCodeInput.d.ts +38 -0
  48. package/dist/models/LoginRecoveryCodeInput.js +55 -0
  49. package/dist/models/LoginStatus.d.ts +26 -0
  50. package/dist/models/LoginStatus.js +52 -0
  51. package/dist/models/PasskeyOptionsDto.d.ts +40 -0
  52. package/dist/models/PasskeyOptionsDto.js +55 -0
  53. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  54. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  55. package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
  56. package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
  57. package/dist/models/ReauthenticationDto.d.ts +38 -0
  58. package/dist/models/ReauthenticationDto.js +55 -0
  59. package/dist/models/RecoveryCodesDto.d.ts +32 -0
  60. package/dist/models/RecoveryCodesDto.js +51 -0
  61. package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
  62. package/dist/models/RegisterUserPasskeyInput.js +59 -0
  63. package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
  64. package/dist/models/RemoveUserPasskeyInput.js +55 -0
  65. package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
  66. package/dist/models/RenameUserPasskeyInput.js +51 -0
  67. package/dist/models/SecondFactorMethod.d.ts +26 -0
  68. package/dist/models/SecondFactorMethod.js +52 -0
  69. package/dist/models/SellerSecurityUserDto.d.ts +12 -0
  70. package/dist/models/SellerSecurityUserDto.js +4 -0
  71. package/dist/models/TotpCodeInput.d.ts +32 -0
  72. package/dist/models/TotpCodeInput.js +51 -0
  73. package/dist/models/TotpEnrolmentDto.d.ts +38 -0
  74. package/dist/models/TotpEnrolmentDto.js +55 -0
  75. package/dist/models/UserAuthenticationMethod.d.ts +27 -0
  76. package/dist/models/UserAuthenticationMethod.js +53 -0
  77. package/dist/models/UserLoginAttemptDto.d.ts +88 -0
  78. package/dist/models/UserLoginAttemptDto.js +89 -0
  79. package/dist/models/UserLoginAttemptMethod.d.ts +29 -0
  80. package/dist/models/UserLoginAttemptMethod.js +55 -0
  81. package/dist/models/UserLoginAttemptResult.d.ts +30 -0
  82. package/dist/models/UserLoginAttemptResult.js +56 -0
  83. package/dist/models/UserLoginLocationConfirmationDetailsDto.d.ts +62 -0
  84. package/dist/models/UserLoginLocationConfirmationDetailsDto.js +71 -0
  85. package/dist/models/UserNotificationDto.d.ts +1 -0
  86. package/dist/models/UserNotificationDto.js +1 -0
  87. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  88. package/dist/models/UserNotificationListItemDto.js +1 -0
  89. package/dist/models/UserPasskeyDto.d.ts +62 -0
  90. package/dist/models/UserPasskeyDto.js +71 -0
  91. package/dist/models/UserSecurityDto.d.ts +94 -0
  92. package/dist/models/UserSecurityDto.js +93 -0
  93. package/dist/models/index.d.ts +32 -0
  94. package/dist/models/index.js +32 -0
  95. package/package.json +1 -1
  96. package/src/apis/AdminApi.ts +172 -0
  97. package/src/apis/BuyersPublicApi.ts +6 -6
  98. package/src/apis/UsersApi.ts +1219 -48
  99. package/src/apis/UsersPublicApi.ts +375 -2
  100. package/src/models/ActivateUserTotpInput.ts +66 -0
  101. package/src/models/AdminUserSecurityDto.ts +157 -0
  102. package/src/models/BuyerLoginDto.ts +75 -0
  103. package/src/models/BuyerNotificationDto.ts +1 -0
  104. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  105. package/src/models/ChangeUserAuthenticationMethodInput.ts +76 -0
  106. package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
  107. package/src/models/ChangeUserPasswordInput.ts +75 -0
  108. package/src/models/ConfirmLoginLocationInput.ts +66 -0
  109. package/src/models/CurrentPasswordInput.ts +66 -0
  110. package/src/models/FeatureFlagListItemDto.ts +2 -1
  111. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  112. package/src/models/ListUserLoginAttempts200Response.ts +106 -0
  113. package/src/models/LoginChallengeInput.ts +66 -0
  114. package/src/models/LoginCodeInput.ts +75 -0
  115. package/src/models/LoginDto.ts +56 -8
  116. package/src/models/LoginPasskeyInput.ts +83 -0
  117. package/src/models/LoginPasskeyOptionsInput.ts +65 -0
  118. package/src/models/LoginRecoveryCodeInput.ts +75 -0
  119. package/src/models/LoginStatus.ts +54 -0
  120. package/src/models/PasskeyOptionsDto.ts +75 -0
  121. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  122. package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
  123. package/src/models/ReauthenticationDto.ts +75 -0
  124. package/src/models/RecoveryCodesDto.ts +66 -0
  125. package/src/models/RegisterUserPasskeyInput.ts +84 -0
  126. package/src/models/RemoveUserPasskeyInput.ts +75 -0
  127. package/src/models/RenameUserPasskeyInput.ts +66 -0
  128. package/src/models/SecondFactorMethod.ts +54 -0
  129. package/src/models/SellerSecurityUserDto.ts +16 -0
  130. package/src/models/TotpCodeInput.ts +66 -0
  131. package/src/models/TotpEnrolmentDto.ts +75 -0
  132. package/src/models/UserAuthenticationMethod.ts +55 -0
  133. package/src/models/UserLoginAttemptDto.ts +164 -0
  134. package/src/models/UserLoginAttemptMethod.ts +57 -0
  135. package/src/models/UserLoginAttemptResult.ts +58 -0
  136. package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
  137. package/src/models/UserNotificationDto.ts +1 -0
  138. package/src/models/UserNotificationListItemDto.ts +1 -0
  139. package/src/models/UserPasskeyDto.ts +111 -0
  140. package/src/models/UserSecurityDto.ts +173 -0
  141. package/src/models/index.ts +32 -0
@@ -28,6 +28,7 @@ import type {
28
28
  AdminGetAllDomainTransfers200Response,
29
29
  AdminLandingDesignStatsDto,
30
30
  AdminMarketplaceDto,
31
+ AdminUserSecurityDto,
31
32
  BadRequestException,
32
33
  BulkCommissionActionsInput,
33
34
  ChangeInvoiceStatusInput,
@@ -65,6 +66,7 @@ import type {
65
66
  ListDomains200Response,
66
67
  ListLeadMessagesDto,
67
68
  ListLeads200Response,
69
+ ListUserLoginAttempts200Response,
68
70
  ObjectId,
69
71
  PaySellerInvoicesInput,
70
72
  SellerLeadDetails,
@@ -112,6 +114,8 @@ import {
112
114
  AdminLandingDesignStatsDtoToJSON,
113
115
  AdminMarketplaceDtoFromJSON,
114
116
  AdminMarketplaceDtoToJSON,
117
+ AdminUserSecurityDtoFromJSON,
118
+ AdminUserSecurityDtoToJSON,
115
119
  BadRequestExceptionFromJSON,
116
120
  BadRequestExceptionToJSON,
117
121
  BulkCommissionActionsInputFromJSON,
@@ -186,6 +190,8 @@ import {
186
190
  ListLeadMessagesDtoToJSON,
187
191
  ListLeads200ResponseFromJSON,
188
192
  ListLeads200ResponseToJSON,
193
+ ListUserLoginAttempts200ResponseFromJSON,
194
+ ListUserLoginAttempts200ResponseToJSON,
189
195
  ObjectIdFromJSON,
190
196
  ObjectIdToJSON,
191
197
  PaySellerInvoicesInputFromJSON,
@@ -454,6 +460,10 @@ export interface AdminApiListAccountNotesRequest {
454
460
  accountId: string;
455
461
  }
456
462
 
463
+ export interface AdminApiListAccountUsersSecurityRequest {
464
+ accountId: string;
465
+ }
466
+
457
467
  export interface AdminApiListAccountsRequest {
458
468
  filter?: { [key: string]: string; };
459
469
  page?: number;
@@ -536,6 +546,16 @@ export interface AdminApiListLedgerMutationsRequest {
536
546
  dateRange?: StatsFilterInputDateRange | null;
537
547
  }
538
548
 
549
+ export interface AdminApiListUserLoginAttemptsAsAdminRequest {
550
+ userId: string;
551
+ filter?: { [key: string]: string; };
552
+ page?: number;
553
+ limit?: number;
554
+ sortBy?: Array<string>;
555
+ filterResult?: string;
556
+ filterMethod?: string;
557
+ }
558
+
539
559
  export interface AdminApiLoginAsRequest {
540
560
  accountId: string;
541
561
  }
@@ -591,6 +611,10 @@ export interface AdminApiReopenAdminLeadRequest {
591
611
  leadId: string;
592
612
  }
593
613
 
614
+ export interface AdminApiResetUserSecondFactorsRequest {
615
+ userId: string;
616
+ }
617
+
594
618
  export interface AdminApiShowcaseDomainRequest {
595
619
  domainId: string;
596
620
  }
@@ -2788,6 +2812,47 @@ export class AdminApi extends runtime.BaseAPI {
2788
2812
  return await response.value();
2789
2813
  }
2790
2814
 
2815
+ /**
2816
+ * List how the users of an account sign in
2817
+ */
2818
+ async listAccountUsersSecurityRaw(requestParameters: AdminApiListAccountUsersSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AdminUserSecurityDto>>> {
2819
+ if (requestParameters['accountId'] == null) {
2820
+ throw new runtime.RequiredError(
2821
+ 'accountId',
2822
+ 'Required parameter "accountId" was null or undefined when calling listAccountUsersSecurity().'
2823
+ );
2824
+ }
2825
+
2826
+ const queryParameters: any = {};
2827
+
2828
+ const headerParameters: runtime.HTTPHeaders = {};
2829
+
2830
+ if (this.configuration && this.configuration.accessToken) {
2831
+ const token = this.configuration.accessToken;
2832
+ const tokenString = await token("bearer", []);
2833
+
2834
+ if (tokenString) {
2835
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2836
+ }
2837
+ }
2838
+ const response = await this.request({
2839
+ path: `/admin/accounts/{accountId}/users/security`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))),
2840
+ method: 'GET',
2841
+ headers: headerParameters,
2842
+ query: queryParameters,
2843
+ }, initOverrides);
2844
+
2845
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AdminUserSecurityDtoFromJSON));
2846
+ }
2847
+
2848
+ /**
2849
+ * List how the users of an account sign in
2850
+ */
2851
+ async listAccountUsersSecurity(requestParameters: AdminApiListAccountUsersSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminUserSecurityDto>> {
2852
+ const response = await this.listAccountUsersSecurityRaw(requestParameters, initOverrides);
2853
+ return await response.value();
2854
+ }
2855
+
2791
2856
  /**
2792
2857
  * Lists all seller accounts.
2793
2858
  * List accounts
@@ -3507,6 +3572,71 @@ export class AdminApi extends runtime.BaseAPI {
3507
3572
  return await response.value();
3508
3573
  }
3509
3574
 
3575
+ /**
3576
+ * List the sign-ins of a user
3577
+ */
3578
+ async listUserLoginAttemptsAsAdminRaw(requestParameters: AdminApiListUserLoginAttemptsAsAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListUserLoginAttempts200Response>> {
3579
+ if (requestParameters['userId'] == null) {
3580
+ throw new runtime.RequiredError(
3581
+ 'userId',
3582
+ 'Required parameter "userId" was null or undefined when calling listUserLoginAttemptsAsAdmin().'
3583
+ );
3584
+ }
3585
+
3586
+ const queryParameters: any = {};
3587
+
3588
+ if (requestParameters['filter'] != null) {
3589
+ queryParameters['filter'] = requestParameters['filter'];
3590
+ }
3591
+
3592
+ if (requestParameters['page'] != null) {
3593
+ queryParameters['page'] = requestParameters['page'];
3594
+ }
3595
+
3596
+ if (requestParameters['limit'] != null) {
3597
+ queryParameters['limit'] = requestParameters['limit'];
3598
+ }
3599
+
3600
+ if (requestParameters['sortBy'] != null) {
3601
+ queryParameters['sortBy'] = requestParameters['sortBy'];
3602
+ }
3603
+
3604
+ if (requestParameters['filterResult'] != null) {
3605
+ queryParameters['filter[result]'] = requestParameters['filterResult'];
3606
+ }
3607
+
3608
+ if (requestParameters['filterMethod'] != null) {
3609
+ queryParameters['filter[method]'] = requestParameters['filterMethod'];
3610
+ }
3611
+
3612
+ const headerParameters: runtime.HTTPHeaders = {};
3613
+
3614
+ if (this.configuration && this.configuration.accessToken) {
3615
+ const token = this.configuration.accessToken;
3616
+ const tokenString = await token("bearer", []);
3617
+
3618
+ if (tokenString) {
3619
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3620
+ }
3621
+ }
3622
+ const response = await this.request({
3623
+ path: `/admin/users/{userId}/login-attempts`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
3624
+ method: 'GET',
3625
+ headers: headerParameters,
3626
+ query: queryParameters,
3627
+ }, initOverrides);
3628
+
3629
+ return new runtime.JSONApiResponse(response, (jsonValue) => ListUserLoginAttempts200ResponseFromJSON(jsonValue));
3630
+ }
3631
+
3632
+ /**
3633
+ * List the sign-ins of a user
3634
+ */
3635
+ async listUserLoginAttemptsAsAdmin(requestParameters: AdminApiListUserLoginAttemptsAsAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListUserLoginAttempts200Response> {
3636
+ const response = await this.listUserLoginAttemptsAsAdminRaw(requestParameters, initOverrides);
3637
+ return await response.value();
3638
+ }
3639
+
3510
3640
  /**
3511
3641
  * Generates an authentication token to impersonate the account. Requires super admin role.
3512
3642
  * Login as account
@@ -4087,6 +4217,48 @@ export class AdminApi extends runtime.BaseAPI {
4087
4217
  await this.reopenAdminLeadRaw(requestParameters, initOverrides);
4088
4218
  }
4089
4219
 
4220
+ /**
4221
+ * For a user who lost them: removes the authenticator app, passkeys and recovery codes, and goes back to a password alone. Staff are asked to set up an authenticator app at the next sign-in. Requires super admin role.
4222
+ * Remove every second factor of a user
4223
+ */
4224
+ async resetUserSecondFactorsRaw(requestParameters: AdminApiResetUserSecondFactorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
4225
+ if (requestParameters['userId'] == null) {
4226
+ throw new runtime.RequiredError(
4227
+ 'userId',
4228
+ 'Required parameter "userId" was null or undefined when calling resetUserSecondFactors().'
4229
+ );
4230
+ }
4231
+
4232
+ const queryParameters: any = {};
4233
+
4234
+ const headerParameters: runtime.HTTPHeaders = {};
4235
+
4236
+ if (this.configuration && this.configuration.accessToken) {
4237
+ const token = this.configuration.accessToken;
4238
+ const tokenString = await token("bearer", []);
4239
+
4240
+ if (tokenString) {
4241
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
4242
+ }
4243
+ }
4244
+ const response = await this.request({
4245
+ path: `/admin/users/{userId}/security/reset`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
4246
+ method: 'POST',
4247
+ headers: headerParameters,
4248
+ query: queryParameters,
4249
+ }, initOverrides);
4250
+
4251
+ return new runtime.VoidApiResponse(response);
4252
+ }
4253
+
4254
+ /**
4255
+ * For a user who lost them: removes the authenticator app, passkeys and recovery codes, and goes back to a password alone. Staff are asked to set up an authenticator app at the next sign-in. Requires super admin role.
4256
+ * Remove every second factor of a user
4257
+ */
4258
+ async resetUserSecondFactors(requestParameters: AdminApiResetUserSecondFactorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
4259
+ await this.resetUserSecondFactorsRaw(requestParameters, initOverrides);
4260
+ }
4261
+
4090
4262
  /**
4091
4263
  * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
4092
4264
  * Showcase domain
@@ -16,7 +16,7 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  AuctionBuyerWithTokenDto,
19
- LoginDto,
19
+ BuyerLoginDto,
20
20
  LoginInput,
21
21
  RequestAccessTokenInput,
22
22
  RequestEmailOtpInput,
@@ -26,8 +26,8 @@ import type {
26
26
  import {
27
27
  AuctionBuyerWithTokenDtoFromJSON,
28
28
  AuctionBuyerWithTokenDtoToJSON,
29
- LoginDtoFromJSON,
30
- LoginDtoToJSON,
29
+ BuyerLoginDtoFromJSON,
30
+ BuyerLoginDtoToJSON,
31
31
  LoginInputFromJSON,
32
32
  LoginInputToJSON,
33
33
  RequestAccessTokenInputFromJSON,
@@ -65,7 +65,7 @@ export class BuyersPublicApi extends runtime.BaseAPI {
65
65
  * Authenticates a buyer with email and password. Requires valid buyer credentials. Signing in also activates every unverified lead of the buyer, since it proves they own the mailbox.
66
66
  * Authenticate a buyer
67
67
  */
68
- async buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>> {
68
+ async buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerLoginDto>> {
69
69
  if (requestParameters['loginInput'] == null) {
70
70
  throw new runtime.RequiredError(
71
71
  'loginInput',
@@ -87,14 +87,14 @@ export class BuyersPublicApi extends runtime.BaseAPI {
87
87
  body: LoginInputToJSON(requestParameters['loginInput']),
88
88
  }, initOverrides);
89
89
 
90
- return new runtime.JSONApiResponse(response, (jsonValue) => LoginDtoFromJSON(jsonValue));
90
+ return new runtime.JSONApiResponse(response, (jsonValue) => BuyerLoginDtoFromJSON(jsonValue));
91
91
  }
92
92
 
93
93
  /**
94
94
  * Authenticates a buyer with email and password. Requires valid buyer credentials. Signing in also activates every unverified lead of the buyer, since it proves they own the mailbox.
95
95
  * Authenticate a buyer
96
96
  */
97
- async buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginDto> {
97
+ async buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLoginDto> {
98
98
  const response = await this.buyerLoginRaw(requestParameters, initOverrides);
99
99
  return await response.value();
100
100
  }