@randock/nameshift-api-client 0.0.147 → 0.0.149
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 -0
- package/README.md +3 -3
- package/dist/apis/DomainsPublicApi.d.ts +13 -1
- package/dist/apis/DomainsPublicApi.js +52 -0
- package/dist/models/ConcreteDomainTransferTaskData.d.ts +41 -0
- package/dist/models/ConcreteDomainTransferTaskData.js +60 -0
- package/dist/models/IntersectionTaskListTaskDto.d.ts +14 -0
- package/dist/models/IntersectionTaskListTaskDto.js +10 -0
- package/dist/models/PublicDomainControllerListDomains200Response.d.ts +47 -0
- package/dist/models/PublicDomainControllerListDomains200Response.js +62 -0
- package/dist/models/PublicDomainDto.d.ts +76 -0
- package/dist/models/PublicDomainDto.js +80 -0
- package/dist/models/TaskListDomainTransferDto.d.ts +32 -0
- package/dist/models/TaskListDomainTransferDto.js +51 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/DomainsPublicApi.ts +50 -0
- package/src/models/ConcreteDomainTransferTaskData.ts +78 -0
- package/src/models/IntersectionTaskListTaskDto.ts +32 -0
- package/src/models/PublicDomainControllerListDomains200Response.ts +106 -0
- package/src/models/PublicDomainDto.ts +138 -0
- package/src/models/TaskListDomainTransferDto.ts +66 -0
- package/src/models/index.ts +4 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -49,6 +49,7 @@ src/models/ChangeOrderStatusInput.ts
|
|
|
49
49
|
src/models/ChartDataPoint.ts
|
|
50
50
|
src/models/CompanyInformationDto.ts
|
|
51
51
|
src/models/CompanyTaxIdDto.ts
|
|
52
|
+
src/models/ConcreteDomainTransferTaskData.ts
|
|
52
53
|
src/models/ConflictException.ts
|
|
53
54
|
src/models/CreateBuyerLeadMessageInput.ts
|
|
54
55
|
src/models/CreateLeadInput.ts
|
|
@@ -123,6 +124,8 @@ src/models/PaginateResponseLinks.ts
|
|
|
123
124
|
src/models/PaginateResponseMeta.ts
|
|
124
125
|
src/models/ParsedDomainDto.ts
|
|
125
126
|
src/models/PaymentProviderDto.ts
|
|
127
|
+
src/models/PublicDomainControllerListDomains200Response.ts
|
|
128
|
+
src/models/PublicDomainDto.ts
|
|
126
129
|
src/models/PublicLeadBuyerDto.ts
|
|
127
130
|
src/models/PublicLeadDto.ts
|
|
128
131
|
src/models/PutBuyerLeadOfferInput.ts
|
|
@@ -142,6 +145,7 @@ src/models/SetNewPasswordInput.ts
|
|
|
142
145
|
src/models/StoreBuyerLocaleInput.ts
|
|
143
146
|
src/models/StoreUserLocaleInput.ts
|
|
144
147
|
src/models/TaskListDomainDto.ts
|
|
148
|
+
src/models/TaskListDomainTransferDto.ts
|
|
145
149
|
src/models/TaskListLeadDto.ts
|
|
146
150
|
src/models/ThrottlerException.ts
|
|
147
151
|
src/models/UpdateAccountBillingInformationInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.149
|
|
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.149 --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
|
+
416444bb4c9cdb0ef56e44bb204f09a46f9aef2b23bbd0aa6685b2122a5b3643aad76420bea437d688ca26f8c80b06a5
|
|
@@ -10,11 +10,17 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto } from '../models/index';
|
|
13
|
+
import type { IntersectionDomainSalesInformationDtoWithDomainStatsDto, PublicDomainControllerListDomains200Response } from '../models/index';
|
|
14
14
|
export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
15
15
|
domainName: string;
|
|
16
16
|
includeStats?: boolean;
|
|
17
17
|
}
|
|
18
|
+
export interface DomainsPublicApiPublicDomainControllerListDomainsRequest {
|
|
19
|
+
filter?: object;
|
|
20
|
+
page?: number;
|
|
21
|
+
limit?: number;
|
|
22
|
+
sortBy?: Array<string>;
|
|
23
|
+
}
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
*/
|
|
@@ -27,4 +33,10 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
27
33
|
*
|
|
28
34
|
*/
|
|
29
35
|
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainSalesInformationDtoWithDomainStatsDto>;
|
|
36
|
+
/**
|
|
37
|
+
*/
|
|
38
|
+
publicDomainControllerListDomainsRaw(requestParameters: DomainsPublicApiPublicDomainControllerListDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PublicDomainControllerListDomains200Response>>;
|
|
39
|
+
/**
|
|
40
|
+
*/
|
|
41
|
+
publicDomainControllerListDomains(requestParameters?: DomainsPublicApiPublicDomainControllerListDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicDomainControllerListDomains200Response>;
|
|
30
42
|
}
|
|
@@ -122,6 +122,58 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
122
122
|
});
|
|
123
123
|
});
|
|
124
124
|
};
|
|
125
|
+
/**
|
|
126
|
+
*/
|
|
127
|
+
DomainsPublicApi.prototype.publicDomainControllerListDomainsRaw = function (requestParameters, initOverrides) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
129
|
+
var queryParameters, headerParameters, response;
|
|
130
|
+
return __generator(this, function (_a) {
|
|
131
|
+
switch (_a.label) {
|
|
132
|
+
case 0:
|
|
133
|
+
queryParameters = {};
|
|
134
|
+
if (requestParameters['filter'] != null) {
|
|
135
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
136
|
+
}
|
|
137
|
+
if (requestParameters['page'] != null) {
|
|
138
|
+
queryParameters['page'] = requestParameters['page'];
|
|
139
|
+
}
|
|
140
|
+
if (requestParameters['limit'] != null) {
|
|
141
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
142
|
+
}
|
|
143
|
+
if (requestParameters['sortBy'] != null) {
|
|
144
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
145
|
+
}
|
|
146
|
+
headerParameters = {};
|
|
147
|
+
return [4 /*yield*/, this.request({
|
|
148
|
+
path: "/domains",
|
|
149
|
+
method: 'GET',
|
|
150
|
+
headers: headerParameters,
|
|
151
|
+
query: queryParameters,
|
|
152
|
+
}, initOverrides)];
|
|
153
|
+
case 1:
|
|
154
|
+
response = _a.sent();
|
|
155
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PublicDomainControllerListDomains200ResponseFromJSON)(jsonValue); })];
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
*/
|
|
162
|
+
DomainsPublicApi.prototype.publicDomainControllerListDomains = function () {
|
|
163
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
164
|
+
var response;
|
|
165
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
166
|
+
return __generator(this, function (_a) {
|
|
167
|
+
switch (_a.label) {
|
|
168
|
+
case 0: return [4 /*yield*/, this.publicDomainControllerListDomainsRaw(requestParameters, initOverrides)];
|
|
169
|
+
case 1:
|
|
170
|
+
response = _a.sent();
|
|
171
|
+
return [4 /*yield*/, response.value()];
|
|
172
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
};
|
|
125
177
|
return DomainsPublicApi;
|
|
126
178
|
}(runtime.BaseAPI));
|
|
127
179
|
exports.DomainsPublicApi = DomainsPublicApi;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ConcreteDomainTransferTaskData
|
|
16
|
+
*/
|
|
17
|
+
export interface ConcreteDomainTransferTaskData {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ConcreteDomainTransferTaskData
|
|
22
|
+
*/
|
|
23
|
+
requirements: Array<ConcreteDomainTransferTaskDataRequirementsEnum>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const ConcreteDomainTransferTaskDataRequirementsEnum: {
|
|
29
|
+
readonly AUTH_CODE: "auth_code";
|
|
30
|
+
readonly BUYER_CONFIRMATION: "buyer_confirmation";
|
|
31
|
+
readonly OWNED_DOMAIN: "owned_domain";
|
|
32
|
+
};
|
|
33
|
+
export type ConcreteDomainTransferTaskDataRequirementsEnum = typeof ConcreteDomainTransferTaskDataRequirementsEnum[keyof typeof ConcreteDomainTransferTaskDataRequirementsEnum];
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the ConcreteDomainTransferTaskData interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfConcreteDomainTransferTaskData(value: object): value is ConcreteDomainTransferTaskData;
|
|
38
|
+
export declare function ConcreteDomainTransferTaskDataFromJSON(json: any): ConcreteDomainTransferTaskData;
|
|
39
|
+
export declare function ConcreteDomainTransferTaskDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConcreteDomainTransferTaskData;
|
|
40
|
+
export declare function ConcreteDomainTransferTaskDataToJSON(json: any): ConcreteDomainTransferTaskData;
|
|
41
|
+
export declare function ConcreteDomainTransferTaskDataToJSONTyped(value?: ConcreteDomainTransferTaskData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.ConcreteDomainTransferTaskDataRequirementsEnum = void 0;
|
|
17
|
+
exports.instanceOfConcreteDomainTransferTaskData = instanceOfConcreteDomainTransferTaskData;
|
|
18
|
+
exports.ConcreteDomainTransferTaskDataFromJSON = ConcreteDomainTransferTaskDataFromJSON;
|
|
19
|
+
exports.ConcreteDomainTransferTaskDataFromJSONTyped = ConcreteDomainTransferTaskDataFromJSONTyped;
|
|
20
|
+
exports.ConcreteDomainTransferTaskDataToJSON = ConcreteDomainTransferTaskDataToJSON;
|
|
21
|
+
exports.ConcreteDomainTransferTaskDataToJSONTyped = ConcreteDomainTransferTaskDataToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ConcreteDomainTransferTaskDataRequirementsEnum = {
|
|
26
|
+
AUTH_CODE: 'auth_code',
|
|
27
|
+
BUYER_CONFIRMATION: 'buyer_confirmation',
|
|
28
|
+
OWNED_DOMAIN: 'owned_domain'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ConcreteDomainTransferTaskData interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfConcreteDomainTransferTaskData(value) {
|
|
34
|
+
if (!('requirements' in value) || value['requirements'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function ConcreteDomainTransferTaskDataFromJSON(json) {
|
|
39
|
+
return ConcreteDomainTransferTaskDataFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ConcreteDomainTransferTaskDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'requirements': json['requirements'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ConcreteDomainTransferTaskDataToJSON(json) {
|
|
50
|
+
return ConcreteDomainTransferTaskDataToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ConcreteDomainTransferTaskDataToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'requirements': value['requirements'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { TaskListDomainTransferDto } from './TaskListDomainTransferDto';
|
|
13
|
+
import type { ConcreteDomainTransferTaskData } from './ConcreteDomainTransferTaskData';
|
|
12
14
|
import type { TaskListLeadDto } from './TaskListLeadDto';
|
|
13
15
|
import type { TaskListDomainDto } from './TaskListDomainDto';
|
|
14
16
|
/**
|
|
@@ -41,12 +43,24 @@ export interface IntersectionTaskListTaskDto {
|
|
|
41
43
|
* @memberof IntersectionTaskListTaskDto
|
|
42
44
|
*/
|
|
43
45
|
type: IntersectionTaskListTaskDtoTypeEnum;
|
|
46
|
+
/**
|
|
47
|
+
* The data for this task
|
|
48
|
+
* @type {ConcreteDomainTransferTaskData}
|
|
49
|
+
* @memberof IntersectionTaskListTaskDto
|
|
50
|
+
*/
|
|
51
|
+
data: ConcreteDomainTransferTaskData | null;
|
|
44
52
|
/**
|
|
45
53
|
* Domain data this task belongs to.
|
|
46
54
|
* @type {TaskListDomainDto}
|
|
47
55
|
* @memberof IntersectionTaskListTaskDto
|
|
48
56
|
*/
|
|
49
57
|
domain: TaskListDomainDto | null;
|
|
58
|
+
/**
|
|
59
|
+
* Domain data this task belongs to.
|
|
60
|
+
* @type {TaskListDomainTransferDto}
|
|
61
|
+
* @memberof IntersectionTaskListTaskDto
|
|
62
|
+
*/
|
|
63
|
+
domainTransfer: TaskListDomainTransferDto | null;
|
|
50
64
|
/**
|
|
51
65
|
* Domain data this task belongs to.
|
|
52
66
|
* @type {TaskListLeadDto}
|
|
@@ -19,6 +19,8 @@ exports.IntersectionTaskListTaskDtoFromJSON = IntersectionTaskListTaskDtoFromJSO
|
|
|
19
19
|
exports.IntersectionTaskListTaskDtoFromJSONTyped = IntersectionTaskListTaskDtoFromJSONTyped;
|
|
20
20
|
exports.IntersectionTaskListTaskDtoToJSON = IntersectionTaskListTaskDtoToJSON;
|
|
21
21
|
exports.IntersectionTaskListTaskDtoToJSONTyped = IntersectionTaskListTaskDtoToJSONTyped;
|
|
22
|
+
var TaskListDomainTransferDto_1 = require("./TaskListDomainTransferDto");
|
|
23
|
+
var ConcreteDomainTransferTaskData_1 = require("./ConcreteDomainTransferTaskData");
|
|
22
24
|
var TaskListLeadDto_1 = require("./TaskListLeadDto");
|
|
23
25
|
var TaskListDomainDto_1 = require("./TaskListDomainDto");
|
|
24
26
|
/**
|
|
@@ -48,8 +50,12 @@ function instanceOfIntersectionTaskListTaskDto(value) {
|
|
|
48
50
|
return false;
|
|
49
51
|
if (!('type' in value) || value['type'] === undefined)
|
|
50
52
|
return false;
|
|
53
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
54
|
+
return false;
|
|
51
55
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
52
56
|
return false;
|
|
57
|
+
if (!('domainTransfer' in value) || value['domainTransfer'] === undefined)
|
|
58
|
+
return false;
|
|
53
59
|
if (!('lead' in value) || value['lead'] === undefined)
|
|
54
60
|
return false;
|
|
55
61
|
return true;
|
|
@@ -66,7 +72,9 @@ function IntersectionTaskListTaskDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
72
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
67
73
|
'priority': json['priority'],
|
|
68
74
|
'type': json['type'],
|
|
75
|
+
'data': (0, ConcreteDomainTransferTaskData_1.ConcreteDomainTransferTaskDataFromJSON)(json['data']),
|
|
69
76
|
'domain': (0, TaskListDomainDto_1.TaskListDomainDtoFromJSON)(json['domain']),
|
|
77
|
+
'domainTransfer': (0, TaskListDomainTransferDto_1.TaskListDomainTransferDtoFromJSON)(json['domainTransfer']),
|
|
70
78
|
'lead': (0, TaskListLeadDto_1.TaskListLeadDtoFromJSON)(json['lead']),
|
|
71
79
|
};
|
|
72
80
|
}
|
|
@@ -83,7 +91,9 @@ function IntersectionTaskListTaskDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
83
91
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
84
92
|
'priority': value['priority'],
|
|
85
93
|
'type': value['type'],
|
|
94
|
+
'data': (0, ConcreteDomainTransferTaskData_1.ConcreteDomainTransferTaskDataToJSON)(value['data']),
|
|
86
95
|
'domain': (0, TaskListDomainDto_1.TaskListDomainDtoToJSON)(value['domain']),
|
|
96
|
+
'domainTransfer': (0, TaskListDomainTransferDto_1.TaskListDomainTransferDtoToJSON)(value['domainTransfer']),
|
|
87
97
|
'lead': (0, TaskListLeadDto_1.TaskListLeadDtoToJSON)(value['lead']),
|
|
88
98
|
};
|
|
89
99
|
}
|
|
@@ -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 PublicDomainControllerListDomains200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface PublicDomainControllerListDomains200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<PublicDomainDto>}
|
|
24
|
+
* @memberof PublicDomainControllerListDomains200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<PublicDomainDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof PublicDomainControllerListDomains200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof PublicDomainControllerListDomains200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the PublicDomainControllerListDomains200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfPublicDomainControllerListDomains200Response(value: object): value is PublicDomainControllerListDomains200Response;
|
|
44
|
+
export declare function PublicDomainControllerListDomains200ResponseFromJSON(json: any): PublicDomainControllerListDomains200Response;
|
|
45
|
+
export declare function PublicDomainControllerListDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainControllerListDomains200Response;
|
|
46
|
+
export declare function PublicDomainControllerListDomains200ResponseToJSON(json: any): PublicDomainControllerListDomains200Response;
|
|
47
|
+
export declare function PublicDomainControllerListDomains200ResponseToJSONTyped(value?: PublicDomainControllerListDomains200Response | 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.instanceOfPublicDomainControllerListDomains200Response = instanceOfPublicDomainControllerListDomains200Response;
|
|
17
|
+
exports.PublicDomainControllerListDomains200ResponseFromJSON = PublicDomainControllerListDomains200ResponseFromJSON;
|
|
18
|
+
exports.PublicDomainControllerListDomains200ResponseFromJSONTyped = PublicDomainControllerListDomains200ResponseFromJSONTyped;
|
|
19
|
+
exports.PublicDomainControllerListDomains200ResponseToJSON = PublicDomainControllerListDomains200ResponseToJSON;
|
|
20
|
+
exports.PublicDomainControllerListDomains200ResponseToJSONTyped = PublicDomainControllerListDomains200ResponseToJSONTyped;
|
|
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 PublicDomainControllerListDomains200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfPublicDomainControllerListDomains200Response(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 PublicDomainControllerListDomains200ResponseFromJSON(json) {
|
|
37
|
+
return PublicDomainControllerListDomains200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function PublicDomainControllerListDomains200ResponseFromJSONTyped(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 PublicDomainControllerListDomains200ResponseToJSON(json) {
|
|
50
|
+
return PublicDomainControllerListDomains200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PublicDomainControllerListDomains200ResponseToJSONTyped(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
|
+
}
|
|
@@ -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
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PublicDomainDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PublicDomainDto {
|
|
19
|
+
/**
|
|
20
|
+
* The uuid for this domain.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PublicDomainDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* The buy url
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PublicDomainDto
|
|
29
|
+
*/
|
|
30
|
+
url: string;
|
|
31
|
+
/**
|
|
32
|
+
* The TLD for this domain.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PublicDomainDto
|
|
35
|
+
*/
|
|
36
|
+
tld: string;
|
|
37
|
+
/**
|
|
38
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PublicDomainDto
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
* The unicode domain name (example.com, mañana.com)
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PublicDomainDto
|
|
47
|
+
*/
|
|
48
|
+
displayName: string;
|
|
49
|
+
/**
|
|
50
|
+
* /**
|
|
51
|
+
* The domain's currency code (ISO 4217)
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof PublicDomainDto
|
|
54
|
+
*/
|
|
55
|
+
currencyCode: string;
|
|
56
|
+
/**
|
|
57
|
+
* The BIN
|
|
58
|
+
* @type {MoneyDto}
|
|
59
|
+
* @memberof PublicDomainDto
|
|
60
|
+
*/
|
|
61
|
+
buyNow: MoneyDto;
|
|
62
|
+
/**
|
|
63
|
+
* The minimum offer
|
|
64
|
+
* @type {MoneyDto}
|
|
65
|
+
* @memberof PublicDomainDto
|
|
66
|
+
*/
|
|
67
|
+
minOffer: MoneyDto;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the PublicDomainDto interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfPublicDomainDto(value: object): value is PublicDomainDto;
|
|
73
|
+
export declare function PublicDomainDtoFromJSON(json: any): PublicDomainDto;
|
|
74
|
+
export declare function PublicDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainDto;
|
|
75
|
+
export declare function PublicDomainDtoToJSON(json: any): PublicDomainDto;
|
|
76
|
+
export declare function PublicDomainDtoToJSONTyped(value?: PublicDomainDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
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.instanceOfPublicDomainDto = instanceOfPublicDomainDto;
|
|
17
|
+
exports.PublicDomainDtoFromJSON = PublicDomainDtoFromJSON;
|
|
18
|
+
exports.PublicDomainDtoFromJSONTyped = PublicDomainDtoFromJSONTyped;
|
|
19
|
+
exports.PublicDomainDtoToJSON = PublicDomainDtoToJSON;
|
|
20
|
+
exports.PublicDomainDtoToJSONTyped = PublicDomainDtoToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PublicDomainDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPublicDomainDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('tld' in value) || value['tld'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function PublicDomainDtoFromJSON(json) {
|
|
45
|
+
return PublicDomainDtoFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function PublicDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'url': json['url'],
|
|
54
|
+
'tld': json['tld'],
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'displayName': json['displayName'],
|
|
57
|
+
'currencyCode': json['currencyCode'],
|
|
58
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
59
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function PublicDomainDtoToJSON(json) {
|
|
63
|
+
return PublicDomainDtoToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function PublicDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
66
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'url': value['url'],
|
|
73
|
+
'tld': value['tld'],
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'displayName': value['displayName'],
|
|
76
|
+
'currencyCode': value['currencyCode'],
|
|
77
|
+
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
78
|
+
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 TaskListDomainTransferDto
|
|
16
|
+
*/
|
|
17
|
+
export interface TaskListDomainTransferDto {
|
|
18
|
+
/**
|
|
19
|
+
* The uuid for this domain.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TaskListDomainTransferDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the TaskListDomainTransferDto interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfTaskListDomainTransferDto(value: object): value is TaskListDomainTransferDto;
|
|
29
|
+
export declare function TaskListDomainTransferDtoFromJSON(json: any): TaskListDomainTransferDto;
|
|
30
|
+
export declare function TaskListDomainTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskListDomainTransferDto;
|
|
31
|
+
export declare function TaskListDomainTransferDtoToJSON(json: any): TaskListDomainTransferDto;
|
|
32
|
+
export declare function TaskListDomainTransferDtoToJSONTyped(value?: TaskListDomainTransferDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfTaskListDomainTransferDto = instanceOfTaskListDomainTransferDto;
|
|
17
|
+
exports.TaskListDomainTransferDtoFromJSON = TaskListDomainTransferDtoFromJSON;
|
|
18
|
+
exports.TaskListDomainTransferDtoFromJSONTyped = TaskListDomainTransferDtoFromJSONTyped;
|
|
19
|
+
exports.TaskListDomainTransferDtoToJSON = TaskListDomainTransferDtoToJSON;
|
|
20
|
+
exports.TaskListDomainTransferDtoToJSONTyped = TaskListDomainTransferDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TaskListDomainTransferDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTaskListDomainTransferDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function TaskListDomainTransferDtoFromJSON(json) {
|
|
30
|
+
return TaskListDomainTransferDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function TaskListDomainTransferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function TaskListDomainTransferDtoToJSON(json) {
|
|
41
|
+
return TaskListDomainTransferDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function TaskListDomainTransferDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value['id'],
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './ChangeOrderStatusInput';
|
|
|
27
27
|
export * from './ChartDataPoint';
|
|
28
28
|
export * from './CompanyInformationDto';
|
|
29
29
|
export * from './CompanyTaxIdDto';
|
|
30
|
+
export * from './ConcreteDomainTransferTaskData';
|
|
30
31
|
export * from './ConflictException';
|
|
31
32
|
export * from './CreateBuyerLeadMessageInput';
|
|
32
33
|
export * from './CreateLeadInput';
|
|
@@ -101,6 +102,8 @@ export * from './PaginateResponseLinks';
|
|
|
101
102
|
export * from './PaginateResponseMeta';
|
|
102
103
|
export * from './ParsedDomainDto';
|
|
103
104
|
export * from './PaymentProviderDto';
|
|
105
|
+
export * from './PublicDomainControllerListDomains200Response';
|
|
106
|
+
export * from './PublicDomainDto';
|
|
104
107
|
export * from './PublicLeadBuyerDto';
|
|
105
108
|
export * from './PublicLeadDto';
|
|
106
109
|
export * from './PutBuyerLeadOfferInput';
|
|
@@ -120,6 +123,7 @@ export * from './SetNewPasswordInput';
|
|
|
120
123
|
export * from './StoreBuyerLocaleInput';
|
|
121
124
|
export * from './StoreUserLocaleInput';
|
|
122
125
|
export * from './TaskListDomainDto';
|
|
126
|
+
export * from './TaskListDomainTransferDto';
|
|
123
127
|
export * from './TaskListLeadDto';
|
|
124
128
|
export * from './ThrottlerException';
|
|
125
129
|
export * from './UpdateAccountBillingInformationInput';
|
package/dist/models/index.js
CHANGED
|
@@ -45,6 +45,7 @@ __exportStar(require("./ChangeOrderStatusInput"), exports);
|
|
|
45
45
|
__exportStar(require("./ChartDataPoint"), exports);
|
|
46
46
|
__exportStar(require("./CompanyInformationDto"), exports);
|
|
47
47
|
__exportStar(require("./CompanyTaxIdDto"), exports);
|
|
48
|
+
__exportStar(require("./ConcreteDomainTransferTaskData"), exports);
|
|
48
49
|
__exportStar(require("./ConflictException"), exports);
|
|
49
50
|
__exportStar(require("./CreateBuyerLeadMessageInput"), exports);
|
|
50
51
|
__exportStar(require("./CreateLeadInput"), exports);
|
|
@@ -119,6 +120,8 @@ __exportStar(require("./PaginateResponseLinks"), exports);
|
|
|
119
120
|
__exportStar(require("./PaginateResponseMeta"), exports);
|
|
120
121
|
__exportStar(require("./ParsedDomainDto"), exports);
|
|
121
122
|
__exportStar(require("./PaymentProviderDto"), exports);
|
|
123
|
+
__exportStar(require("./PublicDomainControllerListDomains200Response"), exports);
|
|
124
|
+
__exportStar(require("./PublicDomainDto"), exports);
|
|
122
125
|
__exportStar(require("./PublicLeadBuyerDto"), exports);
|
|
123
126
|
__exportStar(require("./PublicLeadDto"), exports);
|
|
124
127
|
__exportStar(require("./PutBuyerLeadOfferInput"), exports);
|
|
@@ -138,6 +141,7 @@ __exportStar(require("./SetNewPasswordInput"), exports);
|
|
|
138
141
|
__exportStar(require("./StoreBuyerLocaleInput"), exports);
|
|
139
142
|
__exportStar(require("./StoreUserLocaleInput"), exports);
|
|
140
143
|
__exportStar(require("./TaskListDomainDto"), exports);
|
|
144
|
+
__exportStar(require("./TaskListDomainTransferDto"), exports);
|
|
141
145
|
__exportStar(require("./TaskListLeadDto"), exports);
|
|
142
146
|
__exportStar(require("./ThrottlerException"), exports);
|
|
143
147
|
__exportStar(require("./UpdateAccountBillingInformationInput"), exports);
|
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
IntersectionDomainSalesInformationDtoWithDomainStatsDto,
|
|
19
19
|
NotFoundException,
|
|
20
|
+
PublicDomainControllerListDomains200Response,
|
|
20
21
|
ThrottlerException,
|
|
21
22
|
ValidationException,
|
|
22
23
|
} from '../models/index';
|
|
@@ -25,6 +26,8 @@ import {
|
|
|
25
26
|
IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSON,
|
|
26
27
|
NotFoundExceptionFromJSON,
|
|
27
28
|
NotFoundExceptionToJSON,
|
|
29
|
+
PublicDomainControllerListDomains200ResponseFromJSON,
|
|
30
|
+
PublicDomainControllerListDomains200ResponseToJSON,
|
|
28
31
|
ThrottlerExceptionFromJSON,
|
|
29
32
|
ThrottlerExceptionToJSON,
|
|
30
33
|
ValidationExceptionFromJSON,
|
|
@@ -36,6 +39,13 @@ export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
|
36
39
|
includeStats?: boolean;
|
|
37
40
|
}
|
|
38
41
|
|
|
42
|
+
export interface DomainsPublicApiPublicDomainControllerListDomainsRequest {
|
|
43
|
+
filter?: object;
|
|
44
|
+
page?: number;
|
|
45
|
+
limit?: number;
|
|
46
|
+
sortBy?: Array<string>;
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
/**
|
|
40
50
|
*
|
|
41
51
|
*/
|
|
@@ -78,4 +88,44 @@ export class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
78
88
|
return await response.value();
|
|
79
89
|
}
|
|
80
90
|
|
|
91
|
+
/**
|
|
92
|
+
*/
|
|
93
|
+
async publicDomainControllerListDomainsRaw(requestParameters: DomainsPublicApiPublicDomainControllerListDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PublicDomainControllerListDomains200Response>> {
|
|
94
|
+
const queryParameters: any = {};
|
|
95
|
+
|
|
96
|
+
if (requestParameters['filter'] != null) {
|
|
97
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (requestParameters['page'] != null) {
|
|
101
|
+
queryParameters['page'] = requestParameters['page'];
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (requestParameters['limit'] != null) {
|
|
105
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (requestParameters['sortBy'] != null) {
|
|
109
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
113
|
+
|
|
114
|
+
const response = await this.request({
|
|
115
|
+
path: `/domains`,
|
|
116
|
+
method: 'GET',
|
|
117
|
+
headers: headerParameters,
|
|
118
|
+
query: queryParameters,
|
|
119
|
+
}, initOverrides);
|
|
120
|
+
|
|
121
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PublicDomainControllerListDomains200ResponseFromJSON(jsonValue));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
*/
|
|
126
|
+
async publicDomainControllerListDomains(requestParameters: DomainsPublicApiPublicDomainControllerListDomainsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicDomainControllerListDomains200Response> {
|
|
127
|
+
const response = await this.publicDomainControllerListDomainsRaw(requestParameters, initOverrides);
|
|
128
|
+
return await response.value();
|
|
129
|
+
}
|
|
130
|
+
|
|
81
131
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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 ConcreteDomainTransferTaskData
|
|
20
|
+
*/
|
|
21
|
+
export interface ConcreteDomainTransferTaskData {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof ConcreteDomainTransferTaskData
|
|
26
|
+
*/
|
|
27
|
+
requirements: Array<ConcreteDomainTransferTaskDataRequirementsEnum>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const ConcreteDomainTransferTaskDataRequirementsEnum = {
|
|
35
|
+
AUTH_CODE: 'auth_code',
|
|
36
|
+
BUYER_CONFIRMATION: 'buyer_confirmation',
|
|
37
|
+
OWNED_DOMAIN: 'owned_domain'
|
|
38
|
+
} as const;
|
|
39
|
+
export type ConcreteDomainTransferTaskDataRequirementsEnum = typeof ConcreteDomainTransferTaskDataRequirementsEnum[keyof typeof ConcreteDomainTransferTaskDataRequirementsEnum];
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ConcreteDomainTransferTaskData interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfConcreteDomainTransferTaskData(value: object): value is ConcreteDomainTransferTaskData {
|
|
46
|
+
if (!('requirements' in value) || value['requirements'] === undefined) return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ConcreteDomainTransferTaskDataFromJSON(json: any): ConcreteDomainTransferTaskData {
|
|
51
|
+
return ConcreteDomainTransferTaskDataFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ConcreteDomainTransferTaskDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConcreteDomainTransferTaskData {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
|
|
60
|
+
'requirements': json['requirements'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ConcreteDomainTransferTaskDataToJSON(json: any): ConcreteDomainTransferTaskData {
|
|
65
|
+
return ConcreteDomainTransferTaskDataToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ConcreteDomainTransferTaskDataToJSONTyped(value?: ConcreteDomainTransferTaskData | null, ignoreDiscriminator: boolean = false): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
|
|
75
|
+
'requirements': value['requirements'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -13,6 +13,20 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { TaskListDomainTransferDto } from './TaskListDomainTransferDto';
|
|
17
|
+
import {
|
|
18
|
+
TaskListDomainTransferDtoFromJSON,
|
|
19
|
+
TaskListDomainTransferDtoFromJSONTyped,
|
|
20
|
+
TaskListDomainTransferDtoToJSON,
|
|
21
|
+
TaskListDomainTransferDtoToJSONTyped,
|
|
22
|
+
} from './TaskListDomainTransferDto';
|
|
23
|
+
import type { ConcreteDomainTransferTaskData } from './ConcreteDomainTransferTaskData';
|
|
24
|
+
import {
|
|
25
|
+
ConcreteDomainTransferTaskDataFromJSON,
|
|
26
|
+
ConcreteDomainTransferTaskDataFromJSONTyped,
|
|
27
|
+
ConcreteDomainTransferTaskDataToJSON,
|
|
28
|
+
ConcreteDomainTransferTaskDataToJSONTyped,
|
|
29
|
+
} from './ConcreteDomainTransferTaskData';
|
|
16
30
|
import type { TaskListLeadDto } from './TaskListLeadDto';
|
|
17
31
|
import {
|
|
18
32
|
TaskListLeadDtoFromJSON,
|
|
@@ -58,12 +72,24 @@ export interface IntersectionTaskListTaskDto {
|
|
|
58
72
|
* @memberof IntersectionTaskListTaskDto
|
|
59
73
|
*/
|
|
60
74
|
type: IntersectionTaskListTaskDtoTypeEnum;
|
|
75
|
+
/**
|
|
76
|
+
* The data for this task
|
|
77
|
+
* @type {ConcreteDomainTransferTaskData}
|
|
78
|
+
* @memberof IntersectionTaskListTaskDto
|
|
79
|
+
*/
|
|
80
|
+
data: ConcreteDomainTransferTaskData | null;
|
|
61
81
|
/**
|
|
62
82
|
* Domain data this task belongs to.
|
|
63
83
|
* @type {TaskListDomainDto}
|
|
64
84
|
* @memberof IntersectionTaskListTaskDto
|
|
65
85
|
*/
|
|
66
86
|
domain: TaskListDomainDto | null;
|
|
87
|
+
/**
|
|
88
|
+
* Domain data this task belongs to.
|
|
89
|
+
* @type {TaskListDomainTransferDto}
|
|
90
|
+
* @memberof IntersectionTaskListTaskDto
|
|
91
|
+
*/
|
|
92
|
+
domainTransfer: TaskListDomainTransferDto | null;
|
|
67
93
|
/**
|
|
68
94
|
* Domain data this task belongs to.
|
|
69
95
|
* @type {TaskListLeadDto}
|
|
@@ -101,7 +127,9 @@ export function instanceOfIntersectionTaskListTaskDto(value: object): value is I
|
|
|
101
127
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
102
128
|
if (!('priority' in value) || value['priority'] === undefined) return false;
|
|
103
129
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
130
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
104
131
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
132
|
+
if (!('domainTransfer' in value) || value['domainTransfer'] === undefined) return false;
|
|
105
133
|
if (!('lead' in value) || value['lead'] === undefined) return false;
|
|
106
134
|
return true;
|
|
107
135
|
}
|
|
@@ -120,7 +148,9 @@ export function IntersectionTaskListTaskDtoFromJSONTyped(json: any, ignoreDiscri
|
|
|
120
148
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
121
149
|
'priority': json['priority'],
|
|
122
150
|
'type': json['type'],
|
|
151
|
+
'data': ConcreteDomainTransferTaskDataFromJSON(json['data']),
|
|
123
152
|
'domain': TaskListDomainDtoFromJSON(json['domain']),
|
|
153
|
+
'domainTransfer': TaskListDomainTransferDtoFromJSON(json['domainTransfer']),
|
|
124
154
|
'lead': TaskListLeadDtoFromJSON(json['lead']),
|
|
125
155
|
};
|
|
126
156
|
}
|
|
@@ -140,7 +170,9 @@ export function IntersectionTaskListTaskDtoFromJSONTyped(json: any, ignoreDiscri
|
|
|
140
170
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
141
171
|
'priority': value['priority'],
|
|
142
172
|
'type': value['type'],
|
|
173
|
+
'data': ConcreteDomainTransferTaskDataToJSON(value['data']),
|
|
143
174
|
'domain': TaskListDomainDtoToJSON(value['domain']),
|
|
175
|
+
'domainTransfer': TaskListDomainTransferDtoToJSON(value['domainTransfer']),
|
|
144
176
|
'lead': TaskListLeadDtoToJSON(value['lead']),
|
|
145
177
|
};
|
|
146
178
|
}
|
|
@@ -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 PublicDomainControllerListDomains200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface PublicDomainControllerListDomains200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<PublicDomainDto>}
|
|
47
|
+
* @memberof PublicDomainControllerListDomains200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<PublicDomainDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof PublicDomainControllerListDomains200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof PublicDomainControllerListDomains200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the PublicDomainControllerListDomains200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfPublicDomainControllerListDomains200Response(value: object): value is PublicDomainControllerListDomains200Response {
|
|
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 PublicDomainControllerListDomains200ResponseFromJSON(json: any): PublicDomainControllerListDomains200Response {
|
|
75
|
+
return PublicDomainControllerListDomains200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function PublicDomainControllerListDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainControllerListDomains200Response {
|
|
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 PublicDomainControllerListDomains200ResponseToJSON(json: any): PublicDomainControllerListDomains200Response {
|
|
91
|
+
return PublicDomainControllerListDomains200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function PublicDomainControllerListDomains200ResponseToJSONTyped(value?: PublicDomainControllerListDomains200Response | 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
|
+
|
|
@@ -0,0 +1,138 @@
|
|
|
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 PublicDomainDto
|
|
28
|
+
*/
|
|
29
|
+
export interface PublicDomainDto {
|
|
30
|
+
/**
|
|
31
|
+
* The uuid for this domain.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PublicDomainDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* The buy url
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PublicDomainDto
|
|
40
|
+
*/
|
|
41
|
+
url: string;
|
|
42
|
+
/**
|
|
43
|
+
* The TLD for this domain.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PublicDomainDto
|
|
46
|
+
*/
|
|
47
|
+
tld: string;
|
|
48
|
+
/**
|
|
49
|
+
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PublicDomainDto
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* The unicode domain name (example.com, mañana.com)
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PublicDomainDto
|
|
58
|
+
*/
|
|
59
|
+
displayName: string;
|
|
60
|
+
/**
|
|
61
|
+
* /**
|
|
62
|
+
* The domain's currency code (ISO 4217)
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof PublicDomainDto
|
|
65
|
+
*/
|
|
66
|
+
currencyCode: string;
|
|
67
|
+
/**
|
|
68
|
+
* The BIN
|
|
69
|
+
* @type {MoneyDto}
|
|
70
|
+
* @memberof PublicDomainDto
|
|
71
|
+
*/
|
|
72
|
+
buyNow: MoneyDto;
|
|
73
|
+
/**
|
|
74
|
+
* The minimum offer
|
|
75
|
+
* @type {MoneyDto}
|
|
76
|
+
* @memberof PublicDomainDto
|
|
77
|
+
*/
|
|
78
|
+
minOffer: MoneyDto;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the PublicDomainDto interface.
|
|
83
|
+
*/
|
|
84
|
+
export function instanceOfPublicDomainDto(value: object): value is PublicDomainDto {
|
|
85
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
86
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
87
|
+
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
88
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
89
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
90
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
91
|
+
if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
|
|
92
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined) return false;
|
|
93
|
+
return true;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function PublicDomainDtoFromJSON(json: any): PublicDomainDto {
|
|
97
|
+
return PublicDomainDtoFromJSONTyped(json, false);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function PublicDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainDto {
|
|
101
|
+
if (json == null) {
|
|
102
|
+
return json;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
|
|
106
|
+
'id': json['id'],
|
|
107
|
+
'url': json['url'],
|
|
108
|
+
'tld': json['tld'],
|
|
109
|
+
'name': json['name'],
|
|
110
|
+
'displayName': json['displayName'],
|
|
111
|
+
'currencyCode': json['currencyCode'],
|
|
112
|
+
'buyNow': MoneyDtoFromJSON(json['buyNow']),
|
|
113
|
+
'minOffer': MoneyDtoFromJSON(json['minOffer']),
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function PublicDomainDtoToJSON(json: any): PublicDomainDto {
|
|
118
|
+
return PublicDomainDtoToJSONTyped(json, false);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function PublicDomainDtoToJSONTyped(value?: PublicDomainDto | null, ignoreDiscriminator: boolean = false): any {
|
|
122
|
+
if (value == null) {
|
|
123
|
+
return value;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return {
|
|
127
|
+
|
|
128
|
+
'id': value['id'],
|
|
129
|
+
'url': value['url'],
|
|
130
|
+
'tld': value['tld'],
|
|
131
|
+
'name': value['name'],
|
|
132
|
+
'displayName': value['displayName'],
|
|
133
|
+
'currencyCode': value['currencyCode'],
|
|
134
|
+
'buyNow': MoneyDtoToJSON(value['buyNow']),
|
|
135
|
+
'minOffer': MoneyDtoToJSON(value['minOffer']),
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 TaskListDomainTransferDto
|
|
20
|
+
*/
|
|
21
|
+
export interface TaskListDomainTransferDto {
|
|
22
|
+
/**
|
|
23
|
+
* The uuid for this domain.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TaskListDomainTransferDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the TaskListDomainTransferDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfTaskListDomainTransferDto(value: object): value is TaskListDomainTransferDto {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function TaskListDomainTransferDtoFromJSON(json: any): TaskListDomainTransferDto {
|
|
39
|
+
return TaskListDomainTransferDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function TaskListDomainTransferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskListDomainTransferDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function TaskListDomainTransferDtoToJSON(json: any): TaskListDomainTransferDto {
|
|
53
|
+
return TaskListDomainTransferDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function TaskListDomainTransferDtoToJSONTyped(value?: TaskListDomainTransferDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'id': value['id'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -29,6 +29,7 @@ export * from './ChangeOrderStatusInput';
|
|
|
29
29
|
export * from './ChartDataPoint';
|
|
30
30
|
export * from './CompanyInformationDto';
|
|
31
31
|
export * from './CompanyTaxIdDto';
|
|
32
|
+
export * from './ConcreteDomainTransferTaskData';
|
|
32
33
|
export * from './ConflictException';
|
|
33
34
|
export * from './CreateBuyerLeadMessageInput';
|
|
34
35
|
export * from './CreateLeadInput';
|
|
@@ -103,6 +104,8 @@ export * from './PaginateResponseLinks';
|
|
|
103
104
|
export * from './PaginateResponseMeta';
|
|
104
105
|
export * from './ParsedDomainDto';
|
|
105
106
|
export * from './PaymentProviderDto';
|
|
107
|
+
export * from './PublicDomainControllerListDomains200Response';
|
|
108
|
+
export * from './PublicDomainDto';
|
|
106
109
|
export * from './PublicLeadBuyerDto';
|
|
107
110
|
export * from './PublicLeadDto';
|
|
108
111
|
export * from './PutBuyerLeadOfferInput';
|
|
@@ -122,6 +125,7 @@ export * from './SetNewPasswordInput';
|
|
|
122
125
|
export * from './StoreBuyerLocaleInput';
|
|
123
126
|
export * from './StoreUserLocaleInput';
|
|
124
127
|
export * from './TaskListDomainDto';
|
|
128
|
+
export * from './TaskListDomainTransferDto';
|
|
125
129
|
export * from './TaskListLeadDto';
|
|
126
130
|
export * from './ThrottlerException';
|
|
127
131
|
export * from './UpdateAccountBillingInformationInput';
|