@randock/nameshift-api-client 0.0.404 → 0.0.406
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/README.md +3 -3
- package/dist/models/AuctionBidDto.d.ts +6 -0
- package/dist/models/AuctionBidDto.js +4 -0
- package/dist/models/AuctionDto.d.ts +9 -3
- package/dist/models/AuctionDto.js +7 -3
- package/dist/models/FeatureFlagListItemDto.d.ts +3 -0
- package/dist/models/FeatureFlagListItemDto.js +4 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +3 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +4 -1
- 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/PrivateAccountGetMeResponse.d.ts +3 -0
- package/dist/models/PrivateAccountGetMeResponse.js +4 -1
- package/dist/models/StartAuctionInput.d.ts +6 -0
- package/dist/models/StartAuctionInput.js +2 -0
- package/package.json +1 -1
- package/src/models/AuctionBidDto.ts +9 -0
- package/src/models/AuctionDto.ts +15 -6
- package/src/models/FeatureFlagListItemDto.ts +4 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +4 -1
- 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/PrivateAccountGetMeResponse.ts +4 -1
- package/src/models/StartAuctionInput.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.406
|
|
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.406 --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
|
+
323d95971ea7f786f745f7ee1875a63dcb894afc5bf3bdb809462daf36421e9527ff6f96e52d83e83dabb95e21b991b8
|
|
@@ -65,6 +65,12 @@ export interface AuctionBidDto {
|
|
|
65
65
|
* @memberof AuctionBidDto
|
|
66
66
|
*/
|
|
67
67
|
isKycCompleted: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Auction Bid reached reserve price
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof AuctionBidDto
|
|
72
|
+
*/
|
|
73
|
+
hasReachedReservePrice: boolean;
|
|
68
74
|
/**
|
|
69
75
|
* Auction Bidder metrics
|
|
70
76
|
* @type {AuctionBidMetricsDto}
|
|
@@ -40,6 +40,8 @@ function instanceOfAuctionBidDto(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('isKycCompleted' in value) || value['isKycCompleted'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
+
if (!('hasReachedReservePrice' in value) || value['hasReachedReservePrice'] === undefined)
|
|
44
|
+
return false;
|
|
43
45
|
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
44
46
|
return false;
|
|
45
47
|
if (!('email' in value) || value['email'] === undefined)
|
|
@@ -62,6 +64,7 @@ function AuctionBidDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
64
|
'isEmailVerified': json['isEmailVerified'],
|
|
63
65
|
'isPhoneVerified': json['isPhoneVerified'],
|
|
64
66
|
'isKycCompleted': json['isKycCompleted'],
|
|
67
|
+
'hasReachedReservePrice': json['hasReachedReservePrice'],
|
|
65
68
|
'metrics': (0, AuctionBidMetricsDto_1.AuctionBidMetricsDtoFromJSON)(json['metrics']),
|
|
66
69
|
'email': json['email'],
|
|
67
70
|
};
|
|
@@ -83,6 +86,7 @@ function AuctionBidDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
83
86
|
'isEmailVerified': value['isEmailVerified'],
|
|
84
87
|
'isPhoneVerified': value['isPhoneVerified'],
|
|
85
88
|
'isKycCompleted': value['isKycCompleted'],
|
|
89
|
+
'hasReachedReservePrice': value['hasReachedReservePrice'],
|
|
86
90
|
'metrics': (0, AuctionBidMetricsDto_1.AuctionBidMetricsDtoToJSON)(value['metrics']),
|
|
87
91
|
'email': value['email'],
|
|
88
92
|
};
|
|
@@ -30,11 +30,17 @@ export interface AuctionDto {
|
|
|
30
30
|
*/
|
|
31
31
|
minimumBid: MoneyDto;
|
|
32
32
|
/**
|
|
33
|
-
* Auction reserve price
|
|
34
|
-
* @type {
|
|
33
|
+
* Auction has reserve price
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof AuctionDto
|
|
36
|
+
*/
|
|
37
|
+
hasReservePrice: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Auction reserve price was reached
|
|
40
|
+
* @type {boolean}
|
|
35
41
|
* @memberof AuctionDto
|
|
36
42
|
*/
|
|
37
|
-
|
|
43
|
+
isReservePriceReached: boolean;
|
|
38
44
|
/**
|
|
39
45
|
* Auction highest bid
|
|
40
46
|
* @type {MoneyDto}
|
|
@@ -28,7 +28,9 @@ function instanceOfAuctionDto(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('minimumBid' in value) || value['minimumBid'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('
|
|
31
|
+
if (!('hasReservePrice' in value) || value['hasReservePrice'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('isReservePriceReached' in value) || value['isReservePriceReached'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('highestBid' in value) || value['highestBid'] === undefined)
|
|
34
36
|
return false;
|
|
@@ -58,7 +60,8 @@ function AuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
return {
|
|
59
61
|
'id': json['id'],
|
|
60
62
|
'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
|
|
61
|
-
'
|
|
63
|
+
'hasReservePrice': json['hasReservePrice'],
|
|
64
|
+
'isReservePriceReached': json['isReservePriceReached'],
|
|
62
65
|
'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
|
|
63
66
|
'currencyCode': json['currencyCode'],
|
|
64
67
|
'startDate': (new Date(json['startDate'])),
|
|
@@ -80,7 +83,8 @@ function AuctionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
80
83
|
return {
|
|
81
84
|
'id': value['id'],
|
|
82
85
|
'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
|
|
83
|
-
'
|
|
86
|
+
'hasReservePrice': value['hasReservePrice'],
|
|
87
|
+
'isReservePriceReached': value['isReservePriceReached'],
|
|
84
88
|
'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
|
|
85
89
|
'currencyCode': value['currencyCode'],
|
|
86
90
|
'startDate': ((value['startDate']).toISOString()),
|
|
@@ -82,6 +82,9 @@ export declare const FeatureFlagListItemDtoNameEnum: {
|
|
|
82
82
|
readonly ACCOUNT_CHALLENGES: "ACCOUNT_CHALLENGES";
|
|
83
83
|
readonly ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: "ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE";
|
|
84
84
|
readonly UI_LEAD_LAYOUT_V2: "UI_LEAD_LAYOUT_V2";
|
|
85
|
+
readonly AUCTION_RESERVE_PRICE: "AUCTION_RESERVE_PRICE";
|
|
86
|
+
readonly ALLOW_FREE_SETUP_RESERVE_PRICE: "ALLOW_FREE_SETUP_RESERVE_PRICE";
|
|
87
|
+
readonly ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: "ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE";
|
|
85
88
|
};
|
|
86
89
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
87
90
|
/**
|
|
@@ -42,7 +42,10 @@ exports.FeatureFlagListItemDtoNameEnum = {
|
|
|
42
42
|
BUYER_DOMAIN_DNS_PANEL: 'BUYER_DOMAIN_DNS_PANEL',
|
|
43
43
|
ACCOUNT_CHALLENGES: 'ACCOUNT_CHALLENGES',
|
|
44
44
|
ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: 'ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE',
|
|
45
|
-
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2'
|
|
45
|
+
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2',
|
|
46
|
+
AUCTION_RESERVE_PRICE: 'AUCTION_RESERVE_PRICE',
|
|
47
|
+
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
48
|
+
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE'
|
|
46
49
|
};
|
|
47
50
|
/**
|
|
48
51
|
* Check if a given object implements the FeatureFlagListItemDto interface.
|
|
@@ -125,6 +125,9 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
|
|
|
125
125
|
readonly ACCOUNT_CHALLENGES: "ACCOUNT_CHALLENGES";
|
|
126
126
|
readonly ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: "ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE";
|
|
127
127
|
readonly UI_LEAD_LAYOUT_V2: "UI_LEAD_LAYOUT_V2";
|
|
128
|
+
readonly AUCTION_RESERVE_PRICE: "AUCTION_RESERVE_PRICE";
|
|
129
|
+
readonly ALLOW_FREE_SETUP_RESERVE_PRICE: "ALLOW_FREE_SETUP_RESERVE_PRICE";
|
|
130
|
+
readonly ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: "ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE";
|
|
128
131
|
};
|
|
129
132
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
130
133
|
/**
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -49,7 +49,10 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
|
|
|
49
49
|
BUYER_DOMAIN_DNS_PANEL: 'BUYER_DOMAIN_DNS_PANEL',
|
|
50
50
|
ACCOUNT_CHALLENGES: 'ACCOUNT_CHALLENGES',
|
|
51
51
|
ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: 'ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE',
|
|
52
|
-
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2'
|
|
52
|
+
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2',
|
|
53
|
+
AUCTION_RESERVE_PRICE: 'AUCTION_RESERVE_PRICE',
|
|
54
|
+
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
55
|
+
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE'
|
|
53
56
|
};
|
|
54
57
|
/**
|
|
55
58
|
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can create a new auction
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
47
|
+
*/
|
|
48
|
+
canCreateAuction: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* Whether the domain can be deleted
|
|
45
51
|
* @type {boolean}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
@@ -100,6 +102,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
100
102
|
'id': json['id'],
|
|
101
103
|
'accountId': json['accountId'],
|
|
102
104
|
'hijackerId': json['hijackerId'],
|
|
105
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
103
106
|
'isDeleteable': json['isDeleteable'],
|
|
104
107
|
'isLocked': json['isLocked'],
|
|
105
108
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -140,6 +143,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
140
143
|
'id': value['id'],
|
|
141
144
|
'accountId': value['accountId'],
|
|
142
145
|
'hijackerId': value['hijackerId'],
|
|
146
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
143
147
|
'isDeleteable': value['isDeleteable'],
|
|
144
148
|
'isLocked': value['isLocked'],
|
|
145
149
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can create a new auction
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
47
|
+
*/
|
|
48
|
+
canCreateAuction: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* Whether the domain can be deleted
|
|
45
51
|
* @type {boolean}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
@@ -102,6 +104,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
|
|
|
102
104
|
'id': json['id'],
|
|
103
105
|
'accountId': json['accountId'],
|
|
104
106
|
'hijackerId': json['hijackerId'],
|
|
107
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
105
108
|
'isDeleteable': json['isDeleteable'],
|
|
106
109
|
'isLocked': json['isLocked'],
|
|
107
110
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -143,6 +146,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
|
|
|
143
146
|
'id': value['id'],
|
|
144
147
|
'accountId': value['accountId'],
|
|
145
148
|
'hijackerId': value['hijackerId'],
|
|
149
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
146
150
|
'isDeleteable': value['isDeleteable'],
|
|
147
151
|
'isLocked': value['isLocked'],
|
|
148
152
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can create a new auction
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
47
|
+
*/
|
|
48
|
+
canCreateAuction: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* Whether the domain can be deleted
|
|
45
51
|
* @type {boolean}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
@@ -102,6 +104,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
102
104
|
'id': json['id'],
|
|
103
105
|
'accountId': json['accountId'],
|
|
104
106
|
'hijackerId': json['hijackerId'],
|
|
107
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
105
108
|
'isDeleteable': json['isDeleteable'],
|
|
106
109
|
'isLocked': json['isLocked'],
|
|
107
110
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -143,6 +146,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
143
146
|
'id': value['id'],
|
|
144
147
|
'accountId': value['accountId'],
|
|
145
148
|
'hijackerId': value['hijackerId'],
|
|
149
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
146
150
|
'isDeleteable': value['isDeleteable'],
|
|
147
151
|
'isLocked': value['isLocked'],
|
|
148
152
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can create a new auction
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
47
|
+
*/
|
|
48
|
+
canCreateAuction: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* Whether the domain can be deleted
|
|
45
51
|
* @type {boolean}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('isLocked' in value) || value['isLocked'] === undefined)
|
|
@@ -100,6 +102,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
|
|
|
100
102
|
'id': json['id'],
|
|
101
103
|
'accountId': json['accountId'],
|
|
102
104
|
'hijackerId': json['hijackerId'],
|
|
105
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
103
106
|
'isDeleteable': json['isDeleteable'],
|
|
104
107
|
'isLocked': json['isLocked'],
|
|
105
108
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -140,6 +143,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
|
|
|
140
143
|
'id': value['id'],
|
|
141
144
|
'accountId': value['accountId'],
|
|
142
145
|
'hijackerId': value['hijackerId'],
|
|
146
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
143
147
|
'isDeleteable': value['isDeleteable'],
|
|
144
148
|
'isLocked': value['isLocked'],
|
|
145
149
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
@@ -131,6 +131,9 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
|
|
|
131
131
|
readonly ACCOUNT_CHALLENGES: "ACCOUNT_CHALLENGES";
|
|
132
132
|
readonly ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: "ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE";
|
|
133
133
|
readonly UI_LEAD_LAYOUT_V2: "UI_LEAD_LAYOUT_V2";
|
|
134
|
+
readonly AUCTION_RESERVE_PRICE: "AUCTION_RESERVE_PRICE";
|
|
135
|
+
readonly ALLOW_FREE_SETUP_RESERVE_PRICE: "ALLOW_FREE_SETUP_RESERVE_PRICE";
|
|
136
|
+
readonly ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: "ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE";
|
|
134
137
|
};
|
|
135
138
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
136
139
|
/**
|
|
@@ -49,7 +49,10 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
49
49
|
BUYER_DOMAIN_DNS_PANEL: 'BUYER_DOMAIN_DNS_PANEL',
|
|
50
50
|
ACCOUNT_CHALLENGES: 'ACCOUNT_CHALLENGES',
|
|
51
51
|
ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: 'ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE',
|
|
52
|
-
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2'
|
|
52
|
+
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2',
|
|
53
|
+
AUCTION_RESERVE_PRICE: 'AUCTION_RESERVE_PRICE',
|
|
54
|
+
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
55
|
+
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE'
|
|
53
56
|
};
|
|
54
57
|
/**
|
|
55
58
|
* Check if a given object implements the PrivateAccountGetMeResponse interface.
|
|
@@ -33,6 +33,12 @@ export interface StartAuctionInput {
|
|
|
33
33
|
* @memberof StartAuctionInput
|
|
34
34
|
*/
|
|
35
35
|
initialBidAmount?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Reserve price amount in the smallest currency unit (e.g., cents for EUR)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof StartAuctionInput
|
|
40
|
+
*/
|
|
41
|
+
reservePrice?: number;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the StartAuctionInput interface.
|
|
@@ -39,6 +39,7 @@ function StartAuctionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'startDate': json['startDate'],
|
|
40
40
|
'endDate': json['endDate'],
|
|
41
41
|
'initialBidAmount': json['initialBidAmount'] == null ? undefined : json['initialBidAmount'],
|
|
42
|
+
'reservePrice': json['reservePrice'] == null ? undefined : json['reservePrice'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
function StartAuctionInputToJSON(json) {
|
|
@@ -53,5 +54,6 @@ function StartAuctionInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
54
|
'startDate': value['startDate'],
|
|
54
55
|
'endDate': value['endDate'],
|
|
55
56
|
'initialBidAmount': value['initialBidAmount'],
|
|
57
|
+
'reservePrice': value['reservePrice'],
|
|
56
58
|
};
|
|
57
59
|
}
|
package/package.json
CHANGED
|
@@ -82,6 +82,12 @@ export interface AuctionBidDto {
|
|
|
82
82
|
* @memberof AuctionBidDto
|
|
83
83
|
*/
|
|
84
84
|
isKycCompleted: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Auction Bid reached reserve price
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof AuctionBidDto
|
|
89
|
+
*/
|
|
90
|
+
hasReachedReservePrice: boolean;
|
|
85
91
|
/**
|
|
86
92
|
* Auction Bidder metrics
|
|
87
93
|
* @type {AuctionBidMetricsDto}
|
|
@@ -108,6 +114,7 @@ export function instanceOfAuctionBidDto(value: object): value is AuctionBidDto {
|
|
|
108
114
|
if (!('isEmailVerified' in value) || value['isEmailVerified'] === undefined) return false;
|
|
109
115
|
if (!('isPhoneVerified' in value) || value['isPhoneVerified'] === undefined) return false;
|
|
110
116
|
if (!('isKycCompleted' in value) || value['isKycCompleted'] === undefined) return false;
|
|
117
|
+
if (!('hasReachedReservePrice' in value) || value['hasReachedReservePrice'] === undefined) return false;
|
|
111
118
|
if (!('metrics' in value) || value['metrics'] === undefined) return false;
|
|
112
119
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
113
120
|
return true;
|
|
@@ -131,6 +138,7 @@ export function AuctionBidDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
131
138
|
'isEmailVerified': json['isEmailVerified'],
|
|
132
139
|
'isPhoneVerified': json['isPhoneVerified'],
|
|
133
140
|
'isKycCompleted': json['isKycCompleted'],
|
|
141
|
+
'hasReachedReservePrice': json['hasReachedReservePrice'],
|
|
134
142
|
'metrics': AuctionBidMetricsDtoFromJSON(json['metrics']),
|
|
135
143
|
'email': json['email'],
|
|
136
144
|
};
|
|
@@ -155,6 +163,7 @@ export function AuctionBidDtoToJSONTyped(value?: AuctionBidDto | null, ignoreDis
|
|
|
155
163
|
'isEmailVerified': value['isEmailVerified'],
|
|
156
164
|
'isPhoneVerified': value['isPhoneVerified'],
|
|
157
165
|
'isKycCompleted': value['isKycCompleted'],
|
|
166
|
+
'hasReachedReservePrice': value['hasReachedReservePrice'],
|
|
158
167
|
'metrics': AuctionBidMetricsDtoToJSON(value['metrics']),
|
|
159
168
|
'email': value['email'],
|
|
160
169
|
};
|
package/src/models/AuctionDto.ts
CHANGED
|
@@ -47,11 +47,17 @@ export interface AuctionDto {
|
|
|
47
47
|
*/
|
|
48
48
|
minimumBid: MoneyDto;
|
|
49
49
|
/**
|
|
50
|
-
* Auction reserve price
|
|
51
|
-
* @type {
|
|
50
|
+
* Auction has reserve price
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof AuctionDto
|
|
53
|
+
*/
|
|
54
|
+
hasReservePrice: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Auction reserve price was reached
|
|
57
|
+
* @type {boolean}
|
|
52
58
|
* @memberof AuctionDto
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
isReservePriceReached: boolean;
|
|
55
61
|
/**
|
|
56
62
|
* Auction highest bid
|
|
57
63
|
* @type {MoneyDto}
|
|
@@ -108,7 +114,8 @@ export interface AuctionDto {
|
|
|
108
114
|
export function instanceOfAuctionDto(value: object): value is AuctionDto {
|
|
109
115
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
110
116
|
if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
|
|
111
|
-
if (!('
|
|
117
|
+
if (!('hasReservePrice' in value) || value['hasReservePrice'] === undefined) return false;
|
|
118
|
+
if (!('isReservePriceReached' in value) || value['isReservePriceReached'] === undefined) return false;
|
|
112
119
|
if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
|
|
113
120
|
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
114
121
|
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
@@ -132,7 +139,8 @@ export function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
132
139
|
|
|
133
140
|
'id': json['id'],
|
|
134
141
|
'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
|
|
135
|
-
'
|
|
142
|
+
'hasReservePrice': json['hasReservePrice'],
|
|
143
|
+
'isReservePriceReached': json['isReservePriceReached'],
|
|
136
144
|
'highestBid': MoneyDtoFromJSON(json['highestBid']),
|
|
137
145
|
'currencyCode': json['currencyCode'],
|
|
138
146
|
'startDate': (new Date(json['startDate'])),
|
|
@@ -157,7 +165,8 @@ export function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscrimin
|
|
|
157
165
|
|
|
158
166
|
'id': value['id'],
|
|
159
167
|
'minimumBid': MoneyDtoToJSON(value['minimumBid']),
|
|
160
|
-
'
|
|
168
|
+
'hasReservePrice': value['hasReservePrice'],
|
|
169
|
+
'isReservePriceReached': value['isReservePriceReached'],
|
|
161
170
|
'highestBid': MoneyDtoToJSON(value['highestBid']),
|
|
162
171
|
'currencyCode': value['currencyCode'],
|
|
163
172
|
'startDate': ((value['startDate']).toISOString()),
|
|
@@ -87,7 +87,10 @@ export const FeatureFlagListItemDtoNameEnum = {
|
|
|
87
87
|
BUYER_DOMAIN_DNS_PANEL: 'BUYER_DOMAIN_DNS_PANEL',
|
|
88
88
|
ACCOUNT_CHALLENGES: 'ACCOUNT_CHALLENGES',
|
|
89
89
|
ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: 'ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE',
|
|
90
|
-
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2'
|
|
90
|
+
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2',
|
|
91
|
+
AUCTION_RESERVE_PRICE: 'AUCTION_RESERVE_PRICE',
|
|
92
|
+
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
93
|
+
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE'
|
|
91
94
|
} as const;
|
|
92
95
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
93
96
|
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -173,7 +173,10 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
173
173
|
BUYER_DOMAIN_DNS_PANEL: 'BUYER_DOMAIN_DNS_PANEL',
|
|
174
174
|
ACCOUNT_CHALLENGES: 'ACCOUNT_CHALLENGES',
|
|
175
175
|
ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: 'ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE',
|
|
176
|
-
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2'
|
|
176
|
+
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2',
|
|
177
|
+
AUCTION_RESERVE_PRICE: 'AUCTION_RESERVE_PRICE',
|
|
178
|
+
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
179
|
+
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE'
|
|
177
180
|
} as const;
|
|
178
181
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
179
182
|
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can create a new auction
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
94
|
+
*/
|
|
95
|
+
canCreateAuction: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* Whether the domain can be deleted
|
|
92
98
|
* @type {boolean}
|
|
@@ -253,6 +259,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
253
259
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
254
260
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
255
261
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
262
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined) return false;
|
|
256
263
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
257
264
|
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
258
265
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
@@ -295,6 +302,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
295
302
|
'id': json['id'],
|
|
296
303
|
'accountId': json['accountId'],
|
|
297
304
|
'hijackerId': json['hijackerId'],
|
|
305
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
298
306
|
'isDeleteable': json['isDeleteable'],
|
|
299
307
|
'isLocked': json['isLocked'],
|
|
300
308
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -338,6 +346,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
338
346
|
'id': value['id'],
|
|
339
347
|
'accountId': value['accountId'],
|
|
340
348
|
'hijackerId': value['hijackerId'],
|
|
349
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
341
350
|
'isDeleteable': value['isDeleteable'],
|
|
342
351
|
'isLocked': value['isLocked'],
|
|
343
352
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can create a new auction
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
94
|
+
*/
|
|
95
|
+
canCreateAuction: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* Whether the domain can be deleted
|
|
92
98
|
* @type {boolean}
|
|
@@ -259,6 +265,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
|
|
|
259
265
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
260
266
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
261
267
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
268
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined) return false;
|
|
262
269
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
263
270
|
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
264
271
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
@@ -302,6 +309,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
|
|
|
302
309
|
'id': json['id'],
|
|
303
310
|
'accountId': json['accountId'],
|
|
304
311
|
'hijackerId': json['hijackerId'],
|
|
312
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
305
313
|
'isDeleteable': json['isDeleteable'],
|
|
306
314
|
'isLocked': json['isLocked'],
|
|
307
315
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -346,6 +354,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
|
|
|
346
354
|
'id': value['id'],
|
|
347
355
|
'accountId': value['accountId'],
|
|
348
356
|
'hijackerId': value['hijackerId'],
|
|
357
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
349
358
|
'isDeleteable': value['isDeleteable'],
|
|
350
359
|
'isLocked': value['isLocked'],
|
|
351
360
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can create a new auction
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
94
|
+
*/
|
|
95
|
+
canCreateAuction: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* Whether the domain can be deleted
|
|
92
98
|
* @type {boolean}
|
|
@@ -259,6 +265,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
259
265
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
260
266
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
261
267
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
268
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined) return false;
|
|
262
269
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
263
270
|
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
264
271
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
@@ -302,6 +309,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
302
309
|
'id': json['id'],
|
|
303
310
|
'accountId': json['accountId'],
|
|
304
311
|
'hijackerId': json['hijackerId'],
|
|
312
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
305
313
|
'isDeleteable': json['isDeleteable'],
|
|
306
314
|
'isLocked': json['isLocked'],
|
|
307
315
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -346,6 +354,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
346
354
|
'id': value['id'],
|
|
347
355
|
'accountId': value['accountId'],
|
|
348
356
|
'hijackerId': value['hijackerId'],
|
|
357
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
349
358
|
'isDeleteable': value['isDeleteable'],
|
|
350
359
|
'isLocked': value['isLocked'],
|
|
351
360
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can create a new auction
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
94
|
+
*/
|
|
95
|
+
canCreateAuction: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* Whether the domain can be deleted
|
|
92
98
|
* @type {boolean}
|
|
@@ -253,6 +259,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
|
|
|
253
259
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
254
260
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
255
261
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
262
|
+
if (!('canCreateAuction' in value) || value['canCreateAuction'] === undefined) return false;
|
|
256
263
|
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
257
264
|
if (!('isLocked' in value) || value['isLocked'] === undefined) return false;
|
|
258
265
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
@@ -295,6 +302,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
|
|
|
295
302
|
'id': json['id'],
|
|
296
303
|
'accountId': json['accountId'],
|
|
297
304
|
'hijackerId': json['hijackerId'],
|
|
305
|
+
'canCreateAuction': json['canCreateAuction'],
|
|
298
306
|
'isDeleteable': json['isDeleteable'],
|
|
299
307
|
'isLocked': json['isLocked'],
|
|
300
308
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
@@ -338,6 +346,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
|
|
|
338
346
|
'id': value['id'],
|
|
339
347
|
'accountId': value['accountId'],
|
|
340
348
|
'hijackerId': value['hijackerId'],
|
|
349
|
+
'canCreateAuction': value['canCreateAuction'],
|
|
341
350
|
'isDeleteable': value['isDeleteable'],
|
|
342
351
|
'isLocked': value['isLocked'],
|
|
343
352
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
@@ -179,7 +179,10 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
179
179
|
BUYER_DOMAIN_DNS_PANEL: 'BUYER_DOMAIN_DNS_PANEL',
|
|
180
180
|
ACCOUNT_CHALLENGES: 'ACCOUNT_CHALLENGES',
|
|
181
181
|
ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE: 'ACCOUNT_CHALLENGE_REWARD_POINTS_USAGE',
|
|
182
|
-
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2'
|
|
182
|
+
UI_LEAD_LAYOUT_V2: 'UI_LEAD_LAYOUT_V2',
|
|
183
|
+
AUCTION_RESERVE_PRICE: 'AUCTION_RESERVE_PRICE',
|
|
184
|
+
ALLOW_FREE_SETUP_RESERVE_PRICE: 'ALLOW_FREE_SETUP_RESERVE_PRICE',
|
|
185
|
+
ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE: 'ALLOW_FREE_SETUP_CUSTOM_INITIAL_PRICE'
|
|
183
186
|
} as const;
|
|
184
187
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
185
188
|
|
|
@@ -37,6 +37,12 @@ export interface StartAuctionInput {
|
|
|
37
37
|
* @memberof StartAuctionInput
|
|
38
38
|
*/
|
|
39
39
|
initialBidAmount?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Reserve price amount in the smallest currency unit (e.g., cents for EUR)
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof StartAuctionInput
|
|
44
|
+
*/
|
|
45
|
+
reservePrice?: number;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -61,6 +67,7 @@ export function StartAuctionInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
61
67
|
'startDate': json['startDate'],
|
|
62
68
|
'endDate': json['endDate'],
|
|
63
69
|
'initialBidAmount': json['initialBidAmount'] == null ? undefined : json['initialBidAmount'],
|
|
70
|
+
'reservePrice': json['reservePrice'] == null ? undefined : json['reservePrice'],
|
|
64
71
|
};
|
|
65
72
|
}
|
|
66
73
|
|
|
@@ -78,6 +85,7 @@ export function StartAuctionInputToJSONTyped(value?: StartAuctionInput | null, i
|
|
|
78
85
|
'startDate': value['startDate'],
|
|
79
86
|
'endDate': value['endDate'],
|
|
80
87
|
'initialBidAmount': value['initialBidAmount'],
|
|
88
|
+
'reservePrice': value['reservePrice'],
|
|
81
89
|
};
|
|
82
90
|
}
|
|
83
91
|
|