@randock/nameshift-api-client 0.0.542 → 0.0.543

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.
@@ -408,6 +408,7 @@ src/models/LeadEnrichmentActivityDto.ts
408
408
  src/models/LeadEnrichmentCompanyDto.ts
409
409
  src/models/LeadEnrichmentDomainDto.ts
410
410
  src/models/LeadEnrichmentDomainFactsDto.ts
411
+ src/models/LeadEnrichmentDomainTrafficDto.ts
411
412
  src/models/LeadEnrichmentDomainVariantDto.ts
412
413
  src/models/LeadEnrichmentDto.ts
413
414
  src/models/LeadEnrichmentEmailDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.542
1
+ ## @randock/nameshift-api-client@0.0.543
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.542 --save
39
+ npm install @randock/nameshift-api-client@0.0.543 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- e6c2952ae7c804d3f91d13417a4a547d88927b479bbb0f0ab36cf87be15bc0bb95b06a4c3c7afbeb8605e5cfb41835f5
47
+ be5f54a682bca64691d7457fd1e1bdbb6ba9b410780fc2f4f405f3e4eb0a1a1bdbd9eda758137dbd6b4ec2b580f378bf
@@ -0,0 +1,56 @@
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 LeadEnrichmentDomainTrafficDto
16
+ */
17
+ export interface LeadEnrichmentDomainTrafficDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LeadEnrichmentDomainTrafficDto
22
+ */
23
+ status: string;
24
+ /**
25
+ * Whether the domain is in the Tranco list of the million busiest sites; null until the list has been read.
26
+ * @type {boolean}
27
+ * @memberof LeadEnrichmentDomainTrafficDto
28
+ */
29
+ ranked: boolean | null;
30
+ /**
31
+ * Best position over the last 30 days; lower is busier.
32
+ * @type {number}
33
+ * @memberof LeadEnrichmentDomainTrafficDto
34
+ */
35
+ bestRank: number | null;
36
+ /**
37
+ * Latest position in the last 30 days; lower is busier.
38
+ * @type {number}
39
+ * @memberof LeadEnrichmentDomainTrafficDto
40
+ */
41
+ latestRank: number | null;
42
+ /**
43
+ * When this record was last enriched.
44
+ * @type {string}
45
+ * @memberof LeadEnrichmentDomainTrafficDto
46
+ */
47
+ enrichedAt: string | null;
48
+ }
49
+ /**
50
+ * Check if a given object implements the LeadEnrichmentDomainTrafficDto interface.
51
+ */
52
+ export declare function instanceOfLeadEnrichmentDomainTrafficDto(value: object): value is LeadEnrichmentDomainTrafficDto;
53
+ export declare function LeadEnrichmentDomainTrafficDtoFromJSON(json: any): LeadEnrichmentDomainTrafficDto;
54
+ export declare function LeadEnrichmentDomainTrafficDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentDomainTrafficDto;
55
+ export declare function LeadEnrichmentDomainTrafficDtoToJSON(json: any): LeadEnrichmentDomainTrafficDto;
56
+ export declare function LeadEnrichmentDomainTrafficDtoToJSONTyped(value?: LeadEnrichmentDomainTrafficDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfLeadEnrichmentDomainTrafficDto = instanceOfLeadEnrichmentDomainTrafficDto;
17
+ exports.LeadEnrichmentDomainTrafficDtoFromJSON = LeadEnrichmentDomainTrafficDtoFromJSON;
18
+ exports.LeadEnrichmentDomainTrafficDtoFromJSONTyped = LeadEnrichmentDomainTrafficDtoFromJSONTyped;
19
+ exports.LeadEnrichmentDomainTrafficDtoToJSON = LeadEnrichmentDomainTrafficDtoToJSON;
20
+ exports.LeadEnrichmentDomainTrafficDtoToJSONTyped = LeadEnrichmentDomainTrafficDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadEnrichmentDomainTrafficDto interface.
23
+ */
24
+ function instanceOfLeadEnrichmentDomainTrafficDto(value) {
25
+ if (!('status' in value) || value['status'] === undefined)
26
+ return false;
27
+ if (!('ranked' in value) || value['ranked'] === undefined)
28
+ return false;
29
+ if (!('bestRank' in value) || value['bestRank'] === undefined)
30
+ return false;
31
+ if (!('latestRank' in value) || value['latestRank'] === undefined)
32
+ return false;
33
+ if (!('enrichedAt' in value) || value['enrichedAt'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function LeadEnrichmentDomainTrafficDtoFromJSON(json) {
38
+ return LeadEnrichmentDomainTrafficDtoFromJSONTyped(json, false);
39
+ }
40
+ function LeadEnrichmentDomainTrafficDtoFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'status': json['status'],
46
+ 'ranked': json['ranked'],
47
+ 'bestRank': json['bestRank'],
48
+ 'latestRank': json['latestRank'],
49
+ 'enrichedAt': json['enrichedAt'],
50
+ };
51
+ }
52
+ function LeadEnrichmentDomainTrafficDtoToJSON(json) {
53
+ return LeadEnrichmentDomainTrafficDtoToJSONTyped(json, false);
54
+ }
55
+ function LeadEnrichmentDomainTrafficDtoToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'status': value['status'],
62
+ 'ranked': value['ranked'],
63
+ 'bestRank': value['bestRank'],
64
+ 'latestRank': value['latestRank'],
65
+ 'enrichedAt': value['enrichedAt'],
66
+ };
67
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { LeadEnrichmentDomainTrafficDto } from './LeadEnrichmentDomainTrafficDto';
12
13
  import type { LeadEnrichmentPersonDto } from './LeadEnrichmentPersonDto';
13
14
  import type { LeadEnrichmentIpDto } from './LeadEnrichmentIpDto';
14
15
  import type { LeadEnrichmentEmailDto } from './LeadEnrichmentEmailDto';
@@ -96,6 +97,12 @@ export interface LeadEnrichmentDto {
96
97
  * @memberof LeadEnrichmentDto
97
98
  */
98
99
  domain: LeadEnrichmentDomainDto | null;
100
+ /**
101
+ * The traffic of the domain being sold, not of the buyer.
102
+ * @type {LeadEnrichmentDomainTrafficDto}
103
+ * @memberof LeadEnrichmentDto
104
+ */
105
+ domainTraffic: LeadEnrichmentDomainTrafficDto | null;
99
106
  /**
100
107
  * Sale-domain variants whose registry nameservers equal the buyer's email-domain nameservers — a hint the buyer already holds them. Empty when nothing matches or either side's nameservers are unknown; shared hosting makes it a hint, not proof.
101
108
  * @type {Array<string>}
@@ -18,6 +18,7 @@ exports.LeadEnrichmentDtoFromJSON = LeadEnrichmentDtoFromJSON;
18
18
  exports.LeadEnrichmentDtoFromJSONTyped = LeadEnrichmentDtoFromJSONTyped;
19
19
  exports.LeadEnrichmentDtoToJSON = LeadEnrichmentDtoToJSON;
20
20
  exports.LeadEnrichmentDtoToJSONTyped = LeadEnrichmentDtoToJSONTyped;
21
+ var LeadEnrichmentDomainTrafficDto_1 = require("./LeadEnrichmentDomainTrafficDto");
21
22
  var LeadEnrichmentPersonDto_1 = require("./LeadEnrichmentPersonDto");
22
23
  var LeadEnrichmentIpDto_1 = require("./LeadEnrichmentIpDto");
23
24
  var LeadEnrichmentEmailDto_1 = require("./LeadEnrichmentEmailDto");
@@ -55,6 +56,8 @@ function instanceOfLeadEnrichmentDto(value) {
55
56
  return false;
56
57
  if (!('domain' in value) || value['domain'] === undefined)
57
58
  return false;
59
+ if (!('domainTraffic' in value) || value['domainTraffic'] === undefined)
60
+ return false;
58
61
  if (!('buyerNameserverMatches' in value) || value['buyerNameserverMatches'] === undefined)
59
62
  return false;
60
63
  if (!('activity' in value) || value['activity'] === undefined)
@@ -81,6 +84,7 @@ function LeadEnrichmentDtoFromJSONTyped(json, ignoreDiscriminator) {
81
84
  'domainFacts': (0, LeadEnrichmentDomainFactsDto_1.LeadEnrichmentDomainFactsDtoFromJSON)(json['domainFacts']),
82
85
  'ip': (0, LeadEnrichmentIpDto_1.LeadEnrichmentIpDtoFromJSON)(json['ip']),
83
86
  'domain': (0, LeadEnrichmentDomainDto_1.LeadEnrichmentDomainDtoFromJSON)(json['domain']),
87
+ 'domainTraffic': (0, LeadEnrichmentDomainTrafficDto_1.LeadEnrichmentDomainTrafficDtoFromJSON)(json['domainTraffic']),
84
88
  'buyerNameserverMatches': json['buyerNameserverMatches'],
85
89
  'activity': (0, LeadEnrichmentActivityDto_1.LeadEnrichmentActivityDtoFromJSON)(json['activity']),
86
90
  };
@@ -106,6 +110,7 @@ function LeadEnrichmentDtoToJSONTyped(value, ignoreDiscriminator) {
106
110
  'domainFacts': (0, LeadEnrichmentDomainFactsDto_1.LeadEnrichmentDomainFactsDtoToJSON)(value['domainFacts']),
107
111
  'ip': (0, LeadEnrichmentIpDto_1.LeadEnrichmentIpDtoToJSON)(value['ip']),
108
112
  'domain': (0, LeadEnrichmentDomainDto_1.LeadEnrichmentDomainDtoToJSON)(value['domain']),
113
+ 'domainTraffic': (0, LeadEnrichmentDomainTrafficDto_1.LeadEnrichmentDomainTrafficDtoToJSON)(value['domainTraffic']),
109
114
  'buyerNameserverMatches': value['buyerNameserverMatches'],
110
115
  'activity': (0, LeadEnrichmentActivityDto_1.LeadEnrichmentActivityDtoToJSON)(value['activity']),
111
116
  };
@@ -361,6 +361,7 @@ export * from './LeadEnrichmentActivityDto';
361
361
  export * from './LeadEnrichmentCompanyDto';
362
362
  export * from './LeadEnrichmentDomainDto';
363
363
  export * from './LeadEnrichmentDomainFactsDto';
364
+ export * from './LeadEnrichmentDomainTrafficDto';
364
365
  export * from './LeadEnrichmentDomainVariantDto';
365
366
  export * from './LeadEnrichmentDto';
366
367
  export * from './LeadEnrichmentEmailDto';
@@ -379,6 +379,7 @@ __exportStar(require("./LeadEnrichmentActivityDto"), exports);
379
379
  __exportStar(require("./LeadEnrichmentCompanyDto"), exports);
380
380
  __exportStar(require("./LeadEnrichmentDomainDto"), exports);
381
381
  __exportStar(require("./LeadEnrichmentDomainFactsDto"), exports);
382
+ __exportStar(require("./LeadEnrichmentDomainTrafficDto"), exports);
382
383
  __exportStar(require("./LeadEnrichmentDomainVariantDto"), exports);
383
384
  __exportStar(require("./LeadEnrichmentDto"), exports);
384
385
  __exportStar(require("./LeadEnrichmentEmailDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.542",
3
+ "version": "0.0.543",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,102 @@
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 LeadEnrichmentDomainTrafficDto
20
+ */
21
+ export interface LeadEnrichmentDomainTrafficDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof LeadEnrichmentDomainTrafficDto
26
+ */
27
+ status: string;
28
+ /**
29
+ * Whether the domain is in the Tranco list of the million busiest sites; null until the list has been read.
30
+ * @type {boolean}
31
+ * @memberof LeadEnrichmentDomainTrafficDto
32
+ */
33
+ ranked: boolean | null;
34
+ /**
35
+ * Best position over the last 30 days; lower is busier.
36
+ * @type {number}
37
+ * @memberof LeadEnrichmentDomainTrafficDto
38
+ */
39
+ bestRank: number | null;
40
+ /**
41
+ * Latest position in the last 30 days; lower is busier.
42
+ * @type {number}
43
+ * @memberof LeadEnrichmentDomainTrafficDto
44
+ */
45
+ latestRank: number | null;
46
+ /**
47
+ * When this record was last enriched.
48
+ * @type {string}
49
+ * @memberof LeadEnrichmentDomainTrafficDto
50
+ */
51
+ enrichedAt: string | null;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the LeadEnrichmentDomainTrafficDto interface.
56
+ */
57
+ export function instanceOfLeadEnrichmentDomainTrafficDto(value: object): value is LeadEnrichmentDomainTrafficDto {
58
+ if (!('status' in value) || value['status'] === undefined) return false;
59
+ if (!('ranked' in value) || value['ranked'] === undefined) return false;
60
+ if (!('bestRank' in value) || value['bestRank'] === undefined) return false;
61
+ if (!('latestRank' in value) || value['latestRank'] === undefined) return false;
62
+ if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function LeadEnrichmentDomainTrafficDtoFromJSON(json: any): LeadEnrichmentDomainTrafficDto {
67
+ return LeadEnrichmentDomainTrafficDtoFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function LeadEnrichmentDomainTrafficDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentDomainTrafficDto {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'status': json['status'],
77
+ 'ranked': json['ranked'],
78
+ 'bestRank': json['bestRank'],
79
+ 'latestRank': json['latestRank'],
80
+ 'enrichedAt': json['enrichedAt'],
81
+ };
82
+ }
83
+
84
+ export function LeadEnrichmentDomainTrafficDtoToJSON(json: any): LeadEnrichmentDomainTrafficDto {
85
+ return LeadEnrichmentDomainTrafficDtoToJSONTyped(json, false);
86
+ }
87
+
88
+ export function LeadEnrichmentDomainTrafficDtoToJSONTyped(value?: LeadEnrichmentDomainTrafficDto | null, ignoreDiscriminator: boolean = false): any {
89
+ if (value == null) {
90
+ return value;
91
+ }
92
+
93
+ return {
94
+
95
+ 'status': value['status'],
96
+ 'ranked': value['ranked'],
97
+ 'bestRank': value['bestRank'],
98
+ 'latestRank': value['latestRank'],
99
+ 'enrichedAt': value['enrichedAt'],
100
+ };
101
+ }
102
+
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadEnrichmentDomainTrafficDto } from './LeadEnrichmentDomainTrafficDto';
17
+ import {
18
+ LeadEnrichmentDomainTrafficDtoFromJSON,
19
+ LeadEnrichmentDomainTrafficDtoFromJSONTyped,
20
+ LeadEnrichmentDomainTrafficDtoToJSON,
21
+ LeadEnrichmentDomainTrafficDtoToJSONTyped,
22
+ } from './LeadEnrichmentDomainTrafficDto';
16
23
  import type { LeadEnrichmentPersonDto } from './LeadEnrichmentPersonDto';
17
24
  import {
18
25
  LeadEnrichmentPersonDtoFromJSON,
@@ -155,6 +162,12 @@ export interface LeadEnrichmentDto {
155
162
  * @memberof LeadEnrichmentDto
156
163
  */
157
164
  domain: LeadEnrichmentDomainDto | null;
165
+ /**
166
+ * The traffic of the domain being sold, not of the buyer.
167
+ * @type {LeadEnrichmentDomainTrafficDto}
168
+ * @memberof LeadEnrichmentDto
169
+ */
170
+ domainTraffic: LeadEnrichmentDomainTrafficDto | null;
158
171
  /**
159
172
  * Sale-domain variants whose registry nameservers equal the buyer's email-domain nameservers — a hint the buyer already holds them. Empty when nothing matches or either side's nameservers are unknown; shared hosting makes it a hint, not proof.
160
173
  * @type {Array<string>}
@@ -185,6 +198,7 @@ export function instanceOfLeadEnrichmentDto(value: object): value is LeadEnrichm
185
198
  if (!('domainFacts' in value) || value['domainFacts'] === undefined) return false;
186
199
  if (!('ip' in value) || value['ip'] === undefined) return false;
187
200
  if (!('domain' in value) || value['domain'] === undefined) return false;
201
+ if (!('domainTraffic' in value) || value['domainTraffic'] === undefined) return false;
188
202
  if (!('buyerNameserverMatches' in value) || value['buyerNameserverMatches'] === undefined) return false;
189
203
  if (!('activity' in value) || value['activity'] === undefined) return false;
190
204
  return true;
@@ -212,6 +226,7 @@ export function LeadEnrichmentDtoFromJSONTyped(json: any, ignoreDiscriminator: b
212
226
  'domainFacts': LeadEnrichmentDomainFactsDtoFromJSON(json['domainFacts']),
213
227
  'ip': LeadEnrichmentIpDtoFromJSON(json['ip']),
214
228
  'domain': LeadEnrichmentDomainDtoFromJSON(json['domain']),
229
+ 'domainTraffic': LeadEnrichmentDomainTrafficDtoFromJSON(json['domainTraffic']),
215
230
  'buyerNameserverMatches': json['buyerNameserverMatches'],
216
231
  'activity': LeadEnrichmentActivityDtoFromJSON(json['activity']),
217
232
  };
@@ -240,6 +255,7 @@ export function LeadEnrichmentDtoToJSONTyped(value?: LeadEnrichmentDto | null, i
240
255
  'domainFacts': LeadEnrichmentDomainFactsDtoToJSON(value['domainFacts']),
241
256
  'ip': LeadEnrichmentIpDtoToJSON(value['ip']),
242
257
  'domain': LeadEnrichmentDomainDtoToJSON(value['domain']),
258
+ 'domainTraffic': LeadEnrichmentDomainTrafficDtoToJSON(value['domainTraffic']),
243
259
  'buyerNameserverMatches': value['buyerNameserverMatches'],
244
260
  'activity': LeadEnrichmentActivityDtoToJSON(value['activity']),
245
261
  };
@@ -363,6 +363,7 @@ export * from './LeadEnrichmentActivityDto';
363
363
  export * from './LeadEnrichmentCompanyDto';
364
364
  export * from './LeadEnrichmentDomainDto';
365
365
  export * from './LeadEnrichmentDomainFactsDto';
366
+ export * from './LeadEnrichmentDomainTrafficDto';
366
367
  export * from './LeadEnrichmentDomainVariantDto';
367
368
  export * from './LeadEnrichmentDto';
368
369
  export * from './LeadEnrichmentEmailDto';