@randock/nameshift-api-client 0.0.41 → 0.0.43
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 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +1 -14
- package/dist/apis/AdminApi.js +6 -65
- package/dist/apis/DomainsApi.d.ts +24 -1
- package/dist/apis/DomainsApi.js +118 -9
- package/dist/models/AccountAddressDto.d.ts +1 -1
- package/dist/models/AccountAddressDto.js +5 -5
- package/dist/models/AccountAddressInput.d.ts +1 -1
- package/dist/models/AccountAddressInput.js +5 -5
- package/dist/models/AccountDto.d.ts +1 -1
- package/dist/models/AccountDto.js +2 -2
- package/dist/models/AccountFinancialInput.d.ts +1 -1
- package/dist/models/AccountFinancialInput.js +4 -4
- package/dist/models/AccountSettingsInput.d.ts +1 -1
- package/dist/models/AdminGetAllDomainTransfers200Response.d.ts +1 -1
- package/dist/models/AdminGetAllDomainTransfers200Response.js +3 -3
- package/dist/models/BatchUpdateDomainsInput.d.ts +1 -1
- package/dist/models/BatchUpdateDomainsInput.js +2 -2
- package/dist/models/BuyDomainInput.d.ts +1 -1
- package/dist/models/BuyDomainInput.js +10 -10
- package/dist/models/ChangeOrderStatusInput.d.ts +1 -1
- package/dist/models/ChangeOrderStatusInput.js +1 -1
- package/dist/models/ConflictException.d.ts +1 -1
- package/dist/models/ConflictException.js +4 -4
- package/dist/models/CreateLeadInput.d.ts +1 -1
- package/dist/models/CreateLeadInput.js +8 -8
- package/dist/models/CreateLeadMessageInput.d.ts +1 -1
- package/dist/models/CreateLeadMessageInput.js +1 -1
- package/dist/models/DashboardStatsDto.d.ts +1 -1
- package/dist/models/DashboardStatsDto.js +3 -3
- package/dist/models/DeleteDomainsInput.d.ts +1 -1
- package/dist/models/DeleteDomainsInput.js +1 -1
- package/dist/models/DomainDto.d.ts +1 -1
- package/dist/models/DomainDto.js +8 -8
- package/dist/models/DomainSalesInformationDto.d.ts +1 -1
- package/dist/models/DomainSalesInformationDto.js +4 -4
- package/dist/models/DomainSellerDto.d.ts +1 -1
- package/dist/models/DomainSellerDto.js +3 -3
- package/dist/models/DomainTransferAgentDto.d.ts +1 -1
- package/dist/models/DomainTransferAgentDto.js +2 -2
- package/dist/models/DomainTransferDomainDto.d.ts +1 -1
- package/dist/models/DomainTransferDomainDto.js +3 -3
- package/dist/models/DomainTransferDto.d.ts +1 -1
- package/dist/models/DomainTransferDto.js +6 -6
- package/dist/models/DomainTransferDtoAgent.d.ts +1 -1
- package/dist/models/DomainTransferDtoAgent.js +2 -2
- package/dist/models/DomainTransferOrderDto.d.ts +1 -1
- package/dist/models/DomainTransferOrderDto.js +3 -3
- package/dist/models/ForgotPasswordRequestInput.d.ts +1 -1
- package/dist/models/ForgotPasswordRequestInput.js +1 -1
- package/dist/models/GetAllDomainTransfers200Response.d.ts +4 -4
- package/dist/models/GetAllDomainTransfers200Response.js +6 -6
- package/dist/models/HttpException.d.ts +1 -1
- package/dist/models/HttpException.js +3 -3
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.d.ts +1 -1
- package/dist/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.js +5 -5
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +1 -1
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +9 -9
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +1 -1
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +10 -10
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.d.ts +1 -1
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDto.js +6 -6
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.d.ts +1 -1
- package/dist/models/IntersectionLeadDtoWithListFieldsDto.js +12 -12
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.d.ts +1 -1
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.js +1 -1
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.d.ts +1 -1
- package/dist/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.js +2 -2
- package/dist/models/LeadMessageData.d.ts +1 -1
- package/dist/models/LeadMessageData.js +1 -1
- package/dist/models/LeadMessageDto.d.ts +1 -1
- package/dist/models/LeadMessageDto.js +7 -7
- package/dist/models/LeadMessageDtoData.d.ts +1 -1
- package/dist/models/LeadMessageDtoData.js +1 -1
- package/dist/models/LeadStatusDto.d.ts +1 -1
- package/dist/models/LeadStatusDto.js +1 -1
- package/dist/models/List200Response.d.ts +1 -1
- package/dist/models/List200Response.js +3 -3
- package/dist/models/ListAccountDto.d.ts +1 -1
- package/dist/models/ListAccountDto.js +4 -4
- package/dist/models/ListAccounts200Response.d.ts +1 -1
- package/dist/models/ListAccounts200Response.js +3 -3
- package/dist/models/ListLeadMessagesDto.d.ts +1 -1
- package/dist/models/ListLeadMessagesDto.js +1 -1
- package/dist/models/LoginDto.d.ts +1 -1
- package/dist/models/LoginDto.js +2 -2
- package/dist/models/LoginInput.d.ts +1 -1
- package/dist/models/LoginInput.js +2 -2
- package/dist/models/MoneyDto.d.ts +1 -1
- package/dist/models/MoneyDto.js +2 -2
- package/dist/models/MoneyInput.d.ts +1 -1
- package/dist/models/MoneyInput.js +2 -2
- package/dist/models/NotFoundException.d.ts +1 -1
- package/dist/models/NotFoundException.js +3 -3
- package/dist/models/ObjectId.d.ts +1 -1
- package/dist/models/ObjectId.js +1 -1
- package/dist/models/PaginateResponse.d.ts +1 -1
- package/dist/models/PaginateResponse.js +3 -3
- package/dist/models/PaginateResponseLinks.d.ts +1 -1
- package/dist/models/PaginateResponseMeta.d.ts +1 -1
- package/dist/models/PutLeadInput.d.ts +1 -1
- package/dist/models/PutLeadInput.js +1 -1
- package/dist/models/RegisterAccountInput.d.ts +1 -1
- package/dist/models/RegisterAccountInput.js +4 -4
- package/dist/models/RelatedSellerDomain.d.ts +1 -1
- package/dist/models/RelatedSellerDomain.js +4 -4
- package/dist/models/SecurityUserDto.d.ts +1 -1
- package/dist/models/SecurityUserDto.js +6 -6
- package/dist/models/SellerDomainTransferAuthCodeDto.d.ts +37 -0
- package/dist/models/SellerDomainTransferAuthCodeDto.js +51 -0
- package/dist/models/SellerDomainTransferDomainDto.d.ts +1 -1
- package/dist/models/SellerDomainTransferDomainDto.js +3 -3
- package/dist/models/SellerDomainTransferDto.d.ts +18 -11
- package/dist/models/SellerDomainTransferDto.js +19 -14
- package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +37 -0
- package/dist/models/SellerDomainTransferDtoAuthCode.js +51 -0
- package/dist/models/SellerDomainTransferListItemDomainDto.d.ts +43 -0
- package/dist/models/SellerDomainTransferListItemDomainDto.js +55 -0
- package/dist/models/SellerDomainTransferListItemDto.d.ts +74 -0
- package/dist/models/SellerDomainTransferListItemDto.js +80 -0
- package/dist/models/SetNewPasswordInput.d.ts +1 -1
- package/dist/models/SetNewPasswordInput.js +1 -1
- package/dist/models/ThrottlerException.d.ts +1 -1
- package/dist/models/ThrottlerException.js +3 -3
- package/dist/models/UpdateDomainInput.d.ts +1 -1
- package/dist/models/UpdateDomainTransferAuthCodeInput.d.ts +1 -1
- package/dist/models/UpdateDomainTransferAuthCodeInput.js +2 -2
- package/dist/models/UserPasswordResetDto.d.ts +1 -1
- package/dist/models/UserPasswordResetDto.js +2 -2
- package/dist/models/ValidationError.d.ts +1 -1
- package/dist/models/ValidationError.js +3 -3
- package/dist/models/ValidationException.d.ts +1 -1
- package/dist/models/ValidationException.js +3 -3
- package/dist/models/VerifyLeadInput.d.ts +1 -1
- package/dist/models/VerifyLeadInput.js +1 -1
- package/dist/models/WithFinancialDtoInner.d.ts +1 -1
- package/dist/models/WithFinancialDtoInner.js +4 -4
- package/dist/models/WithSettingsInner.d.ts +1 -1
- package/dist/models/WithSettingsInner.js +2 -2
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +2 -2
- package/src/apis/AdminApi.ts +0 -69
- package/src/apis/DomainsApi.ts +106 -0
- package/src/models/AccountAddressDto.ts +6 -6
- package/src/models/AccountAddressInput.ts +6 -6
- package/src/models/AccountDto.ts +3 -3
- package/src/models/AccountFinancialInput.ts +5 -5
- package/src/models/AccountSettingsInput.ts +1 -1
- package/src/models/AdminGetAllDomainTransfers200Response.ts +4 -4
- package/src/models/BatchUpdateDomainsInput.ts +3 -3
- package/src/models/BuyDomainInput.ts +11 -11
- package/src/models/ChangeOrderStatusInput.ts +2 -2
- package/src/models/ConflictException.ts +5 -5
- package/src/models/CreateLeadInput.ts +9 -9
- package/src/models/CreateLeadMessageInput.ts +2 -2
- package/src/models/DashboardStatsDto.ts +4 -4
- package/src/models/DeleteDomainsInput.ts +2 -2
- package/src/models/DomainDto.ts +9 -9
- package/src/models/DomainSalesInformationDto.ts +5 -5
- package/src/models/DomainSellerDto.ts +4 -4
- package/src/models/DomainTransferAgentDto.ts +3 -3
- package/src/models/DomainTransferDomainDto.ts +4 -4
- package/src/models/DomainTransferDto.ts +7 -7
- package/src/models/DomainTransferDtoAgent.ts +3 -3
- package/src/models/DomainTransferOrderDto.ts +4 -4
- package/src/models/ForgotPasswordRequestInput.ts +2 -2
- package/src/models/GetAllDomainTransfers200Response.ts +13 -13
- package/src/models/HttpException.ts +4 -4
- package/src/models/IntersectionAccountDtoWithFinancialDtoWithSettingsDtoWithAddressDto.ts +6 -6
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +10 -10
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +11 -11
- package/src/models/IntersectionLeadDtoWithLeadDetailsDto.ts +7 -7
- package/src/models/IntersectionLeadDtoWithListFieldsDto.ts +13 -13
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastMessageData.ts +2 -2
- package/src/models/IntersectionLeadDtoWithListFieldsDtoLastOffer.ts +3 -3
- package/src/models/LeadMessageData.ts +2 -2
- package/src/models/LeadMessageDto.ts +8 -8
- package/src/models/LeadMessageDtoData.ts +2 -2
- package/src/models/LeadStatusDto.ts +2 -2
- package/src/models/List200Response.ts +4 -4
- package/src/models/ListAccountDto.ts +5 -5
- package/src/models/ListAccounts200Response.ts +4 -4
- package/src/models/ListLeadMessagesDto.ts +2 -2
- package/src/models/LoginDto.ts +3 -3
- package/src/models/LoginInput.ts +3 -3
- package/src/models/MoneyDto.ts +3 -3
- package/src/models/MoneyInput.ts +3 -3
- package/src/models/NotFoundException.ts +4 -4
- package/src/models/ObjectId.ts +2 -2
- package/src/models/PaginateResponse.ts +4 -4
- package/src/models/PaginateResponseLinks.ts +1 -1
- package/src/models/PaginateResponseMeta.ts +1 -1
- package/src/models/PutLeadInput.ts +2 -2
- package/src/models/RegisterAccountInput.ts +5 -5
- package/src/models/RelatedSellerDomain.ts +5 -5
- package/src/models/SecurityUserDto.ts +7 -7
- package/src/models/SellerDomainTransferAuthCodeDto.ts +70 -0
- package/src/models/SellerDomainTransferDomainDto.ts +4 -4
- package/src/models/SellerDomainTransferDto.ts +34 -19
- package/src/models/SellerDomainTransferDtoAuthCode.ts +70 -0
- package/src/models/SellerDomainTransferListItemDomainDto.ts +79 -0
- package/src/models/SellerDomainTransferListItemDto.ts +126 -0
- package/src/models/SetNewPasswordInput.ts +2 -2
- package/src/models/ThrottlerException.ts +4 -4
- package/src/models/UpdateDomainInput.ts +1 -1
- package/src/models/UpdateDomainTransferAuthCodeInput.ts +3 -3
- package/src/models/UserPasswordResetDto.ts +3 -3
- package/src/models/ValidationError.ts +4 -4
- package/src/models/ValidationException.ts +4 -4
- package/src/models/VerifyLeadInput.ts +2 -2
- package/src/models/WithFinancialDtoInner.ts +5 -5
- package/src/models/WithSettingsInner.ts +3 -3
- package/src/models/index.ts +4 -1
- package/dist/models/ForbiddenException.d.ts +0 -43
- package/dist/models/ForbiddenException.js +0 -55
- package/src/models/ForbiddenException.ts +0 -79
package/.openapi-generator/FILES
CHANGED
|
@@ -36,7 +36,6 @@ src/models/DomainTransferDomainDto.ts
|
|
|
36
36
|
src/models/DomainTransferDto.ts
|
|
37
37
|
src/models/DomainTransferDtoAgent.ts
|
|
38
38
|
src/models/DomainTransferOrderDto.ts
|
|
39
|
-
src/models/ForbiddenException.ts
|
|
40
39
|
src/models/ForgotPasswordRequestInput.ts
|
|
41
40
|
src/models/GetAllDomainTransfers200Response.ts
|
|
42
41
|
src/models/HttpException.ts
|
|
@@ -68,8 +67,12 @@ src/models/PutLeadInput.ts
|
|
|
68
67
|
src/models/RegisterAccountInput.ts
|
|
69
68
|
src/models/RelatedSellerDomain.ts
|
|
70
69
|
src/models/SecurityUserDto.ts
|
|
70
|
+
src/models/SellerDomainTransferAuthCodeDto.ts
|
|
71
71
|
src/models/SellerDomainTransferDomainDto.ts
|
|
72
72
|
src/models/SellerDomainTransferDto.ts
|
|
73
|
+
src/models/SellerDomainTransferDtoAuthCode.ts
|
|
74
|
+
src/models/SellerDomainTransferListItemDomainDto.ts
|
|
75
|
+
src/models/SellerDomainTransferListItemDto.ts
|
|
73
76
|
src/models/SetNewPasswordInput.ts
|
|
74
77
|
src/models/ThrottlerException.ts
|
|
75
78
|
src/models/UpdateDomainInput.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.6.0
|
|
1
|
+
7.6.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.43
|
|
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.43 --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
|
+
235d03dfa8186ac111a8761337b9ec7251b65899a19961efa9d946b6673f8b6096694ff8b8a318ee8fbc973801243445
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,12 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, ListAccounts200Response
|
|
14
|
-
export interface AdminApiAdminChangeDomainTransferAuthCodeRequest {
|
|
15
|
-
domainId: string;
|
|
16
|
-
transferId: string;
|
|
17
|
-
updateDomainTransferAuthCodeInput: UpdateDomainTransferAuthCodeInput;
|
|
18
|
-
}
|
|
13
|
+
import type { AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, ListAccounts200Response } from '../models/index';
|
|
19
14
|
export interface AdminApiAdminGetAllDomainTransfersRequest {
|
|
20
15
|
filter?: object;
|
|
21
16
|
page?: number;
|
|
@@ -36,14 +31,6 @@ export interface AdminApiListAccountsRequest {
|
|
|
36
31
|
*
|
|
37
32
|
*/
|
|
38
33
|
export declare class AdminApi extends runtime.BaseAPI {
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
adminChangeDomainTransferAuthCodeRaw(requestParameters: AdminApiAdminChangeDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
adminChangeDomainTransferAuthCode(requestParameters: AdminApiAdminChangeDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
47
34
|
/**
|
|
48
35
|
*
|
|
49
36
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -75,65 +75,6 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function AdminApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
AdminApi.prototype.adminChangeDomainTransferAuthCodeRaw = function (requestParameters, initOverrides) {
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, token, tokenString, response;
|
|
84
|
-
return __generator(this, function (_a) {
|
|
85
|
-
switch (_a.label) {
|
|
86
|
-
case 0:
|
|
87
|
-
if (requestParameters['domainId'] == null) {
|
|
88
|
-
throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling adminChangeDomainTransferAuthCode().');
|
|
89
|
-
}
|
|
90
|
-
if (requestParameters['transferId'] == null) {
|
|
91
|
-
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling adminChangeDomainTransferAuthCode().');
|
|
92
|
-
}
|
|
93
|
-
if (requestParameters['updateDomainTransferAuthCodeInput'] == null) {
|
|
94
|
-
throw new runtime.RequiredError('updateDomainTransferAuthCodeInput', 'Required parameter "updateDomainTransferAuthCodeInput" was null or undefined when calling adminChangeDomainTransferAuthCode().');
|
|
95
|
-
}
|
|
96
|
-
queryParameters = {};
|
|
97
|
-
headerParameters = {};
|
|
98
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
99
|
-
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
100
|
-
token = this.configuration.accessToken;
|
|
101
|
-
return [4 /*yield*/, token("bearer", [])];
|
|
102
|
-
case 1:
|
|
103
|
-
tokenString = _a.sent();
|
|
104
|
-
if (tokenString) {
|
|
105
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
106
|
-
}
|
|
107
|
-
_a.label = 2;
|
|
108
|
-
case 2: return [4 /*yield*/, this.request({
|
|
109
|
-
path: "/admin/domains/{domainId}/transfers/{transferId}/auth-code".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))).replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
|
|
110
|
-
method: 'PATCH',
|
|
111
|
-
headers: headerParameters,
|
|
112
|
-
query: queryParameters,
|
|
113
|
-
body: (0, index_1.UpdateDomainTransferAuthCodeInputToJSON)(requestParameters['updateDomainTransferAuthCodeInput']),
|
|
114
|
-
}, initOverrides)];
|
|
115
|
-
case 3:
|
|
116
|
-
response = _a.sent();
|
|
117
|
-
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
*/
|
|
125
|
-
AdminApi.prototype.adminChangeDomainTransferAuthCode = function (requestParameters, initOverrides) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
127
|
-
return __generator(this, function (_a) {
|
|
128
|
-
switch (_a.label) {
|
|
129
|
-
case 0: return [4 /*yield*/, this.adminChangeDomainTransferAuthCodeRaw(requestParameters, initOverrides)];
|
|
130
|
-
case 1:
|
|
131
|
-
_a.sent();
|
|
132
|
-
return [2 /*return*/];
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
};
|
|
137
78
|
/**
|
|
138
79
|
*
|
|
139
80
|
*/
|
|
@@ -182,10 +123,10 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
182
123
|
/**
|
|
183
124
|
*
|
|
184
125
|
*/
|
|
185
|
-
AdminApi.prototype.adminGetAllDomainTransfers = function (
|
|
186
|
-
|
|
187
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
126
|
+
AdminApi.prototype.adminGetAllDomainTransfers = function () {
|
|
127
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
188
128
|
var response;
|
|
129
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
189
130
|
return __generator(this, function (_a) {
|
|
190
131
|
switch (_a.label) {
|
|
191
132
|
case 0: return [4 /*yield*/, this.adminGetAllDomainTransfersRaw(requestParameters, initOverrides)];
|
|
@@ -301,10 +242,10 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
301
242
|
/**
|
|
302
243
|
*
|
|
303
244
|
*/
|
|
304
|
-
AdminApi.prototype.listAccounts = function (
|
|
305
|
-
|
|
306
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
245
|
+
AdminApi.prototype.listAccounts = function () {
|
|
246
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
307
247
|
var response;
|
|
248
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
308
249
|
return __generator(this, function (_a) {
|
|
309
250
|
switch (_a.label) {
|
|
310
251
|
case 0: return [4 /*yield*/, this.listAccountsRaw(requestParameters, initOverrides)];
|
|
@@ -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, List200Response, UpdateDomainInput } from '../models/index';
|
|
13
|
+
import type { BatchUpdateDomainsInput, DeleteDomainsInput, DomainDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
15
|
file?: Blob;
|
|
16
16
|
domains?: Array<string>;
|
|
@@ -33,6 +33,9 @@ export interface DomainsApiGetAllDomainTransfersRequest {
|
|
|
33
33
|
limit?: number;
|
|
34
34
|
sortBy?: Array<string>;
|
|
35
35
|
}
|
|
36
|
+
export interface DomainsApiGetDomainTransferRequest {
|
|
37
|
+
transferId: string;
|
|
38
|
+
}
|
|
36
39
|
export interface DomainsApiListRequest {
|
|
37
40
|
filter?: object;
|
|
38
41
|
page?: number;
|
|
@@ -43,6 +46,10 @@ export interface DomainsApiUpdateRequest {
|
|
|
43
46
|
domainId: string;
|
|
44
47
|
updateDomainInput: UpdateDomainInput;
|
|
45
48
|
}
|
|
49
|
+
export interface DomainsApiUpdateDomainTransferAuthCodeRequest {
|
|
50
|
+
transferId: string;
|
|
51
|
+
updateDomainTransferAuthCodeInput: UpdateDomainTransferAuthCodeInput;
|
|
52
|
+
}
|
|
46
53
|
/**
|
|
47
54
|
*
|
|
48
55
|
*/
|
|
@@ -95,6 +102,14 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
95
102
|
*
|
|
96
103
|
*/
|
|
97
104
|
getAllDomainTransfers(requestParameters?: DomainsApiGetAllDomainTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllDomainTransfers200Response>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
getDomainTransferRaw(requestParameters: DomainsApiGetDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SellerDomainTransferDto>>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
getDomainTransfer(requestParameters: DomainsApiGetDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SellerDomainTransferDto>;
|
|
98
113
|
/**
|
|
99
114
|
*
|
|
100
115
|
*/
|
|
@@ -111,4 +126,12 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
111
126
|
*
|
|
112
127
|
*/
|
|
113
128
|
update(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainDto>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
updateDomainTransferAuthCodeRaw(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
updateDomainTransferAuthCode(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
114
137
|
}
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -132,9 +132,9 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
132
132
|
/**
|
|
133
133
|
*
|
|
134
134
|
*/
|
|
135
|
-
DomainsApi.prototype.batchImport = function (
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
DomainsApi.prototype.batchImport = function () {
|
|
136
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
137
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
138
138
|
return __generator(this, function (_a) {
|
|
139
139
|
switch (_a.label) {
|
|
140
140
|
case 0: return [4 /*yield*/, this.batchImportRaw(requestParameters, initOverrides)];
|
|
@@ -403,10 +403,10 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
403
403
|
/**
|
|
404
404
|
*
|
|
405
405
|
*/
|
|
406
|
-
DomainsApi.prototype.getAllDomainTransfers = function (
|
|
407
|
-
|
|
408
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
406
|
+
DomainsApi.prototype.getAllDomainTransfers = function () {
|
|
407
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
409
408
|
var response;
|
|
409
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
410
410
|
return __generator(this, function (_a) {
|
|
411
411
|
switch (_a.label) {
|
|
412
412
|
case 0: return [4 /*yield*/, this.getAllDomainTransfersRaw(requestParameters, initOverrides)];
|
|
@@ -418,6 +418,59 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
418
418
|
});
|
|
419
419
|
});
|
|
420
420
|
};
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
*/
|
|
424
|
+
DomainsApi.prototype.getDomainTransferRaw = function (requestParameters, initOverrides) {
|
|
425
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
426
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
427
|
+
return __generator(this, function (_a) {
|
|
428
|
+
switch (_a.label) {
|
|
429
|
+
case 0:
|
|
430
|
+
if (requestParameters['transferId'] == null) {
|
|
431
|
+
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling getDomainTransfer().');
|
|
432
|
+
}
|
|
433
|
+
queryParameters = {};
|
|
434
|
+
headerParameters = {};
|
|
435
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
436
|
+
token = this.configuration.accessToken;
|
|
437
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
438
|
+
case 1:
|
|
439
|
+
tokenString = _a.sent();
|
|
440
|
+
if (tokenString) {
|
|
441
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
442
|
+
}
|
|
443
|
+
_a.label = 2;
|
|
444
|
+
case 2: return [4 /*yield*/, this.request({
|
|
445
|
+
path: "/domains/transfers/{transferId}".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
|
|
446
|
+
method: 'GET',
|
|
447
|
+
headers: headerParameters,
|
|
448
|
+
query: queryParameters,
|
|
449
|
+
}, initOverrides)];
|
|
450
|
+
case 3:
|
|
451
|
+
response = _a.sent();
|
|
452
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SellerDomainTransferDtoFromJSON)(jsonValue); })];
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
});
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
*
|
|
459
|
+
*/
|
|
460
|
+
DomainsApi.prototype.getDomainTransfer = function (requestParameters, initOverrides) {
|
|
461
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
462
|
+
var response;
|
|
463
|
+
return __generator(this, function (_a) {
|
|
464
|
+
switch (_a.label) {
|
|
465
|
+
case 0: return [4 /*yield*/, this.getDomainTransferRaw(requestParameters, initOverrides)];
|
|
466
|
+
case 1:
|
|
467
|
+
response = _a.sent();
|
|
468
|
+
return [4 /*yield*/, response.value()];
|
|
469
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
470
|
+
}
|
|
471
|
+
});
|
|
472
|
+
});
|
|
473
|
+
};
|
|
421
474
|
/**
|
|
422
475
|
*
|
|
423
476
|
*/
|
|
@@ -466,10 +519,10 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
466
519
|
/**
|
|
467
520
|
*
|
|
468
521
|
*/
|
|
469
|
-
DomainsApi.prototype.list = function (
|
|
470
|
-
|
|
471
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
522
|
+
DomainsApi.prototype.list = function () {
|
|
523
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
472
524
|
var response;
|
|
525
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
473
526
|
return __generator(this, function (_a) {
|
|
474
527
|
switch (_a.label) {
|
|
475
528
|
case 0: return [4 /*yield*/, this.listRaw(requestParameters, initOverrides)];
|
|
@@ -539,6 +592,62 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
539
592
|
});
|
|
540
593
|
});
|
|
541
594
|
};
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
*/
|
|
598
|
+
DomainsApi.prototype.updateDomainTransferAuthCodeRaw = function (requestParameters, initOverrides) {
|
|
599
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
600
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
601
|
+
return __generator(this, function (_a) {
|
|
602
|
+
switch (_a.label) {
|
|
603
|
+
case 0:
|
|
604
|
+
if (requestParameters['transferId'] == null) {
|
|
605
|
+
throw new runtime.RequiredError('transferId', 'Required parameter "transferId" was null or undefined when calling updateDomainTransferAuthCode().');
|
|
606
|
+
}
|
|
607
|
+
if (requestParameters['updateDomainTransferAuthCodeInput'] == null) {
|
|
608
|
+
throw new runtime.RequiredError('updateDomainTransferAuthCodeInput', 'Required parameter "updateDomainTransferAuthCodeInput" was null or undefined when calling updateDomainTransferAuthCode().');
|
|
609
|
+
}
|
|
610
|
+
queryParameters = {};
|
|
611
|
+
headerParameters = {};
|
|
612
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
613
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
614
|
+
token = this.configuration.accessToken;
|
|
615
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
616
|
+
case 1:
|
|
617
|
+
tokenString = _a.sent();
|
|
618
|
+
if (tokenString) {
|
|
619
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
620
|
+
}
|
|
621
|
+
_a.label = 2;
|
|
622
|
+
case 2: return [4 /*yield*/, this.request({
|
|
623
|
+
path: "/domains/transfers/{transferId}/auth-code".replace("{".concat("transferId", "}"), encodeURIComponent(String(requestParameters['transferId']))),
|
|
624
|
+
method: 'PATCH',
|
|
625
|
+
headers: headerParameters,
|
|
626
|
+
query: queryParameters,
|
|
627
|
+
body: (0, index_1.UpdateDomainTransferAuthCodeInputToJSON)(requestParameters['updateDomainTransferAuthCodeInput']),
|
|
628
|
+
}, initOverrides)];
|
|
629
|
+
case 3:
|
|
630
|
+
response = _a.sent();
|
|
631
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
632
|
+
}
|
|
633
|
+
});
|
|
634
|
+
});
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
*/
|
|
639
|
+
DomainsApi.prototype.updateDomainTransferAuthCode = function (requestParameters, initOverrides) {
|
|
640
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
641
|
+
return __generator(this, function (_a) {
|
|
642
|
+
switch (_a.label) {
|
|
643
|
+
case 0: return [4 /*yield*/, this.updateDomainTransferAuthCodeRaw(requestParameters, initOverrides)];
|
|
644
|
+
case 1:
|
|
645
|
+
_a.sent();
|
|
646
|
+
return [2 /*return*/];
|
|
647
|
+
}
|
|
648
|
+
});
|
|
649
|
+
});
|
|
650
|
+
};
|
|
542
651
|
return DomainsApi;
|
|
543
652
|
}(runtime.BaseAPI));
|
|
544
653
|
exports.DomainsApi = DomainsApi;
|
|
@@ -62,7 +62,7 @@ export type AccountAddressDtoTypeEnum = typeof AccountAddressDtoTypeEnum[keyof t
|
|
|
62
62
|
/**
|
|
63
63
|
* Check if a given object implements the AccountAddressDto interface.
|
|
64
64
|
*/
|
|
65
|
-
export declare function instanceOfAccountAddressDto(value: object):
|
|
65
|
+
export declare function instanceOfAccountAddressDto(value: object): value is AccountAddressDto;
|
|
66
66
|
export declare function AccountAddressDtoFromJSON(json: any): AccountAddressDto;
|
|
67
67
|
export declare function AccountAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressDto;
|
|
68
68
|
export declare function AccountAddressDtoToJSON(value?: AccountAddressDto | null): any;
|
|
@@ -24,15 +24,15 @@ exports.AccountAddressDtoTypeEnum = {
|
|
|
24
24
|
* Check if a given object implements the AccountAddressDto interface.
|
|
25
25
|
*/
|
|
26
26
|
function instanceOfAccountAddressDto(value) {
|
|
27
|
-
if (!('type' in value))
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('address' in value))
|
|
29
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('postalCode' in value))
|
|
31
|
+
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('city' in value))
|
|
33
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
-
if (!('country' in value))
|
|
35
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
36
36
|
return false;
|
|
37
37
|
return true;
|
|
38
38
|
}
|
|
@@ -62,7 +62,7 @@ export type AccountAddressInputTypeEnum = typeof AccountAddressInputTypeEnum[key
|
|
|
62
62
|
/**
|
|
63
63
|
* Check if a given object implements the AccountAddressInput interface.
|
|
64
64
|
*/
|
|
65
|
-
export declare function instanceOfAccountAddressInput(value: object):
|
|
65
|
+
export declare function instanceOfAccountAddressInput(value: object): value is AccountAddressInput;
|
|
66
66
|
export declare function AccountAddressInputFromJSON(json: any): AccountAddressInput;
|
|
67
67
|
export declare function AccountAddressInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressInput;
|
|
68
68
|
export declare function AccountAddressInputToJSON(value?: AccountAddressInput | null): any;
|
|
@@ -24,15 +24,15 @@ exports.AccountAddressInputTypeEnum = {
|
|
|
24
24
|
* Check if a given object implements the AccountAddressInput interface.
|
|
25
25
|
*/
|
|
26
26
|
function instanceOfAccountAddressInput(value) {
|
|
27
|
-
if (!('type' in value))
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('address' in value))
|
|
29
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('postalCode' in value))
|
|
31
|
+
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('city' in value))
|
|
33
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
-
if (!('country' in value))
|
|
35
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
36
36
|
return false;
|
|
37
37
|
return true;
|
|
38
38
|
}
|
|
@@ -31,7 +31,7 @@ export interface AccountDto {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the AccountDto interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfAccountDto(value: object):
|
|
34
|
+
export declare function instanceOfAccountDto(value: object): value is AccountDto;
|
|
35
35
|
export declare function AccountDtoFromJSON(json: any): AccountDto;
|
|
36
36
|
export declare function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountDto;
|
|
37
37
|
export declare function AccountDtoToJSON(value?: AccountDto | null): any;
|
|
@@ -18,9 +18,9 @@ exports.AccountDtoToJSON = exports.AccountDtoFromJSONTyped = exports.AccountDtoF
|
|
|
18
18
|
* Check if a given object implements the AccountDto interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfAccountDto(value) {
|
|
21
|
-
if (!('id' in value))
|
|
21
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('identifier' in value))
|
|
23
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -43,7 +43,7 @@ export interface AccountFinancialInput {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the AccountFinancialInput interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfAccountFinancialInput(value: object):
|
|
46
|
+
export declare function instanceOfAccountFinancialInput(value: object): value is AccountFinancialInput;
|
|
47
47
|
export declare function AccountFinancialInputFromJSON(json: any): AccountFinancialInput;
|
|
48
48
|
export declare function AccountFinancialInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountFinancialInput;
|
|
49
49
|
export declare function AccountFinancialInputToJSON(value?: AccountFinancialInput | null): any;
|
|
@@ -18,13 +18,13 @@ exports.AccountFinancialInputToJSON = exports.AccountFinancialInputFromJSONTyped
|
|
|
18
18
|
* Check if a given object implements the AccountFinancialInput interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfAccountFinancialInput(value) {
|
|
21
|
-
if (!('companyName' in value))
|
|
21
|
+
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('companyVatNumber' in value))
|
|
23
|
+
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
-
if (!('companyRegistrationNumber' in value))
|
|
25
|
+
if (!('companyRegistrationNumber' in value) || value['companyRegistrationNumber'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('company' in value))
|
|
27
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
@@ -32,7 +32,7 @@ export interface AccountSettingsInput {
|
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
34
34
|
*/
|
|
35
|
-
export declare function instanceOfAccountSettingsInput(value: object):
|
|
35
|
+
export declare function instanceOfAccountSettingsInput(value: object): value is AccountSettingsInput;
|
|
36
36
|
export declare function AccountSettingsInputFromJSON(json: any): AccountSettingsInput;
|
|
37
37
|
export declare function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountSettingsInput;
|
|
38
38
|
export declare function AccountSettingsInputToJSON(value?: AccountSettingsInput | null): any;
|
|
@@ -40,7 +40,7 @@ export interface AdminGetAllDomainTransfers200Response {
|
|
|
40
40
|
/**
|
|
41
41
|
* Check if a given object implements the AdminGetAllDomainTransfers200Response interface.
|
|
42
42
|
*/
|
|
43
|
-
export declare function instanceOfAdminGetAllDomainTransfers200Response(value: object):
|
|
43
|
+
export declare function instanceOfAdminGetAllDomainTransfers200Response(value: object): value is AdminGetAllDomainTransfers200Response;
|
|
44
44
|
export declare function AdminGetAllDomainTransfers200ResponseFromJSON(json: any): AdminGetAllDomainTransfers200Response;
|
|
45
45
|
export declare function AdminGetAllDomainTransfers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminGetAllDomainTransfers200Response;
|
|
46
46
|
export declare function AdminGetAllDomainTransfers200ResponseToJSON(value?: AdminGetAllDomainTransfers200Response | null): any;
|
|
@@ -21,11 +21,11 @@ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
|
21
21
|
* Check if a given object implements the AdminGetAllDomainTransfers200Response interface.
|
|
22
22
|
*/
|
|
23
23
|
function instanceOfAdminGetAllDomainTransfers200Response(value) {
|
|
24
|
-
if (!('data' in value))
|
|
24
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
25
25
|
return false;
|
|
26
|
-
if (!('meta' in value))
|
|
26
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
-
if (!('links' in value))
|
|
28
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
29
29
|
return false;
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
@@ -32,7 +32,7 @@ export interface BatchUpdateDomainsInput {
|
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the BatchUpdateDomainsInput interface.
|
|
34
34
|
*/
|
|
35
|
-
export declare function instanceOfBatchUpdateDomainsInput(value: object):
|
|
35
|
+
export declare function instanceOfBatchUpdateDomainsInput(value: object): value is BatchUpdateDomainsInput;
|
|
36
36
|
export declare function BatchUpdateDomainsInputFromJSON(json: any): BatchUpdateDomainsInput;
|
|
37
37
|
export declare function BatchUpdateDomainsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchUpdateDomainsInput;
|
|
38
38
|
export declare function BatchUpdateDomainsInputToJSON(value?: BatchUpdateDomainsInput | null): any;
|
|
@@ -19,9 +19,9 @@ var UpdateDomainInput_1 = require("./UpdateDomainInput");
|
|
|
19
19
|
* Check if a given object implements the BatchUpdateDomainsInput interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfBatchUpdateDomainsInput(value) {
|
|
22
|
-
if (!('domainIds' in value))
|
|
22
|
+
if (!('domainIds' in value) || value['domainIds'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
-
if (!('update' in value))
|
|
24
|
+
if (!('update' in value) || value['update'] === undefined)
|
|
25
25
|
return false;
|
|
26
26
|
return true;
|
|
27
27
|
}
|
|
@@ -79,7 +79,7 @@ export interface BuyDomainInput {
|
|
|
79
79
|
/**
|
|
80
80
|
* Check if a given object implements the BuyDomainInput interface.
|
|
81
81
|
*/
|
|
82
|
-
export declare function instanceOfBuyDomainInput(value: object):
|
|
82
|
+
export declare function instanceOfBuyDomainInput(value: object): value is BuyDomainInput;
|
|
83
83
|
export declare function BuyDomainInputFromJSON(json: any): BuyDomainInput;
|
|
84
84
|
export declare function BuyDomainInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyDomainInput;
|
|
85
85
|
export declare function BuyDomainInputToJSON(value?: BuyDomainInput | null): any;
|
|
@@ -18,25 +18,25 @@ exports.BuyDomainInputToJSON = exports.BuyDomainInputFromJSONTyped = exports.Buy
|
|
|
18
18
|
* Check if a given object implements the BuyDomainInput interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfBuyDomainInput(value) {
|
|
21
|
-
if (!('firstname' in value))
|
|
21
|
+
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('lastname' in value))
|
|
23
|
+
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
-
if (!('email' in value))
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('phone' in value))
|
|
27
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('country' in value))
|
|
29
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('city' in value))
|
|
31
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('postalCode' in value))
|
|
33
|
+
if (!('postalCode' in value) || value['postalCode'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
-
if (!('address' in value))
|
|
35
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
-
if (!('companyName' in value))
|
|
37
|
+
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('companyVatNumber' in value))
|
|
39
|
+
if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined)
|
|
40
40
|
return false;
|
|
41
41
|
return true;
|
|
42
42
|
}
|
|
@@ -33,7 +33,7 @@ export type ChangeOrderStatusInputStatusEnum = typeof ChangeOrderStatusInputStat
|
|
|
33
33
|
/**
|
|
34
34
|
* Check if a given object implements the ChangeOrderStatusInput interface.
|
|
35
35
|
*/
|
|
36
|
-
export declare function instanceOfChangeOrderStatusInput(value: object):
|
|
36
|
+
export declare function instanceOfChangeOrderStatusInput(value: object): value is ChangeOrderStatusInput;
|
|
37
37
|
export declare function ChangeOrderStatusInputFromJSON(json: any): ChangeOrderStatusInput;
|
|
38
38
|
export declare function ChangeOrderStatusInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeOrderStatusInput;
|
|
39
39
|
export declare function ChangeOrderStatusInputToJSON(value?: ChangeOrderStatusInput | null): any;
|
|
@@ -25,7 +25,7 @@ exports.ChangeOrderStatusInputStatusEnum = {
|
|
|
25
25
|
* Check if a given object implements the ChangeOrderStatusInput interface.
|
|
26
26
|
*/
|
|
27
27
|
function instanceOfChangeOrderStatusInput(value) {
|
|
28
|
-
if (!('status' in value))
|
|
28
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
29
29
|
return false;
|
|
30
30
|
return true;
|
|
31
31
|
}
|