@randock/nameshift-api-client 0.0.363 → 0.0.365
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +3 -3
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsInput.d.ts +7 -0
- package/dist/models/AccountSettingsInput.js +3 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +7 -0
- package/dist/models/AdminAccountSettingsInput.js +3 -0
- package/dist/models/DomainLockConfigurationDto.d.ts +39 -0
- package/dist/models/DomainLockConfigurationDto.js +56 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
- package/dist/models/LeadDomainDto.d.ts +6 -0
- package/dist/models/LeadDomainDto.js +4 -0
- package/dist/models/LockConfigurationInput.d.ts +39 -0
- package/dist/models/LockConfigurationInput.js +52 -0
- package/dist/models/LockDurationDto.d.ts +47 -0
- package/dist/models/LockDurationDto.js +64 -0
- package/dist/models/LockDurationInput.d.ts +47 -0
- package/dist/models/LockDurationInput.js +60 -0
- package/dist/models/SellerLeadDetails.d.ts +7 -0
- package/dist/models/SellerLeadDetails.js +5 -0
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +58 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminAccountSettingsInput.ts +15 -0
- package/src/models/DomainLockConfigurationDto.ts +83 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
- package/src/models/LeadDomainDto.ts +9 -0
- package/src/models/LockConfigurationInput.ts +81 -0
- package/src/models/LockDurationDto.ts +87 -0
- package/src/models/LockDurationInput.ts +85 -0
- package/src/models/SellerLeadDetails.ts +16 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +4 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -155,6 +155,7 @@ src/models/DomainExchangeRateDto.ts
|
|
|
155
155
|
src/models/DomainFiltersDto.ts
|
|
156
156
|
src/models/DomainLeadPriceNegotiatorAiAgentConfigurationDto.ts
|
|
157
157
|
src/models/DomainLeadPriceNegotiatorAiAgentConfigurationInput.ts
|
|
158
|
+
src/models/DomainLockConfigurationDto.ts
|
|
158
159
|
src/models/DomainLockDto.ts
|
|
159
160
|
src/models/DomainPricesChangeDto.ts
|
|
160
161
|
src/models/DomainSalesInformationDto.ts
|
|
@@ -257,6 +258,9 @@ src/models/ListDomainsWithUpdatedPricing200Response.ts
|
|
|
257
258
|
src/models/ListLeadMessagesDto.ts
|
|
258
259
|
src/models/ListLeadsResultItem.ts
|
|
259
260
|
src/models/ListNotifications200Response.ts
|
|
261
|
+
src/models/LockConfigurationInput.ts
|
|
262
|
+
src/models/LockDurationDto.ts
|
|
263
|
+
src/models/LockDurationInput.ts
|
|
260
264
|
src/models/LoginDto.ts
|
|
261
265
|
src/models/LoginInput.ts
|
|
262
266
|
src/models/MajesticMetrics.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.365
|
|
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.365 --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
|
+
229c14a66c5375b49c0e303e5143a0e6bf24b8b3ce8b94bfedbaba17102cbcb2d38b7693acc09919afd444ceb98cddb4
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, List200Response, ListLeadMessagesDto, ObjectId, PutLeadOfferInput, SellerLeadDetails, UpdateLeadMuteStatusInput } from '../models/index';
|
|
13
|
+
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, List200Response, ListLeadMessagesDto, LockConfigurationInput, ObjectId, PutLeadOfferInput, SellerLeadDetails, UpdateLeadMuteStatusInput } from '../models/index';
|
|
14
14
|
export interface LeadsApiAcceptLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -56,6 +56,10 @@ export interface LeadsApiResumeLeadPriceNegotiatorAgentRequest {
|
|
|
56
56
|
export interface LeadsApiUnarchiveLeadRequest {
|
|
57
57
|
leadId: string;
|
|
58
58
|
}
|
|
59
|
+
export interface LeadsApiUpdateLeadDomainLockConfigurationRequest {
|
|
60
|
+
leadId: string;
|
|
61
|
+
lockConfigurationInput: LockConfigurationInput;
|
|
62
|
+
}
|
|
59
63
|
export interface LeadsApiUpdateLeadMuteStatusRequest {
|
|
60
64
|
leadId: string;
|
|
61
65
|
updateLeadMuteStatusInput: UpdateLeadMuteStatusInput;
|
|
@@ -176,6 +180,14 @@ export declare class LeadsApi extends runtime.BaseAPI {
|
|
|
176
180
|
*
|
|
177
181
|
*/
|
|
178
182
|
unarchiveLead(requestParameters: LeadsApiUnarchiveLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
*/
|
|
186
|
+
updateLeadDomainLockConfigurationRaw(requestParameters: LeadsApiUpdateLeadDomainLockConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
*/
|
|
190
|
+
updateLeadDomainLockConfiguration(requestParameters: LeadsApiUpdateLeadDomainLockConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
179
191
|
/**
|
|
180
192
|
*
|
|
181
193
|
*/
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -825,6 +825,62 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
825
825
|
});
|
|
826
826
|
});
|
|
827
827
|
};
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
*/
|
|
831
|
+
LeadsApi.prototype.updateLeadDomainLockConfigurationRaw = function (requestParameters, initOverrides) {
|
|
832
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
833
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
834
|
+
return __generator(this, function (_a) {
|
|
835
|
+
switch (_a.label) {
|
|
836
|
+
case 0:
|
|
837
|
+
if (requestParameters['leadId'] == null) {
|
|
838
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling updateLeadDomainLockConfiguration().');
|
|
839
|
+
}
|
|
840
|
+
if (requestParameters['lockConfigurationInput'] == null) {
|
|
841
|
+
throw new runtime.RequiredError('lockConfigurationInput', 'Required parameter "lockConfigurationInput" was null or undefined when calling updateLeadDomainLockConfiguration().');
|
|
842
|
+
}
|
|
843
|
+
queryParameters = {};
|
|
844
|
+
headerParameters = {};
|
|
845
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
846
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
847
|
+
token = this.configuration.accessToken;
|
|
848
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
849
|
+
case 1:
|
|
850
|
+
tokenString = _a.sent();
|
|
851
|
+
if (tokenString) {
|
|
852
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
853
|
+
}
|
|
854
|
+
_a.label = 2;
|
|
855
|
+
case 2: return [4 /*yield*/, this.request({
|
|
856
|
+
path: "/private/leads/{leadId}/domain-lock-configuration".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
857
|
+
method: 'PUT',
|
|
858
|
+
headers: headerParameters,
|
|
859
|
+
query: queryParameters,
|
|
860
|
+
body: (0, index_1.LockConfigurationInputToJSON)(requestParameters['lockConfigurationInput']),
|
|
861
|
+
}, initOverrides)];
|
|
862
|
+
case 3:
|
|
863
|
+
response = _a.sent();
|
|
864
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
865
|
+
}
|
|
866
|
+
});
|
|
867
|
+
});
|
|
868
|
+
};
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
*/
|
|
872
|
+
LeadsApi.prototype.updateLeadDomainLockConfiguration = function (requestParameters, initOverrides) {
|
|
873
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
874
|
+
return __generator(this, function (_a) {
|
|
875
|
+
switch (_a.label) {
|
|
876
|
+
case 0: return [4 /*yield*/, this.updateLeadDomainLockConfigurationRaw(requestParameters, initOverrides)];
|
|
877
|
+
case 1:
|
|
878
|
+
_a.sent();
|
|
879
|
+
return [2 /*return*/];
|
|
880
|
+
}
|
|
881
|
+
});
|
|
882
|
+
});
|
|
883
|
+
};
|
|
828
884
|
/**
|
|
829
885
|
*
|
|
830
886
|
*/
|
|
@@ -14,6 +14,7 @@ import type { AccountSettingsSidnDto } from './AccountSettingsSidnDto';
|
|
|
14
14
|
import type { AccountSettingsAliasDto } from './AccountSettingsAliasDto';
|
|
15
15
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
16
16
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
17
|
+
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
17
18
|
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -87,6 +88,12 @@ export interface AccountSettingsDto {
|
|
|
87
88
|
* @memberof AccountSettingsDto
|
|
88
89
|
*/
|
|
89
90
|
transferCostPaymentMaxPercentage: number;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {DomainLockConfigurationDto}
|
|
94
|
+
* @memberof AccountSettingsDto
|
|
95
|
+
*/
|
|
96
|
+
domainLockConfiguration: DomainLockConfigurationDto;
|
|
90
97
|
}
|
|
91
98
|
/**
|
|
92
99
|
* Check if a given object implements the AccountSettingsDto interface.
|
|
@@ -23,6 +23,7 @@ var AccountSettingsSidnDto_1 = require("./AccountSettingsSidnDto");
|
|
|
23
23
|
var AccountSettingsAliasDto_1 = require("./AccountSettingsAliasDto");
|
|
24
24
|
var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
|
|
25
25
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
26
|
+
var DomainLockConfigurationDto_1 = require("./DomainLockConfigurationDto");
|
|
26
27
|
var AccountSettingsRentConfigurationDto_1 = require("./AccountSettingsRentConfigurationDto");
|
|
27
28
|
/**
|
|
28
29
|
* Check if a given object implements the AccountSettingsDto interface.
|
|
@@ -50,6 +51,8 @@ function instanceOfAccountSettingsDto(value) {
|
|
|
50
51
|
return false;
|
|
51
52
|
if (!('transferCostPaymentMaxPercentage' in value) || value['transferCostPaymentMaxPercentage'] === undefined)
|
|
52
53
|
return false;
|
|
54
|
+
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined)
|
|
55
|
+
return false;
|
|
53
56
|
return true;
|
|
54
57
|
}
|
|
55
58
|
function AccountSettingsDtoFromJSON(json) {
|
|
@@ -71,6 +74,7 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
74
|
'avatar': json['avatar'],
|
|
72
75
|
'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoFromJSON)(json['alias']),
|
|
73
76
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'],
|
|
77
|
+
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
|
|
74
78
|
};
|
|
75
79
|
}
|
|
76
80
|
function AccountSettingsDtoToJSON(json) {
|
|
@@ -93,5 +97,6 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
93
97
|
'avatar': value['avatar'],
|
|
94
98
|
'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoToJSON)(value['alias']),
|
|
95
99
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
100
|
+
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
|
|
96
101
|
};
|
|
97
102
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LockConfigurationInput } from './LockConfigurationInput';
|
|
12
13
|
import type { MoneyDto } from './MoneyDto';
|
|
13
14
|
import type { LandingPageInput } from './LandingPageInput';
|
|
14
15
|
import type { TimeTableConfigurationInput } from './TimeTableConfigurationInput';
|
|
@@ -93,6 +94,12 @@ export interface AccountSettingsInput {
|
|
|
93
94
|
* @memberof AccountSettingsInput
|
|
94
95
|
*/
|
|
95
96
|
transferCostPaymentMaxPercentage?: number;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {LockConfigurationInput}
|
|
100
|
+
* @memberof AccountSettingsInput
|
|
101
|
+
*/
|
|
102
|
+
domainLockConfiguration?: LockConfigurationInput;
|
|
96
103
|
}
|
|
97
104
|
/**
|
|
98
105
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -18,6 +18,7 @@ exports.AccountSettingsInputFromJSON = AccountSettingsInputFromJSON;
|
|
|
18
18
|
exports.AccountSettingsInputFromJSONTyped = AccountSettingsInputFromJSONTyped;
|
|
19
19
|
exports.AccountSettingsInputToJSON = AccountSettingsInputToJSON;
|
|
20
20
|
exports.AccountSettingsInputToJSONTyped = AccountSettingsInputToJSONTyped;
|
|
21
|
+
var LockConfigurationInput_1 = require("./LockConfigurationInput");
|
|
21
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
23
|
var LandingPageInput_1 = require("./LandingPageInput");
|
|
23
24
|
var TimeTableConfigurationInput_1 = require("./TimeTableConfigurationInput");
|
|
@@ -50,6 +51,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
51
|
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
51
52
|
'alias': json['alias'] == null ? undefined : (0, AccountAliasInput_1.AccountAliasInputFromJSON)(json['alias']),
|
|
52
53
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'] == null ? undefined : json['transferCostPaymentMaxPercentage'],
|
|
54
|
+
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['domainLockConfiguration']),
|
|
53
55
|
};
|
|
54
56
|
}
|
|
55
57
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -73,5 +75,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
75
|
'timezone': value['timezone'],
|
|
74
76
|
'alias': (0, AccountAliasInput_1.AccountAliasInputToJSON)(value['alias']),
|
|
75
77
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
78
|
+
'domainLockConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['domainLockConfiguration']),
|
|
76
79
|
};
|
|
77
80
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LockConfigurationInput } from './LockConfigurationInput';
|
|
12
13
|
import type { AdminAccountSettingsAffiliateInput } from './AdminAccountSettingsAffiliateInput';
|
|
13
14
|
import type { AdminAccountCommissionByDateRangeInput } from './AdminAccountCommissionByDateRangeInput';
|
|
14
15
|
import type { AdminAuctionConfigurationInput } from './AdminAuctionConfigurationInput';
|
|
@@ -60,6 +61,12 @@ export interface AdminAccountSettingsInput {
|
|
|
60
61
|
* @memberof AdminAccountSettingsInput
|
|
61
62
|
*/
|
|
62
63
|
auctionConfiguration?: AdminAuctionConfigurationInput;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {LockConfigurationInput}
|
|
67
|
+
* @memberof AdminAccountSettingsInput
|
|
68
|
+
*/
|
|
69
|
+
domainLockConfiguration?: LockConfigurationInput;
|
|
63
70
|
}
|
|
64
71
|
/**
|
|
65
72
|
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
@@ -18,6 +18,7 @@ exports.AdminAccountSettingsInputFromJSON = AdminAccountSettingsInputFromJSON;
|
|
|
18
18
|
exports.AdminAccountSettingsInputFromJSONTyped = AdminAccountSettingsInputFromJSONTyped;
|
|
19
19
|
exports.AdminAccountSettingsInputToJSON = AdminAccountSettingsInputToJSON;
|
|
20
20
|
exports.AdminAccountSettingsInputToJSONTyped = AdminAccountSettingsInputToJSONTyped;
|
|
21
|
+
var LockConfigurationInput_1 = require("./LockConfigurationInput");
|
|
21
22
|
var AdminAccountSettingsAffiliateInput_1 = require("./AdminAccountSettingsAffiliateInput");
|
|
22
23
|
var AdminAccountCommissionByDateRangeInput_1 = require("./AdminAccountCommissionByDateRangeInput");
|
|
23
24
|
var AdminAuctionConfigurationInput_1 = require("./AdminAuctionConfigurationInput");
|
|
@@ -42,6 +43,7 @@ function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
43
|
'affiliate': json['affiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['affiliate']),
|
|
43
44
|
'domainAffiliate': json['domainAffiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['domainAffiliate']),
|
|
44
45
|
'auctionConfiguration': json['auctionConfiguration'] == null ? undefined : (0, AdminAuctionConfigurationInput_1.AdminAuctionConfigurationInputFromJSON)(json['auctionConfiguration']),
|
|
46
|
+
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['domainLockConfiguration']),
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
function AdminAccountSettingsInputToJSON(json) {
|
|
@@ -60,5 +62,6 @@ function AdminAccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
62
|
'affiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['affiliate']),
|
|
61
63
|
'domainAffiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['domainAffiliate']),
|
|
62
64
|
'auctionConfiguration': (0, AdminAuctionConfigurationInput_1.AdminAuctionConfigurationInputToJSON)(value['auctionConfiguration']),
|
|
65
|
+
'domainLockConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['domainLockConfiguration']),
|
|
63
66
|
};
|
|
64
67
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { LockDurationDto } from './LockDurationDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DomainLockConfigurationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DomainLockConfigurationDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof DomainLockConfigurationDto
|
|
23
|
+
*/
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {LockDurationDto}
|
|
28
|
+
* @memberof DomainLockConfigurationDto
|
|
29
|
+
*/
|
|
30
|
+
duration: LockDurationDto;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the DomainLockConfigurationDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfDomainLockConfigurationDto(value: object): value is DomainLockConfigurationDto;
|
|
36
|
+
export declare function DomainLockConfigurationDtoFromJSON(json: any): DomainLockConfigurationDto;
|
|
37
|
+
export declare function DomainLockConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainLockConfigurationDto;
|
|
38
|
+
export declare function DomainLockConfigurationDtoToJSON(json: any): DomainLockConfigurationDto;
|
|
39
|
+
export declare function DomainLockConfigurationDtoToJSONTyped(value?: DomainLockConfigurationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDomainLockConfigurationDto = instanceOfDomainLockConfigurationDto;
|
|
17
|
+
exports.DomainLockConfigurationDtoFromJSON = DomainLockConfigurationDtoFromJSON;
|
|
18
|
+
exports.DomainLockConfigurationDtoFromJSONTyped = DomainLockConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.DomainLockConfigurationDtoToJSON = DomainLockConfigurationDtoToJSON;
|
|
20
|
+
exports.DomainLockConfigurationDtoToJSONTyped = DomainLockConfigurationDtoToJSONTyped;
|
|
21
|
+
var LockDurationDto_1 = require("./LockDurationDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DomainLockConfigurationDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDomainLockConfigurationDto(value) {
|
|
26
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('duration' in value) || value['duration'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function DomainLockConfigurationDtoFromJSON(json) {
|
|
33
|
+
return DomainLockConfigurationDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function DomainLockConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'enabled': json['enabled'],
|
|
41
|
+
'duration': (0, LockDurationDto_1.LockDurationDtoFromJSON)(json['duration']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function DomainLockConfigurationDtoToJSON(json) {
|
|
45
|
+
return DomainLockConfigurationDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function DomainLockConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'enabled': value['enabled'],
|
|
54
|
+
'duration': (0, LockDurationDto_1.LockDurationDtoToJSON)(value['duration']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
52
52
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
53
53
|
*/
|
|
54
54
|
isLocked: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
59
|
+
*/
|
|
60
|
+
lockedUntil: Date | null;
|
|
55
61
|
/**
|
|
56
62
|
* The TLD for this domain.
|
|
57
63
|
* @type {string}
|
|
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
+
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
|
|
43
|
+
return false;
|
|
42
44
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
43
45
|
return false;
|
|
44
46
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -94,6 +96,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
94
96
|
'hijackerId': json['hijackerId'],
|
|
95
97
|
'isDeleteable': json['isDeleteable'],
|
|
96
98
|
'isLocked': json['isLocked'],
|
|
99
|
+
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
97
100
|
'tld': json['tld'],
|
|
98
101
|
'verified': json['verified'],
|
|
99
102
|
'nameservers': json['nameservers'],
|
|
@@ -130,6 +133,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
130
133
|
'hijackerId': value['hijackerId'],
|
|
131
134
|
'isDeleteable': value['isDeleteable'],
|
|
132
135
|
'isLocked': value['isLocked'],
|
|
136
|
+
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
133
137
|
'tld': value['tld'],
|
|
134
138
|
'verified': value['verified'],
|
|
135
139
|
'nameservers': value['nameservers'],
|
|
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
52
52
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
53
53
|
*/
|
|
54
54
|
isLocked: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
59
|
+
*/
|
|
60
|
+
lockedUntil: Date | null;
|
|
55
61
|
/**
|
|
56
62
|
* The TLD for this domain.
|
|
57
63
|
* @type {string}
|
|
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
+
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
|
|
43
|
+
return false;
|
|
42
44
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
43
45
|
return false;
|
|
44
46
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -96,6 +98,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
|
|
|
96
98
|
'hijackerId': json['hijackerId'],
|
|
97
99
|
'isDeleteable': json['isDeleteable'],
|
|
98
100
|
'isLocked': json['isLocked'],
|
|
101
|
+
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
99
102
|
'tld': json['tld'],
|
|
100
103
|
'verified': json['verified'],
|
|
101
104
|
'nameservers': json['nameservers'],
|
|
@@ -133,6 +136,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
|
|
|
133
136
|
'hijackerId': value['hijackerId'],
|
|
134
137
|
'isDeleteable': value['isDeleteable'],
|
|
135
138
|
'isLocked': value['isLocked'],
|
|
139
|
+
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
136
140
|
'tld': value['tld'],
|
|
137
141
|
'verified': value['verified'],
|
|
138
142
|
'nameservers': value['nameservers'],
|
|
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
52
52
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
53
53
|
*/
|
|
54
54
|
isLocked: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
59
|
+
*/
|
|
60
|
+
lockedUntil: Date | null;
|
|
55
61
|
/**
|
|
56
62
|
* The TLD for this domain.
|
|
57
63
|
* @type {string}
|
|
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
+
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
|
|
43
|
+
return false;
|
|
42
44
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
43
45
|
return false;
|
|
44
46
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -96,6 +98,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
96
98
|
'hijackerId': json['hijackerId'],
|
|
97
99
|
'isDeleteable': json['isDeleteable'],
|
|
98
100
|
'isLocked': json['isLocked'],
|
|
101
|
+
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
99
102
|
'tld': json['tld'],
|
|
100
103
|
'verified': json['verified'],
|
|
101
104
|
'nameservers': json['nameservers'],
|
|
@@ -133,6 +136,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
133
136
|
'hijackerId': value['hijackerId'],
|
|
134
137
|
'isDeleteable': value['isDeleteable'],
|
|
135
138
|
'isLocked': value['isLocked'],
|
|
139
|
+
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
136
140
|
'tld': value['tld'],
|
|
137
141
|
'verified': value['verified'],
|
|
138
142
|
'nameservers': value['nameservers'],
|
|
@@ -52,6 +52,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
52
52
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
53
53
|
*/
|
|
54
54
|
isLocked: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The date until which the domain is locked (end date of the current continuous lock period), or null if not locked
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
59
|
+
*/
|
|
60
|
+
lockedUntil: Date | null;
|
|
55
61
|
/**
|
|
56
62
|
* The SEO metrics for this domain
|
|
57
63
|
* @type {SeoMetricsDto}
|
|
@@ -39,6 +39,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
+
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
|
|
43
|
+
return false;
|
|
42
44
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
43
45
|
return false;
|
|
44
46
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
@@ -94,6 +96,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
|
|
|
94
96
|
'hijackerId': json['hijackerId'],
|
|
95
97
|
'isDeleteable': json['isDeleteable'],
|
|
96
98
|
'isLocked': json['isLocked'],
|
|
99
|
+
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
97
100
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
|
|
98
101
|
'tld': json['tld'],
|
|
99
102
|
'verified': json['verified'],
|
|
@@ -130,6 +133,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
|
|
|
130
133
|
'hijackerId': value['hijackerId'],
|
|
131
134
|
'isDeleteable': value['isDeleteable'],
|
|
132
135
|
'isLocked': value['isLocked'],
|
|
136
|
+
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
133
137
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
|
|
134
138
|
'tld': value['tld'],
|
|
135
139
|
'verified': value['verified'],
|
|
@@ -28,6 +28,12 @@ export interface LeadDomainDto {
|
|
|
28
28
|
* @memberof LeadDomainDto
|
|
29
29
|
*/
|
|
30
30
|
isLocked: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the domain is currently locked
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof LeadDomainDto
|
|
35
|
+
*/
|
|
36
|
+
lockedUntil: Date | null;
|
|
31
37
|
/**
|
|
32
38
|
* Domain name
|
|
33
39
|
* @type {string}
|
|
@@ -27,6 +27,8 @@ function instanceOfLeadDomainDto(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
if (!('name' in value) || value['name'] === undefined)
|
|
31
33
|
return false;
|
|
32
34
|
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
@@ -51,6 +53,7 @@ function LeadDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
return {
|
|
52
54
|
'id': json['id'],
|
|
53
55
|
'isLocked': json['isLocked'],
|
|
56
|
+
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
54
57
|
'name': json['name'],
|
|
55
58
|
'displayName': json['displayName'],
|
|
56
59
|
'currencyCode': json['currencyCode'],
|
|
@@ -70,6 +73,7 @@ function LeadDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
73
|
return {
|
|
71
74
|
'id': value['id'],
|
|
72
75
|
'isLocked': value['isLocked'],
|
|
76
|
+
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
73
77
|
'name': value['name'],
|
|
74
78
|
'displayName': value['displayName'],
|
|
75
79
|
'currencyCode': value['currencyCode'],
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { LockDurationInput } from './LockDurationInput';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LockConfigurationInput
|
|
17
|
+
*/
|
|
18
|
+
export interface LockConfigurationInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof LockConfigurationInput
|
|
23
|
+
*/
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {LockDurationInput}
|
|
28
|
+
* @memberof LockConfigurationInput
|
|
29
|
+
*/
|
|
30
|
+
duration?: LockDurationInput;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LockConfigurationInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLockConfigurationInput(value: object): value is LockConfigurationInput;
|
|
36
|
+
export declare function LockConfigurationInputFromJSON(json: any): LockConfigurationInput;
|
|
37
|
+
export declare function LockConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LockConfigurationInput;
|
|
38
|
+
export declare function LockConfigurationInputToJSON(json: any): LockConfigurationInput;
|
|
39
|
+
export declare function LockConfigurationInputToJSONTyped(value?: LockConfigurationInput | null, ignoreDiscriminator?: boolean): any;
|