@randock/nameshift-api-client 0.0.473 → 0.0.475

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 (131) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +57 -1
  4. package/dist/apis/AdminApi.js +230 -0
  5. package/dist/apis/BuyersApi.d.ts +2 -2
  6. package/dist/apis/BuyersApi.js +2 -2
  7. package/dist/apis/BuyersPublicApi.d.ts +2 -2
  8. package/dist/apis/BuyersPublicApi.js +2 -2
  9. package/dist/apis/CustomerSuccessApi.d.ts +57 -1
  10. package/dist/apis/CustomerSuccessApi.js +230 -0
  11. package/dist/apis/LeadsPublicApi.d.ts +1 -0
  12. package/dist/apis/LeadsPublicApi.js +3 -0
  13. package/dist/models/AccountNoteAuthorDto.d.ts +50 -0
  14. package/dist/models/AccountNoteAuthorDto.js +63 -0
  15. package/dist/models/AccountNoteDto.d.ts +63 -0
  16. package/dist/models/AccountNoteDto.js +72 -0
  17. package/dist/models/AccountNoteListDto.d.ts +33 -0
  18. package/dist/models/AccountNoteListDto.js +52 -0
  19. package/dist/models/AccountSettingsDto.d.ts +7 -0
  20. package/dist/models/AccountSettingsDto.js +5 -0
  21. package/dist/models/AccountSettingsInput.d.ts +7 -0
  22. package/dist/models/AccountSettingsInput.js +3 -0
  23. package/dist/models/AdminDomainListItemDto.d.ts +7 -0
  24. package/dist/models/AdminDomainListItemDto.js +5 -0
  25. package/dist/models/AdminLeadListItemDto.d.ts +1 -0
  26. package/dist/models/AdminLeadListItemDto.js +1 -0
  27. package/dist/models/AdminListAccountDto.d.ts +12 -0
  28. package/dist/models/AdminListAccountDto.js +8 -0
  29. package/dist/models/BuyerLeadListItemDto.d.ts +1 -0
  30. package/dist/models/BuyerLeadListItemDto.js +1 -0
  31. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  32. package/dist/models/BuyerNotificationDto.js +1 -0
  33. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  34. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  35. package/dist/models/CreateAccountNoteInput.d.ts +32 -0
  36. package/dist/models/CreateAccountNoteInput.js +51 -0
  37. package/dist/models/CustomerSuccessDomainListItemDto.d.ts +7 -0
  38. package/dist/models/CustomerSuccessDomainListItemDto.js +5 -0
  39. package/dist/models/CustomerSuccessListAccountDto.d.ts +12 -0
  40. package/dist/models/CustomerSuccessListAccountDto.js +8 -0
  41. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  42. package/dist/models/FeatureFlagListItemDto.js +2 -1
  43. package/dist/models/ForbiddenException.d.ts +44 -0
  44. package/dist/models/ForbiddenException.js +59 -0
  45. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  46. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  47. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +7 -0
  48. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +5 -0
  49. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  50. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  51. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
  52. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
  53. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -0
  54. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +1 -0
  55. package/dist/models/LeadDto.d.ts +1 -0
  56. package/dist/models/LeadDto.js +1 -0
  57. package/dist/models/LeadStatusDto.d.ts +1 -0
  58. package/dist/models/LeadStatusDto.js +1 -0
  59. package/dist/models/LeadVerificationInput.d.ts +54 -0
  60. package/dist/models/LeadVerificationInput.js +63 -0
  61. package/dist/models/LeadVerificationSettingsDto.d.ts +54 -0
  62. package/dist/models/LeadVerificationSettingsDto.js +69 -0
  63. package/dist/models/ListLeadsResultItem.d.ts +1 -0
  64. package/dist/models/ListLeadsResultItem.js +1 -0
  65. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  66. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  67. package/dist/models/PublicLeadDto.d.ts +1 -0
  68. package/dist/models/PublicLeadDto.js +1 -0
  69. package/dist/models/RelatedLeadDto.d.ts +1 -0
  70. package/dist/models/RelatedLeadDto.js +1 -0
  71. package/dist/models/SellerLeadDetails.d.ts +1 -0
  72. package/dist/models/SellerLeadDetails.js +1 -0
  73. package/dist/models/SubscriptionDto.d.ts +1 -0
  74. package/dist/models/SubscriptionDto.js +1 -0
  75. package/dist/models/UpdateAccountNoteInput.d.ts +32 -0
  76. package/dist/models/UpdateAccountNoteInput.js +51 -0
  77. package/dist/models/UpdateDomainInput.d.ts +7 -0
  78. package/dist/models/UpdateDomainInput.js +3 -0
  79. package/dist/models/UserNotificationDto.d.ts +1 -0
  80. package/dist/models/UserNotificationDto.js +1 -0
  81. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  82. package/dist/models/UserNotificationListItemDto.js +1 -0
  83. package/dist/models/WithSettingsInner.d.ts +7 -0
  84. package/dist/models/WithSettingsInner.js +5 -0
  85. package/dist/models/index.d.ts +8 -0
  86. package/dist/models/index.js +8 -0
  87. package/package.json +1 -1
  88. package/src/apis/AccountsApi.ts +3 -0
  89. package/src/apis/AdminApi.ts +235 -0
  90. package/src/apis/BuyersApi.ts +5 -2
  91. package/src/apis/BuyersPublicApi.ts +2 -2
  92. package/src/apis/CustomerSuccessApi.ts +238 -0
  93. package/src/apis/DomainsApi.ts +3 -0
  94. package/src/apis/LeadsPublicApi.ts +5 -0
  95. package/src/models/AccountNoteAuthorDto.ts +93 -0
  96. package/src/models/AccountNoteDto.ts +119 -0
  97. package/src/models/AccountNoteListDto.ts +74 -0
  98. package/src/models/AccountSettingsDto.ts +16 -0
  99. package/src/models/AccountSettingsInput.ts +15 -0
  100. package/src/models/AdminDomainListItemDto.ts +16 -0
  101. package/src/models/AdminLeadListItemDto.ts +1 -0
  102. package/src/models/AdminListAccountDto.ts +18 -0
  103. package/src/models/BuyerLeadListItemDto.ts +1 -0
  104. package/src/models/BuyerNotificationDto.ts +1 -0
  105. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  106. package/src/models/CreateAccountNoteInput.ts +66 -0
  107. package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
  108. package/src/models/CustomerSuccessListAccountDto.ts +18 -0
  109. package/src/models/FeatureFlagListItemDto.ts +2 -1
  110. package/src/models/ForbiddenException.ts +84 -0
  111. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  112. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +16 -0
  113. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  114. package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
  115. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -0
  116. package/src/models/LeadDto.ts +1 -0
  117. package/src/models/LeadStatusDto.ts +1 -0
  118. package/src/models/LeadVerificationInput.ts +101 -0
  119. package/src/models/LeadVerificationSettingsDto.ts +104 -0
  120. package/src/models/ListLeadsResultItem.ts +1 -0
  121. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  122. package/src/models/PublicLeadDto.ts +1 -0
  123. package/src/models/RelatedLeadDto.ts +1 -0
  124. package/src/models/SellerLeadDetails.ts +1 -0
  125. package/src/models/SubscriptionDto.ts +1 -0
  126. package/src/models/UpdateAccountNoteInput.ts +66 -0
  127. package/src/models/UpdateDomainInput.ts +15 -0
  128. package/src/models/UserNotificationDto.ts +1 -0
  129. package/src/models/UserNotificationListItemDto.ts +1 -0
  130. package/src/models/WithSettingsInner.ts +16 -0
  131. package/src/models/index.ts +8 -0
@@ -89,6 +89,7 @@ export declare const UserNotificationListItemDtoTypeEnum: {
89
89
  readonly EXPORT_COMPLETED: "export_completed";
90
90
  readonly DOMAIN_IMPORT_FINISHED: "domain_import_finished";
91
91
  readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
92
+ readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
92
93
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
93
94
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
94
95
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
@@ -56,6 +56,7 @@ exports.UserNotificationListItemDtoTypeEnum = {
56
56
  EXPORT_COMPLETED: 'export_completed',
57
57
  DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
58
58
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
59
+ DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
59
60
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
60
61
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
61
62
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
12
13
  import type { LeadPriceNegotiatorAiAgentConfigurationDto } from './LeadPriceNegotiatorAiAgentConfigurationDto';
13
14
  import type { AccountSettingsAffiliateDto } from './AccountSettingsAffiliateDto';
14
15
  import type { MoneyDto } from './MoneyDto';
@@ -146,6 +147,12 @@ export interface WithSettingsInner {
146
147
  * @memberof WithSettingsInner
147
148
  */
148
149
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
150
+ /**
151
+ * Default lead verification settings: how offers are verified before the seller sees them.
152
+ * @type {LeadVerificationSettingsDto}
153
+ * @memberof WithSettingsInner
154
+ */
155
+ leadVerification: LeadVerificationSettingsDto;
149
156
  }
150
157
  /**
151
158
  * Check if a given object implements the WithSettingsInner interface.
@@ -18,6 +18,7 @@ exports.WithSettingsInnerFromJSON = WithSettingsInnerFromJSON;
18
18
  exports.WithSettingsInnerFromJSONTyped = WithSettingsInnerFromJSONTyped;
19
19
  exports.WithSettingsInnerToJSON = WithSettingsInnerToJSON;
20
20
  exports.WithSettingsInnerToJSONTyped = WithSettingsInnerToJSONTyped;
21
+ var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
21
22
  var LeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./LeadPriceNegotiatorAiAgentConfigurationDto");
22
23
  var AccountSettingsAffiliateDto_1 = require("./AccountSettingsAffiliateDto");
23
24
  var MoneyDto_1 = require("./MoneyDto");
@@ -73,6 +74,8 @@ function instanceOfWithSettingsInner(value) {
73
74
  return false;
74
75
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
75
76
  return false;
77
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined)
78
+ return false;
76
79
  return true;
77
80
  }
78
81
  function WithSettingsInnerFromJSON(json) {
@@ -103,6 +106,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
103
106
  'auctionConfiguration': (0, AuctionConfigurationDto_1.AuctionConfigurationDtoFromJSON)(json['auctionConfiguration']),
104
107
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
105
108
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
109
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
106
110
  };
107
111
  }
108
112
  function WithSettingsInnerToJSON(json) {
@@ -134,5 +138,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
134
138
  'auctionConfiguration': (0, AuctionConfigurationDto_1.AuctionConfigurationDtoToJSON)(value['auctionConfiguration']),
135
139
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
136
140
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
141
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
137
142
  };
138
143
  }
@@ -15,6 +15,9 @@ export * from './AccountNameshiftCommissionByTypeDto';
15
15
  export * from './AccountNameshiftCommissionItemDto';
16
16
  export * from './AccountNameshiftCommissionReasonDto';
17
17
  export * from './AccountNameshiftCommissionSubtypeCurrentDto';
18
+ export * from './AccountNoteAuthorDto';
19
+ export * from './AccountNoteDto';
20
+ export * from './AccountNoteListDto';
18
21
  export * from './AccountNotificationDto';
19
22
  export * from './AccountNotificationReadStatusDto';
20
23
  export * from './AccountOnboardingDto';
@@ -166,6 +169,7 @@ export * from './CommissionsStatsDto';
166
169
  export * from './CompanyInformationDto';
167
170
  export * from './CompanyTaxIdDto';
168
171
  export * from './ConflictException';
172
+ export * from './CreateAccountNoteInput';
169
173
  export * from './CreateAccountPaymentInput';
170
174
  export * from './CreateAccountPaymentManualTransactionInput';
171
175
  export * from './CreateApiKeyInput';
@@ -242,6 +246,7 @@ export * from './FixedCommissionPayloadDto';
242
246
  export * from './FixedCommissionPayloadInput';
243
247
  export * from './FixedCommissionPayloadSimulationInput';
244
248
  export * from './FixedCommissionReasonPayloadDto';
249
+ export * from './ForbiddenException';
245
250
  export * from './ForgotPasswordRequestInput';
246
251
  export * from './GetAccountChallengeRewardUsagesListDto';
247
252
  export * from './GetAccountNameshiftCommissionsResponseDto';
@@ -324,6 +329,8 @@ export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
324
329
  export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
325
330
  export * from './LeadRentConfigurationDto';
326
331
  export * from './LeadStatusDto';
332
+ export * from './LeadVerificationInput';
333
+ export * from './LeadVerificationSettingsDto';
327
334
  export * from './LeaseToOwnConfigurationDto';
328
335
  export * from './LeaseToOwnConfigurationInput';
329
336
  export * from './LeaseToOwnConfigurationPresetsDto';
@@ -514,6 +521,7 @@ export * from './TranslateDomainSearchInput';
514
521
  export * from './UkBankAccountDetails';
515
522
  export * from './UpdateAccountBillingInformationInput';
516
523
  export * from './UpdateAccountChallengeRewardBalanceInput';
524
+ export * from './UpdateAccountNoteInput';
517
525
  export * from './UpdateApiKeyInput';
518
526
  export * from './UpdateAuctionMuteStatusInput';
519
527
  export * from './UpdateBuyerDomainTransferBuyerInfoInput';
@@ -33,6 +33,9 @@ __exportStar(require("./AccountNameshiftCommissionByTypeDto"), exports);
33
33
  __exportStar(require("./AccountNameshiftCommissionItemDto"), exports);
34
34
  __exportStar(require("./AccountNameshiftCommissionReasonDto"), exports);
35
35
  __exportStar(require("./AccountNameshiftCommissionSubtypeCurrentDto"), exports);
36
+ __exportStar(require("./AccountNoteAuthorDto"), exports);
37
+ __exportStar(require("./AccountNoteDto"), exports);
38
+ __exportStar(require("./AccountNoteListDto"), exports);
36
39
  __exportStar(require("./AccountNotificationDto"), exports);
37
40
  __exportStar(require("./AccountNotificationReadStatusDto"), exports);
38
41
  __exportStar(require("./AccountOnboardingDto"), exports);
@@ -184,6 +187,7 @@ __exportStar(require("./CommissionsStatsDto"), exports);
184
187
  __exportStar(require("./CompanyInformationDto"), exports);
185
188
  __exportStar(require("./CompanyTaxIdDto"), exports);
186
189
  __exportStar(require("./ConflictException"), exports);
190
+ __exportStar(require("./CreateAccountNoteInput"), exports);
187
191
  __exportStar(require("./CreateAccountPaymentInput"), exports);
188
192
  __exportStar(require("./CreateAccountPaymentManualTransactionInput"), exports);
189
193
  __exportStar(require("./CreateApiKeyInput"), exports);
@@ -260,6 +264,7 @@ __exportStar(require("./FixedCommissionPayloadDto"), exports);
260
264
  __exportStar(require("./FixedCommissionPayloadInput"), exports);
261
265
  __exportStar(require("./FixedCommissionPayloadSimulationInput"), exports);
262
266
  __exportStar(require("./FixedCommissionReasonPayloadDto"), exports);
267
+ __exportStar(require("./ForbiddenException"), exports);
263
268
  __exportStar(require("./ForgotPasswordRequestInput"), exports);
264
269
  __exportStar(require("./GetAccountChallengeRewardUsagesListDto"), exports);
265
270
  __exportStar(require("./GetAccountNameshiftCommissionsResponseDto"), exports);
@@ -342,6 +347,8 @@ __exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationDto"), exports);
342
347
  __exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationInput"), exports);
343
348
  __exportStar(require("./LeadRentConfigurationDto"), exports);
344
349
  __exportStar(require("./LeadStatusDto"), exports);
350
+ __exportStar(require("./LeadVerificationInput"), exports);
351
+ __exportStar(require("./LeadVerificationSettingsDto"), exports);
345
352
  __exportStar(require("./LeaseToOwnConfigurationDto"), exports);
346
353
  __exportStar(require("./LeaseToOwnConfigurationInput"), exports);
347
354
  __exportStar(require("./LeaseToOwnConfigurationPresetsDto"), exports);
@@ -532,6 +539,7 @@ __exportStar(require("./TranslateDomainSearchInput"), exports);
532
539
  __exportStar(require("./UkBankAccountDetails"), exports);
533
540
  __exportStar(require("./UpdateAccountBillingInformationInput"), exports);
534
541
  __exportStar(require("./UpdateAccountChallengeRewardBalanceInput"), exports);
542
+ __exportStar(require("./UpdateAccountNoteInput"), exports);
535
543
  __exportStar(require("./UpdateApiKeyInput"), exports);
536
544
  __exportStar(require("./UpdateAuctionMuteStatusInput"), exports);
537
545
  __exportStar(require("./UpdateBuyerDomainTransferBuyerInfoInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.473",
3
+ "version": "0.0.475",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -23,6 +23,7 @@ import type {
23
23
  BadRequestException,
24
24
  CreateAccountPaymentInput,
25
25
  CreateAccountPaymentManualTransactionInput,
26
+ ForbiddenException,
26
27
  GetAccountNameshiftCommissionsResponseDto,
27
28
  GetAllAffiliateCommissions200Response,
28
29
  GetAllReferrals200Response,
@@ -52,6 +53,8 @@ import {
52
53
  CreateAccountPaymentInputToJSON,
53
54
  CreateAccountPaymentManualTransactionInputFromJSON,
54
55
  CreateAccountPaymentManualTransactionInputToJSON,
56
+ ForbiddenExceptionFromJSON,
57
+ ForbiddenExceptionToJSON,
55
58
  GetAccountNameshiftCommissionsResponseDtoFromJSON,
56
59
  GetAccountNameshiftCommissionsResponseDtoToJSON,
57
60
  GetAllAffiliateCommissions200ResponseFromJSON,
@@ -16,6 +16,7 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  AccountNameshiftCommissionByTypeDto,
19
+ AccountNoteListDto,
19
20
  AccountPaymentMethodProfileDto,
20
21
  AccountSettingsDto,
21
22
  AdminAccountLoginDto,
@@ -34,11 +35,13 @@ import type {
34
35
  CommissionListDto,
35
36
  CommissionSimulationResultDto,
36
37
  ConflictException,
38
+ CreateAccountNoteInput,
37
39
  CreateChallengeInput,
38
40
  DomainLockDto,
39
41
  DomainStatsDto,
40
42
  DomainTldsDto,
41
43
  DomainTransferDetailsDto,
44
+ ForbiddenException,
42
45
  GetAccountChallengeRewardUsagesListDto,
43
46
  GetAllAuctions200Response,
44
47
  GetAllFeatureFlags200Response,
@@ -65,6 +68,7 @@ import type {
65
68
  StatsFilterInputDateRange,
66
69
  SubscriptionDetailsDto,
67
70
  UpdateAccountChallengeRewardBalanceInput,
71
+ UpdateAccountNoteInput,
68
72
  UpdateChallengeInput,
69
73
  UpdateFeatureFlagInput,
70
74
  UpdateMarketplaceInput,
@@ -73,6 +77,8 @@ import type {
73
77
  import {
74
78
  AccountNameshiftCommissionByTypeDtoFromJSON,
75
79
  AccountNameshiftCommissionByTypeDtoToJSON,
80
+ AccountNoteListDtoFromJSON,
81
+ AccountNoteListDtoToJSON,
76
82
  AccountPaymentMethodProfileDtoFromJSON,
77
83
  AccountPaymentMethodProfileDtoToJSON,
78
84
  AccountSettingsDtoFromJSON,
@@ -109,6 +115,8 @@ import {
109
115
  CommissionSimulationResultDtoToJSON,
110
116
  ConflictExceptionFromJSON,
111
117
  ConflictExceptionToJSON,
118
+ CreateAccountNoteInputFromJSON,
119
+ CreateAccountNoteInputToJSON,
112
120
  CreateChallengeInputFromJSON,
113
121
  CreateChallengeInputToJSON,
114
122
  DomainLockDtoFromJSON,
@@ -119,6 +127,8 @@ import {
119
127
  DomainTldsDtoToJSON,
120
128
  DomainTransferDetailsDtoFromJSON,
121
129
  DomainTransferDetailsDtoToJSON,
130
+ ForbiddenExceptionFromJSON,
131
+ ForbiddenExceptionToJSON,
122
132
  GetAccountChallengeRewardUsagesListDtoFromJSON,
123
133
  GetAccountChallengeRewardUsagesListDtoToJSON,
124
134
  GetAllAuctions200ResponseFromJSON,
@@ -171,6 +181,8 @@ import {
171
181
  SubscriptionDetailsDtoToJSON,
172
182
  UpdateAccountChallengeRewardBalanceInputFromJSON,
173
183
  UpdateAccountChallengeRewardBalanceInputToJSON,
184
+ UpdateAccountNoteInputFromJSON,
185
+ UpdateAccountNoteInputToJSON,
174
186
  UpdateChallengeInputFromJSON,
175
187
  UpdateChallengeInputToJSON,
176
188
  UpdateFeatureFlagInputFromJSON,
@@ -221,6 +233,11 @@ export interface AdminApiCheckDomainNameserverRequest {
221
233
  domainId: string;
222
234
  }
223
235
 
236
+ export interface AdminApiCreateAccountNoteRequest {
237
+ accountId: string;
238
+ createAccountNoteInput: CreateAccountNoteInput;
239
+ }
240
+
224
241
  export interface AdminApiCreateChallengeRequest {
225
242
  createChallengeInput: CreateChallengeInput;
226
243
  }
@@ -229,6 +246,11 @@ export interface AdminApiCreateNegativeInvoiceRequest {
229
246
  invoiceId: string;
230
247
  }
231
248
 
249
+ export interface AdminApiDeleteAccountNoteRequest {
250
+ accountId: string;
251
+ noteId: string;
252
+ }
253
+
232
254
  export interface AdminApiDeleteChallengeRequest {
233
255
  id: string;
234
256
  }
@@ -361,6 +383,10 @@ export interface AdminApiLinkBankDepositToInvoiceRequest {
361
383
  linkBankDepositToInvoiceInput: LinkBankDepositToInvoiceInput;
362
384
  }
363
385
 
386
+ export interface AdminApiListAccountNotesRequest {
387
+ accountId: string;
388
+ }
389
+
364
390
  export interface AdminApiListAccountsRequest {
365
391
  filter?: { [key: string]: string; };
366
392
  page?: number;
@@ -490,6 +516,12 @@ export interface AdminApiUpdateAccountChallengeRewardBalancePointsRequest {
490
516
  updateAccountChallengeRewardBalanceInput: UpdateAccountChallengeRewardBalanceInput;
491
517
  }
492
518
 
519
+ export interface AdminApiUpdateAccountNoteRequest {
520
+ accountId: string;
521
+ noteId: string;
522
+ updateAccountNoteInput: UpdateAccountNoteInput;
523
+ }
524
+
493
525
  export interface AdminApiUpdateAccountSettingsRequest {
494
526
  accountId: string;
495
527
  adminAccountSettingsInput: AdminAccountSettingsInput;
@@ -910,6 +942,58 @@ export class AdminApi extends runtime.BaseAPI {
910
942
  await this.checkDomainNameserverRaw(requestParameters, initOverrides);
911
943
  }
912
944
 
945
+ /**
946
+ * Adds a private note to a seller account.
947
+ * Create account note
948
+ */
949
+ async createAccountNoteRaw(requestParameters: AdminApiCreateAccountNoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
950
+ if (requestParameters['accountId'] == null) {
951
+ throw new runtime.RequiredError(
952
+ 'accountId',
953
+ 'Required parameter "accountId" was null or undefined when calling createAccountNote().'
954
+ );
955
+ }
956
+
957
+ if (requestParameters['createAccountNoteInput'] == null) {
958
+ throw new runtime.RequiredError(
959
+ 'createAccountNoteInput',
960
+ 'Required parameter "createAccountNoteInput" was null or undefined when calling createAccountNote().'
961
+ );
962
+ }
963
+
964
+ const queryParameters: any = {};
965
+
966
+ const headerParameters: runtime.HTTPHeaders = {};
967
+
968
+ headerParameters['Content-Type'] = 'application/json';
969
+
970
+ if (this.configuration && this.configuration.accessToken) {
971
+ const token = this.configuration.accessToken;
972
+ const tokenString = await token("bearer", []);
973
+
974
+ if (tokenString) {
975
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
976
+ }
977
+ }
978
+ const response = await this.request({
979
+ path: `/admin/accounts/{accountId}/notes`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))),
980
+ method: 'POST',
981
+ headers: headerParameters,
982
+ query: queryParameters,
983
+ body: CreateAccountNoteInputToJSON(requestParameters['createAccountNoteInput']),
984
+ }, initOverrides);
985
+
986
+ return new runtime.VoidApiResponse(response);
987
+ }
988
+
989
+ /**
990
+ * Adds a private note to a seller account.
991
+ * Create account note
992
+ */
993
+ async createAccountNote(requestParameters: AdminApiCreateAccountNoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
994
+ await this.createAccountNoteRaw(requestParameters, initOverrides);
995
+ }
996
+
913
997
  /**
914
998
  * Creates a new challenge.
915
999
  * Create challenge
@@ -998,6 +1082,55 @@ export class AdminApi extends runtime.BaseAPI {
998
1082
  return await response.value();
999
1083
  }
1000
1084
 
1085
+ /**
1086
+ * Soft-deletes a note. Only its author, or a super admin, may do so.
1087
+ * Delete account note
1088
+ */
1089
+ async deleteAccountNoteRaw(requestParameters: AdminApiDeleteAccountNoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
1090
+ if (requestParameters['accountId'] == null) {
1091
+ throw new runtime.RequiredError(
1092
+ 'accountId',
1093
+ 'Required parameter "accountId" was null or undefined when calling deleteAccountNote().'
1094
+ );
1095
+ }
1096
+
1097
+ if (requestParameters['noteId'] == null) {
1098
+ throw new runtime.RequiredError(
1099
+ 'noteId',
1100
+ 'Required parameter "noteId" was null or undefined when calling deleteAccountNote().'
1101
+ );
1102
+ }
1103
+
1104
+ const queryParameters: any = {};
1105
+
1106
+ const headerParameters: runtime.HTTPHeaders = {};
1107
+
1108
+ if (this.configuration && this.configuration.accessToken) {
1109
+ const token = this.configuration.accessToken;
1110
+ const tokenString = await token("bearer", []);
1111
+
1112
+ if (tokenString) {
1113
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
1114
+ }
1115
+ }
1116
+ const response = await this.request({
1117
+ path: `/admin/accounts/{accountId}/notes/{noteId}`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))).replace(`{${"noteId"}}`, encodeURIComponent(String(requestParameters['noteId']))),
1118
+ method: 'DELETE',
1119
+ headers: headerParameters,
1120
+ query: queryParameters,
1121
+ }, initOverrides);
1122
+
1123
+ return new runtime.VoidApiResponse(response);
1124
+ }
1125
+
1126
+ /**
1127
+ * Soft-deletes a note. Only its author, or a super admin, may do so.
1128
+ * Delete account note
1129
+ */
1130
+ async deleteAccountNote(requestParameters: AdminApiDeleteAccountNoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
1131
+ await this.deleteAccountNoteRaw(requestParameters, initOverrides);
1132
+ }
1133
+
1001
1134
  /**
1002
1135
  * Soft-deletes a multi-count challenge. At least one challenge of each type must remain.
1003
1136
  * Delete challenge
@@ -2159,6 +2292,49 @@ export class AdminApi extends runtime.BaseAPI {
2159
2292
  await this.linkBankDepositToInvoiceRaw(requestParameters, initOverrides);
2160
2293
  }
2161
2294
 
2295
+ /**
2296
+ * Lists the private notes of a seller account, oldest first. Every internal role sees the same notes.
2297
+ * List account notes
2298
+ */
2299
+ async listAccountNotesRaw(requestParameters: AdminApiListAccountNotesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountNoteListDto>> {
2300
+ if (requestParameters['accountId'] == null) {
2301
+ throw new runtime.RequiredError(
2302
+ 'accountId',
2303
+ 'Required parameter "accountId" was null or undefined when calling listAccountNotes().'
2304
+ );
2305
+ }
2306
+
2307
+ const queryParameters: any = {};
2308
+
2309
+ const headerParameters: runtime.HTTPHeaders = {};
2310
+
2311
+ if (this.configuration && this.configuration.accessToken) {
2312
+ const token = this.configuration.accessToken;
2313
+ const tokenString = await token("bearer", []);
2314
+
2315
+ if (tokenString) {
2316
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2317
+ }
2318
+ }
2319
+ const response = await this.request({
2320
+ path: `/admin/accounts/{accountId}/notes`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))),
2321
+ method: 'GET',
2322
+ headers: headerParameters,
2323
+ query: queryParameters,
2324
+ }, initOverrides);
2325
+
2326
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountNoteListDtoFromJSON(jsonValue));
2327
+ }
2328
+
2329
+ /**
2330
+ * Lists the private notes of a seller account, oldest first. Every internal role sees the same notes.
2331
+ * List account notes
2332
+ */
2333
+ async listAccountNotes(requestParameters: AdminApiListAccountNotesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountNoteListDto> {
2334
+ const response = await this.listAccountNotesRaw(requestParameters, initOverrides);
2335
+ return await response.value();
2336
+ }
2337
+
2162
2338
  /**
2163
2339
  * Lists all seller accounts.
2164
2340
  * List accounts
@@ -3429,6 +3605,65 @@ export class AdminApi extends runtime.BaseAPI {
3429
3605
  await this.updateAccountChallengeRewardBalancePointsRaw(requestParameters, initOverrides);
3430
3606
  }
3431
3607
 
3608
+ /**
3609
+ * Updates the body of a note. Only its author, or a super admin, may do so.
3610
+ * Update account note
3611
+ */
3612
+ async updateAccountNoteRaw(requestParameters: AdminApiUpdateAccountNoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
3613
+ if (requestParameters['accountId'] == null) {
3614
+ throw new runtime.RequiredError(
3615
+ 'accountId',
3616
+ 'Required parameter "accountId" was null or undefined when calling updateAccountNote().'
3617
+ );
3618
+ }
3619
+
3620
+ if (requestParameters['noteId'] == null) {
3621
+ throw new runtime.RequiredError(
3622
+ 'noteId',
3623
+ 'Required parameter "noteId" was null or undefined when calling updateAccountNote().'
3624
+ );
3625
+ }
3626
+
3627
+ if (requestParameters['updateAccountNoteInput'] == null) {
3628
+ throw new runtime.RequiredError(
3629
+ 'updateAccountNoteInput',
3630
+ 'Required parameter "updateAccountNoteInput" was null or undefined when calling updateAccountNote().'
3631
+ );
3632
+ }
3633
+
3634
+ const queryParameters: any = {};
3635
+
3636
+ const headerParameters: runtime.HTTPHeaders = {};
3637
+
3638
+ headerParameters['Content-Type'] = 'application/json';
3639
+
3640
+ if (this.configuration && this.configuration.accessToken) {
3641
+ const token = this.configuration.accessToken;
3642
+ const tokenString = await token("bearer", []);
3643
+
3644
+ if (tokenString) {
3645
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3646
+ }
3647
+ }
3648
+ const response = await this.request({
3649
+ path: `/admin/accounts/{accountId}/notes/{noteId}`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))).replace(`{${"noteId"}}`, encodeURIComponent(String(requestParameters['noteId']))),
3650
+ method: 'PATCH',
3651
+ headers: headerParameters,
3652
+ query: queryParameters,
3653
+ body: UpdateAccountNoteInputToJSON(requestParameters['updateAccountNoteInput']),
3654
+ }, initOverrides);
3655
+
3656
+ return new runtime.VoidApiResponse(response);
3657
+ }
3658
+
3659
+ /**
3660
+ * Updates the body of a note. Only its author, or a super admin, may do so.
3661
+ * Update account note
3662
+ */
3663
+ async updateAccountNote(requestParameters: AdminApiUpdateAccountNoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
3664
+ await this.updateAccountNoteRaw(requestParameters, initOverrides);
3665
+ }
3666
+
3432
3667
  /**
3433
3668
  * Updates admin-managed account settings.
3434
3669
  * Update account settings
@@ -32,6 +32,7 @@ import type {
32
32
  BuyerSessionDto,
33
33
  BuyerTaskDetailsDto,
34
34
  CreateBuyerLeadMessageInput,
35
+ ForbiddenException,
35
36
  GetBuyerAuctions200Response,
36
37
  GetBuyerInvoices200Response,
37
38
  GetBuyerLeads200Response,
@@ -95,6 +96,8 @@ import {
95
96
  BuyerTaskDetailsDtoToJSON,
96
97
  CreateBuyerLeadMessageInputFromJSON,
97
98
  CreateBuyerLeadMessageInputToJSON,
99
+ ForbiddenExceptionFromJSON,
100
+ ForbiddenExceptionToJSON,
98
101
  GetBuyerAuctions200ResponseFromJSON,
99
102
  GetBuyerAuctions200ResponseToJSON,
100
103
  GetBuyerInvoices200ResponseFromJSON,
@@ -650,7 +653,7 @@ export class BuyersApi extends runtime.BaseAPI {
650
653
  }
651
654
 
652
655
  /**
653
- * Returns the current buyer profile.
656
+ * Returns the current buyer profile. A signed-in buyer has proven they own their mailbox, so this also activates any unverified lead of theirs, covering offers made while a session already existed.
654
657
  * Get current buyer session
655
658
  */
656
659
  async buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSessionDto>> {
@@ -677,7 +680,7 @@ export class BuyersApi extends runtime.BaseAPI {
677
680
  }
678
681
 
679
682
  /**
680
- * Returns the current buyer profile.
683
+ * Returns the current buyer profile. A signed-in buyer has proven they own their mailbox, so this also activates any unverified lead of theirs, covering offers made while a session already existed.
681
684
  * Get current buyer session
682
685
  */
683
686
  async buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionDto> {
@@ -62,7 +62,7 @@ export interface BuyersPublicApiVerifyEmailOtpRequest {
62
62
  export class BuyersPublicApi extends runtime.BaseAPI {
63
63
 
64
64
  /**
65
- * Authenticates a buyer with email and password. Requires valid buyer credentials.
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
68
  async buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>> {
@@ -91,7 +91,7 @@ export class BuyersPublicApi extends runtime.BaseAPI {
91
91
  }
92
92
 
93
93
  /**
94
- * Authenticates a buyer with email and password. Requires valid buyer credentials.
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
97
  async buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginDto> {