@randock/nameshift-api-client 0.0.203 → 0.0.204
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 -4
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +3 -3
- package/dist/apis/DomainsApi.js +3 -5
- package/dist/apis/DomainsPublicApi.d.ts +3 -3
- package/dist/apis/DomainsPublicApi.js +1 -1
- package/dist/models/AccountSettingsDto.d.ts +15 -3
- package/dist/models/AccountSettingsDto.js +11 -3
- package/dist/models/AccountSettingsInput.d.ts +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/DomainDto.d.ts +7 -0
- package/dist/models/DomainDto.js +5 -0
- package/dist/models/DomainSalesInformationDto.d.ts +91 -0
- package/dist/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.js → DomainSalesInformationDto.js} +23 -23
- package/dist/models/DomainStatsDto.d.ts +59 -0
- package/dist/models/{DomainStats.js → DomainStatsDto.js} +15 -15
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/LandingPageInput.d.ts +3 -9
- package/dist/models/LandingPageInput.js +0 -2
- package/dist/models/LandingPageSettingsDto.d.ts +44 -0
- package/dist/models/LandingPageSettingsDto.js +59 -0
- package/dist/models/SeoMetricsDto.d.ts +40 -0
- package/dist/models/{Seo.js → SeoMetricsDto.js} +13 -13
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +4 -8
- package/src/apis/DomainsPublicApi.ts +6 -6
- package/src/models/AccountSettingsDto.ts +28 -10
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/DomainDto.ts +16 -0
- package/src/models/{IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts → DomainSalesInformationDto.ts} +49 -49
- package/src/models/{DomainStats.ts → DomainStatsDto.ts} +17 -17
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/LandingPageInput.ts +3 -11
- package/src/models/LandingPageSettingsDto.ts +84 -0
- package/src/models/{Seo.ts → SeoMetricsDto.ts} +12 -12
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/index.ts +4 -4
- package/dist/models/AccountSettingsLandingDto.d.ts +0 -56
- package/dist/models/AccountSettingsLandingDto.js +0 -67
- package/dist/models/DomainStats.d.ts +0 -59
- package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.d.ts +0 -91
- package/dist/models/Seo.d.ts +0 -40
- package/src/models/AccountSettingsLandingDto.ts +0 -102
package/.openapi-generator/FILES
CHANGED
|
@@ -30,7 +30,6 @@ src/models/AccountNotificationReadStatusDto.ts
|
|
|
30
30
|
src/models/AccountPaymentProviderSessionDto.ts
|
|
31
31
|
src/models/AccountSettingsDto.ts
|
|
32
32
|
src/models/AccountSettingsInput.ts
|
|
33
|
-
src/models/AccountSettingsLandingDto.ts
|
|
34
33
|
src/models/AccountSettingsLeaseToOwnConfigurationDto.ts
|
|
35
34
|
src/models/AccountSettingsSidnDto.ts
|
|
36
35
|
src/models/AddressDto.ts
|
|
@@ -71,9 +70,10 @@ src/models/CreateSubscriptionBillingPeriodicityInput.ts
|
|
|
71
70
|
src/models/CreateSubscriptionInput.ts
|
|
72
71
|
src/models/DeleteDomainsInput.ts
|
|
73
72
|
src/models/DomainDto.ts
|
|
73
|
+
src/models/DomainSalesInformationDto.ts
|
|
74
74
|
src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts
|
|
75
75
|
src/models/DomainSellerDto.ts
|
|
76
|
-
src/models/
|
|
76
|
+
src/models/DomainStatsDto.ts
|
|
77
77
|
src/models/DomainTransferAgentDto.ts
|
|
78
78
|
src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts
|
|
79
79
|
src/models/DomainTransferDetailWorkflowStepActionDto.ts
|
|
@@ -109,7 +109,6 @@ src/models/HttpException.ts
|
|
|
109
109
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
110
110
|
src/models/IntersectionDomainDtoWithAccountDto.ts
|
|
111
111
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
112
|
-
src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDto.ts
|
|
113
112
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithBuyerDetailsDto.ts
|
|
114
113
|
src/models/IntersectionLeadDtoWithListFieldsDto.ts
|
|
115
114
|
src/models/IntersectionTaskListTaskDto.ts
|
|
@@ -120,6 +119,7 @@ src/models/InvoiceItemTaxDto.ts
|
|
|
120
119
|
src/models/InvoiceSellerAccountDto.ts
|
|
121
120
|
src/models/InvoiceTransactionDto.ts
|
|
122
121
|
src/models/LandingPageInput.ts
|
|
122
|
+
src/models/LandingPageSettingsDto.ts
|
|
123
123
|
src/models/LeadDomainDto.ts
|
|
124
124
|
src/models/LeadDto.ts
|
|
125
125
|
src/models/LeadMessageData.ts
|
|
@@ -177,7 +177,7 @@ src/models/SellerSecurityUserAccountDto.ts
|
|
|
177
177
|
src/models/SellerSecurityUserDto.ts
|
|
178
178
|
src/models/SellerSubscriptionListItemDto.ts
|
|
179
179
|
src/models/SellerSubscriptionListItemDtoDomainInformation.ts
|
|
180
|
-
src/models/
|
|
180
|
+
src/models/SeoMetricsDto.ts
|
|
181
181
|
src/models/SetDomainTransferConfirmationInput.ts
|
|
182
182
|
src/models/SetNewPasswordInput.ts
|
|
183
183
|
src/models/StoreBuyerLocaleInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.204
|
|
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.204 --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
|
+
479212f3c016df0dc067f5220f38e9b5fcbbaa0731492c097061880ab0f52d35c02ef3921d72a452917339f6bb82139a
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput,
|
|
13
|
+
import type { BatchImportPreviewDto, BatchUpdateDomainsInput, DeleteDomainsInput, DomainUrlDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response2, SellerDomainTransferDto, UpdateDomainInput, UpdateDomainTransferAuthCodeInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
15
|
file?: Blob | null;
|
|
16
16
|
domains?: Array<string>;
|
|
@@ -151,11 +151,11 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
151
151
|
/**
|
|
152
152
|
*
|
|
153
153
|
*/
|
|
154
|
-
updateRaw(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
154
|
+
updateRaw(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
155
155
|
/**
|
|
156
156
|
*
|
|
157
157
|
*/
|
|
158
|
-
update(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
158
|
+
update(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
159
159
|
/**
|
|
160
160
|
*
|
|
161
161
|
*/
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -740,7 +740,7 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
740
740
|
}, initOverrides)];
|
|
741
741
|
case 3:
|
|
742
742
|
response = _a.sent();
|
|
743
|
-
return [2 /*return*/, new runtime.
|
|
743
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
744
744
|
}
|
|
745
745
|
});
|
|
746
746
|
});
|
|
@@ -750,14 +750,12 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
750
750
|
*/
|
|
751
751
|
DomainsApi.prototype.update = function (requestParameters, initOverrides) {
|
|
752
752
|
return __awaiter(this, void 0, void 0, function () {
|
|
753
|
-
var response;
|
|
754
753
|
return __generator(this, function (_a) {
|
|
755
754
|
switch (_a.label) {
|
|
756
755
|
case 0: return [4 /*yield*/, this.updateRaw(requestParameters, initOverrides)];
|
|
757
756
|
case 1:
|
|
758
|
-
|
|
759
|
-
return [
|
|
760
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
757
|
+
_a.sent();
|
|
758
|
+
return [2 /*return*/];
|
|
761
759
|
}
|
|
762
760
|
});
|
|
763
761
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { DomainSalesInformationDto, List200Response3 } from '../models/index';
|
|
14
14
|
export interface DomainsPublicApiGetDomainSalesInformationRequest {
|
|
15
15
|
domainName: string;
|
|
16
16
|
includeStats?: boolean;
|
|
@@ -30,11 +30,11 @@ export declare class DomainsPublicApi extends runtime.BaseAPI {
|
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
|
-
getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
33
|
+
getDomainSalesInformationRaw(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSalesInformationDto>>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
|
-
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
37
|
+
getDomainSalesInformation(requestParameters: DomainsPublicApiGetDomainSalesInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSalesInformationDto>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
@@ -106,7 +106,7 @@ var DomainsPublicApi = /** @class */ (function (_super) {
|
|
|
106
106
|
}, initOverrides)];
|
|
107
107
|
case 1:
|
|
108
108
|
response = _a.sent();
|
|
109
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
109
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DomainSalesInformationDtoFromJSON)(jsonValue); })];
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
});
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { AccountSettingsSidnDto } from './AccountSettingsSidnDto';
|
|
14
14
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
15
|
-
import type {
|
|
15
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -51,16 +51,28 @@ export interface AccountSettingsDto {
|
|
|
51
51
|
leaseToOwn: AccountSettingsLeaseToOwnConfigurationDto;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
|
-
* @type {
|
|
54
|
+
* @type {LandingPageSettingsDto}
|
|
55
55
|
* @memberof AccountSettingsDto
|
|
56
56
|
*/
|
|
57
|
-
landing:
|
|
57
|
+
landing: LandingPageSettingsDto;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {AccountSettingsSidnDto}
|
|
61
61
|
* @memberof AccountSettingsDto
|
|
62
62
|
*/
|
|
63
63
|
sidn: AccountSettingsSidnDto;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof AccountSettingsDto
|
|
68
|
+
*/
|
|
69
|
+
description: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof AccountSettingsDto
|
|
74
|
+
*/
|
|
75
|
+
avatar: string | null;
|
|
64
76
|
}
|
|
65
77
|
/**
|
|
66
78
|
* Check if a given object implements the AccountSettingsDto interface.
|
|
@@ -21,7 +21,7 @@ exports.AccountSettingsDtoToJSONTyped = AccountSettingsDtoToJSONTyped;
|
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
22
|
var AccountSettingsSidnDto_1 = require("./AccountSettingsSidnDto");
|
|
23
23
|
var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
|
|
24
|
-
var
|
|
24
|
+
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the AccountSettingsDto interface.
|
|
27
27
|
*/
|
|
@@ -40,6 +40,10 @@ function instanceOfAccountSettingsDto(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('sidn' in value) || value['sidn'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('avatar' in value) || value['avatar'] === undefined)
|
|
46
|
+
return false;
|
|
43
47
|
return true;
|
|
44
48
|
}
|
|
45
49
|
function AccountSettingsDtoFromJSON(json) {
|
|
@@ -55,8 +59,10 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
59
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
56
60
|
'automaticPayouts': json['automaticPayouts'],
|
|
57
61
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
58
|
-
'landing': (0,
|
|
62
|
+
'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landing']),
|
|
59
63
|
'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoFromJSON)(json['sidn']),
|
|
64
|
+
'description': json['description'],
|
|
65
|
+
'avatar': json['avatar'],
|
|
60
66
|
};
|
|
61
67
|
}
|
|
62
68
|
function AccountSettingsDtoToJSON(json) {
|
|
@@ -73,7 +79,9 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
79
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
74
80
|
'automaticPayouts': value['automaticPayouts'],
|
|
75
81
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
76
|
-
'landing': (0,
|
|
82
|
+
'landing': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landing']),
|
|
77
83
|
'sidn': (0, AccountSettingsSidnDto_1.AccountSettingsSidnDtoToJSON)(value['sidn']),
|
|
84
|
+
'description': value['description'],
|
|
85
|
+
'avatar': value['avatar'],
|
|
78
86
|
};
|
|
79
87
|
}
|
|
@@ -48,6 +48,12 @@ export interface AccountSettingsInput {
|
|
|
48
48
|
* @memberof AccountSettingsInput
|
|
49
49
|
*/
|
|
50
50
|
leaseToOwn?: LeaseToOwnConfigurationInput;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof AccountSettingsInput
|
|
55
|
+
*/
|
|
56
|
+
description?: string | null;
|
|
51
57
|
}
|
|
52
58
|
/**
|
|
53
59
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -40,6 +40,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'sidnIdcode': json['sidnIdcode'] == null ? undefined : json['sidnIdcode'],
|
|
41
41
|
'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
|
|
42
42
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputFromJSON)(json['leaseToOwn']),
|
|
43
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -56,5 +57,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
56
57
|
'sidnIdcode': value['sidnIdcode'],
|
|
57
58
|
'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
|
|
58
59
|
'leaseToOwn': (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputToJSON)(value['leaseToOwn']),
|
|
60
|
+
'description': value['description'],
|
|
59
61
|
};
|
|
60
62
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
14
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -84,6 +85,12 @@ export interface DomainDto {
|
|
|
84
85
|
* @memberof DomainDto
|
|
85
86
|
*/
|
|
86
87
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
88
|
+
/**
|
|
89
|
+
* The lease to own configuration
|
|
90
|
+
* @type {LandingPageSettingsDto}
|
|
91
|
+
* @memberof DomainDto
|
|
92
|
+
*/
|
|
93
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
87
94
|
/**
|
|
88
95
|
* The minimum offer
|
|
89
96
|
* @type {MoneyDto}
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -20,6 +20,7 @@ exports.DomainDtoToJSON = DomainDtoToJSON;
|
|
|
20
20
|
exports.DomainDtoToJSONTyped = DomainDtoToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
22
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
23
|
+
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the DomainDto interface.
|
|
25
26
|
*/
|
|
@@ -46,6 +47,8 @@ function instanceOfDomainDto(value) {
|
|
|
46
47
|
return false;
|
|
47
48
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
48
49
|
return false;
|
|
50
|
+
if (!('landingPageSettings' in value) || value['landingPageSettings'] === undefined)
|
|
51
|
+
return false;
|
|
49
52
|
if (!('minOffer' in value) || value['minOffer'] === undefined)
|
|
50
53
|
return false;
|
|
51
54
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -75,6 +78,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
78
|
'currencyCode': json['currencyCode'],
|
|
76
79
|
'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
|
|
77
80
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
81
|
+
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoFromJSON)(json['landingPageSettings']),
|
|
78
82
|
'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
|
|
79
83
|
'createdAt': (new Date(json['createdAt'])),
|
|
80
84
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
@@ -101,6 +105,7 @@ function DomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
101
105
|
'currencyCode': value['currencyCode'],
|
|
102
106
|
'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
|
|
103
107
|
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
108
|
+
'landingPageSettings': (0, LandingPageSettingsDto_1.LandingPageSettingsDtoToJSON)(value['landingPageSettings']),
|
|
104
109
|
'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
|
|
105
110
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
106
111
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
@@ -0,0 +1,91 @@
|
|
|
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 { DomainSellerDto } from './DomainSellerDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
import type { DomainStatsDto } from './DomainStatsDto';
|
|
15
|
+
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
16
|
+
import type { SeoMetricsDto } from './SeoMetricsDto';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DomainSalesInformationDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DomainSalesInformationDto {
|
|
23
|
+
/**
|
|
24
|
+
* The domain name (example.com, xn--maana-pta.com)
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DomainSalesInformationDto
|
|
27
|
+
*/
|
|
28
|
+
domain: string;
|
|
29
|
+
/**
|
|
30
|
+
* The domain display name (example.com, mañana.com)
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DomainSalesInformationDto
|
|
33
|
+
*/
|
|
34
|
+
domainDisplayName: string;
|
|
35
|
+
/**
|
|
36
|
+
* Buy now price or null if buy now is not enabled
|
|
37
|
+
* @type {MoneyDto}
|
|
38
|
+
* @memberof DomainSalesInformationDto
|
|
39
|
+
*/
|
|
40
|
+
buyNowPrice: MoneyDto | null;
|
|
41
|
+
/**
|
|
42
|
+
* Lease to own configuration or null if it is not enabled
|
|
43
|
+
* @type {DomainSalesInformationLeaseToOwnConfigurationDto}
|
|
44
|
+
* @memberof DomainSalesInformationDto
|
|
45
|
+
*/
|
|
46
|
+
leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
|
|
47
|
+
/**
|
|
48
|
+
* min offer price or null if offers are not enabled
|
|
49
|
+
* @type {MoneyDto}
|
|
50
|
+
* @memberof DomainSalesInformationDto
|
|
51
|
+
*/
|
|
52
|
+
minOfferPrice: MoneyDto | null;
|
|
53
|
+
/**
|
|
54
|
+
* The domain seller information
|
|
55
|
+
* @type {DomainSellerDto}
|
|
56
|
+
* @memberof DomainSalesInformationDto
|
|
57
|
+
*/
|
|
58
|
+
seller: DomainSellerDto | null;
|
|
59
|
+
/**
|
|
60
|
+
* The domain "sold" status
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof DomainSalesInformationDto
|
|
63
|
+
*/
|
|
64
|
+
sold: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* The domain "isPurchaseable" status
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof DomainSalesInformationDto
|
|
69
|
+
*/
|
|
70
|
+
isPurchaseable: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* SEO metrics
|
|
73
|
+
* @type {SeoMetricsDto}
|
|
74
|
+
* @memberof DomainSalesInformationDto
|
|
75
|
+
*/
|
|
76
|
+
seo: SeoMetricsDto | null;
|
|
77
|
+
/**
|
|
78
|
+
* SEO metrics
|
|
79
|
+
* @type {DomainStatsDto}
|
|
80
|
+
* @memberof DomainSalesInformationDto
|
|
81
|
+
*/
|
|
82
|
+
stats: DomainStatsDto | null;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
86
|
+
*/
|
|
87
|
+
export declare function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto;
|
|
88
|
+
export declare function DomainSalesInformationDtoFromJSON(json: any): DomainSalesInformationDto;
|
|
89
|
+
export declare function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDto;
|
|
90
|
+
export declare function DomainSalesInformationDtoToJSON(json: any): DomainSalesInformationDto;
|
|
91
|
+
export declare function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,24 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfDomainSalesInformationDto = instanceOfDomainSalesInformationDto;
|
|
17
|
+
exports.DomainSalesInformationDtoFromJSON = DomainSalesInformationDtoFromJSON;
|
|
18
|
+
exports.DomainSalesInformationDtoFromJSONTyped = DomainSalesInformationDtoFromJSONTyped;
|
|
19
|
+
exports.DomainSalesInformationDtoToJSON = DomainSalesInformationDtoToJSON;
|
|
20
|
+
exports.DomainSalesInformationDtoToJSONTyped = DomainSalesInformationDtoToJSONTyped;
|
|
21
21
|
var DomainSellerDto_1 = require("./DomainSellerDto");
|
|
22
|
-
var DomainStats_1 = require("./DomainStats");
|
|
23
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var DomainStatsDto_1 = require("./DomainStatsDto");
|
|
24
24
|
var DomainSalesInformationLeaseToOwnConfigurationDto_1 = require("./DomainSalesInformationLeaseToOwnConfigurationDto");
|
|
25
|
-
var
|
|
25
|
+
var SeoMetricsDto_1 = require("./SeoMetricsDto");
|
|
26
26
|
/**
|
|
27
|
-
* Check if a given object implements the
|
|
27
|
+
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
28
28
|
*/
|
|
29
|
-
function
|
|
30
|
-
if (!('stats' in value) || value['stats'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('seo' in value) || value['seo'] === undefined)
|
|
33
|
-
return false;
|
|
29
|
+
function instanceOfDomainSalesInformationDto(value) {
|
|
34
30
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
35
31
|
return false;
|
|
36
32
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined)
|
|
@@ -47,18 +43,20 @@ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSe
|
|
|
47
43
|
return false;
|
|
48
44
|
if (!('isPurchaseable' in value) || value['isPurchaseable'] === undefined)
|
|
49
45
|
return false;
|
|
46
|
+
if (!('seo' in value) || value['seo'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('stats' in value) || value['stats'] === undefined)
|
|
49
|
+
return false;
|
|
50
50
|
return true;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
52
|
+
function DomainSalesInformationDtoFromJSON(json) {
|
|
53
|
+
return DomainSalesInformationDtoFromJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
56
|
if (json == null) {
|
|
57
57
|
return json;
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
|
-
'stats': (0, DomainStats_1.DomainStatsFromJSON)(json['stats']),
|
|
61
|
-
'seo': (0, Seo_1.SeoFromJSON)(json['seo']),
|
|
62
60
|
'domain': json['domain'],
|
|
63
61
|
'domainDisplayName': json['domainDisplayName'],
|
|
64
62
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
|
|
@@ -67,19 +65,19 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDt
|
|
|
67
65
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
|
|
68
66
|
'sold': json['sold'],
|
|
69
67
|
'isPurchaseable': json['isPurchaseable'],
|
|
68
|
+
'seo': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seo']),
|
|
69
|
+
'stats': (0, DomainStatsDto_1.DomainStatsDtoFromJSON)(json['stats']),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
72
|
+
function DomainSalesInformationDtoToJSON(json) {
|
|
73
|
+
return DomainSalesInformationDtoToJSONTyped(json, false);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
76
76
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
77
77
|
if (value == null) {
|
|
78
78
|
return value;
|
|
79
79
|
}
|
|
80
80
|
return {
|
|
81
|
-
'stats': (0, DomainStats_1.DomainStatsToJSON)(value['stats']),
|
|
82
|
-
'seo': (0, Seo_1.SeoToJSON)(value['seo']),
|
|
83
81
|
'domain': value['domain'],
|
|
84
82
|
'domainDisplayName': value['domainDisplayName'],
|
|
85
83
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
|
|
@@ -88,5 +86,7 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoWithSeoMetricsDt
|
|
|
88
86
|
'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
|
|
89
87
|
'sold': value['sold'],
|
|
90
88
|
'isPurchaseable': value['isPurchaseable'],
|
|
89
|
+
'seo': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seo']),
|
|
90
|
+
'stats': (0, DomainStatsDto_1.DomainStatsDtoToJSON)(value['stats']),
|
|
91
91
|
};
|
|
92
92
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { ChartDataPoint } from './ChartDataPoint';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DomainStatsDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DomainStatsDto {
|
|
19
|
+
/**
|
|
20
|
+
* The id for this website.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DomainStatsDto
|
|
23
|
+
*/
|
|
24
|
+
websiteId: string;
|
|
25
|
+
/**
|
|
26
|
+
* The url for public stats for this website.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof DomainStatsDto
|
|
29
|
+
*/
|
|
30
|
+
shareUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
* The time unit
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof DomainStatsDto
|
|
35
|
+
*/
|
|
36
|
+
chartUnit: DomainStatsDtoChartUnitEnum | null;
|
|
37
|
+
/**
|
|
38
|
+
* The data for the chart
|
|
39
|
+
* @type {Array<ChartDataPoint>}
|
|
40
|
+
* @memberof DomainStatsDto
|
|
41
|
+
*/
|
|
42
|
+
chartData: Array<ChartDataPoint> | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const DomainStatsDtoChartUnitEnum: {
|
|
48
|
+
readonly DAY: "day";
|
|
49
|
+
readonly MONTH: "month";
|
|
50
|
+
};
|
|
51
|
+
export type DomainStatsDtoChartUnitEnum = typeof DomainStatsDtoChartUnitEnum[keyof typeof DomainStatsDtoChartUnitEnum];
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the DomainStatsDto interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfDomainStatsDto(value: object): value is DomainStatsDto;
|
|
56
|
+
export declare function DomainStatsDtoFromJSON(json: any): DomainStatsDto;
|
|
57
|
+
export declare function DomainStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainStatsDto;
|
|
58
|
+
export declare function DomainStatsDtoToJSON(json: any): DomainStatsDto;
|
|
59
|
+
export declare function DomainStatsDtoToJSONTyped(value?: DomainStatsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,24 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.DomainStatsDtoChartUnitEnum = void 0;
|
|
17
|
+
exports.instanceOfDomainStatsDto = instanceOfDomainStatsDto;
|
|
18
|
+
exports.DomainStatsDtoFromJSON = DomainStatsDtoFromJSON;
|
|
19
|
+
exports.DomainStatsDtoFromJSONTyped = DomainStatsDtoFromJSONTyped;
|
|
20
|
+
exports.DomainStatsDtoToJSON = DomainStatsDtoToJSON;
|
|
21
|
+
exports.DomainStatsDtoToJSONTyped = DomainStatsDtoToJSONTyped;
|
|
22
22
|
var ChartDataPoint_1 = require("./ChartDataPoint");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
|
-
exports.
|
|
26
|
+
exports.DomainStatsDtoChartUnitEnum = {
|
|
27
27
|
DAY: 'day',
|
|
28
28
|
MONTH: 'month'
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
* Check if a given object implements the
|
|
31
|
+
* Check if a given object implements the DomainStatsDto interface.
|
|
32
32
|
*/
|
|
33
|
-
function
|
|
33
|
+
function instanceOfDomainStatsDto(value) {
|
|
34
34
|
if (!('websiteId' in value) || value['websiteId'] === undefined)
|
|
35
35
|
return false;
|
|
36
36
|
if (!('shareUrl' in value) || value['shareUrl'] === undefined)
|
|
@@ -41,10 +41,10 @@ function instanceOfDomainStats(value) {
|
|
|
41
41
|
return false;
|
|
42
42
|
return true;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return
|
|
44
|
+
function DomainStatsDtoFromJSON(json) {
|
|
45
|
+
return DomainStatsDtoFromJSONTyped(json, false);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function DomainStatsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
48
|
if (json == null) {
|
|
49
49
|
return json;
|
|
50
50
|
}
|
|
@@ -55,10 +55,10 @@ function DomainStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'chartData': (json['chartData'] == null ? null : json['chartData'].map(ChartDataPoint_1.ChartDataPointFromJSON)),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return
|
|
58
|
+
function DomainStatsDtoToJSON(json) {
|
|
59
|
+
return DomainStatsDtoToJSONTyped(json, false);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function DomainStatsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
62
62
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
14
|
+
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
14
15
|
import type { AccountDto } from './AccountDto';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -85,6 +86,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
85
86
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
86
87
|
*/
|
|
87
88
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
89
|
+
/**
|
|
90
|
+
* The lease to own configuration
|
|
91
|
+
* @type {LandingPageSettingsDto}
|
|
92
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
93
|
+
*/
|
|
94
|
+
landingPageSettings: LandingPageSettingsDto;
|
|
88
95
|
/**
|
|
89
96
|
* The minimum offer
|
|
90
97
|
* @type {MoneyDto}
|