@randock/nameshift-api-client 0.0.460 → 0.0.462

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 (45) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +3 -3
  3. package/dist/apis/LeadsApi.d.ts +14 -1
  4. package/dist/apis/LeadsApi.js +63 -0
  5. package/dist/models/BuyerAcceptanceEnum.d.ts +27 -0
  6. package/dist/models/BuyerAcceptanceEnum.js +53 -0
  7. package/dist/models/BuyerDto.d.ts +27 -0
  8. package/dist/models/BuyerDto.js +19 -0
  9. package/dist/models/BuyerExperienceEnum.d.ts +26 -0
  10. package/dist/models/BuyerExperienceEnum.js +52 -0
  11. package/dist/models/BuyerPaymentEnum.d.ts +27 -0
  12. package/dist/models/BuyerPaymentEnum.js +53 -0
  13. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  14. package/dist/models/FeatureFlagListItemDto.js +2 -1
  15. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  16. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  17. package/dist/models/LeadEnrichmentCompanyDto.d.ts +68 -0
  18. package/dist/models/LeadEnrichmentCompanyDto.js +75 -0
  19. package/dist/models/LeadEnrichmentDto.d.ts +72 -0
  20. package/dist/models/LeadEnrichmentDto.js +79 -0
  21. package/dist/models/LeadEnrichmentEmailDto.d.ts +44 -0
  22. package/dist/models/LeadEnrichmentEmailDto.js +59 -0
  23. package/dist/models/LeadEnrichmentIpDto.d.ts +62 -0
  24. package/dist/models/LeadEnrichmentIpDto.js +71 -0
  25. package/dist/models/LeadEnrichmentWebResultDto.d.ts +44 -0
  26. package/dist/models/LeadEnrichmentWebResultDto.js +59 -0
  27. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  28. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  29. package/dist/models/index.d.ts +8 -0
  30. package/dist/models/index.js +8 -0
  31. package/package.json +1 -1
  32. package/src/apis/LeadsApi.ts +54 -0
  33. package/src/models/BuyerAcceptanceEnum.ts +55 -0
  34. package/src/models/BuyerDto.ts +60 -0
  35. package/src/models/BuyerExperienceEnum.ts +54 -0
  36. package/src/models/BuyerPaymentEnum.ts +55 -0
  37. package/src/models/FeatureFlagListItemDto.ts +2 -1
  38. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  39. package/src/models/LeadEnrichmentCompanyDto.ts +120 -0
  40. package/src/models/LeadEnrichmentDto.ts +149 -0
  41. package/src/models/LeadEnrichmentEmailDto.ts +84 -0
  42. package/src/models/LeadEnrichmentIpDto.ts +111 -0
  43. package/src/models/LeadEnrichmentWebResultDto.ts +84 -0
  44. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  45. package/src/models/index.ts +8 -0
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LeadEnrichmentEmailDto
20
+ */
21
+ export interface LeadEnrichmentEmailDto {
22
+ /**
23
+ * Whether the email uses a consumer mail provider.
24
+ * @type {boolean}
25
+ * @memberof LeadEnrichmentEmailDto
26
+ */
27
+ isFreeMail: boolean | null;
28
+ /**
29
+ * Whether the email uses a disposable/throwaway service.
30
+ * @type {boolean}
31
+ * @memberof LeadEnrichmentEmailDto
32
+ */
33
+ isDisposable: boolean | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof LeadEnrichmentEmailDto
38
+ */
39
+ webSummary: string | null;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the LeadEnrichmentEmailDto interface.
44
+ */
45
+ export function instanceOfLeadEnrichmentEmailDto(value: object): value is LeadEnrichmentEmailDto {
46
+ if (!('isFreeMail' in value) || value['isFreeMail'] === undefined) return false;
47
+ if (!('isDisposable' in value) || value['isDisposable'] === undefined) return false;
48
+ if (!('webSummary' in value) || value['webSummary'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function LeadEnrichmentEmailDtoFromJSON(json: any): LeadEnrichmentEmailDto {
53
+ return LeadEnrichmentEmailDtoFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function LeadEnrichmentEmailDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentEmailDto {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'isFreeMail': json['isFreeMail'],
63
+ 'isDisposable': json['isDisposable'],
64
+ 'webSummary': json['webSummary'],
65
+ };
66
+ }
67
+
68
+ export function LeadEnrichmentEmailDtoToJSON(json: any): LeadEnrichmentEmailDto {
69
+ return LeadEnrichmentEmailDtoToJSONTyped(json, false);
70
+ }
71
+
72
+ export function LeadEnrichmentEmailDtoToJSONTyped(value?: LeadEnrichmentEmailDto | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'isFreeMail': value['isFreeMail'],
80
+ 'isDisposable': value['isDisposable'],
81
+ 'webSummary': value['webSummary'],
82
+ };
83
+ }
84
+
@@ -0,0 +1,111 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LeadEnrichmentIpDto
20
+ */
21
+ export interface LeadEnrichmentIpDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof LeadEnrichmentIpDto
26
+ */
27
+ org: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof LeadEnrichmentIpDto
32
+ */
33
+ asnOrg: string | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof LeadEnrichmentIpDto
38
+ */
39
+ countryCode: string | null;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof LeadEnrichmentIpDto
44
+ */
45
+ isHosting: boolean | null;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof LeadEnrichmentIpDto
50
+ */
51
+ isVpn: boolean | null;
52
+ /**
53
+ *
54
+ * @type {boolean}
55
+ * @memberof LeadEnrichmentIpDto
56
+ */
57
+ isTor: boolean | null;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the LeadEnrichmentIpDto interface.
62
+ */
63
+ export function instanceOfLeadEnrichmentIpDto(value: object): value is LeadEnrichmentIpDto {
64
+ if (!('org' in value) || value['org'] === undefined) return false;
65
+ if (!('asnOrg' in value) || value['asnOrg'] === undefined) return false;
66
+ if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
67
+ if (!('isHosting' in value) || value['isHosting'] === undefined) return false;
68
+ if (!('isVpn' in value) || value['isVpn'] === undefined) return false;
69
+ if (!('isTor' in value) || value['isTor'] === undefined) return false;
70
+ return true;
71
+ }
72
+
73
+ export function LeadEnrichmentIpDtoFromJSON(json: any): LeadEnrichmentIpDto {
74
+ return LeadEnrichmentIpDtoFromJSONTyped(json, false);
75
+ }
76
+
77
+ export function LeadEnrichmentIpDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentIpDto {
78
+ if (json == null) {
79
+ return json;
80
+ }
81
+ return {
82
+
83
+ 'org': json['org'],
84
+ 'asnOrg': json['asnOrg'],
85
+ 'countryCode': json['countryCode'],
86
+ 'isHosting': json['isHosting'],
87
+ 'isVpn': json['isVpn'],
88
+ 'isTor': json['isTor'],
89
+ };
90
+ }
91
+
92
+ export function LeadEnrichmentIpDtoToJSON(json: any): LeadEnrichmentIpDto {
93
+ return LeadEnrichmentIpDtoToJSONTyped(json, false);
94
+ }
95
+
96
+ export function LeadEnrichmentIpDtoToJSONTyped(value?: LeadEnrichmentIpDto | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'org': value['org'],
104
+ 'asnOrg': value['asnOrg'],
105
+ 'countryCode': value['countryCode'],
106
+ 'isHosting': value['isHosting'],
107
+ 'isVpn': value['isVpn'],
108
+ 'isTor': value['isTor'],
109
+ };
110
+ }
111
+
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LeadEnrichmentWebResultDto
20
+ */
21
+ export interface LeadEnrichmentWebResultDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof LeadEnrichmentWebResultDto
26
+ */
27
+ title: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof LeadEnrichmentWebResultDto
32
+ */
33
+ url: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof LeadEnrichmentWebResultDto
38
+ */
39
+ snippet: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the LeadEnrichmentWebResultDto interface.
44
+ */
45
+ export function instanceOfLeadEnrichmentWebResultDto(value: object): value is LeadEnrichmentWebResultDto {
46
+ if (!('title' in value) || value['title'] === undefined) return false;
47
+ if (!('url' in value) || value['url'] === undefined) return false;
48
+ if (!('snippet' in value) || value['snippet'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function LeadEnrichmentWebResultDtoFromJSON(json: any): LeadEnrichmentWebResultDto {
53
+ return LeadEnrichmentWebResultDtoFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function LeadEnrichmentWebResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentWebResultDto {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'title': json['title'],
63
+ 'url': json['url'],
64
+ 'snippet': json['snippet'],
65
+ };
66
+ }
67
+
68
+ export function LeadEnrichmentWebResultDtoToJSON(json: any): LeadEnrichmentWebResultDto {
69
+ return LeadEnrichmentWebResultDtoToJSONTyped(json, false);
70
+ }
71
+
72
+ export function LeadEnrichmentWebResultDtoToJSONTyped(value?: LeadEnrichmentWebResultDto | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'title': value['title'],
80
+ 'url': value['url'],
81
+ 'snippet': value['snippet'],
82
+ };
83
+ }
84
+
@@ -187,7 +187,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
187
187
  USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
188
188
  AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
189
189
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
190
- AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT'
190
+ AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
191
+ LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
191
192
  } as const;
192
193
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
193
194
 
@@ -104,6 +104,7 @@ export * from './BulkDownloadInvoicesInput';
104
104
  export * from './BulkMarkBuyerNotificationsAsReadInputDto';
105
105
  export * from './BulkMarkNotificationsAsReadInputDto';
106
106
  export * from './BulkUpdateDomainsWithFiltersInput';
107
+ export * from './BuyerAcceptanceEnum';
107
108
  export * from './BuyerAccessTokenDto';
108
109
  export * from './BuyerAuctionDetailDto';
109
110
  export * from './BuyerAuctionDetailDtoDomain';
@@ -117,6 +118,7 @@ export * from './BuyerDomainTransferAuthCodeDto';
117
118
  export * from './BuyerDomainTransferListItemDomainDto';
118
119
  export * from './BuyerDomainTransferListItemDto';
119
120
  export * from './BuyerDto';
121
+ export * from './BuyerExperienceEnum';
120
122
  export * from './BuyerInvoiceDomainDto';
121
123
  export * from './BuyerInvoiceDto';
122
124
  export * from './BuyerInvoiceSellerAccountDto';
@@ -126,6 +128,7 @@ export * from './BuyerNotificationAttachmentDto';
126
128
  export * from './BuyerNotificationDto';
127
129
  export * from './BuyerNotificationListItemDto';
128
130
  export * from './BuyerNotificationSettingsDto';
131
+ export * from './BuyerPaymentEnum';
129
132
  export * from './BuyerSecurityUserDto';
130
133
  export * from './BuyerSessionDto';
131
134
  export * from './BuyerSubscriptionListItemDto';
@@ -290,6 +293,11 @@ export * from './LandingPageSettingsDto';
290
293
  export * from './LeadBuyerConfigDto';
291
294
  export * from './LeadDomainDto';
292
295
  export * from './LeadDto';
296
+ export * from './LeadEnrichmentCompanyDto';
297
+ export * from './LeadEnrichmentDto';
298
+ export * from './LeadEnrichmentEmailDto';
299
+ export * from './LeadEnrichmentIpDto';
300
+ export * from './LeadEnrichmentWebResultDto';
293
301
  export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
294
302
  export * from './LeadLeaseToOwnConfigurationDto';
295
303
  export * from './LeadMessageData';