@randock/nameshift-api-client 0.0.70 → 0.0.71
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/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +2 -40
- package/dist/apis/AccountsApi.js +4 -56
- package/dist/apis/AccountsPublicApi.d.ts +0 -9
- package/dist/apis/AccountsPublicApi.js +1 -14
- package/dist/apis/AdminApi.d.ts +3 -39
- package/dist/apis/AdminApi.js +10 -59
- package/dist/apis/BuyersApi.d.ts +6 -53
- package/dist/apis/BuyersApi.js +11 -75
- package/dist/apis/BuyersPublicApi.d.ts +0 -18
- package/dist/apis/BuyersPublicApi.js +1 -27
- package/dist/apis/DashboardApi.d.ts +2 -13
- package/dist/apis/DashboardApi.js +4 -17
- package/dist/apis/DomainsApi.d.ts +3 -93
- package/dist/apis/DomainsApi.js +10 -137
- package/dist/apis/DomainsPublicApi.d.ts +0 -9
- package/dist/apis/DomainsPublicApi.js +1 -14
- package/dist/apis/LeadsApi.d.ts +2 -58
- package/dist/apis/LeadsApi.js +4 -82
- package/dist/apis/LeadsPublicApi.d.ts +14 -48
- package/dist/apis/LeadsPublicApi.js +54 -77
- package/dist/apis/OrdersPublicApi.d.ts +0 -27
- package/dist/apis/OrdersPublicApi.js +1 -40
- package/dist/apis/UsersApi.d.ts +3 -12
- package/dist/apis/UsersApi.js +5 -18
- package/dist/apis/UsersPublicApi.d.ts +0 -36
- package/dist/apis/UsersPublicApi.js +1 -53
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +3 -87
- package/src/apis/AccountsPublicApi.ts +0 -21
- package/src/apis/AdminApi.ts +3 -84
- package/src/apis/BuyersApi.ts +9 -113
- package/src/apis/BuyersPublicApi.ts +0 -41
- package/src/apis/DashboardApi.ts +3 -27
- package/src/apis/DomainsApi.ts +3 -204
- package/src/apis/DomainsPublicApi.ts +0 -21
- package/src/apis/LeadsApi.ts +3 -127
- package/src/apis/LeadsPublicApi.ts +43 -108
- package/src/apis/OrdersPublicApi.ts +0 -61
- package/src/apis/UsersApi.ts +5 -26
- package/src/apis/UsersPublicApi.ts +0 -81
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.
|
|
67
|
+
exports.BuyersApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
@@ -78,20 +78,14 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
*/
|
|
81
|
-
BuyersApi.prototype.buyerMeRaw = function (
|
|
81
|
+
BuyersApi.prototype.buyerMeRaw = function (initOverrides) {
|
|
82
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
83
83
|
var queryParameters, headerParameters, token, tokenString, response;
|
|
84
84
|
return __generator(this, function (_a) {
|
|
85
85
|
switch (_a.label) {
|
|
86
86
|
case 0:
|
|
87
|
-
if (requestParameters['xLocale'] == null) {
|
|
88
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling buyerMe().');
|
|
89
|
-
}
|
|
90
87
|
queryParameters = {};
|
|
91
88
|
headerParameters = {};
|
|
92
|
-
if (requestParameters['xLocale'] != null) {
|
|
93
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
94
|
-
}
|
|
95
89
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
96
90
|
token = this.configuration.accessToken;
|
|
97
91
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -117,12 +111,12 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
117
111
|
/**
|
|
118
112
|
*
|
|
119
113
|
*/
|
|
120
|
-
BuyersApi.prototype.buyerMe = function (
|
|
114
|
+
BuyersApi.prototype.buyerMe = function (initOverrides) {
|
|
121
115
|
return __awaiter(this, void 0, void 0, function () {
|
|
122
116
|
var response;
|
|
123
117
|
return __generator(this, function (_a) {
|
|
124
118
|
switch (_a.label) {
|
|
125
|
-
case 0: return [4 /*yield*/, this.buyerMeRaw(
|
|
119
|
+
case 0: return [4 /*yield*/, this.buyerMeRaw(initOverrides)];
|
|
126
120
|
case 1:
|
|
127
121
|
response = _a.sent();
|
|
128
122
|
return [4 /*yield*/, response.value()];
|
|
@@ -143,14 +137,8 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
143
137
|
if (requestParameters['transferId'] == null) {
|
|
144
138
|
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling confirmDomainTransfer().');
|
|
145
139
|
}
|
|
146
|
-
if (requestParameters['xLocale'] == null) {
|
|
147
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling confirmDomainTransfer().');
|
|
148
|
-
}
|
|
149
140
|
queryParameters = {};
|
|
150
141
|
headerParameters = {};
|
|
151
|
-
if (requestParameters['xLocale'] != null) {
|
|
152
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
153
|
-
}
|
|
154
142
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
155
143
|
token = this.configuration.accessToken;
|
|
156
144
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -197,9 +185,6 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
197
185
|
return __generator(this, function (_a) {
|
|
198
186
|
switch (_a.label) {
|
|
199
187
|
case 0:
|
|
200
|
-
if (requestParameters['xLocale'] == null) {
|
|
201
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling getBuyerTransfers().');
|
|
202
|
-
}
|
|
203
188
|
queryParameters = {};
|
|
204
189
|
if (requestParameters['filter'] != null) {
|
|
205
190
|
queryParameters['filter'] = requestParameters['filter'];
|
|
@@ -214,9 +199,6 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
214
199
|
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
215
200
|
}
|
|
216
201
|
headerParameters = {};
|
|
217
|
-
if (requestParameters['xLocale'] != null) {
|
|
218
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
219
|
-
}
|
|
220
202
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
221
203
|
token = this.configuration.accessToken;
|
|
222
204
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -242,9 +224,10 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
242
224
|
/**
|
|
243
225
|
*
|
|
244
226
|
*/
|
|
245
|
-
BuyersApi.prototype.getBuyerTransfers = function (
|
|
246
|
-
return __awaiter(this,
|
|
227
|
+
BuyersApi.prototype.getBuyerTransfers = function () {
|
|
228
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
247
229
|
var response;
|
|
230
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
248
231
|
return __generator(this, function (_a) {
|
|
249
232
|
switch (_a.label) {
|
|
250
233
|
case 0: return [4 /*yield*/, this.getBuyerTransfersRaw(requestParameters, initOverrides)];
|
|
@@ -268,14 +251,8 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
268
251
|
if (requestParameters['transferId'] == null) {
|
|
269
252
|
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling getTransferAuthCode().');
|
|
270
253
|
}
|
|
271
|
-
if (requestParameters['xLocale'] == null) {
|
|
272
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling getTransferAuthCode().');
|
|
273
|
-
}
|
|
274
254
|
queryParameters = {};
|
|
275
255
|
headerParameters = {};
|
|
276
|
-
if (requestParameters['xLocale'] != null) {
|
|
277
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
278
|
-
}
|
|
279
256
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
280
257
|
token = this.configuration.accessToken;
|
|
281
258
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -318,24 +295,18 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
318
295
|
/**
|
|
319
296
|
*
|
|
320
297
|
*/
|
|
321
|
-
BuyersApi.prototype.
|
|
298
|
+
BuyersApi.prototype.setLocaleRaw = function (requestParameters, initOverrides) {
|
|
322
299
|
return __awaiter(this, void 0, void 0, function () {
|
|
323
300
|
var queryParameters, headerParameters, token, tokenString, response;
|
|
324
301
|
return __generator(this, function (_a) {
|
|
325
302
|
switch (_a.label) {
|
|
326
303
|
case 0:
|
|
327
|
-
if (requestParameters['xLocale'] == null) {
|
|
328
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling setBuyerLocale().');
|
|
329
|
-
}
|
|
330
304
|
if (requestParameters['storeBuyerLocaleInput'] == null) {
|
|
331
|
-
throw new runtime.RequiredError('storeBuyerLocaleInput', 'Required parameter "storeBuyerLocaleInput" was null or undefined when calling
|
|
305
|
+
throw new runtime.RequiredError('storeBuyerLocaleInput', 'Required parameter "storeBuyerLocaleInput" was null or undefined when calling setLocale().');
|
|
332
306
|
}
|
|
333
307
|
queryParameters = {};
|
|
334
308
|
headerParameters = {};
|
|
335
309
|
headerParameters['Content-Type'] = 'application/json';
|
|
336
|
-
if (requestParameters['xLocale'] != null) {
|
|
337
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
338
|
-
}
|
|
339
310
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
340
311
|
token = this.configuration.accessToken;
|
|
341
312
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -362,11 +333,11 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
362
333
|
/**
|
|
363
334
|
*
|
|
364
335
|
*/
|
|
365
|
-
BuyersApi.prototype.
|
|
336
|
+
BuyersApi.prototype.setLocale = function (requestParameters, initOverrides) {
|
|
366
337
|
return __awaiter(this, void 0, void 0, function () {
|
|
367
338
|
return __generator(this, function (_a) {
|
|
368
339
|
switch (_a.label) {
|
|
369
|
-
case 0: return [4 /*yield*/, this.
|
|
340
|
+
case 0: return [4 /*yield*/, this.setLocaleRaw(requestParameters, initOverrides)];
|
|
370
341
|
case 1:
|
|
371
342
|
_a.sent();
|
|
372
343
|
return [2 /*return*/];
|
|
@@ -377,38 +348,3 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
377
348
|
return BuyersApi;
|
|
378
349
|
}(runtime.BaseAPI));
|
|
379
350
|
exports.BuyersApi = BuyersApi;
|
|
380
|
-
/**
|
|
381
|
-
* @export
|
|
382
|
-
*/
|
|
383
|
-
exports.BuyerMeXLocaleEnum = {
|
|
384
|
-
NL_NL: 'nl-nl',
|
|
385
|
-
EN_GB: 'en-gb'
|
|
386
|
-
};
|
|
387
|
-
/**
|
|
388
|
-
* @export
|
|
389
|
-
*/
|
|
390
|
-
exports.ConfirmDomainTransferXLocaleEnum = {
|
|
391
|
-
NL_NL: 'nl-nl',
|
|
392
|
-
EN_GB: 'en-gb'
|
|
393
|
-
};
|
|
394
|
-
/**
|
|
395
|
-
* @export
|
|
396
|
-
*/
|
|
397
|
-
exports.GetBuyerTransfersXLocaleEnum = {
|
|
398
|
-
NL_NL: 'nl-nl',
|
|
399
|
-
EN_GB: 'en-gb'
|
|
400
|
-
};
|
|
401
|
-
/**
|
|
402
|
-
* @export
|
|
403
|
-
*/
|
|
404
|
-
exports.GetTransferAuthCodeXLocaleEnum = {
|
|
405
|
-
NL_NL: 'nl-nl',
|
|
406
|
-
EN_GB: 'en-gb'
|
|
407
|
-
};
|
|
408
|
-
/**
|
|
409
|
-
* @export
|
|
410
|
-
*/
|
|
411
|
-
exports.SetBuyerLocaleXLocaleEnum = {
|
|
412
|
-
NL_NL: 'nl-nl',
|
|
413
|
-
EN_GB: 'en-gb'
|
|
414
|
-
};
|
|
@@ -12,11 +12,9 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { LoginDto, LoginInput, RequestAccessTokenInput } from '../models/index';
|
|
14
14
|
export interface BuyersPublicApiBuyerLoginRequest {
|
|
15
|
-
xLocale: BuyerLoginXLocaleEnum;
|
|
16
15
|
loginInput: LoginInput;
|
|
17
16
|
}
|
|
18
17
|
export interface BuyersPublicApiRequestAccessTokenRequest {
|
|
19
|
-
xLocale: RequestAccessTokenXLocaleEnum;
|
|
20
18
|
requestAccessTokenInput: RequestAccessTokenInput;
|
|
21
19
|
}
|
|
22
20
|
/**
|
|
@@ -40,19 +38,3 @@ export declare class BuyersPublicApi extends runtime.BaseAPI {
|
|
|
40
38
|
*/
|
|
41
39
|
requestAccessToken(requestParameters: BuyersPublicApiRequestAccessTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
42
40
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const BuyerLoginXLocaleEnum: {
|
|
47
|
-
readonly NL_NL: "nl-nl";
|
|
48
|
-
readonly EN_GB: "en-gb";
|
|
49
|
-
};
|
|
50
|
-
export type BuyerLoginXLocaleEnum = typeof BuyerLoginXLocaleEnum[keyof typeof BuyerLoginXLocaleEnum];
|
|
51
|
-
/**
|
|
52
|
-
* @export
|
|
53
|
-
*/
|
|
54
|
-
export declare const RequestAccessTokenXLocaleEnum: {
|
|
55
|
-
readonly NL_NL: "nl-nl";
|
|
56
|
-
readonly EN_GB: "en-gb";
|
|
57
|
-
};
|
|
58
|
-
export type RequestAccessTokenXLocaleEnum = typeof RequestAccessTokenXLocaleEnum[keyof typeof RequestAccessTokenXLocaleEnum];
|
|
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.
|
|
67
|
+
exports.BuyersPublicApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
@@ -84,18 +84,12 @@ var BuyersPublicApi = /** @class */ (function (_super) {
|
|
|
84
84
|
return __generator(this, function (_a) {
|
|
85
85
|
switch (_a.label) {
|
|
86
86
|
case 0:
|
|
87
|
-
if (requestParameters['xLocale'] == null) {
|
|
88
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling buyerLogin().');
|
|
89
|
-
}
|
|
90
87
|
if (requestParameters['loginInput'] == null) {
|
|
91
88
|
throw new runtime.RequiredError('loginInput', 'Required parameter "loginInput" was null or undefined when calling buyerLogin().');
|
|
92
89
|
}
|
|
93
90
|
queryParameters = {};
|
|
94
91
|
headerParameters = {};
|
|
95
92
|
headerParameters['Content-Type'] = 'application/json';
|
|
96
|
-
if (requestParameters['xLocale'] != null) {
|
|
97
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
98
|
-
}
|
|
99
93
|
return [4 /*yield*/, this.request({
|
|
100
94
|
path: "/buyers/login",
|
|
101
95
|
method: 'POST',
|
|
@@ -136,18 +130,12 @@ var BuyersPublicApi = /** @class */ (function (_super) {
|
|
|
136
130
|
return __generator(this, function (_a) {
|
|
137
131
|
switch (_a.label) {
|
|
138
132
|
case 0:
|
|
139
|
-
if (requestParameters['xLocale'] == null) {
|
|
140
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling requestAccessToken().');
|
|
141
|
-
}
|
|
142
133
|
if (requestParameters['requestAccessTokenInput'] == null) {
|
|
143
134
|
throw new runtime.RequiredError('requestAccessTokenInput', 'Required parameter "requestAccessTokenInput" was null or undefined when calling requestAccessToken().');
|
|
144
135
|
}
|
|
145
136
|
queryParameters = {};
|
|
146
137
|
headerParameters = {};
|
|
147
138
|
headerParameters['Content-Type'] = 'application/json';
|
|
148
|
-
if (requestParameters['xLocale'] != null) {
|
|
149
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
150
|
-
}
|
|
151
139
|
return [4 /*yield*/, this.request({
|
|
152
140
|
path: "/buyers/request-access-token",
|
|
153
141
|
method: 'POST',
|
|
@@ -180,17 +168,3 @@ var BuyersPublicApi = /** @class */ (function (_super) {
|
|
|
180
168
|
return BuyersPublicApi;
|
|
181
169
|
}(runtime.BaseAPI));
|
|
182
170
|
exports.BuyersPublicApi = BuyersPublicApi;
|
|
183
|
-
/**
|
|
184
|
-
* @export
|
|
185
|
-
*/
|
|
186
|
-
exports.BuyerLoginXLocaleEnum = {
|
|
187
|
-
NL_NL: 'nl-nl',
|
|
188
|
-
EN_GB: 'en-gb'
|
|
189
|
-
};
|
|
190
|
-
/**
|
|
191
|
-
* @export
|
|
192
|
-
*/
|
|
193
|
-
exports.RequestAccessTokenXLocaleEnum = {
|
|
194
|
-
NL_NL: 'nl-nl',
|
|
195
|
-
EN_GB: 'en-gb'
|
|
196
|
-
};
|
|
@@ -11,9 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { DashboardStatsDto } from '../models/index';
|
|
14
|
-
export interface DashboardApiStatsRequest {
|
|
15
|
-
xLocale: StatsXLocaleEnum;
|
|
16
|
-
}
|
|
17
14
|
/**
|
|
18
15
|
*
|
|
19
16
|
*/
|
|
@@ -21,17 +18,9 @@ export declare class DashboardApi extends runtime.BaseAPI {
|
|
|
21
18
|
/**
|
|
22
19
|
*
|
|
23
20
|
*/
|
|
24
|
-
statsRaw(
|
|
21
|
+
statsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DashboardStatsDto>>;
|
|
25
22
|
/**
|
|
26
23
|
*
|
|
27
24
|
*/
|
|
28
|
-
stats(
|
|
25
|
+
stats(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DashboardStatsDto>;
|
|
29
26
|
}
|
|
30
|
-
/**
|
|
31
|
-
* @export
|
|
32
|
-
*/
|
|
33
|
-
export declare const StatsXLocaleEnum: {
|
|
34
|
-
readonly NL_NL: "nl-nl";
|
|
35
|
-
readonly EN_GB: "en-gb";
|
|
36
|
-
};
|
|
37
|
-
export type StatsXLocaleEnum = typeof StatsXLocaleEnum[keyof typeof StatsXLocaleEnum];
|
|
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.
|
|
67
|
+
exports.DashboardApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
@@ -78,20 +78,14 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
*/
|
|
81
|
-
DashboardApi.prototype.statsRaw = function (
|
|
81
|
+
DashboardApi.prototype.statsRaw = function (initOverrides) {
|
|
82
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
83
83
|
var queryParameters, headerParameters, token, tokenString, response;
|
|
84
84
|
return __generator(this, function (_a) {
|
|
85
85
|
switch (_a.label) {
|
|
86
86
|
case 0:
|
|
87
|
-
if (requestParameters['xLocale'] == null) {
|
|
88
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling stats().');
|
|
89
|
-
}
|
|
90
87
|
queryParameters = {};
|
|
91
88
|
headerParameters = {};
|
|
92
|
-
if (requestParameters['xLocale'] != null) {
|
|
93
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
94
|
-
}
|
|
95
89
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
96
90
|
token = this.configuration.accessToken;
|
|
97
91
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -117,12 +111,12 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
117
111
|
/**
|
|
118
112
|
*
|
|
119
113
|
*/
|
|
120
|
-
DashboardApi.prototype.stats = function (
|
|
114
|
+
DashboardApi.prototype.stats = function (initOverrides) {
|
|
121
115
|
return __awaiter(this, void 0, void 0, function () {
|
|
122
116
|
var response;
|
|
123
117
|
return __generator(this, function (_a) {
|
|
124
118
|
switch (_a.label) {
|
|
125
|
-
case 0: return [4 /*yield*/, this.statsRaw(
|
|
119
|
+
case 0: return [4 /*yield*/, this.statsRaw(initOverrides)];
|
|
126
120
|
case 1:
|
|
127
121
|
response = _a.sent();
|
|
128
122
|
return [4 /*yield*/, response.value()];
|
|
@@ -134,10 +128,3 @@ var DashboardApi = /** @class */ (function (_super) {
|
|
|
134
128
|
return DashboardApi;
|
|
135
129
|
}(runtime.BaseAPI));
|
|
136
130
|
exports.DashboardApi = DashboardApi;
|
|
137
|
-
/**
|
|
138
|
-
* @export
|
|
139
|
-
*/
|
|
140
|
-
exports.StatsXLocaleEnum = {
|
|
141
|
-
NL_NL: 'nl-nl',
|
|
142
|
-
EN_GB: 'en-gb'
|
|
143
|
-
};
|
|
@@ -12,24 +12,19 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
|
-
xLocale: BatchImportXLocaleEnum;
|
|
16
15
|
file?: Blob;
|
|
17
16
|
domains?: Array<string>;
|
|
18
17
|
}
|
|
19
18
|
export interface DomainsApiBatchUpdateRequest {
|
|
20
|
-
xLocale: BatchUpdateXLocaleEnum;
|
|
21
19
|
batchUpdateDomainsInput: BatchUpdateDomainsInput;
|
|
22
20
|
}
|
|
23
21
|
export interface DomainsApiCheckDnsRequest {
|
|
24
22
|
domainId: string;
|
|
25
|
-
xLocale: CheckDnsXLocaleEnum;
|
|
26
23
|
}
|
|
27
24
|
export interface DomainsApiDeleteDomainsRequest {
|
|
28
|
-
xLocale: DeleteDomainsXLocaleEnum;
|
|
29
25
|
deleteDomainsInput: DeleteDomainsInput;
|
|
30
26
|
}
|
|
31
27
|
export interface DomainsApiGetAllDomainTransfersRequest {
|
|
32
|
-
xLocale: GetAllDomainTransfersXLocaleEnum;
|
|
33
28
|
filter?: object;
|
|
34
29
|
page?: number;
|
|
35
30
|
limit?: number;
|
|
@@ -37,14 +32,11 @@ export interface DomainsApiGetAllDomainTransfersRequest {
|
|
|
37
32
|
}
|
|
38
33
|
export interface DomainsApiGetDomainRequest {
|
|
39
34
|
domainId: string;
|
|
40
|
-
xLocale: GetDomainXLocaleEnum;
|
|
41
35
|
}
|
|
42
36
|
export interface DomainsApiGetDomainTransferRequest {
|
|
43
37
|
transferId: string;
|
|
44
|
-
xLocale: GetDomainTransferXLocaleEnum;
|
|
45
38
|
}
|
|
46
39
|
export interface DomainsApiListRequest {
|
|
47
|
-
xLocale: ListXLocaleEnum;
|
|
48
40
|
filter?: object;
|
|
49
41
|
page?: number;
|
|
50
42
|
limit?: number;
|
|
@@ -52,12 +44,10 @@ export interface DomainsApiListRequest {
|
|
|
52
44
|
}
|
|
53
45
|
export interface DomainsApiUpdateRequest {
|
|
54
46
|
domainId: string;
|
|
55
|
-
xLocale: UpdateXLocaleEnum;
|
|
56
47
|
updateDomainInput: UpdateDomainInput;
|
|
57
48
|
}
|
|
58
49
|
export interface DomainsApiUpdateDomainTransferAuthCodeRequest {
|
|
59
50
|
transferId: string;
|
|
60
|
-
xLocale: UpdateDomainTransferAuthCodeXLocaleEnum;
|
|
61
51
|
updateDomainTransferAuthCodeInput: UpdateDomainTransferAuthCodeInput;
|
|
62
52
|
}
|
|
63
53
|
/**
|
|
@@ -71,7 +61,7 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
71
61
|
/**
|
|
72
62
|
*
|
|
73
63
|
*/
|
|
74
|
-
batchImport(requestParameters
|
|
64
|
+
batchImport(requestParameters?: DomainsApiBatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
75
65
|
/**
|
|
76
66
|
*
|
|
77
67
|
*/
|
|
@@ -103,7 +93,7 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
103
93
|
/**
|
|
104
94
|
*
|
|
105
95
|
*/
|
|
106
|
-
getAllDomainTransfers(requestParameters
|
|
96
|
+
getAllDomainTransfers(requestParameters?: DomainsApiGetAllDomainTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllDomainTransfers200Response>;
|
|
107
97
|
/**
|
|
108
98
|
*
|
|
109
99
|
*/
|
|
@@ -127,7 +117,7 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
127
117
|
/**
|
|
128
118
|
*
|
|
129
119
|
*/
|
|
130
|
-
list(requestParameters
|
|
120
|
+
list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response>;
|
|
131
121
|
/**
|
|
132
122
|
*
|
|
133
123
|
*/
|
|
@@ -145,83 +135,3 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
145
135
|
*/
|
|
146
136
|
updateDomainTransferAuthCode(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
147
137
|
}
|
|
148
|
-
/**
|
|
149
|
-
* @export
|
|
150
|
-
*/
|
|
151
|
-
export declare const BatchImportXLocaleEnum: {
|
|
152
|
-
readonly NL_NL: "nl-nl";
|
|
153
|
-
readonly EN_GB: "en-gb";
|
|
154
|
-
};
|
|
155
|
-
export type BatchImportXLocaleEnum = typeof BatchImportXLocaleEnum[keyof typeof BatchImportXLocaleEnum];
|
|
156
|
-
/**
|
|
157
|
-
* @export
|
|
158
|
-
*/
|
|
159
|
-
export declare const BatchUpdateXLocaleEnum: {
|
|
160
|
-
readonly NL_NL: "nl-nl";
|
|
161
|
-
readonly EN_GB: "en-gb";
|
|
162
|
-
};
|
|
163
|
-
export type BatchUpdateXLocaleEnum = typeof BatchUpdateXLocaleEnum[keyof typeof BatchUpdateXLocaleEnum];
|
|
164
|
-
/**
|
|
165
|
-
* @export
|
|
166
|
-
*/
|
|
167
|
-
export declare const CheckDnsXLocaleEnum: {
|
|
168
|
-
readonly NL_NL: "nl-nl";
|
|
169
|
-
readonly EN_GB: "en-gb";
|
|
170
|
-
};
|
|
171
|
-
export type CheckDnsXLocaleEnum = typeof CheckDnsXLocaleEnum[keyof typeof CheckDnsXLocaleEnum];
|
|
172
|
-
/**
|
|
173
|
-
* @export
|
|
174
|
-
*/
|
|
175
|
-
export declare const DeleteDomainsXLocaleEnum: {
|
|
176
|
-
readonly NL_NL: "nl-nl";
|
|
177
|
-
readonly EN_GB: "en-gb";
|
|
178
|
-
};
|
|
179
|
-
export type DeleteDomainsXLocaleEnum = typeof DeleteDomainsXLocaleEnum[keyof typeof DeleteDomainsXLocaleEnum];
|
|
180
|
-
/**
|
|
181
|
-
* @export
|
|
182
|
-
*/
|
|
183
|
-
export declare const GetAllDomainTransfersXLocaleEnum: {
|
|
184
|
-
readonly NL_NL: "nl-nl";
|
|
185
|
-
readonly EN_GB: "en-gb";
|
|
186
|
-
};
|
|
187
|
-
export type GetAllDomainTransfersXLocaleEnum = typeof GetAllDomainTransfersXLocaleEnum[keyof typeof GetAllDomainTransfersXLocaleEnum];
|
|
188
|
-
/**
|
|
189
|
-
* @export
|
|
190
|
-
*/
|
|
191
|
-
export declare const GetDomainXLocaleEnum: {
|
|
192
|
-
readonly NL_NL: "nl-nl";
|
|
193
|
-
readonly EN_GB: "en-gb";
|
|
194
|
-
};
|
|
195
|
-
export type GetDomainXLocaleEnum = typeof GetDomainXLocaleEnum[keyof typeof GetDomainXLocaleEnum];
|
|
196
|
-
/**
|
|
197
|
-
* @export
|
|
198
|
-
*/
|
|
199
|
-
export declare const GetDomainTransferXLocaleEnum: {
|
|
200
|
-
readonly NL_NL: "nl-nl";
|
|
201
|
-
readonly EN_GB: "en-gb";
|
|
202
|
-
};
|
|
203
|
-
export type GetDomainTransferXLocaleEnum = typeof GetDomainTransferXLocaleEnum[keyof typeof GetDomainTransferXLocaleEnum];
|
|
204
|
-
/**
|
|
205
|
-
* @export
|
|
206
|
-
*/
|
|
207
|
-
export declare const ListXLocaleEnum: {
|
|
208
|
-
readonly NL_NL: "nl-nl";
|
|
209
|
-
readonly EN_GB: "en-gb";
|
|
210
|
-
};
|
|
211
|
-
export type ListXLocaleEnum = typeof ListXLocaleEnum[keyof typeof ListXLocaleEnum];
|
|
212
|
-
/**
|
|
213
|
-
* @export
|
|
214
|
-
*/
|
|
215
|
-
export declare const UpdateXLocaleEnum: {
|
|
216
|
-
readonly NL_NL: "nl-nl";
|
|
217
|
-
readonly EN_GB: "en-gb";
|
|
218
|
-
};
|
|
219
|
-
export type UpdateXLocaleEnum = typeof UpdateXLocaleEnum[keyof typeof UpdateXLocaleEnum];
|
|
220
|
-
/**
|
|
221
|
-
* @export
|
|
222
|
-
*/
|
|
223
|
-
export declare const UpdateDomainTransferAuthCodeXLocaleEnum: {
|
|
224
|
-
readonly NL_NL: "nl-nl";
|
|
225
|
-
readonly EN_GB: "en-gb";
|
|
226
|
-
};
|
|
227
|
-
export type UpdateDomainTransferAuthCodeXLocaleEnum = typeof UpdateDomainTransferAuthCodeXLocaleEnum[keyof typeof UpdateDomainTransferAuthCodeXLocaleEnum];
|