@randock/nameshift-api-client 0.0.246 → 0.0.248
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/AccountSettingsInput.d.ts +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/DomainDto.d.ts +6 -0
- package/dist/models/DomainDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/PublicSaleDto.d.ts +15 -0
- package/dist/models/PublicSaleDto.js +13 -0
- package/dist/models/UpdateDomainInput.d.ts +6 -0
- package/dist/models/UpdateDomainInput.js +2 -0
- package/dist/models/WithSettingsInner.d.ts +6 -0
- package/dist/models/WithSettingsInner.js +4 -0
- package/package.json +1 -1
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/DomainDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/PublicSaleDto.ts +21 -0
- package/src/models/UpdateDomainInput.ts +8 -0
- package/src/models/WithSettingsInner.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.248
|
|
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.248 --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
|
+
09b23109c8cde7689abd6bfeadbaf33ed4c98741b1c0f5fa1d78817bec0f23405c8f82d0c869f27d81b563094ebe798f
|
|
@@ -54,6 +54,12 @@ export interface AccountSettingsInput {
|
|
|
54
54
|
* @memberof AccountSettingsInput
|
|
55
55
|
*/
|
|
56
56
|
description?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof AccountSettingsInput
|
|
61
|
+
*/
|
|
62
|
+
allowThirdPartySalesDataSharing?: boolean;
|
|
57
63
|
}
|
|
58
64
|
/**
|
|
59
65
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -41,6 +41,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
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
43
|
'description': json['description'] == null ? undefined : json['description'],
|
|
44
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -58,5 +59,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
59
|
'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
|
|
59
60
|
'leaseToOwn': (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputToJSON)(value['leaseToOwn']),
|
|
60
61
|
'description': value['description'],
|
|
62
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
61
63
|
};
|
|
62
64
|
}
|
|
@@ -122,6 +122,12 @@ export interface DomainDto {
|
|
|
122
122
|
* @memberof DomainDto
|
|
123
123
|
*/
|
|
124
124
|
pageviews: number;
|
|
125
|
+
/**
|
|
126
|
+
* Whether the third party sales data sharing is enabled.
|
|
127
|
+
* @type {boolean}
|
|
128
|
+
* @memberof DomainDto
|
|
129
|
+
*/
|
|
130
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
125
131
|
}
|
|
126
132
|
/**
|
|
127
133
|
* Check if a given object implements the DomainDto interface.
|
package/dist/models/DomainDto.js
CHANGED
|
@@ -60,6 +60,8 @@ function instanceOfDomainDto(value) {
|
|
|
60
60
|
return false;
|
|
61
61
|
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
62
62
|
return false;
|
|
63
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
|
|
64
|
+
return false;
|
|
63
65
|
return true;
|
|
64
66
|
}
|
|
65
67
|
function DomainDtoFromJSON(json) {
|
|
@@ -87,6 +89,7 @@ function DomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
87
89
|
'createdAt': (new Date(json['createdAt'])),
|
|
88
90
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
89
91
|
'pageviews': json['pageviews'],
|
|
92
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
90
93
|
};
|
|
91
94
|
}
|
|
92
95
|
function DomainDtoToJSON(json) {
|
|
@@ -115,5 +118,6 @@ function DomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
115
118
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
116
119
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
117
120
|
'pageviews': value['pageviews'],
|
|
121
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
118
122
|
};
|
|
119
123
|
}
|
|
@@ -123,6 +123,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
123
123
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
124
124
|
*/
|
|
125
125
|
pageviews: number;
|
|
126
|
+
/**
|
|
127
|
+
* Whether the third party sales data sharing is enabled.
|
|
128
|
+
* @type {boolean}
|
|
129
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
130
|
+
*/
|
|
131
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
126
132
|
/**
|
|
127
133
|
*
|
|
128
134
|
* @type {AccountDto}
|
|
@@ -61,6 +61,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
61
61
|
return false;
|
|
62
62
|
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
63
63
|
return false;
|
|
64
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
|
|
65
|
+
return false;
|
|
64
66
|
if (!('account' in value) || value['account'] === undefined)
|
|
65
67
|
return false;
|
|
66
68
|
return true;
|
|
@@ -90,6 +92,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
90
92
|
'createdAt': (new Date(json['createdAt'])),
|
|
91
93
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
92
94
|
'pageviews': json['pageviews'],
|
|
95
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
93
96
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
94
97
|
};
|
|
95
98
|
}
|
|
@@ -119,6 +122,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
119
122
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
120
123
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
121
124
|
'pageviews': value['pageviews'],
|
|
125
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
122
126
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
123
127
|
};
|
|
124
128
|
}
|
|
@@ -123,6 +123,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
123
123
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
124
124
|
*/
|
|
125
125
|
pageviews: number;
|
|
126
|
+
/**
|
|
127
|
+
* Whether the third party sales data sharing is enabled.
|
|
128
|
+
* @type {boolean}
|
|
129
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
130
|
+
*/
|
|
131
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
126
132
|
/**
|
|
127
133
|
*
|
|
128
134
|
* @type {AccountDto}
|
|
@@ -61,6 +61,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
61
61
|
return false;
|
|
62
62
|
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
63
63
|
return false;
|
|
64
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
|
|
65
|
+
return false;
|
|
64
66
|
if (!('hijacker' in value) || value['hijacker'] === undefined)
|
|
65
67
|
return false;
|
|
66
68
|
if (!('account' in value) || value['account'] === undefined)
|
|
@@ -92,6 +94,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
92
94
|
'createdAt': (new Date(json['createdAt'])),
|
|
93
95
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
94
96
|
'pageviews': json['pageviews'],
|
|
97
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
95
98
|
'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
|
|
96
99
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
97
100
|
};
|
|
@@ -122,6 +125,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
122
125
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
123
126
|
'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
|
|
124
127
|
'pageviews': value['pageviews'],
|
|
128
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
125
129
|
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
|
|
126
130
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
127
131
|
};
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface PublicSaleDto
|
|
16
16
|
*/
|
|
17
17
|
export interface PublicSaleDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PublicSaleDto
|
|
22
|
+
*/
|
|
23
|
+
type: PublicSaleDtoTypeEnum;
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
* @type {string}
|
|
@@ -40,6 +46,15 @@ export interface PublicSaleDto {
|
|
|
40
46
|
*/
|
|
41
47
|
createdAt: Date;
|
|
42
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const PublicSaleDtoTypeEnum: {
|
|
53
|
+
readonly LEASE_BEFORE_OWN: "lease_before_own";
|
|
54
|
+
readonly RENT: "rent";
|
|
55
|
+
readonly BUY_NOW: "buy_now";
|
|
56
|
+
};
|
|
57
|
+
export type PublicSaleDtoTypeEnum = typeof PublicSaleDtoTypeEnum[keyof typeof PublicSaleDtoTypeEnum];
|
|
43
58
|
/**
|
|
44
59
|
* Check if a given object implements the PublicSaleDto interface.
|
|
45
60
|
*/
|
|
@@ -13,15 +13,26 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PublicSaleDtoTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfPublicSaleDto = instanceOfPublicSaleDto;
|
|
17
18
|
exports.PublicSaleDtoFromJSON = PublicSaleDtoFromJSON;
|
|
18
19
|
exports.PublicSaleDtoFromJSONTyped = PublicSaleDtoFromJSONTyped;
|
|
19
20
|
exports.PublicSaleDtoToJSON = PublicSaleDtoToJSON;
|
|
20
21
|
exports.PublicSaleDtoToJSONTyped = PublicSaleDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PublicSaleDtoTypeEnum = {
|
|
26
|
+
LEASE_BEFORE_OWN: 'lease_before_own',
|
|
27
|
+
RENT: 'rent',
|
|
28
|
+
BUY_NOW: 'buy_now'
|
|
29
|
+
};
|
|
21
30
|
/**
|
|
22
31
|
* Check if a given object implements the PublicSaleDto interface.
|
|
23
32
|
*/
|
|
24
33
|
function instanceOfPublicSaleDto(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
25
36
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
37
|
return false;
|
|
27
38
|
if (!('price' in value) || value['price'] === undefined)
|
|
@@ -40,6 +51,7 @@ function PublicSaleDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
51
|
return json;
|
|
41
52
|
}
|
|
42
53
|
return {
|
|
54
|
+
'type': json['type'],
|
|
43
55
|
'name': json['name'],
|
|
44
56
|
'price': json['price'],
|
|
45
57
|
'currency': json['currency'],
|
|
@@ -55,6 +67,7 @@ function PublicSaleDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
67
|
return value;
|
|
56
68
|
}
|
|
57
69
|
return {
|
|
70
|
+
'type': value['type'],
|
|
58
71
|
'name': value['name'],
|
|
59
72
|
'price': value['price'],
|
|
60
73
|
'currency': value['currency'],
|
|
@@ -55,6 +55,12 @@ export interface UpdateDomainInput {
|
|
|
55
55
|
* @memberof UpdateDomainInput
|
|
56
56
|
*/
|
|
57
57
|
landingPage?: LandingPageInput;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof UpdateDomainInput
|
|
62
|
+
*/
|
|
63
|
+
allowThirdPartySalesDataSharing?: boolean;
|
|
58
64
|
}
|
|
59
65
|
/**
|
|
60
66
|
* Check if a given object implements the UpdateDomainInput interface.
|
|
@@ -42,6 +42,7 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputFromJSON)(json['leaseToOwn']),
|
|
43
43
|
'rent': json['rent'] == null ? undefined : (0, RentConfigurationInput_1.RentConfigurationInputFromJSON)(json['rent']),
|
|
44
44
|
'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
|
|
45
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
function UpdateDomainInputToJSON(json) {
|
|
@@ -59,5 +60,6 @@ function UpdateDomainInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
59
60
|
'leaseToOwn': (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputToJSON)(value['leaseToOwn']),
|
|
60
61
|
'rent': (0, RentConfigurationInput_1.RentConfigurationInputToJSON)(value['rent']),
|
|
61
62
|
'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
|
|
63
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
62
64
|
};
|
|
63
65
|
}
|
|
@@ -72,6 +72,12 @@ export interface WithSettingsInner {
|
|
|
72
72
|
* @memberof WithSettingsInner
|
|
73
73
|
*/
|
|
74
74
|
rent: AccountSettingsRentConfigurationDto;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof WithSettingsInner
|
|
79
|
+
*/
|
|
80
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
75
81
|
}
|
|
76
82
|
/**
|
|
77
83
|
* Check if a given object implements the WithSettingsInner interface.
|
|
@@ -43,6 +43,8 @@ function instanceOfWithSettingsInner(value) {
|
|
|
43
43
|
return false;
|
|
44
44
|
if (!('rent' in value) || value['rent'] === undefined)
|
|
45
45
|
return false;
|
|
46
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined)
|
|
47
|
+
return false;
|
|
46
48
|
return true;
|
|
47
49
|
}
|
|
48
50
|
function WithSettingsInnerFromJSON(json) {
|
|
@@ -62,6 +64,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
64
|
'sidnIdcode': json['sidnIdcode'],
|
|
63
65
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
64
66
|
'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoFromJSON)(json['rent']),
|
|
67
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
65
68
|
};
|
|
66
69
|
}
|
|
67
70
|
function WithSettingsInnerToJSON(json) {
|
|
@@ -82,5 +85,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
85
|
'sidnIdcode': value['sidnIdcode'],
|
|
83
86
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
84
87
|
'rent': (0, AccountSettingsRentConfigurationDto_1.AccountSettingsRentConfigurationDtoToJSON)(value['rent']),
|
|
88
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
85
89
|
};
|
|
86
90
|
}
|
package/package.json
CHANGED
|
@@ -77,6 +77,12 @@ export interface AccountSettingsInput {
|
|
|
77
77
|
* @memberof AccountSettingsInput
|
|
78
78
|
*/
|
|
79
79
|
description?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof AccountSettingsInput
|
|
84
|
+
*/
|
|
85
|
+
allowThirdPartySalesDataSharing?: boolean;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
88
|
/**
|
|
@@ -102,6 +108,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
102
108
|
'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
|
|
103
109
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : LeaseToOwnConfigurationInputFromJSON(json['leaseToOwn']),
|
|
104
110
|
'description': json['description'] == null ? undefined : json['description'],
|
|
111
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
|
|
105
112
|
};
|
|
106
113
|
}
|
|
107
114
|
|
|
@@ -122,6 +129,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
|
|
|
122
129
|
'landingPage': LandingPageInputToJSON(value['landingPage']),
|
|
123
130
|
'leaseToOwn': LeaseToOwnConfigurationInputToJSON(value['leaseToOwn']),
|
|
124
131
|
'description': value['description'],
|
|
132
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
125
133
|
};
|
|
126
134
|
}
|
|
127
135
|
|
package/src/models/DomainDto.ts
CHANGED
|
@@ -151,6 +151,12 @@ export interface DomainDto {
|
|
|
151
151
|
* @memberof DomainDto
|
|
152
152
|
*/
|
|
153
153
|
pageviews: number;
|
|
154
|
+
/**
|
|
155
|
+
* Whether the third party sales data sharing is enabled.
|
|
156
|
+
* @type {boolean}
|
|
157
|
+
* @memberof DomainDto
|
|
158
|
+
*/
|
|
159
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
154
160
|
}
|
|
155
161
|
|
|
156
162
|
/**
|
|
@@ -174,6 +180,7 @@ export function instanceOfDomainDto(value: object): value is DomainDto {
|
|
|
174
180
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
175
181
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
176
182
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
183
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
177
184
|
return true;
|
|
178
185
|
}
|
|
179
186
|
|
|
@@ -204,6 +211,7 @@ export function DomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
204
211
|
'createdAt': (new Date(json['createdAt'])),
|
|
205
212
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
206
213
|
'pageviews': json['pageviews'],
|
|
214
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
207
215
|
};
|
|
208
216
|
}
|
|
209
217
|
|
|
@@ -235,6 +243,7 @@ export function DomainDtoToJSONTyped(value?: DomainDto | null, ignoreDiscriminat
|
|
|
235
243
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
236
244
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
237
245
|
'pageviews': value['pageviews'],
|
|
246
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
238
247
|
};
|
|
239
248
|
}
|
|
240
249
|
|
|
@@ -158,6 +158,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
158
158
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
159
159
|
*/
|
|
160
160
|
pageviews: number;
|
|
161
|
+
/**
|
|
162
|
+
* Whether the third party sales data sharing is enabled.
|
|
163
|
+
* @type {boolean}
|
|
164
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
165
|
+
*/
|
|
166
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
161
167
|
/**
|
|
162
168
|
*
|
|
163
169
|
* @type {AccountDto}
|
|
@@ -187,6 +193,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
187
193
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
188
194
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
189
195
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
196
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
190
197
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
191
198
|
return true;
|
|
192
199
|
}
|
|
@@ -218,6 +225,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
218
225
|
'createdAt': (new Date(json['createdAt'])),
|
|
219
226
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
220
227
|
'pageviews': json['pageviews'],
|
|
228
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
221
229
|
'account': AccountDtoFromJSON(json['account']),
|
|
222
230
|
};
|
|
223
231
|
}
|
|
@@ -250,6 +258,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
250
258
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
251
259
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
252
260
|
'pageviews': value['pageviews'],
|
|
261
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
253
262
|
'account': AccountDtoToJSON(value['account']),
|
|
254
263
|
};
|
|
255
264
|
}
|
|
@@ -158,6 +158,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
158
158
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
159
159
|
*/
|
|
160
160
|
pageviews: number;
|
|
161
|
+
/**
|
|
162
|
+
* Whether the third party sales data sharing is enabled.
|
|
163
|
+
* @type {boolean}
|
|
164
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
165
|
+
*/
|
|
166
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
161
167
|
/**
|
|
162
168
|
*
|
|
163
169
|
* @type {AccountDto}
|
|
@@ -193,6 +199,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
193
199
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
194
200
|
if (!('deletedAt' in value) || value['deletedAt'] === undefined) return false;
|
|
195
201
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
202
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
196
203
|
if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
|
|
197
204
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
198
205
|
return true;
|
|
@@ -225,6 +232,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
225
232
|
'createdAt': (new Date(json['createdAt'])),
|
|
226
233
|
'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
|
|
227
234
|
'pageviews': json['pageviews'],
|
|
235
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
228
236
|
'hijacker': AccountDtoFromJSON(json['hijacker']),
|
|
229
237
|
'account': AccountDtoFromJSON(json['account']),
|
|
230
238
|
};
|
|
@@ -258,6 +266,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
258
266
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
259
267
|
'deletedAt': (value['deletedAt'] == null ? null : (value['deletedAt'] as any).toISOString()),
|
|
260
268
|
'pageviews': value['pageviews'],
|
|
269
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
261
270
|
'hijacker': AccountDtoToJSON(value['hijacker']),
|
|
262
271
|
'account': AccountDtoToJSON(value['account']),
|
|
263
272
|
};
|
|
@@ -19,6 +19,12 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface PublicSaleDto
|
|
20
20
|
*/
|
|
21
21
|
export interface PublicSaleDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PublicSaleDto
|
|
26
|
+
*/
|
|
27
|
+
type: PublicSaleDtoTypeEnum;
|
|
22
28
|
/**
|
|
23
29
|
*
|
|
24
30
|
* @type {string}
|
|
@@ -45,10 +51,23 @@ export interface PublicSaleDto {
|
|
|
45
51
|
createdAt: Date;
|
|
46
52
|
}
|
|
47
53
|
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export const PublicSaleDtoTypeEnum = {
|
|
59
|
+
LEASE_BEFORE_OWN: 'lease_before_own',
|
|
60
|
+
RENT: 'rent',
|
|
61
|
+
BUY_NOW: 'buy_now'
|
|
62
|
+
} as const;
|
|
63
|
+
export type PublicSaleDtoTypeEnum = typeof PublicSaleDtoTypeEnum[keyof typeof PublicSaleDtoTypeEnum];
|
|
64
|
+
|
|
65
|
+
|
|
48
66
|
/**
|
|
49
67
|
* Check if a given object implements the PublicSaleDto interface.
|
|
50
68
|
*/
|
|
51
69
|
export function instanceOfPublicSaleDto(value: object): value is PublicSaleDto {
|
|
70
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
52
71
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
53
72
|
if (!('price' in value) || value['price'] === undefined) return false;
|
|
54
73
|
if (!('currency' in value) || value['currency'] === undefined) return false;
|
|
@@ -66,6 +85,7 @@ export function PublicSaleDtoFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
66
85
|
}
|
|
67
86
|
return {
|
|
68
87
|
|
|
88
|
+
'type': json['type'],
|
|
69
89
|
'name': json['name'],
|
|
70
90
|
'price': json['price'],
|
|
71
91
|
'currency': json['currency'],
|
|
@@ -84,6 +104,7 @@ export function PublicSaleDtoToJSONTyped(value?: PublicSaleDto | null, ignoreDis
|
|
|
84
104
|
|
|
85
105
|
return {
|
|
86
106
|
|
|
107
|
+
'type': value['type'],
|
|
87
108
|
'name': value['name'],
|
|
88
109
|
'price': value['price'],
|
|
89
110
|
'currency': value['currency'],
|
|
@@ -84,6 +84,12 @@ export interface UpdateDomainInput {
|
|
|
84
84
|
* @memberof UpdateDomainInput
|
|
85
85
|
*/
|
|
86
86
|
landingPage?: LandingPageInput;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
* @memberof UpdateDomainInput
|
|
91
|
+
*/
|
|
92
|
+
allowThirdPartySalesDataSharing?: boolean;
|
|
87
93
|
}
|
|
88
94
|
|
|
89
95
|
/**
|
|
@@ -109,6 +115,7 @@ export function UpdateDomainInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
109
115
|
'leaseToOwn': json['leaseToOwn'] == null ? undefined : LeaseToOwnConfigurationInputFromJSON(json['leaseToOwn']),
|
|
110
116
|
'rent': json['rent'] == null ? undefined : RentConfigurationInputFromJSON(json['rent']),
|
|
111
117
|
'landingPage': json['landingPage'] == null ? undefined : LandingPageInputFromJSON(json['landingPage']),
|
|
118
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
|
|
112
119
|
};
|
|
113
120
|
}
|
|
114
121
|
|
|
@@ -129,6 +136,7 @@ export function UpdateDomainInputToJSONTyped(value?: UpdateDomainInput | null, i
|
|
|
129
136
|
'leaseToOwn': LeaseToOwnConfigurationInputToJSON(value['leaseToOwn']),
|
|
130
137
|
'rent': RentConfigurationInputToJSON(value['rent']),
|
|
131
138
|
'landingPage': LandingPageInputToJSON(value['landingPage']),
|
|
139
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
132
140
|
};
|
|
133
141
|
}
|
|
134
142
|
|
|
@@ -95,6 +95,12 @@ export interface WithSettingsInner {
|
|
|
95
95
|
* @memberof WithSettingsInner
|
|
96
96
|
*/
|
|
97
97
|
rent: AccountSettingsRentConfigurationDto;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {boolean}
|
|
101
|
+
* @memberof WithSettingsInner
|
|
102
|
+
*/
|
|
103
|
+
allowThirdPartySalesDataSharing: boolean;
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
/**
|
|
@@ -110,6 +116,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
110
116
|
if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined) return false;
|
|
111
117
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
112
118
|
if (!('rent' in value) || value['rent'] === undefined) return false;
|
|
119
|
+
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
113
120
|
return true;
|
|
114
121
|
}
|
|
115
122
|
|
|
@@ -132,6 +139,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
132
139
|
'sidnIdcode': json['sidnIdcode'],
|
|
133
140
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
134
141
|
'rent': AccountSettingsRentConfigurationDtoFromJSON(json['rent']),
|
|
142
|
+
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
135
143
|
};
|
|
136
144
|
}
|
|
137
145
|
|
|
@@ -155,6 +163,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
155
163
|
'sidnIdcode': value['sidnIdcode'],
|
|
156
164
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
157
165
|
'rent': AccountSettingsRentConfigurationDtoToJSON(value['rent']),
|
|
166
|
+
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
158
167
|
};
|
|
159
168
|
}
|
|
160
169
|
|