@randock/nameshift-api-client 0.0.200 → 0.0.202
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.
- package/.openapi-generator/FILES +4 -1
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +3 -3
- package/dist/apis/BuyersApi.js +1 -1
- package/dist/apis/DomainsPublicApi.d.ts +3 -3
- package/dist/apis/DomainsPublicApi.js +1 -1
- package/dist/models/BuyerSessionDto.d.ts +76 -0
- package/dist/models/BuyerSessionDto.js +83 -0
- package/dist/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts → IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.d.ts} +24 -17
- package/dist/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDto.js → IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.js} +18 -13
- package/dist/models/MozMetrics.d.ts +38 -0
- package/dist/models/MozMetrics.js +55 -0
- package/dist/models/Seo.d.ts +33 -0
- package/dist/models/Seo.js +52 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +6 -6
- package/src/apis/DomainsPublicApi.ts +6 -6
- package/src/models/BuyerSessionDto.ts +131 -0
- package/src/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts → IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts} +35 -19
- package/src/models/MozMetrics.ts +75 -0
- package/src/models/Seo.ts +74 -0
- package/src/models/index.ts +4 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -52,6 +52,7 @@ src/models/BuyerDto.ts
|
|
|
52
52
|
src/models/BuyerLeadListItemDomainDto.ts
|
|
53
53
|
src/models/BuyerLeadListItemDto.ts
|
|
54
54
|
src/models/BuyerSecurityUserDto.ts
|
|
55
|
+
src/models/BuyerSessionDto.ts
|
|
55
56
|
src/models/BuyerSubscriptionListItemDto.ts
|
|
56
57
|
src/models/BuyerSubscriptionListItemDtoDomainInformation.ts
|
|
57
58
|
src/models/ChangeOrderStatusInput.ts
|
|
@@ -108,7 +109,7 @@ src/models/HttpException.ts
|
|
|
108
109
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
109
110
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
110
111
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
111
|
-
src/models/
|
|
112
|
+
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts
|
|
112
113
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
|
|
113
114
|
src/models/IntersectionLeadDtoWithListFieldsDto.ts
|
|
114
115
|
src/models/IntersectionTaskListTaskDto.ts
|
|
@@ -141,6 +142,7 @@ src/models/LoginDto.ts
|
|
|
141
142
|
src/models/LoginInput.ts
|
|
142
143
|
src/models/MoneyDto.ts
|
|
143
144
|
src/models/MoneyInput.ts
|
|
145
|
+
src/models/MozMetrics.ts
|
|
144
146
|
src/models/NotFoundException.ts
|
|
145
147
|
src/models/ObjectId.ts
|
|
146
148
|
src/models/OrderCompanyInfoDto.ts
|
|
@@ -173,6 +175,7 @@ src/models/SellerSecurityUserAccountDto.ts
|
|
|
173
175
|
src/models/SellerSecurityUserDto.ts
|
|
174
176
|
src/models/SellerSubscriptionListItemDto.ts
|
|
175
177
|
src/models/SellerSubscriptionListItemDtoDomainInformation.ts
|
|
178
|
+
src/models/Seo.ts
|
|
176
179
|
src/models/SetDomainTransferConfirmationInput.ts
|
|
177
180
|
src/models/SetNewPasswordInput.ts
|
|
178
181
|
src/models/StoreBuyerLocaleInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.202
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.202 --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
|
-
|
|
47
|
+
07be8487dc3cd76997bbcb1aab1bbaefc3f52a1d8dff4d250c8358bd48b7a693b1bcd870b459072848fa74bc1e87bc1d
|
package/dist/apis/BuyersApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BuyerDomainTransferAuthCodeDto,
|
|
13
|
+
import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BuyerDomainTransferAuthCodeDto, BuyerSessionDto, CreateBuyerLeadMessageInput, GetAllInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput } from '../models/index';
|
|
14
14
|
export interface BuyersApiAcceptBuyerLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -112,11 +112,11 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
114
114
|
*/
|
|
115
|
-
buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
115
|
+
buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSessionDto>>;
|
|
116
116
|
/**
|
|
117
117
|
*
|
|
118
118
|
*/
|
|
119
|
-
buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
119
|
+
buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionDto>;
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
122
122
|
*/
|
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -263,7 +263,7 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
263
263
|
}, initOverrides)];
|
|
264
264
|
case 3:
|
|
265
265
|
response = _a.sent();
|
|
266
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
266
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.BuyerSessionDtoFromJSON)(jsonValue); })];
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto, List200Response3 } from '../models/index';
|
|
14
14
|
export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
15
15
|
domainName: string;
|
|
16
16
|
includeStats?: boolean;
|
|
@@ -30,11 +30,11 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
|
-
getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
33
|
+
getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto>>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
|
-
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
37
|
+
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
@@ -106,7 +106,7 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
106
106
|
}, initOverrides)];
|
|
107
107
|
case 1:
|
|
108
108
|
response = _a.sent();
|
|
109
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
109
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON)(jsonValue); })];
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 BuyerSessionDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerSessionDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerSessionDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerSessionDto
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerSessionDto
|
|
34
|
+
*/
|
|
35
|
+
intercomHash: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BuyerSessionDto
|
|
40
|
+
*/
|
|
41
|
+
locale: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof BuyerSessionDto
|
|
46
|
+
*/
|
|
47
|
+
roles: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BuyerSessionDto
|
|
52
|
+
*/
|
|
53
|
+
type: BuyerSessionDtoTypeEnum;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof BuyerSessionDto
|
|
58
|
+
*/
|
|
59
|
+
hasSubscriptions: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const BuyerSessionDtoTypeEnum: {
|
|
65
|
+
readonly BUYER: "buyer";
|
|
66
|
+
readonly SELLER: "seller";
|
|
67
|
+
};
|
|
68
|
+
export type BuyerSessionDtoTypeEnum = typeof BuyerSessionDtoTypeEnum[keyof typeof BuyerSessionDtoTypeEnum];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the BuyerSessionDto interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfBuyerSessionDto(value: object): value is BuyerSessionDto;
|
|
73
|
+
export declare function BuyerSessionDtoFromJSON(json: any): BuyerSessionDto;
|
|
74
|
+
export declare function BuyerSessionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSessionDto;
|
|
75
|
+
export declare function BuyerSessionDtoToJSON(json: any): BuyerSessionDto;
|
|
76
|
+
export declare function BuyerSessionDtoToJSONTyped(value?: BuyerSessionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.BuyerSessionDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfBuyerSessionDto = instanceOfBuyerSessionDto;
|
|
18
|
+
exports.BuyerSessionDtoFromJSON = BuyerSessionDtoFromJSON;
|
|
19
|
+
exports.BuyerSessionDtoFromJSONTyped = BuyerSessionDtoFromJSONTyped;
|
|
20
|
+
exports.BuyerSessionDtoToJSON = BuyerSessionDtoToJSON;
|
|
21
|
+
exports.BuyerSessionDtoToJSONTyped = BuyerSessionDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BuyerSessionDtoTypeEnum = {
|
|
26
|
+
BUYER: 'buyer',
|
|
27
|
+
SELLER: 'seller'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the BuyerSessionDto interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfBuyerSessionDto(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('intercomHash' in value) || value['intercomHash'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('roles' in value) || value['roles'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('hasSubscriptions' in value) || value['hasSubscriptions'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function BuyerSessionDtoFromJSON(json) {
|
|
50
|
+
return BuyerSessionDtoFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function BuyerSessionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': json['id'],
|
|
58
|
+
'email': json['email'],
|
|
59
|
+
'intercomHash': json['intercomHash'],
|
|
60
|
+
'locale': json['locale'],
|
|
61
|
+
'roles': json['roles'],
|
|
62
|
+
'type': json['type'],
|
|
63
|
+
'hasSubscriptions': json['hasSubscriptions'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function BuyerSessionDtoToJSON(json) {
|
|
67
|
+
return BuyerSessionDtoToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function BuyerSessionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
70
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'email': value['email'],
|
|
77
|
+
'intercomHash': value['intercomHash'],
|
|
78
|
+
'locale': value['locale'],
|
|
79
|
+
'roles': value['roles'],
|
|
80
|
+
'type': value['type'],
|
|
81
|
+
'hasSubscriptions': value['hasSubscriptions'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -13,72 +13,79 @@ import type { DomainSellerDto } from './DomainSellerDto';
|
|
|
13
13
|
import type { DomainStats } from './DomainStats';
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
16
|
+
import type { Seo } from './Seo';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
19
|
-
* @interface
|
|
20
|
+
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
20
21
|
*/
|
|
21
|
-
export interface
|
|
22
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
22
23
|
/**
|
|
23
24
|
*
|
|
24
25
|
* @type {DomainStats}
|
|
25
|
-
* @memberof
|
|
26
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
26
27
|
*/
|
|
27
28
|
stats: DomainStats | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Seo}
|
|
32
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
33
|
+
*/
|
|
34
|
+
seo: Seo | null;
|
|
28
35
|
/**
|
|
29
36
|
* The domain name (example.com, xn--maana-pta.com)
|
|
30
37
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
38
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
32
39
|
*/
|
|
33
40
|
domain: string;
|
|
34
41
|
/**
|
|
35
42
|
* The domain display name (example.com, mañana.com)
|
|
36
43
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
44
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
38
45
|
*/
|
|
39
46
|
domainDisplayName: string;
|
|
40
47
|
/**
|
|
41
48
|
* Buy now price or null if buy now is not enabled
|
|
42
49
|
* @type {MoneyDto}
|
|
43
|
-
* @memberof
|
|
50
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
44
51
|
*/
|
|
45
52
|
buyNowPrice: MoneyDto | null;
|
|
46
53
|
/**
|
|
47
54
|
* Lease to own configuration or null if it is not enabled
|
|
48
55
|
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
49
|
-
* @memberof
|
|
56
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
50
57
|
*/
|
|
51
58
|
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
52
59
|
/**
|
|
53
60
|
* min offer price or null if offers are not enabled
|
|
54
61
|
* @type {MoneyDto}
|
|
55
|
-
* @memberof
|
|
62
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
56
63
|
*/
|
|
57
64
|
minOfferPrice: MoneyDto | null;
|
|
58
65
|
/**
|
|
59
66
|
* The domain seller information
|
|
60
67
|
* @type {DomainSellerDto}
|
|
61
|
-
* @memberof
|
|
68
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
62
69
|
*/
|
|
63
70
|
seller: DomainSellerDto | null;
|
|
64
71
|
/**
|
|
65
72
|
* The domain "sold" status
|
|
66
73
|
* @type {boolean}
|
|
67
|
-
* @memberof
|
|
74
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
68
75
|
*/
|
|
69
76
|
sold: boolean;
|
|
70
77
|
/**
|
|
71
78
|
* The domain "isPurchaseable" status
|
|
72
79
|
* @type {boolean}
|
|
73
|
-
* @memberof
|
|
80
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
74
81
|
*/
|
|
75
82
|
isPurchaseable: boolean;
|
|
76
83
|
}
|
|
77
84
|
/**
|
|
78
|
-
* Check if a given object implements the
|
|
85
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto interface.
|
|
79
86
|
*/
|
|
80
|
-
export declare function
|
|
81
|
-
export declare function
|
|
82
|
-
export declare function
|
|
83
|
-
export declare function
|
|
84
|
-
export declare function
|
|
87
|
+
export declare function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
88
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
89
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
90
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
91
|
+
export declare function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,21 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto = instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto;
|
|
17
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON;
|
|
18
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped;
|
|
19
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON;
|
|
20
|
+
exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped = IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped;
|
|
21
21
|
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
22
22
|
var DomainStats_1 = require("./DomainStats");
|
|
23
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
24
|
var DomainSalesInformationLeaseToOwnConfigurationDto_1 = require("./DomainSalesInformationLeaseToOwnConfigurationDto");
|
|
25
|
+
var Seo_1 = require("./Seo");
|
|
25
26
|
/**
|
|
26
|
-
* Check if a given object implements the
|
|
27
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto interface.
|
|
27
28
|
*/
|
|
28
|
-
function
|
|
29
|
+
function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto(value) {
|
|
29
30
|
if (!('stats' in value) || value['stats'] === undefined)
|
|
30
31
|
return false;
|
|
32
|
+
if (!('seo' in value) || value['seo'] === undefined)
|
|
33
|
+
return false;
|
|
31
34
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
32
35
|
return false;
|
|
33
36
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined)
|
|
@@ -46,15 +49,16 @@ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto(value
|
|
|
46
49
|
return false;
|
|
47
50
|
return true;
|
|
48
51
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
52
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(json) {
|
|
53
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json, false);
|
|
51
54
|
}
|
|
52
|
-
function
|
|
55
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
56
|
if (json == null) {
|
|
54
57
|
return json;
|
|
55
58
|
}
|
|
56
59
|
return {
|
|
57
60
|
'stats': (0, DomainStats_1.DomainStatsFromJSON)(json['stats']),
|
|
61
|
+
'seo': (0, Seo_1.SeoFromJSON)(json['seo']),
|
|
58
62
|
'domain': json['domain'],
|
|
59
63
|
'domainDisplayName': json['domainDisplayName'],
|
|
60
64
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
|
|
@@ -65,16 +69,17 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(js
|
|
|
65
69
|
'isPurchaseable': json['isPurchaseable'],
|
|
66
70
|
};
|
|
67
71
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
72
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON(json) {
|
|
73
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(json, false);
|
|
70
74
|
}
|
|
71
|
-
function
|
|
75
|
+
function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
72
76
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
73
77
|
if (value == null) {
|
|
74
78
|
return value;
|
|
75
79
|
}
|
|
76
80
|
return {
|
|
77
81
|
'stats': (0, DomainStats_1.DomainStatsToJSON)(value['stats']),
|
|
82
|
+
'seo': (0, Seo_1.SeoToJSON)(value['seo']),
|
|
78
83
|
'domain': value['domain'],
|
|
79
84
|
'domainDisplayName': value['domainDisplayName'],
|
|
80
85
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 MozMetrics
|
|
16
|
+
*/
|
|
17
|
+
export interface MozMetrics {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MozMetrics
|
|
22
|
+
*/
|
|
23
|
+
domainAuthority: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof MozMetrics
|
|
28
|
+
*/
|
|
29
|
+
backlinks: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MozMetrics interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMozMetrics(value: object): value is MozMetrics;
|
|
35
|
+
export declare function MozMetricsFromJSON(json: any): MozMetrics;
|
|
36
|
+
export declare function MozMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MozMetrics;
|
|
37
|
+
export declare function MozMetricsToJSON(json: any): MozMetrics;
|
|
38
|
+
export declare function MozMetricsToJSONTyped(value?: MozMetrics | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfMozMetrics = instanceOfMozMetrics;
|
|
17
|
+
exports.MozMetricsFromJSON = MozMetricsFromJSON;
|
|
18
|
+
exports.MozMetricsFromJSONTyped = MozMetricsFromJSONTyped;
|
|
19
|
+
exports.MozMetricsToJSON = MozMetricsToJSON;
|
|
20
|
+
exports.MozMetricsToJSONTyped = MozMetricsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MozMetrics interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMozMetrics(value) {
|
|
25
|
+
if (!('domainAuthority' in value) || value['domainAuthority'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('backlinks' in value) || value['backlinks'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function MozMetricsFromJSON(json) {
|
|
32
|
+
return MozMetricsFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function MozMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'domainAuthority': json['domainAuthority'],
|
|
40
|
+
'backlinks': json['backlinks'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function MozMetricsToJSON(json) {
|
|
44
|
+
return MozMetricsToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function MozMetricsToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'domainAuthority': value['domainAuthority'],
|
|
53
|
+
'backlinks': value['backlinks'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { MozMetrics } from './MozMetrics';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Seo
|
|
17
|
+
*/
|
|
18
|
+
export interface Seo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MozMetrics}
|
|
22
|
+
* @memberof Seo
|
|
23
|
+
*/
|
|
24
|
+
moz: MozMetrics | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the Seo interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSeo(value: object): value is Seo;
|
|
30
|
+
export declare function SeoFromJSON(json: any): Seo;
|
|
31
|
+
export declare function SeoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seo;
|
|
32
|
+
export declare function SeoToJSON(json: any): Seo;
|
|
33
|
+
export declare function SeoToJSONTyped(value?: Seo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfSeo = instanceOfSeo;
|
|
17
|
+
exports.SeoFromJSON = SeoFromJSON;
|
|
18
|
+
exports.SeoFromJSONTyped = SeoFromJSONTyped;
|
|
19
|
+
exports.SeoToJSON = SeoToJSON;
|
|
20
|
+
exports.SeoToJSONTyped = SeoToJSONTyped;
|
|
21
|
+
var MozMetrics_1 = require("./MozMetrics");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the Seo interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSeo(value) {
|
|
26
|
+
if (!('moz' in value) || value['moz'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function SeoFromJSON(json) {
|
|
31
|
+
return SeoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function SeoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'moz': (0, MozMetrics_1.MozMetricsFromJSON)(json['moz']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SeoToJSON(json) {
|
|
42
|
+
return SeoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SeoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'moz': (0, MozMetrics_1.MozMetricsToJSON)(value['moz']),
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './BuyerDto';
|
|
|
27
27
|
export * from './BuyerLeadListItemDomainDto';
|
|
28
28
|
export * from './BuyerLeadListItemDto';
|
|
29
29
|
export * from './BuyerSecurityUserDto';
|
|
30
|
+
export * from './BuyerSessionDto';
|
|
30
31
|
export * from './BuyerSubscriptionListItemDto';
|
|
31
32
|
export * from './BuyerSubscriptionListItemDtoDomainInformation';
|
|
32
33
|
export * from './ChangeOrderStatusInput';
|
|
@@ -83,7 +84,7 @@ export * from './HttpException';
|
|
|
83
84
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
84
85
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
85
86
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
86
|
-
export * from './
|
|
87
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto';
|
|
87
88
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
88
89
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
89
90
|
export * from './IntersectionTaskListTaskDto';
|
|
@@ -116,6 +117,7 @@ export * from './LoginDto';
|
|
|
116
117
|
export * from './LoginInput';
|
|
117
118
|
export * from './MoneyDto';
|
|
118
119
|
export * from './MoneyInput';
|
|
120
|
+
export * from './MozMetrics';
|
|
119
121
|
export * from './NotFoundException';
|
|
120
122
|
export * from './ObjectId';
|
|
121
123
|
export * from './OrderCompanyInfoDto';
|
|
@@ -148,6 +150,7 @@ export * from './SellerSecurityUserAccountDto';
|
|
|
148
150
|
export * from './SellerSecurityUserDto';
|
|
149
151
|
export * from './SellerSubscriptionListItemDto';
|
|
150
152
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
153
|
+
export * from './Seo';
|
|
151
154
|
export * from './SetDomainTransferConfirmationInput';
|
|
152
155
|
export * from './SetNewPasswordInput';
|
|
153
156
|
export * from './StoreBuyerLocaleInput';
|
package/dist/models/index.js
CHANGED
|
@@ -45,6 +45,7 @@ __exportStar(require("./BuyerDto"), exports);
|
|
|
45
45
|
__exportStar(require("./BuyerLeadListItemDomainDto"), exports);
|
|
46
46
|
__exportStar(require("./BuyerLeadListItemDto"), exports);
|
|
47
47
|
__exportStar(require("./BuyerSecurityUserDto"), exports);
|
|
48
|
+
__exportStar(require("./BuyerSessionDto"), exports);
|
|
48
49
|
__exportStar(require("./BuyerSubscriptionListItemDto"), exports);
|
|
49
50
|
__exportStar(require("./BuyerSubscriptionListItemDtoDomainInformation"), exports);
|
|
50
51
|
__exportStar(require("./ChangeOrderStatusInput"), exports);
|
|
@@ -101,7 +102,7 @@ __exportStar(require("./HttpException"), exports);
|
|
|
101
102
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
|
|
102
103
|
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
|
103
104
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
104
|
-
__exportStar(require("./
|
|
105
|
+
__exportStar(require("./IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto"), exports);
|
|
105
106
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
|
|
106
107
|
__exportStar(require("./IntersectionLeadDtoWithListFieldsDto"), exports);
|
|
107
108
|
__exportStar(require("./IntersectionTaskListTaskDto"), exports);
|
|
@@ -134,6 +135,7 @@ __exportStar(require("./LoginDto"), exports);
|
|
|
134
135
|
__exportStar(require("./LoginInput"), exports);
|
|
135
136
|
__exportStar(require("./MoneyDto"), exports);
|
|
136
137
|
__exportStar(require("./MoneyInput"), exports);
|
|
138
|
+
__exportStar(require("./MozMetrics"), exports);
|
|
137
139
|
__exportStar(require("./NotFoundException"), exports);
|
|
138
140
|
__exportStar(require("./ObjectId"), exports);
|
|
139
141
|
__exportStar(require("./OrderCompanyInfoDto"), exports);
|
|
@@ -166,6 +168,7 @@ __exportStar(require("./SellerSecurityUserAccountDto"), exports);
|
|
|
166
168
|
__exportStar(require("./SellerSecurityUserDto"), exports);
|
|
167
169
|
__exportStar(require("./SellerSubscriptionListItemDto"), exports);
|
|
168
170
|
__exportStar(require("./SellerSubscriptionListItemDtoDomainInformation"), exports);
|
|
171
|
+
__exportStar(require("./Seo"), exports);
|
|
169
172
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
170
173
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
171
174
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
package/package.json
CHANGED
package/src/apis/BuyersApi.ts
CHANGED
|
@@ -20,7 +20,7 @@ import type {
|
|
|
20
20
|
BatchReadBuyerLeadMessageInput,
|
|
21
21
|
BatchVerifyBuyerLeadsInput,
|
|
22
22
|
BuyerDomainTransferAuthCodeDto,
|
|
23
|
-
|
|
23
|
+
BuyerSessionDto,
|
|
24
24
|
CreateBuyerLeadMessageInput,
|
|
25
25
|
GetAllInvoices200Response,
|
|
26
26
|
GetBuyerLeads200Response,
|
|
@@ -47,8 +47,8 @@ import {
|
|
|
47
47
|
BatchVerifyBuyerLeadsInputToJSON,
|
|
48
48
|
BuyerDomainTransferAuthCodeDtoFromJSON,
|
|
49
49
|
BuyerDomainTransferAuthCodeDtoToJSON,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
BuyerSessionDtoFromJSON,
|
|
51
|
+
BuyerSessionDtoToJSON,
|
|
52
52
|
CreateBuyerLeadMessageInputFromJSON,
|
|
53
53
|
CreateBuyerLeadMessageInputToJSON,
|
|
54
54
|
GetAllInvoices200ResponseFromJSON,
|
|
@@ -308,7 +308,7 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
308
308
|
/**
|
|
309
309
|
*
|
|
310
310
|
*/
|
|
311
|
-
async buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
311
|
+
async buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSessionDto>> {
|
|
312
312
|
const queryParameters: any = {};
|
|
313
313
|
|
|
314
314
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -328,13 +328,13 @@ export class BuyersApi extends runtime.BaseAPI {
|
|
|
328
328
|
query: queryParameters,
|
|
329
329
|
}, initOverrides);
|
|
330
330
|
|
|
331
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
331
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BuyerSessionDtoFromJSON(jsonValue));
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
/**
|
|
335
335
|
*
|
|
336
336
|
*/
|
|
337
|
-
async buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
337
|
+
async buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionDto> {
|
|
338
338
|
const response = await this.buyerMeRaw(initOverrides);
|
|
339
339
|
return await response.value();
|
|
340
340
|
}
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto,
|
|
19
19
|
List200Response3,
|
|
20
20
|
NotFoundException,
|
|
21
21
|
ThrottlerException,
|
|
22
22
|
ValidationException,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON,
|
|
26
|
+
IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON,
|
|
27
27
|
List200Response3FromJSON,
|
|
28
28
|
List200Response3ToJSON,
|
|
29
29
|
NotFoundExceptionFromJSON,
|
|
@@ -56,7 +56,7 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
|
-
async getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
59
|
+
async getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto>> {
|
|
60
60
|
if (requestParameters['domainName'] == null) {
|
|
61
61
|
throw new runtime.RequiredError(
|
|
62
62
|
'domainName',
|
|
@@ -87,13 +87,13 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
87
87
|
query: queryParameters,
|
|
88
88
|
}, initOverrides);
|
|
89
89
|
|
|
90
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(jsonValue));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
*/
|
|
96
|
-
async getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
96
|
+
async getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto> {
|
|
97
97
|
const response = await this.getDomainSalesInformationRaw(requestParameters, initOverrides);
|
|
98
98
|
return await response.value();
|
|
99
99
|
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
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 BuyerSessionDto
|
|
20
|
+
*/
|
|
21
|
+
export interface BuyerSessionDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof BuyerSessionDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof BuyerSessionDto
|
|
32
|
+
*/
|
|
33
|
+
email: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof BuyerSessionDto
|
|
38
|
+
*/
|
|
39
|
+
intercomHash: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof BuyerSessionDto
|
|
44
|
+
*/
|
|
45
|
+
locale: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof BuyerSessionDto
|
|
50
|
+
*/
|
|
51
|
+
roles: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof BuyerSessionDto
|
|
56
|
+
*/
|
|
57
|
+
type: BuyerSessionDtoTypeEnum;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof BuyerSessionDto
|
|
62
|
+
*/
|
|
63
|
+
hasSubscriptions: boolean;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const BuyerSessionDtoTypeEnum = {
|
|
71
|
+
BUYER: 'buyer',
|
|
72
|
+
SELLER: 'seller'
|
|
73
|
+
} as const;
|
|
74
|
+
export type BuyerSessionDtoTypeEnum = typeof BuyerSessionDtoTypeEnum[keyof typeof BuyerSessionDtoTypeEnum];
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the BuyerSessionDto interface.
|
|
79
|
+
*/
|
|
80
|
+
export function instanceOfBuyerSessionDto(value: object): value is BuyerSessionDto {
|
|
81
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
82
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
83
|
+
if (!('intercomHash' in value) || value['intercomHash'] === undefined) return false;
|
|
84
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
85
|
+
if (!('roles' in value) || value['roles'] === undefined) return false;
|
|
86
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
87
|
+
if (!('hasSubscriptions' in value) || value['hasSubscriptions'] === undefined) return false;
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function BuyerSessionDtoFromJSON(json: any): BuyerSessionDto {
|
|
92
|
+
return BuyerSessionDtoFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function BuyerSessionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSessionDto {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'id': json['id'],
|
|
102
|
+
'email': json['email'],
|
|
103
|
+
'intercomHash': json['intercomHash'],
|
|
104
|
+
'locale': json['locale'],
|
|
105
|
+
'roles': json['roles'],
|
|
106
|
+
'type': json['type'],
|
|
107
|
+
'hasSubscriptions': json['hasSubscriptions'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function BuyerSessionDtoToJSON(json: any): BuyerSessionDto {
|
|
112
|
+
return BuyerSessionDtoToJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function BuyerSessionDtoToJSONTyped(value?: BuyerSessionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
116
|
+
if (value == null) {
|
|
117
|
+
return value;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return {
|
|
121
|
+
|
|
122
|
+
'id': value['id'],
|
|
123
|
+
'email': value['email'],
|
|
124
|
+
'intercomHash': value['intercomHash'],
|
|
125
|
+
'locale': value['locale'],
|
|
126
|
+
'roles': value['roles'],
|
|
127
|
+
'type': value['type'],
|
|
128
|
+
'hasSubscriptions': value['hasSubscriptions'],
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -41,74 +41,88 @@ import {
|
|
|
41
41
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSON,
|
|
42
42
|
DomainSalesInformationLeaseToOwnConfigurationDtoToJSONTyped,
|
|
43
43
|
} from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
44
|
+
import type { Seo } from './Seo';
|
|
45
|
+
import {
|
|
46
|
+
SeoFromJSON,
|
|
47
|
+
SeoFromJSONTyped,
|
|
48
|
+
SeoToJSON,
|
|
49
|
+
SeoToJSONTyped,
|
|
50
|
+
} from './Seo';
|
|
44
51
|
|
|
45
52
|
/**
|
|
46
53
|
*
|
|
47
54
|
* @export
|
|
48
|
-
* @interface
|
|
55
|
+
* @interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
49
56
|
*/
|
|
50
|
-
export interface
|
|
57
|
+
export interface IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
51
58
|
/**
|
|
52
59
|
*
|
|
53
60
|
* @type {DomainStats}
|
|
54
|
-
* @memberof
|
|
61
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
55
62
|
*/
|
|
56
63
|
stats: DomainStats | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Seo}
|
|
67
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
68
|
+
*/
|
|
69
|
+
seo: Seo | null;
|
|
57
70
|
/**
|
|
58
71
|
* The domain name (example.com, xn--maana-pta.com)
|
|
59
72
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
73
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
61
74
|
*/
|
|
62
75
|
domain: string;
|
|
63
76
|
/**
|
|
64
77
|
* The domain display name (example.com, mañana.com)
|
|
65
78
|
* @type {string}
|
|
66
|
-
* @memberof
|
|
79
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
67
80
|
*/
|
|
68
81
|
domainDisplayName: string;
|
|
69
82
|
/**
|
|
70
83
|
* Buy now price or null if buy now is not enabled
|
|
71
84
|
* @type {MoneyDto}
|
|
72
|
-
* @memberof
|
|
85
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
73
86
|
*/
|
|
74
87
|
buyNowPrice: MoneyDto | null;
|
|
75
88
|
/**
|
|
76
89
|
* Lease to own configuration or null if it is not enabled
|
|
77
90
|
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
78
|
-
* @memberof
|
|
91
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
79
92
|
*/
|
|
80
93
|
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
81
94
|
/**
|
|
82
95
|
* min offer price or null if offers are not enabled
|
|
83
96
|
* @type {MoneyDto}
|
|
84
|
-
* @memberof
|
|
97
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
85
98
|
*/
|
|
86
99
|
minOfferPrice: MoneyDto | null;
|
|
87
100
|
/**
|
|
88
101
|
* The domain seller information
|
|
89
102
|
* @type {DomainSellerDto}
|
|
90
|
-
* @memberof
|
|
103
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
91
104
|
*/
|
|
92
105
|
seller: DomainSellerDto | null;
|
|
93
106
|
/**
|
|
94
107
|
* The domain "sold" status
|
|
95
108
|
* @type {boolean}
|
|
96
|
-
* @memberof
|
|
109
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
97
110
|
*/
|
|
98
111
|
sold: boolean;
|
|
99
112
|
/**
|
|
100
113
|
* The domain "isPurchaseable" status
|
|
101
114
|
* @type {boolean}
|
|
102
|
-
* @memberof
|
|
115
|
+
* @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto
|
|
103
116
|
*/
|
|
104
117
|
isPurchaseable: boolean;
|
|
105
118
|
}
|
|
106
119
|
|
|
107
120
|
/**
|
|
108
|
-
* Check if a given object implements the
|
|
121
|
+
* Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto interface.
|
|
109
122
|
*/
|
|
110
|
-
export function
|
|
123
|
+
export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto(value: object): value is IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
111
124
|
if (!('stats' in value) || value['stats'] === undefined) return false;
|
|
125
|
+
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
112
126
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
113
127
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
114
128
|
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
@@ -120,17 +134,18 @@ export function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDt
|
|
|
120
134
|
return true;
|
|
121
135
|
}
|
|
122
136
|
|
|
123
|
-
export function
|
|
124
|
-
return
|
|
137
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
138
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json, false);
|
|
125
139
|
}
|
|
126
140
|
|
|
127
|
-
export function
|
|
141
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
128
142
|
if (json == null) {
|
|
129
143
|
return json;
|
|
130
144
|
}
|
|
131
145
|
return {
|
|
132
146
|
|
|
133
147
|
'stats': DomainStatsFromJSON(json['stats']),
|
|
148
|
+
'seo': SeoFromJSON(json['seo']),
|
|
134
149
|
'domain': json['domain'],
|
|
135
150
|
'domainDisplayName': json['domainDisplayName'],
|
|
136
151
|
'buyNowPrice': MoneyDtoFromJSON(json['buyNowPrice']),
|
|
@@ -142,11 +157,11 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONT
|
|
|
142
157
|
};
|
|
143
158
|
}
|
|
144
159
|
|
|
145
|
-
export function
|
|
146
|
-
return
|
|
160
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSON(json: any): IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto {
|
|
161
|
+
return IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(json, false);
|
|
147
162
|
}
|
|
148
163
|
|
|
149
|
-
export function
|
|
164
|
+
export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDtoToJSONTyped(value?: IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
150
165
|
if (value == null) {
|
|
151
166
|
return value;
|
|
152
167
|
}
|
|
@@ -154,6 +169,7 @@ export function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSONTyp
|
|
|
154
169
|
return {
|
|
155
170
|
|
|
156
171
|
'stats': DomainStatsToJSON(value['stats']),
|
|
172
|
+
'seo': SeoToJSON(value['seo']),
|
|
157
173
|
'domain': value['domain'],
|
|
158
174
|
'domainDisplayName': value['domainDisplayName'],
|
|
159
175
|
'buyNowPrice': MoneyDtoToJSON(value['buyNowPrice']),
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
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 MozMetrics
|
|
20
|
+
*/
|
|
21
|
+
export interface MozMetrics {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MozMetrics
|
|
26
|
+
*/
|
|
27
|
+
domainAuthority: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MozMetrics
|
|
32
|
+
*/
|
|
33
|
+
backlinks: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the MozMetrics interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfMozMetrics(value: object): value is MozMetrics {
|
|
40
|
+
if (!('domainAuthority' in value) || value['domainAuthority'] === undefined) return false;
|
|
41
|
+
if (!('backlinks' in value) || value['backlinks'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function MozMetricsFromJSON(json: any): MozMetrics {
|
|
46
|
+
return MozMetricsFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function MozMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MozMetrics {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'domainAuthority': json['domainAuthority'],
|
|
56
|
+
'backlinks': json['backlinks'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MozMetricsToJSON(json: any): MozMetrics {
|
|
61
|
+
return MozMetricsToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MozMetricsToJSONTyped(value?: MozMetrics | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'domainAuthority': value['domainAuthority'],
|
|
72
|
+
'backlinks': value['backlinks'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
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
|
+
import type { MozMetrics } from './MozMetrics';
|
|
17
|
+
import {
|
|
18
|
+
MozMetricsFromJSON,
|
|
19
|
+
MozMetricsFromJSONTyped,
|
|
20
|
+
MozMetricsToJSON,
|
|
21
|
+
MozMetricsToJSONTyped,
|
|
22
|
+
} from './MozMetrics';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface Seo
|
|
28
|
+
*/
|
|
29
|
+
export interface Seo {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {MozMetrics}
|
|
33
|
+
* @memberof Seo
|
|
34
|
+
*/
|
|
35
|
+
moz: MozMetrics | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the Seo interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSeo(value: object): value is Seo {
|
|
42
|
+
if (!('moz' in value) || value['moz'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SeoFromJSON(json: any): Seo {
|
|
47
|
+
return SeoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function SeoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seo {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'moz': MozMetricsFromJSON(json['moz']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SeoToJSON(json: any): Seo {
|
|
61
|
+
return SeoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function SeoToJSONTyped(value?: Seo | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'moz': MozMetricsToJSON(value['moz']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -29,6 +29,7 @@ export * from './BuyerDto';
|
|
|
29
29
|
export * from './BuyerLeadListItemDomainDto';
|
|
30
30
|
export * from './BuyerLeadListItemDto';
|
|
31
31
|
export * from './BuyerSecurityUserDto';
|
|
32
|
+
export * from './BuyerSessionDto';
|
|
32
33
|
export * from './BuyerSubscriptionListItemDto';
|
|
33
34
|
export * from './BuyerSubscriptionListItemDtoDomainInformation';
|
|
34
35
|
export * from './ChangeOrderStatusInput';
|
|
@@ -85,7 +86,7 @@ export * from './HttpException';
|
|
|
85
86
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
86
87
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
87
88
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
88
|
-
export * from './
|
|
89
|
+
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto';
|
|
89
90
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
90
91
|
export * from './IntersectionLeadDtoWithListFieldsDto';
|
|
91
92
|
export * from './IntersectionTaskListTaskDto';
|
|
@@ -118,6 +119,7 @@ export * from './LoginDto';
|
|
|
118
119
|
export * from './LoginInput';
|
|
119
120
|
export * from './MoneyDto';
|
|
120
121
|
export * from './MoneyInput';
|
|
122
|
+
export * from './MozMetrics';
|
|
121
123
|
export * from './NotFoundException';
|
|
122
124
|
export * from './ObjectId';
|
|
123
125
|
export * from './OrderCompanyInfoDto';
|
|
@@ -150,6 +152,7 @@ export * from './SellerSecurityUserAccountDto';
|
|
|
150
152
|
export * from './SellerSecurityUserDto';
|
|
151
153
|
export * from './SellerSubscriptionListItemDto';
|
|
152
154
|
export * from './SellerSubscriptionListItemDtoDomainInformation';
|
|
155
|
+
export * from './Seo';
|
|
153
156
|
export * from './SetDomainTransferConfirmationInput';
|
|
154
157
|
export * from './SetNewPasswordInput';
|
|
155
158
|
export * from './StoreBuyerLocaleInput';
|