@randock/nameshift-api-client 0.0.459 → 0.0.461

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 (81) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +3 -3
  3. package/dist/apis/DomainsApi.d.ts +43 -9
  4. package/dist/apis/DomainsApi.js +156 -10
  5. package/dist/apis/JobsApi.d.ts +51 -0
  6. package/dist/apis/JobsApi.js +222 -0
  7. package/dist/apis/LeadsApi.d.ts +14 -1
  8. package/dist/apis/LeadsApi.js +63 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/ApplyDomainEditInput.d.ts +40 -0
  12. package/dist/models/ApplyDomainEditInput.js +53 -0
  13. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  14. package/dist/models/BuyerNotificationDto.js +1 -0
  15. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  16. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  17. package/dist/models/DomainEditPreviewDto.d.ts +83 -0
  18. package/dist/models/DomainEditPreviewDto.js +84 -0
  19. package/dist/models/DomainEditPreviewRowDto.d.ts +60 -0
  20. package/dist/models/DomainEditPreviewRowDto.js +67 -0
  21. package/dist/models/FeatureFlagListItemDto.d.ts +2 -0
  22. package/dist/models/FeatureFlagListItemDto.js +3 -1
  23. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +2 -0
  24. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +3 -1
  25. package/dist/models/JobDto.d.ts +101 -0
  26. package/dist/models/JobDto.js +98 -0
  27. package/dist/models/JobFailureDto.d.ts +38 -0
  28. package/dist/models/JobFailureDto.js +55 -0
  29. package/dist/models/JobStatus.d.ts +27 -0
  30. package/dist/models/JobStatus.js +53 -0
  31. package/dist/models/JobType.d.ts +24 -0
  32. package/dist/models/JobType.js +50 -0
  33. package/dist/models/LeadEnrichmentCompanyDto.d.ts +68 -0
  34. package/dist/models/LeadEnrichmentCompanyDto.js +75 -0
  35. package/dist/models/LeadEnrichmentDto.d.ts +72 -0
  36. package/dist/models/LeadEnrichmentDto.js +79 -0
  37. package/dist/models/LeadEnrichmentEmailDto.d.ts +44 -0
  38. package/dist/models/LeadEnrichmentEmailDto.js +59 -0
  39. package/dist/models/LeadEnrichmentIpDto.d.ts +62 -0
  40. package/dist/models/LeadEnrichmentIpDto.js +71 -0
  41. package/dist/models/LeadEnrichmentWebResultDto.d.ts +44 -0
  42. package/dist/models/LeadEnrichmentWebResultDto.js +59 -0
  43. package/dist/models/ListJobs200Response.d.ts +47 -0
  44. package/dist/models/ListJobs200Response.js +62 -0
  45. package/dist/models/PreviewDomainEditInput.d.ts +38 -0
  46. package/dist/models/PreviewDomainEditInput.js +53 -0
  47. package/dist/models/PrivateAccountGetMeResponse.d.ts +2 -0
  48. package/dist/models/PrivateAccountGetMeResponse.js +3 -1
  49. package/dist/models/UserNotificationDto.d.ts +1 -0
  50. package/dist/models/UserNotificationDto.js +1 -0
  51. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  52. package/dist/models/UserNotificationListItemDto.js +1 -0
  53. package/dist/models/index.d.ts +14 -0
  54. package/dist/models/index.js +14 -0
  55. package/package.json +1 -1
  56. package/src/apis/DomainsApi.ts +154 -12
  57. package/src/apis/JobsApi.ts +163 -0
  58. package/src/apis/LeadsApi.ts +54 -0
  59. package/src/apis/index.ts +1 -0
  60. package/src/models/ApplyDomainEditInput.ts +74 -0
  61. package/src/models/BuyerNotificationDto.ts +1 -0
  62. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  63. package/src/models/DomainEditPreviewDto.ts +146 -0
  64. package/src/models/DomainEditPreviewRowDto.ts +102 -0
  65. package/src/models/FeatureFlagListItemDto.ts +3 -1
  66. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +3 -1
  67. package/src/models/JobDto.ts +189 -0
  68. package/src/models/JobFailureDto.ts +75 -0
  69. package/src/models/JobStatus.ts +55 -0
  70. package/src/models/JobType.ts +52 -0
  71. package/src/models/LeadEnrichmentCompanyDto.ts +120 -0
  72. package/src/models/LeadEnrichmentDto.ts +149 -0
  73. package/src/models/LeadEnrichmentEmailDto.ts +84 -0
  74. package/src/models/LeadEnrichmentIpDto.ts +111 -0
  75. package/src/models/LeadEnrichmentWebResultDto.ts +84 -0
  76. package/src/models/ListJobs200Response.ts +106 -0
  77. package/src/models/PreviewDomainEditInput.ts +74 -0
  78. package/src/models/PrivateAccountGetMeResponse.ts +3 -1
  79. package/src/models/UserNotificationDto.ts +1 -0
  80. package/src/models/UserNotificationListItemDto.ts +1 -0
  81. package/src/models/index.ts +14 -0
@@ -0,0 +1,68 @@
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 LeadEnrichmentCompanyDto
16
+ */
17
+ export interface LeadEnrichmentCompanyDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LeadEnrichmentCompanyDto
22
+ */
23
+ status: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LeadEnrichmentCompanyDto
28
+ */
29
+ legalName: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof LeadEnrichmentCompanyDto
34
+ */
35
+ tradeName: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof LeadEnrichmentCompanyDto
40
+ */
41
+ countryCode: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof LeadEnrichmentCompanyDto
46
+ */
47
+ vatId: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof LeadEnrichmentCompanyDto
52
+ */
53
+ registryId: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof LeadEnrichmentCompanyDto
58
+ */
59
+ domainRegisteredAt: string | null;
60
+ }
61
+ /**
62
+ * Check if a given object implements the LeadEnrichmentCompanyDto interface.
63
+ */
64
+ export declare function instanceOfLeadEnrichmentCompanyDto(value: object): value is LeadEnrichmentCompanyDto;
65
+ export declare function LeadEnrichmentCompanyDtoFromJSON(json: any): LeadEnrichmentCompanyDto;
66
+ export declare function LeadEnrichmentCompanyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentCompanyDto;
67
+ export declare function LeadEnrichmentCompanyDtoToJSON(json: any): LeadEnrichmentCompanyDto;
68
+ export declare function LeadEnrichmentCompanyDtoToJSONTyped(value?: LeadEnrichmentCompanyDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
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.instanceOfLeadEnrichmentCompanyDto = instanceOfLeadEnrichmentCompanyDto;
17
+ exports.LeadEnrichmentCompanyDtoFromJSON = LeadEnrichmentCompanyDtoFromJSON;
18
+ exports.LeadEnrichmentCompanyDtoFromJSONTyped = LeadEnrichmentCompanyDtoFromJSONTyped;
19
+ exports.LeadEnrichmentCompanyDtoToJSON = LeadEnrichmentCompanyDtoToJSON;
20
+ exports.LeadEnrichmentCompanyDtoToJSONTyped = LeadEnrichmentCompanyDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadEnrichmentCompanyDto interface.
23
+ */
24
+ function instanceOfLeadEnrichmentCompanyDto(value) {
25
+ if (!('status' in value) || value['status'] === undefined)
26
+ return false;
27
+ if (!('legalName' in value) || value['legalName'] === undefined)
28
+ return false;
29
+ if (!('tradeName' in value) || value['tradeName'] === undefined)
30
+ return false;
31
+ if (!('countryCode' in value) || value['countryCode'] === undefined)
32
+ return false;
33
+ if (!('vatId' in value) || value['vatId'] === undefined)
34
+ return false;
35
+ if (!('registryId' in value) || value['registryId'] === undefined)
36
+ return false;
37
+ if (!('domainRegisteredAt' in value) || value['domainRegisteredAt'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function LeadEnrichmentCompanyDtoFromJSON(json) {
42
+ return LeadEnrichmentCompanyDtoFromJSONTyped(json, false);
43
+ }
44
+ function LeadEnrichmentCompanyDtoFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'status': json['status'],
50
+ 'legalName': json['legalName'],
51
+ 'tradeName': json['tradeName'],
52
+ 'countryCode': json['countryCode'],
53
+ 'vatId': json['vatId'],
54
+ 'registryId': json['registryId'],
55
+ 'domainRegisteredAt': json['domainRegisteredAt'],
56
+ };
57
+ }
58
+ function LeadEnrichmentCompanyDtoToJSON(json) {
59
+ return LeadEnrichmentCompanyDtoToJSONTyped(json, false);
60
+ }
61
+ function LeadEnrichmentCompanyDtoToJSONTyped(value, ignoreDiscriminator) {
62
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'status': value['status'],
68
+ 'legalName': value['legalName'],
69
+ 'tradeName': value['tradeName'],
70
+ 'countryCode': value['countryCode'],
71
+ 'vatId': value['vatId'],
72
+ 'registryId': value['registryId'],
73
+ 'domainRegisteredAt': value['domainRegisteredAt'],
74
+ };
75
+ }
@@ -0,0 +1,72 @@
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 { LeadEnrichmentIpDto } from './LeadEnrichmentIpDto';
13
+ import type { LeadEnrichmentEmailDto } from './LeadEnrichmentEmailDto';
14
+ import type { LeadEnrichmentWebResultDto } from './LeadEnrichmentWebResultDto';
15
+ import type { LeadEnrichmentCompanyDto } from './LeadEnrichmentCompanyDto';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LeadEnrichmentDto
20
+ */
21
+ export interface LeadEnrichmentDto {
22
+ /**
23
+ * Whether any enrichment is held for this lead yet.
24
+ * @type {boolean}
25
+ * @memberof LeadEnrichmentDto
26
+ */
27
+ available: boolean;
28
+ /**
29
+ * Enrichment lifecycle status of the lead record.
30
+ * @type {string}
31
+ * @memberof LeadEnrichmentDto
32
+ */
33
+ status: string | null;
34
+ /**
35
+ * Summary of the buyer's public web footprint.
36
+ * @type {string}
37
+ * @memberof LeadEnrichmentDto
38
+ */
39
+ webSummary: string | null;
40
+ /**
41
+ *
42
+ * @type {Array<LeadEnrichmentWebResultDto>}
43
+ * @memberof LeadEnrichmentDto
44
+ */
45
+ webResults: Array<LeadEnrichmentWebResultDto>;
46
+ /**
47
+ *
48
+ * @type {LeadEnrichmentEmailDto}
49
+ * @memberof LeadEnrichmentDto
50
+ */
51
+ email: LeadEnrichmentEmailDto | null;
52
+ /**
53
+ *
54
+ * @type {LeadEnrichmentCompanyDto}
55
+ * @memberof LeadEnrichmentDto
56
+ */
57
+ company: LeadEnrichmentCompanyDto | null;
58
+ /**
59
+ *
60
+ * @type {LeadEnrichmentIpDto}
61
+ * @memberof LeadEnrichmentDto
62
+ */
63
+ ip: LeadEnrichmentIpDto | null;
64
+ }
65
+ /**
66
+ * Check if a given object implements the LeadEnrichmentDto interface.
67
+ */
68
+ export declare function instanceOfLeadEnrichmentDto(value: object): value is LeadEnrichmentDto;
69
+ export declare function LeadEnrichmentDtoFromJSON(json: any): LeadEnrichmentDto;
70
+ export declare function LeadEnrichmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentDto;
71
+ export declare function LeadEnrichmentDtoToJSON(json: any): LeadEnrichmentDto;
72
+ export declare function LeadEnrichmentDtoToJSONTyped(value?: LeadEnrichmentDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,79 @@
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.instanceOfLeadEnrichmentDto = instanceOfLeadEnrichmentDto;
17
+ exports.LeadEnrichmentDtoFromJSON = LeadEnrichmentDtoFromJSON;
18
+ exports.LeadEnrichmentDtoFromJSONTyped = LeadEnrichmentDtoFromJSONTyped;
19
+ exports.LeadEnrichmentDtoToJSON = LeadEnrichmentDtoToJSON;
20
+ exports.LeadEnrichmentDtoToJSONTyped = LeadEnrichmentDtoToJSONTyped;
21
+ var LeadEnrichmentIpDto_1 = require("./LeadEnrichmentIpDto");
22
+ var LeadEnrichmentEmailDto_1 = require("./LeadEnrichmentEmailDto");
23
+ var LeadEnrichmentWebResultDto_1 = require("./LeadEnrichmentWebResultDto");
24
+ var LeadEnrichmentCompanyDto_1 = require("./LeadEnrichmentCompanyDto");
25
+ /**
26
+ * Check if a given object implements the LeadEnrichmentDto interface.
27
+ */
28
+ function instanceOfLeadEnrichmentDto(value) {
29
+ if (!('available' in value) || value['available'] === undefined)
30
+ return false;
31
+ if (!('status' in value) || value['status'] === undefined)
32
+ return false;
33
+ if (!('webSummary' in value) || value['webSummary'] === undefined)
34
+ return false;
35
+ if (!('webResults' in value) || value['webResults'] === undefined)
36
+ return false;
37
+ if (!('email' in value) || value['email'] === undefined)
38
+ return false;
39
+ if (!('company' in value) || value['company'] === undefined)
40
+ return false;
41
+ if (!('ip' in value) || value['ip'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function LeadEnrichmentDtoFromJSON(json) {
46
+ return LeadEnrichmentDtoFromJSONTyped(json, false);
47
+ }
48
+ function LeadEnrichmentDtoFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'available': json['available'],
54
+ 'status': json['status'],
55
+ 'webSummary': json['webSummary'],
56
+ 'webResults': (json['webResults'].map(LeadEnrichmentWebResultDto_1.LeadEnrichmentWebResultDtoFromJSON)),
57
+ 'email': (0, LeadEnrichmentEmailDto_1.LeadEnrichmentEmailDtoFromJSON)(json['email']),
58
+ 'company': (0, LeadEnrichmentCompanyDto_1.LeadEnrichmentCompanyDtoFromJSON)(json['company']),
59
+ 'ip': (0, LeadEnrichmentIpDto_1.LeadEnrichmentIpDtoFromJSON)(json['ip']),
60
+ };
61
+ }
62
+ function LeadEnrichmentDtoToJSON(json) {
63
+ return LeadEnrichmentDtoToJSONTyped(json, false);
64
+ }
65
+ function LeadEnrichmentDtoToJSONTyped(value, ignoreDiscriminator) {
66
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'available': value['available'],
72
+ 'status': value['status'],
73
+ 'webSummary': value['webSummary'],
74
+ 'webResults': (value['webResults'].map(LeadEnrichmentWebResultDto_1.LeadEnrichmentWebResultDtoToJSON)),
75
+ 'email': (0, LeadEnrichmentEmailDto_1.LeadEnrichmentEmailDtoToJSON)(value['email']),
76
+ 'company': (0, LeadEnrichmentCompanyDto_1.LeadEnrichmentCompanyDtoToJSON)(value['company']),
77
+ 'ip': (0, LeadEnrichmentIpDto_1.LeadEnrichmentIpDtoToJSON)(value['ip']),
78
+ };
79
+ }
@@ -0,0 +1,44 @@
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 LeadEnrichmentEmailDto
16
+ */
17
+ export interface LeadEnrichmentEmailDto {
18
+ /**
19
+ * Whether the email uses a consumer mail provider.
20
+ * @type {boolean}
21
+ * @memberof LeadEnrichmentEmailDto
22
+ */
23
+ isFreeMail: boolean | null;
24
+ /**
25
+ * Whether the email uses a disposable/throwaway service.
26
+ * @type {boolean}
27
+ * @memberof LeadEnrichmentEmailDto
28
+ */
29
+ isDisposable: boolean | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof LeadEnrichmentEmailDto
34
+ */
35
+ webSummary: string | null;
36
+ }
37
+ /**
38
+ * Check if a given object implements the LeadEnrichmentEmailDto interface.
39
+ */
40
+ export declare function instanceOfLeadEnrichmentEmailDto(value: object): value is LeadEnrichmentEmailDto;
41
+ export declare function LeadEnrichmentEmailDtoFromJSON(json: any): LeadEnrichmentEmailDto;
42
+ export declare function LeadEnrichmentEmailDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentEmailDto;
43
+ export declare function LeadEnrichmentEmailDtoToJSON(json: any): LeadEnrichmentEmailDto;
44
+ export declare function LeadEnrichmentEmailDtoToJSONTyped(value?: LeadEnrichmentEmailDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfLeadEnrichmentEmailDto = instanceOfLeadEnrichmentEmailDto;
17
+ exports.LeadEnrichmentEmailDtoFromJSON = LeadEnrichmentEmailDtoFromJSON;
18
+ exports.LeadEnrichmentEmailDtoFromJSONTyped = LeadEnrichmentEmailDtoFromJSONTyped;
19
+ exports.LeadEnrichmentEmailDtoToJSON = LeadEnrichmentEmailDtoToJSON;
20
+ exports.LeadEnrichmentEmailDtoToJSONTyped = LeadEnrichmentEmailDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadEnrichmentEmailDto interface.
23
+ */
24
+ function instanceOfLeadEnrichmentEmailDto(value) {
25
+ if (!('isFreeMail' in value) || value['isFreeMail'] === undefined)
26
+ return false;
27
+ if (!('isDisposable' in value) || value['isDisposable'] === undefined)
28
+ return false;
29
+ if (!('webSummary' in value) || value['webSummary'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function LeadEnrichmentEmailDtoFromJSON(json) {
34
+ return LeadEnrichmentEmailDtoFromJSONTyped(json, false);
35
+ }
36
+ function LeadEnrichmentEmailDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'isFreeMail': json['isFreeMail'],
42
+ 'isDisposable': json['isDisposable'],
43
+ 'webSummary': json['webSummary'],
44
+ };
45
+ }
46
+ function LeadEnrichmentEmailDtoToJSON(json) {
47
+ return LeadEnrichmentEmailDtoToJSONTyped(json, false);
48
+ }
49
+ function LeadEnrichmentEmailDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'isFreeMail': value['isFreeMail'],
56
+ 'isDisposable': value['isDisposable'],
57
+ 'webSummary': value['webSummary'],
58
+ };
59
+ }
@@ -0,0 +1,62 @@
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 LeadEnrichmentIpDto
16
+ */
17
+ export interface LeadEnrichmentIpDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LeadEnrichmentIpDto
22
+ */
23
+ org: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LeadEnrichmentIpDto
28
+ */
29
+ asnOrg: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof LeadEnrichmentIpDto
34
+ */
35
+ countryCode: string | null;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof LeadEnrichmentIpDto
40
+ */
41
+ isHosting: boolean | null;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof LeadEnrichmentIpDto
46
+ */
47
+ isVpn: boolean | null;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof LeadEnrichmentIpDto
52
+ */
53
+ isTor: boolean | null;
54
+ }
55
+ /**
56
+ * Check if a given object implements the LeadEnrichmentIpDto interface.
57
+ */
58
+ export declare function instanceOfLeadEnrichmentIpDto(value: object): value is LeadEnrichmentIpDto;
59
+ export declare function LeadEnrichmentIpDtoFromJSON(json: any): LeadEnrichmentIpDto;
60
+ export declare function LeadEnrichmentIpDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentIpDto;
61
+ export declare function LeadEnrichmentIpDtoToJSON(json: any): LeadEnrichmentIpDto;
62
+ export declare function LeadEnrichmentIpDtoToJSONTyped(value?: LeadEnrichmentIpDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
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.instanceOfLeadEnrichmentIpDto = instanceOfLeadEnrichmentIpDto;
17
+ exports.LeadEnrichmentIpDtoFromJSON = LeadEnrichmentIpDtoFromJSON;
18
+ exports.LeadEnrichmentIpDtoFromJSONTyped = LeadEnrichmentIpDtoFromJSONTyped;
19
+ exports.LeadEnrichmentIpDtoToJSON = LeadEnrichmentIpDtoToJSON;
20
+ exports.LeadEnrichmentIpDtoToJSONTyped = LeadEnrichmentIpDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadEnrichmentIpDto interface.
23
+ */
24
+ function instanceOfLeadEnrichmentIpDto(value) {
25
+ if (!('org' in value) || value['org'] === undefined)
26
+ return false;
27
+ if (!('asnOrg' in value) || value['asnOrg'] === undefined)
28
+ return false;
29
+ if (!('countryCode' in value) || value['countryCode'] === undefined)
30
+ return false;
31
+ if (!('isHosting' in value) || value['isHosting'] === undefined)
32
+ return false;
33
+ if (!('isVpn' in value) || value['isVpn'] === undefined)
34
+ return false;
35
+ if (!('isTor' in value) || value['isTor'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function LeadEnrichmentIpDtoFromJSON(json) {
40
+ return LeadEnrichmentIpDtoFromJSONTyped(json, false);
41
+ }
42
+ function LeadEnrichmentIpDtoFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'org': json['org'],
48
+ 'asnOrg': json['asnOrg'],
49
+ 'countryCode': json['countryCode'],
50
+ 'isHosting': json['isHosting'],
51
+ 'isVpn': json['isVpn'],
52
+ 'isTor': json['isTor'],
53
+ };
54
+ }
55
+ function LeadEnrichmentIpDtoToJSON(json) {
56
+ return LeadEnrichmentIpDtoToJSONTyped(json, false);
57
+ }
58
+ function LeadEnrichmentIpDtoToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'org': value['org'],
65
+ 'asnOrg': value['asnOrg'],
66
+ 'countryCode': value['countryCode'],
67
+ 'isHosting': value['isHosting'],
68
+ 'isVpn': value['isVpn'],
69
+ 'isTor': value['isTor'],
70
+ };
71
+ }
@@ -0,0 +1,44 @@
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 LeadEnrichmentWebResultDto
16
+ */
17
+ export interface LeadEnrichmentWebResultDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LeadEnrichmentWebResultDto
22
+ */
23
+ title: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LeadEnrichmentWebResultDto
28
+ */
29
+ url: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof LeadEnrichmentWebResultDto
34
+ */
35
+ snippet: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the LeadEnrichmentWebResultDto interface.
39
+ */
40
+ export declare function instanceOfLeadEnrichmentWebResultDto(value: object): value is LeadEnrichmentWebResultDto;
41
+ export declare function LeadEnrichmentWebResultDtoFromJSON(json: any): LeadEnrichmentWebResultDto;
42
+ export declare function LeadEnrichmentWebResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentWebResultDto;
43
+ export declare function LeadEnrichmentWebResultDtoToJSON(json: any): LeadEnrichmentWebResultDto;
44
+ export declare function LeadEnrichmentWebResultDtoToJSONTyped(value?: LeadEnrichmentWebResultDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfLeadEnrichmentWebResultDto = instanceOfLeadEnrichmentWebResultDto;
17
+ exports.LeadEnrichmentWebResultDtoFromJSON = LeadEnrichmentWebResultDtoFromJSON;
18
+ exports.LeadEnrichmentWebResultDtoFromJSONTyped = LeadEnrichmentWebResultDtoFromJSONTyped;
19
+ exports.LeadEnrichmentWebResultDtoToJSON = LeadEnrichmentWebResultDtoToJSON;
20
+ exports.LeadEnrichmentWebResultDtoToJSONTyped = LeadEnrichmentWebResultDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadEnrichmentWebResultDto interface.
23
+ */
24
+ function instanceOfLeadEnrichmentWebResultDto(value) {
25
+ if (!('title' in value) || value['title'] === undefined)
26
+ return false;
27
+ if (!('url' in value) || value['url'] === undefined)
28
+ return false;
29
+ if (!('snippet' in value) || value['snippet'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function LeadEnrichmentWebResultDtoFromJSON(json) {
34
+ return LeadEnrichmentWebResultDtoFromJSONTyped(json, false);
35
+ }
36
+ function LeadEnrichmentWebResultDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'title': json['title'],
42
+ 'url': json['url'],
43
+ 'snippet': json['snippet'],
44
+ };
45
+ }
46
+ function LeadEnrichmentWebResultDtoToJSON(json) {
47
+ return LeadEnrichmentWebResultDtoToJSONTyped(json, false);
48
+ }
49
+ function LeadEnrichmentWebResultDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'title': value['title'],
56
+ 'url': value['url'],
57
+ 'snippet': value['snippet'],
58
+ };
59
+ }