@randock/nameshift-api-client 0.0.169 → 0.0.170
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 +2 -0
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +3 -3
- package/dist/apis/DomainsApi.js +1 -1
- package/dist/apis/DomainsPublicApi.d.ts +3 -3
- package/dist/apis/DomainsPublicApi.js +1 -1
- package/dist/apis/TasksApi.d.ts +3 -3
- package/dist/apis/TasksApi.js +1 -1
- package/dist/models/IntersectionDomainDtoWithAccountNameDto.d.ts +118 -0
- package/dist/models/IntersectionDomainDtoWithAccountNameDto.js +108 -0
- package/dist/models/List200Response1.d.ts +3 -3
- package/dist/models/List200Response1.js +3 -3
- package/dist/models/List200Response2.d.ts +3 -3
- package/dist/models/List200Response2.js +3 -3
- package/dist/models/List200Response3.d.ts +47 -0
- package/dist/models/List200Response3.js +62 -0
- package/dist/models/ListDomains200Response.d.ts +3 -3
- package/dist/models/ListDomains200Response.js +3 -3
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +6 -6
- package/src/apis/DomainsPublicApi.ts +6 -6
- package/src/apis/TasksApi.ts +6 -6
- package/src/models/IntersectionDomainDtoWithAccountNameDto.ts +201 -0
- package/src/models/List200Response1.ts +10 -10
- package/src/models/List200Response2.ts +10 -10
- package/src/models/List200Response3.ts +106 -0
- package/src/models/ListDomains200Response.ts +10 -10
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -86,6 +86,7 @@ src/models/GetBuyerTransfers200Response.ts
|
|
|
86
86
|
src/models/HttpException.ts
|
|
87
87
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDto.ts
|
|
88
88
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
89
|
+
src/models/IntersectionDomainDtoWithAccountNameDto.ts
|
|
89
90
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
90
91
|
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts
|
|
91
92
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
|
|
@@ -104,6 +105,7 @@ src/models/LeadStatusDto.ts
|
|
|
104
105
|
src/models/List200Response.ts
|
|
105
106
|
src/models/List200Response1.ts
|
|
106
107
|
src/models/List200Response2.ts
|
|
108
|
+
src/models/List200Response3.ts
|
|
107
109
|
src/models/ListAccountDto.ts
|
|
108
110
|
src/models/ListAccounts200Response.ts
|
|
109
111
|
src/models/ListDomains200Response.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.170
|
|
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.170 --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
|
+
595516ff3a9add8f4075051674bd0e70848e1198cbdd42ff4c6a5e9e0f78c7a5670ad26085fecfa6209529562838e2b5
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto,
|
|
13
|
+
import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response1, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
15
|
file?: Blob | null;
|
|
16
16
|
domains?: Array<string>;
|
|
@@ -135,11 +135,11 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
135
135
|
/**
|
|
136
136
|
*
|
|
137
137
|
*/
|
|
138
|
-
listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
138
|
+
listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>>;
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
141
|
*/
|
|
142
|
-
list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
142
|
+
list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1>;
|
|
143
143
|
/**
|
|
144
144
|
*
|
|
145
145
|
*/
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -633,7 +633,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
633
633
|
}, initOverrides)];
|
|
634
634
|
case 3:
|
|
635
635
|
response = _a.sent();
|
|
636
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
636
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response1FromJSON)(jsonValue); })];
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto,
|
|
13
|
+
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto, List200Response3 } from '../models/index';
|
|
14
14
|
export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
15
15
|
domainName: string;
|
|
16
16
|
includeStats?: boolean;
|
|
@@ -36,9 +36,9 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
39
|
+
listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response3>>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
*/
|
|
43
|
-
list(requestParameters?: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
43
|
+
list(requestParameters?: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3>;
|
|
44
44
|
}
|
|
@@ -153,7 +153,7 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
153
153
|
}, initOverrides)];
|
|
154
154
|
case 1:
|
|
155
155
|
response = _a.sent();
|
|
156
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
156
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response3FromJSON)(jsonValue); })];
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
});
|
package/dist/apis/TasksApi.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 {
|
|
13
|
+
import type { List200Response2 } from '../models/index';
|
|
14
14
|
export interface TasksApiListRequest {
|
|
15
15
|
filter?: object;
|
|
16
16
|
page?: number;
|
|
@@ -24,9 +24,9 @@ export declare class TasksApi extends runtime.BaseAPI {
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
|
-
listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
27
|
+
listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response2>>;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
|
-
list(requestParameters?: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
31
|
+
list(requestParameters?: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2>;
|
|
32
32
|
}
|
package/dist/apis/TasksApi.js
CHANGED
|
@@ -115,7 +115,7 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
115
115
|
}, initOverrides)];
|
|
116
116
|
case 3:
|
|
117
117
|
response = _a.sent();
|
|
118
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
118
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response2FromJSON)(jsonValue); })];
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
});
|
|
@@ -0,0 +1,118 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IntersectionDomainDtoWithAccountNameDto
|
|
17
|
+
*/
|
|
18
|
+
export interface IntersectionDomainDtoWithAccountNameDto {
|
|
19
|
+
/**
|
|
20
|
+
* The uuid for this domain.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The current owner for the domain
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
29
|
+
*/
|
|
30
|
+
accountId: string;
|
|
31
|
+
/**
|
|
32
|
+
* The hijacker for the domain
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
35
|
+
*/
|
|
36
|
+
hijackerId: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The TLD for this domain.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
41
|
+
*/
|
|
42
|
+
tld: string;
|
|
43
|
+
/**
|
|
44
|
+
* Whether this domain is verified by the owner (ns3, txt) or not.
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
47
|
+
*/
|
|
48
|
+
verified: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Whether the nameservers (ns1,ns2) are set or not.
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
53
|
+
*/
|
|
54
|
+
nameservers: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
59
|
+
*/
|
|
60
|
+
name: string;
|
|
61
|
+
/**
|
|
62
|
+
* The unicode domain name (example.com, mañana.com)
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
65
|
+
*/
|
|
66
|
+
displayName: string;
|
|
67
|
+
/**
|
|
68
|
+
* /**
|
|
69
|
+
* The domain's currency code (ISO 4217)
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
72
|
+
*/
|
|
73
|
+
currencyCode: string;
|
|
74
|
+
/**
|
|
75
|
+
* The BIN
|
|
76
|
+
* @type {MoneyDto}
|
|
77
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
78
|
+
*/
|
|
79
|
+
buyNow: MoneyDto;
|
|
80
|
+
/**
|
|
81
|
+
* The minimum offer
|
|
82
|
+
* @type {MoneyDto}
|
|
83
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
84
|
+
*/
|
|
85
|
+
minOffer: MoneyDto;
|
|
86
|
+
/**
|
|
87
|
+
* The creation date
|
|
88
|
+
* @type {Date}
|
|
89
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
90
|
+
*/
|
|
91
|
+
createdAt: Date;
|
|
92
|
+
/**
|
|
93
|
+
* The deletion date
|
|
94
|
+
* @type {Date}
|
|
95
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
96
|
+
*/
|
|
97
|
+
deletedAt: Date | null;
|
|
98
|
+
/**
|
|
99
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
102
|
+
*/
|
|
103
|
+
pageviews: number;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
108
|
+
*/
|
|
109
|
+
accountName: string | null;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the IntersectionDomainDtoWithAccountNameDto interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfIntersectionDomainDtoWithAccountNameDto(value: object): value is IntersectionDomainDtoWithAccountNameDto;
|
|
115
|
+
export declare function IntersectionDomainDtoWithAccountNameDtoFromJSON(json: any): IntersectionDomainDtoWithAccountNameDto;
|
|
116
|
+
export declare function IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithAccountNameDto;
|
|
117
|
+
export declare function IntersectionDomainDtoWithAccountNameDtoToJSON(json: any): IntersectionDomainDtoWithAccountNameDto;
|
|
118
|
+
export declare function IntersectionDomainDtoWithAccountNameDtoToJSONTyped(value?: IntersectionDomainDtoWithAccountNameDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,108 @@
|
|
|
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.instanceOfIntersectionDomainDtoWithAccountNameDto = instanceOfIntersectionDomainDtoWithAccountNameDto;
|
|
17
|
+
exports.IntersectionDomainDtoWithAccountNameDtoFromJSON = IntersectionDomainDtoWithAccountNameDtoFromJSON;
|
|
18
|
+
exports.IntersectionDomainDtoWithAccountNameDtoFromJSONTyped = IntersectionDomainDtoWithAccountNameDtoFromJSONTyped;
|
|
19
|
+
exports.IntersectionDomainDtoWithAccountNameDtoToJSON = IntersectionDomainDtoWithAccountNameDtoToJSON;
|
|
20
|
+
exports.IntersectionDomainDtoWithAccountNameDtoToJSONTyped = IntersectionDomainDtoWithAccountNameDtoToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the IntersectionDomainDtoWithAccountNameDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfIntersectionDomainDtoWithAccountNameDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('tld' in value) || value['tld'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('verified' in value) || value['verified'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('nameservers' in value) || value['nameservers'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('accountName' in value) || value['accountName'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
function IntersectionDomainDtoWithAccountNameDtoFromJSON(json) {
|
|
59
|
+
return IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': json['id'],
|
|
67
|
+
'accountId': json['accountId'],
|
|
68
|
+
'hijackerId': json['hijackerId'],
|
|
69
|
+
'tld': json['tld'],
|
|
70
|
+
'verified': json['verified'],
|
|
71
|
+
'nameservers': json['nameservers'],
|
|
72
|
+
'name': json['name'],
|
|
73
|
+
'displayName': json['displayName'],
|
|
74
|
+
'currencyCode': json['currencyCode'],
|
|
75
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
76
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
77
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
78
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
79
|
+
'pageviews': json['pageviews'],
|
|
80
|
+
'accountName': json['accountName'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function IntersectionDomainDtoWithAccountNameDtoToJSON(json) {
|
|
84
|
+
return IntersectionDomainDtoWithAccountNameDtoToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
function IntersectionDomainDtoWithAccountNameDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
87
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
'id': value['id'],
|
|
93
|
+
'accountId': value['accountId'],
|
|
94
|
+
'hijackerId': value['hijackerId'],
|
|
95
|
+
'tld': value['tld'],
|
|
96
|
+
'verified': value['verified'],
|
|
97
|
+
'nameservers': value['nameservers'],
|
|
98
|
+
'name': value['name'],
|
|
99
|
+
'displayName': value['displayName'],
|
|
100
|
+
'currencyCode': value['currencyCode'],
|
|
101
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
102
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
103
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
104
|
+
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
105
|
+
'pageviews': value['pageviews'],
|
|
106
|
+
'accountName': value['accountName'],
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type {
|
|
13
|
+
import type { DomainDto } from './DomainDto';
|
|
14
14
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
|
20
20
|
export interface List200Response1 {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Array<
|
|
23
|
+
* @type {Array<DomainDto>}
|
|
24
24
|
* @memberof List200Response1
|
|
25
25
|
*/
|
|
26
|
-
data: Array<
|
|
26
|
+
data: Array<DomainDto>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {PaginateResponseMeta}
|
|
@@ -19,7 +19,7 @@ exports.List200Response1FromJSONTyped = List200Response1FromJSONTyped;
|
|
|
19
19
|
exports.List200Response1ToJSON = List200Response1ToJSON;
|
|
20
20
|
exports.List200Response1ToJSONTyped = List200Response1ToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
-
var
|
|
22
|
+
var DomainDto_1 = require("./DomainDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the List200Response1 interface.
|
|
@@ -41,7 +41,7 @@ function List200Response1FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(DomainDto_1.DomainDtoFromJSON)),
|
|
45
45
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ function List200Response1ToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(DomainDto_1.DomainDtoToJSON)),
|
|
59
59
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
60
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
61
|
};
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type {
|
|
13
|
+
import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
|
|
14
14
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
|
20
20
|
export interface List200Response2 {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Array<
|
|
23
|
+
* @type {Array<IntersectionTaskListTaskDto>}
|
|
24
24
|
* @memberof List200Response2
|
|
25
25
|
*/
|
|
26
|
-
data: Array<
|
|
26
|
+
data: Array<IntersectionTaskListTaskDto>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {PaginateResponseMeta}
|
|
@@ -19,7 +19,7 @@ exports.List200Response2FromJSONTyped = List200Response2FromJSONTyped;
|
|
|
19
19
|
exports.List200Response2ToJSON = List200Response2ToJSON;
|
|
20
20
|
exports.List200Response2ToJSONTyped = List200Response2ToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
-
var
|
|
22
|
+
var IntersectionTaskListTaskDto_1 = require("./IntersectionTaskListTaskDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the List200Response2 interface.
|
|
@@ -41,7 +41,7 @@ function List200Response2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoFromJSON)),
|
|
45
45
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ function List200Response2ToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoToJSON)),
|
|
59
59
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
60
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
61
|
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { PublicDomainDto } from './PublicDomainDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface List200Response3
|
|
19
|
+
*/
|
|
20
|
+
export interface List200Response3 {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<PublicDomainDto>}
|
|
24
|
+
* @memberof List200Response3
|
|
25
|
+
*/
|
|
26
|
+
data: Array<PublicDomainDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof List200Response3
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof List200Response3
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the List200Response3 interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfList200Response3(value: object): value is List200Response3;
|
|
44
|
+
export declare function List200Response3FromJSON(json: any): List200Response3;
|
|
45
|
+
export declare function List200Response3FromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response3;
|
|
46
|
+
export declare function List200Response3ToJSON(json: any): List200Response3;
|
|
47
|
+
export declare function List200Response3ToJSONTyped(value?: List200Response3 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfList200Response3 = instanceOfList200Response3;
|
|
17
|
+
exports.List200Response3FromJSON = List200Response3FromJSON;
|
|
18
|
+
exports.List200Response3FromJSONTyped = List200Response3FromJSONTyped;
|
|
19
|
+
exports.List200Response3ToJSON = List200Response3ToJSON;
|
|
20
|
+
exports.List200Response3ToJSONTyped = List200Response3ToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var PublicDomainDto_1 = require("./PublicDomainDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the List200Response3 interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfList200Response3(value) {
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function List200Response3FromJSON(json) {
|
|
37
|
+
return List200Response3FromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function List200Response3FromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(PublicDomainDto_1.PublicDomainDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function List200Response3ToJSON(json) {
|
|
50
|
+
return List200Response3ToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function List200Response3ToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(PublicDomainDto_1.PublicDomainDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type {
|
|
13
|
+
import type { IntersectionDomainDtoWithAccountNameDto } from './IntersectionDomainDtoWithAccountNameDto';
|
|
14
14
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
|
20
20
|
export interface ListDomains200Response {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Array<
|
|
23
|
+
* @type {Array<IntersectionDomainDtoWithAccountNameDto>}
|
|
24
24
|
* @memberof ListDomains200Response
|
|
25
25
|
*/
|
|
26
|
-
data: Array<
|
|
26
|
+
data: Array<IntersectionDomainDtoWithAccountNameDto>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {PaginateResponseMeta}
|
|
@@ -19,7 +19,7 @@ exports.ListDomains200ResponseFromJSONTyped = ListDomains200ResponseFromJSONType
|
|
|
19
19
|
exports.ListDomains200ResponseToJSON = ListDomains200ResponseToJSON;
|
|
20
20
|
exports.ListDomains200ResponseToJSONTyped = ListDomains200ResponseToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
-
var
|
|
22
|
+
var IntersectionDomainDtoWithAccountNameDto_1 = require("./IntersectionDomainDtoWithAccountNameDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the ListDomains200Response interface.
|
|
@@ -41,7 +41,7 @@ function ListDomains200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(IntersectionDomainDtoWithAccountNameDto_1.IntersectionDomainDtoWithAccountNameDtoFromJSON)),
|
|
45
45
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ function ListDomains200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(IntersectionDomainDtoWithAccountNameDto_1.IntersectionDomainDtoWithAccountNameDtoToJSON)),
|
|
59
59
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
60
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
61
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export * from './GetBuyerTransfers200Response';
|
|
|
64
64
|
export * from './HttpException';
|
|
65
65
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
|
|
66
66
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
67
|
+
export * from './IntersectionDomainDtoWithAccountNameDto';
|
|
67
68
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
68
69
|
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
|
|
69
70
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
@@ -82,6 +83,7 @@ export * from './LeadStatusDto';
|
|
|
82
83
|
export * from './List200Response';
|
|
83
84
|
export * from './List200Response1';
|
|
84
85
|
export * from './List200Response2';
|
|
86
|
+
export * from './List200Response3';
|
|
85
87
|
export * from './ListAccountDto';
|
|
86
88
|
export * from './ListAccounts200Response';
|
|
87
89
|
export * from './ListDomains200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -82,6 +82,7 @@ __exportStar(require("./GetBuyerTransfers200Response"), exports);
|
|
|
82
82
|
__exportStar(require("./HttpException"), exports);
|
|
83
83
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDto"), exports);
|
|
84
84
|
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
|
85
|
+
__exportStar(require("./IntersectionDomainDtoWithAccountNameDto"), exports);
|
|
85
86
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
86
87
|
__exportStar(require("./IntersectionDomainSalesInformationDtoWithDomainStatsDto"), exports);
|
|
87
88
|
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto"), exports);
|
|
@@ -100,6 +101,7 @@ __exportStar(require("./LeadStatusDto"), exports);
|
|
|
100
101
|
__exportStar(require("./List200Response"), exports);
|
|
101
102
|
__exportStar(require("./List200Response1"), exports);
|
|
102
103
|
__exportStar(require("./List200Response2"), exports);
|
|
104
|
+
__exportStar(require("./List200Response3"), exports);
|
|
103
105
|
__exportStar(require("./ListAccountDto"), exports);
|
|
104
106
|
__exportStar(require("./ListAccounts200Response"), exports);
|
|
105
107
|
__exportStar(require("./ListDomains200Response"), exports);
|
package/package.json
CHANGED
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -22,7 +22,7 @@ import type {
|
|
|
22
22
|
DomainUrlDto,
|
|
23
23
|
GetAllDomainTransfers200Response,
|
|
24
24
|
IntersectionDomainDtoWithHijackerDtoWithAccountDto,
|
|
25
|
-
|
|
25
|
+
List200Response1,
|
|
26
26
|
NotFoundException,
|
|
27
27
|
SellerDomainTransferDto,
|
|
28
28
|
ThrottlerException,
|
|
@@ -45,8 +45,8 @@ import {
|
|
|
45
45
|
GetAllDomainTransfers200ResponseToJSON,
|
|
46
46
|
IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON,
|
|
47
47
|
IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
List200Response1FromJSON,
|
|
49
|
+
List200Response1ToJSON,
|
|
50
50
|
NotFoundExceptionFromJSON,
|
|
51
51
|
NotFoundExceptionToJSON,
|
|
52
52
|
SellerDomainTransferDtoFromJSON,
|
|
@@ -538,7 +538,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
538
538
|
/**
|
|
539
539
|
*
|
|
540
540
|
*/
|
|
541
|
-
async listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
541
|
+
async listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>> {
|
|
542
542
|
const queryParameters: any = {};
|
|
543
543
|
|
|
544
544
|
if (requestParameters['filter'] != null) {
|
|
@@ -574,13 +574,13 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
574
574
|
query: queryParameters,
|
|
575
575
|
}, initOverrides);
|
|
576
576
|
|
|
577
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
577
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => List200Response1FromJSON(jsonValue));
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
581
|
*
|
|
582
582
|
*/
|
|
583
|
-
async list(requestParameters: DomainsApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
583
|
+
async list(requestParameters: DomainsApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1> {
|
|
584
584
|
const response = await this.listRaw(requestParameters, initOverrides);
|
|
585
585
|
return await response.value();
|
|
586
586
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
IntersectionDomainSalesInformationDtoWithDomainStatsDto,
|
|
19
|
-
|
|
19
|
+
List200Response3,
|
|
20
20
|
NotFoundException,
|
|
21
21
|
ThrottlerException,
|
|
22
22
|
ValidationException,
|
|
@@ -24,8 +24,8 @@ import type {
|
|
|
24
24
|
import {
|
|
25
25
|
IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSON,
|
|
26
26
|
IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
List200Response3FromJSON,
|
|
28
|
+
List200Response3ToJSON,
|
|
29
29
|
NotFoundExceptionFromJSON,
|
|
30
30
|
NotFoundExceptionToJSON,
|
|
31
31
|
ThrottlerExceptionFromJSON,
|
|
@@ -91,7 +91,7 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
*/
|
|
94
|
-
async listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
94
|
+
async listRaw(requestParameters: DomainsPublicApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response3>> {
|
|
95
95
|
const queryParameters: any = {};
|
|
96
96
|
|
|
97
97
|
if (requestParameters['filter'] != null) {
|
|
@@ -119,13 +119,13 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
119
119
|
query: queryParameters,
|
|
120
120
|
}, initOverrides);
|
|
121
121
|
|
|
122
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
122
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => List200Response3FromJSON(jsonValue));
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
*
|
|
127
127
|
*/
|
|
128
|
-
async list(requestParameters: DomainsPublicApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
128
|
+
async list(requestParameters: DomainsPublicApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response3> {
|
|
129
129
|
const response = await this.listRaw(requestParameters, initOverrides);
|
|
130
130
|
return await response.value();
|
|
131
131
|
}
|
package/src/apis/TasksApi.ts
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
List200Response2,
|
|
19
19
|
ThrottlerException,
|
|
20
20
|
ValidationException,
|
|
21
21
|
} from '../models/index';
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
List200Response2FromJSON,
|
|
24
|
+
List200Response2ToJSON,
|
|
25
25
|
ThrottlerExceptionFromJSON,
|
|
26
26
|
ThrottlerExceptionToJSON,
|
|
27
27
|
ValidationExceptionFromJSON,
|
|
@@ -43,7 +43,7 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
|
-
async listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
46
|
+
async listRaw(requestParameters: TasksApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response2>> {
|
|
47
47
|
const queryParameters: any = {};
|
|
48
48
|
|
|
49
49
|
if (requestParameters['filter'] != null) {
|
|
@@ -79,13 +79,13 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
79
79
|
query: queryParameters,
|
|
80
80
|
}, initOverrides);
|
|
81
81
|
|
|
82
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
82
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => List200Response2FromJSON(jsonValue));
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
*/
|
|
88
|
-
async list(requestParameters: TasksApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
88
|
+
async list(requestParameters: TasksApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2> {
|
|
89
89
|
const response = await this.listRaw(requestParameters, initOverrides);
|
|
90
90
|
return await response.value();
|
|
91
91
|
}
|
|
@@ -0,0 +1,201 @@
|
|
|
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 { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
22
|
+
} from './MoneyDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface IntersectionDomainDtoWithAccountNameDto
|
|
28
|
+
*/
|
|
29
|
+
export interface IntersectionDomainDtoWithAccountNameDto {
|
|
30
|
+
/**
|
|
31
|
+
* The uuid for this domain.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* The current owner for the domain
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
40
|
+
*/
|
|
41
|
+
accountId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The hijacker for the domain
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
46
|
+
*/
|
|
47
|
+
hijackerId: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* The TLD for this domain.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
52
|
+
*/
|
|
53
|
+
tld: string;
|
|
54
|
+
/**
|
|
55
|
+
* Whether this domain is verified by the owner (ns3, txt) or not.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
58
|
+
*/
|
|
59
|
+
verified: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Whether the nameservers (ns1,ns2) are set or not.
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
64
|
+
*/
|
|
65
|
+
nameservers: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
70
|
+
*/
|
|
71
|
+
name: string;
|
|
72
|
+
/**
|
|
73
|
+
* The unicode domain name (example.com, mañana.com)
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
76
|
+
*/
|
|
77
|
+
displayName: string;
|
|
78
|
+
/**
|
|
79
|
+
* /**
|
|
80
|
+
* The domain's currency code (ISO 4217)
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
83
|
+
*/
|
|
84
|
+
currencyCode: string;
|
|
85
|
+
/**
|
|
86
|
+
* The BIN
|
|
87
|
+
* @type {MoneyDto}
|
|
88
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
89
|
+
*/
|
|
90
|
+
buyNow: MoneyDto;
|
|
91
|
+
/**
|
|
92
|
+
* The minimum offer
|
|
93
|
+
* @type {MoneyDto}
|
|
94
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
95
|
+
*/
|
|
96
|
+
minOffer: MoneyDto;
|
|
97
|
+
/**
|
|
98
|
+
* The creation date
|
|
99
|
+
* @type {Date}
|
|
100
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
101
|
+
*/
|
|
102
|
+
createdAt: Date;
|
|
103
|
+
/**
|
|
104
|
+
* The deletion date
|
|
105
|
+
* @type {Date}
|
|
106
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
107
|
+
*/
|
|
108
|
+
deletedAt: Date | null;
|
|
109
|
+
/**
|
|
110
|
+
* The amount of pageviews for this domain, or null if none are tracked.
|
|
111
|
+
* @type {number}
|
|
112
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
113
|
+
*/
|
|
114
|
+
pageviews: number;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof IntersectionDomainDtoWithAccountNameDto
|
|
119
|
+
*/
|
|
120
|
+
accountName: string | null;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the IntersectionDomainDtoWithAccountNameDto interface.
|
|
125
|
+
*/
|
|
126
|
+
export function instanceOfIntersectionDomainDtoWithAccountNameDto(value: object): value is IntersectionDomainDtoWithAccountNameDto {
|
|
127
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
128
|
+
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
129
|
+
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
130
|
+
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
131
|
+
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
132
|
+
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
133
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
134
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
135
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
136
|
+
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
137
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
138
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
139
|
+
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
140
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
141
|
+
if (!('accountName' in value) || value['accountName'] === undefined) return false;
|
|
142
|
+
return true;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function IntersectionDomainDtoWithAccountNameDtoFromJSON(json: any): IntersectionDomainDtoWithAccountNameDto {
|
|
146
|
+
return IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json, false);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function IntersectionDomainDtoWithAccountNameDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithAccountNameDto {
|
|
150
|
+
if (json == null) {
|
|
151
|
+
return json;
|
|
152
|
+
}
|
|
153
|
+
return {
|
|
154
|
+
|
|
155
|
+
'id': json['id'],
|
|
156
|
+
'accountId': json['accountId'],
|
|
157
|
+
'hijackerId': json['hijackerId'],
|
|
158
|
+
'tld': json['tld'],
|
|
159
|
+
'verified': json['verified'],
|
|
160
|
+
'nameservers': json['nameservers'],
|
|
161
|
+
'name': json['name'],
|
|
162
|
+
'displayName': json['displayName'],
|
|
163
|
+
'currencyCode': json['currencyCode'],
|
|
164
|
+
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
165
|
+
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
166
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
167
|
+
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
168
|
+
'pageviews': json['pageviews'],
|
|
169
|
+
'accountName': json['accountName'],
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export function IntersectionDomainDtoWithAccountNameDtoToJSON(json: any): IntersectionDomainDtoWithAccountNameDto {
|
|
174
|
+
return IntersectionDomainDtoWithAccountNameDtoToJSONTyped(json, false);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function IntersectionDomainDtoWithAccountNameDtoToJSONTyped(value?: IntersectionDomainDtoWithAccountNameDto | null, ignoreDiscriminator: boolean = false): any {
|
|
178
|
+
if (value == null) {
|
|
179
|
+
return value;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
return {
|
|
183
|
+
|
|
184
|
+
'id': value['id'],
|
|
185
|
+
'accountId': value['accountId'],
|
|
186
|
+
'hijackerId': value['hijackerId'],
|
|
187
|
+
'tld': value['tld'],
|
|
188
|
+
'verified': value['verified'],
|
|
189
|
+
'nameservers': value['nameservers'],
|
|
190
|
+
'name': value['name'],
|
|
191
|
+
'displayName': value['displayName'],
|
|
192
|
+
'currencyCode': value['currencyCode'],
|
|
193
|
+
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
194
|
+
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
195
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
196
|
+
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
197
|
+
'pageviews': value['pageviews'],
|
|
198
|
+
'accountName': value['accountName'],
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { DomainDto } from './DomainDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
DomainDtoFromJSON,
|
|
26
|
+
DomainDtoFromJSONTyped,
|
|
27
|
+
DomainDtoToJSON,
|
|
28
|
+
DomainDtoToJSONTyped,
|
|
29
|
+
} from './DomainDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface List200Response1 {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<DomainDto>}
|
|
47
47
|
* @memberof List200Response1
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<DomainDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function List200Response1FromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(DomainDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function List200Response1FromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(DomainDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
IntersectionTaskListTaskDtoFromJSON,
|
|
26
|
+
IntersectionTaskListTaskDtoFromJSONTyped,
|
|
27
|
+
IntersectionTaskListTaskDtoToJSON,
|
|
28
|
+
IntersectionTaskListTaskDtoToJSONTyped,
|
|
29
|
+
} from './IntersectionTaskListTaskDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface List200Response2 {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<IntersectionTaskListTaskDto>}
|
|
47
47
|
* @memberof List200Response2
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<IntersectionTaskListTaskDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function List200Response2FromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(IntersectionTaskListTaskDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function List200Response2FromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(IntersectionTaskListTaskDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { PublicDomainDto } from './PublicDomainDto';
|
|
24
|
+
import {
|
|
25
|
+
PublicDomainDtoFromJSON,
|
|
26
|
+
PublicDomainDtoFromJSONTyped,
|
|
27
|
+
PublicDomainDtoToJSON,
|
|
28
|
+
PublicDomainDtoToJSONTyped,
|
|
29
|
+
} from './PublicDomainDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface List200Response3
|
|
42
|
+
*/
|
|
43
|
+
export interface List200Response3 {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<PublicDomainDto>}
|
|
47
|
+
* @memberof List200Response3
|
|
48
|
+
*/
|
|
49
|
+
data: Array<PublicDomainDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof List200Response3
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof List200Response3
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the List200Response3 interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfList200Response3(value: object): value is List200Response3 {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function List200Response3FromJSON(json: any): List200Response3 {
|
|
75
|
+
return List200Response3FromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function List200Response3FromJSONTyped(json: any, ignoreDiscriminator: boolean): List200Response3 {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(PublicDomainDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function List200Response3ToJSON(json: any): List200Response3 {
|
|
91
|
+
return List200Response3ToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function List200Response3ToJSONTyped(value?: List200Response3 | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(PublicDomainDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { IntersectionDomainDtoWithAccountNameDto } from './IntersectionDomainDtoWithAccountNameDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
IntersectionDomainDtoWithAccountNameDtoFromJSON,
|
|
26
|
+
IntersectionDomainDtoWithAccountNameDtoFromJSONTyped,
|
|
27
|
+
IntersectionDomainDtoWithAccountNameDtoToJSON,
|
|
28
|
+
IntersectionDomainDtoWithAccountNameDtoToJSONTyped,
|
|
29
|
+
} from './IntersectionDomainDtoWithAccountNameDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface ListDomains200Response {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<IntersectionDomainDtoWithAccountNameDto>}
|
|
47
47
|
* @memberof ListDomains200Response
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<IntersectionDomainDtoWithAccountNameDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function ListDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(IntersectionDomainDtoWithAccountNameDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function ListDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(IntersectionDomainDtoWithAccountNameDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
package/src/models/index.ts
CHANGED
|
@@ -66,6 +66,7 @@ export * from './GetBuyerTransfers200Response';
|
|
|
66
66
|
export * from './HttpException';
|
|
67
67
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDto';
|
|
68
68
|
export * from './IntersectionDomainDtoWithAccountDto';
|
|
69
|
+
export * from './IntersectionDomainDtoWithAccountNameDto';
|
|
69
70
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
70
71
|
export * from './IntersectionDomainSalesInformationDtoWithDomainStatsDto';
|
|
71
72
|
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto';
|
|
@@ -84,6 +85,7 @@ export * from './LeadStatusDto';
|
|
|
84
85
|
export * from './List200Response';
|
|
85
86
|
export * from './List200Response1';
|
|
86
87
|
export * from './List200Response2';
|
|
88
|
+
export * from './List200Response3';
|
|
87
89
|
export * from './ListAccountDto';
|
|
88
90
|
export * from './ListAccounts200Response';
|
|
89
91
|
export * from './ListDomains200Response';
|