@randock/nameshift-api-client 0.0.426 → 0.0.428
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 +1 -1
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +11 -0
- package/dist/apis/AdminApi.js +51 -0
- package/dist/models/{IntersectionDomainDtoWithAccountDto.d.ts → AdminDomainListItemDto.d.ts} +56 -38
- package/dist/models/{IntersectionDomainDtoWithAccountDto.js → AdminDomainListItemDto.js} +29 -13
- package/dist/models/ListDomains200Response.d.ts +3 -3
- package/dist/models/ListDomains200Response.js +3 -3
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +44 -0
- package/src/models/{IntersectionDomainDtoWithAccountDto.ts → AdminDomainListItemDto.ts} +64 -40
- package/src/models/ListDomains200Response.ts +10 -10
- package/src/models/index.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -88,6 +88,7 @@ src/models/AdminChallengeListItemDto.ts
|
|
|
88
88
|
src/models/AdminCompanyStatsDto.ts
|
|
89
89
|
src/models/AdminCompanyStatsLedger.ts
|
|
90
90
|
src/models/AdminDashboardStatsDto.ts
|
|
91
|
+
src/models/AdminDomainListItemDto.ts
|
|
91
92
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
92
93
|
src/models/AdminLeadListItemBuyerDto.ts
|
|
93
94
|
src/models/AdminLeadListItemDomainDto.ts
|
|
@@ -270,7 +271,6 @@ src/models/GetSellerChallengesListDtoChallengesInner.ts
|
|
|
270
271
|
src/models/HistoricalMetrics.ts
|
|
271
272
|
src/models/HttpException.ts
|
|
272
273
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
273
|
-
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
274
274
|
src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts
|
|
275
275
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
276
276
|
src/models/IntersectionDomainDtoWithSeoMetricsDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.428
|
|
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.428 --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
|
+
84403e9174c014f25c1db0184bdd05098d196cdf94c5c0c641542f341d0aca89d63ed2aa96fcd8bf00fdb37e574ae5a6
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -34,6 +34,9 @@ export interface AdminApiChangeSubscriptionStatusRequest {
|
|
|
34
34
|
subscriptionId: string;
|
|
35
35
|
changeSubscriptionStatusInput: ChangeSubscriptionStatusInput;
|
|
36
36
|
}
|
|
37
|
+
export interface AdminApiCheckDomainNameserverRequest {
|
|
38
|
+
domainId: string;
|
|
39
|
+
}
|
|
37
40
|
export interface AdminApiCreateChallengeRequest {
|
|
38
41
|
createChallengeInput: CreateChallengeInput;
|
|
39
42
|
}
|
|
@@ -276,6 +279,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
276
279
|
*
|
|
277
280
|
*/
|
|
278
281
|
changeSubscriptionStatus(requestParameters: AdminApiChangeSubscriptionStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
*/
|
|
285
|
+
checkDomainNameserverRaw(requestParameters: AdminApiCheckDomainNameserverRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
*/
|
|
289
|
+
checkDomainNameserver(requestParameters: AdminApiCheckDomainNameserverRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
279
290
|
/**
|
|
280
291
|
*
|
|
281
292
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -405,6 +405,57 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
405
405
|
});
|
|
406
406
|
});
|
|
407
407
|
};
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
*/
|
|
411
|
+
AdminApi.prototype.checkDomainNameserverRaw = function (requestParameters, initOverrides) {
|
|
412
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
413
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
414
|
+
return __generator(this, function (_a) {
|
|
415
|
+
switch (_a.label) {
|
|
416
|
+
case 0:
|
|
417
|
+
if (requestParameters['domainId'] == null) {
|
|
418
|
+
throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling checkDomainNameserver().');
|
|
419
|
+
}
|
|
420
|
+
queryParameters = {};
|
|
421
|
+
headerParameters = {};
|
|
422
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
423
|
+
token = this.configuration.accessToken;
|
|
424
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
425
|
+
case 1:
|
|
426
|
+
tokenString = _a.sent();
|
|
427
|
+
if (tokenString) {
|
|
428
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
429
|
+
}
|
|
430
|
+
_a.label = 2;
|
|
431
|
+
case 2: return [4 /*yield*/, this.request({
|
|
432
|
+
path: "/admin/domains/{domainId}/check-ns".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
|
|
433
|
+
method: 'POST',
|
|
434
|
+
headers: headerParameters,
|
|
435
|
+
query: queryParameters,
|
|
436
|
+
}, initOverrides)];
|
|
437
|
+
case 3:
|
|
438
|
+
response = _a.sent();
|
|
439
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
*/
|
|
447
|
+
AdminApi.prototype.checkDomainNameserver = function (requestParameters, initOverrides) {
|
|
448
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
449
|
+
return __generator(this, function (_a) {
|
|
450
|
+
switch (_a.label) {
|
|
451
|
+
case 0: return [4 /*yield*/, this.checkDomainNameserverRaw(requestParameters, initOverrides)];
|
|
452
|
+
case 1:
|
|
453
|
+
_a.sent();
|
|
454
|
+
return [2 /*return*/];
|
|
455
|
+
}
|
|
456
|
+
});
|
|
457
|
+
});
|
|
458
|
+
};
|
|
408
459
|
/**
|
|
409
460
|
*
|
|
410
461
|
*/
|
package/dist/models/{IntersectionDomainDtoWithAccountDto.d.ts → AdminDomainListItemDto.d.ts}
RENAMED
|
@@ -19,196 +19,214 @@ import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainL
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @export
|
|
22
|
-
* @interface
|
|
22
|
+
* @interface AdminDomainListItemDto
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface AdminDomainListItemDto {
|
|
25
25
|
/**
|
|
26
26
|
* The uuid for this domain.
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof AdminDomainListItemDto
|
|
29
29
|
*/
|
|
30
30
|
id: string;
|
|
31
31
|
/**
|
|
32
32
|
* The current owner for the domain
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof AdminDomainListItemDto
|
|
35
35
|
*/
|
|
36
36
|
accountId: string;
|
|
37
37
|
/**
|
|
38
38
|
* The hijacker for the domain
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof AdminDomainListItemDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
43
|
/**
|
|
44
44
|
* Whether the domain can create a new auction
|
|
45
45
|
* @type {boolean}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof AdminDomainListItemDto
|
|
47
47
|
*/
|
|
48
48
|
canCreateAuction: boolean;
|
|
49
49
|
/**
|
|
50
50
|
* Whether the domain can be deleted
|
|
51
51
|
* @type {boolean}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof AdminDomainListItemDto
|
|
53
53
|
*/
|
|
54
54
|
isDeleteable: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Whether the domain is currently locked
|
|
57
57
|
* @type {boolean}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof AdminDomainListItemDto
|
|
59
59
|
*/
|
|
60
60
|
isLocked: boolean;
|
|
61
61
|
/**
|
|
62
62
|
* The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
|
|
63
63
|
* @type {Date}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof AdminDomainListItemDto
|
|
65
65
|
*/
|
|
66
66
|
lockedUntil: Date | null;
|
|
67
67
|
/**
|
|
68
68
|
* The TLD for this domain.
|
|
69
69
|
* @type {string}
|
|
70
|
-
* @memberof
|
|
70
|
+
* @memberof AdminDomainListItemDto
|
|
71
71
|
*/
|
|
72
72
|
tld: string;
|
|
73
73
|
/**
|
|
74
74
|
* Whether this domain is verified by the owner (ns3, txt) or not.
|
|
75
75
|
* @type {boolean}
|
|
76
|
-
* @memberof
|
|
76
|
+
* @memberof AdminDomainListItemDto
|
|
77
77
|
*/
|
|
78
78
|
verified: boolean;
|
|
79
79
|
/**
|
|
80
80
|
* Whether the nameservers (ns1,ns2) are set or not.
|
|
81
81
|
* @type {boolean}
|
|
82
|
-
* @memberof
|
|
82
|
+
* @memberof AdminDomainListItemDto
|
|
83
83
|
*/
|
|
84
84
|
nameservers: boolean;
|
|
85
85
|
/**
|
|
86
86
|
* The date when the nameservers were last checked
|
|
87
87
|
* @type {Date}
|
|
88
|
-
* @memberof
|
|
88
|
+
* @memberof AdminDomainListItemDto
|
|
89
89
|
*/
|
|
90
90
|
nameserversUpdatedAt: Date | null;
|
|
91
91
|
/**
|
|
92
92
|
* Whether the domain points to our server or not.
|
|
93
93
|
* @type {boolean}
|
|
94
|
-
* @memberof
|
|
94
|
+
* @memberof AdminDomainListItemDto
|
|
95
95
|
*/
|
|
96
96
|
pointsToOurServer: boolean | null;
|
|
97
97
|
/**
|
|
98
98
|
* The date when the domain points to our server was last checked
|
|
99
99
|
* @type {Date}
|
|
100
|
-
* @memberof
|
|
100
|
+
* @memberof AdminDomainListItemDto
|
|
101
101
|
*/
|
|
102
102
|
pointsToOurServerUpdatedAt: Date | null;
|
|
103
103
|
/**
|
|
104
104
|
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
105
105
|
* @type {string}
|
|
106
|
-
* @memberof
|
|
106
|
+
* @memberof AdminDomainListItemDto
|
|
107
107
|
*/
|
|
108
108
|
name: string;
|
|
109
109
|
/**
|
|
110
110
|
* The unicode domain name (example.com, mañana.com)
|
|
111
111
|
* @type {string}
|
|
112
|
-
* @memberof
|
|
112
|
+
* @memberof AdminDomainListItemDto
|
|
113
113
|
*/
|
|
114
114
|
displayName: string;
|
|
115
115
|
/**
|
|
116
116
|
* /**
|
|
117
117
|
* The domain's currency code (ISO 4217)
|
|
118
118
|
* @type {string}
|
|
119
|
-
* @memberof
|
|
119
|
+
* @memberof AdminDomainListItemDto
|
|
120
120
|
*/
|
|
121
121
|
currencyCode: string;
|
|
122
122
|
/**
|
|
123
123
|
* The BIN
|
|
124
124
|
* @type {MoneyDto}
|
|
125
|
-
* @memberof
|
|
125
|
+
* @memberof AdminDomainListItemDto
|
|
126
126
|
*/
|
|
127
127
|
buyNow: MoneyDto;
|
|
128
128
|
/**
|
|
129
129
|
* The lease to own configuration
|
|
130
130
|
* @type {LeaseToOwnConfigurationDto}
|
|
131
|
-
* @memberof
|
|
131
|
+
* @memberof AdminDomainListItemDto
|
|
132
132
|
*/
|
|
133
133
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
134
134
|
/**
|
|
135
135
|
* The rent configuration
|
|
136
136
|
* @type {RentConfigurationDto}
|
|
137
|
-
* @memberof
|
|
137
|
+
* @memberof AdminDomainListItemDto
|
|
138
138
|
*/
|
|
139
139
|
rent: RentConfigurationDto;
|
|
140
140
|
/**
|
|
141
141
|
* The lease to own configuration
|
|
142
142
|
* @type {LandingPageSettingsDto}
|
|
143
|
-
* @memberof
|
|
143
|
+
* @memberof AdminDomainListItemDto
|
|
144
144
|
*/
|
|
145
145
|
landingPageSettings: LandingPageSettingsDto;
|
|
146
146
|
/**
|
|
147
147
|
* The minimum offer
|
|
148
148
|
* @type {MoneyDto}
|
|
149
|
-
* @memberof
|
|
149
|
+
* @memberof AdminDomainListItemDto
|
|
150
150
|
*/
|
|
151
151
|
minOffer: MoneyDto;
|
|
152
152
|
/**
|
|
153
153
|
* The creation date
|
|
154
154
|
* @type {Date}
|
|
155
|
-
* @memberof
|
|
155
|
+
* @memberof AdminDomainListItemDto
|
|
156
156
|
*/
|
|
157
157
|
createdAt: Date;
|
|
158
158
|
/**
|
|
159
159
|
* The deletion date
|
|
160
160
|
* @type {Date}
|
|
161
|
-
* @memberof
|
|
161
|
+
* @memberof AdminDomainListItemDto
|
|
162
162
|
*/
|
|
163
163
|
deletedAt: Date | null;
|
|
164
164
|
/**
|
|
165
165
|
* The amount of pageviews for this domain, or null if none are tracked.
|
|
166
166
|
* @type {number}
|
|
167
|
-
* @memberof
|
|
167
|
+
* @memberof AdminDomainListItemDto
|
|
168
168
|
*/
|
|
169
169
|
pageviews: number;
|
|
170
170
|
/**
|
|
171
171
|
* Whether the third party sales data sharing is enabled.
|
|
172
172
|
* @type {boolean}
|
|
173
|
-
* @memberof
|
|
173
|
+
* @memberof AdminDomainListItemDto
|
|
174
174
|
*/
|
|
175
175
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
176
176
|
/**
|
|
177
177
|
* The lead price negotiator configuration (AI Agent)
|
|
178
178
|
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
179
|
-
* @memberof
|
|
179
|
+
* @memberof AdminDomainListItemDto
|
|
180
180
|
*/
|
|
181
181
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
182
182
|
/**
|
|
183
183
|
* Whether the domain has auction
|
|
184
184
|
* @type {DomainAuctionDto}
|
|
185
|
-
* @memberof
|
|
185
|
+
* @memberof AdminDomainListItemDto
|
|
186
186
|
*/
|
|
187
187
|
auction: DomainAuctionDto | null;
|
|
188
188
|
/**
|
|
189
189
|
* The paid auction price
|
|
190
190
|
* @type {MoneyDto}
|
|
191
|
-
* @memberof
|
|
191
|
+
* @memberof AdminDomainListItemDto
|
|
192
192
|
*/
|
|
193
193
|
paidAuctionPrice: MoneyDto;
|
|
194
194
|
/**
|
|
195
195
|
* Whether the domain has an open lead
|
|
196
196
|
* @type {boolean}
|
|
197
|
-
* @memberof
|
|
197
|
+
* @memberof AdminDomainListItemDto
|
|
198
198
|
*/
|
|
199
199
|
hasAcceptedLead: boolean;
|
|
200
200
|
/**
|
|
201
201
|
*
|
|
202
202
|
* @type {AccountDto}
|
|
203
|
-
* @memberof
|
|
203
|
+
* @memberof AdminDomainListItemDto
|
|
204
204
|
*/
|
|
205
205
|
account: AccountDto;
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {string}
|
|
209
|
+
* @memberof AdminDomainListItemDto
|
|
210
|
+
*/
|
|
211
|
+
pointsToOurServerReason: AdminDomainListItemDtoPointsToOurServerReasonEnum | null;
|
|
206
212
|
}
|
|
207
213
|
/**
|
|
208
|
-
*
|
|
214
|
+
* @export
|
|
215
|
+
*/
|
|
216
|
+
export declare const AdminDomainListItemDtoPointsToOurServerReasonEnum: {
|
|
217
|
+
readonly VALID_CNAME: "valid_cname";
|
|
218
|
+
readonly VALID_A_RECORDS: "valid_a_records";
|
|
219
|
+
readonly NO_A_RECORDS: "no_a_records";
|
|
220
|
+
readonly INVALID_A_RECORDS: "invalid_a_records";
|
|
221
|
+
readonly NX_DOMAIN: "nx_domain";
|
|
222
|
+
readonly DNS_LOOKUP_ERROR: "dns_lookup_error";
|
|
223
|
+
};
|
|
224
|
+
export type AdminDomainListItemDtoPointsToOurServerReasonEnum = typeof AdminDomainListItemDtoPointsToOurServerReasonEnum[keyof typeof AdminDomainListItemDtoPointsToOurServerReasonEnum];
|
|
225
|
+
/**
|
|
226
|
+
* Check if a given object implements the AdminDomainListItemDto interface.
|
|
209
227
|
*/
|
|
210
|
-
export declare function
|
|
211
|
-
export declare function
|
|
212
|
-
export declare function
|
|
213
|
-
export declare function
|
|
214
|
-
export declare function
|
|
228
|
+
export declare function instanceOfAdminDomainListItemDto(value: object): value is AdminDomainListItemDto;
|
|
229
|
+
export declare function AdminDomainListItemDtoFromJSON(json: any): AdminDomainListItemDto;
|
|
230
|
+
export declare function AdminDomainListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminDomainListItemDto;
|
|
231
|
+
export declare function AdminDomainListItemDtoToJSON(json: any): AdminDomainListItemDto;
|
|
232
|
+
export declare function AdminDomainListItemDtoToJSONTyped(value?: AdminDomainListItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.AdminDomainListItemDtoPointsToOurServerReasonEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminDomainListItemDto = instanceOfAdminDomainListItemDto;
|
|
18
|
+
exports.AdminDomainListItemDtoFromJSON = AdminDomainListItemDtoFromJSON;
|
|
19
|
+
exports.AdminDomainListItemDtoFromJSONTyped = AdminDomainListItemDtoFromJSONTyped;
|
|
20
|
+
exports.AdminDomainListItemDtoToJSON = AdminDomainListItemDtoToJSON;
|
|
21
|
+
exports.AdminDomainListItemDtoToJSONTyped = AdminDomainListItemDtoToJSONTyped;
|
|
21
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
23
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
23
24
|
var DomainAuctionDto_1 = require("./DomainAuctionDto");
|
|
@@ -26,9 +27,20 @@ var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
|
26
27
|
var AccountDto_1 = require("./AccountDto");
|
|
27
28
|
var DomainLeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto");
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
+
* @export
|
|
30
31
|
*/
|
|
31
|
-
|
|
32
|
+
exports.AdminDomainListItemDtoPointsToOurServerReasonEnum = {
|
|
33
|
+
VALID_CNAME: 'valid_cname',
|
|
34
|
+
VALID_A_RECORDS: 'valid_a_records',
|
|
35
|
+
NO_A_RECORDS: 'no_a_records',
|
|
36
|
+
INVALID_A_RECORDS: 'invalid_a_records',
|
|
37
|
+
NX_DOMAIN: 'nx_domain',
|
|
38
|
+
DNS_LOOKUP_ERROR: 'dns_lookup_error'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the AdminDomainListItemDto interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfAdminDomainListItemDto(value) {
|
|
32
44
|
if (!('id' in value) || value['id'] === undefined)
|
|
33
45
|
return false;
|
|
34
46
|
if (!('accountId' in value) || value['accountId'] === undefined)
|
|
@@ -89,12 +101,14 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
89
101
|
return false;
|
|
90
102
|
if (!('account' in value) || value['account'] === undefined)
|
|
91
103
|
return false;
|
|
104
|
+
if (!('pointsToOurServerReason' in value) || value['pointsToOurServerReason'] === undefined)
|
|
105
|
+
return false;
|
|
92
106
|
return true;
|
|
93
107
|
}
|
|
94
|
-
function
|
|
95
|
-
return
|
|
108
|
+
function AdminDomainListItemDtoFromJSON(json) {
|
|
109
|
+
return AdminDomainListItemDtoFromJSONTyped(json, false);
|
|
96
110
|
}
|
|
97
|
-
function
|
|
111
|
+
function AdminDomainListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
98
112
|
if (json == null) {
|
|
99
113
|
return json;
|
|
100
114
|
}
|
|
@@ -129,12 +143,13 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
129
143
|
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
|
|
130
144
|
'hasAcceptedLead': json['hasAcceptedLead'],
|
|
131
145
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
146
|
+
'pointsToOurServerReason': json['pointsToOurServerReason'],
|
|
132
147
|
};
|
|
133
148
|
}
|
|
134
|
-
function
|
|
135
|
-
return
|
|
149
|
+
function AdminDomainListItemDtoToJSON(json) {
|
|
150
|
+
return AdminDomainListItemDtoToJSONTyped(json, false);
|
|
136
151
|
}
|
|
137
|
-
function
|
|
152
|
+
function AdminDomainListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
138
153
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
139
154
|
if (value == null) {
|
|
140
155
|
return value;
|
|
@@ -170,5 +185,6 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
170
185
|
'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
|
|
171
186
|
'hasAcceptedLead': value['hasAcceptedLead'],
|
|
172
187
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
188
|
+
'pointsToOurServerReason': value['pointsToOurServerReason'],
|
|
173
189
|
};
|
|
174
190
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
-
import type {
|
|
13
|
+
import type { AdminDomainListItemDto } from './AdminDomainListItemDto';
|
|
14
14
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
|
20
20
|
export interface ListDomains200Response {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {Array<
|
|
23
|
+
* @type {Array<AdminDomainListItemDto>}
|
|
24
24
|
* @memberof ListDomains200Response
|
|
25
25
|
*/
|
|
26
|
-
data: Array<
|
|
26
|
+
data: Array<AdminDomainListItemDto>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {PaginateResponseMeta}
|
|
@@ -19,7 +19,7 @@ exports.ListDomains200ResponseFromJSONTyped = ListDomains200ResponseFromJSONType
|
|
|
19
19
|
exports.ListDomains200ResponseToJSON = ListDomains200ResponseToJSON;
|
|
20
20
|
exports.ListDomains200ResponseToJSONTyped = ListDomains200ResponseToJSONTyped;
|
|
21
21
|
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
-
var
|
|
22
|
+
var AdminDomainListItemDto_1 = require("./AdminDomainListItemDto");
|
|
23
23
|
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the ListDomains200Response interface.
|
|
@@ -41,7 +41,7 @@ function ListDomains200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'data': (json['data'].map(
|
|
44
|
+
'data': (json['data'].map(AdminDomainListItemDto_1.AdminDomainListItemDtoFromJSON)),
|
|
45
45
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
46
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
47
|
};
|
|
@@ -55,7 +55,7 @@ function ListDomains200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return value;
|
|
56
56
|
}
|
|
57
57
|
return {
|
|
58
|
-
'data': (value['data'].map(
|
|
58
|
+
'data': (value['data'].map(AdminDomainListItemDto_1.AdminDomainListItemDtoToJSON)),
|
|
59
59
|
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
60
|
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
61
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export * from './AdminChallengeListItemDto';
|
|
|
49
49
|
export * from './AdminCompanyStatsDto';
|
|
50
50
|
export * from './AdminCompanyStatsLedger';
|
|
51
51
|
export * from './AdminDashboardStatsDto';
|
|
52
|
+
export * from './AdminDomainListItemDto';
|
|
52
53
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
53
54
|
export * from './AdminLeadListItemBuyerDto';
|
|
54
55
|
export * from './AdminLeadListItemDomainDto';
|
|
@@ -231,7 +232,6 @@ export * from './GetSellerChallengesListDtoChallengesInner';
|
|
|
231
232
|
export * from './HistoricalMetrics';
|
|
232
233
|
export * from './HttpException';
|
|
233
234
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
234
|
-
export * from './IntersectionDomainDtoWithAccountDto';
|
|
235
235
|
export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
236
236
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
237
237
|
export * from './IntersectionDomainDtoWithSeoMetricsDto';
|
package/dist/models/index.js
CHANGED
|
@@ -67,6 +67,7 @@ __exportStar(require("./AdminChallengeListItemDto"), exports);
|
|
|
67
67
|
__exportStar(require("./AdminCompanyStatsDto"), exports);
|
|
68
68
|
__exportStar(require("./AdminCompanyStatsLedger"), exports);
|
|
69
69
|
__exportStar(require("./AdminDashboardStatsDto"), exports);
|
|
70
|
+
__exportStar(require("./AdminDomainListItemDto"), exports);
|
|
70
71
|
__exportStar(require("./AdminGetAllDomainTransfers200Response"), exports);
|
|
71
72
|
__exportStar(require("./AdminLeadListItemBuyerDto"), exports);
|
|
72
73
|
__exportStar(require("./AdminLeadListItemDomainDto"), exports);
|
|
@@ -249,7 +250,6 @@ __exportStar(require("./GetSellerChallengesListDtoChallengesInner"), exports);
|
|
|
249
250
|
__exportStar(require("./HistoricalMetrics"), exports);
|
|
250
251
|
__exportStar(require("./HttpException"), exports);
|
|
251
252
|
__exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
|
|
252
|
-
__exportStar(require("./IntersectionDomainDtoWithAccountDto"), exports);
|
|
253
253
|
__exportStar(require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto"), exports);
|
|
254
254
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
255
255
|
__exportStar(require("./IntersectionDomainDtoWithSeoMetricsDto"), exports);
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -180,6 +180,10 @@ export interface AdminApiChangeSubscriptionStatusRequest {
|
|
|
180
180
|
changeSubscriptionStatusInput: ChangeSubscriptionStatusInput;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
export interface AdminApiCheckDomainNameserverRequest {
|
|
184
|
+
domainId: string;
|
|
185
|
+
}
|
|
186
|
+
|
|
183
187
|
export interface AdminApiCreateChallengeRequest {
|
|
184
188
|
createChallengeInput: CreateChallengeInput;
|
|
185
189
|
}
|
|
@@ -697,6 +701,46 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
697
701
|
await this.changeSubscriptionStatusRaw(requestParameters, initOverrides);
|
|
698
702
|
}
|
|
699
703
|
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
*/
|
|
707
|
+
async checkDomainNameserverRaw(requestParameters: AdminApiCheckDomainNameserverRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
708
|
+
if (requestParameters['domainId'] == null) {
|
|
709
|
+
throw new runtime.RequiredError(
|
|
710
|
+
'domainId',
|
|
711
|
+
'Required parameter "domainId" was null or undefined when calling checkDomainNameserver().'
|
|
712
|
+
);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
const queryParameters: any = {};
|
|
716
|
+
|
|
717
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
718
|
+
|
|
719
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
720
|
+
const token = this.configuration.accessToken;
|
|
721
|
+
const tokenString = await token("bearer", []);
|
|
722
|
+
|
|
723
|
+
if (tokenString) {
|
|
724
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
const response = await this.request({
|
|
728
|
+
path: `/admin/domains/{domainId}/check-ns`.replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
|
|
729
|
+
method: 'POST',
|
|
730
|
+
headers: headerParameters,
|
|
731
|
+
query: queryParameters,
|
|
732
|
+
}, initOverrides);
|
|
733
|
+
|
|
734
|
+
return new runtime.VoidApiResponse(response);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
*
|
|
739
|
+
*/
|
|
740
|
+
async checkDomainNameserver(requestParameters: AdminApiCheckDomainNameserverRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
741
|
+
await this.checkDomainNameserverRaw(requestParameters, initOverrides);
|
|
742
|
+
}
|
|
743
|
+
|
|
700
744
|
/**
|
|
701
745
|
*
|
|
702
746
|
*/
|
|
@@ -66,196 +66,217 @@ import {
|
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @export
|
|
69
|
-
* @interface
|
|
69
|
+
* @interface AdminDomainListItemDto
|
|
70
70
|
*/
|
|
71
|
-
export interface
|
|
71
|
+
export interface AdminDomainListItemDto {
|
|
72
72
|
/**
|
|
73
73
|
* The uuid for this domain.
|
|
74
74
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
75
|
+
* @memberof AdminDomainListItemDto
|
|
76
76
|
*/
|
|
77
77
|
id: string;
|
|
78
78
|
/**
|
|
79
79
|
* The current owner for the domain
|
|
80
80
|
* @type {string}
|
|
81
|
-
* @memberof
|
|
81
|
+
* @memberof AdminDomainListItemDto
|
|
82
82
|
*/
|
|
83
83
|
accountId: string;
|
|
84
84
|
/**
|
|
85
85
|
* The hijacker for the domain
|
|
86
86
|
* @type {string}
|
|
87
|
-
* @memberof
|
|
87
|
+
* @memberof AdminDomainListItemDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
90
|
/**
|
|
91
91
|
* Whether the domain can create a new auction
|
|
92
92
|
* @type {boolean}
|
|
93
|
-
* @memberof
|
|
93
|
+
* @memberof AdminDomainListItemDto
|
|
94
94
|
*/
|
|
95
95
|
canCreateAuction: boolean;
|
|
96
96
|
/**
|
|
97
97
|
* Whether the domain can be deleted
|
|
98
98
|
* @type {boolean}
|
|
99
|
-
* @memberof
|
|
99
|
+
* @memberof AdminDomainListItemDto
|
|
100
100
|
*/
|
|
101
101
|
isDeleteable: boolean;
|
|
102
102
|
/**
|
|
103
103
|
* Whether the domain is currently locked
|
|
104
104
|
* @type {boolean}
|
|
105
|
-
* @memberof
|
|
105
|
+
* @memberof AdminDomainListItemDto
|
|
106
106
|
*/
|
|
107
107
|
isLocked: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
|
|
110
110
|
* @type {Date}
|
|
111
|
-
* @memberof
|
|
111
|
+
* @memberof AdminDomainListItemDto
|
|
112
112
|
*/
|
|
113
113
|
lockedUntil: Date | null;
|
|
114
114
|
/**
|
|
115
115
|
* The TLD for this domain.
|
|
116
116
|
* @type {string}
|
|
117
|
-
* @memberof
|
|
117
|
+
* @memberof AdminDomainListItemDto
|
|
118
118
|
*/
|
|
119
119
|
tld: string;
|
|
120
120
|
/**
|
|
121
121
|
* Whether this domain is verified by the owner (ns3, txt) or not.
|
|
122
122
|
* @type {boolean}
|
|
123
|
-
* @memberof
|
|
123
|
+
* @memberof AdminDomainListItemDto
|
|
124
124
|
*/
|
|
125
125
|
verified: boolean;
|
|
126
126
|
/**
|
|
127
127
|
* Whether the nameservers (ns1,ns2) are set or not.
|
|
128
128
|
* @type {boolean}
|
|
129
|
-
* @memberof
|
|
129
|
+
* @memberof AdminDomainListItemDto
|
|
130
130
|
*/
|
|
131
131
|
nameservers: boolean;
|
|
132
132
|
/**
|
|
133
133
|
* The date when the nameservers were last checked
|
|
134
134
|
* @type {Date}
|
|
135
|
-
* @memberof
|
|
135
|
+
* @memberof AdminDomainListItemDto
|
|
136
136
|
*/
|
|
137
137
|
nameserversUpdatedAt: Date | null;
|
|
138
138
|
/**
|
|
139
139
|
* Whether the domain points to our server or not.
|
|
140
140
|
* @type {boolean}
|
|
141
|
-
* @memberof
|
|
141
|
+
* @memberof AdminDomainListItemDto
|
|
142
142
|
*/
|
|
143
143
|
pointsToOurServer: boolean | null;
|
|
144
144
|
/**
|
|
145
145
|
* The date when the domain points to our server was last checked
|
|
146
146
|
* @type {Date}
|
|
147
|
-
* @memberof
|
|
147
|
+
* @memberof AdminDomainListItemDto
|
|
148
148
|
*/
|
|
149
149
|
pointsToOurServerUpdatedAt: Date | null;
|
|
150
150
|
/**
|
|
151
151
|
* The ASCII domain name (example.com, xn--maana-pta.com)
|
|
152
152
|
* @type {string}
|
|
153
|
-
* @memberof
|
|
153
|
+
* @memberof AdminDomainListItemDto
|
|
154
154
|
*/
|
|
155
155
|
name: string;
|
|
156
156
|
/**
|
|
157
157
|
* The unicode domain name (example.com, mañana.com)
|
|
158
158
|
* @type {string}
|
|
159
|
-
* @memberof
|
|
159
|
+
* @memberof AdminDomainListItemDto
|
|
160
160
|
*/
|
|
161
161
|
displayName: string;
|
|
162
162
|
/**
|
|
163
163
|
* /**
|
|
164
164
|
* The domain's currency code (ISO 4217)
|
|
165
165
|
* @type {string}
|
|
166
|
-
* @memberof
|
|
166
|
+
* @memberof AdminDomainListItemDto
|
|
167
167
|
*/
|
|
168
168
|
currencyCode: string;
|
|
169
169
|
/**
|
|
170
170
|
* The BIN
|
|
171
171
|
* @type {MoneyDto}
|
|
172
|
-
* @memberof
|
|
172
|
+
* @memberof AdminDomainListItemDto
|
|
173
173
|
*/
|
|
174
174
|
buyNow: MoneyDto;
|
|
175
175
|
/**
|
|
176
176
|
* The lease to own configuration
|
|
177
177
|
* @type {LeaseToOwnConfigurationDto}
|
|
178
|
-
* @memberof
|
|
178
|
+
* @memberof AdminDomainListItemDto
|
|
179
179
|
*/
|
|
180
180
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
181
181
|
/**
|
|
182
182
|
* The rent configuration
|
|
183
183
|
* @type {RentConfigurationDto}
|
|
184
|
-
* @memberof
|
|
184
|
+
* @memberof AdminDomainListItemDto
|
|
185
185
|
*/
|
|
186
186
|
rent: RentConfigurationDto;
|
|
187
187
|
/**
|
|
188
188
|
* The lease to own configuration
|
|
189
189
|
* @type {LandingPageSettingsDto}
|
|
190
|
-
* @memberof
|
|
190
|
+
* @memberof AdminDomainListItemDto
|
|
191
191
|
*/
|
|
192
192
|
landingPageSettings: LandingPageSettingsDto;
|
|
193
193
|
/**
|
|
194
194
|
* The minimum offer
|
|
195
195
|
* @type {MoneyDto}
|
|
196
|
-
* @memberof
|
|
196
|
+
* @memberof AdminDomainListItemDto
|
|
197
197
|
*/
|
|
198
198
|
minOffer: MoneyDto;
|
|
199
199
|
/**
|
|
200
200
|
* The creation date
|
|
201
201
|
* @type {Date}
|
|
202
|
-
* @memberof
|
|
202
|
+
* @memberof AdminDomainListItemDto
|
|
203
203
|
*/
|
|
204
204
|
createdAt: Date;
|
|
205
205
|
/**
|
|
206
206
|
* The deletion date
|
|
207
207
|
* @type {Date}
|
|
208
|
-
* @memberof
|
|
208
|
+
* @memberof AdminDomainListItemDto
|
|
209
209
|
*/
|
|
210
210
|
deletedAt: Date | null;
|
|
211
211
|
/**
|
|
212
212
|
* The amount of pageviews for this domain, or null if none are tracked.
|
|
213
213
|
* @type {number}
|
|
214
|
-
* @memberof
|
|
214
|
+
* @memberof AdminDomainListItemDto
|
|
215
215
|
*/
|
|
216
216
|
pageviews: number;
|
|
217
217
|
/**
|
|
218
218
|
* Whether the third party sales data sharing is enabled.
|
|
219
219
|
* @type {boolean}
|
|
220
|
-
* @memberof
|
|
220
|
+
* @memberof AdminDomainListItemDto
|
|
221
221
|
*/
|
|
222
222
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
223
223
|
/**
|
|
224
224
|
* The lead price negotiator configuration (AI Agent)
|
|
225
225
|
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
226
|
-
* @memberof
|
|
226
|
+
* @memberof AdminDomainListItemDto
|
|
227
227
|
*/
|
|
228
228
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
229
229
|
/**
|
|
230
230
|
* Whether the domain has auction
|
|
231
231
|
* @type {DomainAuctionDto}
|
|
232
|
-
* @memberof
|
|
232
|
+
* @memberof AdminDomainListItemDto
|
|
233
233
|
*/
|
|
234
234
|
auction: DomainAuctionDto | null;
|
|
235
235
|
/**
|
|
236
236
|
* The paid auction price
|
|
237
237
|
* @type {MoneyDto}
|
|
238
|
-
* @memberof
|
|
238
|
+
* @memberof AdminDomainListItemDto
|
|
239
239
|
*/
|
|
240
240
|
paidAuctionPrice: MoneyDto;
|
|
241
241
|
/**
|
|
242
242
|
* Whether the domain has an open lead
|
|
243
243
|
* @type {boolean}
|
|
244
|
-
* @memberof
|
|
244
|
+
* @memberof AdminDomainListItemDto
|
|
245
245
|
*/
|
|
246
246
|
hasAcceptedLead: boolean;
|
|
247
247
|
/**
|
|
248
248
|
*
|
|
249
249
|
* @type {AccountDto}
|
|
250
|
-
* @memberof
|
|
250
|
+
* @memberof AdminDomainListItemDto
|
|
251
251
|
*/
|
|
252
252
|
account: AccountDto;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof AdminDomainListItemDto
|
|
257
|
+
*/
|
|
258
|
+
pointsToOurServerReason: AdminDomainListItemDtoPointsToOurServerReasonEnum | null;
|
|
253
259
|
}
|
|
254
260
|
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @export
|
|
264
|
+
*/
|
|
265
|
+
export const AdminDomainListItemDtoPointsToOurServerReasonEnum = {
|
|
266
|
+
VALID_CNAME: 'valid_cname',
|
|
267
|
+
VALID_A_RECORDS: 'valid_a_records',
|
|
268
|
+
NO_A_RECORDS: 'no_a_records',
|
|
269
|
+
INVALID_A_RECORDS: 'invalid_a_records',
|
|
270
|
+
NX_DOMAIN: 'nx_domain',
|
|
271
|
+
DNS_LOOKUP_ERROR: 'dns_lookup_error'
|
|
272
|
+
} as const;
|
|
273
|
+
export type AdminDomainListItemDtoPointsToOurServerReasonEnum = typeof AdminDomainListItemDtoPointsToOurServerReasonEnum[keyof typeof AdminDomainListItemDtoPointsToOurServerReasonEnum];
|
|
274
|
+
|
|
275
|
+
|
|
255
276
|
/**
|
|
256
|
-
* Check if a given object implements the
|
|
277
|
+
* Check if a given object implements the AdminDomainListItemDto interface.
|
|
257
278
|
*/
|
|
258
|
-
export function
|
|
279
|
+
export function instanceOfAdminDomainListItemDto(value: object): value is AdminDomainListItemDto {
|
|
259
280
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
260
281
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
261
282
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
@@ -286,14 +307,15 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
286
307
|
if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined) return false;
|
|
287
308
|
if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined) return false;
|
|
288
309
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
310
|
+
if (!('pointsToOurServerReason' in value) || value['pointsToOurServerReason'] === undefined) return false;
|
|
289
311
|
return true;
|
|
290
312
|
}
|
|
291
313
|
|
|
292
|
-
export function
|
|
293
|
-
return
|
|
314
|
+
export function AdminDomainListItemDtoFromJSON(json: any): AdminDomainListItemDto {
|
|
315
|
+
return AdminDomainListItemDtoFromJSONTyped(json, false);
|
|
294
316
|
}
|
|
295
317
|
|
|
296
|
-
export function
|
|
318
|
+
export function AdminDomainListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminDomainListItemDto {
|
|
297
319
|
if (json == null) {
|
|
298
320
|
return json;
|
|
299
321
|
}
|
|
@@ -329,14 +351,15 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
329
351
|
'paidAuctionPrice': MoneyDtoFromJSON(json['paidAuctionPrice']),
|
|
330
352
|
'hasAcceptedLead': json['hasAcceptedLead'],
|
|
331
353
|
'account': AccountDtoFromJSON(json['account']),
|
|
354
|
+
'pointsToOurServerReason': json['pointsToOurServerReason'],
|
|
332
355
|
};
|
|
333
356
|
}
|
|
334
357
|
|
|
335
|
-
export function
|
|
336
|
-
return
|
|
358
|
+
export function AdminDomainListItemDtoToJSON(json: any): AdminDomainListItemDto {
|
|
359
|
+
return AdminDomainListItemDtoToJSONTyped(json, false);
|
|
337
360
|
}
|
|
338
361
|
|
|
339
|
-
export function
|
|
362
|
+
export function AdminDomainListItemDtoToJSONTyped(value?: AdminDomainListItemDto | null, ignoreDiscriminator: boolean = false): any {
|
|
340
363
|
if (value == null) {
|
|
341
364
|
return value;
|
|
342
365
|
}
|
|
@@ -373,6 +396,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
373
396
|
'paidAuctionPrice': MoneyDtoToJSON(value['paidAuctionPrice']),
|
|
374
397
|
'hasAcceptedLead': value['hasAcceptedLead'],
|
|
375
398
|
'account': AccountDtoToJSON(value['account']),
|
|
399
|
+
'pointsToOurServerReason': value['pointsToOurServerReason'],
|
|
376
400
|
};
|
|
377
401
|
}
|
|
378
402
|
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
PaginateResponseLinksToJSON,
|
|
21
21
|
PaginateResponseLinksToJSONTyped,
|
|
22
22
|
} from './PaginateResponseLinks';
|
|
23
|
-
import type {
|
|
23
|
+
import type { AdminDomainListItemDto } from './AdminDomainListItemDto';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
AdminDomainListItemDtoFromJSON,
|
|
26
|
+
AdminDomainListItemDtoFromJSONTyped,
|
|
27
|
+
AdminDomainListItemDtoToJSON,
|
|
28
|
+
AdminDomainListItemDtoToJSONTyped,
|
|
29
|
+
} from './AdminDomainListItemDto';
|
|
30
30
|
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
31
|
import {
|
|
32
32
|
PaginateResponseMetaFromJSON,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
export interface ListDomains200Response {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<AdminDomainListItemDto>}
|
|
47
47
|
* @memberof ListDomains200Response
|
|
48
48
|
*/
|
|
49
|
-
data: Array<
|
|
49
|
+
data: Array<AdminDomainListItemDto>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {PaginateResponseMeta}
|
|
@@ -81,7 +81,7 @@ export function ListDomains200ResponseFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
|
|
84
|
-
'data': ((json['data'] as Array<any>).map(
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(AdminDomainListItemDtoFromJSON)),
|
|
85
85
|
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
86
|
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
87
|
};
|
|
@@ -98,7 +98,7 @@ export function ListDomains200ResponseToJSONTyped(value?: ListDomains200Response
|
|
|
98
98
|
|
|
99
99
|
return {
|
|
100
100
|
|
|
101
|
-
'data': ((value['data'] as Array<any>).map(
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(AdminDomainListItemDtoToJSON)),
|
|
102
102
|
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
103
|
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
104
|
};
|
package/src/models/index.ts
CHANGED
|
@@ -51,6 +51,7 @@ export * from './AdminChallengeListItemDto';
|
|
|
51
51
|
export * from './AdminCompanyStatsDto';
|
|
52
52
|
export * from './AdminCompanyStatsLedger';
|
|
53
53
|
export * from './AdminDashboardStatsDto';
|
|
54
|
+
export * from './AdminDomainListItemDto';
|
|
54
55
|
export * from './AdminGetAllDomainTransfers200Response';
|
|
55
56
|
export * from './AdminLeadListItemBuyerDto';
|
|
56
57
|
export * from './AdminLeadListItemDomainDto';
|
|
@@ -233,7 +234,6 @@ export * from './GetSellerChallengesListDtoChallengesInner';
|
|
|
233
234
|
export * from './HistoricalMetrics';
|
|
234
235
|
export * from './HttpException';
|
|
235
236
|
export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
|
|
236
|
-
export * from './IntersectionDomainDtoWithAccountDto';
|
|
237
237
|
export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
238
238
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
239
239
|
export * from './IntersectionDomainDtoWithSeoMetricsDto';
|