@randock/nameshift-api-client 0.0.538 → 0.0.540

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 (176) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +36 -1
  4. package/dist/apis/AdminApi.js +136 -0
  5. package/dist/apis/BrokeredLeadsApi.d.ts +195 -0
  6. package/dist/apis/BrokeredLeadsApi.js +912 -0
  7. package/dist/apis/BrokeredLeadsPublicApi.d.ts +31 -0
  8. package/dist/apis/BrokeredLeadsPublicApi.js +126 -0
  9. package/dist/apis/index.d.ts +2 -0
  10. package/dist/apis/index.js +2 -0
  11. package/dist/models/AccountBrokerSettingsInput.d.ts +38 -0
  12. package/dist/models/AccountBrokerSettingsInput.js +51 -0
  13. package/dist/models/AccountDto.d.ts +12 -0
  14. package/dist/models/AccountDto.js +8 -0
  15. package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +1 -0
  16. package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +2 -1
  17. package/dist/models/AccountNameshiftCommissionItemDto.d.ts +1 -0
  18. package/dist/models/AccountNameshiftCommissionItemDto.js +2 -1
  19. package/dist/models/AccountNameshiftCommissionReasonDto.d.ts +1 -0
  20. package/dist/models/AccountNameshiftCommissionReasonDto.js +2 -1
  21. package/dist/models/AccountNotificationDto.d.ts +1 -0
  22. package/dist/models/AccountNotificationDto.js +2 -1
  23. package/dist/models/AccountSettingsBrokerDto.d.ts +38 -0
  24. package/dist/models/AccountSettingsBrokerDto.js +55 -0
  25. package/dist/models/AccountSettingsDto.d.ts +7 -0
  26. package/dist/models/AccountSettingsDto.js +5 -0
  27. package/dist/models/AccountSettingsInput.d.ts +7 -0
  28. package/dist/models/AccountSettingsInput.js +3 -0
  29. package/dist/models/AdminBrokeredLeadDto.d.ts +248 -0
  30. package/dist/models/AdminBrokeredLeadDto.js +204 -0
  31. package/dist/models/AdminListBrokeredLeads200Response.d.ts +47 -0
  32. package/dist/models/AdminListBrokeredLeads200Response.js +62 -0
  33. package/dist/models/ApiKeyDto.d.ts +2 -0
  34. package/dist/models/ApiKeyDto.js +2 -0
  35. package/dist/models/ApiKeyScopeDto.d.ts +2 -0
  36. package/dist/models/ApiKeyScopeDto.js +2 -0
  37. package/dist/models/BrokerBrokeredLeadDto.d.ts +189 -0
  38. package/dist/models/BrokerBrokeredLeadDto.js +162 -0
  39. package/dist/models/BrokerCommissionInput.d.ts +52 -0
  40. package/dist/models/BrokerCommissionInput.js +63 -0
  41. package/dist/models/BrokeredLeadBreakdownDto.d.ts +58 -0
  42. package/dist/models/BrokeredLeadBreakdownDto.js +69 -0
  43. package/dist/models/BrokeredLeadBuyerContactDto.d.ts +50 -0
  44. package/dist/models/BrokeredLeadBuyerContactDto.js +63 -0
  45. package/dist/models/BrokeredLeadBuyerInput.d.ts +50 -0
  46. package/dist/models/BrokeredLeadBuyerInput.js +63 -0
  47. package/dist/models/BrokeredLeadCommissionDto.d.ts +71 -0
  48. package/dist/models/BrokeredLeadCommissionDto.js +80 -0
  49. package/dist/models/BrokeredLeadInvitationDto.d.ts +57 -0
  50. package/dist/models/BrokeredLeadInvitationDto.js +68 -0
  51. package/dist/models/BuyerInvoiceDto.d.ts +6 -0
  52. package/dist/models/BuyerInvoiceDto.js +4 -0
  53. package/dist/models/BuyerNotificationDto.d.ts +6 -0
  54. package/dist/models/BuyerNotificationDto.js +7 -1
  55. package/dist/models/BuyerNotificationListItemDto.d.ts +6 -0
  56. package/dist/models/BuyerNotificationListItemDto.js +7 -1
  57. package/dist/models/CommissionDto.d.ts +1 -0
  58. package/dist/models/CommissionDto.js +2 -1
  59. package/dist/models/CommissionPayloadInput.d.ts +1 -0
  60. package/dist/models/CommissionPayloadInput.js +2 -1
  61. package/dist/models/CommissionReasonDto.d.ts +1 -0
  62. package/dist/models/CommissionReasonDto.js +2 -1
  63. package/dist/models/CommissionSimulationItemInput.d.ts +1 -0
  64. package/dist/models/CommissionSimulationItemInput.js +2 -1
  65. package/dist/models/CreateApiKeyInput.d.ts +2 -0
  66. package/dist/models/CreateApiKeyInput.js +2 -0
  67. package/dist/models/CreateBrokeredLeadInput.d.ts +59 -0
  68. package/dist/models/CreateBrokeredLeadInput.js +68 -0
  69. package/dist/models/CreatedApiKeyDto.d.ts +2 -0
  70. package/dist/models/CreatedApiKeyDto.js +2 -0
  71. package/dist/models/CustomerSuccessListAccountDto.d.ts +6 -0
  72. package/dist/models/CustomerSuccessListAccountDto.js +4 -0
  73. package/dist/models/CustomerSuccessListAccountMetricsDto.d.ts +6 -0
  74. package/dist/models/CustomerSuccessListAccountMetricsDto.js +4 -0
  75. package/dist/models/DeclineBrokeredLeadInput.d.ts +32 -0
  76. package/dist/models/DeclineBrokeredLeadInput.js +49 -0
  77. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  78. package/dist/models/FeatureFlagListItemDto.js +1 -0
  79. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +13 -0
  80. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +9 -0
  81. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +1 -1
  82. package/dist/models/InvoiceDto.d.ts +6 -0
  83. package/dist/models/InvoiceDto.js +4 -0
  84. package/dist/models/LeadBrokeredDealDto.d.ts +39 -0
  85. package/dist/models/LeadBrokeredDealDto.js +56 -0
  86. package/dist/models/ListAccountMetricsDto.d.ts +6 -0
  87. package/dist/models/ListAccountMetricsDto.js +4 -0
  88. package/dist/models/ListBrokerLeads200Response.d.ts +47 -0
  89. package/dist/models/ListBrokerLeads200Response.js +62 -0
  90. package/dist/models/ListLeadsResultItem.d.ts +7 -0
  91. package/dist/models/ListLeadsResultItem.js +5 -0
  92. package/dist/models/ManualLeadDetails.d.ts +7 -0
  93. package/dist/models/ManualLeadDetails.js +5 -0
  94. package/dist/models/OverrideBrokeredLeadNameshiftCommissionInput.d.ts +38 -0
  95. package/dist/models/OverrideBrokeredLeadNameshiftCommissionInput.js +55 -0
  96. package/dist/models/PrivateAccountGetMeResponse.d.ts +19 -0
  97. package/dist/models/PrivateAccountGetMeResponse.js +13 -0
  98. package/dist/models/RegisterAccountInput.d.ts +6 -0
  99. package/dist/models/RegisterAccountInput.js +2 -0
  100. package/dist/models/SellerBrokeredLeadDto.d.ts +114 -0
  101. package/dist/models/SellerBrokeredLeadDto.js +111 -0
  102. package/dist/models/SellerBrokeredLeadVerificationDto.d.ts +44 -0
  103. package/dist/models/SellerBrokeredLeadVerificationDto.js +59 -0
  104. package/dist/models/SellerInvoiceDto.d.ts +6 -0
  105. package/dist/models/SellerInvoiceDto.js +4 -0
  106. package/dist/models/SimulateCommissionInput.d.ts +1 -0
  107. package/dist/models/SimulateCommissionInput.js +2 -1
  108. package/dist/models/UpdateApiKeyInput.d.ts +2 -0
  109. package/dist/models/UpdateApiKeyInput.js +2 -0
  110. package/dist/models/UserNotificationDto.d.ts +6 -0
  111. package/dist/models/UserNotificationDto.js +7 -1
  112. package/dist/models/UserNotificationListItemDto.d.ts +6 -0
  113. package/dist/models/UserNotificationListItemDto.js +7 -1
  114. package/dist/models/WithSettingsInner.d.ts +11 -4
  115. package/dist/models/WithSettingsInner.js +9 -4
  116. package/dist/models/index.d.ts +18 -0
  117. package/dist/models/index.js +18 -0
  118. package/package.json +1 -1
  119. package/src/apis/AdminApi.ts +145 -0
  120. package/src/apis/BrokeredLeadsApi.ts +740 -0
  121. package/src/apis/BrokeredLeadsPublicApi.ts +69 -0
  122. package/src/apis/index.ts +2 -0
  123. package/src/models/AccountBrokerSettingsInput.ts +73 -0
  124. package/src/models/AccountDto.ts +18 -0
  125. package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +2 -1
  126. package/src/models/AccountNameshiftCommissionItemDto.ts +2 -1
  127. package/src/models/AccountNameshiftCommissionReasonDto.ts +2 -1
  128. package/src/models/AccountNotificationDto.ts +2 -1
  129. package/src/models/AccountSettingsBrokerDto.ts +75 -0
  130. package/src/models/AccountSettingsDto.ts +16 -0
  131. package/src/models/AccountSettingsInput.ts +15 -0
  132. package/src/models/AdminBrokeredLeadDto.ts +404 -0
  133. package/src/models/AdminListBrokeredLeads200Response.ts +106 -0
  134. package/src/models/ApiKeyDto.ts +2 -0
  135. package/src/models/ApiKeyScopeDto.ts +2 -0
  136. package/src/models/BrokerBrokeredLeadDto.ts +320 -0
  137. package/src/models/BrokerCommissionInput.ts +93 -0
  138. package/src/models/BrokeredLeadBreakdownDto.ts +117 -0
  139. package/src/models/BrokeredLeadBuyerContactDto.ts +93 -0
  140. package/src/models/BrokeredLeadBuyerInput.ts +93 -0
  141. package/src/models/BrokeredLeadCommissionDto.ts +130 -0
  142. package/src/models/BrokeredLeadInvitationDto.ts +110 -0
  143. package/src/models/BuyerInvoiceDto.ts +9 -0
  144. package/src/models/BuyerNotificationDto.ts +7 -1
  145. package/src/models/BuyerNotificationListItemDto.ts +7 -1
  146. package/src/models/CommissionDto.ts +2 -1
  147. package/src/models/CommissionPayloadInput.ts +2 -1
  148. package/src/models/CommissionReasonDto.ts +2 -1
  149. package/src/models/CommissionSimulationItemInput.ts +2 -1
  150. package/src/models/CreateApiKeyInput.ts +2 -0
  151. package/src/models/CreateBrokeredLeadInput.ts +123 -0
  152. package/src/models/CreatedApiKeyDto.ts +2 -0
  153. package/src/models/CustomerSuccessListAccountDto.ts +9 -0
  154. package/src/models/CustomerSuccessListAccountMetricsDto.ts +9 -0
  155. package/src/models/DeclineBrokeredLeadInput.ts +65 -0
  156. package/src/models/FeatureFlagListItemDto.ts +1 -0
  157. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +19 -0
  158. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +1 -1
  159. package/src/models/InvoiceDto.ts +9 -0
  160. package/src/models/LeadBrokeredDealDto.ts +83 -0
  161. package/src/models/ListAccountMetricsDto.ts +9 -0
  162. package/src/models/ListBrokerLeads200Response.ts +106 -0
  163. package/src/models/ListLeadsResultItem.ts +16 -0
  164. package/src/models/ManualLeadDetails.ts +16 -0
  165. package/src/models/OverrideBrokeredLeadNameshiftCommissionInput.ts +75 -0
  166. package/src/models/PrivateAccountGetMeResponse.ts +28 -0
  167. package/src/models/RegisterAccountInput.ts +8 -0
  168. package/src/models/SellerBrokeredLeadDto.ts +215 -0
  169. package/src/models/SellerBrokeredLeadVerificationDto.ts +84 -0
  170. package/src/models/SellerInvoiceDto.ts +9 -0
  171. package/src/models/SimulateCommissionInput.ts +2 -1
  172. package/src/models/UpdateApiKeyInput.ts +2 -0
  173. package/src/models/UserNotificationDto.ts +7 -1
  174. package/src/models/UserNotificationListItemDto.ts +7 -1
  175. package/src/models/WithSettingsInner.ts +44 -28
  176. package/src/models/index.ts +18 -0
@@ -35,7 +35,8 @@ exports.CommissionSimulationItemInputSubtypeEnum = {
35
35
  NOT_POINTING: 'not_pointing',
36
36
  ROUTED: 'routed',
37
37
  MANUAL_LEAD: 'manual_lead',
38
- AUCTION: 'auction'
38
+ AUCTION: 'auction',
39
+ BROKERED_LEAD: 'brokered_lead'
39
40
  };
40
41
  /**
41
42
  * Check if a given object implements the CommissionSimulationItemInput interface.
@@ -51,6 +51,8 @@ export declare const CreateApiKeyInputScopeEnum: {
51
51
  readonly TRANSFERS_WRITE: "TRANSFERS_WRITE";
52
52
  readonly LEADS_READ: "LEADS_READ";
53
53
  readonly LEADS_WRITE: "LEADS_WRITE";
54
+ readonly BROKERED_LEADS_READ: "BROKERED_LEADS_READ";
55
+ readonly BROKERED_LEADS_WRITE: "BROKERED_LEADS_WRITE";
54
56
  readonly AUCTIONS_READ: "AUCTIONS_READ";
55
57
  readonly AUCTIONS_WRITE: "AUCTIONS_WRITE";
56
58
  readonly STATS_READ: "STATS_READ";
@@ -36,6 +36,8 @@ exports.CreateApiKeyInputScopeEnum = {
36
36
  TRANSFERS_WRITE: 'TRANSFERS_WRITE',
37
37
  LEADS_READ: 'LEADS_READ',
38
38
  LEADS_WRITE: 'LEADS_WRITE',
39
+ BROKERED_LEADS_READ: 'BROKERED_LEADS_READ',
40
+ BROKERED_LEADS_WRITE: 'BROKERED_LEADS_WRITE',
39
41
  AUCTIONS_READ: 'AUCTIONS_READ',
40
42
  AUCTIONS_WRITE: 'AUCTIONS_WRITE',
41
43
  STATS_READ: 'STATS_READ',
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { BrokeredLeadBuyerInput } from './BrokeredLeadBuyerInput';
13
+ import type { MoneyDto } from './MoneyDto';
14
+ import type { BrokerCommissionInput } from './BrokerCommissionInput';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface CreateBrokeredLeadInput
19
+ */
20
+ export interface CreateBrokeredLeadInput {
21
+ /**
22
+ * Domain being sold.
23
+ * @type {string}
24
+ * @memberof CreateBrokeredLeadInput
25
+ */
26
+ domainName: string;
27
+ /**
28
+ * Agreed sale price, excluding any broker commission.
29
+ * @type {MoneyDto}
30
+ * @memberof CreateBrokeredLeadInput
31
+ */
32
+ askingPrice: MoneyDto;
33
+ /**
34
+ * Broker commission, split between the buyer and the seller.
35
+ * @type {BrokerCommissionInput}
36
+ * @memberof CreateBrokeredLeadInput
37
+ */
38
+ commission: BrokerCommissionInput;
39
+ /**
40
+ *
41
+ * @type {BrokeredLeadBuyerInput}
42
+ * @memberof CreateBrokeredLeadInput
43
+ */
44
+ buyer: BrokeredLeadBuyerInput;
45
+ /**
46
+ * Seller email, needed to email the seller their link. Not used when the deal goes straight to the account that verified the domain.
47
+ * @type {string}
48
+ * @memberof CreateBrokeredLeadInput
49
+ */
50
+ sellerEmail?: string | null;
51
+ }
52
+ /**
53
+ * Check if a given object implements the CreateBrokeredLeadInput interface.
54
+ */
55
+ export declare function instanceOfCreateBrokeredLeadInput(value: object): value is CreateBrokeredLeadInput;
56
+ export declare function CreateBrokeredLeadInputFromJSON(json: any): CreateBrokeredLeadInput;
57
+ export declare function CreateBrokeredLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBrokeredLeadInput;
58
+ export declare function CreateBrokeredLeadInputToJSON(json: any): CreateBrokeredLeadInput;
59
+ export declare function CreateBrokeredLeadInputToJSONTyped(value?: CreateBrokeredLeadInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreateBrokeredLeadInput = instanceOfCreateBrokeredLeadInput;
17
+ exports.CreateBrokeredLeadInputFromJSON = CreateBrokeredLeadInputFromJSON;
18
+ exports.CreateBrokeredLeadInputFromJSONTyped = CreateBrokeredLeadInputFromJSONTyped;
19
+ exports.CreateBrokeredLeadInputToJSON = CreateBrokeredLeadInputToJSON;
20
+ exports.CreateBrokeredLeadInputToJSONTyped = CreateBrokeredLeadInputToJSONTyped;
21
+ var BrokeredLeadBuyerInput_1 = require("./BrokeredLeadBuyerInput");
22
+ var MoneyDto_1 = require("./MoneyDto");
23
+ var BrokerCommissionInput_1 = require("./BrokerCommissionInput");
24
+ /**
25
+ * Check if a given object implements the CreateBrokeredLeadInput interface.
26
+ */
27
+ function instanceOfCreateBrokeredLeadInput(value) {
28
+ if (!('domainName' in value) || value['domainName'] === undefined)
29
+ return false;
30
+ if (!('askingPrice' in value) || value['askingPrice'] === undefined)
31
+ return false;
32
+ if (!('commission' in value) || value['commission'] === undefined)
33
+ return false;
34
+ if (!('buyer' in value) || value['buyer'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function CreateBrokeredLeadInputFromJSON(json) {
39
+ return CreateBrokeredLeadInputFromJSONTyped(json, false);
40
+ }
41
+ function CreateBrokeredLeadInputFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'domainName': json['domainName'],
47
+ 'askingPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['askingPrice']),
48
+ 'commission': (0, BrokerCommissionInput_1.BrokerCommissionInputFromJSON)(json['commission']),
49
+ 'buyer': (0, BrokeredLeadBuyerInput_1.BrokeredLeadBuyerInputFromJSON)(json['buyer']),
50
+ 'sellerEmail': json['sellerEmail'] == null ? undefined : json['sellerEmail'],
51
+ };
52
+ }
53
+ function CreateBrokeredLeadInputToJSON(json) {
54
+ return CreateBrokeredLeadInputToJSONTyped(json, false);
55
+ }
56
+ function CreateBrokeredLeadInputToJSONTyped(value, ignoreDiscriminator) {
57
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'domainName': value['domainName'],
63
+ 'askingPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['askingPrice']),
64
+ 'commission': (0, BrokerCommissionInput_1.BrokerCommissionInputToJSON)(value['commission']),
65
+ 'buyer': (0, BrokeredLeadBuyerInput_1.BrokeredLeadBuyerInputToJSON)(value['buyer']),
66
+ 'sellerEmail': value['sellerEmail'],
67
+ };
68
+ }
@@ -81,6 +81,8 @@ export declare const CreatedApiKeyDtoScopeEnum: {
81
81
  readonly TRANSFERS_WRITE: "TRANSFERS_WRITE";
82
82
  readonly LEADS_READ: "LEADS_READ";
83
83
  readonly LEADS_WRITE: "LEADS_WRITE";
84
+ readonly BROKERED_LEADS_READ: "BROKERED_LEADS_READ";
85
+ readonly BROKERED_LEADS_WRITE: "BROKERED_LEADS_WRITE";
84
86
  readonly AUCTIONS_READ: "AUCTIONS_READ";
85
87
  readonly AUCTIONS_WRITE: "AUCTIONS_WRITE";
86
88
  readonly STATS_READ: "STATS_READ";
@@ -36,6 +36,8 @@ exports.CreatedApiKeyDtoScopeEnum = {
36
36
  TRANSFERS_WRITE: 'TRANSFERS_WRITE',
37
37
  LEADS_READ: 'LEADS_READ',
38
38
  LEADS_WRITE: 'LEADS_WRITE',
39
+ BROKERED_LEADS_READ: 'BROKERED_LEADS_READ',
40
+ BROKERED_LEADS_WRITE: 'BROKERED_LEADS_WRITE',
39
41
  AUCTIONS_READ: 'AUCTIONS_READ',
40
42
  AUCTIONS_WRITE: 'AUCTIONS_WRITE',
41
43
  STATS_READ: 'STATS_READ',
@@ -116,6 +116,12 @@ export interface CustomerSuccessListAccountDto {
116
116
  * @memberof CustomerSuccessListAccountDto
117
117
  */
118
118
  onboardingStatus: CustomerSuccessListAccountDtoOnboardingStatusEnum;
119
+ /**
120
+ * When the onboarding first finished.
121
+ * @type {Date}
122
+ * @memberof CustomerSuccessListAccountDto
123
+ */
124
+ onboardingFinishedAt: Date | null;
119
125
  /**
120
126
  * Payout provider.
121
127
  * @type {string}
@@ -97,6 +97,8 @@ function instanceOfCustomerSuccessListAccountDto(value) {
97
97
  return false;
98
98
  if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined)
99
99
  return false;
100
+ if (!('onboardingFinishedAt' in value) || value['onboardingFinishedAt'] === undefined)
101
+ return false;
100
102
  if (!('payoutProvider' in value) || value['payoutProvider'] === undefined)
101
103
  return false;
102
104
  if (!('affiliateId' in value) || value['affiliateId'] === undefined)
@@ -137,6 +139,7 @@ function CustomerSuccessListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
137
139
  'users': (json['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoFromJSON)),
138
140
  'onboardingProvider': json['onboardingProvider'],
139
141
  'onboardingStatus': json['onboardingStatus'],
142
+ 'onboardingFinishedAt': (json['onboardingFinishedAt'] == null ? null : new Date(json['onboardingFinishedAt'])),
140
143
  'payoutProvider': json['payoutProvider'],
141
144
  'affiliateId': json['affiliateId'],
142
145
  'portfolioSize': (0, CustomerSuccessListAccountPortfolioSizeDto_1.CustomerSuccessListAccountPortfolioSizeDtoFromJSON)(json['portfolioSize']),
@@ -171,6 +174,7 @@ function CustomerSuccessListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
171
174
  'users': (value['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoToJSON)),
172
175
  'onboardingProvider': value['onboardingProvider'],
173
176
  'onboardingStatus': value['onboardingStatus'],
177
+ 'onboardingFinishedAt': (value['onboardingFinishedAt'] == null ? null : value['onboardingFinishedAt'].toISOString()),
174
178
  'payoutProvider': value['payoutProvider'],
175
179
  'affiliateId': value['affiliateId'],
176
180
  'portfolioSize': (0, CustomerSuccessListAccountPortfolioSizeDto_1.CustomerSuccessListAccountPortfolioSizeDtoToJSON)(value['portfolioSize']),
@@ -63,6 +63,12 @@ export interface CustomerSuccessListAccountMetricsDto {
63
63
  * @memberof CustomerSuccessListAccountMetricsDto
64
64
  */
65
65
  pointingDomainsNumber: number;
66
+ /**
67
+ * Number of verified domains.
68
+ * @type {number}
69
+ * @memberof CustomerSuccessListAccountMetricsDto
70
+ */
71
+ verifiedDomainsNumber: number;
66
72
  /**
67
73
  * Number of pending challenges to collect.
68
74
  * @type {number}
@@ -38,6 +38,8 @@ function instanceOfCustomerSuccessListAccountMetricsDto(value) {
38
38
  return false;
39
39
  if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined)
40
40
  return false;
41
+ if (!('verifiedDomainsNumber' in value) || value['verifiedDomainsNumber'] === undefined)
42
+ return false;
41
43
  if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined)
42
44
  return false;
43
45
  if (!('salesRatio' in value) || value['salesRatio'] === undefined)
@@ -60,6 +62,7 @@ function CustomerSuccessListAccountMetricsDtoFromJSONTyped(json, ignoreDiscrimin
60
62
  'soldDomainsNumber': json['soldDomainsNumber'],
61
63
  'referralsNumber': json['referralsNumber'],
62
64
  'pointingDomainsNumber': json['pointingDomainsNumber'],
65
+ 'verifiedDomainsNumber': json['verifiedDomainsNumber'],
63
66
  'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
64
67
  'salesRatio': json['salesRatio'],
65
68
  };
@@ -81,6 +84,7 @@ function CustomerSuccessListAccountMetricsDtoToJSONTyped(value, ignoreDiscrimina
81
84
  'soldDomainsNumber': value['soldDomainsNumber'],
82
85
  'referralsNumber': value['referralsNumber'],
83
86
  'pointingDomainsNumber': value['pointingDomainsNumber'],
87
+ 'verifiedDomainsNumber': value['verifiedDomainsNumber'],
84
88
  'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
85
89
  'salesRatio': value['salesRatio'],
86
90
  };
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DeclineBrokeredLeadInput
16
+ */
17
+ export interface DeclineBrokeredLeadInput {
18
+ /**
19
+ * Why the seller declines; shared with the broker.
20
+ * @type {string}
21
+ * @memberof DeclineBrokeredLeadInput
22
+ */
23
+ reason?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the DeclineBrokeredLeadInput interface.
27
+ */
28
+ export declare function instanceOfDeclineBrokeredLeadInput(value: object): value is DeclineBrokeredLeadInput;
29
+ export declare function DeclineBrokeredLeadInputFromJSON(json: any): DeclineBrokeredLeadInput;
30
+ export declare function DeclineBrokeredLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeclineBrokeredLeadInput;
31
+ export declare function DeclineBrokeredLeadInputToJSON(json: any): DeclineBrokeredLeadInput;
32
+ export declare function DeclineBrokeredLeadInputToJSONTyped(value?: DeclineBrokeredLeadInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfDeclineBrokeredLeadInput = instanceOfDeclineBrokeredLeadInput;
17
+ exports.DeclineBrokeredLeadInputFromJSON = DeclineBrokeredLeadInputFromJSON;
18
+ exports.DeclineBrokeredLeadInputFromJSONTyped = DeclineBrokeredLeadInputFromJSONTyped;
19
+ exports.DeclineBrokeredLeadInputToJSON = DeclineBrokeredLeadInputToJSON;
20
+ exports.DeclineBrokeredLeadInputToJSONTyped = DeclineBrokeredLeadInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DeclineBrokeredLeadInput interface.
23
+ */
24
+ function instanceOfDeclineBrokeredLeadInput(value) {
25
+ return true;
26
+ }
27
+ function DeclineBrokeredLeadInputFromJSON(json) {
28
+ return DeclineBrokeredLeadInputFromJSONTyped(json, false);
29
+ }
30
+ function DeclineBrokeredLeadInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'reason': json['reason'] == null ? undefined : json['reason'],
36
+ };
37
+ }
38
+ function DeclineBrokeredLeadInputToJSON(json) {
39
+ return DeclineBrokeredLeadInputToJSONTyped(json, false);
40
+ }
41
+ function DeclineBrokeredLeadInputToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'reason': value['reason'],
48
+ };
49
+ }
@@ -93,6 +93,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
93
93
  readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
94
94
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
95
95
  readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
96
+ readonly BROKER_PROGRAM: "BROKER_PROGRAM";
96
97
  readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
97
98
  readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
98
99
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
@@ -54,6 +54,7 @@ exports.FeatureFlagListItemDtoNameEnum = {
54
54
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
55
55
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
56
56
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
57
+ BROKER_PROGRAM: 'BROKER_PROGRAM',
57
58
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
58
59
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
59
60
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
@@ -82,6 +82,18 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
82
82
  * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
83
83
  */
84
84
  canSell: boolean;
85
+ /**
86
+ * Whether the account can bring in brokered deals: brokerage is switched on and the account is verified.
87
+ * @type {boolean}
88
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
89
+ */
90
+ canBroker: boolean;
91
+ /**
92
+ * Whether the account can see the onboarding.
93
+ * @type {boolean}
94
+ * @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
95
+ */
96
+ canSeeOnboarding: boolean;
85
97
  /**
86
98
  * Account settings.
87
99
  * @type {WithSettingsInner}
@@ -136,6 +148,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
136
148
  readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
137
149
  readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
138
150
  readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
151
+ readonly BROKER_PROGRAM: "BROKER_PROGRAM";
139
152
  readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
140
153
  readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
141
154
  readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
@@ -61,6 +61,7 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
61
61
  LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
62
62
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
63
63
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
64
+ BROKER_PROGRAM: 'BROKER_PROGRAM',
64
65
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
65
66
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
66
67
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
@@ -90,6 +91,10 @@ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWith
90
91
  return false;
91
92
  if (!('canSell' in value) || value['canSell'] === undefined)
92
93
  return false;
94
+ if (!('canBroker' in value) || value['canBroker'] === undefined)
95
+ return false;
96
+ if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined)
97
+ return false;
93
98
  if (!('settings' in value) || value['settings'] === undefined)
94
99
  return false;
95
100
  if (!('notifications' in value) || value['notifications'] === undefined)
@@ -116,6 +121,8 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
116
121
  'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
117
122
  'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoFromJSON)(json['challengeRewardBalance']),
118
123
  'canSell': json['canSell'],
124
+ 'canBroker': json['canBroker'],
125
+ 'canSeeOnboarding': json['canSeeOnboarding'],
119
126
  'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
120
127
  'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
121
128
  'enabledFeatures': json['enabledFeatures'],
@@ -140,6 +147,8 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
140
147
  'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
141
148
  'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoToJSON)(value['challengeRewardBalance']),
142
149
  'canSell': value['canSell'],
150
+ 'canBroker': value['canBroker'],
151
+ 'canSeeOnboarding': value['canSeeOnboarding'],
143
152
  'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
144
153
  'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
145
154
  'enabledFeatures': value['enabledFeatures'],
@@ -222,7 +222,7 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
222
222
  */
223
223
  leadVerification: LeadVerificationSettingsDto;
224
224
  /**
225
- * Account managing the domain on behalf of the owner, when a hijacker is assigned.
225
+ * Always null. Whether another account claims the domain is told by `hijackerId`; that account itself is not shown.
226
226
  * @type {AccountDto}
227
227
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
228
228
  */
@@ -86,6 +86,12 @@ export interface InvoiceDto {
86
86
  * @memberof InvoiceDto
87
87
  */
88
88
  isAffiliateCommission: boolean;
89
+ /**
90
+ * Whether this is the invoice a broker issues for a brokered sale commission.
91
+ * @type {boolean}
92
+ * @memberof InvoiceDto
93
+ */
94
+ isBrokerCommission: boolean;
89
95
  /**
90
96
  * Buyer email (only for buyer-target invoices).
91
97
  * @type {string}
@@ -67,6 +67,8 @@ function instanceOfInvoiceDto(value) {
67
67
  return false;
68
68
  if (!('isAffiliateCommission' in value) || value['isAffiliateCommission'] === undefined)
69
69
  return false;
70
+ if (!('isBrokerCommission' in value) || value['isBrokerCommission'] === undefined)
71
+ return false;
70
72
  if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
71
73
  return false;
72
74
  if (!('transaction' in value) || value['transaction'] === undefined)
@@ -96,6 +98,7 @@ function InvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
96
98
  'parent': json['parent'],
97
99
  'hasChildren': json['hasChildren'],
98
100
  'isAffiliateCommission': json['isAffiliateCommission'],
101
+ 'isBrokerCommission': json['isBrokerCommission'],
99
102
  'buyerEmail': json['buyerEmail'],
100
103
  'transaction': (0, InvoiceDtoTransaction_1.InvoiceDtoTransactionFromJSON)(json['transaction']),
101
104
  'payoutDueAt': (json['payoutDueAt'] == null ? null : new Date(json['payoutDueAt'])),
@@ -122,6 +125,7 @@ function InvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
122
125
  'parent': value['parent'],
123
126
  'hasChildren': value['hasChildren'],
124
127
  'isAffiliateCommission': value['isAffiliateCommission'],
128
+ 'isBrokerCommission': value['isBrokerCommission'],
125
129
  'buyerEmail': value['buyerEmail'],
126
130
  'transaction': (0, InvoiceDtoTransaction_1.InvoiceDtoTransactionToJSON)(value['transaction']),
127
131
  'payoutDueAt': (value['payoutDueAt'] == null ? null : value['payoutDueAt'].toISOString()),
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { BrokeredLeadBreakdownDto } from './BrokeredLeadBreakdownDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LeadBrokeredDealDto
17
+ */
18
+ export interface LeadBrokeredDealDto {
19
+ /**
20
+ * Name of the broker who brought the deal.
21
+ * @type {string}
22
+ * @memberof LeadBrokeredDealDto
23
+ */
24
+ brokerName: string;
25
+ /**
26
+ *
27
+ * @type {BrokeredLeadBreakdownDto}
28
+ * @memberof LeadBrokeredDealDto
29
+ */
30
+ breakdown: BrokeredLeadBreakdownDto;
31
+ }
32
+ /**
33
+ * Check if a given object implements the LeadBrokeredDealDto interface.
34
+ */
35
+ export declare function instanceOfLeadBrokeredDealDto(value: object): value is LeadBrokeredDealDto;
36
+ export declare function LeadBrokeredDealDtoFromJSON(json: any): LeadBrokeredDealDto;
37
+ export declare function LeadBrokeredDealDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadBrokeredDealDto;
38
+ export declare function LeadBrokeredDealDtoToJSON(json: any): LeadBrokeredDealDto;
39
+ export declare function LeadBrokeredDealDtoToJSONTyped(value?: LeadBrokeredDealDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLeadBrokeredDealDto = instanceOfLeadBrokeredDealDto;
17
+ exports.LeadBrokeredDealDtoFromJSON = LeadBrokeredDealDtoFromJSON;
18
+ exports.LeadBrokeredDealDtoFromJSONTyped = LeadBrokeredDealDtoFromJSONTyped;
19
+ exports.LeadBrokeredDealDtoToJSON = LeadBrokeredDealDtoToJSON;
20
+ exports.LeadBrokeredDealDtoToJSONTyped = LeadBrokeredDealDtoToJSONTyped;
21
+ var BrokeredLeadBreakdownDto_1 = require("./BrokeredLeadBreakdownDto");
22
+ /**
23
+ * Check if a given object implements the LeadBrokeredDealDto interface.
24
+ */
25
+ function instanceOfLeadBrokeredDealDto(value) {
26
+ if (!('brokerName' in value) || value['brokerName'] === undefined)
27
+ return false;
28
+ if (!('breakdown' in value) || value['breakdown'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function LeadBrokeredDealDtoFromJSON(json) {
33
+ return LeadBrokeredDealDtoFromJSONTyped(json, false);
34
+ }
35
+ function LeadBrokeredDealDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'brokerName': json['brokerName'],
41
+ 'breakdown': (0, BrokeredLeadBreakdownDto_1.BrokeredLeadBreakdownDtoFromJSON)(json['breakdown']),
42
+ };
43
+ }
44
+ function LeadBrokeredDealDtoToJSON(json) {
45
+ return LeadBrokeredDealDtoToJSONTyped(json, false);
46
+ }
47
+ function LeadBrokeredDealDtoToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'brokerName': value['brokerName'],
54
+ 'breakdown': (0, BrokeredLeadBreakdownDto_1.BrokeredLeadBreakdownDtoToJSON)(value['breakdown']),
55
+ };
56
+ }
@@ -63,6 +63,12 @@ export interface ListAccountMetricsDto {
63
63
  * @memberof ListAccountMetricsDto
64
64
  */
65
65
  pointingDomainsNumber: number;
66
+ /**
67
+ * Number of verified domains.
68
+ * @type {number}
69
+ * @memberof ListAccountMetricsDto
70
+ */
71
+ verifiedDomainsNumber: number;
66
72
  /**
67
73
  * Number of pending challenges to collect.
68
74
  * @type {number}
@@ -38,6 +38,8 @@ function instanceOfListAccountMetricsDto(value) {
38
38
  return false;
39
39
  if (!('pointingDomainsNumber' in value) || value['pointingDomainsNumber'] === undefined)
40
40
  return false;
41
+ if (!('verifiedDomainsNumber' in value) || value['verifiedDomainsNumber'] === undefined)
42
+ return false;
41
43
  if (!('pendingChallengesToCollectNumber' in value) || value['pendingChallengesToCollectNumber'] === undefined)
42
44
  return false;
43
45
  if (!('salesRatio' in value) || value['salesRatio'] === undefined)
@@ -60,6 +62,7 @@ function ListAccountMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
60
62
  'soldDomainsNumber': json['soldDomainsNumber'],
61
63
  'referralsNumber': json['referralsNumber'],
62
64
  'pointingDomainsNumber': json['pointingDomainsNumber'],
65
+ 'verifiedDomainsNumber': json['verifiedDomainsNumber'],
63
66
  'pendingChallengesToCollectNumber': json['pendingChallengesToCollectNumber'],
64
67
  'salesRatio': json['salesRatio'],
65
68
  };
@@ -81,6 +84,7 @@ function ListAccountMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
81
84
  'soldDomainsNumber': value['soldDomainsNumber'],
82
85
  'referralsNumber': value['referralsNumber'],
83
86
  'pointingDomainsNumber': value['pointingDomainsNumber'],
87
+ 'verifiedDomainsNumber': value['verifiedDomainsNumber'],
84
88
  'pendingChallengesToCollectNumber': value['pendingChallengesToCollectNumber'],
85
89
  'salesRatio': value['salesRatio'],
86
90
  };