@randock/nameshift-api-client 0.0.502 → 0.0.503

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 (38) hide show
  1. package/.openapi-generator/FILES +3 -1
  2. package/README.md +3 -3
  3. package/dist/apis/PartnerApi.d.ts +14 -1
  4. package/dist/apis/PartnerApi.js +53 -0
  5. package/dist/models/PartnerDomainSeoMetricsDto.d.ts +40 -0
  6. package/dist/models/PartnerDomainSeoMetricsDto.js +57 -0
  7. package/dist/models/PartnerMajesticMetricsDto.d.ts +56 -0
  8. package/dist/models/PartnerMajesticMetricsDto.js +67 -0
  9. package/dist/models/PartnerMozMetricsDto.d.ts +62 -0
  10. package/dist/models/PartnerMozMetricsDto.js +71 -0
  11. package/dist/models/index.d.ts +3 -1
  12. package/dist/models/index.js +3 -1
  13. package/package.json +1 -1
  14. package/src/apis/AccountsApi.ts +0 -3
  15. package/src/apis/AccountsPublicApi.ts +0 -3
  16. package/src/apis/AdminApi.ts +0 -3
  17. package/src/apis/AuctionsApi.ts +0 -3
  18. package/src/apis/BuyersApi.ts +0 -3
  19. package/src/apis/CustomerSuccessApi.ts +0 -3
  20. package/src/apis/DomainAppraisalRequestsApi.ts +0 -3
  21. package/src/apis/DomainAppraisalRequestsPublicApi.ts +0 -3
  22. package/src/apis/DomainsApi.ts +0 -3
  23. package/src/apis/DomainsPublicApi.ts +0 -3
  24. package/src/apis/InvoicesApi.ts +0 -3
  25. package/src/apis/JobsApi.ts +0 -3
  26. package/src/apis/LeadsPublicApi.ts +0 -3
  27. package/src/apis/NotificationsApi.ts +0 -3
  28. package/src/apis/OrdersPublicApi.ts +0 -3
  29. package/src/apis/PartnerApi.ts +46 -0
  30. package/src/apis/SubscriptionsPublicApi.ts +0 -3
  31. package/src/apis/UsersPublicApi.ts +0 -3
  32. package/src/models/PartnerDomainSeoMetricsDto.ts +90 -0
  33. package/src/models/PartnerMajesticMetricsDto.ts +102 -0
  34. package/src/models/PartnerMozMetricsDto.ts +111 -0
  35. package/src/models/index.ts +3 -1
  36. package/dist/models/NotFoundException.d.ts +0 -44
  37. package/dist/models/NotFoundException.js +0 -59
  38. package/src/models/NotFoundException.ts +0 -84
@@ -447,7 +447,6 @@ src/models/MoneyDecimalDto.ts
447
447
  src/models/MoneyDto.ts
448
448
  src/models/MoneyInput.ts
449
449
  src/models/MozMetrics.ts
450
- src/models/NotFoundException.ts
451
450
  src/models/NotificationsUnsubscribeResultDto.ts
452
451
  src/models/ObjectId.ts
453
452
  src/models/OrderCompanyInfoDto.ts
@@ -467,6 +466,9 @@ src/models/PaginateResponseMeta.ts
467
466
  src/models/ParsedDomainDto.ts
468
467
  src/models/PartnerAuctionDto.ts
469
468
  src/models/PartnerDomainFindDto.ts
469
+ src/models/PartnerDomainSeoMetricsDto.ts
470
+ src/models/PartnerMajesticMetricsDto.ts
471
+ src/models/PartnerMozMetricsDto.ts
470
472
  src/models/PayAccountPaymentInput.ts
471
473
  src/models/PaySellerInvoicesInput.ts
472
474
  src/models/PaymentMethodsStatsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.502
1
+ ## @randock/nameshift-api-client@0.0.503
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.502 --save
39
+ npm install @randock/nameshift-api-client@0.0.503 --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
- fa626d465331cc8fb3dcf27129addb89f3209e7e82df1ab2fb5bfc36fd66e16110d9f706919984a83a3e314fe4445eda
47
+ 71598304128c0fc2dbba3690a9ae35a91d3ddc67ca4bc97ff690dfedffbec90b1a70aa7c56ee27275dfeb8df23fe3623
@@ -10,11 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ListAuctions200Response, ListDomainsWithUpdatedPricing200Response, PartnerDomainFindDto } from '../models/index';
13
+ import type { ListAuctions200Response, ListDomainsWithUpdatedPricing200Response, PartnerDomainFindDto, PartnerDomainSeoMetricsDto } from '../models/index';
14
14
  export interface PartnerApiDomainsFindRequest {
15
15
  rootName: string;
16
16
  tld?: string;
17
17
  }
18
+ export interface PartnerApiGetPartnerDomainSeoMetricsRequest {
19
+ domainName: string;
20
+ }
18
21
  export interface PartnerApiListAuctionsRequest {
19
22
  limit?: number;
20
23
  cursor?: string;
@@ -38,6 +41,16 @@ export declare class PartnerApi extends runtime.BaseAPI {
38
41
  * Find domains by root name
39
42
  */
40
43
  domainsFind(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerDomainFindDto>>;
44
+ /**
45
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
46
+ * Get the SEO metrics of a domain
47
+ */
48
+ getPartnerDomainSeoMetricsRaw(requestParameters: PartnerApiGetPartnerDomainSeoMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerDomainSeoMetricsDto>>;
49
+ /**
50
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
51
+ * Get the SEO metrics of a domain
52
+ */
53
+ getPartnerDomainSeoMetrics(requestParameters: PartnerApiGetPartnerDomainSeoMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerDomainSeoMetricsDto>;
41
54
  /**
42
55
  * Lists auctions available to the partner API key.
43
56
  * List partner auctions
@@ -131,6 +131,59 @@ var PartnerApi = /** @class */ (function (_super) {
131
131
  });
132
132
  });
133
133
  };
134
+ /**
135
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
136
+ * Get the SEO metrics of a domain
137
+ */
138
+ PartnerApi.prototype.getPartnerDomainSeoMetricsRaw = function (requestParameters, initOverrides) {
139
+ return __awaiter(this, void 0, void 0, function () {
140
+ var queryParameters, headerParameters, _a, _b, response;
141
+ return __generator(this, function (_c) {
142
+ switch (_c.label) {
143
+ case 0:
144
+ if (requestParameters['domainName'] == null) {
145
+ throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling getPartnerDomainSeoMetrics().');
146
+ }
147
+ queryParameters = {};
148
+ headerParameters = {};
149
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
150
+ _a = headerParameters;
151
+ _b = "apikey";
152
+ return [4 /*yield*/, this.configuration.apiKey("apikey")];
153
+ case 1:
154
+ _a[_b] = _c.sent(); // api_key authentication
155
+ _c.label = 2;
156
+ case 2: return [4 /*yield*/, this.request({
157
+ path: "/partner/domains/by-name/{domainName}/seo-metrics".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
158
+ method: 'GET',
159
+ headers: headerParameters,
160
+ query: queryParameters,
161
+ }, initOverrides)];
162
+ case 3:
163
+ response = _c.sent();
164
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PartnerDomainSeoMetricsDtoFromJSON)(jsonValue); })];
165
+ }
166
+ });
167
+ });
168
+ };
169
+ /**
170
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
171
+ * Get the SEO metrics of a domain
172
+ */
173
+ PartnerApi.prototype.getPartnerDomainSeoMetrics = function (requestParameters, initOverrides) {
174
+ return __awaiter(this, void 0, void 0, function () {
175
+ var response;
176
+ return __generator(this, function (_a) {
177
+ switch (_a.label) {
178
+ case 0: return [4 /*yield*/, this.getPartnerDomainSeoMetricsRaw(requestParameters, initOverrides)];
179
+ case 1:
180
+ response = _a.sent();
181
+ return [4 /*yield*/, response.value()];
182
+ case 2: return [2 /*return*/, _a.sent()];
183
+ }
184
+ });
185
+ });
186
+ };
134
187
  /**
135
188
  * Lists auctions available to the partner API key.
136
189
  * List partner auctions
@@ -0,0 +1,40 @@
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 { PartnerMajesticMetricsDto } from './PartnerMajesticMetricsDto';
13
+ import type { PartnerMozMetricsDto } from './PartnerMozMetricsDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PartnerDomainSeoMetricsDto
18
+ */
19
+ export interface PartnerDomainSeoMetricsDto {
20
+ /**
21
+ * Moz metrics, or null when Moz has none for the domain.
22
+ * @type {PartnerMozMetricsDto}
23
+ * @memberof PartnerDomainSeoMetricsDto
24
+ */
25
+ moz: PartnerMozMetricsDto | null;
26
+ /**
27
+ * Majestic metrics, or null when Majestic has none for the domain.
28
+ * @type {PartnerMajesticMetricsDto}
29
+ * @memberof PartnerDomainSeoMetricsDto
30
+ */
31
+ majestic: PartnerMajesticMetricsDto | null;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PartnerDomainSeoMetricsDto interface.
35
+ */
36
+ export declare function instanceOfPartnerDomainSeoMetricsDto(value: object): value is PartnerDomainSeoMetricsDto;
37
+ export declare function PartnerDomainSeoMetricsDtoFromJSON(json: any): PartnerDomainSeoMetricsDto;
38
+ export declare function PartnerDomainSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerDomainSeoMetricsDto;
39
+ export declare function PartnerDomainSeoMetricsDtoToJSON(json: any): PartnerDomainSeoMetricsDto;
40
+ export declare function PartnerDomainSeoMetricsDtoToJSONTyped(value?: PartnerDomainSeoMetricsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfPartnerDomainSeoMetricsDto = instanceOfPartnerDomainSeoMetricsDto;
17
+ exports.PartnerDomainSeoMetricsDtoFromJSON = PartnerDomainSeoMetricsDtoFromJSON;
18
+ exports.PartnerDomainSeoMetricsDtoFromJSONTyped = PartnerDomainSeoMetricsDtoFromJSONTyped;
19
+ exports.PartnerDomainSeoMetricsDtoToJSON = PartnerDomainSeoMetricsDtoToJSON;
20
+ exports.PartnerDomainSeoMetricsDtoToJSONTyped = PartnerDomainSeoMetricsDtoToJSONTyped;
21
+ var PartnerMajesticMetricsDto_1 = require("./PartnerMajesticMetricsDto");
22
+ var PartnerMozMetricsDto_1 = require("./PartnerMozMetricsDto");
23
+ /**
24
+ * Check if a given object implements the PartnerDomainSeoMetricsDto interface.
25
+ */
26
+ function instanceOfPartnerDomainSeoMetricsDto(value) {
27
+ if (!('moz' in value) || value['moz'] === undefined)
28
+ return false;
29
+ if (!('majestic' in value) || value['majestic'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function PartnerDomainSeoMetricsDtoFromJSON(json) {
34
+ return PartnerDomainSeoMetricsDtoFromJSONTyped(json, false);
35
+ }
36
+ function PartnerDomainSeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'moz': (0, PartnerMozMetricsDto_1.PartnerMozMetricsDtoFromJSON)(json['moz']),
42
+ 'majestic': (0, PartnerMajesticMetricsDto_1.PartnerMajesticMetricsDtoFromJSON)(json['majestic']),
43
+ };
44
+ }
45
+ function PartnerDomainSeoMetricsDtoToJSON(json) {
46
+ return PartnerDomainSeoMetricsDtoToJSONTyped(json, false);
47
+ }
48
+ function PartnerDomainSeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'moz': (0, PartnerMozMetricsDto_1.PartnerMozMetricsDtoToJSON)(value['moz']),
55
+ 'majestic': (0, PartnerMajesticMetricsDto_1.PartnerMajesticMetricsDtoToJSON)(value['majestic']),
56
+ };
57
+ }
@@ -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 PartnerMajesticMetricsDto
16
+ */
17
+ export interface PartnerMajesticMetricsDto {
18
+ /**
19
+ * Majestic trust flow.
20
+ * @type {number}
21
+ * @memberof PartnerMajesticMetricsDto
22
+ */
23
+ trustFlow: number | null;
24
+ /**
25
+ * Majestic citation flow.
26
+ * @type {number}
27
+ * @memberof PartnerMajesticMetricsDto
28
+ */
29
+ citationFlow: number | null;
30
+ /**
31
+ * Referring domains reported by Majestic.
32
+ * @type {number}
33
+ * @memberof PartnerMajesticMetricsDto
34
+ */
35
+ referringDomains: number | null;
36
+ /**
37
+ * Backlinks reported by Majestic.
38
+ * @type {number}
39
+ * @memberof PartnerMajesticMetricsDto
40
+ */
41
+ backlinks: number;
42
+ /**
43
+ * When the Majestic metrics were fetched.
44
+ * @type {Date}
45
+ * @memberof PartnerMajesticMetricsDto
46
+ */
47
+ updatedAt: Date | null;
48
+ }
49
+ /**
50
+ * Check if a given object implements the PartnerMajesticMetricsDto interface.
51
+ */
52
+ export declare function instanceOfPartnerMajesticMetricsDto(value: object): value is PartnerMajesticMetricsDto;
53
+ export declare function PartnerMajesticMetricsDtoFromJSON(json: any): PartnerMajesticMetricsDto;
54
+ export declare function PartnerMajesticMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerMajesticMetricsDto;
55
+ export declare function PartnerMajesticMetricsDtoToJSON(json: any): PartnerMajesticMetricsDto;
56
+ export declare function PartnerMajesticMetricsDtoToJSONTyped(value?: PartnerMajesticMetricsDto | 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.instanceOfPartnerMajesticMetricsDto = instanceOfPartnerMajesticMetricsDto;
17
+ exports.PartnerMajesticMetricsDtoFromJSON = PartnerMajesticMetricsDtoFromJSON;
18
+ exports.PartnerMajesticMetricsDtoFromJSONTyped = PartnerMajesticMetricsDtoFromJSONTyped;
19
+ exports.PartnerMajesticMetricsDtoToJSON = PartnerMajesticMetricsDtoToJSON;
20
+ exports.PartnerMajesticMetricsDtoToJSONTyped = PartnerMajesticMetricsDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PartnerMajesticMetricsDto interface.
23
+ */
24
+ function instanceOfPartnerMajesticMetricsDto(value) {
25
+ if (!('trustFlow' in value) || value['trustFlow'] === undefined)
26
+ return false;
27
+ if (!('citationFlow' in value) || value['citationFlow'] === undefined)
28
+ return false;
29
+ if (!('referringDomains' in value) || value['referringDomains'] === undefined)
30
+ return false;
31
+ if (!('backlinks' in value) || value['backlinks'] === undefined)
32
+ return false;
33
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function PartnerMajesticMetricsDtoFromJSON(json) {
38
+ return PartnerMajesticMetricsDtoFromJSONTyped(json, false);
39
+ }
40
+ function PartnerMajesticMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'trustFlow': json['trustFlow'],
46
+ 'citationFlow': json['citationFlow'],
47
+ 'referringDomains': json['referringDomains'],
48
+ 'backlinks': json['backlinks'],
49
+ 'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
50
+ };
51
+ }
52
+ function PartnerMajesticMetricsDtoToJSON(json) {
53
+ return PartnerMajesticMetricsDtoToJSONTyped(json, false);
54
+ }
55
+ function PartnerMajesticMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'trustFlow': value['trustFlow'],
62
+ 'citationFlow': value['citationFlow'],
63
+ 'referringDomains': value['referringDomains'],
64
+ 'backlinks': value['backlinks'],
65
+ 'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
66
+ };
67
+ }
@@ -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 PartnerMozMetricsDto
16
+ */
17
+ export interface PartnerMozMetricsDto {
18
+ /**
19
+ * Moz domain authority (0–100).
20
+ * @type {number}
21
+ * @memberof PartnerMozMetricsDto
22
+ */
23
+ domainAuthority: number;
24
+ /**
25
+ * Moz page authority (0–100); null when Moz reported the domain as a subdomain of its root.
26
+ * @type {number}
27
+ * @memberof PartnerMozMetricsDto
28
+ */
29
+ pageAuthority: number | null;
30
+ /**
31
+ * Backlinks reported by Moz.
32
+ * @type {number}
33
+ * @memberof PartnerMozMetricsDto
34
+ */
35
+ backlinks: number;
36
+ /**
37
+ * Root domains linking to the domain.
38
+ * @type {number}
39
+ * @memberof PartnerMozMetricsDto
40
+ */
41
+ rootDomains: number | null;
42
+ /**
43
+ * Moz spam score (0–100), when available.
44
+ * @type {number}
45
+ * @memberof PartnerMozMetricsDto
46
+ */
47
+ spamScore: number | null;
48
+ /**
49
+ * When the Moz metrics were fetched.
50
+ * @type {Date}
51
+ * @memberof PartnerMozMetricsDto
52
+ */
53
+ updatedAt: Date | null;
54
+ }
55
+ /**
56
+ * Check if a given object implements the PartnerMozMetricsDto interface.
57
+ */
58
+ export declare function instanceOfPartnerMozMetricsDto(value: object): value is PartnerMozMetricsDto;
59
+ export declare function PartnerMozMetricsDtoFromJSON(json: any): PartnerMozMetricsDto;
60
+ export declare function PartnerMozMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerMozMetricsDto;
61
+ export declare function PartnerMozMetricsDtoToJSON(json: any): PartnerMozMetricsDto;
62
+ export declare function PartnerMozMetricsDtoToJSONTyped(value?: PartnerMozMetricsDto | 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.instanceOfPartnerMozMetricsDto = instanceOfPartnerMozMetricsDto;
17
+ exports.PartnerMozMetricsDtoFromJSON = PartnerMozMetricsDtoFromJSON;
18
+ exports.PartnerMozMetricsDtoFromJSONTyped = PartnerMozMetricsDtoFromJSONTyped;
19
+ exports.PartnerMozMetricsDtoToJSON = PartnerMozMetricsDtoToJSON;
20
+ exports.PartnerMozMetricsDtoToJSONTyped = PartnerMozMetricsDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PartnerMozMetricsDto interface.
23
+ */
24
+ function instanceOfPartnerMozMetricsDto(value) {
25
+ if (!('domainAuthority' in value) || value['domainAuthority'] === undefined)
26
+ return false;
27
+ if (!('pageAuthority' in value) || value['pageAuthority'] === undefined)
28
+ return false;
29
+ if (!('backlinks' in value) || value['backlinks'] === undefined)
30
+ return false;
31
+ if (!('rootDomains' in value) || value['rootDomains'] === undefined)
32
+ return false;
33
+ if (!('spamScore' in value) || value['spamScore'] === undefined)
34
+ return false;
35
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function PartnerMozMetricsDtoFromJSON(json) {
40
+ return PartnerMozMetricsDtoFromJSONTyped(json, false);
41
+ }
42
+ function PartnerMozMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'domainAuthority': json['domainAuthority'],
48
+ 'pageAuthority': json['pageAuthority'],
49
+ 'backlinks': json['backlinks'],
50
+ 'rootDomains': json['rootDomains'],
51
+ 'spamScore': json['spamScore'],
52
+ 'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
53
+ };
54
+ }
55
+ function PartnerMozMetricsDtoToJSON(json) {
56
+ return PartnerMozMetricsDtoToJSONTyped(json, false);
57
+ }
58
+ function PartnerMozMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'domainAuthority': value['domainAuthority'],
65
+ 'pageAuthority': value['pageAuthority'],
66
+ 'backlinks': value['backlinks'],
67
+ 'rootDomains': value['rootDomains'],
68
+ 'spamScore': value['spamScore'],
69
+ 'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
70
+ };
71
+ }
@@ -404,7 +404,6 @@ export * from './MoneyDecimalDto';
404
404
  export * from './MoneyDto';
405
405
  export * from './MoneyInput';
406
406
  export * from './MozMetrics';
407
- export * from './NotFoundException';
408
407
  export * from './NotificationsUnsubscribeResultDto';
409
408
  export * from './ObjectId';
410
409
  export * from './OrderCompanyInfoDto';
@@ -424,6 +423,9 @@ export * from './PaginateResponseMeta';
424
423
  export * from './ParsedDomainDto';
425
424
  export * from './PartnerAuctionDto';
426
425
  export * from './PartnerDomainFindDto';
426
+ export * from './PartnerDomainSeoMetricsDto';
427
+ export * from './PartnerMajesticMetricsDto';
428
+ export * from './PartnerMozMetricsDto';
427
429
  export * from './PayAccountPaymentInput';
428
430
  export * from './PaySellerInvoicesInput';
429
431
  export * from './PaymentMethodsStatsDto';
@@ -422,7 +422,6 @@ __exportStar(require("./MoneyDecimalDto"), exports);
422
422
  __exportStar(require("./MoneyDto"), exports);
423
423
  __exportStar(require("./MoneyInput"), exports);
424
424
  __exportStar(require("./MozMetrics"), exports);
425
- __exportStar(require("./NotFoundException"), exports);
426
425
  __exportStar(require("./NotificationsUnsubscribeResultDto"), exports);
427
426
  __exportStar(require("./ObjectId"), exports);
428
427
  __exportStar(require("./OrderCompanyInfoDto"), exports);
@@ -442,6 +441,9 @@ __exportStar(require("./PaginateResponseMeta"), exports);
442
441
  __exportStar(require("./ParsedDomainDto"), exports);
443
442
  __exportStar(require("./PartnerAuctionDto"), exports);
444
443
  __exportStar(require("./PartnerDomainFindDto"), exports);
444
+ __exportStar(require("./PartnerDomainSeoMetricsDto"), exports);
445
+ __exportStar(require("./PartnerMajesticMetricsDto"), exports);
446
+ __exportStar(require("./PartnerMozMetricsDto"), exports);
445
447
  __exportStar(require("./PayAccountPaymentInput"), exports);
446
448
  __exportStar(require("./PaySellerInvoicesInput"), exports);
447
449
  __exportStar(require("./PaymentMethodsStatsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.502",
3
+ "version": "0.0.503",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -28,7 +28,6 @@ import type {
28
28
  GetAllAffiliateCommissions200Response,
29
29
  GetAllReferrals200Response,
30
30
  MoneyDto,
31
- NotFoundException,
32
31
  ObjectId,
33
32
  PayAccountPaymentInput,
34
33
  PrivateAccountGetMeResponse,
@@ -64,8 +63,6 @@ import {
64
63
  GetAllReferrals200ResponseToJSON,
65
64
  MoneyDtoFromJSON,
66
65
  MoneyDtoToJSON,
67
- NotFoundExceptionFromJSON,
68
- NotFoundExceptionToJSON,
69
66
  ObjectIdFromJSON,
70
67
  ObjectIdToJSON,
71
68
  PayAccountPaymentInputFromJSON,
@@ -16,7 +16,6 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  ConflictException,
19
- NotFoundException,
20
19
  PublicAccountInformationDto,
21
20
  RegisterAccountInput,
22
21
  ValidationException,
@@ -24,8 +23,6 @@ import type {
24
23
  import {
25
24
  ConflictExceptionFromJSON,
26
25
  ConflictExceptionToJSON,
27
- NotFoundExceptionFromJSON,
28
- NotFoundExceptionToJSON,
29
26
  PublicAccountInformationDtoFromJSON,
30
27
  PublicAccountInformationDtoToJSON,
31
28
  RegisterAccountInputFromJSON,
@@ -65,7 +65,6 @@ import type {
65
65
  ListDomains200Response,
66
66
  ListLeadMessagesDto,
67
67
  ListLeads200Response,
68
- NotFoundException,
69
68
  ObjectId,
70
69
  PaySellerInvoicesInput,
71
70
  SellerLeadDetails,
@@ -187,8 +186,6 @@ import {
187
186
  ListLeadMessagesDtoToJSON,
188
187
  ListLeads200ResponseFromJSON,
189
188
  ListLeads200ResponseToJSON,
190
- NotFoundExceptionFromJSON,
191
- NotFoundExceptionToJSON,
192
189
  ObjectIdFromJSON,
193
190
  ObjectIdToJSON,
194
191
  PaySellerInvoicesInputFromJSON,
@@ -17,7 +17,6 @@ import * as runtime from '../runtime';
17
17
  import type {
18
18
  BadRequestException,
19
19
  GetAllAuctions200Response1,
20
- NotFoundException,
21
20
  ValidationException,
22
21
  } from '../models/index';
23
22
  import {
@@ -25,8 +24,6 @@ import {
25
24
  BadRequestExceptionToJSON,
26
25
  GetAllAuctions200Response1FromJSON,
27
26
  GetAllAuctions200Response1ToJSON,
28
- NotFoundExceptionFromJSON,
29
- NotFoundExceptionToJSON,
30
27
  ValidationExceptionFromJSON,
31
28
  ValidationExceptionToJSON,
32
29
  } from '../models/index';
@@ -43,7 +43,6 @@ import type {
43
43
  LeadLeaseToOwnAndRentConfigurationPresetsDto,
44
44
  LeadMessageDto,
45
45
  ListBuyerNotifications200Response,
46
- NotFoundException,
47
46
  ObjectId,
48
47
  PutBuyerLeadOfferInput,
49
48
  RegisterAuctionBuyerPhoneInput,
@@ -120,8 +119,6 @@ import {
120
119
  LeadMessageDtoToJSON,
121
120
  ListBuyerNotifications200ResponseFromJSON,
122
121
  ListBuyerNotifications200ResponseToJSON,
123
- NotFoundExceptionFromJSON,
124
- NotFoundExceptionToJSON,
125
122
  ObjectIdFromJSON,
126
123
  ObjectIdToJSON,
127
124
  PutBuyerLeadOfferInputFromJSON,
@@ -20,7 +20,6 @@ import type {
20
20
  ForbiddenException,
21
21
  ListCustomerSuccessAccountDomains200Response,
22
22
  ListCustomerSuccessAccounts200Response,
23
- NotFoundException,
24
23
  UpdateAccountNoteInput,
25
24
  ValidationException,
26
25
  } from '../models/index';
@@ -35,8 +34,6 @@ import {
35
34
  ListCustomerSuccessAccountDomains200ResponseToJSON,
36
35
  ListCustomerSuccessAccounts200ResponseFromJSON,
37
36
  ListCustomerSuccessAccounts200ResponseToJSON,
38
- NotFoundExceptionFromJSON,
39
- NotFoundExceptionToJSON,
40
37
  UpdateAccountNoteInputFromJSON,
41
38
  UpdateAccountNoteInputToJSON,
42
39
  ValidationExceptionFromJSON,
@@ -17,7 +17,6 @@ import * as runtime from '../runtime';
17
17
  import type {
18
18
  BadRequestException,
19
19
  GetBuyerDomainAppraisalRequests200Response,
20
- NotFoundException,
21
20
  ValidationException,
22
21
  } from '../models/index';
23
22
  import {
@@ -25,8 +24,6 @@ import {
25
24
  BadRequestExceptionToJSON,
26
25
  GetBuyerDomainAppraisalRequests200ResponseFromJSON,
27
26
  GetBuyerDomainAppraisalRequests200ResponseToJSON,
28
- NotFoundExceptionFromJSON,
29
- NotFoundExceptionToJSON,
30
27
  ValidationExceptionFromJSON,
31
28
  ValidationExceptionToJSON,
32
29
  } from '../models/index';