@randock/nameshift-api-client 0.0.314 → 0.0.316
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/DomainTransfersApi.d.ts +26 -0
- package/dist/apis/DomainTransfersApi.js +130 -0
- package/dist/apis/DomainsPublicApi.d.ts +12 -1
- package/dist/apis/DomainsPublicApi.js +44 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountSettingsDto.d.ts +6 -0
- package/dist/models/AccountSettingsDto.js +4 -0
- package/dist/models/AccountSettingsInput.d.ts +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/DomainSalesInformationDto.d.ts +18 -0
- package/dist/models/DomainSalesInformationDto.js +12 -0
- package/dist/models/DomainSellerDto.d.ts +0 -13
- package/dist/models/DomainSellerDto.js +0 -9
- package/dist/models/DomainTransferTldInformationDto.d.ts +41 -0
- package/dist/models/DomainTransferTldInformationDto.js +56 -0
- package/dist/models/DomainTransferTldInformationResultDto.d.ts +39 -0
- package/dist/models/DomainTransferTldInformationResultDto.js +56 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/RelatedDomainsDto.d.ts +33 -0
- package/dist/models/RelatedDomainsDto.js +52 -0
- package/dist/models/WithSettingsInner.d.ts +6 -0
- package/dist/models/WithSettingsInner.js +4 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/DomainTransfersApi.ts +70 -0
- package/src/apis/DomainsPublicApi.ts +40 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AccountSettingsDto.ts +9 -0
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/DomainSalesInformationDto.ts +27 -0
- package/src/models/DomainSellerDto.ts +0 -26
- package/src/models/DomainTransferTldInformationDto.ts +83 -0
- package/src/models/DomainTransferTldInformationResultDto.ts +83 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/RelatedDomainsDto.ts +74 -0
- package/src/models/WithSettingsInner.ts +9 -0
- package/src/models/index.ts +3 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -9,6 +9,7 @@ src/apis/AdminApi.ts
|
|
|
9
9
|
src/apis/BankAccountsApi.ts
|
|
10
10
|
src/apis/BuyersApi.ts
|
|
11
11
|
src/apis/BuyersPublicApi.ts
|
|
12
|
+
src/apis/DomainTransfersApi.ts
|
|
12
13
|
src/apis/DomainsApi.ts
|
|
13
14
|
src/apis/DomainsPublicApi.ts
|
|
14
15
|
src/apis/EppApi.ts
|
|
@@ -134,6 +135,8 @@ src/models/DomainTransferDto.ts
|
|
|
134
135
|
src/models/DomainTransferOrderDto.ts
|
|
135
136
|
src/models/DomainTransferSellerAccountDto.ts
|
|
136
137
|
src/models/DomainTransferSubscriptionDto.ts
|
|
138
|
+
src/models/DomainTransferTldInformationDto.ts
|
|
139
|
+
src/models/DomainTransferTldInformationResultDto.ts
|
|
137
140
|
src/models/DomainTransferWorkflowDto.ts
|
|
138
141
|
src/models/DomainUrlDto.ts
|
|
139
142
|
src/models/EppBatchUpdateInput.ts
|
|
@@ -232,6 +235,7 @@ src/models/PublicSalesDto.ts
|
|
|
232
235
|
src/models/PutBuyerLeadOfferInput.ts
|
|
233
236
|
src/models/PutLeadOfferInput.ts
|
|
234
237
|
src/models/RegisterAccountInput.ts
|
|
238
|
+
src/models/RelatedDomainsDto.ts
|
|
235
239
|
src/models/RelatedSellerDomain.ts
|
|
236
240
|
src/models/RentConfigurationDto.ts
|
|
237
241
|
src/models/RentConfigurationInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.316
|
|
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.316 --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
|
+
3ab5343ec7cc8360018fc9150a3326b53d9726674fe29b450f49937cecca2da19939f83c892c8c3dd8d484616bac028b
|
|
@@ -0,0 +1,26 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { DomainTransferTldInformationDto } from '../models/index';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class DomainTransfersApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
getDomainTransferTldsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTransferTldInformationDto>>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
getDomainTransferTlds(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTransferTldInformationDto>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.DomainTransfersApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var DomainTransfersApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(DomainTransfersApi, _super);
|
|
75
|
+
function DomainTransfersApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
DomainTransfersApi.prototype.getDomainTransferTldsRaw = function (initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
queryParameters = {};
|
|
88
|
+
headerParameters = {};
|
|
89
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
90
|
+
token = this.configuration.accessToken;
|
|
91
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
92
|
+
case 1:
|
|
93
|
+
tokenString = _a.sent();
|
|
94
|
+
if (tokenString) {
|
|
95
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
96
|
+
}
|
|
97
|
+
_a.label = 2;
|
|
98
|
+
case 2: return [4 /*yield*/, this.request({
|
|
99
|
+
path: "/private/domain-transfers/tlds",
|
|
100
|
+
method: 'GET',
|
|
101
|
+
headers: headerParameters,
|
|
102
|
+
query: queryParameters,
|
|
103
|
+
}, initOverrides)];
|
|
104
|
+
case 3:
|
|
105
|
+
response = _a.sent();
|
|
106
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DomainTransferTldInformationDtoFromJSON)(jsonValue); })];
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
114
|
+
DomainTransfersApi.prototype.getDomainTransferTlds = function (initOverrides) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
116
|
+
var response;
|
|
117
|
+
return __generator(this, function (_a) {
|
|
118
|
+
switch (_a.label) {
|
|
119
|
+
case 0: return [4 /*yield*/, this.getDomainTransferTldsRaw(initOverrides)];
|
|
120
|
+
case 1:
|
|
121
|
+
response = _a.sent();
|
|
122
|
+
return [4 /*yield*/, response.value()];
|
|
123
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
return DomainTransfersApi;
|
|
129
|
+
}(runtime.BaseAPI));
|
|
130
|
+
exports.DomainTransfersApi = DomainTransfersApi;
|
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { DomainSalesInformationDto, DomainStatsDto, DomainTldsDto, List200Response3, SortDto } from '../models/index';
|
|
13
|
+
import type { DomainSalesInformationDto, DomainStatsDto, DomainTldsDto, List200Response3, RelatedDomainsDto, SortDto } from '../models/index';
|
|
14
14
|
export interface DomainsPublicApiGetAllTldsRequest {
|
|
15
15
|
seller?: string;
|
|
16
16
|
}
|
|
17
|
+
export interface DomainsPublicApiGetDomainRelatedDomainsRequest {
|
|
18
|
+
domainName: string;
|
|
19
|
+
}
|
|
17
20
|
export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
18
21
|
domainName: string;
|
|
19
22
|
preview?: boolean;
|
|
@@ -42,6 +45,14 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
42
45
|
*
|
|
43
46
|
*/
|
|
44
47
|
getAllTlds(requestParameters?: DomainsPublicApiGetAllTldsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTldsDto>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
getDomainRelatedDomainsRaw(requestParameters: DomainsPublicApiGetDomainRelatedDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RelatedDomainsDto>>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
getDomainRelatedDomains(requestParameters: DomainsPublicApiGetDomainRelatedDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RelatedDomainsDto>;
|
|
45
56
|
/**
|
|
46
57
|
*
|
|
47
58
|
*/
|
|
@@ -120,6 +120,50 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
120
120
|
});
|
|
121
121
|
});
|
|
122
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
DomainsPublicApi.prototype.getDomainRelatedDomainsRaw = function (requestParameters, initOverrides) {
|
|
127
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
128
|
+
var queryParameters, headerParameters, response;
|
|
129
|
+
return __generator(this, function (_a) {
|
|
130
|
+
switch (_a.label) {
|
|
131
|
+
case 0:
|
|
132
|
+
if (requestParameters['domainName'] == null) {
|
|
133
|
+
throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling getDomainRelatedDomains().');
|
|
134
|
+
}
|
|
135
|
+
queryParameters = {};
|
|
136
|
+
headerParameters = {};
|
|
137
|
+
return [4 /*yield*/, this.request({
|
|
138
|
+
path: "/domains/by-name/{domainName}/related-domains".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
|
|
139
|
+
method: 'GET',
|
|
140
|
+
headers: headerParameters,
|
|
141
|
+
query: queryParameters,
|
|
142
|
+
}, initOverrides)];
|
|
143
|
+
case 1:
|
|
144
|
+
response = _a.sent();
|
|
145
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.RelatedDomainsDtoFromJSON)(jsonValue); })];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
DomainsPublicApi.prototype.getDomainRelatedDomains = function (requestParameters, initOverrides) {
|
|
154
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
155
|
+
var response;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0: return [4 /*yield*/, this.getDomainRelatedDomainsRaw(requestParameters, initOverrides)];
|
|
159
|
+
case 1:
|
|
160
|
+
response = _a.sent();
|
|
161
|
+
return [4 /*yield*/, response.value()];
|
|
162
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
};
|
|
123
167
|
/**
|
|
124
168
|
*
|
|
125
169
|
*/
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './AdminApi';
|
|
|
4
4
|
export * from './BankAccountsApi';
|
|
5
5
|
export * from './BuyersApi';
|
|
6
6
|
export * from './BuyersPublicApi';
|
|
7
|
+
export * from './DomainTransfersApi';
|
|
7
8
|
export * from './DomainsApi';
|
|
8
9
|
export * from './DomainsPublicApi';
|
|
9
10
|
export * from './EppApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./AdminApi"), exports);
|
|
|
22
22
|
__exportStar(require("./BankAccountsApi"), exports);
|
|
23
23
|
__exportStar(require("./BuyersApi"), exports);
|
|
24
24
|
__exportStar(require("./BuyersPublicApi"), exports);
|
|
25
|
+
__exportStar(require("./DomainTransfersApi"), exports);
|
|
25
26
|
__exportStar(require("./DomainsApi"), exports);
|
|
26
27
|
__exportStar(require("./DomainsPublicApi"), exports);
|
|
27
28
|
__exportStar(require("./EppApi"), exports);
|
|
@@ -81,6 +81,12 @@ export interface AccountSettingsDto {
|
|
|
81
81
|
* @memberof AccountSettingsDto
|
|
82
82
|
*/
|
|
83
83
|
alias: AccountSettingsAliasDto;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof AccountSettingsDto
|
|
88
|
+
*/
|
|
89
|
+
transferCostPaymentMaxPercentage: number;
|
|
84
90
|
}
|
|
85
91
|
/**
|
|
86
92
|
* Check if a given object implements the AccountSettingsDto interface.
|
|
@@ -48,6 +48,8 @@ function instanceOfAccountSettingsDto(value) {
|
|
|
48
48
|
return false;
|
|
49
49
|
if (!('alias' in value) || value['alias'] === undefined)
|
|
50
50
|
return false;
|
|
51
|
+
if (!('transferCostPaymentMaxPercentage' in value) || value['transferCostPaymentMaxPercentage'] === undefined)
|
|
52
|
+
return false;
|
|
51
53
|
return true;
|
|
52
54
|
}
|
|
53
55
|
function AccountSettingsDtoFromJSON(json) {
|
|
@@ -68,6 +70,7 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
70
|
'description': json['description'],
|
|
69
71
|
'avatar': json['avatar'],
|
|
70
72
|
'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoFromJSON)(json['alias']),
|
|
73
|
+
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'],
|
|
71
74
|
};
|
|
72
75
|
}
|
|
73
76
|
function AccountSettingsDtoToJSON(json) {
|
|
@@ -89,5 +92,6 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
89
92
|
'description': value['description'],
|
|
90
93
|
'avatar': value['avatar'],
|
|
91
94
|
'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoToJSON)(value['alias']),
|
|
95
|
+
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
92
96
|
};
|
|
93
97
|
}
|
|
@@ -87,6 +87,12 @@ export interface AccountSettingsInput {
|
|
|
87
87
|
* @memberof AccountSettingsInput
|
|
88
88
|
*/
|
|
89
89
|
alias?: AccountAliasInput;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof AccountSettingsInput
|
|
94
|
+
*/
|
|
95
|
+
transferCostPaymentMaxPercentage?: number;
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
98
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -49,6 +49,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiatorAiAgent']),
|
|
50
50
|
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
51
51
|
'alias': json['alias'] == null ? undefined : (0, AccountAliasInput_1.AccountAliasInputFromJSON)(json['alias']),
|
|
52
|
+
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'] == null ? undefined : json['transferCostPaymentMaxPercentage'],
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -71,5 +72,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
71
72
|
'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiatorAiAgent']),
|
|
72
73
|
'timezone': value['timezone'],
|
|
73
74
|
'alias': (0, AccountAliasInput_1.AccountAliasInputToJSON)(value['alias']),
|
|
75
|
+
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
74
76
|
};
|
|
75
77
|
}
|
|
@@ -87,6 +87,24 @@ export interface DomainSalesInformationDto {
|
|
|
87
87
|
* @memberof DomainSalesInformationDto
|
|
88
88
|
*/
|
|
89
89
|
statsEnabled: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Related domains enabled
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof DomainSalesInformationDto
|
|
94
|
+
*/
|
|
95
|
+
relatedDomainsEnabled: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Trustpilot enabled
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof DomainSalesInformationDto
|
|
100
|
+
*/
|
|
101
|
+
trustpilotEnabled: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* SEO enabled
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof DomainSalesInformationDto
|
|
106
|
+
*/
|
|
107
|
+
seoEnabled: boolean;
|
|
90
108
|
/**
|
|
91
109
|
* Lead buyer settings
|
|
92
110
|
* @type {LeadBuyerConfigDto}
|
|
@@ -50,6 +50,12 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
50
50
|
return false;
|
|
51
51
|
if (!('statsEnabled' in value) || value['statsEnabled'] === undefined)
|
|
52
52
|
return false;
|
|
53
|
+
if (!('relatedDomainsEnabled' in value) || value['relatedDomainsEnabled'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('trustpilotEnabled' in value) || value['trustpilotEnabled'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('seoEnabled' in value) || value['seoEnabled'] === undefined)
|
|
58
|
+
return false;
|
|
53
59
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined)
|
|
54
60
|
return false;
|
|
55
61
|
return true;
|
|
@@ -73,6 +79,9 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
79
|
'isPurchaseable': json['isPurchaseable'],
|
|
74
80
|
'seo': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seo']),
|
|
75
81
|
'statsEnabled': json['statsEnabled'],
|
|
82
|
+
'relatedDomainsEnabled': json['relatedDomainsEnabled'],
|
|
83
|
+
'trustpilotEnabled': json['trustpilotEnabled'],
|
|
84
|
+
'seoEnabled': json['seoEnabled'],
|
|
76
85
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoFromJSON)(json['leadBuyerSettings']),
|
|
77
86
|
};
|
|
78
87
|
}
|
|
@@ -96,6 +105,9 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
96
105
|
'isPurchaseable': value['isPurchaseable'],
|
|
97
106
|
'seo': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seo']),
|
|
98
107
|
'statsEnabled': value['statsEnabled'],
|
|
108
|
+
'relatedDomainsEnabled': value['relatedDomainsEnabled'],
|
|
109
|
+
'trustpilotEnabled': value['trustpilotEnabled'],
|
|
110
|
+
'seoEnabled': value['seoEnabled'],
|
|
99
111
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoToJSON)(value['leadBuyerSettings']),
|
|
100
112
|
};
|
|
101
113
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { RelatedSellerDomain } from './RelatedSellerDomain';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -34,12 +33,6 @@ export interface DomainSellerDto {
|
|
|
34
33
|
* @memberof DomainSellerDto
|
|
35
34
|
*/
|
|
36
35
|
anonymous: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Show trustpilot
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof DomainSellerDto
|
|
41
|
-
*/
|
|
42
|
-
showTrustpilot: boolean;
|
|
43
36
|
/**
|
|
44
37
|
* Last online, formatted
|
|
45
38
|
* @type {Date}
|
|
@@ -70,12 +63,6 @@ export interface DomainSellerDto {
|
|
|
70
63
|
* @memberof DomainSellerDto
|
|
71
64
|
*/
|
|
72
65
|
description: string | null;
|
|
73
|
-
/**
|
|
74
|
-
* The domain seller related domains
|
|
75
|
-
* @type {Array<RelatedSellerDomain>}
|
|
76
|
-
* @memberof DomainSellerDto
|
|
77
|
-
*/
|
|
78
|
-
relatedDomains: Array<RelatedSellerDomain> | null;
|
|
79
66
|
}
|
|
80
67
|
/**
|
|
81
68
|
* Check if a given object implements the DomainSellerDto interface.
|
|
@@ -18,7 +18,6 @@ exports.DomainSellerDtoFromJSON = DomainSellerDtoFromJSON;
|
|
|
18
18
|
exports.DomainSellerDtoFromJSONTyped = DomainSellerDtoFromJSONTyped;
|
|
19
19
|
exports.DomainSellerDtoToJSON = DomainSellerDtoToJSON;
|
|
20
20
|
exports.DomainSellerDtoToJSONTyped = DomainSellerDtoToJSONTyped;
|
|
21
|
-
var RelatedSellerDomain_1 = require("./RelatedSellerDomain");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the DomainSellerDto interface.
|
|
24
23
|
*/
|
|
@@ -29,8 +28,6 @@ function instanceOfDomainSellerDto(value) {
|
|
|
29
28
|
return false;
|
|
30
29
|
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
31
30
|
return false;
|
|
32
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
|
|
33
|
-
return false;
|
|
34
31
|
if (!('lastOnline' in value) || value['lastOnline'] === undefined)
|
|
35
32
|
return false;
|
|
36
33
|
if (!('deliversIn' in value) || value['deliversIn'] === undefined)
|
|
@@ -41,8 +38,6 @@ function instanceOfDomainSellerDto(value) {
|
|
|
41
38
|
return false;
|
|
42
39
|
if (!('description' in value) || value['description'] === undefined)
|
|
43
40
|
return false;
|
|
44
|
-
if (!('relatedDomains' in value) || value['relatedDomains'] === undefined)
|
|
45
|
-
return false;
|
|
46
41
|
return true;
|
|
47
42
|
}
|
|
48
43
|
function DomainSellerDtoFromJSON(json) {
|
|
@@ -56,13 +51,11 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
51
|
'id': json['id'],
|
|
57
52
|
'createdAt': (new Date(json['createdAt'])),
|
|
58
53
|
'anonymous': json['anonymous'],
|
|
59
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
60
54
|
'lastOnline': (json['lastOnline'] == null ? null : new Date(json['lastOnline'])),
|
|
61
55
|
'deliversIn': json['deliversIn'],
|
|
62
56
|
'name': json['name'],
|
|
63
57
|
'avatar': json['avatar'],
|
|
64
58
|
'description': json['description'],
|
|
65
|
-
'relatedDomains': (json['relatedDomains'] == null ? null : json['relatedDomains'].map(RelatedSellerDomain_1.RelatedSellerDomainFromJSON)),
|
|
66
59
|
};
|
|
67
60
|
}
|
|
68
61
|
function DomainSellerDtoToJSON(json) {
|
|
@@ -77,12 +70,10 @@ function DomainSellerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
70
|
'id': value['id'],
|
|
78
71
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
79
72
|
'anonymous': value['anonymous'],
|
|
80
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
81
73
|
'lastOnline': (value['lastOnline'] == null ? null : value['lastOnline'].toISOString()),
|
|
82
74
|
'deliversIn': value['deliversIn'],
|
|
83
75
|
'name': value['name'],
|
|
84
76
|
'avatar': value['avatar'],
|
|
85
77
|
'description': value['description'],
|
|
86
|
-
'relatedDomains': (value['relatedDomains'] == null ? null : value['relatedDomains'].map(RelatedSellerDomain_1.RelatedSellerDomainToJSON)),
|
|
87
78
|
};
|
|
88
79
|
}
|
|
@@ -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
|
+
import type { DomainTransferTldInformationResultDto } from './DomainTransferTldInformationResultDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DomainTransferTldInformationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DomainTransferTldInformationDto {
|
|
19
|
+
/**
|
|
20
|
+
* The exchange rates
|
|
21
|
+
* @type {{ [key: string]: number; }}
|
|
22
|
+
* @memberof DomainTransferTldInformationDto
|
|
23
|
+
*/
|
|
24
|
+
rates: {
|
|
25
|
+
[key: string]: number;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* The TLD list
|
|
29
|
+
* @type {Array<DomainTransferTldInformationResultDto>}
|
|
30
|
+
* @memberof DomainTransferTldInformationDto
|
|
31
|
+
*/
|
|
32
|
+
results: Array<DomainTransferTldInformationResultDto>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the DomainTransferTldInformationDto interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfDomainTransferTldInformationDto(value: object): value is DomainTransferTldInformationDto;
|
|
38
|
+
export declare function DomainTransferTldInformationDtoFromJSON(json: any): DomainTransferTldInformationDto;
|
|
39
|
+
export declare function DomainTransferTldInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferTldInformationDto;
|
|
40
|
+
export declare function DomainTransferTldInformationDtoToJSON(json: any): DomainTransferTldInformationDto;
|
|
41
|
+
export declare function DomainTransferTldInformationDtoToJSONTyped(value?: DomainTransferTldInformationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfDomainTransferTldInformationDto = instanceOfDomainTransferTldInformationDto;
|
|
17
|
+
exports.DomainTransferTldInformationDtoFromJSON = DomainTransferTldInformationDtoFromJSON;
|
|
18
|
+
exports.DomainTransferTldInformationDtoFromJSONTyped = DomainTransferTldInformationDtoFromJSONTyped;
|
|
19
|
+
exports.DomainTransferTldInformationDtoToJSON = DomainTransferTldInformationDtoToJSON;
|
|
20
|
+
exports.DomainTransferTldInformationDtoToJSONTyped = DomainTransferTldInformationDtoToJSONTyped;
|
|
21
|
+
var DomainTransferTldInformationResultDto_1 = require("./DomainTransferTldInformationResultDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DomainTransferTldInformationDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDomainTransferTldInformationDto(value) {
|
|
26
|
+
if (!('rates' in value) || value['rates'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function DomainTransferTldInformationDtoFromJSON(json) {
|
|
33
|
+
return DomainTransferTldInformationDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function DomainTransferTldInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'rates': json['rates'],
|
|
41
|
+
'results': (json['results'].map(DomainTransferTldInformationResultDto_1.DomainTransferTldInformationResultDtoFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function DomainTransferTldInformationDtoToJSON(json) {
|
|
45
|
+
return DomainTransferTldInformationDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function DomainTransferTldInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'rates': value['rates'],
|
|
54
|
+
'results': (value['results'].map(DomainTransferTldInformationResultDto_1.DomainTransferTldInformationResultDtoToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 DomainTransferTldInformationResultDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DomainTransferTldInformationResultDto {
|
|
19
|
+
/**
|
|
20
|
+
* The TLD name
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DomainTransferTldInformationResultDto
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* The transfer price
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof DomainTransferTldInformationResultDto
|
|
29
|
+
*/
|
|
30
|
+
transferPrice: MoneyDto;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the DomainTransferTldInformationResultDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfDomainTransferTldInformationResultDto(value: object): value is DomainTransferTldInformationResultDto;
|
|
36
|
+
export declare function DomainTransferTldInformationResultDtoFromJSON(json: any): DomainTransferTldInformationResultDto;
|
|
37
|
+
export declare function DomainTransferTldInformationResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferTldInformationResultDto;
|
|
38
|
+
export declare function DomainTransferTldInformationResultDtoToJSON(json: any): DomainTransferTldInformationResultDto;
|
|
39
|
+
export declare function DomainTransferTldInformationResultDtoToJSONTyped(value?: DomainTransferTldInformationResultDto | null, ignoreDiscriminator?: boolean): any;
|