@randock/nameshift-api-client 0.0.42 → 0.0.44
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/VERSION +1 -1
- package/README.md +3 -3
- package/dist/apis/AdminApi.js +6 -6
- package/dist/apis/DomainsApi.d.ts +2 -2
- package/dist/apis/DomainsApi.js +12 -14
- 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 +1 -1
- package/dist/models/GetAllDomainTransfers200Response.js +3 -3
- 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 +1 -1
- package/dist/models/SellerDomainTransferAuthCodeDto.js +2 -2
- package/dist/models/SellerDomainTransferDomainDto.d.ts +1 -1
- package/dist/models/SellerDomainTransferDomainDto.js +3 -3
- package/dist/models/SellerDomainTransferDto.d.ts +4 -11
- package/dist/models/SellerDomainTransferDto.js +7 -13
- package/dist/models/SellerDomainTransferDtoAuthCode.d.ts +1 -1
- package/dist/models/SellerDomainTransferDtoAuthCode.js +2 -2
- package/dist/models/SellerDomainTransferListItemDomainDto.d.ts +1 -1
- package/dist/models/SellerDomainTransferListItemDomainDto.js +3 -3
- package/dist/models/SellerDomainTransferListItemDto.d.ts +4 -11
- package/dist/models/SellerDomainTransferListItemDto.js +6 -12
- 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/package.json +2 -2
- package/src/apis/DomainsApi.ts +4 -5
- 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 +4 -4
- 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 +3 -3
- package/src/models/SellerDomainTransferDomainDto.ts +4 -4
- package/src/models/SellerDomainTransferDto.ts +10 -18
- package/src/models/SellerDomainTransferDtoAuthCode.ts +3 -3
- package/src/models/SellerDomainTransferListItemDomainDto.ts +4 -4
- package/src/models/SellerDomainTransferListItemDto.ts +9 -17
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.7.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.44
|
|
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.44 --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
|
+
bc548554050ef52a22c65e696b09540d92504a7e45c53a711bdf0d2620e0b16aa9e75e37f253601cd0ee7efd7fbe66e9
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -123,10 +123,10 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
125
|
*/
|
|
126
|
-
AdminApi.prototype.adminGetAllDomainTransfers = function (
|
|
127
|
-
|
|
128
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
126
|
+
AdminApi.prototype.adminGetAllDomainTransfers = function () {
|
|
127
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
129
128
|
var response;
|
|
129
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
130
130
|
return __generator(this, function (_a) {
|
|
131
131
|
switch (_a.label) {
|
|
132
132
|
case 0: return [4 /*yield*/, this.adminGetAllDomainTransfersRaw(requestParameters, initOverrides)];
|
|
@@ -242,10 +242,10 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
242
242
|
/**
|
|
243
243
|
*
|
|
244
244
|
*/
|
|
245
|
-
AdminApi.prototype.listAccounts = function (
|
|
246
|
-
|
|
247
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
245
|
+
AdminApi.prototype.listAccounts = function () {
|
|
246
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
248
247
|
var response;
|
|
248
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
249
249
|
return __generator(this, function (_a) {
|
|
250
250
|
switch (_a.label) {
|
|
251
251
|
case 0: return [4 /*yield*/, this.listAccountsRaw(requestParameters, initOverrides)];
|
|
@@ -129,9 +129,9 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
131
|
*/
|
|
132
|
-
updateDomainTransferAuthCodeRaw(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
132
|
+
updateDomainTransferAuthCodeRaw(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
*/
|
|
136
|
-
updateDomainTransferAuthCode(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
136
|
+
updateDomainTransferAuthCode(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
137
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)];
|
|
@@ -519,10 +519,10 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
519
519
|
/**
|
|
520
520
|
*
|
|
521
521
|
*/
|
|
522
|
-
DomainsApi.prototype.list = function (
|
|
523
|
-
|
|
524
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
522
|
+
DomainsApi.prototype.list = function () {
|
|
523
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
525
524
|
var response;
|
|
525
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
526
526
|
return __generator(this, function (_a) {
|
|
527
527
|
switch (_a.label) {
|
|
528
528
|
case 0: return [4 /*yield*/, this.listRaw(requestParameters, initOverrides)];
|
|
@@ -628,7 +628,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
628
628
|
}, initOverrides)];
|
|
629
629
|
case 3:
|
|
630
630
|
response = _a.sent();
|
|
631
|
-
return [2 /*return*/, new runtime.
|
|
631
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
634
|
});
|
|
@@ -638,14 +638,12 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
638
638
|
*/
|
|
639
639
|
DomainsApi.prototype.updateDomainTransferAuthCode = function (requestParameters, initOverrides) {
|
|
640
640
|
return __awaiter(this, void 0, void 0, function () {
|
|
641
|
-
var response;
|
|
642
641
|
return __generator(this, function (_a) {
|
|
643
642
|
switch (_a.label) {
|
|
644
643
|
case 0: return [4 /*yield*/, this.updateDomainTransferAuthCodeRaw(requestParameters, initOverrides)];
|
|
645
644
|
case 1:
|
|
646
|
-
|
|
647
|
-
return [
|
|
648
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
645
|
+
_a.sent();
|
|
646
|
+
return [2 /*return*/];
|
|
649
647
|
}
|
|
650
648
|
});
|
|
651
649
|
});
|
|
@@ -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
|
}
|
|
@@ -43,7 +43,7 @@ export interface ConflictException {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the ConflictException interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfConflictException(value: object):
|
|
46
|
+
export declare function instanceOfConflictException(value: object): value is ConflictException;
|
|
47
47
|
export declare function ConflictExceptionFromJSON(json: any): ConflictException;
|
|
48
48
|
export declare function ConflictExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConflictException;
|
|
49
49
|
export declare function ConflictExceptionToJSON(value?: ConflictException | null): any;
|
|
@@ -18,13 +18,13 @@ exports.ConflictExceptionToJSON = exports.ConflictExceptionFromJSONTyped = expor
|
|
|
18
18
|
* Check if a given object implements the ConflictException interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfConflictException(value) {
|
|
21
|
-
if (!('name' in value))
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('statusCode' in value))
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
-
if (!('message' in value))
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('code' in value))
|
|
27
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
@@ -77,7 +77,7 @@ export type CreateLeadInputOfferedByEnum = typeof CreateLeadInputOfferedByEnum[k
|
|
|
77
77
|
/**
|
|
78
78
|
* Check if a given object implements the CreateLeadInput interface.
|
|
79
79
|
*/
|
|
80
|
-
export declare function instanceOfCreateLeadInput(value: object):
|
|
80
|
+
export declare function instanceOfCreateLeadInput(value: object): value is CreateLeadInput;
|
|
81
81
|
export declare function CreateLeadInputFromJSON(json: any): CreateLeadInput;
|
|
82
82
|
export declare function CreateLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLeadInput;
|
|
83
83
|
export declare function CreateLeadInputToJSON(value?: CreateLeadInput | null): any;
|
|
@@ -27,21 +27,21 @@ exports.CreateLeadInputOfferedByEnum = {
|
|
|
27
27
|
* Check if a given object implements the CreateLeadInput interface.
|
|
28
28
|
*/
|
|
29
29
|
function instanceOfCreateLeadInput(value) {
|
|
30
|
-
if (!('domainName' in value))
|
|
30
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
-
if (!('firstname' in value))
|
|
32
|
+
if (!('firstname' in value) || value['firstname'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
-
if (!('lastname' in value))
|
|
34
|
+
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
-
if (!('email' in value))
|
|
36
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
-
if (!('phone' in value))
|
|
38
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('companyName' in value))
|
|
40
|
+
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
-
if (!('offer' in value))
|
|
42
|
+
if (!('offer' in value) || value['offer'] === undefined)
|
|
43
43
|
return false;
|
|
44
|
-
if (!('offeredBy' in value))
|
|
44
|
+
if (!('offeredBy' in value) || value['offeredBy'] === undefined)
|
|
45
45
|
return false;
|
|
46
46
|
return true;
|
|
47
47
|
}
|
|
@@ -25,7 +25,7 @@ export interface CreateLeadMessageInput {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the CreateLeadMessageInput interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfCreateLeadMessageInput(value: object):
|
|
28
|
+
export declare function instanceOfCreateLeadMessageInput(value: object): value is CreateLeadMessageInput;
|
|
29
29
|
export declare function CreateLeadMessageInputFromJSON(json: any): CreateLeadMessageInput;
|
|
30
30
|
export declare function CreateLeadMessageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLeadMessageInput;
|
|
31
31
|
export declare function CreateLeadMessageInputToJSON(value?: CreateLeadMessageInput | null): any;
|
|
@@ -18,7 +18,7 @@ exports.CreateLeadMessageInputToJSON = exports.CreateLeadMessageInputFromJSONTyp
|
|
|
18
18
|
* Check if a given object implements the CreateLeadMessageInput interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfCreateLeadMessageInput(value) {
|
|
21
|
-
if (!('message' in value))
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
22
|
return false;
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
@@ -37,7 +37,7 @@ export interface DashboardStatsDto {
|
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the DashboardStatsDto interface.
|
|
39
39
|
*/
|
|
40
|
-
export declare function instanceOfDashboardStatsDto(value: object):
|
|
40
|
+
export declare function instanceOfDashboardStatsDto(value: object): value is DashboardStatsDto;
|
|
41
41
|
export declare function DashboardStatsDtoFromJSON(json: any): DashboardStatsDto;
|
|
42
42
|
export declare function DashboardStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardStatsDto;
|
|
43
43
|
export declare function DashboardStatsDtoToJSON(value?: DashboardStatsDto | null): any;
|
|
@@ -18,11 +18,11 @@ exports.DashboardStatsDtoToJSON = exports.DashboardStatsDtoFromJSONTyped = expor
|
|
|
18
18
|
* Check if a given object implements the DashboardStatsDto interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfDashboardStatsDto(value) {
|
|
21
|
-
if (!('domains' in value))
|
|
21
|
+
if (!('domains' in value) || value['domains'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('leads' in value))
|
|
23
|
+
if (!('leads' in value) || value['leads'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
-
if (!('transactions' in value))
|
|
25
|
+
if (!('transactions' in value) || value['transactions'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
@@ -25,7 +25,7 @@ export interface DeleteDomainsInput {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the DeleteDomainsInput interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfDeleteDomainsInput(value: object):
|
|
28
|
+
export declare function instanceOfDeleteDomainsInput(value: object): value is DeleteDomainsInput;
|
|
29
29
|
export declare function DeleteDomainsInputFromJSON(json: any): DeleteDomainsInput;
|
|
30
30
|
export declare function DeleteDomainsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteDomainsInput;
|
|
31
31
|
export declare function DeleteDomainsInputToJSON(value?: DeleteDomainsInput | null): any;
|
|
@@ -18,7 +18,7 @@ exports.DeleteDomainsInputToJSON = exports.DeleteDomainsInputFromJSONTyped = exp
|
|
|
18
18
|
* Check if a given object implements the DeleteDomainsInput interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfDeleteDomainsInput(value) {
|
|
21
|
-
if (!('domainIds' in value))
|
|
21
|
+
if (!('domainIds' in value) || value['domainIds'] === undefined)
|
|
22
22
|
return false;
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
@@ -69,7 +69,7 @@ export interface DomainDto {
|
|
|
69
69
|
/**
|
|
70
70
|
* Check if a given object implements the DomainDto interface.
|
|
71
71
|
*/
|
|
72
|
-
export declare function instanceOfDomainDto(value: object):
|
|
72
|
+
export declare function instanceOfDomainDto(value: object): value is DomainDto;
|
|
73
73
|
export declare function DomainDtoFromJSON(json: any): DomainDto;
|
|
74
74
|
export declare function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainDto;
|
|
75
75
|
export declare function DomainDtoToJSON(value?: DomainDto | null): any;
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -19,21 +19,21 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
19
19
|
* Check if a given object implements the DomainDto interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfDomainDto(value) {
|
|
22
|
-
if (!('id' in value))
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
-
if (!('tld' in value))
|
|
24
|
+
if (!('tld' in value) || value['tld'] === undefined)
|
|
25
25
|
return false;
|
|
26
|
-
if (!('verified' in value))
|
|
26
|
+
if (!('verified' in value) || value['verified'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
-
if (!('nameservers' in value))
|
|
28
|
+
if (!('nameservers' in value) || value['nameservers'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
-
if (!('name' in value))
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
-
if (!('currency' in value))
|
|
32
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
-
if (!('buyNow' in value))
|
|
34
|
+
if (!('buyNow' in value) || value['buyNow'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
-
if (!('minOffer' in value))
|
|
36
|
+
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
37
37
|
return false;
|
|
38
38
|
return true;
|
|
39
39
|
}
|
|
@@ -45,7 +45,7 @@ export interface DomainSalesInformationDto {
|
|
|
45
45
|
/**
|
|
46
46
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
47
47
|
*/
|
|
48
|
-
export declare function instanceOfDomainSalesInformationDto(value: object):
|
|
48
|
+
export declare function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto;
|
|
49
49
|
export declare function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto;
|
|
50
50
|
export declare function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto;
|
|
51
51
|
export declare function DomainSalesInformationDtoToJSON(value?: DomainSalesInformationDto | null): any;
|
|
@@ -20,13 +20,13 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
20
20
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
21
21
|
*/
|
|
22
22
|
function instanceOfDomainSalesInformationDto(value) {
|
|
23
|
-
if (!('domain' in value))
|
|
23
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
-
if (!('buyNowPrice' in value))
|
|
25
|
+
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('minOfferPrice' in value))
|
|
27
|
+
if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('seller' in value))
|
|
29
|
+
if (!('seller' in value) || value['seller'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
@@ -38,7 +38,7 @@ export interface DomainSellerDto {
|
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the DomainSellerDto interface.
|
|
40
40
|
*/
|
|
41
|
-
export declare function instanceOfDomainSellerDto(value: object):
|
|
41
|
+
export declare function instanceOfDomainSellerDto(value: object): value is DomainSellerDto;
|
|
42
42
|
export declare function DomainSellerDtoFromJSON(json: any): DomainSellerDto;
|
|
43
43
|
export declare function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSellerDto;
|
|
44
44
|
export declare function DomainSellerDtoToJSON(value?: DomainSellerDto | null): any;
|
|
@@ -19,11 +19,11 @@ var RelatedSellerDomain_1 = require("./RelatedSellerDomain");
|
|
|
19
19
|
* Check if a given object implements the DomainSellerDto interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfDomainSellerDto(value) {
|
|
22
|
-
if (!('verified' in value))
|
|
22
|
+
if (!('verified' in value) || value['verified'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
-
if (!('createdAt' in value))
|
|
24
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
25
25
|
return false;
|
|
26
|
-
if (!('relatedDomains' in value))
|
|
26
|
+
if (!('relatedDomains' in value) || value['relatedDomains'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
return true;
|
|
29
29
|
}
|