@randock/nameshift-api-client 0.0.111 → 0.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +3 -3
- package/dist/apis/AccountsApi.js +1 -1
- package/dist/apis/AdminApi.d.ts +37 -2
- package/dist/apis/AdminApi.js +166 -3
- package/dist/apis/DomainsApi.d.ts +3 -3
- package/dist/apis/DomainsApi.js +1 -1
- package/dist/apis/LeadsApi.d.ts +3 -3
- package/dist/apis/LeadsApi.js +1 -1
- package/dist/models/AccountSettingsDto.d.ts +50 -0
- package/dist/models/AccountSettingsDto.js +59 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +31 -0
- package/dist/models/AdminAccountSettingsInput.js +44 -0
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +54 -0
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +65 -0
- package/dist/models/DomainTransferDetailsDto.d.ts +7 -0
- package/dist/models/DomainTransferDetailsDto.js +5 -0
- package/dist/models/List200Response.d.ts +3 -3
- package/dist/models/List200Response.js +3 -3
- package/dist/models/List200Response1.d.ts +3 -3
- package/dist/models/List200Response1.js +3 -3
- package/dist/models/ThrottlerException.d.ts +43 -0
- package/dist/models/ThrottlerException.js +54 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +4 -1
- package/src/apis/AccountsPublicApi.ts +3 -0
- package/src/apis/AdminApi.ts +166 -5
- package/src/apis/BuyersApi.ts +3 -0
- package/src/apis/BuyersPublicApi.ts +3 -0
- package/src/apis/DomainsApi.ts +9 -6
- package/src/apis/DomainsPublicApi.ts +3 -0
- package/src/apis/LeadsApi.ts +9 -6
- package/src/apis/LeadsPublicApi.ts +3 -0
- package/src/apis/OrdersPublicApi.ts +3 -0
- package/src/apis/StripePublicApi.ts +3 -0
- package/src/apis/UsersApi.ts +3 -0
- package/src/apis/UsersPublicApi.ts +3 -0
- package/src/models/AccountSettingsDto.ts +95 -0
- package/src/models/AdminAccountSettingsInput.ts +60 -0
- package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +99 -0
- package/src/models/DomainTransferDetailsDto.ts +15 -0
- package/src/models/List200Response.ts +9 -9
- package/src/models/List200Response1.ts +9 -9
- package/src/models/ThrottlerException.ts +79 -0
- package/src/models/index.ts +4 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -21,8 +21,10 @@ src/index.ts
|
|
|
21
21
|
src/models/AccountDto.ts
|
|
22
22
|
src/models/AccountMetricsDto.ts
|
|
23
23
|
src/models/AccountPaymentProviderSessionDto.ts
|
|
24
|
+
src/models/AccountSettingsDto.ts
|
|
24
25
|
src/models/AccountSettingsInput.ts
|
|
25
26
|
src/models/AddressDto.ts
|
|
27
|
+
src/models/AdminAccountSettingsInput.ts
|
|
26
28
|
src/models/AdminGetAllDomainTransfers200Response.ts
|
|
27
29
|
src/models/BadRequestException.ts
|
|
28
30
|
src/models/BatchReadBuyerLeadMessageInput.ts
|
|
@@ -50,6 +52,7 @@ src/models/DomainDto.ts
|
|
|
50
52
|
src/models/DomainSellerDto.ts
|
|
51
53
|
src/models/DomainStats.ts
|
|
52
54
|
src/models/DomainTransferAgentDto.ts
|
|
55
|
+
src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts
|
|
53
56
|
src/models/DomainTransferDetailWorkflowStepActionDto.ts
|
|
54
57
|
src/models/DomainTransferDetailWorkflowStepDto.ts
|
|
55
58
|
src/models/DomainTransferDetailsAuthCodeDto.ts
|
|
@@ -128,6 +131,7 @@ src/models/SetDomainTransferConfirmationInput.ts
|
|
|
128
131
|
src/models/SetNewPasswordInput.ts
|
|
129
132
|
src/models/StoreBuyerLocaleInput.ts
|
|
130
133
|
src/models/StoreUserLocaleInput.ts
|
|
134
|
+
src/models/ThrottlerException.ts
|
|
131
135
|
src/models/UpdateDomainInput.ts
|
|
132
136
|
src/models/UpdateDomainTransferAuthCodeInput.ts
|
|
133
137
|
src/models/UpdateLeadInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.113
|
|
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.113 --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
|
+
50d723139da0843db5744fe9d53aa01bc3846f4fa38885897d0e8a03368874b5cd50cde3145d1a6e360e11da61a58401
|
package/dist/apis/AccountsApi.js
CHANGED
|
@@ -263,7 +263,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
263
263
|
_a.label = 2;
|
|
264
264
|
case 2: return [4 /*yield*/, this.request({
|
|
265
265
|
path: "/private/accounts/{accountId}/settings".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
266
|
-
method: '
|
|
266
|
+
method: 'PATCH',
|
|
267
267
|
headers: headerParameters,
|
|
268
268
|
query: queryParameters,
|
|
269
269
|
body: (0, index_1.AccountSettingsInputToJSON)(requestParameters['accountSettingsInput']),
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, DomainTransferDetailsDto, GetAllOrders200Response, GetAllOwnedDomains200Response, ListAccounts200Response } from '../models/index';
|
|
13
|
+
import type { AccountSettingsDto, AdminAccountSettingsInput, AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, DomainTransferDetailsDto, GetAllOrders200Response, GetAllOwnedDomains200Response, ListAccounts200Response } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminGetAllDomainTransfersRequest {
|
|
15
15
|
filter?: object;
|
|
16
16
|
page?: number;
|
|
@@ -21,8 +21,11 @@ export interface AdminApiChangeOrderStatusRequest {
|
|
|
21
21
|
orderId: string;
|
|
22
22
|
changeOrderStatusInput: ChangeOrderStatusInput;
|
|
23
23
|
}
|
|
24
|
+
export interface AdminApiGetAccountSettingsRequest {
|
|
25
|
+
accountId: string;
|
|
26
|
+
}
|
|
24
27
|
export interface AdminApiGetAdminDomainTransferDetailsRequest {
|
|
25
|
-
|
|
28
|
+
domainTransferId: string;
|
|
26
29
|
}
|
|
27
30
|
export interface AdminApiGetAdminExecuteDomainTransferStepActionRequest {
|
|
28
31
|
transferId: string;
|
|
@@ -47,6 +50,14 @@ export interface AdminApiListAccountsRequest {
|
|
|
47
50
|
limit?: number;
|
|
48
51
|
sortBy?: Array<string>;
|
|
49
52
|
}
|
|
53
|
+
export interface AdminApiPayDomainTransferSellerInvoiceRequest {
|
|
54
|
+
transferId: string;
|
|
55
|
+
invoiceId: string;
|
|
56
|
+
}
|
|
57
|
+
export interface AdminApiUpdateAccountSettingsRequest {
|
|
58
|
+
accountId: string;
|
|
59
|
+
adminAccountSettingsInput: AdminAccountSettingsInput;
|
|
60
|
+
}
|
|
50
61
|
/**
|
|
51
62
|
*
|
|
52
63
|
*/
|
|
@@ -67,6 +78,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
67
78
|
*
|
|
68
79
|
*/
|
|
69
80
|
changeOrderStatus(requestParameters: AdminApiChangeOrderStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
getAccountSettingsRaw(requestParameters: AdminApiGetAccountSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountSettingsDto>>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
getAccountSettings(requestParameters: AdminApiGetAccountSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountSettingsDto>;
|
|
70
89
|
/**
|
|
71
90
|
*
|
|
72
91
|
*/
|
|
@@ -107,4 +126,20 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
107
126
|
*
|
|
108
127
|
*/
|
|
109
128
|
listAccounts(requestParameters?: AdminApiListAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListAccounts200Response>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
payDomainTransferSellerInvoiceRaw(requestParameters: AdminApiPayDomainTransferSellerInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
payDomainTransferSellerInvoice(requestParameters: AdminApiPayDomainTransferSellerInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
updateAccountSettingsRaw(requestParameters: AdminApiUpdateAccountSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
updateAccountSettings(requestParameters: AdminApiUpdateAccountSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
110
145
|
}
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -194,6 +194,59 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
};
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
200
|
+
AdminApi.prototype.getAccountSettingsRaw = function (requestParameters, initOverrides) {
|
|
201
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
202
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
203
|
+
return __generator(this, function (_a) {
|
|
204
|
+
switch (_a.label) {
|
|
205
|
+
case 0:
|
|
206
|
+
if (requestParameters['accountId'] == null) {
|
|
207
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountSettings().');
|
|
208
|
+
}
|
|
209
|
+
queryParameters = {};
|
|
210
|
+
headerParameters = {};
|
|
211
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
212
|
+
token = this.configuration.accessToken;
|
|
213
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
214
|
+
case 1:
|
|
215
|
+
tokenString = _a.sent();
|
|
216
|
+
if (tokenString) {
|
|
217
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
218
|
+
}
|
|
219
|
+
_a.label = 2;
|
|
220
|
+
case 2: return [4 /*yield*/, this.request({
|
|
221
|
+
path: "/admin/accounts/{accountId}/settings".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
222
|
+
method: 'GET',
|
|
223
|
+
headers: headerParameters,
|
|
224
|
+
query: queryParameters,
|
|
225
|
+
}, initOverrides)];
|
|
226
|
+
case 3:
|
|
227
|
+
response = _a.sent();
|
|
228
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AccountSettingsDtoFromJSON)(jsonValue); })];
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
});
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
*/
|
|
236
|
+
AdminApi.prototype.getAccountSettings = function (requestParameters, initOverrides) {
|
|
237
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
238
|
+
var response;
|
|
239
|
+
return __generator(this, function (_a) {
|
|
240
|
+
switch (_a.label) {
|
|
241
|
+
case 0: return [4 /*yield*/, this.getAccountSettingsRaw(requestParameters, initOverrides)];
|
|
242
|
+
case 1:
|
|
243
|
+
response = _a.sent();
|
|
244
|
+
return [4 /*yield*/, response.value()];
|
|
245
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
};
|
|
197
250
|
/**
|
|
198
251
|
*
|
|
199
252
|
*/
|
|
@@ -203,8 +256,8 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
203
256
|
return __generator(this, function (_a) {
|
|
204
257
|
switch (_a.label) {
|
|
205
258
|
case 0:
|
|
206
|
-
if (requestParameters['
|
|
207
|
-
throw new runtime.RequiredError('
|
|
259
|
+
if (requestParameters['domainTransferId'] == null) {
|
|
260
|
+
throw new runtime.RequiredError('domainTransferId', 'Required parameter "domainTransferId" was null or undefined when calling getAdminDomainTransferDetails().');
|
|
208
261
|
}
|
|
209
262
|
queryParameters = {};
|
|
210
263
|
headerParameters = {};
|
|
@@ -218,7 +271,7 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
218
271
|
}
|
|
219
272
|
_a.label = 2;
|
|
220
273
|
case 2: return [4 /*yield*/, this.request({
|
|
221
|
-
path: "/admin/domain-transfers/{
|
|
274
|
+
path: "/admin/domain-transfers/{domainTransferId}".replace("{".concat("domainTransferId", "}"), encodeURIComponent(String(requestParameters['domainTransferId']))),
|
|
222
275
|
method: 'GET',
|
|
223
276
|
headers: headerParameters,
|
|
224
277
|
query: queryParameters,
|
|
@@ -493,6 +546,116 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
493
546
|
});
|
|
494
547
|
});
|
|
495
548
|
};
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
*/
|
|
552
|
+
AdminApi.prototype.payDomainTransferSellerInvoiceRaw = function (requestParameters, initOverrides) {
|
|
553
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
554
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
555
|
+
return __generator(this, function (_a) {
|
|
556
|
+
switch (_a.label) {
|
|
557
|
+
case 0:
|
|
558
|
+
if (requestParameters['transferId'] == null) {
|
|
559
|
+
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling payDomainTransferSellerInvoice().');
|
|
560
|
+
}
|
|
561
|
+
if (requestParameters['invoiceId'] == null) {
|
|
562
|
+
throw new runtime.RequiredError('invoiceId', 'Required parameter "invoiceId" was null or undefined when calling payDomainTransferSellerInvoice().');
|
|
563
|
+
}
|
|
564
|
+
queryParameters = {};
|
|
565
|
+
headerParameters = {};
|
|
566
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
567
|
+
token = this.configuration.accessToken;
|
|
568
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
569
|
+
case 1:
|
|
570
|
+
tokenString = _a.sent();
|
|
571
|
+
if (tokenString) {
|
|
572
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
573
|
+
}
|
|
574
|
+
_a.label = 2;
|
|
575
|
+
case 2: return [4 /*yield*/, this.request({
|
|
576
|
+
path: "/admin/domain-transfers/{transferId}/seller-invoices/{invoiceId}/pay".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))).replace("{".concat("invoiceId", "}"), encodeURIComponent(String(requestParameters['invoiceId']))),
|
|
577
|
+
method: 'POST',
|
|
578
|
+
headers: headerParameters,
|
|
579
|
+
query: queryParameters,
|
|
580
|
+
}, initOverrides)];
|
|
581
|
+
case 3:
|
|
582
|
+
response = _a.sent();
|
|
583
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
584
|
+
}
|
|
585
|
+
});
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
*/
|
|
591
|
+
AdminApi.prototype.payDomainTransferSellerInvoice = function (requestParameters, initOverrides) {
|
|
592
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
593
|
+
return __generator(this, function (_a) {
|
|
594
|
+
switch (_a.label) {
|
|
595
|
+
case 0: return [4 /*yield*/, this.payDomainTransferSellerInvoiceRaw(requestParameters, initOverrides)];
|
|
596
|
+
case 1:
|
|
597
|
+
_a.sent();
|
|
598
|
+
return [2 /*return*/];
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
});
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
*/
|
|
606
|
+
AdminApi.prototype.updateAccountSettingsRaw = function (requestParameters, initOverrides) {
|
|
607
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
608
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
609
|
+
return __generator(this, function (_a) {
|
|
610
|
+
switch (_a.label) {
|
|
611
|
+
case 0:
|
|
612
|
+
if (requestParameters['accountId'] == null) {
|
|
613
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateAccountSettings().');
|
|
614
|
+
}
|
|
615
|
+
if (requestParameters['adminAccountSettingsInput'] == null) {
|
|
616
|
+
throw new runtime.RequiredError('adminAccountSettingsInput', 'Required parameter "adminAccountSettingsInput" was null or undefined when calling updateAccountSettings().');
|
|
617
|
+
}
|
|
618
|
+
queryParameters = {};
|
|
619
|
+
headerParameters = {};
|
|
620
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
621
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
622
|
+
token = this.configuration.accessToken;
|
|
623
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
624
|
+
case 1:
|
|
625
|
+
tokenString = _a.sent();
|
|
626
|
+
if (tokenString) {
|
|
627
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
628
|
+
}
|
|
629
|
+
_a.label = 2;
|
|
630
|
+
case 2: return [4 /*yield*/, this.request({
|
|
631
|
+
path: "/admin/accounts/{accountId}/settings".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
632
|
+
method: 'PATCH',
|
|
633
|
+
headers: headerParameters,
|
|
634
|
+
query: queryParameters,
|
|
635
|
+
body: (0, index_1.AdminAccountSettingsInputToJSON)(requestParameters['adminAccountSettingsInput']),
|
|
636
|
+
}, initOverrides)];
|
|
637
|
+
case 3:
|
|
638
|
+
response = _a.sent();
|
|
639
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
});
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
AdminApi.prototype.updateAccountSettings = function (requestParameters, initOverrides) {
|
|
648
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
649
|
+
return __generator(this, function (_a) {
|
|
650
|
+
switch (_a.label) {
|
|
651
|
+
case 0: return [4 /*yield*/, this.updateAccountSettingsRaw(requestParameters, initOverrides)];
|
|
652
|
+
case 1:
|
|
653
|
+
_a.sent();
|
|
654
|
+
return [2 /*return*/];
|
|
655
|
+
}
|
|
656
|
+
});
|
|
657
|
+
});
|
|
658
|
+
};
|
|
496
659
|
return AdminApi;
|
|
497
660
|
}(runtime.BaseAPI));
|
|
498
661
|
exports.AdminApi = AdminApi;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto,
|
|
13
|
+
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response1, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
15
|
file?: Blob | null;
|
|
16
16
|
domains?: Array<string>;
|
|
@@ -113,11 +113,11 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
113
113
|
/**
|
|
114
114
|
*
|
|
115
115
|
*/
|
|
116
|
-
listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
116
|
+
listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response1>>;
|
|
117
117
|
/**
|
|
118
118
|
*
|
|
119
119
|
*/
|
|
120
|
-
list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
120
|
+
list(requestParameters?: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response1>;
|
|
121
121
|
/**
|
|
122
122
|
*
|
|
123
123
|
*/
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -511,7 +511,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
511
511
|
}, initOverrides)];
|
|
512
512
|
case 3:
|
|
513
513
|
response = _a.sent();
|
|
514
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
514
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200Response1FromJSON)(jsonValue); })];
|
|
515
515
|
}
|
|
516
516
|
});
|
|
517
517
|
});
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, IntersectionLeadDtoWithLeadDetailsDto,
|
|
13
|
+
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, IntersectionLeadDtoWithLeadDetailsDto, List200Response, ListLeadMessagesDto, ObjectId, PutLeadOfferInput } from '../models/index';
|
|
14
14
|
export interface LeadsApiAcceptLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -85,11 +85,11 @@ export declare class LeadsApi extends runtime.BaseAPI {
|
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
*/
|
|
88
|
-
listRaw(requestParameters: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
88
|
+
listRaw(requestParameters: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response>>;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
*/
|
|
92
|
-
list(requestParameters?: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
92
|
+
list(requestParameters?: LeadsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response>;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
*/
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -386,7 +386,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
386
386
|
}, initOverrides)];
|
|
387
387
|
case 3:
|
|
388
388
|
response = _a.sent();
|
|
389
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
389
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.List200ResponseFromJSON)(jsonValue); })];
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
392
|
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AccountSettingsDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AccountSettingsDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {MoneyDto}
|
|
22
|
+
* @memberof AccountSettingsDto
|
|
23
|
+
*/
|
|
24
|
+
defaultStartingOffer: MoneyDto;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof AccountSettingsDto
|
|
29
|
+
*/
|
|
30
|
+
minBuyNow: MoneyDto;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AccountSettingsDto
|
|
35
|
+
*/
|
|
36
|
+
defaultCurrencyCode: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof AccountSettingsDto
|
|
41
|
+
*/
|
|
42
|
+
automaticPayouts: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AccountSettingsDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAccountSettingsDto(value: object): value is AccountSettingsDto;
|
|
48
|
+
export declare function AccountSettingsDtoFromJSON(json: any): AccountSettingsDto;
|
|
49
|
+
export declare function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsDto;
|
|
50
|
+
export declare function AccountSettingsDtoToJSON(value?: AccountSettingsDto | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAccountSettingsDto = instanceOfAccountSettingsDto;
|
|
17
|
+
exports.AccountSettingsDtoFromJSON = AccountSettingsDtoFromJSON;
|
|
18
|
+
exports.AccountSettingsDtoFromJSONTyped = AccountSettingsDtoFromJSONTyped;
|
|
19
|
+
exports.AccountSettingsDtoToJSON = AccountSettingsDtoToJSON;
|
|
20
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccountSettingsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccountSettingsDto(value) {
|
|
25
|
+
if (!('defaultStartingOffer' in value) || value['defaultStartingOffer'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('minBuyNow' in value) || value['minBuyNow'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('defaultCurrencyCode' in value) || value['defaultCurrencyCode'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('automaticPayouts' in value) || value['automaticPayouts'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function AccountSettingsDtoFromJSON(json) {
|
|
36
|
+
return AccountSettingsDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
|
|
44
|
+
'minBuyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minBuyNow']),
|
|
45
|
+
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
46
|
+
'automaticPayouts': json['automaticPayouts'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AccountSettingsDtoToJSON(value) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['defaultStartingOffer']),
|
|
55
|
+
'minBuyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['minBuyNow']),
|
|
56
|
+
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
57
|
+
'automaticPayouts': value['automaticPayouts'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminAccountSettingsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminAccountSettingsInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AdminAccountSettingsInput
|
|
22
|
+
*/
|
|
23
|
+
automaticPayouts?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAdminAccountSettingsInput(value: object): value is AdminAccountSettingsInput;
|
|
29
|
+
export declare function AdminAccountSettingsInputFromJSON(json: any): AdminAccountSettingsInput;
|
|
30
|
+
export declare function AdminAccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminAccountSettingsInput;
|
|
31
|
+
export declare function AdminAccountSettingsInputToJSON(value?: AdminAccountSettingsInput | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminAccountSettingsInput = instanceOfAdminAccountSettingsInput;
|
|
17
|
+
exports.AdminAccountSettingsInputFromJSON = AdminAccountSettingsInputFromJSON;
|
|
18
|
+
exports.AdminAccountSettingsInputFromJSONTyped = AdminAccountSettingsInputFromJSONTyped;
|
|
19
|
+
exports.AdminAccountSettingsInputToJSON = AdminAccountSettingsInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfAdminAccountSettingsInput(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function AdminAccountSettingsInputFromJSON(json) {
|
|
27
|
+
return AdminAccountSettingsInputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'automaticPayouts': json['automaticPayouts'] == null ? undefined : json['automaticPayouts'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function AdminAccountSettingsInputToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'automaticPayouts': value['automaticPayouts'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DomainTransferDetailSellerPayoutInvoiceDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DomainTransferDetailSellerPayoutInvoiceDto {
|
|
19
|
+
/**
|
|
20
|
+
* The domain seller payout invoice ID
|
|
21
|
+
* @type {object}
|
|
22
|
+
* @memberof DomainTransferDetailSellerPayoutInvoiceDto
|
|
23
|
+
*/
|
|
24
|
+
id: object;
|
|
25
|
+
/**
|
|
26
|
+
* The domain seller payout invoice price
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof DomainTransferDetailSellerPayoutInvoiceDto
|
|
29
|
+
*/
|
|
30
|
+
price: MoneyDto;
|
|
31
|
+
/**
|
|
32
|
+
* The domain seller payout invoice transaction status
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof DomainTransferDetailSellerPayoutInvoiceDto
|
|
35
|
+
*/
|
|
36
|
+
transactionStatus: DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum: {
|
|
42
|
+
readonly OPEN: "open";
|
|
43
|
+
readonly PAID: "paid";
|
|
44
|
+
readonly CANCELLED: "cancelled";
|
|
45
|
+
readonly REFUNDED: "refunded";
|
|
46
|
+
};
|
|
47
|
+
export type DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum = typeof DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum[keyof typeof DomainTransferDetailSellerPayoutInvoiceDtoTransactionStatusEnum];
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the DomainTransferDetailSellerPayoutInvoiceDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfDomainTransferDetailSellerPayoutInvoiceDto(value: object): value is DomainTransferDetailSellerPayoutInvoiceDto;
|
|
52
|
+
export declare function DomainTransferDetailSellerPayoutInvoiceDtoFromJSON(json: any): DomainTransferDetailSellerPayoutInvoiceDto;
|
|
53
|
+
export declare function DomainTransferDetailSellerPayoutInvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainTransferDetailSellerPayoutInvoiceDto;
|
|
54
|
+
export declare function DomainTransferDetailSellerPayoutInvoiceDtoToJSON(value?: DomainTransferDetailSellerPayoutInvoiceDto | null): any;
|