@randock/nameshift-api-client 0.0.70 → 0.0.72
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 +5 -3
- 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 +4 -12
- package/dist/apis/DomainsPublicApi.js +5 -15
- 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/dist/models/ChartDataPoint.d.ts +37 -0
- package/dist/models/ChartDataPoint.js +51 -0
- package/dist/models/DomainStats.d.ts +58 -0
- package/dist/models/DomainStats.js +67 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +65 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +71 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.d.ts +37 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.js +51 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.d.ts +37 -0
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.js +51 -0
- package/dist/models/index.d.ts +5 -3
- package/dist/models/index.js +5 -3
- 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 +11 -27
- 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/src/models/ChartDataPoint.ts +70 -0
- package/src/models/DomainStats.ts +106 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +131 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts +70 -0
- package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts +70 -0
- package/src/models/index.ts +5 -3
- package/dist/models/DomainSalesInformationDto.d.ts +0 -58
- package/dist/models/DomainSalesInformationDto.js +0 -66
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.d.ts +0 -37
- package/dist/models/DomainSalesInformationDtoBuyNowPrice.js +0 -51
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.d.ts +0 -37
- package/dist/models/DomainSalesInformationDtoMinOfferPrice.js +0 -51
- package/src/models/DomainSalesInformationDto.ts +0 -116
- package/src/models/DomainSalesInformationDtoBuyNowPrice.ts +0 -70
- package/src/models/DomainSalesInformationDtoMinOfferPrice.ts +0 -70
package/.openapi-generator/FILES
CHANGED
|
@@ -30,6 +30,7 @@ src/models/BuyerDomainTransferListItemDomainDto.ts
|
|
|
30
30
|
src/models/BuyerDomainTransferListItemDto.ts
|
|
31
31
|
src/models/BuyerUserDto.ts
|
|
32
32
|
src/models/ChangeOrderStatusInput.ts
|
|
33
|
+
src/models/ChartDataPoint.ts
|
|
33
34
|
src/models/ConflictException.ts
|
|
34
35
|
src/models/CreateLeadInput.ts
|
|
35
36
|
src/models/CreateLeadMessageInput.ts
|
|
@@ -37,10 +38,8 @@ src/models/CreateOrderInput.ts
|
|
|
37
38
|
src/models/DashboardStatsDto.ts
|
|
38
39
|
src/models/DeleteDomainsInput.ts
|
|
39
40
|
src/models/DomainDto.ts
|
|
40
|
-
src/models/DomainSalesInformationDto.ts
|
|
41
|
-
src/models/DomainSalesInformationDtoBuyNowPrice.ts
|
|
42
|
-
src/models/DomainSalesInformationDtoMinOfferPrice.ts
|
|
43
41
|
src/models/DomainSellerDto.ts
|
|
42
|
+
src/models/DomainStats.ts
|
|
44
43
|
src/models/DomainTransferAgentDto.ts
|
|
45
44
|
src/models/DomainTransferDomainDto.ts
|
|
46
45
|
src/models/DomainTransferDto.ts
|
|
@@ -55,6 +54,9 @@ src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.t
|
|
|
55
54
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
56
55
|
src/models/IntersectionDomainDtoWithDomainUrlDto.ts
|
|
57
56
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
57
|
+
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts
|
|
58
|
+
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoBuyNowPrice.ts
|
|
59
|
+
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoMinOfferPrice.ts
|
|
58
60
|
src/models/IntersectionLeadDtoWithLeadDetailsDto.ts
|
|
59
61
|
src/models/IntersectionLeadDtoWithListFieldsDto.ts
|
|
60
62
|
src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.72
|
|
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.72 --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
|
+
54a1c237c876054662eb65c97dc4ecc92f8f2c7be37423ccec9fbbe3b60d04cb89ad4ad70224f9957eccb4eb6d722331
|
|
@@ -11,22 +11,16 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { AccountAddressInput, AccountFinancialInput, AccountSettingsInput, IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto } from '../models/index';
|
|
14
|
-
export interface AccountsApiMeRequest {
|
|
15
|
-
xLocale: MeXLocaleEnum;
|
|
16
|
-
}
|
|
17
14
|
export interface AccountsApiUpdateAddressRequest {
|
|
18
15
|
accountId: string;
|
|
19
|
-
xLocale: UpdateAddressXLocaleEnum;
|
|
20
16
|
accountAddressInput: AccountAddressInput;
|
|
21
17
|
}
|
|
22
18
|
export interface AccountsApiUpdateFinancialRequest {
|
|
23
19
|
accountId: string;
|
|
24
|
-
xLocale: UpdateFinancialXLocaleEnum;
|
|
25
20
|
accountFinancialInput: AccountFinancialInput;
|
|
26
21
|
}
|
|
27
22
|
export interface AccountsApiUpdateSettingsRequest {
|
|
28
23
|
accountId: string;
|
|
29
|
-
xLocale: UpdateSettingsXLocaleEnum;
|
|
30
24
|
accountSettingsInput: AccountSettingsInput;
|
|
31
25
|
}
|
|
32
26
|
/**
|
|
@@ -36,11 +30,11 @@ export declare class AccountsApi extends runtime.BaseAPI {
|
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
32
|
*/
|
|
39
|
-
meRaw(
|
|
33
|
+
meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto>>;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
36
|
*/
|
|
43
|
-
me(
|
|
37
|
+
me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto>;
|
|
44
38
|
/**
|
|
45
39
|
*
|
|
46
40
|
*/
|
|
@@ -66,35 +60,3 @@ export declare class AccountsApi extends runtime.BaseAPI {
|
|
|
66
60
|
*/
|
|
67
61
|
updateSettings(requestParameters: AccountsApiUpdateSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
68
62
|
}
|
|
69
|
-
/**
|
|
70
|
-
* @export
|
|
71
|
-
*/
|
|
72
|
-
export declare const MeXLocaleEnum: {
|
|
73
|
-
readonly NL_NL: "nl-nl";
|
|
74
|
-
readonly EN_GB: "en-gb";
|
|
75
|
-
};
|
|
76
|
-
export type MeXLocaleEnum = typeof MeXLocaleEnum[keyof typeof MeXLocaleEnum];
|
|
77
|
-
/**
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
|
-
export declare const UpdateAddressXLocaleEnum: {
|
|
81
|
-
readonly NL_NL: "nl-nl";
|
|
82
|
-
readonly EN_GB: "en-gb";
|
|
83
|
-
};
|
|
84
|
-
export type UpdateAddressXLocaleEnum = typeof UpdateAddressXLocaleEnum[keyof typeof UpdateAddressXLocaleEnum];
|
|
85
|
-
/**
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export declare const UpdateFinancialXLocaleEnum: {
|
|
89
|
-
readonly NL_NL: "nl-nl";
|
|
90
|
-
readonly EN_GB: "en-gb";
|
|
91
|
-
};
|
|
92
|
-
export type UpdateFinancialXLocaleEnum = typeof UpdateFinancialXLocaleEnum[keyof typeof UpdateFinancialXLocaleEnum];
|
|
93
|
-
/**
|
|
94
|
-
* @export
|
|
95
|
-
*/
|
|
96
|
-
export declare const UpdateSettingsXLocaleEnum: {
|
|
97
|
-
readonly NL_NL: "nl-nl";
|
|
98
|
-
readonly EN_GB: "en-gb";
|
|
99
|
-
};
|
|
100
|
-
export type UpdateSettingsXLocaleEnum = typeof UpdateSettingsXLocaleEnum[keyof typeof UpdateSettingsXLocaleEnum];
|
package/dist/apis/AccountsApi.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.AccountsApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
@@ -78,20 +78,14 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
*/
|
|
81
|
-
AccountsApi.prototype.meRaw = function (
|
|
81
|
+
AccountsApi.prototype.meRaw = 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 me().');
|
|
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 AccountsApi = /** @class */ (function (_super) {
|
|
|
117
111
|
/**
|
|
118
112
|
*
|
|
119
113
|
*/
|
|
120
|
-
AccountsApi.prototype.me = function (
|
|
114
|
+
AccountsApi.prototype.me = 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.meRaw(
|
|
119
|
+
case 0: return [4 /*yield*/, this.meRaw(initOverrides)];
|
|
126
120
|
case 1:
|
|
127
121
|
response = _a.sent();
|
|
128
122
|
return [4 /*yield*/, response.value()];
|
|
@@ -143,18 +137,12 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
143
137
|
if (requestParameters['accountId'] == null) {
|
|
144
138
|
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateAddress().');
|
|
145
139
|
}
|
|
146
|
-
if (requestParameters['xLocale'] == null) {
|
|
147
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling updateAddress().');
|
|
148
|
-
}
|
|
149
140
|
if (requestParameters['accountAddressInput'] == null) {
|
|
150
141
|
throw new runtime.RequiredError('accountAddressInput', 'Required parameter "accountAddressInput" was null or undefined when calling updateAddress().');
|
|
151
142
|
}
|
|
152
143
|
queryParameters = {};
|
|
153
144
|
headerParameters = {};
|
|
154
145
|
headerParameters['Content-Type'] = 'application/json';
|
|
155
|
-
if (requestParameters['xLocale'] != null) {
|
|
156
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
157
|
-
}
|
|
158
146
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
159
147
|
token = this.configuration.accessToken;
|
|
160
148
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -205,18 +193,12 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
205
193
|
if (requestParameters['accountId'] == null) {
|
|
206
194
|
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateFinancial().');
|
|
207
195
|
}
|
|
208
|
-
if (requestParameters['xLocale'] == null) {
|
|
209
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling updateFinancial().');
|
|
210
|
-
}
|
|
211
196
|
if (requestParameters['accountFinancialInput'] == null) {
|
|
212
197
|
throw new runtime.RequiredError('accountFinancialInput', 'Required parameter "accountFinancialInput" was null or undefined when calling updateFinancial().');
|
|
213
198
|
}
|
|
214
199
|
queryParameters = {};
|
|
215
200
|
headerParameters = {};
|
|
216
201
|
headerParameters['Content-Type'] = 'application/json';
|
|
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", [])];
|
|
@@ -267,18 +249,12 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
267
249
|
if (requestParameters['accountId'] == null) {
|
|
268
250
|
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateSettings().');
|
|
269
251
|
}
|
|
270
|
-
if (requestParameters['xLocale'] == null) {
|
|
271
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling updateSettings().');
|
|
272
|
-
}
|
|
273
252
|
if (requestParameters['accountSettingsInput'] == null) {
|
|
274
253
|
throw new runtime.RequiredError('accountSettingsInput', 'Required parameter "accountSettingsInput" was null or undefined when calling updateSettings().');
|
|
275
254
|
}
|
|
276
255
|
queryParameters = {};
|
|
277
256
|
headerParameters = {};
|
|
278
257
|
headerParameters['Content-Type'] = 'application/json';
|
|
279
|
-
if (requestParameters['xLocale'] != null) {
|
|
280
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
281
|
-
}
|
|
282
258
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
283
259
|
token = this.configuration.accessToken;
|
|
284
260
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -320,31 +296,3 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
320
296
|
return AccountsApi;
|
|
321
297
|
}(runtime.BaseAPI));
|
|
322
298
|
exports.AccountsApi = AccountsApi;
|
|
323
|
-
/**
|
|
324
|
-
* @export
|
|
325
|
-
*/
|
|
326
|
-
exports.MeXLocaleEnum = {
|
|
327
|
-
NL_NL: 'nl-nl',
|
|
328
|
-
EN_GB: 'en-gb'
|
|
329
|
-
};
|
|
330
|
-
/**
|
|
331
|
-
* @export
|
|
332
|
-
*/
|
|
333
|
-
exports.UpdateAddressXLocaleEnum = {
|
|
334
|
-
NL_NL: 'nl-nl',
|
|
335
|
-
EN_GB: 'en-gb'
|
|
336
|
-
};
|
|
337
|
-
/**
|
|
338
|
-
* @export
|
|
339
|
-
*/
|
|
340
|
-
exports.UpdateFinancialXLocaleEnum = {
|
|
341
|
-
NL_NL: 'nl-nl',
|
|
342
|
-
EN_GB: 'en-gb'
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* @export
|
|
346
|
-
*/
|
|
347
|
-
exports.UpdateSettingsXLocaleEnum = {
|
|
348
|
-
NL_NL: 'nl-nl',
|
|
349
|
-
EN_GB: 'en-gb'
|
|
350
|
-
};
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { RegisterAccountInput } from '../models/index';
|
|
14
14
|
export interface AccountsPublicApiRegisterRequest {
|
|
15
|
-
xLocale: RegisterXLocaleEnum;
|
|
16
15
|
registerAccountInput: RegisterAccountInput;
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
@@ -28,11 +27,3 @@ export declare class AccountsPublicApi extends runtime.BaseAPI {
|
|
|
28
27
|
*/
|
|
29
28
|
register(requestParameters: AccountsPublicApiRegisterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
30
29
|
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const RegisterXLocaleEnum: {
|
|
35
|
-
readonly NL_NL: "nl-nl";
|
|
36
|
-
readonly EN_GB: "en-gb";
|
|
37
|
-
};
|
|
38
|
-
export type RegisterXLocaleEnum = typeof RegisterXLocaleEnum[keyof typeof RegisterXLocaleEnum];
|
|
@@ -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.AccountsPublicApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
@@ -84,18 +84,12 @@ var AccountsPublicApi = /** @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 register().');
|
|
89
|
-
}
|
|
90
87
|
if (requestParameters['registerAccountInput'] == null) {
|
|
91
88
|
throw new runtime.RequiredError('registerAccountInput', 'Required parameter "registerAccountInput" was null or undefined when calling register().');
|
|
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: "/accounts/register",
|
|
101
95
|
method: 'POST',
|
|
@@ -128,10 +122,3 @@ var AccountsPublicApi = /** @class */ (function (_super) {
|
|
|
128
122
|
return AccountsPublicApi;
|
|
129
123
|
}(runtime.BaseAPI));
|
|
130
124
|
exports.AccountsPublicApi = AccountsPublicApi;
|
|
131
|
-
/**
|
|
132
|
-
* @export
|
|
133
|
-
*/
|
|
134
|
-
exports.RegisterXLocaleEnum = {
|
|
135
|
-
NL_NL: 'nl-nl',
|
|
136
|
-
EN_GB: 'en-gb'
|
|
137
|
-
};
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, GetAllOrders200Response, ListAccounts200Response } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminGetAllDomainTransfersRequest {
|
|
15
|
-
xLocale: AdminGetAllDomainTransfersXLocaleEnum;
|
|
16
15
|
filter?: object;
|
|
17
16
|
page?: number;
|
|
18
17
|
limit?: number;
|
|
@@ -20,18 +19,15 @@ export interface AdminApiAdminGetAllDomainTransfersRequest {
|
|
|
20
19
|
}
|
|
21
20
|
export interface AdminApiChangeOrderStatusRequest {
|
|
22
21
|
orderId: string;
|
|
23
|
-
xLocale: ChangeOrderStatusXLocaleEnum;
|
|
24
22
|
changeOrderStatusInput: ChangeOrderStatusInput;
|
|
25
23
|
}
|
|
26
24
|
export interface AdminApiGetAllOrdersRequest {
|
|
27
|
-
xLocale: GetAllOrdersXLocaleEnum;
|
|
28
25
|
filter?: object;
|
|
29
26
|
page?: number;
|
|
30
27
|
limit?: number;
|
|
31
28
|
sortBy?: Array<string>;
|
|
32
29
|
}
|
|
33
30
|
export interface AdminApiListAccountsRequest {
|
|
34
|
-
xLocale: ListAccountsXLocaleEnum;
|
|
35
31
|
filter?: object;
|
|
36
32
|
page?: number;
|
|
37
33
|
limit?: number;
|
|
@@ -48,7 +44,7 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
48
44
|
/**
|
|
49
45
|
*
|
|
50
46
|
*/
|
|
51
|
-
adminGetAllDomainTransfers(requestParameters
|
|
47
|
+
adminGetAllDomainTransfers(requestParameters?: AdminApiAdminGetAllDomainTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminGetAllDomainTransfers200Response>;
|
|
52
48
|
/**
|
|
53
49
|
*
|
|
54
50
|
*/
|
|
@@ -64,7 +60,7 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
64
60
|
/**
|
|
65
61
|
*
|
|
66
62
|
*/
|
|
67
|
-
getAllOrders(requestParameters
|
|
63
|
+
getAllOrders(requestParameters?: AdminApiGetAllOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllOrders200Response>;
|
|
68
64
|
/**
|
|
69
65
|
*
|
|
70
66
|
*/
|
|
@@ -72,37 +68,5 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
72
68
|
/**
|
|
73
69
|
*
|
|
74
70
|
*/
|
|
75
|
-
listAccounts(requestParameters
|
|
71
|
+
listAccounts(requestParameters?: AdminApiListAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListAccounts200Response>;
|
|
76
72
|
}
|
|
77
|
-
/**
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
|
-
export declare const AdminGetAllDomainTransfersXLocaleEnum: {
|
|
81
|
-
readonly NL_NL: "nl-nl";
|
|
82
|
-
readonly EN_GB: "en-gb";
|
|
83
|
-
};
|
|
84
|
-
export type AdminGetAllDomainTransfersXLocaleEnum = typeof AdminGetAllDomainTransfersXLocaleEnum[keyof typeof AdminGetAllDomainTransfersXLocaleEnum];
|
|
85
|
-
/**
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export declare const ChangeOrderStatusXLocaleEnum: {
|
|
89
|
-
readonly NL_NL: "nl-nl";
|
|
90
|
-
readonly EN_GB: "en-gb";
|
|
91
|
-
};
|
|
92
|
-
export type ChangeOrderStatusXLocaleEnum = typeof ChangeOrderStatusXLocaleEnum[keyof typeof ChangeOrderStatusXLocaleEnum];
|
|
93
|
-
/**
|
|
94
|
-
* @export
|
|
95
|
-
*/
|
|
96
|
-
export declare const GetAllOrdersXLocaleEnum: {
|
|
97
|
-
readonly NL_NL: "nl-nl";
|
|
98
|
-
readonly EN_GB: "en-gb";
|
|
99
|
-
};
|
|
100
|
-
export type GetAllOrdersXLocaleEnum = typeof GetAllOrdersXLocaleEnum[keyof typeof GetAllOrdersXLocaleEnum];
|
|
101
|
-
/**
|
|
102
|
-
* @export
|
|
103
|
-
*/
|
|
104
|
-
export declare const ListAccountsXLocaleEnum: {
|
|
105
|
-
readonly NL_NL: "nl-nl";
|
|
106
|
-
readonly EN_GB: "en-gb";
|
|
107
|
-
};
|
|
108
|
-
export type ListAccountsXLocaleEnum = typeof ListAccountsXLocaleEnum[keyof typeof ListAccountsXLocaleEnum];
|
package/dist/apis/AdminApi.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.AdminApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
69
|
var index_1 = require("../models/index");
|
|
70
70
|
/**
|
|
@@ -84,9 +84,6 @@ var AdminApi = /** @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 adminGetAllDomainTransfers().');
|
|
89
|
-
}
|
|
90
87
|
queryParameters = {};
|
|
91
88
|
if (requestParameters['filter'] != null) {
|
|
92
89
|
queryParameters['filter'] = requestParameters['filter'];
|
|
@@ -101,9 +98,6 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
101
98
|
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
102
99
|
}
|
|
103
100
|
headerParameters = {};
|
|
104
|
-
if (requestParameters['xLocale'] != null) {
|
|
105
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
106
|
-
}
|
|
107
101
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
108
102
|
token = this.configuration.accessToken;
|
|
109
103
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -129,9 +123,10 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
129
123
|
/**
|
|
130
124
|
*
|
|
131
125
|
*/
|
|
132
|
-
AdminApi.prototype.adminGetAllDomainTransfers = function (
|
|
133
|
-
return __awaiter(this,
|
|
126
|
+
AdminApi.prototype.adminGetAllDomainTransfers = function () {
|
|
127
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
134
128
|
var response;
|
|
129
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
135
130
|
return __generator(this, function (_a) {
|
|
136
131
|
switch (_a.label) {
|
|
137
132
|
case 0: return [4 /*yield*/, this.adminGetAllDomainTransfersRaw(requestParameters, initOverrides)];
|
|
@@ -155,18 +150,12 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
155
150
|
if (requestParameters['orderId'] == null) {
|
|
156
151
|
throw new runtime.RequiredError('orderId', 'Required parameter "orderId" was null or undefined when calling changeOrderStatus().');
|
|
157
152
|
}
|
|
158
|
-
if (requestParameters['xLocale'] == null) {
|
|
159
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling changeOrderStatus().');
|
|
160
|
-
}
|
|
161
153
|
if (requestParameters['changeOrderStatusInput'] == null) {
|
|
162
154
|
throw new runtime.RequiredError('changeOrderStatusInput', 'Required parameter "changeOrderStatusInput" was null or undefined when calling changeOrderStatus().');
|
|
163
155
|
}
|
|
164
156
|
queryParameters = {};
|
|
165
157
|
headerParameters = {};
|
|
166
158
|
headerParameters['Content-Type'] = 'application/json';
|
|
167
|
-
if (requestParameters['xLocale'] != null) {
|
|
168
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
169
|
-
}
|
|
170
159
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
171
160
|
token = this.configuration.accessToken;
|
|
172
161
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -214,9 +203,6 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
214
203
|
return __generator(this, function (_a) {
|
|
215
204
|
switch (_a.label) {
|
|
216
205
|
case 0:
|
|
217
|
-
if (requestParameters['xLocale'] == null) {
|
|
218
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling getAllOrders().');
|
|
219
|
-
}
|
|
220
206
|
queryParameters = {};
|
|
221
207
|
if (requestParameters['filter'] != null) {
|
|
222
208
|
queryParameters['filter'] = requestParameters['filter'];
|
|
@@ -231,9 +217,6 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
231
217
|
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
232
218
|
}
|
|
233
219
|
headerParameters = {};
|
|
234
|
-
if (requestParameters['xLocale'] != null) {
|
|
235
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
236
|
-
}
|
|
237
220
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
238
221
|
token = this.configuration.accessToken;
|
|
239
222
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -259,9 +242,10 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
259
242
|
/**
|
|
260
243
|
*
|
|
261
244
|
*/
|
|
262
|
-
AdminApi.prototype.getAllOrders = function (
|
|
263
|
-
return __awaiter(this,
|
|
245
|
+
AdminApi.prototype.getAllOrders = function () {
|
|
246
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
264
247
|
var response;
|
|
248
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
265
249
|
return __generator(this, function (_a) {
|
|
266
250
|
switch (_a.label) {
|
|
267
251
|
case 0: return [4 /*yield*/, this.getAllOrdersRaw(requestParameters, initOverrides)];
|
|
@@ -282,9 +266,6 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
282
266
|
return __generator(this, function (_a) {
|
|
283
267
|
switch (_a.label) {
|
|
284
268
|
case 0:
|
|
285
|
-
if (requestParameters['xLocale'] == null) {
|
|
286
|
-
throw new runtime.RequiredError('xLocale', 'Required parameter "xLocale" was null or undefined when calling listAccounts().');
|
|
287
|
-
}
|
|
288
269
|
queryParameters = {};
|
|
289
270
|
if (requestParameters['filter'] != null) {
|
|
290
271
|
queryParameters['filter'] = requestParameters['filter'];
|
|
@@ -299,9 +280,6 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
299
280
|
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
300
281
|
}
|
|
301
282
|
headerParameters = {};
|
|
302
|
-
if (requestParameters['xLocale'] != null) {
|
|
303
|
-
headerParameters['x-locale'] = String(requestParameters['xLocale']);
|
|
304
|
-
}
|
|
305
283
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
306
284
|
token = this.configuration.accessToken;
|
|
307
285
|
return [4 /*yield*/, token("bearer", [])];
|
|
@@ -327,9 +305,10 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
327
305
|
/**
|
|
328
306
|
*
|
|
329
307
|
*/
|
|
330
|
-
AdminApi.prototype.listAccounts = function (
|
|
331
|
-
return __awaiter(this,
|
|
308
|
+
AdminApi.prototype.listAccounts = function () {
|
|
309
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
332
310
|
var response;
|
|
311
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
333
312
|
return __generator(this, function (_a) {
|
|
334
313
|
switch (_a.label) {
|
|
335
314
|
case 0: return [4 /*yield*/, this.listAccountsRaw(requestParameters, initOverrides)];
|
|
@@ -344,31 +323,3 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
344
323
|
return AdminApi;
|
|
345
324
|
}(runtime.BaseAPI));
|
|
346
325
|
exports.AdminApi = AdminApi;
|
|
347
|
-
/**
|
|
348
|
-
* @export
|
|
349
|
-
*/
|
|
350
|
-
exports.AdminGetAllDomainTransfersXLocaleEnum = {
|
|
351
|
-
NL_NL: 'nl-nl',
|
|
352
|
-
EN_GB: 'en-gb'
|
|
353
|
-
};
|
|
354
|
-
/**
|
|
355
|
-
* @export
|
|
356
|
-
*/
|
|
357
|
-
exports.ChangeOrderStatusXLocaleEnum = {
|
|
358
|
-
NL_NL: 'nl-nl',
|
|
359
|
-
EN_GB: 'en-gb'
|
|
360
|
-
};
|
|
361
|
-
/**
|
|
362
|
-
* @export
|
|
363
|
-
*/
|
|
364
|
-
exports.GetAllOrdersXLocaleEnum = {
|
|
365
|
-
NL_NL: 'nl-nl',
|
|
366
|
-
EN_GB: 'en-gb'
|
|
367
|
-
};
|
|
368
|
-
/**
|
|
369
|
-
* @export
|
|
370
|
-
*/
|
|
371
|
-
exports.ListAccountsXLocaleEnum = {
|
|
372
|
-
NL_NL: 'nl-nl',
|
|
373
|
-
EN_GB: 'en-gb'
|
|
374
|
-
};
|
package/dist/apis/BuyersApi.d.ts
CHANGED
|
@@ -11,15 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { BuyerDomainTransferAuthCodeDto, BuyerUserDto, GetBuyerTransfers200Response, StoreBuyerLocaleInput } from '../models/index';
|
|
14
|
-
export interface BuyersApiBuyerMeRequest {
|
|
15
|
-
xLocale: BuyerMeXLocaleEnum;
|
|
16
|
-
}
|
|
17
14
|
export interface BuyersApiConfirmDomainTransferRequest {
|
|
18
15
|
transferId: string;
|
|
19
|
-
xLocale: ConfirmDomainTransferXLocaleEnum;
|
|
20
16
|
}
|
|
21
17
|
export interface BuyersApiGetBuyerTransfersRequest {
|
|
22
|
-
xLocale: GetBuyerTransfersXLocaleEnum;
|
|
23
18
|
filter?: object;
|
|
24
19
|
page?: number;
|
|
25
20
|
limit?: number;
|
|
@@ -27,10 +22,8 @@ export interface BuyersApiGetBuyerTransfersRequest {
|
|
|
27
22
|
}
|
|
28
23
|
export interface BuyersApiGetTransferAuthCodeRequest {
|
|
29
24
|
transferId: string;
|
|
30
|
-
xLocale: GetTransferAuthCodeXLocaleEnum;
|
|
31
25
|
}
|
|
32
|
-
export interface
|
|
33
|
-
xLocale: SetBuyerLocaleXLocaleEnum;
|
|
26
|
+
export interface BuyersApiSetLocaleRequest {
|
|
34
27
|
storeBuyerLocaleInput: StoreBuyerLocaleInput;
|
|
35
28
|
}
|
|
36
29
|
/**
|
|
@@ -40,11 +33,11 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
40
33
|
/**
|
|
41
34
|
*
|
|
42
35
|
*/
|
|
43
|
-
buyerMeRaw(
|
|
36
|
+
buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerUserDto>>;
|
|
44
37
|
/**
|
|
45
38
|
*
|
|
46
39
|
*/
|
|
47
|
-
buyerMe(
|
|
40
|
+
buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerUserDto>;
|
|
48
41
|
/**
|
|
49
42
|
*
|
|
50
43
|
*/
|
|
@@ -60,7 +53,7 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
60
53
|
/**
|
|
61
54
|
*
|
|
62
55
|
*/
|
|
63
|
-
getBuyerTransfers(requestParameters
|
|
56
|
+
getBuyerTransfers(requestParameters?: BuyersApiGetBuyerTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerTransfers200Response>;
|
|
64
57
|
/**
|
|
65
58
|
*
|
|
66
59
|
*/
|
|
@@ -72,49 +65,9 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
72
65
|
/**
|
|
73
66
|
*
|
|
74
67
|
*/
|
|
75
|
-
|
|
68
|
+
setLocaleRaw(requestParameters: BuyersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
76
69
|
/**
|
|
77
70
|
*
|
|
78
71
|
*/
|
|
79
|
-
|
|
72
|
+
setLocale(requestParameters: BuyersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
80
73
|
}
|
|
81
|
-
/**
|
|
82
|
-
* @export
|
|
83
|
-
*/
|
|
84
|
-
export declare const BuyerMeXLocaleEnum: {
|
|
85
|
-
readonly NL_NL: "nl-nl";
|
|
86
|
-
readonly EN_GB: "en-gb";
|
|
87
|
-
};
|
|
88
|
-
export type BuyerMeXLocaleEnum = typeof BuyerMeXLocaleEnum[keyof typeof BuyerMeXLocaleEnum];
|
|
89
|
-
/**
|
|
90
|
-
* @export
|
|
91
|
-
*/
|
|
92
|
-
export declare const ConfirmDomainTransferXLocaleEnum: {
|
|
93
|
-
readonly NL_NL: "nl-nl";
|
|
94
|
-
readonly EN_GB: "en-gb";
|
|
95
|
-
};
|
|
96
|
-
export type ConfirmDomainTransferXLocaleEnum = typeof ConfirmDomainTransferXLocaleEnum[keyof typeof ConfirmDomainTransferXLocaleEnum];
|
|
97
|
-
/**
|
|
98
|
-
* @export
|
|
99
|
-
*/
|
|
100
|
-
export declare const GetBuyerTransfersXLocaleEnum: {
|
|
101
|
-
readonly NL_NL: "nl-nl";
|
|
102
|
-
readonly EN_GB: "en-gb";
|
|
103
|
-
};
|
|
104
|
-
export type GetBuyerTransfersXLocaleEnum = typeof GetBuyerTransfersXLocaleEnum[keyof typeof GetBuyerTransfersXLocaleEnum];
|
|
105
|
-
/**
|
|
106
|
-
* @export
|
|
107
|
-
*/
|
|
108
|
-
export declare const GetTransferAuthCodeXLocaleEnum: {
|
|
109
|
-
readonly NL_NL: "nl-nl";
|
|
110
|
-
readonly EN_GB: "en-gb";
|
|
111
|
-
};
|
|
112
|
-
export type GetTransferAuthCodeXLocaleEnum = typeof GetTransferAuthCodeXLocaleEnum[keyof typeof GetTransferAuthCodeXLocaleEnum];
|
|
113
|
-
/**
|
|
114
|
-
* @export
|
|
115
|
-
*/
|
|
116
|
-
export declare const SetBuyerLocaleXLocaleEnum: {
|
|
117
|
-
readonly NL_NL: "nl-nl";
|
|
118
|
-
readonly EN_GB: "en-gb";
|
|
119
|
-
};
|
|
120
|
-
export type SetBuyerLocaleXLocaleEnum = typeof SetBuyerLocaleXLocaleEnum[keyof typeof SetBuyerLocaleXLocaleEnum];
|