@randock/nameshift-api-client 0.0.472 → 0.0.474

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 (165) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +6 -6
  4. package/dist/apis/BuyersApi.d.ts +2 -2
  5. package/dist/apis/BuyersApi.js +2 -2
  6. package/dist/apis/BuyersPublicApi.d.ts +2 -2
  7. package/dist/apis/BuyersPublicApi.js +2 -2
  8. package/dist/apis/LeadsPublicApi.d.ts +3 -2
  9. package/dist/apis/LeadsPublicApi.js +19 -5
  10. package/dist/apis/MarketingApi.d.ts +2 -2
  11. package/dist/apis/StatsApi.d.ts +5 -5
  12. package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.d.ts +1 -1
  13. package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.js +3 -1
  14. package/dist/models/AccountSettingsDto.d.ts +7 -0
  15. package/dist/models/AccountSettingsDto.js +5 -0
  16. package/dist/models/AccountSettingsInput.d.ts +7 -0
  17. package/dist/models/AccountSettingsInput.js +3 -0
  18. package/dist/models/AdminBankDepositDto.d.ts +4 -2
  19. package/dist/models/AdminChallengeListItemDto.d.ts +4 -2
  20. package/dist/models/AdminDomainListItemDto.d.ts +7 -0
  21. package/dist/models/AdminDomainListItemDto.js +5 -0
  22. package/dist/models/AdminLeadListItemDto.d.ts +1 -0
  23. package/dist/models/AdminLeadListItemDto.js +1 -0
  24. package/dist/models/AggregatedPaginationResponse.d.ts +4 -2
  25. package/dist/models/AirwallexDepositDto.d.ts +4 -2
  26. package/dist/models/AirwallexDepositDtoFee.d.ts +2 -2
  27. package/dist/models/AirwallexDepositDtoFee.js +6 -2
  28. package/dist/models/BuyerDto.d.ts +3 -3
  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/CommissionAction.d.ts +1 -1
  36. package/dist/models/CommissionAction.js +1 -1
  37. package/dist/models/CommissionAddUpdateActionInput.d.ts +1 -1
  38. package/dist/models/CommissionConfigurationInput.d.ts +1 -1
  39. package/dist/models/CommissionDeleteActionInput.d.ts +1 -1
  40. package/dist/models/CommissionFactor.d.ts +1 -1
  41. package/dist/models/CommissionFactor.js +1 -1
  42. package/dist/models/CreateAccountPaymentInput.d.ts +4 -2
  43. package/dist/models/CreateApiKeyInput.d.ts +2 -2
  44. package/dist/models/CreateApiKeyInput.js +2 -2
  45. package/dist/models/CustomerSuccessDomainListItemDto.d.ts +7 -0
  46. package/dist/models/CustomerSuccessDomainListItemDto.js +5 -0
  47. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  48. package/dist/models/FeatureFlagListItemDto.js +2 -1
  49. package/dist/models/FixedCommissionPayloadDto.d.ts +1 -1
  50. package/dist/models/FixedCommissionPayloadSimulationInput.d.ts +1 -1
  51. package/dist/models/FixedCommissionReasonPayloadDto.d.ts +1 -1
  52. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  53. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  54. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +7 -0
  55. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +5 -0
  56. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  57. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  58. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
  59. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
  60. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -0
  61. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +1 -0
  62. package/dist/models/LeadDto.d.ts +1 -0
  63. package/dist/models/LeadDto.js +1 -0
  64. package/dist/models/LeadStatusDto.d.ts +1 -0
  65. package/dist/models/LeadStatusDto.js +1 -0
  66. package/dist/models/LeadVerificationInput.d.ts +54 -0
  67. package/dist/models/LeadVerificationInput.js +63 -0
  68. package/dist/models/LeadVerificationSettingsDto.d.ts +54 -0
  69. package/dist/models/LeadVerificationSettingsDto.js +69 -0
  70. package/dist/models/List200Response3.d.ts +4 -2
  71. package/dist/models/List200Response4.d.ts +4 -2
  72. package/dist/models/ListLeadsResultItem.d.ts +1 -0
  73. package/dist/models/ListLeadsResultItem.js +1 -0
  74. package/dist/models/OrderDto.d.ts +4 -2
  75. package/dist/models/OwnedDomainDto.d.ts +4 -2
  76. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  77. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  78. package/dist/models/PublicLeadDto.d.ts +1 -0
  79. package/dist/models/PublicLeadDto.js +1 -0
  80. package/dist/models/RelatedLeadDto.d.ts +1 -0
  81. package/dist/models/RelatedLeadDto.js +1 -0
  82. package/dist/models/SalesCountCommissionPayloadDto.d.ts +1 -1
  83. package/dist/models/SalesCountCommissionPayloadSimulationInput.d.ts +1 -1
  84. package/dist/models/SalesCountCommissionReasonPayloadDto.d.ts +1 -1
  85. package/dist/models/SellerLeadDetails.d.ts +1 -0
  86. package/dist/models/SellerLeadDetails.js +1 -0
  87. package/dist/models/SellerScaleChallengeListItemDto.d.ts +4 -2
  88. package/dist/models/SubscriptionDto.d.ts +5 -2
  89. package/dist/models/SubscriptionDto.js +1 -0
  90. package/dist/models/UpdateApiKeyInput.d.ts +2 -2
  91. package/dist/models/UpdateApiKeyInput.js +2 -2
  92. package/dist/models/UpdateChallengeInput.d.ts +4 -2
  93. package/dist/models/UpdateDomainInput.d.ts +7 -0
  94. package/dist/models/UpdateDomainInput.js +3 -0
  95. package/dist/models/UserNotificationDto.d.ts +1 -0
  96. package/dist/models/UserNotificationDto.js +1 -0
  97. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  98. package/dist/models/UserNotificationListItemDto.js +1 -0
  99. package/dist/models/WithSettingsInner.d.ts +7 -0
  100. package/dist/models/WithSettingsInner.js +5 -0
  101. package/dist/models/index.d.ts +2 -0
  102. package/dist/models/index.js +2 -0
  103. package/package.json +1 -1
  104. package/src/apis/AdminApi.ts +8 -5
  105. package/src/apis/BuyersApi.ts +2 -2
  106. package/src/apis/BuyersPublicApi.ts +2 -2
  107. package/src/apis/LeadsPublicApi.ts +17 -4
  108. package/src/apis/MarketingApi.ts +4 -1
  109. package/src/apis/StatsApi.ts +7 -4
  110. package/src/models/AccountChallengeRewardUsageListItemDtoMetadata.ts +3 -2
  111. package/src/models/AccountSettingsDto.ts +16 -0
  112. package/src/models/AccountSettingsInput.ts +15 -0
  113. package/src/models/AdminBankDepositDto.ts +2 -2
  114. package/src/models/AdminChallengeListItemDto.ts +2 -2
  115. package/src/models/AdminDomainListItemDto.ts +16 -0
  116. package/src/models/AdminLeadListItemDto.ts +1 -0
  117. package/src/models/AggregatedPaginationResponse.ts +2 -2
  118. package/src/models/AirwallexDepositDto.ts +2 -2
  119. package/src/models/AirwallexDepositDtoFee.ts +6 -4
  120. package/src/models/BuyerDto.ts +3 -3
  121. package/src/models/BuyerLeadListItemDto.ts +1 -0
  122. package/src/models/BuyerNotificationDto.ts +1 -0
  123. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  124. package/src/models/CommissionAction.ts +1 -1
  125. package/src/models/CommissionAddUpdateActionInput.ts +1 -1
  126. package/src/models/CommissionConfigurationInput.ts +1 -1
  127. package/src/models/CommissionDeleteActionInput.ts +1 -1
  128. package/src/models/CommissionFactor.ts +1 -1
  129. package/src/models/CreateAccountPaymentInput.ts +2 -2
  130. package/src/models/CreateApiKeyInput.ts +4 -4
  131. package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
  132. package/src/models/FeatureFlagListItemDto.ts +2 -1
  133. package/src/models/FixedCommissionPayloadDto.ts +1 -1
  134. package/src/models/FixedCommissionPayloadSimulationInput.ts +1 -1
  135. package/src/models/FixedCommissionReasonPayloadDto.ts +1 -1
  136. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  137. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +16 -0
  138. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  139. package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
  140. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -0
  141. package/src/models/LeadDto.ts +1 -0
  142. package/src/models/LeadStatusDto.ts +1 -0
  143. package/src/models/LeadVerificationInput.ts +101 -0
  144. package/src/models/LeadVerificationSettingsDto.ts +104 -0
  145. package/src/models/List200Response3.ts +2 -2
  146. package/src/models/List200Response4.ts +2 -2
  147. package/src/models/ListLeadsResultItem.ts +1 -0
  148. package/src/models/OrderDto.ts +2 -2
  149. package/src/models/OwnedDomainDto.ts +2 -2
  150. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  151. package/src/models/PublicLeadDto.ts +1 -0
  152. package/src/models/RelatedLeadDto.ts +1 -0
  153. package/src/models/SalesCountCommissionPayloadDto.ts +1 -1
  154. package/src/models/SalesCountCommissionPayloadSimulationInput.ts +1 -1
  155. package/src/models/SalesCountCommissionReasonPayloadDto.ts +1 -1
  156. package/src/models/SellerLeadDetails.ts +1 -0
  157. package/src/models/SellerScaleChallengeListItemDto.ts +2 -2
  158. package/src/models/SubscriptionDto.ts +3 -2
  159. package/src/models/UpdateApiKeyInput.ts +4 -4
  160. package/src/models/UpdateChallengeInput.ts +2 -2
  161. package/src/models/UpdateDomainInput.ts +15 -0
  162. package/src/models/UserNotificationDto.ts +1 -0
  163. package/src/models/UserNotificationListItemDto.ts +1 -0
  164. package/src/models/WithSettingsInner.ts +16 -0
  165. package/src/models/index.ts +2 -0
@@ -0,0 +1,54 @@
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 { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LeadVerificationSettingsDto
17
+ */
18
+ export interface LeadVerificationSettingsDto {
19
+ /**
20
+ * Verification mode: "always_otp" requires the email code on every offer, "captcha_only" lets every offer through as unverified, "hybrid" requires the code only outside the price band or from a throwaway email domain. Null on a domain inherits the account default.
21
+ * @type {string}
22
+ * @memberof LeadVerificationSettingsDto
23
+ */
24
+ mode: LeadVerificationSettingsDtoModeEnum | null;
25
+ /**
26
+ * Hybrid mode: offers below this amount require the email code. Null leaves that side open (account) or inherits it (domain).
27
+ * @type {MoneyDto}
28
+ * @memberof LeadVerificationSettingsDto
29
+ */
30
+ otpLowerBound: MoneyDto | null;
31
+ /**
32
+ * Hybrid mode: offers above this amount require the email code. Null leaves that side open (account) or inherits it (domain).
33
+ * @type {MoneyDto}
34
+ * @memberof LeadVerificationSettingsDto
35
+ */
36
+ otpUpperBound: MoneyDto | null;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const LeadVerificationSettingsDtoModeEnum: {
42
+ readonly ALWAYS_OTP: "always_otp";
43
+ readonly CAPTCHA_ONLY: "captcha_only";
44
+ readonly HYBRID: "hybrid";
45
+ };
46
+ export type LeadVerificationSettingsDtoModeEnum = typeof LeadVerificationSettingsDtoModeEnum[keyof typeof LeadVerificationSettingsDtoModeEnum];
47
+ /**
48
+ * Check if a given object implements the LeadVerificationSettingsDto interface.
49
+ */
50
+ export declare function instanceOfLeadVerificationSettingsDto(value: object): value is LeadVerificationSettingsDto;
51
+ export declare function LeadVerificationSettingsDtoFromJSON(json: any): LeadVerificationSettingsDto;
52
+ export declare function LeadVerificationSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadVerificationSettingsDto;
53
+ export declare function LeadVerificationSettingsDtoToJSON(json: any): LeadVerificationSettingsDto;
54
+ export declare function LeadVerificationSettingsDtoToJSONTyped(value?: LeadVerificationSettingsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
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.LeadVerificationSettingsDtoModeEnum = void 0;
17
+ exports.instanceOfLeadVerificationSettingsDto = instanceOfLeadVerificationSettingsDto;
18
+ exports.LeadVerificationSettingsDtoFromJSON = LeadVerificationSettingsDtoFromJSON;
19
+ exports.LeadVerificationSettingsDtoFromJSONTyped = LeadVerificationSettingsDtoFromJSONTyped;
20
+ exports.LeadVerificationSettingsDtoToJSON = LeadVerificationSettingsDtoToJSON;
21
+ exports.LeadVerificationSettingsDtoToJSONTyped = LeadVerificationSettingsDtoToJSONTyped;
22
+ var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LeadVerificationSettingsDtoModeEnum = {
27
+ ALWAYS_OTP: 'always_otp',
28
+ CAPTCHA_ONLY: 'captcha_only',
29
+ HYBRID: 'hybrid'
30
+ };
31
+ /**
32
+ * Check if a given object implements the LeadVerificationSettingsDto interface.
33
+ */
34
+ function instanceOfLeadVerificationSettingsDto(value) {
35
+ if (!('mode' in value) || value['mode'] === undefined)
36
+ return false;
37
+ if (!('otpLowerBound' in value) || value['otpLowerBound'] === undefined)
38
+ return false;
39
+ if (!('otpUpperBound' in value) || value['otpUpperBound'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function LeadVerificationSettingsDtoFromJSON(json) {
44
+ return LeadVerificationSettingsDtoFromJSONTyped(json, false);
45
+ }
46
+ function LeadVerificationSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'mode': json['mode'],
52
+ 'otpLowerBound': (0, MoneyDto_1.MoneyDtoFromJSON)(json['otpLowerBound']),
53
+ 'otpUpperBound': (0, MoneyDto_1.MoneyDtoFromJSON)(json['otpUpperBound']),
54
+ };
55
+ }
56
+ function LeadVerificationSettingsDtoToJSON(json) {
57
+ return LeadVerificationSettingsDtoToJSONTyped(json, false);
58
+ }
59
+ function LeadVerificationSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'mode': value['mode'],
66
+ 'otpLowerBound': (0, MoneyDto_1.MoneyDtoToJSON)(value['otpLowerBound']),
67
+ 'otpUpperBound': (0, MoneyDto_1.MoneyDtoToJSON)(value['otpUpperBound']),
68
+ };
69
+ }
@@ -43,10 +43,12 @@ export interface List200Response3 {
43
43
  pagination: CursorBasedPageInfo;
44
44
  /**
45
45
  * Aggregation results keyed by aggregation name.
46
- * @type {object}
46
+ * @type {{ [key: string]: any; }}
47
47
  * @memberof List200Response3
48
48
  */
49
- aggregations: object;
49
+ aggregations: {
50
+ [key: string]: any;
51
+ };
50
52
  }
51
53
  /**
52
54
  * @export
@@ -43,10 +43,12 @@ export interface List200Response4 {
43
43
  pagination: CursorBasedPageInfo;
44
44
  /**
45
45
  * Aggregation results keyed by aggregation name.
46
- * @type {object}
46
+ * @type {{ [key: string]: any; }}
47
47
  * @memberof List200Response4
48
48
  */
49
- aggregations: object;
49
+ aggregations: {
50
+ [key: string]: any;
51
+ };
50
52
  }
51
53
  /**
52
54
  * @export
@@ -213,6 +213,7 @@ export interface ListLeadsResultItem {
213
213
  * @export
214
214
  */
215
215
  export declare const ListLeadsResultItemStatusEnum: {
216
+ readonly DRAFT: "draft";
216
217
  readonly UNVERIFIED: "unverified";
217
218
  readonly ACTIVE: "active";
218
219
  readonly ACCEPTED: "accepted";
@@ -30,6 +30,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
30
30
  * @export
31
31
  */
32
32
  exports.ListLeadsResultItemStatusEnum = {
33
+ DRAFT: 'draft',
33
34
  UNVERIFIED: 'unverified',
34
35
  ACTIVE: 'active',
35
36
  ACCEPTED: 'accepted',
@@ -130,10 +130,12 @@ export interface OrderDto {
130
130
  enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
131
131
  /**
132
132
  * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
133
- * @type {object}
133
+ * @type {{ [key: string]: any; }}
134
134
  * @memberof OrderDto
135
135
  */
136
- availablePaymentMethods: object;
136
+ availablePaymentMethods: {
137
+ [key: string]: any;
138
+ };
137
139
  /**
138
140
  * Selected payment method on the active transaction (canonical)
139
141
  * @type {string}
@@ -53,10 +53,12 @@ export interface OwnedDomainDto {
53
53
  hosting: OwnedDomainDtoHostingEnum;
54
54
  /**
55
55
  * Last response from the external registry service.
56
- * @type {object}
56
+ * @type {{ [key: string]: any; }}
57
57
  * @memberof OwnedDomainDto
58
58
  */
59
- lastExternalServiceResponse: object;
59
+ lastExternalServiceResponse: {
60
+ [key: string]: any;
61
+ };
60
62
  /**
61
63
  * Domain transfer status.
62
64
  * @type {string}
@@ -140,6 +140,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
140
140
  readonly MARKETPLACE_ROUTING: "MARKETPLACE_ROUTING";
141
141
  readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
142
142
  readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
143
+ readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
143
144
  };
144
145
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
145
146
  /**
@@ -58,7 +58,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
58
58
  AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
59
59
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
60
60
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
61
- LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
61
+ LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
62
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
62
63
  };
63
64
  /**
64
65
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
@@ -52,6 +52,7 @@ export interface PublicLeadDto {
52
52
  * @export
53
53
  */
54
54
  export declare const PublicLeadDtoStatusEnum: {
55
+ readonly DRAFT: "draft";
55
56
  readonly UNVERIFIED: "unverified";
56
57
  readonly ACTIVE: "active";
57
58
  readonly ACCEPTED: "accepted";
@@ -25,6 +25,7 @@ var MoneyDto_1 = require("./MoneyDto");
25
25
  * @export
26
26
  */
27
27
  exports.PublicLeadDtoStatusEnum = {
28
+ DRAFT: 'draft',
28
29
  UNVERIFIED: 'unverified',
29
30
  ACTIVE: 'active',
30
31
  ACCEPTED: 'accepted',
@@ -57,6 +57,7 @@ export interface RelatedLeadDto {
57
57
  * @export
58
58
  */
59
59
  export declare const RelatedLeadDtoStatusEnum: {
60
+ readonly DRAFT: "draft";
60
61
  readonly UNVERIFIED: "unverified";
61
62
  readonly ACTIVE: "active";
62
63
  readonly ACCEPTED: "accepted";
@@ -24,6 +24,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
24
24
  * @export
25
25
  */
26
26
  exports.RelatedLeadDtoStatusEnum = {
27
+ DRAFT: 'draft',
27
28
  UNVERIFIED: 'unverified',
28
29
  ACTIVE: 'active',
29
30
  ACCEPTED: 'accepted',
@@ -18,7 +18,7 @@ import type { CommissionPercentageRangeDto } from './CommissionPercentageRangeDt
18
18
  */
19
19
  export interface SalesCountCommissionPayloadDto {
20
20
  /**
21
- *
21
+ * Commission factor: monthly sales count.
22
22
  * @type {CommissionFactor}
23
23
  * @memberof SalesCountCommissionPayloadDto
24
24
  */
@@ -18,7 +18,7 @@ import type { CommissionPercentageRangeInput } from './CommissionPercentageRange
18
18
  */
19
19
  export interface SalesCountCommissionPayloadSimulationInput {
20
20
  /**
21
- *
21
+ * Commission factor (MONTHLY_SALES_COUNT)
22
22
  * @type {CommissionFactor}
23
23
  * @memberof SalesCountCommissionPayloadSimulationInput
24
24
  */
@@ -18,7 +18,7 @@ import type { CommissionPercentageRangeDto } from './CommissionPercentageRangeDt
18
18
  */
19
19
  export interface SalesCountCommissionReasonPayloadDto {
20
20
  /**
21
- *
21
+ * Commission factor: monthly sales count.
22
22
  * @type {CommissionFactor}
23
23
  * @memberof SalesCountCommissionReasonPayloadDto
24
24
  */
@@ -184,6 +184,7 @@ export interface SellerLeadDetails {
184
184
  * @export
185
185
  */
186
186
  export declare const SellerLeadDetailsStatusEnum: {
187
+ readonly DRAFT: "draft";
187
188
  readonly UNVERIFIED: "unverified";
188
189
  readonly ACTIVE: "active";
189
190
  readonly ACCEPTED: "accepted";
@@ -31,6 +31,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
31
31
  * @export
32
32
  */
33
33
  exports.SellerLeadDetailsStatusEnum = {
34
+ DRAFT: 'draft',
34
35
  UNVERIFIED: 'unverified',
35
36
  ACTIVE: 'active',
36
37
  ACCEPTED: 'accepted',
@@ -47,10 +47,12 @@ export interface SellerScaleChallengeListItemDto {
47
47
  rewardType: SellerScaleChallengeListItemDtoRewardTypeEnum;
48
48
  /**
49
49
  * Threshold -> reward points (e.g. { "10": 0.1, "50": 0.25, "250": 0.5 })
50
- * @type {object}
50
+ * @type {{ [key: string]: number; }}
51
51
  * @memberof SellerScaleChallengeListItemDto
52
52
  */
53
- scale: object;
53
+ scale: {
54
+ [key: string]: number;
55
+ };
54
56
  /**
55
57
  * Current value for this period (e.g. for keep_pointing_domains: number of domains pointing to our server)
56
58
  * @type {number}
@@ -139,10 +139,12 @@ export interface SubscriptionDto {
139
139
  hasPendingTransaction: boolean;
140
140
  /**
141
141
  * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
142
- * @type {object}
142
+ * @type {{ [key: string]: any; }}
143
143
  * @memberof SubscriptionDto
144
144
  */
145
- availablePaymentMethods: object;
145
+ availablePaymentMethods: {
146
+ [key: string]: any;
147
+ };
146
148
  /**
147
149
  * Selected payment method on the active transaction (canonical)
148
150
  * @type {string}
@@ -321,6 +323,7 @@ export type SubscriptionDtoTypeEnum = typeof SubscriptionDtoTypeEnum[keyof typeo
321
323
  * @export
322
324
  */
323
325
  export declare const SubscriptionDtoLeadStatusEnum: {
326
+ readonly DRAFT: "draft";
324
327
  readonly UNVERIFIED: "unverified";
325
328
  readonly ACTIVE: "active";
326
329
  readonly ACCEPTED: "accepted";
@@ -128,6 +128,7 @@ exports.SubscriptionDtoTypeEnum = {
128
128
  * @export
129
129
  */
130
130
  exports.SubscriptionDtoLeadStatusEnum = {
131
+ DRAFT: 'draft',
131
132
  UNVERIFIED: 'unverified',
132
133
  ACTIVE: 'active',
133
134
  ACCEPTED: 'accepted',
@@ -23,10 +23,10 @@ export interface UpdateApiKeyInput {
23
23
  name?: string;
24
24
  /**
25
25
  * Replacement set of scopes. Takes effect on the next request made with the key.
26
- * @type {Array<string>}
26
+ * @type {Set<string>}
27
27
  * @memberof UpdateApiKeyInput
28
28
  */
29
- scope?: Array<UpdateApiKeyInputScopeEnum>;
29
+ scope?: Set<UpdateApiKeyInputScopeEnum>;
30
30
  }
31
31
  /**
32
32
  * @export
@@ -72,7 +72,7 @@ function UpdateApiKeyInputFromJSONTyped(json, ignoreDiscriminator) {
72
72
  }
73
73
  return {
74
74
  'name': json['name'] == null ? undefined : json['name'],
75
- 'scope': json['scope'] == null ? undefined : json['scope'],
75
+ 'scope': json['scope'] == null ? undefined : new Set(json['scope']),
76
76
  };
77
77
  }
78
78
  function UpdateApiKeyInputToJSON(json) {
@@ -85,6 +85,6 @@ function UpdateApiKeyInputToJSONTyped(value, ignoreDiscriminator) {
85
85
  }
86
86
  return {
87
87
  'name': value['name'],
88
- 'scope': value['scope'],
88
+ 'scope': value['scope'] == null ? undefined : Array.from(value['scope']),
89
89
  };
90
90
  }
@@ -29,10 +29,12 @@ export interface UpdateChallengeInput {
29
29
  rewardPoints?: number;
30
30
  /**
31
31
  * Scale object: threshold -> reward points (only for rewardType=scale). E.g. { "1": 0.1, "5": 0.5, "10": 1 }. Send the full scale, not a single item.
32
- * @type {object}
32
+ * @type {{ [key: string]: number; }}
33
33
  * @memberof UpdateChallengeInput
34
34
  */
35
- scale?: object;
35
+ scale?: {
36
+ [key: string]: number;
37
+ };
36
38
  }
37
39
  /**
38
40
  * Check if a given object implements the UpdateChallengeInput interface.
@@ -14,6 +14,7 @@ import type { LandingPageInput } from './LandingPageInput';
14
14
  import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
15
15
  import type { RentConfigurationInput } from './RentConfigurationInput';
16
16
  import type { DomainLeadPriceNegotiatorAiAgentConfigurationInput } from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
17
+ import type { LeadVerificationInput } from './LeadVerificationInput';
17
18
  /**
18
19
  *
19
20
  * @export
@@ -74,6 +75,12 @@ export interface UpdateDomainInput {
74
75
  * @memberof UpdateDomainInput
75
76
  */
76
77
  leadPriceNegotiator?: DomainLeadPriceNegotiatorAiAgentConfigurationInput | null;
78
+ /**
79
+ * Lead verification override for the domain. Every null field inherits the account default.
80
+ * @type {LeadVerificationInput}
81
+ * @memberof UpdateDomainInput
82
+ */
83
+ leadVerification?: LeadVerificationInput;
77
84
  }
78
85
  /**
79
86
  * @export
@@ -24,6 +24,7 @@ var LandingPageInput_1 = require("./LandingPageInput");
24
24
  var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
25
25
  var RentConfigurationInput_1 = require("./RentConfigurationInput");
26
26
  var DomainLeadPriceNegotiatorAiAgentConfigurationInput_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput");
27
+ var LeadVerificationInput_1 = require("./LeadVerificationInput");
27
28
  /**
28
29
  * @export
29
30
  */
@@ -58,6 +59,7 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
58
59
  'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
59
60
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
60
61
  'leadPriceNegotiator': json['leadPriceNegotiator'] == null ? undefined : (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiator']),
62
+ 'leadVerification': json['leadVerification'] == null ? undefined : (0, LeadVerificationInput_1.LeadVerificationInputFromJSON)(json['leadVerification']),
61
63
  };
62
64
  }
63
65
  function UpdateDomainInputToJSON(json) {
@@ -78,5 +80,6 @@ function UpdateDomainInputToJSONTyped(value, ignoreDiscriminator) {
78
80
  'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
79
81
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
80
82
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiator']),
83
+ 'leadVerification': (0, LeadVerificationInput_1.LeadVerificationInputToJSON)(value['leadVerification']),
81
84
  };
82
85
  }
@@ -96,6 +96,7 @@ export declare const UserNotificationDtoTypeEnum: {
96
96
  readonly EXPORT_COMPLETED: "export_completed";
97
97
  readonly DOMAIN_IMPORT_FINISHED: "domain_import_finished";
98
98
  readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
99
+ readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
99
100
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
100
101
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
101
102
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
@@ -57,6 +57,7 @@ exports.UserNotificationDtoTypeEnum = {
57
57
  EXPORT_COMPLETED: 'export_completed',
58
58
  DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
59
59
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
60
+ DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
60
61
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
61
62
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
62
63
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
@@ -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
  }
@@ -324,6 +324,8 @@ export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
324
324
  export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
325
325
  export * from './LeadRentConfigurationDto';
326
326
  export * from './LeadStatusDto';
327
+ export * from './LeadVerificationInput';
328
+ export * from './LeadVerificationSettingsDto';
327
329
  export * from './LeaseToOwnConfigurationDto';
328
330
  export * from './LeaseToOwnConfigurationInput';
329
331
  export * from './LeaseToOwnConfigurationPresetsDto';
@@ -342,6 +342,8 @@ __exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationDto"), exports);
342
342
  __exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationInput"), exports);
343
343
  __exportStar(require("./LeadRentConfigurationDto"), exports);
344
344
  __exportStar(require("./LeadStatusDto"), exports);
345
+ __exportStar(require("./LeadVerificationInput"), exports);
346
+ __exportStar(require("./LeadVerificationSettingsDto"), exports);
345
347
  __exportStar(require("./LeaseToOwnConfigurationDto"), exports);
346
348
  __exportStar(require("./LeaseToOwnConfigurationInput"), exports);
347
349
  __exportStar(require("./LeaseToOwnConfigurationPresetsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.472",
3
+ "version": "0.0.474",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -62,6 +62,7 @@ import type {
62
62
  SellerSalesCountStatsItemDto,
63
63
  SendAdminLeadAiPriceNegotiatorAgentChatMessageInput,
64
64
  SimulateCommissionInput,
65
+ StatsFilterInputDateRange,
65
66
  SubscriptionDetailsDto,
66
67
  UpdateAccountChallengeRewardBalanceInput,
67
68
  UpdateChallengeInput,
@@ -164,6 +165,8 @@ import {
164
165
  SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON,
165
166
  SimulateCommissionInputFromJSON,
166
167
  SimulateCommissionInputToJSON,
168
+ StatsFilterInputDateRangeFromJSON,
169
+ StatsFilterInputDateRangeToJSON,
167
170
  SubscriptionDetailsDtoFromJSON,
168
171
  SubscriptionDetailsDtoToJSON,
169
172
  UpdateAccountChallengeRewardBalanceInputFromJSON,
@@ -259,7 +262,7 @@ export interface AdminApiGetAccountSettingsRequest {
259
262
  }
260
263
 
261
264
  export interface AdminApiGetAdminDashboardStatsRequest {
262
- dateRange?: any | null;
265
+ dateRange?: StatsFilterInputDateRange | null;
263
266
  }
264
267
 
265
268
  export interface AdminApiGetAdminDomainTransferDetailsRequest {
@@ -269,11 +272,11 @@ export interface AdminApiGetAdminDomainTransferDetailsRequest {
269
272
  export interface AdminApiGetAdminSalesByTldRequest {
270
273
  currency: string;
271
274
  accountId?: string;
272
- dateRange?: any | null;
275
+ dateRange?: StatsFilterInputDateRange | null;
273
276
  }
274
277
 
275
278
  export interface AdminApiGetAllAccountsSalesCountRequest {
276
- dateRange?: any | null;
279
+ dateRange?: StatsFilterInputDateRange | null;
277
280
  }
278
281
 
279
282
  export interface AdminApiGetAllAuctionsRequest {
@@ -333,7 +336,7 @@ export interface AdminApiGetAllSubscriptionsRequest {
333
336
  }
334
337
 
335
338
  export interface AdminApiGetCompanyStatsRequest {
336
- dateRange?: any | null;
339
+ dateRange?: StatsFilterInputDateRange | null;
337
340
  }
338
341
 
339
342
  export interface AdminApiGetDomainStatsRequest {
@@ -415,7 +418,7 @@ export interface AdminApiListLedgerMutationsRequest {
415
418
  ledgerId: string;
416
419
  page?: number;
417
420
  limit?: number;
418
- dateRange?: any | null;
421
+ dateRange?: StatsFilterInputDateRange | null;
419
422
  }
420
423
 
421
424
  export interface AdminApiLoginAsRequest {